]> git.saurik.com Git - wxWidgets.git/blob - configure
af06e88bfa5cec811b4ba05dd985963cce38e280
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 64710 2010-06-24 10:34:18Z VS .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.1.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.1'
579 PACKAGE_STRING='wxWidgets 2.9.1'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 wx_top_builddir
665 CC
666 CFLAGS
667 LDFLAGS
668 CPPFLAGS
669 ac_ct_CC
670 EXEEXT
671 OBJEXT
672 CPP
673 GREP
674 EGREP
675 CXX
676 CXXFLAGS
677 ac_ct_CXX
678 AR
679 OSX_SW_VERS
680 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.1 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.1:";;
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-dataviewctrl use wxDataViewCtrl class
1822 --enable-datepick use wxDatePickerCtrl class
1823 --enable-detect_sm use code to detect X11 session manager
1824 --enable-dirpicker use wxDirPickerCtrl class
1825 --enable-display use wxDisplay class
1826 --enable-editablebox use wxEditableListBox class
1827 --enable-filectrl use wxFileCtrl class
1828 --enable-filepicker use wxFilePickerCtrl class
1829 --enable-fontpicker use wxFontPickerCtrl class
1830 --enable-gauge use wxGauge class
1831 --enable-grid use wxGrid class
1832 --enable-headerctrl use wxHeaderCtrl class
1833 --enable-hyperlink use wxHyperlinkCtrl class
1834 --enable-imaglist use wxImageList class
1835 --enable-infobar use wxInfoBar class
1836 --enable-listbook use wxListbook class
1837 --enable-listbox use wxListBox class
1838 --enable-listctrl use wxListCtrl class
1839 --enable-notebook use wxNotebook class
1840 --enable-notifmsg use wxNotificationMessage class
1841 --enable-odcombobox use wxOwnerDrawnComboBox class
1842 --enable-popupwin use wxPopUpWindow class
1843 --enable-radiobox use wxRadioBox class
1844 --enable-radiobtn use wxRadioButton class
1845 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1846 --enable-sash use wxSashWindow class
1847 --enable-scrollbar use wxScrollBar class and scrollable windows
1848 --enable-searchctrl use wxSearchCtrl class
1849 --enable-slider use wxSlider class
1850 --enable-spinbtn use wxSpinButton class
1851 --enable-spinctrl use wxSpinCtrl class
1852 --enable-splitter use wxSplitterWindow class
1853 --enable-statbmp use wxStaticBitmap class
1854 --enable-statbox use wxStaticBox class
1855 --enable-statline use wxStaticLine class
1856 --enable-stattext use wxStaticText class
1857 --enable-statusbar use wxStatusBar class
1858 --enable-taskbaricon use wxTaskBarIcon class
1859 --enable-tbarnative use native wxToolBar class
1860 --enable-textctrl use wxTextCtrl class
1861 --enable-tipwindow use wxTipWindow class
1862 --enable-togglebtn use wxToggleButton class
1863 --enable-toolbar use wxToolBar class
1864 --enable-toolbook use wxToolbook class
1865 --enable-treebook use wxTreebook class
1866 --enable-treectrl use wxTreeCtrl class
1867 --enable-commondlg use all common dialogs
1868 --enable-aboutdlg use wxAboutBox
1869 --enable-choicedlg use wxChoiceDialog
1870 --enable-coldlg use wxColourDialog
1871 --enable-filedlg use wxFileDialog
1872 --enable-finddlg use wxFindReplaceDialog
1873 --enable-fontdlg use wxFontDialog
1874 --enable-dirdlg use wxDirDialog
1875 --enable-msgdlg use wxMessageDialog
1876 --enable-numberdlg use wxNumberEntryDialog
1877 --enable-splash use wxSplashScreen
1878 --enable-textdlg use wxTextDialog
1879 --enable-tipdlg use startup tips
1880 --enable-progressdlg use wxProgressDialog
1881 --enable-wizarddlg use wxWizard
1882 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1883 --enable-miniframe use wxMiniFrame class
1884 --enable-tooltips use wxToolTip class
1885 --enable-splines use spline drawing code
1886 --enable-mousewheel use mousewheel
1887 --enable-validators use wxValidator and derived classes
1888 --enable-busyinfo use wxBusyInfo
1889 --enable-joystick use wxJoystick
1890 --enable-metafiles use wxMetaFile (Win32 only)
1891 --enable-dragimage use wxDragImage
1892 --enable-accessibility enable accessibility support
1893 --enable-uiactionsim use wxUIActionSimulator (experimental)
1894 --enable-palette use wxPalette class
1895 --enable-image use wxImage class
1896 --enable-gif use gif images (GIF file format)
1897 --enable-pcx use pcx images (PCX file format)
1898 --enable-tga use tga images (TGA file format)
1899 --enable-iff use iff images (IFF file format)
1900 --enable-pnm use pnm images (PNM file format)
1901 --enable-xpm use xpm images (XPM file format)
1902 --enable-ico_cur use Windows ICO and CUR formats
1903 --enable-dccache cache temporary wxDC objects (Win32 only)
1904 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1905 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1906 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1907 --enable-wxdib use wxDIB class (Win32 only)
1908 --enable-autoidman use automatic ids management
1909 --disable-largefile omit support for large files
1910 --disable-gtktest do not try to compile and run a test GTK+ program
1911 --disable-gtktest Do not try to compile and run a test GTK program
1912 --disable-sdltest Do not try to compile and run a test SDL program
1913 --enable-omf use OMF object format (OS/2)
1914 --disable-dependency-tracking
1915 don't use dependency tracking even if the compiler
1916 can
1917 --disable-precomp-headers
1918 don't use precompiled headers even if compiler can
1919
1920 Optional Packages:
1921 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1922 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1923 --without-subdirs don't generate makefiles for samples/demos/...
1924 --with-flavour=NAME specify a name to identify this build
1925 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1926 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1927 --with-motif use Motif/Lesstif
1928 --with-osx_carbon use Mac OS X (Carbon)
1929 --with-osx_cocoa use Mac OS X (Cocoa)
1930 --with-osx_iphone use iPhone OS X port
1931 --with-osx use Mac OS X (default port, currently Carbon)
1932 --with-carbon same as --with-osx_carbon
1933 --with-cocoa same as --with-osx_cocoa
1934 --with-iphone same as --with-osx_iphone
1935 --with-mac same as --with-osx
1936 --with-old_cocoa use old, deprecated, Cocoa port
1937 --with-wine use Wine
1938 --with-msw use MS-Windows
1939 --with-pm use OS/2 Presentation Manager
1940 --with-mgl use SciTech MGL
1941 --with-directfb use DirectFB
1942 --with-microwin use MicroWindows
1943 --with-x11 use X11
1944 --with-libpng use libpng (PNG image format)
1945 --with-libjpeg use libjpeg (JPEG file format)
1946 --with-libtiff use libtiff (TIFF file format)
1947 --with-libxpm use libxpm (XPM file format)
1948 --with-libiconv use libiconv (character conversion)
1949 --with-libmspack use libmspack (CHM help files loading)
1950 --without-gtkprint don't use GTK printing support
1951 --without-gnomeprint don't use GNOME printing libraries
1952 --with-gnomevfs use GNOME VFS for associating MIME types
1953 --with-hildon use Hildon framework for Nokia 770/800/810
1954 --with-opengl use OpenGL (or Mesa)
1955 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1956 --with-sdl use SDL for audio on Unix
1957 --with-regex enable support for wxRegEx class
1958 --with-zlib use zlib for LZW compression
1959 --with-expat enable XML support using expat parser
1960 --with-macosx-sdk=PATH use an OS X SDK at PATH
1961 --with-macosx-version-min=VER build binaries which require at least this OS X version
1962 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1963 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1964 --with-x use the X Window System
1965 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1966 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1967 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1968 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1969 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1970
1971 Some influential environment variables:
1972 CC C compiler command
1973 CFLAGS C compiler flags
1974 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1975 nonstandard directory <lib dir>
1976 LIBS libraries to pass to the linker, e.g. -l<library>
1977 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1978 you have headers in a nonstandard directory <include dir>
1979 CPP C preprocessor
1980 CXX C++ compiler command
1981 CXXFLAGS C++ compiler flags
1982 CXXCPP C++ preprocessor
1983 PKG_CONFIG path to pkg-config utility
1984 DIRECTFB_CFLAGS
1985 C compiler flags for DIRECTFB, overriding pkg-config
1986 DIRECTFB_LIBS
1987 linker flags for DIRECTFB, overriding pkg-config
1988 XMKMF Path to xmkmf, Makefile generator for X Window System
1989 PANGOX_CFLAGS
1990 C compiler flags for PANGOX, overriding pkg-config
1991 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1992 PANGOFT2_CFLAGS
1993 C compiler flags for PANGOFT2, overriding pkg-config
1994 PANGOFT2_LIBS
1995 linker flags for PANGOFT2, overriding pkg-config
1996 PANGOXFT_CFLAGS
1997 C compiler flags for PANGOXFT, overriding pkg-config
1998 PANGOXFT_LIBS
1999 linker flags for PANGOXFT, overriding pkg-config
2000 GTKPRINT_CFLAGS
2001 C compiler flags for GTKPRINT, overriding pkg-config
2002 GTKPRINT_LIBS
2003 linker flags for GTKPRINT, overriding pkg-config
2004 LIBGNOMEPRINTUI_CFLAGS
2005 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2006 LIBGNOMEPRINTUI_LIBS
2007 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2008 GNOMEVFS_CFLAGS
2009 C compiler flags for GNOMEVFS, overriding pkg-config
2010 GNOMEVFS_LIBS
2011 linker flags for GNOMEVFS, overriding pkg-config
2012 HILDON_CFLAGS
2013 C compiler flags for HILDON, overriding pkg-config
2014 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2015 HILDON2_CFLAGS
2016 C compiler flags for HILDON2, overriding pkg-config
2017 HILDON2_LIBS
2018 linker flags for HILDON2, overriding pkg-config
2019 CAIRO_CFLAGS
2020 C compiler flags for CAIRO, overriding pkg-config
2021 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2022 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2023 GST_LIBS linker flags for GST, overriding pkg-config
2024
2025 Use these variables to override the choices made by `configure' or to help
2026 it to find libraries and programs with nonstandard names/locations.
2027
2028 Report bugs to <wx-dev@lists.wxwidgets.org>.
2029 _ACEOF
2030 ac_status=$?
2031 fi
2032
2033 if test "$ac_init_help" = "recursive"; then
2034 # If there are subdirs, report their specific --help.
2035 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2036 test -d "$ac_dir" || continue
2037 ac_builddir=.
2038
2039 case "$ac_dir" in
2040 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2041 *)
2042 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2043 # A ".." for each directory in $ac_dir_suffix.
2044 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2045 case $ac_top_builddir_sub in
2046 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2047 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2048 esac ;;
2049 esac
2050 ac_abs_top_builddir=$ac_pwd
2051 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2052 # for backward compatibility:
2053 ac_top_builddir=$ac_top_build_prefix
2054
2055 case $srcdir in
2056 .) # We are building in place.
2057 ac_srcdir=.
2058 ac_top_srcdir=$ac_top_builddir_sub
2059 ac_abs_top_srcdir=$ac_pwd ;;
2060 [\\/]* | ?:[\\/]* ) # Absolute name.
2061 ac_srcdir=$srcdir$ac_dir_suffix;
2062 ac_top_srcdir=$srcdir
2063 ac_abs_top_srcdir=$srcdir ;;
2064 *) # Relative name.
2065 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2066 ac_top_srcdir=$ac_top_build_prefix$srcdir
2067 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2068 esac
2069 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2070
2071 cd "$ac_dir" || { ac_status=$?; continue; }
2072 # Check for guested configure.
2073 if test -f "$ac_srcdir/configure.gnu"; then
2074 echo &&
2075 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2076 elif test -f "$ac_srcdir/configure"; then
2077 echo &&
2078 $SHELL "$ac_srcdir/configure" --help=recursive
2079 else
2080 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2081 fi || ac_status=$?
2082 cd "$ac_pwd" || { ac_status=$?; break; }
2083 done
2084 fi
2085
2086 test -n "$ac_init_help" && exit $ac_status
2087 if $ac_init_version; then
2088 cat <<\_ACEOF
2089 wxWidgets configure 2.9.1
2090 generated by GNU Autoconf 2.61
2091
2092 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2093 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2094 This configure script is free software; the Free Software Foundation
2095 gives unlimited permission to copy, distribute and modify it.
2096 _ACEOF
2097 exit
2098 fi
2099 cat >config.log <<_ACEOF
2100 This file contains any messages produced by compilers while
2101 running configure, to aid debugging if configure makes a mistake.
2102
2103 It was created by wxWidgets $as_me 2.9.1, which was
2104 generated by GNU Autoconf 2.61. Invocation command line was
2105
2106 $ $0 $@
2107
2108 _ACEOF
2109 exec 5>>config.log
2110 {
2111 cat <<_ASUNAME
2112 ## --------- ##
2113 ## Platform. ##
2114 ## --------- ##
2115
2116 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2117 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2118 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2119 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2120 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2121
2122 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2123 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2124
2125 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2126 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2127 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2128 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2129 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2130 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2131 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2132
2133 _ASUNAME
2134
2135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2136 for as_dir in $PATH
2137 do
2138 IFS=$as_save_IFS
2139 test -z "$as_dir" && as_dir=.
2140 echo "PATH: $as_dir"
2141 done
2142 IFS=$as_save_IFS
2143
2144 } >&5
2145
2146 cat >&5 <<_ACEOF
2147
2148
2149 ## ----------- ##
2150 ## Core tests. ##
2151 ## ----------- ##
2152
2153 _ACEOF
2154
2155
2156 # Keep a trace of the command line.
2157 # Strip out --no-create and --no-recursion so they do not pile up.
2158 # Strip out --silent because we don't want to record it for future runs.
2159 # Also quote any args containing shell meta-characters.
2160 # Make two passes to allow for proper duplicate-argument suppression.
2161 ac_configure_args=
2162 ac_configure_args0=
2163 ac_configure_args1=
2164 ac_must_keep_next=false
2165 for ac_pass in 1 2
2166 do
2167 for ac_arg
2168 do
2169 case $ac_arg in
2170 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2171 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2172 | -silent | --silent | --silen | --sile | --sil)
2173 continue ;;
2174 *\'*)
2175 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2176 esac
2177 case $ac_pass in
2178 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2179 2)
2180 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2181 if test $ac_must_keep_next = true; then
2182 ac_must_keep_next=false # Got value, back to normal.
2183 else
2184 case $ac_arg in
2185 *=* | --config-cache | -C | -disable-* | --disable-* \
2186 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2187 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2188 | -with-* | --with-* | -without-* | --without-* | --x)
2189 case "$ac_configure_args0 " in
2190 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2191 esac
2192 ;;
2193 -* ) ac_must_keep_next=true ;;
2194 esac
2195 fi
2196 ac_configure_args="$ac_configure_args '$ac_arg'"
2197 ;;
2198 esac
2199 done
2200 done
2201 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2202 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2203
2204 # When interrupted or exit'd, cleanup temporary files, and complete
2205 # config.log. We remove comments because anyway the quotes in there
2206 # would cause problems or look ugly.
2207 # WARNING: Use '\'' to represent an apostrophe within the trap.
2208 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2209 trap 'exit_status=$?
2210 # Save into config.log some information that might help in debugging.
2211 {
2212 echo
2213
2214 cat <<\_ASBOX
2215 ## ---------------- ##
2216 ## Cache variables. ##
2217 ## ---------------- ##
2218 _ASBOX
2219 echo
2220 # The following way of writing the cache mishandles newlines in values,
2221 (
2222 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2223 eval ac_val=\$$ac_var
2224 case $ac_val in #(
2225 *${as_nl}*)
2226 case $ac_var in #(
2227 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2228 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2229 esac
2230 case $ac_var in #(
2231 _ | IFS | as_nl) ;; #(
2232 *) $as_unset $ac_var ;;
2233 esac ;;
2234 esac
2235 done
2236 (set) 2>&1 |
2237 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2238 *${as_nl}ac_space=\ *)
2239 sed -n \
2240 "s/'\''/'\''\\\\'\'''\''/g;
2241 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2242 ;; #(
2243 *)
2244 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2245 ;;
2246 esac |
2247 sort
2248 )
2249 echo
2250
2251 cat <<\_ASBOX
2252 ## ----------------- ##
2253 ## Output variables. ##
2254 ## ----------------- ##
2255 _ASBOX
2256 echo
2257 for ac_var in $ac_subst_vars
2258 do
2259 eval ac_val=\$$ac_var
2260 case $ac_val in
2261 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2262 esac
2263 echo "$ac_var='\''$ac_val'\''"
2264 done | sort
2265 echo
2266
2267 if test -n "$ac_subst_files"; then
2268 cat <<\_ASBOX
2269 ## ------------------- ##
2270 ## File substitutions. ##
2271 ## ------------------- ##
2272 _ASBOX
2273 echo
2274 for ac_var in $ac_subst_files
2275 do
2276 eval ac_val=\$$ac_var
2277 case $ac_val in
2278 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2279 esac
2280 echo "$ac_var='\''$ac_val'\''"
2281 done | sort
2282 echo
2283 fi
2284
2285 if test -s confdefs.h; then
2286 cat <<\_ASBOX
2287 ## ----------- ##
2288 ## confdefs.h. ##
2289 ## ----------- ##
2290 _ASBOX
2291 echo
2292 cat confdefs.h
2293 echo
2294 fi
2295 test "$ac_signal" != 0 &&
2296 echo "$as_me: caught signal $ac_signal"
2297 echo "$as_me: exit $exit_status"
2298 } >&5
2299 rm -f core *.core core.conftest.* &&
2300 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2301 exit $exit_status
2302 ' 0
2303 for ac_signal in 1 2 13 15; do
2304 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2305 done
2306 ac_signal=0
2307
2308 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2309 rm -f -r conftest* confdefs.h
2310
2311 # Predefined preprocessor variables.
2312
2313 cat >>confdefs.h <<_ACEOF
2314 #define PACKAGE_NAME "$PACKAGE_NAME"
2315 _ACEOF
2316
2317
2318 cat >>confdefs.h <<_ACEOF
2319 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2320 _ACEOF
2321
2322
2323 cat >>confdefs.h <<_ACEOF
2324 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2325 _ACEOF
2326
2327
2328 cat >>confdefs.h <<_ACEOF
2329 #define PACKAGE_STRING "$PACKAGE_STRING"
2330 _ACEOF
2331
2332
2333 cat >>confdefs.h <<_ACEOF
2334 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2335 _ACEOF
2336
2337
2338 # Let the site file select an alternate cache file if it wants to.
2339 # Prefer explicitly selected file to automatically selected ones.
2340 if test -n "$CONFIG_SITE"; then
2341 set x "$CONFIG_SITE"
2342 elif test "x$prefix" != xNONE; then
2343 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2344 else
2345 set x "$ac_default_prefix/share/config.site" \
2346 "$ac_default_prefix/etc/config.site"
2347 fi
2348 shift
2349 for ac_site_file
2350 do
2351 if test -r "$ac_site_file"; then
2352 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2353 echo "$as_me: loading site script $ac_site_file" >&6;}
2354 sed 's/^/| /' "$ac_site_file" >&5
2355 . "$ac_site_file"
2356 fi
2357 done
2358
2359 if test -r "$cache_file"; then
2360 # Some versions of bash will fail to source /dev/null (special
2361 # files actually), so we avoid doing that.
2362 if test -f "$cache_file"; then
2363 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2364 echo "$as_me: loading cache $cache_file" >&6;}
2365 case $cache_file in
2366 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2367 *) . "./$cache_file";;
2368 esac
2369 fi
2370 else
2371 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2372 echo "$as_me: creating cache $cache_file" >&6;}
2373 >$cache_file
2374 fi
2375
2376 # Check that the precious variables saved in the cache have kept the same
2377 # value.
2378 ac_cache_corrupted=false
2379 for ac_var in $ac_precious_vars; do
2380 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2381 eval ac_new_set=\$ac_env_${ac_var}_set
2382 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2383 eval ac_new_val=\$ac_env_${ac_var}_value
2384 case $ac_old_set,$ac_new_set in
2385 set,)
2386 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2387 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2388 ac_cache_corrupted=: ;;
2389 ,set)
2390 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2391 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2392 ac_cache_corrupted=: ;;
2393 ,);;
2394 *)
2395 if test "x$ac_old_val" != "x$ac_new_val"; then
2396 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2397 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2398 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2399 echo "$as_me: former value: $ac_old_val" >&2;}
2400 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2401 echo "$as_me: current value: $ac_new_val" >&2;}
2402 ac_cache_corrupted=:
2403 fi;;
2404 esac
2405 # Pass precious variables to config.status.
2406 if test "$ac_new_set" = set; then
2407 case $ac_new_val in
2408 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2409 *) ac_arg=$ac_var=$ac_new_val ;;
2410 esac
2411 case " $ac_configure_args " in
2412 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2413 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2414 esac
2415 fi
2416 done
2417 if $ac_cache_corrupted; then
2418 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2419 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2420 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2421 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2422 { (exit 1); exit 1; }; }
2423 fi
2424
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 ac_ext=c
2450 ac_cpp='$CPP $CPPFLAGS'
2451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2454
2455
2456
2457
2458
2459 ac_aux_dir=
2460 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2461 if test -f "$ac_dir/install-sh"; then
2462 ac_aux_dir=$ac_dir
2463 ac_install_sh="$ac_aux_dir/install-sh -c"
2464 break
2465 elif test -f "$ac_dir/install.sh"; then
2466 ac_aux_dir=$ac_dir
2467 ac_install_sh="$ac_aux_dir/install.sh -c"
2468 break
2469 elif test -f "$ac_dir/shtool"; then
2470 ac_aux_dir=$ac_dir
2471 ac_install_sh="$ac_aux_dir/shtool install -c"
2472 break
2473 fi
2474 done
2475 if test -z "$ac_aux_dir"; then
2476 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2477 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2478 { (exit 1); exit 1; }; }
2479 fi
2480
2481 # These three variables are undocumented and unsupported,
2482 # and are intended to be withdrawn in a future Autoconf release.
2483 # They can cause serious problems if a builder's source tree is in a directory
2484 # whose full name contains unusual characters.
2485 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2486 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2487 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2488
2489
2490 # Make sure we can run config.sub.
2491 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2492 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2493 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2494 { (exit 1); exit 1; }; }
2495
2496 { echo "$as_me:$LINENO: checking build system type" >&5
2497 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2498 if test "${ac_cv_build+set}" = set; then
2499 echo $ECHO_N "(cached) $ECHO_C" >&6
2500 else
2501 ac_build_alias=$build_alias
2502 test "x$ac_build_alias" = x &&
2503 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2504 test "x$ac_build_alias" = x &&
2505 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2506 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2507 { (exit 1); exit 1; }; }
2508 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2509 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2510 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2511 { (exit 1); exit 1; }; }
2512
2513 fi
2514 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2515 echo "${ECHO_T}$ac_cv_build" >&6; }
2516 case $ac_cv_build in
2517 *-*-*) ;;
2518 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2519 echo "$as_me: error: invalid value of canonical build" >&2;}
2520 { (exit 1); exit 1; }; };;
2521 esac
2522 build=$ac_cv_build
2523 ac_save_IFS=$IFS; IFS='-'
2524 set x $ac_cv_build
2525 shift
2526 build_cpu=$1
2527 build_vendor=$2
2528 shift; shift
2529 # Remember, the first character of IFS is used to create $*,
2530 # except with old shells:
2531 build_os=$*
2532 IFS=$ac_save_IFS
2533 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2534
2535
2536 { echo "$as_me:$LINENO: checking host system type" >&5
2537 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2538 if test "${ac_cv_host+set}" = set; then
2539 echo $ECHO_N "(cached) $ECHO_C" >&6
2540 else
2541 if test "x$host_alias" = x; then
2542 ac_cv_host=$ac_cv_build
2543 else
2544 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2545 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2546 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2547 { (exit 1); exit 1; }; }
2548 fi
2549
2550 fi
2551 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2552 echo "${ECHO_T}$ac_cv_host" >&6; }
2553 case $ac_cv_host in
2554 *-*-*) ;;
2555 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2556 echo "$as_me: error: invalid value of canonical host" >&2;}
2557 { (exit 1); exit 1; }; };;
2558 esac
2559 host=$ac_cv_host
2560 ac_save_IFS=$IFS; IFS='-'
2561 set x $ac_cv_host
2562 shift
2563 host_cpu=$1
2564 host_vendor=$2
2565 shift; shift
2566 # Remember, the first character of IFS is used to create $*,
2567 # except with old shells:
2568 host_os=$*
2569 IFS=$ac_save_IFS
2570 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2571
2572
2573
2574 if test "$cross_compiling" != "no"; then
2575 HOST_PREFIX="${host_alias}-"
2576 HOST_SUFFIX="-$host_alias"
2577 else
2578 HOST_PREFIX=
2579 HOST_SUFFIX=
2580 fi
2581
2582
2583 wx_major_version_number=2
2584 wx_minor_version_number=9
2585 wx_release_number=1
2586 wx_subrelease_number=0
2587
2588 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2589 WX_VERSION=$WX_RELEASE.$wx_release_number
2590 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2591
2592 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2593
2594
2595 wx_top_builddir="`pwd`"
2596
2597
2598
2599
2600 USE_UNIX=1
2601 USE_OS2=0
2602 USE_WIN32=0
2603 USE_DOS=0
2604 USE_BEOS=0
2605 USE_MAC=0
2606
2607 USE_AIX=
2608 USE_BSD= USE_DARWIN= USE_FREEBSD=
2609 USE_GNU= USE_HPUX=
2610 USE_LINUX=
2611 USE_NETBSD=
2612 USE_OPENBSD=
2613 USE_OSF= USE_SGI=
2614 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2615 USE_ULTRIX=
2616 USE_UNIXWARE=
2617
2618 USE_ALPHA=
2619
2620 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2621
2622 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2623
2624 DEFAULT_wxUSE_OLD_COCOA=0
2625 DEFAULT_wxUSE_GTK=0
2626 DEFAULT_wxUSE_OSX_CARBON=0
2627 DEFAULT_wxUSE_OSX_COCOA=0
2628 DEFAULT_wxUSE_OSX_IPHONE=0
2629 DEFAULT_wxUSE_MGL=0
2630 DEFAULT_wxUSE_MICROWIN=0
2631 DEFAULT_wxUSE_MOTIF=0
2632 DEFAULT_wxUSE_MSW=0
2633 DEFAULT_wxUSE_PM=0
2634 DEFAULT_wxUSE_X11=0
2635 DEFAULT_wxUSE_DFB=0
2636
2637 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
2638 DEFAULT_DEFAULT_wxUSE_GTK=0
2639 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2640 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2641 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
2642 DEFAULT_DEFAULT_wxUSE_MGL=0
2643 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2644 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2645 DEFAULT_DEFAULT_wxUSE_MSW=0
2646 DEFAULT_DEFAULT_wxUSE_PM=0
2647 DEFAULT_DEFAULT_wxUSE_X11=0
2648 DEFAULT_DEFAULT_wxUSE_DFB=0
2649
2650 PROGRAM_EXT=
2651 SAMPLES_RPATH_FLAG=
2652 DYLIB_RPATH_INSTALL=
2653 DYLIB_RPATH_POSTLINK=
2654
2655 DEFAULT_STD_FLAG=yes
2656
2657 case "${host}" in
2658 *-hp-hpux* )
2659 USE_HPUX=1
2660 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2661 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2662 cat >>confdefs.h <<\_ACEOF
2663 #define __HPUX__ 1
2664 _ACEOF
2665
2666
2667 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2668 ;;
2669 *-*-linux* )
2670 USE_LINUX=1
2671 cat >>confdefs.h <<\_ACEOF
2672 #define __LINUX__ 1
2673 _ACEOF
2674
2675 TMP=`uname -m`
2676 if test "x$TMP" = "xalpha"; then
2677 USE_ALPHA=1
2678 cat >>confdefs.h <<\_ACEOF
2679 #define __ALPHA__ 1
2680 _ACEOF
2681
2682 fi
2683 DEFAULT_DEFAULT_wxUSE_GTK=1
2684 ;;
2685 *-*-gnu* | *-*-k*bsd*-gnu )
2686 USE_GNU=1
2687 TMP=`uname -m`
2688 if test "x$TMP" = "xalpha"; then
2689 USE_ALPHA=1
2690 cat >>confdefs.h <<\_ACEOF
2691 #define __ALPHA__ 1
2692 _ACEOF
2693
2694 fi
2695 DEFAULT_DEFAULT_wxUSE_GTK=1
2696 ;;
2697 *-*-irix5* | *-*-irix6* )
2698 USE_SGI=1
2699 USE_SVR4=1
2700 cat >>confdefs.h <<\_ACEOF
2701 #define __SGI__ 1
2702 _ACEOF
2703
2704 cat >>confdefs.h <<\_ACEOF
2705 #define __SVR4__ 1
2706 _ACEOF
2707
2708 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2709 ;;
2710 *-*-qnx*)
2711 USE_QNX=1
2712 cat >>confdefs.h <<\_ACEOF
2713 #define __QNX__ 1
2714 _ACEOF
2715
2716 DEFAULT_DEFAULT_wxUSE_X11=1
2717 ;;
2718 *-*-solaris2* )
2719 USE_SUN=1
2720 USE_SOLARIS=1
2721 USE_SVR4=1
2722 cat >>confdefs.h <<\_ACEOF
2723 #define __SUN__ 1
2724 _ACEOF
2725
2726 cat >>confdefs.h <<\_ACEOF
2727 #define __SOLARIS__ 1
2728 _ACEOF
2729
2730 cat >>confdefs.h <<\_ACEOF
2731 #define __SVR4__ 1
2732 _ACEOF
2733
2734 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2735 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2736 ;;
2737 *-*-sunos4* )
2738 USE_SUN=1
2739 USE_SUNOS=1
2740 USE_BSD=1
2741 cat >>confdefs.h <<\_ACEOF
2742 #define __SUN__ 1
2743 _ACEOF
2744
2745 cat >>confdefs.h <<\_ACEOF
2746 #define __SUNOS__ 1
2747 _ACEOF
2748
2749 cat >>confdefs.h <<\_ACEOF
2750 #define __BSD__ 1
2751 _ACEOF
2752
2753 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2754 ;;
2755 *-*-freebsd*)
2756 USE_BSD=1
2757 USE_FREEBSD=1
2758 cat >>confdefs.h <<\_ACEOF
2759 #define __FREEBSD__ 1
2760 _ACEOF
2761
2762 cat >>confdefs.h <<\_ACEOF
2763 #define __BSD__ 1
2764 _ACEOF
2765
2766 DEFAULT_DEFAULT_wxUSE_GTK=1
2767 ;;
2768 *-*-openbsd*|*-*-mirbsd*)
2769 USE_BSD=1
2770 USE_OPENBSD=1
2771 cat >>confdefs.h <<\_ACEOF
2772 #define __OPENBSD__ 1
2773 _ACEOF
2774
2775 cat >>confdefs.h <<\_ACEOF
2776 #define __BSD__ 1
2777 _ACEOF
2778
2779 DEFAULT_DEFAULT_wxUSE_GTK=1
2780 ;;
2781 *-*-netbsd*)
2782 USE_BSD=1
2783 USE_NETBSD=1
2784 cat >>confdefs.h <<\_ACEOF
2785 #define __NETBSD__ 1
2786 _ACEOF
2787
2788 cat >>confdefs.h <<\_ACEOF
2789 #define __BSD__ 1
2790 _ACEOF
2791
2792 DEFAULT_DEFAULT_wxUSE_GTK=1
2793 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2794
2795 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2796 ;;
2797 *-*-osf* )
2798 USE_ALPHA=1
2799 USE_OSF=1
2800 cat >>confdefs.h <<\_ACEOF
2801 #define __ALPHA__ 1
2802 _ACEOF
2803
2804 cat >>confdefs.h <<\_ACEOF
2805 #define __OSF__ 1
2806 _ACEOF
2807
2808 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2809 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2810 ;;
2811 *-*-dgux5* )
2812 USE_ALPHA=1
2813 USE_SVR4=1
2814 cat >>confdefs.h <<\_ACEOF
2815 #define __ALPHA__ 1
2816 _ACEOF
2817
2818 cat >>confdefs.h <<\_ACEOF
2819 #define __SVR4__ 1
2820 _ACEOF
2821
2822 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2823 ;;
2824 *-*-sysv5* )
2825 USE_SYSV=1
2826 USE_SVR4=1
2827 cat >>confdefs.h <<\_ACEOF
2828 #define __SYSV__ 1
2829 _ACEOF
2830
2831 cat >>confdefs.h <<\_ACEOF
2832 #define __SVR4__ 1
2833 _ACEOF
2834
2835 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2836 ;;
2837 *-*-aix* )
2838 USE_AIX=1
2839 USE_SYSV=1
2840 USE_SVR4=1
2841 cat >>confdefs.h <<\_ACEOF
2842 #define __AIX__ 1
2843 _ACEOF
2844
2845 cat >>confdefs.h <<\_ACEOF
2846 #define __SYSV__ 1
2847 _ACEOF
2848
2849 cat >>confdefs.h <<\_ACEOF
2850 #define __SVR4__ 1
2851 _ACEOF
2852
2853 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2854 ;;
2855
2856 *-*-*UnixWare*)
2857 USE_SYSV=1
2858 USE_SVR4=1
2859 USE_UNIXWARE=1
2860 cat >>confdefs.h <<\_ACEOF
2861 #define __UNIXWARE__ 1
2862 _ACEOF
2863
2864 ;;
2865
2866 *-*-cygwin* | *-*-mingw32* )
2867 PROGRAM_EXT=".exe"
2868 DEFAULT_DEFAULT_wxUSE_MSW=1
2869 ;;
2870
2871 *-pc-msdosdjgpp )
2872 USE_UNIX=0
2873 USE_DOS=1
2874 cat >>confdefs.h <<\_ACEOF
2875 #define __DOS__ 1
2876 _ACEOF
2877
2878 PROGRAM_EXT=".exe"
2879 DEFAULT_DEFAULT_wxUSE_MGL=1
2880 ;;
2881
2882 *-pc-os2_emx | *-pc-os2-emx )
2883 cat >>confdefs.h <<\_ACEOF
2884 #define __EMX__ 1
2885 _ACEOF
2886
2887 USE_OS2=1
2888 cat >>confdefs.h <<\_ACEOF
2889 #define __OS2__ 1
2890 _ACEOF
2891
2892 PROGRAM_EXT=".exe"
2893 DEFAULT_DEFAULT_wxUSE_PM=1
2894 CXX=gcc
2895 LDFLAGS="$LDFLAGS -Zcrtdll"
2896 ac_executable_extensions=".exe"
2897 export ac_executable_extensions
2898 ac_save_IFS="$IFS"
2899 IFS='\\'
2900 ac_TEMP_PATH=
2901 for ac_dir in $PATH; do
2902 IFS=$ac_save_IFS
2903 if test -z "$ac_TEMP_PATH"; then
2904 ac_TEMP_PATH="$ac_dir"
2905 else
2906 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2907 fi
2908 done
2909 export PATH="$ac_TEMP_PATH"
2910 unset ac_TEMP_PATH
2911 DEFAULT_STD_FLAG=no
2912 ;;
2913
2914 arm-apple-darwin*)
2915 USE_BSD=1
2916 USE_DARWIN=1
2917 cat >>confdefs.h <<\_ACEOF
2918 #define __BSD__ 1
2919 _ACEOF
2920
2921 cat >>confdefs.h <<\_ACEOF
2922 #define __DARWIN__ 1
2923 _ACEOF
2924
2925 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
2926 ;;
2927
2928 *-*-darwin* )
2929 USE_BSD=1
2930 USE_DARWIN=1
2931 cat >>confdefs.h <<\_ACEOF
2932 #define __BSD__ 1
2933 _ACEOF
2934
2935 cat >>confdefs.h <<\_ACEOF
2936 #define __DARWIN__ 1
2937 _ACEOF
2938
2939 cat >>confdefs.h <<\_ACEOF
2940 #define TARGET_CARBON 1
2941 _ACEOF
2942
2943 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2944 ;;
2945
2946 *-*-beos* )
2947 USE_BEOS=1
2948 cat >>confdefs.h <<\_ACEOF
2949 #define __BEOS__ 1
2950 _ACEOF
2951
2952 ;;
2953
2954 *)
2955 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2956 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2957 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2958 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2959
2960 DEFAULT_DEFAULT_wxUSE_X11=1
2961 DEFAULT_wxUSE_SHARED=no
2962 esac
2963
2964
2965
2966 DEFAULT_wxUSE_ALL_FEATURES=yes
2967
2968 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2969 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2970
2971 DEFAULT_wxUSE_DMALLOC=no
2972 DEFAULT_wxUSE_LIBGNOMEVFS=no
2973 DEFAULT_wxUSE_LIBHILDON=no
2974 DEFAULT_wxUSE_LIBHILDON2=no
2975 DEFAULT_wxUSE_LIBMSPACK=no
2976 DEFAULT_wxUSE_LIBSDL=no
2977
2978 DEFAULT_wxUSE_ACCESSIBILITY=no
2979 DEFAULT_wxUSE_IPV6=no
2980 DEFAULT_wxUSE_GSTREAMER8=no
2981 DEFAULT_wxUSE_UIACTIONSIMULATOR=no
2982
2983 DEFAULT_wxUSE_UNICODE_UTF8=auto
2984 DEFAULT_wxUSE_OPENGL=auto
2985 DEFAULT_wxUSE_MEDIACTRL=auto
2986 DEFAULT_wxUSE_COMPILER_TLS=auto
2987
2988 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2989
2990 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2991
2992 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2993
2994 DEFAULT_wxUSE_GTK2=yes
2995
2996 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2997
2998
2999
3000
3001
3002 enablestring=disable
3003 defaultval=
3004 if test -z "$defaultval"; then
3005 if test x"$enablestring" = xdisable; then
3006 defaultval=yes
3007 else
3008 defaultval=no
3009 fi
3010 fi
3011
3012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3013 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3014 # Check whether --enable-gui was given.
3015 if test "${enable_gui+set}" = set; then
3016 enableval=$enable_gui;
3017 if test "$enableval" = yes; then
3018 wx_cv_use_gui='wxUSE_GUI=yes'
3019 else
3020 wx_cv_use_gui='wxUSE_GUI=no'
3021 fi
3022
3023 else
3024
3025 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3026
3027 fi
3028
3029
3030 eval "$wx_cv_use_gui"
3031
3032 if test x"$enablestring" = xdisable; then
3033 if test $wxUSE_GUI = no; then
3034 result=yes
3035 else
3036 result=no
3037 fi
3038 else
3039 result=$wxUSE_GUI
3040 fi
3041
3042 { echo "$as_me:$LINENO: result: $result" >&5
3043 echo "${ECHO_T}$result" >&6; }
3044
3045
3046 enablestring=
3047 defaultval=
3048 if test -z "$defaultval"; then
3049 if test x"$enablestring" = xdisable; then
3050 defaultval=yes
3051 else
3052 defaultval=no
3053 fi
3054 fi
3055
3056 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3057 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3058 # Check whether --enable-monolithic was given.
3059 if test "${enable_monolithic+set}" = set; then
3060 enableval=$enable_monolithic;
3061 if test "$enableval" = yes; then
3062 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3063 else
3064 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3065 fi
3066
3067 else
3068
3069 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3070
3071 fi
3072
3073
3074 eval "$wx_cv_use_monolithic"
3075
3076 if test x"$enablestring" = xdisable; then
3077 if test $wxUSE_MONOLITHIC = no; then
3078 result=yes
3079 else
3080 result=no
3081 fi
3082 else
3083 result=$wxUSE_MONOLITHIC
3084 fi
3085
3086 { echo "$as_me:$LINENO: result: $result" >&5
3087 echo "${ECHO_T}$result" >&6; }
3088
3089
3090 enablestring=
3091 defaultval=
3092 if test -z "$defaultval"; then
3093 if test x"$enablestring" = xdisable; then
3094 defaultval=yes
3095 else
3096 defaultval=no
3097 fi
3098 fi
3099
3100 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3101 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3102 # Check whether --enable-plugins was given.
3103 if test "${enable_plugins+set}" = set; then
3104 enableval=$enable_plugins;
3105 if test "$enableval" = yes; then
3106 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3107 else
3108 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3109 fi
3110
3111 else
3112
3113 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3114
3115 fi
3116
3117
3118 eval "$wx_cv_use_plugins"
3119
3120 if test x"$enablestring" = xdisable; then
3121 if test $wxUSE_PLUGINS = no; then
3122 result=yes
3123 else
3124 result=no
3125 fi
3126 else
3127 result=$wxUSE_PLUGINS
3128 fi
3129
3130 { echo "$as_me:$LINENO: result: $result" >&5
3131 echo "${ECHO_T}$result" >&6; }
3132
3133
3134 withstring=without
3135 defaultval=$wxUSE_ALL_FEATURES
3136 if test -z "$defaultval"; then
3137 if test x"$withstring" = xwithout; then
3138 defaultval=yes
3139 else
3140 defaultval=no
3141 fi
3142 fi
3143 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3144 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3145
3146 # Check whether --with-subdirs was given.
3147 if test "${with_subdirs+set}" = set; then
3148 withval=$with_subdirs;
3149 if test "$withval" = yes; then
3150 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3151 else
3152 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3153 fi
3154
3155 else
3156
3157 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3158
3159 fi
3160
3161
3162 eval "$wx_cv_use_subdirs"
3163
3164 if test x"$withstring" = xwithout; then
3165 if test $wxWITH_SUBDIRS = yes; then
3166 result=no
3167 else
3168 result=yes
3169 fi
3170 else
3171 result=$wxWITH_SUBDIRS
3172 fi
3173
3174 { echo "$as_me:$LINENO: result: $result" >&5
3175 echo "${ECHO_T}$result" >&6; }
3176
3177
3178 # Check whether --with-flavour was given.
3179 if test "${with_flavour+set}" = set; then
3180 withval=$with_flavour; WX_FLAVOUR="$withval"
3181 fi
3182
3183
3184 enablestring=
3185 defaultval=
3186 if test -z "$defaultval"; then
3187 if test x"$enablestring" = xdisable; then
3188 defaultval=yes
3189 else
3190 defaultval=no
3191 fi
3192 fi
3193
3194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3195 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3196 # Check whether --enable-official_build was given.
3197 if test "${enable_official_build+set}" = set; then
3198 enableval=$enable_official_build;
3199 if test "$enableval" = yes; then
3200 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3201 else
3202 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3203 fi
3204
3205 else
3206
3207 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3208
3209 fi
3210
3211
3212 eval "$wx_cv_use_official_build"
3213
3214 if test x"$enablestring" = xdisable; then
3215 if test $wxUSE_OFFICIAL_BUILD = no; then
3216 result=yes
3217 else
3218 result=no
3219 fi
3220 else
3221 result=$wxUSE_OFFICIAL_BUILD
3222 fi
3223
3224 { echo "$as_me:$LINENO: result: $result" >&5
3225 echo "${ECHO_T}$result" >&6; }
3226
3227 # Check whether --enable-vendor was given.
3228 if test "${enable_vendor+set}" = set; then
3229 enableval=$enable_vendor; VENDOR="$enableval"
3230 fi
3231
3232 if test "x$VENDOR" = "x"; then
3233 VENDOR="custom"
3234 fi
3235
3236
3237 enablestring=disable
3238 defaultval=
3239 if test -z "$defaultval"; then
3240 if test x"$enablestring" = xdisable; then
3241 defaultval=yes
3242 else
3243 defaultval=no
3244 fi
3245 fi
3246
3247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3248 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3249 # Check whether --enable-all-features was given.
3250 if test "${enable_all_features+set}" = set; then
3251 enableval=$enable_all_features;
3252 if test "$enableval" = yes; then
3253 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3254 else
3255 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3256 fi
3257
3258 else
3259
3260 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3261
3262 fi
3263
3264
3265 eval "$wx_cv_use_all_features"
3266
3267 if test x"$enablestring" = xdisable; then
3268 if test $wxUSE_ALL_FEATURES = no; then
3269 result=yes
3270 else
3271 result=no
3272 fi
3273 else
3274 result=$wxUSE_ALL_FEATURES
3275 fi
3276
3277 { echo "$as_me:$LINENO: result: $result" >&5
3278 echo "${ECHO_T}$result" >&6; }
3279
3280
3281 if test "$wxUSE_ALL_FEATURES" = "no"; then
3282 DEFAULT_wxUSE_MEDIACTRL=no
3283 fi
3284
3285
3286 if test "$wxUSE_GUI" = "yes"; then
3287
3288
3289 enablestring=
3290 defaultval=
3291 if test -z "$defaultval"; then
3292 if test x"$enablestring" = xdisable; then
3293 defaultval=yes
3294 else
3295 defaultval=no
3296 fi
3297 fi
3298
3299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3300 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3301 # Check whether --enable-universal was given.
3302 if test "${enable_universal+set}" = set; then
3303 enableval=$enable_universal;
3304 if test "$enableval" = yes; then
3305 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3306 else
3307 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3308 fi
3309
3310 else
3311
3312 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3313
3314 fi
3315
3316
3317 eval "$wx_cv_use_universal"
3318
3319 if test x"$enablestring" = xdisable; then
3320 if test $wxUSE_UNIVERSAL = no; then
3321 result=yes
3322 else
3323 result=no
3324 fi
3325 else
3326 result=$wxUSE_UNIVERSAL
3327 fi
3328
3329 { echo "$as_me:$LINENO: result: $result" >&5
3330 echo "${ECHO_T}$result" >&6; }
3331
3332 if test "$wxUSE_UNIVERSAL" = "yes"; then
3333
3334 # Check whether --with-themes was given.
3335 if test "${with_themes+set}" = set; then
3336 withval=$with_themes; wxUNIV_THEMES="$withval"
3337 fi
3338
3339 fi
3340
3341
3342 # Check whether --with-gtk was given.
3343 if test "${with_gtk+set}" = set; then
3344 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3345 fi
3346
3347
3348 # Check whether --with-motif was given.
3349 if test "${with_motif+set}" = set; then
3350 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3351 fi
3352
3353
3354 # Check whether --with-osx_carbon was given.
3355 if test "${with_osx_carbon+set}" = set; then
3356 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3357 fi
3358
3359
3360 # Check whether --with-osx_cocoa was given.
3361 if test "${with_osx_cocoa+set}" = set; then
3362 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3363 fi
3364
3365
3366 # Check whether --with-osx_iphone was given.
3367 if test "${with_osx_iphone+set}" = set; then
3368 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3369 fi
3370
3371
3372 # Check whether --with-osx was given.
3373 if test "${with_osx+set}" = set; then
3374 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3375 fi
3376
3377
3378 # Check whether --with-carbon was given.
3379 if test "${with_carbon+set}" = set; then
3380 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3381 fi
3382
3383
3384 # Check whether --with-cocoa was given.
3385 if test "${with_cocoa+set}" = set; then
3386 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3387 fi
3388
3389
3390 # Check whether --with-iphone was given.
3391 if test "${with_iphone+set}" = set; then
3392 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3393 fi
3394
3395
3396 # Check whether --with-mac was given.
3397 if test "${with_mac+set}" = set; then
3398 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3399 fi
3400
3401
3402 # Check whether --with-old_cocoa was given.
3403 if test "${with_old_cocoa+set}" = set; then
3404 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3405 fi
3406
3407
3408 # Check whether --with-wine was given.
3409 if test "${with_wine+set}" = set; then
3410 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3411 fi
3412
3413
3414 # Check whether --with-msw was given.
3415 if test "${with_msw+set}" = set; then
3416 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3417 fi
3418
3419
3420 # Check whether --with-pm was given.
3421 if test "${with_pm+set}" = set; then
3422 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3423 fi
3424
3425
3426 # Check whether --with-mgl was given.
3427 if test "${with_mgl+set}" = set; then
3428 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3429 fi
3430
3431
3432 # Check whether --with-directfb was given.
3433 if test "${with_directfb+set}" = set; then
3434 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3435 fi
3436
3437
3438 # Check whether --with-microwin was given.
3439 if test "${with_microwin+set}" = set; then
3440 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3441 fi
3442
3443
3444 # Check whether --with-x11 was given.
3445 if test "${with_x11+set}" = set; then
3446 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3447 fi
3448
3449
3450 enablestring=
3451 defaultval=
3452 if test -z "$defaultval"; then
3453 if test x"$enablestring" = xdisable; then
3454 defaultval=yes
3455 else
3456 defaultval=no
3457 fi
3458 fi
3459
3460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3461 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3462 # Check whether --enable-nanox was given.
3463 if test "${enable_nanox+set}" = set; then
3464 enableval=$enable_nanox;
3465 if test "$enableval" = yes; then
3466 wx_cv_use_nanox='wxUSE_NANOX=yes'
3467 else
3468 wx_cv_use_nanox='wxUSE_NANOX=no'
3469 fi
3470
3471 else
3472
3473 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3474
3475 fi
3476
3477
3478 eval "$wx_cv_use_nanox"
3479
3480 if test x"$enablestring" = xdisable; then
3481 if test $wxUSE_NANOX = no; then
3482 result=yes
3483 else
3484 result=no
3485 fi
3486 else
3487 result=$wxUSE_NANOX
3488 fi
3489
3490 { echo "$as_me:$LINENO: result: $result" >&5
3491 echo "${ECHO_T}$result" >&6; }
3492
3493
3494 # Check whether --enable-gtk2 was given.
3495 if test "${enable_gtk2+set}" = set; then
3496 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3497 fi
3498
3499
3500 enablestring=
3501 defaultval=
3502 if test -z "$defaultval"; then
3503 if test x"$enablestring" = xdisable; then
3504 defaultval=yes
3505 else
3506 defaultval=no
3507 fi
3508 fi
3509
3510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3511 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3512 # Check whether --enable-gpe was given.
3513 if test "${enable_gpe+set}" = set; then
3514 enableval=$enable_gpe;
3515 if test "$enableval" = yes; then
3516 wx_cv_use_gpe='wxUSE_GPE=yes'
3517 else
3518 wx_cv_use_gpe='wxUSE_GPE=no'
3519 fi
3520
3521 else
3522
3523 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3524
3525 fi
3526
3527
3528 eval "$wx_cv_use_gpe"
3529
3530 if test x"$enablestring" = xdisable; then
3531 if test $wxUSE_GPE = no; then
3532 result=yes
3533 else
3534 result=no
3535 fi
3536 else
3537 result=$wxUSE_GPE
3538 fi
3539
3540 { echo "$as_me:$LINENO: result: $result" >&5
3541 echo "${ECHO_T}$result" >&6; }
3542
3543
3544
3545 { echo "$as_me:$LINENO: checking for toolkit" >&5
3546 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3547
3548
3549
3550 # In Wine, we need to default to MSW, not GTK or MOTIF
3551 if test "$wxUSE_WINE" = "yes"; then
3552 DEFAULT_DEFAULT_wxUSE_GTK=0
3553 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3554 DEFAULT_DEFAULT_wxUSE_MSW=1
3555 wxUSE_SHARED=no
3556 CC=${CC:-winegcc}
3557 CXX=${CXX:-wineg++}
3558 fi
3559
3560
3561 if test "$wxUSE_GUI" = "yes"; then
3562
3563 if test "$USE_BEOS" = 1; then
3564 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3565 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3566 { (exit 1); exit 1; }; }
3567 fi
3568
3569 if test "$TOOLKIT_GIVEN" = 1; then
3570 for toolkit in $ALL_TOOLKITS; do
3571 var=wxUSE_$toolkit
3572 eval "value=\$${var}"
3573 if test "x$value" = "xno"; then
3574 eval "$var=0"
3575 elif test "x$value" != "x"; then
3576 eval "$var=1"
3577 fi
3578
3579 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3580 eval "wx${toolkit}_VERSION=$value"
3581 fi
3582 done
3583 else
3584 for toolkit in $ALL_TOOLKITS; do
3585 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3586 eval "wxUSE_$toolkit=\$${var}"
3587 done
3588 fi
3589
3590 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3591 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3592 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3593
3594 case "${host}" in
3595 *-pc-os2_emx | *-pc-os2-emx )
3596 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3597 esac
3598
3599 case "$NUM_TOOLKITS" in
3600 1)
3601 ;;
3602 0)
3603 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3604 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3605 { (exit 1); exit 1; }; }
3606 ;;
3607 *)
3608 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3609 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3610 { (exit 1); exit 1; }; }
3611 esac
3612
3613 # to be removed when --disable-gtk2 isn't needed
3614 if test "x$wxUSE_GTK2" = "xyes"; then
3615 wxGTK_VERSION=2
3616 wxUSE_GTK1=0
3617 elif test "x$wxUSE_GTK2" = "xno"; then
3618 wxGTK_VERSION=1
3619 wxUSE_GTK1=1
3620 fi
3621
3622 for toolkit in $ALL_TOOLKITS; do
3623 var=wxUSE_$toolkit
3624 eval "value=\$${var}"
3625 if test "$value" = 1; then
3626 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3627 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3628 echo "${ECHO_T}$toolkit_echo" >&6; }
3629 fi
3630 done
3631 else
3632 if test "x$host_alias" != "x"; then
3633 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3634 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3635 else
3636 { echo "$as_me:$LINENO: result: base only" >&5
3637 echo "${ECHO_T}base only" >&6; }
3638 fi
3639 fi
3640
3641 wxUSE_MAC=0
3642 if test "$wxUSE_OSX_CARBON" = 1 \
3643 -o "$wxUSE_OSX_COCOA" = 1 \
3644 -o "$wxUSE_OSX_IPHONE" = 1; then
3645 wxUSE_MAC=1
3646 fi
3647
3648
3649
3650 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3651 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3652
3653 # Check whether --with-libpng was given.
3654 if test "${with_libpng+set}" = set; then
3655 withval=$with_libpng;
3656 if test "$withval" = yes; then
3657 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3658 elif test "$withval" = no; then
3659 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3660 elif test "$withval" = sys; then
3661 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3662 elif test "$withval" = builtin; then
3663 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3664 else
3665 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3666 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3667 { (exit 1); exit 1; }; }
3668 fi
3669
3670 else
3671
3672 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3673
3674 fi
3675
3676
3677 eval "$wx_cv_use_libpng"
3678
3679 if test "$wxUSE_LIBPNG" = yes; then
3680 { echo "$as_me:$LINENO: result: yes" >&5
3681 echo "${ECHO_T}yes" >&6; }
3682 elif test "$wxUSE_LIBPNG" = no; then
3683 { echo "$as_me:$LINENO: result: no" >&5
3684 echo "${ECHO_T}no" >&6; }
3685 elif test "$wxUSE_LIBPNG" = sys; then
3686 { echo "$as_me:$LINENO: result: system version" >&5
3687 echo "${ECHO_T}system version" >&6; }
3688 elif test "$wxUSE_LIBPNG" = builtin; then
3689 { echo "$as_me:$LINENO: result: builtin version" >&5
3690 echo "${ECHO_T}builtin version" >&6; }
3691 else
3692 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3693 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3694 { (exit 1); exit 1; }; }
3695 fi
3696
3697
3698 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3699 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3700
3701 # Check whether --with-libjpeg was given.
3702 if test "${with_libjpeg+set}" = set; then
3703 withval=$with_libjpeg;
3704 if test "$withval" = yes; then
3705 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3706 elif test "$withval" = no; then
3707 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3708 elif test "$withval" = sys; then
3709 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3710 elif test "$withval" = builtin; then
3711 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3712 else
3713 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3714 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3715 { (exit 1); exit 1; }; }
3716 fi
3717
3718 else
3719
3720 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3721
3722 fi
3723
3724
3725 eval "$wx_cv_use_libjpeg"
3726
3727 if test "$wxUSE_LIBJPEG" = yes; then
3728 { echo "$as_me:$LINENO: result: yes" >&5
3729 echo "${ECHO_T}yes" >&6; }
3730 elif test "$wxUSE_LIBJPEG" = no; then
3731 { echo "$as_me:$LINENO: result: no" >&5
3732 echo "${ECHO_T}no" >&6; }
3733 elif test "$wxUSE_LIBJPEG" = sys; then
3734 { echo "$as_me:$LINENO: result: system version" >&5
3735 echo "${ECHO_T}system version" >&6; }
3736 elif test "$wxUSE_LIBJPEG" = builtin; then
3737 { echo "$as_me:$LINENO: result: builtin version" >&5
3738 echo "${ECHO_T}builtin version" >&6; }
3739 else
3740 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3741 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3742 { (exit 1); exit 1; }; }
3743 fi
3744
3745
3746 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3747 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3748
3749 # Check whether --with-libtiff was given.
3750 if test "${with_libtiff+set}" = set; then
3751 withval=$with_libtiff;
3752 if test "$withval" = yes; then
3753 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3754 elif test "$withval" = no; then
3755 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3756 elif test "$withval" = sys; then
3757 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3758 elif test "$withval" = builtin; then
3759 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3760 else
3761 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3762 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3763 { (exit 1); exit 1; }; }
3764 fi
3765
3766 else
3767
3768 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3769
3770 fi
3771
3772
3773 eval "$wx_cv_use_libtiff"
3774
3775 if test "$wxUSE_LIBTIFF" = yes; then
3776 { echo "$as_me:$LINENO: result: yes" >&5
3777 echo "${ECHO_T}yes" >&6; }
3778 elif test "$wxUSE_LIBTIFF" = no; then
3779 { echo "$as_me:$LINENO: result: no" >&5
3780 echo "${ECHO_T}no" >&6; }
3781 elif test "$wxUSE_LIBTIFF" = sys; then
3782 { echo "$as_me:$LINENO: result: system version" >&5
3783 echo "${ECHO_T}system version" >&6; }
3784 elif test "$wxUSE_LIBTIFF" = builtin; then
3785 { echo "$as_me:$LINENO: result: builtin version" >&5
3786 echo "${ECHO_T}builtin version" >&6; }
3787 else
3788 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3789 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3790 { (exit 1); exit 1; }; }
3791 fi
3792
3793
3794 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3795 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3796
3797 # Check whether --with-libxpm was given.
3798 if test "${with_libxpm+set}" = set; then
3799 withval=$with_libxpm;
3800 if test "$withval" = yes; then
3801 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3802 elif test "$withval" = no; then
3803 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3804 elif test "$withval" = sys; then
3805 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3806 elif test "$withval" = builtin; then
3807 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3808 else
3809 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3810 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3811 { (exit 1); exit 1; }; }
3812 fi
3813
3814 else
3815
3816 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3817
3818 fi
3819
3820
3821 eval "$wx_cv_use_libxpm"
3822
3823 if test "$wxUSE_LIBXPM" = yes; then
3824 { echo "$as_me:$LINENO: result: yes" >&5
3825 echo "${ECHO_T}yes" >&6; }
3826 elif test "$wxUSE_LIBXPM" = no; then
3827 { echo "$as_me:$LINENO: result: no" >&5
3828 echo "${ECHO_T}no" >&6; }
3829 elif test "$wxUSE_LIBXPM" = sys; then
3830 { echo "$as_me:$LINENO: result: system version" >&5
3831 echo "${ECHO_T}system version" >&6; }
3832 elif test "$wxUSE_LIBXPM" = builtin; then
3833 { echo "$as_me:$LINENO: result: builtin version" >&5
3834 echo "${ECHO_T}builtin version" >&6; }
3835 else
3836 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3837 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3838 { (exit 1); exit 1; }; }
3839 fi
3840
3841
3842 withstring=
3843 defaultval=$wxUSE_ALL_FEATURES
3844 if test -z "$defaultval"; then
3845 if test x"$withstring" = xwithout; then
3846 defaultval=yes
3847 else
3848 defaultval=no
3849 fi
3850 fi
3851 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3852 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3853
3854 # Check whether --with-libiconv was given.
3855 if test "${with_libiconv+set}" = set; then
3856 withval=$with_libiconv;
3857 if test "$withval" = yes; then
3858 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3859 else
3860 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3861 fi
3862
3863 else
3864
3865 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3866
3867 fi
3868
3869
3870 eval "$wx_cv_use_libiconv"
3871
3872 if test x"$withstring" = xwithout; then
3873 if test $wxUSE_LIBICONV = yes; then
3874 result=no
3875 else
3876 result=yes
3877 fi
3878 else
3879 result=$wxUSE_LIBICONV
3880 fi
3881
3882 { echo "$as_me:$LINENO: result: $result" >&5
3883 echo "${ECHO_T}$result" >&6; }
3884
3885
3886 withstring=
3887 defaultval=$wxUSE_ALL_FEATURES
3888 if test -z "$defaultval"; then
3889 if test x"$withstring" = xwithout; then
3890 defaultval=yes
3891 else
3892 defaultval=no
3893 fi
3894 fi
3895 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3896 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3897
3898 # Check whether --with-libmspack was given.
3899 if test "${with_libmspack+set}" = set; then
3900 withval=$with_libmspack;
3901 if test "$withval" = yes; then
3902 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3903 else
3904 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3905 fi
3906
3907 else
3908
3909 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3910
3911 fi
3912
3913
3914 eval "$wx_cv_use_libmspack"
3915
3916 if test x"$withstring" = xwithout; then
3917 if test $wxUSE_LIBMSPACK = yes; then
3918 result=no
3919 else
3920 result=yes
3921 fi
3922 else
3923 result=$wxUSE_LIBMSPACK
3924 fi
3925
3926 { echo "$as_me:$LINENO: result: $result" >&5
3927 echo "${ECHO_T}$result" >&6; }
3928
3929
3930 withstring=without
3931 defaultval=$wxUSE_ALL_FEATURES
3932 if test -z "$defaultval"; then
3933 if test x"$withstring" = xwithout; then
3934 defaultval=yes
3935 else
3936 defaultval=no
3937 fi
3938 fi
3939 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3940 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3941
3942 # Check whether --with-gtkprint was given.
3943 if test "${with_gtkprint+set}" = set; then
3944 withval=$with_gtkprint;
3945 if test "$withval" = yes; then
3946 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3947 else
3948 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3949 fi
3950
3951 else
3952
3953 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3954
3955 fi
3956
3957
3958 eval "$wx_cv_use_gtkprint"
3959
3960 if test x"$withstring" = xwithout; then
3961 if test $wxUSE_GTKPRINT = yes; then
3962 result=no
3963 else
3964 result=yes
3965 fi
3966 else
3967 result=$wxUSE_GTKPRINT
3968 fi
3969
3970 { echo "$as_me:$LINENO: result: $result" >&5
3971 echo "${ECHO_T}$result" >&6; }
3972
3973
3974 withstring=without
3975 defaultval=$wxUSE_ALL_FEATURES
3976 if test -z "$defaultval"; then
3977 if test x"$withstring" = xwithout; then
3978 defaultval=yes
3979 else
3980 defaultval=no
3981 fi
3982 fi
3983 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3984 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3985
3986 # Check whether --with-gnomeprint was given.
3987 if test "${with_gnomeprint+set}" = set; then
3988 withval=$with_gnomeprint;
3989 if test "$withval" = yes; then
3990 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3991 else
3992 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3993 fi
3994
3995 else
3996
3997 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3998
3999 fi
4000
4001
4002 eval "$wx_cv_use_gnomeprint"
4003
4004 if test x"$withstring" = xwithout; then
4005 if test $wxUSE_LIBGNOMEPRINT = yes; then
4006 result=no
4007 else
4008 result=yes
4009 fi
4010 else
4011 result=$wxUSE_LIBGNOMEPRINT
4012 fi
4013
4014 { echo "$as_me:$LINENO: result: $result" >&5
4015 echo "${ECHO_T}$result" >&6; }
4016
4017
4018 withstring=
4019 defaultval=$wxUSE_ALL_FEATURES
4020 if test -z "$defaultval"; then
4021 if test x"$withstring" = xwithout; then
4022 defaultval=yes
4023 else
4024 defaultval=no
4025 fi
4026 fi
4027 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4028 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4029
4030 # Check whether --with-gnomevfs was given.
4031 if test "${with_gnomevfs+set}" = set; then
4032 withval=$with_gnomevfs;
4033 if test "$withval" = yes; then
4034 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4035 else
4036 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4037 fi
4038
4039 else
4040
4041 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4042
4043 fi
4044
4045
4046 eval "$wx_cv_use_gnomevfs"
4047
4048 if test x"$withstring" = xwithout; then
4049 if test $wxUSE_LIBGNOMEVFS = yes; then
4050 result=no
4051 else
4052 result=yes
4053 fi
4054 else
4055 result=$wxUSE_LIBGNOMEVFS
4056 fi
4057
4058 { echo "$as_me:$LINENO: result: $result" >&5
4059 echo "${ECHO_T}$result" >&6; }
4060
4061
4062 withstring=
4063 defaultval=$wxUSE_ALL_FEATURES
4064 if test -z "$defaultval"; then
4065 if test x"$withstring" = xwithout; then
4066 defaultval=yes
4067 else
4068 defaultval=no
4069 fi
4070 fi
4071 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4072 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4073
4074 # Check whether --with-hildon was given.
4075 if test "${with_hildon+set}" = set; then
4076 withval=$with_hildon;
4077 if test "$withval" = yes; then
4078 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4079 else
4080 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4081 fi
4082
4083 else
4084
4085 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4086
4087 fi
4088
4089
4090 eval "$wx_cv_use_hildon"
4091
4092 if test x"$withstring" = xwithout; then
4093 if test $wxUSE_LIBHILDON = yes; then
4094 result=no
4095 else
4096 result=yes
4097 fi
4098 else
4099 result=$wxUSE_LIBHILDON
4100 fi
4101
4102 { echo "$as_me:$LINENO: result: $result" >&5
4103 echo "${ECHO_T}$result" >&6; }
4104
4105
4106 withstring=
4107 defaultval=$wxUSE_ALL_FEATURES
4108 if test -z "$defaultval"; then
4109 if test x"$withstring" = xwithout; then
4110 defaultval=yes
4111 else
4112 defaultval=no
4113 fi
4114 fi
4115 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4116 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4117
4118 # Check whether --with-opengl was given.
4119 if test "${with_opengl+set}" = set; then
4120 withval=$with_opengl;
4121 if test "$withval" = yes; then
4122 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4123 else
4124 wx_cv_use_opengl='wxUSE_OPENGL=no'
4125 fi
4126
4127 else
4128
4129 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4130
4131 fi
4132
4133
4134 eval "$wx_cv_use_opengl"
4135
4136 if test x"$withstring" = xwithout; then
4137 if test $wxUSE_OPENGL = yes; then
4138 result=no
4139 else
4140 result=yes
4141 fi
4142 else
4143 result=$wxUSE_OPENGL
4144 fi
4145
4146 { echo "$as_me:$LINENO: result: $result" >&5
4147 echo "${ECHO_T}$result" >&6; }
4148
4149
4150 fi
4151
4152
4153 withstring=
4154 defaultval=$wxUSE_ALL_FEATURES
4155 if test -z "$defaultval"; then
4156 if test x"$withstring" = xwithout; then
4157 defaultval=yes
4158 else
4159 defaultval=no
4160 fi
4161 fi
4162 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4163 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4164
4165 # Check whether --with-dmalloc was given.
4166 if test "${with_dmalloc+set}" = set; then
4167 withval=$with_dmalloc;
4168 if test "$withval" = yes; then
4169 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4170 else
4171 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4172 fi
4173
4174 else
4175
4176 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4177
4178 fi
4179
4180
4181 eval "$wx_cv_use_dmalloc"
4182
4183 if test x"$withstring" = xwithout; then
4184 if test $wxUSE_DMALLOC = yes; then
4185 result=no
4186 else
4187 result=yes
4188 fi
4189 else
4190 result=$wxUSE_DMALLOC
4191 fi
4192
4193 { echo "$as_me:$LINENO: result: $result" >&5
4194 echo "${ECHO_T}$result" >&6; }
4195
4196
4197 withstring=
4198 defaultval=$wxUSE_ALL_FEATURES
4199 if test -z "$defaultval"; then
4200 if test x"$withstring" = xwithout; then
4201 defaultval=yes
4202 else
4203 defaultval=no
4204 fi
4205 fi
4206 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4207 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4208
4209 # Check whether --with-sdl was given.
4210 if test "${with_sdl+set}" = set; then
4211 withval=$with_sdl;
4212 if test "$withval" = yes; then
4213 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4214 else
4215 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4216 fi
4217
4218 else
4219
4220 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4221
4222 fi
4223
4224
4225 eval "$wx_cv_use_sdl"
4226
4227 if test x"$withstring" = xwithout; then
4228 if test $wxUSE_LIBSDL = yes; then
4229 result=no
4230 else
4231 result=yes
4232 fi
4233 else
4234 result=$wxUSE_LIBSDL
4235 fi
4236
4237 { echo "$as_me:$LINENO: result: $result" >&5
4238 echo "${ECHO_T}$result" >&6; }
4239
4240
4241 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4242 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4243
4244 # Check whether --with-regex was given.
4245 if test "${with_regex+set}" = set; then
4246 withval=$with_regex;
4247 if test "$withval" = yes; then
4248 wx_cv_use_regex='wxUSE_REGEX=yes'
4249 elif test "$withval" = no; then
4250 wx_cv_use_regex='wxUSE_REGEX=no'
4251 elif test "$withval" = sys; then
4252 wx_cv_use_regex='wxUSE_REGEX=sys'
4253 elif test "$withval" = builtin; then
4254 wx_cv_use_regex='wxUSE_REGEX=builtin'
4255 else
4256 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4257 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4258 { (exit 1); exit 1; }; }
4259 fi
4260
4261 else
4262
4263 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4264
4265 fi
4266
4267
4268 eval "$wx_cv_use_regex"
4269
4270 if test "$wxUSE_REGEX" = yes; then
4271 { echo "$as_me:$LINENO: result: yes" >&5
4272 echo "${ECHO_T}yes" >&6; }
4273 elif test "$wxUSE_REGEX" = no; then
4274 { echo "$as_me:$LINENO: result: no" >&5
4275 echo "${ECHO_T}no" >&6; }
4276 elif test "$wxUSE_REGEX" = sys; then
4277 { echo "$as_me:$LINENO: result: system version" >&5
4278 echo "${ECHO_T}system version" >&6; }
4279 elif test "$wxUSE_REGEX" = builtin; then
4280 { echo "$as_me:$LINENO: result: builtin version" >&5
4281 echo "${ECHO_T}builtin version" >&6; }
4282 else
4283 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4284 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4285 { (exit 1); exit 1; }; }
4286 fi
4287
4288
4289 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4290 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4291
4292 # Check whether --with-zlib was given.
4293 if test "${with_zlib+set}" = set; then
4294 withval=$with_zlib;
4295 if test "$withval" = yes; then
4296 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4297 elif test "$withval" = no; then
4298 wx_cv_use_zlib='wxUSE_ZLIB=no'
4299 elif test "$withval" = sys; then
4300 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4301 elif test "$withval" = builtin; then
4302 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4303 else
4304 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4305 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4306 { (exit 1); exit 1; }; }
4307 fi
4308
4309 else
4310
4311 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4312
4313 fi
4314
4315
4316 eval "$wx_cv_use_zlib"
4317
4318 if test "$wxUSE_ZLIB" = yes; then
4319 { echo "$as_me:$LINENO: result: yes" >&5
4320 echo "${ECHO_T}yes" >&6; }
4321 elif test "$wxUSE_ZLIB" = no; then
4322 { echo "$as_me:$LINENO: result: no" >&5
4323 echo "${ECHO_T}no" >&6; }
4324 elif test "$wxUSE_ZLIB" = sys; then
4325 { echo "$as_me:$LINENO: result: system version" >&5
4326 echo "${ECHO_T}system version" >&6; }
4327 elif test "$wxUSE_ZLIB" = builtin; then
4328 { echo "$as_me:$LINENO: result: builtin version" >&5
4329 echo "${ECHO_T}builtin version" >&6; }
4330 else
4331 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4332 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4333 { (exit 1); exit 1; }; }
4334 fi
4335
4336
4337 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4338 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4339
4340 # Check whether --with-expat was given.
4341 if test "${with_expat+set}" = set; then
4342 withval=$with_expat;
4343 if test "$withval" = yes; then
4344 wx_cv_use_expat='wxUSE_EXPAT=yes'
4345 elif test "$withval" = no; then
4346 wx_cv_use_expat='wxUSE_EXPAT=no'
4347 elif test "$withval" = sys; then
4348 wx_cv_use_expat='wxUSE_EXPAT=sys'
4349 elif test "$withval" = builtin; then
4350 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4351 else
4352 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4353 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4354 { (exit 1); exit 1; }; }
4355 fi
4356
4357 else
4358
4359 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4360
4361 fi
4362
4363
4364 eval "$wx_cv_use_expat"
4365
4366 if test "$wxUSE_EXPAT" = yes; then
4367 { echo "$as_me:$LINENO: result: yes" >&5
4368 echo "${ECHO_T}yes" >&6; }
4369 elif test "$wxUSE_EXPAT" = no; then
4370 { echo "$as_me:$LINENO: result: no" >&5
4371 echo "${ECHO_T}no" >&6; }
4372 elif test "$wxUSE_EXPAT" = sys; then
4373 { echo "$as_me:$LINENO: result: system version" >&5
4374 echo "${ECHO_T}system version" >&6; }
4375 elif test "$wxUSE_EXPAT" = builtin; then
4376 { echo "$as_me:$LINENO: result: builtin version" >&5
4377 echo "${ECHO_T}builtin version" >&6; }
4378 else
4379 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4380 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4381 { (exit 1); exit 1; }; }
4382 fi
4383
4384
4385 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4386 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4387
4388 # Check whether --with-macosx-sdk was given.
4389 if test "${with_macosx_sdk+set}" = set; then
4390 withval=$with_macosx_sdk;
4391 wxUSE_MACOSX_SDK=$withval
4392 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4393
4394 fi
4395
4396 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4397 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4398
4399 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4400 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4401
4402 # Check whether --with-macosx-version-min was given.
4403 if test "${with_macosx_version_min+set}" = set; then
4404 withval=$with_macosx_version_min;
4405 wxUSE_MACOSX_VERSION_MIN=$withval
4406 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4407
4408 fi
4409
4410 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4411 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4412
4413
4414 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4415 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4416 # Check whether --enable-debug was given.
4417 if test "${enable_debug+set}" = set; then
4418 enableval=$enable_debug;
4419 if test "$enableval" = yes; then
4420 wxUSE_DEBUG=yes
4421 elif test "$enableval" = no; then
4422 wxUSE_DEBUG=no
4423 elif test "$enableval" = max; then
4424 wxUSE_DEBUG=yes
4425 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4426 else
4427 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4428 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4429 { (exit 1); exit 1; }; }
4430 fi
4431
4432 else
4433 wxUSE_DEBUG=default
4434
4435 fi
4436
4437
4438 case "$wxUSE_DEBUG" in
4439 yes)
4440 DEFAULT_wxUSE_DEBUG_FLAG=yes
4441 DEFAULT_wxUSE_DEBUG_INFO=yes
4442
4443 DEFAULT_wxUSE_OPTIMISE=no
4444 ;;
4445
4446 no)
4447 DEFAULT_wxUSE_DEBUG_FLAG=no
4448 DEFAULT_wxUSE_DEBUG_INFO=no
4449 ;;
4450
4451 default)
4452 DEFAULT_wxUSE_DEBUG_FLAG=yes
4453 DEFAULT_wxUSE_DEBUG_INFO=no
4454 ;;
4455 esac
4456
4457
4458 enablestring=disable
4459 defaultval=
4460 if test -z "$defaultval"; then
4461 if test x"$enablestring" = xdisable; then
4462 defaultval=yes
4463 else
4464 defaultval=no
4465 fi
4466 fi
4467
4468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4469 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4470 # Check whether --enable-debug_flag was given.
4471 if test "${enable_debug_flag+set}" = set; then
4472 enableval=$enable_debug_flag;
4473 if test "$enableval" = yes; then
4474 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4475 else
4476 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4477 fi
4478
4479 else
4480
4481 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4482
4483 fi
4484
4485
4486 eval "$wx_cv_use_debug_flag"
4487
4488 if test x"$enablestring" = xdisable; then
4489 if test $wxUSE_DEBUG_FLAG = no; then
4490 result=yes
4491 else
4492 result=no
4493 fi
4494 else
4495 result=$wxUSE_DEBUG_FLAG
4496 fi
4497
4498 { echo "$as_me:$LINENO: result: $result" >&5
4499 echo "${ECHO_T}$result" >&6; }
4500
4501
4502 enablestring=
4503 defaultval=
4504 if test -z "$defaultval"; then
4505 if test x"$enablestring" = xdisable; then
4506 defaultval=yes
4507 else
4508 defaultval=no
4509 fi
4510 fi
4511
4512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4513 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4514 # Check whether --enable-debug_info was given.
4515 if test "${enable_debug_info+set}" = set; then
4516 enableval=$enable_debug_info;
4517 if test "$enableval" = yes; then
4518 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4519 else
4520 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4521 fi
4522
4523 else
4524
4525 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4526
4527 fi
4528
4529
4530 eval "$wx_cv_use_debug_info"
4531
4532 if test x"$enablestring" = xdisable; then
4533 if test $wxUSE_DEBUG_INFO = no; then
4534 result=yes
4535 else
4536 result=no
4537 fi
4538 else
4539 result=$wxUSE_DEBUG_INFO
4540 fi
4541
4542 { echo "$as_me:$LINENO: result: $result" >&5
4543 echo "${ECHO_T}$result" >&6; }
4544
4545
4546
4547
4548 enablestring=
4549 defaultval=
4550 if test -z "$defaultval"; then
4551 if test x"$enablestring" = xdisable; then
4552 defaultval=yes
4553 else
4554 defaultval=no
4555 fi
4556 fi
4557
4558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4559 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4560 # Check whether --enable-debug_gdb was given.
4561 if test "${enable_debug_gdb+set}" = set; then
4562 enableval=$enable_debug_gdb;
4563 if test "$enableval" = yes; then
4564 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4565 else
4566 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4567 fi
4568
4569 else
4570
4571 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4572
4573 fi
4574
4575
4576 eval "$wx_cv_use_debug_gdb"
4577
4578 if test x"$enablestring" = xdisable; then
4579 if test $wxUSE_DEBUG_GDB = no; then
4580 result=yes
4581 else
4582 result=no
4583 fi
4584 else
4585 result=$wxUSE_DEBUG_GDB
4586 fi
4587
4588 { echo "$as_me:$LINENO: result: $result" >&5
4589 echo "${ECHO_T}$result" >&6; }
4590
4591
4592 enablestring=
4593 defaultval=
4594 if test -z "$defaultval"; then
4595 if test x"$enablestring" = xdisable; then
4596 defaultval=yes
4597 else
4598 defaultval=no
4599 fi
4600 fi
4601
4602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4603 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4604 # Check whether --enable-debug_cntxt was given.
4605 if test "${enable_debug_cntxt+set}" = set; then
4606 enableval=$enable_debug_cntxt;
4607 if test "$enableval" = yes; then
4608 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4609 else
4610 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4611 fi
4612
4613 else
4614
4615 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4616
4617 fi
4618
4619
4620 eval "$wx_cv_use_debug_cntxt"
4621
4622 if test x"$enablestring" = xdisable; then
4623 if test $wxUSE_DEBUG_CONTEXT = no; then
4624 result=yes
4625 else
4626 result=no
4627 fi
4628 else
4629 result=$wxUSE_DEBUG_CONTEXT
4630 fi
4631
4632 { echo "$as_me:$LINENO: result: $result" >&5
4633 echo "${ECHO_T}$result" >&6; }
4634
4635
4636 enablestring=
4637 defaultval=
4638 if test -z "$defaultval"; then
4639 if test x"$enablestring" = xdisable; then
4640 defaultval=yes
4641 else
4642 defaultval=no
4643 fi
4644 fi
4645
4646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4647 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4648 # Check whether --enable-mem_tracing was given.
4649 if test "${enable_mem_tracing+set}" = set; then
4650 enableval=$enable_mem_tracing;
4651 if test "$enableval" = yes; then
4652 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4653 else
4654 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4655 fi
4656
4657 else
4658
4659 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4660
4661 fi
4662
4663
4664 eval "$wx_cv_use_mem_tracing"
4665
4666 if test x"$enablestring" = xdisable; then
4667 if test $wxUSE_MEM_TRACING = no; then
4668 result=yes
4669 else
4670 result=no
4671 fi
4672 else
4673 result=$wxUSE_MEM_TRACING
4674 fi
4675
4676 { echo "$as_me:$LINENO: result: $result" >&5
4677 echo "${ECHO_T}$result" >&6; }
4678
4679
4680
4681
4682 enablestring=disable
4683 defaultval=
4684 if test -z "$defaultval"; then
4685 if test x"$enablestring" = xdisable; then
4686 defaultval=yes
4687 else
4688 defaultval=no
4689 fi
4690 fi
4691
4692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4693 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4694 # Check whether --enable-shared was given.
4695 if test "${enable_shared+set}" = set; then
4696 enableval=$enable_shared;
4697 if test "$enableval" = yes; then
4698 wx_cv_use_shared='wxUSE_SHARED=yes'
4699 else
4700 wx_cv_use_shared='wxUSE_SHARED=no'
4701 fi
4702
4703 else
4704
4705 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4706
4707 fi
4708
4709
4710 eval "$wx_cv_use_shared"
4711
4712 if test x"$enablestring" = xdisable; then
4713 if test $wxUSE_SHARED = no; then
4714 result=yes
4715 else
4716 result=no
4717 fi
4718 else
4719 result=$wxUSE_SHARED
4720 fi
4721
4722 { echo "$as_me:$LINENO: result: $result" >&5
4723 echo "${ECHO_T}$result" >&6; }
4724
4725
4726 enablestring=
4727 defaultval=
4728 if test -z "$defaultval"; then
4729 if test x"$enablestring" = xdisable; then
4730 defaultval=yes
4731 else
4732 defaultval=no
4733 fi
4734 fi
4735
4736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4737 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4738 # Check whether --enable-stl was given.
4739 if test "${enable_stl+set}" = set; then
4740 enableval=$enable_stl;
4741 if test "$enableval" = yes; then
4742 wx_cv_use_stl='wxUSE_STL=yes'
4743 else
4744 wx_cv_use_stl='wxUSE_STL=no'
4745 fi
4746
4747 else
4748
4749 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4750
4751 fi
4752
4753
4754 eval "$wx_cv_use_stl"
4755
4756 if test x"$enablestring" = xdisable; then
4757 if test $wxUSE_STL = no; then
4758 result=yes
4759 else
4760 result=no
4761 fi
4762 else
4763 result=$wxUSE_STL
4764 fi
4765
4766 { echo "$as_me:$LINENO: result: $result" >&5
4767 echo "${ECHO_T}$result" >&6; }
4768
4769
4770 enablestring=
4771 defaultval=
4772 if test -z "$defaultval"; then
4773 if test x"$enablestring" = xdisable; then
4774 defaultval=yes
4775 else
4776 defaultval=no
4777 fi
4778 fi
4779
4780 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4781 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4782 # Check whether --enable-std_iostreams was given.
4783 if test "${enable_std_iostreams+set}" = set; then
4784 enableval=$enable_std_iostreams;
4785 if test "$enableval" = yes; then
4786 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4787 else
4788 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4789 fi
4790
4791 else
4792
4793 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4794
4795 fi
4796
4797
4798 eval "$wx_cv_use_std_iostreams"
4799
4800 if test x"$enablestring" = xdisable; then
4801 if test $wxUSE_STD_IOSTREAM = no; then
4802 result=yes
4803 else
4804 result=no
4805 fi
4806 else
4807 result=$wxUSE_STD_IOSTREAM
4808 fi
4809
4810 { echo "$as_me:$LINENO: result: $result" >&5
4811 echo "${ECHO_T}$result" >&6; }
4812
4813
4814 enablestring=
4815 defaultval=
4816 if test -z "$defaultval"; then
4817 if test x"$enablestring" = xdisable; then
4818 defaultval=yes
4819 else
4820 defaultval=no
4821 fi
4822 fi
4823
4824 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4825 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4826 # Check whether --enable-std_string was given.
4827 if test "${enable_std_string+set}" = set; then
4828 enableval=$enable_std_string;
4829 if test "$enableval" = yes; then
4830 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4831 else
4832 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4833 fi
4834
4835 else
4836
4837 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4838
4839 fi
4840
4841
4842 eval "$wx_cv_use_std_string"
4843
4844 if test x"$enablestring" = xdisable; then
4845 if test $wxUSE_STD_STRING = no; then
4846 result=yes
4847 else
4848 result=no
4849 fi
4850 else
4851 result=$wxUSE_STD_STRING
4852 fi
4853
4854 { echo "$as_me:$LINENO: result: $result" >&5
4855 echo "${ECHO_T}$result" >&6; }
4856
4857
4858 enablestring=disable
4859 defaultval=
4860 if test -z "$defaultval"; then
4861 if test x"$enablestring" = xdisable; then
4862 defaultval=yes
4863 else
4864 defaultval=no
4865 fi
4866 fi
4867
4868 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4869 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4870 # Check whether --enable-unicode was given.
4871 if test "${enable_unicode+set}" = set; then
4872 enableval=$enable_unicode;
4873 if test "$enableval" = yes; then
4874 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4875 else
4876 wx_cv_use_unicode='wxUSE_UNICODE=no'
4877 fi
4878
4879 else
4880
4881 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4882
4883 fi
4884
4885
4886 eval "$wx_cv_use_unicode"
4887
4888 if test x"$enablestring" = xdisable; then
4889 if test $wxUSE_UNICODE = no; then
4890 result=yes
4891 else
4892 result=no
4893 fi
4894 else
4895 result=$wxUSE_UNICODE
4896 fi
4897
4898 { echo "$as_me:$LINENO: result: $result" >&5
4899 echo "${ECHO_T}$result" >&6; }
4900
4901
4902 enablestring=
4903 defaultval=
4904 if test -z "$defaultval"; then
4905 if test x"$enablestring" = xdisable; then
4906 defaultval=yes
4907 else
4908 defaultval=no
4909 fi
4910 fi
4911
4912 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4913 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4914 # Check whether --enable-mslu was given.
4915 if test "${enable_mslu+set}" = set; then
4916 enableval=$enable_mslu;
4917 if test "$enableval" = yes; then
4918 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4919 else
4920 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4921 fi
4922
4923 else
4924
4925 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4926
4927 fi
4928
4929
4930 eval "$wx_cv_use_mslu"
4931
4932 if test x"$enablestring" = xdisable; then
4933 if test $wxUSE_UNICODE_MSLU = no; then
4934 result=yes
4935 else
4936 result=no
4937 fi
4938 else
4939 result=$wxUSE_UNICODE_MSLU
4940 fi
4941
4942 { echo "$as_me:$LINENO: result: $result" >&5
4943 echo "${ECHO_T}$result" >&6; }
4944
4945
4946 enablestring=
4947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4948 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4949 # Check whether --enable-utf8 was given.
4950 if test "${enable_utf8+set}" = set; then
4951 enableval=$enable_utf8;
4952 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4953
4954 else
4955
4956 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4957
4958 fi
4959
4960
4961 eval "$wx_cv_use_utf8"
4962
4963 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4964 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4965
4966
4967 enablestring=
4968 defaultval=
4969 if test -z "$defaultval"; then
4970 if test x"$enablestring" = xdisable; then
4971 defaultval=yes
4972 else
4973 defaultval=no
4974 fi
4975 fi
4976
4977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4978 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4979 # Check whether --enable-utf8only was given.
4980 if test "${enable_utf8only+set}" = set; then
4981 enableval=$enable_utf8only;
4982 if test "$enableval" = yes; then
4983 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4984 else
4985 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4986 fi
4987
4988 else
4989
4990 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4991
4992 fi
4993
4994
4995 eval "$wx_cv_use_utf8only"
4996
4997 if test x"$enablestring" = xdisable; then
4998 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
4999 result=yes
5000 else
5001 result=no
5002 fi
5003 else
5004 result=$wxUSE_UNICODE_UTF8_LOCALE
5005 fi
5006
5007 { echo "$as_me:$LINENO: result: $result" >&5
5008 echo "${ECHO_T}$result" >&6; }
5009
5010
5011 enablestring=
5012 defaultval=
5013 if test -z "$defaultval"; then
5014 if test x"$enablestring" = xdisable; then
5015 defaultval=yes
5016 else
5017 defaultval=no
5018 fi
5019 fi
5020
5021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5022 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5023 # Check whether --enable-extended_rtti was given.
5024 if test "${enable_extended_rtti+set}" = set; then
5025 enableval=$enable_extended_rtti;
5026 if test "$enableval" = yes; then
5027 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5028 else
5029 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5030 fi
5031
5032 else
5033
5034 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5035
5036 fi
5037
5038
5039 eval "$wx_cv_use_extended_rtti"
5040
5041 if test x"$enablestring" = xdisable; then
5042 if test $wxUSE_EXTENDED_RTTI = no; then
5043 result=yes
5044 else
5045 result=no
5046 fi
5047 else
5048 result=$wxUSE_EXTENDED_RTTI
5049 fi
5050
5051 { echo "$as_me:$LINENO: result: $result" >&5
5052 echo "${ECHO_T}$result" >&6; }
5053
5054 if test "$USE_OS2" = 1; then
5055 DEFAULT_wxUSE_OMF=no
5056
5057 enablestring=
5058 defaultval=
5059 if test -z "$defaultval"; then
5060 if test x"$enablestring" = xdisable; then
5061 defaultval=yes
5062 else
5063 defaultval=no
5064 fi
5065 fi
5066
5067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5068 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5069 # Check whether --enable-omf was given.
5070 if test "${enable_omf+set}" = set; then
5071 enableval=$enable_omf;
5072 if test "$enableval" = yes; then
5073 wx_cv_use_omf='wxUSE_OMF=yes'
5074 else
5075 wx_cv_use_omf='wxUSE_OMF=no'
5076 fi
5077
5078 else
5079
5080 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5081
5082 fi
5083
5084
5085 eval "$wx_cv_use_omf"
5086
5087 if test x"$enablestring" = xdisable; then
5088 if test $wxUSE_OMF = no; then
5089 result=yes
5090 else
5091 result=no
5092 fi
5093 else
5094 result=$wxUSE_OMF
5095 fi
5096
5097 { echo "$as_me:$LINENO: result: $result" >&5
5098 echo "${ECHO_T}$result" >&6; }
5099
5100 fi
5101
5102
5103 enablestring=disable
5104 defaultval=
5105 if test -z "$defaultval"; then
5106 if test x"$enablestring" = xdisable; then
5107 defaultval=yes
5108 else
5109 defaultval=no
5110 fi
5111 fi
5112
5113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5114 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5115 # Check whether --enable-optimise was given.
5116 if test "${enable_optimise+set}" = set; then
5117 enableval=$enable_optimise;
5118 if test "$enableval" = yes; then
5119 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5120 else
5121 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5122 fi
5123
5124 else
5125
5126 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5127
5128 fi
5129
5130
5131 eval "$wx_cv_use_optimise"
5132
5133 if test x"$enablestring" = xdisable; then
5134 if test $wxUSE_OPTIMISE = no; then
5135 result=yes
5136 else
5137 result=no
5138 fi
5139 else
5140 result=$wxUSE_OPTIMISE
5141 fi
5142
5143 { echo "$as_me:$LINENO: result: $result" >&5
5144 echo "${ECHO_T}$result" >&6; }
5145
5146
5147
5148 enablestring=
5149 defaultval=
5150 if test -z "$defaultval"; then
5151 if test x"$enablestring" = xdisable; then
5152 defaultval=yes
5153 else
5154 defaultval=no
5155 fi
5156 fi
5157
5158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5159 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5160 # Check whether --enable-profile was given.
5161 if test "${enable_profile+set}" = set; then
5162 enableval=$enable_profile;
5163 if test "$enableval" = yes; then
5164 wx_cv_use_profile='wxUSE_PROFILE=yes'
5165 else
5166 wx_cv_use_profile='wxUSE_PROFILE=no'
5167 fi
5168
5169 else
5170
5171 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5172
5173 fi
5174
5175
5176 eval "$wx_cv_use_profile"
5177
5178 if test x"$enablestring" = xdisable; then
5179 if test $wxUSE_PROFILE = no; then
5180 result=yes
5181 else
5182 result=no
5183 fi
5184 else
5185 result=$wxUSE_PROFILE
5186 fi
5187
5188 { echo "$as_me:$LINENO: result: $result" >&5
5189 echo "${ECHO_T}$result" >&6; }
5190
5191
5192 enablestring=
5193 defaultval=
5194 if test -z "$defaultval"; then
5195 if test x"$enablestring" = xdisable; then
5196 defaultval=yes
5197 else
5198 defaultval=no
5199 fi
5200 fi
5201
5202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5203 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5204 # Check whether --enable-no_rtti was given.
5205 if test "${enable_no_rtti+set}" = set; then
5206 enableval=$enable_no_rtti;
5207 if test "$enableval" = yes; then
5208 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5209 else
5210 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5211 fi
5212
5213 else
5214
5215 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5216
5217 fi
5218
5219
5220 eval "$wx_cv_use_no_rtti"
5221
5222 if test x"$enablestring" = xdisable; then
5223 if test $wxUSE_NO_RTTI = no; then
5224 result=yes
5225 else
5226 result=no
5227 fi
5228 else
5229 result=$wxUSE_NO_RTTI
5230 fi
5231
5232 { echo "$as_me:$LINENO: result: $result" >&5
5233 echo "${ECHO_T}$result" >&6; }
5234
5235
5236 enablestring=
5237 defaultval=
5238 if test -z "$defaultval"; then
5239 if test x"$enablestring" = xdisable; then
5240 defaultval=yes
5241 else
5242 defaultval=no
5243 fi
5244 fi
5245
5246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5247 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5248 # Check whether --enable-no_exceptions was given.
5249 if test "${enable_no_exceptions+set}" = set; then
5250 enableval=$enable_no_exceptions;
5251 if test "$enableval" = yes; then
5252 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5253 else
5254 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5255 fi
5256
5257 else
5258
5259 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5260
5261 fi
5262
5263
5264 eval "$wx_cv_use_no_exceptions"
5265
5266 if test x"$enablestring" = xdisable; then
5267 if test $wxUSE_NO_EXCEPTIONS = no; then
5268 result=yes
5269 else
5270 result=no
5271 fi
5272 else
5273 result=$wxUSE_NO_EXCEPTIONS
5274 fi
5275
5276 { echo "$as_me:$LINENO: result: $result" >&5
5277 echo "${ECHO_T}$result" >&6; }
5278
5279
5280 enablestring=
5281 defaultval=
5282 if test -z "$defaultval"; then
5283 if test x"$enablestring" = xdisable; then
5284 defaultval=yes
5285 else
5286 defaultval=no
5287 fi
5288 fi
5289
5290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5291 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5292 # Check whether --enable-permissive was given.
5293 if test "${enable_permissive+set}" = set; then
5294 enableval=$enable_permissive;
5295 if test "$enableval" = yes; then
5296 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5297 else
5298 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5299 fi
5300
5301 else
5302
5303 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5304
5305 fi
5306
5307
5308 eval "$wx_cv_use_permissive"
5309
5310 if test x"$enablestring" = xdisable; then
5311 if test $wxUSE_PERMISSIVE = no; then
5312 result=yes
5313 else
5314 result=no
5315 fi
5316 else
5317 result=$wxUSE_PERMISSIVE
5318 fi
5319
5320 { echo "$as_me:$LINENO: result: $result" >&5
5321 echo "${ECHO_T}$result" >&6; }
5322
5323
5324 enablestring=
5325 defaultval=
5326 if test -z "$defaultval"; then
5327 if test x"$enablestring" = xdisable; then
5328 defaultval=yes
5329 else
5330 defaultval=no
5331 fi
5332 fi
5333
5334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5335 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5336 # Check whether --enable-no_deps was given.
5337 if test "${enable_no_deps+set}" = set; then
5338 enableval=$enable_no_deps;
5339 if test "$enableval" = yes; then
5340 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5341 else
5342 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5343 fi
5344
5345 else
5346
5347 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5348
5349 fi
5350
5351
5352 eval "$wx_cv_use_no_deps"
5353
5354 if test x"$enablestring" = xdisable; then
5355 if test $wxUSE_NO_DEPS = no; then
5356 result=yes
5357 else
5358 result=no
5359 fi
5360 else
5361 result=$wxUSE_NO_DEPS
5362 fi
5363
5364 { echo "$as_me:$LINENO: result: $result" >&5
5365 echo "${ECHO_T}$result" >&6; }
5366
5367
5368 enablestring=disable
5369 defaultval=
5370 if test -z "$defaultval"; then
5371 if test x"$enablestring" = xdisable; then
5372 defaultval=yes
5373 else
5374 defaultval=no
5375 fi
5376 fi
5377
5378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5379 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5380 # Check whether --enable-vararg_macros was given.
5381 if test "${enable_vararg_macros+set}" = set; then
5382 enableval=$enable_vararg_macros;
5383 if test "$enableval" = yes; then
5384 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5385 else
5386 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5387 fi
5388
5389 else
5390
5391 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5392
5393 fi
5394
5395
5396 eval "$wx_cv_use_vararg_macros"
5397
5398 if test x"$enablestring" = xdisable; then
5399 if test $wxUSE_VARARG_MACROS = no; then
5400 result=yes
5401 else
5402 result=no
5403 fi
5404 else
5405 result=$wxUSE_VARARG_MACROS
5406 fi
5407
5408 { echo "$as_me:$LINENO: result: $result" >&5
5409 echo "${ECHO_T}$result" >&6; }
5410
5411
5412 enablestring=
5413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5414 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5415 # Check whether --enable-universal_binary was given.
5416 if test "${enable_universal_binary+set}" = set; then
5417 enableval=$enable_universal_binary;
5418 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5419
5420 else
5421
5422 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5423
5424 fi
5425
5426
5427 eval "$wx_cv_use_universal_binary"
5428
5429 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5430 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5431
5432
5433
5434 enablestring=
5435 defaultval=
5436 if test -z "$defaultval"; then
5437 if test x"$enablestring" = xdisable; then
5438 defaultval=yes
5439 else
5440 defaultval=no
5441 fi
5442 fi
5443
5444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5445 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5446 # Check whether --enable-compat26 was given.
5447 if test "${enable_compat26+set}" = set; then
5448 enableval=$enable_compat26;
5449 if test "$enableval" = yes; then
5450 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5451 else
5452 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5453 fi
5454
5455 else
5456
5457 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5458
5459 fi
5460
5461
5462 eval "$wx_cv_use_compat26"
5463
5464 if test x"$enablestring" = xdisable; then
5465 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5466 result=yes
5467 else
5468 result=no
5469 fi
5470 else
5471 result=$WXWIN_COMPATIBILITY_2_6
5472 fi
5473
5474 { echo "$as_me:$LINENO: result: $result" >&5
5475 echo "${ECHO_T}$result" >&6; }
5476
5477
5478 enablestring=disable
5479 defaultval=
5480 if test -z "$defaultval"; then
5481 if test x"$enablestring" = xdisable; then
5482 defaultval=yes
5483 else
5484 defaultval=no
5485 fi
5486 fi
5487
5488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5489 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5490 # Check whether --enable-compat28 was given.
5491 if test "${enable_compat28+set}" = set; then
5492 enableval=$enable_compat28;
5493 if test "$enableval" = yes; then
5494 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5495 else
5496 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5497 fi
5498
5499 else
5500
5501 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5502
5503 fi
5504
5505
5506 eval "$wx_cv_use_compat28"
5507
5508 if test x"$enablestring" = xdisable; then
5509 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5510 result=yes
5511 else
5512 result=no
5513 fi
5514 else
5515 result=$WXWIN_COMPATIBILITY_2_8
5516 fi
5517
5518 { echo "$as_me:$LINENO: result: $result" >&5
5519 echo "${ECHO_T}$result" >&6; }
5520
5521
5522
5523 enablestring=disable
5524 defaultval=
5525 if test -z "$defaultval"; then
5526 if test x"$enablestring" = xdisable; then
5527 defaultval=yes
5528 else
5529 defaultval=no
5530 fi
5531 fi
5532
5533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5534 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5535 # Check whether --enable-rpath was given.
5536 if test "${enable_rpath+set}" = set; then
5537 enableval=$enable_rpath;
5538 if test "$enableval" = yes; then
5539 wx_cv_use_rpath='wxUSE_RPATH=yes'
5540 else
5541 wx_cv_use_rpath='wxUSE_RPATH=no'
5542 fi
5543
5544 else
5545
5546 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5547
5548 fi
5549
5550
5551 eval "$wx_cv_use_rpath"
5552
5553 if test x"$enablestring" = xdisable; then
5554 if test $wxUSE_RPATH = no; then
5555 result=yes
5556 else
5557 result=no
5558 fi
5559 else
5560 result=$wxUSE_RPATH
5561 fi
5562
5563 { echo "$as_me:$LINENO: result: $result" >&5
5564 echo "${ECHO_T}$result" >&6; }
5565
5566
5567
5568 enablestring=
5569 defaultval=
5570 if test -z "$defaultval"; then
5571 if test x"$enablestring" = xdisable; then
5572 defaultval=yes
5573 else
5574 defaultval=no
5575 fi
5576 fi
5577
5578 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5579 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5580 # Check whether --enable-objc_uniquifying was given.
5581 if test "${enable_objc_uniquifying+set}" = set; then
5582 enableval=$enable_objc_uniquifying;
5583 if test "$enableval" = yes; then
5584 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5585 else
5586 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5587 fi
5588
5589 else
5590
5591 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5592
5593 fi
5594
5595
5596 eval "$wx_cv_use_objc_uniquifying"
5597
5598 if test x"$enablestring" = xdisable; then
5599 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5600 result=yes
5601 else
5602 result=no
5603 fi
5604 else
5605 result=$wxUSE_OBJC_UNIQUIFYING
5606 fi
5607
5608 { echo "$as_me:$LINENO: result: $result" >&5
5609 echo "${ECHO_T}$result" >&6; }
5610
5611
5612
5613 enablestring=disable
5614 defaultval=
5615 if test -z "$defaultval"; then
5616 if test x"$enablestring" = xdisable; then
5617 defaultval=yes
5618 else
5619 defaultval=no
5620 fi
5621 fi
5622
5623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5624 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5625 # Check whether --enable-visibility was given.
5626 if test "${enable_visibility+set}" = set; then
5627 enableval=$enable_visibility;
5628 if test "$enableval" = yes; then
5629 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5630 else
5631 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5632 fi
5633
5634 else
5635
5636 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5637
5638 fi
5639
5640
5641 eval "$wx_cv_use_visibility"
5642
5643 if test x"$enablestring" = xdisable; then
5644 if test $wxUSE_VISIBILITY = no; then
5645 result=yes
5646 else
5647 result=no
5648 fi
5649 else
5650 result=$wxUSE_VISIBILITY
5651 fi
5652
5653 { echo "$as_me:$LINENO: result: $result" >&5
5654 echo "${ECHO_T}$result" >&6; }
5655
5656
5657 enablestring=disable
5658 defaultval=
5659 if test -z "$defaultval"; then
5660 if test x"$enablestring" = xdisable; then
5661 defaultval=yes
5662 else
5663 defaultval=no
5664 fi
5665 fi
5666
5667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5668 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5669 # Check whether --enable-tls was given.
5670 if test "${enable_tls+set}" = set; then
5671 enableval=$enable_tls;
5672 if test "$enableval" = yes; then
5673 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5674 else
5675 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5676 fi
5677
5678 else
5679
5680 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5681
5682 fi
5683
5684
5685 eval "$wx_cv_use_tls"
5686
5687 if test x"$enablestring" = xdisable; then
5688 if test $wxUSE_COMPILER_TLS = no; then
5689 result=yes
5690 else
5691 result=no
5692 fi
5693 else
5694 result=$wxUSE_COMPILER_TLS
5695 fi
5696
5697 { echo "$as_me:$LINENO: result: $result" >&5
5698 echo "${ECHO_T}$result" >&6; }
5699
5700
5701
5702
5703 enablestring=
5704 defaultval=$wxUSE_ALL_FEATURES
5705 if test -z "$defaultval"; then
5706 if test x"$enablestring" = xdisable; then
5707 defaultval=yes
5708 else
5709 defaultval=no
5710 fi
5711 fi
5712
5713 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5714 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5715 # Check whether --enable-intl was given.
5716 if test "${enable_intl+set}" = set; then
5717 enableval=$enable_intl;
5718 if test "$enableval" = yes; then
5719 wx_cv_use_intl='wxUSE_INTL=yes'
5720 else
5721 wx_cv_use_intl='wxUSE_INTL=no'
5722 fi
5723
5724 else
5725
5726 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5727
5728 fi
5729
5730
5731 eval "$wx_cv_use_intl"
5732
5733 if test x"$enablestring" = xdisable; then
5734 if test $wxUSE_INTL = no; then
5735 result=yes
5736 else
5737 result=no
5738 fi
5739 else
5740 result=$wxUSE_INTL
5741 fi
5742
5743 { echo "$as_me:$LINENO: result: $result" >&5
5744 echo "${ECHO_T}$result" >&6; }
5745
5746
5747 enablestring=
5748 defaultval=$wxUSE_ALL_FEATURES
5749 if test -z "$defaultval"; then
5750 if test x"$enablestring" = xdisable; then
5751 defaultval=yes
5752 else
5753 defaultval=no
5754 fi
5755 fi
5756
5757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5758 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5759 # Check whether --enable-xlocale was given.
5760 if test "${enable_xlocale+set}" = set; then
5761 enableval=$enable_xlocale;
5762 if test "$enableval" = yes; then
5763 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5764 else
5765 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5766 fi
5767
5768 else
5769
5770 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5771
5772 fi
5773
5774
5775 eval "$wx_cv_use_xlocale"
5776
5777 if test x"$enablestring" = xdisable; then
5778 if test $wxUSE_XLOCALE = no; then
5779 result=yes
5780 else
5781 result=no
5782 fi
5783 else
5784 result=$wxUSE_XLOCALE
5785 fi
5786
5787 { echo "$as_me:$LINENO: result: $result" >&5
5788 echo "${ECHO_T}$result" >&6; }
5789
5790
5791 enablestring=
5792 defaultval=$wxUSE_ALL_FEATURES
5793 if test -z "$defaultval"; then
5794 if test x"$enablestring" = xdisable; then
5795 defaultval=yes
5796 else
5797 defaultval=no
5798 fi
5799 fi
5800
5801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5802 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5803 # Check whether --enable-config was given.
5804 if test "${enable_config+set}" = set; then
5805 enableval=$enable_config;
5806 if test "$enableval" = yes; then
5807 wx_cv_use_config='wxUSE_CONFIG=yes'
5808 else
5809 wx_cv_use_config='wxUSE_CONFIG=no'
5810 fi
5811
5812 else
5813
5814 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5815
5816 fi
5817
5818
5819 eval "$wx_cv_use_config"
5820
5821 if test x"$enablestring" = xdisable; then
5822 if test $wxUSE_CONFIG = no; then
5823 result=yes
5824 else
5825 result=no
5826 fi
5827 else
5828 result=$wxUSE_CONFIG
5829 fi
5830
5831 { echo "$as_me:$LINENO: result: $result" >&5
5832 echo "${ECHO_T}$result" >&6; }
5833
5834
5835
5836 enablestring=
5837 defaultval=$wxUSE_ALL_FEATURES
5838 if test -z "$defaultval"; then
5839 if test x"$enablestring" = xdisable; then
5840 defaultval=yes
5841 else
5842 defaultval=no
5843 fi
5844 fi
5845
5846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5847 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5848 # Check whether --enable-protocols was given.
5849 if test "${enable_protocols+set}" = set; then
5850 enableval=$enable_protocols;
5851 if test "$enableval" = yes; then
5852 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5853 else
5854 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5855 fi
5856
5857 else
5858
5859 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5860
5861 fi
5862
5863
5864 eval "$wx_cv_use_protocols"
5865
5866 if test x"$enablestring" = xdisable; then
5867 if test $wxUSE_PROTOCOL = no; then
5868 result=yes
5869 else
5870 result=no
5871 fi
5872 else
5873 result=$wxUSE_PROTOCOL
5874 fi
5875
5876 { echo "$as_me:$LINENO: result: $result" >&5
5877 echo "${ECHO_T}$result" >&6; }
5878
5879
5880 enablestring=
5881 defaultval=$wxUSE_ALL_FEATURES
5882 if test -z "$defaultval"; then
5883 if test x"$enablestring" = xdisable; then
5884 defaultval=yes
5885 else
5886 defaultval=no
5887 fi
5888 fi
5889
5890 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5891 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5892 # Check whether --enable-ftp was given.
5893 if test "${enable_ftp+set}" = set; then
5894 enableval=$enable_ftp;
5895 if test "$enableval" = yes; then
5896 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5897 else
5898 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5899 fi
5900
5901 else
5902
5903 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5904
5905 fi
5906
5907
5908 eval "$wx_cv_use_ftp"
5909
5910 if test x"$enablestring" = xdisable; then
5911 if test $wxUSE_PROTOCOL_FTP = no; then
5912 result=yes
5913 else
5914 result=no
5915 fi
5916 else
5917 result=$wxUSE_PROTOCOL_FTP
5918 fi
5919
5920 { echo "$as_me:$LINENO: result: $result" >&5
5921 echo "${ECHO_T}$result" >&6; }
5922
5923
5924 enablestring=
5925 defaultval=$wxUSE_ALL_FEATURES
5926 if test -z "$defaultval"; then
5927 if test x"$enablestring" = xdisable; then
5928 defaultval=yes
5929 else
5930 defaultval=no
5931 fi
5932 fi
5933
5934 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5935 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5936 # Check whether --enable-http was given.
5937 if test "${enable_http+set}" = set; then
5938 enableval=$enable_http;
5939 if test "$enableval" = yes; then
5940 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5941 else
5942 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5943 fi
5944
5945 else
5946
5947 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5948
5949 fi
5950
5951
5952 eval "$wx_cv_use_http"
5953
5954 if test x"$enablestring" = xdisable; then
5955 if test $wxUSE_PROTOCOL_HTTP = no; then
5956 result=yes
5957 else
5958 result=no
5959 fi
5960 else
5961 result=$wxUSE_PROTOCOL_HTTP
5962 fi
5963
5964 { echo "$as_me:$LINENO: result: $result" >&5
5965 echo "${ECHO_T}$result" >&6; }
5966
5967
5968 enablestring=
5969 defaultval=$wxUSE_ALL_FEATURES
5970 if test -z "$defaultval"; then
5971 if test x"$enablestring" = xdisable; then
5972 defaultval=yes
5973 else
5974 defaultval=no
5975 fi
5976 fi
5977
5978 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5979 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5980 # Check whether --enable-fileproto was given.
5981 if test "${enable_fileproto+set}" = set; then
5982 enableval=$enable_fileproto;
5983 if test "$enableval" = yes; then
5984 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5985 else
5986 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5987 fi
5988
5989 else
5990
5991 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5992
5993 fi
5994
5995
5996 eval "$wx_cv_use_fileproto"
5997
5998 if test x"$enablestring" = xdisable; then
5999 if test $wxUSE_PROTOCOL_FILE = no; then
6000 result=yes
6001 else
6002 result=no
6003 fi
6004 else
6005 result=$wxUSE_PROTOCOL_FILE
6006 fi
6007
6008 { echo "$as_me:$LINENO: result: $result" >&5
6009 echo "${ECHO_T}$result" >&6; }
6010
6011
6012 enablestring=
6013 defaultval=$wxUSE_ALL_FEATURES
6014 if test -z "$defaultval"; then
6015 if test x"$enablestring" = xdisable; then
6016 defaultval=yes
6017 else
6018 defaultval=no
6019 fi
6020 fi
6021
6022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6023 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6024 # Check whether --enable-sockets was given.
6025 if test "${enable_sockets+set}" = set; then
6026 enableval=$enable_sockets;
6027 if test "$enableval" = yes; then
6028 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6029 else
6030 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6031 fi
6032
6033 else
6034
6035 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6036
6037 fi
6038
6039
6040 eval "$wx_cv_use_sockets"
6041
6042 if test x"$enablestring" = xdisable; then
6043 if test $wxUSE_SOCKETS = no; then
6044 result=yes
6045 else
6046 result=no
6047 fi
6048 else
6049 result=$wxUSE_SOCKETS
6050 fi
6051
6052 { echo "$as_me:$LINENO: result: $result" >&5
6053 echo "${ECHO_T}$result" >&6; }
6054
6055
6056 enablestring=
6057 defaultval=$wxUSE_ALL_FEATURES
6058 if test -z "$defaultval"; then
6059 if test x"$enablestring" = xdisable; then
6060 defaultval=yes
6061 else
6062 defaultval=no
6063 fi
6064 fi
6065
6066 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6067 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6068 # Check whether --enable-ipv6 was given.
6069 if test "${enable_ipv6+set}" = set; then
6070 enableval=$enable_ipv6;
6071 if test "$enableval" = yes; then
6072 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6073 else
6074 wx_cv_use_ipv6='wxUSE_IPV6=no'
6075 fi
6076
6077 else
6078
6079 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6080
6081 fi
6082
6083
6084 eval "$wx_cv_use_ipv6"
6085
6086 if test x"$enablestring" = xdisable; then
6087 if test $wxUSE_IPV6 = no; then
6088 result=yes
6089 else
6090 result=no
6091 fi
6092 else
6093 result=$wxUSE_IPV6
6094 fi
6095
6096 { echo "$as_me:$LINENO: result: $result" >&5
6097 echo "${ECHO_T}$result" >&6; }
6098
6099
6100 enablestring=
6101 defaultval=$wxUSE_ALL_FEATURES
6102 if test -z "$defaultval"; then
6103 if test x"$enablestring" = xdisable; then
6104 defaultval=yes
6105 else
6106 defaultval=no
6107 fi
6108 fi
6109
6110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6111 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6112 # Check whether --enable-ole was given.
6113 if test "${enable_ole+set}" = set; then
6114 enableval=$enable_ole;
6115 if test "$enableval" = yes; then
6116 wx_cv_use_ole='wxUSE_OLE=yes'
6117 else
6118 wx_cv_use_ole='wxUSE_OLE=no'
6119 fi
6120
6121 else
6122
6123 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6124
6125 fi
6126
6127
6128 eval "$wx_cv_use_ole"
6129
6130 if test x"$enablestring" = xdisable; then
6131 if test $wxUSE_OLE = no; then
6132 result=yes
6133 else
6134 result=no
6135 fi
6136 else
6137 result=$wxUSE_OLE
6138 fi
6139
6140 { echo "$as_me:$LINENO: result: $result" >&5
6141 echo "${ECHO_T}$result" >&6; }
6142
6143
6144 enablestring=
6145 defaultval=$wxUSE_ALL_FEATURES
6146 if test -z "$defaultval"; then
6147 if test x"$enablestring" = xdisable; then
6148 defaultval=yes
6149 else
6150 defaultval=no
6151 fi
6152 fi
6153
6154 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6155 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6156 # Check whether --enable-dataobj was given.
6157 if test "${enable_dataobj+set}" = set; then
6158 enableval=$enable_dataobj;
6159 if test "$enableval" = yes; then
6160 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6161 else
6162 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6163 fi
6164
6165 else
6166
6167 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6168
6169 fi
6170
6171
6172 eval "$wx_cv_use_dataobj"
6173
6174 if test x"$enablestring" = xdisable; then
6175 if test $wxUSE_DATAOBJ = no; then
6176 result=yes
6177 else
6178 result=no
6179 fi
6180 else
6181 result=$wxUSE_DATAOBJ
6182 fi
6183
6184 { echo "$as_me:$LINENO: result: $result" >&5
6185 echo "${ECHO_T}$result" >&6; }
6186
6187
6188
6189 enablestring=
6190 defaultval=$wxUSE_ALL_FEATURES
6191 if test -z "$defaultval"; then
6192 if test x"$enablestring" = xdisable; then
6193 defaultval=yes
6194 else
6195 defaultval=no
6196 fi
6197 fi
6198
6199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6200 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6201 # Check whether --enable-ipc was given.
6202 if test "${enable_ipc+set}" = set; then
6203 enableval=$enable_ipc;
6204 if test "$enableval" = yes; then
6205 wx_cv_use_ipc='wxUSE_IPC=yes'
6206 else
6207 wx_cv_use_ipc='wxUSE_IPC=no'
6208 fi
6209
6210 else
6211
6212 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6213
6214 fi
6215
6216
6217 eval "$wx_cv_use_ipc"
6218
6219 if test x"$enablestring" = xdisable; then
6220 if test $wxUSE_IPC = no; then
6221 result=yes
6222 else
6223 result=no
6224 fi
6225 else
6226 result=$wxUSE_IPC
6227 fi
6228
6229 { echo "$as_me:$LINENO: result: $result" >&5
6230 echo "${ECHO_T}$result" >&6; }
6231
6232
6233
6234 enablestring=
6235 defaultval=$wxUSE_ALL_FEATURES
6236 if test -z "$defaultval"; then
6237 if test x"$enablestring" = xdisable; then
6238 defaultval=yes
6239 else
6240 defaultval=no
6241 fi
6242 fi
6243
6244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6245 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6246 # Check whether --enable-baseevtloop was given.
6247 if test "${enable_baseevtloop+set}" = set; then
6248 enableval=$enable_baseevtloop;
6249 if test "$enableval" = yes; then
6250 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6251 else
6252 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6253 fi
6254
6255 else
6256
6257 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6258
6259 fi
6260
6261
6262 eval "$wx_cv_use_baseevtloop"
6263
6264 if test x"$enablestring" = xdisable; then
6265 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6266 result=yes
6267 else
6268 result=no
6269 fi
6270 else
6271 result=$wxUSE_CONSOLE_EVENTLOOP
6272 fi
6273
6274 { echo "$as_me:$LINENO: result: $result" >&5
6275 echo "${ECHO_T}$result" >&6; }
6276
6277
6278 enablestring=
6279 defaultval=$wxUSE_ALL_FEATURES
6280 if test -z "$defaultval"; then
6281 if test x"$enablestring" = xdisable; then
6282 defaultval=yes
6283 else
6284 defaultval=no
6285 fi
6286 fi
6287
6288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6289 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6290 # Check whether --enable-epollloop was given.
6291 if test "${enable_epollloop+set}" = set; then
6292 enableval=$enable_epollloop;
6293 if test "$enableval" = yes; then
6294 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6295 else
6296 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6297 fi
6298
6299 else
6300
6301 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6302
6303 fi
6304
6305
6306 eval "$wx_cv_use_epollloop"
6307
6308 if test x"$enablestring" = xdisable; then
6309 if test $wxUSE_EPOLL_DISPATCHER = no; then
6310 result=yes
6311 else
6312 result=no
6313 fi
6314 else
6315 result=$wxUSE_EPOLL_DISPATCHER
6316 fi
6317
6318 { echo "$as_me:$LINENO: result: $result" >&5
6319 echo "${ECHO_T}$result" >&6; }
6320
6321
6322 enablestring=
6323 defaultval=$wxUSE_ALL_FEATURES
6324 if test -z "$defaultval"; then
6325 if test x"$enablestring" = xdisable; then
6326 defaultval=yes
6327 else
6328 defaultval=no
6329 fi
6330 fi
6331
6332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6333 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6334 # Check whether --enable-selectloop was given.
6335 if test "${enable_selectloop+set}" = set; then
6336 enableval=$enable_selectloop;
6337 if test "$enableval" = yes; then
6338 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6339 else
6340 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6341 fi
6342
6343 else
6344
6345 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6346
6347 fi
6348
6349
6350 eval "$wx_cv_use_selectloop"
6351
6352 if test x"$enablestring" = xdisable; then
6353 if test $wxUSE_SELECT_DISPATCHER = no; then
6354 result=yes
6355 else
6356 result=no
6357 fi
6358 else
6359 result=$wxUSE_SELECT_DISPATCHER
6360 fi
6361
6362 { echo "$as_me:$LINENO: result: $result" >&5
6363 echo "${ECHO_T}$result" >&6; }
6364
6365
6366
6367 enablestring=
6368 defaultval=$wxUSE_ALL_FEATURES
6369 if test -z "$defaultval"; then
6370 if test x"$enablestring" = xdisable; then
6371 defaultval=yes
6372 else
6373 defaultval=no
6374 fi
6375 fi
6376
6377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6378 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6379 # Check whether --enable-any was given.
6380 if test "${enable_any+set}" = set; then
6381 enableval=$enable_any;
6382 if test "$enableval" = yes; then
6383 wx_cv_use_any='wxUSE_ANY=yes'
6384 else
6385 wx_cv_use_any='wxUSE_ANY=no'
6386 fi
6387
6388 else
6389
6390 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6391
6392 fi
6393
6394
6395 eval "$wx_cv_use_any"
6396
6397 if test x"$enablestring" = xdisable; then
6398 if test $wxUSE_ANY = no; then
6399 result=yes
6400 else
6401 result=no
6402 fi
6403 else
6404 result=$wxUSE_ANY
6405 fi
6406
6407 { echo "$as_me:$LINENO: result: $result" >&5
6408 echo "${ECHO_T}$result" >&6; }
6409
6410
6411 enablestring=
6412 defaultval=$wxUSE_ALL_FEATURES
6413 if test -z "$defaultval"; then
6414 if test x"$enablestring" = xdisable; then
6415 defaultval=yes
6416 else
6417 defaultval=no
6418 fi
6419 fi
6420
6421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6422 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6423 # Check whether --enable-apple_ieee was given.
6424 if test "${enable_apple_ieee+set}" = set; then
6425 enableval=$enable_apple_ieee;
6426 if test "$enableval" = yes; then
6427 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6428 else
6429 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6430 fi
6431
6432 else
6433
6434 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6435
6436 fi
6437
6438
6439 eval "$wx_cv_use_apple_ieee"
6440
6441 if test x"$enablestring" = xdisable; then
6442 if test $wxUSE_APPLE_IEEE = no; then
6443 result=yes
6444 else
6445 result=no
6446 fi
6447 else
6448 result=$wxUSE_APPLE_IEEE
6449 fi
6450
6451 { echo "$as_me:$LINENO: result: $result" >&5
6452 echo "${ECHO_T}$result" >&6; }
6453
6454
6455 enablestring=
6456 defaultval=$wxUSE_ALL_FEATURES
6457 if test -z "$defaultval"; then
6458 if test x"$enablestring" = xdisable; then
6459 defaultval=yes
6460 else
6461 defaultval=no
6462 fi
6463 fi
6464
6465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6466 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6467 # Check whether --enable-arcstream was given.
6468 if test "${enable_arcstream+set}" = set; then
6469 enableval=$enable_arcstream;
6470 if test "$enableval" = yes; then
6471 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6472 else
6473 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6474 fi
6475
6476 else
6477
6478 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6479
6480 fi
6481
6482
6483 eval "$wx_cv_use_arcstream"
6484
6485 if test x"$enablestring" = xdisable; then
6486 if test $wxUSE_ARCHIVE_STREAMS = no; then
6487 result=yes
6488 else
6489 result=no
6490 fi
6491 else
6492 result=$wxUSE_ARCHIVE_STREAMS
6493 fi
6494
6495 { echo "$as_me:$LINENO: result: $result" >&5
6496 echo "${ECHO_T}$result" >&6; }
6497
6498
6499 enablestring=
6500 defaultval=$wxUSE_ALL_FEATURES
6501 if test -z "$defaultval"; then
6502 if test x"$enablestring" = xdisable; then
6503 defaultval=yes
6504 else
6505 defaultval=no
6506 fi
6507 fi
6508
6509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6510 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6511 # Check whether --enable-base64 was given.
6512 if test "${enable_base64+set}" = set; then
6513 enableval=$enable_base64;
6514 if test "$enableval" = yes; then
6515 wx_cv_use_base64='wxUSE_BASE64=yes'
6516 else
6517 wx_cv_use_base64='wxUSE_BASE64=no'
6518 fi
6519
6520 else
6521
6522 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6523
6524 fi
6525
6526
6527 eval "$wx_cv_use_base64"
6528
6529 if test x"$enablestring" = xdisable; then
6530 if test $wxUSE_BASE64 = no; then
6531 result=yes
6532 else
6533 result=no
6534 fi
6535 else
6536 result=$wxUSE_BASE64
6537 fi
6538
6539 { echo "$as_me:$LINENO: result: $result" >&5
6540 echo "${ECHO_T}$result" >&6; }
6541
6542
6543 enablestring=
6544 defaultval=$wxUSE_ALL_FEATURES
6545 if test -z "$defaultval"; then
6546 if test x"$enablestring" = xdisable; then
6547 defaultval=yes
6548 else
6549 defaultval=no
6550 fi
6551 fi
6552
6553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6554 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6555 # Check whether --enable-backtrace was given.
6556 if test "${enable_backtrace+set}" = set; then
6557 enableval=$enable_backtrace;
6558 if test "$enableval" = yes; then
6559 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6560 else
6561 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6562 fi
6563
6564 else
6565
6566 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6567
6568 fi
6569
6570
6571 eval "$wx_cv_use_backtrace"
6572
6573 if test x"$enablestring" = xdisable; then
6574 if test $wxUSE_STACKWALKER = no; then
6575 result=yes
6576 else
6577 result=no
6578 fi
6579 else
6580 result=$wxUSE_STACKWALKER
6581 fi
6582
6583 { echo "$as_me:$LINENO: result: $result" >&5
6584 echo "${ECHO_T}$result" >&6; }
6585
6586
6587 enablestring=
6588 defaultval=$wxUSE_ALL_FEATURES
6589 if test -z "$defaultval"; then
6590 if test x"$enablestring" = xdisable; then
6591 defaultval=yes
6592 else
6593 defaultval=no
6594 fi
6595 fi
6596
6597 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6598 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6599 # Check whether --enable-catch_segvs was given.
6600 if test "${enable_catch_segvs+set}" = set; then
6601 enableval=$enable_catch_segvs;
6602 if test "$enableval" = yes; then
6603 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6604 else
6605 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6606 fi
6607
6608 else
6609
6610 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6611
6612 fi
6613
6614
6615 eval "$wx_cv_use_catch_segvs"
6616
6617 if test x"$enablestring" = xdisable; then
6618 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6619 result=yes
6620 else
6621 result=no
6622 fi
6623 else
6624 result=$wxUSE_ON_FATAL_EXCEPTION
6625 fi
6626
6627 { echo "$as_me:$LINENO: result: $result" >&5
6628 echo "${ECHO_T}$result" >&6; }
6629
6630
6631 enablestring=
6632 defaultval=$wxUSE_ALL_FEATURES
6633 if test -z "$defaultval"; then
6634 if test x"$enablestring" = xdisable; then
6635 defaultval=yes
6636 else
6637 defaultval=no
6638 fi
6639 fi
6640
6641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6642 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6643 # Check whether --enable-cmdline was given.
6644 if test "${enable_cmdline+set}" = set; then
6645 enableval=$enable_cmdline;
6646 if test "$enableval" = yes; then
6647 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6648 else
6649 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6650 fi
6651
6652 else
6653
6654 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6655
6656 fi
6657
6658
6659 eval "$wx_cv_use_cmdline"
6660
6661 if test x"$enablestring" = xdisable; then
6662 if test $wxUSE_CMDLINE_PARSER = no; then
6663 result=yes
6664 else
6665 result=no
6666 fi
6667 else
6668 result=$wxUSE_CMDLINE_PARSER
6669 fi
6670
6671 { echo "$as_me:$LINENO: result: $result" >&5
6672 echo "${ECHO_T}$result" >&6; }
6673
6674
6675 enablestring=
6676 defaultval=$wxUSE_ALL_FEATURES
6677 if test -z "$defaultval"; then
6678 if test x"$enablestring" = xdisable; then
6679 defaultval=yes
6680 else
6681 defaultval=no
6682 fi
6683 fi
6684
6685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6686 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6687 # Check whether --enable-datetime was given.
6688 if test "${enable_datetime+set}" = set; then
6689 enableval=$enable_datetime;
6690 if test "$enableval" = yes; then
6691 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6692 else
6693 wx_cv_use_datetime='wxUSE_DATETIME=no'
6694 fi
6695
6696 else
6697
6698 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6699
6700 fi
6701
6702
6703 eval "$wx_cv_use_datetime"
6704
6705 if test x"$enablestring" = xdisable; then
6706 if test $wxUSE_DATETIME = no; then
6707 result=yes
6708 else
6709 result=no
6710 fi
6711 else
6712 result=$wxUSE_DATETIME
6713 fi
6714
6715 { echo "$as_me:$LINENO: result: $result" >&5
6716 echo "${ECHO_T}$result" >&6; }
6717
6718
6719 enablestring=
6720 defaultval=$wxUSE_ALL_FEATURES
6721 if test -z "$defaultval"; then
6722 if test x"$enablestring" = xdisable; then
6723 defaultval=yes
6724 else
6725 defaultval=no
6726 fi
6727 fi
6728
6729 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6730 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6731 # Check whether --enable-debugreport was given.
6732 if test "${enable_debugreport+set}" = set; then
6733 enableval=$enable_debugreport;
6734 if test "$enableval" = yes; then
6735 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6736 else
6737 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6738 fi
6739
6740 else
6741
6742 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6743
6744 fi
6745
6746
6747 eval "$wx_cv_use_debugreport"
6748
6749 if test x"$enablestring" = xdisable; then
6750 if test $wxUSE_DEBUGREPORT = no; then
6751 result=yes
6752 else
6753 result=no
6754 fi
6755 else
6756 result=$wxUSE_DEBUGREPORT
6757 fi
6758
6759 { echo "$as_me:$LINENO: result: $result" >&5
6760 echo "${ECHO_T}$result" >&6; }
6761
6762
6763 enablestring=
6764 defaultval=$wxUSE_ALL_FEATURES
6765 if test -z "$defaultval"; then
6766 if test x"$enablestring" = xdisable; then
6767 defaultval=yes
6768 else
6769 defaultval=no
6770 fi
6771 fi
6772
6773 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6774 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6775 # Check whether --enable-dialupman was given.
6776 if test "${enable_dialupman+set}" = set; then
6777 enableval=$enable_dialupman;
6778 if test "$enableval" = yes; then
6779 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6780 else
6781 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6782 fi
6783
6784 else
6785
6786 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6787
6788 fi
6789
6790
6791 eval "$wx_cv_use_dialupman"
6792
6793 if test x"$enablestring" = xdisable; then
6794 if test $wxUSE_DIALUP_MANAGER = no; then
6795 result=yes
6796 else
6797 result=no
6798 fi
6799 else
6800 result=$wxUSE_DIALUP_MANAGER
6801 fi
6802
6803 { echo "$as_me:$LINENO: result: $result" >&5
6804 echo "${ECHO_T}$result" >&6; }
6805
6806
6807 enablestring=
6808 defaultval=$wxUSE_ALL_FEATURES
6809 if test -z "$defaultval"; then
6810 if test x"$enablestring" = xdisable; then
6811 defaultval=yes
6812 else
6813 defaultval=no
6814 fi
6815 fi
6816
6817 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6818 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6819 # Check whether --enable-dynlib was given.
6820 if test "${enable_dynlib+set}" = set; then
6821 enableval=$enable_dynlib;
6822 if test "$enableval" = yes; then
6823 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6824 else
6825 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6826 fi
6827
6828 else
6829
6830 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6831
6832 fi
6833
6834
6835 eval "$wx_cv_use_dynlib"
6836
6837 if test x"$enablestring" = xdisable; then
6838 if test $wxUSE_DYNLIB_CLASS = no; then
6839 result=yes
6840 else
6841 result=no
6842 fi
6843 else
6844 result=$wxUSE_DYNLIB_CLASS
6845 fi
6846
6847 { echo "$as_me:$LINENO: result: $result" >&5
6848 echo "${ECHO_T}$result" >&6; }
6849
6850
6851 enablestring=
6852 defaultval=$wxUSE_ALL_FEATURES
6853 if test -z "$defaultval"; then
6854 if test x"$enablestring" = xdisable; then
6855 defaultval=yes
6856 else
6857 defaultval=no
6858 fi
6859 fi
6860
6861 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6862 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6863 # Check whether --enable-dynamicloader was given.
6864 if test "${enable_dynamicloader+set}" = set; then
6865 enableval=$enable_dynamicloader;
6866 if test "$enableval" = yes; then
6867 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6868 else
6869 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6870 fi
6871
6872 else
6873
6874 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6875
6876 fi
6877
6878
6879 eval "$wx_cv_use_dynamicloader"
6880
6881 if test x"$enablestring" = xdisable; then
6882 if test $wxUSE_DYNAMIC_LOADER = no; then
6883 result=yes
6884 else
6885 result=no
6886 fi
6887 else
6888 result=$wxUSE_DYNAMIC_LOADER
6889 fi
6890
6891 { echo "$as_me:$LINENO: result: $result" >&5
6892 echo "${ECHO_T}$result" >&6; }
6893
6894
6895 enablestring=
6896 defaultval=$wxUSE_ALL_FEATURES
6897 if test -z "$defaultval"; then
6898 if test x"$enablestring" = xdisable; then
6899 defaultval=yes
6900 else
6901 defaultval=no
6902 fi
6903 fi
6904
6905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6906 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6907 # Check whether --enable-exceptions was given.
6908 if test "${enable_exceptions+set}" = set; then
6909 enableval=$enable_exceptions;
6910 if test "$enableval" = yes; then
6911 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6912 else
6913 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6914 fi
6915
6916 else
6917
6918 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6919
6920 fi
6921
6922
6923 eval "$wx_cv_use_exceptions"
6924
6925 if test x"$enablestring" = xdisable; then
6926 if test $wxUSE_EXCEPTIONS = no; then
6927 result=yes
6928 else
6929 result=no
6930 fi
6931 else
6932 result=$wxUSE_EXCEPTIONS
6933 fi
6934
6935 { echo "$as_me:$LINENO: result: $result" >&5
6936 echo "${ECHO_T}$result" >&6; }
6937
6938
6939 enablestring=
6940 defaultval=$wxUSE_ALL_FEATURES
6941 if test -z "$defaultval"; then
6942 if test x"$enablestring" = xdisable; then
6943 defaultval=yes
6944 else
6945 defaultval=no
6946 fi
6947 fi
6948
6949 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6950 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6951 # Check whether --enable-ffile was given.
6952 if test "${enable_ffile+set}" = set; then
6953 enableval=$enable_ffile;
6954 if test "$enableval" = yes; then
6955 wx_cv_use_ffile='wxUSE_FFILE=yes'
6956 else
6957 wx_cv_use_ffile='wxUSE_FFILE=no'
6958 fi
6959
6960 else
6961
6962 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6963
6964 fi
6965
6966
6967 eval "$wx_cv_use_ffile"
6968
6969 if test x"$enablestring" = xdisable; then
6970 if test $wxUSE_FFILE = no; then
6971 result=yes
6972 else
6973 result=no
6974 fi
6975 else
6976 result=$wxUSE_FFILE
6977 fi
6978
6979 { echo "$as_me:$LINENO: result: $result" >&5
6980 echo "${ECHO_T}$result" >&6; }
6981
6982
6983 enablestring=
6984 defaultval=$wxUSE_ALL_FEATURES
6985 if test -z "$defaultval"; then
6986 if test x"$enablestring" = xdisable; then
6987 defaultval=yes
6988 else
6989 defaultval=no
6990 fi
6991 fi
6992
6993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6994 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6995 # Check whether --enable-file was given.
6996 if test "${enable_file+set}" = set; then
6997 enableval=$enable_file;
6998 if test "$enableval" = yes; then
6999 wx_cv_use_file='wxUSE_FILE=yes'
7000 else
7001 wx_cv_use_file='wxUSE_FILE=no'
7002 fi
7003
7004 else
7005
7006 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7007
7008 fi
7009
7010
7011 eval "$wx_cv_use_file"
7012
7013 if test x"$enablestring" = xdisable; then
7014 if test $wxUSE_FILE = no; then
7015 result=yes
7016 else
7017 result=no
7018 fi
7019 else
7020 result=$wxUSE_FILE
7021 fi
7022
7023 { echo "$as_me:$LINENO: result: $result" >&5
7024 echo "${ECHO_T}$result" >&6; }
7025
7026
7027 enablestring=
7028 defaultval=$wxUSE_ALL_FEATURES
7029 if test -z "$defaultval"; then
7030 if test x"$enablestring" = xdisable; then
7031 defaultval=yes
7032 else
7033 defaultval=no
7034 fi
7035 fi
7036
7037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7038 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7039 # Check whether --enable-filehistory was given.
7040 if test "${enable_filehistory+set}" = set; then
7041 enableval=$enable_filehistory;
7042 if test "$enableval" = yes; then
7043 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
7044 else
7045 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
7046 fi
7047
7048 else
7049
7050 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7051
7052 fi
7053
7054
7055 eval "$wx_cv_use_filehistory"
7056
7057 if test x"$enablestring" = xdisable; then
7058 if test $wxUSE_FILE_HISTORY = no; then
7059 result=yes
7060 else
7061 result=no
7062 fi
7063 else
7064 result=$wxUSE_FILE_HISTORY
7065 fi
7066
7067 { echo "$as_me:$LINENO: result: $result" >&5
7068 echo "${ECHO_T}$result" >&6; }
7069
7070
7071 enablestring=
7072 defaultval=$wxUSE_ALL_FEATURES
7073 if test -z "$defaultval"; then
7074 if test x"$enablestring" = xdisable; then
7075 defaultval=yes
7076 else
7077 defaultval=no
7078 fi
7079 fi
7080
7081 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7082 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7083 # Check whether --enable-filesystem was given.
7084 if test "${enable_filesystem+set}" = set; then
7085 enableval=$enable_filesystem;
7086 if test "$enableval" = yes; then
7087 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7088 else
7089 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7090 fi
7091
7092 else
7093
7094 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7095
7096 fi
7097
7098
7099 eval "$wx_cv_use_filesystem"
7100
7101 if test x"$enablestring" = xdisable; then
7102 if test $wxUSE_FILESYSTEM = no; then
7103 result=yes
7104 else
7105 result=no
7106 fi
7107 else
7108 result=$wxUSE_FILESYSTEM
7109 fi
7110
7111 { echo "$as_me:$LINENO: result: $result" >&5
7112 echo "${ECHO_T}$result" >&6; }
7113
7114
7115 enablestring=
7116 defaultval=$wxUSE_ALL_FEATURES
7117 if test -z "$defaultval"; then
7118 if test x"$enablestring" = xdisable; then
7119 defaultval=yes
7120 else
7121 defaultval=no
7122 fi
7123 fi
7124
7125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7126 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7127 # Check whether --enable-fontenum was given.
7128 if test "${enable_fontenum+set}" = set; then
7129 enableval=$enable_fontenum;
7130 if test "$enableval" = yes; then
7131 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7132 else
7133 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7134 fi
7135
7136 else
7137
7138 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7139
7140 fi
7141
7142
7143 eval "$wx_cv_use_fontenum"
7144
7145 if test x"$enablestring" = xdisable; then
7146 if test $wxUSE_FONTENUM = no; then
7147 result=yes
7148 else
7149 result=no
7150 fi
7151 else
7152 result=$wxUSE_FONTENUM
7153 fi
7154
7155 { echo "$as_me:$LINENO: result: $result" >&5
7156 echo "${ECHO_T}$result" >&6; }
7157
7158
7159 enablestring=
7160 defaultval=$wxUSE_ALL_FEATURES
7161 if test -z "$defaultval"; then
7162 if test x"$enablestring" = xdisable; then
7163 defaultval=yes
7164 else
7165 defaultval=no
7166 fi
7167 fi
7168
7169 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7170 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7171 # Check whether --enable-fontmap was given.
7172 if test "${enable_fontmap+set}" = set; then
7173 enableval=$enable_fontmap;
7174 if test "$enableval" = yes; then
7175 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7176 else
7177 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7178 fi
7179
7180 else
7181
7182 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7183
7184 fi
7185
7186
7187 eval "$wx_cv_use_fontmap"
7188
7189 if test x"$enablestring" = xdisable; then
7190 if test $wxUSE_FONTMAP = no; then
7191 result=yes
7192 else
7193 result=no
7194 fi
7195 else
7196 result=$wxUSE_FONTMAP
7197 fi
7198
7199 { echo "$as_me:$LINENO: result: $result" >&5
7200 echo "${ECHO_T}$result" >&6; }
7201
7202
7203 enablestring=
7204 defaultval=$wxUSE_ALL_FEATURES
7205 if test -z "$defaultval"; then
7206 if test x"$enablestring" = xdisable; then
7207 defaultval=yes
7208 else
7209 defaultval=no
7210 fi
7211 fi
7212
7213 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7214 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7215 # Check whether --enable-fs_archive was given.
7216 if test "${enable_fs_archive+set}" = set; then
7217 enableval=$enable_fs_archive;
7218 if test "$enableval" = yes; then
7219 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7220 else
7221 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7222 fi
7223
7224 else
7225
7226 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7227
7228 fi
7229
7230
7231 eval "$wx_cv_use_fs_archive"
7232
7233 if test x"$enablestring" = xdisable; then
7234 if test $wxUSE_FS_ARCHIVE = no; then
7235 result=yes
7236 else
7237 result=no
7238 fi
7239 else
7240 result=$wxUSE_FS_ARCHIVE
7241 fi
7242
7243 { echo "$as_me:$LINENO: result: $result" >&5
7244 echo "${ECHO_T}$result" >&6; }
7245
7246
7247 enablestring=
7248 defaultval=$wxUSE_ALL_FEATURES
7249 if test -z "$defaultval"; then
7250 if test x"$enablestring" = xdisable; then
7251 defaultval=yes
7252 else
7253 defaultval=no
7254 fi
7255 fi
7256
7257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7258 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7259 # Check whether --enable-fs_inet was given.
7260 if test "${enable_fs_inet+set}" = set; then
7261 enableval=$enable_fs_inet;
7262 if test "$enableval" = yes; then
7263 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7264 else
7265 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7266 fi
7267
7268 else
7269
7270 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7271
7272 fi
7273
7274
7275 eval "$wx_cv_use_fs_inet"
7276
7277 if test x"$enablestring" = xdisable; then
7278 if test $wxUSE_FS_INET = no; then
7279 result=yes
7280 else
7281 result=no
7282 fi
7283 else
7284 result=$wxUSE_FS_INET
7285 fi
7286
7287 { echo "$as_me:$LINENO: result: $result" >&5
7288 echo "${ECHO_T}$result" >&6; }
7289
7290
7291 enablestring=
7292 defaultval=$wxUSE_ALL_FEATURES
7293 if test -z "$defaultval"; then
7294 if test x"$enablestring" = xdisable; then
7295 defaultval=yes
7296 else
7297 defaultval=no
7298 fi
7299 fi
7300
7301 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7302 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7303 # Check whether --enable-fs_zip was given.
7304 if test "${enable_fs_zip+set}" = set; then
7305 enableval=$enable_fs_zip;
7306 if test "$enableval" = yes; then
7307 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7308 else
7309 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7310 fi
7311
7312 else
7313
7314 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7315
7316 fi
7317
7318
7319 eval "$wx_cv_use_fs_zip"
7320
7321 if test x"$enablestring" = xdisable; then
7322 if test $wxUSE_FS_ZIP = no; then
7323 result=yes
7324 else
7325 result=no
7326 fi
7327 else
7328 result=$wxUSE_FS_ZIP
7329 fi
7330
7331 { echo "$as_me:$LINENO: result: $result" >&5
7332 echo "${ECHO_T}$result" >&6; }
7333
7334
7335 enablestring=
7336 defaultval=$wxUSE_ALL_FEATURES
7337 if test -z "$defaultval"; then
7338 if test x"$enablestring" = xdisable; then
7339 defaultval=yes
7340 else
7341 defaultval=no
7342 fi
7343 fi
7344
7345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7346 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7347 # Check whether --enable-fswatcher was given.
7348 if test "${enable_fswatcher+set}" = set; then
7349 enableval=$enable_fswatcher;
7350 if test "$enableval" = yes; then
7351 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7352 else
7353 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7354 fi
7355
7356 else
7357
7358 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7359
7360 fi
7361
7362
7363 eval "$wx_cv_use_fswatcher"
7364
7365 if test x"$enablestring" = xdisable; then
7366 if test $wxUSE_FSWATCHER = no; then
7367 result=yes
7368 else
7369 result=no
7370 fi
7371 else
7372 result=$wxUSE_FSWATCHER
7373 fi
7374
7375 { echo "$as_me:$LINENO: result: $result" >&5
7376 echo "${ECHO_T}$result" >&6; }
7377
7378
7379 enablestring=
7380 defaultval=$wxUSE_ALL_FEATURES
7381 if test -z "$defaultval"; then
7382 if test x"$enablestring" = xdisable; then
7383 defaultval=yes
7384 else
7385 defaultval=no
7386 fi
7387 fi
7388
7389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7390 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7391 # Check whether --enable-geometry was given.
7392 if test "${enable_geometry+set}" = set; then
7393 enableval=$enable_geometry;
7394 if test "$enableval" = yes; then
7395 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7396 else
7397 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7398 fi
7399
7400 else
7401
7402 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7403
7404 fi
7405
7406
7407 eval "$wx_cv_use_geometry"
7408
7409 if test x"$enablestring" = xdisable; then
7410 if test $wxUSE_GEOMETRY = no; then
7411 result=yes
7412 else
7413 result=no
7414 fi
7415 else
7416 result=$wxUSE_GEOMETRY
7417 fi
7418
7419 { echo "$as_me:$LINENO: result: $result" >&5
7420 echo "${ECHO_T}$result" >&6; }
7421
7422
7423 enablestring=
7424 defaultval=$wxUSE_ALL_FEATURES
7425 if test -z "$defaultval"; then
7426 if test x"$enablestring" = xdisable; then
7427 defaultval=yes
7428 else
7429 defaultval=no
7430 fi
7431 fi
7432
7433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7434 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7435 # Check whether --enable-log was given.
7436 if test "${enable_log+set}" = set; then
7437 enableval=$enable_log;
7438 if test "$enableval" = yes; then
7439 wx_cv_use_log='wxUSE_LOG=yes'
7440 else
7441 wx_cv_use_log='wxUSE_LOG=no'
7442 fi
7443
7444 else
7445
7446 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7447
7448 fi
7449
7450
7451 eval "$wx_cv_use_log"
7452
7453 if test x"$enablestring" = xdisable; then
7454 if test $wxUSE_LOG = no; then
7455 result=yes
7456 else
7457 result=no
7458 fi
7459 else
7460 result=$wxUSE_LOG
7461 fi
7462
7463 { echo "$as_me:$LINENO: result: $result" >&5
7464 echo "${ECHO_T}$result" >&6; }
7465
7466
7467 enablestring=
7468 defaultval=$wxUSE_ALL_FEATURES
7469 if test -z "$defaultval"; then
7470 if test x"$enablestring" = xdisable; then
7471 defaultval=yes
7472 else
7473 defaultval=no
7474 fi
7475 fi
7476
7477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7478 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7479 # Check whether --enable-longlong was given.
7480 if test "${enable_longlong+set}" = set; then
7481 enableval=$enable_longlong;
7482 if test "$enableval" = yes; then
7483 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7484 else
7485 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7486 fi
7487
7488 else
7489
7490 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7491
7492 fi
7493
7494
7495 eval "$wx_cv_use_longlong"
7496
7497 if test x"$enablestring" = xdisable; then
7498 if test $wxUSE_LONGLONG = no; then
7499 result=yes
7500 else
7501 result=no
7502 fi
7503 else
7504 result=$wxUSE_LONGLONG
7505 fi
7506
7507 { echo "$as_me:$LINENO: result: $result" >&5
7508 echo "${ECHO_T}$result" >&6; }
7509
7510
7511 enablestring=
7512 defaultval=$wxUSE_ALL_FEATURES
7513 if test -z "$defaultval"; then
7514 if test x"$enablestring" = xdisable; then
7515 defaultval=yes
7516 else
7517 defaultval=no
7518 fi
7519 fi
7520
7521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7522 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7523 # Check whether --enable-mimetype was given.
7524 if test "${enable_mimetype+set}" = set; then
7525 enableval=$enable_mimetype;
7526 if test "$enableval" = yes; then
7527 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7528 else
7529 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7530 fi
7531
7532 else
7533
7534 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7535
7536 fi
7537
7538
7539 eval "$wx_cv_use_mimetype"
7540
7541 if test x"$enablestring" = xdisable; then
7542 if test $wxUSE_MIMETYPE = no; then
7543 result=yes
7544 else
7545 result=no
7546 fi
7547 else
7548 result=$wxUSE_MIMETYPE
7549 fi
7550
7551 { echo "$as_me:$LINENO: result: $result" >&5
7552 echo "${ECHO_T}$result" >&6; }
7553
7554
7555 enablestring=
7556 defaultval=$wxUSE_ALL_FEATURES
7557 if test -z "$defaultval"; then
7558 if test x"$enablestring" = xdisable; then
7559 defaultval=yes
7560 else
7561 defaultval=no
7562 fi
7563 fi
7564
7565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7566 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7567 # Check whether --enable-printfposparam was given.
7568 if test "${enable_printfposparam+set}" = set; then
7569 enableval=$enable_printfposparam;
7570 if test "$enableval" = yes; then
7571 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7572 else
7573 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7574 fi
7575
7576 else
7577
7578 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7579
7580 fi
7581
7582
7583 eval "$wx_cv_use_printfposparam"
7584
7585 if test x"$enablestring" = xdisable; then
7586 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7587 result=yes
7588 else
7589 result=no
7590 fi
7591 else
7592 result=$wxUSE_PRINTF_POS_PARAMS
7593 fi
7594
7595 { echo "$as_me:$LINENO: result: $result" >&5
7596 echo "${ECHO_T}$result" >&6; }
7597
7598
7599 enablestring=
7600 defaultval=$wxUSE_ALL_FEATURES
7601 if test -z "$defaultval"; then
7602 if test x"$enablestring" = xdisable; then
7603 defaultval=yes
7604 else
7605 defaultval=no
7606 fi
7607 fi
7608
7609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7610 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7611 # Check whether --enable-snglinst was given.
7612 if test "${enable_snglinst+set}" = set; then
7613 enableval=$enable_snglinst;
7614 if test "$enableval" = yes; then
7615 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7616 else
7617 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7618 fi
7619
7620 else
7621
7622 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7623
7624 fi
7625
7626
7627 eval "$wx_cv_use_snglinst"
7628
7629 if test x"$enablestring" = xdisable; then
7630 if test $wxUSE_SNGLINST_CHECKER = no; then
7631 result=yes
7632 else
7633 result=no
7634 fi
7635 else
7636 result=$wxUSE_SNGLINST_CHECKER
7637 fi
7638
7639 { echo "$as_me:$LINENO: result: $result" >&5
7640 echo "${ECHO_T}$result" >&6; }
7641
7642
7643 enablestring=
7644 defaultval=$wxUSE_ALL_FEATURES
7645 if test -z "$defaultval"; then
7646 if test x"$enablestring" = xdisable; then
7647 defaultval=yes
7648 else
7649 defaultval=no
7650 fi
7651 fi
7652
7653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7654 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7655 # Check whether --enable-sound was given.
7656 if test "${enable_sound+set}" = set; then
7657 enableval=$enable_sound;
7658 if test "$enableval" = yes; then
7659 wx_cv_use_sound='wxUSE_SOUND=yes'
7660 else
7661 wx_cv_use_sound='wxUSE_SOUND=no'
7662 fi
7663
7664 else
7665
7666 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7667
7668 fi
7669
7670
7671 eval "$wx_cv_use_sound"
7672
7673 if test x"$enablestring" = xdisable; then
7674 if test $wxUSE_SOUND = no; then
7675 result=yes
7676 else
7677 result=no
7678 fi
7679 else
7680 result=$wxUSE_SOUND
7681 fi
7682
7683 { echo "$as_me:$LINENO: result: $result" >&5
7684 echo "${ECHO_T}$result" >&6; }
7685
7686
7687 enablestring=
7688 defaultval=$wxUSE_ALL_FEATURES
7689 if test -z "$defaultval"; then
7690 if test x"$enablestring" = xdisable; then
7691 defaultval=yes
7692 else
7693 defaultval=no
7694 fi
7695 fi
7696
7697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7698 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7699 # Check whether --enable-stdpaths was given.
7700 if test "${enable_stdpaths+set}" = set; then
7701 enableval=$enable_stdpaths;
7702 if test "$enableval" = yes; then
7703 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7704 else
7705 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7706 fi
7707
7708 else
7709
7710 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7711
7712 fi
7713
7714
7715 eval "$wx_cv_use_stdpaths"
7716
7717 if test x"$enablestring" = xdisable; then
7718 if test $wxUSE_STDPATHS = no; then
7719 result=yes
7720 else
7721 result=no
7722 fi
7723 else
7724 result=$wxUSE_STDPATHS
7725 fi
7726
7727 { echo "$as_me:$LINENO: result: $result" >&5
7728 echo "${ECHO_T}$result" >&6; }
7729
7730
7731 enablestring=
7732 defaultval=$wxUSE_ALL_FEATURES
7733 if test -z "$defaultval"; then
7734 if test x"$enablestring" = xdisable; then
7735 defaultval=yes
7736 else
7737 defaultval=no
7738 fi
7739 fi
7740
7741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7742 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7743 # Check whether --enable-stopwatch was given.
7744 if test "${enable_stopwatch+set}" = set; then
7745 enableval=$enable_stopwatch;
7746 if test "$enableval" = yes; then
7747 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7748 else
7749 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7750 fi
7751
7752 else
7753
7754 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7755
7756 fi
7757
7758
7759 eval "$wx_cv_use_stopwatch"
7760
7761 if test x"$enablestring" = xdisable; then
7762 if test $wxUSE_STOPWATCH = no; then
7763 result=yes
7764 else
7765 result=no
7766 fi
7767 else
7768 result=$wxUSE_STOPWATCH
7769 fi
7770
7771 { echo "$as_me:$LINENO: result: $result" >&5
7772 echo "${ECHO_T}$result" >&6; }
7773
7774
7775 enablestring=
7776 defaultval=$wxUSE_ALL_FEATURES
7777 if test -z "$defaultval"; then
7778 if test x"$enablestring" = xdisable; then
7779 defaultval=yes
7780 else
7781 defaultval=no
7782 fi
7783 fi
7784
7785 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7786 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7787 # Check whether --enable-streams was given.
7788 if test "${enable_streams+set}" = set; then
7789 enableval=$enable_streams;
7790 if test "$enableval" = yes; then
7791 wx_cv_use_streams='wxUSE_STREAMS=yes'
7792 else
7793 wx_cv_use_streams='wxUSE_STREAMS=no'
7794 fi
7795
7796 else
7797
7798 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7799
7800 fi
7801
7802
7803 eval "$wx_cv_use_streams"
7804
7805 if test x"$enablestring" = xdisable; then
7806 if test $wxUSE_STREAMS = no; then
7807 result=yes
7808 else
7809 result=no
7810 fi
7811 else
7812 result=$wxUSE_STREAMS
7813 fi
7814
7815 { echo "$as_me:$LINENO: result: $result" >&5
7816 echo "${ECHO_T}$result" >&6; }
7817
7818
7819 enablestring=
7820 defaultval=$wxUSE_ALL_FEATURES
7821 if test -z "$defaultval"; then
7822 if test x"$enablestring" = xdisable; then
7823 defaultval=yes
7824 else
7825 defaultval=no
7826 fi
7827 fi
7828
7829 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7830 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7831 # Check whether --enable-sysoptions was given.
7832 if test "${enable_sysoptions+set}" = set; then
7833 enableval=$enable_sysoptions;
7834 if test "$enableval" = yes; then
7835 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
7836 else
7837 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
7838 fi
7839
7840 else
7841
7842 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7843
7844 fi
7845
7846
7847 eval "$wx_cv_use_sysoptions"
7848
7849 if test x"$enablestring" = xdisable; then
7850 if test $wxUSE_SYSTEM_OPTIONS = no; then
7851 result=yes
7852 else
7853 result=no
7854 fi
7855 else
7856 result=$wxUSE_SYSTEM_OPTIONS
7857 fi
7858
7859 { echo "$as_me:$LINENO: result: $result" >&5
7860 echo "${ECHO_T}$result" >&6; }
7861
7862
7863 enablestring=
7864 defaultval=$wxUSE_ALL_FEATURES
7865 if test -z "$defaultval"; then
7866 if test x"$enablestring" = xdisable; then
7867 defaultval=yes
7868 else
7869 defaultval=no
7870 fi
7871 fi
7872
7873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7874 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7875 # Check whether --enable-tarstream was given.
7876 if test "${enable_tarstream+set}" = set; then
7877 enableval=$enable_tarstream;
7878 if test "$enableval" = yes; then
7879 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7880 else
7881 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7882 fi
7883
7884 else
7885
7886 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7887
7888 fi
7889
7890
7891 eval "$wx_cv_use_tarstream"
7892
7893 if test x"$enablestring" = xdisable; then
7894 if test $wxUSE_TARSTREAM = no; then
7895 result=yes
7896 else
7897 result=no
7898 fi
7899 else
7900 result=$wxUSE_TARSTREAM
7901 fi
7902
7903 { echo "$as_me:$LINENO: result: $result" >&5
7904 echo "${ECHO_T}$result" >&6; }
7905
7906
7907 enablestring=
7908 defaultval=$wxUSE_ALL_FEATURES
7909 if test -z "$defaultval"; then
7910 if test x"$enablestring" = xdisable; then
7911 defaultval=yes
7912 else
7913 defaultval=no
7914 fi
7915 fi
7916
7917 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7918 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7919 # Check whether --enable-textbuf was given.
7920 if test "${enable_textbuf+set}" = set; then
7921 enableval=$enable_textbuf;
7922 if test "$enableval" = yes; then
7923 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7924 else
7925 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7926 fi
7927
7928 else
7929
7930 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7931
7932 fi
7933
7934
7935 eval "$wx_cv_use_textbuf"
7936
7937 if test x"$enablestring" = xdisable; then
7938 if test $wxUSE_TEXTBUFFER = no; then
7939 result=yes
7940 else
7941 result=no
7942 fi
7943 else
7944 result=$wxUSE_TEXTBUFFER
7945 fi
7946
7947 { echo "$as_me:$LINENO: result: $result" >&5
7948 echo "${ECHO_T}$result" >&6; }
7949
7950
7951 enablestring=
7952 defaultval=$wxUSE_ALL_FEATURES
7953 if test -z "$defaultval"; then
7954 if test x"$enablestring" = xdisable; then
7955 defaultval=yes
7956 else
7957 defaultval=no
7958 fi
7959 fi
7960
7961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7962 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7963 # Check whether --enable-textfile was given.
7964 if test "${enable_textfile+set}" = set; then
7965 enableval=$enable_textfile;
7966 if test "$enableval" = yes; then
7967 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7968 else
7969 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7970 fi
7971
7972 else
7973
7974 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7975
7976 fi
7977
7978
7979 eval "$wx_cv_use_textfile"
7980
7981 if test x"$enablestring" = xdisable; then
7982 if test $wxUSE_TEXTFILE = no; then
7983 result=yes
7984 else
7985 result=no
7986 fi
7987 else
7988 result=$wxUSE_TEXTFILE
7989 fi
7990
7991 { echo "$as_me:$LINENO: result: $result" >&5
7992 echo "${ECHO_T}$result" >&6; }
7993
7994
7995 enablestring=
7996 defaultval=$wxUSE_ALL_FEATURES
7997 if test -z "$defaultval"; then
7998 if test x"$enablestring" = xdisable; then
7999 defaultval=yes
8000 else
8001 defaultval=no
8002 fi
8003 fi
8004
8005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8006 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8007 # Check whether --enable-timer was given.
8008 if test "${enable_timer+set}" = set; then
8009 enableval=$enable_timer;
8010 if test "$enableval" = yes; then
8011 wx_cv_use_timer='wxUSE_TIMER=yes'
8012 else
8013 wx_cv_use_timer='wxUSE_TIMER=no'
8014 fi
8015
8016 else
8017
8018 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8019
8020 fi
8021
8022
8023 eval "$wx_cv_use_timer"
8024
8025 if test x"$enablestring" = xdisable; then
8026 if test $wxUSE_TIMER = no; then
8027 result=yes
8028 else
8029 result=no
8030 fi
8031 else
8032 result=$wxUSE_TIMER
8033 fi
8034
8035 { echo "$as_me:$LINENO: result: $result" >&5
8036 echo "${ECHO_T}$result" >&6; }
8037
8038
8039 enablestring=
8040 defaultval=$wxUSE_ALL_FEATURES
8041 if test -z "$defaultval"; then
8042 if test x"$enablestring" = xdisable; then
8043 defaultval=yes
8044 else
8045 defaultval=no
8046 fi
8047 fi
8048
8049 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8050 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8051 # Check whether --enable-variant was given.
8052 if test "${enable_variant+set}" = set; then
8053 enableval=$enable_variant;
8054 if test "$enableval" = yes; then
8055 wx_cv_use_variant='wxUSE_VARIANT=yes'
8056 else
8057 wx_cv_use_variant='wxUSE_VARIANT=no'
8058 fi
8059
8060 else
8061
8062 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8063
8064 fi
8065
8066
8067 eval "$wx_cv_use_variant"
8068
8069 if test x"$enablestring" = xdisable; then
8070 if test $wxUSE_VARIANT = no; then
8071 result=yes
8072 else
8073 result=no
8074 fi
8075 else
8076 result=$wxUSE_VARIANT
8077 fi
8078
8079 { echo "$as_me:$LINENO: result: $result" >&5
8080 echo "${ECHO_T}$result" >&6; }
8081
8082
8083 enablestring=
8084 defaultval=$wxUSE_ALL_FEATURES
8085 if test -z "$defaultval"; then
8086 if test x"$enablestring" = xdisable; then
8087 defaultval=yes
8088 else
8089 defaultval=no
8090 fi
8091 fi
8092
8093 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8094 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8095 # Check whether --enable-zipstream was given.
8096 if test "${enable_zipstream+set}" = set; then
8097 enableval=$enable_zipstream;
8098 if test "$enableval" = yes; then
8099 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8100 else
8101 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8102 fi
8103
8104 else
8105
8106 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8107
8108 fi
8109
8110
8111 eval "$wx_cv_use_zipstream"
8112
8113 if test x"$enablestring" = xdisable; then
8114 if test $wxUSE_ZIPSTREAM = no; then
8115 result=yes
8116 else
8117 result=no
8118 fi
8119 else
8120 result=$wxUSE_ZIPSTREAM
8121 fi
8122
8123 { echo "$as_me:$LINENO: result: $result" >&5
8124 echo "${ECHO_T}$result" >&6; }
8125
8126
8127
8128 enablestring=
8129 defaultval=$wxUSE_ALL_FEATURES
8130 if test -z "$defaultval"; then
8131 if test x"$enablestring" = xdisable; then
8132 defaultval=yes
8133 else
8134 defaultval=no
8135 fi
8136 fi
8137
8138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8139 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8140 # Check whether --enable-url was given.
8141 if test "${enable_url+set}" = set; then
8142 enableval=$enable_url;
8143 if test "$enableval" = yes; then
8144 wx_cv_use_url='wxUSE_URL=yes'
8145 else
8146 wx_cv_use_url='wxUSE_URL=no'
8147 fi
8148
8149 else
8150
8151 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8152
8153 fi
8154
8155
8156 eval "$wx_cv_use_url"
8157
8158 if test x"$enablestring" = xdisable; then
8159 if test $wxUSE_URL = no; then
8160 result=yes
8161 else
8162 result=no
8163 fi
8164 else
8165 result=$wxUSE_URL
8166 fi
8167
8168 { echo "$as_me:$LINENO: result: $result" >&5
8169 echo "${ECHO_T}$result" >&6; }
8170
8171
8172 enablestring=
8173 defaultval=$wxUSE_ALL_FEATURES
8174 if test -z "$defaultval"; then
8175 if test x"$enablestring" = xdisable; then
8176 defaultval=yes
8177 else
8178 defaultval=no
8179 fi
8180 fi
8181
8182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8183 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8184 # Check whether --enable-protocol was given.
8185 if test "${enable_protocol+set}" = set; then
8186 enableval=$enable_protocol;
8187 if test "$enableval" = yes; then
8188 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8189 else
8190 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8191 fi
8192
8193 else
8194
8195 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8196
8197 fi
8198
8199
8200 eval "$wx_cv_use_protocol"
8201
8202 if test x"$enablestring" = xdisable; then
8203 if test $wxUSE_PROTOCOL = no; then
8204 result=yes
8205 else
8206 result=no
8207 fi
8208 else
8209 result=$wxUSE_PROTOCOL
8210 fi
8211
8212 { echo "$as_me:$LINENO: result: $result" >&5
8213 echo "${ECHO_T}$result" >&6; }
8214
8215
8216 enablestring=
8217 defaultval=$wxUSE_ALL_FEATURES
8218 if test -z "$defaultval"; then
8219 if test x"$enablestring" = xdisable; then
8220 defaultval=yes
8221 else
8222 defaultval=no
8223 fi
8224 fi
8225
8226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8227 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8228 # Check whether --enable-protocol_http was given.
8229 if test "${enable_protocol_http+set}" = set; then
8230 enableval=$enable_protocol_http;
8231 if test "$enableval" = yes; then
8232 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8233 else
8234 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8235 fi
8236
8237 else
8238
8239 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8240
8241 fi
8242
8243
8244 eval "$wx_cv_use_protocol_http"
8245
8246 if test x"$enablestring" = xdisable; then
8247 if test $wxUSE_PROTOCOL_HTTP = no; then
8248 result=yes
8249 else
8250 result=no
8251 fi
8252 else
8253 result=$wxUSE_PROTOCOL_HTTP
8254 fi
8255
8256 { echo "$as_me:$LINENO: result: $result" >&5
8257 echo "${ECHO_T}$result" >&6; }
8258
8259
8260 enablestring=
8261 defaultval=$wxUSE_ALL_FEATURES
8262 if test -z "$defaultval"; then
8263 if test x"$enablestring" = xdisable; then
8264 defaultval=yes
8265 else
8266 defaultval=no
8267 fi
8268 fi
8269
8270 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8271 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8272 # Check whether --enable-protocol_ftp was given.
8273 if test "${enable_protocol_ftp+set}" = set; then
8274 enableval=$enable_protocol_ftp;
8275 if test "$enableval" = yes; then
8276 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8277 else
8278 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8279 fi
8280
8281 else
8282
8283 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8284
8285 fi
8286
8287
8288 eval "$wx_cv_use_protocol_ftp"
8289
8290 if test x"$enablestring" = xdisable; then
8291 if test $wxUSE_PROTOCOL_FTP = no; then
8292 result=yes
8293 else
8294 result=no
8295 fi
8296 else
8297 result=$wxUSE_PROTOCOL_FTP
8298 fi
8299
8300 { echo "$as_me:$LINENO: result: $result" >&5
8301 echo "${ECHO_T}$result" >&6; }
8302
8303
8304 enablestring=
8305 defaultval=$wxUSE_ALL_FEATURES
8306 if test -z "$defaultval"; then
8307 if test x"$enablestring" = xdisable; then
8308 defaultval=yes
8309 else
8310 defaultval=no
8311 fi
8312 fi
8313
8314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8315 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8316 # Check whether --enable-protocol_file was given.
8317 if test "${enable_protocol_file+set}" = set; then
8318 enableval=$enable_protocol_file;
8319 if test "$enableval" = yes; then
8320 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8321 else
8322 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8323 fi
8324
8325 else
8326
8327 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8328
8329 fi
8330
8331
8332 eval "$wx_cv_use_protocol_file"
8333
8334 if test x"$enablestring" = xdisable; then
8335 if test $wxUSE_PROTOCOL_FILE = no; then
8336 result=yes
8337 else
8338 result=no
8339 fi
8340 else
8341 result=$wxUSE_PROTOCOL_FILE
8342 fi
8343
8344 { echo "$as_me:$LINENO: result: $result" >&5
8345 echo "${ECHO_T}$result" >&6; }
8346
8347
8348
8349 enablestring=
8350 defaultval=$wxUSE_ALL_FEATURES
8351 if test -z "$defaultval"; then
8352 if test x"$enablestring" = xdisable; then
8353 defaultval=yes
8354 else
8355 defaultval=no
8356 fi
8357 fi
8358
8359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8360 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8361 # Check whether --enable-threads was given.
8362 if test "${enable_threads+set}" = set; then
8363 enableval=$enable_threads;
8364 if test "$enableval" = yes; then
8365 wx_cv_use_threads='wxUSE_THREADS=yes'
8366 else
8367 wx_cv_use_threads='wxUSE_THREADS=no'
8368 fi
8369
8370 else
8371
8372 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8373
8374 fi
8375
8376
8377 eval "$wx_cv_use_threads"
8378
8379 if test x"$enablestring" = xdisable; then
8380 if test $wxUSE_THREADS = no; then
8381 result=yes
8382 else
8383 result=no
8384 fi
8385 else
8386 result=$wxUSE_THREADS
8387 fi
8388
8389 { echo "$as_me:$LINENO: result: $result" >&5
8390 echo "${ECHO_T}$result" >&6; }
8391
8392
8393
8394 enablestring=
8395 defaultval=
8396 if test -z "$defaultval"; then
8397 if test x"$enablestring" = xdisable; then
8398 defaultval=yes
8399 else
8400 defaultval=no
8401 fi
8402 fi
8403
8404 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8405 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8406 # Check whether --enable-iniconf was given.
8407 if test "${enable_iniconf+set}" = set; then
8408 enableval=$enable_iniconf;
8409 if test "$enableval" = yes; then
8410 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8411 else
8412 wx_cv_use_iniconf='wxUSE_INICONF=no'
8413 fi
8414
8415 else
8416
8417 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8418
8419 fi
8420
8421
8422 eval "$wx_cv_use_iniconf"
8423
8424 if test x"$enablestring" = xdisable; then
8425 if test $wxUSE_INICONF = no; then
8426 result=yes
8427 else
8428 result=no
8429 fi
8430 else
8431 result=$wxUSE_INICONF
8432 fi
8433
8434 { echo "$as_me:$LINENO: result: $result" >&5
8435 echo "${ECHO_T}$result" >&6; }
8436
8437
8438 enablestring=
8439 defaultval=$wxUSE_ALL_FEATURES
8440 if test -z "$defaultval"; then
8441 if test x"$enablestring" = xdisable; then
8442 defaultval=yes
8443 else
8444 defaultval=no
8445 fi
8446 fi
8447
8448 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8449 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8450 # Check whether --enable-regkey was given.
8451 if test "${enable_regkey+set}" = set; then
8452 enableval=$enable_regkey;
8453 if test "$enableval" = yes; then
8454 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8455 else
8456 wx_cv_use_regkey='wxUSE_REGKEY=no'
8457 fi
8458
8459 else
8460
8461 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8462
8463 fi
8464
8465
8466 eval "$wx_cv_use_regkey"
8467
8468 if test x"$enablestring" = xdisable; then
8469 if test $wxUSE_REGKEY = no; then
8470 result=yes
8471 else
8472 result=no
8473 fi
8474 else
8475 result=$wxUSE_REGKEY
8476 fi
8477
8478 { echo "$as_me:$LINENO: result: $result" >&5
8479 echo "${ECHO_T}$result" >&6; }
8480
8481
8482 if test "$wxUSE_GUI" = "yes"; then
8483
8484
8485
8486 enablestring=
8487 defaultval=$wxUSE_ALL_FEATURES
8488 if test -z "$defaultval"; then
8489 if test x"$enablestring" = xdisable; then
8490 defaultval=yes
8491 else
8492 defaultval=no
8493 fi
8494 fi
8495
8496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8497 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8498 # Check whether --enable-docview was given.
8499 if test "${enable_docview+set}" = set; then
8500 enableval=$enable_docview;
8501 if test "$enableval" = yes; then
8502 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8503 else
8504 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8505 fi
8506
8507 else
8508
8509 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8510
8511 fi
8512
8513
8514 eval "$wx_cv_use_docview"
8515
8516 if test x"$enablestring" = xdisable; then
8517 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8518 result=yes
8519 else
8520 result=no
8521 fi
8522 else
8523 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8524 fi
8525
8526 { echo "$as_me:$LINENO: result: $result" >&5
8527 echo "${ECHO_T}$result" >&6; }
8528
8529
8530 enablestring=
8531 defaultval=$wxUSE_ALL_FEATURES
8532 if test -z "$defaultval"; then
8533 if test x"$enablestring" = xdisable; then
8534 defaultval=yes
8535 else
8536 defaultval=no
8537 fi
8538 fi
8539
8540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8541 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8542 # Check whether --enable-help was given.
8543 if test "${enable_help+set}" = set; then
8544 enableval=$enable_help;
8545 if test "$enableval" = yes; then
8546 wx_cv_use_help='wxUSE_HELP=yes'
8547 else
8548 wx_cv_use_help='wxUSE_HELP=no'
8549 fi
8550
8551 else
8552
8553 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8554
8555 fi
8556
8557
8558 eval "$wx_cv_use_help"
8559
8560 if test x"$enablestring" = xdisable; then
8561 if test $wxUSE_HELP = no; then
8562 result=yes
8563 else
8564 result=no
8565 fi
8566 else
8567 result=$wxUSE_HELP
8568 fi
8569
8570 { echo "$as_me:$LINENO: result: $result" >&5
8571 echo "${ECHO_T}$result" >&6; }
8572
8573
8574 enablestring=
8575 defaultval=$wxUSE_ALL_FEATURES
8576 if test -z "$defaultval"; then
8577 if test x"$enablestring" = xdisable; then
8578 defaultval=yes
8579 else
8580 defaultval=no
8581 fi
8582 fi
8583
8584 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8585 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8586 # Check whether --enable-mshtmlhelp was given.
8587 if test "${enable_mshtmlhelp+set}" = set; then
8588 enableval=$enable_mshtmlhelp;
8589 if test "$enableval" = yes; then
8590 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8591 else
8592 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8593 fi
8594
8595 else
8596
8597 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8598
8599 fi
8600
8601
8602 eval "$wx_cv_use_mshtmlhelp"
8603
8604 if test x"$enablestring" = xdisable; then
8605 if test $wxUSE_MS_HTML_HELP = no; then
8606 result=yes
8607 else
8608 result=no
8609 fi
8610 else
8611 result=$wxUSE_MS_HTML_HELP
8612 fi
8613
8614 { echo "$as_me:$LINENO: result: $result" >&5
8615 echo "${ECHO_T}$result" >&6; }
8616
8617
8618 enablestring=
8619 defaultval=$wxUSE_ALL_FEATURES
8620 if test -z "$defaultval"; then
8621 if test x"$enablestring" = xdisable; then
8622 defaultval=yes
8623 else
8624 defaultval=no
8625 fi
8626 fi
8627
8628 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8629 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8630 # Check whether --enable-html was given.
8631 if test "${enable_html+set}" = set; then
8632 enableval=$enable_html;
8633 if test "$enableval" = yes; then
8634 wx_cv_use_html='wxUSE_HTML=yes'
8635 else
8636 wx_cv_use_html='wxUSE_HTML=no'
8637 fi
8638
8639 else
8640
8641 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8642
8643 fi
8644
8645
8646 eval "$wx_cv_use_html"
8647
8648 if test x"$enablestring" = xdisable; then
8649 if test $wxUSE_HTML = no; then
8650 result=yes
8651 else
8652 result=no
8653 fi
8654 else
8655 result=$wxUSE_HTML
8656 fi
8657
8658 { echo "$as_me:$LINENO: result: $result" >&5
8659 echo "${ECHO_T}$result" >&6; }
8660
8661
8662 enablestring=
8663 defaultval=$wxUSE_ALL_FEATURES
8664 if test -z "$defaultval"; then
8665 if test x"$enablestring" = xdisable; then
8666 defaultval=yes
8667 else
8668 defaultval=no
8669 fi
8670 fi
8671
8672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8673 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8674 # Check whether --enable-htmlhelp was given.
8675 if test "${enable_htmlhelp+set}" = set; then
8676 enableval=$enable_htmlhelp;
8677 if test "$enableval" = yes; then
8678 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8679 else
8680 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8681 fi
8682
8683 else
8684
8685 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8686
8687 fi
8688
8689
8690 eval "$wx_cv_use_htmlhelp"
8691
8692 if test x"$enablestring" = xdisable; then
8693 if test $wxUSE_WXHTML_HELP = no; then
8694 result=yes
8695 else
8696 result=no
8697 fi
8698 else
8699 result=$wxUSE_WXHTML_HELP
8700 fi
8701
8702 { echo "$as_me:$LINENO: result: $result" >&5
8703 echo "${ECHO_T}$result" >&6; }
8704
8705
8706 enablestring=
8707 defaultval=$wxUSE_ALL_FEATURES
8708 if test -z "$defaultval"; then
8709 if test x"$enablestring" = xdisable; then
8710 defaultval=yes
8711 else
8712 defaultval=no
8713 fi
8714 fi
8715
8716 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8717 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8718 # Check whether --enable-xrc was given.
8719 if test "${enable_xrc+set}" = set; then
8720 enableval=$enable_xrc;
8721 if test "$enableval" = yes; then
8722 wx_cv_use_xrc='wxUSE_XRC=yes'
8723 else
8724 wx_cv_use_xrc='wxUSE_XRC=no'
8725 fi
8726
8727 else
8728
8729 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8730
8731 fi
8732
8733
8734 eval "$wx_cv_use_xrc"
8735
8736 if test x"$enablestring" = xdisable; then
8737 if test $wxUSE_XRC = no; then
8738 result=yes
8739 else
8740 result=no
8741 fi
8742 else
8743 result=$wxUSE_XRC
8744 fi
8745
8746 { echo "$as_me:$LINENO: result: $result" >&5
8747 echo "${ECHO_T}$result" >&6; }
8748
8749
8750 enablestring=
8751 defaultval=$wxUSE_ALL_FEATURES
8752 if test -z "$defaultval"; then
8753 if test x"$enablestring" = xdisable; then
8754 defaultval=yes
8755 else
8756 defaultval=no
8757 fi
8758 fi
8759
8760 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8761 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8762 # Check whether --enable-aui was given.
8763 if test "${enable_aui+set}" = set; then
8764 enableval=$enable_aui;
8765 if test "$enableval" = yes; then
8766 wx_cv_use_aui='wxUSE_AUI=yes'
8767 else
8768 wx_cv_use_aui='wxUSE_AUI=no'
8769 fi
8770
8771 else
8772
8773 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8774
8775 fi
8776
8777
8778 eval "$wx_cv_use_aui"
8779
8780 if test x"$enablestring" = xdisable; then
8781 if test $wxUSE_AUI = no; then
8782 result=yes
8783 else
8784 result=no
8785 fi
8786 else
8787 result=$wxUSE_AUI
8788 fi
8789
8790 { echo "$as_me:$LINENO: result: $result" >&5
8791 echo "${ECHO_T}$result" >&6; }
8792
8793
8794 enablestring=
8795 defaultval=$wxUSE_ALL_FEATURES
8796 if test -z "$defaultval"; then
8797 if test x"$enablestring" = xdisable; then
8798 defaultval=yes
8799 else
8800 defaultval=no
8801 fi
8802 fi
8803
8804 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8805 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8806 # Check whether --enable-propgrid was given.
8807 if test "${enable_propgrid+set}" = set; then
8808 enableval=$enable_propgrid;
8809 if test "$enableval" = yes; then
8810 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8811 else
8812 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8813 fi
8814
8815 else
8816
8817 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8818
8819 fi
8820
8821
8822 eval "$wx_cv_use_propgrid"
8823
8824 if test x"$enablestring" = xdisable; then
8825 if test $wxUSE_PROPGRID = no; then
8826 result=yes
8827 else
8828 result=no
8829 fi
8830 else
8831 result=$wxUSE_PROPGRID
8832 fi
8833
8834 { echo "$as_me:$LINENO: result: $result" >&5
8835 echo "${ECHO_T}$result" >&6; }
8836
8837
8838 enablestring=
8839 defaultval=$wxUSE_ALL_FEATURES
8840 if test -z "$defaultval"; then
8841 if test x"$enablestring" = xdisable; then
8842 defaultval=yes
8843 else
8844 defaultval=no
8845 fi
8846 fi
8847
8848 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8849 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8850 # Check whether --enable-ribbon was given.
8851 if test "${enable_ribbon+set}" = set; then
8852 enableval=$enable_ribbon;
8853 if test "$enableval" = yes; then
8854 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8855 else
8856 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8857 fi
8858
8859 else
8860
8861 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8862
8863 fi
8864
8865
8866 eval "$wx_cv_use_ribbon"
8867
8868 if test x"$enablestring" = xdisable; then
8869 if test $wxUSE_RIBBON = no; then
8870 result=yes
8871 else
8872 result=no
8873 fi
8874 else
8875 result=$wxUSE_RIBBON
8876 fi
8877
8878 { echo "$as_me:$LINENO: result: $result" >&5
8879 echo "${ECHO_T}$result" >&6; }
8880
8881
8882 enablestring=
8883 defaultval=$wxUSE_ALL_FEATURES
8884 if test -z "$defaultval"; then
8885 if test x"$enablestring" = xdisable; then
8886 defaultval=yes
8887 else
8888 defaultval=no
8889 fi
8890 fi
8891
8892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8893 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8894 # Check whether --enable-stc was given.
8895 if test "${enable_stc+set}" = set; then
8896 enableval=$enable_stc;
8897 if test "$enableval" = yes; then
8898 wx_cv_use_stc='wxUSE_STC=yes'
8899 else
8900 wx_cv_use_stc='wxUSE_STC=no'
8901 fi
8902
8903 else
8904
8905 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8906
8907 fi
8908
8909
8910 eval "$wx_cv_use_stc"
8911
8912 if test x"$enablestring" = xdisable; then
8913 if test $wxUSE_STC = no; then
8914 result=yes
8915 else
8916 result=no
8917 fi
8918 else
8919 result=$wxUSE_STC
8920 fi
8921
8922 { echo "$as_me:$LINENO: result: $result" >&5
8923 echo "${ECHO_T}$result" >&6; }
8924
8925
8926 enablestring=
8927 defaultval=$wxUSE_ALL_FEATURES
8928 if test -z "$defaultval"; then
8929 if test x"$enablestring" = xdisable; then
8930 defaultval=yes
8931 else
8932 defaultval=no
8933 fi
8934 fi
8935
8936 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8937 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8938 # Check whether --enable-constraints was given.
8939 if test "${enable_constraints+set}" = set; then
8940 enableval=$enable_constraints;
8941 if test "$enableval" = yes; then
8942 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8943 else
8944 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8945 fi
8946
8947 else
8948
8949 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8950
8951 fi
8952
8953
8954 eval "$wx_cv_use_constraints"
8955
8956 if test x"$enablestring" = xdisable; then
8957 if test $wxUSE_CONSTRAINTS = no; then
8958 result=yes
8959 else
8960 result=no
8961 fi
8962 else
8963 result=$wxUSE_CONSTRAINTS
8964 fi
8965
8966 { echo "$as_me:$LINENO: result: $result" >&5
8967 echo "${ECHO_T}$result" >&6; }
8968
8969
8970 enablestring=
8971 defaultval=$wxUSE_ALL_FEATURES
8972 if test -z "$defaultval"; then
8973 if test x"$enablestring" = xdisable; then
8974 defaultval=yes
8975 else
8976 defaultval=no
8977 fi
8978 fi
8979
8980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8981 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8982 # Check whether --enable-loggui was given.
8983 if test "${enable_loggui+set}" = set; then
8984 enableval=$enable_loggui;
8985 if test "$enableval" = yes; then
8986 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8987 else
8988 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8989 fi
8990
8991 else
8992
8993 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8994
8995 fi
8996
8997
8998 eval "$wx_cv_use_loggui"
8999
9000 if test x"$enablestring" = xdisable; then
9001 if test $wxUSE_LOGGUI = no; then
9002 result=yes
9003 else
9004 result=no
9005 fi
9006 else
9007 result=$wxUSE_LOGGUI
9008 fi
9009
9010 { echo "$as_me:$LINENO: result: $result" >&5
9011 echo "${ECHO_T}$result" >&6; }
9012
9013
9014 enablestring=
9015 defaultval=$wxUSE_ALL_FEATURES
9016 if test -z "$defaultval"; then
9017 if test x"$enablestring" = xdisable; then
9018 defaultval=yes
9019 else
9020 defaultval=no
9021 fi
9022 fi
9023
9024 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9025 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9026 # Check whether --enable-logwin was given.
9027 if test "${enable_logwin+set}" = set; then
9028 enableval=$enable_logwin;
9029 if test "$enableval" = yes; then
9030 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9031 else
9032 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9033 fi
9034
9035 else
9036
9037 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9038
9039 fi
9040
9041
9042 eval "$wx_cv_use_logwin"
9043
9044 if test x"$enablestring" = xdisable; then
9045 if test $wxUSE_LOGWINDOW = no; then
9046 result=yes
9047 else
9048 result=no
9049 fi
9050 else
9051 result=$wxUSE_LOGWINDOW
9052 fi
9053
9054 { echo "$as_me:$LINENO: result: $result" >&5
9055 echo "${ECHO_T}$result" >&6; }
9056
9057
9058 enablestring=
9059 defaultval=$wxUSE_ALL_FEATURES
9060 if test -z "$defaultval"; then
9061 if test x"$enablestring" = xdisable; then
9062 defaultval=yes
9063 else
9064 defaultval=no
9065 fi
9066 fi
9067
9068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9069 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9070 # Check whether --enable-logdialog was given.
9071 if test "${enable_logdialog+set}" = set; then
9072 enableval=$enable_logdialog;
9073 if test "$enableval" = yes; then
9074 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9075 else
9076 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9077 fi
9078
9079 else
9080
9081 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9082
9083 fi
9084
9085
9086 eval "$wx_cv_use_logdialog"
9087
9088 if test x"$enablestring" = xdisable; then
9089 if test $wxUSE_LOGDIALOG = no; then
9090 result=yes
9091 else
9092 result=no
9093 fi
9094 else
9095 result=$wxUSE_LOGDIALOG
9096 fi
9097
9098 { echo "$as_me:$LINENO: result: $result" >&5
9099 echo "${ECHO_T}$result" >&6; }
9100
9101
9102 enablestring=
9103 defaultval=$wxUSE_ALL_FEATURES
9104 if test -z "$defaultval"; then
9105 if test x"$enablestring" = xdisable; then
9106 defaultval=yes
9107 else
9108 defaultval=no
9109 fi
9110 fi
9111
9112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9113 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9114 # Check whether --enable-mdi was given.
9115 if test "${enable_mdi+set}" = set; then
9116 enableval=$enable_mdi;
9117 if test "$enableval" = yes; then
9118 wx_cv_use_mdi='wxUSE_MDI=yes'
9119 else
9120 wx_cv_use_mdi='wxUSE_MDI=no'
9121 fi
9122
9123 else
9124
9125 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9126
9127 fi
9128
9129
9130 eval "$wx_cv_use_mdi"
9131
9132 if test x"$enablestring" = xdisable; then
9133 if test $wxUSE_MDI = no; then
9134 result=yes
9135 else
9136 result=no
9137 fi
9138 else
9139 result=$wxUSE_MDI
9140 fi
9141
9142 { echo "$as_me:$LINENO: result: $result" >&5
9143 echo "${ECHO_T}$result" >&6; }
9144
9145
9146 enablestring=
9147 defaultval=$wxUSE_ALL_FEATURES
9148 if test -z "$defaultval"; then
9149 if test x"$enablestring" = xdisable; then
9150 defaultval=yes
9151 else
9152 defaultval=no
9153 fi
9154 fi
9155
9156 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9157 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9158 # Check whether --enable-mdidoc was given.
9159 if test "${enable_mdidoc+set}" = set; then
9160 enableval=$enable_mdidoc;
9161 if test "$enableval" = yes; then
9162 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9163 else
9164 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9165 fi
9166
9167 else
9168
9169 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9170
9171 fi
9172
9173
9174 eval "$wx_cv_use_mdidoc"
9175
9176 if test x"$enablestring" = xdisable; then
9177 if test $wxUSE_MDI_ARCHITECTURE = no; then
9178 result=yes
9179 else
9180 result=no
9181 fi
9182 else
9183 result=$wxUSE_MDI_ARCHITECTURE
9184 fi
9185
9186 { echo "$as_me:$LINENO: result: $result" >&5
9187 echo "${ECHO_T}$result" >&6; }
9188
9189
9190 enablestring=
9191 defaultval=$wxUSE_ALL_FEATURES
9192 if test -z "$defaultval"; then
9193 if test x"$enablestring" = xdisable; then
9194 defaultval=yes
9195 else
9196 defaultval=no
9197 fi
9198 fi
9199
9200 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9201 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9202 # Check whether --enable-mediactrl was given.
9203 if test "${enable_mediactrl+set}" = set; then
9204 enableval=$enable_mediactrl;
9205 if test "$enableval" = yes; then
9206 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9207 else
9208 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9209 fi
9210
9211 else
9212
9213 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9214
9215 fi
9216
9217
9218 eval "$wx_cv_use_mediactrl"
9219
9220 if test x"$enablestring" = xdisable; then
9221 if test $wxUSE_MEDIACTRL = no; then
9222 result=yes
9223 else
9224 result=no
9225 fi
9226 else
9227 result=$wxUSE_MEDIACTRL
9228 fi
9229
9230 { echo "$as_me:$LINENO: result: $result" >&5
9231 echo "${ECHO_T}$result" >&6; }
9232
9233
9234 enablestring=
9235 defaultval=$wxUSE_ALL_FEATURES
9236 if test -z "$defaultval"; then
9237 if test x"$enablestring" = xdisable; then
9238 defaultval=yes
9239 else
9240 defaultval=no
9241 fi
9242 fi
9243
9244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9245 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9246 # Check whether --enable-gstreamer8 was given.
9247 if test "${enable_gstreamer8+set}" = set; then
9248 enableval=$enable_gstreamer8;
9249 if test "$enableval" = yes; then
9250 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9251 else
9252 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9253 fi
9254
9255 else
9256
9257 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9258
9259 fi
9260
9261
9262 eval "$wx_cv_use_gstreamer8"
9263
9264 if test x"$enablestring" = xdisable; then
9265 if test $wxUSE_GSTREAMER8 = no; then
9266 result=yes
9267 else
9268 result=no
9269 fi
9270 else
9271 result=$wxUSE_GSTREAMER8
9272 fi
9273
9274 { echo "$as_me:$LINENO: result: $result" >&5
9275 echo "${ECHO_T}$result" >&6; }
9276
9277
9278 enablestring=
9279 defaultval=$wxUSE_ALL_FEATURES
9280 if test -z "$defaultval"; then
9281 if test x"$enablestring" = xdisable; then
9282 defaultval=yes
9283 else
9284 defaultval=no
9285 fi
9286 fi
9287
9288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9289 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9290 # Check whether --enable-webkit was given.
9291 if test "${enable_webkit+set}" = set; then
9292 enableval=$enable_webkit;
9293 if test "$enableval" = yes; then
9294 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9295 else
9296 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9297 fi
9298
9299 else
9300
9301 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9302
9303 fi
9304
9305
9306 eval "$wx_cv_use_webkit"
9307
9308 if test x"$enablestring" = xdisable; then
9309 if test $wxUSE_WEBKIT = no; then
9310 result=yes
9311 else
9312 result=no
9313 fi
9314 else
9315 result=$wxUSE_WEBKIT
9316 fi
9317
9318 { echo "$as_me:$LINENO: result: $result" >&5
9319 echo "${ECHO_T}$result" >&6; }
9320
9321
9322 enablestring=
9323 defaultval=$wxUSE_ALL_FEATURES
9324 if test -z "$defaultval"; then
9325 if test x"$enablestring" = xdisable; then
9326 defaultval=yes
9327 else
9328 defaultval=no
9329 fi
9330 fi
9331
9332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9333 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9334 # Check whether --enable-richtext was given.
9335 if test "${enable_richtext+set}" = set; then
9336 enableval=$enable_richtext;
9337 if test "$enableval" = yes; then
9338 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9339 else
9340 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9341 fi
9342
9343 else
9344
9345 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9346
9347 fi
9348
9349
9350 eval "$wx_cv_use_richtext"
9351
9352 if test x"$enablestring" = xdisable; then
9353 if test $wxUSE_RICHTEXT = no; then
9354 result=yes
9355 else
9356 result=no
9357 fi
9358 else
9359 result=$wxUSE_RICHTEXT
9360 fi
9361
9362 { echo "$as_me:$LINENO: result: $result" >&5
9363 echo "${ECHO_T}$result" >&6; }
9364
9365
9366 enablestring=
9367 defaultval=$wxUSE_ALL_FEATURES
9368 if test -z "$defaultval"; then
9369 if test x"$enablestring" = xdisable; then
9370 defaultval=yes
9371 else
9372 defaultval=no
9373 fi
9374 fi
9375
9376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9377 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9378 # Check whether --enable-postscript was given.
9379 if test "${enable_postscript+set}" = set; then
9380 enableval=$enable_postscript;
9381 if test "$enableval" = yes; then
9382 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9383 else
9384 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9385 fi
9386
9387 else
9388
9389 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9390
9391 fi
9392
9393
9394 eval "$wx_cv_use_postscript"
9395
9396 if test x"$enablestring" = xdisable; then
9397 if test $wxUSE_POSTSCRIPT = no; then
9398 result=yes
9399 else
9400 result=no
9401 fi
9402 else
9403 result=$wxUSE_POSTSCRIPT
9404 fi
9405
9406 { echo "$as_me:$LINENO: result: $result" >&5
9407 echo "${ECHO_T}$result" >&6; }
9408
9409
9410 enablestring=
9411 defaultval=$wxUSE_ALL_FEATURES
9412 if test -z "$defaultval"; then
9413 if test x"$enablestring" = xdisable; then
9414 defaultval=yes
9415 else
9416 defaultval=no
9417 fi
9418 fi
9419
9420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9421 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9422 # Check whether --enable-printarch was given.
9423 if test "${enable_printarch+set}" = set; then
9424 enableval=$enable_printarch;
9425 if test "$enableval" = yes; then
9426 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9427 else
9428 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9429 fi
9430
9431 else
9432
9433 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9434
9435 fi
9436
9437
9438 eval "$wx_cv_use_printarch"
9439
9440 if test x"$enablestring" = xdisable; then
9441 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9442 result=yes
9443 else
9444 result=no
9445 fi
9446 else
9447 result=$wxUSE_PRINTING_ARCHITECTURE
9448 fi
9449
9450 { echo "$as_me:$LINENO: result: $result" >&5
9451 echo "${ECHO_T}$result" >&6; }
9452
9453
9454 enablestring=
9455 defaultval=$wxUSE_ALL_FEATURES
9456 if test -z "$defaultval"; then
9457 if test x"$enablestring" = xdisable; then
9458 defaultval=yes
9459 else
9460 defaultval=no
9461 fi
9462 fi
9463
9464 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9465 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9466 # Check whether --enable-svg was given.
9467 if test "${enable_svg+set}" = set; then
9468 enableval=$enable_svg;
9469 if test "$enableval" = yes; then
9470 wx_cv_use_svg='wxUSE_SVG=yes'
9471 else
9472 wx_cv_use_svg='wxUSE_SVG=no'
9473 fi
9474
9475 else
9476
9477 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9478
9479 fi
9480
9481
9482 eval "$wx_cv_use_svg"
9483
9484 if test x"$enablestring" = xdisable; then
9485 if test $wxUSE_SVG = no; then
9486 result=yes
9487 else
9488 result=no
9489 fi
9490 else
9491 result=$wxUSE_SVG
9492 fi
9493
9494 { echo "$as_me:$LINENO: result: $result" >&5
9495 echo "${ECHO_T}$result" >&6; }
9496
9497
9498 if test "$wxUSE_MAC" != 1; then
9499
9500 enablestring=
9501 defaultval=$wxUSE_ALL_FEATURES
9502 if test -z "$defaultval"; then
9503 if test x"$enablestring" = xdisable; then
9504 defaultval=yes
9505 else
9506 defaultval=no
9507 fi
9508 fi
9509
9510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9511 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9512 # Check whether --enable-graphics_ctx was given.
9513 if test "${enable_graphics_ctx+set}" = set; then
9514 enableval=$enable_graphics_ctx;
9515 if test "$enableval" = yes; then
9516 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9517 else
9518 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9519 fi
9520
9521 else
9522
9523 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9524
9525 fi
9526
9527
9528 eval "$wx_cv_use_graphics_ctx"
9529
9530 if test x"$enablestring" = xdisable; then
9531 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9532 result=yes
9533 else
9534 result=no
9535 fi
9536 else
9537 result=$wxUSE_GRAPHICS_CONTEXT
9538 fi
9539
9540 { echo "$as_me:$LINENO: result: $result" >&5
9541 echo "${ECHO_T}$result" >&6; }
9542
9543 fi
9544
9545
9546
9547 enablestring=
9548 defaultval=$wxUSE_ALL_FEATURES
9549 if test -z "$defaultval"; then
9550 if test x"$enablestring" = xdisable; then
9551 defaultval=yes
9552 else
9553 defaultval=no
9554 fi
9555 fi
9556
9557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9558 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9559 # Check whether --enable-clipboard was given.
9560 if test "${enable_clipboard+set}" = set; then
9561 enableval=$enable_clipboard;
9562 if test "$enableval" = yes; then
9563 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9564 else
9565 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9566 fi
9567
9568 else
9569
9570 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9571
9572 fi
9573
9574
9575 eval "$wx_cv_use_clipboard"
9576
9577 if test x"$enablestring" = xdisable; then
9578 if test $wxUSE_CLIPBOARD = no; then
9579 result=yes
9580 else
9581 result=no
9582 fi
9583 else
9584 result=$wxUSE_CLIPBOARD
9585 fi
9586
9587 { echo "$as_me:$LINENO: result: $result" >&5
9588 echo "${ECHO_T}$result" >&6; }
9589
9590
9591 enablestring=
9592 defaultval=$wxUSE_ALL_FEATURES
9593 if test -z "$defaultval"; then
9594 if test x"$enablestring" = xdisable; then
9595 defaultval=yes
9596 else
9597 defaultval=no
9598 fi
9599 fi
9600
9601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9602 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9603 # Check whether --enable-dnd was given.
9604 if test "${enable_dnd+set}" = set; then
9605 enableval=$enable_dnd;
9606 if test "$enableval" = yes; then
9607 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9608 else
9609 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9610 fi
9611
9612 else
9613
9614 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9615
9616 fi
9617
9618
9619 eval "$wx_cv_use_dnd"
9620
9621 if test x"$enablestring" = xdisable; then
9622 if test $wxUSE_DRAG_AND_DROP = no; then
9623 result=yes
9624 else
9625 result=no
9626 fi
9627 else
9628 result=$wxUSE_DRAG_AND_DROP
9629 fi
9630
9631 { echo "$as_me:$LINENO: result: $result" >&5
9632 echo "${ECHO_T}$result" >&6; }
9633
9634
9635 enablestring=
9636 defaultval=$wxUSE_ALL_FEATURES
9637 if test -z "$defaultval"; then
9638 if test x"$enablestring" = xdisable; then
9639 defaultval=yes
9640 else
9641 defaultval=no
9642 fi
9643 fi
9644
9645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9646 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9647 # Check whether --enable-metafile was given.
9648 if test "${enable_metafile+set}" = set; then
9649 enableval=$enable_metafile;
9650 if test "$enableval" = yes; then
9651 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9652 else
9653 wx_cv_use_metafile='wxUSE_METAFILE=no'
9654 fi
9655
9656 else
9657
9658 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9659
9660 fi
9661
9662
9663 eval "$wx_cv_use_metafile"
9664
9665 if test x"$enablestring" = xdisable; then
9666 if test $wxUSE_METAFILE = no; then
9667 result=yes
9668 else
9669 result=no
9670 fi
9671 else
9672 result=$wxUSE_METAFILE
9673 fi
9674
9675 { echo "$as_me:$LINENO: result: $result" >&5
9676 echo "${ECHO_T}$result" >&6; }
9677
9678
9679
9680 DEFAULT_wxUSE_CONTROLS=none
9681
9682 enablestring=disable
9683 defaultval=
9684 if test -z "$defaultval"; then
9685 if test x"$enablestring" = xdisable; then
9686 defaultval=yes
9687 else
9688 defaultval=no
9689 fi
9690 fi
9691
9692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9693 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9694 # Check whether --enable-controls was given.
9695 if test "${enable_controls+set}" = set; then
9696 enableval=$enable_controls;
9697 if test "$enableval" = yes; then
9698 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9699 else
9700 wx_cv_use_controls='wxUSE_CONTROLS=no'
9701 fi
9702
9703 else
9704
9705 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9706
9707 fi
9708
9709
9710 eval "$wx_cv_use_controls"
9711
9712 if test x"$enablestring" = xdisable; then
9713 if test $wxUSE_CONTROLS = no; then
9714 result=yes
9715 else
9716 result=no
9717 fi
9718 else
9719 result=$wxUSE_CONTROLS
9720 fi
9721
9722 { echo "$as_me:$LINENO: result: $result" >&5
9723 echo "${ECHO_T}$result" >&6; }
9724
9725
9726 if test "$wxUSE_CONTROLS" = "no"; then
9727 DEFAULT_wxUSE_ACCEL=no
9728 DEFAULT_wxUSE_ANIMATIONCTRL=no
9729 DEFAULT_wxUSE_BMPBUTTON=no
9730 DEFAULT_wxUSE_BUTTON=no
9731 DEFAULT_wxUSE_CALCTRL=no
9732 DEFAULT_wxUSE_CARET=no
9733 DEFAULT_wxUSE_CHECKBOX=no
9734 DEFAULT_wxUSE_CHECKLISTBOX=no
9735 DEFAULT_wxUSE_CHOICE=no
9736 DEFAULT_wxUSE_CHOICEBOOK=no
9737 DEFAULT_wxUSE_COLLPANE=no
9738 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9739 DEFAULT_wxUSE_COMBOBOX=no
9740 DEFAULT_wxUSE_COMBOBOX=no
9741 DEFAULT_wxUSE_DATAVIEWCTRL=no
9742 DEFAULT_wxUSE_DATEPICKCTRL=no
9743 DEFAULT_wxUSE_DETECT_SM=no
9744 DEFAULT_wxUSE_DIRPICKERCTRL=no
9745 DEFAULT_wxUSE_DISPLAY=no
9746 DEFAULT_wxUSE_FILECTRL=no
9747 DEFAULT_wxUSE_FILEPICKERCTRL=no
9748 DEFAULT_wxUSE_FONTPICKERCTRL=no
9749 DEFAULT_wxUSE_GAUGE=no
9750 DEFAULT_wxUSE_GRID=no
9751 DEFAULT_wxUSE_HEADERCTRL=no
9752 DEFAULT_wxUSE_HYPERLINKCTRL=no
9753 DEFAULT_wxUSE_IMAGLIST=no
9754 DEFAULT_wxUSE_LISTBOOK=no
9755 DEFAULT_wxUSE_LISTBOX=no
9756 DEFAULT_wxUSE_LISTCTRL=no
9757 DEFAULT_wxUSE_NOTEBOOK=no
9758 DEFAULT_wxUSE_POPUPWIN=no
9759 DEFAULT_wxUSE_RADIOBOX=no
9760 DEFAULT_wxUSE_RADIOBTN=no
9761 DEFAULT_wxUSE_REARRANGECTRL=no
9762 DEFAULT_wxUSE_SASH=no
9763 DEFAULT_wxUSE_SCROLLBAR=no
9764 DEFAULT_wxUSE_SEARCHCTRL=no
9765 DEFAULT_wxUSE_SLIDER=no
9766 DEFAULT_wxUSE_SPINBTN=no
9767 DEFAULT_wxUSE_SPINCTRL=no
9768 DEFAULT_wxUSE_SPLITTER=no
9769 DEFAULT_wxUSE_STATBMP=no
9770 DEFAULT_wxUSE_STATBOX=no
9771 DEFAULT_wxUSE_STATLINE=no
9772 DEFAULT_wxUSE_STATUSBAR=no
9773 DEFAULT_wxUSE_TIPWINDOW=no
9774 DEFAULT_wxUSE_TOGGLEBTN=no
9775 DEFAULT_wxUSE_TOOLBAR=no
9776 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9777 DEFAULT_wxUSE_TOOLBOOK=no
9778 DEFAULT_wxUSE_TOOLTIPS=no
9779 DEFAULT_wxUSE_TREEBOOK=no
9780 DEFAULT_wxUSE_TREECTRL=no
9781 fi
9782
9783
9784 enablestring=
9785 defaultval=$wxUSE_ALL_FEATURES
9786 if test -z "$defaultval"; then
9787 if test x"$enablestring" = xdisable; then
9788 defaultval=yes
9789 else
9790 defaultval=no
9791 fi
9792 fi
9793
9794 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9795 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9796 # Check whether --enable-accel was given.
9797 if test "${enable_accel+set}" = set; then
9798 enableval=$enable_accel;
9799 if test "$enableval" = yes; then
9800 wx_cv_use_accel='wxUSE_ACCEL=yes'
9801 else
9802 wx_cv_use_accel='wxUSE_ACCEL=no'
9803 fi
9804
9805 else
9806
9807 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9808
9809 fi
9810
9811
9812 eval "$wx_cv_use_accel"
9813
9814 if test x"$enablestring" = xdisable; then
9815 if test $wxUSE_ACCEL = no; then
9816 result=yes
9817 else
9818 result=no
9819 fi
9820 else
9821 result=$wxUSE_ACCEL
9822 fi
9823
9824 { echo "$as_me:$LINENO: result: $result" >&5
9825 echo "${ECHO_T}$result" >&6; }
9826
9827
9828 enablestring=
9829 defaultval=$wxUSE_ALL_FEATURES
9830 if test -z "$defaultval"; then
9831 if test x"$enablestring" = xdisable; then
9832 defaultval=yes
9833 else
9834 defaultval=no
9835 fi
9836 fi
9837
9838 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9839 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9840 # Check whether --enable-animatectrl was given.
9841 if test "${enable_animatectrl+set}" = set; then
9842 enableval=$enable_animatectrl;
9843 if test "$enableval" = yes; then
9844 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9845 else
9846 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9847 fi
9848
9849 else
9850
9851 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9852
9853 fi
9854
9855
9856 eval "$wx_cv_use_animatectrl"
9857
9858 if test x"$enablestring" = xdisable; then
9859 if test $wxUSE_ANIMATIONCTRL = no; then
9860 result=yes
9861 else
9862 result=no
9863 fi
9864 else
9865 result=$wxUSE_ANIMATIONCTRL
9866 fi
9867
9868 { echo "$as_me:$LINENO: result: $result" >&5
9869 echo "${ECHO_T}$result" >&6; }
9870
9871
9872 enablestring=
9873 defaultval=$wxUSE_ALL_FEATURES
9874 if test -z "$defaultval"; then
9875 if test x"$enablestring" = xdisable; then
9876 defaultval=yes
9877 else
9878 defaultval=no
9879 fi
9880 fi
9881
9882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9883 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9884 # Check whether --enable-bmpbutton was given.
9885 if test "${enable_bmpbutton+set}" = set; then
9886 enableval=$enable_bmpbutton;
9887 if test "$enableval" = yes; then
9888 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9889 else
9890 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9891 fi
9892
9893 else
9894
9895 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9896
9897 fi
9898
9899
9900 eval "$wx_cv_use_bmpbutton"
9901
9902 if test x"$enablestring" = xdisable; then
9903 if test $wxUSE_BMPBUTTON = no; then
9904 result=yes
9905 else
9906 result=no
9907 fi
9908 else
9909 result=$wxUSE_BMPBUTTON
9910 fi
9911
9912 { echo "$as_me:$LINENO: result: $result" >&5
9913 echo "${ECHO_T}$result" >&6; }
9914
9915
9916 enablestring=
9917 defaultval=$wxUSE_ALL_FEATURES
9918 if test -z "$defaultval"; then
9919 if test x"$enablestring" = xdisable; then
9920 defaultval=yes
9921 else
9922 defaultval=no
9923 fi
9924 fi
9925
9926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9927 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9928 # Check whether --enable-bmpcombobox was given.
9929 if test "${enable_bmpcombobox+set}" = set; then
9930 enableval=$enable_bmpcombobox;
9931 if test "$enableval" = yes; then
9932 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9933 else
9934 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9935 fi
9936
9937 else
9938
9939 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9940
9941 fi
9942
9943
9944 eval "$wx_cv_use_bmpcombobox"
9945
9946 if test x"$enablestring" = xdisable; then
9947 if test $wxUSE_BITMAPCOMBOBOX = no; then
9948 result=yes
9949 else
9950 result=no
9951 fi
9952 else
9953 result=$wxUSE_BITMAPCOMBOBOX
9954 fi
9955
9956 { echo "$as_me:$LINENO: result: $result" >&5
9957 echo "${ECHO_T}$result" >&6; }
9958
9959
9960 enablestring=
9961 defaultval=$wxUSE_ALL_FEATURES
9962 if test -z "$defaultval"; then
9963 if test x"$enablestring" = xdisable; then
9964 defaultval=yes
9965 else
9966 defaultval=no
9967 fi
9968 fi
9969
9970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9971 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9972 # Check whether --enable-button was given.
9973 if test "${enable_button+set}" = set; then
9974 enableval=$enable_button;
9975 if test "$enableval" = yes; then
9976 wx_cv_use_button='wxUSE_BUTTON=yes'
9977 else
9978 wx_cv_use_button='wxUSE_BUTTON=no'
9979 fi
9980
9981 else
9982
9983 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9984
9985 fi
9986
9987
9988 eval "$wx_cv_use_button"
9989
9990 if test x"$enablestring" = xdisable; then
9991 if test $wxUSE_BUTTON = no; then
9992 result=yes
9993 else
9994 result=no
9995 fi
9996 else
9997 result=$wxUSE_BUTTON
9998 fi
9999
10000 { echo "$as_me:$LINENO: result: $result" >&5
10001 echo "${ECHO_T}$result" >&6; }
10002
10003
10004 enablestring=
10005 defaultval=$wxUSE_ALL_FEATURES
10006 if test -z "$defaultval"; then
10007 if test x"$enablestring" = xdisable; then
10008 defaultval=yes
10009 else
10010 defaultval=no
10011 fi
10012 fi
10013
10014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10015 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10016 # Check whether --enable-calendar was given.
10017 if test "${enable_calendar+set}" = set; then
10018 enableval=$enable_calendar;
10019 if test "$enableval" = yes; then
10020 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10021 else
10022 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10023 fi
10024
10025 else
10026
10027 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10028
10029 fi
10030
10031
10032 eval "$wx_cv_use_calendar"
10033
10034 if test x"$enablestring" = xdisable; then
10035 if test $wxUSE_CALCTRL = no; then
10036 result=yes
10037 else
10038 result=no
10039 fi
10040 else
10041 result=$wxUSE_CALCTRL
10042 fi
10043
10044 { echo "$as_me:$LINENO: result: $result" >&5
10045 echo "${ECHO_T}$result" >&6; }
10046
10047
10048 enablestring=
10049 defaultval=$wxUSE_ALL_FEATURES
10050 if test -z "$defaultval"; then
10051 if test x"$enablestring" = xdisable; then
10052 defaultval=yes
10053 else
10054 defaultval=no
10055 fi
10056 fi
10057
10058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10059 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10060 # Check whether --enable-caret was given.
10061 if test "${enable_caret+set}" = set; then
10062 enableval=$enable_caret;
10063 if test "$enableval" = yes; then
10064 wx_cv_use_caret='wxUSE_CARET=yes'
10065 else
10066 wx_cv_use_caret='wxUSE_CARET=no'
10067 fi
10068
10069 else
10070
10071 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10072
10073 fi
10074
10075
10076 eval "$wx_cv_use_caret"
10077
10078 if test x"$enablestring" = xdisable; then
10079 if test $wxUSE_CARET = no; then
10080 result=yes
10081 else
10082 result=no
10083 fi
10084 else
10085 result=$wxUSE_CARET
10086 fi
10087
10088 { echo "$as_me:$LINENO: result: $result" >&5
10089 echo "${ECHO_T}$result" >&6; }
10090
10091
10092 enablestring=
10093 defaultval=$wxUSE_ALL_FEATURES
10094 if test -z "$defaultval"; then
10095 if test x"$enablestring" = xdisable; then
10096 defaultval=yes
10097 else
10098 defaultval=no
10099 fi
10100 fi
10101
10102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10103 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10104 # Check whether --enable-checkbox was given.
10105 if test "${enable_checkbox+set}" = set; then
10106 enableval=$enable_checkbox;
10107 if test "$enableval" = yes; then
10108 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10109 else
10110 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10111 fi
10112
10113 else
10114
10115 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10116
10117 fi
10118
10119
10120 eval "$wx_cv_use_checkbox"
10121
10122 if test x"$enablestring" = xdisable; then
10123 if test $wxUSE_CHECKBOX = no; then
10124 result=yes
10125 else
10126 result=no
10127 fi
10128 else
10129 result=$wxUSE_CHECKBOX
10130 fi
10131
10132 { echo "$as_me:$LINENO: result: $result" >&5
10133 echo "${ECHO_T}$result" >&6; }
10134
10135
10136 enablestring=
10137 defaultval=$wxUSE_ALL_FEATURES
10138 if test -z "$defaultval"; then
10139 if test x"$enablestring" = xdisable; then
10140 defaultval=yes
10141 else
10142 defaultval=no
10143 fi
10144 fi
10145
10146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10147 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10148 # Check whether --enable-checklst was given.
10149 if test "${enable_checklst+set}" = set; then
10150 enableval=$enable_checklst;
10151 if test "$enableval" = yes; then
10152 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10153 else
10154 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10155 fi
10156
10157 else
10158
10159 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10160
10161 fi
10162
10163
10164 eval "$wx_cv_use_checklst"
10165
10166 if test x"$enablestring" = xdisable; then
10167 if test $wxUSE_CHECKLST = no; then
10168 result=yes
10169 else
10170 result=no
10171 fi
10172 else
10173 result=$wxUSE_CHECKLST
10174 fi
10175
10176 { echo "$as_me:$LINENO: result: $result" >&5
10177 echo "${ECHO_T}$result" >&6; }
10178
10179
10180 enablestring=
10181 defaultval=$wxUSE_ALL_FEATURES
10182 if test -z "$defaultval"; then
10183 if test x"$enablestring" = xdisable; then
10184 defaultval=yes
10185 else
10186 defaultval=no
10187 fi
10188 fi
10189
10190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10191 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10192 # Check whether --enable-choice was given.
10193 if test "${enable_choice+set}" = set; then
10194 enableval=$enable_choice;
10195 if test "$enableval" = yes; then
10196 wx_cv_use_choice='wxUSE_CHOICE=yes'
10197 else
10198 wx_cv_use_choice='wxUSE_CHOICE=no'
10199 fi
10200
10201 else
10202
10203 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10204
10205 fi
10206
10207
10208 eval "$wx_cv_use_choice"
10209
10210 if test x"$enablestring" = xdisable; then
10211 if test $wxUSE_CHOICE = no; then
10212 result=yes
10213 else
10214 result=no
10215 fi
10216 else
10217 result=$wxUSE_CHOICE
10218 fi
10219
10220 { echo "$as_me:$LINENO: result: $result" >&5
10221 echo "${ECHO_T}$result" >&6; }
10222
10223
10224 enablestring=
10225 defaultval=$wxUSE_ALL_FEATURES
10226 if test -z "$defaultval"; then
10227 if test x"$enablestring" = xdisable; then
10228 defaultval=yes
10229 else
10230 defaultval=no
10231 fi
10232 fi
10233
10234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10235 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10236 # Check whether --enable-choicebook was given.
10237 if test "${enable_choicebook+set}" = set; then
10238 enableval=$enable_choicebook;
10239 if test "$enableval" = yes; then
10240 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10241 else
10242 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10243 fi
10244
10245 else
10246
10247 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10248
10249 fi
10250
10251
10252 eval "$wx_cv_use_choicebook"
10253
10254 if test x"$enablestring" = xdisable; then
10255 if test $wxUSE_CHOICEBOOK = no; then
10256 result=yes
10257 else
10258 result=no
10259 fi
10260 else
10261 result=$wxUSE_CHOICEBOOK
10262 fi
10263
10264 { echo "$as_me:$LINENO: result: $result" >&5
10265 echo "${ECHO_T}$result" >&6; }
10266
10267
10268 enablestring=
10269 defaultval=$wxUSE_ALL_FEATURES
10270 if test -z "$defaultval"; then
10271 if test x"$enablestring" = xdisable; then
10272 defaultval=yes
10273 else
10274 defaultval=no
10275 fi
10276 fi
10277
10278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10279 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10280 # Check whether --enable-collpane was given.
10281 if test "${enable_collpane+set}" = set; then
10282 enableval=$enable_collpane;
10283 if test "$enableval" = yes; then
10284 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10285 else
10286 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10287 fi
10288
10289 else
10290
10291 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10292
10293 fi
10294
10295
10296 eval "$wx_cv_use_collpane"
10297
10298 if test x"$enablestring" = xdisable; then
10299 if test $wxUSE_COLLPANE = no; then
10300 result=yes
10301 else
10302 result=no
10303 fi
10304 else
10305 result=$wxUSE_COLLPANE
10306 fi
10307
10308 { echo "$as_me:$LINENO: result: $result" >&5
10309 echo "${ECHO_T}$result" >&6; }
10310
10311
10312 enablestring=
10313 defaultval=$wxUSE_ALL_FEATURES
10314 if test -z "$defaultval"; then
10315 if test x"$enablestring" = xdisable; then
10316 defaultval=yes
10317 else
10318 defaultval=no
10319 fi
10320 fi
10321
10322 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10323 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10324 # Check whether --enable-colourpicker was given.
10325 if test "${enable_colourpicker+set}" = set; then
10326 enableval=$enable_colourpicker;
10327 if test "$enableval" = yes; then
10328 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10329 else
10330 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10331 fi
10332
10333 else
10334
10335 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10336
10337 fi
10338
10339
10340 eval "$wx_cv_use_colourpicker"
10341
10342 if test x"$enablestring" = xdisable; then
10343 if test $wxUSE_COLOURPICKERCTRL = no; then
10344 result=yes
10345 else
10346 result=no
10347 fi
10348 else
10349 result=$wxUSE_COLOURPICKERCTRL
10350 fi
10351
10352 { echo "$as_me:$LINENO: result: $result" >&5
10353 echo "${ECHO_T}$result" >&6; }
10354
10355
10356 enablestring=
10357 defaultval=$wxUSE_ALL_FEATURES
10358 if test -z "$defaultval"; then
10359 if test x"$enablestring" = xdisable; then
10360 defaultval=yes
10361 else
10362 defaultval=no
10363 fi
10364 fi
10365
10366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10367 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10368 # Check whether --enable-combobox was given.
10369 if test "${enable_combobox+set}" = set; then
10370 enableval=$enable_combobox;
10371 if test "$enableval" = yes; then
10372 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10373 else
10374 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10375 fi
10376
10377 else
10378
10379 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10380
10381 fi
10382
10383
10384 eval "$wx_cv_use_combobox"
10385
10386 if test x"$enablestring" = xdisable; then
10387 if test $wxUSE_COMBOBOX = no; then
10388 result=yes
10389 else
10390 result=no
10391 fi
10392 else
10393 result=$wxUSE_COMBOBOX
10394 fi
10395
10396 { echo "$as_me:$LINENO: result: $result" >&5
10397 echo "${ECHO_T}$result" >&6; }
10398
10399
10400 enablestring=
10401 defaultval=$wxUSE_ALL_FEATURES
10402 if test -z "$defaultval"; then
10403 if test x"$enablestring" = xdisable; then
10404 defaultval=yes
10405 else
10406 defaultval=no
10407 fi
10408 fi
10409
10410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10411 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10412 # Check whether --enable-comboctrl was given.
10413 if test "${enable_comboctrl+set}" = set; then
10414 enableval=$enable_comboctrl;
10415 if test "$enableval" = yes; then
10416 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10417 else
10418 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10419 fi
10420
10421 else
10422
10423 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10424
10425 fi
10426
10427
10428 eval "$wx_cv_use_comboctrl"
10429
10430 if test x"$enablestring" = xdisable; then
10431 if test $wxUSE_COMBOCTRL = no; then
10432 result=yes
10433 else
10434 result=no
10435 fi
10436 else
10437 result=$wxUSE_COMBOCTRL
10438 fi
10439
10440 { echo "$as_me:$LINENO: result: $result" >&5
10441 echo "${ECHO_T}$result" >&6; }
10442
10443
10444 enablestring=
10445 defaultval=$wxUSE_ALL_FEATURES
10446 if test -z "$defaultval"; then
10447 if test x"$enablestring" = xdisable; then
10448 defaultval=yes
10449 else
10450 defaultval=no
10451 fi
10452 fi
10453
10454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10455 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10456 # Check whether --enable-dataviewctrl was given.
10457 if test "${enable_dataviewctrl+set}" = set; then
10458 enableval=$enable_dataviewctrl;
10459 if test "$enableval" = yes; then
10460 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10461 else
10462 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10463 fi
10464
10465 else
10466
10467 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10468
10469 fi
10470
10471
10472 eval "$wx_cv_use_dataviewctrl"
10473
10474 if test x"$enablestring" = xdisable; then
10475 if test $wxUSE_DATAVIEWCTRL = no; then
10476 result=yes
10477 else
10478 result=no
10479 fi
10480 else
10481 result=$wxUSE_DATAVIEWCTRL
10482 fi
10483
10484 { echo "$as_me:$LINENO: result: $result" >&5
10485 echo "${ECHO_T}$result" >&6; }
10486
10487
10488 enablestring=
10489 defaultval=$wxUSE_ALL_FEATURES
10490 if test -z "$defaultval"; then
10491 if test x"$enablestring" = xdisable; then
10492 defaultval=yes
10493 else
10494 defaultval=no
10495 fi
10496 fi
10497
10498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10499 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10500 # Check whether --enable-datepick was given.
10501 if test "${enable_datepick+set}" = set; then
10502 enableval=$enable_datepick;
10503 if test "$enableval" = yes; then
10504 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10505 else
10506 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10507 fi
10508
10509 else
10510
10511 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10512
10513 fi
10514
10515
10516 eval "$wx_cv_use_datepick"
10517
10518 if test x"$enablestring" = xdisable; then
10519 if test $wxUSE_DATEPICKCTRL = no; then
10520 result=yes
10521 else
10522 result=no
10523 fi
10524 else
10525 result=$wxUSE_DATEPICKCTRL
10526 fi
10527
10528 { echo "$as_me:$LINENO: result: $result" >&5
10529 echo "${ECHO_T}$result" >&6; }
10530
10531
10532 enablestring=
10533 defaultval=$wxUSE_ALL_FEATURES
10534 if test -z "$defaultval"; then
10535 if test x"$enablestring" = xdisable; then
10536 defaultval=yes
10537 else
10538 defaultval=no
10539 fi
10540 fi
10541
10542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10543 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10544 # Check whether --enable-detect_sm was given.
10545 if test "${enable_detect_sm+set}" = set; then
10546 enableval=$enable_detect_sm;
10547 if test "$enableval" = yes; then
10548 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10549 else
10550 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10551 fi
10552
10553 else
10554
10555 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10556
10557 fi
10558
10559
10560 eval "$wx_cv_use_detect_sm"
10561
10562 if test x"$enablestring" = xdisable; then
10563 if test $wxUSE_DETECT_SM = no; then
10564 result=yes
10565 else
10566 result=no
10567 fi
10568 else
10569 result=$wxUSE_DETECT_SM
10570 fi
10571
10572 { echo "$as_me:$LINENO: result: $result" >&5
10573 echo "${ECHO_T}$result" >&6; }
10574
10575
10576 enablestring=
10577 defaultval=$wxUSE_ALL_FEATURES
10578 if test -z "$defaultval"; then
10579 if test x"$enablestring" = xdisable; then
10580 defaultval=yes
10581 else
10582 defaultval=no
10583 fi
10584 fi
10585
10586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10587 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10588 # Check whether --enable-dirpicker was given.
10589 if test "${enable_dirpicker+set}" = set; then
10590 enableval=$enable_dirpicker;
10591 if test "$enableval" = yes; then
10592 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10593 else
10594 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10595 fi
10596
10597 else
10598
10599 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10600
10601 fi
10602
10603
10604 eval "$wx_cv_use_dirpicker"
10605
10606 if test x"$enablestring" = xdisable; then
10607 if test $wxUSE_DIRPICKERCTRL = no; then
10608 result=yes
10609 else
10610 result=no
10611 fi
10612 else
10613 result=$wxUSE_DIRPICKERCTRL
10614 fi
10615
10616 { echo "$as_me:$LINENO: result: $result" >&5
10617 echo "${ECHO_T}$result" >&6; }
10618
10619
10620 enablestring=
10621 defaultval=$wxUSE_ALL_FEATURES
10622 if test -z "$defaultval"; then
10623 if test x"$enablestring" = xdisable; then
10624 defaultval=yes
10625 else
10626 defaultval=no
10627 fi
10628 fi
10629
10630 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10631 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10632 # Check whether --enable-display was given.
10633 if test "${enable_display+set}" = set; then
10634 enableval=$enable_display;
10635 if test "$enableval" = yes; then
10636 wx_cv_use_display='wxUSE_DISPLAY=yes'
10637 else
10638 wx_cv_use_display='wxUSE_DISPLAY=no'
10639 fi
10640
10641 else
10642
10643 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10644
10645 fi
10646
10647
10648 eval "$wx_cv_use_display"
10649
10650 if test x"$enablestring" = xdisable; then
10651 if test $wxUSE_DISPLAY = no; then
10652 result=yes
10653 else
10654 result=no
10655 fi
10656 else
10657 result=$wxUSE_DISPLAY
10658 fi
10659
10660 { echo "$as_me:$LINENO: result: $result" >&5
10661 echo "${ECHO_T}$result" >&6; }
10662
10663
10664 enablestring=
10665 defaultval=$wxUSE_ALL_FEATURES
10666 if test -z "$defaultval"; then
10667 if test x"$enablestring" = xdisable; then
10668 defaultval=yes
10669 else
10670 defaultval=no
10671 fi
10672 fi
10673
10674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10675 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10676 # Check whether --enable-editablebox was given.
10677 if test "${enable_editablebox+set}" = set; then
10678 enableval=$enable_editablebox;
10679 if test "$enableval" = yes; then
10680 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10681 else
10682 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10683 fi
10684
10685 else
10686
10687 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10688
10689 fi
10690
10691
10692 eval "$wx_cv_use_editablebox"
10693
10694 if test x"$enablestring" = xdisable; then
10695 if test $wxUSE_EDITABLELISTBOX = no; then
10696 result=yes
10697 else
10698 result=no
10699 fi
10700 else
10701 result=$wxUSE_EDITABLELISTBOX
10702 fi
10703
10704 { echo "$as_me:$LINENO: result: $result" >&5
10705 echo "${ECHO_T}$result" >&6; }
10706
10707
10708 enablestring=
10709 defaultval=$wxUSE_ALL_FEATURES
10710 if test -z "$defaultval"; then
10711 if test x"$enablestring" = xdisable; then
10712 defaultval=yes
10713 else
10714 defaultval=no
10715 fi
10716 fi
10717
10718 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10719 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10720 # Check whether --enable-filectrl was given.
10721 if test "${enable_filectrl+set}" = set; then
10722 enableval=$enable_filectrl;
10723 if test "$enableval" = yes; then
10724 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10725 else
10726 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10727 fi
10728
10729 else
10730
10731 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10732
10733 fi
10734
10735
10736 eval "$wx_cv_use_filectrl"
10737
10738 if test x"$enablestring" = xdisable; then
10739 if test $wxUSE_FILECTRL = no; then
10740 result=yes
10741 else
10742 result=no
10743 fi
10744 else
10745 result=$wxUSE_FILECTRL
10746 fi
10747
10748 { echo "$as_me:$LINENO: result: $result" >&5
10749 echo "${ECHO_T}$result" >&6; }
10750
10751
10752 enablestring=
10753 defaultval=$wxUSE_ALL_FEATURES
10754 if test -z "$defaultval"; then
10755 if test x"$enablestring" = xdisable; then
10756 defaultval=yes
10757 else
10758 defaultval=no
10759 fi
10760 fi
10761
10762 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10763 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10764 # Check whether --enable-filepicker was given.
10765 if test "${enable_filepicker+set}" = set; then
10766 enableval=$enable_filepicker;
10767 if test "$enableval" = yes; then
10768 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10769 else
10770 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10771 fi
10772
10773 else
10774
10775 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10776
10777 fi
10778
10779
10780 eval "$wx_cv_use_filepicker"
10781
10782 if test x"$enablestring" = xdisable; then
10783 if test $wxUSE_FILEPICKERCTRL = no; then
10784 result=yes
10785 else
10786 result=no
10787 fi
10788 else
10789 result=$wxUSE_FILEPICKERCTRL
10790 fi
10791
10792 { echo "$as_me:$LINENO: result: $result" >&5
10793 echo "${ECHO_T}$result" >&6; }
10794
10795
10796 enablestring=
10797 defaultval=$wxUSE_ALL_FEATURES
10798 if test -z "$defaultval"; then
10799 if test x"$enablestring" = xdisable; then
10800 defaultval=yes
10801 else
10802 defaultval=no
10803 fi
10804 fi
10805
10806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10807 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10808 # Check whether --enable-fontpicker was given.
10809 if test "${enable_fontpicker+set}" = set; then
10810 enableval=$enable_fontpicker;
10811 if test "$enableval" = yes; then
10812 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10813 else
10814 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10815 fi
10816
10817 else
10818
10819 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10820
10821 fi
10822
10823
10824 eval "$wx_cv_use_fontpicker"
10825
10826 if test x"$enablestring" = xdisable; then
10827 if test $wxUSE_FONTPICKERCTRL = no; then
10828 result=yes
10829 else
10830 result=no
10831 fi
10832 else
10833 result=$wxUSE_FONTPICKERCTRL
10834 fi
10835
10836 { echo "$as_me:$LINENO: result: $result" >&5
10837 echo "${ECHO_T}$result" >&6; }
10838
10839
10840 enablestring=
10841 defaultval=$wxUSE_ALL_FEATURES
10842 if test -z "$defaultval"; then
10843 if test x"$enablestring" = xdisable; then
10844 defaultval=yes
10845 else
10846 defaultval=no
10847 fi
10848 fi
10849
10850 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10851 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10852 # Check whether --enable-gauge was given.
10853 if test "${enable_gauge+set}" = set; then
10854 enableval=$enable_gauge;
10855 if test "$enableval" = yes; then
10856 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10857 else
10858 wx_cv_use_gauge='wxUSE_GAUGE=no'
10859 fi
10860
10861 else
10862
10863 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10864
10865 fi
10866
10867
10868 eval "$wx_cv_use_gauge"
10869
10870 if test x"$enablestring" = xdisable; then
10871 if test $wxUSE_GAUGE = no; then
10872 result=yes
10873 else
10874 result=no
10875 fi
10876 else
10877 result=$wxUSE_GAUGE
10878 fi
10879
10880 { echo "$as_me:$LINENO: result: $result" >&5
10881 echo "${ECHO_T}$result" >&6; }
10882
10883
10884 enablestring=
10885 defaultval=$wxUSE_ALL_FEATURES
10886 if test -z "$defaultval"; then
10887 if test x"$enablestring" = xdisable; then
10888 defaultval=yes
10889 else
10890 defaultval=no
10891 fi
10892 fi
10893
10894 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10895 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10896 # Check whether --enable-grid was given.
10897 if test "${enable_grid+set}" = set; then
10898 enableval=$enable_grid;
10899 if test "$enableval" = yes; then
10900 wx_cv_use_grid='wxUSE_GRID=yes'
10901 else
10902 wx_cv_use_grid='wxUSE_GRID=no'
10903 fi
10904
10905 else
10906
10907 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10908
10909 fi
10910
10911
10912 eval "$wx_cv_use_grid"
10913
10914 if test x"$enablestring" = xdisable; then
10915 if test $wxUSE_GRID = no; then
10916 result=yes
10917 else
10918 result=no
10919 fi
10920 else
10921 result=$wxUSE_GRID
10922 fi
10923
10924 { echo "$as_me:$LINENO: result: $result" >&5
10925 echo "${ECHO_T}$result" >&6; }
10926
10927
10928 enablestring=
10929 defaultval=$wxUSE_ALL_FEATURES
10930 if test -z "$defaultval"; then
10931 if test x"$enablestring" = xdisable; then
10932 defaultval=yes
10933 else
10934 defaultval=no
10935 fi
10936 fi
10937
10938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10939 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10940 # Check whether --enable-headerctrl was given.
10941 if test "${enable_headerctrl+set}" = set; then
10942 enableval=$enable_headerctrl;
10943 if test "$enableval" = yes; then
10944 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
10945 else
10946 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
10947 fi
10948
10949 else
10950
10951 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10952
10953 fi
10954
10955
10956 eval "$wx_cv_use_headerctrl"
10957
10958 if test x"$enablestring" = xdisable; then
10959 if test $wxUSE_HEADERCTRL = no; then
10960 result=yes
10961 else
10962 result=no
10963 fi
10964 else
10965 result=$wxUSE_HEADERCTRL
10966 fi
10967
10968 { echo "$as_me:$LINENO: result: $result" >&5
10969 echo "${ECHO_T}$result" >&6; }
10970
10971
10972 enablestring=
10973 defaultval=$wxUSE_ALL_FEATURES
10974 if test -z "$defaultval"; then
10975 if test x"$enablestring" = xdisable; then
10976 defaultval=yes
10977 else
10978 defaultval=no
10979 fi
10980 fi
10981
10982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10983 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10984 # Check whether --enable-hyperlink was given.
10985 if test "${enable_hyperlink+set}" = set; then
10986 enableval=$enable_hyperlink;
10987 if test "$enableval" = yes; then
10988 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10989 else
10990 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10991 fi
10992
10993 else
10994
10995 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10996
10997 fi
10998
10999
11000 eval "$wx_cv_use_hyperlink"
11001
11002 if test x"$enablestring" = xdisable; then
11003 if test $wxUSE_HYPERLINKCTRL = no; then
11004 result=yes
11005 else
11006 result=no
11007 fi
11008 else
11009 result=$wxUSE_HYPERLINKCTRL
11010 fi
11011
11012 { echo "$as_me:$LINENO: result: $result" >&5
11013 echo "${ECHO_T}$result" >&6; }
11014
11015
11016 enablestring=
11017 defaultval=$wxUSE_ALL_FEATURES
11018 if test -z "$defaultval"; then
11019 if test x"$enablestring" = xdisable; then
11020 defaultval=yes
11021 else
11022 defaultval=no
11023 fi
11024 fi
11025
11026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11027 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11028 # Check whether --enable-imaglist was given.
11029 if test "${enable_imaglist+set}" = set; then
11030 enableval=$enable_imaglist;
11031 if test "$enableval" = yes; then
11032 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11033 else
11034 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11035 fi
11036
11037 else
11038
11039 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11040
11041 fi
11042
11043
11044 eval "$wx_cv_use_imaglist"
11045
11046 if test x"$enablestring" = xdisable; then
11047 if test $wxUSE_IMAGLIST = no; then
11048 result=yes
11049 else
11050 result=no
11051 fi
11052 else
11053 result=$wxUSE_IMAGLIST
11054 fi
11055
11056 { echo "$as_me:$LINENO: result: $result" >&5
11057 echo "${ECHO_T}$result" >&6; }
11058
11059
11060 enablestring=
11061 defaultval=$wxUSE_ALL_FEATURES
11062 if test -z "$defaultval"; then
11063 if test x"$enablestring" = xdisable; then
11064 defaultval=yes
11065 else
11066 defaultval=no
11067 fi
11068 fi
11069
11070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11071 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11072 # Check whether --enable-infobar was given.
11073 if test "${enable_infobar+set}" = set; then
11074 enableval=$enable_infobar;
11075 if test "$enableval" = yes; then
11076 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11077 else
11078 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11079 fi
11080
11081 else
11082
11083 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11084
11085 fi
11086
11087
11088 eval "$wx_cv_use_infobar"
11089
11090 if test x"$enablestring" = xdisable; then
11091 if test $wxUSE_INFOBAR = no; then
11092 result=yes
11093 else
11094 result=no
11095 fi
11096 else
11097 result=$wxUSE_INFOBAR
11098 fi
11099
11100 { echo "$as_me:$LINENO: result: $result" >&5
11101 echo "${ECHO_T}$result" >&6; }
11102
11103
11104 enablestring=
11105 defaultval=$wxUSE_ALL_FEATURES
11106 if test -z "$defaultval"; then
11107 if test x"$enablestring" = xdisable; then
11108 defaultval=yes
11109 else
11110 defaultval=no
11111 fi
11112 fi
11113
11114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11115 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11116 # Check whether --enable-listbook was given.
11117 if test "${enable_listbook+set}" = set; then
11118 enableval=$enable_listbook;
11119 if test "$enableval" = yes; then
11120 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11121 else
11122 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11123 fi
11124
11125 else
11126
11127 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11128
11129 fi
11130
11131
11132 eval "$wx_cv_use_listbook"
11133
11134 if test x"$enablestring" = xdisable; then
11135 if test $wxUSE_LISTBOOK = no; then
11136 result=yes
11137 else
11138 result=no
11139 fi
11140 else
11141 result=$wxUSE_LISTBOOK
11142 fi
11143
11144 { echo "$as_me:$LINENO: result: $result" >&5
11145 echo "${ECHO_T}$result" >&6; }
11146
11147
11148 enablestring=
11149 defaultval=$wxUSE_ALL_FEATURES
11150 if test -z "$defaultval"; then
11151 if test x"$enablestring" = xdisable; then
11152 defaultval=yes
11153 else
11154 defaultval=no
11155 fi
11156 fi
11157
11158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11159 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11160 # Check whether --enable-listbox was given.
11161 if test "${enable_listbox+set}" = set; then
11162 enableval=$enable_listbox;
11163 if test "$enableval" = yes; then
11164 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11165 else
11166 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11167 fi
11168
11169 else
11170
11171 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11172
11173 fi
11174
11175
11176 eval "$wx_cv_use_listbox"
11177
11178 if test x"$enablestring" = xdisable; then
11179 if test $wxUSE_LISTBOX = no; then
11180 result=yes
11181 else
11182 result=no
11183 fi
11184 else
11185 result=$wxUSE_LISTBOX
11186 fi
11187
11188 { echo "$as_me:$LINENO: result: $result" >&5
11189 echo "${ECHO_T}$result" >&6; }
11190
11191
11192 enablestring=
11193 defaultval=$wxUSE_ALL_FEATURES
11194 if test -z "$defaultval"; then
11195 if test x"$enablestring" = xdisable; then
11196 defaultval=yes
11197 else
11198 defaultval=no
11199 fi
11200 fi
11201
11202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11203 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11204 # Check whether --enable-listctrl was given.
11205 if test "${enable_listctrl+set}" = set; then
11206 enableval=$enable_listctrl;
11207 if test "$enableval" = yes; then
11208 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11209 else
11210 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11211 fi
11212
11213 else
11214
11215 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11216
11217 fi
11218
11219
11220 eval "$wx_cv_use_listctrl"
11221
11222 if test x"$enablestring" = xdisable; then
11223 if test $wxUSE_LISTCTRL = no; then
11224 result=yes
11225 else
11226 result=no
11227 fi
11228 else
11229 result=$wxUSE_LISTCTRL
11230 fi
11231
11232 { echo "$as_me:$LINENO: result: $result" >&5
11233 echo "${ECHO_T}$result" >&6; }
11234
11235
11236 enablestring=
11237 defaultval=$wxUSE_ALL_FEATURES
11238 if test -z "$defaultval"; then
11239 if test x"$enablestring" = xdisable; then
11240 defaultval=yes
11241 else
11242 defaultval=no
11243 fi
11244 fi
11245
11246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11247 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11248 # Check whether --enable-notebook was given.
11249 if test "${enable_notebook+set}" = set; then
11250 enableval=$enable_notebook;
11251 if test "$enableval" = yes; then
11252 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11253 else
11254 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11255 fi
11256
11257 else
11258
11259 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11260
11261 fi
11262
11263
11264 eval "$wx_cv_use_notebook"
11265
11266 if test x"$enablestring" = xdisable; then
11267 if test $wxUSE_NOTEBOOK = no; then
11268 result=yes
11269 else
11270 result=no
11271 fi
11272 else
11273 result=$wxUSE_NOTEBOOK
11274 fi
11275
11276 { echo "$as_me:$LINENO: result: $result" >&5
11277 echo "${ECHO_T}$result" >&6; }
11278
11279
11280 enablestring=
11281 defaultval=$wxUSE_ALL_FEATURES
11282 if test -z "$defaultval"; then
11283 if test x"$enablestring" = xdisable; then
11284 defaultval=yes
11285 else
11286 defaultval=no
11287 fi
11288 fi
11289
11290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11291 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11292 # Check whether --enable-notifmsg was given.
11293 if test "${enable_notifmsg+set}" = set; then
11294 enableval=$enable_notifmsg;
11295 if test "$enableval" = yes; then
11296 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11297 else
11298 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11299 fi
11300
11301 else
11302
11303 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11304
11305 fi
11306
11307
11308 eval "$wx_cv_use_notifmsg"
11309
11310 if test x"$enablestring" = xdisable; then
11311 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11312 result=yes
11313 else
11314 result=no
11315 fi
11316 else
11317 result=$wxUSE_NOTIFICATION_MESSAGE
11318 fi
11319
11320 { echo "$as_me:$LINENO: result: $result" >&5
11321 echo "${ECHO_T}$result" >&6; }
11322
11323
11324 enablestring=
11325 defaultval=$wxUSE_ALL_FEATURES
11326 if test -z "$defaultval"; then
11327 if test x"$enablestring" = xdisable; then
11328 defaultval=yes
11329 else
11330 defaultval=no
11331 fi
11332 fi
11333
11334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11335 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11336 # Check whether --enable-odcombobox was given.
11337 if test "${enable_odcombobox+set}" = set; then
11338 enableval=$enable_odcombobox;
11339 if test "$enableval" = yes; then
11340 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11341 else
11342 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11343 fi
11344
11345 else
11346
11347 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11348
11349 fi
11350
11351
11352 eval "$wx_cv_use_odcombobox"
11353
11354 if test x"$enablestring" = xdisable; then
11355 if test $wxUSE_ODCOMBOBOX = no; then
11356 result=yes
11357 else
11358 result=no
11359 fi
11360 else
11361 result=$wxUSE_ODCOMBOBOX
11362 fi
11363
11364 { echo "$as_me:$LINENO: result: $result" >&5
11365 echo "${ECHO_T}$result" >&6; }
11366
11367
11368 enablestring=
11369 defaultval=$wxUSE_ALL_FEATURES
11370 if test -z "$defaultval"; then
11371 if test x"$enablestring" = xdisable; then
11372 defaultval=yes
11373 else
11374 defaultval=no
11375 fi
11376 fi
11377
11378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11379 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11380 # Check whether --enable-popupwin was given.
11381 if test "${enable_popupwin+set}" = set; then
11382 enableval=$enable_popupwin;
11383 if test "$enableval" = yes; then
11384 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11385 else
11386 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11387 fi
11388
11389 else
11390
11391 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11392
11393 fi
11394
11395
11396 eval "$wx_cv_use_popupwin"
11397
11398 if test x"$enablestring" = xdisable; then
11399 if test $wxUSE_POPUPWIN = no; then
11400 result=yes
11401 else
11402 result=no
11403 fi
11404 else
11405 result=$wxUSE_POPUPWIN
11406 fi
11407
11408 { echo "$as_me:$LINENO: result: $result" >&5
11409 echo "${ECHO_T}$result" >&6; }
11410
11411
11412 enablestring=
11413 defaultval=$wxUSE_ALL_FEATURES
11414 if test -z "$defaultval"; then
11415 if test x"$enablestring" = xdisable; then
11416 defaultval=yes
11417 else
11418 defaultval=no
11419 fi
11420 fi
11421
11422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11423 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11424 # Check whether --enable-radiobox was given.
11425 if test "${enable_radiobox+set}" = set; then
11426 enableval=$enable_radiobox;
11427 if test "$enableval" = yes; then
11428 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11429 else
11430 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11431 fi
11432
11433 else
11434
11435 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11436
11437 fi
11438
11439
11440 eval "$wx_cv_use_radiobox"
11441
11442 if test x"$enablestring" = xdisable; then
11443 if test $wxUSE_RADIOBOX = no; then
11444 result=yes
11445 else
11446 result=no
11447 fi
11448 else
11449 result=$wxUSE_RADIOBOX
11450 fi
11451
11452 { echo "$as_me:$LINENO: result: $result" >&5
11453 echo "${ECHO_T}$result" >&6; }
11454
11455
11456 enablestring=
11457 defaultval=$wxUSE_ALL_FEATURES
11458 if test -z "$defaultval"; then
11459 if test x"$enablestring" = xdisable; then
11460 defaultval=yes
11461 else
11462 defaultval=no
11463 fi
11464 fi
11465
11466 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11467 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11468 # Check whether --enable-radiobtn was given.
11469 if test "${enable_radiobtn+set}" = set; then
11470 enableval=$enable_radiobtn;
11471 if test "$enableval" = yes; then
11472 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11473 else
11474 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11475 fi
11476
11477 else
11478
11479 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11480
11481 fi
11482
11483
11484 eval "$wx_cv_use_radiobtn"
11485
11486 if test x"$enablestring" = xdisable; then
11487 if test $wxUSE_RADIOBTN = no; then
11488 result=yes
11489 else
11490 result=no
11491 fi
11492 else
11493 result=$wxUSE_RADIOBTN
11494 fi
11495
11496 { echo "$as_me:$LINENO: result: $result" >&5
11497 echo "${ECHO_T}$result" >&6; }
11498
11499
11500 enablestring=
11501 defaultval=$wxUSE_ALL_FEATURES
11502 if test -z "$defaultval"; then
11503 if test x"$enablestring" = xdisable; then
11504 defaultval=yes
11505 else
11506 defaultval=no
11507 fi
11508 fi
11509
11510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11511 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11512 # Check whether --enable-rearrangectrl was given.
11513 if test "${enable_rearrangectrl+set}" = set; then
11514 enableval=$enable_rearrangectrl;
11515 if test "$enableval" = yes; then
11516 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11517 else
11518 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11519 fi
11520
11521 else
11522
11523 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11524
11525 fi
11526
11527
11528 eval "$wx_cv_use_rearrangectrl"
11529
11530 if test x"$enablestring" = xdisable; then
11531 if test $wxUSE_REARRANGECTRL = no; then
11532 result=yes
11533 else
11534 result=no
11535 fi
11536 else
11537 result=$wxUSE_REARRANGECTRL
11538 fi
11539
11540 { echo "$as_me:$LINENO: result: $result" >&5
11541 echo "${ECHO_T}$result" >&6; }
11542
11543
11544 enablestring=
11545 defaultval=$wxUSE_ALL_FEATURES
11546 if test -z "$defaultval"; then
11547 if test x"$enablestring" = xdisable; then
11548 defaultval=yes
11549 else
11550 defaultval=no
11551 fi
11552 fi
11553
11554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11555 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11556 # Check whether --enable-sash was given.
11557 if test "${enable_sash+set}" = set; then
11558 enableval=$enable_sash;
11559 if test "$enableval" = yes; then
11560 wx_cv_use_sash='wxUSE_SASH=yes'
11561 else
11562 wx_cv_use_sash='wxUSE_SASH=no'
11563 fi
11564
11565 else
11566
11567 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11568
11569 fi
11570
11571
11572 eval "$wx_cv_use_sash"
11573
11574 if test x"$enablestring" = xdisable; then
11575 if test $wxUSE_SASH = no; then
11576 result=yes
11577 else
11578 result=no
11579 fi
11580 else
11581 result=$wxUSE_SASH
11582 fi
11583
11584 { echo "$as_me:$LINENO: result: $result" >&5
11585 echo "${ECHO_T}$result" >&6; }
11586
11587
11588 enablestring=
11589 defaultval=$wxUSE_ALL_FEATURES
11590 if test -z "$defaultval"; then
11591 if test x"$enablestring" = xdisable; then
11592 defaultval=yes
11593 else
11594 defaultval=no
11595 fi
11596 fi
11597
11598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11599 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11600 # Check whether --enable-scrollbar was given.
11601 if test "${enable_scrollbar+set}" = set; then
11602 enableval=$enable_scrollbar;
11603 if test "$enableval" = yes; then
11604 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11605 else
11606 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11607 fi
11608
11609 else
11610
11611 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11612
11613 fi
11614
11615
11616 eval "$wx_cv_use_scrollbar"
11617
11618 if test x"$enablestring" = xdisable; then
11619 if test $wxUSE_SCROLLBAR = no; then
11620 result=yes
11621 else
11622 result=no
11623 fi
11624 else
11625 result=$wxUSE_SCROLLBAR
11626 fi
11627
11628 { echo "$as_me:$LINENO: result: $result" >&5
11629 echo "${ECHO_T}$result" >&6; }
11630
11631
11632 enablestring=
11633 defaultval=$wxUSE_ALL_FEATURES
11634 if test -z "$defaultval"; then
11635 if test x"$enablestring" = xdisable; then
11636 defaultval=yes
11637 else
11638 defaultval=no
11639 fi
11640 fi
11641
11642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11643 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11644 # Check whether --enable-searchctrl was given.
11645 if test "${enable_searchctrl+set}" = set; then
11646 enableval=$enable_searchctrl;
11647 if test "$enableval" = yes; then
11648 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11649 else
11650 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11651 fi
11652
11653 else
11654
11655 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11656
11657 fi
11658
11659
11660 eval "$wx_cv_use_searchctrl"
11661
11662 if test x"$enablestring" = xdisable; then
11663 if test $wxUSE_SEARCHCTRL = no; then
11664 result=yes
11665 else
11666 result=no
11667 fi
11668 else
11669 result=$wxUSE_SEARCHCTRL
11670 fi
11671
11672 { echo "$as_me:$LINENO: result: $result" >&5
11673 echo "${ECHO_T}$result" >&6; }
11674
11675
11676 enablestring=
11677 defaultval=$wxUSE_ALL_FEATURES
11678 if test -z "$defaultval"; then
11679 if test x"$enablestring" = xdisable; then
11680 defaultval=yes
11681 else
11682 defaultval=no
11683 fi
11684 fi
11685
11686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11687 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11688 # Check whether --enable-slider was given.
11689 if test "${enable_slider+set}" = set; then
11690 enableval=$enable_slider;
11691 if test "$enableval" = yes; then
11692 wx_cv_use_slider='wxUSE_SLIDER=yes'
11693 else
11694 wx_cv_use_slider='wxUSE_SLIDER=no'
11695 fi
11696
11697 else
11698
11699 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11700
11701 fi
11702
11703
11704 eval "$wx_cv_use_slider"
11705
11706 if test x"$enablestring" = xdisable; then
11707 if test $wxUSE_SLIDER = no; then
11708 result=yes
11709 else
11710 result=no
11711 fi
11712 else
11713 result=$wxUSE_SLIDER
11714 fi
11715
11716 { echo "$as_me:$LINENO: result: $result" >&5
11717 echo "${ECHO_T}$result" >&6; }
11718
11719
11720 enablestring=
11721 defaultval=$wxUSE_ALL_FEATURES
11722 if test -z "$defaultval"; then
11723 if test x"$enablestring" = xdisable; then
11724 defaultval=yes
11725 else
11726 defaultval=no
11727 fi
11728 fi
11729
11730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11731 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11732 # Check whether --enable-spinbtn was given.
11733 if test "${enable_spinbtn+set}" = set; then
11734 enableval=$enable_spinbtn;
11735 if test "$enableval" = yes; then
11736 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11737 else
11738 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11739 fi
11740
11741 else
11742
11743 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11744
11745 fi
11746
11747
11748 eval "$wx_cv_use_spinbtn"
11749
11750 if test x"$enablestring" = xdisable; then
11751 if test $wxUSE_SPINBTN = no; then
11752 result=yes
11753 else
11754 result=no
11755 fi
11756 else
11757 result=$wxUSE_SPINBTN
11758 fi
11759
11760 { echo "$as_me:$LINENO: result: $result" >&5
11761 echo "${ECHO_T}$result" >&6; }
11762
11763
11764 enablestring=
11765 defaultval=$wxUSE_ALL_FEATURES
11766 if test -z "$defaultval"; then
11767 if test x"$enablestring" = xdisable; then
11768 defaultval=yes
11769 else
11770 defaultval=no
11771 fi
11772 fi
11773
11774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11775 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11776 # Check whether --enable-spinctrl was given.
11777 if test "${enable_spinctrl+set}" = set; then
11778 enableval=$enable_spinctrl;
11779 if test "$enableval" = yes; then
11780 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11781 else
11782 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11783 fi
11784
11785 else
11786
11787 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11788
11789 fi
11790
11791
11792 eval "$wx_cv_use_spinctrl"
11793
11794 if test x"$enablestring" = xdisable; then
11795 if test $wxUSE_SPINCTRL = no; then
11796 result=yes
11797 else
11798 result=no
11799 fi
11800 else
11801 result=$wxUSE_SPINCTRL
11802 fi
11803
11804 { echo "$as_me:$LINENO: result: $result" >&5
11805 echo "${ECHO_T}$result" >&6; }
11806
11807
11808 enablestring=
11809 defaultval=$wxUSE_ALL_FEATURES
11810 if test -z "$defaultval"; then
11811 if test x"$enablestring" = xdisable; then
11812 defaultval=yes
11813 else
11814 defaultval=no
11815 fi
11816 fi
11817
11818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11819 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11820 # Check whether --enable-splitter was given.
11821 if test "${enable_splitter+set}" = set; then
11822 enableval=$enable_splitter;
11823 if test "$enableval" = yes; then
11824 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11825 else
11826 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11827 fi
11828
11829 else
11830
11831 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11832
11833 fi
11834
11835
11836 eval "$wx_cv_use_splitter"
11837
11838 if test x"$enablestring" = xdisable; then
11839 if test $wxUSE_SPLITTER = no; then
11840 result=yes
11841 else
11842 result=no
11843 fi
11844 else
11845 result=$wxUSE_SPLITTER
11846 fi
11847
11848 { echo "$as_me:$LINENO: result: $result" >&5
11849 echo "${ECHO_T}$result" >&6; }
11850
11851
11852 enablestring=
11853 defaultval=$wxUSE_ALL_FEATURES
11854 if test -z "$defaultval"; then
11855 if test x"$enablestring" = xdisable; then
11856 defaultval=yes
11857 else
11858 defaultval=no
11859 fi
11860 fi
11861
11862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11863 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11864 # Check whether --enable-statbmp was given.
11865 if test "${enable_statbmp+set}" = set; then
11866 enableval=$enable_statbmp;
11867 if test "$enableval" = yes; then
11868 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11869 else
11870 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11871 fi
11872
11873 else
11874
11875 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11876
11877 fi
11878
11879
11880 eval "$wx_cv_use_statbmp"
11881
11882 if test x"$enablestring" = xdisable; then
11883 if test $wxUSE_STATBMP = no; then
11884 result=yes
11885 else
11886 result=no
11887 fi
11888 else
11889 result=$wxUSE_STATBMP
11890 fi
11891
11892 { echo "$as_me:$LINENO: result: $result" >&5
11893 echo "${ECHO_T}$result" >&6; }
11894
11895
11896 enablestring=
11897 defaultval=$wxUSE_ALL_FEATURES
11898 if test -z "$defaultval"; then
11899 if test x"$enablestring" = xdisable; then
11900 defaultval=yes
11901 else
11902 defaultval=no
11903 fi
11904 fi
11905
11906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11907 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11908 # Check whether --enable-statbox was given.
11909 if test "${enable_statbox+set}" = set; then
11910 enableval=$enable_statbox;
11911 if test "$enableval" = yes; then
11912 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11913 else
11914 wx_cv_use_statbox='wxUSE_STATBOX=no'
11915 fi
11916
11917 else
11918
11919 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11920
11921 fi
11922
11923
11924 eval "$wx_cv_use_statbox"
11925
11926 if test x"$enablestring" = xdisable; then
11927 if test $wxUSE_STATBOX = no; then
11928 result=yes
11929 else
11930 result=no
11931 fi
11932 else
11933 result=$wxUSE_STATBOX
11934 fi
11935
11936 { echo "$as_me:$LINENO: result: $result" >&5
11937 echo "${ECHO_T}$result" >&6; }
11938
11939
11940 enablestring=
11941 defaultval=$wxUSE_ALL_FEATURES
11942 if test -z "$defaultval"; then
11943 if test x"$enablestring" = xdisable; then
11944 defaultval=yes
11945 else
11946 defaultval=no
11947 fi
11948 fi
11949
11950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11951 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11952 # Check whether --enable-statline was given.
11953 if test "${enable_statline+set}" = set; then
11954 enableval=$enable_statline;
11955 if test "$enableval" = yes; then
11956 wx_cv_use_statline='wxUSE_STATLINE=yes'
11957 else
11958 wx_cv_use_statline='wxUSE_STATLINE=no'
11959 fi
11960
11961 else
11962
11963 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11964
11965 fi
11966
11967
11968 eval "$wx_cv_use_statline"
11969
11970 if test x"$enablestring" = xdisable; then
11971 if test $wxUSE_STATLINE = no; then
11972 result=yes
11973 else
11974 result=no
11975 fi
11976 else
11977 result=$wxUSE_STATLINE
11978 fi
11979
11980 { echo "$as_me:$LINENO: result: $result" >&5
11981 echo "${ECHO_T}$result" >&6; }
11982
11983
11984 enablestring=
11985 defaultval=$wxUSE_ALL_FEATURES
11986 if test -z "$defaultval"; then
11987 if test x"$enablestring" = xdisable; then
11988 defaultval=yes
11989 else
11990 defaultval=no
11991 fi
11992 fi
11993
11994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11995 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11996 # Check whether --enable-stattext was given.
11997 if test "${enable_stattext+set}" = set; then
11998 enableval=$enable_stattext;
11999 if test "$enableval" = yes; then
12000 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12001 else
12002 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12003 fi
12004
12005 else
12006
12007 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12008
12009 fi
12010
12011
12012 eval "$wx_cv_use_stattext"
12013
12014 if test x"$enablestring" = xdisable; then
12015 if test $wxUSE_STATTEXT = no; then
12016 result=yes
12017 else
12018 result=no
12019 fi
12020 else
12021 result=$wxUSE_STATTEXT
12022 fi
12023
12024 { echo "$as_me:$LINENO: result: $result" >&5
12025 echo "${ECHO_T}$result" >&6; }
12026
12027
12028 enablestring=
12029 defaultval=$wxUSE_ALL_FEATURES
12030 if test -z "$defaultval"; then
12031 if test x"$enablestring" = xdisable; then
12032 defaultval=yes
12033 else
12034 defaultval=no
12035 fi
12036 fi
12037
12038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12039 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12040 # Check whether --enable-statusbar was given.
12041 if test "${enable_statusbar+set}" = set; then
12042 enableval=$enable_statusbar;
12043 if test "$enableval" = yes; then
12044 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12045 else
12046 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12047 fi
12048
12049 else
12050
12051 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12052
12053 fi
12054
12055
12056 eval "$wx_cv_use_statusbar"
12057
12058 if test x"$enablestring" = xdisable; then
12059 if test $wxUSE_STATUSBAR = no; then
12060 result=yes
12061 else
12062 result=no
12063 fi
12064 else
12065 result=$wxUSE_STATUSBAR
12066 fi
12067
12068 { echo "$as_me:$LINENO: result: $result" >&5
12069 echo "${ECHO_T}$result" >&6; }
12070
12071
12072 enablestring=
12073 defaultval=$wxUSE_ALL_FEATURES
12074 if test -z "$defaultval"; then
12075 if test x"$enablestring" = xdisable; then
12076 defaultval=yes
12077 else
12078 defaultval=no
12079 fi
12080 fi
12081
12082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12083 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12084 # Check whether --enable-taskbaricon was given.
12085 if test "${enable_taskbaricon+set}" = set; then
12086 enableval=$enable_taskbaricon;
12087 if test "$enableval" = yes; then
12088 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12089 else
12090 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12091 fi
12092
12093 else
12094
12095 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12096
12097 fi
12098
12099
12100 eval "$wx_cv_use_taskbaricon"
12101
12102 if test x"$enablestring" = xdisable; then
12103 if test $wxUSE_TASKBARICON = no; then
12104 result=yes
12105 else
12106 result=no
12107 fi
12108 else
12109 result=$wxUSE_TASKBARICON
12110 fi
12111
12112 { echo "$as_me:$LINENO: result: $result" >&5
12113 echo "${ECHO_T}$result" >&6; }
12114
12115
12116 enablestring=
12117 defaultval=$wxUSE_ALL_FEATURES
12118 if test -z "$defaultval"; then
12119 if test x"$enablestring" = xdisable; then
12120 defaultval=yes
12121 else
12122 defaultval=no
12123 fi
12124 fi
12125
12126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12127 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12128 # Check whether --enable-tbarnative was given.
12129 if test "${enable_tbarnative+set}" = set; then
12130 enableval=$enable_tbarnative;
12131 if test "$enableval" = yes; then
12132 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12133 else
12134 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12135 fi
12136
12137 else
12138
12139 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12140
12141 fi
12142
12143
12144 eval "$wx_cv_use_tbarnative"
12145
12146 if test x"$enablestring" = xdisable; then
12147 if test $wxUSE_TOOLBAR_NATIVE = no; then
12148 result=yes
12149 else
12150 result=no
12151 fi
12152 else
12153 result=$wxUSE_TOOLBAR_NATIVE
12154 fi
12155
12156 { echo "$as_me:$LINENO: result: $result" >&5
12157 echo "${ECHO_T}$result" >&6; }
12158
12159
12160 enablestring=
12161 defaultval=$wxUSE_ALL_FEATURES
12162 if test -z "$defaultval"; then
12163 if test x"$enablestring" = xdisable; then
12164 defaultval=yes
12165 else
12166 defaultval=no
12167 fi
12168 fi
12169
12170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12171 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12172 # Check whether --enable-textctrl was given.
12173 if test "${enable_textctrl+set}" = set; then
12174 enableval=$enable_textctrl;
12175 if test "$enableval" = yes; then
12176 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12177 else
12178 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12179 fi
12180
12181 else
12182
12183 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12184
12185 fi
12186
12187
12188 eval "$wx_cv_use_textctrl"
12189
12190 if test x"$enablestring" = xdisable; then
12191 if test $wxUSE_TEXTCTRL = no; then
12192 result=yes
12193 else
12194 result=no
12195 fi
12196 else
12197 result=$wxUSE_TEXTCTRL
12198 fi
12199
12200 { echo "$as_me:$LINENO: result: $result" >&5
12201 echo "${ECHO_T}$result" >&6; }
12202
12203
12204 enablestring=
12205 defaultval=$wxUSE_ALL_FEATURES
12206 if test -z "$defaultval"; then
12207 if test x"$enablestring" = xdisable; then
12208 defaultval=yes
12209 else
12210 defaultval=no
12211 fi
12212 fi
12213
12214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12215 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12216 # Check whether --enable-tipwindow was given.
12217 if test "${enable_tipwindow+set}" = set; then
12218 enableval=$enable_tipwindow;
12219 if test "$enableval" = yes; then
12220 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12221 else
12222 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12223 fi
12224
12225 else
12226
12227 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12228
12229 fi
12230
12231
12232 eval "$wx_cv_use_tipwindow"
12233
12234 if test x"$enablestring" = xdisable; then
12235 if test $wxUSE_TIPWINDOW = no; then
12236 result=yes
12237 else
12238 result=no
12239 fi
12240 else
12241 result=$wxUSE_TIPWINDOW
12242 fi
12243
12244 { echo "$as_me:$LINENO: result: $result" >&5
12245 echo "${ECHO_T}$result" >&6; }
12246
12247
12248 enablestring=
12249 defaultval=$wxUSE_ALL_FEATURES
12250 if test -z "$defaultval"; then
12251 if test x"$enablestring" = xdisable; then
12252 defaultval=yes
12253 else
12254 defaultval=no
12255 fi
12256 fi
12257
12258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12259 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12260 # Check whether --enable-togglebtn was given.
12261 if test "${enable_togglebtn+set}" = set; then
12262 enableval=$enable_togglebtn;
12263 if test "$enableval" = yes; then
12264 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12265 else
12266 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12267 fi
12268
12269 else
12270
12271 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12272
12273 fi
12274
12275
12276 eval "$wx_cv_use_togglebtn"
12277
12278 if test x"$enablestring" = xdisable; then
12279 if test $wxUSE_TOGGLEBTN = no; then
12280 result=yes
12281 else
12282 result=no
12283 fi
12284 else
12285 result=$wxUSE_TOGGLEBTN
12286 fi
12287
12288 { echo "$as_me:$LINENO: result: $result" >&5
12289 echo "${ECHO_T}$result" >&6; }
12290
12291
12292 enablestring=
12293 defaultval=$wxUSE_ALL_FEATURES
12294 if test -z "$defaultval"; then
12295 if test x"$enablestring" = xdisable; then
12296 defaultval=yes
12297 else
12298 defaultval=no
12299 fi
12300 fi
12301
12302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12303 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12304 # Check whether --enable-toolbar was given.
12305 if test "${enable_toolbar+set}" = set; then
12306 enableval=$enable_toolbar;
12307 if test "$enableval" = yes; then
12308 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12309 else
12310 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12311 fi
12312
12313 else
12314
12315 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12316
12317 fi
12318
12319
12320 eval "$wx_cv_use_toolbar"
12321
12322 if test x"$enablestring" = xdisable; then
12323 if test $wxUSE_TOOLBAR = no; then
12324 result=yes
12325 else
12326 result=no
12327 fi
12328 else
12329 result=$wxUSE_TOOLBAR
12330 fi
12331
12332 { echo "$as_me:$LINENO: result: $result" >&5
12333 echo "${ECHO_T}$result" >&6; }
12334
12335
12336 enablestring=
12337 defaultval=$wxUSE_ALL_FEATURES
12338 if test -z "$defaultval"; then
12339 if test x"$enablestring" = xdisable; then
12340 defaultval=yes
12341 else
12342 defaultval=no
12343 fi
12344 fi
12345
12346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12347 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12348 # Check whether --enable-toolbook was given.
12349 if test "${enable_toolbook+set}" = set; then
12350 enableval=$enable_toolbook;
12351 if test "$enableval" = yes; then
12352 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12353 else
12354 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12355 fi
12356
12357 else
12358
12359 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12360
12361 fi
12362
12363
12364 eval "$wx_cv_use_toolbook"
12365
12366 if test x"$enablestring" = xdisable; then
12367 if test $wxUSE_TOOLBOOK = no; then
12368 result=yes
12369 else
12370 result=no
12371 fi
12372 else
12373 result=$wxUSE_TOOLBOOK
12374 fi
12375
12376 { echo "$as_me:$LINENO: result: $result" >&5
12377 echo "${ECHO_T}$result" >&6; }
12378
12379
12380 enablestring=
12381 defaultval=$wxUSE_ALL_FEATURES
12382 if test -z "$defaultval"; then
12383 if test x"$enablestring" = xdisable; then
12384 defaultval=yes
12385 else
12386 defaultval=no
12387 fi
12388 fi
12389
12390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12391 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12392 # Check whether --enable-treebook was given.
12393 if test "${enable_treebook+set}" = set; then
12394 enableval=$enable_treebook;
12395 if test "$enableval" = yes; then
12396 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12397 else
12398 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12399 fi
12400
12401 else
12402
12403 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12404
12405 fi
12406
12407
12408 eval "$wx_cv_use_treebook"
12409
12410 if test x"$enablestring" = xdisable; then
12411 if test $wxUSE_TREEBOOK = no; then
12412 result=yes
12413 else
12414 result=no
12415 fi
12416 else
12417 result=$wxUSE_TREEBOOK
12418 fi
12419
12420 { echo "$as_me:$LINENO: result: $result" >&5
12421 echo "${ECHO_T}$result" >&6; }
12422
12423
12424 enablestring=
12425 defaultval=$wxUSE_ALL_FEATURES
12426 if test -z "$defaultval"; then
12427 if test x"$enablestring" = xdisable; then
12428 defaultval=yes
12429 else
12430 defaultval=no
12431 fi
12432 fi
12433
12434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12435 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12436 # Check whether --enable-treectrl was given.
12437 if test "${enable_treectrl+set}" = set; then
12438 enableval=$enable_treectrl;
12439 if test "$enableval" = yes; then
12440 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12441 else
12442 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12443 fi
12444
12445 else
12446
12447 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12448
12449 fi
12450
12451
12452 eval "$wx_cv_use_treectrl"
12453
12454 if test x"$enablestring" = xdisable; then
12455 if test $wxUSE_TREECTRL = no; then
12456 result=yes
12457 else
12458 result=no
12459 fi
12460 else
12461 result=$wxUSE_TREECTRL
12462 fi
12463
12464 { echo "$as_me:$LINENO: result: $result" >&5
12465 echo "${ECHO_T}$result" >&6; }
12466
12467
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}-commondlg" >&5
12481 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12482 # Check whether --enable-commondlg was given.
12483 if test "${enable_commondlg+set}" = set; then
12484 enableval=$enable_commondlg;
12485 if test "$enableval" = yes; then
12486 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12487 else
12488 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12489 fi
12490
12491 else
12492
12493 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12494
12495 fi
12496
12497
12498 eval "$wx_cv_use_commondlg"
12499
12500 if test x"$enablestring" = xdisable; then
12501 if test $wxUSE_COMMONDLGS = no; then
12502 result=yes
12503 else
12504 result=no
12505 fi
12506 else
12507 result=$wxUSE_COMMONDLGS
12508 fi
12509
12510 { echo "$as_me:$LINENO: result: $result" >&5
12511 echo "${ECHO_T}$result" >&6; }
12512
12513
12514 enablestring=
12515 defaultval=$wxUSE_ALL_FEATURES
12516 if test -z "$defaultval"; then
12517 if test x"$enablestring" = xdisable; then
12518 defaultval=yes
12519 else
12520 defaultval=no
12521 fi
12522 fi
12523
12524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12525 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12526 # Check whether --enable-aboutdlg was given.
12527 if test "${enable_aboutdlg+set}" = set; then
12528 enableval=$enable_aboutdlg;
12529 if test "$enableval" = yes; then
12530 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12531 else
12532 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12533 fi
12534
12535 else
12536
12537 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12538
12539 fi
12540
12541
12542 eval "$wx_cv_use_aboutdlg"
12543
12544 if test x"$enablestring" = xdisable; then
12545 if test $wxUSE_ABOUTDLG = no; then
12546 result=yes
12547 else
12548 result=no
12549 fi
12550 else
12551 result=$wxUSE_ABOUTDLG
12552 fi
12553
12554 { echo "$as_me:$LINENO: result: $result" >&5
12555 echo "${ECHO_T}$result" >&6; }
12556
12557
12558 enablestring=
12559 defaultval=$wxUSE_ALL_FEATURES
12560 if test -z "$defaultval"; then
12561 if test x"$enablestring" = xdisable; then
12562 defaultval=yes
12563 else
12564 defaultval=no
12565 fi
12566 fi
12567
12568 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12569 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12570 # Check whether --enable-choicedlg was given.
12571 if test "${enable_choicedlg+set}" = set; then
12572 enableval=$enable_choicedlg;
12573 if test "$enableval" = yes; then
12574 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12575 else
12576 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12577 fi
12578
12579 else
12580
12581 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12582
12583 fi
12584
12585
12586 eval "$wx_cv_use_choicedlg"
12587
12588 if test x"$enablestring" = xdisable; then
12589 if test $wxUSE_CHOICEDLG = no; then
12590 result=yes
12591 else
12592 result=no
12593 fi
12594 else
12595 result=$wxUSE_CHOICEDLG
12596 fi
12597
12598 { echo "$as_me:$LINENO: result: $result" >&5
12599 echo "${ECHO_T}$result" >&6; }
12600
12601
12602 enablestring=
12603 defaultval=$wxUSE_ALL_FEATURES
12604 if test -z "$defaultval"; then
12605 if test x"$enablestring" = xdisable; then
12606 defaultval=yes
12607 else
12608 defaultval=no
12609 fi
12610 fi
12611
12612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12613 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12614 # Check whether --enable-coldlg was given.
12615 if test "${enable_coldlg+set}" = set; then
12616 enableval=$enable_coldlg;
12617 if test "$enableval" = yes; then
12618 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12619 else
12620 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12621 fi
12622
12623 else
12624
12625 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12626
12627 fi
12628
12629
12630 eval "$wx_cv_use_coldlg"
12631
12632 if test x"$enablestring" = xdisable; then
12633 if test $wxUSE_COLOURDLG = no; then
12634 result=yes
12635 else
12636 result=no
12637 fi
12638 else
12639 result=$wxUSE_COLOURDLG
12640 fi
12641
12642 { echo "$as_me:$LINENO: result: $result" >&5
12643 echo "${ECHO_T}$result" >&6; }
12644
12645
12646 enablestring=
12647 defaultval=$wxUSE_ALL_FEATURES
12648 if test -z "$defaultval"; then
12649 if test x"$enablestring" = xdisable; then
12650 defaultval=yes
12651 else
12652 defaultval=no
12653 fi
12654 fi
12655
12656 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12657 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12658 # Check whether --enable-filedlg was given.
12659 if test "${enable_filedlg+set}" = set; then
12660 enableval=$enable_filedlg;
12661 if test "$enableval" = yes; then
12662 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12663 else
12664 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12665 fi
12666
12667 else
12668
12669 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12670
12671 fi
12672
12673
12674 eval "$wx_cv_use_filedlg"
12675
12676 if test x"$enablestring" = xdisable; then
12677 if test $wxUSE_FILEDLG = no; then
12678 result=yes
12679 else
12680 result=no
12681 fi
12682 else
12683 result=$wxUSE_FILEDLG
12684 fi
12685
12686 { echo "$as_me:$LINENO: result: $result" >&5
12687 echo "${ECHO_T}$result" >&6; }
12688
12689
12690 enablestring=
12691 defaultval=$wxUSE_ALL_FEATURES
12692 if test -z "$defaultval"; then
12693 if test x"$enablestring" = xdisable; then
12694 defaultval=yes
12695 else
12696 defaultval=no
12697 fi
12698 fi
12699
12700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12701 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12702 # Check whether --enable-finddlg was given.
12703 if test "${enable_finddlg+set}" = set; then
12704 enableval=$enable_finddlg;
12705 if test "$enableval" = yes; then
12706 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12707 else
12708 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12709 fi
12710
12711 else
12712
12713 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12714
12715 fi
12716
12717
12718 eval "$wx_cv_use_finddlg"
12719
12720 if test x"$enablestring" = xdisable; then
12721 if test $wxUSE_FINDREPLDLG = no; then
12722 result=yes
12723 else
12724 result=no
12725 fi
12726 else
12727 result=$wxUSE_FINDREPLDLG
12728 fi
12729
12730 { echo "$as_me:$LINENO: result: $result" >&5
12731 echo "${ECHO_T}$result" >&6; }
12732
12733
12734 enablestring=
12735 defaultval=$wxUSE_ALL_FEATURES
12736 if test -z "$defaultval"; then
12737 if test x"$enablestring" = xdisable; then
12738 defaultval=yes
12739 else
12740 defaultval=no
12741 fi
12742 fi
12743
12744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12745 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12746 # Check whether --enable-fontdlg was given.
12747 if test "${enable_fontdlg+set}" = set; then
12748 enableval=$enable_fontdlg;
12749 if test "$enableval" = yes; then
12750 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12751 else
12752 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12753 fi
12754
12755 else
12756
12757 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12758
12759 fi
12760
12761
12762 eval "$wx_cv_use_fontdlg"
12763
12764 if test x"$enablestring" = xdisable; then
12765 if test $wxUSE_FONTDLG = no; then
12766 result=yes
12767 else
12768 result=no
12769 fi
12770 else
12771 result=$wxUSE_FONTDLG
12772 fi
12773
12774 { echo "$as_me:$LINENO: result: $result" >&5
12775 echo "${ECHO_T}$result" >&6; }
12776
12777
12778 enablestring=
12779 defaultval=$wxUSE_ALL_FEATURES
12780 if test -z "$defaultval"; then
12781 if test x"$enablestring" = xdisable; then
12782 defaultval=yes
12783 else
12784 defaultval=no
12785 fi
12786 fi
12787
12788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12789 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12790 # Check whether --enable-dirdlg was given.
12791 if test "${enable_dirdlg+set}" = set; then
12792 enableval=$enable_dirdlg;
12793 if test "$enableval" = yes; then
12794 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12795 else
12796 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12797 fi
12798
12799 else
12800
12801 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12802
12803 fi
12804
12805
12806 eval "$wx_cv_use_dirdlg"
12807
12808 if test x"$enablestring" = xdisable; then
12809 if test $wxUSE_DIRDLG = no; then
12810 result=yes
12811 else
12812 result=no
12813 fi
12814 else
12815 result=$wxUSE_DIRDLG
12816 fi
12817
12818 { echo "$as_me:$LINENO: result: $result" >&5
12819 echo "${ECHO_T}$result" >&6; }
12820
12821
12822 enablestring=
12823 defaultval=$wxUSE_ALL_FEATURES
12824 if test -z "$defaultval"; then
12825 if test x"$enablestring" = xdisable; then
12826 defaultval=yes
12827 else
12828 defaultval=no
12829 fi
12830 fi
12831
12832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12833 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12834 # Check whether --enable-msgdlg was given.
12835 if test "${enable_msgdlg+set}" = set; then
12836 enableval=$enable_msgdlg;
12837 if test "$enableval" = yes; then
12838 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12839 else
12840 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12841 fi
12842
12843 else
12844
12845 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12846
12847 fi
12848
12849
12850 eval "$wx_cv_use_msgdlg"
12851
12852 if test x"$enablestring" = xdisable; then
12853 if test $wxUSE_MSGDLG = no; then
12854 result=yes
12855 else
12856 result=no
12857 fi
12858 else
12859 result=$wxUSE_MSGDLG
12860 fi
12861
12862 { echo "$as_me:$LINENO: result: $result" >&5
12863 echo "${ECHO_T}$result" >&6; }
12864
12865
12866 enablestring=
12867 defaultval=$wxUSE_ALL_FEATURES
12868 if test -z "$defaultval"; then
12869 if test x"$enablestring" = xdisable; then
12870 defaultval=yes
12871 else
12872 defaultval=no
12873 fi
12874 fi
12875
12876 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12877 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12878 # Check whether --enable-numberdlg was given.
12879 if test "${enable_numberdlg+set}" = set; then
12880 enableval=$enable_numberdlg;
12881 if test "$enableval" = yes; then
12882 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12883 else
12884 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12885 fi
12886
12887 else
12888
12889 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12890
12891 fi
12892
12893
12894 eval "$wx_cv_use_numberdlg"
12895
12896 if test x"$enablestring" = xdisable; then
12897 if test $wxUSE_NUMBERDLG = no; then
12898 result=yes
12899 else
12900 result=no
12901 fi
12902 else
12903 result=$wxUSE_NUMBERDLG
12904 fi
12905
12906 { echo "$as_me:$LINENO: result: $result" >&5
12907 echo "${ECHO_T}$result" >&6; }
12908
12909
12910 enablestring=
12911 defaultval=$wxUSE_ALL_FEATURES
12912 if test -z "$defaultval"; then
12913 if test x"$enablestring" = xdisable; then
12914 defaultval=yes
12915 else
12916 defaultval=no
12917 fi
12918 fi
12919
12920 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12921 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12922 # Check whether --enable-splash was given.
12923 if test "${enable_splash+set}" = set; then
12924 enableval=$enable_splash;
12925 if test "$enableval" = yes; then
12926 wx_cv_use_splash='wxUSE_SPLASH=yes'
12927 else
12928 wx_cv_use_splash='wxUSE_SPLASH=no'
12929 fi
12930
12931 else
12932
12933 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12934
12935 fi
12936
12937
12938 eval "$wx_cv_use_splash"
12939
12940 if test x"$enablestring" = xdisable; then
12941 if test $wxUSE_SPLASH = no; then
12942 result=yes
12943 else
12944 result=no
12945 fi
12946 else
12947 result=$wxUSE_SPLASH
12948 fi
12949
12950 { echo "$as_me:$LINENO: result: $result" >&5
12951 echo "${ECHO_T}$result" >&6; }
12952
12953
12954 enablestring=
12955 defaultval=$wxUSE_ALL_FEATURES
12956 if test -z "$defaultval"; then
12957 if test x"$enablestring" = xdisable; then
12958 defaultval=yes
12959 else
12960 defaultval=no
12961 fi
12962 fi
12963
12964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12965 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12966 # Check whether --enable-textdlg was given.
12967 if test "${enable_textdlg+set}" = set; then
12968 enableval=$enable_textdlg;
12969 if test "$enableval" = yes; then
12970 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12971 else
12972 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12973 fi
12974
12975 else
12976
12977 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12978
12979 fi
12980
12981
12982 eval "$wx_cv_use_textdlg"
12983
12984 if test x"$enablestring" = xdisable; then
12985 if test $wxUSE_TEXTDLG = no; then
12986 result=yes
12987 else
12988 result=no
12989 fi
12990 else
12991 result=$wxUSE_TEXTDLG
12992 fi
12993
12994 { echo "$as_me:$LINENO: result: $result" >&5
12995 echo "${ECHO_T}$result" >&6; }
12996
12997
12998 enablestring=
12999 defaultval=$wxUSE_ALL_FEATURES
13000 if test -z "$defaultval"; then
13001 if test x"$enablestring" = xdisable; then
13002 defaultval=yes
13003 else
13004 defaultval=no
13005 fi
13006 fi
13007
13008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13009 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13010 # Check whether --enable-tipdlg was given.
13011 if test "${enable_tipdlg+set}" = set; then
13012 enableval=$enable_tipdlg;
13013 if test "$enableval" = yes; then
13014 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13015 else
13016 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13017 fi
13018
13019 else
13020
13021 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13022
13023 fi
13024
13025
13026 eval "$wx_cv_use_tipdlg"
13027
13028 if test x"$enablestring" = xdisable; then
13029 if test $wxUSE_STARTUP_TIPS = no; then
13030 result=yes
13031 else
13032 result=no
13033 fi
13034 else
13035 result=$wxUSE_STARTUP_TIPS
13036 fi
13037
13038 { echo "$as_me:$LINENO: result: $result" >&5
13039 echo "${ECHO_T}$result" >&6; }
13040
13041
13042 enablestring=
13043 defaultval=$wxUSE_ALL_FEATURES
13044 if test -z "$defaultval"; then
13045 if test x"$enablestring" = xdisable; then
13046 defaultval=yes
13047 else
13048 defaultval=no
13049 fi
13050 fi
13051
13052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13053 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13054 # Check whether --enable-progressdlg was given.
13055 if test "${enable_progressdlg+set}" = set; then
13056 enableval=$enable_progressdlg;
13057 if test "$enableval" = yes; then
13058 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13059 else
13060 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13061 fi
13062
13063 else
13064
13065 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13066
13067 fi
13068
13069
13070 eval "$wx_cv_use_progressdlg"
13071
13072 if test x"$enablestring" = xdisable; then
13073 if test $wxUSE_PROGRESSDLG = no; then
13074 result=yes
13075 else
13076 result=no
13077 fi
13078 else
13079 result=$wxUSE_PROGRESSDLG
13080 fi
13081
13082 { echo "$as_me:$LINENO: result: $result" >&5
13083 echo "${ECHO_T}$result" >&6; }
13084
13085
13086 enablestring=
13087 defaultval=$wxUSE_ALL_FEATURES
13088 if test -z "$defaultval"; then
13089 if test x"$enablestring" = xdisable; then
13090 defaultval=yes
13091 else
13092 defaultval=no
13093 fi
13094 fi
13095
13096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13097 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13098 # Check whether --enable-wizarddlg was given.
13099 if test "${enable_wizarddlg+set}" = set; then
13100 enableval=$enable_wizarddlg;
13101 if test "$enableval" = yes; then
13102 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13103 else
13104 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13105 fi
13106
13107 else
13108
13109 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13110
13111 fi
13112
13113
13114 eval "$wx_cv_use_wizarddlg"
13115
13116 if test x"$enablestring" = xdisable; then
13117 if test $wxUSE_WIZARDDLG = no; then
13118 result=yes
13119 else
13120 result=no
13121 fi
13122 else
13123 result=$wxUSE_WIZARDDLG
13124 fi
13125
13126 { echo "$as_me:$LINENO: result: $result" >&5
13127 echo "${ECHO_T}$result" >&6; }
13128
13129
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}-menus" >&5
13143 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13144 # Check whether --enable-menus was given.
13145 if test "${enable_menus+set}" = set; then
13146 enableval=$enable_menus;
13147 if test "$enableval" = yes; then
13148 wx_cv_use_menus='wxUSE_MENUS=yes'
13149 else
13150 wx_cv_use_menus='wxUSE_MENUS=no'
13151 fi
13152
13153 else
13154
13155 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13156
13157 fi
13158
13159
13160 eval "$wx_cv_use_menus"
13161
13162 if test x"$enablestring" = xdisable; then
13163 if test $wxUSE_MENUS = no; then
13164 result=yes
13165 else
13166 result=no
13167 fi
13168 else
13169 result=$wxUSE_MENUS
13170 fi
13171
13172 { echo "$as_me:$LINENO: result: $result" >&5
13173 echo "${ECHO_T}$result" >&6; }
13174
13175
13176 enablestring=
13177 defaultval=$wxUSE_ALL_FEATURES
13178 if test -z "$defaultval"; then
13179 if test x"$enablestring" = xdisable; then
13180 defaultval=yes
13181 else
13182 defaultval=no
13183 fi
13184 fi
13185
13186 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13187 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13188 # Check whether --enable-miniframe was given.
13189 if test "${enable_miniframe+set}" = set; then
13190 enableval=$enable_miniframe;
13191 if test "$enableval" = yes; then
13192 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13193 else
13194 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13195 fi
13196
13197 else
13198
13199 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13200
13201 fi
13202
13203
13204 eval "$wx_cv_use_miniframe"
13205
13206 if test x"$enablestring" = xdisable; then
13207 if test $wxUSE_MINIFRAME = no; then
13208 result=yes
13209 else
13210 result=no
13211 fi
13212 else
13213 result=$wxUSE_MINIFRAME
13214 fi
13215
13216 { echo "$as_me:$LINENO: result: $result" >&5
13217 echo "${ECHO_T}$result" >&6; }
13218
13219
13220 enablestring=
13221 defaultval=$wxUSE_ALL_FEATURES
13222 if test -z "$defaultval"; then
13223 if test x"$enablestring" = xdisable; then
13224 defaultval=yes
13225 else
13226 defaultval=no
13227 fi
13228 fi
13229
13230 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13231 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13232 # Check whether --enable-tooltips was given.
13233 if test "${enable_tooltips+set}" = set; then
13234 enableval=$enable_tooltips;
13235 if test "$enableval" = yes; then
13236 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13237 else
13238 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13239 fi
13240
13241 else
13242
13243 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13244
13245 fi
13246
13247
13248 eval "$wx_cv_use_tooltips"
13249
13250 if test x"$enablestring" = xdisable; then
13251 if test $wxUSE_TOOLTIPS = no; then
13252 result=yes
13253 else
13254 result=no
13255 fi
13256 else
13257 result=$wxUSE_TOOLTIPS
13258 fi
13259
13260 { echo "$as_me:$LINENO: result: $result" >&5
13261 echo "${ECHO_T}$result" >&6; }
13262
13263
13264 enablestring=
13265 defaultval=$wxUSE_ALL_FEATURES
13266 if test -z "$defaultval"; then
13267 if test x"$enablestring" = xdisable; then
13268 defaultval=yes
13269 else
13270 defaultval=no
13271 fi
13272 fi
13273
13274 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13275 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13276 # Check whether --enable-splines was given.
13277 if test "${enable_splines+set}" = set; then
13278 enableval=$enable_splines;
13279 if test "$enableval" = yes; then
13280 wx_cv_use_splines='wxUSE_SPLINES=yes'
13281 else
13282 wx_cv_use_splines='wxUSE_SPLINES=no'
13283 fi
13284
13285 else
13286
13287 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13288
13289 fi
13290
13291
13292 eval "$wx_cv_use_splines"
13293
13294 if test x"$enablestring" = xdisable; then
13295 if test $wxUSE_SPLINES = no; then
13296 result=yes
13297 else
13298 result=no
13299 fi
13300 else
13301 result=$wxUSE_SPLINES
13302 fi
13303
13304 { echo "$as_me:$LINENO: result: $result" >&5
13305 echo "${ECHO_T}$result" >&6; }
13306
13307
13308 enablestring=
13309 defaultval=$wxUSE_ALL_FEATURES
13310 if test -z "$defaultval"; then
13311 if test x"$enablestring" = xdisable; then
13312 defaultval=yes
13313 else
13314 defaultval=no
13315 fi
13316 fi
13317
13318 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13319 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13320 # Check whether --enable-mousewheel was given.
13321 if test "${enable_mousewheel+set}" = set; then
13322 enableval=$enable_mousewheel;
13323 if test "$enableval" = yes; then
13324 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13325 else
13326 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13327 fi
13328
13329 else
13330
13331 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13332
13333 fi
13334
13335
13336 eval "$wx_cv_use_mousewheel"
13337
13338 if test x"$enablestring" = xdisable; then
13339 if test $wxUSE_MOUSEWHEEL = no; then
13340 result=yes
13341 else
13342 result=no
13343 fi
13344 else
13345 result=$wxUSE_MOUSEWHEEL
13346 fi
13347
13348 { echo "$as_me:$LINENO: result: $result" >&5
13349 echo "${ECHO_T}$result" >&6; }
13350
13351
13352 enablestring=
13353 defaultval=$wxUSE_ALL_FEATURES
13354 if test -z "$defaultval"; then
13355 if test x"$enablestring" = xdisable; then
13356 defaultval=yes
13357 else
13358 defaultval=no
13359 fi
13360 fi
13361
13362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13363 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13364 # Check whether --enable-validators was given.
13365 if test "${enable_validators+set}" = set; then
13366 enableval=$enable_validators;
13367 if test "$enableval" = yes; then
13368 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13369 else
13370 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13371 fi
13372
13373 else
13374
13375 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13376
13377 fi
13378
13379
13380 eval "$wx_cv_use_validators"
13381
13382 if test x"$enablestring" = xdisable; then
13383 if test $wxUSE_VALIDATORS = no; then
13384 result=yes
13385 else
13386 result=no
13387 fi
13388 else
13389 result=$wxUSE_VALIDATORS
13390 fi
13391
13392 { echo "$as_me:$LINENO: result: $result" >&5
13393 echo "${ECHO_T}$result" >&6; }
13394
13395
13396 enablestring=
13397 defaultval=$wxUSE_ALL_FEATURES
13398 if test -z "$defaultval"; then
13399 if test x"$enablestring" = xdisable; then
13400 defaultval=yes
13401 else
13402 defaultval=no
13403 fi
13404 fi
13405
13406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13407 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13408 # Check whether --enable-busyinfo was given.
13409 if test "${enable_busyinfo+set}" = set; then
13410 enableval=$enable_busyinfo;
13411 if test "$enableval" = yes; then
13412 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13413 else
13414 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13415 fi
13416
13417 else
13418
13419 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13420
13421 fi
13422
13423
13424 eval "$wx_cv_use_busyinfo"
13425
13426 if test x"$enablestring" = xdisable; then
13427 if test $wxUSE_BUSYINFO = no; then
13428 result=yes
13429 else
13430 result=no
13431 fi
13432 else
13433 result=$wxUSE_BUSYINFO
13434 fi
13435
13436 { echo "$as_me:$LINENO: result: $result" >&5
13437 echo "${ECHO_T}$result" >&6; }
13438
13439
13440 enablestring=
13441 defaultval=$wxUSE_ALL_FEATURES
13442 if test -z "$defaultval"; then
13443 if test x"$enablestring" = xdisable; then
13444 defaultval=yes
13445 else
13446 defaultval=no
13447 fi
13448 fi
13449
13450 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13451 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13452 # Check whether --enable-joystick was given.
13453 if test "${enable_joystick+set}" = set; then
13454 enableval=$enable_joystick;
13455 if test "$enableval" = yes; then
13456 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13457 else
13458 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13459 fi
13460
13461 else
13462
13463 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13464
13465 fi
13466
13467
13468 eval "$wx_cv_use_joystick"
13469
13470 if test x"$enablestring" = xdisable; then
13471 if test $wxUSE_JOYSTICK = no; then
13472 result=yes
13473 else
13474 result=no
13475 fi
13476 else
13477 result=$wxUSE_JOYSTICK
13478 fi
13479
13480 { echo "$as_me:$LINENO: result: $result" >&5
13481 echo "${ECHO_T}$result" >&6; }
13482
13483
13484 enablestring=
13485 defaultval=$wxUSE_ALL_FEATURES
13486 if test -z "$defaultval"; then
13487 if test x"$enablestring" = xdisable; then
13488 defaultval=yes
13489 else
13490 defaultval=no
13491 fi
13492 fi
13493
13494 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13495 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13496 # Check whether --enable-metafile was given.
13497 if test "${enable_metafile+set}" = set; then
13498 enableval=$enable_metafile;
13499 if test "$enableval" = yes; then
13500 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13501 else
13502 wx_cv_use_metafile='wxUSE_METAFILE=no'
13503 fi
13504
13505 else
13506
13507 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13508
13509 fi
13510
13511
13512 eval "$wx_cv_use_metafile"
13513
13514 if test x"$enablestring" = xdisable; then
13515 if test $wxUSE_METAFILE = no; then
13516 result=yes
13517 else
13518 result=no
13519 fi
13520 else
13521 result=$wxUSE_METAFILE
13522 fi
13523
13524 { echo "$as_me:$LINENO: result: $result" >&5
13525 echo "${ECHO_T}$result" >&6; }
13526
13527
13528 enablestring=
13529 defaultval=$wxUSE_ALL_FEATURES
13530 if test -z "$defaultval"; then
13531 if test x"$enablestring" = xdisable; then
13532 defaultval=yes
13533 else
13534 defaultval=no
13535 fi
13536 fi
13537
13538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13539 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13540 # Check whether --enable-dragimage was given.
13541 if test "${enable_dragimage+set}" = set; then
13542 enableval=$enable_dragimage;
13543 if test "$enableval" = yes; then
13544 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13545 else
13546 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13547 fi
13548
13549 else
13550
13551 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13552
13553 fi
13554
13555
13556 eval "$wx_cv_use_dragimage"
13557
13558 if test x"$enablestring" = xdisable; then
13559 if test $wxUSE_DRAGIMAGE = no; then
13560 result=yes
13561 else
13562 result=no
13563 fi
13564 else
13565 result=$wxUSE_DRAGIMAGE
13566 fi
13567
13568 { echo "$as_me:$LINENO: result: $result" >&5
13569 echo "${ECHO_T}$result" >&6; }
13570
13571
13572 enablestring=
13573 defaultval=$wxUSE_ALL_FEATURES
13574 if test -z "$defaultval"; then
13575 if test x"$enablestring" = xdisable; then
13576 defaultval=yes
13577 else
13578 defaultval=no
13579 fi
13580 fi
13581
13582 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13583 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13584 # Check whether --enable-accessibility was given.
13585 if test "${enable_accessibility+set}" = set; then
13586 enableval=$enable_accessibility;
13587 if test "$enableval" = yes; then
13588 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13589 else
13590 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13591 fi
13592
13593 else
13594
13595 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13596
13597 fi
13598
13599
13600 eval "$wx_cv_use_accessibility"
13601
13602 if test x"$enablestring" = xdisable; then
13603 if test $wxUSE_ACCESSIBILITY = no; then
13604 result=yes
13605 else
13606 result=no
13607 fi
13608 else
13609 result=$wxUSE_ACCESSIBILITY
13610 fi
13611
13612 { echo "$as_me:$LINENO: result: $result" >&5
13613 echo "${ECHO_T}$result" >&6; }
13614
13615
13616 enablestring=
13617 defaultval=$wxUSE_ALL_FEATURES
13618 if test -z "$defaultval"; then
13619 if test x"$enablestring" = xdisable; then
13620 defaultval=yes
13621 else
13622 defaultval=no
13623 fi
13624 fi
13625
13626 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uiactionsim" >&5
13627 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
13628 # Check whether --enable-uiactionsim was given.
13629 if test "${enable_uiactionsim+set}" = set; then
13630 enableval=$enable_uiactionsim;
13631 if test "$enableval" = yes; then
13632 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
13633 else
13634 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
13635 fi
13636
13637 else
13638
13639 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
13640
13641 fi
13642
13643
13644 eval "$wx_cv_use_uiactionsim"
13645
13646 if test x"$enablestring" = xdisable; then
13647 if test $wxUSE_UIACTIONSIMULATOR = no; then
13648 result=yes
13649 else
13650 result=no
13651 fi
13652 else
13653 result=$wxUSE_UIACTIONSIMULATOR
13654 fi
13655
13656 { echo "$as_me:$LINENO: result: $result" >&5
13657 echo "${ECHO_T}$result" >&6; }
13658
13659
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}-palette" >&5
13673 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13674 # Check whether --enable-palette was given.
13675 if test "${enable_palette+set}" = set; then
13676 enableval=$enable_palette;
13677 if test "$enableval" = yes; then
13678 wx_cv_use_palette='wxUSE_PALETTE=yes'
13679 else
13680 wx_cv_use_palette='wxUSE_PALETTE=no'
13681 fi
13682
13683 else
13684
13685 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13686
13687 fi
13688
13689
13690 eval "$wx_cv_use_palette"
13691
13692 if test x"$enablestring" = xdisable; then
13693 if test $wxUSE_PALETTE = no; then
13694 result=yes
13695 else
13696 result=no
13697 fi
13698 else
13699 result=$wxUSE_PALETTE
13700 fi
13701
13702 { echo "$as_me:$LINENO: result: $result" >&5
13703 echo "${ECHO_T}$result" >&6; }
13704
13705
13706 enablestring=
13707 defaultval=$wxUSE_ALL_FEATURES
13708 if test -z "$defaultval"; then
13709 if test x"$enablestring" = xdisable; then
13710 defaultval=yes
13711 else
13712 defaultval=no
13713 fi
13714 fi
13715
13716 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13717 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13718 # Check whether --enable-image was given.
13719 if test "${enable_image+set}" = set; then
13720 enableval=$enable_image;
13721 if test "$enableval" = yes; then
13722 wx_cv_use_image='wxUSE_IMAGE=yes'
13723 else
13724 wx_cv_use_image='wxUSE_IMAGE=no'
13725 fi
13726
13727 else
13728
13729 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13730
13731 fi
13732
13733
13734 eval "$wx_cv_use_image"
13735
13736 if test x"$enablestring" = xdisable; then
13737 if test $wxUSE_IMAGE = no; then
13738 result=yes
13739 else
13740 result=no
13741 fi
13742 else
13743 result=$wxUSE_IMAGE
13744 fi
13745
13746 { echo "$as_me:$LINENO: result: $result" >&5
13747 echo "${ECHO_T}$result" >&6; }
13748
13749
13750 enablestring=
13751 defaultval=$wxUSE_ALL_FEATURES
13752 if test -z "$defaultval"; then
13753 if test x"$enablestring" = xdisable; then
13754 defaultval=yes
13755 else
13756 defaultval=no
13757 fi
13758 fi
13759
13760 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13761 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13762 # Check whether --enable-gif was given.
13763 if test "${enable_gif+set}" = set; then
13764 enableval=$enable_gif;
13765 if test "$enableval" = yes; then
13766 wx_cv_use_gif='wxUSE_GIF=yes'
13767 else
13768 wx_cv_use_gif='wxUSE_GIF=no'
13769 fi
13770
13771 else
13772
13773 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13774
13775 fi
13776
13777
13778 eval "$wx_cv_use_gif"
13779
13780 if test x"$enablestring" = xdisable; then
13781 if test $wxUSE_GIF = no; then
13782 result=yes
13783 else
13784 result=no
13785 fi
13786 else
13787 result=$wxUSE_GIF
13788 fi
13789
13790 { echo "$as_me:$LINENO: result: $result" >&5
13791 echo "${ECHO_T}$result" >&6; }
13792
13793
13794 enablestring=
13795 defaultval=$wxUSE_ALL_FEATURES
13796 if test -z "$defaultval"; then
13797 if test x"$enablestring" = xdisable; then
13798 defaultval=yes
13799 else
13800 defaultval=no
13801 fi
13802 fi
13803
13804 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13805 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13806 # Check whether --enable-pcx was given.
13807 if test "${enable_pcx+set}" = set; then
13808 enableval=$enable_pcx;
13809 if test "$enableval" = yes; then
13810 wx_cv_use_pcx='wxUSE_PCX=yes'
13811 else
13812 wx_cv_use_pcx='wxUSE_PCX=no'
13813 fi
13814
13815 else
13816
13817 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13818
13819 fi
13820
13821
13822 eval "$wx_cv_use_pcx"
13823
13824 if test x"$enablestring" = xdisable; then
13825 if test $wxUSE_PCX = no; then
13826 result=yes
13827 else
13828 result=no
13829 fi
13830 else
13831 result=$wxUSE_PCX
13832 fi
13833
13834 { echo "$as_me:$LINENO: result: $result" >&5
13835 echo "${ECHO_T}$result" >&6; }
13836
13837
13838 enablestring=
13839 defaultval=$wxUSE_ALL_FEATURES
13840 if test -z "$defaultval"; then
13841 if test x"$enablestring" = xdisable; then
13842 defaultval=yes
13843 else
13844 defaultval=no
13845 fi
13846 fi
13847
13848 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13849 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13850 # Check whether --enable-tga was given.
13851 if test "${enable_tga+set}" = set; then
13852 enableval=$enable_tga;
13853 if test "$enableval" = yes; then
13854 wx_cv_use_tga='wxUSE_TGA=yes'
13855 else
13856 wx_cv_use_tga='wxUSE_TGA=no'
13857 fi
13858
13859 else
13860
13861 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13862
13863 fi
13864
13865
13866 eval "$wx_cv_use_tga"
13867
13868 if test x"$enablestring" = xdisable; then
13869 if test $wxUSE_TGA = no; then
13870 result=yes
13871 else
13872 result=no
13873 fi
13874 else
13875 result=$wxUSE_TGA
13876 fi
13877
13878 { echo "$as_me:$LINENO: result: $result" >&5
13879 echo "${ECHO_T}$result" >&6; }
13880
13881
13882 enablestring=
13883 defaultval=$wxUSE_ALL_FEATURES
13884 if test -z "$defaultval"; then
13885 if test x"$enablestring" = xdisable; then
13886 defaultval=yes
13887 else
13888 defaultval=no
13889 fi
13890 fi
13891
13892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13893 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13894 # Check whether --enable-iff was given.
13895 if test "${enable_iff+set}" = set; then
13896 enableval=$enable_iff;
13897 if test "$enableval" = yes; then
13898 wx_cv_use_iff='wxUSE_IFF=yes'
13899 else
13900 wx_cv_use_iff='wxUSE_IFF=no'
13901 fi
13902
13903 else
13904
13905 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13906
13907 fi
13908
13909
13910 eval "$wx_cv_use_iff"
13911
13912 if test x"$enablestring" = xdisable; then
13913 if test $wxUSE_IFF = no; then
13914 result=yes
13915 else
13916 result=no
13917 fi
13918 else
13919 result=$wxUSE_IFF
13920 fi
13921
13922 { echo "$as_me:$LINENO: result: $result" >&5
13923 echo "${ECHO_T}$result" >&6; }
13924
13925
13926 enablestring=
13927 defaultval=$wxUSE_ALL_FEATURES
13928 if test -z "$defaultval"; then
13929 if test x"$enablestring" = xdisable; then
13930 defaultval=yes
13931 else
13932 defaultval=no
13933 fi
13934 fi
13935
13936 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13937 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13938 # Check whether --enable-pnm was given.
13939 if test "${enable_pnm+set}" = set; then
13940 enableval=$enable_pnm;
13941 if test "$enableval" = yes; then
13942 wx_cv_use_pnm='wxUSE_PNM=yes'
13943 else
13944 wx_cv_use_pnm='wxUSE_PNM=no'
13945 fi
13946
13947 else
13948
13949 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13950
13951 fi
13952
13953
13954 eval "$wx_cv_use_pnm"
13955
13956 if test x"$enablestring" = xdisable; then
13957 if test $wxUSE_PNM = no; then
13958 result=yes
13959 else
13960 result=no
13961 fi
13962 else
13963 result=$wxUSE_PNM
13964 fi
13965
13966 { echo "$as_me:$LINENO: result: $result" >&5
13967 echo "${ECHO_T}$result" >&6; }
13968
13969
13970 enablestring=
13971 defaultval=$wxUSE_ALL_FEATURES
13972 if test -z "$defaultval"; then
13973 if test x"$enablestring" = xdisable; then
13974 defaultval=yes
13975 else
13976 defaultval=no
13977 fi
13978 fi
13979
13980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13981 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13982 # Check whether --enable-xpm was given.
13983 if test "${enable_xpm+set}" = set; then
13984 enableval=$enable_xpm;
13985 if test "$enableval" = yes; then
13986 wx_cv_use_xpm='wxUSE_XPM=yes'
13987 else
13988 wx_cv_use_xpm='wxUSE_XPM=no'
13989 fi
13990
13991 else
13992
13993 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13994
13995 fi
13996
13997
13998 eval "$wx_cv_use_xpm"
13999
14000 if test x"$enablestring" = xdisable; then
14001 if test $wxUSE_XPM = no; then
14002 result=yes
14003 else
14004 result=no
14005 fi
14006 else
14007 result=$wxUSE_XPM
14008 fi
14009
14010 { echo "$as_me:$LINENO: result: $result" >&5
14011 echo "${ECHO_T}$result" >&6; }
14012
14013
14014 enablestring=
14015 defaultval=$wxUSE_ALL_FEATURES
14016 if test -z "$defaultval"; then
14017 if test x"$enablestring" = xdisable; then
14018 defaultval=yes
14019 else
14020 defaultval=no
14021 fi
14022 fi
14023
14024 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14025 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14026 # Check whether --enable-ico_cur was given.
14027 if test "${enable_ico_cur+set}" = set; then
14028 enableval=$enable_ico_cur;
14029 if test "$enableval" = yes; then
14030 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14031 else
14032 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14033 fi
14034
14035 else
14036
14037 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14038
14039 fi
14040
14041
14042 eval "$wx_cv_use_ico_cur"
14043
14044 if test x"$enablestring" = xdisable; then
14045 if test $wxUSE_ICO_CUR = no; then
14046 result=yes
14047 else
14048 result=no
14049 fi
14050 else
14051 result=$wxUSE_ICO_CUR
14052 fi
14053
14054 { echo "$as_me:$LINENO: result: $result" >&5
14055 echo "${ECHO_T}$result" >&6; }
14056
14057
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}-dccache" >&5
14071 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14072 # Check whether --enable-dccache was given.
14073 if test "${enable_dccache+set}" = set; then
14074 enableval=$enable_dccache;
14075 if test "$enableval" = yes; then
14076 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14077 else
14078 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14079 fi
14080
14081 else
14082
14083 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14084
14085 fi
14086
14087
14088 eval "$wx_cv_use_dccache"
14089
14090 if test x"$enablestring" = xdisable; then
14091 if test $wxUSE_DC_CACHEING = no; then
14092 result=yes
14093 else
14094 result=no
14095 fi
14096 else
14097 result=$wxUSE_DC_CACHEING
14098 fi
14099
14100 { echo "$as_me:$LINENO: result: $result" >&5
14101 echo "${ECHO_T}$result" >&6; }
14102
14103
14104 enablestring=
14105 defaultval=$wxUSE_ALL_FEATURES
14106 if test -z "$defaultval"; then
14107 if test x"$enablestring" = xdisable; then
14108 defaultval=yes
14109 else
14110 defaultval=no
14111 fi
14112 fi
14113
14114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14115 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14116 # Check whether --enable-ps-in-msw was given.
14117 if test "${enable_ps_in_msw+set}" = set; then
14118 enableval=$enable_ps_in_msw;
14119 if test "$enableval" = yes; then
14120 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14121 else
14122 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14123 fi
14124
14125 else
14126
14127 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14128
14129 fi
14130
14131
14132 eval "$wx_cv_use_ps_in_msw"
14133
14134 if test x"$enablestring" = xdisable; then
14135 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14136 result=yes
14137 else
14138 result=no
14139 fi
14140 else
14141 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14142 fi
14143
14144 { echo "$as_me:$LINENO: result: $result" >&5
14145 echo "${ECHO_T}$result" >&6; }
14146
14147
14148 enablestring=
14149 defaultval=$wxUSE_ALL_FEATURES
14150 if test -z "$defaultval"; then
14151 if test x"$enablestring" = xdisable; then
14152 defaultval=yes
14153 else
14154 defaultval=no
14155 fi
14156 fi
14157
14158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14159 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14160 # Check whether --enable-ownerdrawn was given.
14161 if test "${enable_ownerdrawn+set}" = set; then
14162 enableval=$enable_ownerdrawn;
14163 if test "$enableval" = yes; then
14164 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14165 else
14166 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14167 fi
14168
14169 else
14170
14171 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14172
14173 fi
14174
14175
14176 eval "$wx_cv_use_ownerdrawn"
14177
14178 if test x"$enablestring" = xdisable; then
14179 if test $wxUSE_OWNER_DRAWN = no; then
14180 result=yes
14181 else
14182 result=no
14183 fi
14184 else
14185 result=$wxUSE_OWNER_DRAWN
14186 fi
14187
14188 { echo "$as_me:$LINENO: result: $result" >&5
14189 echo "${ECHO_T}$result" >&6; }
14190
14191
14192 enablestring=
14193 defaultval=$wxUSE_ALL_FEATURES
14194 if test -z "$defaultval"; then
14195 if test x"$enablestring" = xdisable; then
14196 defaultval=yes
14197 else
14198 defaultval=no
14199 fi
14200 fi
14201
14202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14203 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14204 # Check whether --enable-uxtheme was given.
14205 if test "${enable_uxtheme+set}" = set; then
14206 enableval=$enable_uxtheme;
14207 if test "$enableval" = yes; then
14208 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14209 else
14210 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14211 fi
14212
14213 else
14214
14215 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14216
14217 fi
14218
14219
14220 eval "$wx_cv_use_uxtheme"
14221
14222 if test x"$enablestring" = xdisable; then
14223 if test $wxUSE_UXTHEME = no; then
14224 result=yes
14225 else
14226 result=no
14227 fi
14228 else
14229 result=$wxUSE_UXTHEME
14230 fi
14231
14232 { echo "$as_me:$LINENO: result: $result" >&5
14233 echo "${ECHO_T}$result" >&6; }
14234
14235
14236 enablestring=
14237 defaultval=$wxUSE_ALL_FEATURES
14238 if test -z "$defaultval"; then
14239 if test x"$enablestring" = xdisable; then
14240 defaultval=yes
14241 else
14242 defaultval=no
14243 fi
14244 fi
14245
14246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14247 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14248 # Check whether --enable-wxdib was given.
14249 if test "${enable_wxdib+set}" = set; then
14250 enableval=$enable_wxdib;
14251 if test "$enableval" = yes; then
14252 wx_cv_use_wxdib='wxUSE_DIB=yes'
14253 else
14254 wx_cv_use_wxdib='wxUSE_DIB=no'
14255 fi
14256
14257 else
14258
14259 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14260
14261 fi
14262
14263
14264 eval "$wx_cv_use_wxdib"
14265
14266 if test x"$enablestring" = xdisable; then
14267 if test $wxUSE_DIB = no; then
14268 result=yes
14269 else
14270 result=no
14271 fi
14272 else
14273 result=$wxUSE_DIB
14274 fi
14275
14276 { echo "$as_me:$LINENO: result: $result" >&5
14277 echo "${ECHO_T}$result" >&6; }
14278
14279
14280 if test "$wxUSE_MSW" != 1; then
14281 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14282 fi
14283
14284
14285 enablestring=
14286 defaultval=$wxUSE_ALL_FEATURES
14287 if test -z "$defaultval"; then
14288 if test x"$enablestring" = xdisable; then
14289 defaultval=yes
14290 else
14291 defaultval=no
14292 fi
14293 fi
14294
14295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14296 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14297 # Check whether --enable-autoidman was given.
14298 if test "${enable_autoidman+set}" = set; then
14299 enableval=$enable_autoidman;
14300 if test "$enableval" = yes; then
14301 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14302 else
14303 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14304 fi
14305
14306 else
14307
14308 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14309
14310 fi
14311
14312
14313 eval "$wx_cv_use_autoidman"
14314
14315 if test x"$enablestring" = xdisable; then
14316 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14317 result=yes
14318 else
14319 result=no
14320 fi
14321 else
14322 result=$wxUSE_AUTOID_MANAGEMENT
14323 fi
14324
14325 { echo "$as_me:$LINENO: result: $result" >&5
14326 echo "${ECHO_T}$result" >&6; }
14327
14328
14329 fi
14330
14331
14332 cat >confcache <<\_ACEOF
14333 # This file is a shell script that caches the results of configure
14334 # tests run on this system so they can be shared between configure
14335 # scripts and configure runs, see configure's option --config-cache.
14336 # It is not useful on other systems. If it contains results you don't
14337 # want to keep, you may remove or edit it.
14338 #
14339 # config.status only pays attention to the cache file if you give it
14340 # the --recheck option to rerun configure.
14341 #
14342 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14343 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14344 # following values.
14345
14346 _ACEOF
14347
14348 # The following way of writing the cache mishandles newlines in values,
14349 # but we know of no workaround that is simple, portable, and efficient.
14350 # So, we kill variables containing newlines.
14351 # Ultrix sh set writes to stderr and can't be redirected directly,
14352 # and sets the high bit in the cache file unless we assign to the vars.
14353 (
14354 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14355 eval ac_val=\$$ac_var
14356 case $ac_val in #(
14357 *${as_nl}*)
14358 case $ac_var in #(
14359 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14360 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14361 esac
14362 case $ac_var in #(
14363 _ | IFS | as_nl) ;; #(
14364 *) $as_unset $ac_var ;;
14365 esac ;;
14366 esac
14367 done
14368
14369 (set) 2>&1 |
14370 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14371 *${as_nl}ac_space=\ *)
14372 # `set' does not quote correctly, so add quotes (double-quote
14373 # substitution turns \\\\ into \\, and sed turns \\ into \).
14374 sed -n \
14375 "s/'/'\\\\''/g;
14376 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14377 ;; #(
14378 *)
14379 # `set' quotes correctly as required by POSIX, so do not add quotes.
14380 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14381 ;;
14382 esac |
14383 sort
14384 ) |
14385 sed '
14386 /^ac_cv_env_/b end
14387 t clear
14388 :clear
14389 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14390 t end
14391 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14392 :end' >>confcache
14393 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14394 if test -w "$cache_file"; then
14395 test "x$cache_file" != "x/dev/null" &&
14396 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14397 echo "$as_me: updating cache $cache_file" >&6;}
14398 cat confcache >$cache_file
14399 else
14400 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14401 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14402 fi
14403 fi
14404 rm -f confcache
14405
14406 CFLAGS=${CFLAGS:=}
14407 ac_ext=c
14408 ac_cpp='$CPP $CPPFLAGS'
14409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14412 if test -n "$ac_tool_prefix"; then
14413 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14414 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14415 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14417 if test "${ac_cv_prog_CC+set}" = set; then
14418 echo $ECHO_N "(cached) $ECHO_C" >&6
14419 else
14420 if test -n "$CC"; then
14421 ac_cv_prog_CC="$CC" # Let the user override the test.
14422 else
14423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14424 for as_dir in $PATH
14425 do
14426 IFS=$as_save_IFS
14427 test -z "$as_dir" && as_dir=.
14428 for ac_exec_ext in '' $ac_executable_extensions; do
14429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14430 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14432 break 2
14433 fi
14434 done
14435 done
14436 IFS=$as_save_IFS
14437
14438 fi
14439 fi
14440 CC=$ac_cv_prog_CC
14441 if test -n "$CC"; then
14442 { echo "$as_me:$LINENO: result: $CC" >&5
14443 echo "${ECHO_T}$CC" >&6; }
14444 else
14445 { echo "$as_me:$LINENO: result: no" >&5
14446 echo "${ECHO_T}no" >&6; }
14447 fi
14448
14449
14450 fi
14451 if test -z "$ac_cv_prog_CC"; then
14452 ac_ct_CC=$CC
14453 # Extract the first word of "gcc", so it can be a program name with args.
14454 set dummy gcc; ac_word=$2
14455 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14457 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14458 echo $ECHO_N "(cached) $ECHO_C" >&6
14459 else
14460 if test -n "$ac_ct_CC"; then
14461 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14462 else
14463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14464 for as_dir in $PATH
14465 do
14466 IFS=$as_save_IFS
14467 test -z "$as_dir" && as_dir=.
14468 for ac_exec_ext in '' $ac_executable_extensions; do
14469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14470 ac_cv_prog_ac_ct_CC="gcc"
14471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14472 break 2
14473 fi
14474 done
14475 done
14476 IFS=$as_save_IFS
14477
14478 fi
14479 fi
14480 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14481 if test -n "$ac_ct_CC"; then
14482 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14483 echo "${ECHO_T}$ac_ct_CC" >&6; }
14484 else
14485 { echo "$as_me:$LINENO: result: no" >&5
14486 echo "${ECHO_T}no" >&6; }
14487 fi
14488
14489 if test "x$ac_ct_CC" = x; then
14490 CC=""
14491 else
14492 case $cross_compiling:$ac_tool_warned in
14493 yes:)
14494 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14495 whose name does not start with the host triplet. If you think this
14496 configuration is useful to you, please write to autoconf@gnu.org." >&5
14497 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14498 whose name does not start with the host triplet. If you think this
14499 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14500 ac_tool_warned=yes ;;
14501 esac
14502 CC=$ac_ct_CC
14503 fi
14504 else
14505 CC="$ac_cv_prog_CC"
14506 fi
14507
14508 if test -z "$CC"; then
14509 if test -n "$ac_tool_prefix"; then
14510 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14511 set dummy ${ac_tool_prefix}cc; ac_word=$2
14512 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14514 if test "${ac_cv_prog_CC+set}" = set; then
14515 echo $ECHO_N "(cached) $ECHO_C" >&6
14516 else
14517 if test -n "$CC"; then
14518 ac_cv_prog_CC="$CC" # Let the user override the test.
14519 else
14520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14521 for as_dir in $PATH
14522 do
14523 IFS=$as_save_IFS
14524 test -z "$as_dir" && as_dir=.
14525 for ac_exec_ext in '' $ac_executable_extensions; do
14526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14527 ac_cv_prog_CC="${ac_tool_prefix}cc"
14528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14529 break 2
14530 fi
14531 done
14532 done
14533 IFS=$as_save_IFS
14534
14535 fi
14536 fi
14537 CC=$ac_cv_prog_CC
14538 if test -n "$CC"; then
14539 { echo "$as_me:$LINENO: result: $CC" >&5
14540 echo "${ECHO_T}$CC" >&6; }
14541 else
14542 { echo "$as_me:$LINENO: result: no" >&5
14543 echo "${ECHO_T}no" >&6; }
14544 fi
14545
14546
14547 fi
14548 fi
14549 if test -z "$CC"; then
14550 # Extract the first word of "cc", so it can be a program name with args.
14551 set dummy cc; ac_word=$2
14552 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14554 if test "${ac_cv_prog_CC+set}" = set; then
14555 echo $ECHO_N "(cached) $ECHO_C" >&6
14556 else
14557 if test -n "$CC"; then
14558 ac_cv_prog_CC="$CC" # Let the user override the test.
14559 else
14560 ac_prog_rejected=no
14561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14562 for as_dir in $PATH
14563 do
14564 IFS=$as_save_IFS
14565 test -z "$as_dir" && as_dir=.
14566 for ac_exec_ext in '' $ac_executable_extensions; do
14567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14568 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14569 ac_prog_rejected=yes
14570 continue
14571 fi
14572 ac_cv_prog_CC="cc"
14573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14574 break 2
14575 fi
14576 done
14577 done
14578 IFS=$as_save_IFS
14579
14580 if test $ac_prog_rejected = yes; then
14581 # We found a bogon in the path, so make sure we never use it.
14582 set dummy $ac_cv_prog_CC
14583 shift
14584 if test $# != 0; then
14585 # We chose a different compiler from the bogus one.
14586 # However, it has the same basename, so the bogon will be chosen
14587 # first if we set CC to just the basename; use the full file name.
14588 shift
14589 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14590 fi
14591 fi
14592 fi
14593 fi
14594 CC=$ac_cv_prog_CC
14595 if test -n "$CC"; then
14596 { echo "$as_me:$LINENO: result: $CC" >&5
14597 echo "${ECHO_T}$CC" >&6; }
14598 else
14599 { echo "$as_me:$LINENO: result: no" >&5
14600 echo "${ECHO_T}no" >&6; }
14601 fi
14602
14603
14604 fi
14605 if test -z "$CC"; then
14606 if test -n "$ac_tool_prefix"; then
14607 for ac_prog in cl.exe
14608 do
14609 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14610 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14611 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14613 if test "${ac_cv_prog_CC+set}" = set; then
14614 echo $ECHO_N "(cached) $ECHO_C" >&6
14615 else
14616 if test -n "$CC"; then
14617 ac_cv_prog_CC="$CC" # Let the user override the test.
14618 else
14619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14620 for as_dir in $PATH
14621 do
14622 IFS=$as_save_IFS
14623 test -z "$as_dir" && as_dir=.
14624 for ac_exec_ext in '' $ac_executable_extensions; do
14625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14626 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14628 break 2
14629 fi
14630 done
14631 done
14632 IFS=$as_save_IFS
14633
14634 fi
14635 fi
14636 CC=$ac_cv_prog_CC
14637 if test -n "$CC"; then
14638 { echo "$as_me:$LINENO: result: $CC" >&5
14639 echo "${ECHO_T}$CC" >&6; }
14640 else
14641 { echo "$as_me:$LINENO: result: no" >&5
14642 echo "${ECHO_T}no" >&6; }
14643 fi
14644
14645
14646 test -n "$CC" && break
14647 done
14648 fi
14649 if test -z "$CC"; then
14650 ac_ct_CC=$CC
14651 for ac_prog in cl.exe
14652 do
14653 # Extract the first word of "$ac_prog", so it can be a program name with args.
14654 set dummy $ac_prog; ac_word=$2
14655 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14657 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14658 echo $ECHO_N "(cached) $ECHO_C" >&6
14659 else
14660 if test -n "$ac_ct_CC"; then
14661 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14662 else
14663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14664 for as_dir in $PATH
14665 do
14666 IFS=$as_save_IFS
14667 test -z "$as_dir" && as_dir=.
14668 for ac_exec_ext in '' $ac_executable_extensions; do
14669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14670 ac_cv_prog_ac_ct_CC="$ac_prog"
14671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14672 break 2
14673 fi
14674 done
14675 done
14676 IFS=$as_save_IFS
14677
14678 fi
14679 fi
14680 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14681 if test -n "$ac_ct_CC"; then
14682 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14683 echo "${ECHO_T}$ac_ct_CC" >&6; }
14684 else
14685 { echo "$as_me:$LINENO: result: no" >&5
14686 echo "${ECHO_T}no" >&6; }
14687 fi
14688
14689
14690 test -n "$ac_ct_CC" && break
14691 done
14692
14693 if test "x$ac_ct_CC" = x; then
14694 CC=""
14695 else
14696 case $cross_compiling:$ac_tool_warned in
14697 yes:)
14698 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14699 whose name does not start with the host triplet. If you think this
14700 configuration is useful to you, please write to autoconf@gnu.org." >&5
14701 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14702 whose name does not start with the host triplet. If you think this
14703 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14704 ac_tool_warned=yes ;;
14705 esac
14706 CC=$ac_ct_CC
14707 fi
14708 fi
14709
14710 fi
14711
14712
14713 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14714 See \`config.log' for more details." >&5
14715 echo "$as_me: error: no acceptable C compiler found in \$PATH
14716 See \`config.log' for more details." >&2;}
14717 { (exit 1); exit 1; }; }
14718
14719 # Provide some information about the compiler.
14720 echo "$as_me:$LINENO: checking for C compiler version" >&5
14721 ac_compiler=`set X $ac_compile; echo $2`
14722 { (ac_try="$ac_compiler --version >&5"
14723 case "(($ac_try" in
14724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14725 *) ac_try_echo=$ac_try;;
14726 esac
14727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14728 (eval "$ac_compiler --version >&5") 2>&5
14729 ac_status=$?
14730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14731 (exit $ac_status); }
14732 { (ac_try="$ac_compiler -v >&5"
14733 case "(($ac_try" in
14734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14735 *) ac_try_echo=$ac_try;;
14736 esac
14737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14738 (eval "$ac_compiler -v >&5") 2>&5
14739 ac_status=$?
14740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14741 (exit $ac_status); }
14742 { (ac_try="$ac_compiler -V >&5"
14743 case "(($ac_try" in
14744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14745 *) ac_try_echo=$ac_try;;
14746 esac
14747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14748 (eval "$ac_compiler -V >&5") 2>&5
14749 ac_status=$?
14750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14751 (exit $ac_status); }
14752
14753 cat >conftest.$ac_ext <<_ACEOF
14754 /* confdefs.h. */
14755 _ACEOF
14756 cat confdefs.h >>conftest.$ac_ext
14757 cat >>conftest.$ac_ext <<_ACEOF
14758 /* end confdefs.h. */
14759
14760 int
14761 main ()
14762 {
14763
14764 ;
14765 return 0;
14766 }
14767 _ACEOF
14768 ac_clean_files_save=$ac_clean_files
14769 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14770 # Try to create an executable without -o first, disregard a.out.
14771 # It will help us diagnose broken compilers, and finding out an intuition
14772 # of exeext.
14773 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14774 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14775 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14776 #
14777 # List of possible output files, starting from the most likely.
14778 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14779 # only as a last resort. b.out is created by i960 compilers.
14780 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14781 #
14782 # The IRIX 6 linker writes into existing files which may not be
14783 # executable, retaining their permissions. Remove them first so a
14784 # subsequent execution test works.
14785 ac_rmfiles=
14786 for ac_file in $ac_files
14787 do
14788 case $ac_file in
14789 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14790 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14791 esac
14792 done
14793 rm -f $ac_rmfiles
14794
14795 if { (ac_try="$ac_link_default"
14796 case "(($ac_try" in
14797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14798 *) ac_try_echo=$ac_try;;
14799 esac
14800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14801 (eval "$ac_link_default") 2>&5
14802 ac_status=$?
14803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14804 (exit $ac_status); }; then
14805 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14806 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14807 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14808 # so that the user can short-circuit this test for compilers unknown to
14809 # Autoconf.
14810 for ac_file in $ac_files ''
14811 do
14812 test -f "$ac_file" || continue
14813 case $ac_file in
14814 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14815 ;;
14816 [ab].out )
14817 # We found the default executable, but exeext='' is most
14818 # certainly right.
14819 break;;
14820 *.* )
14821 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14822 then :; else
14823 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14824 fi
14825 # We set ac_cv_exeext here because the later test for it is not
14826 # safe: cross compilers may not add the suffix if given an `-o'
14827 # argument, so we may need to know it at that point already.
14828 # Even if this section looks crufty: it has the advantage of
14829 # actually working.
14830 break;;
14831 * )
14832 break;;
14833 esac
14834 done
14835 test "$ac_cv_exeext" = no && ac_cv_exeext=
14836
14837 else
14838 ac_file=''
14839 fi
14840
14841 { echo "$as_me:$LINENO: result: $ac_file" >&5
14842 echo "${ECHO_T}$ac_file" >&6; }
14843 if test -z "$ac_file"; then
14844 echo "$as_me: failed program was:" >&5
14845 sed 's/^/| /' conftest.$ac_ext >&5
14846
14847 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14848 See \`config.log' for more details." >&5
14849 echo "$as_me: error: C compiler cannot create executables
14850 See \`config.log' for more details." >&2;}
14851 { (exit 77); exit 77; }; }
14852 fi
14853
14854 ac_exeext=$ac_cv_exeext
14855
14856 # Check that the compiler produces executables we can run. If not, either
14857 # the compiler is broken, or we cross compile.
14858 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14859 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14860 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14861 # If not cross compiling, check that we can run a simple program.
14862 if test "$cross_compiling" != yes; then
14863 if { ac_try='./$ac_file'
14864 { (case "(($ac_try" in
14865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14866 *) ac_try_echo=$ac_try;;
14867 esac
14868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14869 (eval "$ac_try") 2>&5
14870 ac_status=$?
14871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14872 (exit $ac_status); }; }; then
14873 cross_compiling=no
14874 else
14875 if test "$cross_compiling" = maybe; then
14876 cross_compiling=yes
14877 else
14878 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14879 If you meant to cross compile, use \`--host'.
14880 See \`config.log' for more details." >&5
14881 echo "$as_me: error: cannot run C compiled programs.
14882 If you meant to cross compile, use \`--host'.
14883 See \`config.log' for more details." >&2;}
14884 { (exit 1); exit 1; }; }
14885 fi
14886 fi
14887 fi
14888 { echo "$as_me:$LINENO: result: yes" >&5
14889 echo "${ECHO_T}yes" >&6; }
14890
14891 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14892 ac_clean_files=$ac_clean_files_save
14893 # Check that the compiler produces executables we can run. If not, either
14894 # the compiler is broken, or we cross compile.
14895 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14896 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14897 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14898 echo "${ECHO_T}$cross_compiling" >&6; }
14899
14900 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14901 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14902 if { (ac_try="$ac_link"
14903 case "(($ac_try" in
14904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14905 *) ac_try_echo=$ac_try;;
14906 esac
14907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14908 (eval "$ac_link") 2>&5
14909 ac_status=$?
14910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14911 (exit $ac_status); }; then
14912 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14913 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14914 # work properly (i.e., refer to `conftest.exe'), while it won't with
14915 # `rm'.
14916 for ac_file in conftest.exe conftest conftest.*; do
14917 test -f "$ac_file" || continue
14918 case $ac_file in
14919 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14920 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14921 break;;
14922 * ) break;;
14923 esac
14924 done
14925 else
14926 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14927 See \`config.log' for more details." >&5
14928 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14929 See \`config.log' for more details." >&2;}
14930 { (exit 1); exit 1; }; }
14931 fi
14932
14933 rm -f conftest$ac_cv_exeext
14934 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14935 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14936
14937 rm -f conftest.$ac_ext
14938 EXEEXT=$ac_cv_exeext
14939 ac_exeext=$EXEEXT
14940 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14941 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14942 if test "${ac_cv_objext+set}" = set; then
14943 echo $ECHO_N "(cached) $ECHO_C" >&6
14944 else
14945 cat >conftest.$ac_ext <<_ACEOF
14946 /* confdefs.h. */
14947 _ACEOF
14948 cat confdefs.h >>conftest.$ac_ext
14949 cat >>conftest.$ac_ext <<_ACEOF
14950 /* end confdefs.h. */
14951
14952 int
14953 main ()
14954 {
14955
14956 ;
14957 return 0;
14958 }
14959 _ACEOF
14960 rm -f conftest.o conftest.obj
14961 if { (ac_try="$ac_compile"
14962 case "(($ac_try" in
14963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14964 *) ac_try_echo=$ac_try;;
14965 esac
14966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14967 (eval "$ac_compile") 2>&5
14968 ac_status=$?
14969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14970 (exit $ac_status); }; then
14971 for ac_file in conftest.o conftest.obj conftest.*; do
14972 test -f "$ac_file" || continue;
14973 case $ac_file in
14974 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14975 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14976 break;;
14977 esac
14978 done
14979 else
14980 echo "$as_me: failed program was:" >&5
14981 sed 's/^/| /' conftest.$ac_ext >&5
14982
14983 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14984 See \`config.log' for more details." >&5
14985 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14986 See \`config.log' for more details." >&2;}
14987 { (exit 1); exit 1; }; }
14988 fi
14989
14990 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14991 fi
14992 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14993 echo "${ECHO_T}$ac_cv_objext" >&6; }
14994 OBJEXT=$ac_cv_objext
14995 ac_objext=$OBJEXT
14996 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14997 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14998 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14999 echo $ECHO_N "(cached) $ECHO_C" >&6
15000 else
15001 cat >conftest.$ac_ext <<_ACEOF
15002 /* confdefs.h. */
15003 _ACEOF
15004 cat confdefs.h >>conftest.$ac_ext
15005 cat >>conftest.$ac_ext <<_ACEOF
15006 /* end confdefs.h. */
15007
15008 int
15009 main ()
15010 {
15011 #ifndef __GNUC__
15012 choke me
15013 #endif
15014
15015 ;
15016 return 0;
15017 }
15018 _ACEOF
15019 rm -f conftest.$ac_objext
15020 if { (ac_try="$ac_compile"
15021 case "(($ac_try" in
15022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15023 *) ac_try_echo=$ac_try;;
15024 esac
15025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15026 (eval "$ac_compile") 2>conftest.er1
15027 ac_status=$?
15028 grep -v '^ *+' conftest.er1 >conftest.err
15029 rm -f conftest.er1
15030 cat conftest.err >&5
15031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15032 (exit $ac_status); } && {
15033 test -z "$ac_c_werror_flag" ||
15034 test ! -s conftest.err
15035 } && test -s conftest.$ac_objext; then
15036 ac_compiler_gnu=yes
15037 else
15038 echo "$as_me: failed program was:" >&5
15039 sed 's/^/| /' conftest.$ac_ext >&5
15040
15041 ac_compiler_gnu=no
15042 fi
15043
15044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15045 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15046
15047 fi
15048 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15049 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15050 GCC=`test $ac_compiler_gnu = yes && echo yes`
15051 ac_test_CFLAGS=${CFLAGS+set}
15052 ac_save_CFLAGS=$CFLAGS
15053 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15054 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15055 if test "${ac_cv_prog_cc_g+set}" = set; then
15056 echo $ECHO_N "(cached) $ECHO_C" >&6
15057 else
15058 ac_save_c_werror_flag=$ac_c_werror_flag
15059 ac_c_werror_flag=yes
15060 ac_cv_prog_cc_g=no
15061 CFLAGS="-g"
15062 cat >conftest.$ac_ext <<_ACEOF
15063 /* confdefs.h. */
15064 _ACEOF
15065 cat confdefs.h >>conftest.$ac_ext
15066 cat >>conftest.$ac_ext <<_ACEOF
15067 /* end confdefs.h. */
15068
15069 int
15070 main ()
15071 {
15072
15073 ;
15074 return 0;
15075 }
15076 _ACEOF
15077 rm -f conftest.$ac_objext
15078 if { (ac_try="$ac_compile"
15079 case "(($ac_try" in
15080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15081 *) ac_try_echo=$ac_try;;
15082 esac
15083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15084 (eval "$ac_compile") 2>conftest.er1
15085 ac_status=$?
15086 grep -v '^ *+' conftest.er1 >conftest.err
15087 rm -f conftest.er1
15088 cat conftest.err >&5
15089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15090 (exit $ac_status); } && {
15091 test -z "$ac_c_werror_flag" ||
15092 test ! -s conftest.err
15093 } && test -s conftest.$ac_objext; then
15094 ac_cv_prog_cc_g=yes
15095 else
15096 echo "$as_me: failed program was:" >&5
15097 sed 's/^/| /' conftest.$ac_ext >&5
15098
15099 CFLAGS=""
15100 cat >conftest.$ac_ext <<_ACEOF
15101 /* confdefs.h. */
15102 _ACEOF
15103 cat confdefs.h >>conftest.$ac_ext
15104 cat >>conftest.$ac_ext <<_ACEOF
15105 /* end confdefs.h. */
15106
15107 int
15108 main ()
15109 {
15110
15111 ;
15112 return 0;
15113 }
15114 _ACEOF
15115 rm -f conftest.$ac_objext
15116 if { (ac_try="$ac_compile"
15117 case "(($ac_try" in
15118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15119 *) ac_try_echo=$ac_try;;
15120 esac
15121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15122 (eval "$ac_compile") 2>conftest.er1
15123 ac_status=$?
15124 grep -v '^ *+' conftest.er1 >conftest.err
15125 rm -f conftest.er1
15126 cat conftest.err >&5
15127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15128 (exit $ac_status); } && {
15129 test -z "$ac_c_werror_flag" ||
15130 test ! -s conftest.err
15131 } && test -s conftest.$ac_objext; then
15132 :
15133 else
15134 echo "$as_me: failed program was:" >&5
15135 sed 's/^/| /' conftest.$ac_ext >&5
15136
15137 ac_c_werror_flag=$ac_save_c_werror_flag
15138 CFLAGS="-g"
15139 cat >conftest.$ac_ext <<_ACEOF
15140 /* confdefs.h. */
15141 _ACEOF
15142 cat confdefs.h >>conftest.$ac_ext
15143 cat >>conftest.$ac_ext <<_ACEOF
15144 /* end confdefs.h. */
15145
15146 int
15147 main ()
15148 {
15149
15150 ;
15151 return 0;
15152 }
15153 _ACEOF
15154 rm -f conftest.$ac_objext
15155 if { (ac_try="$ac_compile"
15156 case "(($ac_try" in
15157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15158 *) ac_try_echo=$ac_try;;
15159 esac
15160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15161 (eval "$ac_compile") 2>conftest.er1
15162 ac_status=$?
15163 grep -v '^ *+' conftest.er1 >conftest.err
15164 rm -f conftest.er1
15165 cat conftest.err >&5
15166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15167 (exit $ac_status); } && {
15168 test -z "$ac_c_werror_flag" ||
15169 test ! -s conftest.err
15170 } && test -s conftest.$ac_objext; then
15171 ac_cv_prog_cc_g=yes
15172 else
15173 echo "$as_me: failed program was:" >&5
15174 sed 's/^/| /' conftest.$ac_ext >&5
15175
15176
15177 fi
15178
15179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15180 fi
15181
15182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15183 fi
15184
15185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15186 ac_c_werror_flag=$ac_save_c_werror_flag
15187 fi
15188 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15189 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15190 if test "$ac_test_CFLAGS" = set; then
15191 CFLAGS=$ac_save_CFLAGS
15192 elif test $ac_cv_prog_cc_g = yes; then
15193 if test "$GCC" = yes; then
15194 CFLAGS="-g -O2"
15195 else
15196 CFLAGS="-g"
15197 fi
15198 else
15199 if test "$GCC" = yes; then
15200 CFLAGS="-O2"
15201 else
15202 CFLAGS=
15203 fi
15204 fi
15205 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15206 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15207 if test "${ac_cv_prog_cc_c89+set}" = set; then
15208 echo $ECHO_N "(cached) $ECHO_C" >&6
15209 else
15210 ac_cv_prog_cc_c89=no
15211 ac_save_CC=$CC
15212 cat >conftest.$ac_ext <<_ACEOF
15213 /* confdefs.h. */
15214 _ACEOF
15215 cat confdefs.h >>conftest.$ac_ext
15216 cat >>conftest.$ac_ext <<_ACEOF
15217 /* end confdefs.h. */
15218 #include <stdarg.h>
15219 #include <stdio.h>
15220 #include <sys/types.h>
15221 #include <sys/stat.h>
15222 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15223 struct buf { int x; };
15224 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15225 static char *e (p, i)
15226 char **p;
15227 int i;
15228 {
15229 return p[i];
15230 }
15231 static char *f (char * (*g) (char **, int), char **p, ...)
15232 {
15233 char *s;
15234 va_list v;
15235 va_start (v,p);
15236 s = g (p, va_arg (v,int));
15237 va_end (v);
15238 return s;
15239 }
15240
15241 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15242 function prototypes and stuff, but not '\xHH' hex character constants.
15243 These don't provoke an error unfortunately, instead are silently treated
15244 as 'x'. The following induces an error, until -std is added to get
15245 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15246 array size at least. It's necessary to write '\x00'==0 to get something
15247 that's true only with -std. */
15248 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15249
15250 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15251 inside strings and character constants. */
15252 #define FOO(x) 'x'
15253 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15254
15255 int test (int i, double x);
15256 struct s1 {int (*f) (int a);};
15257 struct s2 {int (*f) (double a);};
15258 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15259 int argc;
15260 char **argv;
15261 int
15262 main ()
15263 {
15264 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15265 ;
15266 return 0;
15267 }
15268 _ACEOF
15269 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15270 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15271 do
15272 CC="$ac_save_CC $ac_arg"
15273 rm -f conftest.$ac_objext
15274 if { (ac_try="$ac_compile"
15275 case "(($ac_try" in
15276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15277 *) ac_try_echo=$ac_try;;
15278 esac
15279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15280 (eval "$ac_compile") 2>conftest.er1
15281 ac_status=$?
15282 grep -v '^ *+' conftest.er1 >conftest.err
15283 rm -f conftest.er1
15284 cat conftest.err >&5
15285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15286 (exit $ac_status); } && {
15287 test -z "$ac_c_werror_flag" ||
15288 test ! -s conftest.err
15289 } && test -s conftest.$ac_objext; then
15290 ac_cv_prog_cc_c89=$ac_arg
15291 else
15292 echo "$as_me: failed program was:" >&5
15293 sed 's/^/| /' conftest.$ac_ext >&5
15294
15295
15296 fi
15297
15298 rm -f core conftest.err conftest.$ac_objext
15299 test "x$ac_cv_prog_cc_c89" != "xno" && break
15300 done
15301 rm -f conftest.$ac_ext
15302 CC=$ac_save_CC
15303
15304 fi
15305 # AC_CACHE_VAL
15306 case "x$ac_cv_prog_cc_c89" in
15307 x)
15308 { echo "$as_me:$LINENO: result: none needed" >&5
15309 echo "${ECHO_T}none needed" >&6; } ;;
15310 xno)
15311 { echo "$as_me:$LINENO: result: unsupported" >&5
15312 echo "${ECHO_T}unsupported" >&6; } ;;
15313 *)
15314 CC="$CC $ac_cv_prog_cc_c89"
15315 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15316 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15317 esac
15318
15319
15320 ac_ext=c
15321 ac_cpp='$CPP $CPPFLAGS'
15322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15325
15326
15327
15328
15329
15330
15331
15332
15333 ac_ext=c
15334 ac_cpp='$CPP $CPPFLAGS'
15335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15338
15339 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15340 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15341 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15342 echo $ECHO_N "(cached) $ECHO_C" >&6
15343 else
15344 cat >conftest.$ac_ext <<_ACEOF
15345 /* confdefs.h. */
15346 _ACEOF
15347 cat confdefs.h >>conftest.$ac_ext
15348 cat >>conftest.$ac_ext <<_ACEOF
15349 /* end confdefs.h. */
15350
15351 int
15352 main ()
15353 {
15354
15355 #ifndef __INTEL_COMPILER
15356 choke me
15357 #endif
15358
15359 ;
15360 return 0;
15361 }
15362 _ACEOF
15363 rm -f conftest.$ac_objext
15364 if { (ac_try="$ac_compile"
15365 case "(($ac_try" in
15366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15367 *) ac_try_echo=$ac_try;;
15368 esac
15369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15370 (eval "$ac_compile") 2>conftest.er1
15371 ac_status=$?
15372 grep -v '^ *+' conftest.er1 >conftest.err
15373 rm -f conftest.er1
15374 cat conftest.err >&5
15375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15376 (exit $ac_status); } && {
15377 test -z "$ac_c_werror_flag" ||
15378 test ! -s conftest.err
15379 } && test -s conftest.$ac_objext; then
15380 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15381 else
15382 echo "$as_me: failed program was:" >&5
15383 sed 's/^/| /' conftest.$ac_ext >&5
15384
15385 bakefile_cv_c_compiler___INTEL_COMPILER=no
15386
15387 fi
15388
15389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15390
15391
15392 fi
15393 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15394 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15395 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15396 :; INTELCC=yes
15397 else
15398 :;
15399 fi
15400 ac_ext=c
15401 ac_cpp='$CPP $CPPFLAGS'
15402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15405
15406
15407
15408
15409 if test "$INTELCC" = "yes"; then
15410
15411
15412 ac_ext=c
15413 ac_cpp='$CPP $CPPFLAGS'
15414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15417
15418 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15419 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15420 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15421 echo $ECHO_N "(cached) $ECHO_C" >&6
15422 else
15423 cat >conftest.$ac_ext <<_ACEOF
15424 /* confdefs.h. */
15425 _ACEOF
15426 cat confdefs.h >>conftest.$ac_ext
15427 cat >>conftest.$ac_ext <<_ACEOF
15428 /* end confdefs.h. */
15429
15430 int
15431 main ()
15432 {
15433
15434 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15435 choke me
15436 #endif
15437
15438 ;
15439 return 0;
15440 }
15441 _ACEOF
15442 rm -f conftest.$ac_objext
15443 if { (ac_try="$ac_compile"
15444 case "(($ac_try" in
15445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15446 *) ac_try_echo=$ac_try;;
15447 esac
15448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15449 (eval "$ac_compile") 2>conftest.er1
15450 ac_status=$?
15451 grep -v '^ *+' conftest.er1 >conftest.err
15452 rm -f conftest.er1
15453 cat conftest.err >&5
15454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15455 (exit $ac_status); } && {
15456 test -z "$ac_c_werror_flag" ||
15457 test ! -s conftest.err
15458 } && test -s conftest.$ac_objext; then
15459 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15460 else
15461 echo "$as_me: failed program was:" >&5
15462 sed 's/^/| /' conftest.$ac_ext >&5
15463
15464 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15465
15466 fi
15467
15468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15469
15470
15471 fi
15472 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15473 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15474 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15475 :; INTELCC8=yes
15476 else
15477 :;
15478 fi
15479 ac_ext=c
15480 ac_cpp='$CPP $CPPFLAGS'
15481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15484
15485
15486
15487
15488
15489 ac_ext=c
15490 ac_cpp='$CPP $CPPFLAGS'
15491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15494
15495 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15496 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15497 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15498 echo $ECHO_N "(cached) $ECHO_C" >&6
15499 else
15500 cat >conftest.$ac_ext <<_ACEOF
15501 /* confdefs.h. */
15502 _ACEOF
15503 cat confdefs.h >>conftest.$ac_ext
15504 cat >>conftest.$ac_ext <<_ACEOF
15505 /* end confdefs.h. */
15506
15507 int
15508 main ()
15509 {
15510
15511 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15512 choke me
15513 #endif
15514
15515 ;
15516 return 0;
15517 }
15518 _ACEOF
15519 rm -f conftest.$ac_objext
15520 if { (ac_try="$ac_compile"
15521 case "(($ac_try" in
15522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15523 *) ac_try_echo=$ac_try;;
15524 esac
15525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15526 (eval "$ac_compile") 2>conftest.er1
15527 ac_status=$?
15528 grep -v '^ *+' conftest.er1 >conftest.err
15529 rm -f conftest.er1
15530 cat conftest.err >&5
15531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15532 (exit $ac_status); } && {
15533 test -z "$ac_c_werror_flag" ||
15534 test ! -s conftest.err
15535 } && test -s conftest.$ac_objext; then
15536 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15537 else
15538 echo "$as_me: failed program was:" >&5
15539 sed 's/^/| /' conftest.$ac_ext >&5
15540
15541 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15542
15543 fi
15544
15545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15546
15547
15548 fi
15549 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15550 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15551 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15552 :; INTELCC10=yes
15553 else
15554 :;
15555 fi
15556 ac_ext=c
15557 ac_cpp='$CPP $CPPFLAGS'
15558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15561
15562
15563
15564 fi
15565
15566 if test "x$GCC" != "xyes"; then
15567 if test "xCC" = "xC"; then
15568 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15569 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15570 if test "${bakefile_cv_c_exto+set}" = set; then
15571 echo $ECHO_N "(cached) $ECHO_C" >&6
15572 else
15573 cat >conftest.$ac_ext <<_ACEOF
15574 /* confdefs.h. */
15575 _ACEOF
15576 cat confdefs.h >>conftest.$ac_ext
15577 cat >>conftest.$ac_ext <<_ACEOF
15578 /* end confdefs.h. */
15579
15580 int
15581 main ()
15582 {
15583
15584 ;
15585 return 0;
15586 }
15587 _ACEOF
15588 rm -f conftest.$ac_objext conftest.$ac_ext.o
15589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15590 (eval $ac_compile) 2>&5
15591 ac_status=$?
15592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15593 (exit $ac_status); }; then
15594 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15595 case $ac_file in
15596 conftest.$ac_ext.o)
15597 bakefile_cv_c_exto="-ext o"
15598 ;;
15599 *)
15600 ;;
15601 esac
15602 done
15603 else
15604 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15605 See \`config.log' for more details." >&5
15606 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15607 See \`config.log' for more details." >&2;}
15608 { (exit 1); exit 1; }; }
15609
15610 fi
15611
15612 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15613
15614 fi
15615 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15616 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15617 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15618 if test "c" = "c"; then
15619 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15620 fi
15621 if test "c" = "cxx"; then
15622 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15623 fi
15624 fi
15625
15626 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15627 unset ac_cv_prog_cc_g
15628 ac_test_CFLAGS=${CFLAGS+set}
15629 ac_save_CFLAGS=$CFLAGS
15630 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15631 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15632 if test "${ac_cv_prog_cc_g+set}" = set; then
15633 echo $ECHO_N "(cached) $ECHO_C" >&6
15634 else
15635 ac_save_c_werror_flag=$ac_c_werror_flag
15636 ac_c_werror_flag=yes
15637 ac_cv_prog_cc_g=no
15638 CFLAGS="-g"
15639 cat >conftest.$ac_ext <<_ACEOF
15640 /* confdefs.h. */
15641 _ACEOF
15642 cat confdefs.h >>conftest.$ac_ext
15643 cat >>conftest.$ac_ext <<_ACEOF
15644 /* end confdefs.h. */
15645
15646 int
15647 main ()
15648 {
15649
15650 ;
15651 return 0;
15652 }
15653 _ACEOF
15654 rm -f conftest.$ac_objext
15655 if { (ac_try="$ac_compile"
15656 case "(($ac_try" in
15657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15658 *) ac_try_echo=$ac_try;;
15659 esac
15660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15661 (eval "$ac_compile") 2>conftest.er1
15662 ac_status=$?
15663 grep -v '^ *+' conftest.er1 >conftest.err
15664 rm -f conftest.er1
15665 cat conftest.err >&5
15666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15667 (exit $ac_status); } && {
15668 test -z "$ac_c_werror_flag" ||
15669 test ! -s conftest.err
15670 } && test -s conftest.$ac_objext; then
15671 ac_cv_prog_cc_g=yes
15672 else
15673 echo "$as_me: failed program was:" >&5
15674 sed 's/^/| /' conftest.$ac_ext >&5
15675
15676 CFLAGS=""
15677 cat >conftest.$ac_ext <<_ACEOF
15678 /* confdefs.h. */
15679 _ACEOF
15680 cat confdefs.h >>conftest.$ac_ext
15681 cat >>conftest.$ac_ext <<_ACEOF
15682 /* end confdefs.h. */
15683
15684 int
15685 main ()
15686 {
15687
15688 ;
15689 return 0;
15690 }
15691 _ACEOF
15692 rm -f conftest.$ac_objext
15693 if { (ac_try="$ac_compile"
15694 case "(($ac_try" in
15695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15696 *) ac_try_echo=$ac_try;;
15697 esac
15698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15699 (eval "$ac_compile") 2>conftest.er1
15700 ac_status=$?
15701 grep -v '^ *+' conftest.er1 >conftest.err
15702 rm -f conftest.er1
15703 cat conftest.err >&5
15704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15705 (exit $ac_status); } && {
15706 test -z "$ac_c_werror_flag" ||
15707 test ! -s conftest.err
15708 } && test -s conftest.$ac_objext; then
15709 :
15710 else
15711 echo "$as_me: failed program was:" >&5
15712 sed 's/^/| /' conftest.$ac_ext >&5
15713
15714 ac_c_werror_flag=$ac_save_c_werror_flag
15715 CFLAGS="-g"
15716 cat >conftest.$ac_ext <<_ACEOF
15717 /* confdefs.h. */
15718 _ACEOF
15719 cat confdefs.h >>conftest.$ac_ext
15720 cat >>conftest.$ac_ext <<_ACEOF
15721 /* end confdefs.h. */
15722
15723 int
15724 main ()
15725 {
15726
15727 ;
15728 return 0;
15729 }
15730 _ACEOF
15731 rm -f conftest.$ac_objext
15732 if { (ac_try="$ac_compile"
15733 case "(($ac_try" in
15734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15735 *) ac_try_echo=$ac_try;;
15736 esac
15737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15738 (eval "$ac_compile") 2>conftest.er1
15739 ac_status=$?
15740 grep -v '^ *+' conftest.er1 >conftest.err
15741 rm -f conftest.er1
15742 cat conftest.err >&5
15743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15744 (exit $ac_status); } && {
15745 test -z "$ac_c_werror_flag" ||
15746 test ! -s conftest.err
15747 } && test -s conftest.$ac_objext; then
15748 ac_cv_prog_cc_g=yes
15749 else
15750 echo "$as_me: failed program was:" >&5
15751 sed 's/^/| /' conftest.$ac_ext >&5
15752
15753
15754 fi
15755
15756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15757 fi
15758
15759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15760 fi
15761
15762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15763 ac_c_werror_flag=$ac_save_c_werror_flag
15764 fi
15765 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15766 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15767 if test "$ac_test_CFLAGS" = set; then
15768 CFLAGS=$ac_save_CFLAGS
15769 elif test $ac_cv_prog_cc_g = yes; then
15770 if test "$GCC" = yes; then
15771 CFLAGS="-g -O2"
15772 else
15773 CFLAGS="-g"
15774 fi
15775 else
15776 if test "$GCC" = yes; then
15777 CFLAGS="-O2"
15778 else
15779 CFLAGS=
15780 fi
15781 fi
15782 fi
15783 fi
15784
15785 case `uname -s` in
15786 AIX*)
15787
15788
15789 ac_ext=c
15790 ac_cpp='$CPP $CPPFLAGS'
15791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15794
15795 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15796 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15797 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15798 echo $ECHO_N "(cached) $ECHO_C" >&6
15799 else
15800 cat >conftest.$ac_ext <<_ACEOF
15801 /* confdefs.h. */
15802 _ACEOF
15803 cat confdefs.h >>conftest.$ac_ext
15804 cat >>conftest.$ac_ext <<_ACEOF
15805 /* end confdefs.h. */
15806
15807 int
15808 main ()
15809 {
15810
15811 #ifndef __xlC__
15812 choke me
15813 #endif
15814
15815 ;
15816 return 0;
15817 }
15818 _ACEOF
15819 rm -f conftest.$ac_objext
15820 if { (ac_try="$ac_compile"
15821 case "(($ac_try" in
15822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15823 *) ac_try_echo=$ac_try;;
15824 esac
15825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15826 (eval "$ac_compile") 2>conftest.er1
15827 ac_status=$?
15828 grep -v '^ *+' conftest.er1 >conftest.err
15829 rm -f conftest.er1
15830 cat conftest.err >&5
15831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); } && {
15833 test -z "$ac_c_werror_flag" ||
15834 test ! -s conftest.err
15835 } && test -s conftest.$ac_objext; then
15836 bakefile_cv_c_compiler___xlC__=yes
15837 else
15838 echo "$as_me: failed program was:" >&5
15839 sed 's/^/| /' conftest.$ac_ext >&5
15840
15841 bakefile_cv_c_compiler___xlC__=no
15842
15843 fi
15844
15845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15846
15847
15848 fi
15849 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15850 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15851 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15852 :; XLCC=yes
15853 else
15854 :;
15855 fi
15856 ac_ext=c
15857 ac_cpp='$CPP $CPPFLAGS'
15858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15861
15862
15863
15864 ;;
15865
15866 Darwin)
15867
15868
15869 ac_ext=c
15870 ac_cpp='$CPP $CPPFLAGS'
15871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15874
15875 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15876 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15877 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15878 echo $ECHO_N "(cached) $ECHO_C" >&6
15879 else
15880 cat >conftest.$ac_ext <<_ACEOF
15881 /* confdefs.h. */
15882 _ACEOF
15883 cat confdefs.h >>conftest.$ac_ext
15884 cat >>conftest.$ac_ext <<_ACEOF
15885 /* end confdefs.h. */
15886
15887 int
15888 main ()
15889 {
15890
15891 #ifndef __MWERKS__
15892 choke me
15893 #endif
15894
15895 ;
15896 return 0;
15897 }
15898 _ACEOF
15899 rm -f conftest.$ac_objext
15900 if { (ac_try="$ac_compile"
15901 case "(($ac_try" in
15902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15903 *) ac_try_echo=$ac_try;;
15904 esac
15905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15906 (eval "$ac_compile") 2>conftest.er1
15907 ac_status=$?
15908 grep -v '^ *+' conftest.er1 >conftest.err
15909 rm -f conftest.er1
15910 cat conftest.err >&5
15911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15912 (exit $ac_status); } && {
15913 test -z "$ac_c_werror_flag" ||
15914 test ! -s conftest.err
15915 } && test -s conftest.$ac_objext; then
15916 bakefile_cv_c_compiler___MWERKS__=yes
15917 else
15918 echo "$as_me: failed program was:" >&5
15919 sed 's/^/| /' conftest.$ac_ext >&5
15920
15921 bakefile_cv_c_compiler___MWERKS__=no
15922
15923 fi
15924
15925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15926
15927
15928 fi
15929 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15930 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15931 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15932 :; MWCC=yes
15933 else
15934 :;
15935 fi
15936 ac_ext=c
15937 ac_cpp='$CPP $CPPFLAGS'
15938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15941
15942
15943
15944 if test "$MWCC" != "yes"; then
15945
15946
15947 ac_ext=c
15948 ac_cpp='$CPP $CPPFLAGS'
15949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15952
15953 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15954 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15955 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15956 echo $ECHO_N "(cached) $ECHO_C" >&6
15957 else
15958 cat >conftest.$ac_ext <<_ACEOF
15959 /* confdefs.h. */
15960 _ACEOF
15961 cat confdefs.h >>conftest.$ac_ext
15962 cat >>conftest.$ac_ext <<_ACEOF
15963 /* end confdefs.h. */
15964
15965 int
15966 main ()
15967 {
15968
15969 #ifndef __xlC__
15970 choke me
15971 #endif
15972
15973 ;
15974 return 0;
15975 }
15976 _ACEOF
15977 rm -f conftest.$ac_objext
15978 if { (ac_try="$ac_compile"
15979 case "(($ac_try" in
15980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15981 *) ac_try_echo=$ac_try;;
15982 esac
15983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15984 (eval "$ac_compile") 2>conftest.er1
15985 ac_status=$?
15986 grep -v '^ *+' conftest.er1 >conftest.err
15987 rm -f conftest.er1
15988 cat conftest.err >&5
15989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15990 (exit $ac_status); } && {
15991 test -z "$ac_c_werror_flag" ||
15992 test ! -s conftest.err
15993 } && test -s conftest.$ac_objext; then
15994 bakefile_cv_c_compiler___xlC__=yes
15995 else
15996 echo "$as_me: failed program was:" >&5
15997 sed 's/^/| /' conftest.$ac_ext >&5
15998
15999 bakefile_cv_c_compiler___xlC__=no
16000
16001 fi
16002
16003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16004
16005
16006 fi
16007 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16008 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16009 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16010 :; XLCC=yes
16011 else
16012 :;
16013 fi
16014 ac_ext=c
16015 ac_cpp='$CPP $CPPFLAGS'
16016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16019
16020
16021
16022 fi
16023 ;;
16024
16025 IRIX*)
16026
16027
16028 ac_ext=c
16029 ac_cpp='$CPP $CPPFLAGS'
16030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16033
16034 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16035 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16036 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16037 echo $ECHO_N "(cached) $ECHO_C" >&6
16038 else
16039 cat >conftest.$ac_ext <<_ACEOF
16040 /* confdefs.h. */
16041 _ACEOF
16042 cat confdefs.h >>conftest.$ac_ext
16043 cat >>conftest.$ac_ext <<_ACEOF
16044 /* end confdefs.h. */
16045
16046 int
16047 main ()
16048 {
16049
16050 #ifndef _SGI_COMPILER_VERSION
16051 choke me
16052 #endif
16053
16054 ;
16055 return 0;
16056 }
16057 _ACEOF
16058 rm -f conftest.$ac_objext
16059 if { (ac_try="$ac_compile"
16060 case "(($ac_try" in
16061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16062 *) ac_try_echo=$ac_try;;
16063 esac
16064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16065 (eval "$ac_compile") 2>conftest.er1
16066 ac_status=$?
16067 grep -v '^ *+' conftest.er1 >conftest.err
16068 rm -f conftest.er1
16069 cat conftest.err >&5
16070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16071 (exit $ac_status); } && {
16072 test -z "$ac_c_werror_flag" ||
16073 test ! -s conftest.err
16074 } && test -s conftest.$ac_objext; then
16075 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16076 else
16077 echo "$as_me: failed program was:" >&5
16078 sed 's/^/| /' conftest.$ac_ext >&5
16079
16080 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16081
16082 fi
16083
16084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16085
16086
16087 fi
16088 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16089 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16090 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16091 :; SGICC=yes
16092 else
16093 :;
16094 fi
16095 ac_ext=c
16096 ac_cpp='$CPP $CPPFLAGS'
16097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16100
16101
16102
16103 ;;
16104
16105 Linux*)
16106 if test "$INTELCC" != "yes"; then
16107
16108
16109 ac_ext=c
16110 ac_cpp='$CPP $CPPFLAGS'
16111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16114
16115 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16116 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16117 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16118 echo $ECHO_N "(cached) $ECHO_C" >&6
16119 else
16120 cat >conftest.$ac_ext <<_ACEOF
16121 /* confdefs.h. */
16122 _ACEOF
16123 cat confdefs.h >>conftest.$ac_ext
16124 cat >>conftest.$ac_ext <<_ACEOF
16125 /* end confdefs.h. */
16126
16127 int
16128 main ()
16129 {
16130
16131 #ifndef __SUNPRO_C
16132 choke me
16133 #endif
16134
16135 ;
16136 return 0;
16137 }
16138 _ACEOF
16139 rm -f conftest.$ac_objext
16140 if { (ac_try="$ac_compile"
16141 case "(($ac_try" in
16142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16143 *) ac_try_echo=$ac_try;;
16144 esac
16145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16146 (eval "$ac_compile") 2>conftest.er1
16147 ac_status=$?
16148 grep -v '^ *+' conftest.er1 >conftest.err
16149 rm -f conftest.er1
16150 cat conftest.err >&5
16151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16152 (exit $ac_status); } && {
16153 test -z "$ac_c_werror_flag" ||
16154 test ! -s conftest.err
16155 } && test -s conftest.$ac_objext; then
16156 bakefile_cv_c_compiler___SUNPRO_C=yes
16157 else
16158 echo "$as_me: failed program was:" >&5
16159 sed 's/^/| /' conftest.$ac_ext >&5
16160
16161 bakefile_cv_c_compiler___SUNPRO_C=no
16162
16163 fi
16164
16165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16166
16167
16168 fi
16169 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16170 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16171 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16172 :; SUNCC=yes
16173 else
16174 :;
16175 fi
16176 ac_ext=c
16177 ac_cpp='$CPP $CPPFLAGS'
16178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16181
16182
16183
16184 fi
16185 ;;
16186
16187 HP-UX*)
16188
16189
16190 ac_ext=c
16191 ac_cpp='$CPP $CPPFLAGS'
16192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16195
16196 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16197 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16198 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16199 echo $ECHO_N "(cached) $ECHO_C" >&6
16200 else
16201 cat >conftest.$ac_ext <<_ACEOF
16202 /* confdefs.h. */
16203 _ACEOF
16204 cat confdefs.h >>conftest.$ac_ext
16205 cat >>conftest.$ac_ext <<_ACEOF
16206 /* end confdefs.h. */
16207
16208 int
16209 main ()
16210 {
16211
16212 #ifndef __HP_cc
16213 choke me
16214 #endif
16215
16216 ;
16217 return 0;
16218 }
16219 _ACEOF
16220 rm -f conftest.$ac_objext
16221 if { (ac_try="$ac_compile"
16222 case "(($ac_try" in
16223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16224 *) ac_try_echo=$ac_try;;
16225 esac
16226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16227 (eval "$ac_compile") 2>conftest.er1
16228 ac_status=$?
16229 grep -v '^ *+' conftest.er1 >conftest.err
16230 rm -f conftest.er1
16231 cat conftest.err >&5
16232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16233 (exit $ac_status); } && {
16234 test -z "$ac_c_werror_flag" ||
16235 test ! -s conftest.err
16236 } && test -s conftest.$ac_objext; then
16237 bakefile_cv_c_compiler___HP_cc=yes
16238 else
16239 echo "$as_me: failed program was:" >&5
16240 sed 's/^/| /' conftest.$ac_ext >&5
16241
16242 bakefile_cv_c_compiler___HP_cc=no
16243
16244 fi
16245
16246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16247
16248
16249 fi
16250 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16251 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16252 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16253 :; HPCC=yes
16254 else
16255 :;
16256 fi
16257 ac_ext=c
16258 ac_cpp='$CPP $CPPFLAGS'
16259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16262
16263
16264
16265 ;;
16266
16267 OSF1)
16268
16269
16270 ac_ext=c
16271 ac_cpp='$CPP $CPPFLAGS'
16272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16275
16276 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16277 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16278 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16279 echo $ECHO_N "(cached) $ECHO_C" >&6
16280 else
16281 cat >conftest.$ac_ext <<_ACEOF
16282 /* confdefs.h. */
16283 _ACEOF
16284 cat confdefs.h >>conftest.$ac_ext
16285 cat >>conftest.$ac_ext <<_ACEOF
16286 /* end confdefs.h. */
16287
16288 int
16289 main ()
16290 {
16291
16292 #ifndef __DECC
16293 choke me
16294 #endif
16295
16296 ;
16297 return 0;
16298 }
16299 _ACEOF
16300 rm -f conftest.$ac_objext
16301 if { (ac_try="$ac_compile"
16302 case "(($ac_try" in
16303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16304 *) ac_try_echo=$ac_try;;
16305 esac
16306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16307 (eval "$ac_compile") 2>conftest.er1
16308 ac_status=$?
16309 grep -v '^ *+' conftest.er1 >conftest.err
16310 rm -f conftest.er1
16311 cat conftest.err >&5
16312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16313 (exit $ac_status); } && {
16314 test -z "$ac_c_werror_flag" ||
16315 test ! -s conftest.err
16316 } && test -s conftest.$ac_objext; then
16317 bakefile_cv_c_compiler___DECC=yes
16318 else
16319 echo "$as_me: failed program was:" >&5
16320 sed 's/^/| /' conftest.$ac_ext >&5
16321
16322 bakefile_cv_c_compiler___DECC=no
16323
16324 fi
16325
16326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16327
16328
16329 fi
16330 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16331 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16332 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16333 :; COMPAQCC=yes
16334 else
16335 :;
16336 fi
16337 ac_ext=c
16338 ac_cpp='$CPP $CPPFLAGS'
16339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16342
16343
16344
16345 ;;
16346
16347 SunOS)
16348
16349
16350 ac_ext=c
16351 ac_cpp='$CPP $CPPFLAGS'
16352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16355
16356 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16357 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16358 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16359 echo $ECHO_N "(cached) $ECHO_C" >&6
16360 else
16361 cat >conftest.$ac_ext <<_ACEOF
16362 /* confdefs.h. */
16363 _ACEOF
16364 cat confdefs.h >>conftest.$ac_ext
16365 cat >>conftest.$ac_ext <<_ACEOF
16366 /* end confdefs.h. */
16367
16368 int
16369 main ()
16370 {
16371
16372 #ifndef __SUNPRO_C
16373 choke me
16374 #endif
16375
16376 ;
16377 return 0;
16378 }
16379 _ACEOF
16380 rm -f conftest.$ac_objext
16381 if { (ac_try="$ac_compile"
16382 case "(($ac_try" in
16383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16384 *) ac_try_echo=$ac_try;;
16385 esac
16386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16387 (eval "$ac_compile") 2>conftest.er1
16388 ac_status=$?
16389 grep -v '^ *+' conftest.er1 >conftest.err
16390 rm -f conftest.er1
16391 cat conftest.err >&5
16392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16393 (exit $ac_status); } && {
16394 test -z "$ac_c_werror_flag" ||
16395 test ! -s conftest.err
16396 } && test -s conftest.$ac_objext; then
16397 bakefile_cv_c_compiler___SUNPRO_C=yes
16398 else
16399 echo "$as_me: failed program was:" >&5
16400 sed 's/^/| /' conftest.$ac_ext >&5
16401
16402 bakefile_cv_c_compiler___SUNPRO_C=no
16403
16404 fi
16405
16406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16407
16408
16409 fi
16410 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16411 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16412 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16413 :; SUNCC=yes
16414 else
16415 :;
16416 fi
16417 ac_ext=c
16418 ac_cpp='$CPP $CPPFLAGS'
16419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16422
16423
16424
16425 ;;
16426 esac
16427 fi
16428
16429
16430
16431 ac_ext=c
16432 ac_cpp='$CPP $CPPFLAGS'
16433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16436 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16437 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16438 # On Suns, sometimes $CPP names a directory.
16439 if test -n "$CPP" && test -d "$CPP"; then
16440 CPP=
16441 fi
16442 if test -z "$CPP"; then
16443 if test "${ac_cv_prog_CPP+set}" = set; then
16444 echo $ECHO_N "(cached) $ECHO_C" >&6
16445 else
16446 # Double quotes because CPP needs to be expanded
16447 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16448 do
16449 ac_preproc_ok=false
16450 for ac_c_preproc_warn_flag in '' yes
16451 do
16452 # Use a header file that comes with gcc, so configuring glibc
16453 # with a fresh cross-compiler works.
16454 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16455 # <limits.h> exists even on freestanding compilers.
16456 # On the NeXT, cc -E runs the code through the compiler's parser,
16457 # not just through cpp. "Syntax error" is here to catch this case.
16458 cat >conftest.$ac_ext <<_ACEOF
16459 /* confdefs.h. */
16460 _ACEOF
16461 cat confdefs.h >>conftest.$ac_ext
16462 cat >>conftest.$ac_ext <<_ACEOF
16463 /* end confdefs.h. */
16464 #ifdef __STDC__
16465 # include <limits.h>
16466 #else
16467 # include <assert.h>
16468 #endif
16469 Syntax error
16470 _ACEOF
16471 if { (ac_try="$ac_cpp conftest.$ac_ext"
16472 case "(($ac_try" in
16473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16474 *) ac_try_echo=$ac_try;;
16475 esac
16476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16477 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16478 ac_status=$?
16479 grep -v '^ *+' conftest.er1 >conftest.err
16480 rm -f conftest.er1
16481 cat conftest.err >&5
16482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16483 (exit $ac_status); } >/dev/null && {
16484 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16485 test ! -s conftest.err
16486 }; then
16487 :
16488 else
16489 echo "$as_me: failed program was:" >&5
16490 sed 's/^/| /' conftest.$ac_ext >&5
16491
16492 # Broken: fails on valid input.
16493 continue
16494 fi
16495
16496 rm -f conftest.err conftest.$ac_ext
16497
16498 # OK, works on sane cases. Now check whether nonexistent headers
16499 # can be detected and how.
16500 cat >conftest.$ac_ext <<_ACEOF
16501 /* confdefs.h. */
16502 _ACEOF
16503 cat confdefs.h >>conftest.$ac_ext
16504 cat >>conftest.$ac_ext <<_ACEOF
16505 /* end confdefs.h. */
16506 #include <ac_nonexistent.h>
16507 _ACEOF
16508 if { (ac_try="$ac_cpp conftest.$ac_ext"
16509 case "(($ac_try" in
16510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16511 *) ac_try_echo=$ac_try;;
16512 esac
16513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16514 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16515 ac_status=$?
16516 grep -v '^ *+' conftest.er1 >conftest.err
16517 rm -f conftest.er1
16518 cat conftest.err >&5
16519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16520 (exit $ac_status); } >/dev/null && {
16521 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16522 test ! -s conftest.err
16523 }; then
16524 # Broken: success on invalid input.
16525 continue
16526 else
16527 echo "$as_me: failed program was:" >&5
16528 sed 's/^/| /' conftest.$ac_ext >&5
16529
16530 # Passes both tests.
16531 ac_preproc_ok=:
16532 break
16533 fi
16534
16535 rm -f conftest.err conftest.$ac_ext
16536
16537 done
16538 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16539 rm -f conftest.err conftest.$ac_ext
16540 if $ac_preproc_ok; then
16541 break
16542 fi
16543
16544 done
16545 ac_cv_prog_CPP=$CPP
16546
16547 fi
16548 CPP=$ac_cv_prog_CPP
16549 else
16550 ac_cv_prog_CPP=$CPP
16551 fi
16552 { echo "$as_me:$LINENO: result: $CPP" >&5
16553 echo "${ECHO_T}$CPP" >&6; }
16554 ac_preproc_ok=false
16555 for ac_c_preproc_warn_flag in '' yes
16556 do
16557 # Use a header file that comes with gcc, so configuring glibc
16558 # with a fresh cross-compiler works.
16559 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16560 # <limits.h> exists even on freestanding compilers.
16561 # On the NeXT, cc -E runs the code through the compiler's parser,
16562 # not just through cpp. "Syntax error" is here to catch this case.
16563 cat >conftest.$ac_ext <<_ACEOF
16564 /* confdefs.h. */
16565 _ACEOF
16566 cat confdefs.h >>conftest.$ac_ext
16567 cat >>conftest.$ac_ext <<_ACEOF
16568 /* end confdefs.h. */
16569 #ifdef __STDC__
16570 # include <limits.h>
16571 #else
16572 # include <assert.h>
16573 #endif
16574 Syntax error
16575 _ACEOF
16576 if { (ac_try="$ac_cpp conftest.$ac_ext"
16577 case "(($ac_try" in
16578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16579 *) ac_try_echo=$ac_try;;
16580 esac
16581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16582 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16583 ac_status=$?
16584 grep -v '^ *+' conftest.er1 >conftest.err
16585 rm -f conftest.er1
16586 cat conftest.err >&5
16587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16588 (exit $ac_status); } >/dev/null && {
16589 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16590 test ! -s conftest.err
16591 }; then
16592 :
16593 else
16594 echo "$as_me: failed program was:" >&5
16595 sed 's/^/| /' conftest.$ac_ext >&5
16596
16597 # Broken: fails on valid input.
16598 continue
16599 fi
16600
16601 rm -f conftest.err conftest.$ac_ext
16602
16603 # OK, works on sane cases. Now check whether nonexistent headers
16604 # can be detected and how.
16605 cat >conftest.$ac_ext <<_ACEOF
16606 /* confdefs.h. */
16607 _ACEOF
16608 cat confdefs.h >>conftest.$ac_ext
16609 cat >>conftest.$ac_ext <<_ACEOF
16610 /* end confdefs.h. */
16611 #include <ac_nonexistent.h>
16612 _ACEOF
16613 if { (ac_try="$ac_cpp conftest.$ac_ext"
16614 case "(($ac_try" in
16615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16616 *) ac_try_echo=$ac_try;;
16617 esac
16618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16619 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16620 ac_status=$?
16621 grep -v '^ *+' conftest.er1 >conftest.err
16622 rm -f conftest.er1
16623 cat conftest.err >&5
16624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16625 (exit $ac_status); } >/dev/null && {
16626 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16627 test ! -s conftest.err
16628 }; then
16629 # Broken: success on invalid input.
16630 continue
16631 else
16632 echo "$as_me: failed program was:" >&5
16633 sed 's/^/| /' conftest.$ac_ext >&5
16634
16635 # Passes both tests.
16636 ac_preproc_ok=:
16637 break
16638 fi
16639
16640 rm -f conftest.err conftest.$ac_ext
16641
16642 done
16643 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16644 rm -f conftest.err conftest.$ac_ext
16645 if $ac_preproc_ok; then
16646 :
16647 else
16648 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16649 See \`config.log' for more details." >&5
16650 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16651 See \`config.log' for more details." >&2;}
16652 { (exit 1); exit 1; }; }
16653 fi
16654
16655 ac_ext=c
16656 ac_cpp='$CPP $CPPFLAGS'
16657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16660
16661
16662 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16663 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16664 if test "${ac_cv_path_GREP+set}" = set; then
16665 echo $ECHO_N "(cached) $ECHO_C" >&6
16666 else
16667 # Extract the first word of "grep ggrep" to use in msg output
16668 if test -z "$GREP"; then
16669 set dummy grep ggrep; ac_prog_name=$2
16670 if test "${ac_cv_path_GREP+set}" = set; then
16671 echo $ECHO_N "(cached) $ECHO_C" >&6
16672 else
16673 ac_path_GREP_found=false
16674 # Loop through the user's path and test for each of PROGNAME-LIST
16675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16676 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16677 do
16678 IFS=$as_save_IFS
16679 test -z "$as_dir" && as_dir=.
16680 for ac_prog in grep ggrep; do
16681 for ac_exec_ext in '' $ac_executable_extensions; do
16682 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16683 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16684 # Check for GNU ac_path_GREP and select it if it is found.
16685 # Check for GNU $ac_path_GREP
16686 case `"$ac_path_GREP" --version 2>&1` in
16687 *GNU*)
16688 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16689 *)
16690 ac_count=0
16691 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16692 while :
16693 do
16694 cat "conftest.in" "conftest.in" >"conftest.tmp"
16695 mv "conftest.tmp" "conftest.in"
16696 cp "conftest.in" "conftest.nl"
16697 echo 'GREP' >> "conftest.nl"
16698 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16699 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16700 ac_count=`expr $ac_count + 1`
16701 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16702 # Best one so far, save it but keep looking for a better one
16703 ac_cv_path_GREP="$ac_path_GREP"
16704 ac_path_GREP_max=$ac_count
16705 fi
16706 # 10*(2^10) chars as input seems more than enough
16707 test $ac_count -gt 10 && break
16708 done
16709 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16710 esac
16711
16712
16713 $ac_path_GREP_found && break 3
16714 done
16715 done
16716
16717 done
16718 IFS=$as_save_IFS
16719
16720
16721 fi
16722
16723 GREP="$ac_cv_path_GREP"
16724 if test -z "$GREP"; then
16725 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16726 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16727 { (exit 1); exit 1; }; }
16728 fi
16729
16730 else
16731 ac_cv_path_GREP=$GREP
16732 fi
16733
16734
16735 fi
16736 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16737 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16738 GREP="$ac_cv_path_GREP"
16739
16740
16741 { echo "$as_me:$LINENO: checking for egrep" >&5
16742 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16743 if test "${ac_cv_path_EGREP+set}" = set; then
16744 echo $ECHO_N "(cached) $ECHO_C" >&6
16745 else
16746 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16747 then ac_cv_path_EGREP="$GREP -E"
16748 else
16749 # Extract the first word of "egrep" to use in msg output
16750 if test -z "$EGREP"; then
16751 set dummy egrep; ac_prog_name=$2
16752 if test "${ac_cv_path_EGREP+set}" = set; then
16753 echo $ECHO_N "(cached) $ECHO_C" >&6
16754 else
16755 ac_path_EGREP_found=false
16756 # Loop through the user's path and test for each of PROGNAME-LIST
16757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16758 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16759 do
16760 IFS=$as_save_IFS
16761 test -z "$as_dir" && as_dir=.
16762 for ac_prog in egrep; do
16763 for ac_exec_ext in '' $ac_executable_extensions; do
16764 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16765 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16766 # Check for GNU ac_path_EGREP and select it if it is found.
16767 # Check for GNU $ac_path_EGREP
16768 case `"$ac_path_EGREP" --version 2>&1` in
16769 *GNU*)
16770 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16771 *)
16772 ac_count=0
16773 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16774 while :
16775 do
16776 cat "conftest.in" "conftest.in" >"conftest.tmp"
16777 mv "conftest.tmp" "conftest.in"
16778 cp "conftest.in" "conftest.nl"
16779 echo 'EGREP' >> "conftest.nl"
16780 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16781 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16782 ac_count=`expr $ac_count + 1`
16783 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16784 # Best one so far, save it but keep looking for a better one
16785 ac_cv_path_EGREP="$ac_path_EGREP"
16786 ac_path_EGREP_max=$ac_count
16787 fi
16788 # 10*(2^10) chars as input seems more than enough
16789 test $ac_count -gt 10 && break
16790 done
16791 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16792 esac
16793
16794
16795 $ac_path_EGREP_found && break 3
16796 done
16797 done
16798
16799 done
16800 IFS=$as_save_IFS
16801
16802
16803 fi
16804
16805 EGREP="$ac_cv_path_EGREP"
16806 if test -z "$EGREP"; then
16807 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16808 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16809 { (exit 1); exit 1; }; }
16810 fi
16811
16812 else
16813 ac_cv_path_EGREP=$EGREP
16814 fi
16815
16816
16817 fi
16818 fi
16819 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16820 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16821 EGREP="$ac_cv_path_EGREP"
16822
16823
16824 if test $ac_cv_c_compiler_gnu = yes; then
16825 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16826 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16827 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16828 echo $ECHO_N "(cached) $ECHO_C" >&6
16829 else
16830 ac_pattern="Autoconf.*'x'"
16831 cat >conftest.$ac_ext <<_ACEOF
16832 /* confdefs.h. */
16833 _ACEOF
16834 cat confdefs.h >>conftest.$ac_ext
16835 cat >>conftest.$ac_ext <<_ACEOF
16836 /* end confdefs.h. */
16837 #include <sgtty.h>
16838 Autoconf TIOCGETP
16839 _ACEOF
16840 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16841 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16842 ac_cv_prog_gcc_traditional=yes
16843 else
16844 ac_cv_prog_gcc_traditional=no
16845 fi
16846 rm -f conftest*
16847
16848
16849 if test $ac_cv_prog_gcc_traditional = no; then
16850 cat >conftest.$ac_ext <<_ACEOF
16851 /* confdefs.h. */
16852 _ACEOF
16853 cat confdefs.h >>conftest.$ac_ext
16854 cat >>conftest.$ac_ext <<_ACEOF
16855 /* end confdefs.h. */
16856 #include <termio.h>
16857 Autoconf TCGETA
16858 _ACEOF
16859 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16860 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16861 ac_cv_prog_gcc_traditional=yes
16862 fi
16863 rm -f conftest*
16864
16865 fi
16866 fi
16867 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16868 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16869 if test $ac_cv_prog_gcc_traditional = yes; then
16870 CC="$CC -traditional"
16871 fi
16872 fi
16873
16874
16875 CXXFLAGS=${CXXFLAGS:=}
16876 ac_ext=cpp
16877 ac_cpp='$CXXCPP $CPPFLAGS'
16878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16881 if test -z "$CXX"; then
16882 if test -n "$CCC"; then
16883 CXX=$CCC
16884 else
16885 if test -n "$ac_tool_prefix"; then
16886 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16887 do
16888 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16889 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16890 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16892 if test "${ac_cv_prog_CXX+set}" = set; then
16893 echo $ECHO_N "(cached) $ECHO_C" >&6
16894 else
16895 if test -n "$CXX"; then
16896 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16897 else
16898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16899 for as_dir in $PATH
16900 do
16901 IFS=$as_save_IFS
16902 test -z "$as_dir" && as_dir=.
16903 for ac_exec_ext in '' $ac_executable_extensions; do
16904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16905 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16907 break 2
16908 fi
16909 done
16910 done
16911 IFS=$as_save_IFS
16912
16913 fi
16914 fi
16915 CXX=$ac_cv_prog_CXX
16916 if test -n "$CXX"; then
16917 { echo "$as_me:$LINENO: result: $CXX" >&5
16918 echo "${ECHO_T}$CXX" >&6; }
16919 else
16920 { echo "$as_me:$LINENO: result: no" >&5
16921 echo "${ECHO_T}no" >&6; }
16922 fi
16923
16924
16925 test -n "$CXX" && break
16926 done
16927 fi
16928 if test -z "$CXX"; then
16929 ac_ct_CXX=$CXX
16930 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16931 do
16932 # Extract the first word of "$ac_prog", so it can be a program name with args.
16933 set dummy $ac_prog; ac_word=$2
16934 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16936 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16937 echo $ECHO_N "(cached) $ECHO_C" >&6
16938 else
16939 if test -n "$ac_ct_CXX"; then
16940 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16941 else
16942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16943 for as_dir in $PATH
16944 do
16945 IFS=$as_save_IFS
16946 test -z "$as_dir" && as_dir=.
16947 for ac_exec_ext in '' $ac_executable_extensions; do
16948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16949 ac_cv_prog_ac_ct_CXX="$ac_prog"
16950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16951 break 2
16952 fi
16953 done
16954 done
16955 IFS=$as_save_IFS
16956
16957 fi
16958 fi
16959 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16960 if test -n "$ac_ct_CXX"; then
16961 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16962 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16963 else
16964 { echo "$as_me:$LINENO: result: no" >&5
16965 echo "${ECHO_T}no" >&6; }
16966 fi
16967
16968
16969 test -n "$ac_ct_CXX" && break
16970 done
16971
16972 if test "x$ac_ct_CXX" = x; then
16973 CXX="g++"
16974 else
16975 case $cross_compiling:$ac_tool_warned in
16976 yes:)
16977 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16978 whose name does not start with the host triplet. If you think this
16979 configuration is useful to you, please write to autoconf@gnu.org." >&5
16980 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16981 whose name does not start with the host triplet. If you think this
16982 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16983 ac_tool_warned=yes ;;
16984 esac
16985 CXX=$ac_ct_CXX
16986 fi
16987 fi
16988
16989 fi
16990 fi
16991 # Provide some information about the compiler.
16992 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16993 ac_compiler=`set X $ac_compile; echo $2`
16994 { (ac_try="$ac_compiler --version >&5"
16995 case "(($ac_try" in
16996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16997 *) ac_try_echo=$ac_try;;
16998 esac
16999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17000 (eval "$ac_compiler --version >&5") 2>&5
17001 ac_status=$?
17002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17003 (exit $ac_status); }
17004 { (ac_try="$ac_compiler -v >&5"
17005 case "(($ac_try" in
17006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17007 *) ac_try_echo=$ac_try;;
17008 esac
17009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17010 (eval "$ac_compiler -v >&5") 2>&5
17011 ac_status=$?
17012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17013 (exit $ac_status); }
17014 { (ac_try="$ac_compiler -V >&5"
17015 case "(($ac_try" in
17016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17017 *) ac_try_echo=$ac_try;;
17018 esac
17019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17020 (eval "$ac_compiler -V >&5") 2>&5
17021 ac_status=$?
17022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17023 (exit $ac_status); }
17024
17025 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17026 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17027 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17028 echo $ECHO_N "(cached) $ECHO_C" >&6
17029 else
17030 cat >conftest.$ac_ext <<_ACEOF
17031 /* confdefs.h. */
17032 _ACEOF
17033 cat confdefs.h >>conftest.$ac_ext
17034 cat >>conftest.$ac_ext <<_ACEOF
17035 /* end confdefs.h. */
17036
17037 int
17038 main ()
17039 {
17040 #ifndef __GNUC__
17041 choke me
17042 #endif
17043
17044 ;
17045 return 0;
17046 }
17047 _ACEOF
17048 rm -f conftest.$ac_objext
17049 if { (ac_try="$ac_compile"
17050 case "(($ac_try" in
17051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17052 *) ac_try_echo=$ac_try;;
17053 esac
17054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17055 (eval "$ac_compile") 2>conftest.er1
17056 ac_status=$?
17057 grep -v '^ *+' conftest.er1 >conftest.err
17058 rm -f conftest.er1
17059 cat conftest.err >&5
17060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17061 (exit $ac_status); } && {
17062 test -z "$ac_cxx_werror_flag" ||
17063 test ! -s conftest.err
17064 } && test -s conftest.$ac_objext; then
17065 ac_compiler_gnu=yes
17066 else
17067 echo "$as_me: failed program was:" >&5
17068 sed 's/^/| /' conftest.$ac_ext >&5
17069
17070 ac_compiler_gnu=no
17071 fi
17072
17073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17074 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17075
17076 fi
17077 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17078 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17079 GXX=`test $ac_compiler_gnu = yes && echo yes`
17080 ac_test_CXXFLAGS=${CXXFLAGS+set}
17081 ac_save_CXXFLAGS=$CXXFLAGS
17082 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17083 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17084 if test "${ac_cv_prog_cxx_g+set}" = set; then
17085 echo $ECHO_N "(cached) $ECHO_C" >&6
17086 else
17087 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17088 ac_cxx_werror_flag=yes
17089 ac_cv_prog_cxx_g=no
17090 CXXFLAGS="-g"
17091 cat >conftest.$ac_ext <<_ACEOF
17092 /* confdefs.h. */
17093 _ACEOF
17094 cat confdefs.h >>conftest.$ac_ext
17095 cat >>conftest.$ac_ext <<_ACEOF
17096 /* end confdefs.h. */
17097
17098 int
17099 main ()
17100 {
17101
17102 ;
17103 return 0;
17104 }
17105 _ACEOF
17106 rm -f conftest.$ac_objext
17107 if { (ac_try="$ac_compile"
17108 case "(($ac_try" in
17109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17110 *) ac_try_echo=$ac_try;;
17111 esac
17112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17113 (eval "$ac_compile") 2>conftest.er1
17114 ac_status=$?
17115 grep -v '^ *+' conftest.er1 >conftest.err
17116 rm -f conftest.er1
17117 cat conftest.err >&5
17118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17119 (exit $ac_status); } && {
17120 test -z "$ac_cxx_werror_flag" ||
17121 test ! -s conftest.err
17122 } && test -s conftest.$ac_objext; then
17123 ac_cv_prog_cxx_g=yes
17124 else
17125 echo "$as_me: failed program was:" >&5
17126 sed 's/^/| /' conftest.$ac_ext >&5
17127
17128 CXXFLAGS=""
17129 cat >conftest.$ac_ext <<_ACEOF
17130 /* confdefs.h. */
17131 _ACEOF
17132 cat confdefs.h >>conftest.$ac_ext
17133 cat >>conftest.$ac_ext <<_ACEOF
17134 /* end confdefs.h. */
17135
17136 int
17137 main ()
17138 {
17139
17140 ;
17141 return 0;
17142 }
17143 _ACEOF
17144 rm -f conftest.$ac_objext
17145 if { (ac_try="$ac_compile"
17146 case "(($ac_try" in
17147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17148 *) ac_try_echo=$ac_try;;
17149 esac
17150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17151 (eval "$ac_compile") 2>conftest.er1
17152 ac_status=$?
17153 grep -v '^ *+' conftest.er1 >conftest.err
17154 rm -f conftest.er1
17155 cat conftest.err >&5
17156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17157 (exit $ac_status); } && {
17158 test -z "$ac_cxx_werror_flag" ||
17159 test ! -s conftest.err
17160 } && test -s conftest.$ac_objext; then
17161 :
17162 else
17163 echo "$as_me: failed program was:" >&5
17164 sed 's/^/| /' conftest.$ac_ext >&5
17165
17166 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17167 CXXFLAGS="-g"
17168 cat >conftest.$ac_ext <<_ACEOF
17169 /* confdefs.h. */
17170 _ACEOF
17171 cat confdefs.h >>conftest.$ac_ext
17172 cat >>conftest.$ac_ext <<_ACEOF
17173 /* end confdefs.h. */
17174
17175 int
17176 main ()
17177 {
17178
17179 ;
17180 return 0;
17181 }
17182 _ACEOF
17183 rm -f conftest.$ac_objext
17184 if { (ac_try="$ac_compile"
17185 case "(($ac_try" in
17186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17187 *) ac_try_echo=$ac_try;;
17188 esac
17189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17190 (eval "$ac_compile") 2>conftest.er1
17191 ac_status=$?
17192 grep -v '^ *+' conftest.er1 >conftest.err
17193 rm -f conftest.er1
17194 cat conftest.err >&5
17195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17196 (exit $ac_status); } && {
17197 test -z "$ac_cxx_werror_flag" ||
17198 test ! -s conftest.err
17199 } && test -s conftest.$ac_objext; then
17200 ac_cv_prog_cxx_g=yes
17201 else
17202 echo "$as_me: failed program was:" >&5
17203 sed 's/^/| /' conftest.$ac_ext >&5
17204
17205
17206 fi
17207
17208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17209 fi
17210
17211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17212 fi
17213
17214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17215 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17216 fi
17217 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17218 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17219 if test "$ac_test_CXXFLAGS" = set; then
17220 CXXFLAGS=$ac_save_CXXFLAGS
17221 elif test $ac_cv_prog_cxx_g = yes; then
17222 if test "$GXX" = yes; then
17223 CXXFLAGS="-g -O2"
17224 else
17225 CXXFLAGS="-g"
17226 fi
17227 else
17228 if test "$GXX" = yes; then
17229 CXXFLAGS="-O2"
17230 else
17231 CXXFLAGS=
17232 fi
17233 fi
17234 ac_ext=c
17235 ac_cpp='$CPP $CPPFLAGS'
17236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17239
17240
17241
17242
17243
17244
17245
17246
17247 ac_ext=cpp
17248 ac_cpp='$CXXCPP $CPPFLAGS'
17249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17252
17253 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17254 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17255 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17256 echo $ECHO_N "(cached) $ECHO_C" >&6
17257 else
17258 cat >conftest.$ac_ext <<_ACEOF
17259 /* confdefs.h. */
17260 _ACEOF
17261 cat confdefs.h >>conftest.$ac_ext
17262 cat >>conftest.$ac_ext <<_ACEOF
17263 /* end confdefs.h. */
17264
17265 int
17266 main ()
17267 {
17268
17269 #ifndef __INTEL_COMPILER
17270 choke me
17271 #endif
17272
17273 ;
17274 return 0;
17275 }
17276 _ACEOF
17277 rm -f conftest.$ac_objext
17278 if { (ac_try="$ac_compile"
17279 case "(($ac_try" in
17280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17281 *) ac_try_echo=$ac_try;;
17282 esac
17283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17284 (eval "$ac_compile") 2>conftest.er1
17285 ac_status=$?
17286 grep -v '^ *+' conftest.er1 >conftest.err
17287 rm -f conftest.er1
17288 cat conftest.err >&5
17289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17290 (exit $ac_status); } && {
17291 test -z "$ac_cxx_werror_flag" ||
17292 test ! -s conftest.err
17293 } && test -s conftest.$ac_objext; then
17294 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17295 else
17296 echo "$as_me: failed program was:" >&5
17297 sed 's/^/| /' conftest.$ac_ext >&5
17298
17299 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17300
17301 fi
17302
17303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17304
17305
17306 fi
17307 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17308 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17309 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17310 :; INTELCXX=yes
17311 else
17312 :;
17313 fi
17314 ac_ext=c
17315 ac_cpp='$CPP $CPPFLAGS'
17316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17319
17320
17321
17322
17323 if test "$INTELCXX" = "yes"; then
17324
17325
17326 ac_ext=cpp
17327 ac_cpp='$CXXCPP $CPPFLAGS'
17328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17331
17332 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17333 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17334 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17335 echo $ECHO_N "(cached) $ECHO_C" >&6
17336 else
17337 cat >conftest.$ac_ext <<_ACEOF
17338 /* confdefs.h. */
17339 _ACEOF
17340 cat confdefs.h >>conftest.$ac_ext
17341 cat >>conftest.$ac_ext <<_ACEOF
17342 /* end confdefs.h. */
17343
17344 int
17345 main ()
17346 {
17347
17348 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17349 choke me
17350 #endif
17351
17352 ;
17353 return 0;
17354 }
17355 _ACEOF
17356 rm -f conftest.$ac_objext
17357 if { (ac_try="$ac_compile"
17358 case "(($ac_try" in
17359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17360 *) ac_try_echo=$ac_try;;
17361 esac
17362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17363 (eval "$ac_compile") 2>conftest.er1
17364 ac_status=$?
17365 grep -v '^ *+' conftest.er1 >conftest.err
17366 rm -f conftest.er1
17367 cat conftest.err >&5
17368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17369 (exit $ac_status); } && {
17370 test -z "$ac_cxx_werror_flag" ||
17371 test ! -s conftest.err
17372 } && test -s conftest.$ac_objext; then
17373 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17374 else
17375 echo "$as_me: failed program was:" >&5
17376 sed 's/^/| /' conftest.$ac_ext >&5
17377
17378 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17379
17380 fi
17381
17382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17383
17384
17385 fi
17386 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17387 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17388 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17389 :; INTELCXX8=yes
17390 else
17391 :;
17392 fi
17393 ac_ext=c
17394 ac_cpp='$CPP $CPPFLAGS'
17395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17398
17399
17400
17401
17402
17403 ac_ext=cpp
17404 ac_cpp='$CXXCPP $CPPFLAGS'
17405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17408
17409 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17410 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17411 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17412 echo $ECHO_N "(cached) $ECHO_C" >&6
17413 else
17414 cat >conftest.$ac_ext <<_ACEOF
17415 /* confdefs.h. */
17416 _ACEOF
17417 cat confdefs.h >>conftest.$ac_ext
17418 cat >>conftest.$ac_ext <<_ACEOF
17419 /* end confdefs.h. */
17420
17421 int
17422 main ()
17423 {
17424
17425 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17426 choke me
17427 #endif
17428
17429 ;
17430 return 0;
17431 }
17432 _ACEOF
17433 rm -f conftest.$ac_objext
17434 if { (ac_try="$ac_compile"
17435 case "(($ac_try" in
17436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17437 *) ac_try_echo=$ac_try;;
17438 esac
17439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17440 (eval "$ac_compile") 2>conftest.er1
17441 ac_status=$?
17442 grep -v '^ *+' conftest.er1 >conftest.err
17443 rm -f conftest.er1
17444 cat conftest.err >&5
17445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17446 (exit $ac_status); } && {
17447 test -z "$ac_cxx_werror_flag" ||
17448 test ! -s conftest.err
17449 } && test -s conftest.$ac_objext; then
17450 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17451 else
17452 echo "$as_me: failed program was:" >&5
17453 sed 's/^/| /' conftest.$ac_ext >&5
17454
17455 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17456
17457 fi
17458
17459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17460
17461
17462 fi
17463 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17464 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17465 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17466 :; INTELCXX10=yes
17467 else
17468 :;
17469 fi
17470 ac_ext=c
17471 ac_cpp='$CPP $CPPFLAGS'
17472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17475
17476
17477
17478 fi
17479
17480 if test "x$GCXX" != "xyes"; then
17481 if test "xCXX" = "xC"; then
17482 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17483 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17484 if test "${bakefile_cv_c_exto+set}" = set; then
17485 echo $ECHO_N "(cached) $ECHO_C" >&6
17486 else
17487 cat >conftest.$ac_ext <<_ACEOF
17488 /* confdefs.h. */
17489 _ACEOF
17490 cat confdefs.h >>conftest.$ac_ext
17491 cat >>conftest.$ac_ext <<_ACEOF
17492 /* end confdefs.h. */
17493
17494 int
17495 main ()
17496 {
17497
17498 ;
17499 return 0;
17500 }
17501 _ACEOF
17502 rm -f conftest.$ac_objext conftest.$ac_ext.o
17503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17504 (eval $ac_compile) 2>&5
17505 ac_status=$?
17506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17507 (exit $ac_status); }; then
17508 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17509 case $ac_file in
17510 conftest.$ac_ext.o)
17511 bakefile_cv_c_exto="-ext o"
17512 ;;
17513 *)
17514 ;;
17515 esac
17516 done
17517 else
17518 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17519 See \`config.log' for more details." >&5
17520 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17521 See \`config.log' for more details." >&2;}
17522 { (exit 1); exit 1; }; }
17523
17524 fi
17525
17526 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17527
17528 fi
17529 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17530 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17531 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17532 if test "c" = "c"; then
17533 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17534 fi
17535 if test "c" = "cxx"; then
17536 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17537 fi
17538 fi
17539
17540 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17541 unset ac_cv_prog_cc_g
17542 ac_test_CFLAGS=${CFLAGS+set}
17543 ac_save_CFLAGS=$CFLAGS
17544 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17545 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17546 if test "${ac_cv_prog_cc_g+set}" = set; then
17547 echo $ECHO_N "(cached) $ECHO_C" >&6
17548 else
17549 ac_save_c_werror_flag=$ac_c_werror_flag
17550 ac_c_werror_flag=yes
17551 ac_cv_prog_cc_g=no
17552 CFLAGS="-g"
17553 cat >conftest.$ac_ext <<_ACEOF
17554 /* confdefs.h. */
17555 _ACEOF
17556 cat confdefs.h >>conftest.$ac_ext
17557 cat >>conftest.$ac_ext <<_ACEOF
17558 /* end confdefs.h. */
17559
17560 int
17561 main ()
17562 {
17563
17564 ;
17565 return 0;
17566 }
17567 _ACEOF
17568 rm -f conftest.$ac_objext
17569 if { (ac_try="$ac_compile"
17570 case "(($ac_try" in
17571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17572 *) ac_try_echo=$ac_try;;
17573 esac
17574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17575 (eval "$ac_compile") 2>conftest.er1
17576 ac_status=$?
17577 grep -v '^ *+' conftest.er1 >conftest.err
17578 rm -f conftest.er1
17579 cat conftest.err >&5
17580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581 (exit $ac_status); } && {
17582 test -z "$ac_c_werror_flag" ||
17583 test ! -s conftest.err
17584 } && test -s conftest.$ac_objext; then
17585 ac_cv_prog_cc_g=yes
17586 else
17587 echo "$as_me: failed program was:" >&5
17588 sed 's/^/| /' conftest.$ac_ext >&5
17589
17590 CFLAGS=""
17591 cat >conftest.$ac_ext <<_ACEOF
17592 /* confdefs.h. */
17593 _ACEOF
17594 cat confdefs.h >>conftest.$ac_ext
17595 cat >>conftest.$ac_ext <<_ACEOF
17596 /* end confdefs.h. */
17597
17598 int
17599 main ()
17600 {
17601
17602 ;
17603 return 0;
17604 }
17605 _ACEOF
17606 rm -f conftest.$ac_objext
17607 if { (ac_try="$ac_compile"
17608 case "(($ac_try" in
17609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17610 *) ac_try_echo=$ac_try;;
17611 esac
17612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17613 (eval "$ac_compile") 2>conftest.er1
17614 ac_status=$?
17615 grep -v '^ *+' conftest.er1 >conftest.err
17616 rm -f conftest.er1
17617 cat conftest.err >&5
17618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17619 (exit $ac_status); } && {
17620 test -z "$ac_c_werror_flag" ||
17621 test ! -s conftest.err
17622 } && test -s conftest.$ac_objext; then
17623 :
17624 else
17625 echo "$as_me: failed program was:" >&5
17626 sed 's/^/| /' conftest.$ac_ext >&5
17627
17628 ac_c_werror_flag=$ac_save_c_werror_flag
17629 CFLAGS="-g"
17630 cat >conftest.$ac_ext <<_ACEOF
17631 /* confdefs.h. */
17632 _ACEOF
17633 cat confdefs.h >>conftest.$ac_ext
17634 cat >>conftest.$ac_ext <<_ACEOF
17635 /* end confdefs.h. */
17636
17637 int
17638 main ()
17639 {
17640
17641 ;
17642 return 0;
17643 }
17644 _ACEOF
17645 rm -f conftest.$ac_objext
17646 if { (ac_try="$ac_compile"
17647 case "(($ac_try" in
17648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17649 *) ac_try_echo=$ac_try;;
17650 esac
17651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17652 (eval "$ac_compile") 2>conftest.er1
17653 ac_status=$?
17654 grep -v '^ *+' conftest.er1 >conftest.err
17655 rm -f conftest.er1
17656 cat conftest.err >&5
17657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17658 (exit $ac_status); } && {
17659 test -z "$ac_c_werror_flag" ||
17660 test ! -s conftest.err
17661 } && test -s conftest.$ac_objext; then
17662 ac_cv_prog_cc_g=yes
17663 else
17664 echo "$as_me: failed program was:" >&5
17665 sed 's/^/| /' conftest.$ac_ext >&5
17666
17667
17668 fi
17669
17670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17671 fi
17672
17673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17674 fi
17675
17676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17677 ac_c_werror_flag=$ac_save_c_werror_flag
17678 fi
17679 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17680 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17681 if test "$ac_test_CFLAGS" = set; then
17682 CFLAGS=$ac_save_CFLAGS
17683 elif test $ac_cv_prog_cc_g = yes; then
17684 if test "$GCC" = yes; then
17685 CFLAGS="-g -O2"
17686 else
17687 CFLAGS="-g"
17688 fi
17689 else
17690 if test "$GCC" = yes; then
17691 CFLAGS="-O2"
17692 else
17693 CFLAGS=
17694 fi
17695 fi
17696 fi
17697 fi
17698
17699 case `uname -s` in
17700 AIX*)
17701
17702
17703 ac_ext=cpp
17704 ac_cpp='$CXXCPP $CPPFLAGS'
17705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17708
17709 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17710 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17711 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17712 echo $ECHO_N "(cached) $ECHO_C" >&6
17713 else
17714 cat >conftest.$ac_ext <<_ACEOF
17715 /* confdefs.h. */
17716 _ACEOF
17717 cat confdefs.h >>conftest.$ac_ext
17718 cat >>conftest.$ac_ext <<_ACEOF
17719 /* end confdefs.h. */
17720
17721 int
17722 main ()
17723 {
17724
17725 #ifndef __xlC__
17726 choke me
17727 #endif
17728
17729 ;
17730 return 0;
17731 }
17732 _ACEOF
17733 rm -f conftest.$ac_objext
17734 if { (ac_try="$ac_compile"
17735 case "(($ac_try" in
17736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17737 *) ac_try_echo=$ac_try;;
17738 esac
17739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17740 (eval "$ac_compile") 2>conftest.er1
17741 ac_status=$?
17742 grep -v '^ *+' conftest.er1 >conftest.err
17743 rm -f conftest.er1
17744 cat conftest.err >&5
17745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17746 (exit $ac_status); } && {
17747 test -z "$ac_cxx_werror_flag" ||
17748 test ! -s conftest.err
17749 } && test -s conftest.$ac_objext; then
17750 bakefile_cv_cxx_compiler___xlC__=yes
17751 else
17752 echo "$as_me: failed program was:" >&5
17753 sed 's/^/| /' conftest.$ac_ext >&5
17754
17755 bakefile_cv_cxx_compiler___xlC__=no
17756
17757 fi
17758
17759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17760
17761
17762 fi
17763 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17764 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17765 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17766 :; XLCXX=yes
17767 else
17768 :;
17769 fi
17770 ac_ext=c
17771 ac_cpp='$CPP $CPPFLAGS'
17772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17775
17776
17777
17778 ;;
17779
17780 Darwin)
17781
17782
17783 ac_ext=cpp
17784 ac_cpp='$CXXCPP $CPPFLAGS'
17785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17788
17789 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17790 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17791 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17792 echo $ECHO_N "(cached) $ECHO_C" >&6
17793 else
17794 cat >conftest.$ac_ext <<_ACEOF
17795 /* confdefs.h. */
17796 _ACEOF
17797 cat confdefs.h >>conftest.$ac_ext
17798 cat >>conftest.$ac_ext <<_ACEOF
17799 /* end confdefs.h. */
17800
17801 int
17802 main ()
17803 {
17804
17805 #ifndef __MWERKS__
17806 choke me
17807 #endif
17808
17809 ;
17810 return 0;
17811 }
17812 _ACEOF
17813 rm -f conftest.$ac_objext
17814 if { (ac_try="$ac_compile"
17815 case "(($ac_try" in
17816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17817 *) ac_try_echo=$ac_try;;
17818 esac
17819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17820 (eval "$ac_compile") 2>conftest.er1
17821 ac_status=$?
17822 grep -v '^ *+' conftest.er1 >conftest.err
17823 rm -f conftest.er1
17824 cat conftest.err >&5
17825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17826 (exit $ac_status); } && {
17827 test -z "$ac_cxx_werror_flag" ||
17828 test ! -s conftest.err
17829 } && test -s conftest.$ac_objext; then
17830 bakefile_cv_cxx_compiler___MWERKS__=yes
17831 else
17832 echo "$as_me: failed program was:" >&5
17833 sed 's/^/| /' conftest.$ac_ext >&5
17834
17835 bakefile_cv_cxx_compiler___MWERKS__=no
17836
17837 fi
17838
17839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17840
17841
17842 fi
17843 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17844 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17845 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17846 :; MWCXX=yes
17847 else
17848 :;
17849 fi
17850 ac_ext=c
17851 ac_cpp='$CPP $CPPFLAGS'
17852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17855
17856
17857
17858 if test "$MWCXX" != "yes"; then
17859
17860
17861 ac_ext=cpp
17862 ac_cpp='$CXXCPP $CPPFLAGS'
17863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17866
17867 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17868 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17869 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17870 echo $ECHO_N "(cached) $ECHO_C" >&6
17871 else
17872 cat >conftest.$ac_ext <<_ACEOF
17873 /* confdefs.h. */
17874 _ACEOF
17875 cat confdefs.h >>conftest.$ac_ext
17876 cat >>conftest.$ac_ext <<_ACEOF
17877 /* end confdefs.h. */
17878
17879 int
17880 main ()
17881 {
17882
17883 #ifndef __xlC__
17884 choke me
17885 #endif
17886
17887 ;
17888 return 0;
17889 }
17890 _ACEOF
17891 rm -f conftest.$ac_objext
17892 if { (ac_try="$ac_compile"
17893 case "(($ac_try" in
17894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17895 *) ac_try_echo=$ac_try;;
17896 esac
17897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17898 (eval "$ac_compile") 2>conftest.er1
17899 ac_status=$?
17900 grep -v '^ *+' conftest.er1 >conftest.err
17901 rm -f conftest.er1
17902 cat conftest.err >&5
17903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17904 (exit $ac_status); } && {
17905 test -z "$ac_cxx_werror_flag" ||
17906 test ! -s conftest.err
17907 } && test -s conftest.$ac_objext; then
17908 bakefile_cv_cxx_compiler___xlC__=yes
17909 else
17910 echo "$as_me: failed program was:" >&5
17911 sed 's/^/| /' conftest.$ac_ext >&5
17912
17913 bakefile_cv_cxx_compiler___xlC__=no
17914
17915 fi
17916
17917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17918
17919
17920 fi
17921 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17922 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17923 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17924 :; XLCXX=yes
17925 else
17926 :;
17927 fi
17928 ac_ext=c
17929 ac_cpp='$CPP $CPPFLAGS'
17930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17933
17934
17935
17936 fi
17937 ;;
17938
17939 IRIX*)
17940
17941
17942 ac_ext=cpp
17943 ac_cpp='$CXXCPP $CPPFLAGS'
17944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17947
17948 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17949 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17950 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17951 echo $ECHO_N "(cached) $ECHO_C" >&6
17952 else
17953 cat >conftest.$ac_ext <<_ACEOF
17954 /* confdefs.h. */
17955 _ACEOF
17956 cat confdefs.h >>conftest.$ac_ext
17957 cat >>conftest.$ac_ext <<_ACEOF
17958 /* end confdefs.h. */
17959
17960 int
17961 main ()
17962 {
17963
17964 #ifndef _SGI_COMPILER_VERSION
17965 choke me
17966 #endif
17967
17968 ;
17969 return 0;
17970 }
17971 _ACEOF
17972 rm -f conftest.$ac_objext
17973 if { (ac_try="$ac_compile"
17974 case "(($ac_try" in
17975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17976 *) ac_try_echo=$ac_try;;
17977 esac
17978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17979 (eval "$ac_compile") 2>conftest.er1
17980 ac_status=$?
17981 grep -v '^ *+' conftest.er1 >conftest.err
17982 rm -f conftest.er1
17983 cat conftest.err >&5
17984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17985 (exit $ac_status); } && {
17986 test -z "$ac_cxx_werror_flag" ||
17987 test ! -s conftest.err
17988 } && test -s conftest.$ac_objext; then
17989 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17990 else
17991 echo "$as_me: failed program was:" >&5
17992 sed 's/^/| /' conftest.$ac_ext >&5
17993
17994 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17995
17996 fi
17997
17998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17999
18000
18001 fi
18002 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18003 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18004 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18005 :; SGICXX=yes
18006 else
18007 :;
18008 fi
18009 ac_ext=c
18010 ac_cpp='$CPP $CPPFLAGS'
18011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18014
18015
18016
18017 ;;
18018
18019 Linux*)
18020 if test "$INTELCXX" != "yes"; then
18021
18022
18023 ac_ext=cpp
18024 ac_cpp='$CXXCPP $CPPFLAGS'
18025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18028
18029 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18030 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18031 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18032 echo $ECHO_N "(cached) $ECHO_C" >&6
18033 else
18034 cat >conftest.$ac_ext <<_ACEOF
18035 /* confdefs.h. */
18036 _ACEOF
18037 cat confdefs.h >>conftest.$ac_ext
18038 cat >>conftest.$ac_ext <<_ACEOF
18039 /* end confdefs.h. */
18040
18041 int
18042 main ()
18043 {
18044
18045 #ifndef __SUNPRO_CC
18046 choke me
18047 #endif
18048
18049 ;
18050 return 0;
18051 }
18052 _ACEOF
18053 rm -f conftest.$ac_objext
18054 if { (ac_try="$ac_compile"
18055 case "(($ac_try" in
18056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18057 *) ac_try_echo=$ac_try;;
18058 esac
18059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18060 (eval "$ac_compile") 2>conftest.er1
18061 ac_status=$?
18062 grep -v '^ *+' conftest.er1 >conftest.err
18063 rm -f conftest.er1
18064 cat conftest.err >&5
18065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18066 (exit $ac_status); } && {
18067 test -z "$ac_cxx_werror_flag" ||
18068 test ! -s conftest.err
18069 } && test -s conftest.$ac_objext; then
18070 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18071 else
18072 echo "$as_me: failed program was:" >&5
18073 sed 's/^/| /' conftest.$ac_ext >&5
18074
18075 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18076
18077 fi
18078
18079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18080
18081
18082 fi
18083 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18084 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18085 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18086 :; SUNCXX=yes
18087 else
18088 :;
18089 fi
18090 ac_ext=c
18091 ac_cpp='$CPP $CPPFLAGS'
18092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18095
18096
18097
18098 fi
18099 ;;
18100
18101 HP-UX*)
18102
18103
18104 ac_ext=cpp
18105 ac_cpp='$CXXCPP $CPPFLAGS'
18106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18109
18110 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18111 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18112 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18113 echo $ECHO_N "(cached) $ECHO_C" >&6
18114 else
18115 cat >conftest.$ac_ext <<_ACEOF
18116 /* confdefs.h. */
18117 _ACEOF
18118 cat confdefs.h >>conftest.$ac_ext
18119 cat >>conftest.$ac_ext <<_ACEOF
18120 /* end confdefs.h. */
18121
18122 int
18123 main ()
18124 {
18125
18126 #ifndef __HP_aCC
18127 choke me
18128 #endif
18129
18130 ;
18131 return 0;
18132 }
18133 _ACEOF
18134 rm -f conftest.$ac_objext
18135 if { (ac_try="$ac_compile"
18136 case "(($ac_try" in
18137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18138 *) ac_try_echo=$ac_try;;
18139 esac
18140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18141 (eval "$ac_compile") 2>conftest.er1
18142 ac_status=$?
18143 grep -v '^ *+' conftest.er1 >conftest.err
18144 rm -f conftest.er1
18145 cat conftest.err >&5
18146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18147 (exit $ac_status); } && {
18148 test -z "$ac_cxx_werror_flag" ||
18149 test ! -s conftest.err
18150 } && test -s conftest.$ac_objext; then
18151 bakefile_cv_cxx_compiler___HP_aCC=yes
18152 else
18153 echo "$as_me: failed program was:" >&5
18154 sed 's/^/| /' conftest.$ac_ext >&5
18155
18156 bakefile_cv_cxx_compiler___HP_aCC=no
18157
18158 fi
18159
18160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18161
18162
18163 fi
18164 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18165 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18166 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18167 :; HPCXX=yes
18168 else
18169 :;
18170 fi
18171 ac_ext=c
18172 ac_cpp='$CPP $CPPFLAGS'
18173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18176
18177
18178
18179 ;;
18180
18181 OSF1)
18182
18183
18184 ac_ext=cpp
18185 ac_cpp='$CXXCPP $CPPFLAGS'
18186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18189
18190 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18191 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18192 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18193 echo $ECHO_N "(cached) $ECHO_C" >&6
18194 else
18195 cat >conftest.$ac_ext <<_ACEOF
18196 /* confdefs.h. */
18197 _ACEOF
18198 cat confdefs.h >>conftest.$ac_ext
18199 cat >>conftest.$ac_ext <<_ACEOF
18200 /* end confdefs.h. */
18201
18202 int
18203 main ()
18204 {
18205
18206 #ifndef __DECCXX
18207 choke me
18208 #endif
18209
18210 ;
18211 return 0;
18212 }
18213 _ACEOF
18214 rm -f conftest.$ac_objext
18215 if { (ac_try="$ac_compile"
18216 case "(($ac_try" in
18217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18218 *) ac_try_echo=$ac_try;;
18219 esac
18220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18221 (eval "$ac_compile") 2>conftest.er1
18222 ac_status=$?
18223 grep -v '^ *+' conftest.er1 >conftest.err
18224 rm -f conftest.er1
18225 cat conftest.err >&5
18226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18227 (exit $ac_status); } && {
18228 test -z "$ac_cxx_werror_flag" ||
18229 test ! -s conftest.err
18230 } && test -s conftest.$ac_objext; then
18231 bakefile_cv_cxx_compiler___DECCXX=yes
18232 else
18233 echo "$as_me: failed program was:" >&5
18234 sed 's/^/| /' conftest.$ac_ext >&5
18235
18236 bakefile_cv_cxx_compiler___DECCXX=no
18237
18238 fi
18239
18240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18241
18242
18243 fi
18244 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18245 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18246 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18247 :; COMPAQCXX=yes
18248 else
18249 :;
18250 fi
18251 ac_ext=c
18252 ac_cpp='$CPP $CPPFLAGS'
18253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18256
18257
18258
18259 ;;
18260
18261 SunOS)
18262
18263
18264 ac_ext=cpp
18265 ac_cpp='$CXXCPP $CPPFLAGS'
18266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18269
18270 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18271 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18272 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18273 echo $ECHO_N "(cached) $ECHO_C" >&6
18274 else
18275 cat >conftest.$ac_ext <<_ACEOF
18276 /* confdefs.h. */
18277 _ACEOF
18278 cat confdefs.h >>conftest.$ac_ext
18279 cat >>conftest.$ac_ext <<_ACEOF
18280 /* end confdefs.h. */
18281
18282 int
18283 main ()
18284 {
18285
18286 #ifndef __SUNPRO_CC
18287 choke me
18288 #endif
18289
18290 ;
18291 return 0;
18292 }
18293 _ACEOF
18294 rm -f conftest.$ac_objext
18295 if { (ac_try="$ac_compile"
18296 case "(($ac_try" in
18297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18298 *) ac_try_echo=$ac_try;;
18299 esac
18300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18301 (eval "$ac_compile") 2>conftest.er1
18302 ac_status=$?
18303 grep -v '^ *+' conftest.er1 >conftest.err
18304 rm -f conftest.er1
18305 cat conftest.err >&5
18306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18307 (exit $ac_status); } && {
18308 test -z "$ac_cxx_werror_flag" ||
18309 test ! -s conftest.err
18310 } && test -s conftest.$ac_objext; then
18311 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18312 else
18313 echo "$as_me: failed program was:" >&5
18314 sed 's/^/| /' conftest.$ac_ext >&5
18315
18316 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18317
18318 fi
18319
18320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18321
18322
18323 fi
18324 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18325 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18326 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18327 :; SUNCXX=yes
18328 else
18329 :;
18330 fi
18331 ac_ext=c
18332 ac_cpp='$CPP $CPPFLAGS'
18333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18336
18337
18338
18339 ;;
18340 esac
18341 fi
18342
18343
18344
18345 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18346 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18347 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18348 { (exit 1); exit 1; }; }
18349 fi
18350
18351 if test "x$SUNCXX" != xyes; then
18352 if test -n "$ac_tool_prefix"; then
18353 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18354 set dummy ${ac_tool_prefix}ar; ac_word=$2
18355 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18356 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18357 if test "${ac_cv_prog_AR+set}" = set; then
18358 echo $ECHO_N "(cached) $ECHO_C" >&6
18359 else
18360 if test -n "$AR"; then
18361 ac_cv_prog_AR="$AR" # Let the user override the test.
18362 else
18363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18364 for as_dir in $PATH
18365 do
18366 IFS=$as_save_IFS
18367 test -z "$as_dir" && as_dir=.
18368 for ac_exec_ext in '' $ac_executable_extensions; do
18369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18370 ac_cv_prog_AR="${ac_tool_prefix}ar"
18371 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18372 break 2
18373 fi
18374 done
18375 done
18376 IFS=$as_save_IFS
18377
18378 fi
18379 fi
18380 AR=$ac_cv_prog_AR
18381 if test -n "$AR"; then
18382 { echo "$as_me:$LINENO: result: $AR" >&5
18383 echo "${ECHO_T}$AR" >&6; }
18384 else
18385 { echo "$as_me:$LINENO: result: no" >&5
18386 echo "${ECHO_T}no" >&6; }
18387 fi
18388
18389
18390 fi
18391 if test -z "$ac_cv_prog_AR"; then
18392 ac_ct_AR=$AR
18393 # Extract the first word of "ar", so it can be a program name with args.
18394 set dummy ar; ac_word=$2
18395 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18397 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18398 echo $ECHO_N "(cached) $ECHO_C" >&6
18399 else
18400 if test -n "$ac_ct_AR"; then
18401 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18402 else
18403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18404 for as_dir in $PATH
18405 do
18406 IFS=$as_save_IFS
18407 test -z "$as_dir" && as_dir=.
18408 for ac_exec_ext in '' $ac_executable_extensions; do
18409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18410 ac_cv_prog_ac_ct_AR="ar"
18411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18412 break 2
18413 fi
18414 done
18415 done
18416 IFS=$as_save_IFS
18417
18418 fi
18419 fi
18420 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18421 if test -n "$ac_ct_AR"; then
18422 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18423 echo "${ECHO_T}$ac_ct_AR" >&6; }
18424 else
18425 { echo "$as_me:$LINENO: result: no" >&5
18426 echo "${ECHO_T}no" >&6; }
18427 fi
18428
18429 if test "x$ac_ct_AR" = x; then
18430 AR=""
18431 else
18432 case $cross_compiling:$ac_tool_warned in
18433 yes:)
18434 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18435 whose name does not start with the host triplet. If you think this
18436 configuration is useful to you, please write to autoconf@gnu.org." >&5
18437 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18438 whose name does not start with the host triplet. If you think this
18439 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18440 ac_tool_warned=yes ;;
18441 esac
18442 AR=$ac_ct_AR
18443 fi
18444 else
18445 AR="$ac_cv_prog_AR"
18446 fi
18447
18448 if test "x$AR" = "x" ; then
18449 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18450 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18451 { (exit 1); exit 1; }; }
18452 fi
18453 fi
18454
18455
18456 if test "$wxUSE_MAC" = 1; then
18457
18458 retest_macosx_linking=no
18459
18460 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18461 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18462 # Implicitly turn on the new --with-macosx-sdk using the default
18463 # SDK which provides the behavior this option has always had.
18464 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18465 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18466 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18467 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18468 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18469 wxUSE_MACOSX_SDK=yes
18470 fi
18471 else
18472 # Complain to user if he specified an argument to --enable-universal_binary
18473 # and also 1) specified --with-macosx-sdk using the default (yes) or
18474 # 2) specified --with-macosx-sdk using a path or 3) specified
18475 # --without-macosx-sdk (no).
18476 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18477 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18478 See \`config.log' for more details." >&5
18479 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18480 See \`config.log' for more details." >&2;}
18481 { (exit 1); exit 1; }; }
18482 else
18483 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18484 # special-case the empty string because the below test simply
18485 # converts "no" to the empty string anyway.
18486 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18487 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18488 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18489 fi
18490 fi
18491 OSX_UNIV_OPTS="-arch ppc -arch i386"
18492 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18493 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18494 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18495 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18496 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18497 retest_macosx_linking=yes
18498
18499 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18500 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18501 bk_use_pch=no
18502 fi
18503
18504 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18505 wxUSE_MACOSX_SDK=
18506 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18507 # TODO: Search for most recent SDK and use it.
18508 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18509 fi
18510
18511
18512 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18513 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18514 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18515 if ! test -d "$wxUSE_MACOSX_SDK"; then
18516 { { echo "$as_me:$LINENO: error: not found
18517 See \`config.log' for more details." >&5
18518 echo "$as_me: error: not found
18519 See \`config.log' for more details." >&2;}
18520 { (exit 1); exit 1; }; }
18521 else
18522 { echo "$as_me:$LINENO: result: exists" >&5
18523 echo "${ECHO_T}exists" >&6; }
18524 fi
18525 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18526 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18527 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18528 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18529 retest_macosx_linking=yes
18530 fi
18531
18532 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18533 wxUSE_MACOSX_VERSION_MIN=
18534 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18535 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18536 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18537 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18538
18539 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/'`
18540
18541 # If that failed, try again with the new key
18542 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18543
18544 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/'`
18545
18546 fi
18547
18548 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18549 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18550 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18551 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18552 else
18553 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18554 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18555 wxUSE_MACOSX_VERSION_MIN=
18556 fi
18557 else
18558 wxUSE_MACOSX_VERSION_MIN=
18559 fi
18560 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18561 for ac_prog in sw_vers
18562 do
18563 # Extract the first word of "$ac_prog", so it can be a program name with args.
18564 set dummy $ac_prog; ac_word=$2
18565 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18567 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
18568 echo $ECHO_N "(cached) $ECHO_C" >&6
18569 else
18570 if test -n "$OSX_SW_VERS"; then
18571 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
18572 else
18573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18574 for as_dir in $PATH
18575 do
18576 IFS=$as_save_IFS
18577 test -z "$as_dir" && as_dir=.
18578 for ac_exec_ext in '' $ac_executable_extensions; do
18579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18580 ac_cv_prog_OSX_SW_VERS="$ac_prog"
18581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18582 break 2
18583 fi
18584 done
18585 done
18586 IFS=$as_save_IFS
18587
18588 fi
18589 fi
18590 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
18591 if test -n "$OSX_SW_VERS"; then
18592 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
18593 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
18594 else
18595 { echo "$as_me:$LINENO: result: no" >&5
18596 echo "${ECHO_T}no" >&6; }
18597 fi
18598
18599
18600 test -n "$OSX_SW_VERS" && break
18601 done
18602
18603 if test "$OSX_SW_VERS" != ""; then
18604 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18605 else
18606 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
18607 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
18608 OSX_VERSION="10.4"
18609 fi
18610
18611 case "$OSX_VERSION" in
18612 10.4* )
18613 wxUSE_MACOSX_VERSION_MIN=10.4
18614 ;;
18615
18616 * )
18617 if test "$wxUSE_OSX_CARBON" = 1; then
18618 # otherwise configure stops on leopard for universal_binary
18619 wxUSE_MACOSX_VERSION_MIN=10.4
18620 else
18621 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
18622 wxUSE_MACOSX_VERSION_MIN=10.5
18623 fi
18624 ;;
18625 esac
18626 fi
18627
18628 NEEDS_GCC40="no"
18629 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18630 NEEDS_GCC40="yes"
18631 fi
18632
18633 if test "$wxUSE_OSX_CARBON" = 1; then
18634 NEEDS_GCC40="yes"
18635 fi
18636
18637 if test "x$NEEDS_GCC40" == "xyes"; then
18638 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18639 # and wants 10.4 compatible code, then 'downgrade' to 4.0
18640 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18641 if test "x$CC" = "xgcc"; then
18642 CCVERSION=`$CC --version | grep 4.[2-9].`
18643 if test "x$CCVERSION" != "x"; then
18644 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18645 CC="/usr/bin/gcc-4.0"
18646 fi
18647 fi
18648
18649 if test "x$CXX" = "xg++"; then
18650 CCVERSION=`$CXX --version | grep 4.[2-9].`
18651 if test "x$CCVERSION" != "x"; then
18652 CXX="/usr/bin/g++-4.0"
18653 fi
18654 fi
18655 fi
18656
18657 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18658 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18659 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18660 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18661 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18662 retest_macosx_linking=yes
18663 fi
18664
18665 if test "x$retest_macosx_linking" = "xyes"; then
18666 ac_ext=c
18667 ac_cpp='$CPP $CPPFLAGS'
18668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18671
18672 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18673 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18674 cat >conftest.$ac_ext <<_ACEOF
18675 /* confdefs.h. */
18676 _ACEOF
18677 cat confdefs.h >>conftest.$ac_ext
18678 cat >>conftest.$ac_ext <<_ACEOF
18679 /* end confdefs.h. */
18680
18681 int
18682 main ()
18683 {
18684
18685 ;
18686 return 0;
18687 }
18688 _ACEOF
18689 rm -f conftest.$ac_objext conftest$ac_exeext
18690 if { (ac_try="$ac_link"
18691 case "(($ac_try" in
18692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18693 *) ac_try_echo=$ac_try;;
18694 esac
18695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18696 (eval "$ac_link") 2>conftest.er1
18697 ac_status=$?
18698 grep -v '^ *+' conftest.er1 >conftest.err
18699 rm -f conftest.er1
18700 cat conftest.err >&5
18701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18702 (exit $ac_status); } && {
18703 test -z "$ac_c_werror_flag" ||
18704 test ! -s conftest.err
18705 } && test -s conftest$ac_exeext &&
18706 $as_test_x conftest$ac_exeext; then
18707 { echo "$as_me:$LINENO: result: yes" >&5
18708 echo "${ECHO_T}yes" >&6; }
18709 else
18710 echo "$as_me: failed program was:" >&5
18711 sed 's/^/| /' conftest.$ac_ext >&5
18712
18713 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18714 See \`config.log' for more details." >&5
18715 echo "$as_me: error: no. Try a different SDK
18716 See \`config.log' for more details." >&2;}
18717 { (exit 1); exit 1; }; }; exit 1
18718 fi
18719
18720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18721 conftest$ac_exeext conftest.$ac_ext
18722 ac_ext=c
18723 ac_cpp='$CPP $CPPFLAGS'
18724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18727
18728
18729 ac_ext=cpp
18730 ac_cpp='$CXXCPP $CPPFLAGS'
18731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18734
18735 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18736 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18737 cat >conftest.$ac_ext <<_ACEOF
18738 /* confdefs.h. */
18739 _ACEOF
18740 cat confdefs.h >>conftest.$ac_ext
18741 cat >>conftest.$ac_ext <<_ACEOF
18742 /* end confdefs.h. */
18743
18744 int
18745 main ()
18746 {
18747
18748 ;
18749 return 0;
18750 }
18751 _ACEOF
18752 rm -f conftest.$ac_objext conftest$ac_exeext
18753 if { (ac_try="$ac_link"
18754 case "(($ac_try" in
18755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18756 *) ac_try_echo=$ac_try;;
18757 esac
18758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18759 (eval "$ac_link") 2>conftest.er1
18760 ac_status=$?
18761 grep -v '^ *+' conftest.er1 >conftest.err
18762 rm -f conftest.er1
18763 cat conftest.err >&5
18764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18765 (exit $ac_status); } && {
18766 test -z "$ac_cxx_werror_flag" ||
18767 test ! -s conftest.err
18768 } && test -s conftest$ac_exeext &&
18769 $as_test_x conftest$ac_exeext; then
18770 { echo "$as_me:$LINENO: result: yes" >&5
18771 echo "${ECHO_T}yes" >&6; }
18772 else
18773 echo "$as_me: failed program was:" >&5
18774 sed 's/^/| /' conftest.$ac_ext >&5
18775
18776 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18777 See \`config.log' for more details." >&5
18778 echo "$as_me: error: no. Try a different SDK
18779 See \`config.log' for more details." >&2;}
18780 { (exit 1); exit 1; }; }; exit 1
18781 fi
18782
18783 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18784 conftest$ac_exeext conftest.$ac_ext
18785 ac_ext=c
18786 ac_cpp='$CPP $CPPFLAGS'
18787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18790
18791 fi
18792
18793 fi
18794 case "${host}" in
18795
18796 *-*-darwin* )
18797 INSTALL_PROGRAM="cp -fp"
18798 INSTALL_DATA="cp -fp"
18799 ;;
18800 *)
18801 ;;
18802 esac
18803
18804
18805 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18806 CXXFLAGS="-qunique $CXXFLAGS"
18807 fi
18808
18809 case "${host}" in
18810 powerpc-*-darwin* )
18811 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18812 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18813 cat >conftest.$ac_ext <<_ACEOF
18814 /* confdefs.h. */
18815 _ACEOF
18816 cat confdefs.h >>conftest.$ac_ext
18817 cat >>conftest.$ac_ext <<_ACEOF
18818 /* end confdefs.h. */
18819
18820 int
18821 main ()
18822 {
18823 #ifndef __POWERPC__
18824 choke me for lack of PowerPC
18825 #endif
18826
18827 ;
18828 return 0;
18829 }
18830 _ACEOF
18831 rm -f conftest.$ac_objext
18832 if { (ac_try="$ac_compile"
18833 case "(($ac_try" in
18834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18835 *) ac_try_echo=$ac_try;;
18836 esac
18837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18838 (eval "$ac_compile") 2>conftest.er1
18839 ac_status=$?
18840 grep -v '^ *+' conftest.er1 >conftest.err
18841 rm -f conftest.er1
18842 cat conftest.err >&5
18843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18844 (exit $ac_status); } && {
18845 test -z "$ac_c_werror_flag" ||
18846 test ! -s conftest.err
18847 } && test -s conftest.$ac_objext; then
18848 { echo "$as_me:$LINENO: result: yes" >&5
18849 echo "${ECHO_T}yes" >&6; }
18850 else
18851 echo "$as_me: failed program was:" >&5
18852 sed 's/^/| /' conftest.$ac_ext >&5
18853
18854 { echo "$as_me:$LINENO: result: no" >&5
18855 echo "${ECHO_T}no" >&6; }
18856 cat >>confdefs.h <<\_ACEOF
18857 #define __POWERPC__ 1
18858 _ACEOF
18859
18860
18861 fi
18862
18863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18864 ;;
18865 esac
18866
18867 case "${host}" in
18868 *-*-darwin* )
18869 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18870 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18871 cat >conftest.$ac_ext <<_ACEOF
18872 /* confdefs.h. */
18873 _ACEOF
18874 cat confdefs.h >>conftest.$ac_ext
18875 cat >>conftest.$ac_ext <<_ACEOF
18876 /* end confdefs.h. */
18877 #include <CoreFoundation/CFBase.h>
18878
18879 int
18880 main ()
18881 {
18882
18883 ;
18884 return 0;
18885 }
18886 _ACEOF
18887 rm -f conftest.$ac_objext
18888 if { (ac_try="$ac_compile"
18889 case "(($ac_try" in
18890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18891 *) ac_try_echo=$ac_try;;
18892 esac
18893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18894 (eval "$ac_compile") 2>conftest.er1
18895 ac_status=$?
18896 grep -v '^ *+' conftest.er1 >conftest.err
18897 rm -f conftest.er1
18898 cat conftest.err >&5
18899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18900 (exit $ac_status); } && {
18901 test -z "$ac_c_werror_flag" ||
18902 test ! -s conftest.err
18903 } && test -s conftest.$ac_objext; then
18904 { echo "$as_me:$LINENO: result: yes" >&5
18905 echo "${ECHO_T}yes" >&6; }
18906 else
18907 echo "$as_me: failed program was:" >&5
18908 sed 's/^/| /' conftest.$ac_ext >&5
18909
18910 { echo "$as_me:$LINENO: result: no" >&5
18911 echo "${ECHO_T}no" >&6; }
18912 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18913 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18914 cat >conftest.$ac_ext <<_ACEOF
18915 /* confdefs.h. */
18916 _ACEOF
18917 cat confdefs.h >>conftest.$ac_ext
18918 cat >>conftest.$ac_ext <<_ACEOF
18919 /* end confdefs.h. */
18920 #define __CF_USE_FRAMEWORK_INCLUDES__
18921 #include <CoreFoundation/CFBase.h>
18922
18923 int
18924 main ()
18925 {
18926
18927 ;
18928 return 0;
18929 }
18930 _ACEOF
18931 rm -f conftest.$ac_objext
18932 if { (ac_try="$ac_compile"
18933 case "(($ac_try" in
18934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18935 *) ac_try_echo=$ac_try;;
18936 esac
18937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18938 (eval "$ac_compile") 2>conftest.er1
18939 ac_status=$?
18940 grep -v '^ *+' conftest.er1 >conftest.err
18941 rm -f conftest.er1
18942 cat conftest.err >&5
18943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18944 (exit $ac_status); } && {
18945 test -z "$ac_c_werror_flag" ||
18946 test ! -s conftest.err
18947 } && test -s conftest.$ac_objext; then
18948 { echo "$as_me:$LINENO: result: yes" >&5
18949 echo "${ECHO_T}yes" >&6; }
18950 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18951 else
18952 echo "$as_me: failed program was:" >&5
18953 sed 's/^/| /' conftest.$ac_ext >&5
18954
18955 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18956 See \`config.log' for more details." >&5
18957 echo "$as_me: error: no. CoreFoundation not available.
18958 See \`config.log' for more details." >&2;}
18959 { (exit 1); exit 1; }; }
18960
18961 fi
18962
18963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18964
18965
18966 fi
18967
18968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18969 ;;
18970 esac
18971
18972 wants_win32=0
18973 doesnt_want_win32=0
18974 case "${host}" in
18975 *-*-cygwin*)
18976 if test "$wxUSE_MSW" = 1 ; then
18977 wants_win32=1
18978 else
18979 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18980 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18981 if test "${wx_cv_nocygwin+set}" = set; then
18982 echo $ECHO_N "(cached) $ECHO_C" >&6
18983 else
18984
18985 cat >conftest.$ac_ext <<_ACEOF
18986 /* confdefs.h. */
18987 _ACEOF
18988 cat confdefs.h >>conftest.$ac_ext
18989 cat >>conftest.$ac_ext <<_ACEOF
18990 /* end confdefs.h. */
18991
18992 int
18993 main ()
18994 {
18995
18996 #ifdef __MINGW32__
18997 choke me
18998 #endif
18999
19000 ;
19001 return 0;
19002 }
19003 _ACEOF
19004 rm -f conftest.$ac_objext
19005 if { (ac_try="$ac_compile"
19006 case "(($ac_try" in
19007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19008 *) ac_try_echo=$ac_try;;
19009 esac
19010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19011 (eval "$ac_compile") 2>conftest.er1
19012 ac_status=$?
19013 grep -v '^ *+' conftest.er1 >conftest.err
19014 rm -f conftest.er1
19015 cat conftest.err >&5
19016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19017 (exit $ac_status); } && {
19018 test -z "$ac_c_werror_flag" ||
19019 test ! -s conftest.err
19020 } && test -s conftest.$ac_objext; then
19021 wx_cv_nocygwin=no
19022 else
19023 echo "$as_me: failed program was:" >&5
19024 sed 's/^/| /' conftest.$ac_ext >&5
19025
19026 wx_cv_nocygwin=yes
19027
19028 fi
19029
19030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19031
19032
19033 fi
19034 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19035 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19036
19037 if test "$wx_cv_nocygwin" = "yes"; then
19038 wants_win32=1
19039 else
19040 doesnt_want_win32=1
19041 fi
19042 fi
19043 if test "$wants_win32" = 1 ; then
19044 BAKEFILE_FORCE_PLATFORM=win32
19045 fi
19046 ;;
19047 *-*-mingw*)
19048 wants_win32=1
19049 ;;
19050 esac
19051
19052 if test "$wxUSE_WINE" = "yes"; then
19053 wants_win32=1
19054 LDFLAGS_GUI="-mwindows"
19055 fi
19056
19057 if test "$wants_win32" = 1 ; then
19058 USE_UNIX=0
19059 USE_WIN32=1
19060 cat >>confdefs.h <<\_ACEOF
19061 #define __WIN32__ 1
19062 _ACEOF
19063
19064 cat >>confdefs.h <<\_ACEOF
19065 #define __WIN95__ 1
19066 _ACEOF
19067
19068 cat >>confdefs.h <<\_ACEOF
19069 #define __WINDOWS__ 1
19070 _ACEOF
19071
19072 cat >>confdefs.h <<\_ACEOF
19073 #define __GNUWIN32__ 1
19074 _ACEOF
19075
19076 cat >>confdefs.h <<\_ACEOF
19077 #define STRICT 1
19078 _ACEOF
19079
19080 fi
19081 if test "$doesnt_want_win32" = 1 ; then
19082 USE_UNIX=1
19083 USE_WIN32=0
19084 fi
19085
19086 if test "$USE_UNIX" = 1 ; then
19087 wxUSE_UNIX=yes
19088 cat >>confdefs.h <<\_ACEOF
19089 #define __UNIX__ 1
19090 _ACEOF
19091
19092 fi
19093
19094 case "${host}" in
19095 *-pc-os2_emx | *-pc-os2-emx )
19096 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19097 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19098 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
19099 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19100 echo $ECHO_N "(cached) $ECHO_C" >&6
19101 else
19102 ac_check_lib_save_LIBS=$LIBS
19103 LIBS="-lcExt $LIBS"
19104 cat >conftest.$ac_ext <<_ACEOF
19105 /* confdefs.h. */
19106 _ACEOF
19107 cat confdefs.h >>conftest.$ac_ext
19108 cat >>conftest.$ac_ext <<_ACEOF
19109 /* end confdefs.h. */
19110
19111 /* Override any GCC internal prototype to avoid an error.
19112 Use char because int might match the return type of a GCC
19113 builtin and then its argument prototype would still apply. */
19114 #ifdef __cplusplus
19115 extern "C"
19116 #endif
19117 char drand48 ();
19118 int
19119 main ()
19120 {
19121 return drand48 ();
19122 ;
19123 return 0;
19124 }
19125 _ACEOF
19126 rm -f conftest.$ac_objext conftest$ac_exeext
19127 if { (ac_try="$ac_link"
19128 case "(($ac_try" in
19129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19130 *) ac_try_echo=$ac_try;;
19131 esac
19132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19133 (eval "$ac_link") 2>conftest.er1
19134 ac_status=$?
19135 grep -v '^ *+' conftest.er1 >conftest.err
19136 rm -f conftest.er1
19137 cat conftest.err >&5
19138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19139 (exit $ac_status); } && {
19140 test -z "$ac_c_werror_flag" ||
19141 test ! -s conftest.err
19142 } && test -s conftest$ac_exeext &&
19143 $as_test_x conftest$ac_exeext; then
19144 ac_cv_lib_cExt_drand48=yes
19145 else
19146 echo "$as_me: failed program was:" >&5
19147 sed 's/^/| /' conftest.$ac_ext >&5
19148
19149 ac_cv_lib_cExt_drand48=no
19150 fi
19151
19152 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19153 conftest$ac_exeext conftest.$ac_ext
19154 LIBS=$ac_check_lib_save_LIBS
19155 fi
19156 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19157 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19158 if test $ac_cv_lib_cExt_drand48 = yes; then
19159 LIBS="$LIBS -lcExt"
19160 fi
19161
19162 else
19163 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19164 fi
19165 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19166 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
19167 if test "${wx_cv_gccversion+set}" = set; then
19168 echo $ECHO_N "(cached) $ECHO_C" >&6
19169 else
19170
19171 if test "$cross_compiling" = yes; then
19172 wx_cv_gccversion="EMX2"
19173
19174 else
19175 cat >conftest.$ac_ext <<_ACEOF
19176 /* confdefs.h. */
19177 _ACEOF
19178 cat confdefs.h >>conftest.$ac_ext
19179 cat >>conftest.$ac_ext <<_ACEOF
19180 /* end confdefs.h. */
19181
19182 #include <stdio.h>
19183
19184 int main()
19185 {
19186 FILE *f=fopen("conftestval", "w");
19187 if (!f) exit(1);
19188 fprintf(f,
19189 #if (__GNUC__ < 3)
19190 "EMX2"
19191 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19192 "EMX3"
19193 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19194 "Innotek5"
19195 #else
19196 "Innotek6"
19197 #endif
19198 );
19199 exit(0);
19200 }
19201
19202 _ACEOF
19203 rm -f conftest$ac_exeext
19204 if { (ac_try="$ac_link"
19205 case "(($ac_try" in
19206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19207 *) ac_try_echo=$ac_try;;
19208 esac
19209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19210 (eval "$ac_link") 2>&5
19211 ac_status=$?
19212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19213 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19214 { (case "(($ac_try" in
19215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19216 *) ac_try_echo=$ac_try;;
19217 esac
19218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19219 (eval "$ac_try") 2>&5
19220 ac_status=$?
19221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19222 (exit $ac_status); }; }; then
19223 wx_cv_gccversion=`cat conftestval`
19224 else
19225 echo "$as_me: program exited with status $ac_status" >&5
19226 echo "$as_me: failed program was:" >&5
19227 sed 's/^/| /' conftest.$ac_ext >&5
19228
19229 ( exit $ac_status )
19230 wx_cv_gccversion="EMX2"
19231 fi
19232 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19233 fi
19234
19235
19236
19237 fi
19238 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
19239 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19240 if test "$wx_cv_gccversion" = "EMX2"; then
19241 LIBS="$LIBS -lstdcpp"
19242 LDFLAGS="$LDFLAGS -Zsysv-signals"
19243 else
19244 if test "$wx_cv_gccversion" = "EMX3"; then
19245 LIBS="$LIBS -lstdcxx -lgcc"
19246 LDFLAGS="$LDFLAGS -Zsysv-signals"
19247 else
19248 LIBS="$LIBS -lstdc++"
19249 fi
19250 fi
19251 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19252 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
19253 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19254 wxUSE_OMF=yes
19255 enable_omf=yes
19256 fi
19257 ;;
19258 *)
19259
19260 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
19261 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
19262 if test "${ac_cv_string_strcasecmp+set}" = set; then
19263 echo $ECHO_N "(cached) $ECHO_C" >&6
19264 else
19265
19266 cat >conftest.$ac_ext <<_ACEOF
19267 /* confdefs.h. */
19268 _ACEOF
19269 cat confdefs.h >>conftest.$ac_ext
19270 cat >>conftest.$ac_ext <<_ACEOF
19271 /* end confdefs.h. */
19272
19273 #include <string.h>
19274
19275 int
19276 main ()
19277 {
19278
19279 strcasecmp("foo", "bar");
19280
19281 ;
19282 return 0;
19283 }
19284 _ACEOF
19285 rm -f conftest.$ac_objext conftest$ac_exeext
19286 if { (ac_try="$ac_link"
19287 case "(($ac_try" in
19288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19289 *) ac_try_echo=$ac_try;;
19290 esac
19291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19292 (eval "$ac_link") 2>conftest.er1
19293 ac_status=$?
19294 grep -v '^ *+' conftest.er1 >conftest.err
19295 rm -f conftest.er1
19296 cat conftest.err >&5
19297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19298 (exit $ac_status); } && {
19299 test -z "$ac_c_werror_flag" ||
19300 test ! -s conftest.err
19301 } && test -s conftest$ac_exeext &&
19302 $as_test_x conftest$ac_exeext; then
19303 ac_cv_string_strcasecmp=yes
19304 else
19305 echo "$as_me: failed program was:" >&5
19306 sed 's/^/| /' conftest.$ac_ext >&5
19307
19308 ac_cv_string_strcasecmp=no
19309
19310 fi
19311
19312 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19313 conftest$ac_exeext conftest.$ac_ext
19314
19315 fi
19316 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
19317 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19318
19319 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19320 cat >>confdefs.h <<\_ACEOF
19321 #define HAVE_STRCASECMP_IN_STRING_H 1
19322 _ACEOF
19323
19324 else
19325 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19326 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
19327 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19328 echo $ECHO_N "(cached) $ECHO_C" >&6
19329 else
19330
19331 cat >conftest.$ac_ext <<_ACEOF
19332 /* confdefs.h. */
19333 _ACEOF
19334 cat confdefs.h >>conftest.$ac_ext
19335 cat >>conftest.$ac_ext <<_ACEOF
19336 /* end confdefs.h. */
19337
19338 #include <strings.h>
19339
19340 int
19341 main ()
19342 {
19343
19344 strcasecmp("foo", "bar");
19345
19346 ;
19347 return 0;
19348 }
19349 _ACEOF
19350 rm -f conftest.$ac_objext conftest$ac_exeext
19351 if { (ac_try="$ac_link"
19352 case "(($ac_try" in
19353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19354 *) ac_try_echo=$ac_try;;
19355 esac
19356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19357 (eval "$ac_link") 2>conftest.er1
19358 ac_status=$?
19359 grep -v '^ *+' conftest.er1 >conftest.err
19360 rm -f conftest.er1
19361 cat conftest.err >&5
19362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19363 (exit $ac_status); } && {
19364 test -z "$ac_c_werror_flag" ||
19365 test ! -s conftest.err
19366 } && test -s conftest$ac_exeext &&
19367 $as_test_x conftest$ac_exeext; then
19368 ac_cv_strings_strcasecmp=yes
19369 else
19370 echo "$as_me: failed program was:" >&5
19371 sed 's/^/| /' conftest.$ac_ext >&5
19372
19373 ac_cv_strings_strcasecmp=no
19374
19375 fi
19376
19377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19378 conftest$ac_exeext conftest.$ac_ext
19379
19380 fi
19381 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19382 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19383
19384 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19385 cat >>confdefs.h <<\_ACEOF
19386 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19387 _ACEOF
19388
19389 else
19390 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19391 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19392 { (exit 1); exit 1; }; }
19393 fi
19394 fi
19395
19396 ;;
19397 esac
19398
19399
19400 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19401 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19402 if test "${ac_cv_header_stdc+set}" = set; then
19403 echo $ECHO_N "(cached) $ECHO_C" >&6
19404 else
19405 cat >conftest.$ac_ext <<_ACEOF
19406 /* confdefs.h. */
19407 _ACEOF
19408 cat confdefs.h >>conftest.$ac_ext
19409 cat >>conftest.$ac_ext <<_ACEOF
19410 /* end confdefs.h. */
19411 #include <stdlib.h>
19412 #include <stdarg.h>
19413 #include <string.h>
19414 #include <float.h>
19415
19416 int
19417 main ()
19418 {
19419
19420 ;
19421 return 0;
19422 }
19423 _ACEOF
19424 rm -f conftest.$ac_objext
19425 if { (ac_try="$ac_compile"
19426 case "(($ac_try" in
19427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19428 *) ac_try_echo=$ac_try;;
19429 esac
19430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19431 (eval "$ac_compile") 2>conftest.er1
19432 ac_status=$?
19433 grep -v '^ *+' conftest.er1 >conftest.err
19434 rm -f conftest.er1
19435 cat conftest.err >&5
19436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19437 (exit $ac_status); } && {
19438 test -z "$ac_c_werror_flag" ||
19439 test ! -s conftest.err
19440 } && test -s conftest.$ac_objext; then
19441 ac_cv_header_stdc=yes
19442 else
19443 echo "$as_me: failed program was:" >&5
19444 sed 's/^/| /' conftest.$ac_ext >&5
19445
19446 ac_cv_header_stdc=no
19447 fi
19448
19449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19450
19451 if test $ac_cv_header_stdc = yes; then
19452 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19453 cat >conftest.$ac_ext <<_ACEOF
19454 /* confdefs.h. */
19455 _ACEOF
19456 cat confdefs.h >>conftest.$ac_ext
19457 cat >>conftest.$ac_ext <<_ACEOF
19458 /* end confdefs.h. */
19459 #include <string.h>
19460
19461 _ACEOF
19462 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19463 $EGREP "memchr" >/dev/null 2>&1; then
19464 :
19465 else
19466 ac_cv_header_stdc=no
19467 fi
19468 rm -f conftest*
19469
19470 fi
19471
19472 if test $ac_cv_header_stdc = yes; then
19473 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19474 cat >conftest.$ac_ext <<_ACEOF
19475 /* confdefs.h. */
19476 _ACEOF
19477 cat confdefs.h >>conftest.$ac_ext
19478 cat >>conftest.$ac_ext <<_ACEOF
19479 /* end confdefs.h. */
19480 #include <stdlib.h>
19481
19482 _ACEOF
19483 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19484 $EGREP "free" >/dev/null 2>&1; then
19485 :
19486 else
19487 ac_cv_header_stdc=no
19488 fi
19489 rm -f conftest*
19490
19491 fi
19492
19493 if test $ac_cv_header_stdc = yes; then
19494 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19495 if test "$cross_compiling" = yes; then
19496 :
19497 else
19498 cat >conftest.$ac_ext <<_ACEOF
19499 /* confdefs.h. */
19500 _ACEOF
19501 cat confdefs.h >>conftest.$ac_ext
19502 cat >>conftest.$ac_ext <<_ACEOF
19503 /* end confdefs.h. */
19504 #include <ctype.h>
19505 #include <stdlib.h>
19506 #if ((' ' & 0x0FF) == 0x020)
19507 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19508 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19509 #else
19510 # define ISLOWER(c) \
19511 (('a' <= (c) && (c) <= 'i') \
19512 || ('j' <= (c) && (c) <= 'r') \
19513 || ('s' <= (c) && (c) <= 'z'))
19514 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19515 #endif
19516
19517 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19518 int
19519 main ()
19520 {
19521 int i;
19522 for (i = 0; i < 256; i++)
19523 if (XOR (islower (i), ISLOWER (i))
19524 || toupper (i) != TOUPPER (i))
19525 return 2;
19526 return 0;
19527 }
19528 _ACEOF
19529 rm -f conftest$ac_exeext
19530 if { (ac_try="$ac_link"
19531 case "(($ac_try" in
19532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19533 *) ac_try_echo=$ac_try;;
19534 esac
19535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19536 (eval "$ac_link") 2>&5
19537 ac_status=$?
19538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19539 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19540 { (case "(($ac_try" in
19541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19542 *) ac_try_echo=$ac_try;;
19543 esac
19544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19545 (eval "$ac_try") 2>&5
19546 ac_status=$?
19547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19548 (exit $ac_status); }; }; then
19549 :
19550 else
19551 echo "$as_me: program exited with status $ac_status" >&5
19552 echo "$as_me: failed program was:" >&5
19553 sed 's/^/| /' conftest.$ac_ext >&5
19554
19555 ( exit $ac_status )
19556 ac_cv_header_stdc=no
19557 fi
19558 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19559 fi
19560
19561
19562 fi
19563 fi
19564 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19565 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19566 if test $ac_cv_header_stdc = yes; then
19567
19568 cat >>confdefs.h <<\_ACEOF
19569 #define STDC_HEADERS 1
19570 _ACEOF
19571
19572 fi
19573
19574 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19575
19576
19577
19578
19579
19580
19581
19582
19583
19584 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19585 inttypes.h stdint.h unistd.h
19586 do
19587 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19588 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19589 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19590 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19591 echo $ECHO_N "(cached) $ECHO_C" >&6
19592 else
19593 cat >conftest.$ac_ext <<_ACEOF
19594 /* confdefs.h. */
19595 _ACEOF
19596 cat confdefs.h >>conftest.$ac_ext
19597 cat >>conftest.$ac_ext <<_ACEOF
19598 /* end confdefs.h. */
19599 $ac_includes_default
19600
19601 #include <$ac_header>
19602 _ACEOF
19603 rm -f conftest.$ac_objext
19604 if { (ac_try="$ac_compile"
19605 case "(($ac_try" in
19606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19607 *) ac_try_echo=$ac_try;;
19608 esac
19609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19610 (eval "$ac_compile") 2>conftest.er1
19611 ac_status=$?
19612 grep -v '^ *+' conftest.er1 >conftest.err
19613 rm -f conftest.er1
19614 cat conftest.err >&5
19615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19616 (exit $ac_status); } && {
19617 test -z "$ac_c_werror_flag" ||
19618 test ! -s conftest.err
19619 } && test -s conftest.$ac_objext; then
19620 eval "$as_ac_Header=yes"
19621 else
19622 echo "$as_me: failed program was:" >&5
19623 sed 's/^/| /' conftest.$ac_ext >&5
19624
19625 eval "$as_ac_Header=no"
19626 fi
19627
19628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19629 fi
19630 ac_res=`eval echo '${'$as_ac_Header'}'`
19631 { echo "$as_me:$LINENO: result: $ac_res" >&5
19632 echo "${ECHO_T}$ac_res" >&6; }
19633 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19634 cat >>confdefs.h <<_ACEOF
19635 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19636 _ACEOF
19637
19638 fi
19639
19640 done
19641
19642
19643
19644
19645 for ac_header in langinfo.h wchar.h
19646 do
19647 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19648 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19650 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19651 echo $ECHO_N "(cached) $ECHO_C" >&6
19652 else
19653 cat >conftest.$ac_ext <<_ACEOF
19654 /* confdefs.h. */
19655 _ACEOF
19656 cat confdefs.h >>conftest.$ac_ext
19657 cat >>conftest.$ac_ext <<_ACEOF
19658 /* end confdefs.h. */
19659 $ac_includes_default
19660
19661 #include <$ac_header>
19662 _ACEOF
19663 rm -f conftest.$ac_objext
19664 if { (ac_try="$ac_compile"
19665 case "(($ac_try" in
19666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19667 *) ac_try_echo=$ac_try;;
19668 esac
19669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19670 (eval "$ac_compile") 2>conftest.er1
19671 ac_status=$?
19672 grep -v '^ *+' conftest.er1 >conftest.err
19673 rm -f conftest.er1
19674 cat conftest.err >&5
19675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19676 (exit $ac_status); } && {
19677 test -z "$ac_c_werror_flag" ||
19678 test ! -s conftest.err
19679 } && test -s conftest.$ac_objext; then
19680 eval "$as_ac_Header=yes"
19681 else
19682 echo "$as_me: failed program was:" >&5
19683 sed 's/^/| /' conftest.$ac_ext >&5
19684
19685 eval "$as_ac_Header=no"
19686 fi
19687
19688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19689 fi
19690 ac_res=`eval echo '${'$as_ac_Header'}'`
19691 { echo "$as_me:$LINENO: result: $ac_res" >&5
19692 echo "${ECHO_T}$ac_res" >&6; }
19693 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19694 cat >>confdefs.h <<_ACEOF
19695 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19696 _ACEOF
19697
19698 fi
19699
19700 done
19701
19702
19703 if test "$ac_cv_header_wchar_h" != "yes"; then
19704
19705 for ac_header in wcstr.h
19706 do
19707 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19708 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19709 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19710 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19711 echo $ECHO_N "(cached) $ECHO_C" >&6
19712 else
19713 cat >conftest.$ac_ext <<_ACEOF
19714 /* confdefs.h. */
19715 _ACEOF
19716 cat confdefs.h >>conftest.$ac_ext
19717 cat >>conftest.$ac_ext <<_ACEOF
19718 /* end confdefs.h. */
19719 $ac_includes_default
19720
19721 #include <$ac_header>
19722 _ACEOF
19723 rm -f conftest.$ac_objext
19724 if { (ac_try="$ac_compile"
19725 case "(($ac_try" in
19726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19727 *) ac_try_echo=$ac_try;;
19728 esac
19729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19730 (eval "$ac_compile") 2>conftest.er1
19731 ac_status=$?
19732 grep -v '^ *+' conftest.er1 >conftest.err
19733 rm -f conftest.er1
19734 cat conftest.err >&5
19735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19736 (exit $ac_status); } && {
19737 test -z "$ac_c_werror_flag" ||
19738 test ! -s conftest.err
19739 } && test -s conftest.$ac_objext; then
19740 eval "$as_ac_Header=yes"
19741 else
19742 echo "$as_me: failed program was:" >&5
19743 sed 's/^/| /' conftest.$ac_ext >&5
19744
19745 eval "$as_ac_Header=no"
19746 fi
19747
19748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19749 fi
19750 ac_res=`eval echo '${'$as_ac_Header'}'`
19751 { echo "$as_me:$LINENO: result: $ac_res" >&5
19752 echo "${ECHO_T}$ac_res" >&6; }
19753 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19754 cat >>confdefs.h <<_ACEOF
19755 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19756 _ACEOF
19757
19758 fi
19759
19760 done
19761
19762 fi
19763
19764 case "${host}" in
19765 *-pc-os2_emx | *-pc-os2-emx )
19766 if test $ac_cv_header_langinfo_h = "yes" \
19767 -a \( "$wx_cv_gccversion" = "EMX2" \
19768 -o "$wx_cv_gccversion" = "EMX3" \
19769 -o "$wx_cv_gccversion" = "Innotek5" \); then
19770 LIBS="$LIBS -lintl"
19771 fi
19772 ;;
19773 esac
19774
19775 if test "$USE_UNIX" = 1 ; then
19776
19777 for ac_header in sys/select.h
19778 do
19779 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19780 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19781 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19782 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19783 echo $ECHO_N "(cached) $ECHO_C" >&6
19784 else
19785 cat >conftest.$ac_ext <<_ACEOF
19786 /* confdefs.h. */
19787 _ACEOF
19788 cat confdefs.h >>conftest.$ac_ext
19789 cat >>conftest.$ac_ext <<_ACEOF
19790 /* end confdefs.h. */
19791 $ac_includes_default
19792
19793 #include <$ac_header>
19794 _ACEOF
19795 rm -f conftest.$ac_objext
19796 if { (ac_try="$ac_compile"
19797 case "(($ac_try" in
19798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19799 *) ac_try_echo=$ac_try;;
19800 esac
19801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19802 (eval "$ac_compile") 2>conftest.er1
19803 ac_status=$?
19804 grep -v '^ *+' conftest.er1 >conftest.err
19805 rm -f conftest.er1
19806 cat conftest.err >&5
19807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19808 (exit $ac_status); } && {
19809 test -z "$ac_c_werror_flag" ||
19810 test ! -s conftest.err
19811 } && test -s conftest.$ac_objext; then
19812 eval "$as_ac_Header=yes"
19813 else
19814 echo "$as_me: failed program was:" >&5
19815 sed 's/^/| /' conftest.$ac_ext >&5
19816
19817 eval "$as_ac_Header=no"
19818 fi
19819
19820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19821 fi
19822 ac_res=`eval echo '${'$as_ac_Header'}'`
19823 { echo "$as_me:$LINENO: result: $ac_res" >&5
19824 echo "${ECHO_T}$ac_res" >&6; }
19825 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19826 cat >>confdefs.h <<_ACEOF
19827 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19828 _ACEOF
19829
19830 fi
19831
19832 done
19833
19834 fi
19835
19836
19837 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19838 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19839 if test "${ac_cv_c_const+set}" = set; then
19840 echo $ECHO_N "(cached) $ECHO_C" >&6
19841 else
19842 cat >conftest.$ac_ext <<_ACEOF
19843 /* confdefs.h. */
19844 _ACEOF
19845 cat confdefs.h >>conftest.$ac_ext
19846 cat >>conftest.$ac_ext <<_ACEOF
19847 /* end confdefs.h. */
19848
19849 int
19850 main ()
19851 {
19852 /* FIXME: Include the comments suggested by Paul. */
19853 #ifndef __cplusplus
19854 /* Ultrix mips cc rejects this. */
19855 typedef int charset[2];
19856 const charset cs;
19857 /* SunOS 4.1.1 cc rejects this. */
19858 char const *const *pcpcc;
19859 char **ppc;
19860 /* NEC SVR4.0.2 mips cc rejects this. */
19861 struct point {int x, y;};
19862 static struct point const zero = {0,0};
19863 /* AIX XL C 1.02.0.0 rejects this.
19864 It does not let you subtract one const X* pointer from another in
19865 an arm of an if-expression whose if-part is not a constant
19866 expression */
19867 const char *g = "string";
19868 pcpcc = &g + (g ? g-g : 0);
19869 /* HPUX 7.0 cc rejects these. */
19870 ++pcpcc;
19871 ppc = (char**) pcpcc;
19872 pcpcc = (char const *const *) ppc;
19873 { /* SCO 3.2v4 cc rejects this. */
19874 char *t;
19875 char const *s = 0 ? (char *) 0 : (char const *) 0;
19876
19877 *t++ = 0;
19878 if (s) return 0;
19879 }
19880 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19881 int x[] = {25, 17};
19882 const int *foo = &x[0];
19883 ++foo;
19884 }
19885 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19886 typedef const int *iptr;
19887 iptr p = 0;
19888 ++p;
19889 }
19890 { /* AIX XL C 1.02.0.0 rejects this saying
19891 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19892 struct s { int j; const int *ap[3]; };
19893 struct s *b; b->j = 5;
19894 }
19895 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19896 const int foo = 10;
19897 if (!foo) return 0;
19898 }
19899 return !cs[0] && !zero.x;
19900 #endif
19901
19902 ;
19903 return 0;
19904 }
19905 _ACEOF
19906 rm -f conftest.$ac_objext
19907 if { (ac_try="$ac_compile"
19908 case "(($ac_try" in
19909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19910 *) ac_try_echo=$ac_try;;
19911 esac
19912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19913 (eval "$ac_compile") 2>conftest.er1
19914 ac_status=$?
19915 grep -v '^ *+' conftest.er1 >conftest.err
19916 rm -f conftest.er1
19917 cat conftest.err >&5
19918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19919 (exit $ac_status); } && {
19920 test -z "$ac_c_werror_flag" ||
19921 test ! -s conftest.err
19922 } && test -s conftest.$ac_objext; then
19923 ac_cv_c_const=yes
19924 else
19925 echo "$as_me: failed program was:" >&5
19926 sed 's/^/| /' conftest.$ac_ext >&5
19927
19928 ac_cv_c_const=no
19929 fi
19930
19931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19932 fi
19933 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19934 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19935 if test $ac_cv_c_const = no; then
19936
19937 cat >>confdefs.h <<\_ACEOF
19938 #define const
19939 _ACEOF
19940
19941 fi
19942
19943 { echo "$as_me:$LINENO: checking for inline" >&5
19944 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19945 if test "${ac_cv_c_inline+set}" = set; then
19946 echo $ECHO_N "(cached) $ECHO_C" >&6
19947 else
19948 ac_cv_c_inline=no
19949 for ac_kw in inline __inline__ __inline; do
19950 cat >conftest.$ac_ext <<_ACEOF
19951 /* confdefs.h. */
19952 _ACEOF
19953 cat confdefs.h >>conftest.$ac_ext
19954 cat >>conftest.$ac_ext <<_ACEOF
19955 /* end confdefs.h. */
19956 #ifndef __cplusplus
19957 typedef int foo_t;
19958 static $ac_kw foo_t static_foo () {return 0; }
19959 $ac_kw foo_t foo () {return 0; }
19960 #endif
19961
19962 _ACEOF
19963 rm -f conftest.$ac_objext
19964 if { (ac_try="$ac_compile"
19965 case "(($ac_try" in
19966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19967 *) ac_try_echo=$ac_try;;
19968 esac
19969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19970 (eval "$ac_compile") 2>conftest.er1
19971 ac_status=$?
19972 grep -v '^ *+' conftest.er1 >conftest.err
19973 rm -f conftest.er1
19974 cat conftest.err >&5
19975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19976 (exit $ac_status); } && {
19977 test -z "$ac_c_werror_flag" ||
19978 test ! -s conftest.err
19979 } && test -s conftest.$ac_objext; then
19980 ac_cv_c_inline=$ac_kw
19981 else
19982 echo "$as_me: failed program was:" >&5
19983 sed 's/^/| /' conftest.$ac_ext >&5
19984
19985
19986 fi
19987
19988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19989 test "$ac_cv_c_inline" != no && break
19990 done
19991
19992 fi
19993 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19994 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19995
19996
19997 case $ac_cv_c_inline in
19998 inline | yes) ;;
19999 *)
20000 case $ac_cv_c_inline in
20001 no) ac_val=;;
20002 *) ac_val=$ac_cv_c_inline;;
20003 esac
20004 cat >>confdefs.h <<_ACEOF
20005 #ifndef __cplusplus
20006 #define inline $ac_val
20007 #endif
20008 _ACEOF
20009 ;;
20010 esac
20011
20012
20013 { echo "$as_me:$LINENO: checking for short" >&5
20014 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
20015 if test "${ac_cv_type_short+set}" = set; then
20016 echo $ECHO_N "(cached) $ECHO_C" >&6
20017 else
20018 cat >conftest.$ac_ext <<_ACEOF
20019 /* confdefs.h. */
20020 _ACEOF
20021 cat confdefs.h >>conftest.$ac_ext
20022 cat >>conftest.$ac_ext <<_ACEOF
20023 /* end confdefs.h. */
20024 $ac_includes_default
20025 typedef short ac__type_new_;
20026 int
20027 main ()
20028 {
20029 if ((ac__type_new_ *) 0)
20030 return 0;
20031 if (sizeof (ac__type_new_))
20032 return 0;
20033 ;
20034 return 0;
20035 }
20036 _ACEOF
20037 rm -f conftest.$ac_objext
20038 if { (ac_try="$ac_compile"
20039 case "(($ac_try" in
20040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20041 *) ac_try_echo=$ac_try;;
20042 esac
20043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20044 (eval "$ac_compile") 2>conftest.er1
20045 ac_status=$?
20046 grep -v '^ *+' conftest.er1 >conftest.err
20047 rm -f conftest.er1
20048 cat conftest.err >&5
20049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20050 (exit $ac_status); } && {
20051 test -z "$ac_c_werror_flag" ||
20052 test ! -s conftest.err
20053 } && test -s conftest.$ac_objext; then
20054 ac_cv_type_short=yes
20055 else
20056 echo "$as_me: failed program was:" >&5
20057 sed 's/^/| /' conftest.$ac_ext >&5
20058
20059 ac_cv_type_short=no
20060 fi
20061
20062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20063 fi
20064 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20065 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20066
20067 # The cast to long int works around a bug in the HP C Compiler
20068 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20069 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20070 # This bug is HP SR number 8606223364.
20071 { echo "$as_me:$LINENO: checking size of short" >&5
20072 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
20073 if test "${ac_cv_sizeof_short+set}" = set; then
20074 echo $ECHO_N "(cached) $ECHO_C" >&6
20075 else
20076 if test "$cross_compiling" = yes; then
20077 # Depending upon the size, compute the lo and hi bounds.
20078 cat >conftest.$ac_ext <<_ACEOF
20079 /* confdefs.h. */
20080 _ACEOF
20081 cat confdefs.h >>conftest.$ac_ext
20082 cat >>conftest.$ac_ext <<_ACEOF
20083 /* end confdefs.h. */
20084 $ac_includes_default
20085 typedef short ac__type_sizeof_;
20086 int
20087 main ()
20088 {
20089 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20090 test_array [0] = 0
20091
20092 ;
20093 return 0;
20094 }
20095 _ACEOF
20096 rm -f conftest.$ac_objext
20097 if { (ac_try="$ac_compile"
20098 case "(($ac_try" in
20099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20100 *) ac_try_echo=$ac_try;;
20101 esac
20102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20103 (eval "$ac_compile") 2>conftest.er1
20104 ac_status=$?
20105 grep -v '^ *+' conftest.er1 >conftest.err
20106 rm -f conftest.er1
20107 cat conftest.err >&5
20108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20109 (exit $ac_status); } && {
20110 test -z "$ac_c_werror_flag" ||
20111 test ! -s conftest.err
20112 } && test -s conftest.$ac_objext; then
20113 ac_lo=0 ac_mid=0
20114 while :; do
20115 cat >conftest.$ac_ext <<_ACEOF
20116 /* confdefs.h. */
20117 _ACEOF
20118 cat confdefs.h >>conftest.$ac_ext
20119 cat >>conftest.$ac_ext <<_ACEOF
20120 /* end confdefs.h. */
20121 $ac_includes_default
20122 typedef short ac__type_sizeof_;
20123 int
20124 main ()
20125 {
20126 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20127 test_array [0] = 0
20128
20129 ;
20130 return 0;
20131 }
20132 _ACEOF
20133 rm -f conftest.$ac_objext
20134 if { (ac_try="$ac_compile"
20135 case "(($ac_try" in
20136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20137 *) ac_try_echo=$ac_try;;
20138 esac
20139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20140 (eval "$ac_compile") 2>conftest.er1
20141 ac_status=$?
20142 grep -v '^ *+' conftest.er1 >conftest.err
20143 rm -f conftest.er1
20144 cat conftest.err >&5
20145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20146 (exit $ac_status); } && {
20147 test -z "$ac_c_werror_flag" ||
20148 test ! -s conftest.err
20149 } && test -s conftest.$ac_objext; then
20150 ac_hi=$ac_mid; break
20151 else
20152 echo "$as_me: failed program was:" >&5
20153 sed 's/^/| /' conftest.$ac_ext >&5
20154
20155 ac_lo=`expr $ac_mid + 1`
20156 if test $ac_lo -le $ac_mid; then
20157 ac_lo= ac_hi=
20158 break
20159 fi
20160 ac_mid=`expr 2 '*' $ac_mid + 1`
20161 fi
20162
20163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20164 done
20165 else
20166 echo "$as_me: failed program was:" >&5
20167 sed 's/^/| /' conftest.$ac_ext >&5
20168
20169 cat >conftest.$ac_ext <<_ACEOF
20170 /* confdefs.h. */
20171 _ACEOF
20172 cat confdefs.h >>conftest.$ac_ext
20173 cat >>conftest.$ac_ext <<_ACEOF
20174 /* end confdefs.h. */
20175 $ac_includes_default
20176 typedef short ac__type_sizeof_;
20177 int
20178 main ()
20179 {
20180 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20181 test_array [0] = 0
20182
20183 ;
20184 return 0;
20185 }
20186 _ACEOF
20187 rm -f conftest.$ac_objext
20188 if { (ac_try="$ac_compile"
20189 case "(($ac_try" in
20190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20191 *) ac_try_echo=$ac_try;;
20192 esac
20193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20194 (eval "$ac_compile") 2>conftest.er1
20195 ac_status=$?
20196 grep -v '^ *+' conftest.er1 >conftest.err
20197 rm -f conftest.er1
20198 cat conftest.err >&5
20199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20200 (exit $ac_status); } && {
20201 test -z "$ac_c_werror_flag" ||
20202 test ! -s conftest.err
20203 } && test -s conftest.$ac_objext; then
20204 ac_hi=-1 ac_mid=-1
20205 while :; do
20206 cat >conftest.$ac_ext <<_ACEOF
20207 /* confdefs.h. */
20208 _ACEOF
20209 cat confdefs.h >>conftest.$ac_ext
20210 cat >>conftest.$ac_ext <<_ACEOF
20211 /* end confdefs.h. */
20212 $ac_includes_default
20213 typedef short ac__type_sizeof_;
20214 int
20215 main ()
20216 {
20217 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20218 test_array [0] = 0
20219
20220 ;
20221 return 0;
20222 }
20223 _ACEOF
20224 rm -f conftest.$ac_objext
20225 if { (ac_try="$ac_compile"
20226 case "(($ac_try" in
20227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20228 *) ac_try_echo=$ac_try;;
20229 esac
20230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20231 (eval "$ac_compile") 2>conftest.er1
20232 ac_status=$?
20233 grep -v '^ *+' conftest.er1 >conftest.err
20234 rm -f conftest.er1
20235 cat conftest.err >&5
20236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20237 (exit $ac_status); } && {
20238 test -z "$ac_c_werror_flag" ||
20239 test ! -s conftest.err
20240 } && test -s conftest.$ac_objext; then
20241 ac_lo=$ac_mid; break
20242 else
20243 echo "$as_me: failed program was:" >&5
20244 sed 's/^/| /' conftest.$ac_ext >&5
20245
20246 ac_hi=`expr '(' $ac_mid ')' - 1`
20247 if test $ac_mid -le $ac_hi; then
20248 ac_lo= ac_hi=
20249 break
20250 fi
20251 ac_mid=`expr 2 '*' $ac_mid`
20252 fi
20253
20254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20255 done
20256 else
20257 echo "$as_me: failed program was:" >&5
20258 sed 's/^/| /' conftest.$ac_ext >&5
20259
20260 ac_lo= ac_hi=
20261 fi
20262
20263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20264 fi
20265
20266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20267 # Binary search between lo and hi bounds.
20268 while test "x$ac_lo" != "x$ac_hi"; do
20269 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20270 cat >conftest.$ac_ext <<_ACEOF
20271 /* confdefs.h. */
20272 _ACEOF
20273 cat confdefs.h >>conftest.$ac_ext
20274 cat >>conftest.$ac_ext <<_ACEOF
20275 /* end confdefs.h. */
20276 $ac_includes_default
20277 typedef short ac__type_sizeof_;
20278 int
20279 main ()
20280 {
20281 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20282 test_array [0] = 0
20283
20284 ;
20285 return 0;
20286 }
20287 _ACEOF
20288 rm -f conftest.$ac_objext
20289 if { (ac_try="$ac_compile"
20290 case "(($ac_try" in
20291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20292 *) ac_try_echo=$ac_try;;
20293 esac
20294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20295 (eval "$ac_compile") 2>conftest.er1
20296 ac_status=$?
20297 grep -v '^ *+' conftest.er1 >conftest.err
20298 rm -f conftest.er1
20299 cat conftest.err >&5
20300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20301 (exit $ac_status); } && {
20302 test -z "$ac_c_werror_flag" ||
20303 test ! -s conftest.err
20304 } && test -s conftest.$ac_objext; then
20305 ac_hi=$ac_mid
20306 else
20307 echo "$as_me: failed program was:" >&5
20308 sed 's/^/| /' conftest.$ac_ext >&5
20309
20310 ac_lo=`expr '(' $ac_mid ')' + 1`
20311 fi
20312
20313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20314 done
20315 case $ac_lo in
20316 ?*) ac_cv_sizeof_short=$ac_lo;;
20317 '') if test "$ac_cv_type_short" = yes; then
20318 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20319 See \`config.log' for more details." >&5
20320 echo "$as_me: error: cannot compute sizeof (short)
20321 See \`config.log' for more details." >&2;}
20322 { (exit 77); exit 77; }; }
20323 else
20324 ac_cv_sizeof_short=0
20325 fi ;;
20326 esac
20327 else
20328 cat >conftest.$ac_ext <<_ACEOF
20329 /* confdefs.h. */
20330 _ACEOF
20331 cat confdefs.h >>conftest.$ac_ext
20332 cat >>conftest.$ac_ext <<_ACEOF
20333 /* end confdefs.h. */
20334 $ac_includes_default
20335 typedef short ac__type_sizeof_;
20336 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20337 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20338 #include <stdio.h>
20339 #include <stdlib.h>
20340 int
20341 main ()
20342 {
20343
20344 FILE *f = fopen ("conftest.val", "w");
20345 if (! f)
20346 return 1;
20347 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20348 {
20349 long int i = longval ();
20350 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20351 return 1;
20352 fprintf (f, "%ld\n", i);
20353 }
20354 else
20355 {
20356 unsigned long int i = ulongval ();
20357 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20358 return 1;
20359 fprintf (f, "%lu\n", i);
20360 }
20361 return ferror (f) || fclose (f) != 0;
20362
20363 ;
20364 return 0;
20365 }
20366 _ACEOF
20367 rm -f conftest$ac_exeext
20368 if { (ac_try="$ac_link"
20369 case "(($ac_try" in
20370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20371 *) ac_try_echo=$ac_try;;
20372 esac
20373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20374 (eval "$ac_link") 2>&5
20375 ac_status=$?
20376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20377 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20378 { (case "(($ac_try" in
20379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20380 *) ac_try_echo=$ac_try;;
20381 esac
20382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20383 (eval "$ac_try") 2>&5
20384 ac_status=$?
20385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20386 (exit $ac_status); }; }; then
20387 ac_cv_sizeof_short=`cat conftest.val`
20388 else
20389 echo "$as_me: program exited with status $ac_status" >&5
20390 echo "$as_me: failed program was:" >&5
20391 sed 's/^/| /' conftest.$ac_ext >&5
20392
20393 ( exit $ac_status )
20394 if test "$ac_cv_type_short" = yes; then
20395 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20396 See \`config.log' for more details." >&5
20397 echo "$as_me: error: cannot compute sizeof (short)
20398 See \`config.log' for more details." >&2;}
20399 { (exit 77); exit 77; }; }
20400 else
20401 ac_cv_sizeof_short=0
20402 fi
20403 fi
20404 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20405 fi
20406 rm -f conftest.val
20407 fi
20408 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20409 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20410
20411
20412
20413 cat >>confdefs.h <<_ACEOF
20414 #define SIZEOF_SHORT $ac_cv_sizeof_short
20415 _ACEOF
20416
20417
20418 { echo "$as_me:$LINENO: checking for void *" >&5
20419 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20420 if test "${ac_cv_type_void_p+set}" = set; then
20421 echo $ECHO_N "(cached) $ECHO_C" >&6
20422 else
20423 cat >conftest.$ac_ext <<_ACEOF
20424 /* confdefs.h. */
20425 _ACEOF
20426 cat confdefs.h >>conftest.$ac_ext
20427 cat >>conftest.$ac_ext <<_ACEOF
20428 /* end confdefs.h. */
20429 $ac_includes_default
20430 typedef void * ac__type_new_;
20431 int
20432 main ()
20433 {
20434 if ((ac__type_new_ *) 0)
20435 return 0;
20436 if (sizeof (ac__type_new_))
20437 return 0;
20438 ;
20439 return 0;
20440 }
20441 _ACEOF
20442 rm -f conftest.$ac_objext
20443 if { (ac_try="$ac_compile"
20444 case "(($ac_try" in
20445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20446 *) ac_try_echo=$ac_try;;
20447 esac
20448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20449 (eval "$ac_compile") 2>conftest.er1
20450 ac_status=$?
20451 grep -v '^ *+' conftest.er1 >conftest.err
20452 rm -f conftest.er1
20453 cat conftest.err >&5
20454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20455 (exit $ac_status); } && {
20456 test -z "$ac_c_werror_flag" ||
20457 test ! -s conftest.err
20458 } && test -s conftest.$ac_objext; then
20459 ac_cv_type_void_p=yes
20460 else
20461 echo "$as_me: failed program was:" >&5
20462 sed 's/^/| /' conftest.$ac_ext >&5
20463
20464 ac_cv_type_void_p=no
20465 fi
20466
20467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20468 fi
20469 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20470 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20471
20472 # The cast to long int works around a bug in the HP C Compiler
20473 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20474 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20475 # This bug is HP SR number 8606223364.
20476 { echo "$as_me:$LINENO: checking size of void *" >&5
20477 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20478 if test "${ac_cv_sizeof_void_p+set}" = set; then
20479 echo $ECHO_N "(cached) $ECHO_C" >&6
20480 else
20481 if test "$cross_compiling" = yes; then
20482 # Depending upon the size, compute the lo and hi bounds.
20483 cat >conftest.$ac_ext <<_ACEOF
20484 /* confdefs.h. */
20485 _ACEOF
20486 cat confdefs.h >>conftest.$ac_ext
20487 cat >>conftest.$ac_ext <<_ACEOF
20488 /* end confdefs.h. */
20489 $ac_includes_default
20490 typedef void * ac__type_sizeof_;
20491 int
20492 main ()
20493 {
20494 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20495 test_array [0] = 0
20496
20497 ;
20498 return 0;
20499 }
20500 _ACEOF
20501 rm -f conftest.$ac_objext
20502 if { (ac_try="$ac_compile"
20503 case "(($ac_try" in
20504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20505 *) ac_try_echo=$ac_try;;
20506 esac
20507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20508 (eval "$ac_compile") 2>conftest.er1
20509 ac_status=$?
20510 grep -v '^ *+' conftest.er1 >conftest.err
20511 rm -f conftest.er1
20512 cat conftest.err >&5
20513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20514 (exit $ac_status); } && {
20515 test -z "$ac_c_werror_flag" ||
20516 test ! -s conftest.err
20517 } && test -s conftest.$ac_objext; then
20518 ac_lo=0 ac_mid=0
20519 while :; do
20520 cat >conftest.$ac_ext <<_ACEOF
20521 /* confdefs.h. */
20522 _ACEOF
20523 cat confdefs.h >>conftest.$ac_ext
20524 cat >>conftest.$ac_ext <<_ACEOF
20525 /* end confdefs.h. */
20526 $ac_includes_default
20527 typedef void * ac__type_sizeof_;
20528 int
20529 main ()
20530 {
20531 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20532 test_array [0] = 0
20533
20534 ;
20535 return 0;
20536 }
20537 _ACEOF
20538 rm -f conftest.$ac_objext
20539 if { (ac_try="$ac_compile"
20540 case "(($ac_try" in
20541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20542 *) ac_try_echo=$ac_try;;
20543 esac
20544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20545 (eval "$ac_compile") 2>conftest.er1
20546 ac_status=$?
20547 grep -v '^ *+' conftest.er1 >conftest.err
20548 rm -f conftest.er1
20549 cat conftest.err >&5
20550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20551 (exit $ac_status); } && {
20552 test -z "$ac_c_werror_flag" ||
20553 test ! -s conftest.err
20554 } && test -s conftest.$ac_objext; then
20555 ac_hi=$ac_mid; break
20556 else
20557 echo "$as_me: failed program was:" >&5
20558 sed 's/^/| /' conftest.$ac_ext >&5
20559
20560 ac_lo=`expr $ac_mid + 1`
20561 if test $ac_lo -le $ac_mid; then
20562 ac_lo= ac_hi=
20563 break
20564 fi
20565 ac_mid=`expr 2 '*' $ac_mid + 1`
20566 fi
20567
20568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20569 done
20570 else
20571 echo "$as_me: failed program was:" >&5
20572 sed 's/^/| /' conftest.$ac_ext >&5
20573
20574 cat >conftest.$ac_ext <<_ACEOF
20575 /* confdefs.h. */
20576 _ACEOF
20577 cat confdefs.h >>conftest.$ac_ext
20578 cat >>conftest.$ac_ext <<_ACEOF
20579 /* end confdefs.h. */
20580 $ac_includes_default
20581 typedef void * ac__type_sizeof_;
20582 int
20583 main ()
20584 {
20585 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20586 test_array [0] = 0
20587
20588 ;
20589 return 0;
20590 }
20591 _ACEOF
20592 rm -f conftest.$ac_objext
20593 if { (ac_try="$ac_compile"
20594 case "(($ac_try" in
20595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20596 *) ac_try_echo=$ac_try;;
20597 esac
20598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20599 (eval "$ac_compile") 2>conftest.er1
20600 ac_status=$?
20601 grep -v '^ *+' conftest.er1 >conftest.err
20602 rm -f conftest.er1
20603 cat conftest.err >&5
20604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20605 (exit $ac_status); } && {
20606 test -z "$ac_c_werror_flag" ||
20607 test ! -s conftest.err
20608 } && test -s conftest.$ac_objext; then
20609 ac_hi=-1 ac_mid=-1
20610 while :; do
20611 cat >conftest.$ac_ext <<_ACEOF
20612 /* confdefs.h. */
20613 _ACEOF
20614 cat confdefs.h >>conftest.$ac_ext
20615 cat >>conftest.$ac_ext <<_ACEOF
20616 /* end confdefs.h. */
20617 $ac_includes_default
20618 typedef void * ac__type_sizeof_;
20619 int
20620 main ()
20621 {
20622 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20623 test_array [0] = 0
20624
20625 ;
20626 return 0;
20627 }
20628 _ACEOF
20629 rm -f conftest.$ac_objext
20630 if { (ac_try="$ac_compile"
20631 case "(($ac_try" in
20632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20633 *) ac_try_echo=$ac_try;;
20634 esac
20635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20636 (eval "$ac_compile") 2>conftest.er1
20637 ac_status=$?
20638 grep -v '^ *+' conftest.er1 >conftest.err
20639 rm -f conftest.er1
20640 cat conftest.err >&5
20641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20642 (exit $ac_status); } && {
20643 test -z "$ac_c_werror_flag" ||
20644 test ! -s conftest.err
20645 } && test -s conftest.$ac_objext; then
20646 ac_lo=$ac_mid; break
20647 else
20648 echo "$as_me: failed program was:" >&5
20649 sed 's/^/| /' conftest.$ac_ext >&5
20650
20651 ac_hi=`expr '(' $ac_mid ')' - 1`
20652 if test $ac_mid -le $ac_hi; then
20653 ac_lo= ac_hi=
20654 break
20655 fi
20656 ac_mid=`expr 2 '*' $ac_mid`
20657 fi
20658
20659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20660 done
20661 else
20662 echo "$as_me: failed program was:" >&5
20663 sed 's/^/| /' conftest.$ac_ext >&5
20664
20665 ac_lo= ac_hi=
20666 fi
20667
20668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20669 fi
20670
20671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20672 # Binary search between lo and hi bounds.
20673 while test "x$ac_lo" != "x$ac_hi"; do
20674 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20675 cat >conftest.$ac_ext <<_ACEOF
20676 /* confdefs.h. */
20677 _ACEOF
20678 cat confdefs.h >>conftest.$ac_ext
20679 cat >>conftest.$ac_ext <<_ACEOF
20680 /* end confdefs.h. */
20681 $ac_includes_default
20682 typedef void * ac__type_sizeof_;
20683 int
20684 main ()
20685 {
20686 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20687 test_array [0] = 0
20688
20689 ;
20690 return 0;
20691 }
20692 _ACEOF
20693 rm -f conftest.$ac_objext
20694 if { (ac_try="$ac_compile"
20695 case "(($ac_try" in
20696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20697 *) ac_try_echo=$ac_try;;
20698 esac
20699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20700 (eval "$ac_compile") 2>conftest.er1
20701 ac_status=$?
20702 grep -v '^ *+' conftest.er1 >conftest.err
20703 rm -f conftest.er1
20704 cat conftest.err >&5
20705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20706 (exit $ac_status); } && {
20707 test -z "$ac_c_werror_flag" ||
20708 test ! -s conftest.err
20709 } && test -s conftest.$ac_objext; then
20710 ac_hi=$ac_mid
20711 else
20712 echo "$as_me: failed program was:" >&5
20713 sed 's/^/| /' conftest.$ac_ext >&5
20714
20715 ac_lo=`expr '(' $ac_mid ')' + 1`
20716 fi
20717
20718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20719 done
20720 case $ac_lo in
20721 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20722 '') if test "$ac_cv_type_void_p" = yes; then
20723 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20724 See \`config.log' for more details." >&5
20725 echo "$as_me: error: cannot compute sizeof (void *)
20726 See \`config.log' for more details." >&2;}
20727 { (exit 77); exit 77; }; }
20728 else
20729 ac_cv_sizeof_void_p=0
20730 fi ;;
20731 esac
20732 else
20733 cat >conftest.$ac_ext <<_ACEOF
20734 /* confdefs.h. */
20735 _ACEOF
20736 cat confdefs.h >>conftest.$ac_ext
20737 cat >>conftest.$ac_ext <<_ACEOF
20738 /* end confdefs.h. */
20739 $ac_includes_default
20740 typedef void * ac__type_sizeof_;
20741 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20742 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20743 #include <stdio.h>
20744 #include <stdlib.h>
20745 int
20746 main ()
20747 {
20748
20749 FILE *f = fopen ("conftest.val", "w");
20750 if (! f)
20751 return 1;
20752 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20753 {
20754 long int i = longval ();
20755 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20756 return 1;
20757 fprintf (f, "%ld\n", i);
20758 }
20759 else
20760 {
20761 unsigned long int i = ulongval ();
20762 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20763 return 1;
20764 fprintf (f, "%lu\n", i);
20765 }
20766 return ferror (f) || fclose (f) != 0;
20767
20768 ;
20769 return 0;
20770 }
20771 _ACEOF
20772 rm -f conftest$ac_exeext
20773 if { (ac_try="$ac_link"
20774 case "(($ac_try" in
20775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20776 *) ac_try_echo=$ac_try;;
20777 esac
20778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20779 (eval "$ac_link") 2>&5
20780 ac_status=$?
20781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20782 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20783 { (case "(($ac_try" in
20784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20785 *) ac_try_echo=$ac_try;;
20786 esac
20787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20788 (eval "$ac_try") 2>&5
20789 ac_status=$?
20790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20791 (exit $ac_status); }; }; then
20792 ac_cv_sizeof_void_p=`cat conftest.val`
20793 else
20794 echo "$as_me: program exited with status $ac_status" >&5
20795 echo "$as_me: failed program was:" >&5
20796 sed 's/^/| /' conftest.$ac_ext >&5
20797
20798 ( exit $ac_status )
20799 if test "$ac_cv_type_void_p" = yes; then
20800 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20801 See \`config.log' for more details." >&5
20802 echo "$as_me: error: cannot compute sizeof (void *)
20803 See \`config.log' for more details." >&2;}
20804 { (exit 77); exit 77; }; }
20805 else
20806 ac_cv_sizeof_void_p=0
20807 fi
20808 fi
20809 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20810 fi
20811 rm -f conftest.val
20812 fi
20813 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20814 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20815
20816
20817
20818 cat >>confdefs.h <<_ACEOF
20819 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20820 _ACEOF
20821
20822
20823 { echo "$as_me:$LINENO: checking for int" >&5
20824 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20825 if test "${ac_cv_type_int+set}" = set; then
20826 echo $ECHO_N "(cached) $ECHO_C" >&6
20827 else
20828 cat >conftest.$ac_ext <<_ACEOF
20829 /* confdefs.h. */
20830 _ACEOF
20831 cat confdefs.h >>conftest.$ac_ext
20832 cat >>conftest.$ac_ext <<_ACEOF
20833 /* end confdefs.h. */
20834 $ac_includes_default
20835 typedef int ac__type_new_;
20836 int
20837 main ()
20838 {
20839 if ((ac__type_new_ *) 0)
20840 return 0;
20841 if (sizeof (ac__type_new_))
20842 return 0;
20843 ;
20844 return 0;
20845 }
20846 _ACEOF
20847 rm -f conftest.$ac_objext
20848 if { (ac_try="$ac_compile"
20849 case "(($ac_try" in
20850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20851 *) ac_try_echo=$ac_try;;
20852 esac
20853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20854 (eval "$ac_compile") 2>conftest.er1
20855 ac_status=$?
20856 grep -v '^ *+' conftest.er1 >conftest.err
20857 rm -f conftest.er1
20858 cat conftest.err >&5
20859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20860 (exit $ac_status); } && {
20861 test -z "$ac_c_werror_flag" ||
20862 test ! -s conftest.err
20863 } && test -s conftest.$ac_objext; then
20864 ac_cv_type_int=yes
20865 else
20866 echo "$as_me: failed program was:" >&5
20867 sed 's/^/| /' conftest.$ac_ext >&5
20868
20869 ac_cv_type_int=no
20870 fi
20871
20872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20873 fi
20874 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20875 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20876
20877 # The cast to long int works around a bug in the HP C Compiler
20878 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20879 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20880 # This bug is HP SR number 8606223364.
20881 { echo "$as_me:$LINENO: checking size of int" >&5
20882 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20883 if test "${ac_cv_sizeof_int+set}" = set; then
20884 echo $ECHO_N "(cached) $ECHO_C" >&6
20885 else
20886 if test "$cross_compiling" = yes; then
20887 # Depending upon the size, compute the lo and hi bounds.
20888 cat >conftest.$ac_ext <<_ACEOF
20889 /* confdefs.h. */
20890 _ACEOF
20891 cat confdefs.h >>conftest.$ac_ext
20892 cat >>conftest.$ac_ext <<_ACEOF
20893 /* end confdefs.h. */
20894 $ac_includes_default
20895 typedef int ac__type_sizeof_;
20896 int
20897 main ()
20898 {
20899 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20900 test_array [0] = 0
20901
20902 ;
20903 return 0;
20904 }
20905 _ACEOF
20906 rm -f conftest.$ac_objext
20907 if { (ac_try="$ac_compile"
20908 case "(($ac_try" in
20909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20910 *) ac_try_echo=$ac_try;;
20911 esac
20912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20913 (eval "$ac_compile") 2>conftest.er1
20914 ac_status=$?
20915 grep -v '^ *+' conftest.er1 >conftest.err
20916 rm -f conftest.er1
20917 cat conftest.err >&5
20918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20919 (exit $ac_status); } && {
20920 test -z "$ac_c_werror_flag" ||
20921 test ! -s conftest.err
20922 } && test -s conftest.$ac_objext; then
20923 ac_lo=0 ac_mid=0
20924 while :; do
20925 cat >conftest.$ac_ext <<_ACEOF
20926 /* confdefs.h. */
20927 _ACEOF
20928 cat confdefs.h >>conftest.$ac_ext
20929 cat >>conftest.$ac_ext <<_ACEOF
20930 /* end confdefs.h. */
20931 $ac_includes_default
20932 typedef int ac__type_sizeof_;
20933 int
20934 main ()
20935 {
20936 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20937 test_array [0] = 0
20938
20939 ;
20940 return 0;
20941 }
20942 _ACEOF
20943 rm -f conftest.$ac_objext
20944 if { (ac_try="$ac_compile"
20945 case "(($ac_try" in
20946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20947 *) ac_try_echo=$ac_try;;
20948 esac
20949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20950 (eval "$ac_compile") 2>conftest.er1
20951 ac_status=$?
20952 grep -v '^ *+' conftest.er1 >conftest.err
20953 rm -f conftest.er1
20954 cat conftest.err >&5
20955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20956 (exit $ac_status); } && {
20957 test -z "$ac_c_werror_flag" ||
20958 test ! -s conftest.err
20959 } && test -s conftest.$ac_objext; then
20960 ac_hi=$ac_mid; break
20961 else
20962 echo "$as_me: failed program was:" >&5
20963 sed 's/^/| /' conftest.$ac_ext >&5
20964
20965 ac_lo=`expr $ac_mid + 1`
20966 if test $ac_lo -le $ac_mid; then
20967 ac_lo= ac_hi=
20968 break
20969 fi
20970 ac_mid=`expr 2 '*' $ac_mid + 1`
20971 fi
20972
20973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20974 done
20975 else
20976 echo "$as_me: failed program was:" >&5
20977 sed 's/^/| /' conftest.$ac_ext >&5
20978
20979 cat >conftest.$ac_ext <<_ACEOF
20980 /* confdefs.h. */
20981 _ACEOF
20982 cat confdefs.h >>conftest.$ac_ext
20983 cat >>conftest.$ac_ext <<_ACEOF
20984 /* end confdefs.h. */
20985 $ac_includes_default
20986 typedef int ac__type_sizeof_;
20987 int
20988 main ()
20989 {
20990 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20991 test_array [0] = 0
20992
20993 ;
20994 return 0;
20995 }
20996 _ACEOF
20997 rm -f conftest.$ac_objext
20998 if { (ac_try="$ac_compile"
20999 case "(($ac_try" in
21000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21001 *) ac_try_echo=$ac_try;;
21002 esac
21003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21004 (eval "$ac_compile") 2>conftest.er1
21005 ac_status=$?
21006 grep -v '^ *+' conftest.er1 >conftest.err
21007 rm -f conftest.er1
21008 cat conftest.err >&5
21009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21010 (exit $ac_status); } && {
21011 test -z "$ac_c_werror_flag" ||
21012 test ! -s conftest.err
21013 } && test -s conftest.$ac_objext; then
21014 ac_hi=-1 ac_mid=-1
21015 while :; do
21016 cat >conftest.$ac_ext <<_ACEOF
21017 /* confdefs.h. */
21018 _ACEOF
21019 cat confdefs.h >>conftest.$ac_ext
21020 cat >>conftest.$ac_ext <<_ACEOF
21021 /* end confdefs.h. */
21022 $ac_includes_default
21023 typedef int ac__type_sizeof_;
21024 int
21025 main ()
21026 {
21027 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21028 test_array [0] = 0
21029
21030 ;
21031 return 0;
21032 }
21033 _ACEOF
21034 rm -f conftest.$ac_objext
21035 if { (ac_try="$ac_compile"
21036 case "(($ac_try" in
21037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21038 *) ac_try_echo=$ac_try;;
21039 esac
21040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21041 (eval "$ac_compile") 2>conftest.er1
21042 ac_status=$?
21043 grep -v '^ *+' conftest.er1 >conftest.err
21044 rm -f conftest.er1
21045 cat conftest.err >&5
21046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21047 (exit $ac_status); } && {
21048 test -z "$ac_c_werror_flag" ||
21049 test ! -s conftest.err
21050 } && test -s conftest.$ac_objext; then
21051 ac_lo=$ac_mid; break
21052 else
21053 echo "$as_me: failed program was:" >&5
21054 sed 's/^/| /' conftest.$ac_ext >&5
21055
21056 ac_hi=`expr '(' $ac_mid ')' - 1`
21057 if test $ac_mid -le $ac_hi; then
21058 ac_lo= ac_hi=
21059 break
21060 fi
21061 ac_mid=`expr 2 '*' $ac_mid`
21062 fi
21063
21064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21065 done
21066 else
21067 echo "$as_me: failed program was:" >&5
21068 sed 's/^/| /' conftest.$ac_ext >&5
21069
21070 ac_lo= ac_hi=
21071 fi
21072
21073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21074 fi
21075
21076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21077 # Binary search between lo and hi bounds.
21078 while test "x$ac_lo" != "x$ac_hi"; do
21079 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21080 cat >conftest.$ac_ext <<_ACEOF
21081 /* confdefs.h. */
21082 _ACEOF
21083 cat confdefs.h >>conftest.$ac_ext
21084 cat >>conftest.$ac_ext <<_ACEOF
21085 /* end confdefs.h. */
21086 $ac_includes_default
21087 typedef int ac__type_sizeof_;
21088 int
21089 main ()
21090 {
21091 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21092 test_array [0] = 0
21093
21094 ;
21095 return 0;
21096 }
21097 _ACEOF
21098 rm -f conftest.$ac_objext
21099 if { (ac_try="$ac_compile"
21100 case "(($ac_try" in
21101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21102 *) ac_try_echo=$ac_try;;
21103 esac
21104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21105 (eval "$ac_compile") 2>conftest.er1
21106 ac_status=$?
21107 grep -v '^ *+' conftest.er1 >conftest.err
21108 rm -f conftest.er1
21109 cat conftest.err >&5
21110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21111 (exit $ac_status); } && {
21112 test -z "$ac_c_werror_flag" ||
21113 test ! -s conftest.err
21114 } && test -s conftest.$ac_objext; then
21115 ac_hi=$ac_mid
21116 else
21117 echo "$as_me: failed program was:" >&5
21118 sed 's/^/| /' conftest.$ac_ext >&5
21119
21120 ac_lo=`expr '(' $ac_mid ')' + 1`
21121 fi
21122
21123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21124 done
21125 case $ac_lo in
21126 ?*) ac_cv_sizeof_int=$ac_lo;;
21127 '') if test "$ac_cv_type_int" = yes; then
21128 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21129 See \`config.log' for more details." >&5
21130 echo "$as_me: error: cannot compute sizeof (int)
21131 See \`config.log' for more details." >&2;}
21132 { (exit 77); exit 77; }; }
21133 else
21134 ac_cv_sizeof_int=0
21135 fi ;;
21136 esac
21137 else
21138 cat >conftest.$ac_ext <<_ACEOF
21139 /* confdefs.h. */
21140 _ACEOF
21141 cat confdefs.h >>conftest.$ac_ext
21142 cat >>conftest.$ac_ext <<_ACEOF
21143 /* end confdefs.h. */
21144 $ac_includes_default
21145 typedef int ac__type_sizeof_;
21146 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21147 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21148 #include <stdio.h>
21149 #include <stdlib.h>
21150 int
21151 main ()
21152 {
21153
21154 FILE *f = fopen ("conftest.val", "w");
21155 if (! f)
21156 return 1;
21157 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21158 {
21159 long int i = longval ();
21160 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21161 return 1;
21162 fprintf (f, "%ld\n", i);
21163 }
21164 else
21165 {
21166 unsigned long int i = ulongval ();
21167 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21168 return 1;
21169 fprintf (f, "%lu\n", i);
21170 }
21171 return ferror (f) || fclose (f) != 0;
21172
21173 ;
21174 return 0;
21175 }
21176 _ACEOF
21177 rm -f conftest$ac_exeext
21178 if { (ac_try="$ac_link"
21179 case "(($ac_try" in
21180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21181 *) ac_try_echo=$ac_try;;
21182 esac
21183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21184 (eval "$ac_link") 2>&5
21185 ac_status=$?
21186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21187 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21188 { (case "(($ac_try" in
21189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21190 *) ac_try_echo=$ac_try;;
21191 esac
21192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21193 (eval "$ac_try") 2>&5
21194 ac_status=$?
21195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21196 (exit $ac_status); }; }; then
21197 ac_cv_sizeof_int=`cat conftest.val`
21198 else
21199 echo "$as_me: program exited with status $ac_status" >&5
21200 echo "$as_me: failed program was:" >&5
21201 sed 's/^/| /' conftest.$ac_ext >&5
21202
21203 ( exit $ac_status )
21204 if test "$ac_cv_type_int" = yes; then
21205 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21206 See \`config.log' for more details." >&5
21207 echo "$as_me: error: cannot compute sizeof (int)
21208 See \`config.log' for more details." >&2;}
21209 { (exit 77); exit 77; }; }
21210 else
21211 ac_cv_sizeof_int=0
21212 fi
21213 fi
21214 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21215 fi
21216 rm -f conftest.val
21217 fi
21218 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21219 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21220
21221
21222
21223 cat >>confdefs.h <<_ACEOF
21224 #define SIZEOF_INT $ac_cv_sizeof_int
21225 _ACEOF
21226
21227
21228 { echo "$as_me:$LINENO: checking for long" >&5
21229 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21230 if test "${ac_cv_type_long+set}" = set; then
21231 echo $ECHO_N "(cached) $ECHO_C" >&6
21232 else
21233 cat >conftest.$ac_ext <<_ACEOF
21234 /* confdefs.h. */
21235 _ACEOF
21236 cat confdefs.h >>conftest.$ac_ext
21237 cat >>conftest.$ac_ext <<_ACEOF
21238 /* end confdefs.h. */
21239 $ac_includes_default
21240 typedef long ac__type_new_;
21241 int
21242 main ()
21243 {
21244 if ((ac__type_new_ *) 0)
21245 return 0;
21246 if (sizeof (ac__type_new_))
21247 return 0;
21248 ;
21249 return 0;
21250 }
21251 _ACEOF
21252 rm -f conftest.$ac_objext
21253 if { (ac_try="$ac_compile"
21254 case "(($ac_try" in
21255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21256 *) ac_try_echo=$ac_try;;
21257 esac
21258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21259 (eval "$ac_compile") 2>conftest.er1
21260 ac_status=$?
21261 grep -v '^ *+' conftest.er1 >conftest.err
21262 rm -f conftest.er1
21263 cat conftest.err >&5
21264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21265 (exit $ac_status); } && {
21266 test -z "$ac_c_werror_flag" ||
21267 test ! -s conftest.err
21268 } && test -s conftest.$ac_objext; then
21269 ac_cv_type_long=yes
21270 else
21271 echo "$as_me: failed program was:" >&5
21272 sed 's/^/| /' conftest.$ac_ext >&5
21273
21274 ac_cv_type_long=no
21275 fi
21276
21277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21278 fi
21279 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21280 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21281
21282 # The cast to long int works around a bug in the HP C Compiler
21283 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21284 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21285 # This bug is HP SR number 8606223364.
21286 { echo "$as_me:$LINENO: checking size of long" >&5
21287 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21288 if test "${ac_cv_sizeof_long+set}" = set; then
21289 echo $ECHO_N "(cached) $ECHO_C" >&6
21290 else
21291 if test "$cross_compiling" = yes; then
21292 # Depending upon the size, compute the lo and hi bounds.
21293 cat >conftest.$ac_ext <<_ACEOF
21294 /* confdefs.h. */
21295 _ACEOF
21296 cat confdefs.h >>conftest.$ac_ext
21297 cat >>conftest.$ac_ext <<_ACEOF
21298 /* end confdefs.h. */
21299 $ac_includes_default
21300 typedef long ac__type_sizeof_;
21301 int
21302 main ()
21303 {
21304 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21305 test_array [0] = 0
21306
21307 ;
21308 return 0;
21309 }
21310 _ACEOF
21311 rm -f conftest.$ac_objext
21312 if { (ac_try="$ac_compile"
21313 case "(($ac_try" in
21314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21315 *) ac_try_echo=$ac_try;;
21316 esac
21317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21318 (eval "$ac_compile") 2>conftest.er1
21319 ac_status=$?
21320 grep -v '^ *+' conftest.er1 >conftest.err
21321 rm -f conftest.er1
21322 cat conftest.err >&5
21323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21324 (exit $ac_status); } && {
21325 test -z "$ac_c_werror_flag" ||
21326 test ! -s conftest.err
21327 } && test -s conftest.$ac_objext; then
21328 ac_lo=0 ac_mid=0
21329 while :; do
21330 cat >conftest.$ac_ext <<_ACEOF
21331 /* confdefs.h. */
21332 _ACEOF
21333 cat confdefs.h >>conftest.$ac_ext
21334 cat >>conftest.$ac_ext <<_ACEOF
21335 /* end confdefs.h. */
21336 $ac_includes_default
21337 typedef long ac__type_sizeof_;
21338 int
21339 main ()
21340 {
21341 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21342 test_array [0] = 0
21343
21344 ;
21345 return 0;
21346 }
21347 _ACEOF
21348 rm -f conftest.$ac_objext
21349 if { (ac_try="$ac_compile"
21350 case "(($ac_try" in
21351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21352 *) ac_try_echo=$ac_try;;
21353 esac
21354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21355 (eval "$ac_compile") 2>conftest.er1
21356 ac_status=$?
21357 grep -v '^ *+' conftest.er1 >conftest.err
21358 rm -f conftest.er1
21359 cat conftest.err >&5
21360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21361 (exit $ac_status); } && {
21362 test -z "$ac_c_werror_flag" ||
21363 test ! -s conftest.err
21364 } && test -s conftest.$ac_objext; then
21365 ac_hi=$ac_mid; break
21366 else
21367 echo "$as_me: failed program was:" >&5
21368 sed 's/^/| /' conftest.$ac_ext >&5
21369
21370 ac_lo=`expr $ac_mid + 1`
21371 if test $ac_lo -le $ac_mid; then
21372 ac_lo= ac_hi=
21373 break
21374 fi
21375 ac_mid=`expr 2 '*' $ac_mid + 1`
21376 fi
21377
21378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21379 done
21380 else
21381 echo "$as_me: failed program was:" >&5
21382 sed 's/^/| /' conftest.$ac_ext >&5
21383
21384 cat >conftest.$ac_ext <<_ACEOF
21385 /* confdefs.h. */
21386 _ACEOF
21387 cat confdefs.h >>conftest.$ac_ext
21388 cat >>conftest.$ac_ext <<_ACEOF
21389 /* end confdefs.h. */
21390 $ac_includes_default
21391 typedef long ac__type_sizeof_;
21392 int
21393 main ()
21394 {
21395 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21396 test_array [0] = 0
21397
21398 ;
21399 return 0;
21400 }
21401 _ACEOF
21402 rm -f conftest.$ac_objext
21403 if { (ac_try="$ac_compile"
21404 case "(($ac_try" in
21405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21406 *) ac_try_echo=$ac_try;;
21407 esac
21408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21409 (eval "$ac_compile") 2>conftest.er1
21410 ac_status=$?
21411 grep -v '^ *+' conftest.er1 >conftest.err
21412 rm -f conftest.er1
21413 cat conftest.err >&5
21414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21415 (exit $ac_status); } && {
21416 test -z "$ac_c_werror_flag" ||
21417 test ! -s conftest.err
21418 } && test -s conftest.$ac_objext; then
21419 ac_hi=-1 ac_mid=-1
21420 while :; do
21421 cat >conftest.$ac_ext <<_ACEOF
21422 /* confdefs.h. */
21423 _ACEOF
21424 cat confdefs.h >>conftest.$ac_ext
21425 cat >>conftest.$ac_ext <<_ACEOF
21426 /* end confdefs.h. */
21427 $ac_includes_default
21428 typedef long ac__type_sizeof_;
21429 int
21430 main ()
21431 {
21432 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21433 test_array [0] = 0
21434
21435 ;
21436 return 0;
21437 }
21438 _ACEOF
21439 rm -f conftest.$ac_objext
21440 if { (ac_try="$ac_compile"
21441 case "(($ac_try" in
21442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21443 *) ac_try_echo=$ac_try;;
21444 esac
21445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21446 (eval "$ac_compile") 2>conftest.er1
21447 ac_status=$?
21448 grep -v '^ *+' conftest.er1 >conftest.err
21449 rm -f conftest.er1
21450 cat conftest.err >&5
21451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21452 (exit $ac_status); } && {
21453 test -z "$ac_c_werror_flag" ||
21454 test ! -s conftest.err
21455 } && test -s conftest.$ac_objext; then
21456 ac_lo=$ac_mid; break
21457 else
21458 echo "$as_me: failed program was:" >&5
21459 sed 's/^/| /' conftest.$ac_ext >&5
21460
21461 ac_hi=`expr '(' $ac_mid ')' - 1`
21462 if test $ac_mid -le $ac_hi; then
21463 ac_lo= ac_hi=
21464 break
21465 fi
21466 ac_mid=`expr 2 '*' $ac_mid`
21467 fi
21468
21469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21470 done
21471 else
21472 echo "$as_me: failed program was:" >&5
21473 sed 's/^/| /' conftest.$ac_ext >&5
21474
21475 ac_lo= ac_hi=
21476 fi
21477
21478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21479 fi
21480
21481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21482 # Binary search between lo and hi bounds.
21483 while test "x$ac_lo" != "x$ac_hi"; do
21484 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21485 cat >conftest.$ac_ext <<_ACEOF
21486 /* confdefs.h. */
21487 _ACEOF
21488 cat confdefs.h >>conftest.$ac_ext
21489 cat >>conftest.$ac_ext <<_ACEOF
21490 /* end confdefs.h. */
21491 $ac_includes_default
21492 typedef long ac__type_sizeof_;
21493 int
21494 main ()
21495 {
21496 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21497 test_array [0] = 0
21498
21499 ;
21500 return 0;
21501 }
21502 _ACEOF
21503 rm -f conftest.$ac_objext
21504 if { (ac_try="$ac_compile"
21505 case "(($ac_try" in
21506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21507 *) ac_try_echo=$ac_try;;
21508 esac
21509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21510 (eval "$ac_compile") 2>conftest.er1
21511 ac_status=$?
21512 grep -v '^ *+' conftest.er1 >conftest.err
21513 rm -f conftest.er1
21514 cat conftest.err >&5
21515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21516 (exit $ac_status); } && {
21517 test -z "$ac_c_werror_flag" ||
21518 test ! -s conftest.err
21519 } && test -s conftest.$ac_objext; then
21520 ac_hi=$ac_mid
21521 else
21522 echo "$as_me: failed program was:" >&5
21523 sed 's/^/| /' conftest.$ac_ext >&5
21524
21525 ac_lo=`expr '(' $ac_mid ')' + 1`
21526 fi
21527
21528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21529 done
21530 case $ac_lo in
21531 ?*) ac_cv_sizeof_long=$ac_lo;;
21532 '') if test "$ac_cv_type_long" = yes; then
21533 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21534 See \`config.log' for more details." >&5
21535 echo "$as_me: error: cannot compute sizeof (long)
21536 See \`config.log' for more details." >&2;}
21537 { (exit 77); exit 77; }; }
21538 else
21539 ac_cv_sizeof_long=0
21540 fi ;;
21541 esac
21542 else
21543 cat >conftest.$ac_ext <<_ACEOF
21544 /* confdefs.h. */
21545 _ACEOF
21546 cat confdefs.h >>conftest.$ac_ext
21547 cat >>conftest.$ac_ext <<_ACEOF
21548 /* end confdefs.h. */
21549 $ac_includes_default
21550 typedef long ac__type_sizeof_;
21551 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21552 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21553 #include <stdio.h>
21554 #include <stdlib.h>
21555 int
21556 main ()
21557 {
21558
21559 FILE *f = fopen ("conftest.val", "w");
21560 if (! f)
21561 return 1;
21562 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21563 {
21564 long int i = longval ();
21565 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21566 return 1;
21567 fprintf (f, "%ld\n", i);
21568 }
21569 else
21570 {
21571 unsigned long int i = ulongval ();
21572 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21573 return 1;
21574 fprintf (f, "%lu\n", i);
21575 }
21576 return ferror (f) || fclose (f) != 0;
21577
21578 ;
21579 return 0;
21580 }
21581 _ACEOF
21582 rm -f conftest$ac_exeext
21583 if { (ac_try="$ac_link"
21584 case "(($ac_try" in
21585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21586 *) ac_try_echo=$ac_try;;
21587 esac
21588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21589 (eval "$ac_link") 2>&5
21590 ac_status=$?
21591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21592 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21593 { (case "(($ac_try" in
21594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21595 *) ac_try_echo=$ac_try;;
21596 esac
21597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21598 (eval "$ac_try") 2>&5
21599 ac_status=$?
21600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21601 (exit $ac_status); }; }; then
21602 ac_cv_sizeof_long=`cat conftest.val`
21603 else
21604 echo "$as_me: program exited with status $ac_status" >&5
21605 echo "$as_me: failed program was:" >&5
21606 sed 's/^/| /' conftest.$ac_ext >&5
21607
21608 ( exit $ac_status )
21609 if test "$ac_cv_type_long" = yes; then
21610 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21611 See \`config.log' for more details." >&5
21612 echo "$as_me: error: cannot compute sizeof (long)
21613 See \`config.log' for more details." >&2;}
21614 { (exit 77); exit 77; }; }
21615 else
21616 ac_cv_sizeof_long=0
21617 fi
21618 fi
21619 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21620 fi
21621 rm -f conftest.val
21622 fi
21623 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21624 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21625
21626
21627
21628 cat >>confdefs.h <<_ACEOF
21629 #define SIZEOF_LONG $ac_cv_sizeof_long
21630 _ACEOF
21631
21632
21633 { echo "$as_me:$LINENO: checking for size_t" >&5
21634 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21635 if test "${ac_cv_type_size_t+set}" = set; then
21636 echo $ECHO_N "(cached) $ECHO_C" >&6
21637 else
21638 cat >conftest.$ac_ext <<_ACEOF
21639 /* confdefs.h. */
21640 _ACEOF
21641 cat confdefs.h >>conftest.$ac_ext
21642 cat >>conftest.$ac_ext <<_ACEOF
21643 /* end confdefs.h. */
21644 $ac_includes_default
21645 typedef size_t ac__type_new_;
21646 int
21647 main ()
21648 {
21649 if ((ac__type_new_ *) 0)
21650 return 0;
21651 if (sizeof (ac__type_new_))
21652 return 0;
21653 ;
21654 return 0;
21655 }
21656 _ACEOF
21657 rm -f conftest.$ac_objext
21658 if { (ac_try="$ac_compile"
21659 case "(($ac_try" in
21660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21661 *) ac_try_echo=$ac_try;;
21662 esac
21663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21664 (eval "$ac_compile") 2>conftest.er1
21665 ac_status=$?
21666 grep -v '^ *+' conftest.er1 >conftest.err
21667 rm -f conftest.er1
21668 cat conftest.err >&5
21669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21670 (exit $ac_status); } && {
21671 test -z "$ac_c_werror_flag" ||
21672 test ! -s conftest.err
21673 } && test -s conftest.$ac_objext; then
21674 ac_cv_type_size_t=yes
21675 else
21676 echo "$as_me: failed program was:" >&5
21677 sed 's/^/| /' conftest.$ac_ext >&5
21678
21679 ac_cv_type_size_t=no
21680 fi
21681
21682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21683 fi
21684 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21685 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21686
21687 # The cast to long int works around a bug in the HP C Compiler
21688 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21689 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21690 # This bug is HP SR number 8606223364.
21691 { echo "$as_me:$LINENO: checking size of size_t" >&5
21692 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21693 if test "${ac_cv_sizeof_size_t+set}" = set; then
21694 echo $ECHO_N "(cached) $ECHO_C" >&6
21695 else
21696 if test "$cross_compiling" = yes; then
21697 # Depending upon the size, compute the lo and hi bounds.
21698 cat >conftest.$ac_ext <<_ACEOF
21699 /* confdefs.h. */
21700 _ACEOF
21701 cat confdefs.h >>conftest.$ac_ext
21702 cat >>conftest.$ac_ext <<_ACEOF
21703 /* end confdefs.h. */
21704 $ac_includes_default
21705 typedef size_t ac__type_sizeof_;
21706 int
21707 main ()
21708 {
21709 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21710 test_array [0] = 0
21711
21712 ;
21713 return 0;
21714 }
21715 _ACEOF
21716 rm -f conftest.$ac_objext
21717 if { (ac_try="$ac_compile"
21718 case "(($ac_try" in
21719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21720 *) ac_try_echo=$ac_try;;
21721 esac
21722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21723 (eval "$ac_compile") 2>conftest.er1
21724 ac_status=$?
21725 grep -v '^ *+' conftest.er1 >conftest.err
21726 rm -f conftest.er1
21727 cat conftest.err >&5
21728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21729 (exit $ac_status); } && {
21730 test -z "$ac_c_werror_flag" ||
21731 test ! -s conftest.err
21732 } && test -s conftest.$ac_objext; then
21733 ac_lo=0 ac_mid=0
21734 while :; do
21735 cat >conftest.$ac_ext <<_ACEOF
21736 /* confdefs.h. */
21737 _ACEOF
21738 cat confdefs.h >>conftest.$ac_ext
21739 cat >>conftest.$ac_ext <<_ACEOF
21740 /* end confdefs.h. */
21741 $ac_includes_default
21742 typedef size_t ac__type_sizeof_;
21743 int
21744 main ()
21745 {
21746 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21747 test_array [0] = 0
21748
21749 ;
21750 return 0;
21751 }
21752 _ACEOF
21753 rm -f conftest.$ac_objext
21754 if { (ac_try="$ac_compile"
21755 case "(($ac_try" in
21756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21757 *) ac_try_echo=$ac_try;;
21758 esac
21759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21760 (eval "$ac_compile") 2>conftest.er1
21761 ac_status=$?
21762 grep -v '^ *+' conftest.er1 >conftest.err
21763 rm -f conftest.er1
21764 cat conftest.err >&5
21765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21766 (exit $ac_status); } && {
21767 test -z "$ac_c_werror_flag" ||
21768 test ! -s conftest.err
21769 } && test -s conftest.$ac_objext; then
21770 ac_hi=$ac_mid; break
21771 else
21772 echo "$as_me: failed program was:" >&5
21773 sed 's/^/| /' conftest.$ac_ext >&5
21774
21775 ac_lo=`expr $ac_mid + 1`
21776 if test $ac_lo -le $ac_mid; then
21777 ac_lo= ac_hi=
21778 break
21779 fi
21780 ac_mid=`expr 2 '*' $ac_mid + 1`
21781 fi
21782
21783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21784 done
21785 else
21786 echo "$as_me: failed program was:" >&5
21787 sed 's/^/| /' conftest.$ac_ext >&5
21788
21789 cat >conftest.$ac_ext <<_ACEOF
21790 /* confdefs.h. */
21791 _ACEOF
21792 cat confdefs.h >>conftest.$ac_ext
21793 cat >>conftest.$ac_ext <<_ACEOF
21794 /* end confdefs.h. */
21795 $ac_includes_default
21796 typedef size_t ac__type_sizeof_;
21797 int
21798 main ()
21799 {
21800 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21801 test_array [0] = 0
21802
21803 ;
21804 return 0;
21805 }
21806 _ACEOF
21807 rm -f conftest.$ac_objext
21808 if { (ac_try="$ac_compile"
21809 case "(($ac_try" in
21810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21811 *) ac_try_echo=$ac_try;;
21812 esac
21813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21814 (eval "$ac_compile") 2>conftest.er1
21815 ac_status=$?
21816 grep -v '^ *+' conftest.er1 >conftest.err
21817 rm -f conftest.er1
21818 cat conftest.err >&5
21819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21820 (exit $ac_status); } && {
21821 test -z "$ac_c_werror_flag" ||
21822 test ! -s conftest.err
21823 } && test -s conftest.$ac_objext; then
21824 ac_hi=-1 ac_mid=-1
21825 while :; do
21826 cat >conftest.$ac_ext <<_ACEOF
21827 /* confdefs.h. */
21828 _ACEOF
21829 cat confdefs.h >>conftest.$ac_ext
21830 cat >>conftest.$ac_ext <<_ACEOF
21831 /* end confdefs.h. */
21832 $ac_includes_default
21833 typedef size_t ac__type_sizeof_;
21834 int
21835 main ()
21836 {
21837 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21838 test_array [0] = 0
21839
21840 ;
21841 return 0;
21842 }
21843 _ACEOF
21844 rm -f conftest.$ac_objext
21845 if { (ac_try="$ac_compile"
21846 case "(($ac_try" in
21847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21848 *) ac_try_echo=$ac_try;;
21849 esac
21850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21851 (eval "$ac_compile") 2>conftest.er1
21852 ac_status=$?
21853 grep -v '^ *+' conftest.er1 >conftest.err
21854 rm -f conftest.er1
21855 cat conftest.err >&5
21856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21857 (exit $ac_status); } && {
21858 test -z "$ac_c_werror_flag" ||
21859 test ! -s conftest.err
21860 } && test -s conftest.$ac_objext; then
21861 ac_lo=$ac_mid; break
21862 else
21863 echo "$as_me: failed program was:" >&5
21864 sed 's/^/| /' conftest.$ac_ext >&5
21865
21866 ac_hi=`expr '(' $ac_mid ')' - 1`
21867 if test $ac_mid -le $ac_hi; then
21868 ac_lo= ac_hi=
21869 break
21870 fi
21871 ac_mid=`expr 2 '*' $ac_mid`
21872 fi
21873
21874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21875 done
21876 else
21877 echo "$as_me: failed program was:" >&5
21878 sed 's/^/| /' conftest.$ac_ext >&5
21879
21880 ac_lo= ac_hi=
21881 fi
21882
21883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21884 fi
21885
21886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21887 # Binary search between lo and hi bounds.
21888 while test "x$ac_lo" != "x$ac_hi"; do
21889 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21890 cat >conftest.$ac_ext <<_ACEOF
21891 /* confdefs.h. */
21892 _ACEOF
21893 cat confdefs.h >>conftest.$ac_ext
21894 cat >>conftest.$ac_ext <<_ACEOF
21895 /* end confdefs.h. */
21896 $ac_includes_default
21897 typedef size_t ac__type_sizeof_;
21898 int
21899 main ()
21900 {
21901 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21902 test_array [0] = 0
21903
21904 ;
21905 return 0;
21906 }
21907 _ACEOF
21908 rm -f conftest.$ac_objext
21909 if { (ac_try="$ac_compile"
21910 case "(($ac_try" in
21911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21912 *) ac_try_echo=$ac_try;;
21913 esac
21914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21915 (eval "$ac_compile") 2>conftest.er1
21916 ac_status=$?
21917 grep -v '^ *+' conftest.er1 >conftest.err
21918 rm -f conftest.er1
21919 cat conftest.err >&5
21920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21921 (exit $ac_status); } && {
21922 test -z "$ac_c_werror_flag" ||
21923 test ! -s conftest.err
21924 } && test -s conftest.$ac_objext; then
21925 ac_hi=$ac_mid
21926 else
21927 echo "$as_me: failed program was:" >&5
21928 sed 's/^/| /' conftest.$ac_ext >&5
21929
21930 ac_lo=`expr '(' $ac_mid ')' + 1`
21931 fi
21932
21933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21934 done
21935 case $ac_lo in
21936 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21937 '') if test "$ac_cv_type_size_t" = yes; then
21938 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21939 See \`config.log' for more details." >&5
21940 echo "$as_me: error: cannot compute sizeof (size_t)
21941 See \`config.log' for more details." >&2;}
21942 { (exit 77); exit 77; }; }
21943 else
21944 ac_cv_sizeof_size_t=0
21945 fi ;;
21946 esac
21947 else
21948 cat >conftest.$ac_ext <<_ACEOF
21949 /* confdefs.h. */
21950 _ACEOF
21951 cat confdefs.h >>conftest.$ac_ext
21952 cat >>conftest.$ac_ext <<_ACEOF
21953 /* end confdefs.h. */
21954 $ac_includes_default
21955 typedef size_t ac__type_sizeof_;
21956 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21957 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21958 #include <stdio.h>
21959 #include <stdlib.h>
21960 int
21961 main ()
21962 {
21963
21964 FILE *f = fopen ("conftest.val", "w");
21965 if (! f)
21966 return 1;
21967 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21968 {
21969 long int i = longval ();
21970 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21971 return 1;
21972 fprintf (f, "%ld\n", i);
21973 }
21974 else
21975 {
21976 unsigned long int i = ulongval ();
21977 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21978 return 1;
21979 fprintf (f, "%lu\n", i);
21980 }
21981 return ferror (f) || fclose (f) != 0;
21982
21983 ;
21984 return 0;
21985 }
21986 _ACEOF
21987 rm -f conftest$ac_exeext
21988 if { (ac_try="$ac_link"
21989 case "(($ac_try" in
21990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21991 *) ac_try_echo=$ac_try;;
21992 esac
21993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21994 (eval "$ac_link") 2>&5
21995 ac_status=$?
21996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21997 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21998 { (case "(($ac_try" in
21999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22000 *) ac_try_echo=$ac_try;;
22001 esac
22002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22003 (eval "$ac_try") 2>&5
22004 ac_status=$?
22005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22006 (exit $ac_status); }; }; then
22007 ac_cv_sizeof_size_t=`cat conftest.val`
22008 else
22009 echo "$as_me: program exited with status $ac_status" >&5
22010 echo "$as_me: failed program was:" >&5
22011 sed 's/^/| /' conftest.$ac_ext >&5
22012
22013 ( exit $ac_status )
22014 if test "$ac_cv_type_size_t" = yes; then
22015 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22016 See \`config.log' for more details." >&5
22017 echo "$as_me: error: cannot compute sizeof (size_t)
22018 See \`config.log' for more details." >&2;}
22019 { (exit 77); exit 77; }; }
22020 else
22021 ac_cv_sizeof_size_t=0
22022 fi
22023 fi
22024 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22025 fi
22026 rm -f conftest.val
22027 fi
22028 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22029 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22030
22031
22032
22033 cat >>confdefs.h <<_ACEOF
22034 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22035 _ACEOF
22036
22037
22038
22039 case "${host}" in
22040 arm-*-linux* )
22041 { echo "$as_me:$LINENO: checking for long long" >&5
22042 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22043 if test "${ac_cv_type_long_long+set}" = set; then
22044 echo $ECHO_N "(cached) $ECHO_C" >&6
22045 else
22046 cat >conftest.$ac_ext <<_ACEOF
22047 /* confdefs.h. */
22048 _ACEOF
22049 cat confdefs.h >>conftest.$ac_ext
22050 cat >>conftest.$ac_ext <<_ACEOF
22051 /* end confdefs.h. */
22052 $ac_includes_default
22053 typedef long long ac__type_new_;
22054 int
22055 main ()
22056 {
22057 if ((ac__type_new_ *) 0)
22058 return 0;
22059 if (sizeof (ac__type_new_))
22060 return 0;
22061 ;
22062 return 0;
22063 }
22064 _ACEOF
22065 rm -f conftest.$ac_objext
22066 if { (ac_try="$ac_compile"
22067 case "(($ac_try" in
22068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22069 *) ac_try_echo=$ac_try;;
22070 esac
22071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22072 (eval "$ac_compile") 2>conftest.er1
22073 ac_status=$?
22074 grep -v '^ *+' conftest.er1 >conftest.err
22075 rm -f conftest.er1
22076 cat conftest.err >&5
22077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22078 (exit $ac_status); } && {
22079 test -z "$ac_c_werror_flag" ||
22080 test ! -s conftest.err
22081 } && test -s conftest.$ac_objext; then
22082 ac_cv_type_long_long=yes
22083 else
22084 echo "$as_me: failed program was:" >&5
22085 sed 's/^/| /' conftest.$ac_ext >&5
22086
22087 ac_cv_type_long_long=no
22088 fi
22089
22090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22091 fi
22092 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22093 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22094
22095 # The cast to long int works around a bug in the HP C Compiler
22096 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22097 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22098 # This bug is HP SR number 8606223364.
22099 { echo "$as_me:$LINENO: checking size of long long" >&5
22100 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22101 if test "${ac_cv_sizeof_long_long+set}" = set; then
22102 echo $ECHO_N "(cached) $ECHO_C" >&6
22103 else
22104 if test "$cross_compiling" = yes; then
22105 # Depending upon the size, compute the lo and hi bounds.
22106 cat >conftest.$ac_ext <<_ACEOF
22107 /* confdefs.h. */
22108 _ACEOF
22109 cat confdefs.h >>conftest.$ac_ext
22110 cat >>conftest.$ac_ext <<_ACEOF
22111 /* end confdefs.h. */
22112 $ac_includes_default
22113 typedef long long ac__type_sizeof_;
22114 int
22115 main ()
22116 {
22117 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22118 test_array [0] = 0
22119
22120 ;
22121 return 0;
22122 }
22123 _ACEOF
22124 rm -f conftest.$ac_objext
22125 if { (ac_try="$ac_compile"
22126 case "(($ac_try" in
22127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22128 *) ac_try_echo=$ac_try;;
22129 esac
22130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22131 (eval "$ac_compile") 2>conftest.er1
22132 ac_status=$?
22133 grep -v '^ *+' conftest.er1 >conftest.err
22134 rm -f conftest.er1
22135 cat conftest.err >&5
22136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22137 (exit $ac_status); } && {
22138 test -z "$ac_c_werror_flag" ||
22139 test ! -s conftest.err
22140 } && test -s conftest.$ac_objext; then
22141 ac_lo=0 ac_mid=0
22142 while :; do
22143 cat >conftest.$ac_ext <<_ACEOF
22144 /* confdefs.h. */
22145 _ACEOF
22146 cat confdefs.h >>conftest.$ac_ext
22147 cat >>conftest.$ac_ext <<_ACEOF
22148 /* end confdefs.h. */
22149 $ac_includes_default
22150 typedef long long ac__type_sizeof_;
22151 int
22152 main ()
22153 {
22154 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22155 test_array [0] = 0
22156
22157 ;
22158 return 0;
22159 }
22160 _ACEOF
22161 rm -f conftest.$ac_objext
22162 if { (ac_try="$ac_compile"
22163 case "(($ac_try" in
22164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22165 *) ac_try_echo=$ac_try;;
22166 esac
22167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22168 (eval "$ac_compile") 2>conftest.er1
22169 ac_status=$?
22170 grep -v '^ *+' conftest.er1 >conftest.err
22171 rm -f conftest.er1
22172 cat conftest.err >&5
22173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22174 (exit $ac_status); } && {
22175 test -z "$ac_c_werror_flag" ||
22176 test ! -s conftest.err
22177 } && test -s conftest.$ac_objext; then
22178 ac_hi=$ac_mid; break
22179 else
22180 echo "$as_me: failed program was:" >&5
22181 sed 's/^/| /' conftest.$ac_ext >&5
22182
22183 ac_lo=`expr $ac_mid + 1`
22184 if test $ac_lo -le $ac_mid; then
22185 ac_lo= ac_hi=
22186 break
22187 fi
22188 ac_mid=`expr 2 '*' $ac_mid + 1`
22189 fi
22190
22191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22192 done
22193 else
22194 echo "$as_me: failed program was:" >&5
22195 sed 's/^/| /' conftest.$ac_ext >&5
22196
22197 cat >conftest.$ac_ext <<_ACEOF
22198 /* confdefs.h. */
22199 _ACEOF
22200 cat confdefs.h >>conftest.$ac_ext
22201 cat >>conftest.$ac_ext <<_ACEOF
22202 /* end confdefs.h. */
22203 $ac_includes_default
22204 typedef long long ac__type_sizeof_;
22205 int
22206 main ()
22207 {
22208 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22209 test_array [0] = 0
22210
22211 ;
22212 return 0;
22213 }
22214 _ACEOF
22215 rm -f conftest.$ac_objext
22216 if { (ac_try="$ac_compile"
22217 case "(($ac_try" in
22218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22219 *) ac_try_echo=$ac_try;;
22220 esac
22221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22222 (eval "$ac_compile") 2>conftest.er1
22223 ac_status=$?
22224 grep -v '^ *+' conftest.er1 >conftest.err
22225 rm -f conftest.er1
22226 cat conftest.err >&5
22227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22228 (exit $ac_status); } && {
22229 test -z "$ac_c_werror_flag" ||
22230 test ! -s conftest.err
22231 } && test -s conftest.$ac_objext; then
22232 ac_hi=-1 ac_mid=-1
22233 while :; do
22234 cat >conftest.$ac_ext <<_ACEOF
22235 /* confdefs.h. */
22236 _ACEOF
22237 cat confdefs.h >>conftest.$ac_ext
22238 cat >>conftest.$ac_ext <<_ACEOF
22239 /* end confdefs.h. */
22240 $ac_includes_default
22241 typedef long long ac__type_sizeof_;
22242 int
22243 main ()
22244 {
22245 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22246 test_array [0] = 0
22247
22248 ;
22249 return 0;
22250 }
22251 _ACEOF
22252 rm -f conftest.$ac_objext
22253 if { (ac_try="$ac_compile"
22254 case "(($ac_try" in
22255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22256 *) ac_try_echo=$ac_try;;
22257 esac
22258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22259 (eval "$ac_compile") 2>conftest.er1
22260 ac_status=$?
22261 grep -v '^ *+' conftest.er1 >conftest.err
22262 rm -f conftest.er1
22263 cat conftest.err >&5
22264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22265 (exit $ac_status); } && {
22266 test -z "$ac_c_werror_flag" ||
22267 test ! -s conftest.err
22268 } && test -s conftest.$ac_objext; then
22269 ac_lo=$ac_mid; break
22270 else
22271 echo "$as_me: failed program was:" >&5
22272 sed 's/^/| /' conftest.$ac_ext >&5
22273
22274 ac_hi=`expr '(' $ac_mid ')' - 1`
22275 if test $ac_mid -le $ac_hi; then
22276 ac_lo= ac_hi=
22277 break
22278 fi
22279 ac_mid=`expr 2 '*' $ac_mid`
22280 fi
22281
22282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22283 done
22284 else
22285 echo "$as_me: failed program was:" >&5
22286 sed 's/^/| /' conftest.$ac_ext >&5
22287
22288 ac_lo= ac_hi=
22289 fi
22290
22291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22292 fi
22293
22294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22295 # Binary search between lo and hi bounds.
22296 while test "x$ac_lo" != "x$ac_hi"; do
22297 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22298 cat >conftest.$ac_ext <<_ACEOF
22299 /* confdefs.h. */
22300 _ACEOF
22301 cat confdefs.h >>conftest.$ac_ext
22302 cat >>conftest.$ac_ext <<_ACEOF
22303 /* end confdefs.h. */
22304 $ac_includes_default
22305 typedef long long ac__type_sizeof_;
22306 int
22307 main ()
22308 {
22309 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22310 test_array [0] = 0
22311
22312 ;
22313 return 0;
22314 }
22315 _ACEOF
22316 rm -f conftest.$ac_objext
22317 if { (ac_try="$ac_compile"
22318 case "(($ac_try" in
22319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22320 *) ac_try_echo=$ac_try;;
22321 esac
22322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22323 (eval "$ac_compile") 2>conftest.er1
22324 ac_status=$?
22325 grep -v '^ *+' conftest.er1 >conftest.err
22326 rm -f conftest.er1
22327 cat conftest.err >&5
22328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22329 (exit $ac_status); } && {
22330 test -z "$ac_c_werror_flag" ||
22331 test ! -s conftest.err
22332 } && test -s conftest.$ac_objext; then
22333 ac_hi=$ac_mid
22334 else
22335 echo "$as_me: failed program was:" >&5
22336 sed 's/^/| /' conftest.$ac_ext >&5
22337
22338 ac_lo=`expr '(' $ac_mid ')' + 1`
22339 fi
22340
22341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22342 done
22343 case $ac_lo in
22344 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22345 '') if test "$ac_cv_type_long_long" = yes; then
22346 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22347 See \`config.log' for more details." >&5
22348 echo "$as_me: error: cannot compute sizeof (long long)
22349 See \`config.log' for more details." >&2;}
22350 { (exit 77); exit 77; }; }
22351 else
22352 ac_cv_sizeof_long_long=0
22353 fi ;;
22354 esac
22355 else
22356 cat >conftest.$ac_ext <<_ACEOF
22357 /* confdefs.h. */
22358 _ACEOF
22359 cat confdefs.h >>conftest.$ac_ext
22360 cat >>conftest.$ac_ext <<_ACEOF
22361 /* end confdefs.h. */
22362 $ac_includes_default
22363 typedef long long ac__type_sizeof_;
22364 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22365 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22366 #include <stdio.h>
22367 #include <stdlib.h>
22368 int
22369 main ()
22370 {
22371
22372 FILE *f = fopen ("conftest.val", "w");
22373 if (! f)
22374 return 1;
22375 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22376 {
22377 long int i = longval ();
22378 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22379 return 1;
22380 fprintf (f, "%ld\n", i);
22381 }
22382 else
22383 {
22384 unsigned long int i = ulongval ();
22385 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22386 return 1;
22387 fprintf (f, "%lu\n", i);
22388 }
22389 return ferror (f) || fclose (f) != 0;
22390
22391 ;
22392 return 0;
22393 }
22394 _ACEOF
22395 rm -f conftest$ac_exeext
22396 if { (ac_try="$ac_link"
22397 case "(($ac_try" in
22398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22399 *) ac_try_echo=$ac_try;;
22400 esac
22401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22402 (eval "$ac_link") 2>&5
22403 ac_status=$?
22404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22405 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22406 { (case "(($ac_try" in
22407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22408 *) ac_try_echo=$ac_try;;
22409 esac
22410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22411 (eval "$ac_try") 2>&5
22412 ac_status=$?
22413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22414 (exit $ac_status); }; }; then
22415 ac_cv_sizeof_long_long=`cat conftest.val`
22416 else
22417 echo "$as_me: program exited with status $ac_status" >&5
22418 echo "$as_me: failed program was:" >&5
22419 sed 's/^/| /' conftest.$ac_ext >&5
22420
22421 ( exit $ac_status )
22422 if test "$ac_cv_type_long_long" = yes; then
22423 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22424 See \`config.log' for more details." >&5
22425 echo "$as_me: error: cannot compute sizeof (long long)
22426 See \`config.log' for more details." >&2;}
22427 { (exit 77); exit 77; }; }
22428 else
22429 ac_cv_sizeof_long_long=0
22430 fi
22431 fi
22432 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22433 fi
22434 rm -f conftest.val
22435 fi
22436 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22437 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22438
22439
22440
22441 cat >>confdefs.h <<_ACEOF
22442 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22443 _ACEOF
22444
22445
22446 ;;
22447 *-hp-hpux* )
22448 { echo "$as_me:$LINENO: checking for long long" >&5
22449 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22450 if test "${ac_cv_type_long_long+set}" = set; then
22451 echo $ECHO_N "(cached) $ECHO_C" >&6
22452 else
22453 cat >conftest.$ac_ext <<_ACEOF
22454 /* confdefs.h. */
22455 _ACEOF
22456 cat confdefs.h >>conftest.$ac_ext
22457 cat >>conftest.$ac_ext <<_ACEOF
22458 /* end confdefs.h. */
22459 $ac_includes_default
22460 typedef long long ac__type_new_;
22461 int
22462 main ()
22463 {
22464 if ((ac__type_new_ *) 0)
22465 return 0;
22466 if (sizeof (ac__type_new_))
22467 return 0;
22468 ;
22469 return 0;
22470 }
22471 _ACEOF
22472 rm -f conftest.$ac_objext
22473 if { (ac_try="$ac_compile"
22474 case "(($ac_try" in
22475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22476 *) ac_try_echo=$ac_try;;
22477 esac
22478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22479 (eval "$ac_compile") 2>conftest.er1
22480 ac_status=$?
22481 grep -v '^ *+' conftest.er1 >conftest.err
22482 rm -f conftest.er1
22483 cat conftest.err >&5
22484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22485 (exit $ac_status); } && {
22486 test -z "$ac_c_werror_flag" ||
22487 test ! -s conftest.err
22488 } && test -s conftest.$ac_objext; then
22489 ac_cv_type_long_long=yes
22490 else
22491 echo "$as_me: failed program was:" >&5
22492 sed 's/^/| /' conftest.$ac_ext >&5
22493
22494 ac_cv_type_long_long=no
22495 fi
22496
22497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22498 fi
22499 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22500 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22501
22502 # The cast to long int works around a bug in the HP C Compiler
22503 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22504 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22505 # This bug is HP SR number 8606223364.
22506 { echo "$as_me:$LINENO: checking size of long long" >&5
22507 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22508 if test "${ac_cv_sizeof_long_long+set}" = set; then
22509 echo $ECHO_N "(cached) $ECHO_C" >&6
22510 else
22511 if test "$cross_compiling" = yes; then
22512 # Depending upon the size, compute the lo and hi bounds.
22513 cat >conftest.$ac_ext <<_ACEOF
22514 /* confdefs.h. */
22515 _ACEOF
22516 cat confdefs.h >>conftest.$ac_ext
22517 cat >>conftest.$ac_ext <<_ACEOF
22518 /* end confdefs.h. */
22519 $ac_includes_default
22520 typedef long long ac__type_sizeof_;
22521 int
22522 main ()
22523 {
22524 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22525 test_array [0] = 0
22526
22527 ;
22528 return 0;
22529 }
22530 _ACEOF
22531 rm -f conftest.$ac_objext
22532 if { (ac_try="$ac_compile"
22533 case "(($ac_try" in
22534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22535 *) ac_try_echo=$ac_try;;
22536 esac
22537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22538 (eval "$ac_compile") 2>conftest.er1
22539 ac_status=$?
22540 grep -v '^ *+' conftest.er1 >conftest.err
22541 rm -f conftest.er1
22542 cat conftest.err >&5
22543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22544 (exit $ac_status); } && {
22545 test -z "$ac_c_werror_flag" ||
22546 test ! -s conftest.err
22547 } && test -s conftest.$ac_objext; then
22548 ac_lo=0 ac_mid=0
22549 while :; do
22550 cat >conftest.$ac_ext <<_ACEOF
22551 /* confdefs.h. */
22552 _ACEOF
22553 cat confdefs.h >>conftest.$ac_ext
22554 cat >>conftest.$ac_ext <<_ACEOF
22555 /* end confdefs.h. */
22556 $ac_includes_default
22557 typedef long long ac__type_sizeof_;
22558 int
22559 main ()
22560 {
22561 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22562 test_array [0] = 0
22563
22564 ;
22565 return 0;
22566 }
22567 _ACEOF
22568 rm -f conftest.$ac_objext
22569 if { (ac_try="$ac_compile"
22570 case "(($ac_try" in
22571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22572 *) ac_try_echo=$ac_try;;
22573 esac
22574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22575 (eval "$ac_compile") 2>conftest.er1
22576 ac_status=$?
22577 grep -v '^ *+' conftest.er1 >conftest.err
22578 rm -f conftest.er1
22579 cat conftest.err >&5
22580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22581 (exit $ac_status); } && {
22582 test -z "$ac_c_werror_flag" ||
22583 test ! -s conftest.err
22584 } && test -s conftest.$ac_objext; then
22585 ac_hi=$ac_mid; break
22586 else
22587 echo "$as_me: failed program was:" >&5
22588 sed 's/^/| /' conftest.$ac_ext >&5
22589
22590 ac_lo=`expr $ac_mid + 1`
22591 if test $ac_lo -le $ac_mid; then
22592 ac_lo= ac_hi=
22593 break
22594 fi
22595 ac_mid=`expr 2 '*' $ac_mid + 1`
22596 fi
22597
22598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22599 done
22600 else
22601 echo "$as_me: failed program was:" >&5
22602 sed 's/^/| /' conftest.$ac_ext >&5
22603
22604 cat >conftest.$ac_ext <<_ACEOF
22605 /* confdefs.h. */
22606 _ACEOF
22607 cat confdefs.h >>conftest.$ac_ext
22608 cat >>conftest.$ac_ext <<_ACEOF
22609 /* end confdefs.h. */
22610 $ac_includes_default
22611 typedef long long ac__type_sizeof_;
22612 int
22613 main ()
22614 {
22615 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22616 test_array [0] = 0
22617
22618 ;
22619 return 0;
22620 }
22621 _ACEOF
22622 rm -f conftest.$ac_objext
22623 if { (ac_try="$ac_compile"
22624 case "(($ac_try" in
22625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22626 *) ac_try_echo=$ac_try;;
22627 esac
22628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22629 (eval "$ac_compile") 2>conftest.er1
22630 ac_status=$?
22631 grep -v '^ *+' conftest.er1 >conftest.err
22632 rm -f conftest.er1
22633 cat conftest.err >&5
22634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22635 (exit $ac_status); } && {
22636 test -z "$ac_c_werror_flag" ||
22637 test ! -s conftest.err
22638 } && test -s conftest.$ac_objext; then
22639 ac_hi=-1 ac_mid=-1
22640 while :; do
22641 cat >conftest.$ac_ext <<_ACEOF
22642 /* confdefs.h. */
22643 _ACEOF
22644 cat confdefs.h >>conftest.$ac_ext
22645 cat >>conftest.$ac_ext <<_ACEOF
22646 /* end confdefs.h. */
22647 $ac_includes_default
22648 typedef long long ac__type_sizeof_;
22649 int
22650 main ()
22651 {
22652 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22653 test_array [0] = 0
22654
22655 ;
22656 return 0;
22657 }
22658 _ACEOF
22659 rm -f conftest.$ac_objext
22660 if { (ac_try="$ac_compile"
22661 case "(($ac_try" in
22662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22663 *) ac_try_echo=$ac_try;;
22664 esac
22665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22666 (eval "$ac_compile") 2>conftest.er1
22667 ac_status=$?
22668 grep -v '^ *+' conftest.er1 >conftest.err
22669 rm -f conftest.er1
22670 cat conftest.err >&5
22671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22672 (exit $ac_status); } && {
22673 test -z "$ac_c_werror_flag" ||
22674 test ! -s conftest.err
22675 } && test -s conftest.$ac_objext; then
22676 ac_lo=$ac_mid; break
22677 else
22678 echo "$as_me: failed program was:" >&5
22679 sed 's/^/| /' conftest.$ac_ext >&5
22680
22681 ac_hi=`expr '(' $ac_mid ')' - 1`
22682 if test $ac_mid -le $ac_hi; then
22683 ac_lo= ac_hi=
22684 break
22685 fi
22686 ac_mid=`expr 2 '*' $ac_mid`
22687 fi
22688
22689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22690 done
22691 else
22692 echo "$as_me: failed program was:" >&5
22693 sed 's/^/| /' conftest.$ac_ext >&5
22694
22695 ac_lo= ac_hi=
22696 fi
22697
22698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22699 fi
22700
22701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22702 # Binary search between lo and hi bounds.
22703 while test "x$ac_lo" != "x$ac_hi"; do
22704 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22705 cat >conftest.$ac_ext <<_ACEOF
22706 /* confdefs.h. */
22707 _ACEOF
22708 cat confdefs.h >>conftest.$ac_ext
22709 cat >>conftest.$ac_ext <<_ACEOF
22710 /* end confdefs.h. */
22711 $ac_includes_default
22712 typedef long long ac__type_sizeof_;
22713 int
22714 main ()
22715 {
22716 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22717 test_array [0] = 0
22718
22719 ;
22720 return 0;
22721 }
22722 _ACEOF
22723 rm -f conftest.$ac_objext
22724 if { (ac_try="$ac_compile"
22725 case "(($ac_try" in
22726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22727 *) ac_try_echo=$ac_try;;
22728 esac
22729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22730 (eval "$ac_compile") 2>conftest.er1
22731 ac_status=$?
22732 grep -v '^ *+' conftest.er1 >conftest.err
22733 rm -f conftest.er1
22734 cat conftest.err >&5
22735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22736 (exit $ac_status); } && {
22737 test -z "$ac_c_werror_flag" ||
22738 test ! -s conftest.err
22739 } && test -s conftest.$ac_objext; then
22740 ac_hi=$ac_mid
22741 else
22742 echo "$as_me: failed program was:" >&5
22743 sed 's/^/| /' conftest.$ac_ext >&5
22744
22745 ac_lo=`expr '(' $ac_mid ')' + 1`
22746 fi
22747
22748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22749 done
22750 case $ac_lo in
22751 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22752 '') if test "$ac_cv_type_long_long" = yes; then
22753 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22754 See \`config.log' for more details." >&5
22755 echo "$as_me: error: cannot compute sizeof (long long)
22756 See \`config.log' for more details." >&2;}
22757 { (exit 77); exit 77; }; }
22758 else
22759 ac_cv_sizeof_long_long=0
22760 fi ;;
22761 esac
22762 else
22763 cat >conftest.$ac_ext <<_ACEOF
22764 /* confdefs.h. */
22765 _ACEOF
22766 cat confdefs.h >>conftest.$ac_ext
22767 cat >>conftest.$ac_ext <<_ACEOF
22768 /* end confdefs.h. */
22769 $ac_includes_default
22770 typedef long long ac__type_sizeof_;
22771 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22772 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22773 #include <stdio.h>
22774 #include <stdlib.h>
22775 int
22776 main ()
22777 {
22778
22779 FILE *f = fopen ("conftest.val", "w");
22780 if (! f)
22781 return 1;
22782 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22783 {
22784 long int i = longval ();
22785 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22786 return 1;
22787 fprintf (f, "%ld\n", i);
22788 }
22789 else
22790 {
22791 unsigned long int i = ulongval ();
22792 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22793 return 1;
22794 fprintf (f, "%lu\n", i);
22795 }
22796 return ferror (f) || fclose (f) != 0;
22797
22798 ;
22799 return 0;
22800 }
22801 _ACEOF
22802 rm -f conftest$ac_exeext
22803 if { (ac_try="$ac_link"
22804 case "(($ac_try" in
22805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22806 *) ac_try_echo=$ac_try;;
22807 esac
22808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22809 (eval "$ac_link") 2>&5
22810 ac_status=$?
22811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22812 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22813 { (case "(($ac_try" in
22814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22815 *) ac_try_echo=$ac_try;;
22816 esac
22817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22818 (eval "$ac_try") 2>&5
22819 ac_status=$?
22820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22821 (exit $ac_status); }; }; then
22822 ac_cv_sizeof_long_long=`cat conftest.val`
22823 else
22824 echo "$as_me: program exited with status $ac_status" >&5
22825 echo "$as_me: failed program was:" >&5
22826 sed 's/^/| /' conftest.$ac_ext >&5
22827
22828 ( exit $ac_status )
22829 if test "$ac_cv_type_long_long" = yes; then
22830 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22831 See \`config.log' for more details." >&5
22832 echo "$as_me: error: cannot compute sizeof (long long)
22833 See \`config.log' for more details." >&2;}
22834 { (exit 77); exit 77; }; }
22835 else
22836 ac_cv_sizeof_long_long=0
22837 fi
22838 fi
22839 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22840 fi
22841 rm -f conftest.val
22842 fi
22843 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22844 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22845
22846
22847
22848 cat >>confdefs.h <<_ACEOF
22849 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22850 _ACEOF
22851
22852
22853 if test "$ac_cv_sizeof_long_long" != 0; then
22854 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22855 fi
22856 ;;
22857 * )
22858 { echo "$as_me:$LINENO: checking for long long" >&5
22859 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22860 if test "${ac_cv_type_long_long+set}" = set; then
22861 echo $ECHO_N "(cached) $ECHO_C" >&6
22862 else
22863 cat >conftest.$ac_ext <<_ACEOF
22864 /* confdefs.h. */
22865 _ACEOF
22866 cat confdefs.h >>conftest.$ac_ext
22867 cat >>conftest.$ac_ext <<_ACEOF
22868 /* end confdefs.h. */
22869 $ac_includes_default
22870 typedef long long ac__type_new_;
22871 int
22872 main ()
22873 {
22874 if ((ac__type_new_ *) 0)
22875 return 0;
22876 if (sizeof (ac__type_new_))
22877 return 0;
22878 ;
22879 return 0;
22880 }
22881 _ACEOF
22882 rm -f conftest.$ac_objext
22883 if { (ac_try="$ac_compile"
22884 case "(($ac_try" in
22885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22886 *) ac_try_echo=$ac_try;;
22887 esac
22888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22889 (eval "$ac_compile") 2>conftest.er1
22890 ac_status=$?
22891 grep -v '^ *+' conftest.er1 >conftest.err
22892 rm -f conftest.er1
22893 cat conftest.err >&5
22894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22895 (exit $ac_status); } && {
22896 test -z "$ac_c_werror_flag" ||
22897 test ! -s conftest.err
22898 } && test -s conftest.$ac_objext; then
22899 ac_cv_type_long_long=yes
22900 else
22901 echo "$as_me: failed program was:" >&5
22902 sed 's/^/| /' conftest.$ac_ext >&5
22903
22904 ac_cv_type_long_long=no
22905 fi
22906
22907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22908 fi
22909 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22910 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22911
22912 # The cast to long int works around a bug in the HP C Compiler
22913 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22914 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22915 # This bug is HP SR number 8606223364.
22916 { echo "$as_me:$LINENO: checking size of long long" >&5
22917 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22918 if test "${ac_cv_sizeof_long_long+set}" = set; then
22919 echo $ECHO_N "(cached) $ECHO_C" >&6
22920 else
22921 if test "$cross_compiling" = yes; then
22922 # Depending upon the size, compute the lo and hi bounds.
22923 cat >conftest.$ac_ext <<_ACEOF
22924 /* confdefs.h. */
22925 _ACEOF
22926 cat confdefs.h >>conftest.$ac_ext
22927 cat >>conftest.$ac_ext <<_ACEOF
22928 /* end confdefs.h. */
22929 $ac_includes_default
22930 typedef long long ac__type_sizeof_;
22931 int
22932 main ()
22933 {
22934 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22935 test_array [0] = 0
22936
22937 ;
22938 return 0;
22939 }
22940 _ACEOF
22941 rm -f conftest.$ac_objext
22942 if { (ac_try="$ac_compile"
22943 case "(($ac_try" in
22944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22945 *) ac_try_echo=$ac_try;;
22946 esac
22947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22948 (eval "$ac_compile") 2>conftest.er1
22949 ac_status=$?
22950 grep -v '^ *+' conftest.er1 >conftest.err
22951 rm -f conftest.er1
22952 cat conftest.err >&5
22953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22954 (exit $ac_status); } && {
22955 test -z "$ac_c_werror_flag" ||
22956 test ! -s conftest.err
22957 } && test -s conftest.$ac_objext; then
22958 ac_lo=0 ac_mid=0
22959 while :; do
22960 cat >conftest.$ac_ext <<_ACEOF
22961 /* confdefs.h. */
22962 _ACEOF
22963 cat confdefs.h >>conftest.$ac_ext
22964 cat >>conftest.$ac_ext <<_ACEOF
22965 /* end confdefs.h. */
22966 $ac_includes_default
22967 typedef long long ac__type_sizeof_;
22968 int
22969 main ()
22970 {
22971 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22972 test_array [0] = 0
22973
22974 ;
22975 return 0;
22976 }
22977 _ACEOF
22978 rm -f conftest.$ac_objext
22979 if { (ac_try="$ac_compile"
22980 case "(($ac_try" in
22981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22982 *) ac_try_echo=$ac_try;;
22983 esac
22984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22985 (eval "$ac_compile") 2>conftest.er1
22986 ac_status=$?
22987 grep -v '^ *+' conftest.er1 >conftest.err
22988 rm -f conftest.er1
22989 cat conftest.err >&5
22990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22991 (exit $ac_status); } && {
22992 test -z "$ac_c_werror_flag" ||
22993 test ! -s conftest.err
22994 } && test -s conftest.$ac_objext; then
22995 ac_hi=$ac_mid; break
22996 else
22997 echo "$as_me: failed program was:" >&5
22998 sed 's/^/| /' conftest.$ac_ext >&5
22999
23000 ac_lo=`expr $ac_mid + 1`
23001 if test $ac_lo -le $ac_mid; then
23002 ac_lo= ac_hi=
23003 break
23004 fi
23005 ac_mid=`expr 2 '*' $ac_mid + 1`
23006 fi
23007
23008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23009 done
23010 else
23011 echo "$as_me: failed program was:" >&5
23012 sed 's/^/| /' conftest.$ac_ext >&5
23013
23014 cat >conftest.$ac_ext <<_ACEOF
23015 /* confdefs.h. */
23016 _ACEOF
23017 cat confdefs.h >>conftest.$ac_ext
23018 cat >>conftest.$ac_ext <<_ACEOF
23019 /* end confdefs.h. */
23020 $ac_includes_default
23021 typedef long long ac__type_sizeof_;
23022 int
23023 main ()
23024 {
23025 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23026 test_array [0] = 0
23027
23028 ;
23029 return 0;
23030 }
23031 _ACEOF
23032 rm -f conftest.$ac_objext
23033 if { (ac_try="$ac_compile"
23034 case "(($ac_try" in
23035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23036 *) ac_try_echo=$ac_try;;
23037 esac
23038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23039 (eval "$ac_compile") 2>conftest.er1
23040 ac_status=$?
23041 grep -v '^ *+' conftest.er1 >conftest.err
23042 rm -f conftest.er1
23043 cat conftest.err >&5
23044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23045 (exit $ac_status); } && {
23046 test -z "$ac_c_werror_flag" ||
23047 test ! -s conftest.err
23048 } && test -s conftest.$ac_objext; then
23049 ac_hi=-1 ac_mid=-1
23050 while :; do
23051 cat >conftest.$ac_ext <<_ACEOF
23052 /* confdefs.h. */
23053 _ACEOF
23054 cat confdefs.h >>conftest.$ac_ext
23055 cat >>conftest.$ac_ext <<_ACEOF
23056 /* end confdefs.h. */
23057 $ac_includes_default
23058 typedef long long ac__type_sizeof_;
23059 int
23060 main ()
23061 {
23062 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23063 test_array [0] = 0
23064
23065 ;
23066 return 0;
23067 }
23068 _ACEOF
23069 rm -f conftest.$ac_objext
23070 if { (ac_try="$ac_compile"
23071 case "(($ac_try" in
23072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23073 *) ac_try_echo=$ac_try;;
23074 esac
23075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23076 (eval "$ac_compile") 2>conftest.er1
23077 ac_status=$?
23078 grep -v '^ *+' conftest.er1 >conftest.err
23079 rm -f conftest.er1
23080 cat conftest.err >&5
23081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23082 (exit $ac_status); } && {
23083 test -z "$ac_c_werror_flag" ||
23084 test ! -s conftest.err
23085 } && test -s conftest.$ac_objext; then
23086 ac_lo=$ac_mid; break
23087 else
23088 echo "$as_me: failed program was:" >&5
23089 sed 's/^/| /' conftest.$ac_ext >&5
23090
23091 ac_hi=`expr '(' $ac_mid ')' - 1`
23092 if test $ac_mid -le $ac_hi; then
23093 ac_lo= ac_hi=
23094 break
23095 fi
23096 ac_mid=`expr 2 '*' $ac_mid`
23097 fi
23098
23099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23100 done
23101 else
23102 echo "$as_me: failed program was:" >&5
23103 sed 's/^/| /' conftest.$ac_ext >&5
23104
23105 ac_lo= ac_hi=
23106 fi
23107
23108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23109 fi
23110
23111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23112 # Binary search between lo and hi bounds.
23113 while test "x$ac_lo" != "x$ac_hi"; do
23114 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23115 cat >conftest.$ac_ext <<_ACEOF
23116 /* confdefs.h. */
23117 _ACEOF
23118 cat confdefs.h >>conftest.$ac_ext
23119 cat >>conftest.$ac_ext <<_ACEOF
23120 /* end confdefs.h. */
23121 $ac_includes_default
23122 typedef long long ac__type_sizeof_;
23123 int
23124 main ()
23125 {
23126 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23127 test_array [0] = 0
23128
23129 ;
23130 return 0;
23131 }
23132 _ACEOF
23133 rm -f conftest.$ac_objext
23134 if { (ac_try="$ac_compile"
23135 case "(($ac_try" in
23136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23137 *) ac_try_echo=$ac_try;;
23138 esac
23139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23140 (eval "$ac_compile") 2>conftest.er1
23141 ac_status=$?
23142 grep -v '^ *+' conftest.er1 >conftest.err
23143 rm -f conftest.er1
23144 cat conftest.err >&5
23145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23146 (exit $ac_status); } && {
23147 test -z "$ac_c_werror_flag" ||
23148 test ! -s conftest.err
23149 } && test -s conftest.$ac_objext; then
23150 ac_hi=$ac_mid
23151 else
23152 echo "$as_me: failed program was:" >&5
23153 sed 's/^/| /' conftest.$ac_ext >&5
23154
23155 ac_lo=`expr '(' $ac_mid ')' + 1`
23156 fi
23157
23158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23159 done
23160 case $ac_lo in
23161 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23162 '') if test "$ac_cv_type_long_long" = yes; then
23163 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23164 See \`config.log' for more details." >&5
23165 echo "$as_me: error: cannot compute sizeof (long long)
23166 See \`config.log' for more details." >&2;}
23167 { (exit 77); exit 77; }; }
23168 else
23169 ac_cv_sizeof_long_long=0
23170 fi ;;
23171 esac
23172 else
23173 cat >conftest.$ac_ext <<_ACEOF
23174 /* confdefs.h. */
23175 _ACEOF
23176 cat confdefs.h >>conftest.$ac_ext
23177 cat >>conftest.$ac_ext <<_ACEOF
23178 /* end confdefs.h. */
23179 $ac_includes_default
23180 typedef long long ac__type_sizeof_;
23181 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23182 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23183 #include <stdio.h>
23184 #include <stdlib.h>
23185 int
23186 main ()
23187 {
23188
23189 FILE *f = fopen ("conftest.val", "w");
23190 if (! f)
23191 return 1;
23192 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23193 {
23194 long int i = longval ();
23195 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23196 return 1;
23197 fprintf (f, "%ld\n", i);
23198 }
23199 else
23200 {
23201 unsigned long int i = ulongval ();
23202 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23203 return 1;
23204 fprintf (f, "%lu\n", i);
23205 }
23206 return ferror (f) || fclose (f) != 0;
23207
23208 ;
23209 return 0;
23210 }
23211 _ACEOF
23212 rm -f conftest$ac_exeext
23213 if { (ac_try="$ac_link"
23214 case "(($ac_try" in
23215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23216 *) ac_try_echo=$ac_try;;
23217 esac
23218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23219 (eval "$ac_link") 2>&5
23220 ac_status=$?
23221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23222 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23223 { (case "(($ac_try" in
23224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23225 *) ac_try_echo=$ac_try;;
23226 esac
23227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23228 (eval "$ac_try") 2>&5
23229 ac_status=$?
23230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23231 (exit $ac_status); }; }; then
23232 ac_cv_sizeof_long_long=`cat conftest.val`
23233 else
23234 echo "$as_me: program exited with status $ac_status" >&5
23235 echo "$as_me: failed program was:" >&5
23236 sed 's/^/| /' conftest.$ac_ext >&5
23237
23238 ( exit $ac_status )
23239 if test "$ac_cv_type_long_long" = yes; then
23240 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23241 See \`config.log' for more details." >&5
23242 echo "$as_me: error: cannot compute sizeof (long long)
23243 See \`config.log' for more details." >&2;}
23244 { (exit 77); exit 77; }; }
23245 else
23246 ac_cv_sizeof_long_long=0
23247 fi
23248 fi
23249 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23250 fi
23251 rm -f conftest.val
23252 fi
23253 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23254 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23255
23256
23257
23258 cat >>confdefs.h <<_ACEOF
23259 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23260 _ACEOF
23261
23262
23263 esac
23264
23265 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23266 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23267 if test "${ac_cv_type_wchar_t+set}" = set; then
23268 echo $ECHO_N "(cached) $ECHO_C" >&6
23269 else
23270 cat >conftest.$ac_ext <<_ACEOF
23271 /* confdefs.h. */
23272 _ACEOF
23273 cat confdefs.h >>conftest.$ac_ext
23274 cat >>conftest.$ac_ext <<_ACEOF
23275 /* end confdefs.h. */
23276
23277 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23278 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23279 # error "fake wchar_t"
23280 #endif
23281 #ifdef HAVE_WCHAR_H
23282 # ifdef __CYGWIN__
23283 # include <stddef.h>
23284 # endif
23285 # include <wchar.h>
23286 #endif
23287 #ifdef HAVE_STDLIB_H
23288 # include <stdlib.h>
23289 #endif
23290 #include <stdio.h>
23291
23292
23293
23294 typedef wchar_t ac__type_new_;
23295 int
23296 main ()
23297 {
23298 if ((ac__type_new_ *) 0)
23299 return 0;
23300 if (sizeof (ac__type_new_))
23301 return 0;
23302 ;
23303 return 0;
23304 }
23305 _ACEOF
23306 rm -f conftest.$ac_objext
23307 if { (ac_try="$ac_compile"
23308 case "(($ac_try" in
23309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23310 *) ac_try_echo=$ac_try;;
23311 esac
23312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23313 (eval "$ac_compile") 2>conftest.er1
23314 ac_status=$?
23315 grep -v '^ *+' conftest.er1 >conftest.err
23316 rm -f conftest.er1
23317 cat conftest.err >&5
23318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23319 (exit $ac_status); } && {
23320 test -z "$ac_c_werror_flag" ||
23321 test ! -s conftest.err
23322 } && test -s conftest.$ac_objext; then
23323 ac_cv_type_wchar_t=yes
23324 else
23325 echo "$as_me: failed program was:" >&5
23326 sed 's/^/| /' conftest.$ac_ext >&5
23327
23328 ac_cv_type_wchar_t=no
23329 fi
23330
23331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23332 fi
23333 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23334 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23335
23336 # The cast to long int works around a bug in the HP C Compiler
23337 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23338 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23339 # This bug is HP SR number 8606223364.
23340 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23341 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23342 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23343 echo $ECHO_N "(cached) $ECHO_C" >&6
23344 else
23345 if test "$cross_compiling" = yes; then
23346 # Depending upon the size, compute the lo and hi bounds.
23347 cat >conftest.$ac_ext <<_ACEOF
23348 /* confdefs.h. */
23349 _ACEOF
23350 cat confdefs.h >>conftest.$ac_ext
23351 cat >>conftest.$ac_ext <<_ACEOF
23352 /* end confdefs.h. */
23353
23354 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23355 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23356 # error "fake wchar_t"
23357 #endif
23358 #ifdef HAVE_WCHAR_H
23359 # ifdef __CYGWIN__
23360 # include <stddef.h>
23361 # endif
23362 # include <wchar.h>
23363 #endif
23364 #ifdef HAVE_STDLIB_H
23365 # include <stdlib.h>
23366 #endif
23367 #include <stdio.h>
23368
23369
23370
23371 typedef wchar_t ac__type_sizeof_;
23372 int
23373 main ()
23374 {
23375 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23376 test_array [0] = 0
23377
23378 ;
23379 return 0;
23380 }
23381 _ACEOF
23382 rm -f conftest.$ac_objext
23383 if { (ac_try="$ac_compile"
23384 case "(($ac_try" in
23385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23386 *) ac_try_echo=$ac_try;;
23387 esac
23388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23389 (eval "$ac_compile") 2>conftest.er1
23390 ac_status=$?
23391 grep -v '^ *+' conftest.er1 >conftest.err
23392 rm -f conftest.er1
23393 cat conftest.err >&5
23394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23395 (exit $ac_status); } && {
23396 test -z "$ac_c_werror_flag" ||
23397 test ! -s conftest.err
23398 } && test -s conftest.$ac_objext; then
23399 ac_lo=0 ac_mid=0
23400 while :; do
23401 cat >conftest.$ac_ext <<_ACEOF
23402 /* confdefs.h. */
23403 _ACEOF
23404 cat confdefs.h >>conftest.$ac_ext
23405 cat >>conftest.$ac_ext <<_ACEOF
23406 /* end confdefs.h. */
23407
23408 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23409 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23410 # error "fake wchar_t"
23411 #endif
23412 #ifdef HAVE_WCHAR_H
23413 # ifdef __CYGWIN__
23414 # include <stddef.h>
23415 # endif
23416 # include <wchar.h>
23417 #endif
23418 #ifdef HAVE_STDLIB_H
23419 # include <stdlib.h>
23420 #endif
23421 #include <stdio.h>
23422
23423
23424
23425 typedef wchar_t ac__type_sizeof_;
23426 int
23427 main ()
23428 {
23429 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23430 test_array [0] = 0
23431
23432 ;
23433 return 0;
23434 }
23435 _ACEOF
23436 rm -f conftest.$ac_objext
23437 if { (ac_try="$ac_compile"
23438 case "(($ac_try" in
23439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23440 *) ac_try_echo=$ac_try;;
23441 esac
23442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23443 (eval "$ac_compile") 2>conftest.er1
23444 ac_status=$?
23445 grep -v '^ *+' conftest.er1 >conftest.err
23446 rm -f conftest.er1
23447 cat conftest.err >&5
23448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23449 (exit $ac_status); } && {
23450 test -z "$ac_c_werror_flag" ||
23451 test ! -s conftest.err
23452 } && test -s conftest.$ac_objext; then
23453 ac_hi=$ac_mid; break
23454 else
23455 echo "$as_me: failed program was:" >&5
23456 sed 's/^/| /' conftest.$ac_ext >&5
23457
23458 ac_lo=`expr $ac_mid + 1`
23459 if test $ac_lo -le $ac_mid; then
23460 ac_lo= ac_hi=
23461 break
23462 fi
23463 ac_mid=`expr 2 '*' $ac_mid + 1`
23464 fi
23465
23466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23467 done
23468 else
23469 echo "$as_me: failed program was:" >&5
23470 sed 's/^/| /' conftest.$ac_ext >&5
23471
23472 cat >conftest.$ac_ext <<_ACEOF
23473 /* confdefs.h. */
23474 _ACEOF
23475 cat confdefs.h >>conftest.$ac_ext
23476 cat >>conftest.$ac_ext <<_ACEOF
23477 /* end confdefs.h. */
23478
23479 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23480 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23481 # error "fake wchar_t"
23482 #endif
23483 #ifdef HAVE_WCHAR_H
23484 # ifdef __CYGWIN__
23485 # include <stddef.h>
23486 # endif
23487 # include <wchar.h>
23488 #endif
23489 #ifdef HAVE_STDLIB_H
23490 # include <stdlib.h>
23491 #endif
23492 #include <stdio.h>
23493
23494
23495
23496 typedef wchar_t ac__type_sizeof_;
23497 int
23498 main ()
23499 {
23500 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23501 test_array [0] = 0
23502
23503 ;
23504 return 0;
23505 }
23506 _ACEOF
23507 rm -f conftest.$ac_objext
23508 if { (ac_try="$ac_compile"
23509 case "(($ac_try" in
23510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23511 *) ac_try_echo=$ac_try;;
23512 esac
23513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23514 (eval "$ac_compile") 2>conftest.er1
23515 ac_status=$?
23516 grep -v '^ *+' conftest.er1 >conftest.err
23517 rm -f conftest.er1
23518 cat conftest.err >&5
23519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23520 (exit $ac_status); } && {
23521 test -z "$ac_c_werror_flag" ||
23522 test ! -s conftest.err
23523 } && test -s conftest.$ac_objext; then
23524 ac_hi=-1 ac_mid=-1
23525 while :; do
23526 cat >conftest.$ac_ext <<_ACEOF
23527 /* confdefs.h. */
23528 _ACEOF
23529 cat confdefs.h >>conftest.$ac_ext
23530 cat >>conftest.$ac_ext <<_ACEOF
23531 /* end confdefs.h. */
23532
23533 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23534 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23535 # error "fake wchar_t"
23536 #endif
23537 #ifdef HAVE_WCHAR_H
23538 # ifdef __CYGWIN__
23539 # include <stddef.h>
23540 # endif
23541 # include <wchar.h>
23542 #endif
23543 #ifdef HAVE_STDLIB_H
23544 # include <stdlib.h>
23545 #endif
23546 #include <stdio.h>
23547
23548
23549
23550 typedef wchar_t ac__type_sizeof_;
23551 int
23552 main ()
23553 {
23554 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23555 test_array [0] = 0
23556
23557 ;
23558 return 0;
23559 }
23560 _ACEOF
23561 rm -f conftest.$ac_objext
23562 if { (ac_try="$ac_compile"
23563 case "(($ac_try" in
23564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23565 *) ac_try_echo=$ac_try;;
23566 esac
23567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23568 (eval "$ac_compile") 2>conftest.er1
23569 ac_status=$?
23570 grep -v '^ *+' conftest.er1 >conftest.err
23571 rm -f conftest.er1
23572 cat conftest.err >&5
23573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23574 (exit $ac_status); } && {
23575 test -z "$ac_c_werror_flag" ||
23576 test ! -s conftest.err
23577 } && test -s conftest.$ac_objext; then
23578 ac_lo=$ac_mid; break
23579 else
23580 echo "$as_me: failed program was:" >&5
23581 sed 's/^/| /' conftest.$ac_ext >&5
23582
23583 ac_hi=`expr '(' $ac_mid ')' - 1`
23584 if test $ac_mid -le $ac_hi; then
23585 ac_lo= ac_hi=
23586 break
23587 fi
23588 ac_mid=`expr 2 '*' $ac_mid`
23589 fi
23590
23591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23592 done
23593 else
23594 echo "$as_me: failed program was:" >&5
23595 sed 's/^/| /' conftest.$ac_ext >&5
23596
23597 ac_lo= ac_hi=
23598 fi
23599
23600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23601 fi
23602
23603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23604 # Binary search between lo and hi bounds.
23605 while test "x$ac_lo" != "x$ac_hi"; do
23606 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23607 cat >conftest.$ac_ext <<_ACEOF
23608 /* confdefs.h. */
23609 _ACEOF
23610 cat confdefs.h >>conftest.$ac_ext
23611 cat >>conftest.$ac_ext <<_ACEOF
23612 /* end confdefs.h. */
23613
23614 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23615 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23616 # error "fake wchar_t"
23617 #endif
23618 #ifdef HAVE_WCHAR_H
23619 # ifdef __CYGWIN__
23620 # include <stddef.h>
23621 # endif
23622 # include <wchar.h>
23623 #endif
23624 #ifdef HAVE_STDLIB_H
23625 # include <stdlib.h>
23626 #endif
23627 #include <stdio.h>
23628
23629
23630
23631 typedef wchar_t ac__type_sizeof_;
23632 int
23633 main ()
23634 {
23635 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23636 test_array [0] = 0
23637
23638 ;
23639 return 0;
23640 }
23641 _ACEOF
23642 rm -f conftest.$ac_objext
23643 if { (ac_try="$ac_compile"
23644 case "(($ac_try" in
23645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23646 *) ac_try_echo=$ac_try;;
23647 esac
23648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23649 (eval "$ac_compile") 2>conftest.er1
23650 ac_status=$?
23651 grep -v '^ *+' conftest.er1 >conftest.err
23652 rm -f conftest.er1
23653 cat conftest.err >&5
23654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23655 (exit $ac_status); } && {
23656 test -z "$ac_c_werror_flag" ||
23657 test ! -s conftest.err
23658 } && test -s conftest.$ac_objext; then
23659 ac_hi=$ac_mid
23660 else
23661 echo "$as_me: failed program was:" >&5
23662 sed 's/^/| /' conftest.$ac_ext >&5
23663
23664 ac_lo=`expr '(' $ac_mid ')' + 1`
23665 fi
23666
23667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23668 done
23669 case $ac_lo in
23670 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23671 '') if test "$ac_cv_type_wchar_t" = yes; then
23672 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23673 See \`config.log' for more details." >&5
23674 echo "$as_me: error: cannot compute sizeof (wchar_t)
23675 See \`config.log' for more details." >&2;}
23676 { (exit 77); exit 77; }; }
23677 else
23678 ac_cv_sizeof_wchar_t=0
23679 fi ;;
23680 esac
23681 else
23682 cat >conftest.$ac_ext <<_ACEOF
23683 /* confdefs.h. */
23684 _ACEOF
23685 cat confdefs.h >>conftest.$ac_ext
23686 cat >>conftest.$ac_ext <<_ACEOF
23687 /* end confdefs.h. */
23688
23689 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23690 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23691 # error "fake wchar_t"
23692 #endif
23693 #ifdef HAVE_WCHAR_H
23694 # ifdef __CYGWIN__
23695 # include <stddef.h>
23696 # endif
23697 # include <wchar.h>
23698 #endif
23699 #ifdef HAVE_STDLIB_H
23700 # include <stdlib.h>
23701 #endif
23702 #include <stdio.h>
23703
23704
23705
23706 typedef wchar_t ac__type_sizeof_;
23707 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23708 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23709 #include <stdio.h>
23710 #include <stdlib.h>
23711 int
23712 main ()
23713 {
23714
23715 FILE *f = fopen ("conftest.val", "w");
23716 if (! f)
23717 return 1;
23718 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23719 {
23720 long int i = longval ();
23721 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23722 return 1;
23723 fprintf (f, "%ld\n", i);
23724 }
23725 else
23726 {
23727 unsigned long int i = ulongval ();
23728 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23729 return 1;
23730 fprintf (f, "%lu\n", i);
23731 }
23732 return ferror (f) || fclose (f) != 0;
23733
23734 ;
23735 return 0;
23736 }
23737 _ACEOF
23738 rm -f conftest$ac_exeext
23739 if { (ac_try="$ac_link"
23740 case "(($ac_try" in
23741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23742 *) ac_try_echo=$ac_try;;
23743 esac
23744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23745 (eval "$ac_link") 2>&5
23746 ac_status=$?
23747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23748 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23749 { (case "(($ac_try" in
23750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23751 *) ac_try_echo=$ac_try;;
23752 esac
23753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23754 (eval "$ac_try") 2>&5
23755 ac_status=$?
23756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23757 (exit $ac_status); }; }; then
23758 ac_cv_sizeof_wchar_t=`cat conftest.val`
23759 else
23760 echo "$as_me: program exited with status $ac_status" >&5
23761 echo "$as_me: failed program was:" >&5
23762 sed 's/^/| /' conftest.$ac_ext >&5
23763
23764 ( exit $ac_status )
23765 if test "$ac_cv_type_wchar_t" = yes; then
23766 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23767 See \`config.log' for more details." >&5
23768 echo "$as_me: error: cannot compute sizeof (wchar_t)
23769 See \`config.log' for more details." >&2;}
23770 { (exit 77); exit 77; }; }
23771 else
23772 ac_cv_sizeof_wchar_t=0
23773 fi
23774 fi
23775 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23776 fi
23777 rm -f conftest.val
23778 fi
23779 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23780 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23781
23782
23783
23784 cat >>confdefs.h <<_ACEOF
23785 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23786 _ACEOF
23787
23788
23789 if test "$ac_cv_sizeof_wchar_t" != 0; then
23790 wxUSE_WCHAR_T=yes
23791 else
23792 wxUSE_WCHAR_T=no
23793 fi
23794
23795 { echo "$as_me:$LINENO: checking for va_copy" >&5
23796 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23797 if test "${wx_cv_func_va_copy+set}" = set; then
23798 echo $ECHO_N "(cached) $ECHO_C" >&6
23799 else
23800
23801 ac_ext=cpp
23802 ac_cpp='$CXXCPP $CPPFLAGS'
23803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23806
23807 cat >conftest.$ac_ext <<_ACEOF
23808
23809 #include <stdarg.h>
23810 void foo(char *f, ...)
23811 {
23812 va_list ap1, ap2;
23813 va_start(ap1, f);
23814 va_copy(ap2, ap1);
23815 va_end(ap2);
23816 va_end(ap1);
23817 }
23818 int main()
23819 {
23820 foo("hi", 17);
23821 return 0;
23822 }
23823 _ACEOF
23824 rm -f conftest.$ac_objext conftest$ac_exeext
23825 if { (ac_try="$ac_link"
23826 case "(($ac_try" in
23827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23828 *) ac_try_echo=$ac_try;;
23829 esac
23830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23831 (eval "$ac_link") 2>conftest.er1
23832 ac_status=$?
23833 grep -v '^ *+' conftest.er1 >conftest.err
23834 rm -f conftest.er1
23835 cat conftest.err >&5
23836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23837 (exit $ac_status); } && {
23838 test -z "$ac_cxx_werror_flag" ||
23839 test ! -s conftest.err
23840 } && test -s conftest$ac_exeext &&
23841 $as_test_x conftest$ac_exeext; then
23842 wx_cv_func_va_copy=yes
23843 else
23844 echo "$as_me: failed program was:" >&5
23845 sed 's/^/| /' conftest.$ac_ext >&5
23846
23847 wx_cv_func_va_copy=no
23848
23849 fi
23850
23851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23852 conftest$ac_exeext conftest.$ac_ext
23853 ac_ext=c
23854 ac_cpp='$CPP $CPPFLAGS'
23855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23858
23859
23860
23861 fi
23862 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23863 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23864
23865 if test $wx_cv_func_va_copy = "yes"; then
23866 cat >>confdefs.h <<\_ACEOF
23867 #define HAVE_VA_COPY 1
23868 _ACEOF
23869
23870 else
23871 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23872 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23873 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23874 echo $ECHO_N "(cached) $ECHO_C" >&6
23875 else
23876
23877 if test "$cross_compiling" = yes; then
23878 wx_cv_type_va_list_lvalue=yes
23879
23880 else
23881 cat >conftest.$ac_ext <<_ACEOF
23882
23883 #include <stdarg.h>
23884 int foo(char *f, ...)
23885 {
23886 va_list ap1, ap2;
23887 va_start(ap1, f);
23888 ap2 = ap1;
23889 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23890 return 1;
23891 va_end(ap2);
23892 va_end(ap1);
23893 return 0;
23894 }
23895 int main()
23896 {
23897 return foo("hi", 17);
23898 }
23899 _ACEOF
23900 rm -f conftest$ac_exeext
23901 if { (ac_try="$ac_link"
23902 case "(($ac_try" in
23903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23904 *) ac_try_echo=$ac_try;;
23905 esac
23906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23907 (eval "$ac_link") 2>&5
23908 ac_status=$?
23909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23910 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23911 { (case "(($ac_try" in
23912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23913 *) ac_try_echo=$ac_try;;
23914 esac
23915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23916 (eval "$ac_try") 2>&5
23917 ac_status=$?
23918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23919 (exit $ac_status); }; }; then
23920 wx_cv_type_va_list_lvalue=yes
23921 else
23922 echo "$as_me: program exited with status $ac_status" >&5
23923 echo "$as_me: failed program was:" >&5
23924 sed 's/^/| /' conftest.$ac_ext >&5
23925
23926 ( exit $ac_status )
23927 wx_cv_type_va_list_lvalue=no
23928 fi
23929 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23930 fi
23931
23932
23933
23934
23935 fi
23936 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23937 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23938
23939 if test $wx_cv_type_va_list_lvalue != "yes"; then
23940 cat >>confdefs.h <<\_ACEOF
23941 #define VA_LIST_IS_ARRAY 1
23942 _ACEOF
23943
23944 fi
23945 fi
23946
23947 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23948
23949 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23950 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23951 if test "${wx_cv_have_variadic_macros+set}" = set; then
23952 echo $ECHO_N "(cached) $ECHO_C" >&6
23953 else
23954
23955 ac_ext=cpp
23956 ac_cpp='$CXXCPP $CPPFLAGS'
23957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23960
23961 cat >conftest.$ac_ext <<_ACEOF
23962 /* confdefs.h. */
23963 _ACEOF
23964 cat confdefs.h >>conftest.$ac_ext
23965 cat >>conftest.$ac_ext <<_ACEOF
23966 /* end confdefs.h. */
23967
23968 #include <stdio.h>
23969 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23970
23971 int
23972 main ()
23973 {
23974
23975 test("%s %d %p", "test", 1, 0);
23976
23977
23978 ;
23979 return 0;
23980 }
23981 _ACEOF
23982 rm -f conftest.$ac_objext
23983 if { (ac_try="$ac_compile"
23984 case "(($ac_try" in
23985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23986 *) ac_try_echo=$ac_try;;
23987 esac
23988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23989 (eval "$ac_compile") 2>conftest.er1
23990 ac_status=$?
23991 grep -v '^ *+' conftest.er1 >conftest.err
23992 rm -f conftest.er1
23993 cat conftest.err >&5
23994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23995 (exit $ac_status); } && {
23996 test -z "$ac_cxx_werror_flag" ||
23997 test ! -s conftest.err
23998 } && test -s conftest.$ac_objext; then
23999 wx_cv_have_variadic_macros=yes
24000 else
24001 echo "$as_me: failed program was:" >&5
24002 sed 's/^/| /' conftest.$ac_ext >&5
24003
24004 wx_cv_have_variadic_macros=no
24005
24006 fi
24007
24008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24009 ac_ext=c
24010 ac_cpp='$CPP $CPPFLAGS'
24011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24014
24015
24016
24017 fi
24018 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24019 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24020
24021 if test $wx_cv_have_variadic_macros = "yes"; then
24022 cat >>confdefs.h <<\_ACEOF
24023 #define HAVE_VARIADIC_MACROS 1
24024 _ACEOF
24025
24026 fi
24027
24028 fi
24029
24030 LARGEFILE_CPPFLAGS=
24031 # Check whether --enable-largefile was given.
24032 if test "${enable_largefile+set}" = set; then
24033 enableval=$enable_largefile;
24034 fi
24035
24036 if test "$enable_largefile" != no; then
24037 wx_largefile=no
24038
24039 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24040 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24041 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24042 echo $ECHO_N "(cached) $ECHO_C" >&6
24043 else
24044
24045 cat >conftest.$ac_ext <<_ACEOF
24046 /* confdefs.h. */
24047 _ACEOF
24048 cat confdefs.h >>conftest.$ac_ext
24049 cat >>conftest.$ac_ext <<_ACEOF
24050 /* end confdefs.h. */
24051 #define _FILE_OFFSET_BITS 64
24052 #include <sys/types.h>
24053 int
24054 main ()
24055 {
24056 typedef struct {
24057 unsigned int field: sizeof(off_t) == 8;
24058 } wxlf;
24059
24060 ;
24061 return 0;
24062 }
24063 _ACEOF
24064 rm -f conftest.$ac_objext
24065 if { (ac_try="$ac_compile"
24066 case "(($ac_try" in
24067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24068 *) ac_try_echo=$ac_try;;
24069 esac
24070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24071 (eval "$ac_compile") 2>conftest.er1
24072 ac_status=$?
24073 grep -v '^ *+' conftest.er1 >conftest.err
24074 rm -f conftest.er1
24075 cat conftest.err >&5
24076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24077 (exit $ac_status); } && {
24078 test -z "$ac_c_werror_flag" ||
24079 test ! -s conftest.err
24080 } && test -s conftest.$ac_objext; then
24081 ac_cv_sys_file_offset_bits=64
24082 else
24083 echo "$as_me: failed program was:" >&5
24084 sed 's/^/| /' conftest.$ac_ext >&5
24085
24086 ac_cv_sys_file_offset_bits=no
24087 fi
24088
24089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24090
24091
24092 fi
24093 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24094 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24095
24096 if test "$ac_cv_sys_file_offset_bits" != no; then
24097 wx_largefile=yes
24098 cat >>confdefs.h <<_ACEOF
24099 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24100 _ACEOF
24101
24102 fi
24103
24104 if test "x$wx_largefile" != "xyes"; then
24105
24106 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24107 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24108 if test "${ac_cv_sys_large_files+set}" = set; then
24109 echo $ECHO_N "(cached) $ECHO_C" >&6
24110 else
24111
24112 cat >conftest.$ac_ext <<_ACEOF
24113 /* confdefs.h. */
24114 _ACEOF
24115 cat confdefs.h >>conftest.$ac_ext
24116 cat >>conftest.$ac_ext <<_ACEOF
24117 /* end confdefs.h. */
24118 #define _LARGE_FILES 1
24119 #include <sys/types.h>
24120 int
24121 main ()
24122 {
24123 typedef struct {
24124 unsigned int field: sizeof(off_t) == 8;
24125 } wxlf;
24126
24127 ;
24128 return 0;
24129 }
24130 _ACEOF
24131 rm -f conftest.$ac_objext
24132 if { (ac_try="$ac_compile"
24133 case "(($ac_try" in
24134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24135 *) ac_try_echo=$ac_try;;
24136 esac
24137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24138 (eval "$ac_compile") 2>conftest.er1
24139 ac_status=$?
24140 grep -v '^ *+' conftest.er1 >conftest.err
24141 rm -f conftest.er1
24142 cat conftest.err >&5
24143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24144 (exit $ac_status); } && {
24145 test -z "$ac_c_werror_flag" ||
24146 test ! -s conftest.err
24147 } && test -s conftest.$ac_objext; then
24148 ac_cv_sys_large_files=1
24149 else
24150 echo "$as_me: failed program was:" >&5
24151 sed 's/^/| /' conftest.$ac_ext >&5
24152
24153 ac_cv_sys_large_files=no
24154 fi
24155
24156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24157
24158
24159 fi
24160 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24161 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24162
24163 if test "$ac_cv_sys_large_files" != no; then
24164 wx_largefile=yes
24165 cat >>confdefs.h <<_ACEOF
24166 #define _LARGE_FILES $ac_cv_sys_large_files
24167 _ACEOF
24168
24169 fi
24170
24171 fi
24172
24173 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24174 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24175 if test "x$wx_largefile" = "xyes"; then
24176 cat >>confdefs.h <<\_ACEOF
24177 #define HAVE_LARGEFILE_SUPPORT 1
24178 _ACEOF
24179
24180 fi
24181 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24182 echo "${ECHO_T}$wx_largefile" >&6; }
24183 fi
24184
24185 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24186 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24187 elif test "$ac_cv_sys_large_files" = 1; then
24188 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24189 fi
24190
24191 if test -n "$LARGEFILE_CPPFLAGS"; then
24192 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24193
24194 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24195 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24196 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24197 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24198 echo $ECHO_N "(cached) $ECHO_C" >&6
24199 else
24200
24201 ac_ext=cpp
24202 ac_cpp='$CXXCPP $CPPFLAGS'
24203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24206
24207 cat >conftest.$ac_ext <<_ACEOF
24208 /* confdefs.h. */
24209 _ACEOF
24210 cat confdefs.h >>conftest.$ac_ext
24211 cat >>conftest.$ac_ext <<_ACEOF
24212 /* end confdefs.h. */
24213
24214 int
24215 main ()
24216 {
24217
24218 #ifndef __STDC_EXT__
24219 choke me
24220 #endif
24221
24222 ;
24223 return 0;
24224 }
24225 _ACEOF
24226 rm -f conftest.$ac_objext
24227 if { (ac_try="$ac_compile"
24228 case "(($ac_try" in
24229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24230 *) ac_try_echo=$ac_try;;
24231 esac
24232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24233 (eval "$ac_compile") 2>conftest.er1
24234 ac_status=$?
24235 grep -v '^ *+' conftest.er1 >conftest.err
24236 rm -f conftest.er1
24237 cat conftest.err >&5
24238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24239 (exit $ac_status); } && {
24240 test -z "$ac_cxx_werror_flag" ||
24241 test ! -s conftest.err
24242 } && test -s conftest.$ac_objext; then
24243 wx_cv_STDC_EXT_required=no
24244 else
24245 echo "$as_me: failed program was:" >&5
24246 sed 's/^/| /' conftest.$ac_ext >&5
24247
24248 wx_cv_STDC_EXT_required=yes
24249
24250 fi
24251
24252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24253 ac_ext=c
24254 ac_cpp='$CPP $CPPFLAGS'
24255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24258
24259
24260
24261 fi
24262 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24263 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24264 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24265 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24266 fi
24267 fi
24268 fi
24269
24270 ac_ext=cpp
24271 ac_cpp='$CXXCPP $CPPFLAGS'
24272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24275
24276 old_CPPFLAGS="$CPPFLAGS"
24277 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24278 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24279 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24280 if test "${ac_cv_sys_largefile_source+set}" = set; then
24281 echo $ECHO_N "(cached) $ECHO_C" >&6
24282 else
24283 while :; do
24284 cat >conftest.$ac_ext <<_ACEOF
24285 /* confdefs.h. */
24286 _ACEOF
24287 cat confdefs.h >>conftest.$ac_ext
24288 cat >>conftest.$ac_ext <<_ACEOF
24289 /* end confdefs.h. */
24290 #include <stdio.h>
24291 int
24292 main ()
24293 {
24294 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
24295 ;
24296 return 0;
24297 }
24298 _ACEOF
24299 rm -f conftest.$ac_objext conftest$ac_exeext
24300 if { (ac_try="$ac_link"
24301 case "(($ac_try" in
24302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24303 *) ac_try_echo=$ac_try;;
24304 esac
24305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24306 (eval "$ac_link") 2>conftest.er1
24307 ac_status=$?
24308 grep -v '^ *+' conftest.er1 >conftest.err
24309 rm -f conftest.er1
24310 cat conftest.err >&5
24311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24312 (exit $ac_status); } && {
24313 test -z "$ac_cxx_werror_flag" ||
24314 test ! -s conftest.err
24315 } && test -s conftest$ac_exeext &&
24316 $as_test_x conftest$ac_exeext; then
24317 ac_cv_sys_largefile_source=no; break
24318 else
24319 echo "$as_me: failed program was:" >&5
24320 sed 's/^/| /' conftest.$ac_ext >&5
24321
24322
24323 fi
24324
24325 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24326 conftest$ac_exeext conftest.$ac_ext
24327 cat >conftest.$ac_ext <<_ACEOF
24328 /* confdefs.h. */
24329 _ACEOF
24330 cat confdefs.h >>conftest.$ac_ext
24331 cat >>conftest.$ac_ext <<_ACEOF
24332 /* end confdefs.h. */
24333 #define _LARGEFILE_SOURCE 1
24334 #include <stdio.h>
24335 int
24336 main ()
24337 {
24338 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
24339 ;
24340 return 0;
24341 }
24342 _ACEOF
24343 rm -f conftest.$ac_objext conftest$ac_exeext
24344 if { (ac_try="$ac_link"
24345 case "(($ac_try" in
24346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24347 *) ac_try_echo=$ac_try;;
24348 esac
24349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24350 (eval "$ac_link") 2>conftest.er1
24351 ac_status=$?
24352 grep -v '^ *+' conftest.er1 >conftest.err
24353 rm -f conftest.er1
24354 cat conftest.err >&5
24355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24356 (exit $ac_status); } && {
24357 test -z "$ac_cxx_werror_flag" ||
24358 test ! -s conftest.err
24359 } && test -s conftest$ac_exeext &&
24360 $as_test_x conftest$ac_exeext; then
24361 ac_cv_sys_largefile_source=1; break
24362 else
24363 echo "$as_me: failed program was:" >&5
24364 sed 's/^/| /' conftest.$ac_ext >&5
24365
24366
24367 fi
24368
24369 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24370 conftest$ac_exeext conftest.$ac_ext
24371 ac_cv_sys_largefile_source=unknown
24372 break
24373 done
24374 fi
24375 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24376 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24377 case $ac_cv_sys_largefile_source in #(
24378 no | unknown) ;;
24379 *)
24380 cat >>confdefs.h <<_ACEOF
24381 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24382 _ACEOF
24383 ;;
24384 esac
24385 rm -f conftest*
24386
24387 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24388 # in glibc 2.1.3, but that breaks too many other things.
24389 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24390 if test $ac_cv_sys_largefile_source != unknown; then
24391
24392 cat >>confdefs.h <<\_ACEOF
24393 #define HAVE_FSEEKO 1
24394 _ACEOF
24395
24396 fi
24397
24398 CPPFLAGS="$old_CPPFLAGS"
24399 ac_ext=c
24400 ac_cpp='$CPP $CPPFLAGS'
24401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24404
24405 if test "$ac_cv_sys_largefile_source" != no; then
24406 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24407 fi
24408
24409 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24410 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24411 if test "${ac_cv_c_bigendian+set}" = set; then
24412 echo $ECHO_N "(cached) $ECHO_C" >&6
24413 else
24414 ac_cv_c_bigendian=unknown
24415 # See if sys/param.h defines the BYTE_ORDER macro.
24416 cat >conftest.$ac_ext <<_ACEOF
24417 /* confdefs.h. */
24418 _ACEOF
24419 cat confdefs.h >>conftest.$ac_ext
24420 cat >>conftest.$ac_ext <<_ACEOF
24421 /* end confdefs.h. */
24422 #include <sys/types.h>
24423 #include <sys/param.h>
24424 int
24425 main ()
24426 {
24427
24428 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24429 bogus endian macros
24430 #endif
24431 ;
24432 return 0;
24433 }
24434 _ACEOF
24435 rm -f conftest.$ac_objext
24436 if { (ac_try="$ac_compile"
24437 case "(($ac_try" in
24438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24439 *) ac_try_echo=$ac_try;;
24440 esac
24441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24442 (eval "$ac_compile") 2>conftest.er1
24443 ac_status=$?
24444 grep -v '^ *+' conftest.er1 >conftest.err
24445 rm -f conftest.er1
24446 cat conftest.err >&5
24447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24448 (exit $ac_status); } && {
24449 test -z "$ac_c_werror_flag" ||
24450 test ! -s conftest.err
24451 } && test -s conftest.$ac_objext; then
24452 # It does; now see whether it defined to BIG_ENDIAN or not.
24453 cat >conftest.$ac_ext <<_ACEOF
24454 /* confdefs.h. */
24455 _ACEOF
24456 cat confdefs.h >>conftest.$ac_ext
24457 cat >>conftest.$ac_ext <<_ACEOF
24458 /* end confdefs.h. */
24459 #include <sys/types.h>
24460 #include <sys/param.h>
24461 int
24462 main ()
24463 {
24464
24465 #if BYTE_ORDER != BIG_ENDIAN
24466 not big endian
24467 #endif
24468 ;
24469 return 0;
24470 }
24471 _ACEOF
24472 rm -f conftest.$ac_objext
24473 if { (ac_try="$ac_compile"
24474 case "(($ac_try" in
24475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24476 *) ac_try_echo=$ac_try;;
24477 esac
24478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24479 (eval "$ac_compile") 2>conftest.er1
24480 ac_status=$?
24481 grep -v '^ *+' conftest.er1 >conftest.err
24482 rm -f conftest.er1
24483 cat conftest.err >&5
24484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24485 (exit $ac_status); } && {
24486 test -z "$ac_c_werror_flag" ||
24487 test ! -s conftest.err
24488 } && test -s conftest.$ac_objext; then
24489 ac_cv_c_bigendian=yes
24490 else
24491 echo "$as_me: failed program was:" >&5
24492 sed 's/^/| /' conftest.$ac_ext >&5
24493
24494 ac_cv_c_bigendian=no
24495 fi
24496
24497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24498 else
24499 echo "$as_me: failed program was:" >&5
24500 sed 's/^/| /' conftest.$ac_ext >&5
24501
24502
24503 fi
24504
24505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24506 if test $ac_cv_c_bigendian = unknown; then
24507 if test "$cross_compiling" = yes; then
24508 ac_cv_c_bigendian=unknown
24509 else
24510 cat >conftest.$ac_ext <<_ACEOF
24511 /* confdefs.h. */
24512 _ACEOF
24513 cat confdefs.h >>conftest.$ac_ext
24514 cat >>conftest.$ac_ext <<_ACEOF
24515 /* end confdefs.h. */
24516 main () {
24517 /* Are we little or big endian? From Harbison&Steele. */
24518 union
24519 {
24520 long l;
24521 char c[sizeof (long)];
24522 } u;
24523 u.l = 1;
24524 exit (u.c[sizeof (long) - 1] == 1);
24525 }
24526 _ACEOF
24527 rm -f conftest$ac_exeext
24528 if { (ac_try="$ac_link"
24529 case "(($ac_try" in
24530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24531 *) ac_try_echo=$ac_try;;
24532 esac
24533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24534 (eval "$ac_link") 2>&5
24535 ac_status=$?
24536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24537 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24538 { (case "(($ac_try" in
24539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24540 *) ac_try_echo=$ac_try;;
24541 esac
24542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24543 (eval "$ac_try") 2>&5
24544 ac_status=$?
24545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24546 (exit $ac_status); }; }; then
24547 ac_cv_c_bigendian=no
24548 else
24549 echo "$as_me: program exited with status $ac_status" >&5
24550 echo "$as_me: failed program was:" >&5
24551 sed 's/^/| /' conftest.$ac_ext >&5
24552
24553 ( exit $ac_status )
24554 ac_cv_c_bigendian=yes
24555 fi
24556 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24557 fi
24558
24559
24560 fi
24561 fi
24562 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24563 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24564 if test $ac_cv_c_bigendian = unknown; then
24565 { 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
24566 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;}
24567 fi
24568 if test $ac_cv_c_bigendian = yes; then
24569 cat >>confdefs.h <<\_ACEOF
24570 #define WORDS_BIGENDIAN 1
24571 _ACEOF
24572
24573 fi
24574
24575
24576
24577
24578 ac_ext=cpp
24579 ac_cpp='$CXXCPP $CPPFLAGS'
24580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24583
24584
24585
24586 for ac_header in iostream
24587 do
24588 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24589 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24590 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24591 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24592 echo $ECHO_N "(cached) $ECHO_C" >&6
24593 else
24594 cat >conftest.$ac_ext <<_ACEOF
24595 /* confdefs.h. */
24596 _ACEOF
24597 cat confdefs.h >>conftest.$ac_ext
24598 cat >>conftest.$ac_ext <<_ACEOF
24599 /* end confdefs.h. */
24600
24601
24602 #include <$ac_header>
24603 _ACEOF
24604 rm -f conftest.$ac_objext
24605 if { (ac_try="$ac_compile"
24606 case "(($ac_try" in
24607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24608 *) ac_try_echo=$ac_try;;
24609 esac
24610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24611 (eval "$ac_compile") 2>conftest.er1
24612 ac_status=$?
24613 grep -v '^ *+' conftest.er1 >conftest.err
24614 rm -f conftest.er1
24615 cat conftest.err >&5
24616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24617 (exit $ac_status); } && {
24618 test -z "$ac_cxx_werror_flag" ||
24619 test ! -s conftest.err
24620 } && test -s conftest.$ac_objext; then
24621 eval "$as_ac_Header=yes"
24622 else
24623 echo "$as_me: failed program was:" >&5
24624 sed 's/^/| /' conftest.$ac_ext >&5
24625
24626 eval "$as_ac_Header=no"
24627 fi
24628
24629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24630 fi
24631 ac_res=`eval echo '${'$as_ac_Header'}'`
24632 { echo "$as_me:$LINENO: result: $ac_res" >&5
24633 echo "${ECHO_T}$ac_res" >&6; }
24634 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24635 cat >>confdefs.h <<_ACEOF
24636 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24637 _ACEOF
24638
24639 fi
24640
24641 done
24642
24643
24644 if test "$ac_cv_header_iostream" = "yes" ; then
24645 :
24646 else
24647 cat >>confdefs.h <<\_ACEOF
24648 #define wxUSE_IOSTREAMH 1
24649 _ACEOF
24650
24651 fi
24652
24653 ac_ext=c
24654 ac_cpp='$CPP $CPPFLAGS'
24655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24658
24659
24660
24661
24662 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24663 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24664 if test "${wx_cv_explicit+set}" = set; then
24665 echo $ECHO_N "(cached) $ECHO_C" >&6
24666 else
24667
24668
24669 ac_ext=cpp
24670 ac_cpp='$CXXCPP $CPPFLAGS'
24671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24674
24675
24676 cat >conftest.$ac_ext <<_ACEOF
24677 /* confdefs.h. */
24678 _ACEOF
24679 cat confdefs.h >>conftest.$ac_ext
24680 cat >>conftest.$ac_ext <<_ACEOF
24681 /* end confdefs.h. */
24682
24683 class Foo { public: explicit Foo(int) {} };
24684
24685 int
24686 main ()
24687 {
24688
24689 return 0;
24690
24691 ;
24692 return 0;
24693 }
24694 _ACEOF
24695 rm -f conftest.$ac_objext
24696 if { (ac_try="$ac_compile"
24697 case "(($ac_try" in
24698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24699 *) ac_try_echo=$ac_try;;
24700 esac
24701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24702 (eval "$ac_compile") 2>conftest.er1
24703 ac_status=$?
24704 grep -v '^ *+' conftest.er1 >conftest.err
24705 rm -f conftest.er1
24706 cat conftest.err >&5
24707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24708 (exit $ac_status); } && {
24709 test -z "$ac_cxx_werror_flag" ||
24710 test ! -s conftest.err
24711 } && test -s conftest.$ac_objext; then
24712
24713 cat >conftest.$ac_ext <<_ACEOF
24714 /* confdefs.h. */
24715 _ACEOF
24716 cat confdefs.h >>conftest.$ac_ext
24717 cat >>conftest.$ac_ext <<_ACEOF
24718 /* end confdefs.h. */
24719
24720 class Foo { public: explicit Foo(int) {} };
24721 static void TakeFoo(const Foo& foo) { }
24722
24723 int
24724 main ()
24725 {
24726
24727 TakeFoo(17);
24728 return 0;
24729
24730 ;
24731 return 0;
24732 }
24733 _ACEOF
24734 rm -f conftest.$ac_objext
24735 if { (ac_try="$ac_compile"
24736 case "(($ac_try" in
24737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24738 *) ac_try_echo=$ac_try;;
24739 esac
24740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24741 (eval "$ac_compile") 2>conftest.er1
24742 ac_status=$?
24743 grep -v '^ *+' conftest.er1 >conftest.err
24744 rm -f conftest.er1
24745 cat conftest.err >&5
24746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24747 (exit $ac_status); } && {
24748 test -z "$ac_cxx_werror_flag" ||
24749 test ! -s conftest.err
24750 } && test -s conftest.$ac_objext; then
24751 wx_cv_explicit=no
24752 else
24753 echo "$as_me: failed program was:" >&5
24754 sed 's/^/| /' conftest.$ac_ext >&5
24755
24756 wx_cv_explicit=yes
24757
24758 fi
24759
24760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24761
24762 else
24763 echo "$as_me: failed program was:" >&5
24764 sed 's/^/| /' conftest.$ac_ext >&5
24765
24766 wx_cv_explicit=no
24767
24768 fi
24769
24770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24771
24772 ac_ext=c
24773 ac_cpp='$CPP $CPPFLAGS'
24774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24777
24778
24779 fi
24780 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24781 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24782
24783 if test "$wx_cv_explicit" = "yes"; then
24784 cat >>confdefs.h <<\_ACEOF
24785 #define HAVE_EXPLICIT 1
24786 _ACEOF
24787
24788 fi
24789
24790
24791 if test "x$SUNCXX" = xyes; then
24792 CXXFLAGS="-features=tmplife $CXXFLAGS"
24793 fi
24794
24795 if test "x$SUNCC" = xyes; then
24796 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24797 fi
24798
24799 if test "x$SGICC" = "xyes"; then
24800 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
24801 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
24802 if test "${wx_cv_prog_sgicc744+set}" = set; then
24803 echo $ECHO_N "(cached) $ECHO_C" >&6
24804 else
24805
24806 cat >conftest.$ac_ext <<_ACEOF
24807 /* confdefs.h. */
24808 _ACEOF
24809 cat confdefs.h >>conftest.$ac_ext
24810 cat >>conftest.$ac_ext <<_ACEOF
24811 /* end confdefs.h. */
24812
24813 int
24814 main ()
24815 {
24816
24817 #if _SGI_COMPILER_VERSION >= 744
24818 chock me: mipsPro is 7.4.4 or later
24819 #endif
24820
24821 ;
24822 return 0;
24823 }
24824 _ACEOF
24825 rm -f conftest.$ac_objext
24826 if { (ac_try="$ac_compile"
24827 case "(($ac_try" in
24828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24829 *) ac_try_echo=$ac_try;;
24830 esac
24831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24832 (eval "$ac_compile") 2>conftest.er1
24833 ac_status=$?
24834 grep -v '^ *+' conftest.er1 >conftest.err
24835 rm -f conftest.er1
24836 cat conftest.err >&5
24837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24838 (exit $ac_status); } && {
24839 test -z "$ac_c_werror_flag" ||
24840 test ! -s conftest.err
24841 } && test -s conftest.$ac_objext; then
24842 wx_cv_prog_sgicc744=no
24843 else
24844 echo "$as_me: failed program was:" >&5
24845 sed 's/^/| /' conftest.$ac_ext >&5
24846
24847 wx_cv_prog_sgicc744=yes
24848
24849 fi
24850
24851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24852
24853
24854 fi
24855 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
24856 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
24857
24858 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
24859 CFLAGS="-woff 3970 $CFLAGS"
24860 fi
24861 fi
24862 if test "x$SGICXX" = "xyes"; then
24863 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
24864 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
24865 if test "${wx_cv_prog_sgicxx744+set}" = set; then
24866 echo $ECHO_N "(cached) $ECHO_C" >&6
24867 else
24868
24869 ac_ext=cpp
24870 ac_cpp='$CXXCPP $CPPFLAGS'
24871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24874
24875 cat >conftest.$ac_ext <<_ACEOF
24876 /* confdefs.h. */
24877 _ACEOF
24878 cat confdefs.h >>conftest.$ac_ext
24879 cat >>conftest.$ac_ext <<_ACEOF
24880 /* end confdefs.h. */
24881
24882 int
24883 main ()
24884 {
24885
24886 #if _SGI_COMPILER_VERSION >= 744
24887 chock me: mipsPro is 7.4.4 or later
24888 #endif
24889
24890 ;
24891 return 0;
24892 }
24893 _ACEOF
24894 rm -f conftest.$ac_objext
24895 if { (ac_try="$ac_compile"
24896 case "(($ac_try" in
24897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24898 *) ac_try_echo=$ac_try;;
24899 esac
24900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24901 (eval "$ac_compile") 2>conftest.er1
24902 ac_status=$?
24903 grep -v '^ *+' conftest.er1 >conftest.err
24904 rm -f conftest.er1
24905 cat conftest.err >&5
24906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24907 (exit $ac_status); } && {
24908 test -z "$ac_cxx_werror_flag" ||
24909 test ! -s conftest.err
24910 } && test -s conftest.$ac_objext; then
24911 wx_cv_prog_sgicxx744=no
24912 else
24913 echo "$as_me: failed program was:" >&5
24914 sed 's/^/| /' conftest.$ac_ext >&5
24915
24916 wx_cv_prog_sgicxx744=yes
24917
24918 fi
24919
24920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24921 ac_ext=c
24922 ac_cpp='$CPP $CPPFLAGS'
24923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24926
24927
24928
24929 fi
24930 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
24931 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
24932
24933 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
24934 CXXFLAGS="-woff 3970 $CXXFLAGS"
24935 fi
24936 fi
24937
24938 if test "x$HPCC" = "xyes"; then
24939 CFLAGS="+W 2011,2450 $CFLAGS"
24940 fi
24941 if test "x$HPCXX" = "xyes"; then
24942 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24943 fi
24944
24945 if test "x$COMPAQCXX" = "xyes"; then
24946 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24947 fi
24948
24949 ac_ext=cpp
24950 ac_cpp='$CXXCPP $CPPFLAGS'
24951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24954
24955
24956 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24957 if test "$wxUSE_UNICODE" = "yes"; then
24958 std_string="std::wstring"
24959 char_type="wchar_t"
24960 else
24961 std_string="std::string"
24962 char_type="char"
24963 fi
24964
24965 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24966 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24967 if test "${wx_cv_class_stdstring+set}" = set; then
24968 echo $ECHO_N "(cached) $ECHO_C" >&6
24969 else
24970
24971 cat >conftest.$ac_ext <<_ACEOF
24972 /* confdefs.h. */
24973 _ACEOF
24974 cat confdefs.h >>conftest.$ac_ext
24975 cat >>conftest.$ac_ext <<_ACEOF
24976 /* end confdefs.h. */
24977 #include <string>
24978 int
24979 main ()
24980 {
24981 $std_string foo;
24982 ;
24983 return 0;
24984 }
24985 _ACEOF
24986 rm -f conftest.$ac_objext
24987 if { (ac_try="$ac_compile"
24988 case "(($ac_try" in
24989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24990 *) ac_try_echo=$ac_try;;
24991 esac
24992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24993 (eval "$ac_compile") 2>conftest.er1
24994 ac_status=$?
24995 grep -v '^ *+' conftest.er1 >conftest.err
24996 rm -f conftest.er1
24997 cat conftest.err >&5
24998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24999 (exit $ac_status); } && {
25000 test -z "$ac_cxx_werror_flag" ||
25001 test ! -s conftest.err
25002 } && test -s conftest.$ac_objext; then
25003 wx_cv_class_stdstring=yes
25004 else
25005 echo "$as_me: failed program was:" >&5
25006 sed 's/^/| /' conftest.$ac_ext >&5
25007
25008 wx_cv_class_stdstring=no
25009
25010 fi
25011
25012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25013
25014
25015 fi
25016 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25017 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25018
25019 if test "$wx_cv_class_stdstring" = yes; then
25020 if test "$wxUSE_UNICODE" = "yes"; then
25021 cat >>confdefs.h <<\_ACEOF
25022 #define HAVE_STD_WSTRING 1
25023 _ACEOF
25024
25025 fi
25026 else
25027 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25028 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25029 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25030 echo $ECHO_N "(cached) $ECHO_C" >&6
25031 else
25032
25033 cat >conftest.$ac_ext <<_ACEOF
25034 /* confdefs.h. */
25035 _ACEOF
25036 cat confdefs.h >>conftest.$ac_ext
25037 cat >>conftest.$ac_ext <<_ACEOF
25038 /* end confdefs.h. */
25039
25040 #ifdef HAVE_WCHAR_H
25041 # ifdef __CYGWIN__
25042 # include <stddef.h>
25043 # endif
25044 # include <wchar.h>
25045 #endif
25046 #ifdef HAVE_STDLIB_H
25047 # include <stdlib.h>
25048 #endif
25049 #include <stdio.h>
25050 #include <string>
25051
25052 int
25053 main ()
25054 {
25055 std::basic_string<$char_type> foo;
25056 const $char_type* dummy = foo.c_str();
25057 ;
25058 return 0;
25059 }
25060 _ACEOF
25061 rm -f conftest.$ac_objext
25062 if { (ac_try="$ac_compile"
25063 case "(($ac_try" in
25064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25065 *) ac_try_echo=$ac_try;;
25066 esac
25067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25068 (eval "$ac_compile") 2>conftest.er1
25069 ac_status=$?
25070 grep -v '^ *+' conftest.er1 >conftest.err
25071 rm -f conftest.er1
25072 cat conftest.err >&5
25073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25074 (exit $ac_status); } && {
25075 test -z "$ac_cxx_werror_flag" ||
25076 test ! -s conftest.err
25077 } && test -s conftest.$ac_objext; then
25078 wx_cv_class_stdbasicstring=yes
25079 else
25080 echo "$as_me: failed program was:" >&5
25081 sed 's/^/| /' conftest.$ac_ext >&5
25082
25083 wx_cv_class_stdbasicstring=no
25084
25085 fi
25086
25087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25088
25089
25090 fi
25091 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25092 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25093
25094 if test "$wx_cv_class_stdbasicstring" != yes; then
25095 if test "$wxUSE_STL" = "yes"; then
25096 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25097 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25098 { (exit 1); exit 1; }; }
25099 elif test "$wxUSE_STD_STRING" = "yes"; then
25100 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25101 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25102 { (exit 1); exit 1; }; }
25103 else
25104 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25105 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25106 wxUSE_STD_STRING=no
25107 fi
25108 fi
25109 fi
25110 fi
25111
25112 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25113 { echo "$as_me:$LINENO: checking for std::istream" >&5
25114 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25115 if test "${ac_cv_type_std__istream+set}" = set; then
25116 echo $ECHO_N "(cached) $ECHO_C" >&6
25117 else
25118 cat >conftest.$ac_ext <<_ACEOF
25119 /* confdefs.h. */
25120 _ACEOF
25121 cat confdefs.h >>conftest.$ac_ext
25122 cat >>conftest.$ac_ext <<_ACEOF
25123 /* end confdefs.h. */
25124 #include <iostream>
25125
25126 typedef std::istream ac__type_new_;
25127 int
25128 main ()
25129 {
25130 if ((ac__type_new_ *) 0)
25131 return 0;
25132 if (sizeof (ac__type_new_))
25133 return 0;
25134 ;
25135 return 0;
25136 }
25137 _ACEOF
25138 rm -f conftest.$ac_objext
25139 if { (ac_try="$ac_compile"
25140 case "(($ac_try" in
25141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25142 *) ac_try_echo=$ac_try;;
25143 esac
25144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25145 (eval "$ac_compile") 2>conftest.er1
25146 ac_status=$?
25147 grep -v '^ *+' conftest.er1 >conftest.err
25148 rm -f conftest.er1
25149 cat conftest.err >&5
25150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25151 (exit $ac_status); } && {
25152 test -z "$ac_cxx_werror_flag" ||
25153 test ! -s conftest.err
25154 } && test -s conftest.$ac_objext; then
25155 ac_cv_type_std__istream=yes
25156 else
25157 echo "$as_me: failed program was:" >&5
25158 sed 's/^/| /' conftest.$ac_ext >&5
25159
25160 ac_cv_type_std__istream=no
25161 fi
25162
25163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25164 fi
25165 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25166 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25167 if test $ac_cv_type_std__istream = yes; then
25168
25169 cat >>confdefs.h <<_ACEOF
25170 #define HAVE_STD__ISTREAM 1
25171 _ACEOF
25172
25173
25174 else
25175 wxUSE_STD_IOSTREAM=no
25176 fi
25177 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25178 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25179 if test "${ac_cv_type_std__ostream+set}" = set; then
25180 echo $ECHO_N "(cached) $ECHO_C" >&6
25181 else
25182 cat >conftest.$ac_ext <<_ACEOF
25183 /* confdefs.h. */
25184 _ACEOF
25185 cat confdefs.h >>conftest.$ac_ext
25186 cat >>conftest.$ac_ext <<_ACEOF
25187 /* end confdefs.h. */
25188 #include <iostream>
25189
25190 typedef std::ostream ac__type_new_;
25191 int
25192 main ()
25193 {
25194 if ((ac__type_new_ *) 0)
25195 return 0;
25196 if (sizeof (ac__type_new_))
25197 return 0;
25198 ;
25199 return 0;
25200 }
25201 _ACEOF
25202 rm -f conftest.$ac_objext
25203 if { (ac_try="$ac_compile"
25204 case "(($ac_try" in
25205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25206 *) ac_try_echo=$ac_try;;
25207 esac
25208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25209 (eval "$ac_compile") 2>conftest.er1
25210 ac_status=$?
25211 grep -v '^ *+' conftest.er1 >conftest.err
25212 rm -f conftest.er1
25213 cat conftest.err >&5
25214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25215 (exit $ac_status); } && {
25216 test -z "$ac_cxx_werror_flag" ||
25217 test ! -s conftest.err
25218 } && test -s conftest.$ac_objext; then
25219 ac_cv_type_std__ostream=yes
25220 else
25221 echo "$as_me: failed program was:" >&5
25222 sed 's/^/| /' conftest.$ac_ext >&5
25223
25224 ac_cv_type_std__ostream=no
25225 fi
25226
25227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25228 fi
25229 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25230 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25231 if test $ac_cv_type_std__ostream = yes; then
25232
25233 cat >>confdefs.h <<_ACEOF
25234 #define HAVE_STD__OSTREAM 1
25235 _ACEOF
25236
25237
25238 else
25239 wxUSE_STD_IOSTREAM=no
25240 fi
25241
25242
25243 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25244 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25245 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
25246 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25247 { (exit 1); exit 1; }; }
25248 else
25249 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25250 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25251 fi
25252 fi
25253 fi
25254
25255 if test "$wxUSE_STL" = "yes"; then
25256 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25257 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25258 if test "${wx_cv_lib_stl+set}" = set; then
25259 echo $ECHO_N "(cached) $ECHO_C" >&6
25260 else
25261 cat >conftest.$ac_ext <<_ACEOF
25262 /* confdefs.h. */
25263 _ACEOF
25264 cat confdefs.h >>conftest.$ac_ext
25265 cat >>conftest.$ac_ext <<_ACEOF
25266 /* end confdefs.h. */
25267 #include <string>
25268 #include <functional>
25269 #include <algorithm>
25270 #include <vector>
25271 #include <list>
25272 int
25273 main ()
25274 {
25275 std::vector<int> moo;
25276 std::list<int> foo;
25277 std::vector<int>::iterator it =
25278 std::find_if(moo.begin(), moo.end(),
25279 std::bind2nd(std::less<int>(), 3));
25280 ;
25281 return 0;
25282 }
25283 _ACEOF
25284 rm -f conftest.$ac_objext
25285 if { (ac_try="$ac_compile"
25286 case "(($ac_try" in
25287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25288 *) ac_try_echo=$ac_try;;
25289 esac
25290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25291 (eval "$ac_compile") 2>conftest.er1
25292 ac_status=$?
25293 grep -v '^ *+' conftest.er1 >conftest.err
25294 rm -f conftest.er1
25295 cat conftest.err >&5
25296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25297 (exit $ac_status); } && {
25298 test -z "$ac_cxx_werror_flag" ||
25299 test ! -s conftest.err
25300 } && test -s conftest.$ac_objext; then
25301 wx_cv_lib_stl=yes
25302 else
25303 echo "$as_me: failed program was:" >&5
25304 sed 's/^/| /' conftest.$ac_ext >&5
25305
25306 wx_cv_lib_stl=no
25307
25308 fi
25309
25310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25311
25312 fi
25313 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25314 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25315
25316 if test "$wx_cv_lib_stl" != yes; then
25317 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
25318 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
25319 { (exit 1); exit 1; }; }
25320 fi
25321
25322 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25323 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25324 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25325 echo $ECHO_N "(cached) $ECHO_C" >&6
25326 else
25327 cat >conftest.$ac_ext <<_ACEOF
25328 /* confdefs.h. */
25329 _ACEOF
25330 cat confdefs.h >>conftest.$ac_ext
25331 cat >>conftest.$ac_ext <<_ACEOF
25332 /* end confdefs.h. */
25333 #include <string>
25334 int
25335 main ()
25336 {
25337 std::string foo, bar;
25338 foo.compare(bar);
25339 foo.compare(1, 1, bar);
25340 foo.compare(1, 1, bar, 1, 1);
25341 foo.compare("");
25342 foo.compare(1, 1, "");
25343 foo.compare(1, 1, "", 2);
25344 ;
25345 return 0;
25346 }
25347 _ACEOF
25348 rm -f conftest.$ac_objext
25349 if { (ac_try="$ac_compile"
25350 case "(($ac_try" in
25351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25352 *) ac_try_echo=$ac_try;;
25353 esac
25354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25355 (eval "$ac_compile") 2>conftest.er1
25356 ac_status=$?
25357 grep -v '^ *+' conftest.er1 >conftest.err
25358 rm -f conftest.er1
25359 cat conftest.err >&5
25360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25361 (exit $ac_status); } && {
25362 test -z "$ac_cxx_werror_flag" ||
25363 test ! -s conftest.err
25364 } && test -s conftest.$ac_objext; then
25365 wx_cv_func_stdstring_compare=yes
25366 else
25367 echo "$as_me: failed program was:" >&5
25368 sed 's/^/| /' conftest.$ac_ext >&5
25369
25370 wx_cv_func_stdstring_compare=no
25371
25372 fi
25373
25374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25375
25376 fi
25377 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25378 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25379
25380 if test "$wx_cv_func_stdstring_compare" = yes; then
25381 cat >>confdefs.h <<\_ACEOF
25382 #define HAVE_STD_STRING_COMPARE 1
25383 _ACEOF
25384
25385 fi
25386
25387 if test "$wx_cv_class_gnuhashmapset" = yes; then
25388 cat >>confdefs.h <<\_ACEOF
25389 #define HAVE_EXT_HASH_MAP 1
25390 _ACEOF
25391
25392 cat >>confdefs.h <<\_ACEOF
25393 #define HAVE_GNU_CXX_HASH_MAP 1
25394 _ACEOF
25395
25396 fi
25397
25398 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25399 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25400 if test "${ac_cv_header_unordered_map+set}" = set; then
25401 echo $ECHO_N "(cached) $ECHO_C" >&6
25402 else
25403 cat >conftest.$ac_ext <<_ACEOF
25404 /* confdefs.h. */
25405 _ACEOF
25406 cat confdefs.h >>conftest.$ac_ext
25407 cat >>conftest.$ac_ext <<_ACEOF
25408 /* end confdefs.h. */
25409
25410
25411
25412 #include <unordered_map>
25413 _ACEOF
25414 rm -f conftest.$ac_objext
25415 if { (ac_try="$ac_compile"
25416 case "(($ac_try" in
25417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25418 *) ac_try_echo=$ac_try;;
25419 esac
25420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25421 (eval "$ac_compile") 2>conftest.er1
25422 ac_status=$?
25423 grep -v '^ *+' conftest.er1 >conftest.err
25424 rm -f conftest.er1
25425 cat conftest.err >&5
25426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25427 (exit $ac_status); } && {
25428 test -z "$ac_cxx_werror_flag" ||
25429 test ! -s conftest.err
25430 } && test -s conftest.$ac_objext; then
25431 ac_cv_header_unordered_map=yes
25432 else
25433 echo "$as_me: failed program was:" >&5
25434 sed 's/^/| /' conftest.$ac_ext >&5
25435
25436 ac_cv_header_unordered_map=no
25437 fi
25438
25439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25440 fi
25441 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25442 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25443 if test $ac_cv_header_unordered_map = yes; then
25444 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25445 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25446 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25447 echo $ECHO_N "(cached) $ECHO_C" >&6
25448 else
25449 cat >conftest.$ac_ext <<_ACEOF
25450 /* confdefs.h. */
25451 _ACEOF
25452 cat confdefs.h >>conftest.$ac_ext
25453 cat >>conftest.$ac_ext <<_ACEOF
25454 /* end confdefs.h. */
25455 #include <unordered_map>
25456 #include <unordered_set>
25457 int
25458 main ()
25459 {
25460 std::unordered_map<double*, char*> test1;
25461 std::unordered_set<char*> test2;
25462 ;
25463 return 0;
25464 }
25465 _ACEOF
25466 rm -f conftest.$ac_objext
25467 if { (ac_try="$ac_compile"
25468 case "(($ac_try" in
25469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25470 *) ac_try_echo=$ac_try;;
25471 esac
25472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25473 (eval "$ac_compile") 2>conftest.er1
25474 ac_status=$?
25475 grep -v '^ *+' conftest.er1 >conftest.err
25476 rm -f conftest.er1
25477 cat conftest.err >&5
25478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25479 (exit $ac_status); } && {
25480 test -z "$ac_cxx_werror_flag" ||
25481 test ! -s conftest.err
25482 } && test -s conftest.$ac_objext; then
25483 wx_cv_class_stdunorderedmapset=yes
25484 else
25485 echo "$as_me: failed program was:" >&5
25486 sed 's/^/| /' conftest.$ac_ext >&5
25487
25488 wx_cv_class_stdunorderedmapset=no
25489 fi
25490
25491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25492
25493
25494 fi
25495 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25496 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25497 fi
25498
25499
25500
25501 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25502 cat >>confdefs.h <<\_ACEOF
25503 #define HAVE_STD_UNORDERED_MAP 1
25504 _ACEOF
25505
25506 cat >>confdefs.h <<\_ACEOF
25507 #define HAVE_STD_UNORDERED_SET 1
25508 _ACEOF
25509
25510 else
25511 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25512 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25513 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25514 echo $ECHO_N "(cached) $ECHO_C" >&6
25515 else
25516 cat >conftest.$ac_ext <<_ACEOF
25517 /* confdefs.h. */
25518 _ACEOF
25519 cat confdefs.h >>conftest.$ac_ext
25520 cat >>conftest.$ac_ext <<_ACEOF
25521 /* end confdefs.h. */
25522
25523
25524
25525 #include <tr1/unordered_map>
25526 _ACEOF
25527 rm -f conftest.$ac_objext
25528 if { (ac_try="$ac_compile"
25529 case "(($ac_try" in
25530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25531 *) ac_try_echo=$ac_try;;
25532 esac
25533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25534 (eval "$ac_compile") 2>conftest.er1
25535 ac_status=$?
25536 grep -v '^ *+' conftest.er1 >conftest.err
25537 rm -f conftest.er1
25538 cat conftest.err >&5
25539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25540 (exit $ac_status); } && {
25541 test -z "$ac_cxx_werror_flag" ||
25542 test ! -s conftest.err
25543 } && test -s conftest.$ac_objext; then
25544 ac_cv_header_tr1_unordered_map=yes
25545 else
25546 echo "$as_me: failed program was:" >&5
25547 sed 's/^/| /' conftest.$ac_ext >&5
25548
25549 ac_cv_header_tr1_unordered_map=no
25550 fi
25551
25552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25553 fi
25554 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25555 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25556 if test $ac_cv_header_tr1_unordered_map = yes; then
25557 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25558 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25559 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25560 echo $ECHO_N "(cached) $ECHO_C" >&6
25561 else
25562 cat >conftest.$ac_ext <<_ACEOF
25563 /* confdefs.h. */
25564 _ACEOF
25565 cat confdefs.h >>conftest.$ac_ext
25566 cat >>conftest.$ac_ext <<_ACEOF
25567 /* end confdefs.h. */
25568 #include <tr1/unordered_map>
25569 #include <tr1/unordered_set>
25570 int
25571 main ()
25572 {
25573 std::tr1::unordered_map<double*, char*> test1;
25574 std::tr1::unordered_set<char*> test2;
25575 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25576 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25577 #endif
25578 ;
25579 return 0;
25580 }
25581 _ACEOF
25582 rm -f conftest.$ac_objext
25583 if { (ac_try="$ac_compile"
25584 case "(($ac_try" in
25585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25586 *) ac_try_echo=$ac_try;;
25587 esac
25588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25589 (eval "$ac_compile") 2>conftest.er1
25590 ac_status=$?
25591 grep -v '^ *+' conftest.er1 >conftest.err
25592 rm -f conftest.er1
25593 cat conftest.err >&5
25594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25595 (exit $ac_status); } && {
25596 test -z "$ac_cxx_werror_flag" ||
25597 test ! -s conftest.err
25598 } && test -s conftest.$ac_objext; then
25599 wx_cv_class_tr1unorderedmapset=yes
25600 else
25601 echo "$as_me: failed program was:" >&5
25602 sed 's/^/| /' conftest.$ac_ext >&5
25603
25604 wx_cv_class_tr1unorderedmapset=no
25605 fi
25606
25607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25608
25609
25610 fi
25611 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25612 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25613 fi
25614
25615
25616
25617 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25618 cat >>confdefs.h <<\_ACEOF
25619 #define HAVE_TR1_UNORDERED_MAP 1
25620 _ACEOF
25621
25622 cat >>confdefs.h <<\_ACEOF
25623 #define HAVE_TR1_UNORDERED_SET 1
25624 _ACEOF
25625
25626 else
25627 { echo "$as_me:$LINENO: checking for hash_map" >&5
25628 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25629 if test "${ac_cv_header_hash_map+set}" = set; then
25630 echo $ECHO_N "(cached) $ECHO_C" >&6
25631 else
25632 cat >conftest.$ac_ext <<_ACEOF
25633 /* confdefs.h. */
25634 _ACEOF
25635 cat confdefs.h >>conftest.$ac_ext
25636 cat >>conftest.$ac_ext <<_ACEOF
25637 /* end confdefs.h. */
25638
25639
25640
25641 #include <hash_map>
25642 _ACEOF
25643 rm -f conftest.$ac_objext
25644 if { (ac_try="$ac_compile"
25645 case "(($ac_try" in
25646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25647 *) ac_try_echo=$ac_try;;
25648 esac
25649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25650 (eval "$ac_compile") 2>conftest.er1
25651 ac_status=$?
25652 grep -v '^ *+' conftest.er1 >conftest.err
25653 rm -f conftest.er1
25654 cat conftest.err >&5
25655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25656 (exit $ac_status); } && {
25657 test -z "$ac_cxx_werror_flag" ||
25658 test ! -s conftest.err
25659 } && test -s conftest.$ac_objext; then
25660 ac_cv_header_hash_map=yes
25661 else
25662 echo "$as_me: failed program was:" >&5
25663 sed 's/^/| /' conftest.$ac_ext >&5
25664
25665 ac_cv_header_hash_map=no
25666 fi
25667
25668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25669 fi
25670 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25671 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25672 if test $ac_cv_header_hash_map = yes; then
25673 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25674 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25675 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25676 echo $ECHO_N "(cached) $ECHO_C" >&6
25677 else
25678 cat >conftest.$ac_ext <<_ACEOF
25679 /* confdefs.h. */
25680 _ACEOF
25681 cat confdefs.h >>conftest.$ac_ext
25682 cat >>conftest.$ac_ext <<_ACEOF
25683 /* end confdefs.h. */
25684 #include <hash_map>
25685 #include <hash_set>
25686 int
25687 main ()
25688 {
25689 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25690 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25691 ;
25692 return 0;
25693 }
25694 _ACEOF
25695 rm -f conftest.$ac_objext
25696 if { (ac_try="$ac_compile"
25697 case "(($ac_try" in
25698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25699 *) ac_try_echo=$ac_try;;
25700 esac
25701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25702 (eval "$ac_compile") 2>conftest.er1
25703 ac_status=$?
25704 grep -v '^ *+' conftest.er1 >conftest.err
25705 rm -f conftest.er1
25706 cat conftest.err >&5
25707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25708 (exit $ac_status); } && {
25709 test -z "$ac_cxx_werror_flag" ||
25710 test ! -s conftest.err
25711 } && test -s conftest.$ac_objext; then
25712 wx_cv_class_stdhashmapset=yes
25713 else
25714 echo "$as_me: failed program was:" >&5
25715 sed 's/^/| /' conftest.$ac_ext >&5
25716
25717 wx_cv_class_stdhashmapset=no
25718 fi
25719
25720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25721
25722
25723 fi
25724 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25725 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25726 fi
25727
25728
25729
25730 if test "$wx_cv_class_stdhashmapset" = yes; then
25731 cat >>confdefs.h <<\_ACEOF
25732 #define HAVE_HASH_MAP 1
25733 _ACEOF
25734
25735 cat >>confdefs.h <<\_ACEOF
25736 #define HAVE_STD_HASH_MAP 1
25737 _ACEOF
25738
25739 fi
25740
25741 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25742 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25743 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25744 echo $ECHO_N "(cached) $ECHO_C" >&6
25745 else
25746 cat >conftest.$ac_ext <<_ACEOF
25747 /* confdefs.h. */
25748 _ACEOF
25749 cat confdefs.h >>conftest.$ac_ext
25750 cat >>conftest.$ac_ext <<_ACEOF
25751 /* end confdefs.h. */
25752
25753
25754
25755 #include <ext/hash_map>
25756 _ACEOF
25757 rm -f conftest.$ac_objext
25758 if { (ac_try="$ac_compile"
25759 case "(($ac_try" in
25760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25761 *) ac_try_echo=$ac_try;;
25762 esac
25763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25764 (eval "$ac_compile") 2>conftest.er1
25765 ac_status=$?
25766 grep -v '^ *+' conftest.er1 >conftest.err
25767 rm -f conftest.er1
25768 cat conftest.err >&5
25769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25770 (exit $ac_status); } && {
25771 test -z "$ac_cxx_werror_flag" ||
25772 test ! -s conftest.err
25773 } && test -s conftest.$ac_objext; then
25774 ac_cv_header_ext_hash_map=yes
25775 else
25776 echo "$as_me: failed program was:" >&5
25777 sed 's/^/| /' conftest.$ac_ext >&5
25778
25779 ac_cv_header_ext_hash_map=no
25780 fi
25781
25782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25783 fi
25784 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25785 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25786 if test $ac_cv_header_ext_hash_map = yes; then
25787 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25788 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25789 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25790 echo $ECHO_N "(cached) $ECHO_C" >&6
25791 else
25792 cat >conftest.$ac_ext <<_ACEOF
25793 /* confdefs.h. */
25794 _ACEOF
25795 cat confdefs.h >>conftest.$ac_ext
25796 cat >>conftest.$ac_ext <<_ACEOF
25797 /* end confdefs.h. */
25798 #include <ext/hash_map>
25799 #include <ext/hash_set>
25800 int
25801 main ()
25802 {
25803 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25804 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25805 ;
25806 return 0;
25807 }
25808 _ACEOF
25809 rm -f conftest.$ac_objext
25810 if { (ac_try="$ac_compile"
25811 case "(($ac_try" in
25812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25813 *) ac_try_echo=$ac_try;;
25814 esac
25815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25816 (eval "$ac_compile") 2>conftest.er1
25817 ac_status=$?
25818 grep -v '^ *+' conftest.er1 >conftest.err
25819 rm -f conftest.er1
25820 cat conftest.err >&5
25821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25822 (exit $ac_status); } && {
25823 test -z "$ac_cxx_werror_flag" ||
25824 test ! -s conftest.err
25825 } && test -s conftest.$ac_objext; then
25826 wx_cv_class_gnuhashmapset=yes
25827 else
25828 echo "$as_me: failed program was:" >&5
25829 sed 's/^/| /' conftest.$ac_ext >&5
25830
25831 wx_cv_class_gnuhashmapset=no
25832 fi
25833
25834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25835
25836
25837 fi
25838 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25839 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25840 fi
25841
25842
25843
25844 fi
25845 fi
25846 fi
25847
25848 ac_ext=cpp
25849 ac_cpp='$CXXCPP $CPPFLAGS'
25850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25853 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
25854 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
25855 if test -z "$CXXCPP"; then
25856 if test "${ac_cv_prog_CXXCPP+set}" = set; then
25857 echo $ECHO_N "(cached) $ECHO_C" >&6
25858 else
25859 # Double quotes because CXXCPP needs to be expanded
25860 for CXXCPP in "$CXX -E" "/lib/cpp"
25861 do
25862 ac_preproc_ok=false
25863 for ac_cxx_preproc_warn_flag in '' yes
25864 do
25865 # Use a header file that comes with gcc, so configuring glibc
25866 # with a fresh cross-compiler works.
25867 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25868 # <limits.h> exists even on freestanding compilers.
25869 # On the NeXT, cc -E runs the code through the compiler's parser,
25870 # not just through cpp. "Syntax error" is here to catch this case.
25871 cat >conftest.$ac_ext <<_ACEOF
25872 /* confdefs.h. */
25873 _ACEOF
25874 cat confdefs.h >>conftest.$ac_ext
25875 cat >>conftest.$ac_ext <<_ACEOF
25876 /* end confdefs.h. */
25877 #ifdef __STDC__
25878 # include <limits.h>
25879 #else
25880 # include <assert.h>
25881 #endif
25882 Syntax error
25883 _ACEOF
25884 if { (ac_try="$ac_cpp conftest.$ac_ext"
25885 case "(($ac_try" in
25886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25887 *) ac_try_echo=$ac_try;;
25888 esac
25889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25890 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25891 ac_status=$?
25892 grep -v '^ *+' conftest.er1 >conftest.err
25893 rm -f conftest.er1
25894 cat conftest.err >&5
25895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25896 (exit $ac_status); } >/dev/null && {
25897 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
25898 test ! -s conftest.err
25899 }; then
25900 :
25901 else
25902 echo "$as_me: failed program was:" >&5
25903 sed 's/^/| /' conftest.$ac_ext >&5
25904
25905 # Broken: fails on valid input.
25906 continue
25907 fi
25908
25909 rm -f conftest.err conftest.$ac_ext
25910
25911 # OK, works on sane cases. Now check whether nonexistent headers
25912 # can be detected and how.
25913 cat >conftest.$ac_ext <<_ACEOF
25914 /* confdefs.h. */
25915 _ACEOF
25916 cat confdefs.h >>conftest.$ac_ext
25917 cat >>conftest.$ac_ext <<_ACEOF
25918 /* end confdefs.h. */
25919 #include <ac_nonexistent.h>
25920 _ACEOF
25921 if { (ac_try="$ac_cpp conftest.$ac_ext"
25922 case "(($ac_try" in
25923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25924 *) ac_try_echo=$ac_try;;
25925 esac
25926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25927 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25928 ac_status=$?
25929 grep -v '^ *+' conftest.er1 >conftest.err
25930 rm -f conftest.er1
25931 cat conftest.err >&5
25932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25933 (exit $ac_status); } >/dev/null && {
25934 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
25935 test ! -s conftest.err
25936 }; then
25937 # Broken: success on invalid input.
25938 continue
25939 else
25940 echo "$as_me: failed program was:" >&5
25941 sed 's/^/| /' conftest.$ac_ext >&5
25942
25943 # Passes both tests.
25944 ac_preproc_ok=:
25945 break
25946 fi
25947
25948 rm -f conftest.err conftest.$ac_ext
25949
25950 done
25951 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
25952 rm -f conftest.err conftest.$ac_ext
25953 if $ac_preproc_ok; then
25954 break
25955 fi
25956
25957 done
25958 ac_cv_prog_CXXCPP=$CXXCPP
25959
25960 fi
25961 CXXCPP=$ac_cv_prog_CXXCPP
25962 else
25963 ac_cv_prog_CXXCPP=$CXXCPP
25964 fi
25965 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
25966 echo "${ECHO_T}$CXXCPP" >&6; }
25967 ac_preproc_ok=false
25968 for ac_cxx_preproc_warn_flag in '' yes
25969 do
25970 # Use a header file that comes with gcc, so configuring glibc
25971 # with a fresh cross-compiler works.
25972 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25973 # <limits.h> exists even on freestanding compilers.
25974 # On the NeXT, cc -E runs the code through the compiler's parser,
25975 # not just through cpp. "Syntax error" is here to catch this case.
25976 cat >conftest.$ac_ext <<_ACEOF
25977 /* confdefs.h. */
25978 _ACEOF
25979 cat confdefs.h >>conftest.$ac_ext
25980 cat >>conftest.$ac_ext <<_ACEOF
25981 /* end confdefs.h. */
25982 #ifdef __STDC__
25983 # include <limits.h>
25984 #else
25985 # include <assert.h>
25986 #endif
25987 Syntax error
25988 _ACEOF
25989 if { (ac_try="$ac_cpp conftest.$ac_ext"
25990 case "(($ac_try" in
25991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25992 *) ac_try_echo=$ac_try;;
25993 esac
25994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25995 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25996 ac_status=$?
25997 grep -v '^ *+' conftest.er1 >conftest.err
25998 rm -f conftest.er1
25999 cat conftest.err >&5
26000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26001 (exit $ac_status); } >/dev/null && {
26002 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26003 test ! -s conftest.err
26004 }; then
26005 :
26006 else
26007 echo "$as_me: failed program was:" >&5
26008 sed 's/^/| /' conftest.$ac_ext >&5
26009
26010 # Broken: fails on valid input.
26011 continue
26012 fi
26013
26014 rm -f conftest.err conftest.$ac_ext
26015
26016 # OK, works on sane cases. Now check whether nonexistent headers
26017 # can be detected and how.
26018 cat >conftest.$ac_ext <<_ACEOF
26019 /* confdefs.h. */
26020 _ACEOF
26021 cat confdefs.h >>conftest.$ac_ext
26022 cat >>conftest.$ac_ext <<_ACEOF
26023 /* end confdefs.h. */
26024 #include <ac_nonexistent.h>
26025 _ACEOF
26026 if { (ac_try="$ac_cpp conftest.$ac_ext"
26027 case "(($ac_try" in
26028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26029 *) ac_try_echo=$ac_try;;
26030 esac
26031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26032 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26033 ac_status=$?
26034 grep -v '^ *+' conftest.er1 >conftest.err
26035 rm -f conftest.er1
26036 cat conftest.err >&5
26037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26038 (exit $ac_status); } >/dev/null && {
26039 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26040 test ! -s conftest.err
26041 }; then
26042 # Broken: success on invalid input.
26043 continue
26044 else
26045 echo "$as_me: failed program was:" >&5
26046 sed 's/^/| /' conftest.$ac_ext >&5
26047
26048 # Passes both tests.
26049 ac_preproc_ok=:
26050 break
26051 fi
26052
26053 rm -f conftest.err conftest.$ac_ext
26054
26055 done
26056 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26057 rm -f conftest.err conftest.$ac_ext
26058 if $ac_preproc_ok; then
26059 :
26060 else
26061 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26062 See \`config.log' for more details." >&5
26063 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26064 See \`config.log' for more details." >&2;}
26065 { (exit 1); exit 1; }; }
26066 fi
26067
26068 ac_ext=cpp
26069 ac_cpp='$CXXCPP $CPPFLAGS'
26070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26073
26074
26075
26076
26077 for ac_header in type_traits tr1/type_traits
26078 do
26079 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26080 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26081 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26082 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26083 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26084 echo $ECHO_N "(cached) $ECHO_C" >&6
26085 fi
26086 ac_res=`eval echo '${'$as_ac_Header'}'`
26087 { echo "$as_me:$LINENO: result: $ac_res" >&5
26088 echo "${ECHO_T}$ac_res" >&6; }
26089 else
26090 # Is the header compilable?
26091 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26092 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26093 cat >conftest.$ac_ext <<_ACEOF
26094 /* confdefs.h. */
26095 _ACEOF
26096 cat confdefs.h >>conftest.$ac_ext
26097 cat >>conftest.$ac_ext <<_ACEOF
26098 /* end confdefs.h. */
26099 $ac_includes_default
26100 #include <$ac_header>
26101 _ACEOF
26102 rm -f conftest.$ac_objext
26103 if { (ac_try="$ac_compile"
26104 case "(($ac_try" in
26105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26106 *) ac_try_echo=$ac_try;;
26107 esac
26108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26109 (eval "$ac_compile") 2>conftest.er1
26110 ac_status=$?
26111 grep -v '^ *+' conftest.er1 >conftest.err
26112 rm -f conftest.er1
26113 cat conftest.err >&5
26114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26115 (exit $ac_status); } && {
26116 test -z "$ac_cxx_werror_flag" ||
26117 test ! -s conftest.err
26118 } && test -s conftest.$ac_objext; then
26119 ac_header_compiler=yes
26120 else
26121 echo "$as_me: failed program was:" >&5
26122 sed 's/^/| /' conftest.$ac_ext >&5
26123
26124 ac_header_compiler=no
26125 fi
26126
26127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26128 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26129 echo "${ECHO_T}$ac_header_compiler" >&6; }
26130
26131 # Is the header present?
26132 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26133 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26134 cat >conftest.$ac_ext <<_ACEOF
26135 /* confdefs.h. */
26136 _ACEOF
26137 cat confdefs.h >>conftest.$ac_ext
26138 cat >>conftest.$ac_ext <<_ACEOF
26139 /* end confdefs.h. */
26140 #include <$ac_header>
26141 _ACEOF
26142 if { (ac_try="$ac_cpp conftest.$ac_ext"
26143 case "(($ac_try" in
26144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26145 *) ac_try_echo=$ac_try;;
26146 esac
26147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26148 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26149 ac_status=$?
26150 grep -v '^ *+' conftest.er1 >conftest.err
26151 rm -f conftest.er1
26152 cat conftest.err >&5
26153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26154 (exit $ac_status); } >/dev/null && {
26155 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26156 test ! -s conftest.err
26157 }; then
26158 ac_header_preproc=yes
26159 else
26160 echo "$as_me: failed program was:" >&5
26161 sed 's/^/| /' conftest.$ac_ext >&5
26162
26163 ac_header_preproc=no
26164 fi
26165
26166 rm -f conftest.err conftest.$ac_ext
26167 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26168 echo "${ECHO_T}$ac_header_preproc" >&6; }
26169
26170 # So? What about this header?
26171 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26172 yes:no: )
26173 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26174 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26175 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26176 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26177 ac_header_preproc=yes
26178 ;;
26179 no:yes:* )
26180 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26181 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26182 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26183 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26184 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26185 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26186 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26187 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26188 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26189 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26190 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26191 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26192 ( cat <<\_ASBOX
26193 ## ----------------------------------------- ##
26194 ## Report this to wx-dev@lists.wxwidgets.org ##
26195 ## ----------------------------------------- ##
26196 _ASBOX
26197 ) | sed "s/^/$as_me: WARNING: /" >&2
26198 ;;
26199 esac
26200 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26201 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26202 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26203 echo $ECHO_N "(cached) $ECHO_C" >&6
26204 else
26205 eval "$as_ac_Header=\$ac_header_preproc"
26206 fi
26207 ac_res=`eval echo '${'$as_ac_Header'}'`
26208 { echo "$as_me:$LINENO: result: $ac_res" >&5
26209 echo "${ECHO_T}$ac_res" >&6; }
26210
26211 fi
26212 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26213 cat >>confdefs.h <<_ACEOF
26214 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26215 _ACEOF
26216
26217 fi
26218
26219 done
26220
26221
26222
26223
26224 if test -n "$GCC"; then
26225 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
26226 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
26227 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
26228 echo $ECHO_N "(cached) $ECHO_C" >&6
26229 else
26230
26231 cat >conftest.$ac_ext <<_ACEOF
26232 /* confdefs.h. */
26233 _ACEOF
26234 cat confdefs.h >>conftest.$ac_ext
26235 cat >>conftest.$ac_ext <<_ACEOF
26236 /* end confdefs.h. */
26237
26238 int
26239 main ()
26240 {
26241
26242 unsigned int value=0;
26243 /* wxAtomicInc doesn't use return value here */
26244 __sync_fetch_and_add(&value, 2);
26245 __sync_sub_and_fetch(&value, 1);
26246 /* but wxAtomicDec does, so mimic that: */
26247 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
26248
26249 ;
26250 return 0;
26251 }
26252 _ACEOF
26253 rm -f conftest.$ac_objext conftest$ac_exeext
26254 if { (ac_try="$ac_link"
26255 case "(($ac_try" in
26256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26257 *) ac_try_echo=$ac_try;;
26258 esac
26259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26260 (eval "$ac_link") 2>conftest.er1
26261 ac_status=$?
26262 grep -v '^ *+' conftest.er1 >conftest.err
26263 rm -f conftest.er1
26264 cat conftest.err >&5
26265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26266 (exit $ac_status); } && {
26267 test -z "$ac_cxx_werror_flag" ||
26268 test ! -s conftest.err
26269 } && test -s conftest$ac_exeext &&
26270 $as_test_x conftest$ac_exeext; then
26271 wx_cv_cc_gcc_atomic_builtins=yes
26272 else
26273 echo "$as_me: failed program was:" >&5
26274 sed 's/^/| /' conftest.$ac_ext >&5
26275
26276 wx_cv_cc_gcc_atomic_builtins=no
26277 fi
26278
26279 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26280 conftest$ac_exeext conftest.$ac_ext
26281
26282 fi
26283
26284 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
26285 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
26286 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
26287 cat >>confdefs.h <<\_ACEOF
26288 #define HAVE_GCC_ATOMIC_BUILTINS 1
26289 _ACEOF
26290
26291 fi
26292 fi
26293
26294
26295 ac_ext=c
26296 ac_cpp='$CPP $CPPFLAGS'
26297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26300
26301
26302
26303 SEARCH_INCLUDE="\
26304 /usr/local/include \
26305 /usr/local/X11/include \
26306 /usr/local/include/X11 \
26307 /usr/local/X11R7/include \
26308 /usr/local/X11R6/include \
26309 /usr/local/include/X11R7 \
26310 /usr/local/include/X11R6 \
26311 \
26312 /usr/Motif-2.1/include \
26313 /usr/Motif-1.2/include \
26314 /usr/include/Motif1.2 \
26315 \
26316 /usr/dt/include \
26317 /usr/openwin/include \
26318 \
26319 /usr/include/Xm \
26320 \
26321 /usr/X11R7/include \
26322 /usr/X11R6/include \
26323 /usr/X11R6.4/include \
26324 \
26325 /usr/include/X11R7 \
26326 /usr/include/X11R6 \
26327 \
26328 /usr/X11/include \
26329 /usr/include/X11 \
26330 \
26331 /usr/XFree86/include/X11 \
26332 /usr/pkg/include \
26333 \
26334 /usr/local/X1R5/include \
26335 /usr/local/include/X11R5 \
26336 /usr/X11R5/include \
26337 /usr/include/X11R5 \
26338 \
26339 /usr/local/X11R4/include \
26340 /usr/local/include/X11R4 \
26341 /usr/X11R4/include \
26342 /usr/include/X11R4 \
26343 \
26344 /usr/openwin/share/include"
26345
26346 { echo "$as_me:$LINENO: checking for libraries directory" >&5
26347 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
26348
26349 case "${host}" in
26350 *-*-irix6* )
26351 if test "${wx_cv_std_libpath+set}" = set; then
26352 echo $ECHO_N "(cached) $ECHO_C" >&6
26353 else
26354
26355 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26356 for e in a so sl dylib dll.a; do
26357 libc="$d/libc.$e"
26358 if test -f $libc; then
26359 save_LIBS="$LIBS"
26360 LIBS="$libc"
26361 cat >conftest.$ac_ext <<_ACEOF
26362 int main() { return 0; }
26363 _ACEOF
26364 rm -f conftest.$ac_objext conftest$ac_exeext
26365 if { (ac_try="$ac_link"
26366 case "(($ac_try" in
26367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26368 *) ac_try_echo=$ac_try;;
26369 esac
26370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26371 (eval "$ac_link") 2>conftest.er1
26372 ac_status=$?
26373 grep -v '^ *+' conftest.er1 >conftest.err
26374 rm -f conftest.er1
26375 cat conftest.err >&5
26376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26377 (exit $ac_status); } && {
26378 test -z "$ac_c_werror_flag" ||
26379 test ! -s conftest.err
26380 } && test -s conftest$ac_exeext &&
26381 $as_test_x conftest$ac_exeext; then
26382 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
26383 else
26384 echo "$as_me: failed program was:" >&5
26385 sed 's/^/| /' conftest.$ac_ext >&5
26386
26387
26388 fi
26389
26390 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26391 conftest$ac_exeext conftest.$ac_ext
26392 LIBS="$save_LIBS"
26393 if test "x$wx_cv_std_libpath" != "x"; then
26394 break 2
26395 fi
26396 fi
26397 done
26398 done
26399 if test "x$wx_cv_std_libpath" = "x"; then
26400 wx_cv_std_libpath="lib"
26401 fi
26402
26403
26404 fi
26405
26406 ;;
26407
26408 *-*-solaris2* )
26409 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26410 wx_cv_std_libpath="lib/64"
26411 else
26412 wx_cv_std_libpath="lib"
26413 fi
26414 ;;
26415
26416 *-*-linux* )
26417 if test "$ac_cv_sizeof_void_p" = 8 -a \
26418 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26419 wx_cv_std_libpath="lib64"
26420 else
26421 wx_cv_std_libpath="lib"
26422 fi
26423 ;;
26424
26425 *)
26426 wx_cv_std_libpath="lib";
26427 ;;
26428 esac
26429
26430 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26431 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26432
26433 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26434
26435 if test "$build" != "$host" -a "$GCC" = yes; then
26436 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
26437 cross_root=`dirname $cross_root`
26438 cross_root=`dirname $cross_root`
26439
26440 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26441 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26442 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
26443
26444 if test -z "$PKG_CONFIG_PATH"; then
26445 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26446 export PKG_CONFIG_PATH
26447 fi
26448
26449 if test -z "$x_includes" -o "$x_includes" = NONE; then
26450
26451 ac_find_includes=
26452 for ac_dir in $SEARCH_INCLUDE /usr/include;
26453 do
26454 if test -f "$ac_dir/X11/Intrinsic.h"; then
26455 ac_find_includes=$ac_dir
26456 break
26457 fi
26458 done
26459
26460 x_includes=$ac_find_includes
26461 fi
26462 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
26463
26464 ac_find_libraries=
26465 for ac_dir in $SEARCH_LIB;
26466 do
26467 for ac_extension in a so sl dylib dll.a; do
26468 if test -f "$ac_dir/libXt.$ac_extension"; then
26469 ac_find_libraries=$ac_dir
26470 break 2
26471 fi
26472 done
26473 done
26474
26475 x_libraries=$ac_find_libraries
26476 fi
26477 fi
26478 fi
26479
26480
26481 cat >confcache <<\_ACEOF
26482 # This file is a shell script that caches the results of configure
26483 # tests run on this system so they can be shared between configure
26484 # scripts and configure runs, see configure's option --config-cache.
26485 # It is not useful on other systems. If it contains results you don't
26486 # want to keep, you may remove or edit it.
26487 #
26488 # config.status only pays attention to the cache file if you give it
26489 # the --recheck option to rerun configure.
26490 #
26491 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26492 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26493 # following values.
26494
26495 _ACEOF
26496
26497 # The following way of writing the cache mishandles newlines in values,
26498 # but we know of no workaround that is simple, portable, and efficient.
26499 # So, we kill variables containing newlines.
26500 # Ultrix sh set writes to stderr and can't be redirected directly,
26501 # and sets the high bit in the cache file unless we assign to the vars.
26502 (
26503 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26504 eval ac_val=\$$ac_var
26505 case $ac_val in #(
26506 *${as_nl}*)
26507 case $ac_var in #(
26508 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26509 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26510 esac
26511 case $ac_var in #(
26512 _ | IFS | as_nl) ;; #(
26513 *) $as_unset $ac_var ;;
26514 esac ;;
26515 esac
26516 done
26517
26518 (set) 2>&1 |
26519 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26520 *${as_nl}ac_space=\ *)
26521 # `set' does not quote correctly, so add quotes (double-quote
26522 # substitution turns \\\\ into \\, and sed turns \\ into \).
26523 sed -n \
26524 "s/'/'\\\\''/g;
26525 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26526 ;; #(
26527 *)
26528 # `set' quotes correctly as required by POSIX, so do not add quotes.
26529 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26530 ;;
26531 esac |
26532 sort
26533 ) |
26534 sed '
26535 /^ac_cv_env_/b end
26536 t clear
26537 :clear
26538 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26539 t end
26540 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26541 :end' >>confcache
26542 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26543 if test -w "$cache_file"; then
26544 test "x$cache_file" != "x/dev/null" &&
26545 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26546 echo "$as_me: updating cache $cache_file" >&6;}
26547 cat confcache >$cache_file
26548 else
26549 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26550 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26551 fi
26552 fi
26553 rm -f confcache
26554
26555 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
26556 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
26557 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
26558 if test "${wx_cv_lib_glibc21+set}" = set; then
26559 echo $ECHO_N "(cached) $ECHO_C" >&6
26560 else
26561
26562 cat >conftest.$ac_ext <<_ACEOF
26563 /* confdefs.h. */
26564 _ACEOF
26565 cat confdefs.h >>conftest.$ac_ext
26566 cat >>conftest.$ac_ext <<_ACEOF
26567 /* end confdefs.h. */
26568 #include <features.h>
26569 int
26570 main ()
26571 {
26572
26573 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
26574 not glibc 2.1
26575 #endif
26576
26577 ;
26578 return 0;
26579 }
26580 _ACEOF
26581 rm -f conftest.$ac_objext
26582 if { (ac_try="$ac_compile"
26583 case "(($ac_try" in
26584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26585 *) ac_try_echo=$ac_try;;
26586 esac
26587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26588 (eval "$ac_compile") 2>conftest.er1
26589 ac_status=$?
26590 grep -v '^ *+' conftest.er1 >conftest.err
26591 rm -f conftest.er1
26592 cat conftest.err >&5
26593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26594 (exit $ac_status); } && {
26595 test -z "$ac_c_werror_flag" ||
26596 test ! -s conftest.err
26597 } && test -s conftest.$ac_objext; then
26598
26599 wx_cv_lib_glibc21=yes
26600
26601 else
26602 echo "$as_me: failed program was:" >&5
26603 sed 's/^/| /' conftest.$ac_ext >&5
26604
26605
26606 wx_cv_lib_glibc21=no
26607
26608
26609 fi
26610
26611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26612
26613 fi
26614 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
26615 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
26616 if test "$wx_cv_lib_glibc21" = "yes"; then
26617 cat >>confdefs.h <<\_ACEOF
26618 #define wxHAVE_GLIBC2 1
26619 _ACEOF
26620
26621 fi
26622 fi
26623
26624 if test "x$wx_cv_lib_glibc21" = "xyes"; then
26625 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
26626 cat >>confdefs.h <<\_ACEOF
26627 #define _GNU_SOURCE 1
26628 _ACEOF
26629
26630 fi
26631 fi
26632
26633 have_cos=0
26634 have_floor=0
26635
26636 for ac_func in cos
26637 do
26638 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26639 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26641 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26642 echo $ECHO_N "(cached) $ECHO_C" >&6
26643 else
26644 cat >conftest.$ac_ext <<_ACEOF
26645 /* confdefs.h. */
26646 _ACEOF
26647 cat confdefs.h >>conftest.$ac_ext
26648 cat >>conftest.$ac_ext <<_ACEOF
26649 /* end confdefs.h. */
26650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26652 #define $ac_func innocuous_$ac_func
26653
26654 /* System header to define __stub macros and hopefully few prototypes,
26655 which can conflict with char $ac_func (); below.
26656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26657 <limits.h> exists even on freestanding compilers. */
26658
26659 #ifdef __STDC__
26660 # include <limits.h>
26661 #else
26662 # include <assert.h>
26663 #endif
26664
26665 #undef $ac_func
26666
26667 /* Override any GCC internal prototype to avoid an error.
26668 Use char because int might match the return type of a GCC
26669 builtin and then its argument prototype would still apply. */
26670 #ifdef __cplusplus
26671 extern "C"
26672 #endif
26673 char $ac_func ();
26674 /* The GNU C library defines this for functions which it implements
26675 to always fail with ENOSYS. Some functions are actually named
26676 something starting with __ and the normal name is an alias. */
26677 #if defined __stub_$ac_func || defined __stub___$ac_func
26678 choke me
26679 #endif
26680
26681 int
26682 main ()
26683 {
26684 return $ac_func ();
26685 ;
26686 return 0;
26687 }
26688 _ACEOF
26689 rm -f conftest.$ac_objext conftest$ac_exeext
26690 if { (ac_try="$ac_link"
26691 case "(($ac_try" in
26692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26693 *) ac_try_echo=$ac_try;;
26694 esac
26695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26696 (eval "$ac_link") 2>conftest.er1
26697 ac_status=$?
26698 grep -v '^ *+' conftest.er1 >conftest.err
26699 rm -f conftest.er1
26700 cat conftest.err >&5
26701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26702 (exit $ac_status); } && {
26703 test -z "$ac_c_werror_flag" ||
26704 test ! -s conftest.err
26705 } && test -s conftest$ac_exeext &&
26706 $as_test_x conftest$ac_exeext; then
26707 eval "$as_ac_var=yes"
26708 else
26709 echo "$as_me: failed program was:" >&5
26710 sed 's/^/| /' conftest.$ac_ext >&5
26711
26712 eval "$as_ac_var=no"
26713 fi
26714
26715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26716 conftest$ac_exeext conftest.$ac_ext
26717 fi
26718 ac_res=`eval echo '${'$as_ac_var'}'`
26719 { echo "$as_me:$LINENO: result: $ac_res" >&5
26720 echo "${ECHO_T}$ac_res" >&6; }
26721 if test `eval echo '${'$as_ac_var'}'` = yes; then
26722 cat >>confdefs.h <<_ACEOF
26723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26724 _ACEOF
26725 have_cos=1
26726 fi
26727 done
26728
26729
26730 for ac_func in floor
26731 do
26732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26733 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26735 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26736 echo $ECHO_N "(cached) $ECHO_C" >&6
26737 else
26738 cat >conftest.$ac_ext <<_ACEOF
26739 /* confdefs.h. */
26740 _ACEOF
26741 cat confdefs.h >>conftest.$ac_ext
26742 cat >>conftest.$ac_ext <<_ACEOF
26743 /* end confdefs.h. */
26744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26746 #define $ac_func innocuous_$ac_func
26747
26748 /* System header to define __stub macros and hopefully few prototypes,
26749 which can conflict with char $ac_func (); below.
26750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26751 <limits.h> exists even on freestanding compilers. */
26752
26753 #ifdef __STDC__
26754 # include <limits.h>
26755 #else
26756 # include <assert.h>
26757 #endif
26758
26759 #undef $ac_func
26760
26761 /* Override any GCC internal prototype to avoid an error.
26762 Use char because int might match the return type of a GCC
26763 builtin and then its argument prototype would still apply. */
26764 #ifdef __cplusplus
26765 extern "C"
26766 #endif
26767 char $ac_func ();
26768 /* The GNU C library defines this for functions which it implements
26769 to always fail with ENOSYS. Some functions are actually named
26770 something starting with __ and the normal name is an alias. */
26771 #if defined __stub_$ac_func || defined __stub___$ac_func
26772 choke me
26773 #endif
26774
26775 int
26776 main ()
26777 {
26778 return $ac_func ();
26779 ;
26780 return 0;
26781 }
26782 _ACEOF
26783 rm -f conftest.$ac_objext conftest$ac_exeext
26784 if { (ac_try="$ac_link"
26785 case "(($ac_try" in
26786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26787 *) ac_try_echo=$ac_try;;
26788 esac
26789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26790 (eval "$ac_link") 2>conftest.er1
26791 ac_status=$?
26792 grep -v '^ *+' conftest.er1 >conftest.err
26793 rm -f conftest.er1
26794 cat conftest.err >&5
26795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26796 (exit $ac_status); } && {
26797 test -z "$ac_c_werror_flag" ||
26798 test ! -s conftest.err
26799 } && test -s conftest$ac_exeext &&
26800 $as_test_x conftest$ac_exeext; then
26801 eval "$as_ac_var=yes"
26802 else
26803 echo "$as_me: failed program was:" >&5
26804 sed 's/^/| /' conftest.$ac_ext >&5
26805
26806 eval "$as_ac_var=no"
26807 fi
26808
26809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26810 conftest$ac_exeext conftest.$ac_ext
26811 fi
26812 ac_res=`eval echo '${'$as_ac_var'}'`
26813 { echo "$as_me:$LINENO: result: $ac_res" >&5
26814 echo "${ECHO_T}$ac_res" >&6; }
26815 if test `eval echo '${'$as_ac_var'}'` = yes; then
26816 cat >>confdefs.h <<_ACEOF
26817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26818 _ACEOF
26819 have_floor=1
26820 fi
26821 done
26822
26823 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26824 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
26825 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26826 { echo "$as_me:$LINENO: result: yes" >&5
26827 echo "${ECHO_T}yes" >&6; }
26828 else
26829 { echo "$as_me:$LINENO: result: no" >&5
26830 echo "${ECHO_T}no" >&6; }
26831 LIBS="$LIBS -lm"
26832 # use different functions to avoid configure caching
26833 have_sin=0
26834 have_ceil=0
26835
26836 for ac_func in sin
26837 do
26838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26839 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26841 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26842 echo $ECHO_N "(cached) $ECHO_C" >&6
26843 else
26844 cat >conftest.$ac_ext <<_ACEOF
26845 /* confdefs.h. */
26846 _ACEOF
26847 cat confdefs.h >>conftest.$ac_ext
26848 cat >>conftest.$ac_ext <<_ACEOF
26849 /* end confdefs.h. */
26850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26852 #define $ac_func innocuous_$ac_func
26853
26854 /* System header to define __stub macros and hopefully few prototypes,
26855 which can conflict with char $ac_func (); below.
26856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26857 <limits.h> exists even on freestanding compilers. */
26858
26859 #ifdef __STDC__
26860 # include <limits.h>
26861 #else
26862 # include <assert.h>
26863 #endif
26864
26865 #undef $ac_func
26866
26867 /* Override any GCC internal prototype to avoid an error.
26868 Use char because int might match the return type of a GCC
26869 builtin and then its argument prototype would still apply. */
26870 #ifdef __cplusplus
26871 extern "C"
26872 #endif
26873 char $ac_func ();
26874 /* The GNU C library defines this for functions which it implements
26875 to always fail with ENOSYS. Some functions are actually named
26876 something starting with __ and the normal name is an alias. */
26877 #if defined __stub_$ac_func || defined __stub___$ac_func
26878 choke me
26879 #endif
26880
26881 int
26882 main ()
26883 {
26884 return $ac_func ();
26885 ;
26886 return 0;
26887 }
26888 _ACEOF
26889 rm -f conftest.$ac_objext conftest$ac_exeext
26890 if { (ac_try="$ac_link"
26891 case "(($ac_try" in
26892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26893 *) ac_try_echo=$ac_try;;
26894 esac
26895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26896 (eval "$ac_link") 2>conftest.er1
26897 ac_status=$?
26898 grep -v '^ *+' conftest.er1 >conftest.err
26899 rm -f conftest.er1
26900 cat conftest.err >&5
26901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26902 (exit $ac_status); } && {
26903 test -z "$ac_c_werror_flag" ||
26904 test ! -s conftest.err
26905 } && test -s conftest$ac_exeext &&
26906 $as_test_x conftest$ac_exeext; then
26907 eval "$as_ac_var=yes"
26908 else
26909 echo "$as_me: failed program was:" >&5
26910 sed 's/^/| /' conftest.$ac_ext >&5
26911
26912 eval "$as_ac_var=no"
26913 fi
26914
26915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26916 conftest$ac_exeext conftest.$ac_ext
26917 fi
26918 ac_res=`eval echo '${'$as_ac_var'}'`
26919 { echo "$as_me:$LINENO: result: $ac_res" >&5
26920 echo "${ECHO_T}$ac_res" >&6; }
26921 if test `eval echo '${'$as_ac_var'}'` = yes; then
26922 cat >>confdefs.h <<_ACEOF
26923 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26924 _ACEOF
26925 have_sin=1
26926 fi
26927 done
26928
26929
26930 for ac_func in ceil
26931 do
26932 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26933 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26935 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26936 echo $ECHO_N "(cached) $ECHO_C" >&6
26937 else
26938 cat >conftest.$ac_ext <<_ACEOF
26939 /* confdefs.h. */
26940 _ACEOF
26941 cat confdefs.h >>conftest.$ac_ext
26942 cat >>conftest.$ac_ext <<_ACEOF
26943 /* end confdefs.h. */
26944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26946 #define $ac_func innocuous_$ac_func
26947
26948 /* System header to define __stub macros and hopefully few prototypes,
26949 which can conflict with char $ac_func (); below.
26950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26951 <limits.h> exists even on freestanding compilers. */
26952
26953 #ifdef __STDC__
26954 # include <limits.h>
26955 #else
26956 # include <assert.h>
26957 #endif
26958
26959 #undef $ac_func
26960
26961 /* Override any GCC internal prototype to avoid an error.
26962 Use char because int might match the return type of a GCC
26963 builtin and then its argument prototype would still apply. */
26964 #ifdef __cplusplus
26965 extern "C"
26966 #endif
26967 char $ac_func ();
26968 /* The GNU C library defines this for functions which it implements
26969 to always fail with ENOSYS. Some functions are actually named
26970 something starting with __ and the normal name is an alias. */
26971 #if defined __stub_$ac_func || defined __stub___$ac_func
26972 choke me
26973 #endif
26974
26975 int
26976 main ()
26977 {
26978 return $ac_func ();
26979 ;
26980 return 0;
26981 }
26982 _ACEOF
26983 rm -f conftest.$ac_objext conftest$ac_exeext
26984 if { (ac_try="$ac_link"
26985 case "(($ac_try" in
26986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26987 *) ac_try_echo=$ac_try;;
26988 esac
26989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26990 (eval "$ac_link") 2>conftest.er1
26991 ac_status=$?
26992 grep -v '^ *+' conftest.er1 >conftest.err
26993 rm -f conftest.er1
26994 cat conftest.err >&5
26995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26996 (exit $ac_status); } && {
26997 test -z "$ac_c_werror_flag" ||
26998 test ! -s conftest.err
26999 } && test -s conftest$ac_exeext &&
27000 $as_test_x conftest$ac_exeext; then
27001 eval "$as_ac_var=yes"
27002 else
27003 echo "$as_me: failed program was:" >&5
27004 sed 's/^/| /' conftest.$ac_ext >&5
27005
27006 eval "$as_ac_var=no"
27007 fi
27008
27009 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27010 conftest$ac_exeext conftest.$ac_ext
27011 fi
27012 ac_res=`eval echo '${'$as_ac_var'}'`
27013 { echo "$as_me:$LINENO: result: $ac_res" >&5
27014 echo "${ECHO_T}$ac_res" >&6; }
27015 if test `eval echo '${'$as_ac_var'}'` = yes; then
27016 cat >>confdefs.h <<_ACEOF
27017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27018 _ACEOF
27019 have_ceil=1
27020 fi
27021 done
27022
27023 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27024 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27025 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27026 { echo "$as_me:$LINENO: result: yes" >&5
27027 echo "${ECHO_T}yes" >&6; }
27028 else
27029 { echo "$as_me:$LINENO: result: no" >&5
27030 echo "${ECHO_T}no" >&6; }
27031 # not sure we should warn the user, crash, etc.
27032 fi
27033 fi
27034
27035 ac_ext=cpp
27036 ac_cpp='$CXXCPP $CPPFLAGS'
27037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27040
27041 if test "wxUSE_UNICODE" = "yes"; then
27042
27043 for wx_func in wcstoull
27044 do
27045 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27046 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27047 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27048 echo $ECHO_N "(cached) $ECHO_C" >&6
27049 else
27050
27051 cat >conftest.$ac_ext <<_ACEOF
27052
27053 /* confdefs.h. */
27054 _ACEOF
27055 cat confdefs.h >>conftest.$ac_ext
27056 cat >>conftest.$ac_ext <<_ACEOF
27057 /* end confdefs.h. */
27058
27059
27060 $ac_includes_default
27061
27062 int
27063 main ()
27064 {
27065
27066 #ifndef $wx_func
27067 &$wx_func;
27068 #endif
27069
27070
27071 ;
27072 return 0;
27073 }
27074
27075 _ACEOF
27076 rm -f conftest.$ac_objext conftest$ac_exeext
27077 if { (ac_try="$ac_link"
27078 case "(($ac_try" in
27079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27080 *) ac_try_echo=$ac_try;;
27081 esac
27082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27083 (eval "$ac_link") 2>conftest.er1
27084 ac_status=$?
27085 grep -v '^ *+' conftest.er1 >conftest.err
27086 rm -f conftest.er1
27087 cat conftest.err >&5
27088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27089 (exit $ac_status); } && {
27090 test -z "$ac_cxx_werror_flag" ||
27091 test ! -s conftest.err
27092 } && test -s conftest$ac_exeext &&
27093 $as_test_x conftest$ac_exeext; then
27094 eval wx_cv_func_$wx_func=yes
27095 else
27096 echo "$as_me: failed program was:" >&5
27097 sed 's/^/| /' conftest.$ac_ext >&5
27098
27099 eval wx_cv_func_$wx_func=no
27100 fi
27101
27102 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27103 conftest$ac_exeext conftest.$ac_ext
27104
27105 fi
27106 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27107 { echo "$as_me:$LINENO: result: $ac_res" >&5
27108 echo "${ECHO_T}$ac_res" >&6; }
27109
27110 if eval test \$wx_cv_func_$wx_func = yes
27111 then
27112 cat >>confdefs.h <<_ACEOF
27113 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27114 _ACEOF
27115
27116
27117 else
27118 :
27119
27120 fi
27121 done
27122
27123 else
27124
27125 for wx_func in strtoull
27126 do
27127 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27128 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27129 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27130 echo $ECHO_N "(cached) $ECHO_C" >&6
27131 else
27132
27133 cat >conftest.$ac_ext <<_ACEOF
27134
27135 /* confdefs.h. */
27136 _ACEOF
27137 cat confdefs.h >>conftest.$ac_ext
27138 cat >>conftest.$ac_ext <<_ACEOF
27139 /* end confdefs.h. */
27140
27141
27142 $ac_includes_default
27143
27144 int
27145 main ()
27146 {
27147
27148 #ifndef $wx_func
27149 &$wx_func;
27150 #endif
27151
27152
27153 ;
27154 return 0;
27155 }
27156
27157 _ACEOF
27158 rm -f conftest.$ac_objext conftest$ac_exeext
27159 if { (ac_try="$ac_link"
27160 case "(($ac_try" in
27161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27162 *) ac_try_echo=$ac_try;;
27163 esac
27164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27165 (eval "$ac_link") 2>conftest.er1
27166 ac_status=$?
27167 grep -v '^ *+' conftest.er1 >conftest.err
27168 rm -f conftest.er1
27169 cat conftest.err >&5
27170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27171 (exit $ac_status); } && {
27172 test -z "$ac_cxx_werror_flag" ||
27173 test ! -s conftest.err
27174 } && test -s conftest$ac_exeext &&
27175 $as_test_x conftest$ac_exeext; then
27176 eval wx_cv_func_$wx_func=yes
27177 else
27178 echo "$as_me: failed program was:" >&5
27179 sed 's/^/| /' conftest.$ac_ext >&5
27180
27181 eval wx_cv_func_$wx_func=no
27182 fi
27183
27184 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27185 conftest$ac_exeext conftest.$ac_ext
27186
27187 fi
27188 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27189 { echo "$as_me:$LINENO: result: $ac_res" >&5
27190 echo "${ECHO_T}$ac_res" >&6; }
27191
27192 if eval test \$wx_cv_func_$wx_func = yes
27193 then
27194 cat >>confdefs.h <<_ACEOF
27195 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27196 _ACEOF
27197
27198
27199 else
27200 :
27201
27202 fi
27203 done
27204
27205 fi
27206 ac_ext=c
27207 ac_cpp='$CPP $CPPFLAGS'
27208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27211
27212
27213
27214
27215 if test "$wxUSE_REGEX" != "no"; then
27216 cat >>confdefs.h <<\_ACEOF
27217 #define wxUSE_REGEX 1
27218 _ACEOF
27219
27220
27221 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27222 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27223 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27224 wxUSE_REGEX=builtin
27225 fi
27226
27227 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27228 { echo "$as_me:$LINENO: checking for regex.h" >&5
27229 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27230 if test "${ac_cv_header_regex_h+set}" = set; then
27231 echo $ECHO_N "(cached) $ECHO_C" >&6
27232 else
27233 cat >conftest.$ac_ext <<_ACEOF
27234 /* confdefs.h. */
27235 _ACEOF
27236 cat confdefs.h >>conftest.$ac_ext
27237 cat >>conftest.$ac_ext <<_ACEOF
27238 /* end confdefs.h. */
27239
27240
27241 #include <regex.h>
27242 _ACEOF
27243 rm -f conftest.$ac_objext
27244 if { (ac_try="$ac_compile"
27245 case "(($ac_try" in
27246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27247 *) ac_try_echo=$ac_try;;
27248 esac
27249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27250 (eval "$ac_compile") 2>conftest.er1
27251 ac_status=$?
27252 grep -v '^ *+' conftest.er1 >conftest.err
27253 rm -f conftest.er1
27254 cat conftest.err >&5
27255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27256 (exit $ac_status); } && {
27257 test -z "$ac_c_werror_flag" ||
27258 test ! -s conftest.err
27259 } && test -s conftest.$ac_objext; then
27260 ac_cv_header_regex_h=yes
27261 else
27262 echo "$as_me: failed program was:" >&5
27263 sed 's/^/| /' conftest.$ac_ext >&5
27264
27265 ac_cv_header_regex_h=no
27266 fi
27267
27268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27269 fi
27270 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27271 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
27272 if test $ac_cv_header_regex_h = yes; then
27273
27274
27275 for ac_func in regcomp re_search
27276 do
27277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27278 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27280 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27281 echo $ECHO_N "(cached) $ECHO_C" >&6
27282 else
27283 cat >conftest.$ac_ext <<_ACEOF
27284 /* confdefs.h. */
27285 _ACEOF
27286 cat confdefs.h >>conftest.$ac_ext
27287 cat >>conftest.$ac_ext <<_ACEOF
27288 /* end confdefs.h. */
27289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27290 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27291 #define $ac_func innocuous_$ac_func
27292
27293 /* System header to define __stub macros and hopefully few prototypes,
27294 which can conflict with char $ac_func (); below.
27295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27296 <limits.h> exists even on freestanding compilers. */
27297
27298 #ifdef __STDC__
27299 # include <limits.h>
27300 #else
27301 # include <assert.h>
27302 #endif
27303
27304 #undef $ac_func
27305
27306 /* Override any GCC internal prototype to avoid an error.
27307 Use char because int might match the return type of a GCC
27308 builtin and then its argument prototype would still apply. */
27309 #ifdef __cplusplus
27310 extern "C"
27311 #endif
27312 char $ac_func ();
27313 /* The GNU C library defines this for functions which it implements
27314 to always fail with ENOSYS. Some functions are actually named
27315 something starting with __ and the normal name is an alias. */
27316 #if defined __stub_$ac_func || defined __stub___$ac_func
27317 choke me
27318 #endif
27319
27320 int
27321 main ()
27322 {
27323 return $ac_func ();
27324 ;
27325 return 0;
27326 }
27327 _ACEOF
27328 rm -f conftest.$ac_objext conftest$ac_exeext
27329 if { (ac_try="$ac_link"
27330 case "(($ac_try" in
27331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27332 *) ac_try_echo=$ac_try;;
27333 esac
27334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27335 (eval "$ac_link") 2>conftest.er1
27336 ac_status=$?
27337 grep -v '^ *+' conftest.er1 >conftest.err
27338 rm -f conftest.er1
27339 cat conftest.err >&5
27340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27341 (exit $ac_status); } && {
27342 test -z "$ac_c_werror_flag" ||
27343 test ! -s conftest.err
27344 } && test -s conftest$ac_exeext &&
27345 $as_test_x conftest$ac_exeext; then
27346 eval "$as_ac_var=yes"
27347 else
27348 echo "$as_me: failed program was:" >&5
27349 sed 's/^/| /' conftest.$ac_ext >&5
27350
27351 eval "$as_ac_var=no"
27352 fi
27353
27354 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27355 conftest$ac_exeext conftest.$ac_ext
27356 fi
27357 ac_res=`eval echo '${'$as_ac_var'}'`
27358 { echo "$as_me:$LINENO: result: $ac_res" >&5
27359 echo "${ECHO_T}$ac_res" >&6; }
27360 if test `eval echo '${'$as_ac_var'}'` = yes; then
27361 cat >>confdefs.h <<_ACEOF
27362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27363 _ACEOF
27364
27365 fi
27366 done
27367
27368 fi
27369
27370
27371
27372 if test "x$ac_cv_func_regcomp" != "xyes"; then
27373 if test "$wxUSE_REGEX" = "sys" ; then
27374 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27375 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27376 { (exit 1); exit 1; }; }
27377 else
27378 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27379 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27380 wxUSE_REGEX=builtin
27381 fi
27382 else
27383 wxUSE_REGEX=sys
27384 cat >>confdefs.h <<\_ACEOF
27385 #define WX_NO_REGEX_ADVANCED 1
27386 _ACEOF
27387
27388 fi
27389 fi
27390 fi
27391
27392
27393 ZLIB_LINK=
27394 if test "$wxUSE_ZLIB" != "no" ; then
27395 cat >>confdefs.h <<\_ACEOF
27396 #define wxUSE_ZLIB 1
27397 _ACEOF
27398
27399
27400 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27401 if test "$USE_DARWIN" = 1; then
27402 system_zlib_h_ok="yes"
27403 else
27404 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27405 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27406 if test "${ac_cv_header_zlib_h+set}" = set; then
27407 echo $ECHO_N "(cached) $ECHO_C" >&6
27408 else
27409 if test "$cross_compiling" = yes; then
27410 unset ac_cv_header_zlib_h
27411
27412 else
27413 cat >conftest.$ac_ext <<_ACEOF
27414 /* confdefs.h. */
27415 _ACEOF
27416 cat confdefs.h >>conftest.$ac_ext
27417 cat >>conftest.$ac_ext <<_ACEOF
27418 /* end confdefs.h. */
27419
27420 #include <zlib.h>
27421 #include <stdio.h>
27422
27423 int main()
27424 {
27425 FILE *f=fopen("conftestval", "w");
27426 if (!f) exit(1);
27427 fprintf(f, "%s",
27428 ZLIB_VERSION[0] == '1' &&
27429 (ZLIB_VERSION[2] > '1' ||
27430 (ZLIB_VERSION[2] == '1' &&
27431 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27432 exit(0);
27433 }
27434
27435 _ACEOF
27436 rm -f conftest$ac_exeext
27437 if { (ac_try="$ac_link"
27438 case "(($ac_try" in
27439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27440 *) ac_try_echo=$ac_try;;
27441 esac
27442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27443 (eval "$ac_link") 2>&5
27444 ac_status=$?
27445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27446 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27447 { (case "(($ac_try" in
27448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27449 *) ac_try_echo=$ac_try;;
27450 esac
27451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27452 (eval "$ac_try") 2>&5
27453 ac_status=$?
27454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27455 (exit $ac_status); }; }; then
27456 ac_cv_header_zlib_h=`cat conftestval`
27457 else
27458 echo "$as_me: program exited with status $ac_status" >&5
27459 echo "$as_me: failed program was:" >&5
27460 sed 's/^/| /' conftest.$ac_ext >&5
27461
27462 ( exit $ac_status )
27463 ac_cv_header_zlib_h=no
27464 fi
27465 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27466 fi
27467
27468
27469
27470 fi
27471 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27472 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27473 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27474 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27475 if test "${ac_cv_header_zlib_h+set}" = set; then
27476 echo $ECHO_N "(cached) $ECHO_C" >&6
27477 else
27478 cat >conftest.$ac_ext <<_ACEOF
27479 /* confdefs.h. */
27480 _ACEOF
27481 cat confdefs.h >>conftest.$ac_ext
27482 cat >>conftest.$ac_ext <<_ACEOF
27483 /* end confdefs.h. */
27484
27485
27486 #include <zlib.h>
27487 _ACEOF
27488 rm -f conftest.$ac_objext
27489 if { (ac_try="$ac_compile"
27490 case "(($ac_try" in
27491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27492 *) ac_try_echo=$ac_try;;
27493 esac
27494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27495 (eval "$ac_compile") 2>conftest.er1
27496 ac_status=$?
27497 grep -v '^ *+' conftest.er1 >conftest.err
27498 rm -f conftest.er1
27499 cat conftest.err >&5
27500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27501 (exit $ac_status); } && {
27502 test -z "$ac_c_werror_flag" ||
27503 test ! -s conftest.err
27504 } && test -s conftest.$ac_objext; then
27505 ac_cv_header_zlib_h=yes
27506 else
27507 echo "$as_me: failed program was:" >&5
27508 sed 's/^/| /' conftest.$ac_ext >&5
27509
27510 ac_cv_header_zlib_h=no
27511 fi
27512
27513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27514 fi
27515 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27516 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27517
27518
27519
27520 system_zlib_h_ok=$ac_cv_header_zlib_h
27521 fi
27522
27523 if test "$system_zlib_h_ok" = "yes"; then
27524 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27525 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
27526 if test "${ac_cv_lib_z_deflate+set}" = set; then
27527 echo $ECHO_N "(cached) $ECHO_C" >&6
27528 else
27529 ac_check_lib_save_LIBS=$LIBS
27530 LIBS="-lz $LIBS"
27531 cat >conftest.$ac_ext <<_ACEOF
27532 /* confdefs.h. */
27533 _ACEOF
27534 cat confdefs.h >>conftest.$ac_ext
27535 cat >>conftest.$ac_ext <<_ACEOF
27536 /* end confdefs.h. */
27537
27538 /* Override any GCC internal prototype to avoid an error.
27539 Use char because int might match the return type of a GCC
27540 builtin and then its argument prototype would still apply. */
27541 #ifdef __cplusplus
27542 extern "C"
27543 #endif
27544 char deflate ();
27545 int
27546 main ()
27547 {
27548 return deflate ();
27549 ;
27550 return 0;
27551 }
27552 _ACEOF
27553 rm -f conftest.$ac_objext conftest$ac_exeext
27554 if { (ac_try="$ac_link"
27555 case "(($ac_try" in
27556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27557 *) ac_try_echo=$ac_try;;
27558 esac
27559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27560 (eval "$ac_link") 2>conftest.er1
27561 ac_status=$?
27562 grep -v '^ *+' conftest.er1 >conftest.err
27563 rm -f conftest.er1
27564 cat conftest.err >&5
27565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27566 (exit $ac_status); } && {
27567 test -z "$ac_c_werror_flag" ||
27568 test ! -s conftest.err
27569 } && test -s conftest$ac_exeext &&
27570 $as_test_x conftest$ac_exeext; then
27571 ac_cv_lib_z_deflate=yes
27572 else
27573 echo "$as_me: failed program was:" >&5
27574 sed 's/^/| /' conftest.$ac_ext >&5
27575
27576 ac_cv_lib_z_deflate=no
27577 fi
27578
27579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27580 conftest$ac_exeext conftest.$ac_ext
27581 LIBS=$ac_check_lib_save_LIBS
27582 fi
27583 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
27584 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
27585 if test $ac_cv_lib_z_deflate = yes; then
27586 ZLIB_LINK=" -lz"
27587 fi
27588
27589 fi
27590
27591 if test "x$ZLIB_LINK" = "x" ; then
27592 if test "$wxUSE_ZLIB" = "sys" ; then
27593 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
27594 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
27595 { (exit 1); exit 1; }; }
27596 else
27597 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
27598 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
27599 wxUSE_ZLIB=builtin
27600 fi
27601 else
27602 wxUSE_ZLIB=sys
27603 fi
27604 fi
27605 fi
27606
27607
27608 PNG_LINK=
27609 if test "$wxUSE_LIBPNG" != "no" ; then
27610 cat >>confdefs.h <<\_ACEOF
27611 #define wxUSE_LIBPNG 1
27612 _ACEOF
27613
27614
27615 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
27616 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
27617 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
27618 wxUSE_LIBPNG=sys
27619 fi
27620
27621 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
27622 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
27623 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
27624 wxUSE_LIBPNG=builtin
27625 fi
27626
27627 if test "$wxUSE_MGL" != 1 ; then
27628 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
27629 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
27630 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
27631 if test "${ac_cv_header_png_h+set}" = set; then
27632 echo $ECHO_N "(cached) $ECHO_C" >&6
27633 else
27634 if test "$cross_compiling" = yes; then
27635 unset ac_cv_header_png_h
27636
27637 else
27638 cat >conftest.$ac_ext <<_ACEOF
27639 /* confdefs.h. */
27640 _ACEOF
27641 cat confdefs.h >>conftest.$ac_ext
27642 cat >>conftest.$ac_ext <<_ACEOF
27643 /* end confdefs.h. */
27644
27645 #include <png.h>
27646 #include <stdio.h>
27647
27648 int main()
27649 {
27650 FILE *f=fopen("conftestval", "w");
27651 if (!f) exit(1);
27652 fprintf(f, "%s",
27653 PNG_LIBPNG_VER > 90 ? "yes" : "no");
27654 exit(0);
27655 }
27656
27657 _ACEOF
27658 rm -f conftest$ac_exeext
27659 if { (ac_try="$ac_link"
27660 case "(($ac_try" in
27661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27662 *) ac_try_echo=$ac_try;;
27663 esac
27664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27665 (eval "$ac_link") 2>&5
27666 ac_status=$?
27667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27668 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27669 { (case "(($ac_try" in
27670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27671 *) ac_try_echo=$ac_try;;
27672 esac
27673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27674 (eval "$ac_try") 2>&5
27675 ac_status=$?
27676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27677 (exit $ac_status); }; }; then
27678 ac_cv_header_png_h=`cat conftestval`
27679 else
27680 echo "$as_me: program exited with status $ac_status" >&5
27681 echo "$as_me: failed program was:" >&5
27682 sed 's/^/| /' conftest.$ac_ext >&5
27683
27684 ( exit $ac_status )
27685 ac_cv_header_png_h=no
27686 fi
27687 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27688 fi
27689
27690
27691
27692 fi
27693 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27694 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27695 { echo "$as_me:$LINENO: checking for png.h" >&5
27696 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
27697 if test "${ac_cv_header_png_h+set}" = set; then
27698 echo $ECHO_N "(cached) $ECHO_C" >&6
27699 else
27700 cat >conftest.$ac_ext <<_ACEOF
27701 /* confdefs.h. */
27702 _ACEOF
27703 cat confdefs.h >>conftest.$ac_ext
27704 cat >>conftest.$ac_ext <<_ACEOF
27705 /* end confdefs.h. */
27706
27707
27708 #include <png.h>
27709 _ACEOF
27710 rm -f conftest.$ac_objext
27711 if { (ac_try="$ac_compile"
27712 case "(($ac_try" in
27713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27714 *) ac_try_echo=$ac_try;;
27715 esac
27716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27717 (eval "$ac_compile") 2>conftest.er1
27718 ac_status=$?
27719 grep -v '^ *+' conftest.er1 >conftest.err
27720 rm -f conftest.er1
27721 cat conftest.err >&5
27722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27723 (exit $ac_status); } && {
27724 test -z "$ac_c_werror_flag" ||
27725 test ! -s conftest.err
27726 } && test -s conftest.$ac_objext; then
27727 ac_cv_header_png_h=yes
27728 else
27729 echo "$as_me: failed program was:" >&5
27730 sed 's/^/| /' conftest.$ac_ext >&5
27731
27732 ac_cv_header_png_h=no
27733 fi
27734
27735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27736 fi
27737 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27738 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27739
27740
27741
27742 if test "$ac_cv_header_png_h" = "yes"; then
27743 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
27744 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
27745 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
27746 echo $ECHO_N "(cached) $ECHO_C" >&6
27747 else
27748 ac_check_lib_save_LIBS=$LIBS
27749 LIBS="-lpng -lz -lm $LIBS"
27750 cat >conftest.$ac_ext <<_ACEOF
27751 /* confdefs.h. */
27752 _ACEOF
27753 cat confdefs.h >>conftest.$ac_ext
27754 cat >>conftest.$ac_ext <<_ACEOF
27755 /* end confdefs.h. */
27756
27757 /* Override any GCC internal prototype to avoid an error.
27758 Use char because int might match the return type of a GCC
27759 builtin and then its argument prototype would still apply. */
27760 #ifdef __cplusplus
27761 extern "C"
27762 #endif
27763 char png_sig_cmp ();
27764 int
27765 main ()
27766 {
27767 return png_sig_cmp ();
27768 ;
27769 return 0;
27770 }
27771 _ACEOF
27772 rm -f conftest.$ac_objext conftest$ac_exeext
27773 if { (ac_try="$ac_link"
27774 case "(($ac_try" in
27775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27776 *) ac_try_echo=$ac_try;;
27777 esac
27778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27779 (eval "$ac_link") 2>conftest.er1
27780 ac_status=$?
27781 grep -v '^ *+' conftest.er1 >conftest.err
27782 rm -f conftest.er1
27783 cat conftest.err >&5
27784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27785 (exit $ac_status); } && {
27786 test -z "$ac_c_werror_flag" ||
27787 test ! -s conftest.err
27788 } && test -s conftest$ac_exeext &&
27789 $as_test_x conftest$ac_exeext; then
27790 ac_cv_lib_png_png_sig_cmp=yes
27791 else
27792 echo "$as_me: failed program was:" >&5
27793 sed 's/^/| /' conftest.$ac_ext >&5
27794
27795 ac_cv_lib_png_png_sig_cmp=no
27796 fi
27797
27798 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27799 conftest$ac_exeext conftest.$ac_ext
27800 LIBS=$ac_check_lib_save_LIBS
27801 fi
27802 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
27803 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
27804 if test $ac_cv_lib_png_png_sig_cmp = yes; then
27805 PNG_LINK=" -lpng -lz"
27806 fi
27807
27808 fi
27809
27810 if test "x$PNG_LINK" = "x" ; then
27811 if test "$wxUSE_LIBPNG" = "sys" ; then
27812 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27813 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27814 { (exit 1); exit 1; }; }
27815 else
27816 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27817 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27818 wxUSE_LIBPNG=builtin
27819 fi
27820 else
27821 wxUSE_LIBPNG=sys
27822 fi
27823 fi
27824 fi
27825 fi
27826
27827
27828 JPEG_LINK=
27829 if test "$wxUSE_LIBJPEG" != "no" ; then
27830 cat >>confdefs.h <<\_ACEOF
27831 #define wxUSE_LIBJPEG 1
27832 _ACEOF
27833
27834
27835 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27836 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27837 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27838 wxUSE_LIBJPEG=sys
27839 fi
27840
27841 if test "$wxUSE_MGL" != 1 ; then
27842 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27843 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27844 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
27845 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27846 echo $ECHO_N "(cached) $ECHO_C" >&6
27847 else
27848 cat >conftest.$ac_ext <<_ACEOF
27849 /* confdefs.h. */
27850 _ACEOF
27851 cat confdefs.h >>conftest.$ac_ext
27852 cat >>conftest.$ac_ext <<_ACEOF
27853 /* end confdefs.h. */
27854
27855 #undef HAVE_STDLIB_H
27856 #include <stdio.h>
27857 #include <jpeglib.h>
27858
27859 int
27860 main ()
27861 {
27862
27863
27864 ;
27865 return 0;
27866 }
27867 _ACEOF
27868 rm -f conftest.$ac_objext
27869 if { (ac_try="$ac_compile"
27870 case "(($ac_try" in
27871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27872 *) ac_try_echo=$ac_try;;
27873 esac
27874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27875 (eval "$ac_compile") 2>conftest.er1
27876 ac_status=$?
27877 grep -v '^ *+' conftest.er1 >conftest.err
27878 rm -f conftest.er1
27879 cat conftest.err >&5
27880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27881 (exit $ac_status); } && {
27882 test -z "$ac_c_werror_flag" ||
27883 test ! -s conftest.err
27884 } && test -s conftest.$ac_objext; then
27885 ac_cv_header_jpeglib_h=yes
27886 else
27887 echo "$as_me: failed program was:" >&5
27888 sed 's/^/| /' conftest.$ac_ext >&5
27889
27890 ac_cv_header_jpeglib_h=no
27891
27892 fi
27893
27894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27895
27896 fi
27897
27898 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27899 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
27900
27901 if test "$ac_cv_header_jpeglib_h" = "yes"; then
27902 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
27903 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
27904 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27905 echo $ECHO_N "(cached) $ECHO_C" >&6
27906 else
27907 ac_check_lib_save_LIBS=$LIBS
27908 LIBS="-ljpeg $LIBS"
27909 cat >conftest.$ac_ext <<_ACEOF
27910 /* confdefs.h. */
27911 _ACEOF
27912 cat confdefs.h >>conftest.$ac_ext
27913 cat >>conftest.$ac_ext <<_ACEOF
27914 /* end confdefs.h. */
27915
27916 /* Override any GCC internal prototype to avoid an error.
27917 Use char because int might match the return type of a GCC
27918 builtin and then its argument prototype would still apply. */
27919 #ifdef __cplusplus
27920 extern "C"
27921 #endif
27922 char jpeg_read_header ();
27923 int
27924 main ()
27925 {
27926 return jpeg_read_header ();
27927 ;
27928 return 0;
27929 }
27930 _ACEOF
27931 rm -f conftest.$ac_objext conftest$ac_exeext
27932 if { (ac_try="$ac_link"
27933 case "(($ac_try" in
27934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27935 *) ac_try_echo=$ac_try;;
27936 esac
27937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27938 (eval "$ac_link") 2>conftest.er1
27939 ac_status=$?
27940 grep -v '^ *+' conftest.er1 >conftest.err
27941 rm -f conftest.er1
27942 cat conftest.err >&5
27943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27944 (exit $ac_status); } && {
27945 test -z "$ac_c_werror_flag" ||
27946 test ! -s conftest.err
27947 } && test -s conftest$ac_exeext &&
27948 $as_test_x conftest$ac_exeext; then
27949 ac_cv_lib_jpeg_jpeg_read_header=yes
27950 else
27951 echo "$as_me: failed program was:" >&5
27952 sed 's/^/| /' conftest.$ac_ext >&5
27953
27954 ac_cv_lib_jpeg_jpeg_read_header=no
27955 fi
27956
27957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27958 conftest$ac_exeext conftest.$ac_ext
27959 LIBS=$ac_check_lib_save_LIBS
27960 fi
27961 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27962 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27963 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27964 JPEG_LINK=" -ljpeg"
27965 fi
27966
27967 fi
27968
27969 if test "x$JPEG_LINK" = "x" ; then
27970 if test "$wxUSE_LIBJPEG" = "sys" ; then
27971 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27972 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27973 { (exit 1); exit 1; }; }
27974 else
27975 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27976 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27977 wxUSE_LIBJPEG=builtin
27978 fi
27979 else
27980 wxUSE_LIBJPEG=sys
27981
27982 if test "$wxUSE_MSW" = 1; then
27983 { echo "$as_me:$LINENO: checking for boolean" >&5
27984 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27985 if test "${ac_cv_type_boolean+set}" = set; then
27986 echo $ECHO_N "(cached) $ECHO_C" >&6
27987 else
27988 cat >conftest.$ac_ext <<_ACEOF
27989 /* confdefs.h. */
27990 _ACEOF
27991 cat confdefs.h >>conftest.$ac_ext
27992 cat >>conftest.$ac_ext <<_ACEOF
27993 /* end confdefs.h. */
27994 #include <windows.h>
27995
27996 typedef boolean ac__type_new_;
27997 int
27998 main ()
27999 {
28000 if ((ac__type_new_ *) 0)
28001 return 0;
28002 if (sizeof (ac__type_new_))
28003 return 0;
28004 ;
28005 return 0;
28006 }
28007 _ACEOF
28008 rm -f conftest.$ac_objext
28009 if { (ac_try="$ac_compile"
28010 case "(($ac_try" in
28011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28012 *) ac_try_echo=$ac_try;;
28013 esac
28014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28015 (eval "$ac_compile") 2>conftest.er1
28016 ac_status=$?
28017 grep -v '^ *+' conftest.er1 >conftest.err
28018 rm -f conftest.er1
28019 cat conftest.err >&5
28020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28021 (exit $ac_status); } && {
28022 test -z "$ac_c_werror_flag" ||
28023 test ! -s conftest.err
28024 } && test -s conftest.$ac_objext; then
28025 ac_cv_type_boolean=yes
28026 else
28027 echo "$as_me: failed program was:" >&5
28028 sed 's/^/| /' conftest.$ac_ext >&5
28029
28030 ac_cv_type_boolean=no
28031 fi
28032
28033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28034 fi
28035 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28036 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28037 if test $ac_cv_type_boolean = yes; then
28038
28039 cat >>confdefs.h <<_ACEOF
28040 #define HAVE_BOOLEAN 1
28041 _ACEOF
28042
28043
28044 { echo "$as_me:$LINENO: checking for boolean" >&5
28045 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28046 if test "${ac_cv_type_boolean+set}" = set; then
28047 echo $ECHO_N "(cached) $ECHO_C" >&6
28048 else
28049 cat >conftest.$ac_ext <<_ACEOF
28050 /* confdefs.h. */
28051 _ACEOF
28052 cat confdefs.h >>conftest.$ac_ext
28053 cat >>conftest.$ac_ext <<_ACEOF
28054 /* end confdefs.h. */
28055
28056 #undef HAVE_BOOLEAN
28057 #include <stdio.h>
28058 #include <jpeglib.h>
28059
28060
28061 typedef boolean ac__type_new_;
28062 int
28063 main ()
28064 {
28065 if ((ac__type_new_ *) 0)
28066 return 0;
28067 if (sizeof (ac__type_new_))
28068 return 0;
28069 ;
28070 return 0;
28071 }
28072 _ACEOF
28073 rm -f conftest.$ac_objext
28074 if { (ac_try="$ac_compile"
28075 case "(($ac_try" in
28076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28077 *) ac_try_echo=$ac_try;;
28078 esac
28079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28080 (eval "$ac_compile") 2>conftest.er1
28081 ac_status=$?
28082 grep -v '^ *+' conftest.er1 >conftest.err
28083 rm -f conftest.er1
28084 cat conftest.err >&5
28085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28086 (exit $ac_status); } && {
28087 test -z "$ac_c_werror_flag" ||
28088 test ! -s conftest.err
28089 } && test -s conftest.$ac_objext; then
28090 ac_cv_type_boolean=yes
28091 else
28092 echo "$as_me: failed program was:" >&5
28093 sed 's/^/| /' conftest.$ac_ext >&5
28094
28095 ac_cv_type_boolean=no
28096 fi
28097
28098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28099 fi
28100 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28101 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28102
28103 # The cast to long int works around a bug in the HP C Compiler
28104 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28105 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28106 # This bug is HP SR number 8606223364.
28107 { echo "$as_me:$LINENO: checking size of boolean" >&5
28108 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28109 if test "${ac_cv_sizeof_boolean+set}" = set; then
28110 echo $ECHO_N "(cached) $ECHO_C" >&6
28111 else
28112 if test "$cross_compiling" = yes; then
28113 # Depending upon the size, compute the lo and hi bounds.
28114 cat >conftest.$ac_ext <<_ACEOF
28115 /* confdefs.h. */
28116 _ACEOF
28117 cat confdefs.h >>conftest.$ac_ext
28118 cat >>conftest.$ac_ext <<_ACEOF
28119 /* end confdefs.h. */
28120
28121 #undef HAVE_BOOLEAN
28122 #include <stdio.h>
28123 #include <jpeglib.h>
28124
28125
28126 typedef boolean ac__type_sizeof_;
28127 int
28128 main ()
28129 {
28130 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28131 test_array [0] = 0
28132
28133 ;
28134 return 0;
28135 }
28136 _ACEOF
28137 rm -f conftest.$ac_objext
28138 if { (ac_try="$ac_compile"
28139 case "(($ac_try" in
28140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28141 *) ac_try_echo=$ac_try;;
28142 esac
28143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28144 (eval "$ac_compile") 2>conftest.er1
28145 ac_status=$?
28146 grep -v '^ *+' conftest.er1 >conftest.err
28147 rm -f conftest.er1
28148 cat conftest.err >&5
28149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28150 (exit $ac_status); } && {
28151 test -z "$ac_c_werror_flag" ||
28152 test ! -s conftest.err
28153 } && test -s conftest.$ac_objext; then
28154 ac_lo=0 ac_mid=0
28155 while :; do
28156 cat >conftest.$ac_ext <<_ACEOF
28157 /* confdefs.h. */
28158 _ACEOF
28159 cat confdefs.h >>conftest.$ac_ext
28160 cat >>conftest.$ac_ext <<_ACEOF
28161 /* end confdefs.h. */
28162
28163 #undef HAVE_BOOLEAN
28164 #include <stdio.h>
28165 #include <jpeglib.h>
28166
28167
28168 typedef boolean ac__type_sizeof_;
28169 int
28170 main ()
28171 {
28172 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28173 test_array [0] = 0
28174
28175 ;
28176 return 0;
28177 }
28178 _ACEOF
28179 rm -f conftest.$ac_objext
28180 if { (ac_try="$ac_compile"
28181 case "(($ac_try" in
28182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28183 *) ac_try_echo=$ac_try;;
28184 esac
28185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28186 (eval "$ac_compile") 2>conftest.er1
28187 ac_status=$?
28188 grep -v '^ *+' conftest.er1 >conftest.err
28189 rm -f conftest.er1
28190 cat conftest.err >&5
28191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28192 (exit $ac_status); } && {
28193 test -z "$ac_c_werror_flag" ||
28194 test ! -s conftest.err
28195 } && test -s conftest.$ac_objext; then
28196 ac_hi=$ac_mid; break
28197 else
28198 echo "$as_me: failed program was:" >&5
28199 sed 's/^/| /' conftest.$ac_ext >&5
28200
28201 ac_lo=`expr $ac_mid + 1`
28202 if test $ac_lo -le $ac_mid; then
28203 ac_lo= ac_hi=
28204 break
28205 fi
28206 ac_mid=`expr 2 '*' $ac_mid + 1`
28207 fi
28208
28209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28210 done
28211 else
28212 echo "$as_me: failed program was:" >&5
28213 sed 's/^/| /' conftest.$ac_ext >&5
28214
28215 cat >conftest.$ac_ext <<_ACEOF
28216 /* confdefs.h. */
28217 _ACEOF
28218 cat confdefs.h >>conftest.$ac_ext
28219 cat >>conftest.$ac_ext <<_ACEOF
28220 /* end confdefs.h. */
28221
28222 #undef HAVE_BOOLEAN
28223 #include <stdio.h>
28224 #include <jpeglib.h>
28225
28226
28227 typedef boolean ac__type_sizeof_;
28228 int
28229 main ()
28230 {
28231 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28232 test_array [0] = 0
28233
28234 ;
28235 return 0;
28236 }
28237 _ACEOF
28238 rm -f conftest.$ac_objext
28239 if { (ac_try="$ac_compile"
28240 case "(($ac_try" in
28241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28242 *) ac_try_echo=$ac_try;;
28243 esac
28244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28245 (eval "$ac_compile") 2>conftest.er1
28246 ac_status=$?
28247 grep -v '^ *+' conftest.er1 >conftest.err
28248 rm -f conftest.er1
28249 cat conftest.err >&5
28250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28251 (exit $ac_status); } && {
28252 test -z "$ac_c_werror_flag" ||
28253 test ! -s conftest.err
28254 } && test -s conftest.$ac_objext; then
28255 ac_hi=-1 ac_mid=-1
28256 while :; do
28257 cat >conftest.$ac_ext <<_ACEOF
28258 /* confdefs.h. */
28259 _ACEOF
28260 cat confdefs.h >>conftest.$ac_ext
28261 cat >>conftest.$ac_ext <<_ACEOF
28262 /* end confdefs.h. */
28263
28264 #undef HAVE_BOOLEAN
28265 #include <stdio.h>
28266 #include <jpeglib.h>
28267
28268
28269 typedef boolean ac__type_sizeof_;
28270 int
28271 main ()
28272 {
28273 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28274 test_array [0] = 0
28275
28276 ;
28277 return 0;
28278 }
28279 _ACEOF
28280 rm -f conftest.$ac_objext
28281 if { (ac_try="$ac_compile"
28282 case "(($ac_try" in
28283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28284 *) ac_try_echo=$ac_try;;
28285 esac
28286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28287 (eval "$ac_compile") 2>conftest.er1
28288 ac_status=$?
28289 grep -v '^ *+' conftest.er1 >conftest.err
28290 rm -f conftest.er1
28291 cat conftest.err >&5
28292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28293 (exit $ac_status); } && {
28294 test -z "$ac_c_werror_flag" ||
28295 test ! -s conftest.err
28296 } && test -s conftest.$ac_objext; then
28297 ac_lo=$ac_mid; break
28298 else
28299 echo "$as_me: failed program was:" >&5
28300 sed 's/^/| /' conftest.$ac_ext >&5
28301
28302 ac_hi=`expr '(' $ac_mid ')' - 1`
28303 if test $ac_mid -le $ac_hi; then
28304 ac_lo= ac_hi=
28305 break
28306 fi
28307 ac_mid=`expr 2 '*' $ac_mid`
28308 fi
28309
28310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28311 done
28312 else
28313 echo "$as_me: failed program was:" >&5
28314 sed 's/^/| /' conftest.$ac_ext >&5
28315
28316 ac_lo= ac_hi=
28317 fi
28318
28319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28320 fi
28321
28322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28323 # Binary search between lo and hi bounds.
28324 while test "x$ac_lo" != "x$ac_hi"; do
28325 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28326 cat >conftest.$ac_ext <<_ACEOF
28327 /* confdefs.h. */
28328 _ACEOF
28329 cat confdefs.h >>conftest.$ac_ext
28330 cat >>conftest.$ac_ext <<_ACEOF
28331 /* end confdefs.h. */
28332
28333 #undef HAVE_BOOLEAN
28334 #include <stdio.h>
28335 #include <jpeglib.h>
28336
28337
28338 typedef boolean ac__type_sizeof_;
28339 int
28340 main ()
28341 {
28342 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28343 test_array [0] = 0
28344
28345 ;
28346 return 0;
28347 }
28348 _ACEOF
28349 rm -f conftest.$ac_objext
28350 if { (ac_try="$ac_compile"
28351 case "(($ac_try" in
28352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28353 *) ac_try_echo=$ac_try;;
28354 esac
28355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28356 (eval "$ac_compile") 2>conftest.er1
28357 ac_status=$?
28358 grep -v '^ *+' conftest.er1 >conftest.err
28359 rm -f conftest.er1
28360 cat conftest.err >&5
28361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28362 (exit $ac_status); } && {
28363 test -z "$ac_c_werror_flag" ||
28364 test ! -s conftest.err
28365 } && test -s conftest.$ac_objext; then
28366 ac_hi=$ac_mid
28367 else
28368 echo "$as_me: failed program was:" >&5
28369 sed 's/^/| /' conftest.$ac_ext >&5
28370
28371 ac_lo=`expr '(' $ac_mid ')' + 1`
28372 fi
28373
28374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28375 done
28376 case $ac_lo in
28377 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28378 '') if test "$ac_cv_type_boolean" = yes; then
28379 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28380 See \`config.log' for more details." >&5
28381 echo "$as_me: error: cannot compute sizeof (boolean)
28382 See \`config.log' for more details." >&2;}
28383 { (exit 77); exit 77; }; }
28384 else
28385 ac_cv_sizeof_boolean=0
28386 fi ;;
28387 esac
28388 else
28389 cat >conftest.$ac_ext <<_ACEOF
28390 /* confdefs.h. */
28391 _ACEOF
28392 cat confdefs.h >>conftest.$ac_ext
28393 cat >>conftest.$ac_ext <<_ACEOF
28394 /* end confdefs.h. */
28395
28396 #undef HAVE_BOOLEAN
28397 #include <stdio.h>
28398 #include <jpeglib.h>
28399
28400
28401 typedef boolean ac__type_sizeof_;
28402 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28403 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28404 #include <stdio.h>
28405 #include <stdlib.h>
28406 int
28407 main ()
28408 {
28409
28410 FILE *f = fopen ("conftest.val", "w");
28411 if (! f)
28412 return 1;
28413 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28414 {
28415 long int i = longval ();
28416 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28417 return 1;
28418 fprintf (f, "%ld\n", i);
28419 }
28420 else
28421 {
28422 unsigned long int i = ulongval ();
28423 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28424 return 1;
28425 fprintf (f, "%lu\n", i);
28426 }
28427 return ferror (f) || fclose (f) != 0;
28428
28429 ;
28430 return 0;
28431 }
28432 _ACEOF
28433 rm -f conftest$ac_exeext
28434 if { (ac_try="$ac_link"
28435 case "(($ac_try" in
28436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28437 *) ac_try_echo=$ac_try;;
28438 esac
28439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28440 (eval "$ac_link") 2>&5
28441 ac_status=$?
28442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28443 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28444 { (case "(($ac_try" in
28445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28446 *) ac_try_echo=$ac_try;;
28447 esac
28448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28449 (eval "$ac_try") 2>&5
28450 ac_status=$?
28451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28452 (exit $ac_status); }; }; then
28453 ac_cv_sizeof_boolean=`cat conftest.val`
28454 else
28455 echo "$as_me: program exited with status $ac_status" >&5
28456 echo "$as_me: failed program was:" >&5
28457 sed 's/^/| /' conftest.$ac_ext >&5
28458
28459 ( exit $ac_status )
28460 if test "$ac_cv_type_boolean" = yes; then
28461 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28462 See \`config.log' for more details." >&5
28463 echo "$as_me: error: cannot compute sizeof (boolean)
28464 See \`config.log' for more details." >&2;}
28465 { (exit 77); exit 77; }; }
28466 else
28467 ac_cv_sizeof_boolean=0
28468 fi
28469 fi
28470 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28471 fi
28472 rm -f conftest.val
28473 fi
28474 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
28475 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28476
28477
28478
28479 cat >>confdefs.h <<_ACEOF
28480 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28481 _ACEOF
28482
28483
28484 cat >>confdefs.h <<_ACEOF
28485 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28486 _ACEOF
28487
28488
28489 fi
28490
28491 fi
28492 fi
28493 fi
28494 fi
28495 fi
28496
28497
28498 TIFF_LINK=
28499 TIFF_PREREQ_LINKS=-lm
28500 if test "$wxUSE_LIBTIFF" != "no" ; then
28501 cat >>confdefs.h <<\_ACEOF
28502 #define wxUSE_LIBTIFF 1
28503 _ACEOF
28504
28505
28506 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
28507 if test "$wxUSE_LIBJPEG" = "sys"; then
28508 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28509 fi
28510 if test "$wxUSE_ZLIB" = "sys"; then
28511 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28512 fi
28513 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
28514 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
28515 if test "${ac_cv_header_tiffio_h+set}" = set; then
28516 echo $ECHO_N "(cached) $ECHO_C" >&6
28517 else
28518 cat >conftest.$ac_ext <<_ACEOF
28519 /* confdefs.h. */
28520 _ACEOF
28521 cat confdefs.h >>conftest.$ac_ext
28522 cat >>conftest.$ac_ext <<_ACEOF
28523 /* end confdefs.h. */
28524
28525
28526
28527 #include <tiffio.h>
28528 _ACEOF
28529 rm -f conftest.$ac_objext
28530 if { (ac_try="$ac_compile"
28531 case "(($ac_try" in
28532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28533 *) ac_try_echo=$ac_try;;
28534 esac
28535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28536 (eval "$ac_compile") 2>conftest.er1
28537 ac_status=$?
28538 grep -v '^ *+' conftest.er1 >conftest.err
28539 rm -f conftest.er1
28540 cat conftest.err >&5
28541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28542 (exit $ac_status); } && {
28543 test -z "$ac_c_werror_flag" ||
28544 test ! -s conftest.err
28545 } && test -s conftest.$ac_objext; then
28546 ac_cv_header_tiffio_h=yes
28547 else
28548 echo "$as_me: failed program was:" >&5
28549 sed 's/^/| /' conftest.$ac_ext >&5
28550
28551 ac_cv_header_tiffio_h=no
28552 fi
28553
28554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28555 fi
28556 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
28557 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
28558 if test $ac_cv_header_tiffio_h = yes; then
28559
28560 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
28561 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
28562 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
28563 echo $ECHO_N "(cached) $ECHO_C" >&6
28564 else
28565 ac_check_lib_save_LIBS=$LIBS
28566 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
28567 cat >conftest.$ac_ext <<_ACEOF
28568 /* confdefs.h. */
28569 _ACEOF
28570 cat confdefs.h >>conftest.$ac_ext
28571 cat >>conftest.$ac_ext <<_ACEOF
28572 /* end confdefs.h. */
28573
28574 /* Override any GCC internal prototype to avoid an error.
28575 Use char because int might match the return type of a GCC
28576 builtin and then its argument prototype would still apply. */
28577 #ifdef __cplusplus
28578 extern "C"
28579 #endif
28580 char TIFFError ();
28581 int
28582 main ()
28583 {
28584 return TIFFError ();
28585 ;
28586 return 0;
28587 }
28588 _ACEOF
28589 rm -f conftest.$ac_objext conftest$ac_exeext
28590 if { (ac_try="$ac_link"
28591 case "(($ac_try" in
28592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28593 *) ac_try_echo=$ac_try;;
28594 esac
28595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28596 (eval "$ac_link") 2>conftest.er1
28597 ac_status=$?
28598 grep -v '^ *+' conftest.er1 >conftest.err
28599 rm -f conftest.er1
28600 cat conftest.err >&5
28601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28602 (exit $ac_status); } && {
28603 test -z "$ac_c_werror_flag" ||
28604 test ! -s conftest.err
28605 } && test -s conftest$ac_exeext &&
28606 $as_test_x conftest$ac_exeext; then
28607 ac_cv_lib_tiff_TIFFError=yes
28608 else
28609 echo "$as_me: failed program was:" >&5
28610 sed 's/^/| /' conftest.$ac_ext >&5
28611
28612 ac_cv_lib_tiff_TIFFError=no
28613 fi
28614
28615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28616 conftest$ac_exeext conftest.$ac_ext
28617 LIBS=$ac_check_lib_save_LIBS
28618 fi
28619 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
28620 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
28621 if test $ac_cv_lib_tiff_TIFFError = yes; then
28622 TIFF_LINK=" -ltiff"
28623 fi
28624
28625
28626 fi
28627
28628
28629
28630 if test "x$TIFF_LINK" = "x" ; then
28631 if test "$wxUSE_LIBTIFF" = "sys" ; then
28632 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
28633 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
28634 { (exit 1); exit 1; }; }
28635 else
28636 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
28637 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
28638 wxUSE_LIBTIFF=builtin
28639 fi
28640 else
28641 wxUSE_LIBTIFF=sys
28642 fi
28643 fi
28644 if test "$wxUSE_LIBTIFF" = "builtin" ; then
28645 if test "$wxUSE_LIBJPEG" = "no"; then
28646 ac_configure_args="$ac_configure_args --disable-jpeg"
28647 fi
28648 subdirs="$subdirs src/tiff"
28649
28650 fi
28651 fi
28652
28653
28654 if test "$wxUSE_WCHAR_T" != "yes"; then
28655 if test "$wxUSE_EXPAT" != "no"; then
28656 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
28657 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
28658 wxUSE_EXPAT=no
28659 fi
28660 if test "$wxUSE_XML" != "no"; then
28661 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
28662 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
28663 wxUSE_XML=no
28664 fi
28665 fi
28666
28667 if test "$wxUSE_EXPAT" != "no"; then
28668 wxUSE_XML=yes
28669 cat >>confdefs.h <<\_ACEOF
28670 #define wxUSE_EXPAT 1
28671 _ACEOF
28672
28673 cat >>confdefs.h <<\_ACEOF
28674 #define wxUSE_XML 1
28675 _ACEOF
28676
28677
28678 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
28679 { echo "$as_me:$LINENO: checking for expat.h" >&5
28680 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
28681 if test "${ac_cv_header_expat_h+set}" = set; then
28682 echo $ECHO_N "(cached) $ECHO_C" >&6
28683 else
28684 cat >conftest.$ac_ext <<_ACEOF
28685 /* confdefs.h. */
28686 _ACEOF
28687 cat confdefs.h >>conftest.$ac_ext
28688 cat >>conftest.$ac_ext <<_ACEOF
28689 /* end confdefs.h. */
28690
28691
28692 #include <expat.h>
28693 _ACEOF
28694 rm -f conftest.$ac_objext
28695 if { (ac_try="$ac_compile"
28696 case "(($ac_try" in
28697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28698 *) ac_try_echo=$ac_try;;
28699 esac
28700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28701 (eval "$ac_compile") 2>conftest.er1
28702 ac_status=$?
28703 grep -v '^ *+' conftest.er1 >conftest.err
28704 rm -f conftest.er1
28705 cat conftest.err >&5
28706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28707 (exit $ac_status); } && {
28708 test -z "$ac_c_werror_flag" ||
28709 test ! -s conftest.err
28710 } && test -s conftest.$ac_objext; then
28711 ac_cv_header_expat_h=yes
28712 else
28713 echo "$as_me: failed program was:" >&5
28714 sed 's/^/| /' conftest.$ac_ext >&5
28715
28716 ac_cv_header_expat_h=no
28717 fi
28718
28719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28720 fi
28721 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
28722 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
28723 if test $ac_cv_header_expat_h = yes; then
28724 found_expat_h=1
28725 fi
28726
28727
28728 if test "x$found_expat_h" = "x1"; then
28729 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
28730 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
28731 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28732 echo $ECHO_N "(cached) $ECHO_C" >&6
28733 else
28734
28735 ac_ext=cpp
28736 ac_cpp='$CXXCPP $CPPFLAGS'
28737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28740
28741 cat >conftest.$ac_ext <<_ACEOF
28742 /* confdefs.h. */
28743 _ACEOF
28744 cat confdefs.h >>conftest.$ac_ext
28745 cat >>conftest.$ac_ext <<_ACEOF
28746 /* end confdefs.h. */
28747 #include <expat.h>
28748 int
28749 main ()
28750 {
28751
28752 ;
28753 return 0;
28754 }
28755 _ACEOF
28756 rm -f conftest.$ac_objext
28757 if { (ac_try="$ac_compile"
28758 case "(($ac_try" in
28759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28760 *) ac_try_echo=$ac_try;;
28761 esac
28762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28763 (eval "$ac_compile") 2>conftest.er1
28764 ac_status=$?
28765 grep -v '^ *+' conftest.er1 >conftest.err
28766 rm -f conftest.er1
28767 cat conftest.err >&5
28768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28769 (exit $ac_status); } && {
28770 test -z "$ac_cxx_werror_flag" ||
28771 test ! -s conftest.err
28772 } && test -s conftest.$ac_objext; then
28773 wx_cv_expat_is_not_broken=yes
28774 else
28775 echo "$as_me: failed program was:" >&5
28776 sed 's/^/| /' conftest.$ac_ext >&5
28777
28778 wx_cv_expat_is_not_broken=no
28779
28780 fi
28781
28782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28783 ac_ext=c
28784 ac_cpp='$CPP $CPPFLAGS'
28785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28788
28789
28790
28791 fi
28792 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
28793 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
28794 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28795 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
28796 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
28797 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28798 echo $ECHO_N "(cached) $ECHO_C" >&6
28799 else
28800 ac_check_lib_save_LIBS=$LIBS
28801 LIBS="-lexpat $LIBS"
28802 cat >conftest.$ac_ext <<_ACEOF
28803 /* confdefs.h. */
28804 _ACEOF
28805 cat confdefs.h >>conftest.$ac_ext
28806 cat >>conftest.$ac_ext <<_ACEOF
28807 /* end confdefs.h. */
28808
28809 /* Override any GCC internal prototype to avoid an error.
28810 Use char because int might match the return type of a GCC
28811 builtin and then its argument prototype would still apply. */
28812 #ifdef __cplusplus
28813 extern "C"
28814 #endif
28815 char XML_ParserCreate ();
28816 int
28817 main ()
28818 {
28819 return XML_ParserCreate ();
28820 ;
28821 return 0;
28822 }
28823 _ACEOF
28824 rm -f conftest.$ac_objext conftest$ac_exeext
28825 if { (ac_try="$ac_link"
28826 case "(($ac_try" in
28827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28828 *) ac_try_echo=$ac_try;;
28829 esac
28830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28831 (eval "$ac_link") 2>conftest.er1
28832 ac_status=$?
28833 grep -v '^ *+' conftest.er1 >conftest.err
28834 rm -f conftest.er1
28835 cat conftest.err >&5
28836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28837 (exit $ac_status); } && {
28838 test -z "$ac_c_werror_flag" ||
28839 test ! -s conftest.err
28840 } && test -s conftest$ac_exeext &&
28841 $as_test_x conftest$ac_exeext; then
28842 ac_cv_lib_expat_XML_ParserCreate=yes
28843 else
28844 echo "$as_me: failed program was:" >&5
28845 sed 's/^/| /' conftest.$ac_ext >&5
28846
28847 ac_cv_lib_expat_XML_ParserCreate=no
28848 fi
28849
28850 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28851 conftest$ac_exeext conftest.$ac_ext
28852 LIBS=$ac_check_lib_save_LIBS
28853 fi
28854 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
28855 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
28856 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28857 EXPAT_LINK=" -lexpat"
28858 fi
28859
28860 fi
28861 fi
28862 if test "x$EXPAT_LINK" = "x" ; then
28863 if test "$wxUSE_EXPAT" = "sys" ; then
28864 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
28865 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
28866 { (exit 1); exit 1; }; }
28867 else
28868 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
28869 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
28870 wxUSE_EXPAT=builtin
28871 fi
28872 else
28873 wxUSE_EXPAT=sys
28874 fi
28875 fi
28876 if test "$wxUSE_EXPAT" = "builtin" ; then
28877 subdirs="$subdirs src/expat"
28878
28879 fi
28880 fi
28881
28882
28883
28884 if test "$wxUSE_LIBMSPACK" != "no"; then
28885 { echo "$as_me:$LINENO: checking for mspack.h" >&5
28886 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
28887 if test "${ac_cv_header_mspack_h+set}" = set; then
28888 echo $ECHO_N "(cached) $ECHO_C" >&6
28889 else
28890 cat >conftest.$ac_ext <<_ACEOF
28891 /* confdefs.h. */
28892 _ACEOF
28893 cat confdefs.h >>conftest.$ac_ext
28894 cat >>conftest.$ac_ext <<_ACEOF
28895 /* end confdefs.h. */
28896
28897
28898 #include <mspack.h>
28899 _ACEOF
28900 rm -f conftest.$ac_objext
28901 if { (ac_try="$ac_compile"
28902 case "(($ac_try" in
28903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28904 *) ac_try_echo=$ac_try;;
28905 esac
28906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28907 (eval "$ac_compile") 2>conftest.er1
28908 ac_status=$?
28909 grep -v '^ *+' conftest.er1 >conftest.err
28910 rm -f conftest.er1
28911 cat conftest.err >&5
28912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28913 (exit $ac_status); } && {
28914 test -z "$ac_c_werror_flag" ||
28915 test ! -s conftest.err
28916 } && test -s conftest.$ac_objext; then
28917 ac_cv_header_mspack_h=yes
28918 else
28919 echo "$as_me: failed program was:" >&5
28920 sed 's/^/| /' conftest.$ac_ext >&5
28921
28922 ac_cv_header_mspack_h=no
28923 fi
28924
28925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28926 fi
28927 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
28928 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
28929 if test $ac_cv_header_mspack_h = yes; then
28930 found_mspack_h=1
28931 fi
28932
28933
28934 if test "x$found_mspack_h" = "x1"; then
28935 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
28936 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
28937 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28938 echo $ECHO_N "(cached) $ECHO_C" >&6
28939 else
28940 ac_check_lib_save_LIBS=$LIBS
28941 LIBS="-lmspack $LIBS"
28942 cat >conftest.$ac_ext <<_ACEOF
28943 /* confdefs.h. */
28944 _ACEOF
28945 cat confdefs.h >>conftest.$ac_ext
28946 cat >>conftest.$ac_ext <<_ACEOF
28947 /* end confdefs.h. */
28948
28949 /* Override any GCC internal prototype to avoid an error.
28950 Use char because int might match the return type of a GCC
28951 builtin and then its argument prototype would still apply. */
28952 #ifdef __cplusplus
28953 extern "C"
28954 #endif
28955 char mspack_create_chm_decompressor ();
28956 int
28957 main ()
28958 {
28959 return mspack_create_chm_decompressor ();
28960 ;
28961 return 0;
28962 }
28963 _ACEOF
28964 rm -f conftest.$ac_objext conftest$ac_exeext
28965 if { (ac_try="$ac_link"
28966 case "(($ac_try" in
28967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28968 *) ac_try_echo=$ac_try;;
28969 esac
28970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28971 (eval "$ac_link") 2>conftest.er1
28972 ac_status=$?
28973 grep -v '^ *+' conftest.er1 >conftest.err
28974 rm -f conftest.er1
28975 cat conftest.err >&5
28976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28977 (exit $ac_status); } && {
28978 test -z "$ac_c_werror_flag" ||
28979 test ! -s conftest.err
28980 } && test -s conftest$ac_exeext &&
28981 $as_test_x conftest$ac_exeext; then
28982 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28983 else
28984 echo "$as_me: failed program was:" >&5
28985 sed 's/^/| /' conftest.$ac_ext >&5
28986
28987 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28988 fi
28989
28990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28991 conftest$ac_exeext conftest.$ac_ext
28992 LIBS=$ac_check_lib_save_LIBS
28993 fi
28994 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28995 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28996 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28997 MSPACK_LINK=" -lmspack"
28998 fi
28999
29000 fi
29001 if test "x$MSPACK_LINK" = "x" ; then
29002 wxUSE_LIBMSPACK=no
29003 fi
29004 fi
29005
29006 if test "$wxUSE_LIBMSPACK" != "no"; then
29007 cat >>confdefs.h <<\_ACEOF
29008 #define wxUSE_LIBMSPACK 1
29009 _ACEOF
29010
29011 fi
29012
29013
29014
29015 AFMINSTALL=
29016 WIN32INSTALL=
29017
29018 TOOLKIT=
29019 TOOLKIT_INCLUDE=
29020 WIDGET_SET=
29021
29022 if test "$USE_WIN32" = 1 ; then
29023
29024 for ac_header in w32api.h
29025 do
29026 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29027 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29028 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29029 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29030 echo $ECHO_N "(cached) $ECHO_C" >&6
29031 else
29032 cat >conftest.$ac_ext <<_ACEOF
29033 /* confdefs.h. */
29034 _ACEOF
29035 cat confdefs.h >>conftest.$ac_ext
29036 cat >>conftest.$ac_ext <<_ACEOF
29037 /* end confdefs.h. */
29038
29039
29040 #include <$ac_header>
29041 _ACEOF
29042 rm -f conftest.$ac_objext
29043 if { (ac_try="$ac_compile"
29044 case "(($ac_try" in
29045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29046 *) ac_try_echo=$ac_try;;
29047 esac
29048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29049 (eval "$ac_compile") 2>conftest.er1
29050 ac_status=$?
29051 grep -v '^ *+' conftest.er1 >conftest.err
29052 rm -f conftest.er1
29053 cat conftest.err >&5
29054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29055 (exit $ac_status); } && {
29056 test -z "$ac_c_werror_flag" ||
29057 test ! -s conftest.err
29058 } && test -s conftest.$ac_objext; then
29059 eval "$as_ac_Header=yes"
29060 else
29061 echo "$as_me: failed program was:" >&5
29062 sed 's/^/| /' conftest.$ac_ext >&5
29063
29064 eval "$as_ac_Header=no"
29065 fi
29066
29067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29068 fi
29069 ac_res=`eval echo '${'$as_ac_Header'}'`
29070 { echo "$as_me:$LINENO: result: $ac_res" >&5
29071 echo "${ECHO_T}$ac_res" >&6; }
29072 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29073 cat >>confdefs.h <<_ACEOF
29074 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29075 _ACEOF
29076
29077 fi
29078
29079 done
29080
29081 { echo "$as_me:$LINENO: checking for windows.h" >&5
29082 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29083 if test "${ac_cv_header_windows_h+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 <windows.h>
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 ac_cv_header_windows_h=yes
29114 else
29115 echo "$as_me: failed program was:" >&5
29116 sed 's/^/| /' conftest.$ac_ext >&5
29117
29118 ac_cv_header_windows_h=no
29119 fi
29120
29121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29122 fi
29123 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29124 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29125 if test $ac_cv_header_windows_h = yes; then
29126 :
29127 else
29128
29129 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29130 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29131 { (exit 1); exit 1; }; }
29132
29133 fi
29134
29135
29136
29137 case "${host}" in
29138 x86_64-*-mingw32* )
29139 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
29140
29141 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
29142 ;;
29143 * )
29144 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
29145 ;;
29146 esac
29147 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29148 LIBS="$LIBS -loleacc"
29149 fi
29150
29151 case "${host}" in
29152 *-*-cygwin* )
29153 LIBS="$LIBS -lkernel32 -luser32"
29154 esac
29155
29156 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29157 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29158
29159 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29160
29161 WIN32INSTALL=win32install
29162
29163 { echo "$as_me:$LINENO: checking for pbt.h" >&5
29164 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
29165 if test "${ac_cv_header_pbt_h+set}" = set; then
29166 echo $ECHO_N "(cached) $ECHO_C" >&6
29167 else
29168 cat >conftest.$ac_ext <<_ACEOF
29169 /* confdefs.h. */
29170 _ACEOF
29171 cat confdefs.h >>conftest.$ac_ext
29172 cat >>conftest.$ac_ext <<_ACEOF
29173 /* end confdefs.h. */
29174
29175
29176 #include <pbt.h>
29177 _ACEOF
29178 rm -f conftest.$ac_objext
29179 if { (ac_try="$ac_compile"
29180 case "(($ac_try" in
29181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29182 *) ac_try_echo=$ac_try;;
29183 esac
29184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29185 (eval "$ac_compile") 2>conftest.er1
29186 ac_status=$?
29187 grep -v '^ *+' conftest.er1 >conftest.err
29188 rm -f conftest.er1
29189 cat conftest.err >&5
29190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29191 (exit $ac_status); } && {
29192 test -z "$ac_c_werror_flag" ||
29193 test ! -s conftest.err
29194 } && test -s conftest.$ac_objext; then
29195 ac_cv_header_pbt_h=yes
29196 else
29197 echo "$as_me: failed program was:" >&5
29198 sed 's/^/| /' conftest.$ac_ext >&5
29199
29200 ac_cv_header_pbt_h=no
29201 fi
29202
29203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29204 fi
29205 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
29206 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29207 if test $ac_cv_header_pbt_h = yes; then
29208 :
29209 else
29210 cat >>confdefs.h <<\_ACEOF
29211 #define NEED_PBT_H 1
29212 _ACEOF
29213
29214 fi
29215
29216
29217 fi
29218
29219 if test "$wxUSE_GUI" = "yes"; then
29220 USE_GUI=1
29221
29222 GUI_TK_LIBRARY=
29223
29224 WXGTK12=
29225 WXGTK127=
29226 WXGTK2=
29227 WXGPE=
29228
29229 if test "$wxUSE_OLD_COCOA" = 1 ; then
29230 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29231 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29232 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29233 wxUSE_PRINTING_ARCHITECTURE=no
29234 fi
29235 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29236 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29237 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29238 wxUSE_DRAG_AND_DROP=no
29239 fi
29240 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29241 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29242 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29243 wxUSE_DRAGIMAGE=no
29244 fi
29245 fi
29246
29247 if test "$wxUSE_MSW" = 1 ; then
29248 TOOLKIT=MSW
29249 GUIDIST=MSW_DIST
29250
29251 case "${host}" in
29252 *-*-mingw32* )
29253 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29254 esac
29255 fi
29256
29257 if test "$wxUSE_GTK" = 1; then
29258 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29259 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
29260
29261 gtk_version_cached=1
29262 if test "${wx_cv_lib_gtk+set}" = set; then
29263 echo $ECHO_N "(cached) $ECHO_C" >&6
29264 else
29265
29266 gtk_version_cached=0
29267 { echo "$as_me:$LINENO: result: " >&5
29268 echo "${ECHO_T}" >&6; }
29269
29270 GTK_MODULES=
29271 if test "$wxUSE_THREADS" = "yes"; then
29272 GTK_MODULES=gthread
29273 fi
29274
29275 wx_cv_lib_gtk=
29276 if test "x$wxGTK_VERSION" != "x1"
29277 then
29278 case "${host}" in
29279 *-*-solaris2* )
29280 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29281 enable_gtktest=no
29282 fi
29283 esac
29284
29285 # Check whether --enable-gtktest was given.
29286 if test "${enable_gtktest+set}" = set; then
29287 enableval=$enable_gtktest;
29288 else
29289 enable_gtktest=yes
29290 fi
29291
29292
29293 pkg_config_args=gtk+-2.0
29294 for module in . $GTK_MODULES
29295 do
29296 case "$module" in
29297 gthread)
29298 pkg_config_args="$pkg_config_args gthread-2.0"
29299 ;;
29300 esac
29301 done
29302
29303 no_gtk=""
29304
29305 # Extract the first word of "pkg-config", so it can be a program name with args.
29306 set dummy pkg-config; ac_word=$2
29307 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29309 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29310 echo $ECHO_N "(cached) $ECHO_C" >&6
29311 else
29312 case $PKG_CONFIG in
29313 [\\/]* | ?:[\\/]*)
29314 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29315 ;;
29316 *)
29317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29318 for as_dir in $PATH
29319 do
29320 IFS=$as_save_IFS
29321 test -z "$as_dir" && as_dir=.
29322 for ac_exec_ext in '' $ac_executable_extensions; do
29323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29324 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29326 break 2
29327 fi
29328 done
29329 done
29330 IFS=$as_save_IFS
29331
29332 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29333 ;;
29334 esac
29335 fi
29336 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29337 if test -n "$PKG_CONFIG"; then
29338 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29339 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29340 else
29341 { echo "$as_me:$LINENO: result: no" >&5
29342 echo "${ECHO_T}no" >&6; }
29343 fi
29344
29345
29346
29347 if test x$PKG_CONFIG != xno ; then
29348 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29349 :
29350 else
29351 echo "*** pkg-config too old; version 0.7 or better required."
29352 no_gtk=yes
29353 PKG_CONFIG=no
29354 fi
29355 else
29356 no_gtk=yes
29357 fi
29358
29359 min_gtk_version=2.4.0
29360 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
29361 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
29362
29363 if test x$PKG_CONFIG != xno ; then
29364 ## don't try to run the test against uninstalled libtool libs
29365 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29366 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
29367 enable_gtktest=no
29368 fi
29369
29370 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29371 :
29372 else
29373 no_gtk=yes
29374 fi
29375 fi
29376
29377 if test x"$no_gtk" = x ; then
29378 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29379 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29380 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29381 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29382 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29383 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29384 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29385 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29386 if test "x$enable_gtktest" = "xyes" ; then
29387 ac_save_CFLAGS="$CFLAGS"
29388 ac_save_LIBS="$LIBS"
29389 CFLAGS="$CFLAGS $GTK_CFLAGS"
29390 LIBS="$GTK_LIBS $LIBS"
29391 rm -f conf.gtktest
29392 if test "$cross_compiling" = yes; then
29393 echo $ac_n "cross compiling; assumed OK... $ac_c"
29394 else
29395 cat >conftest.$ac_ext <<_ACEOF
29396 /* confdefs.h. */
29397 _ACEOF
29398 cat confdefs.h >>conftest.$ac_ext
29399 cat >>conftest.$ac_ext <<_ACEOF
29400 /* end confdefs.h. */
29401
29402 #include <gtk/gtk.h>
29403 #include <stdio.h>
29404 #include <stdlib.h>
29405
29406 int
29407 main ()
29408 {
29409 int major, minor, micro;
29410 char *tmp_version;
29411
29412 system ("touch conf.gtktest");
29413
29414 /* HP/UX 9 (%@#!) writes to sscanf strings */
29415 tmp_version = g_strdup("$min_gtk_version");
29416 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29417 printf("%s, bad version string\n", "$min_gtk_version");
29418 exit(1);
29419 }
29420
29421 if ((gtk_major_version != $gtk_config_major_version) ||
29422 (gtk_minor_version != $gtk_config_minor_version) ||
29423 (gtk_micro_version != $gtk_config_micro_version))
29424 {
29425 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29426 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29427 gtk_major_version, gtk_minor_version, gtk_micro_version);
29428 printf ("*** was found! If pkg-config was correct, then it is best\n");
29429 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29430 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29431 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29432 printf("*** required on your system.\n");
29433 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
29434 printf("*** to point to the correct configuration files\n");
29435 }
29436 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29437 (gtk_minor_version != GTK_MINOR_VERSION) ||
29438 (gtk_micro_version != GTK_MICRO_VERSION))
29439 {
29440 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29441 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29442 printf("*** library (version %d.%d.%d)\n",
29443 gtk_major_version, gtk_minor_version, gtk_micro_version);
29444 }
29445 else
29446 {
29447 if ((gtk_major_version > major) ||
29448 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29449 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29450 {
29451 return 0;
29452 }
29453 else
29454 {
29455 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29456 gtk_major_version, gtk_minor_version, gtk_micro_version);
29457 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29458 major, minor, micro);
29459 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29460 printf("***\n");
29461 printf("*** If you have already installed a sufficiently new version, this error\n");
29462 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
29463 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29464 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
29465 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
29466 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29467 printf("*** so that the correct libraries are found at run-time))\n");
29468 }
29469 }
29470 return 1;
29471 }
29472
29473 _ACEOF
29474 rm -f conftest$ac_exeext
29475 if { (ac_try="$ac_link"
29476 case "(($ac_try" in
29477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29478 *) ac_try_echo=$ac_try;;
29479 esac
29480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29481 (eval "$ac_link") 2>&5
29482 ac_status=$?
29483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29484 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29485 { (case "(($ac_try" in
29486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29487 *) ac_try_echo=$ac_try;;
29488 esac
29489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29490 (eval "$ac_try") 2>&5
29491 ac_status=$?
29492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29493 (exit $ac_status); }; }; then
29494 :
29495 else
29496 echo "$as_me: program exited with status $ac_status" >&5
29497 echo "$as_me: failed program was:" >&5
29498 sed 's/^/| /' conftest.$ac_ext >&5
29499
29500 ( exit $ac_status )
29501 no_gtk=yes
29502 fi
29503 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29504 fi
29505
29506
29507 CFLAGS="$ac_save_CFLAGS"
29508 LIBS="$ac_save_LIBS"
29509 fi
29510 fi
29511 if test "x$no_gtk" = x ; then
29512 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
29513 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
29514 wx_cv_lib_gtk=2.0
29515 else
29516 { echo "$as_me:$LINENO: result: no" >&5
29517 echo "${ECHO_T}no" >&6; }
29518 if test "$PKG_CONFIG" = "no" ; then
29519 echo "*** A new enough version of pkg-config was not found."
29520 echo "*** See http://pkgconfig.sourceforge.net"
29521 else
29522 if test -f conf.gtktest ; then
29523 :
29524 else
29525 echo "*** Could not run GTK+ test program, checking why..."
29526 ac_save_CFLAGS="$CFLAGS"
29527 ac_save_LIBS="$LIBS"
29528 CFLAGS="$CFLAGS $GTK_CFLAGS"
29529 LIBS="$LIBS $GTK_LIBS"
29530 cat >conftest.$ac_ext <<_ACEOF
29531 /* confdefs.h. */
29532 _ACEOF
29533 cat confdefs.h >>conftest.$ac_ext
29534 cat >>conftest.$ac_ext <<_ACEOF
29535 /* end confdefs.h. */
29536
29537 #include <gtk/gtk.h>
29538 #include <stdio.h>
29539
29540 int
29541 main ()
29542 {
29543 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29544 ;
29545 return 0;
29546 }
29547 _ACEOF
29548 rm -f conftest.$ac_objext conftest$ac_exeext
29549 if { (ac_try="$ac_link"
29550 case "(($ac_try" in
29551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29552 *) ac_try_echo=$ac_try;;
29553 esac
29554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29555 (eval "$ac_link") 2>conftest.er1
29556 ac_status=$?
29557 grep -v '^ *+' conftest.er1 >conftest.err
29558 rm -f conftest.er1
29559 cat conftest.err >&5
29560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29561 (exit $ac_status); } && {
29562 test -z "$ac_c_werror_flag" ||
29563 test ! -s conftest.err
29564 } && test -s conftest$ac_exeext &&
29565 $as_test_x conftest$ac_exeext; then
29566 echo "*** The test program compiled, but did not run. This usually means"
29567 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
29568 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
29569 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29570 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29571 echo "*** is required on your system"
29572 echo "***"
29573 echo "*** If you have an old version installed, it is best to remove it, although"
29574 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29575 else
29576 echo "$as_me: failed program was:" >&5
29577 sed 's/^/| /' conftest.$ac_ext >&5
29578
29579 echo "*** The test program failed to compile or link. See the file config.log for the"
29580 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29581 fi
29582
29583 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29584 conftest$ac_exeext conftest.$ac_ext
29585 CFLAGS="$ac_save_CFLAGS"
29586 LIBS="$ac_save_LIBS"
29587 fi
29588 fi
29589 GTK_CFLAGS=""
29590 GTK_LIBS=""
29591 :
29592 fi
29593
29594
29595 rm -f conf.gtktest
29596
29597
29598 case "${host}" in
29599 *-*-solaris2* )
29600 if test "$wxUSE_SHARED" != "yes"; then
29601 GTK_LIBS="$GTK_LIBS -lX11"
29602 fi
29603 esac
29604 fi
29605
29606 if test -z "$wx_cv_lib_gtk"; then
29607 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29608
29609 # Check whether --with-gtk-prefix was given.
29610 if test "${with_gtk_prefix+set}" = set; then
29611 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29612 else
29613 gtk_config_prefix=""
29614 fi
29615
29616
29617 # Check whether --with-gtk-exec-prefix was given.
29618 if test "${with_gtk_exec_prefix+set}" = set; then
29619 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29620 else
29621 gtk_config_exec_prefix=""
29622 fi
29623
29624 # Check whether --enable-gtktest was given.
29625 if test "${enable_gtktest+set}" = set; then
29626 enableval=$enable_gtktest;
29627 else
29628 enable_gtktest=yes
29629 fi
29630
29631
29632 for module in . $GTK_MODULES
29633 do
29634 case "$module" in
29635 gthread)
29636 gtk_config_args="$gtk_config_args gthread"
29637 ;;
29638 esac
29639 done
29640
29641 if test x$gtk_config_exec_prefix != x ; then
29642 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29643 if test x${GTK_CONFIG+set} != xset ; then
29644 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29645 fi
29646 fi
29647 if test x$gtk_config_prefix != x ; then
29648 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29649 if test x${GTK_CONFIG+set} != xset ; then
29650 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29651 fi
29652 fi
29653
29654 # Extract the first word of "gtk-config", so it can be a program name with args.
29655 set dummy gtk-config; ac_word=$2
29656 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29658 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29659 echo $ECHO_N "(cached) $ECHO_C" >&6
29660 else
29661 case $GTK_CONFIG in
29662 [\\/]* | ?:[\\/]*)
29663 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29664 ;;
29665 *)
29666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29667 for as_dir in $PATH
29668 do
29669 IFS=$as_save_IFS
29670 test -z "$as_dir" && as_dir=.
29671 for ac_exec_ext in '' $ac_executable_extensions; do
29672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29673 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29675 break 2
29676 fi
29677 done
29678 done
29679 IFS=$as_save_IFS
29680
29681 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29682 ;;
29683 esac
29684 fi
29685 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29686 if test -n "$GTK_CONFIG"; then
29687 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29688 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29689 else
29690 { echo "$as_me:$LINENO: result: no" >&5
29691 echo "${ECHO_T}no" >&6; }
29692 fi
29693
29694
29695 min_gtk_version=1.2.7
29696 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29697 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29698 no_gtk=""
29699 if test "$GTK_CONFIG" = "no" ; then
29700 no_gtk=yes
29701 else
29702 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29703 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29704 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29705 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29706 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29707 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29708 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29709 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29710 if test "x$enable_gtktest" = "xyes" ; then
29711 ac_save_CFLAGS="$CFLAGS"
29712 ac_save_LIBS="$LIBS"
29713 CFLAGS="$CFLAGS $GTK_CFLAGS"
29714 LIBS="$GTK_LIBS $LIBS"
29715 rm -f conf.gtktest
29716 if test "$cross_compiling" = yes; then
29717 echo $ac_n "cross compiling; assumed OK... $ac_c"
29718 else
29719 cat >conftest.$ac_ext <<_ACEOF
29720 /* confdefs.h. */
29721 _ACEOF
29722 cat confdefs.h >>conftest.$ac_ext
29723 cat >>conftest.$ac_ext <<_ACEOF
29724 /* end confdefs.h. */
29725
29726 #include <gtk/gtk.h>
29727 #include <stdio.h>
29728 #include <stdlib.h>
29729
29730 int
29731 main ()
29732 {
29733 int major, minor, micro;
29734 char *tmp_version;
29735
29736 system ("touch conf.gtktest");
29737
29738 /* HP/UX 9 (%@#!) writes to sscanf strings */
29739 tmp_version = g_strdup("$min_gtk_version");
29740 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29741 printf("%s, bad version string\n", "$min_gtk_version");
29742 exit(1);
29743 }
29744
29745 if ((gtk_major_version != $gtk_config_major_version) ||
29746 (gtk_minor_version != $gtk_config_minor_version) ||
29747 (gtk_micro_version != $gtk_config_micro_version))
29748 {
29749 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29750 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29751 gtk_major_version, gtk_minor_version, gtk_micro_version);
29752 printf ("*** was found! If gtk-config was correct, then it is best\n");
29753 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29754 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29755 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29756 printf("*** required on your system.\n");
29757 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29758 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29759 printf("*** before re-running configure\n");
29760 }
29761 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29762 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29763 (gtk_minor_version != GTK_MINOR_VERSION) ||
29764 (gtk_micro_version != GTK_MICRO_VERSION))
29765 {
29766 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29767 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29768 printf("*** library (version %d.%d.%d)\n",
29769 gtk_major_version, gtk_minor_version, gtk_micro_version);
29770 }
29771 #endif /* defined (GTK_MAJOR_VERSION) ... */
29772 else
29773 {
29774 if ((gtk_major_version > major) ||
29775 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29776 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29777 {
29778 return 0;
29779 }
29780 else
29781 {
29782 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29783 gtk_major_version, gtk_minor_version, gtk_micro_version);
29784 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29785 major, minor, micro);
29786 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29787 printf("***\n");
29788 printf("*** If you have already installed a sufficiently new version, this error\n");
29789 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29790 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29791 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29792 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29793 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29794 printf("*** so that the correct libraries are found at run-time))\n");
29795 }
29796 }
29797 return 1;
29798 }
29799
29800 _ACEOF
29801 rm -f conftest$ac_exeext
29802 if { (ac_try="$ac_link"
29803 case "(($ac_try" in
29804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29805 *) ac_try_echo=$ac_try;;
29806 esac
29807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29808 (eval "$ac_link") 2>&5
29809 ac_status=$?
29810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29811 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29812 { (case "(($ac_try" in
29813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29814 *) ac_try_echo=$ac_try;;
29815 esac
29816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29817 (eval "$ac_try") 2>&5
29818 ac_status=$?
29819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29820 (exit $ac_status); }; }; then
29821 :
29822 else
29823 echo "$as_me: program exited with status $ac_status" >&5
29824 echo "$as_me: failed program was:" >&5
29825 sed 's/^/| /' conftest.$ac_ext >&5
29826
29827 ( exit $ac_status )
29828 no_gtk=yes
29829 fi
29830 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29831 fi
29832
29833
29834 CFLAGS="$ac_save_CFLAGS"
29835 LIBS="$ac_save_LIBS"
29836 fi
29837 fi
29838 if test "x$no_gtk" = x ; then
29839 { echo "$as_me:$LINENO: result: yes" >&5
29840 echo "${ECHO_T}yes" >&6; }
29841 wx_cv_lib_gtk=1.2.7
29842 else
29843 { echo "$as_me:$LINENO: result: no" >&5
29844 echo "${ECHO_T}no" >&6; }
29845 if test "$GTK_CONFIG" = "no" ; then
29846 echo "*** The gtk-config script installed by GTK could not be found"
29847 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29848 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29849 echo "*** full path to gtk-config."
29850 else
29851 if test -f conf.gtktest ; then
29852 :
29853 else
29854 echo "*** Could not run GTK test program, checking why..."
29855 CFLAGS="$CFLAGS $GTK_CFLAGS"
29856 LIBS="$LIBS $GTK_LIBS"
29857 cat >conftest.$ac_ext <<_ACEOF
29858 /* confdefs.h. */
29859 _ACEOF
29860 cat confdefs.h >>conftest.$ac_ext
29861 cat >>conftest.$ac_ext <<_ACEOF
29862 /* end confdefs.h. */
29863
29864 #include <gtk/gtk.h>
29865 #include <stdio.h>
29866
29867 int
29868 main ()
29869 {
29870 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29871 ;
29872 return 0;
29873 }
29874 _ACEOF
29875 rm -f conftest.$ac_objext conftest$ac_exeext
29876 if { (ac_try="$ac_link"
29877 case "(($ac_try" in
29878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29879 *) ac_try_echo=$ac_try;;
29880 esac
29881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29882 (eval "$ac_link") 2>conftest.er1
29883 ac_status=$?
29884 grep -v '^ *+' conftest.er1 >conftest.err
29885 rm -f conftest.er1
29886 cat conftest.err >&5
29887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29888 (exit $ac_status); } && {
29889 test -z "$ac_c_werror_flag" ||
29890 test ! -s conftest.err
29891 } && test -s conftest$ac_exeext &&
29892 $as_test_x conftest$ac_exeext; then
29893 echo "*** The test program compiled, but did not run. This usually means"
29894 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29895 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29896 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29897 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29898 echo "*** is required on your system"
29899 echo "***"
29900 echo "*** If you have an old version installed, it is best to remove it, although"
29901 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29902 echo "***"
29903 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29904 echo "*** came with the system with the command"
29905 echo "***"
29906 echo "*** rpm --erase --nodeps gtk gtk-devel"
29907 else
29908 echo "$as_me: failed program was:" >&5
29909 sed 's/^/| /' conftest.$ac_ext >&5
29910
29911 echo "*** The test program failed to compile or link. See the file config.log for the"
29912 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29913 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29914 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29915 fi
29916
29917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29918 conftest$ac_exeext conftest.$ac_ext
29919 CFLAGS="$ac_save_CFLAGS"
29920 LIBS="$ac_save_LIBS"
29921 fi
29922 fi
29923 GTK_CFLAGS=""
29924 GTK_LIBS=""
29925 :
29926 fi
29927
29928
29929 rm -f conf.gtktest
29930
29931
29932 if test -z "$wx_cv_lib_gtk"; then
29933
29934 # Check whether --with-gtk-prefix was given.
29935 if test "${with_gtk_prefix+set}" = set; then
29936 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29937 else
29938 gtk_config_prefix=""
29939 fi
29940
29941
29942 # Check whether --with-gtk-exec-prefix was given.
29943 if test "${with_gtk_exec_prefix+set}" = set; then
29944 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29945 else
29946 gtk_config_exec_prefix=""
29947 fi
29948
29949 # Check whether --enable-gtktest was given.
29950 if test "${enable_gtktest+set}" = set; then
29951 enableval=$enable_gtktest;
29952 else
29953 enable_gtktest=yes
29954 fi
29955
29956
29957 for module in . $GTK_MODULES
29958 do
29959 case "$module" in
29960 gthread)
29961 gtk_config_args="$gtk_config_args gthread"
29962 ;;
29963 esac
29964 done
29965
29966 if test x$gtk_config_exec_prefix != x ; then
29967 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29968 if test x${GTK_CONFIG+set} != xset ; then
29969 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29970 fi
29971 fi
29972 if test x$gtk_config_prefix != x ; then
29973 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29974 if test x${GTK_CONFIG+set} != xset ; then
29975 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29976 fi
29977 fi
29978
29979 # Extract the first word of "gtk-config", so it can be a program name with args.
29980 set dummy gtk-config; ac_word=$2
29981 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29983 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29984 echo $ECHO_N "(cached) $ECHO_C" >&6
29985 else
29986 case $GTK_CONFIG in
29987 [\\/]* | ?:[\\/]*)
29988 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29989 ;;
29990 *)
29991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29992 for as_dir in $PATH
29993 do
29994 IFS=$as_save_IFS
29995 test -z "$as_dir" && as_dir=.
29996 for ac_exec_ext in '' $ac_executable_extensions; do
29997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29998 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30000 break 2
30001 fi
30002 done
30003 done
30004 IFS=$as_save_IFS
30005
30006 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30007 ;;
30008 esac
30009 fi
30010 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30011 if test -n "$GTK_CONFIG"; then
30012 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30013 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30014 else
30015 { echo "$as_me:$LINENO: result: no" >&5
30016 echo "${ECHO_T}no" >&6; }
30017 fi
30018
30019
30020 min_gtk_version=1.2.3
30021 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30022 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30023 no_gtk=""
30024 if test "$GTK_CONFIG" = "no" ; then
30025 no_gtk=yes
30026 else
30027 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30028 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30029 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30030 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30031 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30032 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30033 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30034 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30035 if test "x$enable_gtktest" = "xyes" ; then
30036 ac_save_CFLAGS="$CFLAGS"
30037 ac_save_LIBS="$LIBS"
30038 CFLAGS="$CFLAGS $GTK_CFLAGS"
30039 LIBS="$GTK_LIBS $LIBS"
30040 rm -f conf.gtktest
30041 if test "$cross_compiling" = yes; then
30042 echo $ac_n "cross compiling; assumed OK... $ac_c"
30043 else
30044 cat >conftest.$ac_ext <<_ACEOF
30045 /* confdefs.h. */
30046 _ACEOF
30047 cat confdefs.h >>conftest.$ac_ext
30048 cat >>conftest.$ac_ext <<_ACEOF
30049 /* end confdefs.h. */
30050
30051 #include <gtk/gtk.h>
30052 #include <stdio.h>
30053 #include <stdlib.h>
30054
30055 int
30056 main ()
30057 {
30058 int major, minor, micro;
30059 char *tmp_version;
30060
30061 system ("touch conf.gtktest");
30062
30063 /* HP/UX 9 (%@#!) writes to sscanf strings */
30064 tmp_version = g_strdup("$min_gtk_version");
30065 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30066 printf("%s, bad version string\n", "$min_gtk_version");
30067 exit(1);
30068 }
30069
30070 if ((gtk_major_version != $gtk_config_major_version) ||
30071 (gtk_minor_version != $gtk_config_minor_version) ||
30072 (gtk_micro_version != $gtk_config_micro_version))
30073 {
30074 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30075 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30076 gtk_major_version, gtk_minor_version, gtk_micro_version);
30077 printf ("*** was found! If gtk-config was correct, then it is best\n");
30078 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30079 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30080 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30081 printf("*** required on your system.\n");
30082 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30083 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30084 printf("*** before re-running configure\n");
30085 }
30086 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30087 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30088 (gtk_minor_version != GTK_MINOR_VERSION) ||
30089 (gtk_micro_version != GTK_MICRO_VERSION))
30090 {
30091 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30092 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30093 printf("*** library (version %d.%d.%d)\n",
30094 gtk_major_version, gtk_minor_version, gtk_micro_version);
30095 }
30096 #endif /* defined (GTK_MAJOR_VERSION) ... */
30097 else
30098 {
30099 if ((gtk_major_version > major) ||
30100 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30101 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30102 {
30103 return 0;
30104 }
30105 else
30106 {
30107 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30108 gtk_major_version, gtk_minor_version, gtk_micro_version);
30109 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30110 major, minor, micro);
30111 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30112 printf("***\n");
30113 printf("*** If you have already installed a sufficiently new version, this error\n");
30114 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30115 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30116 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30117 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30118 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30119 printf("*** so that the correct libraries are found at run-time))\n");
30120 }
30121 }
30122 return 1;
30123 }
30124
30125 _ACEOF
30126 rm -f conftest$ac_exeext
30127 if { (ac_try="$ac_link"
30128 case "(($ac_try" in
30129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30130 *) ac_try_echo=$ac_try;;
30131 esac
30132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30133 (eval "$ac_link") 2>&5
30134 ac_status=$?
30135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30136 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30137 { (case "(($ac_try" in
30138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30139 *) ac_try_echo=$ac_try;;
30140 esac
30141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30142 (eval "$ac_try") 2>&5
30143 ac_status=$?
30144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30145 (exit $ac_status); }; }; then
30146 :
30147 else
30148 echo "$as_me: program exited with status $ac_status" >&5
30149 echo "$as_me: failed program was:" >&5
30150 sed 's/^/| /' conftest.$ac_ext >&5
30151
30152 ( exit $ac_status )
30153 no_gtk=yes
30154 fi
30155 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30156 fi
30157
30158
30159 CFLAGS="$ac_save_CFLAGS"
30160 LIBS="$ac_save_LIBS"
30161 fi
30162 fi
30163 if test "x$no_gtk" = x ; then
30164 { echo "$as_me:$LINENO: result: yes" >&5
30165 echo "${ECHO_T}yes" >&6; }
30166 wx_cv_lib_gtk=1.2.3
30167 else
30168 { echo "$as_me:$LINENO: result: no" >&5
30169 echo "${ECHO_T}no" >&6; }
30170 if test "$GTK_CONFIG" = "no" ; then
30171 echo "*** The gtk-config script installed by GTK could not be found"
30172 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30173 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30174 echo "*** full path to gtk-config."
30175 else
30176 if test -f conf.gtktest ; then
30177 :
30178 else
30179 echo "*** Could not run GTK test program, checking why..."
30180 CFLAGS="$CFLAGS $GTK_CFLAGS"
30181 LIBS="$LIBS $GTK_LIBS"
30182 cat >conftest.$ac_ext <<_ACEOF
30183 /* confdefs.h. */
30184 _ACEOF
30185 cat confdefs.h >>conftest.$ac_ext
30186 cat >>conftest.$ac_ext <<_ACEOF
30187 /* end confdefs.h. */
30188
30189 #include <gtk/gtk.h>
30190 #include <stdio.h>
30191
30192 int
30193 main ()
30194 {
30195 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30196 ;
30197 return 0;
30198 }
30199 _ACEOF
30200 rm -f conftest.$ac_objext conftest$ac_exeext
30201 if { (ac_try="$ac_link"
30202 case "(($ac_try" in
30203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30204 *) ac_try_echo=$ac_try;;
30205 esac
30206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30207 (eval "$ac_link") 2>conftest.er1
30208 ac_status=$?
30209 grep -v '^ *+' conftest.er1 >conftest.err
30210 rm -f conftest.er1
30211 cat conftest.err >&5
30212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30213 (exit $ac_status); } && {
30214 test -z "$ac_c_werror_flag" ||
30215 test ! -s conftest.err
30216 } && test -s conftest$ac_exeext &&
30217 $as_test_x conftest$ac_exeext; then
30218 echo "*** The test program compiled, but did not run. This usually means"
30219 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30220 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30221 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30222 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30223 echo "*** is required on your system"
30224 echo "***"
30225 echo "*** If you have an old version installed, it is best to remove it, although"
30226 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30227 echo "***"
30228 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30229 echo "*** came with the system with the command"
30230 echo "***"
30231 echo "*** rpm --erase --nodeps gtk gtk-devel"
30232 else
30233 echo "$as_me: failed program was:" >&5
30234 sed 's/^/| /' conftest.$ac_ext >&5
30235
30236 echo "*** The test program failed to compile or link. See the file config.log for the"
30237 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30238 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30239 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30240 fi
30241
30242 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30243 conftest$ac_exeext conftest.$ac_ext
30244 CFLAGS="$ac_save_CFLAGS"
30245 LIBS="$ac_save_LIBS"
30246 fi
30247 fi
30248 GTK_CFLAGS=""
30249 GTK_LIBS=""
30250 :
30251 fi
30252
30253
30254 rm -f conf.gtktest
30255
30256 fi
30257 fi
30258 fi
30259
30260 if test -z "$wx_cv_lib_gtk"; then
30261 wx_cv_lib_gtk=none
30262 else
30263 wx_cv_cflags_gtk=$GTK_CFLAGS
30264 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
30265 fi
30266
30267
30268 fi
30269
30270
30271 if test "$gtk_version_cached" = 1; then
30272 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30273 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30274 fi
30275
30276 case "$wx_cv_lib_gtk" in
30277 2.0) WXGTK2=1
30278 TOOLKIT_VERSION=2
30279 ;;
30280 1.2.7) WXGTK127=1
30281 WXGTK12=1
30282 ;;
30283 1.2.3) WXGTK12=1
30284 ;;
30285 *) { { echo "$as_me:$LINENO: error:
30286 The development files for GTK+ were not found. For GTK+ 2, please
30287 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30288 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30289 and that the version is 1.2.3 or above. Also check that the
30290 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30291 --libs' are in the LD_LIBRARY_PATH or equivalent.
30292 " >&5
30293 echo "$as_me: error:
30294 The development files for GTK+ were not found. For GTK+ 2, please
30295 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30296 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30297 and that the version is 1.2.3 or above. Also check that the
30298 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30299 --libs' are in the LD_LIBRARY_PATH or equivalent.
30300 " >&2;}
30301 { (exit 1); exit 1; }; }
30302 ;;
30303 esac
30304
30305 if test "$WXGTK2" = 1; then
30306 save_CFLAGS="$CFLAGS"
30307 save_LIBS="$LIBS"
30308 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30309 LIBS="$LIBS $wx_cv_libs_gtk"
30310
30311 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30312 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30313 cat >conftest.$ac_ext <<_ACEOF
30314 /* confdefs.h. */
30315 _ACEOF
30316 cat confdefs.h >>conftest.$ac_ext
30317 cat >>conftest.$ac_ext <<_ACEOF
30318 /* end confdefs.h. */
30319
30320 #include <gtk/gtk.h>
30321
30322 int
30323 main ()
30324 {
30325
30326 #if !GTK_CHECK_VERSION(2,18,0)
30327 Not GTK+ 2.18
30328 #endif
30329
30330 ;
30331 return 0;
30332 }
30333 _ACEOF
30334 rm -f conftest.$ac_objext
30335 if { (ac_try="$ac_compile"
30336 case "(($ac_try" in
30337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30338 *) ac_try_echo=$ac_try;;
30339 esac
30340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30341 (eval "$ac_compile") 2>conftest.er1
30342 ac_status=$?
30343 grep -v '^ *+' conftest.er1 >conftest.err
30344 rm -f conftest.er1
30345 cat conftest.err >&5
30346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30347 (exit $ac_status); } && {
30348 test -z "$ac_c_werror_flag" ||
30349 test ! -s conftest.err
30350 } && test -s conftest.$ac_objext; then
30351
30352 cat >>confdefs.h <<\_ACEOF
30353 #define __WXGTK218__ 1
30354 _ACEOF
30355
30356 cat >>confdefs.h <<\_ACEOF
30357 #define __WXGTK210__ 1
30358 _ACEOF
30359
30360 cat >>confdefs.h <<\_ACEOF
30361 #define __WXGTK26__ 1
30362 _ACEOF
30363
30364 { echo "$as_me:$LINENO: result: yes" >&5
30365 echo "${ECHO_T}yes" >&6; }
30366 ac_wxgtk218=1
30367
30368 else
30369 echo "$as_me: failed program was:" >&5
30370 sed 's/^/| /' conftest.$ac_ext >&5
30371
30372
30373 { echo "$as_me:$LINENO: result: no" >&5
30374 echo "${ECHO_T}no" >&6; }
30375 ac_wxgtk218=0
30376
30377 fi
30378
30379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30380
30381 if test "$ac_wxgtk218" = 0; then
30382 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30383 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30384 cat >conftest.$ac_ext <<_ACEOF
30385 /* confdefs.h. */
30386 _ACEOF
30387 cat confdefs.h >>conftest.$ac_ext
30388 cat >>conftest.$ac_ext <<_ACEOF
30389 /* end confdefs.h. */
30390
30391 #include <gtk/gtk.h>
30392
30393 int
30394 main ()
30395 {
30396
30397 #if !GTK_CHECK_VERSION(2,10,0)
30398 Not GTK+ 2.10
30399 #endif
30400
30401 ;
30402 return 0;
30403 }
30404 _ACEOF
30405 rm -f conftest.$ac_objext
30406 if { (ac_try="$ac_compile"
30407 case "(($ac_try" in
30408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30409 *) ac_try_echo=$ac_try;;
30410 esac
30411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30412 (eval "$ac_compile") 2>conftest.er1
30413 ac_status=$?
30414 grep -v '^ *+' conftest.er1 >conftest.err
30415 rm -f conftest.er1
30416 cat conftest.err >&5
30417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30418 (exit $ac_status); } && {
30419 test -z "$ac_c_werror_flag" ||
30420 test ! -s conftest.err
30421 } && test -s conftest.$ac_objext; then
30422
30423 cat >>confdefs.h <<\_ACEOF
30424 #define __WXGTK210__ 1
30425 _ACEOF
30426
30427 cat >>confdefs.h <<\_ACEOF
30428 #define __WXGTK26__ 1
30429 _ACEOF
30430
30431 { echo "$as_me:$LINENO: result: yes" >&5
30432 echo "${ECHO_T}yes" >&6; }
30433 ac_wxgtk210=1
30434
30435 else
30436 echo "$as_me: failed program was:" >&5
30437 sed 's/^/| /' conftest.$ac_ext >&5
30438
30439
30440 { echo "$as_me:$LINENO: result: no" >&5
30441 echo "${ECHO_T}no" >&6; }
30442 ac_wxgtk210=0
30443
30444 fi
30445
30446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30447
30448 if test "$ac_wxgtk210" = 0; then
30449 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30450 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30451 cat >conftest.$ac_ext <<_ACEOF
30452 /* confdefs.h. */
30453 _ACEOF
30454 cat confdefs.h >>conftest.$ac_ext
30455 cat >>conftest.$ac_ext <<_ACEOF
30456 /* end confdefs.h. */
30457
30458 #include <gtk/gtk.h>
30459
30460 int
30461 main ()
30462 {
30463
30464 #if !GTK_CHECK_VERSION(2,6,0)
30465 Not GTK+ 2.6
30466 #endif
30467
30468 ;
30469 return 0;
30470 }
30471 _ACEOF
30472 rm -f conftest.$ac_objext
30473 if { (ac_try="$ac_compile"
30474 case "(($ac_try" in
30475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30476 *) ac_try_echo=$ac_try;;
30477 esac
30478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30479 (eval "$ac_compile") 2>conftest.er1
30480 ac_status=$?
30481 grep -v '^ *+' conftest.er1 >conftest.err
30482 rm -f conftest.er1
30483 cat conftest.err >&5
30484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30485 (exit $ac_status); } && {
30486 test -z "$ac_c_werror_flag" ||
30487 test ! -s conftest.err
30488 } && test -s conftest.$ac_objext; then
30489
30490 cat >>confdefs.h <<\_ACEOF
30491 #define __WXGTK26__ 1
30492 _ACEOF
30493
30494 { echo "$as_me:$LINENO: result: yes" >&5
30495 echo "${ECHO_T}yes" >&6; }
30496 ac_wxgtk26=1
30497
30498 else
30499 echo "$as_me: failed program was:" >&5
30500 sed 's/^/| /' conftest.$ac_ext >&5
30501
30502
30503 { echo "$as_me:$LINENO: result: no" >&5
30504 echo "${ECHO_T}no" >&6; }
30505 ac_wxgtk26=0
30506
30507 fi
30508
30509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30510 fi
30511 fi
30512
30513 CFLAGS="$save_CFLAGS"
30514 LIBS="$save_LIBS"
30515 else
30516 if test "$wxUSE_UNICODE" = "yes"; then
30517 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30518 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30519 wxUSE_UNICODE=no
30520 fi
30521
30522 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30523 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30524 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30525 echo $ECHO_N "(cached) $ECHO_C" >&6
30526 else
30527 ac_check_lib_save_LIBS=$LIBS
30528 LIBS="-lgdk $LIBS"
30529 cat >conftest.$ac_ext <<_ACEOF
30530 /* confdefs.h. */
30531 _ACEOF
30532 cat confdefs.h >>conftest.$ac_ext
30533 cat >>conftest.$ac_ext <<_ACEOF
30534 /* end confdefs.h. */
30535
30536 /* Override any GCC internal prototype to avoid an error.
30537 Use char because int might match the return type of a GCC
30538 builtin and then its argument prototype would still apply. */
30539 #ifdef __cplusplus
30540 extern "C"
30541 #endif
30542 char gdk_im_open ();
30543 int
30544 main ()
30545 {
30546 return gdk_im_open ();
30547 ;
30548 return 0;
30549 }
30550 _ACEOF
30551 rm -f conftest.$ac_objext conftest$ac_exeext
30552 if { (ac_try="$ac_link"
30553 case "(($ac_try" in
30554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30555 *) ac_try_echo=$ac_try;;
30556 esac
30557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30558 (eval "$ac_link") 2>conftest.er1
30559 ac_status=$?
30560 grep -v '^ *+' conftest.er1 >conftest.err
30561 rm -f conftest.er1
30562 cat conftest.err >&5
30563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30564 (exit $ac_status); } && {
30565 test -z "$ac_c_werror_flag" ||
30566 test ! -s conftest.err
30567 } && test -s conftest$ac_exeext &&
30568 $as_test_x conftest$ac_exeext; then
30569 ac_cv_lib_gdk_gdk_im_open=yes
30570 else
30571 echo "$as_me: failed program was:" >&5
30572 sed 's/^/| /' conftest.$ac_ext >&5
30573
30574 ac_cv_lib_gdk_gdk_im_open=no
30575 fi
30576
30577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30578 conftest$ac_exeext conftest.$ac_ext
30579 LIBS=$ac_check_lib_save_LIBS
30580 fi
30581 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30582 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
30583 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30584 cat >>confdefs.h <<\_ACEOF
30585 #define HAVE_XIM 1
30586 _ACEOF
30587
30588 fi
30589
30590
30591 if test "$USE_DARWIN" != 1; then
30592
30593 for ac_func in poll
30594 do
30595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30596 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30598 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30599 echo $ECHO_N "(cached) $ECHO_C" >&6
30600 else
30601 cat >conftest.$ac_ext <<_ACEOF
30602 /* confdefs.h. */
30603 _ACEOF
30604 cat confdefs.h >>conftest.$ac_ext
30605 cat >>conftest.$ac_ext <<_ACEOF
30606 /* end confdefs.h. */
30607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30609 #define $ac_func innocuous_$ac_func
30610
30611 /* System header to define __stub macros and hopefully few prototypes,
30612 which can conflict with char $ac_func (); below.
30613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30614 <limits.h> exists even on freestanding compilers. */
30615
30616 #ifdef __STDC__
30617 # include <limits.h>
30618 #else
30619 # include <assert.h>
30620 #endif
30621
30622 #undef $ac_func
30623
30624 /* Override any GCC internal prototype to avoid an error.
30625 Use char because int might match the return type of a GCC
30626 builtin and then its argument prototype would still apply. */
30627 #ifdef __cplusplus
30628 extern "C"
30629 #endif
30630 char $ac_func ();
30631 /* The GNU C library defines this for functions which it implements
30632 to always fail with ENOSYS. Some functions are actually named
30633 something starting with __ and the normal name is an alias. */
30634 #if defined __stub_$ac_func || defined __stub___$ac_func
30635 choke me
30636 #endif
30637
30638 int
30639 main ()
30640 {
30641 return $ac_func ();
30642 ;
30643 return 0;
30644 }
30645 _ACEOF
30646 rm -f conftest.$ac_objext conftest$ac_exeext
30647 if { (ac_try="$ac_link"
30648 case "(($ac_try" in
30649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30650 *) ac_try_echo=$ac_try;;
30651 esac
30652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30653 (eval "$ac_link") 2>conftest.er1
30654 ac_status=$?
30655 grep -v '^ *+' conftest.er1 >conftest.err
30656 rm -f conftest.er1
30657 cat conftest.err >&5
30658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30659 (exit $ac_status); } && {
30660 test -z "$ac_c_werror_flag" ||
30661 test ! -s conftest.err
30662 } && test -s conftest$ac_exeext &&
30663 $as_test_x conftest$ac_exeext; then
30664 eval "$as_ac_var=yes"
30665 else
30666 echo "$as_me: failed program was:" >&5
30667 sed 's/^/| /' conftest.$ac_ext >&5
30668
30669 eval "$as_ac_var=no"
30670 fi
30671
30672 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30673 conftest$ac_exeext conftest.$ac_ext
30674 fi
30675 ac_res=`eval echo '${'$as_ac_var'}'`
30676 { echo "$as_me:$LINENO: result: $ac_res" >&5
30677 echo "${ECHO_T}$ac_res" >&6; }
30678 if test `eval echo '${'$as_ac_var'}'` = yes; then
30679 cat >>confdefs.h <<_ACEOF
30680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30681 _ACEOF
30682
30683 fi
30684 done
30685
30686 fi
30687 fi
30688
30689 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
30690 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
30691
30692 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
30693
30694 AFMINSTALL=afminstall
30695 TOOLKIT=GTK
30696 GUIDIST=GTK_DIST
30697
30698 if test "$wxUSE_GPE" = "yes"; then
30699 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
30700 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
30701
30702 ac_find_libraries=
30703 for ac_dir in $SEARCH_LIB;
30704 do
30705 for ac_extension in a so sl dylib dll.a; do
30706 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
30707 ac_find_libraries=$ac_dir
30708 break 2
30709 fi
30710 done
30711 done
30712
30713 if test "$ac_find_libraries" != "" ; then
30714
30715 if test "$ac_find_libraries" = "default location"; then
30716 ac_path_to_link=""
30717 else
30718 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30719 result=$?
30720 if test $result = 0; then
30721 ac_path_to_link=""
30722 else
30723 ac_path_to_link=" -L$ac_find_libraries"
30724 fi
30725 fi
30726
30727 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
30728 WXGPE=1
30729 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30730 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30731 else
30732 { echo "$as_me:$LINENO: result: not found" >&5
30733 echo "${ECHO_T}not found" >&6; }
30734 fi
30735
30736 fi
30737 fi
30738
30739 if test "$wxUSE_MGL" = 1; then
30740 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
30741 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
30742 if test "x$MGL_ROOT" = x ; then
30743 { echo "$as_me:$LINENO: result: not found" >&5
30744 echo "${ECHO_T}not found" >&6; }
30745 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
30746 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
30747 { (exit 1); exit 1; }; }
30748 else
30749 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
30750 echo "${ECHO_T}$MGL_ROOT" >&6; }
30751 fi
30752
30753 { echo "$as_me:$LINENO: checking for libmgl location" >&5
30754 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
30755 case "${host}" in
30756 *-*-linux* )
30757 if test "x$wxUSE_SHARED" = xyes ; then
30758 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
30759 else
30760 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
30761 fi
30762 ;;
30763 *-pc-msdosdjgpp )
30764 mgl_os_candidates="dos32/dj2"
30765 ;;
30766 *)
30767 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
30768 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
30769 { (exit 1); exit 1; }; }
30770 esac
30771
30772 mgl_lib_type=""
30773 mgl_os=""
30774
30775 for mgl_os_i in $mgl_os_candidates ; do
30776 if test "x$mgl_os" = x ; then
30777 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30778 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
30779 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
30780 mgl_lib_type=debug
30781 mgl_os=$mgl_os_i
30782 fi
30783 fi
30784 if test "x$mgl_lib_type" = x ; then
30785 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
30786 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
30787 mgl_lib_type=release
30788 mgl_os=$mgl_os_i
30789 fi
30790 fi
30791 fi
30792 done
30793
30794 if test "x$mgl_os" = x ; then
30795 { echo "$as_me:$LINENO: result: not found" >&5
30796 echo "${ECHO_T}not found" >&6; }
30797 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30798 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30799 { (exit 1); exit 1; }; }
30800 fi
30801 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30802 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
30803
30804 wxUSE_UNIVERSAL="yes"
30805
30806 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
30807 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30808
30809 AFMINSTALL=afminstall
30810 TOOLKIT=MGL
30811 GUIDIST=MGL_DIST
30812 fi
30813
30814 if test "$wxUSE_DFB" = 1; then
30815
30816
30817 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30818 if test -n "$ac_tool_prefix"; then
30819 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30820 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30821 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30823 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30824 echo $ECHO_N "(cached) $ECHO_C" >&6
30825 else
30826 case $PKG_CONFIG in
30827 [\\/]* | ?:[\\/]*)
30828 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30829 ;;
30830 *)
30831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30832 for as_dir in $PATH
30833 do
30834 IFS=$as_save_IFS
30835 test -z "$as_dir" && as_dir=.
30836 for ac_exec_ext in '' $ac_executable_extensions; do
30837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30838 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30840 break 2
30841 fi
30842 done
30843 done
30844 IFS=$as_save_IFS
30845
30846 ;;
30847 esac
30848 fi
30849 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30850 if test -n "$PKG_CONFIG"; then
30851 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30852 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30853 else
30854 { echo "$as_me:$LINENO: result: no" >&5
30855 echo "${ECHO_T}no" >&6; }
30856 fi
30857
30858
30859 fi
30860 if test -z "$ac_cv_path_PKG_CONFIG"; then
30861 ac_pt_PKG_CONFIG=$PKG_CONFIG
30862 # Extract the first word of "pkg-config", so it can be a program name with args.
30863 set dummy pkg-config; ac_word=$2
30864 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30866 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30867 echo $ECHO_N "(cached) $ECHO_C" >&6
30868 else
30869 case $ac_pt_PKG_CONFIG in
30870 [\\/]* | ?:[\\/]*)
30871 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30872 ;;
30873 *)
30874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30875 for as_dir in $PATH
30876 do
30877 IFS=$as_save_IFS
30878 test -z "$as_dir" && as_dir=.
30879 for ac_exec_ext in '' $ac_executable_extensions; do
30880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30881 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30883 break 2
30884 fi
30885 done
30886 done
30887 IFS=$as_save_IFS
30888
30889 ;;
30890 esac
30891 fi
30892 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30893 if test -n "$ac_pt_PKG_CONFIG"; then
30894 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30895 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30896 else
30897 { echo "$as_me:$LINENO: result: no" >&5
30898 echo "${ECHO_T}no" >&6; }
30899 fi
30900
30901 if test "x$ac_pt_PKG_CONFIG" = x; then
30902 PKG_CONFIG=""
30903 else
30904 case $cross_compiling:$ac_tool_warned in
30905 yes:)
30906 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30907 whose name does not start with the host triplet. If you think this
30908 configuration is useful to you, please write to autoconf@gnu.org." >&5
30909 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30910 whose name does not start with the host triplet. If you think this
30911 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30912 ac_tool_warned=yes ;;
30913 esac
30914 PKG_CONFIG=$ac_pt_PKG_CONFIG
30915 fi
30916 else
30917 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30918 fi
30919
30920 fi
30921 if test -n "$PKG_CONFIG"; then
30922 _pkg_min_version=0.9.0
30923 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30924 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30925 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30926 { echo "$as_me:$LINENO: result: yes" >&5
30927 echo "${ECHO_T}yes" >&6; }
30928 else
30929 { echo "$as_me:$LINENO: result: no" >&5
30930 echo "${ECHO_T}no" >&6; }
30931 PKG_CONFIG=""
30932 fi
30933
30934 fi
30935
30936
30937 pkg_failed=no
30938 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
30939 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
30940
30941 if test -n "$PKG_CONFIG"; then
30942 if test -n "$DIRECTFB_CFLAGS"; then
30943 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
30944 else
30945 if test -n "$PKG_CONFIG" && \
30946 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30947 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30948 ac_status=$?
30949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30950 (exit $ac_status); }; then
30951 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
30952 else
30953 pkg_failed=yes
30954 fi
30955 fi
30956 else
30957 pkg_failed=untried
30958 fi
30959 if test -n "$PKG_CONFIG"; then
30960 if test -n "$DIRECTFB_LIBS"; then
30961 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
30962 else
30963 if test -n "$PKG_CONFIG" && \
30964 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30965 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30966 ac_status=$?
30967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30968 (exit $ac_status); }; then
30969 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
30970 else
30971 pkg_failed=yes
30972 fi
30973 fi
30974 else
30975 pkg_failed=untried
30976 fi
30977
30978
30979
30980 if test $pkg_failed = yes; then
30981
30982 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30983 _pkg_short_errors_supported=yes
30984 else
30985 _pkg_short_errors_supported=no
30986 fi
30987 if test $_pkg_short_errors_supported = yes; then
30988 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30989 else
30990 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30991 fi
30992 # Put the nasty error message in config.log where it belongs
30993 echo "$DIRECTFB_PKG_ERRORS" >&5
30994
30995
30996 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30997 echo "$as_me: error: DirectFB not found." >&2;}
30998 { (exit 1); exit 1; }; }
30999
31000
31001 elif test $pkg_failed = untried; then
31002
31003 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31004 echo "$as_me: error: DirectFB not found." >&2;}
31005 { (exit 1); exit 1; }; }
31006
31007
31008 else
31009 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31010 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31011 { echo "$as_me:$LINENO: result: yes" >&5
31012 echo "${ECHO_T}yes" >&6; }
31013
31014 wxUSE_UNIVERSAL="yes"
31015 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31016 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31017 TOOLKIT=DFB
31018 GUIDIST=DFB_DIST
31019
31020 fi
31021 fi
31022
31023 if test "$wxUSE_MICROWIN" = 1; then
31024 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31025 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31026 if test "x$MICROWINDOWS" = x ; then
31027 { echo "$as_me:$LINENO: result: not found" >&5
31028 echo "${ECHO_T}not found" >&6; }
31029 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31030 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31031 { (exit 1); exit 1; }; }
31032 else
31033 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31034 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31035 fi
31036
31037 if test -f $MICROWINDOWS/lib/libmwin.a; then
31038 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31039 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31040 else
31041 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31042 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31043 { (exit 1); exit 1; }; }
31044 fi
31045
31046 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31047 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31048
31049 wxUSE_UNIVERSAL="yes"
31050
31051 AFMINSTALL=afminstall
31052 TOOLKIT=MICROWIN
31053 GUIDIST=MICROWIN_DIST
31054
31055 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31056 fi
31057
31058 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31059 { echo "$as_me:$LINENO: checking for X" >&5
31060 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31061
31062
31063 # Check whether --with-x was given.
31064 if test "${with_x+set}" = set; then
31065 withval=$with_x;
31066 fi
31067
31068 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31069 if test "x$with_x" = xno; then
31070 # The user explicitly disabled X.
31071 have_x=disabled
31072 else
31073 case $x_includes,$x_libraries in #(
31074 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31075 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31076 { (exit 1); exit 1; }; };; #(
31077 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31078 echo $ECHO_N "(cached) $ECHO_C" >&6
31079 else
31080 # One or both of the vars are not set, and there is no cached value.
31081 ac_x_includes=no ac_x_libraries=no
31082 rm -f -r conftest.dir
31083 if mkdir conftest.dir; then
31084 cd conftest.dir
31085 cat >Imakefile <<'_ACEOF'
31086 incroot:
31087 @echo incroot='${INCROOT}'
31088 usrlibdir:
31089 @echo usrlibdir='${USRLIBDIR}'
31090 libdir:
31091 @echo libdir='${LIBDIR}'
31092 _ACEOF
31093 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31094 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31095 for ac_var in incroot usrlibdir libdir; do
31096 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31097 done
31098 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31099 for ac_extension in a so sl; do
31100 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31101 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31102 ac_im_usrlibdir=$ac_im_libdir; break
31103 fi
31104 done
31105 # Screen out bogus values from the imake configuration. They are
31106 # bogus both because they are the default anyway, and because
31107 # using them would break gcc on systems where it needs fixed includes.
31108 case $ac_im_incroot in
31109 /usr/include) ac_x_includes= ;;
31110 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31111 esac
31112 case $ac_im_usrlibdir in
31113 /usr/lib | /lib) ;;
31114 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31115 esac
31116 fi
31117 cd ..
31118 rm -f -r conftest.dir
31119 fi
31120
31121 # Standard set of common directories for X headers.
31122 # Check X11 before X11Rn because it is often a symlink to the current release.
31123 ac_x_header_dirs='
31124 /usr/X11/include
31125 /usr/X11R6/include
31126 /usr/X11R5/include
31127 /usr/X11R4/include
31128
31129 /usr/include/X11
31130 /usr/include/X11R6
31131 /usr/include/X11R5
31132 /usr/include/X11R4
31133
31134 /usr/local/X11/include
31135 /usr/local/X11R6/include
31136 /usr/local/X11R5/include
31137 /usr/local/X11R4/include
31138
31139 /usr/local/include/X11
31140 /usr/local/include/X11R6
31141 /usr/local/include/X11R5
31142 /usr/local/include/X11R4
31143
31144 /usr/X386/include
31145 /usr/x386/include
31146 /usr/XFree86/include/X11
31147
31148 /usr/include
31149 /usr/local/include
31150 /usr/unsupported/include
31151 /usr/athena/include
31152 /usr/local/x11r5/include
31153 /usr/lpp/Xamples/include
31154
31155 /usr/openwin/include
31156 /usr/openwin/share/include'
31157
31158 if test "$ac_x_includes" = no; then
31159 # Guess where to find include files, by looking for Xlib.h.
31160 # First, try using that file with no special directory specified.
31161 cat >conftest.$ac_ext <<_ACEOF
31162 /* confdefs.h. */
31163 _ACEOF
31164 cat confdefs.h >>conftest.$ac_ext
31165 cat >>conftest.$ac_ext <<_ACEOF
31166 /* end confdefs.h. */
31167 #include <X11/Xlib.h>
31168 _ACEOF
31169 if { (ac_try="$ac_cpp conftest.$ac_ext"
31170 case "(($ac_try" in
31171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31172 *) ac_try_echo=$ac_try;;
31173 esac
31174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31175 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31176 ac_status=$?
31177 grep -v '^ *+' conftest.er1 >conftest.err
31178 rm -f conftest.er1
31179 cat conftest.err >&5
31180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31181 (exit $ac_status); } >/dev/null && {
31182 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31183 test ! -s conftest.err
31184 }; then
31185 # We can compile using X headers with no special include directory.
31186 ac_x_includes=
31187 else
31188 echo "$as_me: failed program was:" >&5
31189 sed 's/^/| /' conftest.$ac_ext >&5
31190
31191 for ac_dir in $ac_x_header_dirs; do
31192 if test -r "$ac_dir/X11/Xlib.h"; then
31193 ac_x_includes=$ac_dir
31194 break
31195 fi
31196 done
31197 fi
31198
31199 rm -f conftest.err conftest.$ac_ext
31200 fi # $ac_x_includes = no
31201
31202 if test "$ac_x_libraries" = no; then
31203 # Check for the libraries.
31204 # See if we find them without any special options.
31205 # Don't add to $LIBS permanently.
31206 ac_save_LIBS=$LIBS
31207 LIBS="-lX11 $LIBS"
31208 cat >conftest.$ac_ext <<_ACEOF
31209 /* confdefs.h. */
31210 _ACEOF
31211 cat confdefs.h >>conftest.$ac_ext
31212 cat >>conftest.$ac_ext <<_ACEOF
31213 /* end confdefs.h. */
31214 #include <X11/Xlib.h>
31215 int
31216 main ()
31217 {
31218 XrmInitialize ()
31219 ;
31220 return 0;
31221 }
31222 _ACEOF
31223 rm -f conftest.$ac_objext conftest$ac_exeext
31224 if { (ac_try="$ac_link"
31225 case "(($ac_try" in
31226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31227 *) ac_try_echo=$ac_try;;
31228 esac
31229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31230 (eval "$ac_link") 2>conftest.er1
31231 ac_status=$?
31232 grep -v '^ *+' conftest.er1 >conftest.err
31233 rm -f conftest.er1
31234 cat conftest.err >&5
31235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31236 (exit $ac_status); } && {
31237 test -z "$ac_c_werror_flag" ||
31238 test ! -s conftest.err
31239 } && test -s conftest$ac_exeext &&
31240 $as_test_x conftest$ac_exeext; then
31241 LIBS=$ac_save_LIBS
31242 # We can link X programs with no special library path.
31243 ac_x_libraries=
31244 else
31245 echo "$as_me: failed program was:" >&5
31246 sed 's/^/| /' conftest.$ac_ext >&5
31247
31248 LIBS=$ac_save_LIBS
31249 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31250 do
31251 # Don't even attempt the hair of trying to link an X program!
31252 for ac_extension in a so sl; do
31253 if test -r "$ac_dir/libX11.$ac_extension"; then
31254 ac_x_libraries=$ac_dir
31255 break 2
31256 fi
31257 done
31258 done
31259 fi
31260
31261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31262 conftest$ac_exeext conftest.$ac_ext
31263 fi # $ac_x_libraries = no
31264
31265 case $ac_x_includes,$ac_x_libraries in #(
31266 no,* | *,no | *\'*)
31267 # Didn't find X, or a directory has "'" in its name.
31268 ac_cv_have_x="have_x=no";; #(
31269 *)
31270 # Record where we found X for the cache.
31271 ac_cv_have_x="have_x=yes\
31272 ac_x_includes='$ac_x_includes'\
31273 ac_x_libraries='$ac_x_libraries'"
31274 esac
31275 fi
31276 ;; #(
31277 *) have_x=yes;;
31278 esac
31279 eval "$ac_cv_have_x"
31280 fi # $with_x != no
31281
31282 if test "$have_x" != yes; then
31283 { echo "$as_me:$LINENO: result: $have_x" >&5
31284 echo "${ECHO_T}$have_x" >&6; }
31285 no_x=yes
31286 else
31287 # If each of the values was on the command line, it overrides each guess.
31288 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31289 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31290 # Update the cache value to reflect the command line values.
31291 ac_cv_have_x="have_x=yes\
31292 ac_x_includes='$x_includes'\
31293 ac_x_libraries='$x_libraries'"
31294 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31295 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31296 fi
31297
31298 if test "$no_x" = yes; then
31299 # Not all programs may use this symbol, but it does not hurt to define it.
31300
31301 cat >>confdefs.h <<\_ACEOF
31302 #define X_DISPLAY_MISSING 1
31303 _ACEOF
31304
31305 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31306 else
31307 if test -n "$x_includes"; then
31308 X_CFLAGS="$X_CFLAGS -I$x_includes"
31309 fi
31310
31311 # It would also be nice to do this for all -L options, not just this one.
31312 if test -n "$x_libraries"; then
31313 X_LIBS="$X_LIBS -L$x_libraries"
31314 # For Solaris; some versions of Sun CC require a space after -R and
31315 # others require no space. Words are not sufficient . . . .
31316 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31317 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31318 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31319 ac_xsave_c_werror_flag=$ac_c_werror_flag
31320 ac_c_werror_flag=yes
31321 cat >conftest.$ac_ext <<_ACEOF
31322 /* confdefs.h. */
31323 _ACEOF
31324 cat confdefs.h >>conftest.$ac_ext
31325 cat >>conftest.$ac_ext <<_ACEOF
31326 /* end confdefs.h. */
31327
31328 int
31329 main ()
31330 {
31331
31332 ;
31333 return 0;
31334 }
31335 _ACEOF
31336 rm -f conftest.$ac_objext conftest$ac_exeext
31337 if { (ac_try="$ac_link"
31338 case "(($ac_try" in
31339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31340 *) ac_try_echo=$ac_try;;
31341 esac
31342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31343 (eval "$ac_link") 2>conftest.er1
31344 ac_status=$?
31345 grep -v '^ *+' conftest.er1 >conftest.err
31346 rm -f conftest.er1
31347 cat conftest.err >&5
31348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31349 (exit $ac_status); } && {
31350 test -z "$ac_c_werror_flag" ||
31351 test ! -s conftest.err
31352 } && test -s conftest$ac_exeext &&
31353 $as_test_x conftest$ac_exeext; then
31354 { echo "$as_me:$LINENO: result: no" >&5
31355 echo "${ECHO_T}no" >&6; }
31356 X_LIBS="$X_LIBS -R$x_libraries"
31357 else
31358 echo "$as_me: failed program was:" >&5
31359 sed 's/^/| /' conftest.$ac_ext >&5
31360
31361 LIBS="$ac_xsave_LIBS -R $x_libraries"
31362 cat >conftest.$ac_ext <<_ACEOF
31363 /* confdefs.h. */
31364 _ACEOF
31365 cat confdefs.h >>conftest.$ac_ext
31366 cat >>conftest.$ac_ext <<_ACEOF
31367 /* end confdefs.h. */
31368
31369 int
31370 main ()
31371 {
31372
31373 ;
31374 return 0;
31375 }
31376 _ACEOF
31377 rm -f conftest.$ac_objext conftest$ac_exeext
31378 if { (ac_try="$ac_link"
31379 case "(($ac_try" in
31380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31381 *) ac_try_echo=$ac_try;;
31382 esac
31383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31384 (eval "$ac_link") 2>conftest.er1
31385 ac_status=$?
31386 grep -v '^ *+' conftest.er1 >conftest.err
31387 rm -f conftest.er1
31388 cat conftest.err >&5
31389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31390 (exit $ac_status); } && {
31391 test -z "$ac_c_werror_flag" ||
31392 test ! -s conftest.err
31393 } && test -s conftest$ac_exeext &&
31394 $as_test_x conftest$ac_exeext; then
31395 { echo "$as_me:$LINENO: result: yes" >&5
31396 echo "${ECHO_T}yes" >&6; }
31397 X_LIBS="$X_LIBS -R $x_libraries"
31398 else
31399 echo "$as_me: failed program was:" >&5
31400 sed 's/^/| /' conftest.$ac_ext >&5
31401
31402 { echo "$as_me:$LINENO: result: neither works" >&5
31403 echo "${ECHO_T}neither works" >&6; }
31404 fi
31405
31406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31407 conftest$ac_exeext conftest.$ac_ext
31408 fi
31409
31410 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31411 conftest$ac_exeext conftest.$ac_ext
31412 ac_c_werror_flag=$ac_xsave_c_werror_flag
31413 LIBS=$ac_xsave_LIBS
31414 fi
31415
31416 # Check for system-dependent libraries X programs must link with.
31417 # Do this before checking for the system-independent R6 libraries
31418 # (-lICE), since we may need -lsocket or whatever for X linking.
31419
31420 if test "$ISC" = yes; then
31421 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31422 else
31423 # Martyn Johnson says this is needed for Ultrix, if the X
31424 # libraries were built with DECnet support. And Karl Berry says
31425 # the Alpha needs dnet_stub (dnet does not exist).
31426 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31427 cat >conftest.$ac_ext <<_ACEOF
31428 /* confdefs.h. */
31429 _ACEOF
31430 cat confdefs.h >>conftest.$ac_ext
31431 cat >>conftest.$ac_ext <<_ACEOF
31432 /* end confdefs.h. */
31433
31434 /* Override any GCC internal prototype to avoid an error.
31435 Use char because int might match the return type of a GCC
31436 builtin and then its argument prototype would still apply. */
31437 #ifdef __cplusplus
31438 extern "C"
31439 #endif
31440 char XOpenDisplay ();
31441 int
31442 main ()
31443 {
31444 return XOpenDisplay ();
31445 ;
31446 return 0;
31447 }
31448 _ACEOF
31449 rm -f conftest.$ac_objext conftest$ac_exeext
31450 if { (ac_try="$ac_link"
31451 case "(($ac_try" in
31452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31453 *) ac_try_echo=$ac_try;;
31454 esac
31455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31456 (eval "$ac_link") 2>conftest.er1
31457 ac_status=$?
31458 grep -v '^ *+' conftest.er1 >conftest.err
31459 rm -f conftest.er1
31460 cat conftest.err >&5
31461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31462 (exit $ac_status); } && {
31463 test -z "$ac_c_werror_flag" ||
31464 test ! -s conftest.err
31465 } && test -s conftest$ac_exeext &&
31466 $as_test_x conftest$ac_exeext; then
31467 :
31468 else
31469 echo "$as_me: failed program was:" >&5
31470 sed 's/^/| /' conftest.$ac_ext >&5
31471
31472 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31473 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31474 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31475 echo $ECHO_N "(cached) $ECHO_C" >&6
31476 else
31477 ac_check_lib_save_LIBS=$LIBS
31478 LIBS="-ldnet $LIBS"
31479 cat >conftest.$ac_ext <<_ACEOF
31480 /* confdefs.h. */
31481 _ACEOF
31482 cat confdefs.h >>conftest.$ac_ext
31483 cat >>conftest.$ac_ext <<_ACEOF
31484 /* end confdefs.h. */
31485
31486 /* Override any GCC internal prototype to avoid an error.
31487 Use char because int might match the return type of a GCC
31488 builtin and then its argument prototype would still apply. */
31489 #ifdef __cplusplus
31490 extern "C"
31491 #endif
31492 char dnet_ntoa ();
31493 int
31494 main ()
31495 {
31496 return dnet_ntoa ();
31497 ;
31498 return 0;
31499 }
31500 _ACEOF
31501 rm -f conftest.$ac_objext conftest$ac_exeext
31502 if { (ac_try="$ac_link"
31503 case "(($ac_try" in
31504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31505 *) ac_try_echo=$ac_try;;
31506 esac
31507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31508 (eval "$ac_link") 2>conftest.er1
31509 ac_status=$?
31510 grep -v '^ *+' conftest.er1 >conftest.err
31511 rm -f conftest.er1
31512 cat conftest.err >&5
31513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31514 (exit $ac_status); } && {
31515 test -z "$ac_c_werror_flag" ||
31516 test ! -s conftest.err
31517 } && test -s conftest$ac_exeext &&
31518 $as_test_x conftest$ac_exeext; then
31519 ac_cv_lib_dnet_dnet_ntoa=yes
31520 else
31521 echo "$as_me: failed program was:" >&5
31522 sed 's/^/| /' conftest.$ac_ext >&5
31523
31524 ac_cv_lib_dnet_dnet_ntoa=no
31525 fi
31526
31527 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31528 conftest$ac_exeext conftest.$ac_ext
31529 LIBS=$ac_check_lib_save_LIBS
31530 fi
31531 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31532 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
31533 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31534 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31535 fi
31536
31537 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31538 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31539 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
31540 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31541 echo $ECHO_N "(cached) $ECHO_C" >&6
31542 else
31543 ac_check_lib_save_LIBS=$LIBS
31544 LIBS="-ldnet_stub $LIBS"
31545 cat >conftest.$ac_ext <<_ACEOF
31546 /* confdefs.h. */
31547 _ACEOF
31548 cat confdefs.h >>conftest.$ac_ext
31549 cat >>conftest.$ac_ext <<_ACEOF
31550 /* end confdefs.h. */
31551
31552 /* Override any GCC internal prototype to avoid an error.
31553 Use char because int might match the return type of a GCC
31554 builtin and then its argument prototype would still apply. */
31555 #ifdef __cplusplus
31556 extern "C"
31557 #endif
31558 char dnet_ntoa ();
31559 int
31560 main ()
31561 {
31562 return dnet_ntoa ();
31563 ;
31564 return 0;
31565 }
31566 _ACEOF
31567 rm -f conftest.$ac_objext conftest$ac_exeext
31568 if { (ac_try="$ac_link"
31569 case "(($ac_try" in
31570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31571 *) ac_try_echo=$ac_try;;
31572 esac
31573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31574 (eval "$ac_link") 2>conftest.er1
31575 ac_status=$?
31576 grep -v '^ *+' conftest.er1 >conftest.err
31577 rm -f conftest.er1
31578 cat conftest.err >&5
31579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31580 (exit $ac_status); } && {
31581 test -z "$ac_c_werror_flag" ||
31582 test ! -s conftest.err
31583 } && test -s conftest$ac_exeext &&
31584 $as_test_x conftest$ac_exeext; then
31585 ac_cv_lib_dnet_stub_dnet_ntoa=yes
31586 else
31587 echo "$as_me: failed program was:" >&5
31588 sed 's/^/| /' conftest.$ac_ext >&5
31589
31590 ac_cv_lib_dnet_stub_dnet_ntoa=no
31591 fi
31592
31593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31594 conftest$ac_exeext conftest.$ac_ext
31595 LIBS=$ac_check_lib_save_LIBS
31596 fi
31597 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31598 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
31599 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31600 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
31601 fi
31602
31603 fi
31604 fi
31605
31606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31607 conftest$ac_exeext conftest.$ac_ext
31608 LIBS="$ac_xsave_LIBS"
31609
31610 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
31611 # to get the SysV transport functions.
31612 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
31613 # needs -lnsl.
31614 # The nsl library prevents programs from opening the X display
31615 # on Irix 5.2, according to T.E. Dickey.
31616 # The functions gethostbyname, getservbyname, and inet_addr are
31617 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
31618 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
31619 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
31620 if test "${ac_cv_func_gethostbyname+set}" = set; then
31621 echo $ECHO_N "(cached) $ECHO_C" >&6
31622 else
31623 cat >conftest.$ac_ext <<_ACEOF
31624 /* confdefs.h. */
31625 _ACEOF
31626 cat confdefs.h >>conftest.$ac_ext
31627 cat >>conftest.$ac_ext <<_ACEOF
31628 /* end confdefs.h. */
31629 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
31630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31631 #define gethostbyname innocuous_gethostbyname
31632
31633 /* System header to define __stub macros and hopefully few prototypes,
31634 which can conflict with char gethostbyname (); below.
31635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31636 <limits.h> exists even on freestanding compilers. */
31637
31638 #ifdef __STDC__
31639 # include <limits.h>
31640 #else
31641 # include <assert.h>
31642 #endif
31643
31644 #undef gethostbyname
31645
31646 /* Override any GCC internal prototype to avoid an error.
31647 Use char because int might match the return type of a GCC
31648 builtin and then its argument prototype would still apply. */
31649 #ifdef __cplusplus
31650 extern "C"
31651 #endif
31652 char gethostbyname ();
31653 /* The GNU C library defines this for functions which it implements
31654 to always fail with ENOSYS. Some functions are actually named
31655 something starting with __ and the normal name is an alias. */
31656 #if defined __stub_gethostbyname || defined __stub___gethostbyname
31657 choke me
31658 #endif
31659
31660 int
31661 main ()
31662 {
31663 return gethostbyname ();
31664 ;
31665 return 0;
31666 }
31667 _ACEOF
31668 rm -f conftest.$ac_objext conftest$ac_exeext
31669 if { (ac_try="$ac_link"
31670 case "(($ac_try" in
31671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31672 *) ac_try_echo=$ac_try;;
31673 esac
31674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31675 (eval "$ac_link") 2>conftest.er1
31676 ac_status=$?
31677 grep -v '^ *+' conftest.er1 >conftest.err
31678 rm -f conftest.er1
31679 cat conftest.err >&5
31680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31681 (exit $ac_status); } && {
31682 test -z "$ac_c_werror_flag" ||
31683 test ! -s conftest.err
31684 } && test -s conftest$ac_exeext &&
31685 $as_test_x conftest$ac_exeext; then
31686 ac_cv_func_gethostbyname=yes
31687 else
31688 echo "$as_me: failed program was:" >&5
31689 sed 's/^/| /' conftest.$ac_ext >&5
31690
31691 ac_cv_func_gethostbyname=no
31692 fi
31693
31694 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31695 conftest$ac_exeext conftest.$ac_ext
31696 fi
31697 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
31698 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
31699
31700 if test $ac_cv_func_gethostbyname = no; then
31701 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
31702 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
31703 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
31704 echo $ECHO_N "(cached) $ECHO_C" >&6
31705 else
31706 ac_check_lib_save_LIBS=$LIBS
31707 LIBS="-lnsl $LIBS"
31708 cat >conftest.$ac_ext <<_ACEOF
31709 /* confdefs.h. */
31710 _ACEOF
31711 cat confdefs.h >>conftest.$ac_ext
31712 cat >>conftest.$ac_ext <<_ACEOF
31713 /* end confdefs.h. */
31714
31715 /* Override any GCC internal prototype to avoid an error.
31716 Use char because int might match the return type of a GCC
31717 builtin and then its argument prototype would still apply. */
31718 #ifdef __cplusplus
31719 extern "C"
31720 #endif
31721 char gethostbyname ();
31722 int
31723 main ()
31724 {
31725 return gethostbyname ();
31726 ;
31727 return 0;
31728 }
31729 _ACEOF
31730 rm -f conftest.$ac_objext conftest$ac_exeext
31731 if { (ac_try="$ac_link"
31732 case "(($ac_try" in
31733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31734 *) ac_try_echo=$ac_try;;
31735 esac
31736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31737 (eval "$ac_link") 2>conftest.er1
31738 ac_status=$?
31739 grep -v '^ *+' conftest.er1 >conftest.err
31740 rm -f conftest.er1
31741 cat conftest.err >&5
31742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31743 (exit $ac_status); } && {
31744 test -z "$ac_c_werror_flag" ||
31745 test ! -s conftest.err
31746 } && test -s conftest$ac_exeext &&
31747 $as_test_x conftest$ac_exeext; then
31748 ac_cv_lib_nsl_gethostbyname=yes
31749 else
31750 echo "$as_me: failed program was:" >&5
31751 sed 's/^/| /' conftest.$ac_ext >&5
31752
31753 ac_cv_lib_nsl_gethostbyname=no
31754 fi
31755
31756 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31757 conftest$ac_exeext conftest.$ac_ext
31758 LIBS=$ac_check_lib_save_LIBS
31759 fi
31760 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31761 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
31762 if test $ac_cv_lib_nsl_gethostbyname = yes; then
31763 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
31764 fi
31765
31766 if test $ac_cv_lib_nsl_gethostbyname = no; then
31767 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31768 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
31769 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31770 echo $ECHO_N "(cached) $ECHO_C" >&6
31771 else
31772 ac_check_lib_save_LIBS=$LIBS
31773 LIBS="-lbsd $LIBS"
31774 cat >conftest.$ac_ext <<_ACEOF
31775 /* confdefs.h. */
31776 _ACEOF
31777 cat confdefs.h >>conftest.$ac_ext
31778 cat >>conftest.$ac_ext <<_ACEOF
31779 /* end confdefs.h. */
31780
31781 /* Override any GCC internal prototype to avoid an error.
31782 Use char because int might match the return type of a GCC
31783 builtin and then its argument prototype would still apply. */
31784 #ifdef __cplusplus
31785 extern "C"
31786 #endif
31787 char gethostbyname ();
31788 int
31789 main ()
31790 {
31791 return gethostbyname ();
31792 ;
31793 return 0;
31794 }
31795 _ACEOF
31796 rm -f conftest.$ac_objext conftest$ac_exeext
31797 if { (ac_try="$ac_link"
31798 case "(($ac_try" in
31799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31800 *) ac_try_echo=$ac_try;;
31801 esac
31802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31803 (eval "$ac_link") 2>conftest.er1
31804 ac_status=$?
31805 grep -v '^ *+' conftest.er1 >conftest.err
31806 rm -f conftest.er1
31807 cat conftest.err >&5
31808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31809 (exit $ac_status); } && {
31810 test -z "$ac_c_werror_flag" ||
31811 test ! -s conftest.err
31812 } && test -s conftest$ac_exeext &&
31813 $as_test_x conftest$ac_exeext; then
31814 ac_cv_lib_bsd_gethostbyname=yes
31815 else
31816 echo "$as_me: failed program was:" >&5
31817 sed 's/^/| /' conftest.$ac_ext >&5
31818
31819 ac_cv_lib_bsd_gethostbyname=no
31820 fi
31821
31822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31823 conftest$ac_exeext conftest.$ac_ext
31824 LIBS=$ac_check_lib_save_LIBS
31825 fi
31826 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31827 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
31828 if test $ac_cv_lib_bsd_gethostbyname = yes; then
31829 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
31830 fi
31831
31832 fi
31833 fi
31834
31835 # lieder@skyler.mavd.honeywell.com says without -lsocket,
31836 # socket/setsockopt and other routines are undefined under SCO ODT
31837 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
31838 # on later versions), says Simon Leinen: it contains gethostby*
31839 # variants that don't use the name server (or something). -lsocket
31840 # must be given before -lnsl if both are needed. We assume that
31841 # if connect needs -lnsl, so does gethostbyname.
31842 { echo "$as_me:$LINENO: checking for connect" >&5
31843 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
31844 if test "${ac_cv_func_connect+set}" = set; then
31845 echo $ECHO_N "(cached) $ECHO_C" >&6
31846 else
31847 cat >conftest.$ac_ext <<_ACEOF
31848 /* confdefs.h. */
31849 _ACEOF
31850 cat confdefs.h >>conftest.$ac_ext
31851 cat >>conftest.$ac_ext <<_ACEOF
31852 /* end confdefs.h. */
31853 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31855 #define connect innocuous_connect
31856
31857 /* System header to define __stub macros and hopefully few prototypes,
31858 which can conflict with char connect (); below.
31859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31860 <limits.h> exists even on freestanding compilers. */
31861
31862 #ifdef __STDC__
31863 # include <limits.h>
31864 #else
31865 # include <assert.h>
31866 #endif
31867
31868 #undef connect
31869
31870 /* Override any GCC internal prototype to avoid an error.
31871 Use char because int might match the return type of a GCC
31872 builtin and then its argument prototype would still apply. */
31873 #ifdef __cplusplus
31874 extern "C"
31875 #endif
31876 char connect ();
31877 /* The GNU C library defines this for functions which it implements
31878 to always fail with ENOSYS. Some functions are actually named
31879 something starting with __ and the normal name is an alias. */
31880 #if defined __stub_connect || defined __stub___connect
31881 choke me
31882 #endif
31883
31884 int
31885 main ()
31886 {
31887 return connect ();
31888 ;
31889 return 0;
31890 }
31891 _ACEOF
31892 rm -f conftest.$ac_objext conftest$ac_exeext
31893 if { (ac_try="$ac_link"
31894 case "(($ac_try" in
31895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31896 *) ac_try_echo=$ac_try;;
31897 esac
31898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31899 (eval "$ac_link") 2>conftest.er1
31900 ac_status=$?
31901 grep -v '^ *+' conftest.er1 >conftest.err
31902 rm -f conftest.er1
31903 cat conftest.err >&5
31904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31905 (exit $ac_status); } && {
31906 test -z "$ac_c_werror_flag" ||
31907 test ! -s conftest.err
31908 } && test -s conftest$ac_exeext &&
31909 $as_test_x conftest$ac_exeext; then
31910 ac_cv_func_connect=yes
31911 else
31912 echo "$as_me: failed program was:" >&5
31913 sed 's/^/| /' conftest.$ac_ext >&5
31914
31915 ac_cv_func_connect=no
31916 fi
31917
31918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31919 conftest$ac_exeext conftest.$ac_ext
31920 fi
31921 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
31922 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
31923
31924 if test $ac_cv_func_connect = no; then
31925 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
31926 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
31927 if test "${ac_cv_lib_socket_connect+set}" = set; then
31928 echo $ECHO_N "(cached) $ECHO_C" >&6
31929 else
31930 ac_check_lib_save_LIBS=$LIBS
31931 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
31932 cat >conftest.$ac_ext <<_ACEOF
31933 /* confdefs.h. */
31934 _ACEOF
31935 cat confdefs.h >>conftest.$ac_ext
31936 cat >>conftest.$ac_ext <<_ACEOF
31937 /* end confdefs.h. */
31938
31939 /* Override any GCC internal prototype to avoid an error.
31940 Use char because int might match the return type of a GCC
31941 builtin and then its argument prototype would still apply. */
31942 #ifdef __cplusplus
31943 extern "C"
31944 #endif
31945 char connect ();
31946 int
31947 main ()
31948 {
31949 return connect ();
31950 ;
31951 return 0;
31952 }
31953 _ACEOF
31954 rm -f conftest.$ac_objext conftest$ac_exeext
31955 if { (ac_try="$ac_link"
31956 case "(($ac_try" in
31957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31958 *) ac_try_echo=$ac_try;;
31959 esac
31960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31961 (eval "$ac_link") 2>conftest.er1
31962 ac_status=$?
31963 grep -v '^ *+' conftest.er1 >conftest.err
31964 rm -f conftest.er1
31965 cat conftest.err >&5
31966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31967 (exit $ac_status); } && {
31968 test -z "$ac_c_werror_flag" ||
31969 test ! -s conftest.err
31970 } && test -s conftest$ac_exeext &&
31971 $as_test_x conftest$ac_exeext; then
31972 ac_cv_lib_socket_connect=yes
31973 else
31974 echo "$as_me: failed program was:" >&5
31975 sed 's/^/| /' conftest.$ac_ext >&5
31976
31977 ac_cv_lib_socket_connect=no
31978 fi
31979
31980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31981 conftest$ac_exeext conftest.$ac_ext
31982 LIBS=$ac_check_lib_save_LIBS
31983 fi
31984 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31985 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
31986 if test $ac_cv_lib_socket_connect = yes; then
31987 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
31988 fi
31989
31990 fi
31991
31992 # Guillermo Gomez says -lposix is necessary on A/UX.
31993 { echo "$as_me:$LINENO: checking for remove" >&5
31994 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
31995 if test "${ac_cv_func_remove+set}" = set; then
31996 echo $ECHO_N "(cached) $ECHO_C" >&6
31997 else
31998 cat >conftest.$ac_ext <<_ACEOF
31999 /* confdefs.h. */
32000 _ACEOF
32001 cat confdefs.h >>conftest.$ac_ext
32002 cat >>conftest.$ac_ext <<_ACEOF
32003 /* end confdefs.h. */
32004 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32006 #define remove innocuous_remove
32007
32008 /* System header to define __stub macros and hopefully few prototypes,
32009 which can conflict with char remove (); below.
32010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32011 <limits.h> exists even on freestanding compilers. */
32012
32013 #ifdef __STDC__
32014 # include <limits.h>
32015 #else
32016 # include <assert.h>
32017 #endif
32018
32019 #undef remove
32020
32021 /* Override any GCC internal prototype to avoid an error.
32022 Use char because int might match the return type of a GCC
32023 builtin and then its argument prototype would still apply. */
32024 #ifdef __cplusplus
32025 extern "C"
32026 #endif
32027 char remove ();
32028 /* The GNU C library defines this for functions which it implements
32029 to always fail with ENOSYS. Some functions are actually named
32030 something starting with __ and the normal name is an alias. */
32031 #if defined __stub_remove || defined __stub___remove
32032 choke me
32033 #endif
32034
32035 int
32036 main ()
32037 {
32038 return remove ();
32039 ;
32040 return 0;
32041 }
32042 _ACEOF
32043 rm -f conftest.$ac_objext conftest$ac_exeext
32044 if { (ac_try="$ac_link"
32045 case "(($ac_try" in
32046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32047 *) ac_try_echo=$ac_try;;
32048 esac
32049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32050 (eval "$ac_link") 2>conftest.er1
32051 ac_status=$?
32052 grep -v '^ *+' conftest.er1 >conftest.err
32053 rm -f conftest.er1
32054 cat conftest.err >&5
32055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32056 (exit $ac_status); } && {
32057 test -z "$ac_c_werror_flag" ||
32058 test ! -s conftest.err
32059 } && test -s conftest$ac_exeext &&
32060 $as_test_x conftest$ac_exeext; then
32061 ac_cv_func_remove=yes
32062 else
32063 echo "$as_me: failed program was:" >&5
32064 sed 's/^/| /' conftest.$ac_ext >&5
32065
32066 ac_cv_func_remove=no
32067 fi
32068
32069 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32070 conftest$ac_exeext conftest.$ac_ext
32071 fi
32072 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32073 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32074
32075 if test $ac_cv_func_remove = no; then
32076 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32077 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32078 if test "${ac_cv_lib_posix_remove+set}" = set; then
32079 echo $ECHO_N "(cached) $ECHO_C" >&6
32080 else
32081 ac_check_lib_save_LIBS=$LIBS
32082 LIBS="-lposix $LIBS"
32083 cat >conftest.$ac_ext <<_ACEOF
32084 /* confdefs.h. */
32085 _ACEOF
32086 cat confdefs.h >>conftest.$ac_ext
32087 cat >>conftest.$ac_ext <<_ACEOF
32088 /* end confdefs.h. */
32089
32090 /* Override any GCC internal prototype to avoid an error.
32091 Use char because int might match the return type of a GCC
32092 builtin and then its argument prototype would still apply. */
32093 #ifdef __cplusplus
32094 extern "C"
32095 #endif
32096 char remove ();
32097 int
32098 main ()
32099 {
32100 return remove ();
32101 ;
32102 return 0;
32103 }
32104 _ACEOF
32105 rm -f conftest.$ac_objext conftest$ac_exeext
32106 if { (ac_try="$ac_link"
32107 case "(($ac_try" in
32108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32109 *) ac_try_echo=$ac_try;;
32110 esac
32111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32112 (eval "$ac_link") 2>conftest.er1
32113 ac_status=$?
32114 grep -v '^ *+' conftest.er1 >conftest.err
32115 rm -f conftest.er1
32116 cat conftest.err >&5
32117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32118 (exit $ac_status); } && {
32119 test -z "$ac_c_werror_flag" ||
32120 test ! -s conftest.err
32121 } && test -s conftest$ac_exeext &&
32122 $as_test_x conftest$ac_exeext; then
32123 ac_cv_lib_posix_remove=yes
32124 else
32125 echo "$as_me: failed program was:" >&5
32126 sed 's/^/| /' conftest.$ac_ext >&5
32127
32128 ac_cv_lib_posix_remove=no
32129 fi
32130
32131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32132 conftest$ac_exeext conftest.$ac_ext
32133 LIBS=$ac_check_lib_save_LIBS
32134 fi
32135 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32136 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32137 if test $ac_cv_lib_posix_remove = yes; then
32138 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32139 fi
32140
32141 fi
32142
32143 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32144 { echo "$as_me:$LINENO: checking for shmat" >&5
32145 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32146 if test "${ac_cv_func_shmat+set}" = set; then
32147 echo $ECHO_N "(cached) $ECHO_C" >&6
32148 else
32149 cat >conftest.$ac_ext <<_ACEOF
32150 /* confdefs.h. */
32151 _ACEOF
32152 cat confdefs.h >>conftest.$ac_ext
32153 cat >>conftest.$ac_ext <<_ACEOF
32154 /* end confdefs.h. */
32155 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32156 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32157 #define shmat innocuous_shmat
32158
32159 /* System header to define __stub macros and hopefully few prototypes,
32160 which can conflict with char shmat (); below.
32161 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32162 <limits.h> exists even on freestanding compilers. */
32163
32164 #ifdef __STDC__
32165 # include <limits.h>
32166 #else
32167 # include <assert.h>
32168 #endif
32169
32170 #undef shmat
32171
32172 /* Override any GCC internal prototype to avoid an error.
32173 Use char because int might match the return type of a GCC
32174 builtin and then its argument prototype would still apply. */
32175 #ifdef __cplusplus
32176 extern "C"
32177 #endif
32178 char shmat ();
32179 /* The GNU C library defines this for functions which it implements
32180 to always fail with ENOSYS. Some functions are actually named
32181 something starting with __ and the normal name is an alias. */
32182 #if defined __stub_shmat || defined __stub___shmat
32183 choke me
32184 #endif
32185
32186 int
32187 main ()
32188 {
32189 return shmat ();
32190 ;
32191 return 0;
32192 }
32193 _ACEOF
32194 rm -f conftest.$ac_objext conftest$ac_exeext
32195 if { (ac_try="$ac_link"
32196 case "(($ac_try" in
32197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32198 *) ac_try_echo=$ac_try;;
32199 esac
32200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32201 (eval "$ac_link") 2>conftest.er1
32202 ac_status=$?
32203 grep -v '^ *+' conftest.er1 >conftest.err
32204 rm -f conftest.er1
32205 cat conftest.err >&5
32206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32207 (exit $ac_status); } && {
32208 test -z "$ac_c_werror_flag" ||
32209 test ! -s conftest.err
32210 } && test -s conftest$ac_exeext &&
32211 $as_test_x conftest$ac_exeext; then
32212 ac_cv_func_shmat=yes
32213 else
32214 echo "$as_me: failed program was:" >&5
32215 sed 's/^/| /' conftest.$ac_ext >&5
32216
32217 ac_cv_func_shmat=no
32218 fi
32219
32220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32221 conftest$ac_exeext conftest.$ac_ext
32222 fi
32223 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32224 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32225
32226 if test $ac_cv_func_shmat = no; then
32227 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32228 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32229 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32230 echo $ECHO_N "(cached) $ECHO_C" >&6
32231 else
32232 ac_check_lib_save_LIBS=$LIBS
32233 LIBS="-lipc $LIBS"
32234 cat >conftest.$ac_ext <<_ACEOF
32235 /* confdefs.h. */
32236 _ACEOF
32237 cat confdefs.h >>conftest.$ac_ext
32238 cat >>conftest.$ac_ext <<_ACEOF
32239 /* end confdefs.h. */
32240
32241 /* Override any GCC internal prototype to avoid an error.
32242 Use char because int might match the return type of a GCC
32243 builtin and then its argument prototype would still apply. */
32244 #ifdef __cplusplus
32245 extern "C"
32246 #endif
32247 char shmat ();
32248 int
32249 main ()
32250 {
32251 return shmat ();
32252 ;
32253 return 0;
32254 }
32255 _ACEOF
32256 rm -f conftest.$ac_objext conftest$ac_exeext
32257 if { (ac_try="$ac_link"
32258 case "(($ac_try" in
32259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32260 *) ac_try_echo=$ac_try;;
32261 esac
32262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32263 (eval "$ac_link") 2>conftest.er1
32264 ac_status=$?
32265 grep -v '^ *+' conftest.er1 >conftest.err
32266 rm -f conftest.er1
32267 cat conftest.err >&5
32268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32269 (exit $ac_status); } && {
32270 test -z "$ac_c_werror_flag" ||
32271 test ! -s conftest.err
32272 } && test -s conftest$ac_exeext &&
32273 $as_test_x conftest$ac_exeext; then
32274 ac_cv_lib_ipc_shmat=yes
32275 else
32276 echo "$as_me: failed program was:" >&5
32277 sed 's/^/| /' conftest.$ac_ext >&5
32278
32279 ac_cv_lib_ipc_shmat=no
32280 fi
32281
32282 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32283 conftest$ac_exeext conftest.$ac_ext
32284 LIBS=$ac_check_lib_save_LIBS
32285 fi
32286 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32287 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32288 if test $ac_cv_lib_ipc_shmat = yes; then
32289 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32290 fi
32291
32292 fi
32293 fi
32294
32295 # Check for libraries that X11R6 Xt/Xaw programs need.
32296 ac_save_LDFLAGS=$LDFLAGS
32297 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32298 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32299 # check for ICE first), but we must link in the order -lSM -lICE or
32300 # we get undefined symbols. So assume we have SM if we have ICE.
32301 # These have to be linked with before -lX11, unlike the other
32302 # libraries we check for below, so use a different variable.
32303 # John Interrante, Karl Berry
32304 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32305 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32306 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32307 echo $ECHO_N "(cached) $ECHO_C" >&6
32308 else
32309 ac_check_lib_save_LIBS=$LIBS
32310 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32311 cat >conftest.$ac_ext <<_ACEOF
32312 /* confdefs.h. */
32313 _ACEOF
32314 cat confdefs.h >>conftest.$ac_ext
32315 cat >>conftest.$ac_ext <<_ACEOF
32316 /* end confdefs.h. */
32317
32318 /* Override any GCC internal prototype to avoid an error.
32319 Use char because int might match the return type of a GCC
32320 builtin and then its argument prototype would still apply. */
32321 #ifdef __cplusplus
32322 extern "C"
32323 #endif
32324 char IceConnectionNumber ();
32325 int
32326 main ()
32327 {
32328 return IceConnectionNumber ();
32329 ;
32330 return 0;
32331 }
32332 _ACEOF
32333 rm -f conftest.$ac_objext conftest$ac_exeext
32334 if { (ac_try="$ac_link"
32335 case "(($ac_try" in
32336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32337 *) ac_try_echo=$ac_try;;
32338 esac
32339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32340 (eval "$ac_link") 2>conftest.er1
32341 ac_status=$?
32342 grep -v '^ *+' conftest.er1 >conftest.err
32343 rm -f conftest.er1
32344 cat conftest.err >&5
32345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32346 (exit $ac_status); } && {
32347 test -z "$ac_c_werror_flag" ||
32348 test ! -s conftest.err
32349 } && test -s conftest$ac_exeext &&
32350 $as_test_x conftest$ac_exeext; then
32351 ac_cv_lib_ICE_IceConnectionNumber=yes
32352 else
32353 echo "$as_me: failed program was:" >&5
32354 sed 's/^/| /' conftest.$ac_ext >&5
32355
32356 ac_cv_lib_ICE_IceConnectionNumber=no
32357 fi
32358
32359 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32360 conftest$ac_exeext conftest.$ac_ext
32361 LIBS=$ac_check_lib_save_LIBS
32362 fi
32363 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32364 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32365 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32366 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
32367 fi
32368
32369 LDFLAGS=$ac_save_LDFLAGS
32370
32371 fi
32372
32373
32374 if test "$no_x" = "yes"; then
32375 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32376 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32377 { (exit 1); exit 1; }; }
32378 fi
32379
32380 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32381 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
32382 AFMINSTALL=afminstall
32383 COMPILED_X_PROGRAM=0
32384
32385 fi
32386
32387 if test "$wxUSE_X11" = 1; then
32388 if test "$wxUSE_NANOX" = "yes"; then
32389 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32390 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32391 if test "x$MICROWIN" = x ; then
32392 { echo "$as_me:$LINENO: result: not found" >&5
32393 echo "${ECHO_T}not found" >&6; }
32394 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32395 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32396 { (exit 1); exit 1; }; }
32397 else
32398 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32399 echo "${ECHO_T}$MICROWIN" >&6; }
32400 cat >>confdefs.h <<\_ACEOF
32401 #define wxUSE_NANOX 1
32402 _ACEOF
32403
32404 fi
32405 fi
32406
32407 if test "$wxUSE_UNICODE" = "yes"; then
32408
32409
32410 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32411 if test -n "$ac_tool_prefix"; then
32412 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32413 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32414 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32416 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32417 echo $ECHO_N "(cached) $ECHO_C" >&6
32418 else
32419 case $PKG_CONFIG in
32420 [\\/]* | ?:[\\/]*)
32421 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32422 ;;
32423 *)
32424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32425 for as_dir in $PATH
32426 do
32427 IFS=$as_save_IFS
32428 test -z "$as_dir" && as_dir=.
32429 for ac_exec_ext in '' $ac_executable_extensions; do
32430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32431 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32432 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32433 break 2
32434 fi
32435 done
32436 done
32437 IFS=$as_save_IFS
32438
32439 ;;
32440 esac
32441 fi
32442 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32443 if test -n "$PKG_CONFIG"; then
32444 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32445 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32446 else
32447 { echo "$as_me:$LINENO: result: no" >&5
32448 echo "${ECHO_T}no" >&6; }
32449 fi
32450
32451
32452 fi
32453 if test -z "$ac_cv_path_PKG_CONFIG"; then
32454 ac_pt_PKG_CONFIG=$PKG_CONFIG
32455 # Extract the first word of "pkg-config", so it can be a program name with args.
32456 set dummy pkg-config; ac_word=$2
32457 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32459 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32460 echo $ECHO_N "(cached) $ECHO_C" >&6
32461 else
32462 case $ac_pt_PKG_CONFIG in
32463 [\\/]* | ?:[\\/]*)
32464 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32465 ;;
32466 *)
32467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32468 for as_dir in $PATH
32469 do
32470 IFS=$as_save_IFS
32471 test -z "$as_dir" && as_dir=.
32472 for ac_exec_ext in '' $ac_executable_extensions; do
32473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32474 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32475 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32476 break 2
32477 fi
32478 done
32479 done
32480 IFS=$as_save_IFS
32481
32482 ;;
32483 esac
32484 fi
32485 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32486 if test -n "$ac_pt_PKG_CONFIG"; then
32487 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32488 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32489 else
32490 { echo "$as_me:$LINENO: result: no" >&5
32491 echo "${ECHO_T}no" >&6; }
32492 fi
32493
32494 if test "x$ac_pt_PKG_CONFIG" = x; then
32495 PKG_CONFIG=""
32496 else
32497 case $cross_compiling:$ac_tool_warned in
32498 yes:)
32499 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32500 whose name does not start with the host triplet. If you think this
32501 configuration is useful to you, please write to autoconf@gnu.org." >&5
32502 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32503 whose name does not start with the host triplet. If you think this
32504 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32505 ac_tool_warned=yes ;;
32506 esac
32507 PKG_CONFIG=$ac_pt_PKG_CONFIG
32508 fi
32509 else
32510 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32511 fi
32512
32513 fi
32514 if test -n "$PKG_CONFIG"; then
32515 _pkg_min_version=0.9.0
32516 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32517 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32518 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32519 { echo "$as_me:$LINENO: result: yes" >&5
32520 echo "${ECHO_T}yes" >&6; }
32521 else
32522 { echo "$as_me:$LINENO: result: no" >&5
32523 echo "${ECHO_T}no" >&6; }
32524 PKG_CONFIG=""
32525 fi
32526
32527 fi
32528
32529
32530 pkg_failed=no
32531 { echo "$as_me:$LINENO: checking for PANGOX" >&5
32532 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
32533
32534 if test -n "$PKG_CONFIG"; then
32535 if test -n "$PANGOX_CFLAGS"; then
32536 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
32537 else
32538 if test -n "$PKG_CONFIG" && \
32539 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32540 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32541 ac_status=$?
32542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32543 (exit $ac_status); }; then
32544 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32545 else
32546 pkg_failed=yes
32547 fi
32548 fi
32549 else
32550 pkg_failed=untried
32551 fi
32552 if test -n "$PKG_CONFIG"; then
32553 if test -n "$PANGOX_LIBS"; then
32554 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
32555 else
32556 if test -n "$PKG_CONFIG" && \
32557 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32558 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32559 ac_status=$?
32560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32561 (exit $ac_status); }; then
32562 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32563 else
32564 pkg_failed=yes
32565 fi
32566 fi
32567 else
32568 pkg_failed=untried
32569 fi
32570
32571
32572
32573 if test $pkg_failed = yes; then
32574
32575 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32576 _pkg_short_errors_supported=yes
32577 else
32578 _pkg_short_errors_supported=no
32579 fi
32580 if test $_pkg_short_errors_supported = yes; then
32581 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32582 else
32583 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32584 fi
32585 # Put the nasty error message in config.log where it belongs
32586 echo "$PANGOX_PKG_ERRORS" >&5
32587
32588
32589 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32590 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32591 { (exit 1); exit 1; }; }
32592
32593
32594 elif test $pkg_failed = untried; then
32595
32596 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32597 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32598 { (exit 1); exit 1; }; }
32599
32600
32601 else
32602 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
32603 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
32604 { echo "$as_me:$LINENO: result: yes" >&5
32605 echo "${ECHO_T}yes" >&6; }
32606
32607 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
32608 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
32609 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
32610
32611 fi
32612
32613 pkg_failed=no
32614 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
32615 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
32616
32617 if test -n "$PKG_CONFIG"; then
32618 if test -n "$PANGOFT2_CFLAGS"; then
32619 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
32620 else
32621 if test -n "$PKG_CONFIG" && \
32622 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32623 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32624 ac_status=$?
32625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32626 (exit $ac_status); }; then
32627 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
32628 else
32629 pkg_failed=yes
32630 fi
32631 fi
32632 else
32633 pkg_failed=untried
32634 fi
32635 if test -n "$PKG_CONFIG"; then
32636 if test -n "$PANGOFT2_LIBS"; then
32637 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
32638 else
32639 if test -n "$PKG_CONFIG" && \
32640 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32641 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32642 ac_status=$?
32643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32644 (exit $ac_status); }; then
32645 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
32646 else
32647 pkg_failed=yes
32648 fi
32649 fi
32650 else
32651 pkg_failed=untried
32652 fi
32653
32654
32655
32656 if test $pkg_failed = yes; then
32657
32658 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32659 _pkg_short_errors_supported=yes
32660 else
32661 _pkg_short_errors_supported=no
32662 fi
32663 if test $_pkg_short_errors_supported = yes; then
32664 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
32665 else
32666 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
32667 fi
32668 # Put the nasty error message in config.log where it belongs
32669 echo "$PANGOFT2_PKG_ERRORS" >&5
32670
32671
32672 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32673 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32674 wxUSE_PRINTING_ARCHITECTURE="no"
32675
32676
32677 elif test $pkg_failed = untried; then
32678
32679 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32680 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32681 wxUSE_PRINTING_ARCHITECTURE="no"
32682
32683
32684 else
32685 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
32686 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
32687 { echo "$as_me:$LINENO: result: yes" >&5
32688 echo "${ECHO_T}yes" >&6; }
32689
32690 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
32691 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
32692 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
32693
32694 fi
32695
32696 pkg_failed=no
32697 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
32698 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
32699
32700 if test -n "$PKG_CONFIG"; then
32701 if test -n "$PANGOXFT_CFLAGS"; then
32702 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
32703 else
32704 if test -n "$PKG_CONFIG" && \
32705 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32706 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32707 ac_status=$?
32708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32709 (exit $ac_status); }; then
32710 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
32711 else
32712 pkg_failed=yes
32713 fi
32714 fi
32715 else
32716 pkg_failed=untried
32717 fi
32718 if test -n "$PKG_CONFIG"; then
32719 if test -n "$PANGOXFT_LIBS"; then
32720 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
32721 else
32722 if test -n "$PKG_CONFIG" && \
32723 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32724 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32725 ac_status=$?
32726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32727 (exit $ac_status); }; then
32728 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
32729 else
32730 pkg_failed=yes
32731 fi
32732 fi
32733 else
32734 pkg_failed=untried
32735 fi
32736
32737
32738
32739 if test $pkg_failed = yes; then
32740
32741 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32742 _pkg_short_errors_supported=yes
32743 else
32744 _pkg_short_errors_supported=no
32745 fi
32746 if test $_pkg_short_errors_supported = yes; then
32747 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32748 else
32749 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32750 fi
32751 # Put the nasty error message in config.log where it belongs
32752 echo "$PANGOXFT_PKG_ERRORS" >&5
32753
32754
32755 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32756 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32757
32758
32759 elif test $pkg_failed = untried; then
32760
32761 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32762 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32763
32764
32765 else
32766 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
32767 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
32768 { echo "$as_me:$LINENO: result: yes" >&5
32769 echo "${ECHO_T}yes" >&6; }
32770
32771 cat >>confdefs.h <<\_ACEOF
32772 #define HAVE_PANGO_XFT 1
32773 _ACEOF
32774
32775 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
32776 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
32777 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32778
32779 fi
32780 save_LIBS="$LIBS"
32781 LIBS="$LIBS $PANGOX_LIBS"
32782
32783 for ac_func in pango_font_family_is_monospace
32784 do
32785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32786 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32788 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32789 echo $ECHO_N "(cached) $ECHO_C" >&6
32790 else
32791 cat >conftest.$ac_ext <<_ACEOF
32792 /* confdefs.h. */
32793 _ACEOF
32794 cat confdefs.h >>conftest.$ac_ext
32795 cat >>conftest.$ac_ext <<_ACEOF
32796 /* end confdefs.h. */
32797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32799 #define $ac_func innocuous_$ac_func
32800
32801 /* System header to define __stub macros and hopefully few prototypes,
32802 which can conflict with char $ac_func (); below.
32803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32804 <limits.h> exists even on freestanding compilers. */
32805
32806 #ifdef __STDC__
32807 # include <limits.h>
32808 #else
32809 # include <assert.h>
32810 #endif
32811
32812 #undef $ac_func
32813
32814 /* Override any GCC internal prototype to avoid an error.
32815 Use char because int might match the return type of a GCC
32816 builtin and then its argument prototype would still apply. */
32817 #ifdef __cplusplus
32818 extern "C"
32819 #endif
32820 char $ac_func ();
32821 /* The GNU C library defines this for functions which it implements
32822 to always fail with ENOSYS. Some functions are actually named
32823 something starting with __ and the normal name is an alias. */
32824 #if defined __stub_$ac_func || defined __stub___$ac_func
32825 choke me
32826 #endif
32827
32828 int
32829 main ()
32830 {
32831 return $ac_func ();
32832 ;
32833 return 0;
32834 }
32835 _ACEOF
32836 rm -f conftest.$ac_objext conftest$ac_exeext
32837 if { (ac_try="$ac_link"
32838 case "(($ac_try" in
32839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32840 *) ac_try_echo=$ac_try;;
32841 esac
32842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32843 (eval "$ac_link") 2>conftest.er1
32844 ac_status=$?
32845 grep -v '^ *+' conftest.er1 >conftest.err
32846 rm -f conftest.er1
32847 cat conftest.err >&5
32848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32849 (exit $ac_status); } && {
32850 test -z "$ac_c_werror_flag" ||
32851 test ! -s conftest.err
32852 } && test -s conftest$ac_exeext &&
32853 $as_test_x conftest$ac_exeext; then
32854 eval "$as_ac_var=yes"
32855 else
32856 echo "$as_me: failed program was:" >&5
32857 sed 's/^/| /' conftest.$ac_ext >&5
32858
32859 eval "$as_ac_var=no"
32860 fi
32861
32862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32863 conftest$ac_exeext conftest.$ac_ext
32864 fi
32865 ac_res=`eval echo '${'$as_ac_var'}'`
32866 { echo "$as_me:$LINENO: result: $ac_res" >&5
32867 echo "${ECHO_T}$ac_res" >&6; }
32868 if test `eval echo '${'$as_ac_var'}'` = yes; then
32869 cat >>confdefs.h <<_ACEOF
32870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32871 _ACEOF
32872
32873 fi
32874 done
32875
32876 LIBS="$save_LIBS"
32877 fi
32878
32879 wxUSE_UNIVERSAL="yes"
32880
32881 if test "$wxUSE_NANOX" = "yes"; then
32882 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
32883 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"
32884 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
32885 else
32886 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
32887 fi
32888
32889 TOOLKIT=X11
32890 GUIDIST=X11_DIST
32891 fi
32892
32893 if test "$wxUSE_MOTIF" = 1; then
32894 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
32895 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
32896
32897 ac_find_includes=
32898 for ac_dir in $SEARCH_INCLUDE /usr/include;
32899 do
32900 if test -f "$ac_dir/Xm/Xm.h"; then
32901 ac_find_includes=$ac_dir
32902 break
32903 fi
32904 done
32905
32906 if test "$ac_find_includes" != "" ; then
32907 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32908 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32909
32910 if test "x$ac_find_includes" = "x/usr/include"; then
32911 ac_path_to_include=""
32912 else
32913 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
32914 result=$?
32915 if test $result = 0; then
32916 ac_path_to_include=""
32917 else
32918 ac_path_to_include=" -I$ac_find_includes"
32919 fi
32920 fi
32921
32922 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
32923 else
32924 save_CFLAGS=$CFLAGS
32925 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32926
32927 cat >conftest.$ac_ext <<_ACEOF
32928 /* confdefs.h. */
32929 _ACEOF
32930 cat confdefs.h >>conftest.$ac_ext
32931 cat >>conftest.$ac_ext <<_ACEOF
32932 /* end confdefs.h. */
32933
32934 #include <Xm/Xm.h>
32935
32936 int
32937 main ()
32938 {
32939
32940 int version;
32941 version = xmUseVersion;
32942
32943 ;
32944 return 0;
32945 }
32946 _ACEOF
32947 rm -f conftest.$ac_objext
32948 if { (ac_try="$ac_compile"
32949 case "(($ac_try" in
32950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32951 *) ac_try_echo=$ac_try;;
32952 esac
32953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32954 (eval "$ac_compile") 2>conftest.er1
32955 ac_status=$?
32956 grep -v '^ *+' conftest.er1 >conftest.err
32957 rm -f conftest.er1
32958 cat conftest.err >&5
32959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32960 (exit $ac_status); } && {
32961 test -z "$ac_c_werror_flag" ||
32962 test ! -s conftest.err
32963 } && test -s conftest.$ac_objext; then
32964
32965 { echo "$as_me:$LINENO: result: found in default search path" >&5
32966 echo "${ECHO_T}found in default search path" >&6; }
32967 COMPILED_X_PROGRAM=1
32968
32969 else
32970 echo "$as_me: failed program was:" >&5
32971 sed 's/^/| /' conftest.$ac_ext >&5
32972
32973
32974 { echo "$as_me:$LINENO: result: no" >&5
32975 echo "${ECHO_T}no" >&6; }
32976 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
32977 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
32978 { (exit 1); exit 1; }; }
32979
32980
32981 fi
32982
32983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32984
32985 CFLAGS=$save_CFLAGS
32986 fi
32987
32988
32989 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32990 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
32991
32992 ac_find_libraries=
32993 for ac_dir in $SEARCH_LIB;
32994 do
32995 for ac_extension in a so sl dylib dll.a; do
32996 if test -f "$ac_dir/libXm.$ac_extension"; then
32997 ac_find_libraries=$ac_dir
32998 break 2
32999 fi
33000 done
33001 done
33002
33003
33004 if test "x$ac_find_libraries" != "x" ; then
33005 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33006 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33007
33008
33009 if test "$ac_find_libraries" = "default location"; then
33010 ac_path_to_link=""
33011 else
33012 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33013 result=$?
33014 if test $result = 0; then
33015 ac_path_to_link=""
33016 else
33017 ac_path_to_link=" -L$ac_find_libraries"
33018 fi
33019 fi
33020
33021 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33022 else
33023 save_CFLAGS=$CFLAGS
33024 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33025 save_LIBS="$LIBS"
33026 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33027
33028 cat >conftest.$ac_ext <<_ACEOF
33029 /* confdefs.h. */
33030 _ACEOF
33031 cat confdefs.h >>conftest.$ac_ext
33032 cat >>conftest.$ac_ext <<_ACEOF
33033 /* end confdefs.h. */
33034
33035 #include <Xm/Xm.h>
33036
33037 int
33038 main ()
33039 {
33040
33041 int version;
33042 version = xmUseVersion;
33043
33044 ;
33045 return 0;
33046 }
33047 _ACEOF
33048 rm -f conftest.$ac_objext conftest$ac_exeext
33049 if { (ac_try="$ac_link"
33050 case "(($ac_try" in
33051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33052 *) ac_try_echo=$ac_try;;
33053 esac
33054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33055 (eval "$ac_link") 2>conftest.er1
33056 ac_status=$?
33057 grep -v '^ *+' conftest.er1 >conftest.err
33058 rm -f conftest.er1
33059 cat conftest.err >&5
33060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33061 (exit $ac_status); } && {
33062 test -z "$ac_c_werror_flag" ||
33063 test ! -s conftest.err
33064 } && test -s conftest$ac_exeext &&
33065 $as_test_x conftest$ac_exeext; then
33066
33067 { echo "$as_me:$LINENO: result: found in default search path" >&5
33068 echo "${ECHO_T}found in default search path" >&6; }
33069 COMPILED_X_PROGRAM=1
33070
33071 else
33072 echo "$as_me: failed program was:" >&5
33073 sed 's/^/| /' conftest.$ac_ext >&5
33074
33075
33076 { echo "$as_me:$LINENO: result: no" >&5
33077 echo "${ECHO_T}no" >&6; }
33078 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33079 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33080 { (exit 1); exit 1; }; }
33081
33082
33083 fi
33084
33085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33086 conftest$ac_exeext conftest.$ac_ext
33087
33088 CFLAGS=$save_CFLAGS
33089 LIBS="$save_LIBS"
33090 fi
33091
33092 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33093 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33094 libp_link=""
33095 libsm_ice_link=""
33096 libs_found=0
33097 for libp in "" " -lXp"; do
33098 if test "$libs_found" = 0; then
33099 for libsm_ice in "" " -lSM -lICE"; do
33100 if test "$libs_found" = 0; then
33101 save_LIBS="$LIBS"
33102 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33103 save_CFLAGS=$CFLAGS
33104 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33105
33106 cat >conftest.$ac_ext <<_ACEOF
33107 /* confdefs.h. */
33108 _ACEOF
33109 cat confdefs.h >>conftest.$ac_ext
33110 cat >>conftest.$ac_ext <<_ACEOF
33111 /* end confdefs.h. */
33112
33113 #include <Xm/Xm.h>
33114 #include <Xm/List.h>
33115
33116 int
33117 main ()
33118 {
33119
33120 XmString string = NULL;
33121 Widget w = NULL;
33122 int position = 0;
33123 XmListAddItem(w, string, position);
33124
33125 ;
33126 return 0;
33127 }
33128 _ACEOF
33129 rm -f conftest.$ac_objext conftest$ac_exeext
33130 if { (ac_try="$ac_link"
33131 case "(($ac_try" in
33132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33133 *) ac_try_echo=$ac_try;;
33134 esac
33135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33136 (eval "$ac_link") 2>conftest.er1
33137 ac_status=$?
33138 grep -v '^ *+' conftest.er1 >conftest.err
33139 rm -f conftest.er1
33140 cat conftest.err >&5
33141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33142 (exit $ac_status); } && {
33143 test -z "$ac_c_werror_flag" ||
33144 test ! -s conftest.err
33145 } && test -s conftest$ac_exeext &&
33146 $as_test_x conftest$ac_exeext; then
33147
33148 libp_link="$libp"
33149 libsm_ice_link="$libsm_ice"
33150 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33151 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33152 libs_found=1
33153
33154 else
33155 echo "$as_me: failed program was:" >&5
33156 sed 's/^/| /' conftest.$ac_ext >&5
33157
33158
33159
33160 fi
33161
33162 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33163 conftest$ac_exeext conftest.$ac_ext
33164
33165 LIBS="$save_LIBS"
33166 CFLAGS=$save_CFLAGS
33167 fi
33168 done
33169 fi
33170 done
33171
33172 if test "$libs_found" = 0; then
33173 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33174 echo "${ECHO_T}can't find the right libraries" >&6; }
33175 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33176 echo "$as_me: error: can't link a simple motif program" >&2;}
33177 { (exit 1); exit 1; }; }
33178 fi
33179
33180 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33181 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33182 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33183 echo $ECHO_N "(cached) $ECHO_C" >&6
33184 else
33185 ac_check_lib_save_LIBS=$LIBS
33186 LIBS="-lSgm $LIBS"
33187 cat >conftest.$ac_ext <<_ACEOF
33188 /* confdefs.h. */
33189 _ACEOF
33190 cat confdefs.h >>conftest.$ac_ext
33191 cat >>conftest.$ac_ext <<_ACEOF
33192 /* end confdefs.h. */
33193
33194 /* Override any GCC internal prototype to avoid an error.
33195 Use char because int might match the return type of a GCC
33196 builtin and then its argument prototype would still apply. */
33197 #ifdef __cplusplus
33198 extern "C"
33199 #endif
33200 char SgCreateList ();
33201 int
33202 main ()
33203 {
33204 return SgCreateList ();
33205 ;
33206 return 0;
33207 }
33208 _ACEOF
33209 rm -f conftest.$ac_objext conftest$ac_exeext
33210 if { (ac_try="$ac_link"
33211 case "(($ac_try" in
33212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33213 *) ac_try_echo=$ac_try;;
33214 esac
33215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33216 (eval "$ac_link") 2>conftest.er1
33217 ac_status=$?
33218 grep -v '^ *+' conftest.er1 >conftest.err
33219 rm -f conftest.er1
33220 cat conftest.err >&5
33221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33222 (exit $ac_status); } && {
33223 test -z "$ac_c_werror_flag" ||
33224 test ! -s conftest.err
33225 } && test -s conftest$ac_exeext &&
33226 $as_test_x conftest$ac_exeext; then
33227 ac_cv_lib_Sgm_SgCreateList=yes
33228 else
33229 echo "$as_me: failed program was:" >&5
33230 sed 's/^/| /' conftest.$ac_ext >&5
33231
33232 ac_cv_lib_Sgm_SgCreateList=no
33233 fi
33234
33235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33236 conftest$ac_exeext conftest.$ac_ext
33237 LIBS=$ac_check_lib_save_LIBS
33238 fi
33239 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33240 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33241 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33242 libsgm_link=" -lSgm"
33243 fi
33244
33245
33246 save_CFLAGS=$CFLAGS
33247 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33248
33249 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33250 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33251 if test "${wx_cv_lib_motif2+set}" = set; then
33252 echo $ECHO_N "(cached) $ECHO_C" >&6
33253 else
33254 cat >conftest.$ac_ext <<_ACEOF
33255 /* confdefs.h. */
33256 _ACEOF
33257 cat confdefs.h >>conftest.$ac_ext
33258 cat >>conftest.$ac_ext <<_ACEOF
33259 /* end confdefs.h. */
33260
33261 #include <Xm/Xm.h>
33262
33263 int
33264 main ()
33265 {
33266
33267 #if XmVersion < 2000
33268 Not Motif 2
33269 #endif
33270
33271 ;
33272 return 0;
33273 }
33274 _ACEOF
33275 rm -f conftest.$ac_objext
33276 if { (ac_try="$ac_compile"
33277 case "(($ac_try" in
33278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33279 *) ac_try_echo=$ac_try;;
33280 esac
33281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33282 (eval "$ac_compile") 2>conftest.er1
33283 ac_status=$?
33284 grep -v '^ *+' conftest.er1 >conftest.err
33285 rm -f conftest.er1
33286 cat conftest.err >&5
33287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33288 (exit $ac_status); } && {
33289 test -z "$ac_c_werror_flag" ||
33290 test ! -s conftest.err
33291 } && test -s conftest.$ac_objext; then
33292 wx_cv_lib_motif2="yes"
33293 else
33294 echo "$as_me: failed program was:" >&5
33295 sed 's/^/| /' conftest.$ac_ext >&5
33296
33297 wx_cv_lib_motif2="no"
33298 fi
33299
33300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33301 fi
33302 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33303 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33304 if test "$wx_cv_lib_motif2" = "yes"; then
33305 cat >>confdefs.h <<\_ACEOF
33306 #define __WXMOTIF20__ 1
33307 _ACEOF
33308
33309 else
33310 cat >>confdefs.h <<\_ACEOF
33311 #define __WXMOTIF20__ 0
33312 _ACEOF
33313
33314 fi
33315
33316 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33317 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33318 if test "${wx_cv_lib_lesstif+set}" = set; then
33319 echo $ECHO_N "(cached) $ECHO_C" >&6
33320 else
33321 cat >conftest.$ac_ext <<_ACEOF
33322 /* confdefs.h. */
33323 _ACEOF
33324 cat confdefs.h >>conftest.$ac_ext
33325 cat >>conftest.$ac_ext <<_ACEOF
33326 /* end confdefs.h. */
33327
33328 #include <Xm/Xm.h>
33329
33330 int
33331 main ()
33332 {
33333
33334 #if !defined(LesstifVersion) || LesstifVersion <= 0
33335 Not Lesstif
33336 #endif
33337
33338 ;
33339 return 0;
33340 }
33341 _ACEOF
33342 rm -f conftest.$ac_objext
33343 if { (ac_try="$ac_compile"
33344 case "(($ac_try" in
33345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33346 *) ac_try_echo=$ac_try;;
33347 esac
33348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33349 (eval "$ac_compile") 2>conftest.er1
33350 ac_status=$?
33351 grep -v '^ *+' conftest.er1 >conftest.err
33352 rm -f conftest.er1
33353 cat conftest.err >&5
33354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33355 (exit $ac_status); } && {
33356 test -z "$ac_c_werror_flag" ||
33357 test ! -s conftest.err
33358 } && test -s conftest.$ac_objext; then
33359 wx_cv_lib_lesstif="yes"
33360 else
33361 echo "$as_me: failed program was:" >&5
33362 sed 's/^/| /' conftest.$ac_ext >&5
33363
33364 wx_cv_lib_lesstif="no"
33365 fi
33366
33367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33368
33369 fi
33370 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33371 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33372 if test "$wx_cv_lib_lesstif" = "yes"; then
33373 cat >>confdefs.h <<\_ACEOF
33374 #define __WXLESSTIF__ 1
33375 _ACEOF
33376
33377 else
33378 cat >>confdefs.h <<\_ACEOF
33379 #define __WXLESSTIF__ 0
33380 _ACEOF
33381
33382 fi
33383
33384 CFLAGS=$save_CFLAGS
33385
33386 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33387 TOOLKIT=MOTIF
33388 GUIDIST=MOTIF_DIST
33389 fi
33390
33391 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33392 if test "$wxUSE_LIBXPM" = "sys"; then
33393 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33394 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33395
33396 ac_find_libraries=
33397 for ac_dir in $SEARCH_LIB;
33398 do
33399 for ac_extension in a so sl dylib dll.a; do
33400 if test -f "$ac_dir/libXpm.$ac_extension"; then
33401 ac_find_libraries=$ac_dir
33402 break 2
33403 fi
33404 done
33405 done
33406
33407 if test "$ac_find_libraries" != "" ; then
33408
33409 if test "$ac_find_libraries" = "default location"; then
33410 ac_path_to_link=""
33411 else
33412 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33413 result=$?
33414 if test $result = 0; then
33415 ac_path_to_link=""
33416 else
33417 ac_path_to_link=" -L$ac_find_libraries"
33418 fi
33419 fi
33420
33421 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33422 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33423 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33424
33425 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33426 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33427 if test "${wx_cv_x11_xpm_h+set}" = set; then
33428 echo $ECHO_N "(cached) $ECHO_C" >&6
33429 else
33430
33431 save_CFLAGS=$CFLAGS
33432 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33433
33434 cat >conftest.$ac_ext <<_ACEOF
33435 /* confdefs.h. */
33436 _ACEOF
33437 cat confdefs.h >>conftest.$ac_ext
33438 cat >>conftest.$ac_ext <<_ACEOF
33439 /* end confdefs.h. */
33440
33441 #include <X11/xpm.h>
33442
33443 int
33444 main ()
33445 {
33446
33447 int version;
33448 version = XpmLibraryVersion();
33449
33450 ;
33451 return 0;
33452 }
33453 _ACEOF
33454 rm -f conftest.$ac_objext
33455 if { (ac_try="$ac_compile"
33456 case "(($ac_try" in
33457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33458 *) ac_try_echo=$ac_try;;
33459 esac
33460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33461 (eval "$ac_compile") 2>conftest.er1
33462 ac_status=$?
33463 grep -v '^ *+' conftest.er1 >conftest.err
33464 rm -f conftest.er1
33465 cat conftest.err >&5
33466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33467 (exit $ac_status); } && {
33468 test -z "$ac_c_werror_flag" ||
33469 test ! -s conftest.err
33470 } && test -s conftest.$ac_objext; then
33471 wx_cv_x11_xpm_h=yes
33472 else
33473 echo "$as_me: failed program was:" >&5
33474 sed 's/^/| /' conftest.$ac_ext >&5
33475
33476 wx_cv_x11_xpm_h=no
33477
33478 fi
33479
33480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33481
33482 CFLAGS=$save_CFLAGS
33483
33484
33485 fi
33486 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33487 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33488
33489 if test $wx_cv_x11_xpm_h = "yes"; then
33490 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
33491 cat >>confdefs.h <<\_ACEOF
33492 #define wxHAVE_LIB_XPM 1
33493 _ACEOF
33494
33495 else
33496 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33497 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33498 fi
33499 fi
33500
33501 fi
33502
33503 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33504 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33505 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33506 echo $ECHO_N "(cached) $ECHO_C" >&6
33507 else
33508 ac_check_lib_save_LIBS=$LIBS
33509 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33510 cat >conftest.$ac_ext <<_ACEOF
33511 /* confdefs.h. */
33512 _ACEOF
33513 cat confdefs.h >>conftest.$ac_ext
33514 cat >>conftest.$ac_ext <<_ACEOF
33515 /* end confdefs.h. */
33516
33517 /* Override any GCC internal prototype to avoid an error.
33518 Use char because int might match the return type of a GCC
33519 builtin and then its argument prototype would still apply. */
33520 #ifdef __cplusplus
33521 extern "C"
33522 #endif
33523 char XShapeQueryExtension ();
33524 int
33525 main ()
33526 {
33527 return XShapeQueryExtension ();
33528 ;
33529 return 0;
33530 }
33531 _ACEOF
33532 rm -f conftest.$ac_objext conftest$ac_exeext
33533 if { (ac_try="$ac_link"
33534 case "(($ac_try" in
33535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33536 *) ac_try_echo=$ac_try;;
33537 esac
33538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33539 (eval "$ac_link") 2>conftest.er1
33540 ac_status=$?
33541 grep -v '^ *+' conftest.er1 >conftest.err
33542 rm -f conftest.er1
33543 cat conftest.err >&5
33544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33545 (exit $ac_status); } && {
33546 test -z "$ac_c_werror_flag" ||
33547 test ! -s conftest.err
33548 } && test -s conftest$ac_exeext &&
33549 $as_test_x conftest$ac_exeext; then
33550 ac_cv_lib_Xext_XShapeQueryExtension=yes
33551 else
33552 echo "$as_me: failed program was:" >&5
33553 sed 's/^/| /' conftest.$ac_ext >&5
33554
33555 ac_cv_lib_Xext_XShapeQueryExtension=no
33556 fi
33557
33558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33559 conftest$ac_exeext conftest.$ac_ext
33560 LIBS=$ac_check_lib_save_LIBS
33561 fi
33562 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33563 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
33564 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33565
33566 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
33567 wxHAVE_XEXT_LIB=1
33568
33569 fi
33570
33571
33572 if test "$wxHAVE_XEXT_LIB" = 1; then
33573 save_CFLAGS="$CFLAGS"
33574 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33575
33576 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33577 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
33578 cat >conftest.$ac_ext <<_ACEOF
33579 /* confdefs.h. */
33580 _ACEOF
33581 cat confdefs.h >>conftest.$ac_ext
33582 cat >>conftest.$ac_ext <<_ACEOF
33583 /* end confdefs.h. */
33584
33585 #include <X11/Xlib.h>
33586 #include <X11/extensions/shape.h>
33587
33588 int
33589 main ()
33590 {
33591
33592 int dummy1, dummy2;
33593 XShapeQueryExtension((Display*)NULL,
33594 (int*)NULL, (int*)NULL);
33595
33596 ;
33597 return 0;
33598 }
33599 _ACEOF
33600 rm -f conftest.$ac_objext
33601 if { (ac_try="$ac_compile"
33602 case "(($ac_try" in
33603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33604 *) ac_try_echo=$ac_try;;
33605 esac
33606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33607 (eval "$ac_compile") 2>conftest.er1
33608 ac_status=$?
33609 grep -v '^ *+' conftest.er1 >conftest.err
33610 rm -f conftest.er1
33611 cat conftest.err >&5
33612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33613 (exit $ac_status); } && {
33614 test -z "$ac_c_werror_flag" ||
33615 test ! -s conftest.err
33616 } && test -s conftest.$ac_objext; then
33617
33618 cat >>confdefs.h <<\_ACEOF
33619 #define HAVE_XSHAPE 1
33620 _ACEOF
33621
33622 { echo "$as_me:$LINENO: result: found" >&5
33623 echo "${ECHO_T}found" >&6; }
33624
33625 else
33626 echo "$as_me: failed program was:" >&5
33627 sed 's/^/| /' conftest.$ac_ext >&5
33628
33629
33630 { echo "$as_me:$LINENO: result: not found" >&5
33631 echo "${ECHO_T}not found" >&6; }
33632
33633 fi
33634
33635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33636 CFLAGS="$save_CFLAGS"
33637
33638 fi
33639 fi
33640
33641 if test "$wxUSE_OSX_CARBON" = 1; then
33642 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
33643 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
33644 if test "$GCC" = yes; then
33645 { echo "$as_me:$LINENO: result: gcc" >&5
33646 echo "${ECHO_T}gcc" >&6; }
33647 CPPFLAGS_PASCAL="-fpascal-strings"
33648 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
33649 { echo "$as_me:$LINENO: result: xlc" >&5
33650 echo "${ECHO_T}xlc" >&6; }
33651 CPPFLAGS_PASCAL="-qmacpstr"
33652 else
33653 { echo "$as_me:$LINENO: result: none" >&5
33654 echo "${ECHO_T}none" >&6; }
33655 fi
33656
33657 if test "x$wxUSE_UNIX" = "xyes"; then
33658 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
33659 else
33660 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
33661 fi
33662
33663 TOOLKIT=OSX_CARBON
33664 GUIDIST=OSX_CARBON_DIST
33665 WXBASEPORT="_carbon"
33666
33667 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33668 fi
33669
33670 if test "$wxUSE_OSX_COCOA" = 1; then
33671 TOOLKIT=OSX_COCOA
33672 GUIDIST=OSX_COCOA_DIST
33673
33674 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33675 fi
33676
33677 if test "$wxUSE_OSX_IPHONE" = 1; then
33678 TOOLKIT=OSX_IPHONE
33679 fi
33680
33681 if test "$wxUSE_OLD_COCOA" = 1; then
33682 TOOLKIT=COCOA
33683 GUIDIST=COCOA_DIST
33684 fi
33685
33686 if test "$wxUSE_PM" = 1; then
33687 TOOLKIT=PM
33688 GUIDIST=PM_DIST
33689 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
33690 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
33691 if test "${wx_cv_spbcdata+set}" = set; then
33692 echo $ECHO_N "(cached) $ECHO_C" >&6
33693 else
33694
33695 cat >conftest.$ac_ext <<_ACEOF
33696 /* confdefs.h. */
33697 _ACEOF
33698 cat confdefs.h >>conftest.$ac_ext
33699 cat >>conftest.$ac_ext <<_ACEOF
33700 /* end confdefs.h. */
33701
33702 #define INCL_PM
33703 #include <os2.h>
33704
33705 int
33706 main ()
33707 {
33708
33709 SPBCDATA test;
33710
33711 ;
33712 return 0;
33713 }
33714 _ACEOF
33715 rm -f conftest.$ac_objext
33716 if { (ac_try="$ac_compile"
33717 case "(($ac_try" in
33718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33719 *) ac_try_echo=$ac_try;;
33720 esac
33721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33722 (eval "$ac_compile") 2>conftest.er1
33723 ac_status=$?
33724 grep -v '^ *+' conftest.er1 >conftest.err
33725 rm -f conftest.er1
33726 cat conftest.err >&5
33727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33728 (exit $ac_status); } && {
33729 test -z "$ac_c_werror_flag" ||
33730 test ! -s conftest.err
33731 } && test -s conftest.$ac_objext; then
33732 wx_cv_spbcdata=yes
33733 else
33734 echo "$as_me: failed program was:" >&5
33735 sed 's/^/| /' conftest.$ac_ext >&5
33736
33737 wx_cv_spbcdata=no
33738
33739 fi
33740
33741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33742
33743
33744 fi
33745 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33746 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
33747
33748 if test $wx_cv_spbcdata = "yes"; then
33749 cat >>confdefs.h <<\_ACEOF
33750 #define HAVE_SPBCDATA 1
33751 _ACEOF
33752
33753 fi
33754 fi
33755
33756 if test "$TOOLKIT" = "PM" ; then
33757 TOOLKIT_DIR="os2"
33758 else
33759 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
33760 fi
33761
33762 if test "$wxUSE_UNIVERSAL" = "yes"; then
33763 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33764 WIDGET_SET=univ
33765 fi
33766
33767 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33768 DISTDIR="wx\$(TOOLKIT)"
33769 else
33770 USE_GUI=0
33771
33772 TOOLKIT_DIR="base"
33773
33774 if test "$USE_WIN32" = 1 ; then
33775 TOOLKIT="MSW"
33776 fi
33777
33778 GUIDIST="BASE_DIST"
33779 DISTDIR="wxBase"
33780 fi
33781
33782
33783
33784 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
33785 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
33786 wxUSE_UNICODE_UTF8=yes
33787 elif test "$USE_OS2" = 1 ; then
33788 wxUSE_UNICODE_UTF8=yes
33789 else
33790 wxUSE_UNICODE_UTF8=no
33791 fi
33792 fi
33793
33794
33795 if test "$wxUSE_GUI" = "yes"; then
33796 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33797
33798 for ac_header in X11/Xlib.h
33799 do
33800 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33801 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33802 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33803 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33804 echo $ECHO_N "(cached) $ECHO_C" >&6
33805 else
33806 cat >conftest.$ac_ext <<_ACEOF
33807 /* confdefs.h. */
33808 _ACEOF
33809 cat confdefs.h >>conftest.$ac_ext
33810 cat >>conftest.$ac_ext <<_ACEOF
33811 /* end confdefs.h. */
33812
33813
33814 #include <$ac_header>
33815 _ACEOF
33816 rm -f conftest.$ac_objext
33817 if { (ac_try="$ac_compile"
33818 case "(($ac_try" in
33819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33820 *) ac_try_echo=$ac_try;;
33821 esac
33822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33823 (eval "$ac_compile") 2>conftest.er1
33824 ac_status=$?
33825 grep -v '^ *+' conftest.er1 >conftest.err
33826 rm -f conftest.er1
33827 cat conftest.err >&5
33828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33829 (exit $ac_status); } && {
33830 test -z "$ac_c_werror_flag" ||
33831 test ! -s conftest.err
33832 } && test -s conftest.$ac_objext; then
33833 eval "$as_ac_Header=yes"
33834 else
33835 echo "$as_me: failed program was:" >&5
33836 sed 's/^/| /' conftest.$ac_ext >&5
33837
33838 eval "$as_ac_Header=no"
33839 fi
33840
33841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33842 fi
33843 ac_res=`eval echo '${'$as_ac_Header'}'`
33844 { echo "$as_me:$LINENO: result: $ac_res" >&5
33845 echo "${ECHO_T}$ac_res" >&6; }
33846 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33847 cat >>confdefs.h <<_ACEOF
33848 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33849 _ACEOF
33850
33851 fi
33852
33853 done
33854
33855
33856 for ac_header in X11/XKBlib.h
33857 do
33858 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33859 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33860 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33861 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33862 echo $ECHO_N "(cached) $ECHO_C" >&6
33863 else
33864 cat >conftest.$ac_ext <<_ACEOF
33865 /* confdefs.h. */
33866 _ACEOF
33867 cat confdefs.h >>conftest.$ac_ext
33868 cat >>conftest.$ac_ext <<_ACEOF
33869 /* end confdefs.h. */
33870
33871 #if HAVE_X11_XLIB_H
33872 #include <X11/Xlib.h>
33873 #endif
33874
33875
33876 #include <$ac_header>
33877 _ACEOF
33878 rm -f conftest.$ac_objext
33879 if { (ac_try="$ac_compile"
33880 case "(($ac_try" in
33881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33882 *) ac_try_echo=$ac_try;;
33883 esac
33884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33885 (eval "$ac_compile") 2>conftest.er1
33886 ac_status=$?
33887 grep -v '^ *+' conftest.er1 >conftest.err
33888 rm -f conftest.er1
33889 cat conftest.err >&5
33890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33891 (exit $ac_status); } && {
33892 test -z "$ac_c_werror_flag" ||
33893 test ! -s conftest.err
33894 } && test -s conftest.$ac_objext; then
33895 eval "$as_ac_Header=yes"
33896 else
33897 echo "$as_me: failed program was:" >&5
33898 sed 's/^/| /' conftest.$ac_ext >&5
33899
33900 eval "$as_ac_Header=no"
33901 fi
33902
33903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33904 fi
33905 ac_res=`eval echo '${'$as_ac_Header'}'`
33906 { echo "$as_me:$LINENO: result: $ac_res" >&5
33907 echo "${ECHO_T}$ac_res" >&6; }
33908 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33909 cat >>confdefs.h <<_ACEOF
33910 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33911 _ACEOF
33912
33913 fi
33914
33915 done
33916
33917 fi
33918 fi
33919
33920
33921
33922 USE_XINERAMA=0
33923 if test "$wxUSE_DISPLAY" = "yes"; then
33924 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
33925 { echo "$as_me:$LINENO: checking for Xinerama" >&5
33926 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
33927
33928 ac_find_libraries=
33929 for ac_dir in $SEARCH_LIB;
33930 do
33931 for ac_extension in a so sl dylib dll.a; do
33932 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33933 ac_find_libraries=$ac_dir
33934 break 2
33935 fi
33936 done
33937 done
33938
33939 if test "$ac_find_libraries" != "" ; then
33940
33941 if test "$ac_find_libraries" = "default location"; then
33942 ac_path_to_link=""
33943 else
33944 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33945 result=$?
33946 if test $result = 0; then
33947 ac_path_to_link=""
33948 else
33949 ac_path_to_link=" -L$ac_find_libraries"
33950 fi
33951 fi
33952
33953 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33954 LDFLAGS="$LDFLAGS $ac_path_to_link"
33955 fi
33956 USE_XINERAMA=1
33957 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
33958 { echo "$as_me:$LINENO: result: yes" >&5
33959 echo "${ECHO_T}yes" >&6; }
33960 else
33961 { echo "$as_me:$LINENO: result: no" >&5
33962 echo "${ECHO_T}no" >&6; }
33963 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33964 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33965 wxUSE_DISPLAY="no"
33966 fi
33967 elif test "$wxUSE_MSW" = 1; then
33968 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33969 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33970 if test "${ac_cv_header_ddraw_h+set}" = set; then
33971 echo $ECHO_N "(cached) $ECHO_C" >&6
33972 else
33973 cat >conftest.$ac_ext <<_ACEOF
33974 /* confdefs.h. */
33975 _ACEOF
33976 cat confdefs.h >>conftest.$ac_ext
33977 cat >>conftest.$ac_ext <<_ACEOF
33978 /* end confdefs.h. */
33979 #include <windows.h>
33980
33981 #include <ddraw.h>
33982 _ACEOF
33983 rm -f conftest.$ac_objext
33984 if { (ac_try="$ac_compile"
33985 case "(($ac_try" in
33986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33987 *) ac_try_echo=$ac_try;;
33988 esac
33989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33990 (eval "$ac_compile") 2>conftest.er1
33991 ac_status=$?
33992 grep -v '^ *+' conftest.er1 >conftest.err
33993 rm -f conftest.er1
33994 cat conftest.err >&5
33995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33996 (exit $ac_status); } && {
33997 test -z "$ac_c_werror_flag" ||
33998 test ! -s conftest.err
33999 } && test -s conftest.$ac_objext; then
34000 ac_cv_header_ddraw_h=yes
34001 else
34002 echo "$as_me: failed program was:" >&5
34003 sed 's/^/| /' conftest.$ac_ext >&5
34004
34005 ac_cv_header_ddraw_h=no
34006 fi
34007
34008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34009 fi
34010 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34011 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34012
34013
34014 fi
34015 fi
34016
34017 if test "$wxUSE_DISPLAY" = "yes"; then
34018 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34019 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34020 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
34021
34022 ac_find_libraries=
34023 for ac_dir in $SEARCH_LIB;
34024 do
34025 for ac_extension in a so sl dylib dll.a; do
34026 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34027 ac_find_libraries=$ac_dir
34028 break 2
34029 fi
34030 done
34031 done
34032
34033 if test "$ac_find_libraries" != "" ; then
34034 { echo "$as_me:$LINENO: result: yes" >&5
34035 echo "${ECHO_T}yes" >&6; }
34036
34037 for ac_header in X11/extensions/xf86vmode.h
34038 do
34039 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34040 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34041 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34042 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34043 echo $ECHO_N "(cached) $ECHO_C" >&6
34044 else
34045 cat >conftest.$ac_ext <<_ACEOF
34046 /* confdefs.h. */
34047 _ACEOF
34048 cat confdefs.h >>conftest.$ac_ext
34049 cat >>conftest.$ac_ext <<_ACEOF
34050 /* end confdefs.h. */
34051
34052 #if HAVE_X11_XLIB_H
34053 #include <X11/Xlib.h>
34054 #endif
34055
34056
34057 #include <$ac_header>
34058 _ACEOF
34059 rm -f conftest.$ac_objext
34060 if { (ac_try="$ac_compile"
34061 case "(($ac_try" in
34062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34063 *) ac_try_echo=$ac_try;;
34064 esac
34065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34066 (eval "$ac_compile") 2>conftest.er1
34067 ac_status=$?
34068 grep -v '^ *+' conftest.er1 >conftest.err
34069 rm -f conftest.er1
34070 cat conftest.err >&5
34071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34072 (exit $ac_status); } && {
34073 test -z "$ac_c_werror_flag" ||
34074 test ! -s conftest.err
34075 } && test -s conftest.$ac_objext; then
34076 eval "$as_ac_Header=yes"
34077 else
34078 echo "$as_me: failed program was:" >&5
34079 sed 's/^/| /' conftest.$ac_ext >&5
34080
34081 eval "$as_ac_Header=no"
34082 fi
34083
34084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34085 fi
34086 ac_res=`eval echo '${'$as_ac_Header'}'`
34087 { echo "$as_me:$LINENO: result: $ac_res" >&5
34088 echo "${ECHO_T}$ac_res" >&6; }
34089 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34090 cat >>confdefs.h <<_ACEOF
34091 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34092 _ACEOF
34093
34094 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34095
34096 fi
34097
34098 done
34099
34100 else
34101 { echo "$as_me:$LINENO: result: no" >&5
34102 echo "${ECHO_T}no" >&6; }
34103 fi
34104 fi
34105 fi
34106
34107 if test "$wxUSE_DETECT_SM" = "yes"; then
34108 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
34109 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34110 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34111
34112 ac_find_libraries=
34113 for ac_dir in $SEARCH_LIB;
34114 do
34115 for ac_extension in a so sl dylib dll.a; do
34116 if test -f "$ac_dir/libSM.$ac_extension"; then
34117 ac_find_libraries=$ac_dir
34118 break 2
34119 fi
34120 done
34121 done
34122
34123 if test "$ac_find_libraries" != "" ; then
34124
34125 if test "$ac_find_libraries" = "default location"; then
34126 ac_path_to_link=""
34127 else
34128 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34129 result=$?
34130 if test $result = 0; then
34131 ac_path_to_link=""
34132 else
34133 ac_path_to_link=" -L$ac_find_libraries"
34134 fi
34135 fi
34136
34137 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34138 LDFLAGS="$LDFLAGS $ac_path_to_link"
34139 fi
34140 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34141 { echo "$as_me:$LINENO: result: yes" >&5
34142 echo "${ECHO_T}yes" >&6; }
34143 else
34144 { echo "$as_me:$LINENO: result: no" >&5
34145 echo "${ECHO_T}no" >&6; }
34146 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34147 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34148 wxUSE_DETECT_SM="no"
34149 fi
34150 else
34151 wxUSE_DETECT_SM="no"
34152 fi
34153 fi
34154
34155
34156
34157 USE_OPENGL=0
34158 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
34159
34160
34161 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34162 OPENGL_LIBS="-framework OpenGL -framework AGL"
34163 elif test "$wxUSE_MSW" = 1; then
34164 OPENGL_LIBS="-lopengl32 -lglu32"
34165 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
34166
34167 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34168 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34169
34170 ac_find_includes=
34171 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
34172 do
34173 if test -f "$ac_dir/GL/gl.h"; then
34174 ac_find_includes=$ac_dir
34175 break
34176 fi
34177 done
34178
34179 if test "$ac_find_includes" != "" ; then
34180 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34181 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34182
34183 if test "x$ac_find_includes" = "x/usr/include"; then
34184 ac_path_to_include=""
34185 else
34186 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34187 result=$?
34188 if test $result = 0; then
34189 ac_path_to_include=""
34190 else
34191 ac_path_to_include=" -I$ac_find_includes"
34192 fi
34193 fi
34194
34195 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34196 else
34197 { echo "$as_me:$LINENO: result: not found" >&5
34198 echo "${ECHO_T}not found" >&6; }
34199 fi
34200
34201 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34202 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34203 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34204 echo $ECHO_N "(cached) $ECHO_C" >&6
34205 else
34206 cat >conftest.$ac_ext <<_ACEOF
34207 /* confdefs.h. */
34208 _ACEOF
34209 cat confdefs.h >>conftest.$ac_ext
34210 cat >>conftest.$ac_ext <<_ACEOF
34211 /* end confdefs.h. */
34212
34213
34214 #include <GL/gl.h>
34215 _ACEOF
34216 rm -f conftest.$ac_objext
34217 if { (ac_try="$ac_compile"
34218 case "(($ac_try" in
34219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34220 *) ac_try_echo=$ac_try;;
34221 esac
34222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34223 (eval "$ac_compile") 2>conftest.er1
34224 ac_status=$?
34225 grep -v '^ *+' conftest.er1 >conftest.err
34226 rm -f conftest.er1
34227 cat conftest.err >&5
34228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34229 (exit $ac_status); } && {
34230 test -z "$ac_c_werror_flag" ||
34231 test ! -s conftest.err
34232 } && test -s conftest.$ac_objext; then
34233 ac_cv_header_GL_gl_h=yes
34234 else
34235 echo "$as_me: failed program was:" >&5
34236 sed 's/^/| /' conftest.$ac_ext >&5
34237
34238 ac_cv_header_GL_gl_h=no
34239 fi
34240
34241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34242 fi
34243 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34244 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34245 if test $ac_cv_header_GL_gl_h = yes; then
34246
34247 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34248 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34249 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34250 echo $ECHO_N "(cached) $ECHO_C" >&6
34251 else
34252 cat >conftest.$ac_ext <<_ACEOF
34253 /* confdefs.h. */
34254 _ACEOF
34255 cat confdefs.h >>conftest.$ac_ext
34256 cat >>conftest.$ac_ext <<_ACEOF
34257 /* end confdefs.h. */
34258
34259
34260 #include <GL/glu.h>
34261 _ACEOF
34262 rm -f conftest.$ac_objext
34263 if { (ac_try="$ac_compile"
34264 case "(($ac_try" in
34265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34266 *) ac_try_echo=$ac_try;;
34267 esac
34268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34269 (eval "$ac_compile") 2>conftest.er1
34270 ac_status=$?
34271 grep -v '^ *+' conftest.er1 >conftest.err
34272 rm -f conftest.er1
34273 cat conftest.err >&5
34274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34275 (exit $ac_status); } && {
34276 test -z "$ac_c_werror_flag" ||
34277 test ! -s conftest.err
34278 } && test -s conftest.$ac_objext; then
34279 ac_cv_header_GL_glu_h=yes
34280 else
34281 echo "$as_me: failed program was:" >&5
34282 sed 's/^/| /' conftest.$ac_ext >&5
34283
34284 ac_cv_header_GL_glu_h=no
34285 fi
34286
34287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34288 fi
34289 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34290 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34291 if test $ac_cv_header_GL_glu_h = yes; then
34292
34293 found_gl=0
34294
34295 { echo "$as_me:$LINENO: checking for -lGL" >&5
34296 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
34297
34298 ac_find_libraries=
34299 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
34300 do
34301 for ac_extension in a so sl dylib dll.a; do
34302 if test -f "$ac_dir/libGL.$ac_extension"; then
34303 ac_find_libraries=$ac_dir
34304 break 2
34305 fi
34306 done
34307 done
34308
34309 if test "$ac_find_libraries" != "" ; then
34310 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34311 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34312
34313
34314 if test "$ac_find_libraries" = "default location"; then
34315 ac_path_to_link=""
34316 else
34317 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34318 result=$?
34319 if test $result = 0; then
34320 ac_path_to_link=""
34321 else
34322 ac_path_to_link=" -L$ac_find_libraries"
34323 fi
34324 fi
34325
34326 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34327 LDFLAGS_GL="$ac_path_to_link"
34328 fi
34329
34330 { echo "$as_me:$LINENO: checking for -lGLU" >&5
34331 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
34332
34333 ac_find_libraries=
34334 for ac_dir in $SEARCH_LIB;
34335 do
34336 for ac_extension in a so sl dylib dll.a; do
34337 if test -f "$ac_dir/libGLU.$ac_extension"; then
34338 ac_find_libraries=$ac_dir
34339 break 2
34340 fi
34341 done
34342 done
34343
34344 if test "$ac_find_libraries" != "" ; then
34345
34346 if test "$ac_find_libraries" = "default location"; then
34347 ac_path_to_link=""
34348 else
34349 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34350 result=$?
34351 if test $result = 0; then
34352 ac_path_to_link=""
34353 else
34354 ac_path_to_link=" -L$ac_find_libraries"
34355 fi
34356 fi
34357
34358 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34359 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34360 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34361 fi
34362
34363 found_gl=1
34364 OPENGL_LIBS="-lGL -lGLU"
34365 { echo "$as_me:$LINENO: result: yes" >&5
34366 echo "${ECHO_T}yes" >&6; }
34367 else
34368 { echo "$as_me:$LINENO: result: no" >&5
34369 echo "${ECHO_T}no" >&6; }
34370 fi
34371 else
34372 { echo "$as_me:$LINENO: result: no" >&5
34373 echo "${ECHO_T}no" >&6; }
34374 fi
34375
34376 if test "$found_gl" != 1; then
34377 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34378 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
34379
34380 ac_find_libraries=
34381 for ac_dir in $SEARCH_LIB;
34382 do
34383 for ac_extension in a so sl dylib dll.a; do
34384 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34385 ac_find_libraries=$ac_dir
34386 break 2
34387 fi
34388 done
34389 done
34390
34391 if test "$ac_find_libraries" != "" ; then
34392
34393 if test "$ac_find_libraries" = "default location"; then
34394 ac_path_to_link=""
34395 else
34396 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34397 result=$?
34398 if test $result = 0; then
34399 ac_path_to_link=""
34400 else
34401 ac_path_to_link=" -L$ac_find_libraries"
34402 fi
34403 fi
34404
34405 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34406 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34407 { echo "$as_me:$LINENO: result: yes" >&5
34408 echo "${ECHO_T}yes" >&6; }
34409 else
34410 { echo "$as_me:$LINENO: result: no" >&5
34411 echo "${ECHO_T}no" >&6; }
34412 fi
34413 fi
34414
34415 fi
34416
34417
34418
34419 fi
34420
34421
34422
34423 if test "x$OPENGL_LIBS" = "x"; then
34424 if test "$wxUSE_OPENGL" = "yes"; then
34425 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34426 echo "$as_me: error: OpenGL libraries not available" >&2;}
34427 { (exit 1); exit 1; }; }
34428 else
34429 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
34430 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
34431 wxUSE_OPENGL=no
34432 USE_OPENGL=0
34433 fi
34434 fi
34435 else
34436 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34437 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34438 wxUSE_OPENGL="no"
34439 fi
34440
34441 if test "$wxUSE_OPENGL" = "auto"; then
34442 wxUSE_OPENGL=yes
34443 fi
34444
34445 if test "$wxUSE_OPENGL" = "yes"; then
34446 USE_OPENGL=1
34447 cat >>confdefs.h <<\_ACEOF
34448 #define wxUSE_OPENGL 1
34449 _ACEOF
34450
34451 cat >>confdefs.h <<\_ACEOF
34452 #define wxUSE_GLCANVAS 1
34453 _ACEOF
34454
34455 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34456 fi
34457 fi
34458
34459
34460 if test -n "$TOOLKIT" ; then
34461 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34462 fi
34463
34464
34465
34466 if test "$wxUSE_SHARED" = "yes"; then
34467 case "${host}" in
34468 *-pc-msdosdjgpp )
34469 wxUSE_SHARED=no
34470 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34471 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34472 ;;
34473 esac
34474 fi
34475
34476 if test "$wxUSE_SHARED" = "yes"; then
34477
34478
34479 case "${host}" in
34480 *-*-cygwin* | *-*-mingw* )
34481 wx_cv_version_script=no
34482 ;;
34483
34484 *)
34485 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34486 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34487 if test "${wx_cv_version_script+set}" = set; then
34488 echo $ECHO_N "(cached) $ECHO_C" >&6
34489 else
34490
34491 echo "VER_1 { *; };" >conftest.sym
34492 echo "int main() { return 0; }" >conftest.cpp
34493
34494 if { ac_try='
34495 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34496 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34498 (eval $ac_try) 2>&5
34499 ac_status=$?
34500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34501 (exit $ac_status); }; } ; then
34502 if test -s conftest.stderr ; then
34503 wx_cv_version_script=no
34504 else
34505 wx_cv_version_script=yes
34506 fi
34507 else
34508 wx_cv_version_script=no
34509 fi
34510
34511 if test $wx_cv_version_script = yes
34512 then
34513 echo "struct B { virtual ~B() { } }; \
34514 struct D : public B { }; \
34515 void F() { D d; }" > conftest.cpp
34516
34517 if { ac_try='
34518 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34519 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34521 (eval $ac_try) 2>&5
34522 ac_status=$?
34523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34524 (exit $ac_status); }; } &&
34525 { ac_try='
34526 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34527 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34529 (eval $ac_try) 2>&5
34530 ac_status=$?
34531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34532 (exit $ac_status); }; }
34533 then
34534 if { ac_try='
34535 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34536 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34538 (eval $ac_try) 2>&5
34539 ac_status=$?
34540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34541 (exit $ac_status); }; }
34542 then
34543 wx_cv_version_script=yes
34544 else
34545 wx_cv_version_script=no
34546 fi
34547 fi
34548 fi
34549
34550 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34551 rm -f conftest1.output conftest2.output conftest3.output
34552
34553 fi
34554 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34555 echo "${ECHO_T}$wx_cv_version_script" >&6; }
34556
34557 if test $wx_cv_version_script = yes ; then
34558 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34559 fi
34560 ;;
34561 esac
34562
34563
34564 if test "$wxUSE_VISIBILITY" != "no"; then
34565
34566
34567 if test -n "$GCC"; then
34568 CFLAGS_VISIBILITY="-fvisibility=hidden"
34569 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
34570 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
34571 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
34572 if test "${wx_cv_cc_visibility+set}" = set; then
34573 echo $ECHO_N "(cached) $ECHO_C" >&6
34574 else
34575
34576 wx_save_CXXFLAGS="$CXXFLAGS"
34577 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34578 ac_ext=cpp
34579 ac_cpp='$CXXCPP $CPPFLAGS'
34580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34583
34584 cat >conftest.$ac_ext <<_ACEOF
34585 /* confdefs.h. */
34586 _ACEOF
34587 cat confdefs.h >>conftest.$ac_ext
34588 cat >>conftest.$ac_ext <<_ACEOF
34589 /* end confdefs.h. */
34590
34591 /* we need gcc >= 4.0, older versions with visibility support
34592 didn't have class visibility: */
34593 #if defined(__GNUC__) && __GNUC__ < 4
34594 error this gcc is too old;
34595 #endif
34596
34597 /* visibility only makes sense for ELF shared libs: */
34598 #if !defined(__ELF__) && !defined(__APPLE__)
34599 error this platform has no visibility;
34600 #endif
34601
34602 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
34603 extern __attribute__((__visibility__("default"))) int exportedvar;
34604 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
34605 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
34606 class __attribute__((__visibility__("default"))) Foo {
34607 Foo() {}
34608 };
34609
34610 int
34611 main ()
34612 {
34613
34614 ;
34615 return 0;
34616 }
34617 _ACEOF
34618 rm -f conftest.$ac_objext
34619 if { (ac_try="$ac_compile"
34620 case "(($ac_try" in
34621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34622 *) ac_try_echo=$ac_try;;
34623 esac
34624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34625 (eval "$ac_compile") 2>conftest.er1
34626 ac_status=$?
34627 grep -v '^ *+' conftest.er1 >conftest.err
34628 rm -f conftest.er1
34629 cat conftest.err >&5
34630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34631 (exit $ac_status); } && {
34632 test -z "$ac_cxx_werror_flag" ||
34633 test ! -s conftest.err
34634 } && test -s conftest.$ac_objext; then
34635 wx_cv_cc_visibility=yes
34636 else
34637 echo "$as_me: failed program was:" >&5
34638 sed 's/^/| /' conftest.$ac_ext >&5
34639
34640 wx_cv_cc_visibility=no
34641 fi
34642
34643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34644 ac_ext=c
34645 ac_cpp='$CPP $CPPFLAGS'
34646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34649
34650 CXXFLAGS="$wx_save_CXXFLAGS"
34651 fi
34652
34653 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
34654 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
34655 if test $wx_cv_cc_visibility = yes; then
34656 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
34657 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
34658 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
34659 echo $ECHO_N "(cached) $ECHO_C" >&6
34660 else
34661
34662 wx_save_CXXFLAGS="$CXXFLAGS"
34663 wx_save_LDFLAGS="$LDFLAGS"
34664 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34665 LDFLAGS="$LDFLAGS -shared -fPIC"
34666 ac_ext=cpp
34667 ac_cpp='$CXXCPP $CPPFLAGS'
34668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34671
34672 cat >conftest.$ac_ext <<_ACEOF
34673 /* confdefs.h. */
34674 _ACEOF
34675 cat confdefs.h >>conftest.$ac_ext
34676 cat >>conftest.$ac_ext <<_ACEOF
34677 /* end confdefs.h. */
34678
34679 #include <string>
34680
34681 int
34682 main ()
34683 {
34684
34685 std::string s("hello");
34686 return s.length();
34687
34688 ;
34689 return 0;
34690 }
34691 _ACEOF
34692 rm -f conftest.$ac_objext conftest$ac_exeext
34693 if { (ac_try="$ac_link"
34694 case "(($ac_try" in
34695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34696 *) ac_try_echo=$ac_try;;
34697 esac
34698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34699 (eval "$ac_link") 2>conftest.er1
34700 ac_status=$?
34701 grep -v '^ *+' conftest.er1 >conftest.err
34702 rm -f conftest.er1
34703 cat conftest.err >&5
34704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34705 (exit $ac_status); } && {
34706 test -z "$ac_cxx_werror_flag" ||
34707 test ! -s conftest.err
34708 } && test -s conftest$ac_exeext &&
34709 $as_test_x conftest$ac_exeext; then
34710 wx_cv_cc_broken_libstdcxx_visibility=no
34711 else
34712 echo "$as_me: failed program was:" >&5
34713 sed 's/^/| /' conftest.$ac_ext >&5
34714
34715 wx_cv_cc_broken_libstdcxx_visibility=yes
34716 fi
34717
34718 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34719 conftest$ac_exeext conftest.$ac_ext
34720 ac_ext=c
34721 ac_cpp='$CPP $CPPFLAGS'
34722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34725
34726 CXXFLAGS="$wx_save_CXXFLAGS"
34727 LDFLAGS="$wx_save_LDFLAGS"
34728 fi
34729
34730 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
34731 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
34732
34733 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34734 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
34735 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
34736 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
34737 echo $ECHO_N "(cached) $ECHO_C" >&6
34738 else
34739
34740 ac_ext=cpp
34741 ac_cpp='$CXXCPP $CPPFLAGS'
34742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34745
34746 cat >conftest.$ac_ext <<_ACEOF
34747 /* confdefs.h. */
34748 _ACEOF
34749 cat confdefs.h >>conftest.$ac_ext
34750 cat >>conftest.$ac_ext <<_ACEOF
34751 /* end confdefs.h. */
34752
34753 #pragma GCC visibility push(default)
34754 #include <string>
34755 #pragma GCC visibility pop
34756
34757 int
34758 main ()
34759 {
34760
34761 std::string s("hello");
34762 return s.length();
34763
34764 ;
34765 return 0;
34766 }
34767 _ACEOF
34768 rm -f conftest.$ac_objext conftest$ac_exeext
34769 if { (ac_try="$ac_link"
34770 case "(($ac_try" in
34771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34772 *) ac_try_echo=$ac_try;;
34773 esac
34774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34775 (eval "$ac_link") 2>conftest.er1
34776 ac_status=$?
34777 grep -v '^ *+' conftest.er1 >conftest.err
34778 rm -f conftest.er1
34779 cat conftest.err >&5
34780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34781 (exit $ac_status); } && {
34782 test -z "$ac_cxx_werror_flag" ||
34783 test ! -s conftest.err
34784 } && test -s conftest$ac_exeext &&
34785 $as_test_x conftest$ac_exeext; then
34786 wx_cv_cc_visibility_workaround=no
34787 else
34788 echo "$as_me: failed program was:" >&5
34789 sed 's/^/| /' conftest.$ac_ext >&5
34790
34791 wx_cv_cc_visibility_workaround=yes
34792 fi
34793
34794 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34795 conftest$ac_exeext conftest.$ac_ext
34796 ac_ext=c
34797 ac_cpp='$CPP $CPPFLAGS'
34798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34801
34802
34803 fi
34804
34805 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
34806 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
34807
34808 if test $wx_cv_cc_visibility_workaround = no; then
34809 wx_cv_cc_visibility=no
34810 fi
34811 fi
34812 fi
34813
34814 if test $wx_cv_cc_visibility = yes; then
34815 cat >>confdefs.h <<\_ACEOF
34816 #define HAVE_VISIBILITY 1
34817 _ACEOF
34818
34819 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34820 cat >>confdefs.h <<\_ACEOF
34821 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
34822 _ACEOF
34823
34824 fi
34825 else
34826 CFLAGS_VISIBILITY=""
34827 CXXFLAGS_VISIBILITY=""
34828 fi
34829
34830
34831 fi
34832
34833 fi
34834
34835 if test "x$SUNCXX" = xyes; then
34836 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
34837 WXCONFIG_RPATH="-R\$libdir"
34838 else
34839 case "${host}" in
34840 *-*-linux* | *-*-gnu* )
34841 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34842 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34843 ;;
34844
34845 *-*-solaris2* )
34846
34847 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
34848
34849 saveLdflags="$LDFLAGS"
34850 LDFLAGS="$saveLdflags -Wl,-rpath,/"
34851 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34852 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
34853 cat >conftest.$ac_ext <<_ACEOF
34854 /* confdefs.h. */
34855 _ACEOF
34856 cat confdefs.h >>conftest.$ac_ext
34857 cat >>conftest.$ac_ext <<_ACEOF
34858 /* end confdefs.h. */
34859
34860 int
34861 main ()
34862 {
34863
34864 ;
34865 return 0;
34866 }
34867 _ACEOF
34868 rm -f conftest.$ac_objext conftest$ac_exeext
34869 if { (ac_try="$ac_link"
34870 case "(($ac_try" in
34871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34872 *) ac_try_echo=$ac_try;;
34873 esac
34874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34875 (eval "$ac_link") 2>conftest.er1
34876 ac_status=$?
34877 grep -v '^ *+' conftest.er1 >conftest.err
34878 rm -f conftest.er1
34879 cat conftest.err >&5
34880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34881 (exit $ac_status); } && {
34882 test -z "$ac_c_werror_flag" ||
34883 test ! -s conftest.err
34884 } && test -s conftest$ac_exeext &&
34885 $as_test_x conftest$ac_exeext; then
34886
34887 { echo "$as_me:$LINENO: result: yes" >&5
34888 echo "${ECHO_T}yes" >&6; }
34889 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34890 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34891
34892 else
34893 echo "$as_me: failed program was:" >&5
34894 sed 's/^/| /' conftest.$ac_ext >&5
34895
34896
34897 { echo "$as_me:$LINENO: result: no" >&5
34898 echo "${ECHO_T}no" >&6; }
34899 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34900 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
34901 LDFLAGS="$saveLdflags -Wl,-R,/"
34902 cat >conftest.$ac_ext <<_ACEOF
34903 /* confdefs.h. */
34904 _ACEOF
34905 cat confdefs.h >>conftest.$ac_ext
34906 cat >>conftest.$ac_ext <<_ACEOF
34907 /* end confdefs.h. */
34908
34909 int
34910 main ()
34911 {
34912
34913 ;
34914 return 0;
34915 }
34916 _ACEOF
34917 rm -f conftest.$ac_objext conftest$ac_exeext
34918 if { (ac_try="$ac_link"
34919 case "(($ac_try" in
34920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34921 *) ac_try_echo=$ac_try;;
34922 esac
34923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34924 (eval "$ac_link") 2>conftest.er1
34925 ac_status=$?
34926 grep -v '^ *+' conftest.er1 >conftest.err
34927 rm -f conftest.er1
34928 cat conftest.err >&5
34929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34930 (exit $ac_status); } && {
34931 test -z "$ac_c_werror_flag" ||
34932 test ! -s conftest.err
34933 } && test -s conftest$ac_exeext &&
34934 $as_test_x conftest$ac_exeext; then
34935
34936 { echo "$as_me:$LINENO: result: yes" >&5
34937 echo "${ECHO_T}yes" >&6; }
34938 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
34939 WXCONFIG_RPATH="-Wl,-R,\$libdir"
34940
34941 else
34942 echo "$as_me: failed program was:" >&5
34943 sed 's/^/| /' conftest.$ac_ext >&5
34944
34945
34946 { echo "$as_me:$LINENO: result: no" >&5
34947 echo "${ECHO_T}no" >&6; }
34948
34949 fi
34950
34951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34952 conftest$ac_exeext conftest.$ac_ext
34953
34954 fi
34955
34956 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34957 conftest$ac_exeext conftest.$ac_ext
34958 LDFLAGS="$saveLdflags"
34959 ;;
34960
34961 *-*-darwin* )
34962 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
34963 if test "$install_name_tool" -a -x "$install_name_tool"; then
34964 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
34965 cat <<EOF >change-install-names
34966 #!/bin/sh
34967 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34968 for i in \${libnames} ; do
34969 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
34970 for dep in \${libnames} ; do
34971 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
34972 done
34973 done
34974 EOF
34975 chmod +x change-install-names
34976 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
34977 fi
34978
34979 HEADER_PAD_OPTION="-headerpad_max_install_names"
34980 ;;
34981
34982 *-*-cygwin* | *-*-mingw32* )
34983 ;;
34984
34985 *-*-hpux* )
34986 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
34987 WXCONFIG_RPATH="-Wl,+b,\$libdir"
34988 ;;
34989
34990 esac
34991 fi
34992
34993 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34994
34995 if test $wxUSE_RPATH = "no"; then
34996 SAMPLES_RPATH_FLAG=''
34997 DYLIB_PATH_POSTLINK=''
34998 WXCONFIG_RPATH=''
34999 fi
35000
35001 SHARED=1
35002
35003 else
35004
35005 config_linkage_component="-static"
35006 SHARED=0
35007
35008 fi
35009
35010
35011 UNICODE=0
35012 lib_unicode_suffix=
35013 WX_CHARTYPE="ansi"
35014 if test "$wxUSE_UNICODE" = "yes"; then
35015 lib_unicode_suffix=u
35016 WX_CHARTYPE="unicode"
35017 UNICODE=1
35018 fi
35019
35020 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
35021 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
35022
35023 DEBUG_INFO=0
35024 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35025 DEBUG_INFO=1
35026 fi
35027
35028 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
35029
35030 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
35031
35032 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35033
35034
35035 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35036 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35037 else
35038 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35039 fi
35040 if test "${TOOLKIT_DIR}" = "os2"; then
35041 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35042 else
35043 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35044 fi
35045
35046
35047
35048 if test "$wxUSE_OLD_COCOA" = 1; then
35049
35050 ac_ext=c
35051 ac_cpp='$CPP $CPPFLAGS'
35052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35055
35056 ac_ext=m
35057
35058 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35059 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35060 cat >conftest.$ac_ext <<_ACEOF
35061 /* confdefs.h. */
35062 _ACEOF
35063 cat confdefs.h >>conftest.$ac_ext
35064 cat >>conftest.$ac_ext <<_ACEOF
35065 /* end confdefs.h. */
35066 #include <AppKit/NSEvent.h>
35067 #include <CoreFoundation/CoreFoundation.h>
35068
35069 int
35070 main ()
35071 {
35072
35073 ;
35074 return 0;
35075 }
35076 _ACEOF
35077 rm -f conftest.$ac_objext
35078 if { (ac_try="$ac_compile"
35079 case "(($ac_try" in
35080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35081 *) ac_try_echo=$ac_try;;
35082 esac
35083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35084 (eval "$ac_compile") 2>conftest.er1
35085 ac_status=$?
35086 grep -v '^ *+' conftest.er1 >conftest.err
35087 rm -f conftest.er1
35088 cat conftest.err >&5
35089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35090 (exit $ac_status); } && {
35091 test -z "$ac_c_werror_flag" ||
35092 test ! -s conftest.err
35093 } && test -s conftest.$ac_objext; then
35094 { echo "$as_me:$LINENO: result: no" >&5
35095 echo "${ECHO_T}no" >&6; }
35096 else
35097 echo "$as_me: failed program was:" >&5
35098 sed 's/^/| /' conftest.$ac_ext >&5
35099
35100 { echo "$as_me:$LINENO: result: yes" >&5
35101 echo "${ECHO_T}yes" >&6; }
35102 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35103 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35104 cat >conftest.$ac_ext <<_ACEOF
35105 /* confdefs.h. */
35106 _ACEOF
35107 cat confdefs.h >>conftest.$ac_ext
35108 cat >>conftest.$ac_ext <<_ACEOF
35109 /* end confdefs.h. */
35110 #define __Point__ 1
35111 #include <AppKit/NSEvent.h>
35112 #include <CoreFoundation/CoreFoundation.h>
35113
35114 int
35115 main ()
35116 {
35117
35118 ;
35119 return 0;
35120 }
35121 _ACEOF
35122 rm -f conftest.$ac_objext
35123 if { (ac_try="$ac_compile"
35124 case "(($ac_try" in
35125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35126 *) ac_try_echo=$ac_try;;
35127 esac
35128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35129 (eval "$ac_compile") 2>conftest.er1
35130 ac_status=$?
35131 grep -v '^ *+' conftest.er1 >conftest.err
35132 rm -f conftest.er1
35133 cat conftest.err >&5
35134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35135 (exit $ac_status); } && {
35136 test -z "$ac_c_werror_flag" ||
35137 test ! -s conftest.err
35138 } && test -s conftest.$ac_objext; then
35139 { echo "$as_me:$LINENO: result: yes" >&5
35140 echo "${ECHO_T}yes" >&6; }
35141 cat >>confdefs.h <<\_ACEOF
35142 #define __Point__ 1
35143 _ACEOF
35144
35145
35146 else
35147 echo "$as_me: failed program was:" >&5
35148 sed 's/^/| /' conftest.$ac_ext >&5
35149
35150 { { echo "$as_me:$LINENO: error: no
35151 See \`config.log' for more details." >&5
35152 echo "$as_me: error: no
35153 See \`config.log' for more details." >&2;}
35154 { (exit 1); exit 1; }; }
35155
35156 fi
35157
35158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35159
35160 fi
35161
35162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35163 ac_ext=c
35164 ac_cpp='$CPP $CPPFLAGS'
35165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35168
35169 fi
35170
35171
35172 { echo "$as_me:$LINENO: checking for mode_t" >&5
35173 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35174 if test "${ac_cv_type_mode_t+set}" = set; then
35175 echo $ECHO_N "(cached) $ECHO_C" >&6
35176 else
35177 cat >conftest.$ac_ext <<_ACEOF
35178 /* confdefs.h. */
35179 _ACEOF
35180 cat confdefs.h >>conftest.$ac_ext
35181 cat >>conftest.$ac_ext <<_ACEOF
35182 /* end confdefs.h. */
35183 $ac_includes_default
35184 typedef mode_t ac__type_new_;
35185 int
35186 main ()
35187 {
35188 if ((ac__type_new_ *) 0)
35189 return 0;
35190 if (sizeof (ac__type_new_))
35191 return 0;
35192 ;
35193 return 0;
35194 }
35195 _ACEOF
35196 rm -f conftest.$ac_objext
35197 if { (ac_try="$ac_compile"
35198 case "(($ac_try" in
35199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35200 *) ac_try_echo=$ac_try;;
35201 esac
35202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35203 (eval "$ac_compile") 2>conftest.er1
35204 ac_status=$?
35205 grep -v '^ *+' conftest.er1 >conftest.err
35206 rm -f conftest.er1
35207 cat conftest.err >&5
35208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35209 (exit $ac_status); } && {
35210 test -z "$ac_c_werror_flag" ||
35211 test ! -s conftest.err
35212 } && test -s conftest.$ac_objext; then
35213 ac_cv_type_mode_t=yes
35214 else
35215 echo "$as_me: failed program was:" >&5
35216 sed 's/^/| /' conftest.$ac_ext >&5
35217
35218 ac_cv_type_mode_t=no
35219 fi
35220
35221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35222 fi
35223 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35224 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35225 if test $ac_cv_type_mode_t = yes; then
35226 :
35227 else
35228
35229 cat >>confdefs.h <<_ACEOF
35230 #define mode_t int
35231 _ACEOF
35232
35233 fi
35234
35235 { echo "$as_me:$LINENO: checking for off_t" >&5
35236 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35237 if test "${ac_cv_type_off_t+set}" = set; then
35238 echo $ECHO_N "(cached) $ECHO_C" >&6
35239 else
35240 cat >conftest.$ac_ext <<_ACEOF
35241 /* confdefs.h. */
35242 _ACEOF
35243 cat confdefs.h >>conftest.$ac_ext
35244 cat >>conftest.$ac_ext <<_ACEOF
35245 /* end confdefs.h. */
35246 $ac_includes_default
35247 typedef off_t ac__type_new_;
35248 int
35249 main ()
35250 {
35251 if ((ac__type_new_ *) 0)
35252 return 0;
35253 if (sizeof (ac__type_new_))
35254 return 0;
35255 ;
35256 return 0;
35257 }
35258 _ACEOF
35259 rm -f conftest.$ac_objext
35260 if { (ac_try="$ac_compile"
35261 case "(($ac_try" in
35262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35263 *) ac_try_echo=$ac_try;;
35264 esac
35265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35266 (eval "$ac_compile") 2>conftest.er1
35267 ac_status=$?
35268 grep -v '^ *+' conftest.er1 >conftest.err
35269 rm -f conftest.er1
35270 cat conftest.err >&5
35271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35272 (exit $ac_status); } && {
35273 test -z "$ac_c_werror_flag" ||
35274 test ! -s conftest.err
35275 } && test -s conftest.$ac_objext; then
35276 ac_cv_type_off_t=yes
35277 else
35278 echo "$as_me: failed program was:" >&5
35279 sed 's/^/| /' conftest.$ac_ext >&5
35280
35281 ac_cv_type_off_t=no
35282 fi
35283
35284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35285 fi
35286 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35287 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
35288 if test $ac_cv_type_off_t = yes; then
35289 :
35290 else
35291
35292 cat >>confdefs.h <<_ACEOF
35293 #define off_t long int
35294 _ACEOF
35295
35296 fi
35297
35298 { echo "$as_me:$LINENO: checking for pid_t" >&5
35299 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
35300 if test "${ac_cv_type_pid_t+set}" = set; then
35301 echo $ECHO_N "(cached) $ECHO_C" >&6
35302 else
35303 cat >conftest.$ac_ext <<_ACEOF
35304 /* confdefs.h. */
35305 _ACEOF
35306 cat confdefs.h >>conftest.$ac_ext
35307 cat >>conftest.$ac_ext <<_ACEOF
35308 /* end confdefs.h. */
35309 $ac_includes_default
35310 typedef pid_t ac__type_new_;
35311 int
35312 main ()
35313 {
35314 if ((ac__type_new_ *) 0)
35315 return 0;
35316 if (sizeof (ac__type_new_))
35317 return 0;
35318 ;
35319 return 0;
35320 }
35321 _ACEOF
35322 rm -f conftest.$ac_objext
35323 if { (ac_try="$ac_compile"
35324 case "(($ac_try" in
35325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35326 *) ac_try_echo=$ac_try;;
35327 esac
35328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35329 (eval "$ac_compile") 2>conftest.er1
35330 ac_status=$?
35331 grep -v '^ *+' conftest.er1 >conftest.err
35332 rm -f conftest.er1
35333 cat conftest.err >&5
35334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35335 (exit $ac_status); } && {
35336 test -z "$ac_c_werror_flag" ||
35337 test ! -s conftest.err
35338 } && test -s conftest.$ac_objext; then
35339 ac_cv_type_pid_t=yes
35340 else
35341 echo "$as_me: failed program was:" >&5
35342 sed 's/^/| /' conftest.$ac_ext >&5
35343
35344 ac_cv_type_pid_t=no
35345 fi
35346
35347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35348 fi
35349 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35350 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
35351 if test $ac_cv_type_pid_t = yes; then
35352 :
35353 else
35354
35355 cat >>confdefs.h <<_ACEOF
35356 #define pid_t int
35357 _ACEOF
35358
35359 fi
35360
35361 { echo "$as_me:$LINENO: checking for size_t" >&5
35362 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
35363 if test "${ac_cv_type_size_t+set}" = set; then
35364 echo $ECHO_N "(cached) $ECHO_C" >&6
35365 else
35366 cat >conftest.$ac_ext <<_ACEOF
35367 /* confdefs.h. */
35368 _ACEOF
35369 cat confdefs.h >>conftest.$ac_ext
35370 cat >>conftest.$ac_ext <<_ACEOF
35371 /* end confdefs.h. */
35372 $ac_includes_default
35373 typedef size_t ac__type_new_;
35374 int
35375 main ()
35376 {
35377 if ((ac__type_new_ *) 0)
35378 return 0;
35379 if (sizeof (ac__type_new_))
35380 return 0;
35381 ;
35382 return 0;
35383 }
35384 _ACEOF
35385 rm -f conftest.$ac_objext
35386 if { (ac_try="$ac_compile"
35387 case "(($ac_try" in
35388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35389 *) ac_try_echo=$ac_try;;
35390 esac
35391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35392 (eval "$ac_compile") 2>conftest.er1
35393 ac_status=$?
35394 grep -v '^ *+' conftest.er1 >conftest.err
35395 rm -f conftest.er1
35396 cat conftest.err >&5
35397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35398 (exit $ac_status); } && {
35399 test -z "$ac_c_werror_flag" ||
35400 test ! -s conftest.err
35401 } && test -s conftest.$ac_objext; then
35402 ac_cv_type_size_t=yes
35403 else
35404 echo "$as_me: failed program was:" >&5
35405 sed 's/^/| /' conftest.$ac_ext >&5
35406
35407 ac_cv_type_size_t=no
35408 fi
35409
35410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35411 fi
35412 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35413 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35414 if test $ac_cv_type_size_t = yes; then
35415 :
35416 else
35417
35418 cat >>confdefs.h <<_ACEOF
35419 #define size_t unsigned int
35420 _ACEOF
35421
35422 fi
35423
35424
35425 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35426 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35427 if test "${ac_cv_type_ssize_t+set}" = set; then
35428 echo $ECHO_N "(cached) $ECHO_C" >&6
35429 else
35430 cat >conftest.$ac_ext <<_ACEOF
35431 /* confdefs.h. */
35432 _ACEOF
35433 cat confdefs.h >>conftest.$ac_ext
35434 cat >>conftest.$ac_ext <<_ACEOF
35435 /* end confdefs.h. */
35436 $ac_includes_default
35437 typedef ssize_t ac__type_new_;
35438 int
35439 main ()
35440 {
35441 if ((ac__type_new_ *) 0)
35442 return 0;
35443 if (sizeof (ac__type_new_))
35444 return 0;
35445 ;
35446 return 0;
35447 }
35448 _ACEOF
35449 rm -f conftest.$ac_objext
35450 if { (ac_try="$ac_compile"
35451 case "(($ac_try" in
35452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35453 *) ac_try_echo=$ac_try;;
35454 esac
35455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35456 (eval "$ac_compile") 2>conftest.er1
35457 ac_status=$?
35458 grep -v '^ *+' conftest.er1 >conftest.err
35459 rm -f conftest.er1
35460 cat conftest.err >&5
35461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35462 (exit $ac_status); } && {
35463 test -z "$ac_c_werror_flag" ||
35464 test ! -s conftest.err
35465 } && test -s conftest.$ac_objext; then
35466 ac_cv_type_ssize_t=yes
35467 else
35468 echo "$as_me: failed program was:" >&5
35469 sed 's/^/| /' conftest.$ac_ext >&5
35470
35471 ac_cv_type_ssize_t=no
35472 fi
35473
35474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35475 fi
35476 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35477 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35478 if test $ac_cv_type_ssize_t = yes; then
35479
35480 cat >>confdefs.h <<_ACEOF
35481 #define HAVE_SSIZE_T 1
35482 _ACEOF
35483
35484
35485 fi
35486
35487
35488 ac_ext=cpp
35489 ac_cpp='$CXXCPP $CPPFLAGS'
35490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35493 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35494 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35495 if test "${wx_cv_size_t_is_uint+set}" = set; then
35496 echo $ECHO_N "(cached) $ECHO_C" >&6
35497 else
35498
35499 cat >conftest.$ac_ext <<_ACEOF
35500 /* confdefs.h. */
35501 _ACEOF
35502 cat confdefs.h >>conftest.$ac_ext
35503 cat >>conftest.$ac_ext <<_ACEOF
35504 /* end confdefs.h. */
35505 #include <stddef.h>
35506 int
35507 main ()
35508 {
35509
35510 return 0; }
35511
35512 struct Foo { void foo(size_t); void foo(unsigned int); };
35513
35514 int bar() {
35515
35516 ;
35517 return 0;
35518 }
35519 _ACEOF
35520 rm -f conftest.$ac_objext
35521 if { (ac_try="$ac_compile"
35522 case "(($ac_try" in
35523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35524 *) ac_try_echo=$ac_try;;
35525 esac
35526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35527 (eval "$ac_compile") 2>conftest.er1
35528 ac_status=$?
35529 grep -v '^ *+' conftest.er1 >conftest.err
35530 rm -f conftest.er1
35531 cat conftest.err >&5
35532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35533 (exit $ac_status); } && {
35534 test -z "$ac_cxx_werror_flag" ||
35535 test ! -s conftest.err
35536 } && test -s conftest.$ac_objext; then
35537 wx_cv_size_t_is_uint=no
35538 else
35539 echo "$as_me: failed program was:" >&5
35540 sed 's/^/| /' conftest.$ac_ext >&5
35541
35542 wx_cv_size_t_is_uint=yes
35543
35544 fi
35545
35546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35547
35548
35549 fi
35550 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35551 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
35552
35553 if test "$wx_cv_size_t_is_uint" = "yes"; then
35554 cat >>confdefs.h <<\_ACEOF
35555 #define wxSIZE_T_IS_UINT 1
35556 _ACEOF
35557
35558 else
35559 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35560 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
35561 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35562 echo $ECHO_N "(cached) $ECHO_C" >&6
35563 else
35564 cat >conftest.$ac_ext <<_ACEOF
35565 /* confdefs.h. */
35566 _ACEOF
35567 cat confdefs.h >>conftest.$ac_ext
35568 cat >>conftest.$ac_ext <<_ACEOF
35569 /* end confdefs.h. */
35570 #include <stddef.h>
35571 int
35572 main ()
35573 {
35574
35575 return 0; }
35576
35577 struct Foo { void foo(size_t); void foo(unsigned long); };
35578
35579 int bar() {
35580
35581 ;
35582 return 0;
35583 }
35584 _ACEOF
35585 rm -f conftest.$ac_objext
35586 if { (ac_try="$ac_compile"
35587 case "(($ac_try" in
35588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35589 *) ac_try_echo=$ac_try;;
35590 esac
35591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35592 (eval "$ac_compile") 2>conftest.er1
35593 ac_status=$?
35594 grep -v '^ *+' conftest.er1 >conftest.err
35595 rm -f conftest.er1
35596 cat conftest.err >&5
35597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35598 (exit $ac_status); } && {
35599 test -z "$ac_cxx_werror_flag" ||
35600 test ! -s conftest.err
35601 } && test -s conftest.$ac_objext; then
35602 wx_cv_size_t_is_ulong=no
35603 else
35604 echo "$as_me: failed program was:" >&5
35605 sed 's/^/| /' conftest.$ac_ext >&5
35606
35607 wx_cv_size_t_is_ulong=yes
35608
35609 fi
35610
35611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35612
35613 fi
35614 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35615 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
35616
35617 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35618 cat >>confdefs.h <<\_ACEOF
35619 #define wxSIZE_T_IS_ULONG 1
35620 _ACEOF
35621
35622 fi
35623 fi
35624
35625 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
35626 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
35627 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
35628 echo $ECHO_N "(cached) $ECHO_C" >&6
35629 else
35630 cat >conftest.$ac_ext <<_ACEOF
35631 /* confdefs.h. */
35632 _ACEOF
35633 cat confdefs.h >>conftest.$ac_ext
35634 cat >>conftest.$ac_ext <<_ACEOF
35635 /* end confdefs.h. */
35636 #include <wchar.h>
35637 int
35638 main ()
35639 {
35640
35641 return 0; }
35642
35643 struct Foo { void foo(wchar_t);
35644 void foo(unsigned short);
35645 void foo(unsigned int);
35646 void foo(unsigned long); };
35647
35648 int bar() {
35649
35650 ;
35651 return 0;
35652 }
35653 _ACEOF
35654 rm -f conftest.$ac_objext
35655 if { (ac_try="$ac_compile"
35656 case "(($ac_try" in
35657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35658 *) ac_try_echo=$ac_try;;
35659 esac
35660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35661 (eval "$ac_compile") 2>conftest.er1
35662 ac_status=$?
35663 grep -v '^ *+' conftest.er1 >conftest.err
35664 rm -f conftest.er1
35665 cat conftest.err >&5
35666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35667 (exit $ac_status); } && {
35668 test -z "$ac_cxx_werror_flag" ||
35669 test ! -s conftest.err
35670 } && test -s conftest.$ac_objext; then
35671 wx_cv_wchar_t_is_separate_type=yes
35672 else
35673 echo "$as_me: failed program was:" >&5
35674 sed 's/^/| /' conftest.$ac_ext >&5
35675
35676 wx_cv_wchar_t_is_separate_type=no
35677
35678 fi
35679
35680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35681
35682 fi
35683 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
35684 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
35685
35686 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
35687 cat >>confdefs.h <<\_ACEOF
35688 #define wxWCHAR_T_IS_REAL_TYPE 1
35689 _ACEOF
35690
35691 else
35692 cat >>confdefs.h <<\_ACEOF
35693 #define wxWCHAR_T_IS_REAL_TYPE 0
35694 _ACEOF
35695
35696 fi
35697
35698 ac_ext=c
35699 ac_cpp='$CPP $CPPFLAGS'
35700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35703
35704
35705 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
35706 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
35707 if test "${wx_cv_struct_pw_gecos+set}" = set; then
35708 echo $ECHO_N "(cached) $ECHO_C" >&6
35709 else
35710
35711 cat >conftest.$ac_ext <<_ACEOF
35712 /* confdefs.h. */
35713 _ACEOF
35714 cat confdefs.h >>conftest.$ac_ext
35715 cat >>conftest.$ac_ext <<_ACEOF
35716 /* end confdefs.h. */
35717 #include <pwd.h>
35718 int
35719 main ()
35720 {
35721
35722 char *p;
35723 struct passwd *pw;
35724 p = pw->pw_gecos;
35725
35726 ;
35727 return 0;
35728 }
35729 _ACEOF
35730 rm -f conftest.$ac_objext
35731 if { (ac_try="$ac_compile"
35732 case "(($ac_try" in
35733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35734 *) ac_try_echo=$ac_try;;
35735 esac
35736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35737 (eval "$ac_compile") 2>conftest.er1
35738 ac_status=$?
35739 grep -v '^ *+' conftest.er1 >conftest.err
35740 rm -f conftest.er1
35741 cat conftest.err >&5
35742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35743 (exit $ac_status); } && {
35744 test -z "$ac_c_werror_flag" ||
35745 test ! -s conftest.err
35746 } && test -s conftest.$ac_objext; then
35747
35748 wx_cv_struct_pw_gecos=yes
35749
35750 else
35751 echo "$as_me: failed program was:" >&5
35752 sed 's/^/| /' conftest.$ac_ext >&5
35753
35754
35755 wx_cv_struct_pw_gecos=no
35756
35757
35758 fi
35759
35760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35761
35762
35763 fi
35764 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35765 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
35766
35767 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35768 cat >>confdefs.h <<\_ACEOF
35769 #define HAVE_PW_GECOS 1
35770 _ACEOF
35771
35772 fi
35773
35774
35775 if test "$wxUSE_WCHAR_T" = "yes"; then
35776 cat >>confdefs.h <<\_ACEOF
35777 #define wxUSE_WCHAR_T 1
35778 _ACEOF
35779
35780
35781 WCSLEN_FOUND=0
35782 WCHAR_LINK=
35783
35784 for ac_func in wcslen
35785 do
35786 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35787 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35789 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35790 echo $ECHO_N "(cached) $ECHO_C" >&6
35791 else
35792 cat >conftest.$ac_ext <<_ACEOF
35793 /* confdefs.h. */
35794 _ACEOF
35795 cat confdefs.h >>conftest.$ac_ext
35796 cat >>conftest.$ac_ext <<_ACEOF
35797 /* end confdefs.h. */
35798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35800 #define $ac_func innocuous_$ac_func
35801
35802 /* System header to define __stub macros and hopefully few prototypes,
35803 which can conflict with char $ac_func (); below.
35804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35805 <limits.h> exists even on freestanding compilers. */
35806
35807 #ifdef __STDC__
35808 # include <limits.h>
35809 #else
35810 # include <assert.h>
35811 #endif
35812
35813 #undef $ac_func
35814
35815 /* Override any GCC internal prototype to avoid an error.
35816 Use char because int might match the return type of a GCC
35817 builtin and then its argument prototype would still apply. */
35818 #ifdef __cplusplus
35819 extern "C"
35820 #endif
35821 char $ac_func ();
35822 /* The GNU C library defines this for functions which it implements
35823 to always fail with ENOSYS. Some functions are actually named
35824 something starting with __ and the normal name is an alias. */
35825 #if defined __stub_$ac_func || defined __stub___$ac_func
35826 choke me
35827 #endif
35828
35829 int
35830 main ()
35831 {
35832 return $ac_func ();
35833 ;
35834 return 0;
35835 }
35836 _ACEOF
35837 rm -f conftest.$ac_objext conftest$ac_exeext
35838 if { (ac_try="$ac_link"
35839 case "(($ac_try" in
35840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35841 *) ac_try_echo=$ac_try;;
35842 esac
35843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35844 (eval "$ac_link") 2>conftest.er1
35845 ac_status=$?
35846 grep -v '^ *+' conftest.er1 >conftest.err
35847 rm -f conftest.er1
35848 cat conftest.err >&5
35849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35850 (exit $ac_status); } && {
35851 test -z "$ac_c_werror_flag" ||
35852 test ! -s conftest.err
35853 } && test -s conftest$ac_exeext &&
35854 $as_test_x conftest$ac_exeext; then
35855 eval "$as_ac_var=yes"
35856 else
35857 echo "$as_me: failed program was:" >&5
35858 sed 's/^/| /' conftest.$ac_ext >&5
35859
35860 eval "$as_ac_var=no"
35861 fi
35862
35863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35864 conftest$ac_exeext conftest.$ac_ext
35865 fi
35866 ac_res=`eval echo '${'$as_ac_var'}'`
35867 { echo "$as_me:$LINENO: result: $ac_res" >&5
35868 echo "${ECHO_T}$ac_res" >&6; }
35869 if test `eval echo '${'$as_ac_var'}'` = yes; then
35870 cat >>confdefs.h <<_ACEOF
35871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35872 _ACEOF
35873 WCSLEN_FOUND=1
35874 fi
35875 done
35876
35877
35878 if test "$WCSLEN_FOUND" = 0; then
35879 if test "$TOOLKIT" = "MSW"; then
35880 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35881 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
35882 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35883 echo $ECHO_N "(cached) $ECHO_C" >&6
35884 else
35885 ac_check_lib_save_LIBS=$LIBS
35886 LIBS="-lmsvcrt $LIBS"
35887 cat >conftest.$ac_ext <<_ACEOF
35888 /* confdefs.h. */
35889 _ACEOF
35890 cat confdefs.h >>conftest.$ac_ext
35891 cat >>conftest.$ac_ext <<_ACEOF
35892 /* end confdefs.h. */
35893
35894 /* Override any GCC internal prototype to avoid an error.
35895 Use char because int might match the return type of a GCC
35896 builtin and then its argument prototype would still apply. */
35897 #ifdef __cplusplus
35898 extern "C"
35899 #endif
35900 char wcslen ();
35901 int
35902 main ()
35903 {
35904 return wcslen ();
35905 ;
35906 return 0;
35907 }
35908 _ACEOF
35909 rm -f conftest.$ac_objext conftest$ac_exeext
35910 if { (ac_try="$ac_link"
35911 case "(($ac_try" in
35912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35913 *) ac_try_echo=$ac_try;;
35914 esac
35915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35916 (eval "$ac_link") 2>conftest.er1
35917 ac_status=$?
35918 grep -v '^ *+' conftest.er1 >conftest.err
35919 rm -f conftest.er1
35920 cat conftest.err >&5
35921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35922 (exit $ac_status); } && {
35923 test -z "$ac_c_werror_flag" ||
35924 test ! -s conftest.err
35925 } && test -s conftest$ac_exeext &&
35926 $as_test_x conftest$ac_exeext; then
35927 ac_cv_lib_msvcrt_wcslen=yes
35928 else
35929 echo "$as_me: failed program was:" >&5
35930 sed 's/^/| /' conftest.$ac_ext >&5
35931
35932 ac_cv_lib_msvcrt_wcslen=no
35933 fi
35934
35935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35936 conftest$ac_exeext conftest.$ac_ext
35937 LIBS=$ac_check_lib_save_LIBS
35938 fi
35939 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35940 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
35941 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35942 WCHAR_OK=1
35943 fi
35944
35945 else
35946 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35947 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
35948 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35949 echo $ECHO_N "(cached) $ECHO_C" >&6
35950 else
35951 ac_check_lib_save_LIBS=$LIBS
35952 LIBS="-lw $LIBS"
35953 cat >conftest.$ac_ext <<_ACEOF
35954 /* confdefs.h. */
35955 _ACEOF
35956 cat confdefs.h >>conftest.$ac_ext
35957 cat >>conftest.$ac_ext <<_ACEOF
35958 /* end confdefs.h. */
35959
35960 /* Override any GCC internal prototype to avoid an error.
35961 Use char because int might match the return type of a GCC
35962 builtin and then its argument prototype would still apply. */
35963 #ifdef __cplusplus
35964 extern "C"
35965 #endif
35966 char wcslen ();
35967 int
35968 main ()
35969 {
35970 return wcslen ();
35971 ;
35972 return 0;
35973 }
35974 _ACEOF
35975 rm -f conftest.$ac_objext conftest$ac_exeext
35976 if { (ac_try="$ac_link"
35977 case "(($ac_try" in
35978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35979 *) ac_try_echo=$ac_try;;
35980 esac
35981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35982 (eval "$ac_link") 2>conftest.er1
35983 ac_status=$?
35984 grep -v '^ *+' conftest.er1 >conftest.err
35985 rm -f conftest.er1
35986 cat conftest.err >&5
35987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35988 (exit $ac_status); } && {
35989 test -z "$ac_c_werror_flag" ||
35990 test ! -s conftest.err
35991 } && test -s conftest$ac_exeext &&
35992 $as_test_x conftest$ac_exeext; then
35993 ac_cv_lib_w_wcslen=yes
35994 else
35995 echo "$as_me: failed program was:" >&5
35996 sed 's/^/| /' conftest.$ac_ext >&5
35997
35998 ac_cv_lib_w_wcslen=no
35999 fi
36000
36001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36002 conftest$ac_exeext conftest.$ac_ext
36003 LIBS=$ac_check_lib_save_LIBS
36004 fi
36005 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36006 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36007 if test $ac_cv_lib_w_wcslen = yes; then
36008
36009 WCHAR_LINK=" -lw"
36010 WCSLEN_FOUND=1
36011
36012 fi
36013
36014 fi
36015 fi
36016
36017 if test "$WCSLEN_FOUND" = 1; then
36018 cat >>confdefs.h <<\_ACEOF
36019 #define HAVE_WCSLEN 1
36020 _ACEOF
36021
36022 fi
36023
36024
36025
36026
36027
36028
36029 for ac_func in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
36030 do
36031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36032 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36034 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36035 echo $ECHO_N "(cached) $ECHO_C" >&6
36036 else
36037 cat >conftest.$ac_ext <<_ACEOF
36038 /* confdefs.h. */
36039 _ACEOF
36040 cat confdefs.h >>conftest.$ac_ext
36041 cat >>conftest.$ac_ext <<_ACEOF
36042 /* end confdefs.h. */
36043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36045 #define $ac_func innocuous_$ac_func
36046
36047 /* System header to define __stub macros and hopefully few prototypes,
36048 which can conflict with char $ac_func (); below.
36049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36050 <limits.h> exists even on freestanding compilers. */
36051
36052 #ifdef __STDC__
36053 # include <limits.h>
36054 #else
36055 # include <assert.h>
36056 #endif
36057
36058 #undef $ac_func
36059
36060 /* Override any GCC internal prototype to avoid an error.
36061 Use char because int might match the return type of a GCC
36062 builtin and then its argument prototype would still apply. */
36063 #ifdef __cplusplus
36064 extern "C"
36065 #endif
36066 char $ac_func ();
36067 /* The GNU C library defines this for functions which it implements
36068 to always fail with ENOSYS. Some functions are actually named
36069 something starting with __ and the normal name is an alias. */
36070 #if defined __stub_$ac_func || defined __stub___$ac_func
36071 choke me
36072 #endif
36073
36074 int
36075 main ()
36076 {
36077 return $ac_func ();
36078 ;
36079 return 0;
36080 }
36081 _ACEOF
36082 rm -f conftest.$ac_objext conftest$ac_exeext
36083 if { (ac_try="$ac_link"
36084 case "(($ac_try" in
36085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36086 *) ac_try_echo=$ac_try;;
36087 esac
36088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36089 (eval "$ac_link") 2>conftest.er1
36090 ac_status=$?
36091 grep -v '^ *+' conftest.er1 >conftest.err
36092 rm -f conftest.er1
36093 cat conftest.err >&5
36094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36095 (exit $ac_status); } && {
36096 test -z "$ac_c_werror_flag" ||
36097 test ! -s conftest.err
36098 } && test -s conftest$ac_exeext &&
36099 $as_test_x conftest$ac_exeext; then
36100 eval "$as_ac_var=yes"
36101 else
36102 echo "$as_me: failed program was:" >&5
36103 sed 's/^/| /' conftest.$ac_ext >&5
36104
36105 eval "$as_ac_var=no"
36106 fi
36107
36108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36109 conftest$ac_exeext conftest.$ac_ext
36110 fi
36111 ac_res=`eval echo '${'$as_ac_var'}'`
36112 { echo "$as_me:$LINENO: result: $ac_res" >&5
36113 echo "${ECHO_T}$ac_res" >&6; }
36114 if test `eval echo '${'$as_ac_var'}'` = yes; then
36115 cat >>confdefs.h <<_ACEOF
36116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36117 _ACEOF
36118
36119 fi
36120 done
36121
36122
36123 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36124 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36125 fi
36126
36127 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36128 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36129 if test "${ac_cv_type_mbstate_t+set}" = set; then
36130 echo $ECHO_N "(cached) $ECHO_C" >&6
36131 else
36132 cat >conftest.$ac_ext <<_ACEOF
36133 /* confdefs.h. */
36134 _ACEOF
36135 cat confdefs.h >>conftest.$ac_ext
36136 cat >>conftest.$ac_ext <<_ACEOF
36137 /* end confdefs.h. */
36138 #include <wchar.h>
36139
36140 typedef mbstate_t ac__type_new_;
36141 int
36142 main ()
36143 {
36144 if ((ac__type_new_ *) 0)
36145 return 0;
36146 if (sizeof (ac__type_new_))
36147 return 0;
36148 ;
36149 return 0;
36150 }
36151 _ACEOF
36152 rm -f conftest.$ac_objext
36153 if { (ac_try="$ac_compile"
36154 case "(($ac_try" in
36155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36156 *) ac_try_echo=$ac_try;;
36157 esac
36158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36159 (eval "$ac_compile") 2>conftest.er1
36160 ac_status=$?
36161 grep -v '^ *+' conftest.er1 >conftest.err
36162 rm -f conftest.er1
36163 cat conftest.err >&5
36164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36165 (exit $ac_status); } && {
36166 test -z "$ac_c_werror_flag" ||
36167 test ! -s conftest.err
36168 } && test -s conftest.$ac_objext; then
36169 ac_cv_type_mbstate_t=yes
36170 else
36171 echo "$as_me: failed program was:" >&5
36172 sed 's/^/| /' conftest.$ac_ext >&5
36173
36174 ac_cv_type_mbstate_t=no
36175 fi
36176
36177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36178 fi
36179 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36180 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36181 if test $ac_cv_type_mbstate_t = yes; then
36182
36183 cat >>confdefs.h <<_ACEOF
36184 #define HAVE_MBSTATE_T 1
36185 _ACEOF
36186
36187
36188 for ac_func in wcsrtombs
36189 do
36190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36191 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36193 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36194 echo $ECHO_N "(cached) $ECHO_C" >&6
36195 else
36196 cat >conftest.$ac_ext <<_ACEOF
36197 /* confdefs.h. */
36198 _ACEOF
36199 cat confdefs.h >>conftest.$ac_ext
36200 cat >>conftest.$ac_ext <<_ACEOF
36201 /* end confdefs.h. */
36202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36204 #define $ac_func innocuous_$ac_func
36205
36206 /* System header to define __stub macros and hopefully few prototypes,
36207 which can conflict with char $ac_func (); below.
36208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36209 <limits.h> exists even on freestanding compilers. */
36210
36211 #ifdef __STDC__
36212 # include <limits.h>
36213 #else
36214 # include <assert.h>
36215 #endif
36216
36217 #undef $ac_func
36218
36219 /* Override any GCC internal prototype to avoid an error.
36220 Use char because int might match the return type of a GCC
36221 builtin and then its argument prototype would still apply. */
36222 #ifdef __cplusplus
36223 extern "C"
36224 #endif
36225 char $ac_func ();
36226 /* The GNU C library defines this for functions which it implements
36227 to always fail with ENOSYS. Some functions are actually named
36228 something starting with __ and the normal name is an alias. */
36229 #if defined __stub_$ac_func || defined __stub___$ac_func
36230 choke me
36231 #endif
36232
36233 int
36234 main ()
36235 {
36236 return $ac_func ();
36237 ;
36238 return 0;
36239 }
36240 _ACEOF
36241 rm -f conftest.$ac_objext conftest$ac_exeext
36242 if { (ac_try="$ac_link"
36243 case "(($ac_try" in
36244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36245 *) ac_try_echo=$ac_try;;
36246 esac
36247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36248 (eval "$ac_link") 2>conftest.er1
36249 ac_status=$?
36250 grep -v '^ *+' conftest.er1 >conftest.err
36251 rm -f conftest.er1
36252 cat conftest.err >&5
36253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36254 (exit $ac_status); } && {
36255 test -z "$ac_c_werror_flag" ||
36256 test ! -s conftest.err
36257 } && test -s conftest$ac_exeext &&
36258 $as_test_x conftest$ac_exeext; then
36259 eval "$as_ac_var=yes"
36260 else
36261 echo "$as_me: failed program was:" >&5
36262 sed 's/^/| /' conftest.$ac_ext >&5
36263
36264 eval "$as_ac_var=no"
36265 fi
36266
36267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36268 conftest$ac_exeext conftest.$ac_ext
36269 fi
36270 ac_res=`eval echo '${'$as_ac_var'}'`
36271 { echo "$as_me:$LINENO: result: $ac_res" >&5
36272 echo "${ECHO_T}$ac_res" >&6; }
36273 if test `eval echo '${'$as_ac_var'}'` = yes; then
36274 cat >>confdefs.h <<_ACEOF
36275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36276 _ACEOF
36277
36278 fi
36279 done
36280
36281 fi
36282
36283 else
36284 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
36285 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
36286 fi
36287
36288
36289
36290
36291 for ac_func in snprintf vsnprintf vsscanf
36292 do
36293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36294 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36296 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36297 echo $ECHO_N "(cached) $ECHO_C" >&6
36298 else
36299 cat >conftest.$ac_ext <<_ACEOF
36300 /* confdefs.h. */
36301 _ACEOF
36302 cat confdefs.h >>conftest.$ac_ext
36303 cat >>conftest.$ac_ext <<_ACEOF
36304 /* end confdefs.h. */
36305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36307 #define $ac_func innocuous_$ac_func
36308
36309 /* System header to define __stub macros and hopefully few prototypes,
36310 which can conflict with char $ac_func (); below.
36311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36312 <limits.h> exists even on freestanding compilers. */
36313
36314 #ifdef __STDC__
36315 # include <limits.h>
36316 #else
36317 # include <assert.h>
36318 #endif
36319
36320 #undef $ac_func
36321
36322 /* Override any GCC internal prototype to avoid an error.
36323 Use char because int might match the return type of a GCC
36324 builtin and then its argument prototype would still apply. */
36325 #ifdef __cplusplus
36326 extern "C"
36327 #endif
36328 char $ac_func ();
36329 /* The GNU C library defines this for functions which it implements
36330 to always fail with ENOSYS. Some functions are actually named
36331 something starting with __ and the normal name is an alias. */
36332 #if defined __stub_$ac_func || defined __stub___$ac_func
36333 choke me
36334 #endif
36335
36336 int
36337 main ()
36338 {
36339 return $ac_func ();
36340 ;
36341 return 0;
36342 }
36343 _ACEOF
36344 rm -f conftest.$ac_objext conftest$ac_exeext
36345 if { (ac_try="$ac_link"
36346 case "(($ac_try" in
36347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36348 *) ac_try_echo=$ac_try;;
36349 esac
36350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36351 (eval "$ac_link") 2>conftest.er1
36352 ac_status=$?
36353 grep -v '^ *+' conftest.er1 >conftest.err
36354 rm -f conftest.er1
36355 cat conftest.err >&5
36356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36357 (exit $ac_status); } && {
36358 test -z "$ac_c_werror_flag" ||
36359 test ! -s conftest.err
36360 } && test -s conftest$ac_exeext &&
36361 $as_test_x conftest$ac_exeext; then
36362 eval "$as_ac_var=yes"
36363 else
36364 echo "$as_me: failed program was:" >&5
36365 sed 's/^/| /' conftest.$ac_ext >&5
36366
36367 eval "$as_ac_var=no"
36368 fi
36369
36370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36371 conftest$ac_exeext conftest.$ac_ext
36372 fi
36373 ac_res=`eval echo '${'$as_ac_var'}'`
36374 { echo "$as_me:$LINENO: result: $ac_res" >&5
36375 echo "${ECHO_T}$ac_res" >&6; }
36376 if test `eval echo '${'$as_ac_var'}'` = yes; then
36377 cat >>confdefs.h <<_ACEOF
36378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36379 _ACEOF
36380
36381 fi
36382 done
36383
36384
36385 ac_ext=cpp
36386 ac_cpp='$CXXCPP $CPPFLAGS'
36387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36390
36391 if test "$ac_cv_func_vsnprintf" = "yes"; then
36392 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36393 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36394 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36395 echo $ECHO_N "(cached) $ECHO_C" >&6
36396 else
36397
36398 cat >conftest.$ac_ext <<_ACEOF
36399 /* confdefs.h. */
36400 _ACEOF
36401 cat confdefs.h >>conftest.$ac_ext
36402 cat >>conftest.$ac_ext <<_ACEOF
36403 /* end confdefs.h. */
36404
36405 #include <stdio.h>
36406 #include <stdarg.h>
36407 #ifdef __MSL__
36408 #if __MSL__ >= 0x6000
36409 namespace std {}
36410 using namespace std;
36411 #endif
36412 #endif
36413
36414 int
36415 main ()
36416 {
36417
36418 char *buf;
36419 va_list ap;
36420 vsnprintf(buf, 10u, "%s", ap);
36421
36422 ;
36423 return 0;
36424 }
36425 _ACEOF
36426 rm -f conftest.$ac_objext
36427 if { (ac_try="$ac_compile"
36428 case "(($ac_try" in
36429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36430 *) ac_try_echo=$ac_try;;
36431 esac
36432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36433 (eval "$ac_compile") 2>conftest.er1
36434 ac_status=$?
36435 grep -v '^ *+' conftest.er1 >conftest.err
36436 rm -f conftest.er1
36437 cat conftest.err >&5
36438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36439 (exit $ac_status); } && {
36440 test -z "$ac_cxx_werror_flag" ||
36441 test ! -s conftest.err
36442 } && test -s conftest.$ac_objext; then
36443 wx_cv_func_vsnprintf_decl=yes
36444 else
36445 echo "$as_me: failed program was:" >&5
36446 sed 's/^/| /' conftest.$ac_ext >&5
36447
36448 wx_cv_func_vsnprintf_decl=no
36449
36450 fi
36451
36452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36453
36454
36455 fi
36456 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36457 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36458
36459 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36460 cat >>confdefs.h <<\_ACEOF
36461 #define HAVE_VSNPRINTF_DECL 1
36462 _ACEOF
36463
36464
36465 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36466 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
36467 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36468 echo $ECHO_N "(cached) $ECHO_C" >&6
36469 else
36470
36471 cat >conftest.$ac_ext <<_ACEOF
36472 /* confdefs.h. */
36473 _ACEOF
36474 cat confdefs.h >>conftest.$ac_ext
36475 cat >>conftest.$ac_ext <<_ACEOF
36476 /* end confdefs.h. */
36477
36478 #include <stdio.h>
36479 #include <stdarg.h>
36480 #ifdef __MSL__
36481 #if __MSL__ >= 0x6000
36482 namespace std {}
36483 using namespace std;
36484 #endif
36485 #endif
36486
36487 int
36488 main ()
36489 {
36490
36491 char *buf;
36492 va_list ap;
36493 const char *fmt = "%s";
36494 vsnprintf(buf, 10u, fmt, ap);
36495
36496 ;
36497 return 0;
36498 }
36499 _ACEOF
36500 rm -f conftest.$ac_objext
36501 if { (ac_try="$ac_compile"
36502 case "(($ac_try" in
36503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36504 *) ac_try_echo=$ac_try;;
36505 esac
36506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36507 (eval "$ac_compile") 2>conftest.er1
36508 ac_status=$?
36509 grep -v '^ *+' conftest.er1 >conftest.err
36510 rm -f conftest.er1
36511 cat conftest.err >&5
36512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36513 (exit $ac_status); } && {
36514 test -z "$ac_cxx_werror_flag" ||
36515 test ! -s conftest.err
36516 } && test -s conftest.$ac_objext; then
36517 wx_cv_func_broken_vsnprintf_decl=no
36518 else
36519 echo "$as_me: failed program was:" >&5
36520 sed 's/^/| /' conftest.$ac_ext >&5
36521
36522 wx_cv_func_broken_vsnprintf_decl=yes
36523
36524 fi
36525
36526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36527
36528
36529 fi
36530 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36531 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
36532
36533 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36534 cat >>confdefs.h <<\_ACEOF
36535 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36536 _ACEOF
36537
36538 fi
36539 fi
36540 fi
36541
36542 if test "$ac_cv_func_snprintf" = "yes"; then
36543 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36544 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
36545 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36546 echo $ECHO_N "(cached) $ECHO_C" >&6
36547 else
36548
36549 cat >conftest.$ac_ext <<_ACEOF
36550 /* confdefs.h. */
36551 _ACEOF
36552 cat confdefs.h >>conftest.$ac_ext
36553 cat >>conftest.$ac_ext <<_ACEOF
36554 /* end confdefs.h. */
36555
36556 #include <stdio.h>
36557 #include <stdarg.h>
36558 #ifdef __MSL__
36559 #if __MSL__ >= 0x6000
36560 namespace std {}
36561 using namespace std;
36562 #endif
36563 #endif
36564
36565 int
36566 main ()
36567 {
36568
36569 char *buf;
36570 snprintf(buf, 10u, "%s", "wx");
36571
36572 ;
36573 return 0;
36574 }
36575 _ACEOF
36576 rm -f conftest.$ac_objext
36577 if { (ac_try="$ac_compile"
36578 case "(($ac_try" in
36579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36580 *) ac_try_echo=$ac_try;;
36581 esac
36582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36583 (eval "$ac_compile") 2>conftest.er1
36584 ac_status=$?
36585 grep -v '^ *+' conftest.er1 >conftest.err
36586 rm -f conftest.er1
36587 cat conftest.err >&5
36588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36589 (exit $ac_status); } && {
36590 test -z "$ac_cxx_werror_flag" ||
36591 test ! -s conftest.err
36592 } && test -s conftest.$ac_objext; then
36593 wx_cv_func_snprintf_decl=yes
36594 else
36595 echo "$as_me: failed program was:" >&5
36596 sed 's/^/| /' conftest.$ac_ext >&5
36597
36598 wx_cv_func_snprintf_decl=no
36599
36600 fi
36601
36602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36603
36604
36605 fi
36606 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36607 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
36608
36609 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36610 cat >>confdefs.h <<\_ACEOF
36611 #define HAVE_SNPRINTF_DECL 1
36612 _ACEOF
36613
36614 fi
36615
36616 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
36617
36618 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
36619 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
36620 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
36621 echo $ECHO_N "(cached) $ECHO_C" >&6
36622 else
36623
36624 if test "$cross_compiling" = yes; then
36625
36626 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
36627 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
36628 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
36629 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
36630 wx_cv_func_snprintf_pos_params=no
36631
36632
36633 else
36634 cat >conftest.$ac_ext <<_ACEOF
36635 /* confdefs.h. */
36636 _ACEOF
36637 cat confdefs.h >>conftest.$ac_ext
36638 cat >>conftest.$ac_ext <<_ACEOF
36639 /* end confdefs.h. */
36640
36641 #include <stdio.h>
36642
36643 int main (void)
36644 {
36645 char buffer[128];
36646 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
36647 if (strcmp ("2 3 1", buffer) == 0)
36648 exit (0);
36649 exit (1);
36650 }
36651
36652 _ACEOF
36653 rm -f conftest$ac_exeext
36654 if { (ac_try="$ac_link"
36655 case "(($ac_try" in
36656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36657 *) ac_try_echo=$ac_try;;
36658 esac
36659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36660 (eval "$ac_link") 2>&5
36661 ac_status=$?
36662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36663 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
36664 { (case "(($ac_try" in
36665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36666 *) ac_try_echo=$ac_try;;
36667 esac
36668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36669 (eval "$ac_try") 2>&5
36670 ac_status=$?
36671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36672 (exit $ac_status); }; }; then
36673 wx_cv_func_snprintf_pos_params=no
36674 else
36675 echo "$as_me: program exited with status $ac_status" >&5
36676 echo "$as_me: failed program was:" >&5
36677 sed 's/^/| /' conftest.$ac_ext >&5
36678
36679 ( exit $ac_status )
36680 wx_cv_func_snprintf_pos_params=yes
36681 fi
36682 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36683 fi
36684
36685
36686
36687
36688 fi
36689 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
36690 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
36691
36692 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
36693 cat >>confdefs.h <<\_ACEOF
36694 #define HAVE_UNIX98_PRINTF 1
36695 _ACEOF
36696
36697 fi
36698 fi
36699 fi
36700
36701 if test "$ac_cv_func_vsscanf" = "yes"; then
36702 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
36703 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
36704 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
36705 echo $ECHO_N "(cached) $ECHO_C" >&6
36706 else
36707
36708 cat >conftest.$ac_ext <<_ACEOF
36709 /* confdefs.h. */
36710 _ACEOF
36711 cat confdefs.h >>conftest.$ac_ext
36712 cat >>conftest.$ac_ext <<_ACEOF
36713 /* end confdefs.h. */
36714
36715 #include <stdio.h>
36716 #include <stdarg.h>
36717 #ifdef __MSL__
36718 #if __MSL__ >= 0x6000
36719 namespace std {}
36720 using namespace std;
36721 #endif
36722 #endif
36723
36724 int
36725 main ()
36726 {
36727
36728 char *buf;
36729 va_list args;
36730 vsscanf(buf, "%s", args);
36731
36732 ;
36733 return 0;
36734 }
36735 _ACEOF
36736 rm -f conftest.$ac_objext
36737 if { (ac_try="$ac_compile"
36738 case "(($ac_try" in
36739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36740 *) ac_try_echo=$ac_try;;
36741 esac
36742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36743 (eval "$ac_compile") 2>conftest.er1
36744 ac_status=$?
36745 grep -v '^ *+' conftest.er1 >conftest.err
36746 rm -f conftest.er1
36747 cat conftest.err >&5
36748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36749 (exit $ac_status); } && {
36750 test -z "$ac_cxx_werror_flag" ||
36751 test ! -s conftest.err
36752 } && test -s conftest.$ac_objext; then
36753 wx_cv_func_vsscanf_decl=yes
36754 else
36755 echo "$as_me: failed program was:" >&5
36756 sed 's/^/| /' conftest.$ac_ext >&5
36757
36758 wx_cv_func_vsscanf_decl=no
36759
36760 fi
36761
36762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36763
36764
36765 fi
36766 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
36767 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
36768
36769 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
36770 cat >>confdefs.h <<\_ACEOF
36771 #define HAVE_VSSCANF_DECL 1
36772 _ACEOF
36773
36774 fi
36775 fi
36776 ac_ext=c
36777 ac_cpp='$CPP $CPPFLAGS'
36778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36781
36782
36783 if test "$wxUSE_UNICODE" = yes; then
36784
36785 wchar_headers="#include <stdio.h>
36786 #include <wchar.h>"
36787 case "${host}" in
36788 *-*-solaris2* )
36789
36790 for ac_header in widec.h
36791 do
36792 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36793 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36794 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36795 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36796 echo $ECHO_N "(cached) $ECHO_C" >&6
36797 else
36798 cat >conftest.$ac_ext <<_ACEOF
36799 /* confdefs.h. */
36800 _ACEOF
36801 cat confdefs.h >>conftest.$ac_ext
36802 cat >>conftest.$ac_ext <<_ACEOF
36803 /* end confdefs.h. */
36804 $ac_includes_default
36805
36806 #include <$ac_header>
36807 _ACEOF
36808 rm -f conftest.$ac_objext
36809 if { (ac_try="$ac_compile"
36810 case "(($ac_try" in
36811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36812 *) ac_try_echo=$ac_try;;
36813 esac
36814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36815 (eval "$ac_compile") 2>conftest.er1
36816 ac_status=$?
36817 grep -v '^ *+' conftest.er1 >conftest.err
36818 rm -f conftest.er1
36819 cat conftest.err >&5
36820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36821 (exit $ac_status); } && {
36822 test -z "$ac_c_werror_flag" ||
36823 test ! -s conftest.err
36824 } && test -s conftest.$ac_objext; then
36825 eval "$as_ac_Header=yes"
36826 else
36827 echo "$as_me: failed program was:" >&5
36828 sed 's/^/| /' conftest.$ac_ext >&5
36829
36830 eval "$as_ac_Header=no"
36831 fi
36832
36833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36834 fi
36835 ac_res=`eval echo '${'$as_ac_Header'}'`
36836 { echo "$as_me:$LINENO: result: $ac_res" >&5
36837 echo "${ECHO_T}$ac_res" >&6; }
36838 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36839 cat >>confdefs.h <<_ACEOF
36840 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36841 _ACEOF
36842
36843 fi
36844
36845 done
36846
36847 if test "$ac_cv_header_widec_h" = "yes"; then
36848 wchar_headers="$wchar_headers
36849 #include <widec.h>"
36850 fi
36851 esac
36852
36853
36854 for wx_func in putws fputws wprintf vswprintf vswscanf
36855 do
36856 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36857 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36858 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36859 echo $ECHO_N "(cached) $ECHO_C" >&6
36860 else
36861
36862 cat >conftest.$ac_ext <<_ACEOF
36863
36864 /* confdefs.h. */
36865 _ACEOF
36866 cat confdefs.h >>conftest.$ac_ext
36867 cat >>conftest.$ac_ext <<_ACEOF
36868 /* end confdefs.h. */
36869
36870 $wchar_headers
36871 $ac_includes_default
36872
36873 int
36874 main ()
36875 {
36876
36877 #ifndef $wx_func
36878 &$wx_func;
36879 #endif
36880
36881
36882 ;
36883 return 0;
36884 }
36885
36886 _ACEOF
36887 rm -f conftest.$ac_objext conftest$ac_exeext
36888 if { (ac_try="$ac_link"
36889 case "(($ac_try" in
36890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36891 *) ac_try_echo=$ac_try;;
36892 esac
36893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36894 (eval "$ac_link") 2>conftest.er1
36895 ac_status=$?
36896 grep -v '^ *+' conftest.er1 >conftest.err
36897 rm -f conftest.er1
36898 cat conftest.err >&5
36899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36900 (exit $ac_status); } && {
36901 test -z "$ac_c_werror_flag" ||
36902 test ! -s conftest.err
36903 } && test -s conftest$ac_exeext &&
36904 $as_test_x conftest$ac_exeext; then
36905 eval wx_cv_func_$wx_func=yes
36906 else
36907 echo "$as_me: failed program was:" >&5
36908 sed 's/^/| /' conftest.$ac_ext >&5
36909
36910 eval wx_cv_func_$wx_func=no
36911 fi
36912
36913 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36914 conftest$ac_exeext conftest.$ac_ext
36915
36916 fi
36917 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36918 { echo "$as_me:$LINENO: result: $ac_res" >&5
36919 echo "${ECHO_T}$ac_res" >&6; }
36920
36921 if eval test \$wx_cv_func_$wx_func = yes
36922 then
36923 cat >>confdefs.h <<_ACEOF
36924 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36925 _ACEOF
36926
36927
36928 else
36929 :
36930
36931 fi
36932 done
36933
36934
36935 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36936 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
36937 cat >conftest.$ac_ext <<_ACEOF
36938 /* confdefs.h. */
36939 _ACEOF
36940 cat confdefs.h >>conftest.$ac_ext
36941 cat >>conftest.$ac_ext <<_ACEOF
36942 /* end confdefs.h. */
36943 #include <wchar.h>
36944 int
36945 main ()
36946 {
36947 &_vsnwprintf;
36948 ;
36949 return 0;
36950 }
36951 _ACEOF
36952 rm -f conftest.$ac_objext
36953 if { (ac_try="$ac_compile"
36954 case "(($ac_try" in
36955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36956 *) ac_try_echo=$ac_try;;
36957 esac
36958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36959 (eval "$ac_compile") 2>conftest.er1
36960 ac_status=$?
36961 grep -v '^ *+' conftest.er1 >conftest.err
36962 rm -f conftest.er1
36963 cat conftest.err >&5
36964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36965 (exit $ac_status); } && {
36966 test -z "$ac_c_werror_flag" ||
36967 test ! -s conftest.err
36968 } && test -s conftest.$ac_objext; then
36969 { echo "$as_me:$LINENO: result: yes" >&5
36970 echo "${ECHO_T}yes" >&6; }
36971 cat >>confdefs.h <<\_ACEOF
36972 #define HAVE__VSNWPRINTF 1
36973 _ACEOF
36974
36975 else
36976 echo "$as_me: failed program was:" >&5
36977 sed 's/^/| /' conftest.$ac_ext >&5
36978
36979 { echo "$as_me:$LINENO: result: no" >&5
36980 echo "${ECHO_T}no" >&6; }
36981 fi
36982
36983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
36984 fi
36985
36986 if test "$wxUSE_FILE" = "yes"; then
36987
36988 for wx_func in fsync
36989 do
36990 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36991 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36992 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36993 echo $ECHO_N "(cached) $ECHO_C" >&6
36994 else
36995
36996 cat >conftest.$ac_ext <<_ACEOF
36997
36998 /* confdefs.h. */
36999 _ACEOF
37000 cat confdefs.h >>conftest.$ac_ext
37001 cat >>conftest.$ac_ext <<_ACEOF
37002 /* end confdefs.h. */
37003
37004
37005 $ac_includes_default
37006
37007 int
37008 main ()
37009 {
37010
37011 #ifndef $wx_func
37012 &$wx_func;
37013 #endif
37014
37015
37016 ;
37017 return 0;
37018 }
37019
37020 _ACEOF
37021 rm -f conftest.$ac_objext conftest$ac_exeext
37022 if { (ac_try="$ac_link"
37023 case "(($ac_try" in
37024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37025 *) ac_try_echo=$ac_try;;
37026 esac
37027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37028 (eval "$ac_link") 2>conftest.er1
37029 ac_status=$?
37030 grep -v '^ *+' conftest.er1 >conftest.err
37031 rm -f conftest.er1
37032 cat conftest.err >&5
37033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37034 (exit $ac_status); } && {
37035 test -z "$ac_c_werror_flag" ||
37036 test ! -s conftest.err
37037 } && test -s conftest$ac_exeext &&
37038 $as_test_x conftest$ac_exeext; then
37039 eval wx_cv_func_$wx_func=yes
37040 else
37041 echo "$as_me: failed program was:" >&5
37042 sed 's/^/| /' conftest.$ac_ext >&5
37043
37044 eval wx_cv_func_$wx_func=no
37045 fi
37046
37047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37048 conftest$ac_exeext conftest.$ac_ext
37049
37050 fi
37051 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37052 { echo "$as_me:$LINENO: result: $ac_res" >&5
37053 echo "${ECHO_T}$ac_res" >&6; }
37054
37055 if eval test \$wx_cv_func_$wx_func = yes
37056 then
37057 cat >>confdefs.h <<_ACEOF
37058 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37059 _ACEOF
37060
37061
37062 else
37063 :
37064
37065 fi
37066 done
37067
37068 fi
37069
37070 ac_ext=cpp
37071 ac_cpp='$CXXCPP $CPPFLAGS'
37072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37075
37076
37077 for wx_func in round
37078 do
37079 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37080 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37081 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37082 echo $ECHO_N "(cached) $ECHO_C" >&6
37083 else
37084
37085 cat >conftest.$ac_ext <<_ACEOF
37086
37087 /* confdefs.h. */
37088 _ACEOF
37089 cat confdefs.h >>conftest.$ac_ext
37090 cat >>conftest.$ac_ext <<_ACEOF
37091 /* end confdefs.h. */
37092
37093 #include <math.h>
37094 $ac_includes_default
37095
37096 int
37097 main ()
37098 {
37099
37100 #ifndef $wx_func
37101 &$wx_func;
37102 #endif
37103
37104
37105 ;
37106 return 0;
37107 }
37108
37109 _ACEOF
37110 rm -f conftest.$ac_objext conftest$ac_exeext
37111 if { (ac_try="$ac_link"
37112 case "(($ac_try" in
37113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37114 *) ac_try_echo=$ac_try;;
37115 esac
37116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37117 (eval "$ac_link") 2>conftest.er1
37118 ac_status=$?
37119 grep -v '^ *+' conftest.er1 >conftest.err
37120 rm -f conftest.er1
37121 cat conftest.err >&5
37122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37123 (exit $ac_status); } && {
37124 test -z "$ac_cxx_werror_flag" ||
37125 test ! -s conftest.err
37126 } && test -s conftest$ac_exeext &&
37127 $as_test_x conftest$ac_exeext; then
37128 eval wx_cv_func_$wx_func=yes
37129 else
37130 echo "$as_me: failed program was:" >&5
37131 sed 's/^/| /' conftest.$ac_ext >&5
37132
37133 eval wx_cv_func_$wx_func=no
37134 fi
37135
37136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37137 conftest$ac_exeext conftest.$ac_ext
37138
37139 fi
37140 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37141 { echo "$as_me:$LINENO: result: $ac_res" >&5
37142 echo "${ECHO_T}$ac_res" >&6; }
37143
37144 if eval test \$wx_cv_func_$wx_func = yes
37145 then
37146 cat >>confdefs.h <<_ACEOF
37147 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37148 _ACEOF
37149
37150
37151 else
37152 :
37153
37154 fi
37155 done
37156
37157 ac_ext=c
37158 ac_cpp='$CPP $CPPFLAGS'
37159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37162
37163
37164 if test "$TOOLKIT" != "MSW"; then
37165
37166 if test "$wxUSE_LIBICONV" != "no" ; then
37167
37168
37169
37170 # Check whether --with-libiconv-prefix was given.
37171 if test "${with_libiconv_prefix+set}" = set; then
37172 withval=$with_libiconv_prefix;
37173 for dir in `echo "$withval" | tr : ' '`; do
37174 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37175 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37176 done
37177
37178 fi
37179
37180
37181 { echo "$as_me:$LINENO: checking for iconv" >&5
37182 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37183 if test "${am_cv_func_iconv+set}" = set; then
37184 echo $ECHO_N "(cached) $ECHO_C" >&6
37185 else
37186
37187 am_cv_func_iconv="no, consider installing GNU libiconv"
37188 am_cv_lib_iconv=no
37189 cat >conftest.$ac_ext <<_ACEOF
37190 /* confdefs.h. */
37191 _ACEOF
37192 cat confdefs.h >>conftest.$ac_ext
37193 cat >>conftest.$ac_ext <<_ACEOF
37194 /* end confdefs.h. */
37195 #include <stdlib.h>
37196 #include <iconv.h>
37197 int
37198 main ()
37199 {
37200 iconv_t cd = iconv_open("","");
37201 iconv(cd,NULL,NULL,NULL,NULL);
37202 iconv_close(cd);
37203 ;
37204 return 0;
37205 }
37206 _ACEOF
37207 rm -f conftest.$ac_objext conftest$ac_exeext
37208 if { (ac_try="$ac_link"
37209 case "(($ac_try" in
37210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37211 *) ac_try_echo=$ac_try;;
37212 esac
37213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37214 (eval "$ac_link") 2>conftest.er1
37215 ac_status=$?
37216 grep -v '^ *+' conftest.er1 >conftest.err
37217 rm -f conftest.er1
37218 cat conftest.err >&5
37219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37220 (exit $ac_status); } && {
37221 test -z "$ac_c_werror_flag" ||
37222 test ! -s conftest.err
37223 } && test -s conftest$ac_exeext &&
37224 $as_test_x conftest$ac_exeext; then
37225 am_cv_func_iconv=yes
37226 else
37227 echo "$as_me: failed program was:" >&5
37228 sed 's/^/| /' conftest.$ac_ext >&5
37229
37230
37231 fi
37232
37233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37234 conftest$ac_exeext conftest.$ac_ext
37235 if test "$am_cv_func_iconv" != yes; then
37236 am_save_LIBS="$LIBS"
37237 LIBS="$LIBS -liconv"
37238 cat >conftest.$ac_ext <<_ACEOF
37239 /* confdefs.h. */
37240 _ACEOF
37241 cat confdefs.h >>conftest.$ac_ext
37242 cat >>conftest.$ac_ext <<_ACEOF
37243 /* end confdefs.h. */
37244 #include <stdlib.h>
37245 #include <iconv.h>
37246 int
37247 main ()
37248 {
37249 iconv_t cd = iconv_open("","");
37250 iconv(cd,NULL,NULL,NULL,NULL);
37251 iconv_close(cd);
37252 ;
37253 return 0;
37254 }
37255 _ACEOF
37256 rm -f conftest.$ac_objext conftest$ac_exeext
37257 if { (ac_try="$ac_link"
37258 case "(($ac_try" in
37259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37260 *) ac_try_echo=$ac_try;;
37261 esac
37262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37263 (eval "$ac_link") 2>conftest.er1
37264 ac_status=$?
37265 grep -v '^ *+' conftest.er1 >conftest.err
37266 rm -f conftest.er1
37267 cat conftest.err >&5
37268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37269 (exit $ac_status); } && {
37270 test -z "$ac_c_werror_flag" ||
37271 test ! -s conftest.err
37272 } && test -s conftest$ac_exeext &&
37273 $as_test_x conftest$ac_exeext; then
37274 am_cv_lib_iconv=yes
37275 am_cv_func_iconv=yes
37276 else
37277 echo "$as_me: failed program was:" >&5
37278 sed 's/^/| /' conftest.$ac_ext >&5
37279
37280
37281 fi
37282
37283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37284 conftest$ac_exeext conftest.$ac_ext
37285 LIBS="$am_save_LIBS"
37286 fi
37287
37288 fi
37289 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37290 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
37291 if test "$am_cv_func_iconv" = yes; then
37292
37293 cat >>confdefs.h <<\_ACEOF
37294 #define HAVE_ICONV 1
37295 _ACEOF
37296
37297 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
37298 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
37299 if test "${wx_cv_func_iconv_const+set}" = set; then
37300 echo $ECHO_N "(cached) $ECHO_C" >&6
37301 else
37302 cat >conftest.$ac_ext <<_ACEOF
37303 /* confdefs.h. */
37304 _ACEOF
37305 cat confdefs.h >>conftest.$ac_ext
37306 cat >>conftest.$ac_ext <<_ACEOF
37307 /* end confdefs.h. */
37308
37309 #include <stdlib.h>
37310 #include <iconv.h>
37311 extern
37312 #ifdef __cplusplus
37313 "C"
37314 #endif
37315 #if defined(__STDC__) || defined(__cplusplus)
37316 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37317 #else
37318 size_t iconv();
37319 #endif
37320
37321 int
37322 main ()
37323 {
37324
37325 ;
37326 return 0;
37327 }
37328 _ACEOF
37329 rm -f conftest.$ac_objext
37330 if { (ac_try="$ac_compile"
37331 case "(($ac_try" in
37332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37333 *) ac_try_echo=$ac_try;;
37334 esac
37335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37336 (eval "$ac_compile") 2>conftest.er1
37337 ac_status=$?
37338 grep -v '^ *+' conftest.er1 >conftest.err
37339 rm -f conftest.er1
37340 cat conftest.err >&5
37341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37342 (exit $ac_status); } && {
37343 test -z "$ac_c_werror_flag" ||
37344 test ! -s conftest.err
37345 } && test -s conftest.$ac_objext; then
37346 wx_cv_func_iconv_const="no"
37347 else
37348 echo "$as_me: failed program was:" >&5
37349 sed 's/^/| /' conftest.$ac_ext >&5
37350
37351 wx_cv_func_iconv_const="yes"
37352
37353 fi
37354
37355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37356
37357 fi
37358 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37359 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
37360
37361 iconv_const=
37362 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37363 iconv_const="const"
37364 fi
37365
37366
37367 cat >>confdefs.h <<_ACEOF
37368 #define ICONV_CONST $iconv_const
37369 _ACEOF
37370
37371 fi
37372 LIBICONV=
37373 if test "$am_cv_lib_iconv" = yes; then
37374 LIBICONV="-liconv"
37375 fi
37376
37377
37378 LIBS="$LIBICONV $LIBS"
37379 fi
37380
37381 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37382
37383 for ac_func in sigaction
37384 do
37385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37386 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37388 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37389 echo $ECHO_N "(cached) $ECHO_C" >&6
37390 else
37391 cat >conftest.$ac_ext <<_ACEOF
37392 /* confdefs.h. */
37393 _ACEOF
37394 cat confdefs.h >>conftest.$ac_ext
37395 cat >>conftest.$ac_ext <<_ACEOF
37396 /* end confdefs.h. */
37397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37399 #define $ac_func innocuous_$ac_func
37400
37401 /* System header to define __stub macros and hopefully few prototypes,
37402 which can conflict with char $ac_func (); below.
37403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37404 <limits.h> exists even on freestanding compilers. */
37405
37406 #ifdef __STDC__
37407 # include <limits.h>
37408 #else
37409 # include <assert.h>
37410 #endif
37411
37412 #undef $ac_func
37413
37414 /* Override any GCC internal prototype to avoid an error.
37415 Use char because int might match the return type of a GCC
37416 builtin and then its argument prototype would still apply. */
37417 #ifdef __cplusplus
37418 extern "C"
37419 #endif
37420 char $ac_func ();
37421 /* The GNU C library defines this for functions which it implements
37422 to always fail with ENOSYS. Some functions are actually named
37423 something starting with __ and the normal name is an alias. */
37424 #if defined __stub_$ac_func || defined __stub___$ac_func
37425 choke me
37426 #endif
37427
37428 int
37429 main ()
37430 {
37431 return $ac_func ();
37432 ;
37433 return 0;
37434 }
37435 _ACEOF
37436 rm -f conftest.$ac_objext conftest$ac_exeext
37437 if { (ac_try="$ac_link"
37438 case "(($ac_try" in
37439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37440 *) ac_try_echo=$ac_try;;
37441 esac
37442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37443 (eval "$ac_link") 2>conftest.er1
37444 ac_status=$?
37445 grep -v '^ *+' conftest.er1 >conftest.err
37446 rm -f conftest.er1
37447 cat conftest.err >&5
37448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37449 (exit $ac_status); } && {
37450 test -z "$ac_c_werror_flag" ||
37451 test ! -s conftest.err
37452 } && test -s conftest$ac_exeext &&
37453 $as_test_x conftest$ac_exeext; then
37454 eval "$as_ac_var=yes"
37455 else
37456 echo "$as_me: failed program was:" >&5
37457 sed 's/^/| /' conftest.$ac_ext >&5
37458
37459 eval "$as_ac_var=no"
37460 fi
37461
37462 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37463 conftest$ac_exeext conftest.$ac_ext
37464 fi
37465 ac_res=`eval echo '${'$as_ac_var'}'`
37466 { echo "$as_me:$LINENO: result: $ac_res" >&5
37467 echo "${ECHO_T}$ac_res" >&6; }
37468 if test `eval echo '${'$as_ac_var'}'` = yes; then
37469 cat >>confdefs.h <<_ACEOF
37470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37471 _ACEOF
37472
37473 fi
37474 done
37475
37476
37477 if test "$ac_cv_func_sigaction" = "no"; then
37478 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37479 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37480 wxUSE_ON_FATAL_EXCEPTION=no
37481 fi
37482
37483 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37484 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37485 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37486 if test "${wx_cv_type_sa_handler+set}" = set; then
37487 echo $ECHO_N "(cached) $ECHO_C" >&6
37488 else
37489
37490 ac_ext=cpp
37491 ac_cpp='$CXXCPP $CPPFLAGS'
37492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37495
37496 cat >conftest.$ac_ext <<_ACEOF
37497 /* confdefs.h. */
37498 _ACEOF
37499 cat confdefs.h >>conftest.$ac_ext
37500 cat >>conftest.$ac_ext <<_ACEOF
37501 /* end confdefs.h. */
37502 #include <signal.h>
37503 int
37504 main ()
37505 {
37506
37507 extern void testSigHandler(int);
37508
37509 struct sigaction sa;
37510 sa.sa_handler = testSigHandler;
37511
37512 ;
37513 return 0;
37514 }
37515 _ACEOF
37516 rm -f conftest.$ac_objext
37517 if { (ac_try="$ac_compile"
37518 case "(($ac_try" in
37519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37520 *) ac_try_echo=$ac_try;;
37521 esac
37522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37523 (eval "$ac_compile") 2>conftest.er1
37524 ac_status=$?
37525 grep -v '^ *+' conftest.er1 >conftest.err
37526 rm -f conftest.er1
37527 cat conftest.err >&5
37528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37529 (exit $ac_status); } && {
37530 test -z "$ac_cxx_werror_flag" ||
37531 test ! -s conftest.err
37532 } && test -s conftest.$ac_objext; then
37533
37534 wx_cv_type_sa_handler=int
37535
37536 else
37537 echo "$as_me: failed program was:" >&5
37538 sed 's/^/| /' conftest.$ac_ext >&5
37539
37540
37541 wx_cv_type_sa_handler=void
37542
37543 fi
37544
37545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37546 ac_ext=c
37547 ac_cpp='$CPP $CPPFLAGS'
37548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37551
37552
37553 fi
37554 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37555 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
37556
37557 cat >>confdefs.h <<_ACEOF
37558 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37559 _ACEOF
37560
37561 fi
37562 fi
37563
37564 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37565 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37566 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
37567 if test "${wx_cv_func_backtrace+set}" = set; then
37568 echo $ECHO_N "(cached) $ECHO_C" >&6
37569 else
37570
37571 ac_ext=cpp
37572 ac_cpp='$CXXCPP $CPPFLAGS'
37573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37576
37577 cat >conftest.$ac_ext <<_ACEOF
37578 /* confdefs.h. */
37579 _ACEOF
37580 cat confdefs.h >>conftest.$ac_ext
37581 cat >>conftest.$ac_ext <<_ACEOF
37582 /* end confdefs.h. */
37583 #include <execinfo.h>
37584 int
37585 main ()
37586 {
37587
37588 void *trace[1];
37589 char **messages;
37590
37591 backtrace(trace, 1);
37592 messages = backtrace_symbols(trace, 1);
37593
37594 ;
37595 return 0;
37596 }
37597 _ACEOF
37598 rm -f conftest.$ac_objext
37599 if { (ac_try="$ac_compile"
37600 case "(($ac_try" in
37601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37602 *) ac_try_echo=$ac_try;;
37603 esac
37604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37605 (eval "$ac_compile") 2>conftest.er1
37606 ac_status=$?
37607 grep -v '^ *+' conftest.er1 >conftest.err
37608 rm -f conftest.er1
37609 cat conftest.err >&5
37610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37611 (exit $ac_status); } && {
37612 test -z "$ac_cxx_werror_flag" ||
37613 test ! -s conftest.err
37614 } && test -s conftest.$ac_objext; then
37615 wx_cv_func_backtrace=yes
37616 else
37617 echo "$as_me: failed program was:" >&5
37618 sed 's/^/| /' conftest.$ac_ext >&5
37619
37620 wx_cv_func_backtrace=no
37621
37622 fi
37623
37624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37625 ac_ext=c
37626 ac_cpp='$CPP $CPPFLAGS'
37627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37630
37631
37632
37633 fi
37634 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37635 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
37636
37637
37638 if test "$wx_cv_func_backtrace" = "no"; then
37639 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37640 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37641 wxUSE_STACKWALKER=no
37642 else
37643 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37644 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
37645 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37646 echo $ECHO_N "(cached) $ECHO_C" >&6
37647 else
37648
37649 ac_ext=cpp
37650 ac_cpp='$CXXCPP $CPPFLAGS'
37651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37654
37655 cat >conftest.$ac_ext <<_ACEOF
37656 /* confdefs.h. */
37657 _ACEOF
37658 cat confdefs.h >>conftest.$ac_ext
37659 cat >>conftest.$ac_ext <<_ACEOF
37660 /* end confdefs.h. */
37661 #include <cxxabi.h>
37662 int
37663 main ()
37664 {
37665
37666 int rc;
37667 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37668
37669 ;
37670 return 0;
37671 }
37672 _ACEOF
37673 rm -f conftest.$ac_objext conftest$ac_exeext
37674 if { (ac_try="$ac_link"
37675 case "(($ac_try" in
37676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37677 *) ac_try_echo=$ac_try;;
37678 esac
37679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37680 (eval "$ac_link") 2>conftest.er1
37681 ac_status=$?
37682 grep -v '^ *+' conftest.er1 >conftest.err
37683 rm -f conftest.er1
37684 cat conftest.err >&5
37685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37686 (exit $ac_status); } && {
37687 test -z "$ac_cxx_werror_flag" ||
37688 test ! -s conftest.err
37689 } && test -s conftest$ac_exeext &&
37690 $as_test_x conftest$ac_exeext; then
37691 wx_cv_func_cxa_demangle=yes
37692 else
37693 echo "$as_me: failed program was:" >&5
37694 sed 's/^/| /' conftest.$ac_ext >&5
37695
37696 wx_cv_func_cxa_demangle=no
37697
37698 fi
37699
37700 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37701 conftest$ac_exeext conftest.$ac_ext
37702 ac_ext=c
37703 ac_cpp='$CPP $CPPFLAGS'
37704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37707
37708
37709
37710 fi
37711 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37712 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
37713
37714 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37715 cat >>confdefs.h <<\_ACEOF
37716 #define HAVE_CXA_DEMANGLE 1
37717 _ACEOF
37718
37719 fi
37720 fi
37721 fi
37722
37723 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
37724 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37725 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37726 wxUSE_STACKWALKER=no
37727 fi
37728
37729
37730
37731
37732 for ac_func in mkstemp mktemp
37733 do
37734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37735 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37737 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37738 echo $ECHO_N "(cached) $ECHO_C" >&6
37739 else
37740 cat >conftest.$ac_ext <<_ACEOF
37741 /* confdefs.h. */
37742 _ACEOF
37743 cat confdefs.h >>conftest.$ac_ext
37744 cat >>conftest.$ac_ext <<_ACEOF
37745 /* end confdefs.h. */
37746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37748 #define $ac_func innocuous_$ac_func
37749
37750 /* System header to define __stub macros and hopefully few prototypes,
37751 which can conflict with char $ac_func (); below.
37752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37753 <limits.h> exists even on freestanding compilers. */
37754
37755 #ifdef __STDC__
37756 # include <limits.h>
37757 #else
37758 # include <assert.h>
37759 #endif
37760
37761 #undef $ac_func
37762
37763 /* Override any GCC internal prototype to avoid an error.
37764 Use char because int might match the return type of a GCC
37765 builtin and then its argument prototype would still apply. */
37766 #ifdef __cplusplus
37767 extern "C"
37768 #endif
37769 char $ac_func ();
37770 /* The GNU C library defines this for functions which it implements
37771 to always fail with ENOSYS. Some functions are actually named
37772 something starting with __ and the normal name is an alias. */
37773 #if defined __stub_$ac_func || defined __stub___$ac_func
37774 choke me
37775 #endif
37776
37777 int
37778 main ()
37779 {
37780 return $ac_func ();
37781 ;
37782 return 0;
37783 }
37784 _ACEOF
37785 rm -f conftest.$ac_objext conftest$ac_exeext
37786 if { (ac_try="$ac_link"
37787 case "(($ac_try" in
37788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37789 *) ac_try_echo=$ac_try;;
37790 esac
37791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37792 (eval "$ac_link") 2>conftest.er1
37793 ac_status=$?
37794 grep -v '^ *+' conftest.er1 >conftest.err
37795 rm -f conftest.er1
37796 cat conftest.err >&5
37797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37798 (exit $ac_status); } && {
37799 test -z "$ac_c_werror_flag" ||
37800 test ! -s conftest.err
37801 } && test -s conftest$ac_exeext &&
37802 $as_test_x conftest$ac_exeext; then
37803 eval "$as_ac_var=yes"
37804 else
37805 echo "$as_me: failed program was:" >&5
37806 sed 's/^/| /' conftest.$ac_ext >&5
37807
37808 eval "$as_ac_var=no"
37809 fi
37810
37811 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37812 conftest$ac_exeext conftest.$ac_ext
37813 fi
37814 ac_res=`eval echo '${'$as_ac_var'}'`
37815 { echo "$as_me:$LINENO: result: $ac_res" >&5
37816 echo "${ECHO_T}$ac_res" >&6; }
37817 if test `eval echo '${'$as_ac_var'}'` = yes; then
37818 cat >>confdefs.h <<_ACEOF
37819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37820 _ACEOF
37821 break
37822 fi
37823 done
37824
37825
37826 { echo "$as_me:$LINENO: checking for statfs" >&5
37827 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
37828 if test "${wx_cv_func_statfs+set}" = set; then
37829 echo $ECHO_N "(cached) $ECHO_C" >&6
37830 else
37831 cat >conftest.$ac_ext <<_ACEOF
37832 /* confdefs.h. */
37833 _ACEOF
37834 cat confdefs.h >>conftest.$ac_ext
37835 cat >>conftest.$ac_ext <<_ACEOF
37836 /* end confdefs.h. */
37837
37838 #if defined(__BSD__)
37839 #include <sys/param.h>
37840 #include <sys/mount.h>
37841 #else
37842 #include <sys/vfs.h>
37843 #endif
37844
37845 int
37846 main ()
37847 {
37848
37849 long l;
37850 struct statfs fs;
37851 statfs("/", &fs);
37852 l = fs.f_bsize;
37853 l += fs.f_blocks;
37854 l += fs.f_bavail;
37855
37856 ;
37857 return 0;
37858 }
37859 _ACEOF
37860 rm -f conftest.$ac_objext
37861 if { (ac_try="$ac_compile"
37862 case "(($ac_try" in
37863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37864 *) ac_try_echo=$ac_try;;
37865 esac
37866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37867 (eval "$ac_compile") 2>conftest.er1
37868 ac_status=$?
37869 grep -v '^ *+' conftest.er1 >conftest.err
37870 rm -f conftest.er1
37871 cat conftest.err >&5
37872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37873 (exit $ac_status); } && {
37874 test -z "$ac_c_werror_flag" ||
37875 test ! -s conftest.err
37876 } && test -s conftest.$ac_objext; then
37877 wx_cv_func_statfs=yes
37878 else
37879 echo "$as_me: failed program was:" >&5
37880 sed 's/^/| /' conftest.$ac_ext >&5
37881
37882 wx_cv_func_statfs=no
37883
37884 fi
37885
37886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37887
37888 fi
37889 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37890 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
37891
37892 if test "$wx_cv_func_statfs" = "yes"; then
37893 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
37894 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
37895 if test "${wx_cv_func_statfs_decl+set}" = set; then
37896 echo $ECHO_N "(cached) $ECHO_C" >&6
37897 else
37898 ac_ext=cpp
37899 ac_cpp='$CXXCPP $CPPFLAGS'
37900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37903
37904 cat >conftest.$ac_ext <<_ACEOF
37905 /* confdefs.h. */
37906 _ACEOF
37907 cat confdefs.h >>conftest.$ac_ext
37908 cat >>conftest.$ac_ext <<_ACEOF
37909 /* end confdefs.h. */
37910
37911 #if defined(__BSD__)
37912 #include <sys/param.h>
37913 #include <sys/mount.h>
37914 #else
37915 #include <sys/vfs.h>
37916 #endif
37917
37918 int
37919 main ()
37920 {
37921
37922 struct statfs fs;
37923 statfs("", &fs);
37924
37925 ;
37926 return 0;
37927 }
37928 _ACEOF
37929 rm -f conftest.$ac_objext
37930 if { (ac_try="$ac_compile"
37931 case "(($ac_try" in
37932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37933 *) ac_try_echo=$ac_try;;
37934 esac
37935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37936 (eval "$ac_compile") 2>conftest.er1
37937 ac_status=$?
37938 grep -v '^ *+' conftest.er1 >conftest.err
37939 rm -f conftest.er1
37940 cat conftest.err >&5
37941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37942 (exit $ac_status); } && {
37943 test -z "$ac_cxx_werror_flag" ||
37944 test ! -s conftest.err
37945 } && test -s conftest.$ac_objext; then
37946 wx_cv_func_statfs_decl=yes
37947 else
37948 echo "$as_me: failed program was:" >&5
37949 sed 's/^/| /' conftest.$ac_ext >&5
37950
37951 wx_cv_func_statfs_decl=no
37952
37953 fi
37954
37955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37956 ac_ext=c
37957 ac_cpp='$CPP $CPPFLAGS'
37958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37961
37962
37963 fi
37964 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37965 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
37966
37967 if test "$wx_cv_func_statfs_decl" = "yes"; then
37968 cat >>confdefs.h <<\_ACEOF
37969 #define HAVE_STATFS_DECL 1
37970 _ACEOF
37971
37972 fi
37973
37974 wx_cv_type_statvfs_t="struct statfs"
37975 cat >>confdefs.h <<\_ACEOF
37976 #define HAVE_STATFS 1
37977 _ACEOF
37978
37979 else
37980 { echo "$as_me:$LINENO: checking for statvfs" >&5
37981 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
37982 if test "${wx_cv_func_statvfs+set}" = set; then
37983 echo $ECHO_N "(cached) $ECHO_C" >&6
37984 else
37985 cat >conftest.$ac_ext <<_ACEOF
37986 /* confdefs.h. */
37987 _ACEOF
37988 cat confdefs.h >>conftest.$ac_ext
37989 cat >>conftest.$ac_ext <<_ACEOF
37990 /* end confdefs.h. */
37991
37992 #include <stddef.h>
37993 #include <sys/statvfs.h>
37994
37995 int
37996 main ()
37997 {
37998
37999 statvfs("/", NULL);
38000
38001 ;
38002 return 0;
38003 }
38004 _ACEOF
38005 rm -f conftest.$ac_objext
38006 if { (ac_try="$ac_compile"
38007 case "(($ac_try" in
38008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38009 *) ac_try_echo=$ac_try;;
38010 esac
38011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38012 (eval "$ac_compile") 2>conftest.er1
38013 ac_status=$?
38014 grep -v '^ *+' conftest.er1 >conftest.err
38015 rm -f conftest.er1
38016 cat conftest.err >&5
38017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38018 (exit $ac_status); } && {
38019 test -z "$ac_c_werror_flag" ||
38020 test ! -s conftest.err
38021 } && test -s conftest.$ac_objext; then
38022 wx_cv_func_statvfs=yes
38023 else
38024 echo "$as_me: failed program was:" >&5
38025 sed 's/^/| /' conftest.$ac_ext >&5
38026
38027 wx_cv_func_statvfs=no
38028
38029 fi
38030
38031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38032
38033 fi
38034 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38035 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38036
38037 if test "$wx_cv_func_statvfs" = "yes"; then
38038 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38039 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38040 if test "${wx_cv_type_statvfs_t+set}" = set; then
38041 echo $ECHO_N "(cached) $ECHO_C" >&6
38042 else
38043 ac_ext=cpp
38044 ac_cpp='$CXXCPP $CPPFLAGS'
38045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38048
38049 cat >conftest.$ac_ext <<_ACEOF
38050 /* confdefs.h. */
38051 _ACEOF
38052 cat confdefs.h >>conftest.$ac_ext
38053 cat >>conftest.$ac_ext <<_ACEOF
38054 /* end confdefs.h. */
38055
38056 #include <sys/statvfs.h>
38057
38058 int
38059 main ()
38060 {
38061
38062 long l;
38063 statvfs_t fs;
38064 statvfs("/", &fs);
38065 l = fs.f_bsize;
38066 l += fs.f_blocks;
38067 l += fs.f_bavail;
38068
38069 ;
38070 return 0;
38071 }
38072 _ACEOF
38073 rm -f conftest.$ac_objext
38074 if { (ac_try="$ac_compile"
38075 case "(($ac_try" in
38076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38077 *) ac_try_echo=$ac_try;;
38078 esac
38079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38080 (eval "$ac_compile") 2>conftest.er1
38081 ac_status=$?
38082 grep -v '^ *+' conftest.er1 >conftest.err
38083 rm -f conftest.er1
38084 cat conftest.err >&5
38085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38086 (exit $ac_status); } && {
38087 test -z "$ac_cxx_werror_flag" ||
38088 test ! -s conftest.err
38089 } && test -s conftest.$ac_objext; then
38090 wx_cv_type_statvfs_t=statvfs_t
38091 else
38092 echo "$as_me: failed program was:" >&5
38093 sed 's/^/| /' conftest.$ac_ext >&5
38094
38095
38096 cat >conftest.$ac_ext <<_ACEOF
38097 /* confdefs.h. */
38098 _ACEOF
38099 cat confdefs.h >>conftest.$ac_ext
38100 cat >>conftest.$ac_ext <<_ACEOF
38101 /* end confdefs.h. */
38102
38103 #include <sys/statvfs.h>
38104
38105 int
38106 main ()
38107 {
38108
38109 long l;
38110 struct statvfs fs;
38111 statvfs("/", &fs);
38112 l = fs.f_bsize;
38113 l += fs.f_blocks;
38114 l += fs.f_bavail;
38115
38116 ;
38117 return 0;
38118 }
38119 _ACEOF
38120 rm -f conftest.$ac_objext
38121 if { (ac_try="$ac_compile"
38122 case "(($ac_try" in
38123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38124 *) ac_try_echo=$ac_try;;
38125 esac
38126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38127 (eval "$ac_compile") 2>conftest.er1
38128 ac_status=$?
38129 grep -v '^ *+' conftest.er1 >conftest.err
38130 rm -f conftest.er1
38131 cat conftest.err >&5
38132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38133 (exit $ac_status); } && {
38134 test -z "$ac_cxx_werror_flag" ||
38135 test ! -s conftest.err
38136 } && test -s conftest.$ac_objext; then
38137 wx_cv_type_statvfs_t="struct statvfs"
38138 else
38139 echo "$as_me: failed program was:" >&5
38140 sed 's/^/| /' conftest.$ac_ext >&5
38141
38142 wx_cv_type_statvfs_t="unknown"
38143
38144 fi
38145
38146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38147
38148
38149 fi
38150
38151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38152 ac_ext=c
38153 ac_cpp='$CPP $CPPFLAGS'
38154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38157
38158
38159 fi
38160 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38161 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38162
38163 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38164 cat >>confdefs.h <<\_ACEOF
38165 #define HAVE_STATVFS 1
38166 _ACEOF
38167
38168 fi
38169 else
38170 wx_cv_type_statvfs_t="unknown"
38171 fi
38172 fi
38173
38174 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38175 cat >>confdefs.h <<_ACEOF
38176 #define WX_STATFS_T $wx_cv_type_statvfs_t
38177 _ACEOF
38178
38179 else
38180 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38181 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38182 fi
38183
38184 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38185
38186
38187 for ac_func in fcntl flock
38188 do
38189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38190 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38192 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38193 echo $ECHO_N "(cached) $ECHO_C" >&6
38194 else
38195 cat >conftest.$ac_ext <<_ACEOF
38196 /* confdefs.h. */
38197 _ACEOF
38198 cat confdefs.h >>conftest.$ac_ext
38199 cat >>conftest.$ac_ext <<_ACEOF
38200 /* end confdefs.h. */
38201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38203 #define $ac_func innocuous_$ac_func
38204
38205 /* System header to define __stub macros and hopefully few prototypes,
38206 which can conflict with char $ac_func (); below.
38207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38208 <limits.h> exists even on freestanding compilers. */
38209
38210 #ifdef __STDC__
38211 # include <limits.h>
38212 #else
38213 # include <assert.h>
38214 #endif
38215
38216 #undef $ac_func
38217
38218 /* Override any GCC internal prototype to avoid an error.
38219 Use char because int might match the return type of a GCC
38220 builtin and then its argument prototype would still apply. */
38221 #ifdef __cplusplus
38222 extern "C"
38223 #endif
38224 char $ac_func ();
38225 /* The GNU C library defines this for functions which it implements
38226 to always fail with ENOSYS. Some functions are actually named
38227 something starting with __ and the normal name is an alias. */
38228 #if defined __stub_$ac_func || defined __stub___$ac_func
38229 choke me
38230 #endif
38231
38232 int
38233 main ()
38234 {
38235 return $ac_func ();
38236 ;
38237 return 0;
38238 }
38239 _ACEOF
38240 rm -f conftest.$ac_objext conftest$ac_exeext
38241 if { (ac_try="$ac_link"
38242 case "(($ac_try" in
38243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38244 *) ac_try_echo=$ac_try;;
38245 esac
38246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38247 (eval "$ac_link") 2>conftest.er1
38248 ac_status=$?
38249 grep -v '^ *+' conftest.er1 >conftest.err
38250 rm -f conftest.er1
38251 cat conftest.err >&5
38252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38253 (exit $ac_status); } && {
38254 test -z "$ac_c_werror_flag" ||
38255 test ! -s conftest.err
38256 } && test -s conftest$ac_exeext &&
38257 $as_test_x conftest$ac_exeext; then
38258 eval "$as_ac_var=yes"
38259 else
38260 echo "$as_me: failed program was:" >&5
38261 sed 's/^/| /' conftest.$ac_ext >&5
38262
38263 eval "$as_ac_var=no"
38264 fi
38265
38266 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38267 conftest$ac_exeext conftest.$ac_ext
38268 fi
38269 ac_res=`eval echo '${'$as_ac_var'}'`
38270 { echo "$as_me:$LINENO: result: $ac_res" >&5
38271 echo "${ECHO_T}$ac_res" >&6; }
38272 if test `eval echo '${'$as_ac_var'}'` = yes; then
38273 cat >>confdefs.h <<_ACEOF
38274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38275 _ACEOF
38276 break
38277 fi
38278 done
38279
38280
38281 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38282 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38283 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38284 wxUSE_SNGLINST_CHECKER=no
38285 fi
38286 fi
38287
38288
38289
38290 for ac_func in setenv putenv
38291 do
38292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38293 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38295 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38296 echo $ECHO_N "(cached) $ECHO_C" >&6
38297 else
38298 cat >conftest.$ac_ext <<_ACEOF
38299 /* confdefs.h. */
38300 _ACEOF
38301 cat confdefs.h >>conftest.$ac_ext
38302 cat >>conftest.$ac_ext <<_ACEOF
38303 /* end confdefs.h. */
38304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38306 #define $ac_func innocuous_$ac_func
38307
38308 /* System header to define __stub macros and hopefully few prototypes,
38309 which can conflict with char $ac_func (); below.
38310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38311 <limits.h> exists even on freestanding compilers. */
38312
38313 #ifdef __STDC__
38314 # include <limits.h>
38315 #else
38316 # include <assert.h>
38317 #endif
38318
38319 #undef $ac_func
38320
38321 /* Override any GCC internal prototype to avoid an error.
38322 Use char because int might match the return type of a GCC
38323 builtin and then its argument prototype would still apply. */
38324 #ifdef __cplusplus
38325 extern "C"
38326 #endif
38327 char $ac_func ();
38328 /* The GNU C library defines this for functions which it implements
38329 to always fail with ENOSYS. Some functions are actually named
38330 something starting with __ and the normal name is an alias. */
38331 #if defined __stub_$ac_func || defined __stub___$ac_func
38332 choke me
38333 #endif
38334
38335 int
38336 main ()
38337 {
38338 return $ac_func ();
38339 ;
38340 return 0;
38341 }
38342 _ACEOF
38343 rm -f conftest.$ac_objext conftest$ac_exeext
38344 if { (ac_try="$ac_link"
38345 case "(($ac_try" in
38346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38347 *) ac_try_echo=$ac_try;;
38348 esac
38349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38350 (eval "$ac_link") 2>conftest.er1
38351 ac_status=$?
38352 grep -v '^ *+' conftest.er1 >conftest.err
38353 rm -f conftest.er1
38354 cat conftest.err >&5
38355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38356 (exit $ac_status); } && {
38357 test -z "$ac_c_werror_flag" ||
38358 test ! -s conftest.err
38359 } && test -s conftest$ac_exeext &&
38360 $as_test_x conftest$ac_exeext; then
38361 eval "$as_ac_var=yes"
38362 else
38363 echo "$as_me: failed program was:" >&5
38364 sed 's/^/| /' conftest.$ac_ext >&5
38365
38366 eval "$as_ac_var=no"
38367 fi
38368
38369 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38370 conftest$ac_exeext conftest.$ac_ext
38371 fi
38372 ac_res=`eval echo '${'$as_ac_var'}'`
38373 { echo "$as_me:$LINENO: result: $ac_res" >&5
38374 echo "${ECHO_T}$ac_res" >&6; }
38375 if test `eval echo '${'$as_ac_var'}'` = yes; then
38376 cat >>confdefs.h <<_ACEOF
38377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38378 _ACEOF
38379 break
38380 fi
38381 done
38382
38383 if test "$ac_cv_func_setenv" = "yes"; then
38384
38385 for ac_func in unsetenv
38386 do
38387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38388 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38390 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38391 echo $ECHO_N "(cached) $ECHO_C" >&6
38392 else
38393 cat >conftest.$ac_ext <<_ACEOF
38394 /* confdefs.h. */
38395 _ACEOF
38396 cat confdefs.h >>conftest.$ac_ext
38397 cat >>conftest.$ac_ext <<_ACEOF
38398 /* end confdefs.h. */
38399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38401 #define $ac_func innocuous_$ac_func
38402
38403 /* System header to define __stub macros and hopefully few prototypes,
38404 which can conflict with char $ac_func (); below.
38405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38406 <limits.h> exists even on freestanding compilers. */
38407
38408 #ifdef __STDC__
38409 # include <limits.h>
38410 #else
38411 # include <assert.h>
38412 #endif
38413
38414 #undef $ac_func
38415
38416 /* Override any GCC internal prototype to avoid an error.
38417 Use char because int might match the return type of a GCC
38418 builtin and then its argument prototype would still apply. */
38419 #ifdef __cplusplus
38420 extern "C"
38421 #endif
38422 char $ac_func ();
38423 /* The GNU C library defines this for functions which it implements
38424 to always fail with ENOSYS. Some functions are actually named
38425 something starting with __ and the normal name is an alias. */
38426 #if defined __stub_$ac_func || defined __stub___$ac_func
38427 choke me
38428 #endif
38429
38430 int
38431 main ()
38432 {
38433 return $ac_func ();
38434 ;
38435 return 0;
38436 }
38437 _ACEOF
38438 rm -f conftest.$ac_objext conftest$ac_exeext
38439 if { (ac_try="$ac_link"
38440 case "(($ac_try" in
38441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38442 *) ac_try_echo=$ac_try;;
38443 esac
38444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38445 (eval "$ac_link") 2>conftest.er1
38446 ac_status=$?
38447 grep -v '^ *+' conftest.er1 >conftest.err
38448 rm -f conftest.er1
38449 cat conftest.err >&5
38450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38451 (exit $ac_status); } && {
38452 test -z "$ac_c_werror_flag" ||
38453 test ! -s conftest.err
38454 } && test -s conftest$ac_exeext &&
38455 $as_test_x conftest$ac_exeext; then
38456 eval "$as_ac_var=yes"
38457 else
38458 echo "$as_me: failed program was:" >&5
38459 sed 's/^/| /' conftest.$ac_ext >&5
38460
38461 eval "$as_ac_var=no"
38462 fi
38463
38464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38465 conftest$ac_exeext conftest.$ac_ext
38466 fi
38467 ac_res=`eval echo '${'$as_ac_var'}'`
38468 { echo "$as_me:$LINENO: result: $ac_res" >&5
38469 echo "${ECHO_T}$ac_res" >&6; }
38470 if test `eval echo '${'$as_ac_var'}'` = yes; then
38471 cat >>confdefs.h <<_ACEOF
38472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38473 _ACEOF
38474
38475 fi
38476 done
38477
38478 fi
38479
38480 HAVE_SOME_SLEEP_FUNC=0
38481 if test "$USE_BEOS" = 1; then
38482 cat >>confdefs.h <<\_ACEOF
38483 #define HAVE_SLEEP 1
38484 _ACEOF
38485
38486 HAVE_SOME_SLEEP_FUNC=1
38487 fi
38488
38489 if test "$USE_DARWIN" = 1; then
38490 cat >>confdefs.h <<\_ACEOF
38491 #define HAVE_USLEEP 1
38492 _ACEOF
38493
38494 HAVE_SOME_SLEEP_FUNC=1
38495 fi
38496
38497 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38498 POSIX4_LINK=
38499
38500 for ac_func in nanosleep
38501 do
38502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38503 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38505 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38506 echo $ECHO_N "(cached) $ECHO_C" >&6
38507 else
38508 cat >conftest.$ac_ext <<_ACEOF
38509 /* confdefs.h. */
38510 _ACEOF
38511 cat confdefs.h >>conftest.$ac_ext
38512 cat >>conftest.$ac_ext <<_ACEOF
38513 /* end confdefs.h. */
38514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38516 #define $ac_func innocuous_$ac_func
38517
38518 /* System header to define __stub macros and hopefully few prototypes,
38519 which can conflict with char $ac_func (); below.
38520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38521 <limits.h> exists even on freestanding compilers. */
38522
38523 #ifdef __STDC__
38524 # include <limits.h>
38525 #else
38526 # include <assert.h>
38527 #endif
38528
38529 #undef $ac_func
38530
38531 /* Override any GCC internal prototype to avoid an error.
38532 Use char because int might match the return type of a GCC
38533 builtin and then its argument prototype would still apply. */
38534 #ifdef __cplusplus
38535 extern "C"
38536 #endif
38537 char $ac_func ();
38538 /* The GNU C library defines this for functions which it implements
38539 to always fail with ENOSYS. Some functions are actually named
38540 something starting with __ and the normal name is an alias. */
38541 #if defined __stub_$ac_func || defined __stub___$ac_func
38542 choke me
38543 #endif
38544
38545 int
38546 main ()
38547 {
38548 return $ac_func ();
38549 ;
38550 return 0;
38551 }
38552 _ACEOF
38553 rm -f conftest.$ac_objext conftest$ac_exeext
38554 if { (ac_try="$ac_link"
38555 case "(($ac_try" in
38556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38557 *) ac_try_echo=$ac_try;;
38558 esac
38559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38560 (eval "$ac_link") 2>conftest.er1
38561 ac_status=$?
38562 grep -v '^ *+' conftest.er1 >conftest.err
38563 rm -f conftest.er1
38564 cat conftest.err >&5
38565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38566 (exit $ac_status); } && {
38567 test -z "$ac_c_werror_flag" ||
38568 test ! -s conftest.err
38569 } && test -s conftest$ac_exeext &&
38570 $as_test_x conftest$ac_exeext; then
38571 eval "$as_ac_var=yes"
38572 else
38573 echo "$as_me: failed program was:" >&5
38574 sed 's/^/| /' conftest.$ac_ext >&5
38575
38576 eval "$as_ac_var=no"
38577 fi
38578
38579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38580 conftest$ac_exeext conftest.$ac_ext
38581 fi
38582 ac_res=`eval echo '${'$as_ac_var'}'`
38583 { echo "$as_me:$LINENO: result: $ac_res" >&5
38584 echo "${ECHO_T}$ac_res" >&6; }
38585 if test `eval echo '${'$as_ac_var'}'` = yes; then
38586 cat >>confdefs.h <<_ACEOF
38587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38588 _ACEOF
38589 cat >>confdefs.h <<\_ACEOF
38590 #define HAVE_NANOSLEEP 1
38591 _ACEOF
38592
38593 else
38594
38595 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38596 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
38597 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38598 echo $ECHO_N "(cached) $ECHO_C" >&6
38599 else
38600 ac_check_lib_save_LIBS=$LIBS
38601 LIBS="-lposix4 $LIBS"
38602 cat >conftest.$ac_ext <<_ACEOF
38603 /* confdefs.h. */
38604 _ACEOF
38605 cat confdefs.h >>conftest.$ac_ext
38606 cat >>conftest.$ac_ext <<_ACEOF
38607 /* end confdefs.h. */
38608
38609 /* Override any GCC internal prototype to avoid an error.
38610 Use char because int might match the return type of a GCC
38611 builtin and then its argument prototype would still apply. */
38612 #ifdef __cplusplus
38613 extern "C"
38614 #endif
38615 char nanosleep ();
38616 int
38617 main ()
38618 {
38619 return nanosleep ();
38620 ;
38621 return 0;
38622 }
38623 _ACEOF
38624 rm -f conftest.$ac_objext conftest$ac_exeext
38625 if { (ac_try="$ac_link"
38626 case "(($ac_try" in
38627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38628 *) ac_try_echo=$ac_try;;
38629 esac
38630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38631 (eval "$ac_link") 2>conftest.er1
38632 ac_status=$?
38633 grep -v '^ *+' conftest.er1 >conftest.err
38634 rm -f conftest.er1
38635 cat conftest.err >&5
38636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38637 (exit $ac_status); } && {
38638 test -z "$ac_c_werror_flag" ||
38639 test ! -s conftest.err
38640 } && test -s conftest$ac_exeext &&
38641 $as_test_x conftest$ac_exeext; then
38642 ac_cv_lib_posix4_nanosleep=yes
38643 else
38644 echo "$as_me: failed program was:" >&5
38645 sed 's/^/| /' conftest.$ac_ext >&5
38646
38647 ac_cv_lib_posix4_nanosleep=no
38648 fi
38649
38650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38651 conftest$ac_exeext conftest.$ac_ext
38652 LIBS=$ac_check_lib_save_LIBS
38653 fi
38654 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38655 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
38656 if test $ac_cv_lib_posix4_nanosleep = yes; then
38657
38658 cat >>confdefs.h <<\_ACEOF
38659 #define HAVE_NANOSLEEP 1
38660 _ACEOF
38661
38662 POSIX4_LINK=" -lposix4"
38663
38664 else
38665
38666
38667 for wx_func in usleep
38668 do
38669 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38670 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38671 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38672 echo $ECHO_N "(cached) $ECHO_C" >&6
38673 else
38674
38675 cat >conftest.$ac_ext <<_ACEOF
38676
38677 /* confdefs.h. */
38678 _ACEOF
38679 cat confdefs.h >>conftest.$ac_ext
38680 cat >>conftest.$ac_ext <<_ACEOF
38681 /* end confdefs.h. */
38682
38683
38684 $ac_includes_default
38685
38686 int
38687 main ()
38688 {
38689
38690 #ifndef $wx_func
38691 &$wx_func;
38692 #endif
38693
38694
38695 ;
38696 return 0;
38697 }
38698
38699 _ACEOF
38700 rm -f conftest.$ac_objext conftest$ac_exeext
38701 if { (ac_try="$ac_link"
38702 case "(($ac_try" in
38703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38704 *) ac_try_echo=$ac_try;;
38705 esac
38706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38707 (eval "$ac_link") 2>conftest.er1
38708 ac_status=$?
38709 grep -v '^ *+' conftest.er1 >conftest.err
38710 rm -f conftest.er1
38711 cat conftest.err >&5
38712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38713 (exit $ac_status); } && {
38714 test -z "$ac_c_werror_flag" ||
38715 test ! -s conftest.err
38716 } && test -s conftest$ac_exeext &&
38717 $as_test_x conftest$ac_exeext; then
38718 eval wx_cv_func_$wx_func=yes
38719 else
38720 echo "$as_me: failed program was:" >&5
38721 sed 's/^/| /' conftest.$ac_ext >&5
38722
38723 eval wx_cv_func_$wx_func=no
38724 fi
38725
38726 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38727 conftest$ac_exeext conftest.$ac_ext
38728
38729 fi
38730 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38731 { echo "$as_me:$LINENO: result: $ac_res" >&5
38732 echo "${ECHO_T}$ac_res" >&6; }
38733
38734 if eval test \$wx_cv_func_$wx_func = yes
38735 then
38736 cat >>confdefs.h <<_ACEOF
38737 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38738 _ACEOF
38739
38740
38741 else
38742 :
38743 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38744 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38745
38746 fi
38747 done
38748
38749
38750
38751 fi
38752
38753
38754
38755 fi
38756 done
38757
38758 fi
38759
38760
38761 for wx_func in uname
38762 do
38763 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38764 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38765 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38766 echo $ECHO_N "(cached) $ECHO_C" >&6
38767 else
38768
38769 cat >conftest.$ac_ext <<_ACEOF
38770
38771 /* confdefs.h. */
38772 _ACEOF
38773 cat confdefs.h >>conftest.$ac_ext
38774 cat >>conftest.$ac_ext <<_ACEOF
38775 /* end confdefs.h. */
38776
38777 #include <sys/utsname.h>
38778 $ac_includes_default
38779
38780 int
38781 main ()
38782 {
38783
38784 #ifndef $wx_func
38785 &$wx_func;
38786 #endif
38787
38788
38789 ;
38790 return 0;
38791 }
38792
38793 _ACEOF
38794 rm -f conftest.$ac_objext conftest$ac_exeext
38795 if { (ac_try="$ac_link"
38796 case "(($ac_try" in
38797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38798 *) ac_try_echo=$ac_try;;
38799 esac
38800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38801 (eval "$ac_link") 2>conftest.er1
38802 ac_status=$?
38803 grep -v '^ *+' conftest.er1 >conftest.err
38804 rm -f conftest.er1
38805 cat conftest.err >&5
38806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38807 (exit $ac_status); } && {
38808 test -z "$ac_c_werror_flag" ||
38809 test ! -s conftest.err
38810 } && test -s conftest$ac_exeext &&
38811 $as_test_x conftest$ac_exeext; then
38812 eval wx_cv_func_$wx_func=yes
38813 else
38814 echo "$as_me: failed program was:" >&5
38815 sed 's/^/| /' conftest.$ac_ext >&5
38816
38817 eval wx_cv_func_$wx_func=no
38818 fi
38819
38820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38821 conftest$ac_exeext conftest.$ac_ext
38822
38823 fi
38824 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38825 { echo "$as_me:$LINENO: result: $ac_res" >&5
38826 echo "${ECHO_T}$ac_res" >&6; }
38827
38828 if eval test \$wx_cv_func_$wx_func = yes
38829 then
38830 cat >>confdefs.h <<_ACEOF
38831 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38832 _ACEOF
38833
38834
38835 else
38836 :
38837
38838 fi
38839 done
38840
38841 if test "$wx_cv_func_uname" != yes; then
38842
38843 for wx_func in gethostname
38844 do
38845 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38846 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38847 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38848 echo $ECHO_N "(cached) $ECHO_C" >&6
38849 else
38850
38851 cat >conftest.$ac_ext <<_ACEOF
38852
38853 /* confdefs.h. */
38854 _ACEOF
38855 cat confdefs.h >>conftest.$ac_ext
38856 cat >>conftest.$ac_ext <<_ACEOF
38857 /* end confdefs.h. */
38858
38859
38860 $ac_includes_default
38861
38862 int
38863 main ()
38864 {
38865
38866 #ifndef $wx_func
38867 &$wx_func;
38868 #endif
38869
38870
38871 ;
38872 return 0;
38873 }
38874
38875 _ACEOF
38876 rm -f conftest.$ac_objext conftest$ac_exeext
38877 if { (ac_try="$ac_link"
38878 case "(($ac_try" in
38879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38880 *) ac_try_echo=$ac_try;;
38881 esac
38882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38883 (eval "$ac_link") 2>conftest.er1
38884 ac_status=$?
38885 grep -v '^ *+' conftest.er1 >conftest.err
38886 rm -f conftest.er1
38887 cat conftest.err >&5
38888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38889 (exit $ac_status); } && {
38890 test -z "$ac_c_werror_flag" ||
38891 test ! -s conftest.err
38892 } && test -s conftest$ac_exeext &&
38893 $as_test_x conftest$ac_exeext; then
38894 eval wx_cv_func_$wx_func=yes
38895 else
38896 echo "$as_me: failed program was:" >&5
38897 sed 's/^/| /' conftest.$ac_ext >&5
38898
38899 eval wx_cv_func_$wx_func=no
38900 fi
38901
38902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38903 conftest$ac_exeext conftest.$ac_ext
38904
38905 fi
38906 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38907 { echo "$as_me:$LINENO: result: $ac_res" >&5
38908 echo "${ECHO_T}$ac_res" >&6; }
38909
38910 if eval test \$wx_cv_func_$wx_func = yes
38911 then
38912 cat >>confdefs.h <<_ACEOF
38913 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38914 _ACEOF
38915
38916
38917 else
38918 :
38919
38920 fi
38921 done
38922
38923 fi
38924
38925
38926 for wx_func in strtok_r
38927 do
38928 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38929 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38930 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38931 echo $ECHO_N "(cached) $ECHO_C" >&6
38932 else
38933
38934 cat >conftest.$ac_ext <<_ACEOF
38935
38936 /* confdefs.h. */
38937 _ACEOF
38938 cat confdefs.h >>conftest.$ac_ext
38939 cat >>conftest.$ac_ext <<_ACEOF
38940 /* end confdefs.h. */
38941
38942 #define _REENTRANT
38943 $ac_includes_default
38944
38945 int
38946 main ()
38947 {
38948
38949 #ifndef $wx_func
38950 &$wx_func;
38951 #endif
38952
38953
38954 ;
38955 return 0;
38956 }
38957
38958 _ACEOF
38959 rm -f conftest.$ac_objext conftest$ac_exeext
38960 if { (ac_try="$ac_link"
38961 case "(($ac_try" in
38962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38963 *) ac_try_echo=$ac_try;;
38964 esac
38965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38966 (eval "$ac_link") 2>conftest.er1
38967 ac_status=$?
38968 grep -v '^ *+' conftest.er1 >conftest.err
38969 rm -f conftest.er1
38970 cat conftest.err >&5
38971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38972 (exit $ac_status); } && {
38973 test -z "$ac_c_werror_flag" ||
38974 test ! -s conftest.err
38975 } && test -s conftest$ac_exeext &&
38976 $as_test_x conftest$ac_exeext; then
38977 eval wx_cv_func_$wx_func=yes
38978 else
38979 echo "$as_me: failed program was:" >&5
38980 sed 's/^/| /' conftest.$ac_ext >&5
38981
38982 eval wx_cv_func_$wx_func=no
38983 fi
38984
38985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38986 conftest$ac_exeext conftest.$ac_ext
38987
38988 fi
38989 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38990 { echo "$as_me:$LINENO: result: $ac_res" >&5
38991 echo "${ECHO_T}$ac_res" >&6; }
38992
38993 if eval test \$wx_cv_func_$wx_func = yes
38994 then
38995 cat >>confdefs.h <<_ACEOF
38996 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38997 _ACEOF
38998
38999
39000 else
39001 :
39002
39003 fi
39004 done
39005
39006
39007 INET_LINK=
39008
39009 for ac_func in inet_addr
39010 do
39011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39012 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39014 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39015 echo $ECHO_N "(cached) $ECHO_C" >&6
39016 else
39017 cat >conftest.$ac_ext <<_ACEOF
39018 /* confdefs.h. */
39019 _ACEOF
39020 cat confdefs.h >>conftest.$ac_ext
39021 cat >>conftest.$ac_ext <<_ACEOF
39022 /* end confdefs.h. */
39023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39025 #define $ac_func innocuous_$ac_func
39026
39027 /* System header to define __stub macros and hopefully few prototypes,
39028 which can conflict with char $ac_func (); below.
39029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39030 <limits.h> exists even on freestanding compilers. */
39031
39032 #ifdef __STDC__
39033 # include <limits.h>
39034 #else
39035 # include <assert.h>
39036 #endif
39037
39038 #undef $ac_func
39039
39040 /* Override any GCC internal prototype to avoid an error.
39041 Use char because int might match the return type of a GCC
39042 builtin and then its argument prototype would still apply. */
39043 #ifdef __cplusplus
39044 extern "C"
39045 #endif
39046 char $ac_func ();
39047 /* The GNU C library defines this for functions which it implements
39048 to always fail with ENOSYS. Some functions are actually named
39049 something starting with __ and the normal name is an alias. */
39050 #if defined __stub_$ac_func || defined __stub___$ac_func
39051 choke me
39052 #endif
39053
39054 int
39055 main ()
39056 {
39057 return $ac_func ();
39058 ;
39059 return 0;
39060 }
39061 _ACEOF
39062 rm -f conftest.$ac_objext conftest$ac_exeext
39063 if { (ac_try="$ac_link"
39064 case "(($ac_try" in
39065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39066 *) ac_try_echo=$ac_try;;
39067 esac
39068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39069 (eval "$ac_link") 2>conftest.er1
39070 ac_status=$?
39071 grep -v '^ *+' conftest.er1 >conftest.err
39072 rm -f conftest.er1
39073 cat conftest.err >&5
39074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39075 (exit $ac_status); } && {
39076 test -z "$ac_c_werror_flag" ||
39077 test ! -s conftest.err
39078 } && test -s conftest$ac_exeext &&
39079 $as_test_x conftest$ac_exeext; then
39080 eval "$as_ac_var=yes"
39081 else
39082 echo "$as_me: failed program was:" >&5
39083 sed 's/^/| /' conftest.$ac_ext >&5
39084
39085 eval "$as_ac_var=no"
39086 fi
39087
39088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39089 conftest$ac_exeext conftest.$ac_ext
39090 fi
39091 ac_res=`eval echo '${'$as_ac_var'}'`
39092 { echo "$as_me:$LINENO: result: $ac_res" >&5
39093 echo "${ECHO_T}$ac_res" >&6; }
39094 if test `eval echo '${'$as_ac_var'}'` = yes; then
39095 cat >>confdefs.h <<_ACEOF
39096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39097 _ACEOF
39098 cat >>confdefs.h <<\_ACEOF
39099 #define HAVE_INET_ADDR 1
39100 _ACEOF
39101
39102 else
39103
39104 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39105 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39106 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39107 echo $ECHO_N "(cached) $ECHO_C" >&6
39108 else
39109 ac_check_lib_save_LIBS=$LIBS
39110 LIBS="-lnsl $LIBS"
39111 cat >conftest.$ac_ext <<_ACEOF
39112 /* confdefs.h. */
39113 _ACEOF
39114 cat confdefs.h >>conftest.$ac_ext
39115 cat >>conftest.$ac_ext <<_ACEOF
39116 /* end confdefs.h. */
39117
39118 /* Override any GCC internal prototype to avoid an error.
39119 Use char because int might match the return type of a GCC
39120 builtin and then its argument prototype would still apply. */
39121 #ifdef __cplusplus
39122 extern "C"
39123 #endif
39124 char inet_addr ();
39125 int
39126 main ()
39127 {
39128 return inet_addr ();
39129 ;
39130 return 0;
39131 }
39132 _ACEOF
39133 rm -f conftest.$ac_objext conftest$ac_exeext
39134 if { (ac_try="$ac_link"
39135 case "(($ac_try" in
39136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39137 *) ac_try_echo=$ac_try;;
39138 esac
39139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39140 (eval "$ac_link") 2>conftest.er1
39141 ac_status=$?
39142 grep -v '^ *+' conftest.er1 >conftest.err
39143 rm -f conftest.er1
39144 cat conftest.err >&5
39145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39146 (exit $ac_status); } && {
39147 test -z "$ac_c_werror_flag" ||
39148 test ! -s conftest.err
39149 } && test -s conftest$ac_exeext &&
39150 $as_test_x conftest$ac_exeext; then
39151 ac_cv_lib_nsl_inet_addr=yes
39152 else
39153 echo "$as_me: failed program was:" >&5
39154 sed 's/^/| /' conftest.$ac_ext >&5
39155
39156 ac_cv_lib_nsl_inet_addr=no
39157 fi
39158
39159 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39160 conftest$ac_exeext conftest.$ac_ext
39161 LIBS=$ac_check_lib_save_LIBS
39162 fi
39163 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39164 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39165 if test $ac_cv_lib_nsl_inet_addr = yes; then
39166 INET_LINK="nsl"
39167 else
39168
39169 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39170 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39171 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39172 echo $ECHO_N "(cached) $ECHO_C" >&6
39173 else
39174 ac_check_lib_save_LIBS=$LIBS
39175 LIBS="-lresolv $LIBS"
39176 cat >conftest.$ac_ext <<_ACEOF
39177 /* confdefs.h. */
39178 _ACEOF
39179 cat confdefs.h >>conftest.$ac_ext
39180 cat >>conftest.$ac_ext <<_ACEOF
39181 /* end confdefs.h. */
39182
39183 /* Override any GCC internal prototype to avoid an error.
39184 Use char because int might match the return type of a GCC
39185 builtin and then its argument prototype would still apply. */
39186 #ifdef __cplusplus
39187 extern "C"
39188 #endif
39189 char inet_addr ();
39190 int
39191 main ()
39192 {
39193 return inet_addr ();
39194 ;
39195 return 0;
39196 }
39197 _ACEOF
39198 rm -f conftest.$ac_objext conftest$ac_exeext
39199 if { (ac_try="$ac_link"
39200 case "(($ac_try" in
39201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39202 *) ac_try_echo=$ac_try;;
39203 esac
39204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39205 (eval "$ac_link") 2>conftest.er1
39206 ac_status=$?
39207 grep -v '^ *+' conftest.er1 >conftest.err
39208 rm -f conftest.er1
39209 cat conftest.err >&5
39210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39211 (exit $ac_status); } && {
39212 test -z "$ac_c_werror_flag" ||
39213 test ! -s conftest.err
39214 } && test -s conftest$ac_exeext &&
39215 $as_test_x conftest$ac_exeext; then
39216 ac_cv_lib_resolv_inet_addr=yes
39217 else
39218 echo "$as_me: failed program was:" >&5
39219 sed 's/^/| /' conftest.$ac_ext >&5
39220
39221 ac_cv_lib_resolv_inet_addr=no
39222 fi
39223
39224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39225 conftest$ac_exeext conftest.$ac_ext
39226 LIBS=$ac_check_lib_save_LIBS
39227 fi
39228 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39229 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39230 if test $ac_cv_lib_resolv_inet_addr = yes; then
39231 INET_LINK="resolv"
39232 else
39233
39234 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39235 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39236 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39237 echo $ECHO_N "(cached) $ECHO_C" >&6
39238 else
39239 ac_check_lib_save_LIBS=$LIBS
39240 LIBS="-lsocket $LIBS"
39241 cat >conftest.$ac_ext <<_ACEOF
39242 /* confdefs.h. */
39243 _ACEOF
39244 cat confdefs.h >>conftest.$ac_ext
39245 cat >>conftest.$ac_ext <<_ACEOF
39246 /* end confdefs.h. */
39247
39248 /* Override any GCC internal prototype to avoid an error.
39249 Use char because int might match the return type of a GCC
39250 builtin and then its argument prototype would still apply. */
39251 #ifdef __cplusplus
39252 extern "C"
39253 #endif
39254 char inet_addr ();
39255 int
39256 main ()
39257 {
39258 return inet_addr ();
39259 ;
39260 return 0;
39261 }
39262 _ACEOF
39263 rm -f conftest.$ac_objext conftest$ac_exeext
39264 if { (ac_try="$ac_link"
39265 case "(($ac_try" in
39266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39267 *) ac_try_echo=$ac_try;;
39268 esac
39269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39270 (eval "$ac_link") 2>conftest.er1
39271 ac_status=$?
39272 grep -v '^ *+' conftest.er1 >conftest.err
39273 rm -f conftest.er1
39274 cat conftest.err >&5
39275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39276 (exit $ac_status); } && {
39277 test -z "$ac_c_werror_flag" ||
39278 test ! -s conftest.err
39279 } && test -s conftest$ac_exeext &&
39280 $as_test_x conftest$ac_exeext; then
39281 ac_cv_lib_socket_inet_addr=yes
39282 else
39283 echo "$as_me: failed program was:" >&5
39284 sed 's/^/| /' conftest.$ac_ext >&5
39285
39286 ac_cv_lib_socket_inet_addr=no
39287 fi
39288
39289 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39290 conftest$ac_exeext conftest.$ac_ext
39291 LIBS=$ac_check_lib_save_LIBS
39292 fi
39293 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39294 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
39295 if test $ac_cv_lib_socket_inet_addr = yes; then
39296 INET_LINK="socket"
39297
39298 fi
39299
39300
39301
39302 fi
39303
39304
39305
39306 fi
39307
39308
39309
39310 fi
39311 done
39312
39313
39314
39315 for ac_func in inet_aton
39316 do
39317 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39318 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39319 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39320 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39321 echo $ECHO_N "(cached) $ECHO_C" >&6
39322 else
39323 cat >conftest.$ac_ext <<_ACEOF
39324 /* confdefs.h. */
39325 _ACEOF
39326 cat confdefs.h >>conftest.$ac_ext
39327 cat >>conftest.$ac_ext <<_ACEOF
39328 /* end confdefs.h. */
39329 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39330 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39331 #define $ac_func innocuous_$ac_func
39332
39333 /* System header to define __stub macros and hopefully few prototypes,
39334 which can conflict with char $ac_func (); below.
39335 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39336 <limits.h> exists even on freestanding compilers. */
39337
39338 #ifdef __STDC__
39339 # include <limits.h>
39340 #else
39341 # include <assert.h>
39342 #endif
39343
39344 #undef $ac_func
39345
39346 /* Override any GCC internal prototype to avoid an error.
39347 Use char because int might match the return type of a GCC
39348 builtin and then its argument prototype would still apply. */
39349 #ifdef __cplusplus
39350 extern "C"
39351 #endif
39352 char $ac_func ();
39353 /* The GNU C library defines this for functions which it implements
39354 to always fail with ENOSYS. Some functions are actually named
39355 something starting with __ and the normal name is an alias. */
39356 #if defined __stub_$ac_func || defined __stub___$ac_func
39357 choke me
39358 #endif
39359
39360 int
39361 main ()
39362 {
39363 return $ac_func ();
39364 ;
39365 return 0;
39366 }
39367 _ACEOF
39368 rm -f conftest.$ac_objext conftest$ac_exeext
39369 if { (ac_try="$ac_link"
39370 case "(($ac_try" in
39371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39372 *) ac_try_echo=$ac_try;;
39373 esac
39374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39375 (eval "$ac_link") 2>conftest.er1
39376 ac_status=$?
39377 grep -v '^ *+' conftest.er1 >conftest.err
39378 rm -f conftest.er1
39379 cat conftest.err >&5
39380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39381 (exit $ac_status); } && {
39382 test -z "$ac_c_werror_flag" ||
39383 test ! -s conftest.err
39384 } && test -s conftest$ac_exeext &&
39385 $as_test_x conftest$ac_exeext; then
39386 eval "$as_ac_var=yes"
39387 else
39388 echo "$as_me: failed program was:" >&5
39389 sed 's/^/| /' conftest.$ac_ext >&5
39390
39391 eval "$as_ac_var=no"
39392 fi
39393
39394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39395 conftest$ac_exeext conftest.$ac_ext
39396 fi
39397 ac_res=`eval echo '${'$as_ac_var'}'`
39398 { echo "$as_me:$LINENO: result: $ac_res" >&5
39399 echo "${ECHO_T}$ac_res" >&6; }
39400 if test `eval echo '${'$as_ac_var'}'` = yes; then
39401 cat >>confdefs.h <<_ACEOF
39402 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39403 _ACEOF
39404 cat >>confdefs.h <<\_ACEOF
39405 #define HAVE_INET_ATON 1
39406 _ACEOF
39407
39408 else
39409
39410 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39411 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39412 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39413 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39414 echo $ECHO_N "(cached) $ECHO_C" >&6
39415 else
39416 ac_check_lib_save_LIBS=$LIBS
39417 LIBS="-l$INET_LINK $LIBS"
39418 cat >conftest.$ac_ext <<_ACEOF
39419 /* confdefs.h. */
39420 _ACEOF
39421 cat confdefs.h >>conftest.$ac_ext
39422 cat >>conftest.$ac_ext <<_ACEOF
39423 /* end confdefs.h. */
39424
39425 /* Override any GCC internal prototype to avoid an error.
39426 Use char because int might match the return type of a GCC
39427 builtin and then its argument prototype would still apply. */
39428 #ifdef __cplusplus
39429 extern "C"
39430 #endif
39431 char inet_aton ();
39432 int
39433 main ()
39434 {
39435 return inet_aton ();
39436 ;
39437 return 0;
39438 }
39439 _ACEOF
39440 rm -f conftest.$ac_objext conftest$ac_exeext
39441 if { (ac_try="$ac_link"
39442 case "(($ac_try" in
39443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39444 *) ac_try_echo=$ac_try;;
39445 esac
39446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39447 (eval "$ac_link") 2>conftest.er1
39448 ac_status=$?
39449 grep -v '^ *+' conftest.er1 >conftest.err
39450 rm -f conftest.er1
39451 cat conftest.err >&5
39452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39453 (exit $ac_status); } && {
39454 test -z "$ac_c_werror_flag" ||
39455 test ! -s conftest.err
39456 } && test -s conftest$ac_exeext &&
39457 $as_test_x conftest$ac_exeext; then
39458 eval "$as_ac_Lib=yes"
39459 else
39460 echo "$as_me: failed program was:" >&5
39461 sed 's/^/| /' conftest.$ac_ext >&5
39462
39463 eval "$as_ac_Lib=no"
39464 fi
39465
39466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39467 conftest$ac_exeext conftest.$ac_ext
39468 LIBS=$ac_check_lib_save_LIBS
39469 fi
39470 ac_res=`eval echo '${'$as_ac_Lib'}'`
39471 { echo "$as_me:$LINENO: result: $ac_res" >&5
39472 echo "${ECHO_T}$ac_res" >&6; }
39473 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39474 cat >>confdefs.h <<\_ACEOF
39475 #define HAVE_INET_ATON 1
39476 _ACEOF
39477
39478 fi
39479
39480
39481 fi
39482 done
39483
39484
39485 if test "x$INET_LINK" != "x"; then
39486 cat >>confdefs.h <<\_ACEOF
39487 #define HAVE_INET_ADDR 1
39488 _ACEOF
39489
39490 INET_LINK=" -l$INET_LINK"
39491 fi
39492
39493
39494 for wx_func in fdopen
39495 do
39496 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39497 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39498 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39499 echo $ECHO_N "(cached) $ECHO_C" >&6
39500 else
39501
39502 cat >conftest.$ac_ext <<_ACEOF
39503
39504 /* confdefs.h. */
39505 _ACEOF
39506 cat confdefs.h >>conftest.$ac_ext
39507 cat >>conftest.$ac_ext <<_ACEOF
39508 /* end confdefs.h. */
39509
39510
39511 $ac_includes_default
39512
39513 int
39514 main ()
39515 {
39516
39517 #ifndef $wx_func
39518 &$wx_func;
39519 #endif
39520
39521
39522 ;
39523 return 0;
39524 }
39525
39526 _ACEOF
39527 rm -f conftest.$ac_objext conftest$ac_exeext
39528 if { (ac_try="$ac_link"
39529 case "(($ac_try" in
39530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39531 *) ac_try_echo=$ac_try;;
39532 esac
39533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39534 (eval "$ac_link") 2>conftest.er1
39535 ac_status=$?
39536 grep -v '^ *+' conftest.er1 >conftest.err
39537 rm -f conftest.er1
39538 cat conftest.err >&5
39539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39540 (exit $ac_status); } && {
39541 test -z "$ac_c_werror_flag" ||
39542 test ! -s conftest.err
39543 } && test -s conftest$ac_exeext &&
39544 $as_test_x conftest$ac_exeext; then
39545 eval wx_cv_func_$wx_func=yes
39546 else
39547 echo "$as_me: failed program was:" >&5
39548 sed 's/^/| /' conftest.$ac_ext >&5
39549
39550 eval wx_cv_func_$wx_func=no
39551 fi
39552
39553 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39554 conftest$ac_exeext conftest.$ac_ext
39555
39556 fi
39557 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39558 { echo "$as_me:$LINENO: result: $ac_res" >&5
39559 echo "${ECHO_T}$ac_res" >&6; }
39560
39561 if eval test \$wx_cv_func_$wx_func = yes
39562 then
39563 cat >>confdefs.h <<_ACEOF
39564 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39565 _ACEOF
39566
39567
39568 else
39569 :
39570
39571 fi
39572 done
39573
39574
39575 if test "$wxUSE_TARSTREAM" = "yes"; then
39576
39577 for wx_func in sysconf
39578 do
39579 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39580 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39581 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39582 echo $ECHO_N "(cached) $ECHO_C" >&6
39583 else
39584
39585 cat >conftest.$ac_ext <<_ACEOF
39586
39587 /* confdefs.h. */
39588 _ACEOF
39589 cat confdefs.h >>conftest.$ac_ext
39590 cat >>conftest.$ac_ext <<_ACEOF
39591 /* end confdefs.h. */
39592
39593
39594 $ac_includes_default
39595
39596 int
39597 main ()
39598 {
39599
39600 #ifndef $wx_func
39601 &$wx_func;
39602 #endif
39603
39604
39605 ;
39606 return 0;
39607 }
39608
39609 _ACEOF
39610 rm -f conftest.$ac_objext conftest$ac_exeext
39611 if { (ac_try="$ac_link"
39612 case "(($ac_try" in
39613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39614 *) ac_try_echo=$ac_try;;
39615 esac
39616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39617 (eval "$ac_link") 2>conftest.er1
39618 ac_status=$?
39619 grep -v '^ *+' conftest.er1 >conftest.err
39620 rm -f conftest.er1
39621 cat conftest.err >&5
39622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39623 (exit $ac_status); } && {
39624 test -z "$ac_c_werror_flag" ||
39625 test ! -s conftest.err
39626 } && test -s conftest$ac_exeext &&
39627 $as_test_x conftest$ac_exeext; then
39628 eval wx_cv_func_$wx_func=yes
39629 else
39630 echo "$as_me: failed program was:" >&5
39631 sed 's/^/| /' conftest.$ac_ext >&5
39632
39633 eval wx_cv_func_$wx_func=no
39634 fi
39635
39636 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39637 conftest$ac_exeext conftest.$ac_ext
39638
39639 fi
39640 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39641 { echo "$as_me:$LINENO: result: $ac_res" >&5
39642 echo "${ECHO_T}$ac_res" >&6; }
39643
39644 if eval test \$wx_cv_func_$wx_func = yes
39645 then
39646 cat >>confdefs.h <<_ACEOF
39647 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39648 _ACEOF
39649
39650
39651 else
39652 :
39653
39654 fi
39655 done
39656
39657
39658
39659 for wx_func in getpwuid_r
39660 do
39661 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39662 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39663 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39664 echo $ECHO_N "(cached) $ECHO_C" >&6
39665 else
39666
39667 cat >conftest.$ac_ext <<_ACEOF
39668
39669 /* confdefs.h. */
39670 _ACEOF
39671 cat confdefs.h >>conftest.$ac_ext
39672 cat >>conftest.$ac_ext <<_ACEOF
39673 /* end confdefs.h. */
39674
39675
39676 #define _REENTRANT
39677 #include <pwd.h>
39678
39679 $ac_includes_default
39680
39681 int
39682 main ()
39683 {
39684
39685 #ifndef $wx_func
39686 &$wx_func;
39687 #endif
39688
39689 struct passwd pw, *ppw;
39690 char buf[1024];
39691 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
39692
39693
39694 ;
39695 return 0;
39696 }
39697
39698 _ACEOF
39699 rm -f conftest.$ac_objext conftest$ac_exeext
39700 if { (ac_try="$ac_link"
39701 case "(($ac_try" in
39702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39703 *) ac_try_echo=$ac_try;;
39704 esac
39705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39706 (eval "$ac_link") 2>conftest.er1
39707 ac_status=$?
39708 grep -v '^ *+' conftest.er1 >conftest.err
39709 rm -f conftest.er1
39710 cat conftest.err >&5
39711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39712 (exit $ac_status); } && {
39713 test -z "$ac_c_werror_flag" ||
39714 test ! -s conftest.err
39715 } && test -s conftest$ac_exeext &&
39716 $as_test_x conftest$ac_exeext; then
39717 eval wx_cv_func_$wx_func=yes
39718 else
39719 echo "$as_me: failed program was:" >&5
39720 sed 's/^/| /' conftest.$ac_ext >&5
39721
39722 eval wx_cv_func_$wx_func=no
39723 fi
39724
39725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39726 conftest$ac_exeext conftest.$ac_ext
39727
39728 fi
39729 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39730 { echo "$as_me:$LINENO: result: $ac_res" >&5
39731 echo "${ECHO_T}$ac_res" >&6; }
39732
39733 if eval test \$wx_cv_func_$wx_func = yes
39734 then
39735 cat >>confdefs.h <<_ACEOF
39736 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39737 _ACEOF
39738
39739
39740 else
39741 :
39742
39743 fi
39744 done
39745
39746
39747
39748 for wx_func in getgrgid_r
39749 do
39750 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39751 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39752 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39753 echo $ECHO_N "(cached) $ECHO_C" >&6
39754 else
39755
39756 cat >conftest.$ac_ext <<_ACEOF
39757
39758 /* confdefs.h. */
39759 _ACEOF
39760 cat confdefs.h >>conftest.$ac_ext
39761 cat >>conftest.$ac_ext <<_ACEOF
39762 /* end confdefs.h. */
39763
39764
39765 #define _REENTRANT
39766 #include <grp.h>
39767
39768 $ac_includes_default
39769
39770 int
39771 main ()
39772 {
39773
39774 #ifndef $wx_func
39775 &$wx_func;
39776 #endif
39777
39778 struct group grp, *pgrp;
39779 char buf[1024];
39780 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
39781
39782
39783 ;
39784 return 0;
39785 }
39786
39787 _ACEOF
39788 rm -f conftest.$ac_objext conftest$ac_exeext
39789 if { (ac_try="$ac_link"
39790 case "(($ac_try" in
39791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39792 *) ac_try_echo=$ac_try;;
39793 esac
39794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39795 (eval "$ac_link") 2>conftest.er1
39796 ac_status=$?
39797 grep -v '^ *+' conftest.er1 >conftest.err
39798 rm -f conftest.er1
39799 cat conftest.err >&5
39800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39801 (exit $ac_status); } && {
39802 test -z "$ac_c_werror_flag" ||
39803 test ! -s conftest.err
39804 } && test -s conftest$ac_exeext &&
39805 $as_test_x conftest$ac_exeext; then
39806 eval wx_cv_func_$wx_func=yes
39807 else
39808 echo "$as_me: failed program was:" >&5
39809 sed 's/^/| /' conftest.$ac_ext >&5
39810
39811 eval wx_cv_func_$wx_func=no
39812 fi
39813
39814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39815 conftest$ac_exeext conftest.$ac_ext
39816
39817 fi
39818 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39819 { echo "$as_me:$LINENO: result: $ac_res" >&5
39820 echo "${ECHO_T}$ac_res" >&6; }
39821
39822 if eval test \$wx_cv_func_$wx_func = yes
39823 then
39824 cat >>confdefs.h <<_ACEOF
39825 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39826 _ACEOF
39827
39828
39829 else
39830 :
39831
39832 fi
39833 done
39834
39835 fi
39836
39837 fi
39838
39839
39840
39841 cat >confcache <<\_ACEOF
39842 # This file is a shell script that caches the results of configure
39843 # tests run on this system so they can be shared between configure
39844 # scripts and configure runs, see configure's option --config-cache.
39845 # It is not useful on other systems. If it contains results you don't
39846 # want to keep, you may remove or edit it.
39847 #
39848 # config.status only pays attention to the cache file if you give it
39849 # the --recheck option to rerun configure.
39850 #
39851 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39852 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39853 # following values.
39854
39855 _ACEOF
39856
39857 # The following way of writing the cache mishandles newlines in values,
39858 # but we know of no workaround that is simple, portable, and efficient.
39859 # So, we kill variables containing newlines.
39860 # Ultrix sh set writes to stderr and can't be redirected directly,
39861 # and sets the high bit in the cache file unless we assign to the vars.
39862 (
39863 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
39864 eval ac_val=\$$ac_var
39865 case $ac_val in #(
39866 *${as_nl}*)
39867 case $ac_var in #(
39868 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
39869 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
39870 esac
39871 case $ac_var in #(
39872 _ | IFS | as_nl) ;; #(
39873 *) $as_unset $ac_var ;;
39874 esac ;;
39875 esac
39876 done
39877
39878 (set) 2>&1 |
39879 case $as_nl`(ac_space=' '; set) 2>&1` in #(
39880 *${as_nl}ac_space=\ *)
39881 # `set' does not quote correctly, so add quotes (double-quote
39882 # substitution turns \\\\ into \\, and sed turns \\ into \).
39883 sed -n \
39884 "s/'/'\\\\''/g;
39885 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39886 ;; #(
39887 *)
39888 # `set' quotes correctly as required by POSIX, so do not add quotes.
39889 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
39890 ;;
39891 esac |
39892 sort
39893 ) |
39894 sed '
39895 /^ac_cv_env_/b end
39896 t clear
39897 :clear
39898 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39899 t end
39900 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39901 :end' >>confcache
39902 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
39903 if test -w "$cache_file"; then
39904 test "x$cache_file" != "x/dev/null" &&
39905 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
39906 echo "$as_me: updating cache $cache_file" >&6;}
39907 cat confcache >$cache_file
39908 else
39909 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
39910 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
39911 fi
39912 fi
39913 rm -f confcache
39914
39915
39916 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39917
39918
39919 THREADS_LINK=
39920 THREADS_CFLAGS=
39921
39922 if test "$wxUSE_THREADS" = "yes" ; then
39923 if test "$USE_BEOS" = 1; then
39924 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39925 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39926 wxUSE_THREADS="no"
39927 fi
39928 fi
39929
39930 if test "$wxUSE_THREADS" = "yes" ; then
39931
39932
39933 THREAD_OPTS="-pthread"
39934 if test "x$SUNCXX" = xyes; then
39935 THREAD_OPTS="-mt lthread $THREAD_OPTS"
39936 fi
39937
39938 case "${host}" in
39939 *-*-solaris2* | *-*-sunos4* )
39940 if test "x$GCC" = "xyes"; then
39941 THREAD_OPTS="-pthreads $THREAD_OPTS"
39942 fi
39943 ;;
39944 *-*-freebsd*)
39945 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
39946 ;;
39947 *-*-darwin* | *-*-cygwin* )
39948 THREAD_OPTS=""
39949 ;;
39950 *-*-aix*)
39951 THREAD_OPTS="pthreads"
39952 ;;
39953 *-hp-hpux* )
39954 if test "x$GCC" = "xyes"; then
39955 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
39956 THREAD_OPTS=""
39957 else
39958 THREAD_OPTS="-mt"
39959 fi
39960 ;;
39961
39962 *-*-irix* )
39963 if test "x$GCC" = "xyes"; then
39964 THREAD_OPTS=""
39965 fi
39966 ;;
39967
39968 *-*-qnx*)
39969 THREAD_OPTS=""
39970 ;;
39971
39972 *-*-*UnixWare*)
39973 if test "x$GCC" != "xyes"; then
39974 THREAD_OPTS="-Ethread"
39975 fi
39976 ;;
39977 esac
39978
39979 case "${host}" in
39980 *-*-qnx*)
39981 THREAD_OPTS="none pthread"
39982 ;;
39983
39984 *)
39985 THREAD_OPTS="$THREAD_OPTS pthread none"
39986 ;;
39987 esac
39988
39989 THREADS_OK=no
39990 for flag in $THREAD_OPTS; do
39991 case $flag in
39992 none)
39993 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39994 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
39995 ;;
39996
39997 -*)
39998 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39999 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40000 THREADS_CFLAGS="$flag"
40001 ;;
40002
40003 *)
40004 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40005 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40006 THREADS_LINK="-l$flag"
40007 ;;
40008 esac
40009
40010 save_LIBS="$LIBS"
40011 save_CFLAGS="$CFLAGS"
40012 LIBS="$THREADS_LINK $LIBS"
40013 CFLAGS="$THREADS_CFLAGS $CFLAGS"
40014
40015 cat >conftest.$ac_ext <<_ACEOF
40016 /* confdefs.h. */
40017 _ACEOF
40018 cat confdefs.h >>conftest.$ac_ext
40019 cat >>conftest.$ac_ext <<_ACEOF
40020 /* end confdefs.h. */
40021 #include <pthread.h>
40022 int
40023 main ()
40024 {
40025 pthread_create(0,0,0,0);
40026 ;
40027 return 0;
40028 }
40029 _ACEOF
40030 rm -f conftest.$ac_objext conftest$ac_exeext
40031 if { (ac_try="$ac_link"
40032 case "(($ac_try" in
40033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40034 *) ac_try_echo=$ac_try;;
40035 esac
40036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40037 (eval "$ac_link") 2>conftest.er1
40038 ac_status=$?
40039 grep -v '^ *+' conftest.er1 >conftest.err
40040 rm -f conftest.er1
40041 cat conftest.err >&5
40042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40043 (exit $ac_status); } && {
40044 test -z "$ac_c_werror_flag" ||
40045 test ! -s conftest.err
40046 } && test -s conftest$ac_exeext &&
40047 $as_test_x conftest$ac_exeext; then
40048 THREADS_OK=yes
40049 else
40050 echo "$as_me: failed program was:" >&5
40051 sed 's/^/| /' conftest.$ac_ext >&5
40052
40053
40054 fi
40055
40056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40057 conftest$ac_exeext conftest.$ac_ext
40058
40059 LIBS="$save_LIBS"
40060 CFLAGS="$save_CFLAGS"
40061
40062 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40063 echo "${ECHO_T}$THREADS_OK" >&6; }
40064 if test "x$THREADS_OK" = "xyes"; then
40065 break;
40066 fi
40067
40068 THREADS_LINK=""
40069 THREADS_CFLAGS=""
40070 done
40071
40072 if test "x$THREADS_OK" != "xyes"; then
40073 wxUSE_THREADS=no
40074 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40075 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40076 else
40077 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40078 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
40079 LIBS="$THREADS_LINK $LIBS"
40080
40081 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40082 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40083 flag=no
40084 case "${host}" in
40085 *-aix*)
40086 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40087 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
40088 flag="-D_THREAD_SAFE"
40089 ;;
40090 *-freebsd*)
40091 flag="-D_THREAD_SAFE"
40092 ;;
40093 *-hp-hpux* )
40094 flag="-D_REENTRANT"
40095 if test "x$GCC" != "xyes"; then
40096 flag="$flag -D_RWSTD_MULTI_THREAD"
40097 fi
40098 ;;
40099 *solaris* | alpha*-osf*)
40100 flag="-D_REENTRANT"
40101 ;;
40102 esac
40103 { echo "$as_me:$LINENO: result: ${flag}" >&5
40104 echo "${ECHO_T}${flag}" >&6; }
40105 if test "x$flag" != xno; then
40106 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40107 fi
40108
40109 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40110 fi
40111 fi
40112
40113 if test "$wxUSE_THREADS" = "yes" ; then
40114
40115 for ac_func in thr_setconcurrency
40116 do
40117 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40118 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40120 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40121 echo $ECHO_N "(cached) $ECHO_C" >&6
40122 else
40123 cat >conftest.$ac_ext <<_ACEOF
40124 /* confdefs.h. */
40125 _ACEOF
40126 cat confdefs.h >>conftest.$ac_ext
40127 cat >>conftest.$ac_ext <<_ACEOF
40128 /* end confdefs.h. */
40129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40131 #define $ac_func innocuous_$ac_func
40132
40133 /* System header to define __stub macros and hopefully few prototypes,
40134 which can conflict with char $ac_func (); below.
40135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40136 <limits.h> exists even on freestanding compilers. */
40137
40138 #ifdef __STDC__
40139 # include <limits.h>
40140 #else
40141 # include <assert.h>
40142 #endif
40143
40144 #undef $ac_func
40145
40146 /* Override any GCC internal prototype to avoid an error.
40147 Use char because int might match the return type of a GCC
40148 builtin and then its argument prototype would still apply. */
40149 #ifdef __cplusplus
40150 extern "C"
40151 #endif
40152 char $ac_func ();
40153 /* The GNU C library defines this for functions which it implements
40154 to always fail with ENOSYS. Some functions are actually named
40155 something starting with __ and the normal name is an alias. */
40156 #if defined __stub_$ac_func || defined __stub___$ac_func
40157 choke me
40158 #endif
40159
40160 int
40161 main ()
40162 {
40163 return $ac_func ();
40164 ;
40165 return 0;
40166 }
40167 _ACEOF
40168 rm -f conftest.$ac_objext conftest$ac_exeext
40169 if { (ac_try="$ac_link"
40170 case "(($ac_try" in
40171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40172 *) ac_try_echo=$ac_try;;
40173 esac
40174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40175 (eval "$ac_link") 2>conftest.er1
40176 ac_status=$?
40177 grep -v '^ *+' conftest.er1 >conftest.err
40178 rm -f conftest.er1
40179 cat conftest.err >&5
40180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40181 (exit $ac_status); } && {
40182 test -z "$ac_c_werror_flag" ||
40183 test ! -s conftest.err
40184 } && test -s conftest$ac_exeext &&
40185 $as_test_x conftest$ac_exeext; then
40186 eval "$as_ac_var=yes"
40187 else
40188 echo "$as_me: failed program was:" >&5
40189 sed 's/^/| /' conftest.$ac_ext >&5
40190
40191 eval "$as_ac_var=no"
40192 fi
40193
40194 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40195 conftest$ac_exeext conftest.$ac_ext
40196 fi
40197 ac_res=`eval echo '${'$as_ac_var'}'`
40198 { echo "$as_me:$LINENO: result: $ac_res" >&5
40199 echo "${ECHO_T}$ac_res" >&6; }
40200 if test `eval echo '${'$as_ac_var'}'` = yes; then
40201 cat >>confdefs.h <<_ACEOF
40202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40203 _ACEOF
40204
40205 fi
40206 done
40207
40208
40209 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40210 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40211 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40212 echo $ECHO_N "(cached) $ECHO_C" >&6
40213 else
40214
40215 ac_ext=cpp
40216 ac_cpp='$CXXCPP $CPPFLAGS'
40217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40220
40221 cat >conftest.$ac_ext <<_ACEOF
40222 /* confdefs.h. */
40223 _ACEOF
40224 cat confdefs.h >>conftest.$ac_ext
40225 cat >>conftest.$ac_ext <<_ACEOF
40226 /* end confdefs.h. */
40227 #include <pthread.h>
40228 void ThreadCleanupFunc(void *p);
40229
40230 int
40231 main ()
40232 {
40233
40234 void *p;
40235 pthread_cleanup_push(ThreadCleanupFunc, p);
40236 pthread_cleanup_pop(0);
40237
40238 ;
40239 return 0;
40240 }
40241 _ACEOF
40242 rm -f conftest.$ac_objext
40243 if { (ac_try="$ac_compile"
40244 case "(($ac_try" in
40245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40246 *) ac_try_echo=$ac_try;;
40247 esac
40248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40249 (eval "$ac_compile") 2>conftest.er1
40250 ac_status=$?
40251 grep -v '^ *+' conftest.er1 >conftest.err
40252 rm -f conftest.er1
40253 cat conftest.err >&5
40254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40255 (exit $ac_status); } && {
40256 test -z "$ac_cxx_werror_flag" ||
40257 test ! -s conftest.err
40258 } && test -s conftest.$ac_objext; then
40259
40260 wx_cv_func_pthread_cleanup=yes
40261
40262 else
40263 echo "$as_me: failed program was:" >&5
40264 sed 's/^/| /' conftest.$ac_ext >&5
40265
40266
40267 wx_cv_func_pthread_cleanup=no
40268
40269
40270 fi
40271
40272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40273 ac_ext=c
40274 ac_cpp='$CPP $CPPFLAGS'
40275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40278
40279
40280 fi
40281 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40282 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
40283 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40284 cat >>confdefs.h <<\_ACEOF
40285 #define wxHAVE_PTHREAD_CLEANUP 1
40286 _ACEOF
40287
40288 fi
40289
40290
40291 for ac_header in sched.h
40292 do
40293 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40294 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40295 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40296 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40297 echo $ECHO_N "(cached) $ECHO_C" >&6
40298 else
40299 cat >conftest.$ac_ext <<_ACEOF
40300 /* confdefs.h. */
40301 _ACEOF
40302 cat confdefs.h >>conftest.$ac_ext
40303 cat >>conftest.$ac_ext <<_ACEOF
40304 /* end confdefs.h. */
40305 $ac_includes_default
40306
40307 #include <$ac_header>
40308 _ACEOF
40309 rm -f conftest.$ac_objext
40310 if { (ac_try="$ac_compile"
40311 case "(($ac_try" in
40312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40313 *) ac_try_echo=$ac_try;;
40314 esac
40315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40316 (eval "$ac_compile") 2>conftest.er1
40317 ac_status=$?
40318 grep -v '^ *+' conftest.er1 >conftest.err
40319 rm -f conftest.er1
40320 cat conftest.err >&5
40321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40322 (exit $ac_status); } && {
40323 test -z "$ac_c_werror_flag" ||
40324 test ! -s conftest.err
40325 } && test -s conftest.$ac_objext; then
40326 eval "$as_ac_Header=yes"
40327 else
40328 echo "$as_me: failed program was:" >&5
40329 sed 's/^/| /' conftest.$ac_ext >&5
40330
40331 eval "$as_ac_Header=no"
40332 fi
40333
40334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40335 fi
40336 ac_res=`eval echo '${'$as_ac_Header'}'`
40337 { echo "$as_me:$LINENO: result: $ac_res" >&5
40338 echo "${ECHO_T}$ac_res" >&6; }
40339 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40340 cat >>confdefs.h <<_ACEOF
40341 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40342 _ACEOF
40343
40344 fi
40345
40346 done
40347
40348 if test "$ac_cv_header_sched_h" = "yes"; then
40349 { echo "$as_me:$LINENO: checking for sched_yield" >&5
40350 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
40351 if test "${ac_cv_func_sched_yield+set}" = set; then
40352 echo $ECHO_N "(cached) $ECHO_C" >&6
40353 else
40354 cat >conftest.$ac_ext <<_ACEOF
40355 /* confdefs.h. */
40356 _ACEOF
40357 cat confdefs.h >>conftest.$ac_ext
40358 cat >>conftest.$ac_ext <<_ACEOF
40359 /* end confdefs.h. */
40360 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40361 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40362 #define sched_yield innocuous_sched_yield
40363
40364 /* System header to define __stub macros and hopefully few prototypes,
40365 which can conflict with char sched_yield (); below.
40366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40367 <limits.h> exists even on freestanding compilers. */
40368
40369 #ifdef __STDC__
40370 # include <limits.h>
40371 #else
40372 # include <assert.h>
40373 #endif
40374
40375 #undef sched_yield
40376
40377 /* Override any GCC internal prototype to avoid an error.
40378 Use char because int might match the return type of a GCC
40379 builtin and then its argument prototype would still apply. */
40380 #ifdef __cplusplus
40381 extern "C"
40382 #endif
40383 char sched_yield ();
40384 /* The GNU C library defines this for functions which it implements
40385 to always fail with ENOSYS. Some functions are actually named
40386 something starting with __ and the normal name is an alias. */
40387 #if defined __stub_sched_yield || defined __stub___sched_yield
40388 choke me
40389 #endif
40390
40391 int
40392 main ()
40393 {
40394 return sched_yield ();
40395 ;
40396 return 0;
40397 }
40398 _ACEOF
40399 rm -f conftest.$ac_objext conftest$ac_exeext
40400 if { (ac_try="$ac_link"
40401 case "(($ac_try" in
40402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40403 *) ac_try_echo=$ac_try;;
40404 esac
40405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40406 (eval "$ac_link") 2>conftest.er1
40407 ac_status=$?
40408 grep -v '^ *+' conftest.er1 >conftest.err
40409 rm -f conftest.er1
40410 cat conftest.err >&5
40411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40412 (exit $ac_status); } && {
40413 test -z "$ac_c_werror_flag" ||
40414 test ! -s conftest.err
40415 } && test -s conftest$ac_exeext &&
40416 $as_test_x conftest$ac_exeext; then
40417 ac_cv_func_sched_yield=yes
40418 else
40419 echo "$as_me: failed program was:" >&5
40420 sed 's/^/| /' conftest.$ac_ext >&5
40421
40422 ac_cv_func_sched_yield=no
40423 fi
40424
40425 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40426 conftest$ac_exeext conftest.$ac_ext
40427 fi
40428 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40429 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40430 if test $ac_cv_func_sched_yield = yes; then
40431 cat >>confdefs.h <<\_ACEOF
40432 #define HAVE_SCHED_YIELD 1
40433 _ACEOF
40434
40435 else
40436
40437 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40438 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40439 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40440 echo $ECHO_N "(cached) $ECHO_C" >&6
40441 else
40442 ac_check_lib_save_LIBS=$LIBS
40443 LIBS="-lposix4 $LIBS"
40444 cat >conftest.$ac_ext <<_ACEOF
40445 /* confdefs.h. */
40446 _ACEOF
40447 cat confdefs.h >>conftest.$ac_ext
40448 cat >>conftest.$ac_ext <<_ACEOF
40449 /* end confdefs.h. */
40450
40451 /* Override any GCC internal prototype to avoid an error.
40452 Use char because int might match the return type of a GCC
40453 builtin and then its argument prototype would still apply. */
40454 #ifdef __cplusplus
40455 extern "C"
40456 #endif
40457 char sched_yield ();
40458 int
40459 main ()
40460 {
40461 return sched_yield ();
40462 ;
40463 return 0;
40464 }
40465 _ACEOF
40466 rm -f conftest.$ac_objext conftest$ac_exeext
40467 if { (ac_try="$ac_link"
40468 case "(($ac_try" in
40469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40470 *) ac_try_echo=$ac_try;;
40471 esac
40472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40473 (eval "$ac_link") 2>conftest.er1
40474 ac_status=$?
40475 grep -v '^ *+' conftest.er1 >conftest.err
40476 rm -f conftest.er1
40477 cat conftest.err >&5
40478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40479 (exit $ac_status); } && {
40480 test -z "$ac_c_werror_flag" ||
40481 test ! -s conftest.err
40482 } && test -s conftest$ac_exeext &&
40483 $as_test_x conftest$ac_exeext; then
40484 ac_cv_lib_posix4_sched_yield=yes
40485 else
40486 echo "$as_me: failed program was:" >&5
40487 sed 's/^/| /' conftest.$ac_ext >&5
40488
40489 ac_cv_lib_posix4_sched_yield=no
40490 fi
40491
40492 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40493 conftest$ac_exeext conftest.$ac_ext
40494 LIBS=$ac_check_lib_save_LIBS
40495 fi
40496 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40497 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40498 if test $ac_cv_lib_posix4_sched_yield = yes; then
40499 cat >>confdefs.h <<\_ACEOF
40500 #define HAVE_SCHED_YIELD 1
40501 _ACEOF
40502 POSIX4_LINK=" -lposix4"
40503 else
40504 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40505 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40506
40507 fi
40508
40509
40510
40511 fi
40512
40513 fi
40514
40515 HAVE_PRIOR_FUNCS=0
40516 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40517 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
40518 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40519 echo $ECHO_N "(cached) $ECHO_C" >&6
40520 else
40521 cat >conftest.$ac_ext <<_ACEOF
40522 /* confdefs.h. */
40523 _ACEOF
40524 cat confdefs.h >>conftest.$ac_ext
40525 cat >>conftest.$ac_ext <<_ACEOF
40526 /* end confdefs.h. */
40527 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40529 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40530
40531 /* System header to define __stub macros and hopefully few prototypes,
40532 which can conflict with char pthread_attr_getschedpolicy (); below.
40533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40534 <limits.h> exists even on freestanding compilers. */
40535
40536 #ifdef __STDC__
40537 # include <limits.h>
40538 #else
40539 # include <assert.h>
40540 #endif
40541
40542 #undef pthread_attr_getschedpolicy
40543
40544 /* Override any GCC internal prototype to avoid an error.
40545 Use char because int might match the return type of a GCC
40546 builtin and then its argument prototype would still apply. */
40547 #ifdef __cplusplus
40548 extern "C"
40549 #endif
40550 char pthread_attr_getschedpolicy ();
40551 /* The GNU C library defines this for functions which it implements
40552 to always fail with ENOSYS. Some functions are actually named
40553 something starting with __ and the normal name is an alias. */
40554 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
40555 choke me
40556 #endif
40557
40558 int
40559 main ()
40560 {
40561 return pthread_attr_getschedpolicy ();
40562 ;
40563 return 0;
40564 }
40565 _ACEOF
40566 rm -f conftest.$ac_objext conftest$ac_exeext
40567 if { (ac_try="$ac_link"
40568 case "(($ac_try" in
40569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40570 *) ac_try_echo=$ac_try;;
40571 esac
40572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40573 (eval "$ac_link") 2>conftest.er1
40574 ac_status=$?
40575 grep -v '^ *+' conftest.er1 >conftest.err
40576 rm -f conftest.er1
40577 cat conftest.err >&5
40578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40579 (exit $ac_status); } && {
40580 test -z "$ac_c_werror_flag" ||
40581 test ! -s conftest.err
40582 } && test -s conftest$ac_exeext &&
40583 $as_test_x conftest$ac_exeext; then
40584 ac_cv_func_pthread_attr_getschedpolicy=yes
40585 else
40586 echo "$as_me: failed program was:" >&5
40587 sed 's/^/| /' conftest.$ac_ext >&5
40588
40589 ac_cv_func_pthread_attr_getschedpolicy=no
40590 fi
40591
40592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40593 conftest$ac_exeext conftest.$ac_ext
40594 fi
40595 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40596 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
40597 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40598 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40599 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
40600 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40601 echo $ECHO_N "(cached) $ECHO_C" >&6
40602 else
40603 cat >conftest.$ac_ext <<_ACEOF
40604 /* confdefs.h. */
40605 _ACEOF
40606 cat confdefs.h >>conftest.$ac_ext
40607 cat >>conftest.$ac_ext <<_ACEOF
40608 /* end confdefs.h. */
40609 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40611 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40612
40613 /* System header to define __stub macros and hopefully few prototypes,
40614 which can conflict with char pthread_attr_setschedparam (); below.
40615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40616 <limits.h> exists even on freestanding compilers. */
40617
40618 #ifdef __STDC__
40619 # include <limits.h>
40620 #else
40621 # include <assert.h>
40622 #endif
40623
40624 #undef pthread_attr_setschedparam
40625
40626 /* Override any GCC internal prototype to avoid an error.
40627 Use char because int might match the return type of a GCC
40628 builtin and then its argument prototype would still apply. */
40629 #ifdef __cplusplus
40630 extern "C"
40631 #endif
40632 char pthread_attr_setschedparam ();
40633 /* The GNU C library defines this for functions which it implements
40634 to always fail with ENOSYS. Some functions are actually named
40635 something starting with __ and the normal name is an alias. */
40636 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
40637 choke me
40638 #endif
40639
40640 int
40641 main ()
40642 {
40643 return pthread_attr_setschedparam ();
40644 ;
40645 return 0;
40646 }
40647 _ACEOF
40648 rm -f conftest.$ac_objext conftest$ac_exeext
40649 if { (ac_try="$ac_link"
40650 case "(($ac_try" in
40651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40652 *) ac_try_echo=$ac_try;;
40653 esac
40654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40655 (eval "$ac_link") 2>conftest.er1
40656 ac_status=$?
40657 grep -v '^ *+' conftest.er1 >conftest.err
40658 rm -f conftest.er1
40659 cat conftest.err >&5
40660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40661 (exit $ac_status); } && {
40662 test -z "$ac_c_werror_flag" ||
40663 test ! -s conftest.err
40664 } && test -s conftest$ac_exeext &&
40665 $as_test_x conftest$ac_exeext; then
40666 ac_cv_func_pthread_attr_setschedparam=yes
40667 else
40668 echo "$as_me: failed program was:" >&5
40669 sed 's/^/| /' conftest.$ac_ext >&5
40670
40671 ac_cv_func_pthread_attr_setschedparam=no
40672 fi
40673
40674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40675 conftest$ac_exeext conftest.$ac_ext
40676 fi
40677 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40678 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
40679 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40680 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40681 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
40682 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40683 echo $ECHO_N "(cached) $ECHO_C" >&6
40684 else
40685 cat >conftest.$ac_ext <<_ACEOF
40686 /* confdefs.h. */
40687 _ACEOF
40688 cat confdefs.h >>conftest.$ac_ext
40689 cat >>conftest.$ac_ext <<_ACEOF
40690 /* end confdefs.h. */
40691 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40693 #define sched_get_priority_max innocuous_sched_get_priority_max
40694
40695 /* System header to define __stub macros and hopefully few prototypes,
40696 which can conflict with char sched_get_priority_max (); below.
40697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40698 <limits.h> exists even on freestanding compilers. */
40699
40700 #ifdef __STDC__
40701 # include <limits.h>
40702 #else
40703 # include <assert.h>
40704 #endif
40705
40706 #undef sched_get_priority_max
40707
40708 /* Override any GCC internal prototype to avoid an error.
40709 Use char because int might match the return type of a GCC
40710 builtin and then its argument prototype would still apply. */
40711 #ifdef __cplusplus
40712 extern "C"
40713 #endif
40714 char sched_get_priority_max ();
40715 /* The GNU C library defines this for functions which it implements
40716 to always fail with ENOSYS. Some functions are actually named
40717 something starting with __ and the normal name is an alias. */
40718 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
40719 choke me
40720 #endif
40721
40722 int
40723 main ()
40724 {
40725 return sched_get_priority_max ();
40726 ;
40727 return 0;
40728 }
40729 _ACEOF
40730 rm -f conftest.$ac_objext conftest$ac_exeext
40731 if { (ac_try="$ac_link"
40732 case "(($ac_try" in
40733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40734 *) ac_try_echo=$ac_try;;
40735 esac
40736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40737 (eval "$ac_link") 2>conftest.er1
40738 ac_status=$?
40739 grep -v '^ *+' conftest.er1 >conftest.err
40740 rm -f conftest.er1
40741 cat conftest.err >&5
40742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40743 (exit $ac_status); } && {
40744 test -z "$ac_c_werror_flag" ||
40745 test ! -s conftest.err
40746 } && test -s conftest$ac_exeext &&
40747 $as_test_x conftest$ac_exeext; then
40748 ac_cv_func_sched_get_priority_max=yes
40749 else
40750 echo "$as_me: failed program was:" >&5
40751 sed 's/^/| /' conftest.$ac_ext >&5
40752
40753 ac_cv_func_sched_get_priority_max=no
40754 fi
40755
40756 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40757 conftest$ac_exeext conftest.$ac_ext
40758 fi
40759 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40760 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
40761 if test $ac_cv_func_sched_get_priority_max = yes; then
40762 HAVE_PRIOR_FUNCS=1
40763 else
40764 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40765 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
40766 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40767 echo $ECHO_N "(cached) $ECHO_C" >&6
40768 else
40769 ac_check_lib_save_LIBS=$LIBS
40770 LIBS="-lposix4 $LIBS"
40771 cat >conftest.$ac_ext <<_ACEOF
40772 /* confdefs.h. */
40773 _ACEOF
40774 cat confdefs.h >>conftest.$ac_ext
40775 cat >>conftest.$ac_ext <<_ACEOF
40776 /* end confdefs.h. */
40777
40778 /* Override any GCC internal prototype to avoid an error.
40779 Use char because int might match the return type of a GCC
40780 builtin and then its argument prototype would still apply. */
40781 #ifdef __cplusplus
40782 extern "C"
40783 #endif
40784 char sched_get_priority_max ();
40785 int
40786 main ()
40787 {
40788 return sched_get_priority_max ();
40789 ;
40790 return 0;
40791 }
40792 _ACEOF
40793 rm -f conftest.$ac_objext conftest$ac_exeext
40794 if { (ac_try="$ac_link"
40795 case "(($ac_try" in
40796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40797 *) ac_try_echo=$ac_try;;
40798 esac
40799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40800 (eval "$ac_link") 2>conftest.er1
40801 ac_status=$?
40802 grep -v '^ *+' conftest.er1 >conftest.err
40803 rm -f conftest.er1
40804 cat conftest.err >&5
40805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40806 (exit $ac_status); } && {
40807 test -z "$ac_c_werror_flag" ||
40808 test ! -s conftest.err
40809 } && test -s conftest$ac_exeext &&
40810 $as_test_x conftest$ac_exeext; then
40811 ac_cv_lib_posix4_sched_get_priority_max=yes
40812 else
40813 echo "$as_me: failed program was:" >&5
40814 sed 's/^/| /' conftest.$ac_ext >&5
40815
40816 ac_cv_lib_posix4_sched_get_priority_max=no
40817 fi
40818
40819 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40820 conftest$ac_exeext conftest.$ac_ext
40821 LIBS=$ac_check_lib_save_LIBS
40822 fi
40823 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40824 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
40825 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40826
40827 HAVE_PRIOR_FUNCS=1
40828 POSIX4_LINK=" -lposix4"
40829
40830 fi
40831
40832
40833 fi
40834
40835
40836 fi
40837
40838
40839 fi
40840
40841
40842 if test "$HAVE_PRIOR_FUNCS" = 1; then
40843 cat >>confdefs.h <<\_ACEOF
40844 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40845 _ACEOF
40846
40847 else
40848 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40849 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40850 fi
40851
40852 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40853 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
40854 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40855 echo $ECHO_N "(cached) $ECHO_C" >&6
40856 else
40857 cat >conftest.$ac_ext <<_ACEOF
40858 /* confdefs.h. */
40859 _ACEOF
40860 cat confdefs.h >>conftest.$ac_ext
40861 cat >>conftest.$ac_ext <<_ACEOF
40862 /* end confdefs.h. */
40863 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40865 #define pthread_cancel innocuous_pthread_cancel
40866
40867 /* System header to define __stub macros and hopefully few prototypes,
40868 which can conflict with char pthread_cancel (); below.
40869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40870 <limits.h> exists even on freestanding compilers. */
40871
40872 #ifdef __STDC__
40873 # include <limits.h>
40874 #else
40875 # include <assert.h>
40876 #endif
40877
40878 #undef pthread_cancel
40879
40880 /* Override any GCC internal prototype to avoid an error.
40881 Use char because int might match the return type of a GCC
40882 builtin and then its argument prototype would still apply. */
40883 #ifdef __cplusplus
40884 extern "C"
40885 #endif
40886 char pthread_cancel ();
40887 /* The GNU C library defines this for functions which it implements
40888 to always fail with ENOSYS. Some functions are actually named
40889 something starting with __ and the normal name is an alias. */
40890 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
40891 choke me
40892 #endif
40893
40894 int
40895 main ()
40896 {
40897 return pthread_cancel ();
40898 ;
40899 return 0;
40900 }
40901 _ACEOF
40902 rm -f conftest.$ac_objext conftest$ac_exeext
40903 if { (ac_try="$ac_link"
40904 case "(($ac_try" in
40905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40906 *) ac_try_echo=$ac_try;;
40907 esac
40908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40909 (eval "$ac_link") 2>conftest.er1
40910 ac_status=$?
40911 grep -v '^ *+' conftest.er1 >conftest.err
40912 rm -f conftest.er1
40913 cat conftest.err >&5
40914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40915 (exit $ac_status); } && {
40916 test -z "$ac_c_werror_flag" ||
40917 test ! -s conftest.err
40918 } && test -s conftest$ac_exeext &&
40919 $as_test_x conftest$ac_exeext; then
40920 ac_cv_func_pthread_cancel=yes
40921 else
40922 echo "$as_me: failed program was:" >&5
40923 sed 's/^/| /' conftest.$ac_ext >&5
40924
40925 ac_cv_func_pthread_cancel=no
40926 fi
40927
40928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40929 conftest$ac_exeext conftest.$ac_ext
40930 fi
40931 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40932 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
40933 if test $ac_cv_func_pthread_cancel = yes; then
40934 cat >>confdefs.h <<\_ACEOF
40935 #define HAVE_PTHREAD_CANCEL 1
40936 _ACEOF
40937
40938 else
40939 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40940 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40941 fi
40942
40943
40944 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
40945 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
40946 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
40947 echo $ECHO_N "(cached) $ECHO_C" >&6
40948 else
40949 cat >conftest.$ac_ext <<_ACEOF
40950 /* confdefs.h. */
40951 _ACEOF
40952 cat confdefs.h >>conftest.$ac_ext
40953 cat >>conftest.$ac_ext <<_ACEOF
40954 /* end confdefs.h. */
40955 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
40956 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40957 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
40958
40959 /* System header to define __stub macros and hopefully few prototypes,
40960 which can conflict with char pthread_mutex_timedlock (); below.
40961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40962 <limits.h> exists even on freestanding compilers. */
40963
40964 #ifdef __STDC__
40965 # include <limits.h>
40966 #else
40967 # include <assert.h>
40968 #endif
40969
40970 #undef pthread_mutex_timedlock
40971
40972 /* Override any GCC internal prototype to avoid an error.
40973 Use char because int might match the return type of a GCC
40974 builtin and then its argument prototype would still apply. */
40975 #ifdef __cplusplus
40976 extern "C"
40977 #endif
40978 char pthread_mutex_timedlock ();
40979 /* The GNU C library defines this for functions which it implements
40980 to always fail with ENOSYS. Some functions are actually named
40981 something starting with __ and the normal name is an alias. */
40982 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
40983 choke me
40984 #endif
40985
40986 int
40987 main ()
40988 {
40989 return pthread_mutex_timedlock ();
40990 ;
40991 return 0;
40992 }
40993 _ACEOF
40994 rm -f conftest.$ac_objext conftest$ac_exeext
40995 if { (ac_try="$ac_link"
40996 case "(($ac_try" in
40997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40998 *) ac_try_echo=$ac_try;;
40999 esac
41000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41001 (eval "$ac_link") 2>conftest.er1
41002 ac_status=$?
41003 grep -v '^ *+' conftest.er1 >conftest.err
41004 rm -f conftest.er1
41005 cat conftest.err >&5
41006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41007 (exit $ac_status); } && {
41008 test -z "$ac_c_werror_flag" ||
41009 test ! -s conftest.err
41010 } && test -s conftest$ac_exeext &&
41011 $as_test_x conftest$ac_exeext; then
41012 ac_cv_func_pthread_mutex_timedlock=yes
41013 else
41014 echo "$as_me: failed program was:" >&5
41015 sed 's/^/| /' conftest.$ac_ext >&5
41016
41017 ac_cv_func_pthread_mutex_timedlock=no
41018 fi
41019
41020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41021 conftest$ac_exeext conftest.$ac_ext
41022 fi
41023 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41024 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
41025 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41026 cat >>confdefs.h <<\_ACEOF
41027 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41028 _ACEOF
41029
41030 else
41031 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41032 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41033 fi
41034
41035
41036 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41037 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41038 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41039 echo $ECHO_N "(cached) $ECHO_C" >&6
41040 else
41041 cat >conftest.$ac_ext <<_ACEOF
41042 /* confdefs.h. */
41043 _ACEOF
41044 cat confdefs.h >>conftest.$ac_ext
41045 cat >>conftest.$ac_ext <<_ACEOF
41046 /* end confdefs.h. */
41047 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41048 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41049 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41050
41051 /* System header to define __stub macros and hopefully few prototypes,
41052 which can conflict with char pthread_attr_setstacksize (); below.
41053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41054 <limits.h> exists even on freestanding compilers. */
41055
41056 #ifdef __STDC__
41057 # include <limits.h>
41058 #else
41059 # include <assert.h>
41060 #endif
41061
41062 #undef pthread_attr_setstacksize
41063
41064 /* Override any GCC internal prototype to avoid an error.
41065 Use char because int might match the return type of a GCC
41066 builtin and then its argument prototype would still apply. */
41067 #ifdef __cplusplus
41068 extern "C"
41069 #endif
41070 char pthread_attr_setstacksize ();
41071 /* The GNU C library defines this for functions which it implements
41072 to always fail with ENOSYS. Some functions are actually named
41073 something starting with __ and the normal name is an alias. */
41074 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41075 choke me
41076 #endif
41077
41078 int
41079 main ()
41080 {
41081 return pthread_attr_setstacksize ();
41082 ;
41083 return 0;
41084 }
41085 _ACEOF
41086 rm -f conftest.$ac_objext conftest$ac_exeext
41087 if { (ac_try="$ac_link"
41088 case "(($ac_try" in
41089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41090 *) ac_try_echo=$ac_try;;
41091 esac
41092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41093 (eval "$ac_link") 2>conftest.er1
41094 ac_status=$?
41095 grep -v '^ *+' conftest.er1 >conftest.err
41096 rm -f conftest.er1
41097 cat conftest.err >&5
41098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41099 (exit $ac_status); } && {
41100 test -z "$ac_c_werror_flag" ||
41101 test ! -s conftest.err
41102 } && test -s conftest$ac_exeext &&
41103 $as_test_x conftest$ac_exeext; then
41104 ac_cv_func_pthread_attr_setstacksize=yes
41105 else
41106 echo "$as_me: failed program was:" >&5
41107 sed 's/^/| /' conftest.$ac_ext >&5
41108
41109 ac_cv_func_pthread_attr_setstacksize=no
41110 fi
41111
41112 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41113 conftest$ac_exeext conftest.$ac_ext
41114 fi
41115 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41116 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41117 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41118 cat >>confdefs.h <<\_ACEOF
41119 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41120 _ACEOF
41121
41122 fi
41123
41124
41125
41126 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41127 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41128 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41129 echo $ECHO_N "(cached) $ECHO_C" >&6
41130 else
41131
41132 cat >conftest.$ac_ext <<_ACEOF
41133 /* confdefs.h. */
41134 _ACEOF
41135 cat confdefs.h >>conftest.$ac_ext
41136 cat >>conftest.$ac_ext <<_ACEOF
41137 /* end confdefs.h. */
41138 #include <pthread.h>
41139 int
41140 main ()
41141 {
41142
41143 pthread_mutexattr_t attr;
41144 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41145
41146 ;
41147 return 0;
41148 }
41149 _ACEOF
41150 rm -f conftest.$ac_objext
41151 if { (ac_try="$ac_compile"
41152 case "(($ac_try" in
41153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41154 *) ac_try_echo=$ac_try;;
41155 esac
41156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41157 (eval "$ac_compile") 2>conftest.er1
41158 ac_status=$?
41159 grep -v '^ *+' conftest.er1 >conftest.err
41160 rm -f conftest.er1
41161 cat conftest.err >&5
41162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41163 (exit $ac_status); } && {
41164 test -z "$ac_c_werror_flag" ||
41165 test ! -s conftest.err
41166 } && test -s conftest.$ac_objext; then
41167 wx_cv_type_pthread_mutexattr_t=yes
41168 else
41169 echo "$as_me: failed program was:" >&5
41170 sed 's/^/| /' conftest.$ac_ext >&5
41171
41172 wx_cv_type_pthread_mutexattr_t=no
41173
41174 fi
41175
41176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41177
41178 fi
41179 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41180 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41181
41182 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41183 cat >>confdefs.h <<\_ACEOF
41184 #define HAVE_PTHREAD_MUTEXATTR_T 1
41185 _ACEOF
41186
41187
41188 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41189 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41190 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41191 echo $ECHO_N "(cached) $ECHO_C" >&6
41192 else
41193
41194 cat >conftest.$ac_ext <<_ACEOF
41195 /* confdefs.h. */
41196 _ACEOF
41197 cat confdefs.h >>conftest.$ac_ext
41198 cat >>conftest.$ac_ext <<_ACEOF
41199 /* end confdefs.h. */
41200 #include <pthread.h>
41201 int
41202 main ()
41203 {
41204
41205 pthread_mutexattr_t attr;
41206 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41207
41208 ;
41209 return 0;
41210 }
41211 _ACEOF
41212 rm -f conftest.$ac_objext
41213 if { (ac_try="$ac_compile"
41214 case "(($ac_try" in
41215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41216 *) ac_try_echo=$ac_try;;
41217 esac
41218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41219 (eval "$ac_compile") 2>conftest.er1
41220 ac_status=$?
41221 grep -v '^ *+' conftest.er1 >conftest.err
41222 rm -f conftest.er1
41223 cat conftest.err >&5
41224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41225 (exit $ac_status); } && {
41226 test -z "$ac_c_werror_flag" ||
41227 test ! -s conftest.err
41228 } && test -s conftest.$ac_objext; then
41229 wx_cv_func_pthread_mutexattr_settype_decl=yes
41230 else
41231 echo "$as_me: failed program was:" >&5
41232 sed 's/^/| /' conftest.$ac_ext >&5
41233
41234 wx_cv_func_pthread_mutexattr_settype_decl=no
41235
41236 fi
41237
41238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41239
41240 fi
41241 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41242 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41243 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41244 cat >>confdefs.h <<\_ACEOF
41245 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41246 _ACEOF
41247
41248 fi
41249 else
41250 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41251 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41252 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41253 echo $ECHO_N "(cached) $ECHO_C" >&6
41254 else
41255
41256 cat >conftest.$ac_ext <<_ACEOF
41257 /* confdefs.h. */
41258 _ACEOF
41259 cat confdefs.h >>conftest.$ac_ext
41260 cat >>conftest.$ac_ext <<_ACEOF
41261 /* end confdefs.h. */
41262 #include <pthread.h>
41263 int
41264 main ()
41265 {
41266
41267 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41268
41269 ;
41270 return 0;
41271 }
41272 _ACEOF
41273 rm -f conftest.$ac_objext
41274 if { (ac_try="$ac_compile"
41275 case "(($ac_try" in
41276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41277 *) ac_try_echo=$ac_try;;
41278 esac
41279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41280 (eval "$ac_compile") 2>conftest.er1
41281 ac_status=$?
41282 grep -v '^ *+' conftest.er1 >conftest.err
41283 rm -f conftest.er1
41284 cat conftest.err >&5
41285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41286 (exit $ac_status); } && {
41287 test -z "$ac_c_werror_flag" ||
41288 test ! -s conftest.err
41289 } && test -s conftest.$ac_objext; then
41290
41291 wx_cv_type_pthread_rec_mutex_init=yes
41292
41293 else
41294 echo "$as_me: failed program was:" >&5
41295 sed 's/^/| /' conftest.$ac_ext >&5
41296
41297
41298 wx_cv_type_pthread_rec_mutex_init=no
41299
41300
41301 fi
41302
41303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41304
41305 fi
41306 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41307 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
41308 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41309 cat >>confdefs.h <<\_ACEOF
41310 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41311 _ACEOF
41312
41313 else
41314 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41315 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41316 fi
41317 fi
41318
41319 if test "$wxUSE_COMPILER_TLS" = "auto"; then
41320 if test "$USE_NETBSD" = 1; then
41321 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
41322 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
41323 wxUSE_COMPILER_TLS=no
41324 else
41325 wxUSE_COMPILER_TLS=yes
41326 fi
41327 fi
41328
41329 if test "$wxUSE_COMPILER_TLS" = "yes"; then
41330 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
41331 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
41332 if test "${wx_cv_cc___thread+set}" = set; then
41333 echo $ECHO_N "(cached) $ECHO_C" >&6
41334 else
41335
41336 cat >conftest.$ac_ext <<_ACEOF
41337 /* confdefs.h. */
41338 _ACEOF
41339 cat confdefs.h >>conftest.$ac_ext
41340 cat >>conftest.$ac_ext <<_ACEOF
41341 /* end confdefs.h. */
41342 #include <pthread.h>
41343 int
41344 main ()
41345 {
41346
41347 static __thread int n = 0;
41348 static __thread int *p = 0;
41349
41350 ;
41351 return 0;
41352 }
41353 _ACEOF
41354 rm -f conftest.$ac_objext
41355 if { (ac_try="$ac_compile"
41356 case "(($ac_try" in
41357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41358 *) ac_try_echo=$ac_try;;
41359 esac
41360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41361 (eval "$ac_compile") 2>conftest.er1
41362 ac_status=$?
41363 grep -v '^ *+' conftest.er1 >conftest.err
41364 rm -f conftest.er1
41365 cat conftest.err >&5
41366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41367 (exit $ac_status); } && {
41368 test -z "$ac_c_werror_flag" ||
41369 test ! -s conftest.err
41370 } && test -s conftest.$ac_objext; then
41371 wx_cv_cc___thread=yes
41372 else
41373 echo "$as_me: failed program was:" >&5
41374 sed 's/^/| /' conftest.$ac_ext >&5
41375
41376 wx_cv_cc___thread=no
41377
41378 fi
41379
41380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41381
41382
41383 fi
41384 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
41385 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
41386
41387 if test "$wx_cv_cc___thread" = "yes"; then
41388
41389 GXX_VERSION=""
41390
41391
41392
41393 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
41394 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
41395
41396 if test "x$GCC" = "xyes" ; then
41397
41398 if test -z "" ; then
41399
41400 ax_gcc_option_test="int main()
41401 {
41402 return 0;
41403 }"
41404
41405 else
41406
41407 ax_gcc_option_test=""
41408
41409 fi
41410
41411
41412 # Dump the test program to file
41413 cat <<EOF > conftest.c
41414 $ax_gcc_option_test
41415 EOF
41416
41417 # Dump back the file to the log, useful for debugging purposes
41418 { ac_try='cat conftest.c 1>&5'
41419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41420 (eval $ac_try) 2>&5
41421 ac_status=$?
41422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41423 (exit $ac_status); }; }
41424
41425 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
41426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41427 (eval $ac_try) 2>&5
41428 ac_status=$?
41429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41430 (exit $ac_status); }; } ; then
41431
41432 { echo "$as_me:$LINENO: result: yes" >&5
41433 echo "${ECHO_T}yes" >&6; }
41434
41435 ax_gcc_version_option=yes
41436
41437
41438 else
41439
41440 { echo "$as_me:$LINENO: result: no" >&5
41441 echo "${ECHO_T}no" >&6; }
41442
41443 ax_gcc_version_option=no
41444
41445
41446 fi
41447
41448
41449 else
41450
41451 { echo "$as_me:$LINENO: result: no gcc available" >&5
41452 echo "${ECHO_T}no gcc available" >&6; }
41453
41454 fi
41455
41456
41457 if test "x$GXX" = "xyes"; then
41458
41459 if test "x$ax_gxx_version_option" != "no"; then
41460
41461 { echo "$as_me:$LINENO: checking gxx version" >&5
41462 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
41463 if test "${ax_cv_gxx_version+set}" = set; then
41464 echo $ECHO_N "(cached) $ECHO_C" >&6
41465 else
41466
41467 ax_cv_gxx_version="`$CXX -dumpversion`"
41468 if test "x$ax_cv_gxx_version" = "x"; then
41469
41470 ax_cv_gxx_version=""
41471
41472 fi
41473
41474
41475 fi
41476 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
41477 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
41478 GXX_VERSION=$ax_cv_gxx_version
41479
41480 fi
41481
41482
41483 fi
41484
41485
41486
41487 if test -n "$ax_cv_gxx_version"; then
41488 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
41489 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
41490 case "$ax_cv_gxx_version" in
41491 1.* | 2.* | 3.* )
41492 { echo "$as_me:$LINENO: result: no, it's broken" >&5
41493 echo "${ECHO_T}no, it's broken" >&6; }
41494 wx_cv_cc___thread=no
41495 ;;
41496 *)
41497 { echo "$as_me:$LINENO: result: yes, it works" >&5
41498 echo "${ECHO_T}yes, it works" >&6; }
41499 ;;
41500 esac
41501 fi
41502 fi
41503
41504 if test "$wx_cv_cc___thread" = "yes"; then
41505 cat >>confdefs.h <<\_ACEOF
41506 #define HAVE___THREAD_KEYWORD 1
41507 _ACEOF
41508
41509 fi
41510 fi
41511 fi
41512
41513 else
41514 if test "$wxUSE_THREADS" = "yes" ; then
41515 case "${host}" in
41516 x86_64-*-mingw32* )
41517 ;;
41518 *-*-mingw32* )
41519 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41520 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
41521 if test "${wx_cv_cflags_mthread+set}" = set; then
41522 echo $ECHO_N "(cached) $ECHO_C" >&6
41523 else
41524
41525 CFLAGS_OLD="$CFLAGS"
41526 CFLAGS="-mthreads $CFLAGS"
41527 cat >conftest.$ac_ext <<_ACEOF
41528 /* confdefs.h. */
41529 _ACEOF
41530 cat confdefs.h >>conftest.$ac_ext
41531 cat >>conftest.$ac_ext <<_ACEOF
41532 /* end confdefs.h. */
41533
41534 int
41535 main ()
41536 {
41537
41538 ;
41539 return 0;
41540 }
41541 _ACEOF
41542 rm -f conftest.$ac_objext
41543 if { (ac_try="$ac_compile"
41544 case "(($ac_try" in
41545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41546 *) ac_try_echo=$ac_try;;
41547 esac
41548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41549 (eval "$ac_compile") 2>conftest.er1
41550 ac_status=$?
41551 grep -v '^ *+' conftest.er1 >conftest.err
41552 rm -f conftest.er1
41553 cat conftest.err >&5
41554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41555 (exit $ac_status); } && {
41556 test -z "$ac_c_werror_flag" ||
41557 test ! -s conftest.err
41558 } && test -s conftest.$ac_objext; then
41559 wx_cv_cflags_mthread=yes
41560 else
41561 echo "$as_me: failed program was:" >&5
41562 sed 's/^/| /' conftest.$ac_ext >&5
41563
41564 wx_cv_cflags_mthread=no
41565
41566 fi
41567
41568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41569
41570
41571 fi
41572 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41573 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
41574
41575 if test "$wx_cv_cflags_mthread" = "yes"; then
41576 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
41577 LDFLAGS="$LDFLAGS -mthreads"
41578 else
41579 CFLAGS="$CFLAGS_OLD"
41580 fi
41581 ;;
41582 *-pc-os2*emx )
41583 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41584 LDFLAGS="$LDFLAGS -Zmt"
41585 ;;
41586 esac
41587 fi
41588 fi
41589
41590 { echo "$as_me:$LINENO: checking for localtime_r" >&5
41591 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
41592 if test "${ac_cv_func_localtime_r+set}" = set; then
41593 echo $ECHO_N "(cached) $ECHO_C" >&6
41594 else
41595 cat >conftest.$ac_ext <<_ACEOF
41596 /* confdefs.h. */
41597 _ACEOF
41598 cat confdefs.h >>conftest.$ac_ext
41599 cat >>conftest.$ac_ext <<_ACEOF
41600 /* end confdefs.h. */
41601 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41603 #define localtime_r innocuous_localtime_r
41604
41605 /* System header to define __stub macros and hopefully few prototypes,
41606 which can conflict with char localtime_r (); below.
41607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41608 <limits.h> exists even on freestanding compilers. */
41609
41610 #ifdef __STDC__
41611 # include <limits.h>
41612 #else
41613 # include <assert.h>
41614 #endif
41615
41616 #undef localtime_r
41617
41618 /* Override any GCC internal prototype to avoid an error.
41619 Use char because int might match the return type of a GCC
41620 builtin and then its argument prototype would still apply. */
41621 #ifdef __cplusplus
41622 extern "C"
41623 #endif
41624 char localtime_r ();
41625 /* The GNU C library defines this for functions which it implements
41626 to always fail with ENOSYS. Some functions are actually named
41627 something starting with __ and the normal name is an alias. */
41628 #if defined __stub_localtime_r || defined __stub___localtime_r
41629 choke me
41630 #endif
41631
41632 int
41633 main ()
41634 {
41635 return localtime_r ();
41636 ;
41637 return 0;
41638 }
41639 _ACEOF
41640 rm -f conftest.$ac_objext conftest$ac_exeext
41641 if { (ac_try="$ac_link"
41642 case "(($ac_try" in
41643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41644 *) ac_try_echo=$ac_try;;
41645 esac
41646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41647 (eval "$ac_link") 2>conftest.er1
41648 ac_status=$?
41649 grep -v '^ *+' conftest.er1 >conftest.err
41650 rm -f conftest.er1
41651 cat conftest.err >&5
41652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41653 (exit $ac_status); } && {
41654 test -z "$ac_c_werror_flag" ||
41655 test ! -s conftest.err
41656 } && test -s conftest$ac_exeext &&
41657 $as_test_x conftest$ac_exeext; then
41658 ac_cv_func_localtime_r=yes
41659 else
41660 echo "$as_me: failed program was:" >&5
41661 sed 's/^/| /' conftest.$ac_ext >&5
41662
41663 ac_cv_func_localtime_r=no
41664 fi
41665
41666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41667 conftest$ac_exeext conftest.$ac_ext
41668 fi
41669 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41670 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
41671 if test $ac_cv_func_localtime_r = yes; then
41672 cat >>confdefs.h <<\_ACEOF
41673 #define HAVE_LOCALTIME_R 1
41674 _ACEOF
41675
41676 fi
41677
41678 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
41679 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
41680 if test "${ac_cv_func_gmtime_r+set}" = set; then
41681 echo $ECHO_N "(cached) $ECHO_C" >&6
41682 else
41683 cat >conftest.$ac_ext <<_ACEOF
41684 /* confdefs.h. */
41685 _ACEOF
41686 cat confdefs.h >>conftest.$ac_ext
41687 cat >>conftest.$ac_ext <<_ACEOF
41688 /* end confdefs.h. */
41689 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41691 #define gmtime_r innocuous_gmtime_r
41692
41693 /* System header to define __stub macros and hopefully few prototypes,
41694 which can conflict with char gmtime_r (); below.
41695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41696 <limits.h> exists even on freestanding compilers. */
41697
41698 #ifdef __STDC__
41699 # include <limits.h>
41700 #else
41701 # include <assert.h>
41702 #endif
41703
41704 #undef gmtime_r
41705
41706 /* Override any GCC internal prototype to avoid an error.
41707 Use char because int might match the return type of a GCC
41708 builtin and then its argument prototype would still apply. */
41709 #ifdef __cplusplus
41710 extern "C"
41711 #endif
41712 char gmtime_r ();
41713 /* The GNU C library defines this for functions which it implements
41714 to always fail with ENOSYS. Some functions are actually named
41715 something starting with __ and the normal name is an alias. */
41716 #if defined __stub_gmtime_r || defined __stub___gmtime_r
41717 choke me
41718 #endif
41719
41720 int
41721 main ()
41722 {
41723 return gmtime_r ();
41724 ;
41725 return 0;
41726 }
41727 _ACEOF
41728 rm -f conftest.$ac_objext conftest$ac_exeext
41729 if { (ac_try="$ac_link"
41730 case "(($ac_try" in
41731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41732 *) ac_try_echo=$ac_try;;
41733 esac
41734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41735 (eval "$ac_link") 2>conftest.er1
41736 ac_status=$?
41737 grep -v '^ *+' conftest.er1 >conftest.err
41738 rm -f conftest.er1
41739 cat conftest.err >&5
41740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41741 (exit $ac_status); } && {
41742 test -z "$ac_c_werror_flag" ||
41743 test ! -s conftest.err
41744 } && test -s conftest$ac_exeext &&
41745 $as_test_x conftest$ac_exeext; then
41746 ac_cv_func_gmtime_r=yes
41747 else
41748 echo "$as_me: failed program was:" >&5
41749 sed 's/^/| /' conftest.$ac_ext >&5
41750
41751 ac_cv_func_gmtime_r=no
41752 fi
41753
41754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41755 conftest$ac_exeext conftest.$ac_ext
41756 fi
41757 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41758 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
41759 if test $ac_cv_func_gmtime_r = yes; then
41760 cat >>confdefs.h <<\_ACEOF
41761 #define HAVE_GMTIME_R 1
41762 _ACEOF
41763
41764 fi
41765
41766
41767
41768
41769 ac_ext=c
41770 ac_cpp='$CPP $CPPFLAGS'
41771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41774
41775 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41776 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
41777
41778 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41779 echo $ECHO_N "(cached) $ECHO_C" >&6
41780 else
41781
41782
41783 ################################################################
41784
41785 ac_cv_func_which_gethostbyname_r=unknown
41786
41787 #
41788 # ONE ARGUMENT (sanity check)
41789 #
41790
41791 # This should fail, as there is no variant of gethostbyname_r() that takes
41792 # a single argument. If it actually compiles, then we can assume that
41793 # netdb.h is not declaring the function, and the compiler is thereby
41794 # assuming an implicit prototype. In which case, we're out of luck.
41795 #
41796 cat >conftest.$ac_ext <<_ACEOF
41797 /* confdefs.h. */
41798 _ACEOF
41799 cat confdefs.h >>conftest.$ac_ext
41800 cat >>conftest.$ac_ext <<_ACEOF
41801 /* end confdefs.h. */
41802 #include <netdb.h>
41803 int
41804 main ()
41805 {
41806
41807 char *name = "www.gnu.org";
41808 (void)gethostbyname_r(name) /* ; */
41809
41810 ;
41811 return 0;
41812 }
41813 _ACEOF
41814 rm -f conftest.$ac_objext
41815 if { (ac_try="$ac_compile"
41816 case "(($ac_try" in
41817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41818 *) ac_try_echo=$ac_try;;
41819 esac
41820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41821 (eval "$ac_compile") 2>conftest.er1
41822 ac_status=$?
41823 grep -v '^ *+' conftest.er1 >conftest.err
41824 rm -f conftest.er1
41825 cat conftest.err >&5
41826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41827 (exit $ac_status); } && {
41828 test -z "$ac_c_werror_flag" ||
41829 test ! -s conftest.err
41830 } && test -s conftest.$ac_objext; then
41831 ac_cv_func_which_gethostbyname_r=no
41832 else
41833 echo "$as_me: failed program was:" >&5
41834 sed 's/^/| /' conftest.$ac_ext >&5
41835
41836
41837 fi
41838
41839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41840
41841 #
41842 # SIX ARGUMENTS
41843 # (e.g. Linux)
41844 #
41845
41846 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41847
41848 cat >conftest.$ac_ext <<_ACEOF
41849 /* confdefs.h. */
41850 _ACEOF
41851 cat confdefs.h >>conftest.$ac_ext
41852 cat >>conftest.$ac_ext <<_ACEOF
41853 /* end confdefs.h. */
41854 #include <netdb.h>
41855 int
41856 main ()
41857 {
41858
41859 char *name = "www.gnu.org";
41860 struct hostent ret, *retp;
41861 char buf[1024];
41862 int buflen = 1024;
41863 int my_h_errno;
41864 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41865
41866 ;
41867 return 0;
41868 }
41869 _ACEOF
41870 rm -f conftest.$ac_objext
41871 if { (ac_try="$ac_compile"
41872 case "(($ac_try" in
41873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41874 *) ac_try_echo=$ac_try;;
41875 esac
41876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41877 (eval "$ac_compile") 2>conftest.er1
41878 ac_status=$?
41879 grep -v '^ *+' conftest.er1 >conftest.err
41880 rm -f conftest.er1
41881 cat conftest.err >&5
41882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41883 (exit $ac_status); } && {
41884 test -z "$ac_c_werror_flag" ||
41885 test ! -s conftest.err
41886 } && test -s conftest.$ac_objext; then
41887 ac_cv_func_which_gethostbyname_r=six
41888 else
41889 echo "$as_me: failed program was:" >&5
41890 sed 's/^/| /' conftest.$ac_ext >&5
41891
41892
41893 fi
41894
41895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41896
41897 fi
41898
41899 #
41900 # FIVE ARGUMENTS
41901 # (e.g. Solaris)
41902 #
41903
41904 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41905
41906 cat >conftest.$ac_ext <<_ACEOF
41907 /* confdefs.h. */
41908 _ACEOF
41909 cat confdefs.h >>conftest.$ac_ext
41910 cat >>conftest.$ac_ext <<_ACEOF
41911 /* end confdefs.h. */
41912 #include <netdb.h>
41913 int
41914 main ()
41915 {
41916
41917 char *name = "www.gnu.org";
41918 struct hostent ret;
41919 char buf[1024];
41920 int buflen = 1024;
41921 int my_h_errno;
41922 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41923
41924 ;
41925 return 0;
41926 }
41927 _ACEOF
41928 rm -f conftest.$ac_objext
41929 if { (ac_try="$ac_compile"
41930 case "(($ac_try" in
41931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41932 *) ac_try_echo=$ac_try;;
41933 esac
41934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41935 (eval "$ac_compile") 2>conftest.er1
41936 ac_status=$?
41937 grep -v '^ *+' conftest.er1 >conftest.err
41938 rm -f conftest.er1
41939 cat conftest.err >&5
41940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41941 (exit $ac_status); } && {
41942 test -z "$ac_c_werror_flag" ||
41943 test ! -s conftest.err
41944 } && test -s conftest.$ac_objext; then
41945 ac_cv_func_which_gethostbyname_r=five
41946 else
41947 echo "$as_me: failed program was:" >&5
41948 sed 's/^/| /' conftest.$ac_ext >&5
41949
41950
41951 fi
41952
41953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41954
41955 fi
41956
41957 #
41958 # THREE ARGUMENTS
41959 # (e.g. AIX, HP-UX, Tru64)
41960 #
41961
41962 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41963
41964 cat >conftest.$ac_ext <<_ACEOF
41965 /* confdefs.h. */
41966 _ACEOF
41967 cat confdefs.h >>conftest.$ac_ext
41968 cat >>conftest.$ac_ext <<_ACEOF
41969 /* end confdefs.h. */
41970 #include <netdb.h>
41971 int
41972 main ()
41973 {
41974
41975 char *name = "www.gnu.org";
41976 struct hostent ret;
41977 struct hostent_data data;
41978 (void)gethostbyname_r(name, &ret, &data) /* ; */
41979
41980 ;
41981 return 0;
41982 }
41983 _ACEOF
41984 rm -f conftest.$ac_objext
41985 if { (ac_try="$ac_compile"
41986 case "(($ac_try" in
41987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41988 *) ac_try_echo=$ac_try;;
41989 esac
41990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41991 (eval "$ac_compile") 2>conftest.er1
41992 ac_status=$?
41993 grep -v '^ *+' conftest.er1 >conftest.err
41994 rm -f conftest.er1
41995 cat conftest.err >&5
41996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41997 (exit $ac_status); } && {
41998 test -z "$ac_c_werror_flag" ||
41999 test ! -s conftest.err
42000 } && test -s conftest.$ac_objext; then
42001 ac_cv_func_which_gethostbyname_r=three
42002 else
42003 echo "$as_me: failed program was:" >&5
42004 sed 's/^/| /' conftest.$ac_ext >&5
42005
42006
42007 fi
42008
42009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42010
42011 fi
42012
42013 ################################################################
42014
42015
42016 fi
42017
42018 case "$ac_cv_func_which_gethostbyname_r" in
42019 three)
42020 { echo "$as_me:$LINENO: result: three" >&5
42021 echo "${ECHO_T}three" >&6; }
42022 cat >>confdefs.h <<\_ACEOF
42023 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42024 _ACEOF
42025
42026 ;;
42027
42028 five)
42029 { echo "$as_me:$LINENO: result: five" >&5
42030 echo "${ECHO_T}five" >&6; }
42031 cat >>confdefs.h <<\_ACEOF
42032 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42033 _ACEOF
42034
42035 ;;
42036
42037 six)
42038 { echo "$as_me:$LINENO: result: six" >&5
42039 echo "${ECHO_T}six" >&6; }
42040 cat >>confdefs.h <<\_ACEOF
42041 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42042 _ACEOF
42043
42044 ;;
42045
42046 no)
42047 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42048 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42049 ;;
42050
42051 unknown)
42052 { echo "$as_me:$LINENO: result: can't tell" >&5
42053 echo "${ECHO_T}can't tell" >&6; }
42054 ;;
42055
42056 *)
42057 { { echo "$as_me:$LINENO: error: internal error" >&5
42058 echo "$as_me: error: internal error" >&2;}
42059 { (exit 1); exit 1; }; }
42060 ;;
42061 esac
42062
42063 ac_ext=c
42064 ac_cpp='$CPP $CPPFLAGS'
42065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42068
42069
42070
42071 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42072 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42073 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42074 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42075 if test "${ac_cv_func_gethostbyname+set}" = set; then
42076 echo $ECHO_N "(cached) $ECHO_C" >&6
42077 else
42078 cat >conftest.$ac_ext <<_ACEOF
42079 /* confdefs.h. */
42080 _ACEOF
42081 cat confdefs.h >>conftest.$ac_ext
42082 cat >>conftest.$ac_ext <<_ACEOF
42083 /* end confdefs.h. */
42084 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42086 #define gethostbyname innocuous_gethostbyname
42087
42088 /* System header to define __stub macros and hopefully few prototypes,
42089 which can conflict with char gethostbyname (); below.
42090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42091 <limits.h> exists even on freestanding compilers. */
42092
42093 #ifdef __STDC__
42094 # include <limits.h>
42095 #else
42096 # include <assert.h>
42097 #endif
42098
42099 #undef gethostbyname
42100
42101 /* Override any GCC internal prototype to avoid an error.
42102 Use char because int might match the return type of a GCC
42103 builtin and then its argument prototype would still apply. */
42104 #ifdef __cplusplus
42105 extern "C"
42106 #endif
42107 char gethostbyname ();
42108 /* The GNU C library defines this for functions which it implements
42109 to always fail with ENOSYS. Some functions are actually named
42110 something starting with __ and the normal name is an alias. */
42111 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42112 choke me
42113 #endif
42114
42115 int
42116 main ()
42117 {
42118 return gethostbyname ();
42119 ;
42120 return 0;
42121 }
42122 _ACEOF
42123 rm -f conftest.$ac_objext conftest$ac_exeext
42124 if { (ac_try="$ac_link"
42125 case "(($ac_try" in
42126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42127 *) ac_try_echo=$ac_try;;
42128 esac
42129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42130 (eval "$ac_link") 2>conftest.er1
42131 ac_status=$?
42132 grep -v '^ *+' conftest.er1 >conftest.err
42133 rm -f conftest.er1
42134 cat conftest.err >&5
42135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42136 (exit $ac_status); } && {
42137 test -z "$ac_c_werror_flag" ||
42138 test ! -s conftest.err
42139 } && test -s conftest$ac_exeext &&
42140 $as_test_x conftest$ac_exeext; then
42141 ac_cv_func_gethostbyname=yes
42142 else
42143 echo "$as_me: failed program was:" >&5
42144 sed 's/^/| /' conftest.$ac_ext >&5
42145
42146 ac_cv_func_gethostbyname=no
42147 fi
42148
42149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42150 conftest$ac_exeext conftest.$ac_ext
42151 fi
42152 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42153 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42154 if test $ac_cv_func_gethostbyname = yes; then
42155 cat >>confdefs.h <<\_ACEOF
42156 #define HAVE_GETHOSTBYNAME 1
42157 _ACEOF
42158
42159 fi
42160
42161 fi
42162
42163 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42164 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42165 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42166 echo $ECHO_N "(cached) $ECHO_C" >&6
42167 else
42168
42169 ac_ext=cpp
42170 ac_cpp='$CXXCPP $CPPFLAGS'
42171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42174
42175
42176 cat >conftest.$ac_ext <<_ACEOF
42177 /* confdefs.h. */
42178 _ACEOF
42179 cat confdefs.h >>conftest.$ac_ext
42180 cat >>conftest.$ac_ext <<_ACEOF
42181 /* end confdefs.h. */
42182 #include <netdb.h>
42183 int
42184 main ()
42185 {
42186
42187 char *name;
42188 char *proto;
42189 struct servent *se, *res;
42190 char buffer[2048];
42191 int buflen = 2048;
42192 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42193
42194 ;
42195 return 0;
42196 }
42197 _ACEOF
42198 rm -f conftest.$ac_objext
42199 if { (ac_try="$ac_compile"
42200 case "(($ac_try" in
42201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42202 *) ac_try_echo=$ac_try;;
42203 esac
42204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42205 (eval "$ac_compile") 2>conftest.er1
42206 ac_status=$?
42207 grep -v '^ *+' conftest.er1 >conftest.err
42208 rm -f conftest.er1
42209 cat conftest.err >&5
42210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42211 (exit $ac_status); } && {
42212 test -z "$ac_cxx_werror_flag" ||
42213 test ! -s conftest.err
42214 } && test -s conftest.$ac_objext; then
42215 ac_cv_func_which_getservbyname_r=six
42216 else
42217 echo "$as_me: failed program was:" >&5
42218 sed 's/^/| /' conftest.$ac_ext >&5
42219
42220
42221 cat >conftest.$ac_ext <<_ACEOF
42222 /* confdefs.h. */
42223 _ACEOF
42224 cat confdefs.h >>conftest.$ac_ext
42225 cat >>conftest.$ac_ext <<_ACEOF
42226 /* end confdefs.h. */
42227 #include <netdb.h>
42228 int
42229 main ()
42230 {
42231
42232 char *name;
42233 char *proto;
42234 struct servent *se;
42235 char buffer[2048];
42236 int buflen = 2048;
42237 (void) getservbyname_r(name, proto, se, buffer, buflen)
42238
42239 ;
42240 return 0;
42241 }
42242 _ACEOF
42243 rm -f conftest.$ac_objext
42244 if { (ac_try="$ac_compile"
42245 case "(($ac_try" in
42246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42247 *) ac_try_echo=$ac_try;;
42248 esac
42249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42250 (eval "$ac_compile") 2>conftest.er1
42251 ac_status=$?
42252 grep -v '^ *+' conftest.er1 >conftest.err
42253 rm -f conftest.er1
42254 cat conftest.err >&5
42255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42256 (exit $ac_status); } && {
42257 test -z "$ac_cxx_werror_flag" ||
42258 test ! -s conftest.err
42259 } && test -s conftest.$ac_objext; then
42260 ac_cv_func_which_getservbyname_r=five
42261 else
42262 echo "$as_me: failed program was:" >&5
42263 sed 's/^/| /' conftest.$ac_ext >&5
42264
42265
42266 cat >conftest.$ac_ext <<_ACEOF
42267 /* confdefs.h. */
42268 _ACEOF
42269 cat confdefs.h >>conftest.$ac_ext
42270 cat >>conftest.$ac_ext <<_ACEOF
42271 /* end confdefs.h. */
42272 #include <netdb.h>
42273 int
42274 main ()
42275 {
42276
42277 char *name;
42278 char *proto;
42279 struct servent *se;
42280 struct servent_data data;
42281 (void) getservbyname_r(name, proto, se, &data);
42282
42283 ;
42284 return 0;
42285 }
42286 _ACEOF
42287 rm -f conftest.$ac_objext
42288 if { (ac_try="$ac_compile"
42289 case "(($ac_try" in
42290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42291 *) ac_try_echo=$ac_try;;
42292 esac
42293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42294 (eval "$ac_compile") 2>conftest.er1
42295 ac_status=$?
42296 grep -v '^ *+' conftest.er1 >conftest.err
42297 rm -f conftest.er1
42298 cat conftest.err >&5
42299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42300 (exit $ac_status); } && {
42301 test -z "$ac_cxx_werror_flag" ||
42302 test ! -s conftest.err
42303 } && test -s conftest.$ac_objext; then
42304 ac_cv_func_which_getservbyname_r=four
42305 else
42306 echo "$as_me: failed program was:" >&5
42307 sed 's/^/| /' conftest.$ac_ext >&5
42308
42309 ac_cv_func_which_getservbyname_r=no
42310
42311 fi
42312
42313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42314
42315
42316 fi
42317
42318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42319
42320
42321 fi
42322
42323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42324 ac_ext=c
42325 ac_cpp='$CPP $CPPFLAGS'
42326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42329
42330
42331
42332 fi
42333 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42334 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
42335
42336 if test $ac_cv_func_which_getservbyname_r = six; then
42337 cat >>confdefs.h <<\_ACEOF
42338 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42339 _ACEOF
42340
42341 elif test $ac_cv_func_which_getservbyname_r = five; then
42342 cat >>confdefs.h <<\_ACEOF
42343 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42344 _ACEOF
42345
42346 elif test $ac_cv_func_which_getservbyname_r = four; then
42347 cat >>confdefs.h <<\_ACEOF
42348 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42349 _ACEOF
42350
42351 fi
42352
42353
42354 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42355 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42356
42357 for ac_func in getservbyname
42358 do
42359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42360 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42362 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42363 echo $ECHO_N "(cached) $ECHO_C" >&6
42364 else
42365 cat >conftest.$ac_ext <<_ACEOF
42366 /* confdefs.h. */
42367 _ACEOF
42368 cat confdefs.h >>conftest.$ac_ext
42369 cat >>conftest.$ac_ext <<_ACEOF
42370 /* end confdefs.h. */
42371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42373 #define $ac_func innocuous_$ac_func
42374
42375 /* System header to define __stub macros and hopefully few prototypes,
42376 which can conflict with char $ac_func (); below.
42377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42378 <limits.h> exists even on freestanding compilers. */
42379
42380 #ifdef __STDC__
42381 # include <limits.h>
42382 #else
42383 # include <assert.h>
42384 #endif
42385
42386 #undef $ac_func
42387
42388 /* Override any GCC internal prototype to avoid an error.
42389 Use char because int might match the return type of a GCC
42390 builtin and then its argument prototype would still apply. */
42391 #ifdef __cplusplus
42392 extern "C"
42393 #endif
42394 char $ac_func ();
42395 /* The GNU C library defines this for functions which it implements
42396 to always fail with ENOSYS. Some functions are actually named
42397 something starting with __ and the normal name is an alias. */
42398 #if defined __stub_$ac_func || defined __stub___$ac_func
42399 choke me
42400 #endif
42401
42402 int
42403 main ()
42404 {
42405 return $ac_func ();
42406 ;
42407 return 0;
42408 }
42409 _ACEOF
42410 rm -f conftest.$ac_objext conftest$ac_exeext
42411 if { (ac_try="$ac_link"
42412 case "(($ac_try" in
42413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42414 *) ac_try_echo=$ac_try;;
42415 esac
42416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42417 (eval "$ac_link") 2>conftest.er1
42418 ac_status=$?
42419 grep -v '^ *+' conftest.er1 >conftest.err
42420 rm -f conftest.er1
42421 cat conftest.err >&5
42422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42423 (exit $ac_status); } && {
42424 test -z "$ac_c_werror_flag" ||
42425 test ! -s conftest.err
42426 } && test -s conftest$ac_exeext &&
42427 $as_test_x conftest$ac_exeext; then
42428 eval "$as_ac_var=yes"
42429 else
42430 echo "$as_me: failed program was:" >&5
42431 sed 's/^/| /' conftest.$ac_ext >&5
42432
42433 eval "$as_ac_var=no"
42434 fi
42435
42436 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42437 conftest$ac_exeext conftest.$ac_ext
42438 fi
42439 ac_res=`eval echo '${'$as_ac_var'}'`
42440 { echo "$as_me:$LINENO: result: $ac_res" >&5
42441 echo "${ECHO_T}$ac_res" >&6; }
42442 if test `eval echo '${'$as_ac_var'}'` = yes; then
42443 cat >>confdefs.h <<_ACEOF
42444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42445 _ACEOF
42446 cat >>confdefs.h <<\_ACEOF
42447 #define HAVE_GETSERVBYNAME 1
42448 _ACEOF
42449
42450 fi
42451 done
42452
42453 fi
42454
42455 if test "$wxUSE_THREADS" = "yes"; then
42456 cat >>confdefs.h <<\_ACEOF
42457 #define wxUSE_THREADS 1
42458 _ACEOF
42459
42460
42461 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42462 else
42463 if test "$wx_cv_func_strtok_r" = "yes"; then
42464 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42465 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42466 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42467 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42468 { echo "$as_me:$LINENO: result: yes" >&5
42469 echo "${ECHO_T}yes" >&6; }
42470 else
42471 { echo "$as_me:$LINENO: result: no" >&5
42472 echo "${ECHO_T}no" >&6; }
42473 fi
42474 fi
42475 fi
42476
42477 if test "$WXGTK2" = 1 ; then
42478 cat >>confdefs.h <<_ACEOF
42479 #define __WXGTK20__ $WXGTK2
42480 _ACEOF
42481
42482 WXGTK12=1
42483 fi
42484
42485 if test "$WXGTK12" = 1 ; then
42486 cat >>confdefs.h <<_ACEOF
42487 #define __WXGTK12__ $WXGTK12
42488 _ACEOF
42489
42490 fi
42491
42492 if test "$WXGTK127" = 1 ; then
42493 cat >>confdefs.h <<_ACEOF
42494 #define __WXGTK127__ $WXGTK127
42495 _ACEOF
42496
42497 fi
42498
42499 if test "$WXGPE" = 1 ; then
42500 cat >>confdefs.h <<_ACEOF
42501 #define __WXGPE__ $WXGPE
42502 _ACEOF
42503
42504 fi
42505
42506 DEBUG_CFLAGS=
42507 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
42508 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
42509 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
42510 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
42511 DEBUG_CFLAGS="-g"
42512 fi
42513
42514 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42515 wxUSE_DEBUG_INFO=yes
42516 if test "$GCC" = yes; then
42517 DEBUG_CFLAGS="-ggdb"
42518 fi
42519 fi
42520
42521 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
42522 if test "$wxUSE_GTK" = 1 ; then
42523 if test "x$wxGTK_VERSION" = "x1" ; then
42524 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42525 fi
42526 fi
42527 fi
42528
42529 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42530 cat >>confdefs.h <<\_ACEOF
42531 #define wxUSE_MEMORY_TRACING 1
42532 _ACEOF
42533
42534 cat >>confdefs.h <<\_ACEOF
42535 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42536 _ACEOF
42537
42538 cat >>confdefs.h <<\_ACEOF
42539 #define wxUSE_DEBUG_NEW_ALWAYS 1
42540 _ACEOF
42541
42542 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42543 fi
42544
42545 if test "$wxUSE_DMALLOC" = "yes" ; then
42546 DMALLOC_LIBS="-ldmallocthcxx"
42547 fi
42548
42549 PROFILE_FLAGS=
42550 if test "$wxUSE_PROFILE" = "yes" ; then
42551 PROFILE_FLAGS=" -pg"
42552 fi
42553
42554 if test "$GCC" = "yes" ; then
42555 if test "$wxUSE_NO_RTTI" = "yes" ; then
42556 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
42557 fi
42558 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42559 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42560 fi
42561 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42562 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42563 fi
42564
42565 case "${host}" in
42566 powerpc*-*-aix* )
42567 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42568 ;;
42569 *-hppa* )
42570 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42571 ;;
42572 esac
42573 fi
42574
42575 OPTIMISE_CFLAGS=
42576 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
42577 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
42578 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
42579 else
42580 if test "$wxUSE_OPTIMISE" = "no" ; then
42581 if test "$GCC" = yes ; then
42582 OPTIMISE_CFLAGS="-O0"
42583 fi
42584 else
42585 if test "$GCC" = yes ; then
42586 case "${host}" in
42587 *-pc-os2_emx | *-pc-os2-emx )
42588 OPTIMISE_CFLAGS="-O2"
42589 ;;
42590 *)
42591 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42592 ;;
42593 esac
42594 else
42595 OPTIMISE_CFLAGS="-O"
42596 fi
42597 fi
42598 fi
42599
42600
42601 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
42602 cat >>confdefs.h <<\_ACEOF
42603 #define WXWIN_COMPATIBILITY_2_6 1
42604 _ACEOF
42605
42606
42607 WXWIN_COMPATIBILITY_2_8="yes"
42608 fi
42609
42610 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
42611 cat >>confdefs.h <<\_ACEOF
42612 #define WXWIN_COMPATIBILITY_2_8 1
42613 _ACEOF
42614
42615 fi
42616
42617
42618 if test "$wxUSE_GUI" = "yes"; then
42619 cat >>confdefs.h <<\_ACEOF
42620 #define wxUSE_GUI 1
42621 _ACEOF
42622
42623
42624 fi
42625
42626
42627 if test "$wxUSE_UNIX" = "yes"; then
42628 cat >>confdefs.h <<\_ACEOF
42629 #define wxUSE_UNIX 1
42630 _ACEOF
42631
42632 fi
42633
42634
42635 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42636
42637 HAVE_DL_FUNCS=0
42638 HAVE_SHL_FUNCS=0
42639 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42640 if test "$USE_DOS" = 1; then
42641 HAVE_DL_FUNCS=0
42642 else
42643
42644 for ac_func in dlopen
42645 do
42646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42647 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42649 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42650 echo $ECHO_N "(cached) $ECHO_C" >&6
42651 else
42652 cat >conftest.$ac_ext <<_ACEOF
42653 /* confdefs.h. */
42654 _ACEOF
42655 cat confdefs.h >>conftest.$ac_ext
42656 cat >>conftest.$ac_ext <<_ACEOF
42657 /* end confdefs.h. */
42658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42660 #define $ac_func innocuous_$ac_func
42661
42662 /* System header to define __stub macros and hopefully few prototypes,
42663 which can conflict with char $ac_func (); below.
42664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42665 <limits.h> exists even on freestanding compilers. */
42666
42667 #ifdef __STDC__
42668 # include <limits.h>
42669 #else
42670 # include <assert.h>
42671 #endif
42672
42673 #undef $ac_func
42674
42675 /* Override any GCC internal prototype to avoid an error.
42676 Use char because int might match the return type of a GCC
42677 builtin and then its argument prototype would still apply. */
42678 #ifdef __cplusplus
42679 extern "C"
42680 #endif
42681 char $ac_func ();
42682 /* The GNU C library defines this for functions which it implements
42683 to always fail with ENOSYS. Some functions are actually named
42684 something starting with __ and the normal name is an alias. */
42685 #if defined __stub_$ac_func || defined __stub___$ac_func
42686 choke me
42687 #endif
42688
42689 int
42690 main ()
42691 {
42692 return $ac_func ();
42693 ;
42694 return 0;
42695 }
42696 _ACEOF
42697 rm -f conftest.$ac_objext conftest$ac_exeext
42698 if { (ac_try="$ac_link"
42699 case "(($ac_try" in
42700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42701 *) ac_try_echo=$ac_try;;
42702 esac
42703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42704 (eval "$ac_link") 2>conftest.er1
42705 ac_status=$?
42706 grep -v '^ *+' conftest.er1 >conftest.err
42707 rm -f conftest.er1
42708 cat conftest.err >&5
42709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42710 (exit $ac_status); } && {
42711 test -z "$ac_c_werror_flag" ||
42712 test ! -s conftest.err
42713 } && test -s conftest$ac_exeext &&
42714 $as_test_x conftest$ac_exeext; then
42715 eval "$as_ac_var=yes"
42716 else
42717 echo "$as_me: failed program was:" >&5
42718 sed 's/^/| /' conftest.$ac_ext >&5
42719
42720 eval "$as_ac_var=no"
42721 fi
42722
42723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42724 conftest$ac_exeext conftest.$ac_ext
42725 fi
42726 ac_res=`eval echo '${'$as_ac_var'}'`
42727 { echo "$as_me:$LINENO: result: $ac_res" >&5
42728 echo "${ECHO_T}$ac_res" >&6; }
42729 if test `eval echo '${'$as_ac_var'}'` = yes; then
42730 cat >>confdefs.h <<_ACEOF
42731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42732 _ACEOF
42733
42734 cat >>confdefs.h <<\_ACEOF
42735 #define HAVE_DLOPEN 1
42736 _ACEOF
42737
42738 HAVE_DL_FUNCS=1
42739
42740 else
42741
42742 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42743 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
42744 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42745 echo $ECHO_N "(cached) $ECHO_C" >&6
42746 else
42747 ac_check_lib_save_LIBS=$LIBS
42748 LIBS="-ldl $LIBS"
42749 cat >conftest.$ac_ext <<_ACEOF
42750 /* confdefs.h. */
42751 _ACEOF
42752 cat confdefs.h >>conftest.$ac_ext
42753 cat >>conftest.$ac_ext <<_ACEOF
42754 /* end confdefs.h. */
42755
42756 /* Override any GCC internal prototype to avoid an error.
42757 Use char because int might match the return type of a GCC
42758 builtin and then its argument prototype would still apply. */
42759 #ifdef __cplusplus
42760 extern "C"
42761 #endif
42762 char dlopen ();
42763 int
42764 main ()
42765 {
42766 return dlopen ();
42767 ;
42768 return 0;
42769 }
42770 _ACEOF
42771 rm -f conftest.$ac_objext conftest$ac_exeext
42772 if { (ac_try="$ac_link"
42773 case "(($ac_try" in
42774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42775 *) ac_try_echo=$ac_try;;
42776 esac
42777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42778 (eval "$ac_link") 2>conftest.er1
42779 ac_status=$?
42780 grep -v '^ *+' conftest.er1 >conftest.err
42781 rm -f conftest.er1
42782 cat conftest.err >&5
42783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42784 (exit $ac_status); } && {
42785 test -z "$ac_c_werror_flag" ||
42786 test ! -s conftest.err
42787 } && test -s conftest$ac_exeext &&
42788 $as_test_x conftest$ac_exeext; then
42789 ac_cv_lib_dl_dlopen=yes
42790 else
42791 echo "$as_me: failed program was:" >&5
42792 sed 's/^/| /' conftest.$ac_ext >&5
42793
42794 ac_cv_lib_dl_dlopen=no
42795 fi
42796
42797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42798 conftest$ac_exeext conftest.$ac_ext
42799 LIBS=$ac_check_lib_save_LIBS
42800 fi
42801 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42802 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
42803 if test $ac_cv_lib_dl_dlopen = yes; then
42804
42805 cat >>confdefs.h <<\_ACEOF
42806 #define HAVE_DLOPEN 1
42807 _ACEOF
42808
42809 HAVE_DL_FUNCS=1
42810 DL_LINK=" -ldl$DL_LINK"
42811
42812 else
42813
42814
42815 for ac_func in shl_load
42816 do
42817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42818 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42820 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42821 echo $ECHO_N "(cached) $ECHO_C" >&6
42822 else
42823 cat >conftest.$ac_ext <<_ACEOF
42824 /* confdefs.h. */
42825 _ACEOF
42826 cat confdefs.h >>conftest.$ac_ext
42827 cat >>conftest.$ac_ext <<_ACEOF
42828 /* end confdefs.h. */
42829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42831 #define $ac_func innocuous_$ac_func
42832
42833 /* System header to define __stub macros and hopefully few prototypes,
42834 which can conflict with char $ac_func (); below.
42835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42836 <limits.h> exists even on freestanding compilers. */
42837
42838 #ifdef __STDC__
42839 # include <limits.h>
42840 #else
42841 # include <assert.h>
42842 #endif
42843
42844 #undef $ac_func
42845
42846 /* Override any GCC internal prototype to avoid an error.
42847 Use char because int might match the return type of a GCC
42848 builtin and then its argument prototype would still apply. */
42849 #ifdef __cplusplus
42850 extern "C"
42851 #endif
42852 char $ac_func ();
42853 /* The GNU C library defines this for functions which it implements
42854 to always fail with ENOSYS. Some functions are actually named
42855 something starting with __ and the normal name is an alias. */
42856 #if defined __stub_$ac_func || defined __stub___$ac_func
42857 choke me
42858 #endif
42859
42860 int
42861 main ()
42862 {
42863 return $ac_func ();
42864 ;
42865 return 0;
42866 }
42867 _ACEOF
42868 rm -f conftest.$ac_objext conftest$ac_exeext
42869 if { (ac_try="$ac_link"
42870 case "(($ac_try" in
42871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42872 *) ac_try_echo=$ac_try;;
42873 esac
42874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42875 (eval "$ac_link") 2>conftest.er1
42876 ac_status=$?
42877 grep -v '^ *+' conftest.er1 >conftest.err
42878 rm -f conftest.er1
42879 cat conftest.err >&5
42880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42881 (exit $ac_status); } && {
42882 test -z "$ac_c_werror_flag" ||
42883 test ! -s conftest.err
42884 } && test -s conftest$ac_exeext &&
42885 $as_test_x conftest$ac_exeext; then
42886 eval "$as_ac_var=yes"
42887 else
42888 echo "$as_me: failed program was:" >&5
42889 sed 's/^/| /' conftest.$ac_ext >&5
42890
42891 eval "$as_ac_var=no"
42892 fi
42893
42894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42895 conftest$ac_exeext conftest.$ac_ext
42896 fi
42897 ac_res=`eval echo '${'$as_ac_var'}'`
42898 { echo "$as_me:$LINENO: result: $ac_res" >&5
42899 echo "${ECHO_T}$ac_res" >&6; }
42900 if test `eval echo '${'$as_ac_var'}'` = yes; then
42901 cat >>confdefs.h <<_ACEOF
42902 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42903 _ACEOF
42904
42905 cat >>confdefs.h <<\_ACEOF
42906 #define HAVE_SHL_LOAD 1
42907 _ACEOF
42908
42909 HAVE_SHL_FUNCS=1
42910
42911 else
42912
42913 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42914 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
42915 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42916 echo $ECHO_N "(cached) $ECHO_C" >&6
42917 else
42918 ac_check_lib_save_LIBS=$LIBS
42919 LIBS="-lshl_load $LIBS"
42920 cat >conftest.$ac_ext <<_ACEOF
42921 /* confdefs.h. */
42922 _ACEOF
42923 cat confdefs.h >>conftest.$ac_ext
42924 cat >>conftest.$ac_ext <<_ACEOF
42925 /* end confdefs.h. */
42926
42927 /* Override any GCC internal prototype to avoid an error.
42928 Use char because int might match the return type of a GCC
42929 builtin and then its argument prototype would still apply. */
42930 #ifdef __cplusplus
42931 extern "C"
42932 #endif
42933 char dld ();
42934 int
42935 main ()
42936 {
42937 return dld ();
42938 ;
42939 return 0;
42940 }
42941 _ACEOF
42942 rm -f conftest.$ac_objext conftest$ac_exeext
42943 if { (ac_try="$ac_link"
42944 case "(($ac_try" in
42945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42946 *) ac_try_echo=$ac_try;;
42947 esac
42948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42949 (eval "$ac_link") 2>conftest.er1
42950 ac_status=$?
42951 grep -v '^ *+' conftest.er1 >conftest.err
42952 rm -f conftest.er1
42953 cat conftest.err >&5
42954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42955 (exit $ac_status); } && {
42956 test -z "$ac_c_werror_flag" ||
42957 test ! -s conftest.err
42958 } && test -s conftest$ac_exeext &&
42959 $as_test_x conftest$ac_exeext; then
42960 ac_cv_lib_shl_load_dld=yes
42961 else
42962 echo "$as_me: failed program was:" >&5
42963 sed 's/^/| /' conftest.$ac_ext >&5
42964
42965 ac_cv_lib_shl_load_dld=no
42966 fi
42967
42968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42969 conftest$ac_exeext conftest.$ac_ext
42970 LIBS=$ac_check_lib_save_LIBS
42971 fi
42972 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42973 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
42974 if test $ac_cv_lib_shl_load_dld = yes; then
42975
42976 HAVE_SHL_FUNCS=1
42977 DL_LINK=" -ldld$DL_LINK"
42978
42979 fi
42980
42981
42982 fi
42983 done
42984
42985
42986 fi
42987
42988
42989 fi
42990 done
42991
42992
42993 if test "$HAVE_DL_FUNCS" = 1; then
42994
42995 for ac_func in dlerror
42996 do
42997 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42998 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43000 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43001 echo $ECHO_N "(cached) $ECHO_C" >&6
43002 else
43003 cat >conftest.$ac_ext <<_ACEOF
43004 /* confdefs.h. */
43005 _ACEOF
43006 cat confdefs.h >>conftest.$ac_ext
43007 cat >>conftest.$ac_ext <<_ACEOF
43008 /* end confdefs.h. */
43009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43011 #define $ac_func innocuous_$ac_func
43012
43013 /* System header to define __stub macros and hopefully few prototypes,
43014 which can conflict with char $ac_func (); below.
43015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43016 <limits.h> exists even on freestanding compilers. */
43017
43018 #ifdef __STDC__
43019 # include <limits.h>
43020 #else
43021 # include <assert.h>
43022 #endif
43023
43024 #undef $ac_func
43025
43026 /* Override any GCC internal prototype to avoid an error.
43027 Use char because int might match the return type of a GCC
43028 builtin and then its argument prototype would still apply. */
43029 #ifdef __cplusplus
43030 extern "C"
43031 #endif
43032 char $ac_func ();
43033 /* The GNU C library defines this for functions which it implements
43034 to always fail with ENOSYS. Some functions are actually named
43035 something starting with __ and the normal name is an alias. */
43036 #if defined __stub_$ac_func || defined __stub___$ac_func
43037 choke me
43038 #endif
43039
43040 int
43041 main ()
43042 {
43043 return $ac_func ();
43044 ;
43045 return 0;
43046 }
43047 _ACEOF
43048 rm -f conftest.$ac_objext conftest$ac_exeext
43049 if { (ac_try="$ac_link"
43050 case "(($ac_try" in
43051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43052 *) ac_try_echo=$ac_try;;
43053 esac
43054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43055 (eval "$ac_link") 2>conftest.er1
43056 ac_status=$?
43057 grep -v '^ *+' conftest.er1 >conftest.err
43058 rm -f conftest.er1
43059 cat conftest.err >&5
43060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43061 (exit $ac_status); } && {
43062 test -z "$ac_c_werror_flag" ||
43063 test ! -s conftest.err
43064 } && test -s conftest$ac_exeext &&
43065 $as_test_x conftest$ac_exeext; then
43066 eval "$as_ac_var=yes"
43067 else
43068 echo "$as_me: failed program was:" >&5
43069 sed 's/^/| /' conftest.$ac_ext >&5
43070
43071 eval "$as_ac_var=no"
43072 fi
43073
43074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43075 conftest$ac_exeext conftest.$ac_ext
43076 fi
43077 ac_res=`eval echo '${'$as_ac_var'}'`
43078 { echo "$as_me:$LINENO: result: $ac_res" >&5
43079 echo "${ECHO_T}$ac_res" >&6; }
43080 if test `eval echo '${'$as_ac_var'}'` = yes; then
43081 cat >>confdefs.h <<_ACEOF
43082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43083 _ACEOF
43084 cat >>confdefs.h <<\_ACEOF
43085 #define HAVE_DLERROR 1
43086 _ACEOF
43087
43088 else
43089
43090 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43091 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43092 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43093 echo $ECHO_N "(cached) $ECHO_C" >&6
43094 else
43095 ac_check_lib_save_LIBS=$LIBS
43096 LIBS="-ldl $LIBS"
43097 cat >conftest.$ac_ext <<_ACEOF
43098 /* confdefs.h. */
43099 _ACEOF
43100 cat confdefs.h >>conftest.$ac_ext
43101 cat >>conftest.$ac_ext <<_ACEOF
43102 /* end confdefs.h. */
43103
43104 /* Override any GCC internal prototype to avoid an error.
43105 Use char because int might match the return type of a GCC
43106 builtin and then its argument prototype would still apply. */
43107 #ifdef __cplusplus
43108 extern "C"
43109 #endif
43110 char dlerror ();
43111 int
43112 main ()
43113 {
43114 return dlerror ();
43115 ;
43116 return 0;
43117 }
43118 _ACEOF
43119 rm -f conftest.$ac_objext conftest$ac_exeext
43120 if { (ac_try="$ac_link"
43121 case "(($ac_try" in
43122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43123 *) ac_try_echo=$ac_try;;
43124 esac
43125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43126 (eval "$ac_link") 2>conftest.er1
43127 ac_status=$?
43128 grep -v '^ *+' conftest.er1 >conftest.err
43129 rm -f conftest.er1
43130 cat conftest.err >&5
43131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43132 (exit $ac_status); } && {
43133 test -z "$ac_c_werror_flag" ||
43134 test ! -s conftest.err
43135 } && test -s conftest$ac_exeext &&
43136 $as_test_x conftest$ac_exeext; then
43137 ac_cv_lib_dl_dlerror=yes
43138 else
43139 echo "$as_me: failed program was:" >&5
43140 sed 's/^/| /' conftest.$ac_ext >&5
43141
43142 ac_cv_lib_dl_dlerror=no
43143 fi
43144
43145 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43146 conftest$ac_exeext conftest.$ac_ext
43147 LIBS=$ac_check_lib_save_LIBS
43148 fi
43149 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43150 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43151 if test $ac_cv_lib_dl_dlerror = yes; then
43152 cat >>confdefs.h <<\_ACEOF
43153 #define HAVE_DLERROR 1
43154 _ACEOF
43155
43156 fi
43157
43158
43159
43160 fi
43161 done
43162
43163 fi
43164 fi
43165
43166 if test "$USE_DARWIN" = 1; then
43167 HAVE_DL_FUNCS=1
43168 fi
43169
43170 if test "$HAVE_DL_FUNCS" = 0; then
43171 if test "$HAVE_SHL_FUNCS" = 0; then
43172 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43173 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43174 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43175 wxUSE_DYNAMIC_LOADER=no
43176 wxUSE_DYNLIB_CLASS=no
43177 else
43178 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43179 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43180 fi
43181 fi
43182 fi
43183 fi
43184 fi
43185
43186 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43187 cat >>confdefs.h <<\_ACEOF
43188 #define wxUSE_DYNAMIC_LOADER 1
43189 _ACEOF
43190
43191 fi
43192 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43193 cat >>confdefs.h <<\_ACEOF
43194 #define wxUSE_DYNLIB_CLASS 1
43195 _ACEOF
43196
43197 fi
43198
43199
43200
43201 if test "$wxUSE_PLUGINS" = "yes" ; then
43202 if test "$wxUSE_SHARED" = "no" ; then
43203 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43204 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43205 wxUSE_PLUGINS=no
43206 fi
43207 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43208 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43209 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43210 wxUSE_PLUGINS=no
43211 fi
43212 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43213 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43214 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43215 wxUSE_PLUGINS=no
43216 fi
43217 if test "$wxUSE_PLUGINS" = "yes" ; then
43218 cat >>confdefs.h <<\_ACEOF
43219 #define wxUSE_PLUGINS 1
43220 _ACEOF
43221
43222 fi
43223 fi
43224
43225
43226 if test "$wxUSE_FSWATCHER" = "yes"; then
43227 if test "$wxUSE_MSW" != "1"; then
43228 if test "$wxUSE_UNIX" = "yes"; then
43229
43230 for ac_header in sys/inotify.h
43231 do
43232 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43233 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43234 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43235 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43236 echo $ECHO_N "(cached) $ECHO_C" >&6
43237 else
43238 cat >conftest.$ac_ext <<_ACEOF
43239 /* confdefs.h. */
43240 _ACEOF
43241 cat confdefs.h >>conftest.$ac_ext
43242 cat >>conftest.$ac_ext <<_ACEOF
43243 /* end confdefs.h. */
43244 $ac_includes_default
43245
43246 #include <$ac_header>
43247 _ACEOF
43248 rm -f conftest.$ac_objext
43249 if { (ac_try="$ac_compile"
43250 case "(($ac_try" in
43251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43252 *) ac_try_echo=$ac_try;;
43253 esac
43254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43255 (eval "$ac_compile") 2>conftest.er1
43256 ac_status=$?
43257 grep -v '^ *+' conftest.er1 >conftest.err
43258 rm -f conftest.er1
43259 cat conftest.err >&5
43260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43261 (exit $ac_status); } && {
43262 test -z "$ac_c_werror_flag" ||
43263 test ! -s conftest.err
43264 } && test -s conftest.$ac_objext; then
43265 eval "$as_ac_Header=yes"
43266 else
43267 echo "$as_me: failed program was:" >&5
43268 sed 's/^/| /' conftest.$ac_ext >&5
43269
43270 eval "$as_ac_Header=no"
43271 fi
43272
43273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43274 fi
43275 ac_res=`eval echo '${'$as_ac_Header'}'`
43276 { echo "$as_me:$LINENO: result: $ac_res" >&5
43277 echo "${ECHO_T}$ac_res" >&6; }
43278 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43279 cat >>confdefs.h <<_ACEOF
43280 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43281 _ACEOF
43282
43283 fi
43284
43285 done
43286
43287 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
43288 cat >>confdefs.h <<\_ACEOF
43289 #define wxHAS_INOTIFY 1
43290 _ACEOF
43291
43292 else
43293
43294 for ac_header in sys/event.h
43295 do
43296 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43297 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43298 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43299 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43300 echo $ECHO_N "(cached) $ECHO_C" >&6
43301 else
43302 cat >conftest.$ac_ext <<_ACEOF
43303 /* confdefs.h. */
43304 _ACEOF
43305 cat confdefs.h >>conftest.$ac_ext
43306 cat >>conftest.$ac_ext <<_ACEOF
43307 /* end confdefs.h. */
43308 $ac_includes_default
43309
43310 #include <$ac_header>
43311 _ACEOF
43312 rm -f conftest.$ac_objext
43313 if { (ac_try="$ac_compile"
43314 case "(($ac_try" in
43315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43316 *) ac_try_echo=$ac_try;;
43317 esac
43318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43319 (eval "$ac_compile") 2>conftest.er1
43320 ac_status=$?
43321 grep -v '^ *+' conftest.er1 >conftest.err
43322 rm -f conftest.er1
43323 cat conftest.err >&5
43324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43325 (exit $ac_status); } && {
43326 test -z "$ac_c_werror_flag" ||
43327 test ! -s conftest.err
43328 } && test -s conftest.$ac_objext; then
43329 eval "$as_ac_Header=yes"
43330 else
43331 echo "$as_me: failed program was:" >&5
43332 sed 's/^/| /' conftest.$ac_ext >&5
43333
43334 eval "$as_ac_Header=no"
43335 fi
43336
43337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43338 fi
43339 ac_res=`eval echo '${'$as_ac_Header'}'`
43340 { echo "$as_me:$LINENO: result: $ac_res" >&5
43341 echo "${ECHO_T}$ac_res" >&6; }
43342 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43343 cat >>confdefs.h <<_ACEOF
43344 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43345 _ACEOF
43346
43347 fi
43348
43349 done
43350
43351 if test "$ac_cv_header_sys_event_h" = "yes"; then
43352 cat >>confdefs.h <<\_ACEOF
43353 #define wxHAS_KQUEUE 1
43354 _ACEOF
43355
43356 else
43357 wxUSE_FSWATCHER=no
43358 fi
43359 fi
43360 else
43361 wxUSE_FSWATCHER=no
43362 fi
43363 fi
43364
43365 if test "$wxUSE_FSWATCHER" = "yes"; then
43366 cat >>confdefs.h <<\_ACEOF
43367 #define wxUSE_FSWATCHER 1
43368 _ACEOF
43369
43370 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
43371 else
43372 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
43373 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
43374 fi
43375 fi
43376
43377
43378 if test "$wxUSE_STL" = "yes"; then
43379 cat >>confdefs.h <<\_ACEOF
43380 #define wxUSE_STL 1
43381 _ACEOF
43382
43383 fi
43384
43385 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43386 cat >>confdefs.h <<\_ACEOF
43387 #define wxUSE_EXTENDED_RTTI 1
43388 _ACEOF
43389
43390 fi
43391
43392 if test "$wxUSE_ANY" = "yes"; then
43393 cat >>confdefs.h <<\_ACEOF
43394 #define wxUSE_ANY 1
43395 _ACEOF
43396
43397 fi
43398
43399 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43400 cat >>confdefs.h <<\_ACEOF
43401 #define wxUSE_APPLE_IEEE 1
43402 _ACEOF
43403
43404 fi
43405
43406 if test "$wxUSE_TIMER" = "yes"; then
43407 cat >>confdefs.h <<\_ACEOF
43408 #define wxUSE_TIMER 1
43409 _ACEOF
43410
43411 fi
43412
43413 if test "$USE_UNIX" = 1 ; then
43414 if test "$wxUSE_MGL" != 1; then
43415 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43416 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43417 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43418 echo $ECHO_N "(cached) $ECHO_C" >&6
43419 else
43420
43421 cat >conftest.$ac_ext <<_ACEOF
43422 /* confdefs.h. */
43423 _ACEOF
43424 cat confdefs.h >>conftest.$ac_ext
43425 cat >>conftest.$ac_ext <<_ACEOF
43426 /* end confdefs.h. */
43427
43428 #include <sys/ioctl.h>
43429 #include <sys/soundcard.h>
43430
43431 int
43432 main ()
43433 {
43434
43435 ioctl(0, SNDCTL_DSP_SPEED, 0);
43436
43437 ;
43438 return 0;
43439 }
43440 _ACEOF
43441 rm -f conftest.$ac_objext conftest$ac_exeext
43442 if { (ac_try="$ac_link"
43443 case "(($ac_try" in
43444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43445 *) ac_try_echo=$ac_try;;
43446 esac
43447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43448 (eval "$ac_link") 2>conftest.er1
43449 ac_status=$?
43450 grep -v '^ *+' conftest.er1 >conftest.err
43451 rm -f conftest.er1
43452 cat conftest.err >&5
43453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43454 (exit $ac_status); } && {
43455 test -z "$ac_c_werror_flag" ||
43456 test ! -s conftest.err
43457 } && test -s conftest$ac_exeext &&
43458 $as_test_x conftest$ac_exeext; then
43459 ac_cv_header_sys_soundcard=yes
43460 else
43461 echo "$as_me: failed program was:" >&5
43462 sed 's/^/| /' conftest.$ac_ext >&5
43463
43464
43465 saveLibs="$LIBS"
43466 LIBS="$saveLibs -lossaudio"
43467 cat >conftest.$ac_ext <<_ACEOF
43468 /* confdefs.h. */
43469 _ACEOF
43470 cat confdefs.h >>conftest.$ac_ext
43471 cat >>conftest.$ac_ext <<_ACEOF
43472 /* end confdefs.h. */
43473
43474 #include <sys/ioctl.h>
43475 #include <sys/soundcard.h>
43476
43477 int
43478 main ()
43479 {
43480
43481 ioctl(0, SNDCTL_DSP_SPEED, 0);
43482
43483 ;
43484 return 0;
43485 }
43486 _ACEOF
43487 rm -f conftest.$ac_objext conftest$ac_exeext
43488 if { (ac_try="$ac_link"
43489 case "(($ac_try" in
43490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43491 *) ac_try_echo=$ac_try;;
43492 esac
43493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43494 (eval "$ac_link") 2>conftest.er1
43495 ac_status=$?
43496 grep -v '^ *+' conftest.er1 >conftest.err
43497 rm -f conftest.er1
43498 cat conftest.err >&5
43499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43500 (exit $ac_status); } && {
43501 test -z "$ac_c_werror_flag" ||
43502 test ! -s conftest.err
43503 } && test -s conftest$ac_exeext &&
43504 $as_test_x conftest$ac_exeext; then
43505 ac_cv_header_sys_soundcard=yes
43506 else
43507 echo "$as_me: failed program was:" >&5
43508 sed 's/^/| /' conftest.$ac_ext >&5
43509
43510
43511 LIBS="$saveLibs"
43512 ac_cv_header_sys_soundcard=no
43513
43514
43515 fi
43516
43517 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43518 conftest$ac_exeext conftest.$ac_ext
43519
43520
43521 fi
43522
43523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43524 conftest$ac_exeext conftest.$ac_ext
43525
43526 fi
43527 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43528 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
43529 fi
43530
43531 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43532 cat >>confdefs.h <<\_ACEOF
43533 #define HAVE_SYS_SOUNDCARD_H 1
43534 _ACEOF
43535
43536 fi
43537 fi
43538
43539 WITH_PLUGIN_SDL=0
43540 if test "$wxUSE_SOUND" = "yes"; then
43541 if test "$USE_UNIX" = 1 ; then
43542 if test "$wxUSE_LIBSDL" != "no"; then
43543
43544 # Check whether --with-sdl-prefix was given.
43545 if test "${with_sdl_prefix+set}" = set; then
43546 withval=$with_sdl_prefix; sdl_prefix="$withval"
43547 else
43548 sdl_prefix=""
43549 fi
43550
43551
43552 # Check whether --with-sdl-exec-prefix was given.
43553 if test "${with_sdl_exec_prefix+set}" = set; then
43554 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
43555 else
43556 sdl_exec_prefix=""
43557 fi
43558
43559 # Check whether --enable-sdltest was given.
43560 if test "${enable_sdltest+set}" = set; then
43561 enableval=$enable_sdltest;
43562 else
43563 enable_sdltest=yes
43564 fi
43565
43566
43567 if test x$sdl_exec_prefix != x ; then
43568 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43569 if test x${SDL_CONFIG+set} != xset ; then
43570 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43571 fi
43572 fi
43573 if test x$sdl_prefix != x ; then
43574 sdl_args="$sdl_args --prefix=$sdl_prefix"
43575 if test x${SDL_CONFIG+set} != xset ; then
43576 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43577 fi
43578 fi
43579
43580 if test "x$prefix" != xNONE; then
43581 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43582 fi
43583 # Extract the first word of "sdl-config", so it can be a program name with args.
43584 set dummy sdl-config; ac_word=$2
43585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43587 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43588 echo $ECHO_N "(cached) $ECHO_C" >&6
43589 else
43590 case $SDL_CONFIG in
43591 [\\/]* | ?:[\\/]*)
43592 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43593 ;;
43594 *)
43595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43596 for as_dir in $PATH
43597 do
43598 IFS=$as_save_IFS
43599 test -z "$as_dir" && as_dir=.
43600 for ac_exec_ext in '' $ac_executable_extensions; do
43601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43602 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43604 break 2
43605 fi
43606 done
43607 done
43608 IFS=$as_save_IFS
43609
43610 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43611 ;;
43612 esac
43613 fi
43614 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43615 if test -n "$SDL_CONFIG"; then
43616 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43617 echo "${ECHO_T}$SDL_CONFIG" >&6; }
43618 else
43619 { echo "$as_me:$LINENO: result: no" >&5
43620 echo "${ECHO_T}no" >&6; }
43621 fi
43622
43623
43624 min_sdl_version=1.2.0
43625 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43626 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
43627 no_sdl=""
43628 if test "$SDL_CONFIG" = "no" ; then
43629 no_sdl=yes
43630 else
43631 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43632 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43633
43634 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43635 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43636 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43637 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43638 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43639 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43640 if test "x$enable_sdltest" = "xyes" ; then
43641 ac_save_CFLAGS="$CFLAGS"
43642 ac_save_CXXFLAGS="$CXXFLAGS"
43643 ac_save_LIBS="$LIBS"
43644 CFLAGS="$CFLAGS $SDL_CFLAGS"
43645 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43646 LIBS="$LIBS $SDL_LIBS"
43647 rm -f conf.sdltest
43648 if test "$cross_compiling" = yes; then
43649 echo $ac_n "cross compiling; assumed OK... $ac_c"
43650 else
43651 cat >conftest.$ac_ext <<_ACEOF
43652 /* confdefs.h. */
43653 _ACEOF
43654 cat confdefs.h >>conftest.$ac_ext
43655 cat >>conftest.$ac_ext <<_ACEOF
43656 /* end confdefs.h. */
43657
43658 #include <stdio.h>
43659 #include <stdlib.h>
43660 #include <string.h>
43661 #include "SDL.h"
43662
43663 char*
43664 my_strdup (char *str)
43665 {
43666 char *new_str;
43667
43668 if (str)
43669 {
43670 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43671 strcpy (new_str, str);
43672 }
43673 else
43674 new_str = NULL;
43675
43676 return new_str;
43677 }
43678
43679 int main (int argc, char *argv[])
43680 {
43681 int major, minor, micro;
43682 char *tmp_version;
43683
43684 /* This hangs on some systems (?)
43685 system ("touch conf.sdltest");
43686 */
43687 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43688
43689 /* HP/UX 9 (%@#!) writes to sscanf strings */
43690 tmp_version = my_strdup("$min_sdl_version");
43691 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
43692 printf("%s, bad version string\n", "$min_sdl_version");
43693 exit(1);
43694 }
43695
43696 if (($sdl_major_version > major) ||
43697 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43698 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43699 {
43700 return 0;
43701 }
43702 else
43703 {
43704 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43705 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43706 printf("*** best to upgrade to the required version.\n");
43707 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43708 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43709 printf("*** config.cache before re-running configure\n");
43710 return 1;
43711 }
43712 }
43713
43714
43715 _ACEOF
43716 rm -f conftest$ac_exeext
43717 if { (ac_try="$ac_link"
43718 case "(($ac_try" in
43719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43720 *) ac_try_echo=$ac_try;;
43721 esac
43722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43723 (eval "$ac_link") 2>&5
43724 ac_status=$?
43725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43726 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43727 { (case "(($ac_try" in
43728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43729 *) ac_try_echo=$ac_try;;
43730 esac
43731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43732 (eval "$ac_try") 2>&5
43733 ac_status=$?
43734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43735 (exit $ac_status); }; }; then
43736 :
43737 else
43738 echo "$as_me: program exited with status $ac_status" >&5
43739 echo "$as_me: failed program was:" >&5
43740 sed 's/^/| /' conftest.$ac_ext >&5
43741
43742 ( exit $ac_status )
43743 no_sdl=yes
43744 fi
43745 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43746 fi
43747
43748
43749 CFLAGS="$ac_save_CFLAGS"
43750 CXXFLAGS="$ac_save_CXXFLAGS"
43751 LIBS="$ac_save_LIBS"
43752 fi
43753 fi
43754 if test "x$no_sdl" = x ; then
43755 { echo "$as_me:$LINENO: result: yes" >&5
43756 echo "${ECHO_T}yes" >&6; }
43757
43758 EXTRALIBS_SDL="$SDL_LIBS"
43759 CFLAGS="$SDL_CFLAGS $CFLAGS"
43760 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43761 cat >>confdefs.h <<\_ACEOF
43762 #define wxUSE_LIBSDL 1
43763 _ACEOF
43764
43765
43766 else
43767 { echo "$as_me:$LINENO: result: no" >&5
43768 echo "${ECHO_T}no" >&6; }
43769 if test "$SDL_CONFIG" = "no" ; then
43770 echo "*** The sdl-config script installed by SDL could not be found"
43771 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43772 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43773 echo "*** full path to sdl-config."
43774 else
43775 if test -f conf.sdltest ; then
43776 :
43777 else
43778 echo "*** Could not run SDL test program, checking why..."
43779 CFLAGS="$CFLAGS $SDL_CFLAGS"
43780 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43781 LIBS="$LIBS $SDL_LIBS"
43782 cat >conftest.$ac_ext <<_ACEOF
43783 /* confdefs.h. */
43784 _ACEOF
43785 cat confdefs.h >>conftest.$ac_ext
43786 cat >>conftest.$ac_ext <<_ACEOF
43787 /* end confdefs.h. */
43788
43789 #include <stdio.h>
43790 #include "SDL.h"
43791
43792 int main(int argc, char *argv[])
43793 { return 0; }
43794 #undef main
43795 #define main K_and_R_C_main
43796
43797 int
43798 main ()
43799 {
43800 return 0;
43801 ;
43802 return 0;
43803 }
43804 _ACEOF
43805 rm -f conftest.$ac_objext conftest$ac_exeext
43806 if { (ac_try="$ac_link"
43807 case "(($ac_try" in
43808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43809 *) ac_try_echo=$ac_try;;
43810 esac
43811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43812 (eval "$ac_link") 2>conftest.er1
43813 ac_status=$?
43814 grep -v '^ *+' conftest.er1 >conftest.err
43815 rm -f conftest.er1
43816 cat conftest.err >&5
43817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43818 (exit $ac_status); } && {
43819 test -z "$ac_c_werror_flag" ||
43820 test ! -s conftest.err
43821 } && test -s conftest$ac_exeext &&
43822 $as_test_x conftest$ac_exeext; then
43823 echo "*** The test program compiled, but did not run. This usually means"
43824 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43825 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43826 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43827 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43828 echo "*** is required on your system"
43829 echo "***"
43830 echo "*** If you have an old version installed, it is best to remove it, although"
43831 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43832 else
43833 echo "$as_me: failed program was:" >&5
43834 sed 's/^/| /' conftest.$ac_ext >&5
43835
43836 echo "*** The test program failed to compile or link. See the file config.log for the"
43837 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43838 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43839 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43840 fi
43841
43842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43843 conftest$ac_exeext conftest.$ac_ext
43844 CFLAGS="$ac_save_CFLAGS"
43845 CXXFLAGS="$ac_save_CXXFLAGS"
43846 LIBS="$ac_save_LIBS"
43847 fi
43848 fi
43849 SDL_CFLAGS=""
43850 SDL_LIBS=""
43851 wxUSE_LIBSDL="no"
43852 fi
43853
43854
43855 rm -f conf.sdltest
43856
43857 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43858 WITH_PLUGIN_SDL=1
43859 fi
43860 fi
43861 else
43862 if test "$wxUSE_MGL" = 1; then
43863 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
43864 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
43865 wxUSE_SOUND="no"
43866 fi
43867 fi
43868 fi
43869
43870 if test "$wxUSE_SOUND" = "yes"; then
43871 cat >>confdefs.h <<\_ACEOF
43872 #define wxUSE_SOUND 1
43873 _ACEOF
43874
43875 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
43876 fi
43877
43878 if test "$WXGTK2" = 1; then
43879
43880
43881 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43882 if test -n "$ac_tool_prefix"; then
43883 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43884 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
43885 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43887 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43888 echo $ECHO_N "(cached) $ECHO_C" >&6
43889 else
43890 case $PKG_CONFIG in
43891 [\\/]* | ?:[\\/]*)
43892 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
43893 ;;
43894 *)
43895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43896 for as_dir in $PATH
43897 do
43898 IFS=$as_save_IFS
43899 test -z "$as_dir" && as_dir=.
43900 for ac_exec_ext in '' $ac_executable_extensions; do
43901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43902 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43904 break 2
43905 fi
43906 done
43907 done
43908 IFS=$as_save_IFS
43909
43910 ;;
43911 esac
43912 fi
43913 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
43914 if test -n "$PKG_CONFIG"; then
43915 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43916 echo "${ECHO_T}$PKG_CONFIG" >&6; }
43917 else
43918 { echo "$as_me:$LINENO: result: no" >&5
43919 echo "${ECHO_T}no" >&6; }
43920 fi
43921
43922
43923 fi
43924 if test -z "$ac_cv_path_PKG_CONFIG"; then
43925 ac_pt_PKG_CONFIG=$PKG_CONFIG
43926 # Extract the first word of "pkg-config", so it can be a program name with args.
43927 set dummy pkg-config; ac_word=$2
43928 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43930 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43931 echo $ECHO_N "(cached) $ECHO_C" >&6
43932 else
43933 case $ac_pt_PKG_CONFIG in
43934 [\\/]* | ?:[\\/]*)
43935 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43936 ;;
43937 *)
43938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43939 for as_dir in $PATH
43940 do
43941 IFS=$as_save_IFS
43942 test -z "$as_dir" && as_dir=.
43943 for ac_exec_ext in '' $ac_executable_extensions; do
43944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43945 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43947 break 2
43948 fi
43949 done
43950 done
43951 IFS=$as_save_IFS
43952
43953 ;;
43954 esac
43955 fi
43956 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
43957 if test -n "$ac_pt_PKG_CONFIG"; then
43958 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43959 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
43960 else
43961 { echo "$as_me:$LINENO: result: no" >&5
43962 echo "${ECHO_T}no" >&6; }
43963 fi
43964
43965 if test "x$ac_pt_PKG_CONFIG" = x; then
43966 PKG_CONFIG=""
43967 else
43968 case $cross_compiling:$ac_tool_warned in
43969 yes:)
43970 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
43971 whose name does not start with the host triplet. If you think this
43972 configuration is useful to you, please write to autoconf@gnu.org." >&5
43973 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
43974 whose name does not start with the host triplet. If you think this
43975 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
43976 ac_tool_warned=yes ;;
43977 esac
43978 PKG_CONFIG=$ac_pt_PKG_CONFIG
43979 fi
43980 else
43981 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
43982 fi
43983
43984 fi
43985 if test -n "$PKG_CONFIG"; then
43986 _pkg_min_version=0.9.0
43987 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
43988 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
43989 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
43990 { echo "$as_me:$LINENO: result: yes" >&5
43991 echo "${ECHO_T}yes" >&6; }
43992 else
43993 { echo "$as_me:$LINENO: result: no" >&5
43994 echo "${ECHO_T}no" >&6; }
43995 PKG_CONFIG=""
43996 fi
43997
43998 fi
43999
44000 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44001
44002 if test "$wxUSE_GTKPRINT" = "yes" ; then
44003
44004
44005 pkg_failed=no
44006 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44007 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44008
44009 if test -n "$PKG_CONFIG"; then
44010 if test -n "$GTKPRINT_CFLAGS"; then
44011 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44012 else
44013 if test -n "$PKG_CONFIG" && \
44014 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44015 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44016 ac_status=$?
44017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44018 (exit $ac_status); }; then
44019 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44020 else
44021 pkg_failed=yes
44022 fi
44023 fi
44024 else
44025 pkg_failed=untried
44026 fi
44027 if test -n "$PKG_CONFIG"; then
44028 if test -n "$GTKPRINT_LIBS"; then
44029 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
44030 else
44031 if test -n "$PKG_CONFIG" && \
44032 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44033 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44034 ac_status=$?
44035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44036 (exit $ac_status); }; then
44037 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44038 else
44039 pkg_failed=yes
44040 fi
44041 fi
44042 else
44043 pkg_failed=untried
44044 fi
44045
44046
44047
44048 if test $pkg_failed = yes; then
44049
44050 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44051 _pkg_short_errors_supported=yes
44052 else
44053 _pkg_short_errors_supported=no
44054 fi
44055 if test $_pkg_short_errors_supported = yes; then
44056 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44057 else
44058 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44059 fi
44060 # Put the nasty error message in config.log where it belongs
44061 echo "$GTKPRINT_PKG_ERRORS" >&5
44062
44063
44064 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44065 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44066 wxUSE_GTKPRINT="no"
44067
44068
44069 elif test $pkg_failed = untried; then
44070
44071 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44072 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44073 wxUSE_GTKPRINT="no"
44074
44075
44076 else
44077 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
44078 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
44079 { echo "$as_me:$LINENO: result: yes" >&5
44080 echo "${ECHO_T}yes" >&6; }
44081
44082 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
44083 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
44084 cat >>confdefs.h <<\_ACEOF
44085 #define wxUSE_GTKPRINT 1
44086 _ACEOF
44087
44088
44089 fi
44090 fi
44091
44092 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44093
44094
44095 pkg_failed=no
44096 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44097 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44098
44099 if test -n "$PKG_CONFIG"; then
44100 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44101 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44102 else
44103 if test -n "$PKG_CONFIG" && \
44104 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44105 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44106 ac_status=$?
44107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44108 (exit $ac_status); }; then
44109 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44110 else
44111 pkg_failed=yes
44112 fi
44113 fi
44114 else
44115 pkg_failed=untried
44116 fi
44117 if test -n "$PKG_CONFIG"; then
44118 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44119 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44120 else
44121 if test -n "$PKG_CONFIG" && \
44122 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44123 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44124 ac_status=$?
44125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44126 (exit $ac_status); }; then
44127 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44128 else
44129 pkg_failed=yes
44130 fi
44131 fi
44132 else
44133 pkg_failed=untried
44134 fi
44135
44136
44137
44138 if test $pkg_failed = yes; then
44139
44140 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44141 _pkg_short_errors_supported=yes
44142 else
44143 _pkg_short_errors_supported=no
44144 fi
44145 if test $_pkg_short_errors_supported = yes; then
44146 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44147 else
44148 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44149 fi
44150 # Put the nasty error message in config.log where it belongs
44151 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44152
44153
44154 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44155 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44156 wxUSE_LIBGNOMEPRINT="no"
44157
44158
44159 elif test $pkg_failed = untried; then
44160
44161 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44162 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44163 wxUSE_LIBGNOMEPRINT="no"
44164
44165
44166 else
44167 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44168 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44169 { echo "$as_me:$LINENO: result: yes" >&5
44170 echo "${ECHO_T}yes" >&6; }
44171
44172 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44173 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44174 cat >>confdefs.h <<\_ACEOF
44175 #define wxUSE_LIBGNOMEPRINT 1
44176 _ACEOF
44177
44178
44179 fi
44180 fi
44181 fi
44182
44183 if test "$wxUSE_MIMETYPE" = "yes" ; then
44184 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44185
44186
44187 pkg_failed=no
44188 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44189 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44190
44191 if test -n "$PKG_CONFIG"; then
44192 if test -n "$GNOMEVFS_CFLAGS"; then
44193 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44194 else
44195 if test -n "$PKG_CONFIG" && \
44196 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44197 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44198 ac_status=$?
44199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44200 (exit $ac_status); }; then
44201 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44202 else
44203 pkg_failed=yes
44204 fi
44205 fi
44206 else
44207 pkg_failed=untried
44208 fi
44209 if test -n "$PKG_CONFIG"; then
44210 if test -n "$GNOMEVFS_LIBS"; then
44211 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
44212 else
44213 if test -n "$PKG_CONFIG" && \
44214 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44215 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44216 ac_status=$?
44217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44218 (exit $ac_status); }; then
44219 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44220 else
44221 pkg_failed=yes
44222 fi
44223 fi
44224 else
44225 pkg_failed=untried
44226 fi
44227
44228
44229
44230 if test $pkg_failed = yes; then
44231
44232 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44233 _pkg_short_errors_supported=yes
44234 else
44235 _pkg_short_errors_supported=no
44236 fi
44237 if test $_pkg_short_errors_supported = yes; then
44238 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44239 else
44240 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44241 fi
44242 # Put the nasty error message in config.log where it belongs
44243 echo "$GNOMEVFS_PKG_ERRORS" >&5
44244
44245
44246 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44247 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44248 wxUSE_LIBGNOMEVFS="no"
44249
44250
44251 elif test $pkg_failed = untried; then
44252
44253 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44254 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44255 wxUSE_LIBGNOMEVFS="no"
44256
44257
44258 else
44259 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
44260 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
44261 { echo "$as_me:$LINENO: result: yes" >&5
44262 echo "${ECHO_T}yes" >&6; }
44263
44264 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
44265 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
44266 cat >>confdefs.h <<\_ACEOF
44267 #define wxUSE_LIBGNOMEVFS 1
44268 _ACEOF
44269
44270
44271 fi
44272 fi
44273 fi
44274
44275 if test "$wxUSE_LIBHILDON" = "yes" ; then
44276
44277 pkg_failed=no
44278 { echo "$as_me:$LINENO: checking for HILDON" >&5
44279 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44280
44281 if test -n "$PKG_CONFIG"; then
44282 if test -n "$HILDON_CFLAGS"; then
44283 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
44284 else
44285 if test -n "$PKG_CONFIG" && \
44286 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44287 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44288 ac_status=$?
44289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44290 (exit $ac_status); }; then
44291 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44292 else
44293 pkg_failed=yes
44294 fi
44295 fi
44296 else
44297 pkg_failed=untried
44298 fi
44299 if test -n "$PKG_CONFIG"; then
44300 if test -n "$HILDON_LIBS"; then
44301 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
44302 else
44303 if test -n "$PKG_CONFIG" && \
44304 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44305 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44306 ac_status=$?
44307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44308 (exit $ac_status); }; then
44309 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44310 else
44311 pkg_failed=yes
44312 fi
44313 fi
44314 else
44315 pkg_failed=untried
44316 fi
44317
44318
44319
44320 if test $pkg_failed = yes; then
44321
44322 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44323 _pkg_short_errors_supported=yes
44324 else
44325 _pkg_short_errors_supported=no
44326 fi
44327 if test $_pkg_short_errors_supported = yes; then
44328 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44329 else
44330 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44331 fi
44332 # Put the nasty error message in config.log where it belongs
44333 echo "$HILDON_PKG_ERRORS" >&5
44334
44335
44336 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44337 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44338 wxUSE_LIBHILDON="no"
44339 ac_hildon_lgpl=0
44340
44341
44342 elif test $pkg_failed = untried; then
44343
44344 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44345 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44346 wxUSE_LIBHILDON="no"
44347 ac_hildon_lgpl=0
44348
44349
44350 else
44351 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
44352 HILDON_LIBS=$pkg_cv_HILDON_LIBS
44353 { echo "$as_me:$LINENO: result: yes" >&5
44354 echo "${ECHO_T}yes" >&6; }
44355
44356 EXTRALIBS_HILDON="$HILDON_LIBS"
44357 CFLAGS="$CFLAGS $HILDON_CFLAGS"
44358 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
44359 cat >>confdefs.h <<\_ACEOF
44360 #define wxUSE_LIBHILDON 1
44361 _ACEOF
44362
44363 ac_hildon_lgpl=1
44364
44365 fi
44366
44367 if test "$ac_hildon_lgpl" = 0 ; then
44368
44369 pkg_failed=no
44370 { echo "$as_me:$LINENO: checking for HILDON2" >&5
44371 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
44372
44373 if test -n "$PKG_CONFIG"; then
44374 if test -n "$HILDON2_CFLAGS"; then
44375 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
44376 else
44377 if test -n "$PKG_CONFIG" && \
44378 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44379 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44380 ac_status=$?
44381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44382 (exit $ac_status); }; then
44383 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
44384 else
44385 pkg_failed=yes
44386 fi
44387 fi
44388 else
44389 pkg_failed=untried
44390 fi
44391 if test -n "$PKG_CONFIG"; then
44392 if test -n "$HILDON2_LIBS"; then
44393 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
44394 else
44395 if test -n "$PKG_CONFIG" && \
44396 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44397 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44398 ac_status=$?
44399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44400 (exit $ac_status); }; then
44401 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
44402 else
44403 pkg_failed=yes
44404 fi
44405 fi
44406 else
44407 pkg_failed=untried
44408 fi
44409
44410
44411
44412 if test $pkg_failed = yes; then
44413
44414 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44415 _pkg_short_errors_supported=yes
44416 else
44417 _pkg_short_errors_supported=no
44418 fi
44419 if test $_pkg_short_errors_supported = yes; then
44420 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44421 else
44422 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44423 fi
44424 # Put the nasty error message in config.log where it belongs
44425 echo "$HILDON2_PKG_ERRORS" >&5
44426
44427
44428 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44429 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44430 wxUSE_LIBHILDON2="no"
44431
44432
44433 elif test $pkg_failed = untried; then
44434
44435 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44436 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44437 wxUSE_LIBHILDON2="no"
44438
44439
44440 else
44441 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
44442 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
44443 { echo "$as_me:$LINENO: result: yes" >&5
44444 echo "${ECHO_T}yes" >&6; }
44445
44446 EXTRALIBS_HILDON="$HILDON2_LIBS"
44447 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
44448 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
44449 cat >>confdefs.h <<\_ACEOF
44450 #define wxUSE_LIBHILDON2 1
44451 _ACEOF
44452
44453
44454 fi
44455 fi
44456 fi
44457 fi
44458
44459 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44460 cat >>confdefs.h <<\_ACEOF
44461 #define wxUSE_CMDLINE_PARSER 1
44462 _ACEOF
44463
44464 fi
44465
44466 if test "$wxUSE_STOPWATCH" = "yes"; then
44467 cat >>confdefs.h <<\_ACEOF
44468 #define wxUSE_STOPWATCH 1
44469 _ACEOF
44470
44471 fi
44472
44473 if test "$wxUSE_DATETIME" = "yes"; then
44474 cat >>confdefs.h <<\_ACEOF
44475 #define wxUSE_DATETIME 1
44476 _ACEOF
44477
44478 fi
44479
44480 if test "$wxUSE_FILE" = "yes"; then
44481 cat >>confdefs.h <<\_ACEOF
44482 #define wxUSE_FILE 1
44483 _ACEOF
44484
44485 fi
44486
44487 if test "$wxUSE_FFILE" = "yes"; then
44488 cat >>confdefs.h <<\_ACEOF
44489 #define wxUSE_FFILE 1
44490 _ACEOF
44491
44492 fi
44493
44494 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44495 if test "$wxUSE_STREAMS" != yes; then
44496 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44497 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44498 wxUSE_ARCHIVE_STREAMS=no
44499 else
44500 cat >>confdefs.h <<\_ACEOF
44501 #define wxUSE_ARCHIVE_STREAMS 1
44502 _ACEOF
44503
44504 fi
44505 fi
44506
44507 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44508 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44509 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44510 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44511 elif test "$wxUSE_ZLIB" = "no"; then
44512 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44513 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44514 else
44515 cat >>confdefs.h <<\_ACEOF
44516 #define wxUSE_ZIPSTREAM 1
44517 _ACEOF
44518
44519 fi
44520 fi
44521
44522 if test "$wxUSE_TARSTREAM" = "yes"; then
44523 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44524 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44525 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44526 else
44527 cat >>confdefs.h <<\_ACEOF
44528 #define wxUSE_TARSTREAM 1
44529 _ACEOF
44530
44531 fi
44532 fi
44533
44534 if test "$wxUSE_FILE_HISTORY" = "yes"; then
44535 cat >>confdefs.h <<\_ACEOF
44536 #define wxUSE_FILE_HISTORY 1
44537 _ACEOF
44538
44539 fi
44540
44541 if test "$wxUSE_FILESYSTEM" = "yes"; then
44542 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
44543 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44544 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44545 wxUSE_FILESYSTEM=no
44546 else
44547 cat >>confdefs.h <<\_ACEOF
44548 #define wxUSE_FILESYSTEM 1
44549 _ACEOF
44550
44551 fi
44552 fi
44553
44554 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44555 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44556 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44557 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44558 else
44559 cat >>confdefs.h <<\_ACEOF
44560 #define wxUSE_FS_ARCHIVE 1
44561 _ACEOF
44562
44563 fi
44564 fi
44565
44566 if test "$wxUSE_FS_ZIP" = "yes"; then
44567 if test "$wxUSE_FS_ARCHIVE" != yes; then
44568 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44569 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44570 else
44571 cat >>confdefs.h <<\_ACEOF
44572 #define wxUSE_FS_ZIP 1
44573 _ACEOF
44574
44575 fi
44576 fi
44577
44578 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44579 if test "$USE_UNIX" != 1; then
44580 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44581 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44582 wxUSE_ON_FATAL_EXCEPTION=no
44583 else
44584 cat >>confdefs.h <<\_ACEOF
44585 #define wxUSE_ON_FATAL_EXCEPTION 1
44586 _ACEOF
44587
44588 fi
44589 fi
44590
44591 if test "$wxUSE_STACKWALKER" = "yes"; then
44592 cat >>confdefs.h <<\_ACEOF
44593 #define wxUSE_STACKWALKER 1
44594 _ACEOF
44595
44596 fi
44597
44598 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44599 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
44600 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44601 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44602 wxUSE_DEBUGREPORT=no
44603 else
44604 cat >>confdefs.h <<\_ACEOF
44605 #define wxUSE_DEBUGREPORT 1
44606 _ACEOF
44607
44608 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44609 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
44610 fi
44611 fi
44612 fi
44613
44614 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
44615 cat >>confdefs.h <<\_ACEOF
44616 #define wxUSE_SNGLINST_CHECKER 1
44617 _ACEOF
44618
44619 fi
44620
44621 if test "$wxUSE_BUSYINFO" = "yes"; then
44622 cat >>confdefs.h <<\_ACEOF
44623 #define wxUSE_BUSYINFO 1
44624 _ACEOF
44625
44626 fi
44627
44628 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
44629 cat >>confdefs.h <<\_ACEOF
44630 #define wxUSE_STD_IOSTREAM 1
44631 _ACEOF
44632
44633 fi
44634
44635 if test "$wxUSE_STD_STRING" = "yes"; then
44636 cat >>confdefs.h <<\_ACEOF
44637 #define wxUSE_STD_STRING 1
44638 _ACEOF
44639
44640 fi
44641
44642 if test "$wxUSE_STDPATHS" = "yes"; then
44643 cat >>confdefs.h <<\_ACEOF
44644 #define wxUSE_STDPATHS 1
44645 _ACEOF
44646
44647 fi
44648
44649 if test "$wxUSE_TEXTBUFFER" = "yes"; then
44650 cat >>confdefs.h <<\_ACEOF
44651 #define wxUSE_TEXTBUFFER 1
44652 _ACEOF
44653
44654 fi
44655
44656 if test "$wxUSE_TEXTFILE" = "yes"; then
44657 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
44658 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
44659 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
44660 else
44661 cat >>confdefs.h <<\_ACEOF
44662 #define wxUSE_TEXTFILE 1
44663 _ACEOF
44664
44665 fi
44666 fi
44667
44668 if test "$wxUSE_CONFIG" = "yes" ; then
44669 if test "$wxUSE_TEXTFILE" != "yes"; then
44670 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
44671 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
44672 else
44673 cat >>confdefs.h <<\_ACEOF
44674 #define wxUSE_CONFIG 1
44675 _ACEOF
44676
44677 cat >>confdefs.h <<\_ACEOF
44678 #define wxUSE_CONFIG_NATIVE 1
44679 _ACEOF
44680
44681 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
44682 fi
44683 fi
44684
44685 if test "$wxUSE_INTL" = "yes" ; then
44686 if test "$wxUSE_FILE" != "yes"; then
44687 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
44688 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
44689 else
44690 cat >>confdefs.h <<\_ACEOF
44691 #define wxUSE_INTL 1
44692 _ACEOF
44693
44694 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
44695 GUIDIST="$GUIDIST INTL_DIST"
44696 fi
44697 fi
44698
44699 if test "$wxUSE_XLOCALE" = "yes" ; then
44700 cat >>confdefs.h <<\_ACEOF
44701 #define wxUSE_XLOCALE 1
44702 _ACEOF
44703
44704 { echo "$as_me:$LINENO: checking for locale_t" >&5
44705 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
44706 if test "${ac_cv_type_locale_t+set}" = set; then
44707 echo $ECHO_N "(cached) $ECHO_C" >&6
44708 else
44709 cat >conftest.$ac_ext <<_ACEOF
44710 /* confdefs.h. */
44711 _ACEOF
44712 cat confdefs.h >>conftest.$ac_ext
44713 cat >>conftest.$ac_ext <<_ACEOF
44714 /* end confdefs.h. */
44715 #include <xlocale.h>
44716 #include <locale.h>
44717
44718 typedef locale_t ac__type_new_;
44719 int
44720 main ()
44721 {
44722 if ((ac__type_new_ *) 0)
44723 return 0;
44724 if (sizeof (ac__type_new_))
44725 return 0;
44726 ;
44727 return 0;
44728 }
44729 _ACEOF
44730 rm -f conftest.$ac_objext
44731 if { (ac_try="$ac_compile"
44732 case "(($ac_try" in
44733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44734 *) ac_try_echo=$ac_try;;
44735 esac
44736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44737 (eval "$ac_compile") 2>conftest.er1
44738 ac_status=$?
44739 grep -v '^ *+' conftest.er1 >conftest.err
44740 rm -f conftest.er1
44741 cat conftest.err >&5
44742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44743 (exit $ac_status); } && {
44744 test -z "$ac_c_werror_flag" ||
44745 test ! -s conftest.err
44746 } && test -s conftest.$ac_objext; then
44747 ac_cv_type_locale_t=yes
44748 else
44749 echo "$as_me: failed program was:" >&5
44750 sed 's/^/| /' conftest.$ac_ext >&5
44751
44752 ac_cv_type_locale_t=no
44753 fi
44754
44755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44756 fi
44757 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
44758 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
44759 if test $ac_cv_type_locale_t = yes; then
44760
44761 cat >>confdefs.h <<_ACEOF
44762 #define HAVE_LOCALE_T 1
44763 _ACEOF
44764
44765
44766 fi
44767
44768 fi
44769
44770 if test "$wxUSE_LOG" = "yes"; then
44771 cat >>confdefs.h <<\_ACEOF
44772 #define wxUSE_LOG 1
44773 _ACEOF
44774
44775
44776 if test "$wxUSE_LOGGUI" = "yes"; then
44777 cat >>confdefs.h <<\_ACEOF
44778 #define wxUSE_LOGGUI 1
44779 _ACEOF
44780
44781 fi
44782
44783 if test "$wxUSE_LOGWINDOW" = "yes"; then
44784 cat >>confdefs.h <<\_ACEOF
44785 #define wxUSE_LOGWINDOW 1
44786 _ACEOF
44787
44788 fi
44789
44790 if test "$wxUSE_LOGDIALOG" = "yes"; then
44791 cat >>confdefs.h <<\_ACEOF
44792 #define wxUSE_LOG_DIALOG 1
44793 _ACEOF
44794
44795 fi
44796
44797 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
44798 fi
44799
44800 if test "$wxUSE_LONGLONG" = "yes"; then
44801 cat >>confdefs.h <<\_ACEOF
44802 #define wxUSE_LONGLONG 1
44803 _ACEOF
44804
44805 fi
44806
44807 if test "$wxUSE_GEOMETRY" = "yes"; then
44808 cat >>confdefs.h <<\_ACEOF
44809 #define wxUSE_GEOMETRY 1
44810 _ACEOF
44811
44812 fi
44813
44814 if test "$wxUSE_BASE64" = "yes"; then
44815 cat >>confdefs.h <<\_ACEOF
44816 #define wxUSE_BASE64 1
44817 _ACEOF
44818
44819 fi
44820
44821 if test "$wxUSE_STREAMS" = "yes" ; then
44822 cat >>confdefs.h <<\_ACEOF
44823 #define wxUSE_STREAMS 1
44824 _ACEOF
44825
44826 fi
44827
44828 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44829 cat >>confdefs.h <<\_ACEOF
44830 #define wxUSE_PRINTF_POS_PARAMS 1
44831 _ACEOF
44832
44833 fi
44834
44835 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
44836 cat >>confdefs.h <<\_ACEOF
44837 #define wxUSE_OBJC_UNIQUIFYING 1
44838 _ACEOF
44839
44840 fi
44841
44842
44843 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
44844 cat >>confdefs.h <<\_ACEOF
44845 #define wxUSE_CONSOLE_EVENTLOOP 1
44846 _ACEOF
44847
44848
44849 if test "$wxUSE_UNIX" = "yes"; then
44850 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
44851 cat >>confdefs.h <<\_ACEOF
44852 #define wxUSE_SELECT_DISPATCHER 1
44853 _ACEOF
44854
44855 fi
44856
44857 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
44858
44859 for ac_header in sys/epoll.h
44860 do
44861 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44862 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44863 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44864 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44865 echo $ECHO_N "(cached) $ECHO_C" >&6
44866 else
44867 cat >conftest.$ac_ext <<_ACEOF
44868 /* confdefs.h. */
44869 _ACEOF
44870 cat confdefs.h >>conftest.$ac_ext
44871 cat >>conftest.$ac_ext <<_ACEOF
44872 /* end confdefs.h. */
44873 $ac_includes_default
44874
44875 #include <$ac_header>
44876 _ACEOF
44877 rm -f conftest.$ac_objext
44878 if { (ac_try="$ac_compile"
44879 case "(($ac_try" in
44880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44881 *) ac_try_echo=$ac_try;;
44882 esac
44883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44884 (eval "$ac_compile") 2>conftest.er1
44885 ac_status=$?
44886 grep -v '^ *+' conftest.er1 >conftest.err
44887 rm -f conftest.er1
44888 cat conftest.err >&5
44889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44890 (exit $ac_status); } && {
44891 test -z "$ac_c_werror_flag" ||
44892 test ! -s conftest.err
44893 } && test -s conftest.$ac_objext; then
44894 eval "$as_ac_Header=yes"
44895 else
44896 echo "$as_me: failed program was:" >&5
44897 sed 's/^/| /' conftest.$ac_ext >&5
44898
44899 eval "$as_ac_Header=no"
44900 fi
44901
44902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44903 fi
44904 ac_res=`eval echo '${'$as_ac_Header'}'`
44905 { echo "$as_me:$LINENO: result: $ac_res" >&5
44906 echo "${ECHO_T}$ac_res" >&6; }
44907 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44908 cat >>confdefs.h <<_ACEOF
44909 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44910 _ACEOF
44911
44912 fi
44913
44914 done
44915
44916 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
44917 cat >>confdefs.h <<\_ACEOF
44918 #define wxUSE_EPOLL_DISPATCHER 1
44919 _ACEOF
44920
44921 else
44922 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
44923 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
44924 fi
44925 fi
44926 fi
44927 fi
44928
44929
44930
44931
44932 for ac_func in gettimeofday ftime
44933 do
44934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44935 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44937 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44938 echo $ECHO_N "(cached) $ECHO_C" >&6
44939 else
44940 cat >conftest.$ac_ext <<_ACEOF
44941 /* confdefs.h. */
44942 _ACEOF
44943 cat confdefs.h >>conftest.$ac_ext
44944 cat >>conftest.$ac_ext <<_ACEOF
44945 /* end confdefs.h. */
44946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44948 #define $ac_func innocuous_$ac_func
44949
44950 /* System header to define __stub macros and hopefully few prototypes,
44951 which can conflict with char $ac_func (); below.
44952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44953 <limits.h> exists even on freestanding compilers. */
44954
44955 #ifdef __STDC__
44956 # include <limits.h>
44957 #else
44958 # include <assert.h>
44959 #endif
44960
44961 #undef $ac_func
44962
44963 /* Override any GCC internal prototype to avoid an error.
44964 Use char because int might match the return type of a GCC
44965 builtin and then its argument prototype would still apply. */
44966 #ifdef __cplusplus
44967 extern "C"
44968 #endif
44969 char $ac_func ();
44970 /* The GNU C library defines this for functions which it implements
44971 to always fail with ENOSYS. Some functions are actually named
44972 something starting with __ and the normal name is an alias. */
44973 #if defined __stub_$ac_func || defined __stub___$ac_func
44974 choke me
44975 #endif
44976
44977 int
44978 main ()
44979 {
44980 return $ac_func ();
44981 ;
44982 return 0;
44983 }
44984 _ACEOF
44985 rm -f conftest.$ac_objext conftest$ac_exeext
44986 if { (ac_try="$ac_link"
44987 case "(($ac_try" in
44988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44989 *) ac_try_echo=$ac_try;;
44990 esac
44991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44992 (eval "$ac_link") 2>conftest.er1
44993 ac_status=$?
44994 grep -v '^ *+' conftest.er1 >conftest.err
44995 rm -f conftest.er1
44996 cat conftest.err >&5
44997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44998 (exit $ac_status); } && {
44999 test -z "$ac_c_werror_flag" ||
45000 test ! -s conftest.err
45001 } && test -s conftest$ac_exeext &&
45002 $as_test_x conftest$ac_exeext; then
45003 eval "$as_ac_var=yes"
45004 else
45005 echo "$as_me: failed program was:" >&5
45006 sed 's/^/| /' conftest.$ac_ext >&5
45007
45008 eval "$as_ac_var=no"
45009 fi
45010
45011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45012 conftest$ac_exeext conftest.$ac_ext
45013 fi
45014 ac_res=`eval echo '${'$as_ac_var'}'`
45015 { echo "$as_me:$LINENO: result: $ac_res" >&5
45016 echo "${ECHO_T}$ac_res" >&6; }
45017 if test `eval echo '${'$as_ac_var'}'` = yes; then
45018 cat >>confdefs.h <<_ACEOF
45019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45020 _ACEOF
45021 break
45022 fi
45023 done
45024
45025
45026 if test "$ac_cv_func_gettimeofday" = "yes"; then
45027 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45028 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45029 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45030 echo $ECHO_N "(cached) $ECHO_C" >&6
45031 else
45032
45033 cat >conftest.$ac_ext <<_ACEOF
45034 /* confdefs.h. */
45035 _ACEOF
45036 cat confdefs.h >>conftest.$ac_ext
45037 cat >>conftest.$ac_ext <<_ACEOF
45038 /* end confdefs.h. */
45039
45040 #include <sys/time.h>
45041 #include <unistd.h>
45042
45043 int
45044 main ()
45045 {
45046
45047 struct timeval tv;
45048 gettimeofday(&tv, NULL);
45049
45050 ;
45051 return 0;
45052 }
45053 _ACEOF
45054 rm -f conftest.$ac_objext
45055 if { (ac_try="$ac_compile"
45056 case "(($ac_try" in
45057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45058 *) ac_try_echo=$ac_try;;
45059 esac
45060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45061 (eval "$ac_compile") 2>conftest.er1
45062 ac_status=$?
45063 grep -v '^ *+' conftest.er1 >conftest.err
45064 rm -f conftest.er1
45065 cat conftest.err >&5
45066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45067 (exit $ac_status); } && {
45068 test -z "$ac_c_werror_flag" ||
45069 test ! -s conftest.err
45070 } && test -s conftest.$ac_objext; then
45071 wx_cv_func_gettimeofday_has_2_args=yes
45072 else
45073 echo "$as_me: failed program was:" >&5
45074 sed 's/^/| /' conftest.$ac_ext >&5
45075
45076 cat >conftest.$ac_ext <<_ACEOF
45077 /* confdefs.h. */
45078 _ACEOF
45079 cat confdefs.h >>conftest.$ac_ext
45080 cat >>conftest.$ac_ext <<_ACEOF
45081 /* end confdefs.h. */
45082
45083 #include <sys/time.h>
45084 #include <unistd.h>
45085
45086 int
45087 main ()
45088 {
45089
45090 struct timeval tv;
45091 gettimeofday(&tv);
45092
45093 ;
45094 return 0;
45095 }
45096 _ACEOF
45097 rm -f conftest.$ac_objext
45098 if { (ac_try="$ac_compile"
45099 case "(($ac_try" in
45100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45101 *) ac_try_echo=$ac_try;;
45102 esac
45103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45104 (eval "$ac_compile") 2>conftest.er1
45105 ac_status=$?
45106 grep -v '^ *+' conftest.er1 >conftest.err
45107 rm -f conftest.er1
45108 cat conftest.err >&5
45109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45110 (exit $ac_status); } && {
45111 test -z "$ac_c_werror_flag" ||
45112 test ! -s conftest.err
45113 } && test -s conftest.$ac_objext; then
45114 wx_cv_func_gettimeofday_has_2_args=no
45115 else
45116 echo "$as_me: failed program was:" >&5
45117 sed 's/^/| /' conftest.$ac_ext >&5
45118
45119
45120 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45121 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45122 wx_cv_func_gettimeofday_has_2_args=unknown
45123
45124
45125 fi
45126
45127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45128
45129 fi
45130
45131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45132
45133 fi
45134 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45135 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45136
45137 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45138 cat >>confdefs.h <<\_ACEOF
45139 #define WX_GETTIMEOFDAY_NO_TZ 1
45140 _ACEOF
45141
45142 fi
45143 fi
45144
45145 if test "$wxUSE_DATETIME" = "yes"; then
45146 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45147 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45148 if test "${wx_cv_var_timezone+set}" = set; then
45149 echo $ECHO_N "(cached) $ECHO_C" >&6
45150 else
45151
45152 ac_ext=cpp
45153 ac_cpp='$CXXCPP $CPPFLAGS'
45154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45157
45158 cat >conftest.$ac_ext <<_ACEOF
45159 /* confdefs.h. */
45160 _ACEOF
45161 cat confdefs.h >>conftest.$ac_ext
45162 cat >>conftest.$ac_ext <<_ACEOF
45163 /* end confdefs.h. */
45164
45165 #include <time.h>
45166
45167 int
45168 main ()
45169 {
45170
45171 int tz;
45172 tz = timezone;
45173
45174 ;
45175 return 0;
45176 }
45177 _ACEOF
45178 rm -f conftest.$ac_objext
45179 if { (ac_try="$ac_compile"
45180 case "(($ac_try" in
45181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45182 *) ac_try_echo=$ac_try;;
45183 esac
45184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45185 (eval "$ac_compile") 2>conftest.er1
45186 ac_status=$?
45187 grep -v '^ *+' conftest.er1 >conftest.err
45188 rm -f conftest.er1
45189 cat conftest.err >&5
45190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45191 (exit $ac_status); } && {
45192 test -z "$ac_cxx_werror_flag" ||
45193 test ! -s conftest.err
45194 } && test -s conftest.$ac_objext; then
45195
45196 wx_cv_var_timezone=timezone
45197
45198 else
45199 echo "$as_me: failed program was:" >&5
45200 sed 's/^/| /' conftest.$ac_ext >&5
45201
45202
45203 cat >conftest.$ac_ext <<_ACEOF
45204 /* confdefs.h. */
45205 _ACEOF
45206 cat confdefs.h >>conftest.$ac_ext
45207 cat >>conftest.$ac_ext <<_ACEOF
45208 /* end confdefs.h. */
45209
45210 #include <time.h>
45211
45212 int
45213 main ()
45214 {
45215
45216 int tz;
45217 tz = _timezone;
45218
45219 ;
45220 return 0;
45221 }
45222 _ACEOF
45223 rm -f conftest.$ac_objext
45224 if { (ac_try="$ac_compile"
45225 case "(($ac_try" in
45226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45227 *) ac_try_echo=$ac_try;;
45228 esac
45229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45230 (eval "$ac_compile") 2>conftest.er1
45231 ac_status=$?
45232 grep -v '^ *+' conftest.er1 >conftest.err
45233 rm -f conftest.er1
45234 cat conftest.err >&5
45235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45236 (exit $ac_status); } && {
45237 test -z "$ac_cxx_werror_flag" ||
45238 test ! -s conftest.err
45239 } && test -s conftest.$ac_objext; then
45240
45241 wx_cv_var_timezone=_timezone
45242
45243 else
45244 echo "$as_me: failed program was:" >&5
45245 sed 's/^/| /' conftest.$ac_ext >&5
45246
45247
45248 cat >conftest.$ac_ext <<_ACEOF
45249 /* confdefs.h. */
45250 _ACEOF
45251 cat confdefs.h >>conftest.$ac_ext
45252 cat >>conftest.$ac_ext <<_ACEOF
45253 /* end confdefs.h. */
45254
45255 #include <time.h>
45256
45257 int
45258 main ()
45259 {
45260
45261 int tz;
45262 tz = __timezone;
45263
45264 ;
45265 return 0;
45266 }
45267 _ACEOF
45268 rm -f conftest.$ac_objext
45269 if { (ac_try="$ac_compile"
45270 case "(($ac_try" in
45271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45272 *) ac_try_echo=$ac_try;;
45273 esac
45274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45275 (eval "$ac_compile") 2>conftest.er1
45276 ac_status=$?
45277 grep -v '^ *+' conftest.er1 >conftest.err
45278 rm -f conftest.er1
45279 cat conftest.err >&5
45280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45281 (exit $ac_status); } && {
45282 test -z "$ac_cxx_werror_flag" ||
45283 test ! -s conftest.err
45284 } && test -s conftest.$ac_objext; then
45285
45286 wx_cv_var_timezone=__timezone
45287
45288 else
45289 echo "$as_me: failed program was:" >&5
45290 sed 's/^/| /' conftest.$ac_ext >&5
45291
45292
45293 if test "$USE_DOS" = 0 ; then
45294 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45295 echo "$as_me: WARNING: no timezone variable" >&2;}
45296 fi
45297
45298
45299 fi
45300
45301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45302
45303
45304 fi
45305
45306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45307
45308
45309 fi
45310
45311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45312 ac_ext=c
45313 ac_cpp='$CPP $CPPFLAGS'
45314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45317
45318
45319
45320 fi
45321 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45322 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
45323
45324 if test "x$wx_cv_var_timezone" != x ; then
45325 cat >>confdefs.h <<_ACEOF
45326 #define WX_TIMEZONE $wx_cv_var_timezone
45327 _ACEOF
45328
45329 fi
45330
45331
45332 for ac_func in localtime
45333 do
45334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45335 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45337 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45338 echo $ECHO_N "(cached) $ECHO_C" >&6
45339 else
45340 cat >conftest.$ac_ext <<_ACEOF
45341 /* confdefs.h. */
45342 _ACEOF
45343 cat confdefs.h >>conftest.$ac_ext
45344 cat >>conftest.$ac_ext <<_ACEOF
45345 /* end confdefs.h. */
45346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45348 #define $ac_func innocuous_$ac_func
45349
45350 /* System header to define __stub macros and hopefully few prototypes,
45351 which can conflict with char $ac_func (); below.
45352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45353 <limits.h> exists even on freestanding compilers. */
45354
45355 #ifdef __STDC__
45356 # include <limits.h>
45357 #else
45358 # include <assert.h>
45359 #endif
45360
45361 #undef $ac_func
45362
45363 /* Override any GCC internal prototype to avoid an error.
45364 Use char because int might match the return type of a GCC
45365 builtin and then its argument prototype would still apply. */
45366 #ifdef __cplusplus
45367 extern "C"
45368 #endif
45369 char $ac_func ();
45370 /* The GNU C library defines this for functions which it implements
45371 to always fail with ENOSYS. Some functions are actually named
45372 something starting with __ and the normal name is an alias. */
45373 #if defined __stub_$ac_func || defined __stub___$ac_func
45374 choke me
45375 #endif
45376
45377 int
45378 main ()
45379 {
45380 return $ac_func ();
45381 ;
45382 return 0;
45383 }
45384 _ACEOF
45385 rm -f conftest.$ac_objext conftest$ac_exeext
45386 if { (ac_try="$ac_link"
45387 case "(($ac_try" in
45388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45389 *) ac_try_echo=$ac_try;;
45390 esac
45391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45392 (eval "$ac_link") 2>conftest.er1
45393 ac_status=$?
45394 grep -v '^ *+' conftest.er1 >conftest.err
45395 rm -f conftest.er1
45396 cat conftest.err >&5
45397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45398 (exit $ac_status); } && {
45399 test -z "$ac_c_werror_flag" ||
45400 test ! -s conftest.err
45401 } && test -s conftest$ac_exeext &&
45402 $as_test_x conftest$ac_exeext; then
45403 eval "$as_ac_var=yes"
45404 else
45405 echo "$as_me: failed program was:" >&5
45406 sed 's/^/| /' conftest.$ac_ext >&5
45407
45408 eval "$as_ac_var=no"
45409 fi
45410
45411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45412 conftest$ac_exeext conftest.$ac_ext
45413 fi
45414 ac_res=`eval echo '${'$as_ac_var'}'`
45415 { echo "$as_me:$LINENO: result: $ac_res" >&5
45416 echo "${ECHO_T}$ac_res" >&6; }
45417 if test `eval echo '${'$as_ac_var'}'` = yes; then
45418 cat >>confdefs.h <<_ACEOF
45419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45420 _ACEOF
45421
45422 fi
45423 done
45424
45425
45426 if test "$ac_cv_func_localtime" = "yes"; then
45427 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45428 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45429 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45430 echo $ECHO_N "(cached) $ECHO_C" >&6
45431 else
45432
45433 cat >conftest.$ac_ext <<_ACEOF
45434 /* confdefs.h. */
45435 _ACEOF
45436 cat confdefs.h >>conftest.$ac_ext
45437 cat >>conftest.$ac_ext <<_ACEOF
45438 /* end confdefs.h. */
45439
45440 #include <time.h>
45441
45442 int
45443 main ()
45444 {
45445
45446 struct tm tm;
45447 tm.tm_gmtoff++;
45448
45449 ;
45450 return 0;
45451 }
45452 _ACEOF
45453 rm -f conftest.$ac_objext
45454 if { (ac_try="$ac_compile"
45455 case "(($ac_try" in
45456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45457 *) ac_try_echo=$ac_try;;
45458 esac
45459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45460 (eval "$ac_compile") 2>conftest.er1
45461 ac_status=$?
45462 grep -v '^ *+' conftest.er1 >conftest.err
45463 rm -f conftest.er1
45464 cat conftest.err >&5
45465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45466 (exit $ac_status); } && {
45467 test -z "$ac_c_werror_flag" ||
45468 test ! -s conftest.err
45469 } && test -s conftest.$ac_objext; then
45470
45471 wx_cv_struct_tm_has_gmtoff=yes
45472
45473 else
45474 echo "$as_me: failed program was:" >&5
45475 sed 's/^/| /' conftest.$ac_ext >&5
45476
45477 wx_cv_struct_tm_has_gmtoff=no
45478
45479 fi
45480
45481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45482
45483 fi
45484 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45485 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45486 fi
45487
45488 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45489 cat >>confdefs.h <<\_ACEOF
45490 #define WX_GMTOFF_IN_TM 1
45491 _ACEOF
45492
45493 fi
45494
45495 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
45496 fi
45497
45498
45499 if test "$wxUSE_SOCKETS" = "yes"; then
45500 if test "$wxUSE_MGL" = 1; then
45501 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45502 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45503 wxUSE_SOCKETS="no"
45504 fi
45505 fi
45506
45507 if test "$wxUSE_SOCKETS" = "yes"; then
45508 if test "$TOOLKIT" != "MSW"; then
45509 { echo "$as_me:$LINENO: checking for socket" >&5
45510 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
45511 if test "${ac_cv_func_socket+set}" = set; then
45512 echo $ECHO_N "(cached) $ECHO_C" >&6
45513 else
45514 cat >conftest.$ac_ext <<_ACEOF
45515 /* confdefs.h. */
45516 _ACEOF
45517 cat confdefs.h >>conftest.$ac_ext
45518 cat >>conftest.$ac_ext <<_ACEOF
45519 /* end confdefs.h. */
45520 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45522 #define socket innocuous_socket
45523
45524 /* System header to define __stub macros and hopefully few prototypes,
45525 which can conflict with char socket (); below.
45526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45527 <limits.h> exists even on freestanding compilers. */
45528
45529 #ifdef __STDC__
45530 # include <limits.h>
45531 #else
45532 # include <assert.h>
45533 #endif
45534
45535 #undef socket
45536
45537 /* Override any GCC internal prototype to avoid an error.
45538 Use char because int might match the return type of a GCC
45539 builtin and then its argument prototype would still apply. */
45540 #ifdef __cplusplus
45541 extern "C"
45542 #endif
45543 char socket ();
45544 /* The GNU C library defines this for functions which it implements
45545 to always fail with ENOSYS. Some functions are actually named
45546 something starting with __ and the normal name is an alias. */
45547 #if defined __stub_socket || defined __stub___socket
45548 choke me
45549 #endif
45550
45551 int
45552 main ()
45553 {
45554 return socket ();
45555 ;
45556 return 0;
45557 }
45558 _ACEOF
45559 rm -f conftest.$ac_objext conftest$ac_exeext
45560 if { (ac_try="$ac_link"
45561 case "(($ac_try" in
45562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45563 *) ac_try_echo=$ac_try;;
45564 esac
45565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45566 (eval "$ac_link") 2>conftest.er1
45567 ac_status=$?
45568 grep -v '^ *+' conftest.er1 >conftest.err
45569 rm -f conftest.er1
45570 cat conftest.err >&5
45571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45572 (exit $ac_status); } && {
45573 test -z "$ac_c_werror_flag" ||
45574 test ! -s conftest.err
45575 } && test -s conftest$ac_exeext &&
45576 $as_test_x conftest$ac_exeext; then
45577 ac_cv_func_socket=yes
45578 else
45579 echo "$as_me: failed program was:" >&5
45580 sed 's/^/| /' conftest.$ac_ext >&5
45581
45582 ac_cv_func_socket=no
45583 fi
45584
45585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45586 conftest$ac_exeext conftest.$ac_ext
45587 fi
45588 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45589 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
45590 if test $ac_cv_func_socket = yes; then
45591 :
45592 else
45593
45594 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45595 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
45596 if test "${ac_cv_lib_socket_socket+set}" = set; then
45597 echo $ECHO_N "(cached) $ECHO_C" >&6
45598 else
45599 ac_check_lib_save_LIBS=$LIBS
45600 LIBS="-lsocket $LIBS"
45601 cat >conftest.$ac_ext <<_ACEOF
45602 /* confdefs.h. */
45603 _ACEOF
45604 cat confdefs.h >>conftest.$ac_ext
45605 cat >>conftest.$ac_ext <<_ACEOF
45606 /* end confdefs.h. */
45607
45608 /* Override any GCC internal prototype to avoid an error.
45609 Use char because int might match the return type of a GCC
45610 builtin and then its argument prototype would still apply. */
45611 #ifdef __cplusplus
45612 extern "C"
45613 #endif
45614 char socket ();
45615 int
45616 main ()
45617 {
45618 return socket ();
45619 ;
45620 return 0;
45621 }
45622 _ACEOF
45623 rm -f conftest.$ac_objext conftest$ac_exeext
45624 if { (ac_try="$ac_link"
45625 case "(($ac_try" in
45626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45627 *) ac_try_echo=$ac_try;;
45628 esac
45629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45630 (eval "$ac_link") 2>conftest.er1
45631 ac_status=$?
45632 grep -v '^ *+' conftest.er1 >conftest.err
45633 rm -f conftest.er1
45634 cat conftest.err >&5
45635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45636 (exit $ac_status); } && {
45637 test -z "$ac_c_werror_flag" ||
45638 test ! -s conftest.err
45639 } && test -s conftest$ac_exeext &&
45640 $as_test_x conftest$ac_exeext; then
45641 ac_cv_lib_socket_socket=yes
45642 else
45643 echo "$as_me: failed program was:" >&5
45644 sed 's/^/| /' conftest.$ac_ext >&5
45645
45646 ac_cv_lib_socket_socket=no
45647 fi
45648
45649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45650 conftest$ac_exeext conftest.$ac_ext
45651 LIBS=$ac_check_lib_save_LIBS
45652 fi
45653 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
45654 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
45655 if test $ac_cv_lib_socket_socket = yes; then
45656 if test "$INET_LINK" != " -lsocket"; then
45657 INET_LINK="$INET_LINK -lsocket"
45658 fi
45659 else
45660
45661 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
45662 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
45663 wxUSE_SOCKETS=no
45664
45665
45666 fi
45667
45668
45669
45670 fi
45671
45672 fi
45673 fi
45674
45675 if test "$wxUSE_SOCKETS" = "yes" ; then
45676 if test "$TOOLKIT" != "MSW"; then
45677 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
45678 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
45679 if test "${wx_cv_type_getsockname3+set}" = set; then
45680 echo $ECHO_N "(cached) $ECHO_C" >&6
45681 else
45682
45683 ac_ext=cpp
45684 ac_cpp='$CXXCPP $CPPFLAGS'
45685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45688
45689 cat >conftest.$ac_ext <<_ACEOF
45690 /* confdefs.h. */
45691 _ACEOF
45692 cat confdefs.h >>conftest.$ac_ext
45693 cat >>conftest.$ac_ext <<_ACEOF
45694 /* end confdefs.h. */
45695
45696 #include <sys/types.h>
45697 #include <sys/socket.h>
45698
45699 int
45700 main ()
45701 {
45702
45703 socklen_t len;
45704 getsockname(0, 0, &len);
45705
45706 ;
45707 return 0;
45708 }
45709 _ACEOF
45710 rm -f conftest.$ac_objext
45711 if { (ac_try="$ac_compile"
45712 case "(($ac_try" in
45713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45714 *) ac_try_echo=$ac_try;;
45715 esac
45716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45717 (eval "$ac_compile") 2>conftest.er1
45718 ac_status=$?
45719 grep -v '^ *+' conftest.er1 >conftest.err
45720 rm -f conftest.er1
45721 cat conftest.err >&5
45722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45723 (exit $ac_status); } && {
45724 test -z "$ac_cxx_werror_flag" ||
45725 test ! -s conftest.err
45726 } && test -s conftest.$ac_objext; then
45727 wx_cv_type_getsockname3=socklen_t
45728 else
45729 echo "$as_me: failed program was:" >&5
45730 sed 's/^/| /' conftest.$ac_ext >&5
45731
45732
45733 CFLAGS_OLD="$CFLAGS"
45734 if test "$GCC" = yes ; then
45735 CFLAGS="-Werror $CFLAGS"
45736 fi
45737
45738 cat >conftest.$ac_ext <<_ACEOF
45739 /* confdefs.h. */
45740 _ACEOF
45741 cat confdefs.h >>conftest.$ac_ext
45742 cat >>conftest.$ac_ext <<_ACEOF
45743 /* end confdefs.h. */
45744
45745 #include <sys/types.h>
45746 #include <sys/socket.h>
45747
45748 int
45749 main ()
45750 {
45751
45752 size_t len;
45753 getsockname(0, 0, &len);
45754
45755 ;
45756 return 0;
45757 }
45758 _ACEOF
45759 rm -f conftest.$ac_objext
45760 if { (ac_try="$ac_compile"
45761 case "(($ac_try" in
45762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45763 *) ac_try_echo=$ac_try;;
45764 esac
45765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45766 (eval "$ac_compile") 2>conftest.er1
45767 ac_status=$?
45768 grep -v '^ *+' conftest.er1 >conftest.err
45769 rm -f conftest.er1
45770 cat conftest.err >&5
45771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45772 (exit $ac_status); } && {
45773 test -z "$ac_cxx_werror_flag" ||
45774 test ! -s conftest.err
45775 } && test -s conftest.$ac_objext; then
45776 wx_cv_type_getsockname3=size_t
45777 else
45778 echo "$as_me: failed program was:" >&5
45779 sed 's/^/| /' conftest.$ac_ext >&5
45780
45781 cat >conftest.$ac_ext <<_ACEOF
45782 /* confdefs.h. */
45783 _ACEOF
45784 cat confdefs.h >>conftest.$ac_ext
45785 cat >>conftest.$ac_ext <<_ACEOF
45786 /* end confdefs.h. */
45787
45788 #include <sys/types.h>
45789 #include <sys/socket.h>
45790
45791 int
45792 main ()
45793 {
45794
45795 int len;
45796 getsockname(0, 0, &len);
45797
45798 ;
45799 return 0;
45800 }
45801 _ACEOF
45802 rm -f conftest.$ac_objext
45803 if { (ac_try="$ac_compile"
45804 case "(($ac_try" in
45805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45806 *) ac_try_echo=$ac_try;;
45807 esac
45808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45809 (eval "$ac_compile") 2>conftest.er1
45810 ac_status=$?
45811 grep -v '^ *+' conftest.er1 >conftest.err
45812 rm -f conftest.er1
45813 cat conftest.err >&5
45814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45815 (exit $ac_status); } && {
45816 test -z "$ac_cxx_werror_flag" ||
45817 test ! -s conftest.err
45818 } && test -s conftest.$ac_objext; then
45819 wx_cv_type_getsockname3=int
45820 else
45821 echo "$as_me: failed program was:" >&5
45822 sed 's/^/| /' conftest.$ac_ext >&5
45823
45824 wx_cv_type_getsockname3=unknown
45825
45826 fi
45827
45828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45829
45830 fi
45831
45832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45833
45834 CFLAGS="$CFLAGS_OLD"
45835
45836
45837 fi
45838
45839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45840 ac_ext=c
45841 ac_cpp='$CPP $CPPFLAGS'
45842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45845
45846
45847 fi
45848 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45849 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
45850
45851 if test "$wx_cv_type_getsockname3" = "unknown"; then
45852 wxUSE_SOCKETS=no
45853 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45854 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45855 else
45856 cat >>confdefs.h <<_ACEOF
45857 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45858 _ACEOF
45859
45860 fi
45861 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45862 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
45863 if test "${wx_cv_type_getsockopt5+set}" = set; then
45864 echo $ECHO_N "(cached) $ECHO_C" >&6
45865 else
45866
45867 ac_ext=cpp
45868 ac_cpp='$CXXCPP $CPPFLAGS'
45869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45872
45873 cat >conftest.$ac_ext <<_ACEOF
45874 /* confdefs.h. */
45875 _ACEOF
45876 cat confdefs.h >>conftest.$ac_ext
45877 cat >>conftest.$ac_ext <<_ACEOF
45878 /* end confdefs.h. */
45879
45880 #include <sys/types.h>
45881 #include <sys/socket.h>
45882
45883 int
45884 main ()
45885 {
45886
45887 socklen_t len;
45888 getsockopt(0, 0, 0, 0, &len);
45889
45890 ;
45891 return 0;
45892 }
45893 _ACEOF
45894 rm -f conftest.$ac_objext
45895 if { (ac_try="$ac_compile"
45896 case "(($ac_try" in
45897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45898 *) ac_try_echo=$ac_try;;
45899 esac
45900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45901 (eval "$ac_compile") 2>conftest.er1
45902 ac_status=$?
45903 grep -v '^ *+' conftest.er1 >conftest.err
45904 rm -f conftest.er1
45905 cat conftest.err >&5
45906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45907 (exit $ac_status); } && {
45908 test -z "$ac_cxx_werror_flag" ||
45909 test ! -s conftest.err
45910 } && test -s conftest.$ac_objext; then
45911 wx_cv_type_getsockopt5=socklen_t
45912 else
45913 echo "$as_me: failed program was:" >&5
45914 sed 's/^/| /' conftest.$ac_ext >&5
45915
45916
45917 cat >conftest.$ac_ext <<_ACEOF
45918 /* confdefs.h. */
45919 _ACEOF
45920 cat confdefs.h >>conftest.$ac_ext
45921 cat >>conftest.$ac_ext <<_ACEOF
45922 /* end confdefs.h. */
45923
45924 #include <sys/types.h>
45925 #include <sys/socket.h>
45926
45927 int
45928 main ()
45929 {
45930
45931 size_t len;
45932 getsockopt(0, 0, 0, 0, &len);
45933
45934 ;
45935 return 0;
45936 }
45937 _ACEOF
45938 rm -f conftest.$ac_objext
45939 if { (ac_try="$ac_compile"
45940 case "(($ac_try" in
45941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45942 *) ac_try_echo=$ac_try;;
45943 esac
45944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45945 (eval "$ac_compile") 2>conftest.er1
45946 ac_status=$?
45947 grep -v '^ *+' conftest.er1 >conftest.err
45948 rm -f conftest.er1
45949 cat conftest.err >&5
45950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45951 (exit $ac_status); } && {
45952 test -z "$ac_cxx_werror_flag" ||
45953 test ! -s conftest.err
45954 } && test -s conftest.$ac_objext; then
45955 wx_cv_type_getsockopt5=size_t
45956 else
45957 echo "$as_me: failed program was:" >&5
45958 sed 's/^/| /' conftest.$ac_ext >&5
45959
45960 cat >conftest.$ac_ext <<_ACEOF
45961 /* confdefs.h. */
45962 _ACEOF
45963 cat confdefs.h >>conftest.$ac_ext
45964 cat >>conftest.$ac_ext <<_ACEOF
45965 /* end confdefs.h. */
45966
45967 #include <sys/types.h>
45968 #include <sys/socket.h>
45969
45970 int
45971 main ()
45972 {
45973
45974 int len;
45975 getsockopt(0, 0, 0, 0, &len);
45976
45977 ;
45978 return 0;
45979 }
45980 _ACEOF
45981 rm -f conftest.$ac_objext
45982 if { (ac_try="$ac_compile"
45983 case "(($ac_try" in
45984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45985 *) ac_try_echo=$ac_try;;
45986 esac
45987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45988 (eval "$ac_compile") 2>conftest.er1
45989 ac_status=$?
45990 grep -v '^ *+' conftest.er1 >conftest.err
45991 rm -f conftest.er1
45992 cat conftest.err >&5
45993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45994 (exit $ac_status); } && {
45995 test -z "$ac_cxx_werror_flag" ||
45996 test ! -s conftest.err
45997 } && test -s conftest.$ac_objext; then
45998 wx_cv_type_getsockopt5=int
45999 else
46000 echo "$as_me: failed program was:" >&5
46001 sed 's/^/| /' conftest.$ac_ext >&5
46002
46003 wx_cv_type_getsockopt5=unknown
46004
46005 fi
46006
46007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46008
46009 fi
46010
46011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46012
46013
46014 fi
46015
46016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46017 ac_ext=c
46018 ac_cpp='$CPP $CPPFLAGS'
46019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46022
46023
46024 fi
46025 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46026 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46027
46028 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46029 wxUSE_SOCKETS=no
46030 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46031 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46032 else
46033 cat >>confdefs.h <<_ACEOF
46034 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46035 _ACEOF
46036
46037 fi
46038 fi
46039 fi
46040
46041 if test "$wxUSE_SOCKETS" = "yes" ; then
46042 if test "$wxUSE_IPV6" = "yes"; then
46043 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
46044 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
46045 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
46046 echo $ECHO_N "(cached) $ECHO_C" >&6
46047 else
46048
46049 cat >conftest.$ac_ext <<_ACEOF
46050 /* confdefs.h. */
46051 _ACEOF
46052 cat confdefs.h >>conftest.$ac_ext
46053 cat >>conftest.$ac_ext <<_ACEOF
46054 /* end confdefs.h. */
46055
46056 #include <sys/types.h>
46057 #include <sys/socket.h>
46058 #include <netinet/in.h>
46059
46060 int
46061 main ()
46062 {
46063
46064 struct sockaddr_in6 sa6;
46065
46066 ;
46067 return 0;
46068 }
46069 _ACEOF
46070 rm -f conftest.$ac_objext
46071 if { (ac_try="$ac_compile"
46072 case "(($ac_try" in
46073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46074 *) ac_try_echo=$ac_try;;
46075 esac
46076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46077 (eval "$ac_compile") 2>conftest.er1
46078 ac_status=$?
46079 grep -v '^ *+' conftest.er1 >conftest.err
46080 rm -f conftest.er1
46081 cat conftest.err >&5
46082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46083 (exit $ac_status); } && {
46084 test -z "$ac_c_werror_flag" ||
46085 test ! -s conftest.err
46086 } && test -s conftest.$ac_objext; then
46087 wx_cv_type_sockaddr_in6=yes
46088 else
46089 echo "$as_me: failed program was:" >&5
46090 sed 's/^/| /' conftest.$ac_ext >&5
46091
46092 wx_cv_type_sockaddr_in6=no
46093
46094 fi
46095
46096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46097
46098
46099 fi
46100 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
46101 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
46102
46103 if test "$wx_cv_type_sockaddr_in6"="yes"; then
46104 cat >>confdefs.h <<\_ACEOF
46105 #define wxUSE_IPV6 1
46106 _ACEOF
46107
46108 else
46109 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
46110 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
46111 fi
46112 fi
46113
46114 cat >>confdefs.h <<\_ACEOF
46115 #define wxUSE_SOCKETS 1
46116 _ACEOF
46117
46118 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46119 fi
46120
46121 if test "$wxUSE_PROTOCOL" = "yes"; then
46122 if test "$wxUSE_SOCKETS" != "yes"; then
46123 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46124 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46125 wxUSE_PROTOCOL=no
46126 fi
46127 fi
46128
46129 if test "$wxUSE_PROTOCOL" = "yes"; then
46130 cat >>confdefs.h <<\_ACEOF
46131 #define wxUSE_PROTOCOL 1
46132 _ACEOF
46133
46134
46135 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46136 cat >>confdefs.h <<\_ACEOF
46137 #define wxUSE_PROTOCOL_HTTP 1
46138 _ACEOF
46139
46140 fi
46141 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46142 cat >>confdefs.h <<\_ACEOF
46143 #define wxUSE_PROTOCOL_FTP 1
46144 _ACEOF
46145
46146 fi
46147 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46148 cat >>confdefs.h <<\_ACEOF
46149 #define wxUSE_PROTOCOL_FILE 1
46150 _ACEOF
46151
46152 fi
46153 else
46154 if test "$wxUSE_FS_INET" = "yes"; then
46155 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46156 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46157 wxUSE_FS_INET="no"
46158 fi
46159 fi
46160
46161 if test "$wxUSE_URL" = "yes"; then
46162 if test "$wxUSE_PROTOCOL" != "yes"; then
46163 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46164 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46165 wxUSE_URL=no
46166 fi
46167 if test "$wxUSE_URL" = "yes"; then
46168 cat >>confdefs.h <<\_ACEOF
46169 #define wxUSE_URL 1
46170 _ACEOF
46171
46172 fi
46173 fi
46174
46175 if test "$wxUSE_VARIANT" = "yes"; then
46176 cat >>confdefs.h <<\_ACEOF
46177 #define wxUSE_VARIANT 1
46178 _ACEOF
46179
46180 fi
46181
46182 if test "$wxUSE_FS_INET" = "yes"; then
46183 cat >>confdefs.h <<\_ACEOF
46184 #define wxUSE_FS_INET 1
46185 _ACEOF
46186
46187 fi
46188
46189
46190 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46191 wxUSE_JOYSTICK=no
46192
46193 if test "$TOOLKIT" = "MSW"; then
46194 wxUSE_JOYSTICK=yes
46195
46196 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
46197 if test "$USE_DARWIN" = 1; then
46198 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46199 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46200 ac_ext=cpp
46201 ac_cpp='$CXXCPP $CPPFLAGS'
46202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46205
46206 cat >conftest.$ac_ext <<_ACEOF
46207 /* confdefs.h. */
46208 _ACEOF
46209 cat confdefs.h >>conftest.$ac_ext
46210 cat >>conftest.$ac_ext <<_ACEOF
46211 /* end confdefs.h. */
46212 #include <IOKit/hid/IOHIDLib.h>
46213 int
46214 main ()
46215 {
46216 IOHIDQueueInterface *qi = NULL;
46217 IOHIDCallbackFunction cb = NULL;
46218 qi->setEventCallout(NULL, cb, NULL, NULL);
46219 ;
46220 return 0;
46221 }
46222 _ACEOF
46223 rm -f conftest.$ac_objext
46224 if { (ac_try="$ac_compile"
46225 case "(($ac_try" in
46226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46227 *) ac_try_echo=$ac_try;;
46228 esac
46229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46230 (eval "$ac_compile") 2>conftest.er1
46231 ac_status=$?
46232 grep -v '^ *+' conftest.er1 >conftest.err
46233 rm -f conftest.er1
46234 cat conftest.err >&5
46235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46236 (exit $ac_status); } && {
46237 test -z "$ac_cxx_werror_flag" ||
46238 test ! -s conftest.err
46239 } && test -s conftest.$ac_objext; then
46240 wxUSE_JOYSTICK=yes
46241
46242 else
46243 echo "$as_me: failed program was:" >&5
46244 sed 's/^/| /' conftest.$ac_ext >&5
46245
46246
46247 fi
46248
46249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46250 ac_ext=c
46251 ac_cpp='$CPP $CPPFLAGS'
46252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46255
46256 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46257 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46258 fi
46259
46260 else
46261 if test "$wxUSE_MGL" != 1; then
46262
46263 for ac_header in linux/joystick.h
46264 do
46265 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46266 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46267 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46268 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46269 echo $ECHO_N "(cached) $ECHO_C" >&6
46270 else
46271 cat >conftest.$ac_ext <<_ACEOF
46272 /* confdefs.h. */
46273 _ACEOF
46274 cat confdefs.h >>conftest.$ac_ext
46275 cat >>conftest.$ac_ext <<_ACEOF
46276 /* end confdefs.h. */
46277 $ac_includes_default
46278
46279 #include <$ac_header>
46280 _ACEOF
46281 rm -f conftest.$ac_objext
46282 if { (ac_try="$ac_compile"
46283 case "(($ac_try" in
46284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46285 *) ac_try_echo=$ac_try;;
46286 esac
46287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46288 (eval "$ac_compile") 2>conftest.er1
46289 ac_status=$?
46290 grep -v '^ *+' conftest.er1 >conftest.err
46291 rm -f conftest.er1
46292 cat conftest.err >&5
46293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46294 (exit $ac_status); } && {
46295 test -z "$ac_c_werror_flag" ||
46296 test ! -s conftest.err
46297 } && test -s conftest.$ac_objext; then
46298 eval "$as_ac_Header=yes"
46299 else
46300 echo "$as_me: failed program was:" >&5
46301 sed 's/^/| /' conftest.$ac_ext >&5
46302
46303 eval "$as_ac_Header=no"
46304 fi
46305
46306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46307 fi
46308 ac_res=`eval echo '${'$as_ac_Header'}'`
46309 { echo "$as_me:$LINENO: result: $ac_res" >&5
46310 echo "${ECHO_T}$ac_res" >&6; }
46311 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46312 cat >>confdefs.h <<_ACEOF
46313 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46314 _ACEOF
46315 wxUSE_JOYSTICK=yes
46316 fi
46317
46318 done
46319
46320 fi
46321 fi
46322
46323 if test "$wxUSE_JOYSTICK" = "yes"; then
46324 cat >>confdefs.h <<\_ACEOF
46325 #define wxUSE_JOYSTICK 1
46326 _ACEOF
46327
46328 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46329 else
46330 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46331 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46332 fi
46333 fi
46334
46335
46336
46337 if test "$wxUSE_FONTENUM" = "yes" ; then
46338 cat >>confdefs.h <<\_ACEOF
46339 #define wxUSE_FONTENUM 1
46340 _ACEOF
46341
46342 fi
46343
46344 if test "$wxUSE_FONTMAP" = "yes" ; then
46345 cat >>confdefs.h <<\_ACEOF
46346 #define wxUSE_FONTMAP 1
46347 _ACEOF
46348
46349 fi
46350
46351 if test "$wxUSE_UNICODE" = "yes" ; then
46352 cat >>confdefs.h <<\_ACEOF
46353 #define wxUSE_UNICODE 1
46354 _ACEOF
46355
46356
46357 if test "$USE_WIN32" != 1; then
46358 wxUSE_UNICODE_MSLU=no
46359 fi
46360
46361 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46362 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46363 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
46364 if test "${ac_cv_lib_unicows_main+set}" = set; then
46365 echo $ECHO_N "(cached) $ECHO_C" >&6
46366 else
46367 ac_check_lib_save_LIBS=$LIBS
46368 LIBS="-lunicows $LIBS"
46369 cat >conftest.$ac_ext <<_ACEOF
46370 /* confdefs.h. */
46371 _ACEOF
46372 cat confdefs.h >>conftest.$ac_ext
46373 cat >>conftest.$ac_ext <<_ACEOF
46374 /* end confdefs.h. */
46375
46376
46377 int
46378 main ()
46379 {
46380 return main ();
46381 ;
46382 return 0;
46383 }
46384 _ACEOF
46385 rm -f conftest.$ac_objext conftest$ac_exeext
46386 if { (ac_try="$ac_link"
46387 case "(($ac_try" in
46388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46389 *) ac_try_echo=$ac_try;;
46390 esac
46391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46392 (eval "$ac_link") 2>conftest.er1
46393 ac_status=$?
46394 grep -v '^ *+' conftest.er1 >conftest.err
46395 rm -f conftest.er1
46396 cat conftest.err >&5
46397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46398 (exit $ac_status); } && {
46399 test -z "$ac_c_werror_flag" ||
46400 test ! -s conftest.err
46401 } && test -s conftest$ac_exeext &&
46402 $as_test_x conftest$ac_exeext; then
46403 ac_cv_lib_unicows_main=yes
46404 else
46405 echo "$as_me: failed program was:" >&5
46406 sed 's/^/| /' conftest.$ac_ext >&5
46407
46408 ac_cv_lib_unicows_main=no
46409 fi
46410
46411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46412 conftest$ac_exeext conftest.$ac_ext
46413 LIBS=$ac_check_lib_save_LIBS
46414 fi
46415 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46416 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46417 if test $ac_cv_lib_unicows_main = yes; then
46418
46419 cat >>confdefs.h <<\_ACEOF
46420 #define wxUSE_UNICODE_MSLU 1
46421 _ACEOF
46422
46423
46424 else
46425
46426 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46427 Applications will only run on Windows NT/2000/XP!" >&5
46428 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46429 Applications will only run on Windows NT/2000/XP!" >&2;}
46430 wxUSE_UNICODE_MSLU=no
46431
46432 fi
46433
46434 fi
46435 fi
46436
46437 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46438 cat >>confdefs.h <<\_ACEOF
46439 #define wxUSE_UNICODE_UTF8 1
46440 _ACEOF
46441
46442
46443 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46444 cat >>confdefs.h <<\_ACEOF
46445 #define wxUSE_UTF8_LOCALE_ONLY 1
46446 _ACEOF
46447
46448 fi
46449 fi
46450
46451
46452 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46453 cat >>confdefs.h <<\_ACEOF
46454 #define wxUSE_CONSTRAINTS 1
46455 _ACEOF
46456
46457 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
46458 fi
46459
46460 if test "$wxUSE_MDI" = "yes"; then
46461 cat >>confdefs.h <<\_ACEOF
46462 #define wxUSE_MDI 1
46463 _ACEOF
46464
46465
46466 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46467 cat >>confdefs.h <<\_ACEOF
46468 #define wxUSE_MDI_ARCHITECTURE 1
46469 _ACEOF
46470
46471 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
46472 fi
46473 fi
46474
46475 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46476 cat >>confdefs.h <<\_ACEOF
46477 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46478 _ACEOF
46479
46480 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
46481 fi
46482
46483 if test "$wxUSE_HELP" = "yes"; then
46484 cat >>confdefs.h <<\_ACEOF
46485 #define wxUSE_HELP 1
46486 _ACEOF
46487
46488 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
46489
46490 if test "$wxUSE_MSW" = 1; then
46491 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46492 cat >>confdefs.h <<\_ACEOF
46493 #define wxUSE_MS_HTML_HELP 1
46494 _ACEOF
46495
46496 fi
46497 fi
46498
46499 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46500 if test "$wxUSE_HTML" = "yes"; then
46501 cat >>confdefs.h <<\_ACEOF
46502 #define wxUSE_WXHTML_HELP 1
46503 _ACEOF
46504
46505 else
46506 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46507 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46508 wxUSE_WXHTML_HELP=no
46509 fi
46510 fi
46511 fi
46512
46513 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46514 cat >>confdefs.h <<\_ACEOF
46515 #define wxUSE_PRINTING_ARCHITECTURE 1
46516 _ACEOF
46517
46518 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
46519 fi
46520
46521 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46522 cat >>confdefs.h <<\_ACEOF
46523 #define wxUSE_POSTSCRIPT 1
46524 _ACEOF
46525
46526 fi
46527
46528 cat >>confdefs.h <<\_ACEOF
46529 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46530 _ACEOF
46531
46532
46533 if test "$wxUSE_SVG" = "yes"; then
46534 cat >>confdefs.h <<\_ACEOF
46535 #define wxUSE_SVG 1
46536 _ACEOF
46537
46538 fi
46539
46540
46541 if test "$wxUSE_METAFILE" = "yes"; then
46542 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46543 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46544 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46545 wxUSE_METAFILE=no
46546 fi
46547 fi
46548
46549
46550 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
46551 -o "$wxUSE_CLIPBOARD" = "yes" \
46552 -o "$wxUSE_OLE" = "yes" \
46553 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
46554 { echo "$as_me:$LINENO: checking for ole2.h" >&5
46555 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
46556 if test "${ac_cv_header_ole2_h+set}" = set; then
46557 echo $ECHO_N "(cached) $ECHO_C" >&6
46558 else
46559 cat >conftest.$ac_ext <<_ACEOF
46560 /* confdefs.h. */
46561 _ACEOF
46562 cat confdefs.h >>conftest.$ac_ext
46563 cat >>conftest.$ac_ext <<_ACEOF
46564 /* end confdefs.h. */
46565
46566
46567 #include <ole2.h>
46568 _ACEOF
46569 rm -f conftest.$ac_objext
46570 if { (ac_try="$ac_compile"
46571 case "(($ac_try" in
46572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46573 *) ac_try_echo=$ac_try;;
46574 esac
46575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46576 (eval "$ac_compile") 2>conftest.er1
46577 ac_status=$?
46578 grep -v '^ *+' conftest.er1 >conftest.err
46579 rm -f conftest.er1
46580 cat conftest.err >&5
46581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46582 (exit $ac_status); } && {
46583 test -z "$ac_c_werror_flag" ||
46584 test ! -s conftest.err
46585 } && test -s conftest.$ac_objext; then
46586 ac_cv_header_ole2_h=yes
46587 else
46588 echo "$as_me: failed program was:" >&5
46589 sed 's/^/| /' conftest.$ac_ext >&5
46590
46591 ac_cv_header_ole2_h=no
46592 fi
46593
46594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46595 fi
46596 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
46597 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
46598
46599
46600
46601 if test "$ac_cv_header_ole2_h" = "yes" ; then
46602 if test "$GCC" = yes ; then
46603 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46604 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
46605 cat >conftest.$ac_ext <<_ACEOF
46606 /* confdefs.h. */
46607 _ACEOF
46608 cat confdefs.h >>conftest.$ac_ext
46609 cat >>conftest.$ac_ext <<_ACEOF
46610 /* end confdefs.h. */
46611 #include <windows.h>
46612 #include <ole2.h>
46613 int
46614 main ()
46615 {
46616
46617 ;
46618 return 0;
46619 }
46620 _ACEOF
46621 rm -f conftest.$ac_objext
46622 if { (ac_try="$ac_compile"
46623 case "(($ac_try" in
46624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46625 *) ac_try_echo=$ac_try;;
46626 esac
46627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46628 (eval "$ac_compile") 2>conftest.er1
46629 ac_status=$?
46630 grep -v '^ *+' conftest.er1 >conftest.err
46631 rm -f conftest.er1
46632 cat conftest.err >&5
46633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46634 (exit $ac_status); } && {
46635 test -z "$ac_c_werror_flag" ||
46636 test ! -s conftest.err
46637 } && test -s conftest.$ac_objext; then
46638 { echo "$as_me:$LINENO: result: no" >&5
46639 echo "${ECHO_T}no" >&6; }
46640 else
46641 echo "$as_me: failed program was:" >&5
46642 sed 's/^/| /' conftest.$ac_ext >&5
46643
46644 { echo "$as_me:$LINENO: result: yes" >&5
46645 echo "${ECHO_T}yes" >&6; }
46646 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46647 fi
46648
46649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46650 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46651 if test "$wxUSE_OLE" = "yes" ; then
46652 cat >>confdefs.h <<\_ACEOF
46653 #define wxUSE_OLE 1
46654 _ACEOF
46655
46656 cat >>confdefs.h <<\_ACEOF
46657 #define wxUSE_OLE_AUTOMATION 1
46658 _ACEOF
46659
46660 cat >>confdefs.h <<\_ACEOF
46661 #define wxUSE_ACTIVEX 1
46662 _ACEOF
46663
46664 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
46665 fi
46666 fi
46667
46668 if test "$wxUSE_DATAOBJ" = "yes" ; then
46669 cat >>confdefs.h <<\_ACEOF
46670 #define wxUSE_DATAOBJ 1
46671 _ACEOF
46672
46673 fi
46674 else
46675 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46676 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46677
46678 wxUSE_CLIPBOARD=no
46679 wxUSE_DRAG_AND_DROP=no
46680 wxUSE_DATAOBJ=no
46681 wxUSE_OLE=no
46682 fi
46683
46684 if test "$wxUSE_METAFILE" = "yes"; then
46685 cat >>confdefs.h <<\_ACEOF
46686 #define wxUSE_METAFILE 1
46687 _ACEOF
46688
46689
46690 cat >>confdefs.h <<\_ACEOF
46691 #define wxUSE_ENH_METAFILE 1
46692 _ACEOF
46693
46694 fi
46695 fi
46696
46697 if test "$wxUSE_IPC" = "yes"; then
46698 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46699 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46700 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46701 wxUSE_IPC=no
46702 fi
46703
46704 if test "$wxUSE_IPC" = "yes"; then
46705 cat >>confdefs.h <<\_ACEOF
46706 #define wxUSE_IPC 1
46707 _ACEOF
46708
46709 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46710 fi
46711 fi
46712
46713 if test "$wxUSE_DATAOBJ" = "yes"; then
46714 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46715 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
46716 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
46717 wxUSE_DATAOBJ=no
46718 else
46719 cat >>confdefs.h <<\_ACEOF
46720 #define wxUSE_DATAOBJ 1
46721 _ACEOF
46722
46723 fi
46724 else
46725 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46726 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46727 wxUSE_CLIPBOARD=no
46728 wxUSE_DRAG_AND_DROP=no
46729 fi
46730
46731 if test "$wxUSE_CLIPBOARD" = "yes"; then
46732 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46733 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
46734 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
46735 wxUSE_CLIPBOARD=no
46736 fi
46737
46738 if test "$wxUSE_CLIPBOARD" = "yes"; then
46739 cat >>confdefs.h <<\_ACEOF
46740 #define wxUSE_CLIPBOARD 1
46741 _ACEOF
46742
46743 fi
46744 fi
46745
46746 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46747 if test "$wxUSE_GTK" = 1; then
46748 if test "$WXGTK12" != 1; then
46749 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46750 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46751 wxUSE_DRAG_AND_DROP=no
46752 fi
46753 fi
46754
46755 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
46756 "$wxUSE_DFB" = 1; then
46757 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
46758 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
46759 wxUSE_DRAG_AND_DROP=no
46760 fi
46761
46762 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46763 cat >>confdefs.h <<\_ACEOF
46764 #define wxUSE_DRAG_AND_DROP 1
46765 _ACEOF
46766
46767 fi
46768
46769 fi
46770
46771 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46772 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
46773 fi
46774
46775 if test "$wxUSE_CLIPBOARD" = "yes"; then
46776 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
46777 fi
46778
46779 if test "$wxUSE_SPLINES" = "yes" ; then
46780 cat >>confdefs.h <<\_ACEOF
46781 #define wxUSE_SPLINES 1
46782 _ACEOF
46783
46784 fi
46785
46786 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46787 cat >>confdefs.h <<\_ACEOF
46788 #define wxUSE_MOUSEWHEEL 1
46789 _ACEOF
46790
46791 fi
46792
46793 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
46794 cat >>confdefs.h <<\_ACEOF
46795 #define wxUSE_UIACTIONSIMULATOR 1
46796 _ACEOF
46797
46798 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
46799 fi
46800
46801
46802 USES_CONTROLS=0
46803 if test "$wxUSE_CONTROLS" = "yes"; then
46804 USES_CONTROLS=1
46805 fi
46806
46807 if test "$wxUSE_ACCEL" = "yes"; then
46808 cat >>confdefs.h <<\_ACEOF
46809 #define wxUSE_ACCEL 1
46810 _ACEOF
46811
46812 USES_CONTROLS=1
46813 fi
46814
46815 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46816 cat >>confdefs.h <<\_ACEOF
46817 #define wxUSE_ANIMATIONCTRL 1
46818 _ACEOF
46819
46820 USES_CONTROLS=1
46821 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
46822 fi
46823
46824 if test "$wxUSE_BUTTON" = "yes"; then
46825 cat >>confdefs.h <<\_ACEOF
46826 #define wxUSE_BUTTON 1
46827 _ACEOF
46828
46829 USES_CONTROLS=1
46830 fi
46831
46832 if test "$wxUSE_BMPBUTTON" = "yes"; then
46833 cat >>confdefs.h <<\_ACEOF
46834 #define wxUSE_BMPBUTTON 1
46835 _ACEOF
46836
46837 USES_CONTROLS=1
46838 fi
46839
46840 if test "$wxUSE_CALCTRL" = "yes"; then
46841 cat >>confdefs.h <<\_ACEOF
46842 #define wxUSE_CALENDARCTRL 1
46843 _ACEOF
46844
46845 USES_CONTROLS=1
46846 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
46847 fi
46848
46849 if test "$wxUSE_CARET" = "yes"; then
46850 cat >>confdefs.h <<\_ACEOF
46851 #define wxUSE_CARET 1
46852 _ACEOF
46853
46854 USES_CONTROLS=1
46855 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
46856 fi
46857
46858 if test "$wxUSE_COLLPANE" = "yes"; then
46859 cat >>confdefs.h <<\_ACEOF
46860 #define wxUSE_COLLPANE 1
46861 _ACEOF
46862
46863 USES_CONTROLS=1
46864 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
46865 fi
46866
46867 if test "$wxUSE_COMBOBOX" = "yes"; then
46868 cat >>confdefs.h <<\_ACEOF
46869 #define wxUSE_COMBOBOX 1
46870 _ACEOF
46871
46872 USES_CONTROLS=1
46873 fi
46874
46875 if test "$wxUSE_COMBOCTRL" = "yes"; then
46876 cat >>confdefs.h <<\_ACEOF
46877 #define wxUSE_COMBOCTRL 1
46878 _ACEOF
46879
46880 USES_CONTROLS=1
46881 fi
46882
46883 if test "$wxUSE_CHOICE" = "yes"; then
46884 cat >>confdefs.h <<\_ACEOF
46885 #define wxUSE_CHOICE 1
46886 _ACEOF
46887
46888 USES_CONTROLS=1
46889 fi
46890
46891 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46892 cat >>confdefs.h <<\_ACEOF
46893 #define wxUSE_CHOICEBOOK 1
46894 _ACEOF
46895
46896 USES_CONTROLS=1
46897 fi
46898
46899 if test "$wxUSE_CHECKBOX" = "yes"; then
46900 cat >>confdefs.h <<\_ACEOF
46901 #define wxUSE_CHECKBOX 1
46902 _ACEOF
46903
46904 USES_CONTROLS=1
46905 fi
46906
46907 if test "$wxUSE_CHECKLST" = "yes"; then
46908 cat >>confdefs.h <<\_ACEOF
46909 #define wxUSE_CHECKLISTBOX 1
46910 _ACEOF
46911
46912 USES_CONTROLS=1
46913 fi
46914
46915 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46916 cat >>confdefs.h <<\_ACEOF
46917 #define wxUSE_COLOURPICKERCTRL 1
46918 _ACEOF
46919
46920 USES_CONTROLS=1
46921 fi
46922
46923 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46924 cat >>confdefs.h <<\_ACEOF
46925 #define wxUSE_DATEPICKCTRL 1
46926 _ACEOF
46927
46928 USES_CONTROLS=1
46929 fi
46930
46931 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46932 cat >>confdefs.h <<\_ACEOF
46933 #define wxUSE_DIRPICKERCTRL 1
46934 _ACEOF
46935
46936 USES_CONTROLS=1
46937 fi
46938
46939 if test "$wxUSE_FILECTRL" = "yes"; then
46940 cat >>confdefs.h <<\_ACEOF
46941 #define wxUSE_FILECTRL 1
46942 _ACEOF
46943
46944 USES_CONTROLS=1
46945 fi
46946
46947 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46948 cat >>confdefs.h <<\_ACEOF
46949 #define wxUSE_FILEPICKERCTRL 1
46950 _ACEOF
46951
46952 USES_CONTROLS=1
46953 fi
46954
46955 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46956 cat >>confdefs.h <<\_ACEOF
46957 #define wxUSE_FONTPICKERCTRL 1
46958 _ACEOF
46959
46960 USES_CONTROLS=1
46961 fi
46962
46963 if test "$wxUSE_DISPLAY" = "yes"; then
46964 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
46965 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
46966 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
46967 wxUSE_DISPLAY=no
46968 else
46969 cat >>confdefs.h <<\_ACEOF
46970 #define wxUSE_DISPLAY 1
46971 _ACEOF
46972
46973 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
46974 fi
46975 fi
46976
46977 if test "$wxUSE_DETECT_SM" = "yes"; then
46978 cat >>confdefs.h <<\_ACEOF
46979 #define wxUSE_DETECT_SM 1
46980 _ACEOF
46981
46982 fi
46983
46984 if test "$wxUSE_GAUGE" = "yes"; then
46985 cat >>confdefs.h <<\_ACEOF
46986 #define wxUSE_GAUGE 1
46987 _ACEOF
46988
46989 USES_CONTROLS=1
46990 fi
46991
46992 if test "$wxUSE_GRID" = "yes"; then
46993 cat >>confdefs.h <<\_ACEOF
46994 #define wxUSE_GRID 1
46995 _ACEOF
46996
46997 USES_CONTROLS=1
46998 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
46999 fi
47000
47001 if test "$wxUSE_HEADERCTRL" = "yes"; then
47002 cat >>confdefs.h <<\_ACEOF
47003 #define wxUSE_HEADERCTRL 1
47004 _ACEOF
47005
47006 USES_CONTROLS=1
47007 fi
47008
47009 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47010 cat >>confdefs.h <<\_ACEOF
47011 #define wxUSE_HYPERLINKCTRL 1
47012 _ACEOF
47013
47014 USES_CONTROLS=1
47015 fi
47016
47017 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47018 cat >>confdefs.h <<\_ACEOF
47019 #define wxUSE_BITMAPCOMBOBOX 1
47020 _ACEOF
47021
47022 USES_CONTROLS=1
47023 fi
47024
47025 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47026 cat >>confdefs.h <<\_ACEOF
47027 #define wxUSE_DATAVIEWCTRL 1
47028 _ACEOF
47029
47030 USES_CONTROLS=1
47031 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47032 fi
47033
47034 if test "$wxUSE_IMAGLIST" = "yes"; then
47035 cat >>confdefs.h <<\_ACEOF
47036 #define wxUSE_IMAGLIST 1
47037 _ACEOF
47038
47039 fi
47040
47041 if test "$wxUSE_INFOBAR" = "yes"; then
47042 cat >>confdefs.h <<\_ACEOF
47043 #define wxUSE_INFOBAR 1
47044 _ACEOF
47045
47046 fi
47047
47048 if test "$wxUSE_LISTBOOK" = "yes"; then
47049 cat >>confdefs.h <<\_ACEOF
47050 #define wxUSE_LISTBOOK 1
47051 _ACEOF
47052
47053 USES_CONTROLS=1
47054 fi
47055
47056 if test "$wxUSE_LISTBOX" = "yes"; then
47057 cat >>confdefs.h <<\_ACEOF
47058 #define wxUSE_LISTBOX 1
47059 _ACEOF
47060
47061 USES_CONTROLS=1
47062 fi
47063
47064 if test "$wxUSE_LISTCTRL" = "yes"; then
47065 if test "$wxUSE_IMAGLIST" = "yes"; then
47066 cat >>confdefs.h <<\_ACEOF
47067 #define wxUSE_LISTCTRL 1
47068 _ACEOF
47069
47070 USES_CONTROLS=1
47071 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47072 else
47073 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47074 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47075 fi
47076 fi
47077
47078 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47079 cat >>confdefs.h <<\_ACEOF
47080 #define wxUSE_EDITABLELISTBOX 1
47081 _ACEOF
47082
47083 USES_CONTROLS=1
47084 fi
47085
47086 if test "$wxUSE_NOTEBOOK" = "yes"; then
47087 cat >>confdefs.h <<\_ACEOF
47088 #define wxUSE_NOTEBOOK 1
47089 _ACEOF
47090
47091 USES_CONTROLS=1
47092 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47093 fi
47094
47095 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
47096 cat >>confdefs.h <<\_ACEOF
47097 #define wxUSE_NOTIFICATION_MESSAGE 1
47098 _ACEOF
47099
47100 fi
47101
47102 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47103 cat >>confdefs.h <<\_ACEOF
47104 #define wxUSE_ODCOMBOBOX 1
47105 _ACEOF
47106
47107 USES_CONTROLS=1
47108 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47109 fi
47110
47111 if test "$wxUSE_RADIOBOX" = "yes"; then
47112 cat >>confdefs.h <<\_ACEOF
47113 #define wxUSE_RADIOBOX 1
47114 _ACEOF
47115
47116 USES_CONTROLS=1
47117 fi
47118
47119 if test "$wxUSE_RADIOBTN" = "yes"; then
47120 cat >>confdefs.h <<\_ACEOF
47121 #define wxUSE_RADIOBTN 1
47122 _ACEOF
47123
47124 USES_CONTROLS=1
47125 fi
47126
47127 if test "$wxUSE_REARRANGECTRL" = "yes"; then
47128 cat >>confdefs.h <<\_ACEOF
47129 #define wxUSE_REARRANGECTRL 1
47130 _ACEOF
47131
47132 fi
47133
47134 if test "$wxUSE_SASH" = "yes"; then
47135 cat >>confdefs.h <<\_ACEOF
47136 #define wxUSE_SASH 1
47137 _ACEOF
47138
47139 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47140 fi
47141
47142 if test "$wxUSE_SCROLLBAR" = "yes"; then
47143 cat >>confdefs.h <<\_ACEOF
47144 #define wxUSE_SCROLLBAR 1
47145 _ACEOF
47146
47147 USES_CONTROLS=1
47148 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
47149 fi
47150
47151 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47152 cat >>confdefs.h <<\_ACEOF
47153 #define wxUSE_SEARCHCTRL 1
47154 _ACEOF
47155
47156 USES_CONTROLS=1
47157 fi
47158
47159 if test "$wxUSE_SLIDER" = "yes"; then
47160 cat >>confdefs.h <<\_ACEOF
47161 #define wxUSE_SLIDER 1
47162 _ACEOF
47163
47164 USES_CONTROLS=1
47165 fi
47166
47167 if test "$wxUSE_SPINBTN" = "yes"; then
47168 cat >>confdefs.h <<\_ACEOF
47169 #define wxUSE_SPINBTN 1
47170 _ACEOF
47171
47172 USES_CONTROLS=1
47173 fi
47174
47175 if test "$wxUSE_SPINCTRL" = "yes"; then
47176 cat >>confdefs.h <<\_ACEOF
47177 #define wxUSE_SPINCTRL 1
47178 _ACEOF
47179
47180 USES_CONTROLS=1
47181 fi
47182
47183 if test "$wxUSE_SPLITTER" = "yes"; then
47184 cat >>confdefs.h <<\_ACEOF
47185 #define wxUSE_SPLITTER 1
47186 _ACEOF
47187
47188 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
47189 fi
47190
47191 if test "$wxUSE_STATBMP" = "yes"; then
47192 cat >>confdefs.h <<\_ACEOF
47193 #define wxUSE_STATBMP 1
47194 _ACEOF
47195
47196 USES_CONTROLS=1
47197 fi
47198
47199 if test "$wxUSE_STATBOX" = "yes"; then
47200 cat >>confdefs.h <<\_ACEOF
47201 #define wxUSE_STATBOX 1
47202 _ACEOF
47203
47204 USES_CONTROLS=1
47205 fi
47206
47207 if test "$wxUSE_STATTEXT" = "yes"; then
47208 cat >>confdefs.h <<\_ACEOF
47209 #define wxUSE_STATTEXT 1
47210 _ACEOF
47211
47212 USES_CONTROLS=1
47213 fi
47214
47215 if test "$wxUSE_STATLINE" = "yes"; then
47216 cat >>confdefs.h <<\_ACEOF
47217 #define wxUSE_STATLINE 1
47218 _ACEOF
47219
47220 USES_CONTROLS=1
47221 fi
47222
47223 if test "$wxUSE_STATUSBAR" = "yes"; then
47224 cat >>confdefs.h <<\_ACEOF
47225 #define wxUSE_NATIVE_STATUSBAR 1
47226 _ACEOF
47227
47228 cat >>confdefs.h <<\_ACEOF
47229 #define wxUSE_STATUSBAR 1
47230 _ACEOF
47231
47232 USES_CONTROLS=1
47233
47234 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
47235 fi
47236
47237 if test "$wxUSE_TEXTCTRL" = "yes"; then
47238 cat >>confdefs.h <<\_ACEOF
47239 #define wxUSE_TEXTCTRL 1
47240 _ACEOF
47241
47242 USES_CONTROLS=1
47243 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
47244
47245 cat >>confdefs.h <<\_ACEOF
47246 #define wxUSE_RICHEDIT 1
47247 _ACEOF
47248
47249 cat >>confdefs.h <<\_ACEOF
47250 #define wxUSE_RICHEDIT2 1
47251 _ACEOF
47252
47253 fi
47254
47255 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47256 if test "$wxUSE_OLD_COCOA" = 1 ; then
47257 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47258 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47259 wxUSE_TOGGLEBTN=no
47260 fi
47261
47262 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47263 cat >>confdefs.h <<\_ACEOF
47264 #define wxUSE_TOGGLEBTN 1
47265 _ACEOF
47266
47267 USES_CONTROLS=1
47268 fi
47269 fi
47270
47271 if test "$wxUSE_TOOLBAR" = "yes"; then
47272 cat >>confdefs.h <<\_ACEOF
47273 #define wxUSE_TOOLBAR 1
47274 _ACEOF
47275
47276 USES_CONTROLS=1
47277
47278 if test "$wxUSE_UNIVERSAL" = "yes"; then
47279 wxUSE_TOOLBAR_NATIVE="no"
47280 else
47281 wxUSE_TOOLBAR_NATIVE="yes"
47282 cat >>confdefs.h <<\_ACEOF
47283 #define wxUSE_TOOLBAR_NATIVE 1
47284 _ACEOF
47285
47286 fi
47287
47288 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
47289 fi
47290
47291 if test "$wxUSE_TOOLTIPS" = "yes"; then
47292 if test "$wxUSE_MOTIF" = 1; then
47293 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47294 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47295 else
47296 if test "$wxUSE_UNIVERSAL" = "yes"; then
47297 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47298 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47299 else
47300 cat >>confdefs.h <<\_ACEOF
47301 #define wxUSE_TOOLTIPS 1
47302 _ACEOF
47303
47304 fi
47305 fi
47306 fi
47307
47308 if test "$wxUSE_TREEBOOK" = "yes"; then
47309 cat >>confdefs.h <<\_ACEOF
47310 #define wxUSE_TREEBOOK 1
47311 _ACEOF
47312
47313 USES_CONTROLS=1
47314 fi
47315
47316 if test "$wxUSE_TOOLBOOK" = "yes"; then
47317 cat >>confdefs.h <<\_ACEOF
47318 #define wxUSE_TOOLBOOK 1
47319 _ACEOF
47320
47321 USES_CONTROLS=1
47322 fi
47323
47324 if test "$wxUSE_TREECTRL" = "yes"; then
47325 if test "$wxUSE_IMAGLIST" = "yes"; then
47326 cat >>confdefs.h <<\_ACEOF
47327 #define wxUSE_TREECTRL 1
47328 _ACEOF
47329
47330 USES_CONTROLS=1
47331 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
47332 else
47333 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47334 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47335 fi
47336 fi
47337
47338 if test "$wxUSE_POPUPWIN" = "yes"; then
47339 if test "$wxUSE_OLD_COCOA" = 1 ; then
47340 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47341 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47342 else
47343 if test "$wxUSE_PM" = 1; then
47344 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47345 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47346 else
47347 cat >>confdefs.h <<\_ACEOF
47348 #define wxUSE_POPUPWIN 1
47349 _ACEOF
47350
47351 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
47352
47353 USES_CONTROLS=1
47354 fi
47355 fi
47356 fi
47357
47358 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47359 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47360 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47361 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47362 else
47363 cat >>confdefs.h <<\_ACEOF
47364 #define wxUSE_DIALUP_MANAGER 1
47365 _ACEOF
47366
47367 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
47368 fi
47369 fi
47370
47371 if test "$wxUSE_TIPWINDOW" = "yes"; then
47372 if test "$wxUSE_PM" = 1; then
47373 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47374 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47375 else
47376 cat >>confdefs.h <<\_ACEOF
47377 #define wxUSE_TIPWINDOW 1
47378 _ACEOF
47379
47380 fi
47381 fi
47382
47383 if test "$USES_CONTROLS" = 1; then
47384 cat >>confdefs.h <<\_ACEOF
47385 #define wxUSE_CONTROLS 1
47386 _ACEOF
47387
47388 fi
47389
47390
47391 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47392 cat >>confdefs.h <<\_ACEOF
47393 #define wxUSE_ACCESSIBILITY 1
47394 _ACEOF
47395
47396 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
47397 fi
47398
47399 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47400 cat >>confdefs.h <<\_ACEOF
47401 #define wxUSE_DRAGIMAGE 1
47402 _ACEOF
47403
47404 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
47405 fi
47406
47407 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47408 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47409 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47410 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47411 else
47412 cat >>confdefs.h <<\_ACEOF
47413 #define wxUSE_EXCEPTIONS 1
47414 _ACEOF
47415
47416 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
47417 fi
47418 fi
47419
47420 USE_HTML=0
47421 if test "$wxUSE_HTML" = "yes"; then
47422 cat >>confdefs.h <<\_ACEOF
47423 #define wxUSE_HTML 1
47424 _ACEOF
47425
47426 USE_HTML=1
47427 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47428 fi
47429 if test "$wxUSE_WEBKIT" = "yes"; then
47430 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47431 old_CPPFLAGS="$CPPFLAGS"
47432 CPPFLAGS="-x objective-c++ $CPPFLAGS"
47433 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47434 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
47435 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47436 echo $ECHO_N "(cached) $ECHO_C" >&6
47437 else
47438 cat >conftest.$ac_ext <<_ACEOF
47439 /* confdefs.h. */
47440 _ACEOF
47441 cat confdefs.h >>conftest.$ac_ext
47442 cat >>conftest.$ac_ext <<_ACEOF
47443 /* end confdefs.h. */
47444
47445 #include <Carbon/Carbon.h>
47446 #include <WebKit/WebKit.h>
47447
47448
47449 #include <WebKit/HIWebView.h>
47450 _ACEOF
47451 rm -f conftest.$ac_objext
47452 if { (ac_try="$ac_compile"
47453 case "(($ac_try" in
47454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47455 *) ac_try_echo=$ac_try;;
47456 esac
47457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47458 (eval "$ac_compile") 2>conftest.er1
47459 ac_status=$?
47460 grep -v '^ *+' conftest.er1 >conftest.err
47461 rm -f conftest.er1
47462 cat conftest.err >&5
47463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47464 (exit $ac_status); } && {
47465 test -z "$ac_c_werror_flag" ||
47466 test ! -s conftest.err
47467 } && test -s conftest.$ac_objext; then
47468 ac_cv_header_WebKit_HIWebView_h=yes
47469 else
47470 echo "$as_me: failed program was:" >&5
47471 sed 's/^/| /' conftest.$ac_ext >&5
47472
47473 ac_cv_header_WebKit_HIWebView_h=no
47474 fi
47475
47476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47477 fi
47478 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47479 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
47480 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47481
47482 cat >>confdefs.h <<\_ACEOF
47483 #define wxUSE_WEBKIT 1
47484 _ACEOF
47485
47486 WEBKIT_LINK="-framework WebKit"
47487
47488 else
47489
47490 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47491 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47492 wxUSE_WEBKIT=no
47493
47494 fi
47495
47496
47497 CPPFLAGS="$old_CPPFLAGS"
47498 elif test "$wxUSE_OLD_COCOA" = 1; then
47499 cat >>confdefs.h <<\_ACEOF
47500 #define wxUSE_WEBKIT 1
47501 _ACEOF
47502
47503 else
47504 wxUSE_WEBKIT=no
47505 fi
47506 if test "$wxUSE_WEBKIT" = "yes"; then
47507 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
47508 fi
47509 fi
47510
47511 USE_XRC=0
47512 if test "$wxUSE_XRC" = "yes"; then
47513 if test "$wxUSE_XML" != "yes"; then
47514 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47515 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47516 wxUSE_XRC=no
47517 else
47518 cat >>confdefs.h <<\_ACEOF
47519 #define wxUSE_XRC 1
47520 _ACEOF
47521
47522 USE_XRC=1
47523 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47524 fi
47525 fi
47526
47527 USE_AUI=0
47528 if test "$wxUSE_AUI" = "yes"; then
47529 cat >>confdefs.h <<\_ACEOF
47530 #define wxUSE_AUI 1
47531 _ACEOF
47532
47533 USE_AUI=1
47534 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
47535 fi
47536
47537 USE_PROPGRID=0
47538 if test "$wxUSE_PROPGRID" = "yes"; then
47539 cat >>confdefs.h <<\_ACEOF
47540 #define wxUSE_PROPGRID 1
47541 _ACEOF
47542
47543 USE_PROPGRID=1
47544 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
47545 fi
47546
47547 USE_RIBBON=0
47548 if test "$wxUSE_RIBBON" = "yes"; then
47549 cat >>confdefs.h <<\_ACEOF
47550 #define wxUSE_RIBBON 1
47551 _ACEOF
47552
47553 USE_RIBBON=1
47554 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
47555 fi
47556
47557 USE_STC=0
47558 if test "$wxUSE_STC" = "yes"; then
47559 cat >>confdefs.h <<\_ACEOF
47560 #define wxUSE_STC 1
47561 _ACEOF
47562
47563 USE_STC=1
47564 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
47565
47566 # Extract the first word of "python", so it can be a program name with args.
47567 set dummy python; ac_word=$2
47568 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47569 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47570 if test "${ac_cv_path_PYTHON+set}" = set; then
47571 echo $ECHO_N "(cached) $ECHO_C" >&6
47572 else
47573 case $PYTHON in
47574 [\\/]* | ?:[\\/]*)
47575 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
47576 ;;
47577 *)
47578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47579 for as_dir in $PATH
47580 do
47581 IFS=$as_save_IFS
47582 test -z "$as_dir" && as_dir=.
47583 for ac_exec_ext in '' $ac_executable_extensions; do
47584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47585 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
47586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47587 break 2
47588 fi
47589 done
47590 done
47591 IFS=$as_save_IFS
47592
47593 ;;
47594 esac
47595 fi
47596 PYTHON=$ac_cv_path_PYTHON
47597 if test -n "$PYTHON"; then
47598 { echo "$as_me:$LINENO: result: $PYTHON" >&5
47599 echo "${ECHO_T}$PYTHON" >&6; }
47600 else
47601 { echo "$as_me:$LINENO: result: no" >&5
47602 echo "${ECHO_T}no" >&6; }
47603 fi
47604
47605
47606 if test "x$PYTHON" = "x"; then
47607 COND_PYTHON="#"
47608 fi
47609
47610 fi
47611
47612 if test "$wxUSE_MENUS" = "yes"; then
47613 cat >>confdefs.h <<\_ACEOF
47614 #define wxUSE_MENUS 1
47615 _ACEOF
47616
47617 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
47618 fi
47619
47620 if test "$wxUSE_METAFILE" = "yes"; then
47621 cat >>confdefs.h <<\_ACEOF
47622 #define wxUSE_METAFILE 1
47623 _ACEOF
47624
47625 fi
47626
47627 if test "$wxUSE_MIMETYPE" = "yes"; then
47628 cat >>confdefs.h <<\_ACEOF
47629 #define wxUSE_MIMETYPE 1
47630 _ACEOF
47631
47632 fi
47633
47634 if test "$wxUSE_MINIFRAME" = "yes"; then
47635 cat >>confdefs.h <<\_ACEOF
47636 #define wxUSE_MINIFRAME 1
47637 _ACEOF
47638
47639 fi
47640
47641 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
47642 cat >>confdefs.h <<\_ACEOF
47643 #define wxUSE_SYSTEM_OPTIONS 1
47644 _ACEOF
47645
47646 fi
47647
47648 if test "$wxUSE_TASKBARICON" = "yes"; then
47649 cat >>confdefs.h <<\_ACEOF
47650 #define wxUSE_TASKBARICON 1
47651 _ACEOF
47652
47653 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
47654 fi
47655
47656
47657 if test "$wxUSE_VALIDATORS" = "yes"; then
47658 cat >>confdefs.h <<\_ACEOF
47659 #define wxUSE_VALIDATORS 1
47660 _ACEOF
47661
47662 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
47663 fi
47664
47665 if test "$wxUSE_PALETTE" = "yes" ; then
47666 if test "$wxUSE_DFB" = 1; then
47667 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
47668 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
47669 wxUSE_PALETTE=no
47670 else
47671 cat >>confdefs.h <<\_ACEOF
47672 #define wxUSE_PALETTE 1
47673 _ACEOF
47674
47675 fi
47676 fi
47677
47678 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
47679 LIBS=" -lunicows $LIBS"
47680 fi
47681
47682 USE_RICHTEXT=0
47683 if test "$wxUSE_RICHTEXT" = "yes"; then
47684 cat >>confdefs.h <<\_ACEOF
47685 #define wxUSE_RICHTEXT 1
47686 _ACEOF
47687
47688 USE_RICHTEXT=1
47689 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
47690 fi
47691
47692
47693 if test "$wxUSE_IMAGE" = "yes" ; then
47694 cat >>confdefs.h <<\_ACEOF
47695 #define wxUSE_IMAGE 1
47696 _ACEOF
47697
47698
47699 if test "$wxUSE_GIF" = "yes" ; then
47700 cat >>confdefs.h <<\_ACEOF
47701 #define wxUSE_GIF 1
47702 _ACEOF
47703
47704 fi
47705
47706 if test "$wxUSE_PCX" = "yes" ; then
47707 cat >>confdefs.h <<\_ACEOF
47708 #define wxUSE_PCX 1
47709 _ACEOF
47710
47711 fi
47712
47713 if test "$wxUSE_TGA" = "yes" ; then
47714 cat >>confdefs.h <<\_ACEOF
47715 #define wxUSE_TGA 1
47716 _ACEOF
47717
47718 fi
47719
47720 if test "$wxUSE_IFF" = "yes" ; then
47721 cat >>confdefs.h <<\_ACEOF
47722 #define wxUSE_IFF 1
47723 _ACEOF
47724
47725 fi
47726
47727 if test "$wxUSE_PNM" = "yes" ; then
47728 cat >>confdefs.h <<\_ACEOF
47729 #define wxUSE_PNM 1
47730 _ACEOF
47731
47732 fi
47733
47734 if test "$wxUSE_XPM" = "yes" ; then
47735 cat >>confdefs.h <<\_ACEOF
47736 #define wxUSE_XPM 1
47737 _ACEOF
47738
47739 fi
47740
47741 if test "$wxUSE_ICO_CUR" = "yes" ; then
47742 cat >>confdefs.h <<\_ACEOF
47743 #define wxUSE_ICO_CUR 1
47744 _ACEOF
47745
47746 fi
47747 fi
47748
47749
47750 if test "$wxUSE_ABOUTDLG" = "yes"; then
47751 cat >>confdefs.h <<\_ACEOF
47752 #define wxUSE_ABOUTDLG 1
47753 _ACEOF
47754
47755 fi
47756
47757 if test "$wxUSE_CHOICEDLG" = "yes"; then
47758 cat >>confdefs.h <<\_ACEOF
47759 #define wxUSE_CHOICEDLG 1
47760 _ACEOF
47761
47762 fi
47763
47764 if test "$wxUSE_COLOURDLG" = "yes"; then
47765 cat >>confdefs.h <<\_ACEOF
47766 #define wxUSE_COLOURDLG 1
47767 _ACEOF
47768
47769 fi
47770
47771 if test "$wxUSE_FILEDLG" = "yes"; then
47772 cat >>confdefs.h <<\_ACEOF
47773 #define wxUSE_FILEDLG 1
47774 _ACEOF
47775
47776 fi
47777
47778 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47779 cat >>confdefs.h <<\_ACEOF
47780 #define wxUSE_FINDREPLDLG 1
47781 _ACEOF
47782
47783 fi
47784
47785 if test "$wxUSE_FONTDLG" = "yes"; then
47786 cat >>confdefs.h <<\_ACEOF
47787 #define wxUSE_FONTDLG 1
47788 _ACEOF
47789
47790 fi
47791
47792 if test "$wxUSE_DIRDLG" = "yes"; then
47793 if test "$wxUSE_TREECTRL" != "yes"; then
47794 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47795 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47796 else
47797 cat >>confdefs.h <<\_ACEOF
47798 #define wxUSE_DIRDLG 1
47799 _ACEOF
47800
47801 fi
47802 fi
47803
47804 if test "$wxUSE_MSGDLG" = "yes"; then
47805 cat >>confdefs.h <<\_ACEOF
47806 #define wxUSE_MSGDLG 1
47807 _ACEOF
47808
47809 fi
47810
47811 if test "$wxUSE_NUMBERDLG" = "yes"; then
47812 cat >>confdefs.h <<\_ACEOF
47813 #define wxUSE_NUMBERDLG 1
47814 _ACEOF
47815
47816 fi
47817
47818 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47819 cat >>confdefs.h <<\_ACEOF
47820 #define wxUSE_PROGRESSDLG 1
47821 _ACEOF
47822
47823 fi
47824
47825 if test "$wxUSE_SPLASH" = "yes"; then
47826 cat >>confdefs.h <<\_ACEOF
47827 #define wxUSE_SPLASH 1
47828 _ACEOF
47829
47830 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47831 fi
47832
47833 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47834 cat >>confdefs.h <<\_ACEOF
47835 #define wxUSE_STARTUP_TIPS 1
47836 _ACEOF
47837
47838 fi
47839
47840 if test "$wxUSE_TEXTDLG" = "yes"; then
47841 cat >>confdefs.h <<\_ACEOF
47842 #define wxUSE_TEXTDLG 1
47843 _ACEOF
47844
47845 fi
47846
47847 if test "$wxUSE_WIZARDDLG" = "yes"; then
47848 cat >>confdefs.h <<\_ACEOF
47849 #define wxUSE_WIZARDDLG 1
47850 _ACEOF
47851
47852 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
47853 fi
47854
47855
47856 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
47857 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
47858 cat >>confdefs.h <<\_ACEOF
47859 #define wxUSE_OWNER_DRAWN 1
47860 _ACEOF
47861
47862 fi
47863 fi
47864
47865
47866 if test "$wxUSE_MSW" = 1 ; then
47867
47868 if test "$wxUSE_DC_CACHEING" = "yes"; then
47869 cat >>confdefs.h <<\_ACEOF
47870 #define wxUSE_DC_CACHEING 1
47871 _ACEOF
47872
47873 fi
47874
47875 if test "$wxUSE_DIB" = "yes"; then
47876 cat >>confdefs.h <<\_ACEOF
47877 #define wxUSE_WXDIB 1
47878 _ACEOF
47879
47880 fi
47881
47882 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
47883 cat >>confdefs.h <<\_ACEOF
47884 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
47885 _ACEOF
47886
47887 fi
47888
47889 if test "$wxUSE_UXTHEME" = "yes"; then
47890 cat >>confdefs.h <<\_ACEOF
47891 #define wxUSE_UXTHEME 1
47892 _ACEOF
47893
47894 fi
47895
47896 fi
47897
47898 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
47899 cat >>confdefs.h <<\_ACEOF
47900 #define wxUSE_AUTOID_MANAGEMENT 1
47901 _ACEOF
47902
47903 fi
47904
47905 if test "$USE_WIN32" = 1 ; then
47906 if test "$wxUSE_INICONF" = "yes"; then
47907 cat >>confdefs.h <<\_ACEOF
47908 #define wxUSE_INICONF 1
47909 _ACEOF
47910
47911 fi
47912
47913 if test "$wxUSE_REGKEY" = "yes"; then
47914 cat >>confdefs.h <<\_ACEOF
47915 #define wxUSE_REGKEY 1
47916 _ACEOF
47917
47918 fi
47919 fi
47920
47921
47922 if test "$wxUSE_MAC" = 1; then
47923 wxUSE_GRAPHICS_CONTEXT="yes"
47924 fi
47925
47926 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
47927 wx_has_graphics=0
47928 if test "$wxUSE_MSW" = 1; then
47929 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
47930 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
47931 if test "${wx_cv_lib_gdiplus+set}" = set; then
47932 echo $ECHO_N "(cached) $ECHO_C" >&6
47933 else
47934
47935 ac_ext=cpp
47936 ac_cpp='$CXXCPP $CPPFLAGS'
47937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47940
47941 cat >conftest.$ac_ext <<_ACEOF
47942 /* confdefs.h. */
47943 _ACEOF
47944 cat confdefs.h >>conftest.$ac_ext
47945 cat >>conftest.$ac_ext <<_ACEOF
47946 /* end confdefs.h. */
47947 #include <windows.h>
47948 #include <gdiplus.h>
47949 int
47950 main ()
47951 {
47952
47953 using namespace Gdiplus;
47954
47955 ;
47956 return 0;
47957 }
47958 _ACEOF
47959 rm -f conftest.$ac_objext
47960 if { (ac_try="$ac_compile"
47961 case "(($ac_try" in
47962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47963 *) ac_try_echo=$ac_try;;
47964 esac
47965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47966 (eval "$ac_compile") 2>conftest.er1
47967 ac_status=$?
47968 grep -v '^ *+' conftest.er1 >conftest.err
47969 rm -f conftest.er1
47970 cat conftest.err >&5
47971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47972 (exit $ac_status); } && {
47973 test -z "$ac_cxx_werror_flag" ||
47974 test ! -s conftest.err
47975 } && test -s conftest.$ac_objext; then
47976 wx_cv_lib_gdiplus=yes
47977 else
47978 echo "$as_me: failed program was:" >&5
47979 sed 's/^/| /' conftest.$ac_ext >&5
47980
47981 wx_cv_lib_gdiplus=no
47982
47983 fi
47984
47985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47986 ac_ext=c
47987 ac_cpp='$CPP $CPPFLAGS'
47988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47991
47992
47993
47994 fi
47995 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
47996 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
47997 if test "$wx_cv_lib_gdiplus" = "yes"; then
47998 wx_has_graphics=1
47999 fi
48000 elif test "$wxUSE_GTK" = 1; then
48001
48002 pkg_failed=no
48003 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48004 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48005
48006 if test -n "$PKG_CONFIG"; then
48007 if test -n "$CAIRO_CFLAGS"; then
48008 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48009 else
48010 if test -n "$PKG_CONFIG" && \
48011 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48012 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48013 ac_status=$?
48014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48015 (exit $ac_status); }; then
48016 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48017 else
48018 pkg_failed=yes
48019 fi
48020 fi
48021 else
48022 pkg_failed=untried
48023 fi
48024 if test -n "$PKG_CONFIG"; then
48025 if test -n "$CAIRO_LIBS"; then
48026 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48027 else
48028 if test -n "$PKG_CONFIG" && \
48029 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48030 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48031 ac_status=$?
48032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48033 (exit $ac_status); }; then
48034 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48035 else
48036 pkg_failed=yes
48037 fi
48038 fi
48039 else
48040 pkg_failed=untried
48041 fi
48042
48043
48044
48045 if test $pkg_failed = yes; then
48046
48047 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48048 _pkg_short_errors_supported=yes
48049 else
48050 _pkg_short_errors_supported=no
48051 fi
48052 if test $_pkg_short_errors_supported = yes; then
48053 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48054 else
48055 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48056 fi
48057 # Put the nasty error message in config.log where it belongs
48058 echo "$CAIRO_PKG_ERRORS" >&5
48059
48060 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48061 echo "$as_me: WARNING: Cairo library not found" >&2;}
48062
48063 elif test $pkg_failed = untried; then
48064 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48065 echo "$as_me: WARNING: Cairo library not found" >&2;}
48066
48067 else
48068 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48069 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48070 { echo "$as_me:$LINENO: result: yes" >&5
48071 echo "${ECHO_T}yes" >&6; }
48072 wx_has_graphics=1
48073 fi
48074 else
48075 wx_has_graphics=1
48076 fi
48077
48078 if test "$wx_has_graphics" = 1; then
48079 cat >>confdefs.h <<\_ACEOF
48080 #define wxUSE_GRAPHICS_CONTEXT 1
48081 _ACEOF
48082
48083 else
48084 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
48085 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
48086 fi
48087 fi
48088
48089
48090 USE_MEDIA=0
48091
48092 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
48093 USE_MEDIA=1
48094
48095 if test "$wxUSE_GTK" = 1; then
48096 wxUSE_GSTREAMER="no"
48097
48098 GST_VERSION_MAJOR=0
48099 GST_VERSION_MINOR=10
48100 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48101
48102 if test "$wxUSE_GSTREAMER8" = "no"; then
48103
48104 pkg_failed=no
48105 { echo "$as_me:$LINENO: checking for GST" >&5
48106 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48107
48108 if test -n "$PKG_CONFIG"; then
48109 if test -n "$GST_CFLAGS"; then
48110 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48111 else
48112 if test -n "$PKG_CONFIG" && \
48113 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48114 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48115 ac_status=$?
48116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48117 (exit $ac_status); }; then
48118 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48119 else
48120 pkg_failed=yes
48121 fi
48122 fi
48123 else
48124 pkg_failed=untried
48125 fi
48126 if test -n "$PKG_CONFIG"; then
48127 if test -n "$GST_LIBS"; then
48128 pkg_cv_GST_LIBS="$GST_LIBS"
48129 else
48130 if test -n "$PKG_CONFIG" && \
48131 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48132 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48133 ac_status=$?
48134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48135 (exit $ac_status); }; then
48136 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48137 else
48138 pkg_failed=yes
48139 fi
48140 fi
48141 else
48142 pkg_failed=untried
48143 fi
48144
48145
48146
48147 if test $pkg_failed = yes; then
48148
48149 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48150 _pkg_short_errors_supported=yes
48151 else
48152 _pkg_short_errors_supported=no
48153 fi
48154 if test $_pkg_short_errors_supported = yes; then
48155 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48156 else
48157 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48158 fi
48159 # Put the nasty error message in config.log where it belongs
48160 echo "$GST_PKG_ERRORS" >&5
48161
48162
48163 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48164 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48165 GST_VERSION_MINOR=8
48166
48167
48168 elif test $pkg_failed = untried; then
48169
48170 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48171 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48172 GST_VERSION_MINOR=8
48173
48174
48175 else
48176 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48177 GST_LIBS=$pkg_cv_GST_LIBS
48178 { echo "$as_me:$LINENO: result: yes" >&5
48179 echo "${ECHO_T}yes" >&6; }
48180
48181 wxUSE_GSTREAMER="yes"
48182 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48183
48184 fi
48185 else
48186 GST_VERSION_MINOR=8
48187 fi
48188
48189 if test $GST_VERSION_MINOR = "8"; then
48190 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48191
48192 pkg_failed=no
48193 { echo "$as_me:$LINENO: checking for GST" >&5
48194 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48195
48196 if test -n "$PKG_CONFIG"; then
48197 if test -n "$GST_CFLAGS"; then
48198 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48199 else
48200 if test -n "$PKG_CONFIG" && \
48201 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48202 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48203 ac_status=$?
48204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48205 (exit $ac_status); }; then
48206 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48207 else
48208 pkg_failed=yes
48209 fi
48210 fi
48211 else
48212 pkg_failed=untried
48213 fi
48214 if test -n "$PKG_CONFIG"; then
48215 if test -n "$GST_LIBS"; then
48216 pkg_cv_GST_LIBS="$GST_LIBS"
48217 else
48218 if test -n "$PKG_CONFIG" && \
48219 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48220 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48221 ac_status=$?
48222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48223 (exit $ac_status); }; then
48224 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48225 else
48226 pkg_failed=yes
48227 fi
48228 fi
48229 else
48230 pkg_failed=untried
48231 fi
48232
48233
48234
48235 if test $pkg_failed = yes; then
48236
48237 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48238 _pkg_short_errors_supported=yes
48239 else
48240 _pkg_short_errors_supported=no
48241 fi
48242 if test $_pkg_short_errors_supported = yes; then
48243 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48244 else
48245 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48246 fi
48247 # Put the nasty error message in config.log where it belongs
48248 echo "$GST_PKG_ERRORS" >&5
48249
48250
48251 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48252 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48253
48254 elif test $pkg_failed = untried; then
48255
48256 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48257 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48258
48259 else
48260 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48261 GST_LIBS=$pkg_cv_GST_LIBS
48262 { echo "$as_me:$LINENO: result: yes" >&5
48263 echo "${ECHO_T}yes" >&6; }
48264 wxUSE_GSTREAMER="yes"
48265 fi
48266 fi
48267
48268
48269 if test "$wxUSE_GSTREAMER" = "yes"; then
48270 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48271 EXTRALIBS_MEDIA="$GST_LIBS"
48272
48273 cat >>confdefs.h <<\_ACEOF
48274 #define wxUSE_GSTREAMER 1
48275 _ACEOF
48276
48277 else
48278 USE_MEDIA=0
48279 fi
48280 fi
48281
48282 if test $USE_MEDIA = 1; then
48283 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48284 cat >>confdefs.h <<\_ACEOF
48285 #define wxUSE_MEDIACTRL 1
48286 _ACEOF
48287
48288 else
48289 if test "$wxUSE_MEDIACTRL" = "yes"; then
48290 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
48291 echo "$as_me: error: GStreamer not available" >&2;}
48292 { (exit 1); exit 1; }; }
48293 else
48294 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
48295 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
48296 fi
48297 fi
48298 fi
48299
48300
48301 if test "$cross_compiling" != "no"; then
48302 OSINFO="\"$host\""
48303 else
48304 OSINFO=`uname -s -r -m`
48305 OSINFO="\"$OSINFO\""
48306 fi
48307
48308 cat >>confdefs.h <<_ACEOF
48309 #define WXWIN_OS_DESCRIPTION $OSINFO
48310 _ACEOF
48311
48312
48313
48314 if test "x$prefix" != "xNONE"; then
48315 wxPREFIX=$prefix
48316 else
48317 wxPREFIX=$ac_default_prefix
48318 fi
48319
48320 cat >>confdefs.h <<_ACEOF
48321 #define wxINSTALL_PREFIX "$wxPREFIX"
48322 _ACEOF
48323
48324
48325
48326
48327 STD_BASE_LIBS="base"
48328 STD_GUI_LIBS=""
48329 BUILT_WX_LIBS="base"
48330 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
48331
48332 if test "$wxUSE_SOCKETS" = "yes" ; then
48333 STD_BASE_LIBS="net $STD_BASE_LIBS"
48334 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
48335 fi
48336 if test "$wxUSE_XML" = "yes" ; then
48337 STD_BASE_LIBS="xml $STD_BASE_LIBS"
48338 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
48339 fi
48340
48341 if test "$wxUSE_GUI" = "yes"; then
48342 STD_GUI_LIBS="adv core"
48343 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
48344
48345 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48346 STD_GUI_LIBS="qa $STD_GUI_LIBS"
48347 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
48348 fi
48349 if test "$wxUSE_HTML" = "yes" ; then
48350 STD_GUI_LIBS="html $STD_GUI_LIBS"
48351 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
48352 fi
48353 if test "$wxUSE_MEDIACTRL" = "yes" ; then
48354 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
48355 fi
48356 if test "$wxUSE_OPENGL" = "yes" ; then
48357 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
48358 fi
48359 if test "$wxUSE_AUI" = "yes" ; then
48360 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
48361 fi
48362 if test "$wxUSE_PROPGRID" = "yes" ; then
48363 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
48364 fi
48365 if test "$wxUSE_RIBBON" = "yes" ; then
48366 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
48367 fi
48368 if test "$wxUSE_RICHTEXT" = "yes" ; then
48369 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
48370 fi
48371 if test "$wxUSE_STC" = "yes" ; then
48372 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
48373 fi
48374 if test "$wxUSE_XRC" = "yes" ; then
48375 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
48376 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
48377 fi
48378 fi
48379
48380
48381
48382
48383
48384
48385
48386 EXTRA_FRAMEWORKS=
48387 if test "$wxUSE_MAC" = 1 ; then
48388 if test "$USE_DARWIN" = 1; then
48389 if test "$wxUSE_OSX_IPHONE" = 1; then
48390 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CoreServices -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
48391 else
48392 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
48393 fi
48394 fi
48395 fi
48396 if test "$wxUSE_OLD_COCOA" = 1 ; then
48397 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
48398 if test "$wxUSE_MEDIACTRL" = "yes"; then
48399 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
48400 fi
48401 fi
48402 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
48403 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48404 fi
48405
48406 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
48407 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
48408
48409 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48410
48411 if test "$wxUSE_GUI" = "yes"; then
48412
48413
48414 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48415 erase event exec font image minimal render \
48416 shaped svg taborder vscroll widgets wrapsizer"
48417
48418 if test "$wxUSE_MONOLITHIC" != "yes"; then
48419 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
48420 fi
48421 if test "$TOOLKIT" = "MSW"; then
48422 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
48423 if test "$wxUSE_UNIVERSAL" != "yes"; then
48424 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
48425 fi
48426 fi
48427 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
48428 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
48429 fi
48430 else
48431 SAMPLES_SUBDIRS="console"
48432 if test "$wxUSE_SOCKETS" = "yes" ; then
48433 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
48434 fi
48435 if test "$wxUSE_IPC" = "yes" ; then
48436 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
48437 fi
48438 fi
48439
48440
48441 if test "x$INTELCC" = "xyes" ; then
48442 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
48443 elif test "$GCC" = yes ; then
48444 CWARNINGS="-Wall -Wundef"
48445 fi
48446
48447 if test "x$INTELCXX" = "xyes" ; then
48448 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
48449 elif test "$GXX" = yes ; then
48450 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
48451 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
48452 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
48453 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
48454 echo $ECHO_N "(cached) $ECHO_C" >&6
48455 else
48456 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
48457
48458 ac_ext=cpp
48459 ac_cpp='$CXXCPP $CPPFLAGS'
48460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48463
48464 ac_save_CXXFLAGS="$CXXFLAGS"
48465 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
48466 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
48467 cat >conftest.$ac_ext <<_ACEOF
48468 /* confdefs.h. */
48469 _ACEOF
48470 cat confdefs.h >>conftest.$ac_ext
48471 cat >>conftest.$ac_ext <<_ACEOF
48472 /* end confdefs.h. */
48473
48474 int
48475 main ()
48476 {
48477 return 0;
48478 ;
48479 return 0;
48480 }
48481 _ACEOF
48482 rm -f conftest.$ac_objext
48483 if { (ac_try="$ac_compile"
48484 case "(($ac_try" in
48485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48486 *) ac_try_echo=$ac_try;;
48487 esac
48488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48489 (eval "$ac_compile") 2>conftest.er1
48490 ac_status=$?
48491 grep -v '^ *+' conftest.er1 >conftest.err
48492 rm -f conftest.er1
48493 cat conftest.err >&5
48494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48495 (exit $ac_status); } && {
48496 test -z "$ac_cxx_werror_flag" ||
48497 test ! -s conftest.err
48498 } && test -s conftest.$ac_objext; then
48499 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
48500 else
48501 echo "$as_me: failed program was:" >&5
48502 sed 's/^/| /' conftest.$ac_ext >&5
48503
48504
48505 fi
48506
48507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48508 done
48509 CXXFLAGS="$ac_save_CXXFLAGS"
48510 ac_ext=c
48511 ac_cpp='$CPP $CPPFLAGS'
48512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48515
48516
48517 fi
48518 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
48519 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
48520 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
48521 .ok|.ok,*) ;;
48522 .|.no|.no,*) ;;
48523 *)
48524 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
48525 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
48526 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
48527 ac_status=$?
48528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48529 (exit $ac_status); }
48530 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
48531 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
48532 ac_status=$?
48533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48534 (exit $ac_status); }
48535 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
48536 fi
48537 ;;
48538 esac
48539
48540
48541 if test "$wxUSE_MAC" = 1 ; then
48542 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
48543 fi
48544 fi
48545
48546
48547 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
48548 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
48549
48550
48551 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
48552 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
48553 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
48554 $CPPFLAGS `
48555
48556 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
48557 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
48558 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
48559 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
48560 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
48561
48562 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
48563
48564
48565 if test "x$MWCC" = "xyes"; then
48566
48567 CC="$CC -cwd source -I-"
48568 CXX="$CXX -cwd source -I-"
48569 fi
48570
48571
48572 LIBS=`echo $LIBS`
48573 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
48574 EXTRALIBS_XML="$EXPAT_LINK"
48575 EXTRALIBS_HTML="$MSPACK_LINK"
48576 EXTRALIBS_MEDIA="$GST_LIBS"
48577 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
48578 if test "$wxUSE_GUI" = "yes"; then
48579 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
48580 fi
48581 if test "$wxUSE_OPENGL" = "yes"; then
48582 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
48583 fi
48584
48585 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
48586
48587 WXCONFIG_LIBS="$LIBS"
48588
48589 if test "$wxUSE_REGEX" = "builtin" ; then
48590 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
48591 fi
48592 if test "$wxUSE_EXPAT" = "builtin" ; then
48593 wxconfig_3rdparty="expat $wxconfig_3rdparty"
48594 fi
48595 if test "$wxUSE_LIBTIFF" = "builtin" ; then
48596 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
48597 fi
48598 if test "$wxUSE_LIBJPEG" = "builtin" ; then
48599 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
48600 fi
48601 if test "$wxUSE_LIBPNG" = "builtin" ; then
48602 wxconfig_3rdparty="png $wxconfig_3rdparty"
48603 fi
48604 if test "$wxUSE_ZLIB" = "builtin" ; then
48605 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
48606 fi
48607
48608 for i in $wxconfig_3rdparty ; do
48609 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
48610 done
48611
48612
48613 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
48614 WXUNIV=1
48615
48616 case "$wxUNIV_THEMES" in
48617 ''|all)
48618 cat >>confdefs.h <<\_ACEOF
48619 #define wxUSE_ALL_THEMES 1
48620 _ACEOF
48621
48622 ;;
48623
48624 *)
48625 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
48626 cat >>confdefs.h <<_ACEOF
48627 #define wxUSE_THEME_$t 1
48628 _ACEOF
48629
48630 done
48631 esac
48632 else
48633 WXUNIV=0
48634 fi
48635
48636
48637
48638
48639
48640
48641
48642
48643 if test $wxUSE_MONOLITHIC = "yes" ; then
48644 MONOLITHIC=1
48645 else
48646 MONOLITHIC=0
48647 fi
48648
48649 if test $wxUSE_PLUGINS = "yes" ; then
48650 USE_PLUGINS=1
48651 else
48652 USE_PLUGINS=0
48653 fi
48654
48655 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48656 USE_QA=1
48657 else
48658 USE_QA=0
48659 fi
48660
48661 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
48662 OFFICIAL_BUILD=1
48663 else
48664 OFFICIAL_BUILD=0
48665 fi
48666
48667
48668
48669
48670
48671
48672
48673
48674
48675
48676
48677
48678
48679
48680
48681
48682
48683
48684
48685
48686
48687
48688
48689
48690
48691
48692
48693 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
48694
48695
48696
48697
48698
48699
48700
48701
48702
48703
48704 case "$TOOLKIT" in
48705 GTK)
48706 TOOLKIT_DESC="GTK+"
48707 if test "$WXGTK2" = 1; then
48708 TOOLKIT_DESC="$TOOLKIT_DESC 2"
48709 if test "$wxUSE_GTKPRINT" = "yes" ; then
48710 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
48711 fi
48712 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
48713 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
48714 fi
48715 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
48716 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
48717 fi
48718 if test "$wxUSE_LIBHILDON" = "yes"; then
48719 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48720 fi
48721 if test "$wxUSE_LIBHILDON2" = "yes"; then
48722 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48723 fi
48724
48725 if test "$TOOLKIT_EXTRA" != ""; then
48726 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
48727 fi
48728 fi
48729 ;;
48730
48731 ?*)
48732 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
48733 ;;
48734
48735 *)
48736 TOOLKIT_DESC="base only"
48737 ;;
48738 esac
48739
48740 if test "$wxUSE_WINE" = "yes"; then
48741 BAKEFILE_FORCE_PLATFORM=win32
48742 fi
48743
48744 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
48745 then
48746 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
48747 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
48748 if test "${wx_cv_gcc_pch_bug+set}" = set; then
48749 echo $ECHO_N "(cached) $ECHO_C" >&6
48750 else
48751
48752 echo '#include <stdio.h>
48753 const wchar_t test_var[] = L"awidetest";' > conftest.h
48754
48755 echo '#include "conftest.h"
48756 int main()
48757 {
48758 printf("%ls", test_var);
48759 return 0;
48760 }' > conftest.cpp
48761
48762 wx_cv_gcc_pch_bug="pch not supported"
48763
48764 if $CXX conftest.h >/dev/null 2>&1
48765 then
48766 wx_cv_gcc_pch_bug=
48767
48768 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
48769 then
48770 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
48771 grep awidetest >/dev/null
48772 then
48773 wx_cv_gcc_pch_bug=no
48774 else
48775 wx_cv_gcc_pch_bug=yes
48776 fi
48777 fi
48778 fi
48779
48780 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
48781
48782 fi
48783 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
48784 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
48785
48786 if test "$wx_cv_gcc_pch_bug" = yes; then
48787 bk_use_pch=no
48788 fi
48789 fi
48790
48791
48792
48793
48794
48795
48796
48797 if test "x$BAKEFILE_HOST" = "x"; then
48798 if test "x${host}" = "x" ; then
48799 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
48800 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
48801 { (exit 1); exit 1; }; }
48802 fi
48803
48804 BAKEFILE_HOST="${host}"
48805 fi
48806
48807 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
48808
48809 if test -n "$ac_tool_prefix"; then
48810 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
48811 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
48812 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48814 if test "${ac_cv_prog_RANLIB+set}" = set; then
48815 echo $ECHO_N "(cached) $ECHO_C" >&6
48816 else
48817 if test -n "$RANLIB"; then
48818 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
48819 else
48820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48821 for as_dir in $PATH
48822 do
48823 IFS=$as_save_IFS
48824 test -z "$as_dir" && as_dir=.
48825 for ac_exec_ext in '' $ac_executable_extensions; do
48826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48827 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
48828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48829 break 2
48830 fi
48831 done
48832 done
48833 IFS=$as_save_IFS
48834
48835 fi
48836 fi
48837 RANLIB=$ac_cv_prog_RANLIB
48838 if test -n "$RANLIB"; then
48839 { echo "$as_me:$LINENO: result: $RANLIB" >&5
48840 echo "${ECHO_T}$RANLIB" >&6; }
48841 else
48842 { echo "$as_me:$LINENO: result: no" >&5
48843 echo "${ECHO_T}no" >&6; }
48844 fi
48845
48846
48847 fi
48848 if test -z "$ac_cv_prog_RANLIB"; then
48849 ac_ct_RANLIB=$RANLIB
48850 # Extract the first word of "ranlib", so it can be a program name with args.
48851 set dummy ranlib; ac_word=$2
48852 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48854 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
48855 echo $ECHO_N "(cached) $ECHO_C" >&6
48856 else
48857 if test -n "$ac_ct_RANLIB"; then
48858 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
48859 else
48860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48861 for as_dir in $PATH
48862 do
48863 IFS=$as_save_IFS
48864 test -z "$as_dir" && as_dir=.
48865 for ac_exec_ext in '' $ac_executable_extensions; do
48866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48867 ac_cv_prog_ac_ct_RANLIB="ranlib"
48868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48869 break 2
48870 fi
48871 done
48872 done
48873 IFS=$as_save_IFS
48874
48875 fi
48876 fi
48877 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
48878 if test -n "$ac_ct_RANLIB"; then
48879 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
48880 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
48881 else
48882 { echo "$as_me:$LINENO: result: no" >&5
48883 echo "${ECHO_T}no" >&6; }
48884 fi
48885
48886 if test "x$ac_ct_RANLIB" = x; then
48887 RANLIB=":"
48888 else
48889 case $cross_compiling:$ac_tool_warned in
48890 yes:)
48891 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48892 whose name does not start with the host triplet. If you think this
48893 configuration is useful to you, please write to autoconf@gnu.org." >&5
48894 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48895 whose name does not start with the host triplet. If you think this
48896 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48897 ac_tool_warned=yes ;;
48898 esac
48899 RANLIB=$ac_ct_RANLIB
48900 fi
48901 else
48902 RANLIB="$ac_cv_prog_RANLIB"
48903 fi
48904
48905 # Find a good install program. We prefer a C program (faster),
48906 # so one script is as good as another. But avoid the broken or
48907 # incompatible versions:
48908 # SysV /etc/install, /usr/sbin/install
48909 # SunOS /usr/etc/install
48910 # IRIX /sbin/install
48911 # AIX /bin/install
48912 # AmigaOS /C/install, which installs bootblocks on floppy discs
48913 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
48914 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
48915 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
48916 # OS/2's system install, which has a completely different semantic
48917 # ./install, which can be erroneously created by make from ./install.sh.
48918 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
48919 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
48920 if test -z "$INSTALL"; then
48921 if test "${ac_cv_path_install+set}" = set; then
48922 echo $ECHO_N "(cached) $ECHO_C" >&6
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 # Account for people who put trailing slashes in PATH elements.
48930 case $as_dir/ in
48931 ./ | .// | /cC/* | \
48932 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
48933 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
48934 /usr/ucb/* ) ;;
48935 *)
48936 # OSF1 and SCO ODT 3.0 have their own names for install.
48937 # Don't use installbsd from OSF since it installs stuff as root
48938 # by default.
48939 for ac_prog in ginstall scoinst install; do
48940 for ac_exec_ext in '' $ac_executable_extensions; do
48941 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
48942 if test $ac_prog = install &&
48943 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48944 # AIX install. It has an incompatible calling convention.
48945 :
48946 elif test $ac_prog = install &&
48947 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48948 # program-specific install script used by HP pwplus--don't use.
48949 :
48950 else
48951 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
48952 break 3
48953 fi
48954 fi
48955 done
48956 done
48957 ;;
48958 esac
48959 done
48960 IFS=$as_save_IFS
48961
48962
48963 fi
48964 if test "${ac_cv_path_install+set}" = set; then
48965 INSTALL=$ac_cv_path_install
48966 else
48967 # As a last resort, use the slow shell script. Don't cache a
48968 # value for INSTALL within a source directory, because that will
48969 # break other packages using the cache if that directory is
48970 # removed, or if the value is a relative name.
48971 INSTALL=$ac_install_sh
48972 fi
48973 fi
48974 { echo "$as_me:$LINENO: result: $INSTALL" >&5
48975 echo "${ECHO_T}$INSTALL" >&6; }
48976
48977 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
48978 # It thinks the first close brace ends the variable substitution.
48979 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
48980
48981 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
48982
48983 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
48984
48985 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
48986 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
48987 LN_S=$as_ln_s
48988 if test "$LN_S" = "ln -s"; then
48989 { echo "$as_me:$LINENO: result: yes" >&5
48990 echo "${ECHO_T}yes" >&6; }
48991 else
48992 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
48993 echo "${ECHO_T}no, using $LN_S" >&6; }
48994 fi
48995
48996
48997 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48998 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48999 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49000 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49001 echo $ECHO_N "(cached) $ECHO_C" >&6
49002 else
49003 cat >conftest.make <<\_ACEOF
49004 SHELL = /bin/sh
49005 all:
49006 @echo '@@@%%%=$(MAKE)=@@@%%%'
49007 _ACEOF
49008 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49009 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49010 *@@@%%%=?*=@@@%%%*)
49011 eval ac_cv_prog_make_${ac_make}_set=yes;;
49012 *)
49013 eval ac_cv_prog_make_${ac_make}_set=no;;
49014 esac
49015 rm -f conftest.make
49016 fi
49017 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49018 { echo "$as_me:$LINENO: result: yes" >&5
49019 echo "${ECHO_T}yes" >&6; }
49020 SET_MAKE=
49021 else
49022 { echo "$as_me:$LINENO: result: no" >&5
49023 echo "${ECHO_T}no" >&6; }
49024 SET_MAKE="MAKE=${MAKE-make}"
49025 fi
49026
49027
49028
49029 if test "x$SUNCXX" = "xyes"; then
49030 AR=$CXX
49031 AROPTIONS="-xar -o"
49032
49033 elif test "x$SGICC" = "xyes"; then
49034 AR=$CXX
49035 AROPTIONS="-ar -o"
49036
49037 else
49038 if test -n "$ac_tool_prefix"; then
49039 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49040 set dummy ${ac_tool_prefix}ar; ac_word=$2
49041 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49043 if test "${ac_cv_prog_AR+set}" = set; then
49044 echo $ECHO_N "(cached) $ECHO_C" >&6
49045 else
49046 if test -n "$AR"; then
49047 ac_cv_prog_AR="$AR" # Let the user override the test.
49048 else
49049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49050 for as_dir in $PATH
49051 do
49052 IFS=$as_save_IFS
49053 test -z "$as_dir" && as_dir=.
49054 for ac_exec_ext in '' $ac_executable_extensions; do
49055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49056 ac_cv_prog_AR="${ac_tool_prefix}ar"
49057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49058 break 2
49059 fi
49060 done
49061 done
49062 IFS=$as_save_IFS
49063
49064 fi
49065 fi
49066 AR=$ac_cv_prog_AR
49067 if test -n "$AR"; then
49068 { echo "$as_me:$LINENO: result: $AR" >&5
49069 echo "${ECHO_T}$AR" >&6; }
49070 else
49071 { echo "$as_me:$LINENO: result: no" >&5
49072 echo "${ECHO_T}no" >&6; }
49073 fi
49074
49075
49076 fi
49077 if test -z "$ac_cv_prog_AR"; then
49078 ac_ct_AR=$AR
49079 # Extract the first word of "ar", so it can be a program name with args.
49080 set dummy ar; ac_word=$2
49081 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49083 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49084 echo $ECHO_N "(cached) $ECHO_C" >&6
49085 else
49086 if test -n "$ac_ct_AR"; then
49087 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49088 else
49089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49090 for as_dir in $PATH
49091 do
49092 IFS=$as_save_IFS
49093 test -z "$as_dir" && as_dir=.
49094 for ac_exec_ext in '' $ac_executable_extensions; do
49095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49096 ac_cv_prog_ac_ct_AR="ar"
49097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49098 break 2
49099 fi
49100 done
49101 done
49102 IFS=$as_save_IFS
49103
49104 fi
49105 fi
49106 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49107 if test -n "$ac_ct_AR"; then
49108 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49109 echo "${ECHO_T}$ac_ct_AR" >&6; }
49110 else
49111 { echo "$as_me:$LINENO: result: no" >&5
49112 echo "${ECHO_T}no" >&6; }
49113 fi
49114
49115 if test "x$ac_ct_AR" = x; then
49116 AR="ar"
49117 else
49118 case $cross_compiling:$ac_tool_warned in
49119 yes:)
49120 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49121 whose name does not start with the host triplet. If you think this
49122 configuration is useful to you, please write to autoconf@gnu.org." >&5
49123 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49124 whose name does not start with the host triplet. If you think this
49125 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49126 ac_tool_warned=yes ;;
49127 esac
49128 AR=$ac_ct_AR
49129 fi
49130 else
49131 AR="$ac_cv_prog_AR"
49132 fi
49133
49134 AROPTIONS=rcu
49135 fi
49136
49137
49138 if test -n "$ac_tool_prefix"; then
49139 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49140 set dummy ${ac_tool_prefix}strip; ac_word=$2
49141 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49143 if test "${ac_cv_prog_STRIP+set}" = set; then
49144 echo $ECHO_N "(cached) $ECHO_C" >&6
49145 else
49146 if test -n "$STRIP"; then
49147 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49148 else
49149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49150 for as_dir in $PATH
49151 do
49152 IFS=$as_save_IFS
49153 test -z "$as_dir" && as_dir=.
49154 for ac_exec_ext in '' $ac_executable_extensions; do
49155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49156 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49158 break 2
49159 fi
49160 done
49161 done
49162 IFS=$as_save_IFS
49163
49164 fi
49165 fi
49166 STRIP=$ac_cv_prog_STRIP
49167 if test -n "$STRIP"; then
49168 { echo "$as_me:$LINENO: result: $STRIP" >&5
49169 echo "${ECHO_T}$STRIP" >&6; }
49170 else
49171 { echo "$as_me:$LINENO: result: no" >&5
49172 echo "${ECHO_T}no" >&6; }
49173 fi
49174
49175
49176 fi
49177 if test -z "$ac_cv_prog_STRIP"; then
49178 ac_ct_STRIP=$STRIP
49179 # Extract the first word of "strip", so it can be a program name with args.
49180 set dummy strip; ac_word=$2
49181 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49183 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49184 echo $ECHO_N "(cached) $ECHO_C" >&6
49185 else
49186 if test -n "$ac_ct_STRIP"; then
49187 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49188 else
49189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49190 for as_dir in $PATH
49191 do
49192 IFS=$as_save_IFS
49193 test -z "$as_dir" && as_dir=.
49194 for ac_exec_ext in '' $ac_executable_extensions; do
49195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49196 ac_cv_prog_ac_ct_STRIP="strip"
49197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49198 break 2
49199 fi
49200 done
49201 done
49202 IFS=$as_save_IFS
49203
49204 fi
49205 fi
49206 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49207 if test -n "$ac_ct_STRIP"; then
49208 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49209 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49210 else
49211 { echo "$as_me:$LINENO: result: no" >&5
49212 echo "${ECHO_T}no" >&6; }
49213 fi
49214
49215 if test "x$ac_ct_STRIP" = x; then
49216 STRIP=":"
49217 else
49218 case $cross_compiling:$ac_tool_warned in
49219 yes:)
49220 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49221 whose name does not start with the host triplet. If you think this
49222 configuration is useful to you, please write to autoconf@gnu.org." >&5
49223 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49224 whose name does not start with the host triplet. If you think this
49225 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49226 ac_tool_warned=yes ;;
49227 esac
49228 STRIP=$ac_ct_STRIP
49229 fi
49230 else
49231 STRIP="$ac_cv_prog_STRIP"
49232 fi
49233
49234 if test -n "$ac_tool_prefix"; then
49235 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49236 set dummy ${ac_tool_prefix}nm; ac_word=$2
49237 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49239 if test "${ac_cv_prog_NM+set}" = set; then
49240 echo $ECHO_N "(cached) $ECHO_C" >&6
49241 else
49242 if test -n "$NM"; then
49243 ac_cv_prog_NM="$NM" # Let the user override the test.
49244 else
49245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49246 for as_dir in $PATH
49247 do
49248 IFS=$as_save_IFS
49249 test -z "$as_dir" && as_dir=.
49250 for ac_exec_ext in '' $ac_executable_extensions; do
49251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49252 ac_cv_prog_NM="${ac_tool_prefix}nm"
49253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49254 break 2
49255 fi
49256 done
49257 done
49258 IFS=$as_save_IFS
49259
49260 fi
49261 fi
49262 NM=$ac_cv_prog_NM
49263 if test -n "$NM"; then
49264 { echo "$as_me:$LINENO: result: $NM" >&5
49265 echo "${ECHO_T}$NM" >&6; }
49266 else
49267 { echo "$as_me:$LINENO: result: no" >&5
49268 echo "${ECHO_T}no" >&6; }
49269 fi
49270
49271
49272 fi
49273 if test -z "$ac_cv_prog_NM"; then
49274 ac_ct_NM=$NM
49275 # Extract the first word of "nm", so it can be a program name with args.
49276 set dummy nm; ac_word=$2
49277 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49279 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49280 echo $ECHO_N "(cached) $ECHO_C" >&6
49281 else
49282 if test -n "$ac_ct_NM"; then
49283 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49284 else
49285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49286 for as_dir in $PATH
49287 do
49288 IFS=$as_save_IFS
49289 test -z "$as_dir" && as_dir=.
49290 for ac_exec_ext in '' $ac_executable_extensions; do
49291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49292 ac_cv_prog_ac_ct_NM="nm"
49293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49294 break 2
49295 fi
49296 done
49297 done
49298 IFS=$as_save_IFS
49299
49300 fi
49301 fi
49302 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49303 if test -n "$ac_ct_NM"; then
49304 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49305 echo "${ECHO_T}$ac_ct_NM" >&6; }
49306 else
49307 { echo "$as_me:$LINENO: result: no" >&5
49308 echo "${ECHO_T}no" >&6; }
49309 fi
49310
49311 if test "x$ac_ct_NM" = x; then
49312 NM=":"
49313 else
49314 case $cross_compiling:$ac_tool_warned in
49315 yes:)
49316 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49317 whose name does not start with the host triplet. If you think this
49318 configuration is useful to you, please write to autoconf@gnu.org." >&5
49319 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49320 whose name does not start with the host triplet. If you think this
49321 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49322 ac_tool_warned=yes ;;
49323 esac
49324 NM=$ac_ct_NM
49325 fi
49326 else
49327 NM="$ac_cv_prog_NM"
49328 fi
49329
49330
49331 { echo "$as_me:$LINENO: checking for command to install directories" >&5
49332 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
49333 INSTALL_TEST_DIR=acbftest$$
49334 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
49335 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
49336 rmdir $INSTALL_TEST_DIR
49337 INSTALL_DIR='$(INSTALL) -d'
49338 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
49339 echo "${ECHO_T}$INSTALL -d" >&6; }
49340 else
49341 INSTALL_DIR="mkdir -p"
49342 { echo "$as_me:$LINENO: result: mkdir -p" >&5
49343 echo "${ECHO_T}mkdir -p" >&6; }
49344 fi
49345
49346
49347 LDFLAGS_GUI=
49348 case ${BAKEFILE_HOST} in
49349 *-*-cygwin* | *-*-mingw32* )
49350 LDFLAGS_GUI="-mwindows"
49351 esac
49352
49353
49354 fi
49355
49356 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49357 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49358 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49359 echo $ECHO_N "(cached) $ECHO_C" >&6
49360 else
49361
49362 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
49363 egrep -s GNU > /dev/null); then
49364 bakefile_cv_prog_makeisgnu="yes"
49365 else
49366 bakefile_cv_prog_makeisgnu="no"
49367 fi
49368
49369 fi
49370 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49371 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49372
49373 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49374 IF_GNU_MAKE=""
49375 else
49376 IF_GNU_MAKE="#"
49377 fi
49378
49379
49380
49381 PLATFORM_UNIX=0
49382 PLATFORM_WIN32=0
49383 PLATFORM_MSDOS=0
49384 PLATFORM_MAC=0
49385 PLATFORM_MACOS=0
49386 PLATFORM_MACOSX=0
49387 PLATFORM_OS2=0
49388 PLATFORM_BEOS=0
49389
49390 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49391 case "${BAKEFILE_HOST}" in
49392 *-*-mingw32* )
49393 PLATFORM_WIN32=1
49394 ;;
49395 *-pc-msdosdjgpp )
49396 PLATFORM_MSDOS=1
49397 ;;
49398 *-pc-os2_emx | *-pc-os2-emx )
49399 PLATFORM_OS2=1
49400 ;;
49401 *-*-darwin* )
49402 PLATFORM_MAC=1
49403 PLATFORM_MACOSX=1
49404 ;;
49405 *-*-beos* )
49406 PLATFORM_BEOS=1
49407 ;;
49408 powerpc-apple-macos* )
49409 PLATFORM_MAC=1
49410 PLATFORM_MACOS=1
49411 ;;
49412 * )
49413 PLATFORM_UNIX=1
49414 ;;
49415 esac
49416 else
49417 case "$BAKEFILE_FORCE_PLATFORM" in
49418 win32 )
49419 PLATFORM_WIN32=1
49420 ;;
49421 msdos )
49422 PLATFORM_MSDOS=1
49423 ;;
49424 os2 )
49425 PLATFORM_OS2=1
49426 ;;
49427 darwin )
49428 PLATFORM_MAC=1
49429 PLATFORM_MACOSX=1
49430 ;;
49431 unix )
49432 PLATFORM_UNIX=1
49433 ;;
49434 beos )
49435 PLATFORM_BEOS=1
49436 ;;
49437 * )
49438 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
49439 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
49440 { (exit 1); exit 1; }; }
49441 ;;
49442 esac
49443 fi
49444
49445
49446
49447
49448
49449
49450
49451
49452
49453
49454
49455 # Check whether --enable-omf was given.
49456 if test "${enable_omf+set}" = set; then
49457 enableval=$enable_omf; bk_os2_use_omf="$enableval"
49458 fi
49459
49460
49461 case "${BAKEFILE_HOST}" in
49462 *-*-darwin* )
49463 if test "x$GCC" = "xyes"; then
49464 CFLAGS="$CFLAGS -fno-common"
49465 CXXFLAGS="$CXXFLAGS -fno-common"
49466 fi
49467 if test "x$XLCC" = "xyes"; then
49468 CFLAGS="$CFLAGS -qnocommon"
49469 CXXFLAGS="$CXXFLAGS -qnocommon"
49470 fi
49471 ;;
49472
49473 *-pc-os2_emx | *-pc-os2-emx )
49474 if test "x$bk_os2_use_omf" = "xyes" ; then
49475 AR=emxomfar
49476 RANLIB=:
49477 LDFLAGS="-Zomf $LDFLAGS"
49478 CFLAGS="-Zomf $CFLAGS"
49479 CXXFLAGS="-Zomf $CXXFLAGS"
49480 OS2_LIBEXT="lib"
49481 else
49482 OS2_LIBEXT="a"
49483 fi
49484 ;;
49485
49486 i*86-*-beos* )
49487 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
49488 ;;
49489 esac
49490
49491
49492 SO_SUFFIX="so"
49493 SO_SUFFIX_MODULE="so"
49494 EXEEXT=""
49495 LIBPREFIX="lib"
49496 LIBEXT=".a"
49497 DLLPREFIX="lib"
49498 DLLPREFIX_MODULE=""
49499 DLLIMP_SUFFIX=""
49500 dlldir="$libdir"
49501
49502 case "${BAKEFILE_HOST}" in
49503 ia64-hp-hpux* )
49504 ;;
49505 *-hp-hpux* )
49506 SO_SUFFIX="sl"
49507 SO_SUFFIX_MODULE="sl"
49508 ;;
49509 *-*-aix* )
49510 SO_SUFFIX="a"
49511 SO_SUFFIX_MODULE="a"
49512 ;;
49513 *-*-cygwin* )
49514 SO_SUFFIX="dll"
49515 SO_SUFFIX_MODULE="dll"
49516 DLLIMP_SUFFIX="dll.a"
49517 EXEEXT=".exe"
49518 DLLPREFIX="cyg"
49519 dlldir="$bindir"
49520 ;;
49521 *-*-mingw32* )
49522 SO_SUFFIX="dll"
49523 SO_SUFFIX_MODULE="dll"
49524 DLLIMP_SUFFIX="dll.a"
49525 EXEEXT=".exe"
49526 DLLPREFIX=""
49527 dlldir="$bindir"
49528 ;;
49529 *-pc-msdosdjgpp )
49530 EXEEXT=".exe"
49531 DLLPREFIX=""
49532 dlldir="$bindir"
49533 ;;
49534 *-pc-os2_emx | *-pc-os2-emx )
49535 SO_SUFFIX="dll"
49536 SO_SUFFIX_MODULE="dll"
49537 DLLIMP_SUFFIX=$OS2_LIBEXT
49538 EXEEXT=".exe"
49539 DLLPREFIX=""
49540 LIBPREFIX=""
49541 LIBEXT=".$OS2_LIBEXT"
49542 dlldir="$bindir"
49543 ;;
49544 *-*-darwin* )
49545 SO_SUFFIX="dylib"
49546 SO_SUFFIX_MODULE="bundle"
49547 ;;
49548 esac
49549
49550 if test "x$DLLIMP_SUFFIX" = "x" ; then
49551 DLLIMP_SUFFIX="$SO_SUFFIX"
49552 fi
49553
49554
49555
49556
49557
49558
49559
49560
49561
49562
49563
49564
49565 PIC_FLAG=""
49566 if test "x$GCC" = "xyes"; then
49567 PIC_FLAG="-fPIC"
49568 fi
49569
49570 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
49571 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
49572 WINDOWS_IMPLIB=0
49573
49574 case "${BAKEFILE_HOST}" in
49575 *-hp-hpux* )
49576 if test "x$GCC" != "xyes"; then
49577 LDFLAGS="$LDFLAGS -L/usr/lib"
49578
49579 SHARED_LD_CC="${CC} -b -o"
49580 SHARED_LD_CXX="${CXX} -b -o"
49581 PIC_FLAG="+Z"
49582 fi
49583 ;;
49584
49585 *-*-linux* )
49586 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
49587 PIC_FLAG="-KPIC"
49588 elif test "x$SUNCXX" = "xyes"; then
49589 SHARED_LD_CC="${CC} -G -o"
49590 SHARED_LD_CXX="${CXX} -G -o"
49591 PIC_FLAG="-KPIC"
49592 fi
49593 ;;
49594
49595 *-*-solaris2* )
49596 if test "x$SUNCXX" = xyes ; then
49597 SHARED_LD_CC="${CC} -G -o"
49598 SHARED_LD_CXX="${CXX} -G -o"
49599 PIC_FLAG="-KPIC"
49600 fi
49601 ;;
49602
49603 *-*-darwin* )
49604
49605 D='$'
49606 cat <<EOF >shared-ld-sh
49607 #!/bin/sh
49608 #-----------------------------------------------------------------------------
49609 #-- Name: distrib/mac/shared-ld-sh
49610 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
49611 #-- Author: Gilles Depeyrot
49612 #-- Copyright: (c) 2002 Gilles Depeyrot
49613 #-- Licence: any use permitted
49614 #-----------------------------------------------------------------------------
49615
49616 verbose=0
49617 args=""
49618 objects=""
49619 linking_flag="-dynamiclib"
49620 ldargs="-r -keep_private_externs -nostdlib"
49621
49622 if test "x${D}CXX" = "x"; then
49623 CXX="c++"
49624 fi
49625
49626 while test ${D}# -gt 0; do
49627 case ${D}1 in
49628
49629 -v)
49630 verbose=1
49631 ;;
49632
49633 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
49634 # collect these options and values
49635 args="${D}{args} ${D}1 ${D}2"
49636 shift
49637 ;;
49638
49639 -arch|-isysroot)
49640 # collect these options and values
49641 ldargs="${D}{ldargs} ${D}1 ${D}2"
49642 shift
49643 ;;
49644
49645 -s|-Wl,*)
49646 # collect these load args
49647 ldargs="${D}{ldargs} ${D}1"
49648 ;;
49649
49650 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
49651 # collect these options
49652 args="${D}{args} ${D}1"
49653 ;;
49654
49655 -dynamiclib|-bundle)
49656 linking_flag="${D}1"
49657 ;;
49658
49659 -*)
49660 echo "shared-ld: unhandled option '${D}1'"
49661 exit 1
49662 ;;
49663
49664 *.o | *.a | *.dylib)
49665 # collect object files
49666 objects="${D}{objects} ${D}1"
49667 ;;
49668
49669 *)
49670 echo "shared-ld: unhandled argument '${D}1'"
49671 exit 1
49672 ;;
49673
49674 esac
49675 shift
49676 done
49677
49678 status=0
49679
49680 #
49681 # Link one module containing all the others
49682 #
49683 if test ${D}{verbose} = 1; then
49684 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
49685 fi
49686 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
49687 status=${D}?
49688
49689 #
49690 # Link the shared library from the single module created, but only if the
49691 # previous command didn't fail:
49692 #
49693 if test ${D}{status} = 0; then
49694 if test ${D}{verbose} = 1; then
49695 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
49696 fi
49697 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
49698 status=${D}?
49699 fi
49700
49701 #
49702 # Remove intermediate module
49703 #
49704 rm -f master.${D}${D}.o
49705
49706 exit ${D}status
49707 EOF
49708
49709 chmod +x shared-ld-sh
49710
49711 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
49712 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
49713
49714
49715 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
49716 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
49717 if test "${bakefile_cv_gcc31+set}" = set; then
49718 echo $ECHO_N "(cached) $ECHO_C" >&6
49719 else
49720
49721 cat >conftest.$ac_ext <<_ACEOF
49722 /* confdefs.h. */
49723 _ACEOF
49724 cat confdefs.h >>conftest.$ac_ext
49725 cat >>conftest.$ac_ext <<_ACEOF
49726 /* end confdefs.h. */
49727
49728 int
49729 main ()
49730 {
49731
49732 #if (__GNUC__ < 3) || \
49733 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
49734 This is old gcc
49735 #endif
49736
49737 ;
49738 return 0;
49739 }
49740 _ACEOF
49741 rm -f conftest.$ac_objext
49742 if { (ac_try="$ac_compile"
49743 case "(($ac_try" in
49744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49745 *) ac_try_echo=$ac_try;;
49746 esac
49747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49748 (eval "$ac_compile") 2>conftest.er1
49749 ac_status=$?
49750 grep -v '^ *+' conftest.er1 >conftest.err
49751 rm -f conftest.er1
49752 cat conftest.err >&5
49753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49754 (exit $ac_status); } && {
49755 test -z "$ac_c_werror_flag" ||
49756 test ! -s conftest.err
49757 } && test -s conftest.$ac_objext; then
49758
49759 bakefile_cv_gcc31=yes
49760
49761 else
49762 echo "$as_me: failed program was:" >&5
49763 sed 's/^/| /' conftest.$ac_ext >&5
49764
49765
49766 bakefile_cv_gcc31=no
49767
49768
49769 fi
49770
49771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49772
49773 fi
49774 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
49775 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
49776 if test "$bakefile_cv_gcc31" = "no"; then
49777 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
49778 SHARED_LD_CXX="$SHARED_LD_CC"
49779 else
49780 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
49781 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
49782 fi
49783
49784 if test "x$GCC" == "xyes"; then
49785 PIC_FLAG="-dynamic -fPIC"
49786 fi
49787 if test "x$XLCC" = "xyes"; then
49788 PIC_FLAG="-dynamic -DPIC"
49789 fi
49790 ;;
49791
49792 *-*-aix* )
49793 if test "x$GCC" = "xyes"; then
49794 PIC_FLAG=""
49795
49796 case "${BAKEFILE_HOST}" in
49797 *-*-aix5* )
49798 LD_EXPFULL="-Wl,-bexpfull"
49799 ;;
49800 esac
49801
49802 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
49803 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
49804 else
49805 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
49806 set dummy makeC++SharedLib; ac_word=$2
49807 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49809 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
49810 echo $ECHO_N "(cached) $ECHO_C" >&6
49811 else
49812 if test -n "$AIX_CXX_LD"; then
49813 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
49814 else
49815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49816 for as_dir in $PATH
49817 do
49818 IFS=$as_save_IFS
49819 test -z "$as_dir" && as_dir=.
49820 for ac_exec_ext in '' $ac_executable_extensions; do
49821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49822 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
49823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49824 break 2
49825 fi
49826 done
49827 done
49828 IFS=$as_save_IFS
49829
49830 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
49831 fi
49832 fi
49833 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
49834 if test -n "$AIX_CXX_LD"; then
49835 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
49836 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
49837 else
49838 { echo "$as_me:$LINENO: result: no" >&5
49839 echo "${ECHO_T}no" >&6; }
49840 fi
49841
49842
49843 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
49844 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
49845 fi
49846 ;;
49847
49848 *-*-beos* )
49849 SHARED_LD_CC="${LD} -nostart -o"
49850 SHARED_LD_CXX="${LD} -nostart -o"
49851 ;;
49852
49853 *-*-irix* )
49854 if test "x$GCC" != "xyes"; then
49855 PIC_FLAG="-KPIC"
49856 fi
49857 ;;
49858
49859 *-*-cygwin* | *-*-mingw32* )
49860 PIC_FLAG=""
49861 SHARED_LD_CC="\$(CC) -shared -o"
49862 SHARED_LD_CXX="\$(CXX) -shared -o"
49863 WINDOWS_IMPLIB=1
49864 ;;
49865
49866 *-pc-os2_emx | *-pc-os2-emx )
49867 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49868 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49869 PIC_FLAG=""
49870
49871 D='$'
49872 cat <<EOF >dllar.sh
49873 #!/bin/sh
49874 #
49875 # dllar - a tool to build both a .dll and an .a file
49876 # from a set of object (.o) files for EMX/OS2.
49877 #
49878 # Written by Andrew Zabolotny, bit@freya.etu.ru
49879 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
49880 #
49881 # This script will accept a set of files on the command line.
49882 # All the public symbols from the .o files will be exported into
49883 # a .DEF file, then linker will be run (through gcc) against them to
49884 # build a shared library consisting of all given .o files. All libraries
49885 # (.a) will be first decompressed into component .o files then act as
49886 # described above. You can optionally give a description (-d "description")
49887 # which will be put into .DLL. To see the list of accepted options (as well
49888 # as command-line format) simply run this program without options. The .DLL
49889 # is built to be imported by name (there is no guarantee that new versions
49890 # of the library you build will have same ordinals for same symbols).
49891 #
49892 # dllar is free software; you can redistribute it and/or modify
49893 # it under the terms of the GNU General Public License as published by
49894 # the Free Software Foundation; either version 2, or (at your option)
49895 # any later version.
49896 #
49897 # dllar is distributed in the hope that it will be useful,
49898 # but WITHOUT ANY WARRANTY; without even the implied warranty of
49899 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49900 # GNU General Public License for more details.
49901 #
49902 # You should have received a copy of the GNU General Public License
49903 # along with dllar; see the file COPYING. If not, write to the Free
49904 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
49905 # 02111-1307, USA.
49906
49907 # To successfuly run this program you will need:
49908 # - Current drive should have LFN support (HPFS, ext2, network, etc)
49909 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
49910 # - gcc
49911 # (used to build the .dll)
49912 # - emxexp
49913 # (used to create .def file from .o files)
49914 # - emximp
49915 # (used to create .a file from .def file)
49916 # - GNU text utilites (cat, sort, uniq)
49917 # used to process emxexp output
49918 # - GNU file utilities (mv, rm)
49919 # - GNU sed
49920 # - lxlite (optional, see flag below)
49921 # (used for general .dll cleanup)
49922 #
49923
49924 flag_USE_LXLITE=1;
49925
49926 #
49927 # helper functions
49928 # basnam, variant of basename, which does _not_ remove the path, _iff_
49929 # second argument (suffix to remove) is given
49930 basnam(){
49931 case ${D}# in
49932 1)
49933 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
49934 ;;
49935 2)
49936 echo ${D}1 | sed 's/'${D}2'${D}//'
49937 ;;
49938 *)
49939 echo "error in basnam ${D}*"
49940 exit 8
49941 ;;
49942 esac
49943 }
49944
49945 # Cleanup temporary files and output
49946 CleanUp() {
49947 cd ${D}curDir
49948 for i in ${D}inputFiles ; do
49949 case ${D}i in
49950 *!)
49951 rm -rf \`basnam ${D}i !\`
49952 ;;
49953 *)
49954 ;;
49955 esac
49956 done
49957
49958 # Kill result in case of failure as there is just to many stupid make/nmake
49959 # things out there which doesn't do this.
49960 if [ ${D}# -eq 0 ]; then
49961 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
49962 fi
49963 }
49964
49965 # Print usage and exit script with rc=1.
49966 PrintHelp() {
49967 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
49968 echo ' [-name-mangler-script script.sh]'
49969 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
49970 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
49971 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
49972 echo ' [*.o] [*.a]'
49973 echo '*> "output_file" should have no extension.'
49974 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
49975 echo ' The import library name is derived from this and is set to "name".a,'
49976 echo ' unless overridden by -import'
49977 echo '*> "importlib_name" should have no extension.'
49978 echo ' If it has the .o, or .a extension, it is automatically removed.'
49979 echo ' This name is used as the import library name and may be longer and'
49980 echo ' more descriptive than the DLL name which has to follow the old '
49981 echo ' 8.3 convention of FAT.'
49982 echo '*> "script.sh may be given to override the output_file name by a'
49983 echo ' different name. It is mainly useful if the regular make process'
49984 echo ' of some package does not take into account OS/2 restriction of'
49985 echo ' DLL name lengths. It takes the importlib name as input and is'
49986 echo ' supposed to procude a shorter name as output. The script should'
49987 echo ' expect to get importlib_name without extension and should produce'
49988 echo ' a (max.) 8 letter name without extension.'
49989 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
49990 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
49991 echo ' These flags will be put at the start of GCC command line.'
49992 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
49993 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
49994 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
49995 echo ' If the last character of a symbol is "*", all symbols beginning'
49996 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
49997 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
49998 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
49999 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50000 echo ' C runtime DLLs.'
50001 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50002 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50003 echo ' unchanged to GCC at the end of command line.'
50004 echo '*> If you create a DLL from a library and you do not specify -o,'
50005 echo ' the basename for DLL and import library will be set to library name,'
50006 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50007 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50008 echo ' library will be renamed into gcc_s.a.'
50009 echo '--------'
50010 echo 'Example:'
50011 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50012 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50013 CleanUp
50014 exit 1
50015 }
50016
50017 # Execute a command.
50018 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50019 # @Uses Whatever CleanUp() uses.
50020 doCommand() {
50021 echo "${D}*"
50022 eval ${D}*
50023 rcCmd=${D}?
50024
50025 if [ ${D}rcCmd -ne 0 ]; then
50026 echo "command failed, exit code="${D}rcCmd
50027 CleanUp
50028 exit ${D}rcCmd
50029 fi
50030 }
50031
50032 # main routine
50033 # setup globals
50034 cmdLine=${D}*
50035 outFile=""
50036 outimpFile=""
50037 inputFiles=""
50038 renameScript=""
50039 description=""
50040 CC=gcc.exe
50041 CFLAGS="-s -Zcrtdll"
50042 EXTRA_CFLAGS=""
50043 EXPORT_BY_ORDINALS=0
50044 exclude_symbols=""
50045 library_flags=""
50046 curDir=\`pwd\`
50047 curDirS=curDir
50048 case ${D}curDirS in
50049 */)
50050 ;;
50051 *)
50052 curDirS=${D}{curDirS}"/"
50053 ;;
50054 esac
50055 # Parse commandline
50056 libsToLink=0
50057 omfLinking=0
50058 while [ ${D}1 ]; do
50059 case ${D}1 in
50060 -ord*)
50061 EXPORT_BY_ORDINALS=1;
50062 ;;
50063 -o*)
50064 shift
50065 outFile=${D}1
50066 ;;
50067 -i*)
50068 shift
50069 outimpFile=${D}1
50070 ;;
50071 -name-mangler-script)
50072 shift
50073 renameScript=${D}1
50074 ;;
50075 -d*)
50076 shift
50077 description=${D}1
50078 ;;
50079 -f*)
50080 shift
50081 CFLAGS=${D}1
50082 ;;
50083 -c*)
50084 shift
50085 CC=${D}1
50086 ;;
50087 -h*)
50088 PrintHelp
50089 ;;
50090 -ex*)
50091 shift
50092 exclude_symbols=${D}{exclude_symbols}${D}1" "
50093 ;;
50094 -libf*)
50095 shift
50096 library_flags=${D}{library_flags}${D}1" "
50097 ;;
50098 -nocrt*)
50099 CFLAGS="-s"
50100 ;;
50101 -nolxl*)
50102 flag_USE_LXLITE=0
50103 ;;
50104 -* | /*)
50105 case ${D}1 in
50106 -L* | -l*)
50107 libsToLink=1
50108 ;;
50109 -Zomf)
50110 omfLinking=1
50111 ;;
50112 *)
50113 ;;
50114 esac
50115 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50116 ;;
50117 *.dll)
50118 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50119 if [ ${D}omfLinking -eq 1 ]; then
50120 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50121 else
50122 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50123 fi
50124 ;;
50125 *)
50126 found=0;
50127 if [ ${D}libsToLink -ne 0 ]; then
50128 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50129 else
50130 for file in ${D}1 ; do
50131 if [ -f ${D}file ]; then
50132 inputFiles="${D}{inputFiles} ${D}file"
50133 found=1
50134 fi
50135 done
50136 if [ ${D}found -eq 0 ]; then
50137 echo "ERROR: No file(s) found: "${D}1
50138 exit 8
50139 fi
50140 fi
50141 ;;
50142 esac
50143 shift
50144 done # iterate cmdline words
50145
50146 #
50147 if [ -z "${D}inputFiles" ]; then
50148 echo "dllar: no input files"
50149 PrintHelp
50150 fi
50151
50152 # Now extract all .o files from .a files
50153 newInputFiles=""
50154 for file in ${D}inputFiles ; do
50155 case ${D}file in
50156 *.a | *.lib)
50157 case ${D}file in
50158 *.a)
50159 suffix=".a"
50160 AR="ar"
50161 ;;
50162 *.lib)
50163 suffix=".lib"
50164 AR="emxomfar"
50165 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50166 ;;
50167 *)
50168 ;;
50169 esac
50170 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50171 mkdir ${D}dirname
50172 if [ ${D}? -ne 0 ]; then
50173 echo "Failed to create subdirectory ./${D}dirname"
50174 CleanUp
50175 exit 8;
50176 fi
50177 # Append '!' to indicate archive
50178 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50179 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50180 cd ${D}curDir
50181 found=0;
50182 for subfile in ${D}dirname/*.o* ; do
50183 if [ -f ${D}subfile ]; then
50184 found=1
50185 if [ -s ${D}subfile ]; then
50186 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50187 newInputFiles="${D}newInputFiles ${D}subfile"
50188 fi
50189 fi
50190 done
50191 if [ ${D}found -eq 0 ]; then
50192 echo "WARNING: there are no files in archive \\'${D}file\\'"
50193 fi
50194 ;;
50195 *)
50196 newInputFiles="${D}{newInputFiles} ${D}file"
50197 ;;
50198 esac
50199 done
50200 inputFiles="${D}newInputFiles"
50201
50202 # Output filename(s).
50203 do_backup=0;
50204 if [ -z ${D}outFile ]; then
50205 do_backup=1;
50206 set outFile ${D}inputFiles; outFile=${D}2
50207 fi
50208
50209 # If it is an archive, remove the '!' and the '_%' suffixes
50210 case ${D}outFile in
50211 *_%!)
50212 outFile=\`basnam ${D}outFile _%!\`
50213 ;;
50214 *)
50215 ;;
50216 esac
50217 case ${D}outFile in
50218 *.dll)
50219 outFile=\`basnam ${D}outFile .dll\`
50220 ;;
50221 *.DLL)
50222 outFile=\`basnam ${D}outFile .DLL\`
50223 ;;
50224 *.o)
50225 outFile=\`basnam ${D}outFile .o\`
50226 ;;
50227 *.obj)
50228 outFile=\`basnam ${D}outFile .obj\`
50229 ;;
50230 *.a)
50231 outFile=\`basnam ${D}outFile .a\`
50232 ;;
50233 *.lib)
50234 outFile=\`basnam ${D}outFile .lib\`
50235 ;;
50236 *)
50237 ;;
50238 esac
50239 case ${D}outimpFile in
50240 *.a)
50241 outimpFile=\`basnam ${D}outimpFile .a\`
50242 ;;
50243 *.lib)
50244 outimpFile=\`basnam ${D}outimpFile .lib\`
50245 ;;
50246 *)
50247 ;;
50248 esac
50249 if [ -z ${D}outimpFile ]; then
50250 outimpFile=${D}outFile
50251 fi
50252 defFile="${D}{outFile}.def"
50253 arcFile="${D}{outimpFile}.a"
50254 arcFile2="${D}{outimpFile}.lib"
50255
50256 #create ${D}dllFile as something matching 8.3 restrictions,
50257 if [ -z ${D}renameScript ] ; then
50258 dllFile="${D}outFile"
50259 else
50260 dllFile=\`${D}renameScript ${D}outimpFile\`
50261 fi
50262
50263 if [ ${D}do_backup -ne 0 ] ; then
50264 if [ -f ${D}arcFile ] ; then
50265 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50266 fi
50267 if [ -f ${D}arcFile2 ] ; then
50268 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50269 fi
50270 fi
50271
50272 # Extract public symbols from all the object files.
50273 tmpdefFile=${D}{defFile}_%
50274 rm -f ${D}tmpdefFile
50275 for file in ${D}inputFiles ; do
50276 case ${D}file in
50277 *!)
50278 ;;
50279 *)
50280 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50281 ;;
50282 esac
50283 done
50284
50285 # Create the def file.
50286 rm -f ${D}defFile
50287 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50288 dllFile="${D}{dllFile}.dll"
50289 if [ ! -z ${D}description ]; then
50290 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50291 fi
50292 echo "EXPORTS" >> ${D}defFile
50293
50294 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50295 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50296
50297 # Checks if the export is ok or not.
50298 for word in ${D}exclude_symbols; do
50299 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50300 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50301 done
50302
50303
50304 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50305 sed "=" < ${D}tmpdefFile | \\
50306 sed '
50307 N
50308 : loop
50309 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50310 t loop
50311 ' > ${D}{tmpdefFile}%
50312 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50313 else
50314 rm -f ${D}{tmpdefFile}%
50315 fi
50316 cat ${D}tmpdefFile >> ${D}defFile
50317 rm -f ${D}tmpdefFile
50318
50319 # Do linking, create implib, and apply lxlite.
50320 gccCmdl="";
50321 for file in ${D}inputFiles ; do
50322 case ${D}file in
50323 *!)
50324 ;;
50325 *)
50326 gccCmdl="${D}gccCmdl ${D}file"
50327 ;;
50328 esac
50329 done
50330 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50331 touch "${D}{outFile}.dll"
50332
50333 doCommand "emximp -o ${D}arcFile ${D}defFile"
50334 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50335 add_flags="";
50336 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50337 add_flags="-ynd"
50338 fi
50339 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50340 fi
50341 doCommand "emxomf -s -l ${D}arcFile"
50342
50343 # Successful exit.
50344 CleanUp 1
50345 exit 0
50346 EOF
50347
50348 chmod +x dllar.sh
50349 ;;
50350
50351 powerpc-apple-macos* | \
50352 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50353 *-*-mirbsd* | \
50354 *-*-sunos4* | \
50355 *-*-osf* | \
50356 *-*-dgux5* | \
50357 *-*-sysv5* | \
50358 *-pc-msdosdjgpp )
50359 ;;
50360
50361 *)
50362 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50363 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50364 { (exit 1); exit 1; }; }
50365 esac
50366
50367 if test "x$PIC_FLAG" != "x" ; then
50368 PIC_FLAG="$PIC_FLAG -DPIC"
50369 fi
50370
50371 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50372 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50373 fi
50374 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50375 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50376 fi
50377
50378
50379
50380
50381
50382
50383
50384
50385
50386 USE_SOVERSION=0
50387 USE_SOVERLINUX=0
50388 USE_SOVERSOLARIS=0
50389 USE_SOVERCYGWIN=0
50390 USE_SOTWOSYMLINKS=0
50391 USE_MACVERSION=0
50392 SONAME_FLAG=
50393
50394 case "${BAKEFILE_HOST}" in
50395 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
50396 *-*-k*bsd*-gnu | *-*-mirbsd* )
50397 if test "x$SUNCXX" = "xyes"; then
50398 SONAME_FLAG="-h "
50399 else
50400 SONAME_FLAG="-Wl,-soname,"
50401 fi
50402 USE_SOVERSION=1
50403 USE_SOVERLINUX=1
50404 USE_SOTWOSYMLINKS=1
50405 ;;
50406
50407 *-*-solaris2* )
50408 SONAME_FLAG="-h "
50409 USE_SOVERSION=1
50410 USE_SOVERSOLARIS=1
50411 ;;
50412
50413 *-*-darwin* )
50414 USE_MACVERSION=1
50415 USE_SOVERSION=1
50416 USE_SOTWOSYMLINKS=1
50417 ;;
50418
50419 *-*-cygwin* )
50420 USE_SOVERSION=1
50421 USE_SOVERCYGWIN=1
50422 ;;
50423 esac
50424
50425
50426
50427
50428
50429
50430
50431
50432
50433
50434 # Check whether --enable-dependency-tracking was given.
50435 if test "${enable_dependency_tracking+set}" = set; then
50436 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
50437 fi
50438
50439
50440 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50441 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
50442
50443 BK_DEPS=""
50444 if test "x$bk_use_trackdeps" = "xno" ; then
50445 DEPS_TRACKING=0
50446 { echo "$as_me:$LINENO: result: disabled" >&5
50447 echo "${ECHO_T}disabled" >&6; }
50448 else
50449 DEPS_TRACKING=1
50450
50451 if test "x$GCC" = "xyes"; then
50452 DEPSMODE=gcc
50453 case "${BAKEFILE_HOST}" in
50454 *-*-darwin* )
50455 DEPSFLAG="-no-cpp-precomp -MMD"
50456 ;;
50457 * )
50458 DEPSFLAG="-MMD"
50459 ;;
50460 esac
50461 { echo "$as_me:$LINENO: result: gcc" >&5
50462 echo "${ECHO_T}gcc" >&6; }
50463 elif test "x$MWCC" = "xyes"; then
50464 DEPSMODE=mwcc
50465 DEPSFLAG="-MM"
50466 { echo "$as_me:$LINENO: result: mwcc" >&5
50467 echo "${ECHO_T}mwcc" >&6; }
50468 elif test "x$SUNCC" = "xyes"; then
50469 DEPSMODE=unixcc
50470 DEPSFLAG="-xM1"
50471 { echo "$as_me:$LINENO: result: Sun cc" >&5
50472 echo "${ECHO_T}Sun cc" >&6; }
50473 elif test "x$SGICC" = "xyes"; then
50474 DEPSMODE=unixcc
50475 DEPSFLAG="-M"
50476 { echo "$as_me:$LINENO: result: SGI cc" >&5
50477 echo "${ECHO_T}SGI cc" >&6; }
50478 elif test "x$HPCC" = "xyes"; then
50479 DEPSMODE=unixcc
50480 DEPSFLAG="+make"
50481 { echo "$as_me:$LINENO: result: HP cc" >&5
50482 echo "${ECHO_T}HP cc" >&6; }
50483 elif test "x$COMPAQCC" = "xyes"; then
50484 DEPSMODE=gcc
50485 DEPSFLAG="-MD"
50486 { echo "$as_me:$LINENO: result: Compaq cc" >&5
50487 echo "${ECHO_T}Compaq cc" >&6; }
50488 else
50489 DEPS_TRACKING=0
50490 { echo "$as_me:$LINENO: result: none" >&5
50491 echo "${ECHO_T}none" >&6; }
50492 fi
50493
50494 if test $DEPS_TRACKING = 1 ; then
50495
50496 D='$'
50497 cat <<EOF >bk-deps
50498 #!/bin/sh
50499
50500 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50501 # script. It is used to track C/C++ files dependencies in portable way.
50502 #
50503 # Permission is given to use this file in any way.
50504
50505 DEPSMODE=${DEPSMODE}
50506 DEPSFLAG="${DEPSFLAG}"
50507 DEPSDIRBASE=.deps
50508
50509 if test ${D}DEPSMODE = gcc ; then
50510 ${D}* ${D}{DEPSFLAG}
50511 status=${D}?
50512
50513 # determine location of created files:
50514 while test ${D}# -gt 0; do
50515 case "${D}1" in
50516 -o )
50517 shift
50518 objfile=${D}1
50519 ;;
50520 -* )
50521 ;;
50522 * )
50523 srcfile=${D}1
50524 ;;
50525 esac
50526 shift
50527 done
50528 objfilebase=\`basename ${D}objfile\`
50529 builddir=\`dirname ${D}objfile\`
50530 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
50531 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
50532 depsdir=${D}builddir/${D}DEPSDIRBASE
50533 mkdir -p ${D}depsdir
50534
50535 # if the compiler failed, we're done:
50536 if test ${D}{status} != 0 ; then
50537 rm -f ${D}depfile
50538 exit ${D}{status}
50539 fi
50540
50541 # move created file to the location we want it in:
50542 if test -f ${D}depfile ; then
50543 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50544 rm -f ${D}depfile
50545 else
50546 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
50547 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
50548 if test ! -f ${D}depfile ; then
50549 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
50550 depfile="${D}objfile.d"
50551 fi
50552 if test -f ${D}depfile ; then
50553 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50554 rm -f ${D}depfile
50555 fi
50556 fi
50557 exit 0
50558
50559 elif test ${D}DEPSMODE = mwcc ; then
50560 ${D}* || exit ${D}?
50561 # Run mwcc again with -MM and redirect into the dep file we want
50562 # NOTE: We can't use shift here because we need ${D}* to be valid
50563 prevarg=
50564 for arg in ${D}* ; do
50565 if test "${D}prevarg" = "-o"; then
50566 objfile=${D}arg
50567 else
50568 case "${D}arg" in
50569 -* )
50570 ;;
50571 * )
50572 srcfile=${D}arg
50573 ;;
50574 esac
50575 fi
50576 prevarg="${D}arg"
50577 done
50578
50579 objfilebase=\`basename ${D}objfile\`
50580 builddir=\`dirname ${D}objfile\`
50581 depsdir=${D}builddir/${D}DEPSDIRBASE
50582 mkdir -p ${D}depsdir
50583
50584 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
50585 exit 0
50586
50587 elif test ${D}DEPSMODE = unixcc; then
50588 ${D}* || exit ${D}?
50589 # Run compiler again with deps flag and redirect into the dep file.
50590 # It doesn't work if the '-o FILE' option is used, but without it the
50591 # dependency file will contain the wrong name for the object. So it is
50592 # removed from the command line, and the dep file is fixed with sed.
50593 cmd=""
50594 while test ${D}# -gt 0; do
50595 case "${D}1" in
50596 -o )
50597 shift
50598 objfile=${D}1
50599 ;;
50600 * )
50601 eval arg${D}#=\\${D}1
50602 cmd="${D}cmd \\${D}arg${D}#"
50603 ;;
50604 esac
50605 shift
50606 done
50607
50608 objfilebase=\`basename ${D}objfile\`
50609 builddir=\`dirname ${D}objfile\`
50610 depsdir=${D}builddir/${D}DEPSDIRBASE
50611 mkdir -p ${D}depsdir
50612
50613 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
50614 exit 0
50615
50616 else
50617 ${D}*
50618 exit ${D}?
50619 fi
50620 EOF
50621
50622 chmod +x bk-deps
50623 BK_DEPS="`pwd`/bk-deps"
50624 fi
50625 fi
50626
50627
50628
50629
50630
50631 case ${BAKEFILE_HOST} in
50632 *-*-cygwin* | *-*-mingw32* )
50633 if test -n "$ac_tool_prefix"; then
50634 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
50635 set dummy ${ac_tool_prefix}windres; ac_word=$2
50636 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50638 if test "${ac_cv_prog_WINDRES+set}" = set; then
50639 echo $ECHO_N "(cached) $ECHO_C" >&6
50640 else
50641 if test -n "$WINDRES"; then
50642 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
50643 else
50644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50645 for as_dir in $PATH
50646 do
50647 IFS=$as_save_IFS
50648 test -z "$as_dir" && as_dir=.
50649 for ac_exec_ext in '' $ac_executable_extensions; do
50650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50651 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
50652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50653 break 2
50654 fi
50655 done
50656 done
50657 IFS=$as_save_IFS
50658
50659 fi
50660 fi
50661 WINDRES=$ac_cv_prog_WINDRES
50662 if test -n "$WINDRES"; then
50663 { echo "$as_me:$LINENO: result: $WINDRES" >&5
50664 echo "${ECHO_T}$WINDRES" >&6; }
50665 else
50666 { echo "$as_me:$LINENO: result: no" >&5
50667 echo "${ECHO_T}no" >&6; }
50668 fi
50669
50670
50671 fi
50672 if test -z "$ac_cv_prog_WINDRES"; then
50673 ac_ct_WINDRES=$WINDRES
50674 # Extract the first word of "windres", so it can be a program name with args.
50675 set dummy windres; ac_word=$2
50676 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50678 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
50679 echo $ECHO_N "(cached) $ECHO_C" >&6
50680 else
50681 if test -n "$ac_ct_WINDRES"; then
50682 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
50683 else
50684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50685 for as_dir in $PATH
50686 do
50687 IFS=$as_save_IFS
50688 test -z "$as_dir" && as_dir=.
50689 for ac_exec_ext in '' $ac_executable_extensions; do
50690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50691 ac_cv_prog_ac_ct_WINDRES="windres"
50692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50693 break 2
50694 fi
50695 done
50696 done
50697 IFS=$as_save_IFS
50698
50699 fi
50700 fi
50701 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
50702 if test -n "$ac_ct_WINDRES"; then
50703 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
50704 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
50705 else
50706 { echo "$as_me:$LINENO: result: no" >&5
50707 echo "${ECHO_T}no" >&6; }
50708 fi
50709
50710 if test "x$ac_ct_WINDRES" = x; then
50711 WINDRES=""
50712 else
50713 case $cross_compiling:$ac_tool_warned in
50714 yes:)
50715 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50716 whose name does not start with the host triplet. If you think this
50717 configuration is useful to you, please write to autoconf@gnu.org." >&5
50718 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50719 whose name does not start with the host triplet. If you think this
50720 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50721 ac_tool_warned=yes ;;
50722 esac
50723 WINDRES=$ac_ct_WINDRES
50724 fi
50725 else
50726 WINDRES="$ac_cv_prog_WINDRES"
50727 fi
50728
50729 ;;
50730
50731 *-*-darwin* | powerpc-apple-macos* )
50732 # Extract the first word of "Rez", so it can be a program name with args.
50733 set dummy Rez; ac_word=$2
50734 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50736 if test "${ac_cv_prog_REZ+set}" = set; then
50737 echo $ECHO_N "(cached) $ECHO_C" >&6
50738 else
50739 if test -n "$REZ"; then
50740 ac_cv_prog_REZ="$REZ" # Let the user override the test.
50741 else
50742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50743 for as_dir in $PATH
50744 do
50745 IFS=$as_save_IFS
50746 test -z "$as_dir" && as_dir=.
50747 for ac_exec_ext in '' $ac_executable_extensions; do
50748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50749 ac_cv_prog_REZ="Rez"
50750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50751 break 2
50752 fi
50753 done
50754 done
50755 IFS=$as_save_IFS
50756
50757 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
50758 fi
50759 fi
50760 REZ=$ac_cv_prog_REZ
50761 if test -n "$REZ"; then
50762 { echo "$as_me:$LINENO: result: $REZ" >&5
50763 echo "${ECHO_T}$REZ" >&6; }
50764 else
50765 { echo "$as_me:$LINENO: result: no" >&5
50766 echo "${ECHO_T}no" >&6; }
50767 fi
50768
50769
50770 # Extract the first word of "SetFile", so it can be a program name with args.
50771 set dummy SetFile; ac_word=$2
50772 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50774 if test "${ac_cv_prog_SETFILE+set}" = set; then
50775 echo $ECHO_N "(cached) $ECHO_C" >&6
50776 else
50777 if test -n "$SETFILE"; then
50778 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
50779 else
50780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50781 for as_dir in $PATH
50782 do
50783 IFS=$as_save_IFS
50784 test -z "$as_dir" && as_dir=.
50785 for ac_exec_ext in '' $ac_executable_extensions; do
50786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50787 ac_cv_prog_SETFILE="SetFile"
50788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50789 break 2
50790 fi
50791 done
50792 done
50793 IFS=$as_save_IFS
50794
50795 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
50796 fi
50797 fi
50798 SETFILE=$ac_cv_prog_SETFILE
50799 if test -n "$SETFILE"; then
50800 { echo "$as_me:$LINENO: result: $SETFILE" >&5
50801 echo "${ECHO_T}$SETFILE" >&6; }
50802 else
50803 { echo "$as_me:$LINENO: result: no" >&5
50804 echo "${ECHO_T}no" >&6; }
50805 fi
50806
50807
50808 ;;
50809 esac
50810
50811
50812
50813
50814
50815
50816
50817
50818
50819 BAKEFILE_BAKEFILE_M4_VERSION="0.2.8"
50820
50821
50822 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.8"
50823
50824
50825
50826 # Check whether --enable-precomp-headers was given.
50827 if test "${enable_precomp_headers+set}" = set; then
50828 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
50829 fi
50830
50831
50832 GCC_PCH=0
50833 ICC_PCH=0
50834 USE_PCH=0
50835 BK_MAKE_PCH=""
50836
50837 case ${BAKEFILE_HOST} in
50838 *-*-cygwin* )
50839 bk_use_pch="no"
50840 ;;
50841 esac
50842
50843 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
50844 if test "x$GCC" = "xyes"; then
50845 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
50846 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
50847 cat >conftest.$ac_ext <<_ACEOF
50848 /* confdefs.h. */
50849 _ACEOF
50850 cat confdefs.h >>conftest.$ac_ext
50851 cat >>conftest.$ac_ext <<_ACEOF
50852 /* end confdefs.h. */
50853
50854 int
50855 main ()
50856 {
50857
50858 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
50859 There is no PCH support
50860 #endif
50861 #if (__GNUC__ < 3)
50862 There is no PCH support
50863 #endif
50864 #if (__GNUC__ == 3) && \
50865 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
50866 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
50867 ( defined(__INTEL_COMPILER) )
50868 There is no PCH support
50869 #endif
50870
50871 ;
50872 return 0;
50873 }
50874 _ACEOF
50875 rm -f conftest.$ac_objext
50876 if { (ac_try="$ac_compile"
50877 case "(($ac_try" in
50878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50879 *) ac_try_echo=$ac_try;;
50880 esac
50881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50882 (eval "$ac_compile") 2>conftest.er1
50883 ac_status=$?
50884 grep -v '^ *+' conftest.er1 >conftest.err
50885 rm -f conftest.er1
50886 cat conftest.err >&5
50887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50888 (exit $ac_status); } && {
50889 test -z "$ac_c_werror_flag" ||
50890 test ! -s conftest.err
50891 } && test -s conftest.$ac_objext; then
50892
50893 { echo "$as_me:$LINENO: result: yes" >&5
50894 echo "${ECHO_T}yes" >&6; }
50895 GCC_PCH=1
50896
50897 else
50898 echo "$as_me: failed program was:" >&5
50899 sed 's/^/| /' conftest.$ac_ext >&5
50900
50901
50902 if test "$INTELCXX8" = "yes"; then
50903 { echo "$as_me:$LINENO: result: yes" >&5
50904 echo "${ECHO_T}yes" >&6; }
50905 ICC_PCH=1
50906 if test "$INTELCXX10" = "yes"; then
50907 ICC_PCH_CREATE_SWITCH="-pch-create"
50908 ICC_PCH_USE_SWITCH="-pch-use"
50909 else
50910 ICC_PCH_CREATE_SWITCH="-create-pch"
50911 ICC_PCH_USE_SWITCH="-use-pch"
50912 fi
50913 else
50914 { echo "$as_me:$LINENO: result: no" >&5
50915 echo "${ECHO_T}no" >&6; }
50916 fi
50917
50918 fi
50919
50920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50921 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
50922 USE_PCH=1
50923
50924 D='$'
50925 cat <<EOF >bk-make-pch
50926 #!/bin/sh
50927
50928 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50929 # script. It is used to generated precompiled headers.
50930 #
50931 # Permission is given to use this file in any way.
50932
50933 outfile="${D}{1}"
50934 header="${D}{2}"
50935 shift
50936 shift
50937
50938 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
50939
50940 compiler=""
50941 headerfile=""
50942
50943 while test ${D}{#} -gt 0; do
50944 add_to_cmdline=1
50945 case "${D}{1}" in
50946 -I* )
50947 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
50948 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
50949 headerfile="${D}{incdir}/${D}{header}"
50950 fi
50951 ;;
50952 -use-pch|-use_pch|-pch-use )
50953 shift
50954 add_to_cmdline=0
50955 ;;
50956 esac
50957 if test ${D}add_to_cmdline = 1 ; then
50958 compiler="${D}{compiler} ${D}{1}"
50959 fi
50960 shift
50961 done
50962
50963 if test "x${D}{headerfile}" = "x" ; then
50964 echo "error: can't find header ${D}{header} in include paths" >&2
50965 else
50966 if test -f ${D}{outfile} ; then
50967 rm -f ${D}{outfile}
50968 else
50969 mkdir -p \`dirname ${D}{outfile}\`
50970 fi
50971 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
50972 mkdir -p ${D}{builddir}/.deps
50973 if test "x${GCC_PCH}" = "x1" ; then
50974 # can do this because gcc is >= 3.4:
50975 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
50976 elif test "x${ICC_PCH}" = "x1" ; then
50977 filename=pch_gen-${D}${D}
50978 file=${D}{filename}.c
50979 dfile=${D}{filename}.d
50980 cat > ${D}file <<EOT
50981 #include "${D}header"
50982 EOT
50983 # using -MF icc complains about differing command lines in creation/use
50984 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
50985 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
50986 rm -f ${D}file ${D}dfile ${D}{filename}.o
50987 fi
50988 exit ${D}{?}
50989 fi
50990 EOF
50991
50992 chmod +x bk-make-pch
50993 BK_MAKE_PCH="`pwd`/bk-make-pch"
50994 fi
50995 fi
50996 fi
50997
50998
50999
51000
51001
51002
51003
51004 COND_BUILD_DEBUG="#"
51005 if test "x$BUILD" = "xdebug" ; then
51006 COND_BUILD_DEBUG=""
51007 fi
51008
51009 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51010 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51011 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51012 fi
51013
51014 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51015 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51016 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51017 fi
51018
51019 COND_BUILD_DEBUG_UNICODE_0="#"
51020 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51021 COND_BUILD_DEBUG_UNICODE_0=""
51022 fi
51023
51024 COND_BUILD_DEBUG_UNICODE_1="#"
51025 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51026 COND_BUILD_DEBUG_UNICODE_1=""
51027 fi
51028
51029 COND_BUILD_RELEASE="#"
51030 if test "x$BUILD" = "xrelease" ; then
51031 COND_BUILD_RELEASE=""
51032 fi
51033
51034 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51035 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51036 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51037 fi
51038
51039 COND_BUILD_RELEASE_UNICODE_0="#"
51040 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51041 COND_BUILD_RELEASE_UNICODE_0=""
51042 fi
51043
51044 COND_BUILD_RELEASE_UNICODE_1="#"
51045 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51046 COND_BUILD_RELEASE_UNICODE_1=""
51047 fi
51048
51049 COND_BUILD_debug="#"
51050 if test "x$BUILD" = "xdebug" ; then
51051 COND_BUILD_debug=""
51052 fi
51053
51054 COND_BUILD_debug_DEBUG_FLAG_default="#"
51055 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51056 COND_BUILD_debug_DEBUG_FLAG_default=""
51057 fi
51058
51059 COND_BUILD_debug_DEBUG_INFO_default="#"
51060 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51061 COND_BUILD_debug_DEBUG_INFO_default=""
51062 fi
51063
51064 COND_BUILD_debug_UNICODE_0="#"
51065 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51066 COND_BUILD_debug_UNICODE_0=""
51067 fi
51068
51069 COND_BUILD_debug_UNICODE_1="#"
51070 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51071 COND_BUILD_debug_UNICODE_1=""
51072 fi
51073
51074 COND_BUILD_release="#"
51075 if test "x$BUILD" = "xrelease" ; then
51076 COND_BUILD_release=""
51077 fi
51078
51079 COND_BUILD_release_DEBUG_INFO_default="#"
51080 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51081 COND_BUILD_release_DEBUG_INFO_default=""
51082 fi
51083
51084 COND_BUILD_release_UNICODE_0="#"
51085 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51086 COND_BUILD_release_UNICODE_0=""
51087 fi
51088
51089 COND_BUILD_release_UNICODE_1="#"
51090 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51091 COND_BUILD_release_UNICODE_1=""
51092 fi
51093
51094 COND_DEBUG_FLAG_0="#"
51095 if test "x$DEBUG_FLAG" = "x0" ; then
51096 COND_DEBUG_FLAG_0=""
51097 fi
51098
51099 COND_DEBUG_FLAG_1="#"
51100 if test "x$DEBUG_FLAG" = "x1" ; then
51101 COND_DEBUG_FLAG_1=""
51102 fi
51103
51104 COND_DEBUG_INFO_0="#"
51105 if test "x$DEBUG_INFO" = "x0" ; then
51106 COND_DEBUG_INFO_0=""
51107 fi
51108
51109 COND_DEBUG_INFO_1="#"
51110 if test "x$DEBUG_INFO" = "x1" ; then
51111 COND_DEBUG_INFO_1=""
51112 fi
51113
51114 COND_DEPS_TRACKING_0="#"
51115 if test "x$DEPS_TRACKING" = "x0" ; then
51116 COND_DEPS_TRACKING_0=""
51117 fi
51118
51119 COND_DEPS_TRACKING_1="#"
51120 if test "x$DEPS_TRACKING" = "x1" ; then
51121 COND_DEPS_TRACKING_1=""
51122 fi
51123
51124 COND_GCC_PCH_1="#"
51125 if test "x$GCC_PCH" = "x1" ; then
51126 COND_GCC_PCH_1=""
51127 fi
51128
51129 COND_ICC_PCH_1="#"
51130 if test "x$ICC_PCH" = "x1" ; then
51131 COND_ICC_PCH_1=""
51132 fi
51133
51134 COND_MONOLITHIC_0="#"
51135 if test "x$MONOLITHIC" = "x0" ; then
51136 COND_MONOLITHIC_0=""
51137 fi
51138
51139 COND_MONOLITHIC_0_SHARED_0="#"
51140 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51141 COND_MONOLITHIC_0_SHARED_0=""
51142 fi
51143
51144 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51145 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51146 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51147 fi
51148
51149 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51150 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51151 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51152 fi
51153
51154 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51155 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51156 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51157 fi
51158
51159 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51160 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51161 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51162 fi
51163
51164 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51165 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51166 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51167 fi
51168
51169 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
51170 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51171 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
51172 fi
51173
51174 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
51175 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51176 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
51177 fi
51178
51179 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51180 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51181 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51182 fi
51183
51184 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51185 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51186 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51187 fi
51188
51189 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51190 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51191 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51192 fi
51193
51194 COND_MONOLITHIC_0_SHARED_1="#"
51195 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51196 COND_MONOLITHIC_0_SHARED_1=""
51197 fi
51198
51199 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51200 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51201 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51202 fi
51203
51204 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51205 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51206 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51207 fi
51208
51209 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51210 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51211 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51212 fi
51213
51214 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51215 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51216 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51217 fi
51218
51219 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51220 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51221 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51222 fi
51223
51224 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
51225 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
51226 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
51227 fi
51228
51229 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
51230 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
51231 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
51232 fi
51233
51234 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51235 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51236 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51237 fi
51238
51239 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51240 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51241 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51242 fi
51243
51244 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51245 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51246 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51247 fi
51248
51249 COND_MONOLITHIC_0_USE_AUI_1="#"
51250 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51251 COND_MONOLITHIC_0_USE_AUI_1=""
51252 fi
51253
51254 COND_MONOLITHIC_0_USE_GUI_1="#"
51255 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51256 COND_MONOLITHIC_0_USE_GUI_1=""
51257 fi
51258
51259 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51260 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51261 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51262 fi
51263
51264 COND_MONOLITHIC_0_USE_HTML_1="#"
51265 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51266 COND_MONOLITHIC_0_USE_HTML_1=""
51267 fi
51268
51269 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51270 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51271 COND_MONOLITHIC_0_USE_MEDIA_1=""
51272 fi
51273
51274 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
51275 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51276 COND_MONOLITHIC_0_USE_PROPGRID_1=""
51277 fi
51278
51279 COND_MONOLITHIC_0_USE_QA_1="#"
51280 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51281 COND_MONOLITHIC_0_USE_QA_1=""
51282 fi
51283
51284 COND_MONOLITHIC_0_USE_RIBBON_1="#"
51285 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51286 COND_MONOLITHIC_0_USE_RIBBON_1=""
51287 fi
51288
51289 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51290 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51291 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51292 fi
51293
51294 COND_MONOLITHIC_0_USE_STC_1="#"
51295 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51296 COND_MONOLITHIC_0_USE_STC_1=""
51297 fi
51298
51299 COND_MONOLITHIC_0_USE_XRC_1="#"
51300 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51301 COND_MONOLITHIC_0_USE_XRC_1=""
51302 fi
51303
51304 COND_MONOLITHIC_1="#"
51305 if test "x$MONOLITHIC" = "x1" ; then
51306 COND_MONOLITHIC_1=""
51307 fi
51308
51309 COND_MONOLITHIC_1_SHARED_0="#"
51310 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51311 COND_MONOLITHIC_1_SHARED_0=""
51312 fi
51313
51314 COND_MONOLITHIC_1_SHARED_1="#"
51315 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51316 COND_MONOLITHIC_1_SHARED_1=""
51317 fi
51318
51319 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51320 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51321 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51322 fi
51323
51324 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51325 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51326 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51327 fi
51328
51329 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51330 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51331 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51332 fi
51333
51334 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51335 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51336 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51337 fi
51338
51339 COND_PLATFORM_MACOSX_1="#"
51340 if test "x$PLATFORM_MACOSX" = "x1" ; then
51341 COND_PLATFORM_MACOSX_1=""
51342 fi
51343
51344 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
51345 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
51346 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
51347 fi
51348
51349 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
51350 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51351 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
51352 fi
51353
51354 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51355 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51356 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51357 fi
51358
51359 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
51360 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51361 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
51362 fi
51363
51364 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51365 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51366 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51367 fi
51368
51369 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
51370 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51371 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
51372 fi
51373
51374 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
51375 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
51376 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
51377 fi
51378
51379 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
51380 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51381 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
51382 fi
51383
51384 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51385 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51386 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51387 fi
51388
51389 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
51390 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51391 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
51392 fi
51393
51394 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51395 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51396 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51397 fi
51398
51399 COND_PLATFORM_MACOS_1="#"
51400 if test "x$PLATFORM_MACOS" = "x1" ; then
51401 COND_PLATFORM_MACOS_1=""
51402 fi
51403
51404 COND_PLATFORM_MAC_0="#"
51405 if test "x$PLATFORM_MAC" = "x0" ; then
51406 COND_PLATFORM_MAC_0=""
51407 fi
51408
51409 COND_PLATFORM_MAC_1="#"
51410 if test "x$PLATFORM_MAC" = "x1" ; then
51411 COND_PLATFORM_MAC_1=""
51412 fi
51413
51414 COND_PLATFORM_MSDOS_0="#"
51415 if test "x$PLATFORM_MSDOS" = "x0" ; then
51416 COND_PLATFORM_MSDOS_0=""
51417 fi
51418
51419 COND_PLATFORM_MSDOS_1="#"
51420 if test "x$PLATFORM_MSDOS" = "x1" ; then
51421 COND_PLATFORM_MSDOS_1=""
51422 fi
51423
51424 COND_PLATFORM_OS2_1="#"
51425 if test "x$PLATFORM_OS2" = "x1" ; then
51426 COND_PLATFORM_OS2_1=""
51427 fi
51428
51429 COND_PLATFORM_UNIX_0="#"
51430 if test "x$PLATFORM_UNIX" = "x0" ; then
51431 COND_PLATFORM_UNIX_0=""
51432 fi
51433
51434 COND_PLATFORM_UNIX_1="#"
51435 if test "x$PLATFORM_UNIX" = "x1" ; then
51436 COND_PLATFORM_UNIX_1=""
51437 fi
51438
51439 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51440 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51441 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51442 fi
51443
51444 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51445 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51446 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51447 fi
51448
51449 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51450 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51451 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51452 fi
51453
51454 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51455 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51456 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51457 fi
51458
51459 COND_PLATFORM_WIN32_0="#"
51460 if test "x$PLATFORM_WIN32" = "x0" ; then
51461 COND_PLATFORM_WIN32_0=""
51462 fi
51463
51464 COND_PLATFORM_WIN32_1="#"
51465 if test "x$PLATFORM_WIN32" = "x1" ; then
51466 COND_PLATFORM_WIN32_1=""
51467 fi
51468
51469 COND_PLATFORM_WIN32_1_SHARED_0="#"
51470 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51471 COND_PLATFORM_WIN32_1_SHARED_0=""
51472 fi
51473
51474 COND_SHARED_0="#"
51475 if test "x$SHARED" = "x0" ; then
51476 COND_SHARED_0=""
51477 fi
51478
51479 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51480 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51481 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
51482 fi
51483
51484 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
51485 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51486 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
51487 fi
51488
51489 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
51490 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
51491 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
51492 fi
51493
51494 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
51495 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51496 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
51497 fi
51498
51499 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51500 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51501 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51502 fi
51503
51504 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51505 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51506 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51507 fi
51508
51509 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51510 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51511 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51512 fi
51513
51514 COND_SHARED_0_USE_STC_1="#"
51515 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51516 COND_SHARED_0_USE_STC_1=""
51517 fi
51518
51519 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
51520 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
51521 COND_SHARED_0_wxUSE_EXPAT_builtin=""
51522 fi
51523
51524 COND_SHARED_0_wxUSE_REGEX_builtin="#"
51525 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
51526 COND_SHARED_0_wxUSE_REGEX_builtin=""
51527 fi
51528
51529 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
51530 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51531 COND_SHARED_0_wxUSE_ZLIB_builtin=""
51532 fi
51533
51534 COND_SHARED_1="#"
51535 if test "x$SHARED" = "x1" ; then
51536 COND_SHARED_1=""
51537 fi
51538
51539 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
51540 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51541 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
51542 fi
51543
51544 COND_TOOLKIT_="#"
51545 if test "x$TOOLKIT" = "x" ; then
51546 COND_TOOLKIT_=""
51547 fi
51548
51549 COND_TOOLKIT_COCOA="#"
51550 if test "x$TOOLKIT" = "xCOCOA" ; then
51551 COND_TOOLKIT_COCOA=""
51552 fi
51553
51554 COND_TOOLKIT_COCOA_USE_GUI_1="#"
51555 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
51556 COND_TOOLKIT_COCOA_USE_GUI_1=""
51557 fi
51558
51559 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
51560 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51561 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
51562 fi
51563
51564 COND_TOOLKIT_DFB="#"
51565 if test "x$TOOLKIT" = "xDFB" ; then
51566 COND_TOOLKIT_DFB=""
51567 fi
51568
51569 COND_TOOLKIT_DFB_USE_GUI_1="#"
51570 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
51571 COND_TOOLKIT_DFB_USE_GUI_1=""
51572 fi
51573
51574 COND_TOOLKIT_GTK="#"
51575 if test "x$TOOLKIT" = "xGTK" ; then
51576 COND_TOOLKIT_GTK=""
51577 fi
51578
51579 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
51580 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
51581 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
51582 fi
51583
51584 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
51585 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
51586 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
51587 fi
51588
51589 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
51590 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
51591 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
51592 fi
51593
51594 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
51595 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51596 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
51597 fi
51598
51599 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
51600 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
51601 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
51602 fi
51603
51604 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
51605 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51606 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
51607 fi
51608
51609 COND_TOOLKIT_GTK_USE_GUI_1="#"
51610 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
51611 COND_TOOLKIT_GTK_USE_GUI_1=""
51612 fi
51613
51614 COND_TOOLKIT_MAC="#"
51615 if test "x$TOOLKIT" = "xMAC" ; then
51616 COND_TOOLKIT_MAC=""
51617 fi
51618
51619 COND_TOOLKIT_MGL="#"
51620 if test "x$TOOLKIT" = "xMGL" ; then
51621 COND_TOOLKIT_MGL=""
51622 fi
51623
51624 COND_TOOLKIT_MGL_USE_GUI_1="#"
51625 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51626 COND_TOOLKIT_MGL_USE_GUI_1=""
51627 fi
51628
51629 COND_TOOLKIT_MOTIF="#"
51630 if test "x$TOOLKIT" = "xMOTIF" ; then
51631 COND_TOOLKIT_MOTIF=""
51632 fi
51633
51634 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
51635 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
51636 COND_TOOLKIT_MOTIF_USE_GUI_1=""
51637 fi
51638
51639 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
51640 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51641 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
51642 fi
51643
51644 COND_TOOLKIT_MSW="#"
51645 if test "x$TOOLKIT" = "xMSW" ; then
51646 COND_TOOLKIT_MSW=""
51647 fi
51648
51649 COND_TOOLKIT_MSW_USE_GUI_1="#"
51650 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
51651 COND_TOOLKIT_MSW_USE_GUI_1=""
51652 fi
51653
51654 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
51655 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51656 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
51657 fi
51658
51659 COND_TOOLKIT_MSW_WXUNIV_0="#"
51660 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51661 COND_TOOLKIT_MSW_WXUNIV_0=""
51662 fi
51663
51664 COND_TOOLKIT_OSX_CARBON="#"
51665 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
51666 COND_TOOLKIT_OSX_CARBON=""
51667 fi
51668
51669 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51670 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51671 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51672 fi
51673
51674 COND_TOOLKIT_OSX_COCOA="#"
51675 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
51676 COND_TOOLKIT_OSX_COCOA=""
51677 fi
51678
51679 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51680 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51681 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51682 fi
51683
51684 COND_TOOLKIT_OSX_IPHONE="#"
51685 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
51686 COND_TOOLKIT_OSX_IPHONE=""
51687 fi
51688
51689 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
51690 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
51691 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
51692 fi
51693
51694 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
51695 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51696 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
51697 fi
51698
51699 COND_TOOLKIT_PM="#"
51700 if test "x$TOOLKIT" = "xPM" ; then
51701 COND_TOOLKIT_PM=""
51702 fi
51703
51704 COND_TOOLKIT_PM_USE_GUI_1="#"
51705 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
51706 COND_TOOLKIT_PM_USE_GUI_1=""
51707 fi
51708
51709 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
51710 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51711 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
51712 fi
51713
51714 COND_TOOLKIT_WINCE="#"
51715 if test "x$TOOLKIT" = "xWINCE" ; then
51716 COND_TOOLKIT_WINCE=""
51717 fi
51718
51719 COND_TOOLKIT_WINCE_USE_GUI_1="#"
51720 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
51721 COND_TOOLKIT_WINCE_USE_GUI_1=""
51722 fi
51723
51724 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
51725 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51726 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
51727 fi
51728
51729 COND_TOOLKIT_WINCE_WXUNIV_0="#"
51730 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
51731 COND_TOOLKIT_WINCE_WXUNIV_0=""
51732 fi
51733
51734 COND_TOOLKIT_X11="#"
51735 if test "x$TOOLKIT" = "xX11" ; then
51736 COND_TOOLKIT_X11=""
51737 fi
51738
51739 COND_TOOLKIT_X11_USE_GUI_1="#"
51740 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
51741 COND_TOOLKIT_X11_USE_GUI_1=""
51742 fi
51743
51744 COND_UNICODE_1="#"
51745 if test "x$UNICODE" = "x1" ; then
51746 COND_UNICODE_1=""
51747 fi
51748
51749 COND_USE_CAIRO_1="#"
51750 if test "x$USE_CAIRO" = "x1" ; then
51751 COND_USE_CAIRO_1=""
51752 fi
51753
51754 COND_USE_EXCEPTIONS_0="#"
51755 if test "x$USE_EXCEPTIONS" = "x0" ; then
51756 COND_USE_EXCEPTIONS_0=""
51757 fi
51758
51759 COND_USE_EXCEPTIONS_1="#"
51760 if test "x$USE_EXCEPTIONS" = "x1" ; then
51761 COND_USE_EXCEPTIONS_1=""
51762 fi
51763
51764 COND_USE_GUI_0="#"
51765 if test "x$USE_GUI" = "x0" ; then
51766 COND_USE_GUI_0=""
51767 fi
51768
51769 COND_USE_GUI_1="#"
51770 if test "x$USE_GUI" = "x1" ; then
51771 COND_USE_GUI_1=""
51772 fi
51773
51774 COND_USE_GUI_1_USE_OPENGL_1="#"
51775 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51776 COND_USE_GUI_1_USE_OPENGL_1=""
51777 fi
51778
51779 COND_USE_GUI_1_WXUNIV_0="#"
51780 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51781 COND_USE_GUI_1_WXUNIV_0=""
51782 fi
51783
51784 COND_USE_GUI_1_WXUNIV_1="#"
51785 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
51786 COND_USE_GUI_1_WXUNIV_1=""
51787 fi
51788
51789 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51790 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51791 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51792 fi
51793
51794 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51795 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51796 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51797 fi
51798
51799 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51800 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51801 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51802 fi
51803
51804 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51805 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51806 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51807 fi
51808
51809 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51810 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51811 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51812 fi
51813
51814 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51815 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51816 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51817 fi
51818
51819 COND_USE_OPENGL_1="#"
51820 if test "x$USE_OPENGL" = "x1" ; then
51821 COND_USE_OPENGL_1=""
51822 fi
51823
51824 COND_USE_PCH_1="#"
51825 if test "x$USE_PCH" = "x1" ; then
51826 COND_USE_PCH_1=""
51827 fi
51828
51829 COND_USE_PLUGINS_0="#"
51830 if test "x$USE_PLUGINS" = "x0" ; then
51831 COND_USE_PLUGINS_0=""
51832 fi
51833
51834 COND_USE_RTTI_0="#"
51835 if test "x$USE_RTTI" = "x0" ; then
51836 COND_USE_RTTI_0=""
51837 fi
51838
51839 COND_USE_RTTI_1="#"
51840 if test "x$USE_RTTI" = "x1" ; then
51841 COND_USE_RTTI_1=""
51842 fi
51843
51844 COND_USE_SOTWOSYMLINKS_1="#"
51845 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
51846 COND_USE_SOTWOSYMLINKS_1=""
51847 fi
51848
51849 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
51850 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51851 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
51852 fi
51853
51854 COND_USE_SOVERLINUX_1="#"
51855 if test "x$USE_SOVERLINUX" = "x1" ; then
51856 COND_USE_SOVERLINUX_1=""
51857 fi
51858
51859 COND_USE_SOVERSION_0="#"
51860 if test "x$USE_SOVERSION" = "x0" ; then
51861 COND_USE_SOVERSION_0=""
51862 fi
51863
51864 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
51865 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
51866 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
51867 fi
51868
51869 COND_USE_SOVERSOLARIS_1="#"
51870 if test "x$USE_SOVERSOLARIS" = "x1" ; then
51871 COND_USE_SOVERSOLARIS_1=""
51872 fi
51873
51874 COND_USE_STC_1="#"
51875 if test "x$USE_STC" = "x1" ; then
51876 COND_USE_STC_1=""
51877 fi
51878
51879 COND_USE_THREADS_0="#"
51880 if test "x$USE_THREADS" = "x0" ; then
51881 COND_USE_THREADS_0=""
51882 fi
51883
51884 COND_USE_THREADS_1="#"
51885 if test "x$USE_THREADS" = "x1" ; then
51886 COND_USE_THREADS_1=""
51887 fi
51888
51889 COND_USE_XRC_1="#"
51890 if test "x$USE_XRC" = "x1" ; then
51891 COND_USE_XRC_1=""
51892 fi
51893
51894 COND_WINDOWS_IMPLIB_1="#"
51895 if test "x$WINDOWS_IMPLIB" = "x1" ; then
51896 COND_WINDOWS_IMPLIB_1=""
51897 fi
51898
51899 COND_WITH_PLUGIN_SDL_1="#"
51900 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
51901 COND_WITH_PLUGIN_SDL_1=""
51902 fi
51903
51904 COND_WXUNIV_0="#"
51905 if test "x$WXUNIV" = "x0" ; then
51906 COND_WXUNIV_0=""
51907 fi
51908
51909 COND_WXUNIV_1="#"
51910 if test "x$WXUNIV" = "x1" ; then
51911 COND_WXUNIV_1=""
51912 fi
51913
51914 COND_WXUSE_EXPAT_BUILTIN="#"
51915 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51916 COND_WXUSE_EXPAT_BUILTIN=""
51917 fi
51918
51919 COND_WXUSE_LIBJPEG_BUILTIN="#"
51920 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51921 COND_WXUSE_LIBJPEG_BUILTIN=""
51922 fi
51923
51924 COND_WXUSE_LIBPNG_BUILTIN="#"
51925 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51926 COND_WXUSE_LIBPNG_BUILTIN=""
51927 fi
51928
51929 COND_WXUSE_LIBTIFF_BUILTIN="#"
51930 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51931 COND_WXUSE_LIBTIFF_BUILTIN=""
51932 fi
51933
51934 COND_WXUSE_REGEX_BUILTIN="#"
51935 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51936 COND_WXUSE_REGEX_BUILTIN=""
51937 fi
51938
51939 COND_WXUSE_ZLIB_BUILTIN="#"
51940 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51941 COND_WXUSE_ZLIB_BUILTIN=""
51942 fi
51943
51944 COND_wxUSE_EXPAT_builtin="#"
51945 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51946 COND_wxUSE_EXPAT_builtin=""
51947 fi
51948
51949 COND_wxUSE_LIBJPEG_builtin="#"
51950 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51951 COND_wxUSE_LIBJPEG_builtin=""
51952 fi
51953
51954 COND_wxUSE_LIBPNG_builtin="#"
51955 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51956 COND_wxUSE_LIBPNG_builtin=""
51957 fi
51958
51959 COND_wxUSE_LIBTIFF_builtin="#"
51960 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51961 COND_wxUSE_LIBTIFF_builtin=""
51962 fi
51963
51964 COND_wxUSE_REGEX_builtin="#"
51965 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51966 COND_wxUSE_REGEX_builtin=""
51967 fi
51968
51969 COND_wxUSE_ZLIB_builtin="#"
51970 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51971 COND_wxUSE_ZLIB_builtin=""
51972 fi
51973
51974
51975
51976 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
51977 { { 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
51978 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;}
51979 { (exit 1); exit 1; }; }
51980 fi
51981
51982 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
51983 { { 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
51984 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;}
51985 { (exit 1); exit 1; }; }
51986 fi
51987
51988
51989 case ${INSTALL} in
51990 /* ) # Absolute
51991 ;;
51992 ?:* ) # Drive letter, considered as absolute.
51993 ;;
51994 *)
51995 INSTALL=`pwd`/${INSTALL} ;;
51996 esac
51997
51998 if test "$wxUSE_GUI" = "yes"; then
51999
52000 if test "$wxUSE_MSW" = 1 ; then
52001 if test "x$WINDRES" = "x"; then
52002 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52003 echo "$as_me: error: Required windres program not found" >&2;}
52004 { (exit 1); exit 1; }; }
52005 fi
52006
52007 RESCOMP="$WINDRES $WINDRES_CPU_DEFINE"
52008 fi
52009
52010 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
52011 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52012 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52013
52014 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52015
52016 # Extract the first word of "DeRez", so it can be a program name with args.
52017 set dummy DeRez; ac_word=$2
52018 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52020 if test "${ac_cv_prog_DEREZ+set}" = set; then
52021 echo $ECHO_N "(cached) $ECHO_C" >&6
52022 else
52023 if test -n "$DEREZ"; then
52024 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52025 else
52026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52027 for as_dir in $PATH
52028 do
52029 IFS=$as_save_IFS
52030 test -z "$as_dir" && as_dir=.
52031 for ac_exec_ext in '' $ac_executable_extensions; do
52032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52033 ac_cv_prog_DEREZ="DeRez"
52034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52035 break 2
52036 fi
52037 done
52038 done
52039 IFS=$as_save_IFS
52040
52041 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52042 fi
52043 fi
52044 DEREZ=$ac_cv_prog_DEREZ
52045 if test -n "$DEREZ"; then
52046 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52047 echo "${ECHO_T}$DEREZ" >&6; }
52048 else
52049 { echo "$as_me:$LINENO: result: no" >&5
52050 echo "${ECHO_T}no" >&6; }
52051 fi
52052
52053
52054
52055 MACSETFILE="\$(SETFILE)"
52056
52057 if test "$wxUSE_OSX_CARBON" = 1; then
52058 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52059 RESCOMP="$REZ"
52060 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52061 else
52062 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52063 RESCOMP="cat /dev/null \| $REZ"
52064 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52065 fi
52066
52067 else
52068 MACSETFILE="@true"
52069
52070 if test "$wxUSE_PM" = 1; then
52071 RESCOMP="emxbind"
52072 WXCONFIG_RESFLAGS="-ep"
52073
52074 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52075 else
52076 POSTLINK_COMMAND="@true"
52077 fi
52078 fi
52079
52080 fi
52081
52082
52083 if test $GCC_PCH = 1
52084 then
52085 if test "$wx_cv_gcc_pch_bug" = yes; then
52086 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52087 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52088 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52089 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52090 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52091 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52092 fi
52093
52094 # Our WX_PRECOMP flag does not make sense for any language except C++ because
52095 # the headers that benefit from precompilation are mostly C++ headers.
52096 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52097 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
52098 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52099 fi
52100
52101
52102 if test "$wxUSE_MAC" = 1 ; then
52103 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52104 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52105 mv temp bk-deps
52106 chmod +x bk-deps
52107 fi
52108 fi
52109
52110 if test "$wxUSE_SHARED" = "yes"; then
52111 case "${host}" in
52112 *-pc-os2_emx | *-pc-os2-emx )
52113 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52114 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52115 cp -p ${srcdir}/src/os2/dllnames.sh .
52116 cp -p ${srcdir}/src/os2/dllar.sh .
52117 ;;
52118 esac
52119 fi
52120 if test "$wxUSE_OMF" = "yes"; then
52121 case "${host}" in
52122 *-pc-os2_emx | *-pc-os2-emx )
52123 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52124 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52125 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52126 ;;
52127 esac
52128 fi
52129
52130 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52131
52132
52133 case "${host}" in
52134 *-*-solaris2* )
52135 if test "$GCC" = yes; then
52136 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52137 LIBS=`echo $LIBS | sed 's/-mt//'`
52138 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52139 fi
52140 ;;
52141
52142 *-*-linux* )
52143 if test "x$SUNCXX" = xyes; then
52144 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52145 LIBS=`echo $LIBS | sed 's/-pthread//'`
52146 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52147 fi
52148 ;;
52149 esac
52150
52151 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52152 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52153 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
52154 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
52155
52156 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52157
52158
52159
52160
52161
52162
52163
52164
52165
52166
52167
52168
52169
52170
52171
52172
52173
52174
52175
52176
52177
52178
52179
52180
52181
52182
52183
52184
52185
52186
52187
52188
52189
52190
52191
52192
52193
52194
52195
52196
52197
52198
52199
52200
52201
52202
52203
52204
52205
52206
52207
52208
52209
52210
52211
52212
52213
52214
52215
52216
52217 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52218 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52219 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52220 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52221 echo $ECHO_N "(cached) $ECHO_C" >&6
52222 else
52223 cat >conftest.make <<\_ACEOF
52224 SHELL = /bin/sh
52225 all:
52226 @echo '@@@%%%=$(MAKE)=@@@%%%'
52227 _ACEOF
52228 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52229 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52230 *@@@%%%=?*=@@@%%%*)
52231 eval ac_cv_prog_make_${ac_make}_set=yes;;
52232 *)
52233 eval ac_cv_prog_make_${ac_make}_set=no;;
52234 esac
52235 rm -f conftest.make
52236 fi
52237 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52238 { echo "$as_me:$LINENO: result: yes" >&5
52239 echo "${ECHO_T}yes" >&6; }
52240 SET_MAKE=
52241 else
52242 { echo "$as_me:$LINENO: result: no" >&5
52243 echo "${ECHO_T}no" >&6; }
52244 SET_MAKE="MAKE=${MAKE-make}"
52245 fi
52246
52247
52248
52249 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52250
52251
52252 if test "$USE_WIN32" = 1; then
52253 ac_config_commands="$ac_config_commands rcdefs.h"
52254
52255 fi
52256
52257 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52258
52259
52260 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52261
52262
52263 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
52264
52265
52266 if test "$wx_cv_version_script" = "yes"; then
52267 ac_config_files="$ac_config_files version-script"
52268
52269 fi
52270 ac_config_files="$ac_config_files Makefile"
52271
52272
52273 ac_config_commands="$ac_config_commands wx-config"
52274
52275
52276
52277 if test "$wxWITH_SUBDIRS" != "no"; then
52278 if test "$wxUSE_GUI" = "yes"; then
52279 SUBDIRS="samples demos utils"
52280 else
52281 SUBDIRS="samples utils"
52282 fi
52283
52284
52285
52286 # Check whether --with-cppunit-prefix was given.
52287 if test "${with_cppunit_prefix+set}" = set; then
52288 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52289 else
52290 cppunit_config_prefix=""
52291 fi
52292
52293
52294 # Check whether --with-cppunit-exec-prefix was given.
52295 if test "${with_cppunit_exec_prefix+set}" = set; then
52296 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52297 else
52298 cppunit_config_exec_prefix=""
52299 fi
52300
52301
52302 if test x$cppunit_config_exec_prefix != x ; then
52303 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52304 if test x${CPPUNIT_CONFIG+set} != xset ; then
52305 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52306 fi
52307 fi
52308 if test x$cppunit_config_prefix != x ; then
52309 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52310 if test x${CPPUNIT_CONFIG+set} != xset ; then
52311 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52312 fi
52313 fi
52314
52315 # Extract the first word of "cppunit-config", so it can be a program name with args.
52316 set dummy cppunit-config; ac_word=$2
52317 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52319 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52320 echo $ECHO_N "(cached) $ECHO_C" >&6
52321 else
52322 case $CPPUNIT_CONFIG in
52323 [\\/]* | ?:[\\/]*)
52324 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52325 ;;
52326 *)
52327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52328 for as_dir in $PATH
52329 do
52330 IFS=$as_save_IFS
52331 test -z "$as_dir" && as_dir=.
52332 for ac_exec_ext in '' $ac_executable_extensions; do
52333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52334 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52336 break 2
52337 fi
52338 done
52339 done
52340 IFS=$as_save_IFS
52341
52342 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52343 ;;
52344 esac
52345 fi
52346 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52347 if test -n "$CPPUNIT_CONFIG"; then
52348 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52349 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52350 else
52351 { echo "$as_me:$LINENO: result: no" >&5
52352 echo "${ECHO_T}no" >&6; }
52353 fi
52354
52355
52356 cppunit_version_min=1.8.0
52357
52358 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52359 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52360 no_cppunit=""
52361 if test "$CPPUNIT_CONFIG" = "no" ; then
52362 { echo "$as_me:$LINENO: result: no" >&5
52363 echo "${ECHO_T}no" >&6; }
52364 no_cppunit=yes
52365 else
52366 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52367 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52368 cppunit_version=`$CPPUNIT_CONFIG --version`
52369
52370 cppunit_major_version=`echo $cppunit_version | \
52371 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52372 cppunit_minor_version=`echo $cppunit_version | \
52373 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52374 cppunit_micro_version=`echo $cppunit_version | \
52375 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52376
52377 cppunit_major_min=`echo $cppunit_version_min | \
52378 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52379 cppunit_minor_min=`echo $cppunit_version_min | \
52380 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52381 cppunit_micro_min=`echo $cppunit_version_min | \
52382 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52383
52384 cppunit_version_proper=`expr \
52385 $cppunit_major_version \> $cppunit_major_min \| \
52386 $cppunit_major_version \= $cppunit_major_min \& \
52387 $cppunit_minor_version \> $cppunit_minor_min \| \
52388 $cppunit_major_version \= $cppunit_major_min \& \
52389 $cppunit_minor_version \= $cppunit_minor_min \& \
52390 $cppunit_micro_version \>= $cppunit_micro_min `
52391
52392 if test "$cppunit_version_proper" = "1" ; then
52393 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52394 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52395 else
52396 { echo "$as_me:$LINENO: result: no" >&5
52397 echo "${ECHO_T}no" >&6; }
52398 no_cppunit=yes
52399 fi
52400 fi
52401
52402 if test "x$no_cppunit" = x ; then
52403 SUBDIRS="$SUBDIRS tests"
52404 else
52405 CPPUNIT_CFLAGS=""
52406 CPPUNIT_LIBS=""
52407 :
52408 fi
52409
52410
52411
52412
52413
52414 for subdir in $SUBDIRS; do
52415 if test -d ${srcdir}/${subdir} ; then
52416 if test "$wxUSE_GUI" = "yes"; then
52417 if test ${subdir} = "samples"; then
52418 makefiles="samples/Makefile.in $makefiles"
52419 for sample in $SAMPLES_SUBDIRS; do
52420 if test -d $srcdir/samples/$sample; then
52421 makefiles="samples/$sample/Makefile.in $makefiles"
52422 fi
52423 done
52424 else
52425 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
52426 eval "disabled=\$$disabled_var"
52427 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52428 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52429 fi
52430 else
52431 if test ${subdir} = "samples"; then
52432 makefiles="samples/Makefile.in $makefiles"
52433 for sample in `echo $SAMPLES_SUBDIRS`; do
52434 if test -d $srcdir/samples/$sample; then
52435 makefiles="samples/$sample/Makefile.in $makefiles"
52436 fi
52437 done
52438 elif test ${subdir} = "utils"; then
52439 makefiles=""
52440 for util in ifacecheck ; do
52441 if test -d $srcdir/utils/$util ; then
52442 makefiles="utils/$util/src/Makefile.in \
52443 $makefiles"
52444 fi
52445 done
52446 else
52447 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
52448 fi
52449 fi
52450
52451 for mkin in $makefiles ; do
52452 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52453 ac_config_files="$ac_config_files $mk"
52454
52455 done
52456 fi
52457 done
52458 fi
52459 cat >confcache <<\_ACEOF
52460 # This file is a shell script that caches the results of configure
52461 # tests run on this system so they can be shared between configure
52462 # scripts and configure runs, see configure's option --config-cache.
52463 # It is not useful on other systems. If it contains results you don't
52464 # want to keep, you may remove or edit it.
52465 #
52466 # config.status only pays attention to the cache file if you give it
52467 # the --recheck option to rerun configure.
52468 #
52469 # `ac_cv_env_foo' variables (set or unset) will be overridden when
52470 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52471 # following values.
52472
52473 _ACEOF
52474
52475 # The following way of writing the cache mishandles newlines in values,
52476 # but we know of no workaround that is simple, portable, and efficient.
52477 # So, we kill variables containing newlines.
52478 # Ultrix sh set writes to stderr and can't be redirected directly,
52479 # and sets the high bit in the cache file unless we assign to the vars.
52480 (
52481 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52482 eval ac_val=\$$ac_var
52483 case $ac_val in #(
52484 *${as_nl}*)
52485 case $ac_var in #(
52486 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52487 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52488 esac
52489 case $ac_var in #(
52490 _ | IFS | as_nl) ;; #(
52491 *) $as_unset $ac_var ;;
52492 esac ;;
52493 esac
52494 done
52495
52496 (set) 2>&1 |
52497 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52498 *${as_nl}ac_space=\ *)
52499 # `set' does not quote correctly, so add quotes (double-quote
52500 # substitution turns \\\\ into \\, and sed turns \\ into \).
52501 sed -n \
52502 "s/'/'\\\\''/g;
52503 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52504 ;; #(
52505 *)
52506 # `set' quotes correctly as required by POSIX, so do not add quotes.
52507 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52508 ;;
52509 esac |
52510 sort
52511 ) |
52512 sed '
52513 /^ac_cv_env_/b end
52514 t clear
52515 :clear
52516 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52517 t end
52518 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52519 :end' >>confcache
52520 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
52521 if test -w "$cache_file"; then
52522 test "x$cache_file" != "x/dev/null" &&
52523 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52524 echo "$as_me: updating cache $cache_file" >&6;}
52525 cat confcache >$cache_file
52526 else
52527 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52528 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52529 fi
52530 fi
52531 rm -f confcache
52532
52533 test "x$prefix" = xNONE && prefix=$ac_default_prefix
52534 # Let make expand exec_prefix.
52535 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
52536
52537 DEFS=-DHAVE_CONFIG_H
52538
52539 ac_libobjs=
52540 ac_ltlibobjs=
52541 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
52542 # 1. Remove the extension, and $U if already installed.
52543 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
52544 ac_i=`echo "$ac_i" | sed "$ac_script"`
52545 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52546 # will be set to the directory where LIBOBJS objects are built.
52547 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52548 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52549 done
52550 LIBOBJS=$ac_libobjs
52551
52552 LTLIBOBJS=$ac_ltlibobjs
52553
52554
52555
52556 : ${CONFIG_STATUS=./config.status}
52557 ac_clean_files_save=$ac_clean_files
52558 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
52559 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52560 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52561 cat >$CONFIG_STATUS <<_ACEOF
52562 #! $SHELL
52563 # Generated by $as_me.
52564 # Run this file to recreate the current configuration.
52565 # Compiler output produced by configure, useful for debugging
52566 # configure, is in config.log if it exists.
52567
52568 debug=false
52569 ac_cs_recheck=false
52570 ac_cs_silent=false
52571 SHELL=\${CONFIG_SHELL-$SHELL}
52572 _ACEOF
52573
52574 cat >>$CONFIG_STATUS <<\_ACEOF
52575 ## --------------------- ##
52576 ## M4sh Initialization. ##
52577 ## --------------------- ##
52578
52579 # Be more Bourne compatible
52580 DUALCASE=1; export DUALCASE # for MKS sh
52581 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
52582 emulate sh
52583 NULLCMD=:
52584 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52585 # is contrary to our usage. Disable this feature.
52586 alias -g '${1+"$@"}'='"$@"'
52587 setopt NO_GLOB_SUBST
52588 else
52589 case `(set -o) 2>/dev/null` in
52590 *posix*) set -o posix ;;
52591 esac
52592
52593 fi
52594
52595
52596
52597
52598 # PATH needs CR
52599 # Avoid depending upon Character Ranges.
52600 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
52601 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52602 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
52603 as_cr_digits='0123456789'
52604 as_cr_alnum=$as_cr_Letters$as_cr_digits
52605
52606 # The user is always right.
52607 if test "${PATH_SEPARATOR+set}" != set; then
52608 echo "#! /bin/sh" >conf$$.sh
52609 echo "exit 0" >>conf$$.sh
52610 chmod +x conf$$.sh
52611 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
52612 PATH_SEPARATOR=';'
52613 else
52614 PATH_SEPARATOR=:
52615 fi
52616 rm -f conf$$.sh
52617 fi
52618
52619 # Support unset when possible.
52620 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
52621 as_unset=unset
52622 else
52623 as_unset=false
52624 fi
52625
52626
52627 # IFS
52628 # We need space, tab and new line, in precisely that order. Quoting is
52629 # there to prevent editors from complaining about space-tab.
52630 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
52631 # splitting by setting IFS to empty value.)
52632 as_nl='
52633 '
52634 IFS=" "" $as_nl"
52635
52636 # Find who we are. Look in the path if we contain no directory separator.
52637 case $0 in
52638 *[\\/]* ) as_myself=$0 ;;
52639 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52640 for as_dir in $PATH
52641 do
52642 IFS=$as_save_IFS
52643 test -z "$as_dir" && as_dir=.
52644 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
52645 done
52646 IFS=$as_save_IFS
52647
52648 ;;
52649 esac
52650 # We did not find ourselves, most probably we were run as `sh COMMAND'
52651 # in which case we are not to be found in the path.
52652 if test "x$as_myself" = x; then
52653 as_myself=$0
52654 fi
52655 if test ! -f "$as_myself"; then
52656 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
52657 { (exit 1); exit 1; }
52658 fi
52659
52660 # Work around bugs in pre-3.0 UWIN ksh.
52661 for as_var in ENV MAIL MAILPATH
52662 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52663 done
52664 PS1='$ '
52665 PS2='> '
52666 PS4='+ '
52667
52668 # NLS nuisances.
52669 for as_var in \
52670 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
52671 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
52672 LC_TELEPHONE LC_TIME
52673 do
52674 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
52675 eval $as_var=C; export $as_var
52676 else
52677 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52678 fi
52679 done
52680
52681 # Required to use basename.
52682 if expr a : '\(a\)' >/dev/null 2>&1 &&
52683 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52684 as_expr=expr
52685 else
52686 as_expr=false
52687 fi
52688
52689 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
52690 as_basename=basename
52691 else
52692 as_basename=false
52693 fi
52694
52695
52696 # Name of the executable.
52697 as_me=`$as_basename -- "$0" ||
52698 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
52699 X"$0" : 'X\(//\)$' \| \
52700 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
52701 echo X/"$0" |
52702 sed '/^.*\/\([^/][^/]*\)\/*$/{
52703 s//\1/
52704 q
52705 }
52706 /^X\/\(\/\/\)$/{
52707 s//\1/
52708 q
52709 }
52710 /^X\/\(\/\).*/{
52711 s//\1/
52712 q
52713 }
52714 s/.*/./; q'`
52715
52716 # CDPATH.
52717 $as_unset CDPATH
52718
52719
52720
52721 as_lineno_1=$LINENO
52722 as_lineno_2=$LINENO
52723 test "x$as_lineno_1" != "x$as_lineno_2" &&
52724 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
52725
52726 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
52727 # uniformly replaced by the line number. The first 'sed' inserts a
52728 # line-number line after each line using $LINENO; the second 'sed'
52729 # does the real work. The second script uses 'N' to pair each
52730 # line-number line with the line containing $LINENO, and appends
52731 # trailing '-' during substitution so that $LINENO is not a special
52732 # case at line end.
52733 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
52734 # scripts with optimization help from Paolo Bonzini. Blame Lee
52735 # E. McMahon (1931-1989) for sed's syntax. :-)
52736 sed -n '
52737 p
52738 /[$]LINENO/=
52739 ' <$as_myself |
52740 sed '
52741 s/[$]LINENO.*/&-/
52742 t lineno
52743 b
52744 :lineno
52745 N
52746 :loop
52747 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
52748 t loop
52749 s/-\n.*//
52750 ' >$as_me.lineno &&
52751 chmod +x "$as_me.lineno" ||
52752 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
52753 { (exit 1); exit 1; }; }
52754
52755 # Don't try to exec as it changes $[0], causing all sort of problems
52756 # (the dirname of $[0] is not the place where we might find the
52757 # original and so on. Autoconf is especially sensitive to this).
52758 . "./$as_me.lineno"
52759 # Exit status is that of the last command.
52760 exit
52761 }
52762
52763
52764 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
52765 as_dirname=dirname
52766 else
52767 as_dirname=false
52768 fi
52769
52770 ECHO_C= ECHO_N= ECHO_T=
52771 case `echo -n x` in
52772 -n*)
52773 case `echo 'x\c'` in
52774 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
52775 *) ECHO_C='\c';;
52776 esac;;
52777 *)
52778 ECHO_N='-n';;
52779 esac
52780
52781 if expr a : '\(a\)' >/dev/null 2>&1 &&
52782 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52783 as_expr=expr
52784 else
52785 as_expr=false
52786 fi
52787
52788 rm -f conf$$ conf$$.exe conf$$.file
52789 if test -d conf$$.dir; then
52790 rm -f conf$$.dir/conf$$.file
52791 else
52792 rm -f conf$$.dir
52793 mkdir conf$$.dir
52794 fi
52795 echo >conf$$.file
52796 if ln -s conf$$.file conf$$ 2>/dev/null; then
52797 as_ln_s='ln -s'
52798 # ... but there are two gotchas:
52799 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
52800 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
52801 # In both cases, we have to default to `cp -p'.
52802 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
52803 as_ln_s='cp -p'
52804 elif ln conf$$.file conf$$ 2>/dev/null; then
52805 as_ln_s=ln
52806 else
52807 as_ln_s='cp -p'
52808 fi
52809 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
52810 rmdir conf$$.dir 2>/dev/null
52811
52812 if mkdir -p . 2>/dev/null; then
52813 as_mkdir_p=:
52814 else
52815 test -d ./-p && rmdir ./-p
52816 as_mkdir_p=false
52817 fi
52818
52819 if test -x / >/dev/null 2>&1; then
52820 as_test_x='test -x'
52821 else
52822 if ls -dL / >/dev/null 2>&1; then
52823 as_ls_L_option=L
52824 else
52825 as_ls_L_option=
52826 fi
52827 as_test_x='
52828 eval sh -c '\''
52829 if test -d "$1"; then
52830 test -d "$1/.";
52831 else
52832 case $1 in
52833 -*)set "./$1";;
52834 esac;
52835 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
52836 ???[sx]*):;;*)false;;esac;fi
52837 '\'' sh
52838 '
52839 fi
52840 as_executable_p=$as_test_x
52841
52842 # Sed expression to map a string onto a valid CPP name.
52843 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52844
52845 # Sed expression to map a string onto a valid variable name.
52846 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52847
52848
52849 exec 6>&1
52850
52851 # Save the log message, to keep $[0] and so on meaningful, and to
52852 # report actual input values of CONFIG_FILES etc. instead of their
52853 # values after options handling.
52854 ac_log="
52855 This file was extended by wxWidgets $as_me 2.9.1, which was
52856 generated by GNU Autoconf 2.61. Invocation command line was
52857
52858 CONFIG_FILES = $CONFIG_FILES
52859 CONFIG_HEADERS = $CONFIG_HEADERS
52860 CONFIG_LINKS = $CONFIG_LINKS
52861 CONFIG_COMMANDS = $CONFIG_COMMANDS
52862 $ $0 $@
52863
52864 on `(hostname || uname -n) 2>/dev/null | sed 1q`
52865 "
52866
52867 _ACEOF
52868
52869 cat >>$CONFIG_STATUS <<_ACEOF
52870 # Files that config.status was made for.
52871 config_files="$ac_config_files"
52872 config_headers="$ac_config_headers"
52873 config_commands="$ac_config_commands"
52874
52875 _ACEOF
52876
52877 cat >>$CONFIG_STATUS <<\_ACEOF
52878 ac_cs_usage="\
52879 \`$as_me' instantiates files from templates according to the
52880 current configuration.
52881
52882 Usage: $0 [OPTIONS] [FILE]...
52883
52884 -h, --help print this help, then exit
52885 -V, --version print version number and configuration settings, then exit
52886 -q, --quiet do not print progress messages
52887 -d, --debug don't remove temporary files
52888 --recheck update $as_me by reconfiguring in the same conditions
52889 --file=FILE[:TEMPLATE]
52890 instantiate the configuration file FILE
52891 --header=FILE[:TEMPLATE]
52892 instantiate the configuration header FILE
52893
52894 Configuration files:
52895 $config_files
52896
52897 Configuration headers:
52898 $config_headers
52899
52900 Configuration commands:
52901 $config_commands
52902
52903 Report bugs to <bug-autoconf@gnu.org>."
52904
52905 _ACEOF
52906 cat >>$CONFIG_STATUS <<_ACEOF
52907 ac_cs_version="\\
52908 wxWidgets config.status 2.9.1
52909 configured by $0, generated by GNU Autoconf 2.61,
52910 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
52911
52912 Copyright (C) 2006 Free Software Foundation, Inc.
52913 This config.status script is free software; the Free Software Foundation
52914 gives unlimited permission to copy, distribute and modify it."
52915
52916 ac_pwd='$ac_pwd'
52917 srcdir='$srcdir'
52918 INSTALL='$INSTALL'
52919 _ACEOF
52920
52921 cat >>$CONFIG_STATUS <<\_ACEOF
52922 # If no file are specified by the user, then we need to provide default
52923 # value. By we need to know if files were specified by the user.
52924 ac_need_defaults=:
52925 while test $# != 0
52926 do
52927 case $1 in
52928 --*=*)
52929 ac_option=`expr "X$1" : 'X\([^=]*\)='`
52930 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
52931 ac_shift=:
52932 ;;
52933 *)
52934 ac_option=$1
52935 ac_optarg=$2
52936 ac_shift=shift
52937 ;;
52938 esac
52939
52940 case $ac_option in
52941 # Handling of the options.
52942 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
52943 ac_cs_recheck=: ;;
52944 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
52945 echo "$ac_cs_version"; exit ;;
52946 --debug | --debu | --deb | --de | --d | -d )
52947 debug=: ;;
52948 --file | --fil | --fi | --f )
52949 $ac_shift
52950 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
52951 ac_need_defaults=false;;
52952 --header | --heade | --head | --hea )
52953 $ac_shift
52954 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
52955 ac_need_defaults=false;;
52956 --he | --h)
52957 # Conflict between --help and --header
52958 { echo "$as_me: error: ambiguous option: $1
52959 Try \`$0 --help' for more information." >&2
52960 { (exit 1); exit 1; }; };;
52961 --help | --hel | -h )
52962 echo "$ac_cs_usage"; exit ;;
52963 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
52964 | -silent | --silent | --silen | --sile | --sil | --si | --s)
52965 ac_cs_silent=: ;;
52966
52967 # This is an error.
52968 -*) { echo "$as_me: error: unrecognized option: $1
52969 Try \`$0 --help' for more information." >&2
52970 { (exit 1); exit 1; }; } ;;
52971
52972 *) ac_config_targets="$ac_config_targets $1"
52973 ac_need_defaults=false ;;
52974
52975 esac
52976 shift
52977 done
52978
52979 ac_configure_extra_args=
52980
52981 if $ac_cs_silent; then
52982 exec 6>/dev/null
52983 ac_configure_extra_args="$ac_configure_extra_args --silent"
52984 fi
52985
52986 _ACEOF
52987 cat >>$CONFIG_STATUS <<_ACEOF
52988 if \$ac_cs_recheck; then
52989 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
52990 CONFIG_SHELL=$SHELL
52991 export CONFIG_SHELL
52992 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
52993 fi
52994
52995 _ACEOF
52996 cat >>$CONFIG_STATUS <<\_ACEOF
52997 exec 5>>config.log
52998 {
52999 echo
53000 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53001 ## Running $as_me. ##
53002 _ASBOX
53003 echo "$ac_log"
53004 } >&5
53005
53006 _ACEOF
53007 cat >>$CONFIG_STATUS <<_ACEOF
53008 #
53009 # INIT-COMMANDS
53010 #
53011
53012 CPP="$CPP"
53013 infile="$srcdir/include/wx/msw/genrcdefs.h"
53014 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53015
53016
53017 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53018 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53019 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53020 LN_S="${LN_S}"
53021
53022
53023 _ACEOF
53024
53025 cat >>$CONFIG_STATUS <<\_ACEOF
53026
53027 # Handling of arguments.
53028 for ac_config_target in $ac_config_targets
53029 do
53030 case $ac_config_target in
53031 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53032 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53033 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53034 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53035 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
53036 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53037 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53038 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53039 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53040
53041 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53042 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53043 { (exit 1); exit 1; }; };;
53044 esac
53045 done
53046
53047
53048 # If the user did not use the arguments to specify the items to instantiate,
53049 # then the envvar interface is used. Set only those that are not.
53050 # We use the long form for the default assignment because of an extremely
53051 # bizarre bug on SunOS 4.1.3.
53052 if $ac_need_defaults; then
53053 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53054 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53055 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53056 fi
53057
53058 # Have a temporary directory for convenience. Make it in the build tree
53059 # simply because there is no reason against having it here, and in addition,
53060 # creating and moving files from /tmp can sometimes cause problems.
53061 # Hook for its removal unless debugging.
53062 # Note that there is a small window in which the directory will not be cleaned:
53063 # after its creation but before its name has been assigned to `$tmp'.
53064 $debug ||
53065 {
53066 tmp=
53067 trap 'exit_status=$?
53068 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53069 ' 0
53070 trap '{ (exit 1); exit 1; }' 1 2 13 15
53071 }
53072 # Create a (secure) tmp directory for tmp files.
53073
53074 {
53075 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53076 test -n "$tmp" && test -d "$tmp"
53077 } ||
53078 {
53079 tmp=./conf$$-$RANDOM
53080 (umask 077 && mkdir "$tmp")
53081 } ||
53082 {
53083 echo "$me: cannot create a temporary directory in ." >&2
53084 { (exit 1); exit 1; }
53085 }
53086
53087 #
53088 # Set up the sed scripts for CONFIG_FILES section.
53089 #
53090
53091 # No need to generate the scripts if there are no CONFIG_FILES.
53092 # This happens for instance when ./config.status config.h
53093 if test -n "$CONFIG_FILES"; then
53094
53095 _ACEOF
53096
53097
53098
53099 ac_delim='%!_!# '
53100 for ac_last_try in false false false false false :; do
53101 cat >conf$$subs.sed <<_ACEOF
53102 SHELL!$SHELL$ac_delim
53103 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53104 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53105 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53106 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53107 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53108 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53109 exec_prefix!$exec_prefix$ac_delim
53110 prefix!$prefix$ac_delim
53111 program_transform_name!$program_transform_name$ac_delim
53112 bindir!$bindir$ac_delim
53113 sbindir!$sbindir$ac_delim
53114 libexecdir!$libexecdir$ac_delim
53115 datarootdir!$datarootdir$ac_delim
53116 datadir!$datadir$ac_delim
53117 sysconfdir!$sysconfdir$ac_delim
53118 sharedstatedir!$sharedstatedir$ac_delim
53119 localstatedir!$localstatedir$ac_delim
53120 includedir!$includedir$ac_delim
53121 oldincludedir!$oldincludedir$ac_delim
53122 docdir!$docdir$ac_delim
53123 infodir!$infodir$ac_delim
53124 htmldir!$htmldir$ac_delim
53125 dvidir!$dvidir$ac_delim
53126 pdfdir!$pdfdir$ac_delim
53127 psdir!$psdir$ac_delim
53128 libdir!$libdir$ac_delim
53129 localedir!$localedir$ac_delim
53130 mandir!$mandir$ac_delim
53131 DEFS!$DEFS$ac_delim
53132 ECHO_C!$ECHO_C$ac_delim
53133 ECHO_N!$ECHO_N$ac_delim
53134 ECHO_T!$ECHO_T$ac_delim
53135 LIBS!$LIBS$ac_delim
53136 build_alias!$build_alias$ac_delim
53137 host_alias!$host_alias$ac_delim
53138 target_alias!$target_alias$ac_delim
53139 build!$build$ac_delim
53140 build_cpu!$build_cpu$ac_delim
53141 build_vendor!$build_vendor$ac_delim
53142 build_os!$build_os$ac_delim
53143 host!$host$ac_delim
53144 host_cpu!$host_cpu$ac_delim
53145 host_vendor!$host_vendor$ac_delim
53146 host_os!$host_os$ac_delim
53147 wx_top_builddir!$wx_top_builddir$ac_delim
53148 CC!$CC$ac_delim
53149 CFLAGS!$CFLAGS$ac_delim
53150 LDFLAGS!$LDFLAGS$ac_delim
53151 CPPFLAGS!$CPPFLAGS$ac_delim
53152 ac_ct_CC!$ac_ct_CC$ac_delim
53153 EXEEXT!$EXEEXT$ac_delim
53154 OBJEXT!$OBJEXT$ac_delim
53155 CPP!$CPP$ac_delim
53156 GREP!$GREP$ac_delim
53157 EGREP!$EGREP$ac_delim
53158 CXX!$CXX$ac_delim
53159 CXXFLAGS!$CXXFLAGS$ac_delim
53160 ac_ct_CXX!$ac_ct_CXX$ac_delim
53161 AR!$AR$ac_delim
53162 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
53163 CXXCPP!$CXXCPP$ac_delim
53164 subdirs!$subdirs$ac_delim
53165 PKG_CONFIG!$PKG_CONFIG$ac_delim
53166 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53167 GTK_LIBS!$GTK_LIBS$ac_delim
53168 GTK_CONFIG!$GTK_CONFIG$ac_delim
53169 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53170 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53171 XMKMF!$XMKMF$ac_delim
53172 X_CFLAGS!$X_CFLAGS$ac_delim
53173 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53174 X_LIBS!$X_LIBS$ac_delim
53175 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53176 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53177 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53178 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53179 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53180 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53181 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53182 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53183 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53184 LIBICONV!$LIBICONV$ac_delim
53185 GXX_VERSION!$GXX_VERSION$ac_delim
53186 SDL_CONFIG!$SDL_CONFIG$ac_delim
53187 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53188 SDL_LIBS!$SDL_LIBS$ac_delim
53189 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53190 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53191 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53192 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53193 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53194 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53195 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53196 HILDON_LIBS!$HILDON_LIBS$ac_delim
53197 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
53198 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
53199 _ACEOF
53200
53201 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53202 break
53203 elif $ac_last_try; then
53204 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53205 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53206 { (exit 1); exit 1; }; }
53207 else
53208 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53209 fi
53210 done
53211
53212 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53213 if test -n "$ac_eof"; then
53214 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53215 ac_eof=`expr $ac_eof + 1`
53216 fi
53217
53218 cat >>$CONFIG_STATUS <<_ACEOF
53219 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53220 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53221 _ACEOF
53222 sed '
53223 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53224 s/^/s,@/; s/!/@,|#_!!_#|/
53225 :n
53226 t n
53227 s/'"$ac_delim"'$/,g/; t
53228 s/$/\\/; p
53229 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53230 ' >>$CONFIG_STATUS <conf$$subs.sed
53231 rm -f conf$$subs.sed
53232 cat >>$CONFIG_STATUS <<_ACEOF
53233 CEOF$ac_eof
53234 _ACEOF
53235
53236
53237 ac_delim='%!_!# '
53238 for ac_last_try in false false false false false :; do
53239 cat >conf$$subs.sed <<_ACEOF
53240 PYTHON!$PYTHON$ac_delim
53241 COND_PYTHON!$COND_PYTHON$ac_delim
53242 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53243 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53244 GST_CFLAGS!$GST_CFLAGS$ac_delim
53245 GST_LIBS!$GST_LIBS$ac_delim
53246 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53247 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53248 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53249 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53250 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53251 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53252 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53253 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53254 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53255 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53256 VENDOR!$VENDOR$ac_delim
53257 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53258 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53259 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53260 WXUNIV!$WXUNIV$ac_delim
53261 MONOLITHIC!$MONOLITHIC$ac_delim
53262 USE_PLUGINS!$USE_PLUGINS$ac_delim
53263 CXXWARNINGS!$CXXWARNINGS$ac_delim
53264 EXTRALIBS!$EXTRALIBS$ac_delim
53265 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53266 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53267 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
53268 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53269 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53270 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53271 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
53272 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53273 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53274 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53275 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53276 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53277 UNICODE!$UNICODE$ac_delim
53278 DEBUG_INFO!$DEBUG_INFO$ac_delim
53279 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53280 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53281 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53282 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
53283 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
53284 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53285 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
53286 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53287 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53288 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53289 RANLIB!$RANLIB$ac_delim
53290 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53291 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53292 INSTALL_DATA!$INSTALL_DATA$ac_delim
53293 LN_S!$LN_S$ac_delim
53294 SET_MAKE!$SET_MAKE$ac_delim
53295 MAKE_SET!$MAKE_SET$ac_delim
53296 AROPTIONS!$AROPTIONS$ac_delim
53297 STRIP!$STRIP$ac_delim
53298 NM!$NM$ac_delim
53299 INSTALL_DIR!$INSTALL_DIR$ac_delim
53300 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53301 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53302 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53303 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53304 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53305 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53306 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53307 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53308 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53309 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53310 SO_SUFFIX!$SO_SUFFIX$ac_delim
53311 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53312 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53313 LIBPREFIX!$LIBPREFIX$ac_delim
53314 LIBEXT!$LIBEXT$ac_delim
53315 DLLPREFIX!$DLLPREFIX$ac_delim
53316 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53317 dlldir!$dlldir$ac_delim
53318 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53319 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53320 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53321 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53322 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53323 PIC_FLAG!$PIC_FLAG$ac_delim
53324 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53325 USE_SOVERSION!$USE_SOVERSION$ac_delim
53326 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53327 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53328 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53329 USE_MACVERSION!$USE_MACVERSION$ac_delim
53330 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
53331 SONAME_FLAG!$SONAME_FLAG$ac_delim
53332 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53333 BK_DEPS!$BK_DEPS$ac_delim
53334 WINDRES!$WINDRES$ac_delim
53335 REZ!$REZ$ac_delim
53336 SETFILE!$SETFILE$ac_delim
53337 _ACEOF
53338
53339 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53340 break
53341 elif $ac_last_try; then
53342 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53343 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53344 { (exit 1); exit 1; }; }
53345 else
53346 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53347 fi
53348 done
53349
53350 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53351 if test -n "$ac_eof"; then
53352 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53353 ac_eof=`expr $ac_eof + 1`
53354 fi
53355
53356 cat >>$CONFIG_STATUS <<_ACEOF
53357 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53358 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53359 _ACEOF
53360 sed '
53361 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53362 s/^/s,@/; s/!/@,|#_!!_#|/
53363 :n
53364 t n
53365 s/'"$ac_delim"'$/,g/; t
53366 s/$/\\/; p
53367 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53368 ' >>$CONFIG_STATUS <conf$$subs.sed
53369 rm -f conf$$subs.sed
53370 cat >>$CONFIG_STATUS <<_ACEOF
53371 CEOF$ac_eof
53372 _ACEOF
53373
53374
53375 ac_delim='%!_!# '
53376 for ac_last_try in false false false false false :; do
53377 cat >conf$$subs.sed <<_ACEOF
53378 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
53379 GCC_PCH!$GCC_PCH$ac_delim
53380 ICC_PCH!$ICC_PCH$ac_delim
53381 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
53382 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
53383 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53384 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53385 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53386 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53387 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53388 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53389 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53390 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53391 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53392 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53393 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
53394 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
53395 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
53396 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
53397 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
53398 COND_BUILD_release!$COND_BUILD_release$ac_delim
53399 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
53400 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
53401 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
53402 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
53403 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53404 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53405 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53406 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53407 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53408 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53409 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53410 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53411 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53412 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53413 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53414 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53415 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53416 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53417 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
53418 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
53419 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53420 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53421 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53422 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53423 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53424 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53425 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53426 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53427 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53428 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
53429 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
53430 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53431 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53432 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53433 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53434 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53435 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53436 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53437 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53438 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
53439 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53440 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
53441 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53442 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53443 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53444 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53445 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53446 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53447 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53448 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53449 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53450 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53451 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53452 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
53453 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
53454 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53455 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
53456 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53457 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
53458 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
53459 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
53460 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53461 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
53462 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53463 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53464 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
53465 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53466 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53467 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53468 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53469 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53470 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53471 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53472 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53473 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53474 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53475 _ACEOF
53476
53477 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53478 break
53479 elif $ac_last_try; then
53480 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53481 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53482 { (exit 1); exit 1; }; }
53483 else
53484 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53485 fi
53486 done
53487
53488 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53489 if test -n "$ac_eof"; then
53490 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53491 ac_eof=`expr $ac_eof + 1`
53492 fi
53493
53494 cat >>$CONFIG_STATUS <<_ACEOF
53495 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53496 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53497 _ACEOF
53498 sed '
53499 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53500 s/^/s,@/; s/!/@,|#_!!_#|/
53501 :n
53502 t n
53503 s/'"$ac_delim"'$/,g/; t
53504 s/$/\\/; p
53505 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53506 ' >>$CONFIG_STATUS <conf$$subs.sed
53507 rm -f conf$$subs.sed
53508 cat >>$CONFIG_STATUS <<_ACEOF
53509 CEOF$ac_eof
53510 _ACEOF
53511
53512
53513 ac_delim='%!_!# '
53514 for ac_last_try in false false false false false :; do
53515 cat >conf$$subs.sed <<_ACEOF
53516 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53517 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53518 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
53519 COND_SHARED_0!$COND_SHARED_0$ac_delim
53520 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53521 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53522 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53523 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53524 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53525 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53526 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53527 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53528 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
53529 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
53530 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
53531 COND_SHARED_1!$COND_SHARED_1$ac_delim
53532 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53533 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53534 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53535 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53536 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53537 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53538 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53539 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53540 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53541 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53542 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53543 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53544 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53545 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53546 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53547 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53548 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53549 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53550 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53551 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53552 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53553 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53554 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53555 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53556 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53557 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
53558 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53559 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
53560 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53561 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
53562 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
53563 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
53564 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53565 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53566 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53567 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53568 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53569 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53570 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53571 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53572 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53573 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53574 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
53575 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53576 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53577 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53578 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53579 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53580 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53581 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53582 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53583 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53584 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53585 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53586 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53587 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53588 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
53589 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53590 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53591 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53592 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53593 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
53594 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53595 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53596 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53597 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
53598 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53599 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53600 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53601 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53602 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53603 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53604 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53605 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53606 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53607 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53608 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53609 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53610 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53611 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53612 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53613 _ACEOF
53614
53615 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53616 break
53617 elif $ac_last_try; then
53618 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53619 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53620 { (exit 1); exit 1; }; }
53621 else
53622 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53623 fi
53624 done
53625
53626 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53627 if test -n "$ac_eof"; then
53628 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53629 ac_eof=`expr $ac_eof + 1`
53630 fi
53631
53632 cat >>$CONFIG_STATUS <<_ACEOF
53633 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
53634 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53635 _ACEOF
53636 sed '
53637 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53638 s/^/s,@/; s/!/@,|#_!!_#|/
53639 :n
53640 t n
53641 s/'"$ac_delim"'$/,g/; t
53642 s/$/\\/; p
53643 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53644 ' >>$CONFIG_STATUS <conf$$subs.sed
53645 rm -f conf$$subs.sed
53646 cat >>$CONFIG_STATUS <<_ACEOF
53647 CEOF$ac_eof
53648 _ACEOF
53649
53650
53651 ac_delim='%!_!# '
53652 for ac_last_try in false false false false false :; do
53653 cat >conf$$subs.sed <<_ACEOF
53654 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
53655 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
53656 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
53657 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
53658 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
53659 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
53660 DEREZ!$DEREZ$ac_delim
53661 SHARED!$SHARED$ac_delim
53662 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
53663 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
53664 USE_GUI!$USE_GUI$ac_delim
53665 AFMINSTALL!$AFMINSTALL$ac_delim
53666 WIN32INSTALL!$WIN32INSTALL$ac_delim
53667 TOOLKIT!$TOOLKIT$ac_delim
53668 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
53669 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
53670 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
53671 cross_compiling!$cross_compiling$ac_delim
53672 WIDGET_SET!$WIDGET_SET$ac_delim
53673 WX_RELEASE!$WX_RELEASE$ac_delim
53674 WX_VERSION!$WX_VERSION$ac_delim
53675 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
53676 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
53677 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
53678 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
53679 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
53680 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
53681 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53682 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
53683 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53684 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53685 GUIDIST!$GUIDIST$ac_delim
53686 DISTDIR!$DISTDIR$ac_delim
53687 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
53688 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
53689 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
53690 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
53691 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
53692 RESCOMP!$RESCOMP$ac_delim
53693 RESFLAGS!$RESFLAGS$ac_delim
53694 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
53695 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
53696 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
53697 LIBWXMACRES!$LIBWXMACRES$ac_delim
53698 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
53699 MACSETFILE!$MACSETFILE$ac_delim
53700 GCC!$GCC$ac_delim
53701 DLLTOOL!$DLLTOOL$ac_delim
53702 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
53703 LIBOBJS!$LIBOBJS$ac_delim
53704 LTLIBOBJS!$LTLIBOBJS$ac_delim
53705 _ACEOF
53706
53707 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
53708 break
53709 elif $ac_last_try; then
53710 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53711 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53712 { (exit 1); exit 1; }; }
53713 else
53714 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53715 fi
53716 done
53717
53718 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53719 if test -n "$ac_eof"; then
53720 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53721 ac_eof=`expr $ac_eof + 1`
53722 fi
53723
53724 cat >>$CONFIG_STATUS <<_ACEOF
53725 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
53726 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
53727 _ACEOF
53728 sed '
53729 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53730 s/^/s,@/; s/!/@,|#_!!_#|/
53731 :n
53732 t n
53733 s/'"$ac_delim"'$/,g/; t
53734 s/$/\\/; p
53735 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53736 ' >>$CONFIG_STATUS <conf$$subs.sed
53737 rm -f conf$$subs.sed
53738 cat >>$CONFIG_STATUS <<_ACEOF
53739 :end
53740 s/|#_!!_#|//g
53741 CEOF$ac_eof
53742 _ACEOF
53743
53744
53745 # VPATH may cause trouble with some makes, so we remove $(srcdir),
53746 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
53747 # trailing colons and then remove the whole line if VPATH becomes empty
53748 # (actually we leave an empty line to preserve line numbers).
53749 if test "x$srcdir" = x.; then
53750 ac_vpsub='/^[ ]*VPATH[ ]*=/{
53751 s/:*\$(srcdir):*/:/
53752 s/:*\${srcdir}:*/:/
53753 s/:*@srcdir@:*/:/
53754 s/^\([^=]*=[ ]*\):*/\1/
53755 s/:*$//
53756 s/^[^=]*=[ ]*$//
53757 }'
53758 fi
53759
53760 cat >>$CONFIG_STATUS <<\_ACEOF
53761 fi # test -n "$CONFIG_FILES"
53762
53763
53764 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
53765 do
53766 case $ac_tag in
53767 :[FHLC]) ac_mode=$ac_tag; continue;;
53768 esac
53769 case $ac_mode$ac_tag in
53770 :[FHL]*:*);;
53771 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
53772 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
53773 { (exit 1); exit 1; }; };;
53774 :[FH]-) ac_tag=-:-;;
53775 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
53776 esac
53777 ac_save_IFS=$IFS
53778 IFS=:
53779 set x $ac_tag
53780 IFS=$ac_save_IFS
53781 shift
53782 ac_file=$1
53783 shift
53784
53785 case $ac_mode in
53786 :L) ac_source=$1;;
53787 :[FH])
53788 ac_file_inputs=
53789 for ac_f
53790 do
53791 case $ac_f in
53792 -) ac_f="$tmp/stdin";;
53793 *) # Look for the file first in the build tree, then in the source tree
53794 # (if the path is not absolute). The absolute path cannot be DOS-style,
53795 # because $ac_f cannot contain `:'.
53796 test -f "$ac_f" ||
53797 case $ac_f in
53798 [\\/$]*) false;;
53799 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
53800 esac ||
53801 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
53802 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
53803 { (exit 1); exit 1; }; };;
53804 esac
53805 ac_file_inputs="$ac_file_inputs $ac_f"
53806 done
53807
53808 # Let's still pretend it is `configure' which instantiates (i.e., don't
53809 # use $as_me), people would be surprised to read:
53810 # /* config.h. Generated by config.status. */
53811 configure_input="Generated from "`IFS=:
53812 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
53813 if test x"$ac_file" != x-; then
53814 configure_input="$ac_file. $configure_input"
53815 { echo "$as_me:$LINENO: creating $ac_file" >&5
53816 echo "$as_me: creating $ac_file" >&6;}
53817 fi
53818
53819 case $ac_tag in
53820 *:-:* | *:-) cat >"$tmp/stdin";;
53821 esac
53822 ;;
53823 esac
53824
53825 ac_dir=`$as_dirname -- "$ac_file" ||
53826 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53827 X"$ac_file" : 'X\(//\)[^/]' \| \
53828 X"$ac_file" : 'X\(//\)$' \| \
53829 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
53830 echo X"$ac_file" |
53831 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53832 s//\1/
53833 q
53834 }
53835 /^X\(\/\/\)[^/].*/{
53836 s//\1/
53837 q
53838 }
53839 /^X\(\/\/\)$/{
53840 s//\1/
53841 q
53842 }
53843 /^X\(\/\).*/{
53844 s//\1/
53845 q
53846 }
53847 s/.*/./; q'`
53848 { as_dir="$ac_dir"
53849 case $as_dir in #(
53850 -*) as_dir=./$as_dir;;
53851 esac
53852 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53853 as_dirs=
53854 while :; do
53855 case $as_dir in #(
53856 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53857 *) as_qdir=$as_dir;;
53858 esac
53859 as_dirs="'$as_qdir' $as_dirs"
53860 as_dir=`$as_dirname -- "$as_dir" ||
53861 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53862 X"$as_dir" : 'X\(//\)[^/]' \| \
53863 X"$as_dir" : 'X\(//\)$' \| \
53864 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53865 echo X"$as_dir" |
53866 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53867 s//\1/
53868 q
53869 }
53870 /^X\(\/\/\)[^/].*/{
53871 s//\1/
53872 q
53873 }
53874 /^X\(\/\/\)$/{
53875 s//\1/
53876 q
53877 }
53878 /^X\(\/\).*/{
53879 s//\1/
53880 q
53881 }
53882 s/.*/./; q'`
53883 test -d "$as_dir" && break
53884 done
53885 test -z "$as_dirs" || eval "mkdir $as_dirs"
53886 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53887 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53888 { (exit 1); exit 1; }; }; }
53889 ac_builddir=.
53890
53891 case "$ac_dir" in
53892 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
53893 *)
53894 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53895 # A ".." for each directory in $ac_dir_suffix.
53896 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53897 case $ac_top_builddir_sub in
53898 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
53899 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
53900 esac ;;
53901 esac
53902 ac_abs_top_builddir=$ac_pwd
53903 ac_abs_builddir=$ac_pwd$ac_dir_suffix
53904 # for backward compatibility:
53905 ac_top_builddir=$ac_top_build_prefix
53906
53907 case $srcdir in
53908 .) # We are building in place.
53909 ac_srcdir=.
53910 ac_top_srcdir=$ac_top_builddir_sub
53911 ac_abs_top_srcdir=$ac_pwd ;;
53912 [\\/]* | ?:[\\/]* ) # Absolute name.
53913 ac_srcdir=$srcdir$ac_dir_suffix;
53914 ac_top_srcdir=$srcdir
53915 ac_abs_top_srcdir=$srcdir ;;
53916 *) # Relative name.
53917 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
53918 ac_top_srcdir=$ac_top_build_prefix$srcdir
53919 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
53920 esac
53921 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
53922
53923
53924 case $ac_mode in
53925 :F)
53926 #
53927 # CONFIG_FILE
53928 #
53929
53930 case $INSTALL in
53931 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
53932 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
53933 esac
53934 _ACEOF
53935
53936 cat >>$CONFIG_STATUS <<\_ACEOF
53937 # If the template does not know about datarootdir, expand it.
53938 # FIXME: This hack should be removed a few years after 2.60.
53939 ac_datarootdir_hack=; ac_datarootdir_seen=
53940
53941 case `sed -n '/datarootdir/ {
53942 p
53943 q
53944 }
53945 /@datadir@/p
53946 /@docdir@/p
53947 /@infodir@/p
53948 /@localedir@/p
53949 /@mandir@/p
53950 ' $ac_file_inputs` in
53951 *datarootdir*) ac_datarootdir_seen=yes;;
53952 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
53953 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
53954 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
53955 _ACEOF
53956 cat >>$CONFIG_STATUS <<_ACEOF
53957 ac_datarootdir_hack='
53958 s&@datadir@&$datadir&g
53959 s&@docdir@&$docdir&g
53960 s&@infodir@&$infodir&g
53961 s&@localedir@&$localedir&g
53962 s&@mandir@&$mandir&g
53963 s&\\\${datarootdir}&$datarootdir&g' ;;
53964 esac
53965 _ACEOF
53966
53967 # Neutralize VPATH when `$srcdir' = `.'.
53968 # Shell code in configure.ac might set extrasub.
53969 # FIXME: do we really want to maintain this feature?
53970 cat >>$CONFIG_STATUS <<_ACEOF
53971 sed "$ac_vpsub
53972 $extrasub
53973 _ACEOF
53974 cat >>$CONFIG_STATUS <<\_ACEOF
53975 :t
53976 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53977 s&@configure_input@&$configure_input&;t t
53978 s&@top_builddir@&$ac_top_builddir_sub&;t t
53979 s&@srcdir@&$ac_srcdir&;t t
53980 s&@abs_srcdir@&$ac_abs_srcdir&;t t
53981 s&@top_srcdir@&$ac_top_srcdir&;t t
53982 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
53983 s&@builddir@&$ac_builddir&;t t
53984 s&@abs_builddir@&$ac_abs_builddir&;t t
53985 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
53986 s&@INSTALL@&$ac_INSTALL&;t t
53987 $ac_datarootdir_hack
53988 " $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
53989
53990 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
53991 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
53992 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
53993 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
53994 which seems to be undefined. Please make sure it is defined." >&5
53995 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
53996 which seems to be undefined. Please make sure it is defined." >&2;}
53997
53998 rm -f "$tmp/stdin"
53999 case $ac_file in
54000 -) cat "$tmp/out"; rm -f "$tmp/out";;
54001 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54002 esac
54003 ;;
54004 :H)
54005 #
54006 # CONFIG_HEADER
54007 #
54008 _ACEOF
54009
54010 # Transform confdefs.h into a sed script `conftest.defines', that
54011 # substitutes the proper values into config.h.in to produce config.h.
54012 rm -f conftest.defines conftest.tail
54013 # First, append a space to every undef/define line, to ease matching.
54014 echo 's/$/ /' >conftest.defines
54015 # Then, protect against being on the right side of a sed subst, or in
54016 # an unquoted here document, in config.status. If some macros were
54017 # called several times there might be several #defines for the same
54018 # symbol, which is useless. But do not sort them, since the last
54019 # AC_DEFINE must be honored.
54020 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54021 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54022 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54023 # PARAMS is the parameter list in the macro definition--in most cases, it's
54024 # just an empty string.
54025 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54026 ac_dB='\\)[ (].*,\\1define\\2'
54027 ac_dC=' '
54028 ac_dD=' ,'
54029
54030 uniq confdefs.h |
54031 sed -n '
54032 t rset
54033 :rset
54034 s/^[ ]*#[ ]*define[ ][ ]*//
54035 t ok
54036 d
54037 :ok
54038 s/[\\&,]/\\&/g
54039 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54040 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54041 ' >>conftest.defines
54042
54043 # Remove the space that was appended to ease matching.
54044 # Then replace #undef with comments. This is necessary, for
54045 # example, in the case of _POSIX_SOURCE, which is predefined and required
54046 # on some systems where configure will not decide to define it.
54047 # (The regexp can be short, since the line contains either #define or #undef.)
54048 echo 's/ $//
54049 s,^[ #]*u.*,/* & */,' >>conftest.defines
54050
54051 # Break up conftest.defines:
54052 ac_max_sed_lines=50
54053
54054 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54055 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54056 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54057 # et cetera.
54058 ac_in='$ac_file_inputs'
54059 ac_out='"$tmp/out1"'
54060 ac_nxt='"$tmp/out2"'
54061
54062 while :
54063 do
54064 # Write a here document:
54065 cat >>$CONFIG_STATUS <<_ACEOF
54066 # First, check the format of the line:
54067 cat >"\$tmp/defines.sed" <<\\CEOF
54068 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54069 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54070 b
54071 :def
54072 _ACEOF
54073 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54074 echo 'CEOF
54075 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54076 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54077 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54078 grep . conftest.tail >/dev/null || break
54079 rm -f conftest.defines
54080 mv conftest.tail conftest.defines
54081 done
54082 rm -f conftest.defines conftest.tail
54083
54084 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54085 cat >>$CONFIG_STATUS <<\_ACEOF
54086 if test x"$ac_file" != x-; then
54087 echo "/* $configure_input */" >"$tmp/config.h"
54088 cat "$ac_result" >>"$tmp/config.h"
54089 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54090 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54091 echo "$as_me: $ac_file is unchanged" >&6;}
54092 else
54093 rm -f $ac_file
54094 mv "$tmp/config.h" $ac_file
54095 fi
54096 else
54097 echo "/* $configure_input */"
54098 cat "$ac_result"
54099 fi
54100 rm -f "$tmp/out12"
54101 ;;
54102
54103 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54104 echo "$as_me: executing $ac_file commands" >&6;}
54105 ;;
54106 esac
54107
54108
54109 case $ac_file$ac_mode in
54110 "rcdefs.h":C)
54111 mkdir -p $outdir &&
54112 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54113 ;;
54114 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54115 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54116 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
54117 "wx-config":C) rm -f wx-config
54118 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54119 ;;
54120
54121 esac
54122 done # for ac_tag
54123
54124
54125 { (exit 0); exit 0; }
54126 _ACEOF
54127 chmod +x $CONFIG_STATUS
54128 ac_clean_files=$ac_clean_files_save
54129
54130
54131 # configure is writing to config.log, and then calls config.status.
54132 # config.status does its own redirection, appending to config.log.
54133 # Unfortunately, on DOS this fails, as config.log is still kept open
54134 # by configure, so config.status won't be able to write to it; its
54135 # output is simply discarded. So we exec the FD to /dev/null,
54136 # effectively closing config.log, so it can be properly (re)opened and
54137 # appended to by config.status. When coming back to configure, we
54138 # need to make the FD available again.
54139 if test "$no_create" != yes; then
54140 ac_cs_success=:
54141 ac_config_status_args=
54142 test "$silent" = yes &&
54143 ac_config_status_args="$ac_config_status_args --quiet"
54144 exec 5>/dev/null
54145 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54146 exec 5>>config.log
54147 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54148 # would make configure fail if this is the last instruction.
54149 $ac_cs_success || { (exit 1); exit 1; }
54150 fi
54151
54152 #
54153 # CONFIG_SUBDIRS section.
54154 #
54155 if test "$no_recursion" != yes; then
54156
54157 # Remove --cache-file and --srcdir arguments so they do not pile up.
54158 ac_sub_configure_args=
54159 ac_prev=
54160 eval "set x $ac_configure_args"
54161 shift
54162 for ac_arg
54163 do
54164 if test -n "$ac_prev"; then
54165 ac_prev=
54166 continue
54167 fi
54168 case $ac_arg in
54169 -cache-file | --cache-file | --cache-fil | --cache-fi \
54170 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54171 ac_prev=cache_file ;;
54172 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54173 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54174 | --c=*)
54175 ;;
54176 --config-cache | -C)
54177 ;;
54178 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54179 ac_prev=srcdir ;;
54180 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54181 ;;
54182 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54183 ac_prev=prefix ;;
54184 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54185 ;;
54186 *)
54187 case $ac_arg in
54188 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54189 esac
54190 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54191 esac
54192 done
54193
54194 # Always prepend --prefix to ensure using the same prefix
54195 # in subdir configurations.
54196 ac_arg="--prefix=$prefix"
54197 case $ac_arg in
54198 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54199 esac
54200 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54201
54202 # Pass --silent
54203 if test "$silent" = yes; then
54204 ac_sub_configure_args="--silent $ac_sub_configure_args"
54205 fi
54206
54207 ac_popdir=`pwd`
54208 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54209
54210 # Do not complain, so a configure script can configure whichever
54211 # parts of a large source tree are present.
54212 test -d "$srcdir/$ac_dir" || continue
54213
54214 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54215 echo "$as_me:$LINENO: $ac_msg" >&5
54216 echo "$ac_msg" >&6
54217 { as_dir="$ac_dir"
54218 case $as_dir in #(
54219 -*) as_dir=./$as_dir;;
54220 esac
54221 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54222 as_dirs=
54223 while :; do
54224 case $as_dir in #(
54225 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54226 *) as_qdir=$as_dir;;
54227 esac
54228 as_dirs="'$as_qdir' $as_dirs"
54229 as_dir=`$as_dirname -- "$as_dir" ||
54230 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54231 X"$as_dir" : 'X\(//\)[^/]' \| \
54232 X"$as_dir" : 'X\(//\)$' \| \
54233 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54234 echo X"$as_dir" |
54235 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54236 s//\1/
54237 q
54238 }
54239 /^X\(\/\/\)[^/].*/{
54240 s//\1/
54241 q
54242 }
54243 /^X\(\/\/\)$/{
54244 s//\1/
54245 q
54246 }
54247 /^X\(\/\).*/{
54248 s//\1/
54249 q
54250 }
54251 s/.*/./; q'`
54252 test -d "$as_dir" && break
54253 done
54254 test -z "$as_dirs" || eval "mkdir $as_dirs"
54255 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54256 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54257 { (exit 1); exit 1; }; }; }
54258 ac_builddir=.
54259
54260 case "$ac_dir" in
54261 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54262 *)
54263 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54264 # A ".." for each directory in $ac_dir_suffix.
54265 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54266 case $ac_top_builddir_sub in
54267 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54268 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54269 esac ;;
54270 esac
54271 ac_abs_top_builddir=$ac_pwd
54272 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54273 # for backward compatibility:
54274 ac_top_builddir=$ac_top_build_prefix
54275
54276 case $srcdir in
54277 .) # We are building in place.
54278 ac_srcdir=.
54279 ac_top_srcdir=$ac_top_builddir_sub
54280 ac_abs_top_srcdir=$ac_pwd ;;
54281 [\\/]* | ?:[\\/]* ) # Absolute name.
54282 ac_srcdir=$srcdir$ac_dir_suffix;
54283 ac_top_srcdir=$srcdir
54284 ac_abs_top_srcdir=$srcdir ;;
54285 *) # Relative name.
54286 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54287 ac_top_srcdir=$ac_top_build_prefix$srcdir
54288 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54289 esac
54290 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54291
54292
54293 cd "$ac_dir"
54294
54295 # Check for guested configure; otherwise get Cygnus style configure.
54296 if test -f "$ac_srcdir/configure.gnu"; then
54297 ac_sub_configure=$ac_srcdir/configure.gnu
54298 elif test -f "$ac_srcdir/configure"; then
54299 ac_sub_configure=$ac_srcdir/configure
54300 elif test -f "$ac_srcdir/configure.in"; then
54301 # This should be Cygnus configure.
54302 ac_sub_configure=$ac_aux_dir/configure
54303 else
54304 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54305 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54306 ac_sub_configure=
54307 fi
54308
54309 # The recursion is here.
54310 if test -n "$ac_sub_configure"; then
54311 # Make the cache file name correct relative to the subdirectory.
54312 case $cache_file in
54313 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54314 *) # Relative name.
54315 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54316 esac
54317
54318 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54319 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54320 # The eval makes quoting arguments work.
54321 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54322 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54323 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54324 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54325 { (exit 1); exit 1; }; }
54326 fi
54327
54328 cd "$ac_popdir"
54329 done
54330 fi
54331
54332
54333 echo
54334 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54335 echo ""
54336 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54337 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54338 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54339 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54340 if test "$wxUSE_UNICODE" = "yes"; then
54341 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54342 echo " (using UTF-8)"
54343 else
54344 echo " (using wchar_t)"
54345 fi
54346 else
54347 echo
54348 fi
54349
54350 echo " What level of wxWidgets compatibility should be enabled?"
54351 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54352 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54353
54354 echo " Which libraries should wxWidgets use?"
54355 echo " STL ${wxUSE_STL}"
54356 echo " jpeg ${wxUSE_LIBJPEG-none}"
54357 echo " png ${wxUSE_LIBPNG-none}"
54358 echo " regex ${wxUSE_REGEX}"
54359 echo " tiff ${wxUSE_LIBTIFF-none}"
54360 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54361 echo " xpm ${wxUSE_LIBXPM-none}"
54362 fi
54363 echo " zlib ${wxUSE_ZLIB}"
54364 echo " expat ${wxUSE_EXPAT}"
54365 echo " libmspack ${wxUSE_LIBMSPACK}"
54366 echo " sdl ${wxUSE_LIBSDL}"
54367
54368 echo ""
54369