]> git.saurik.com Git - wxWidgets.git/blob - configure
Properly implement Cleared() by calling row_deleted on every child of root, fixes...
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.2.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.2'
579 PACKAGE_STRING='wxWidgets 2.9.2'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 wx_top_builddir
665 CC
666 CFLAGS
667 LDFLAGS
668 CPPFLAGS
669 ac_ct_CC
670 EXEEXT
671 OBJEXT
672 CPP
673 GREP
674 EGREP
675 CXX
676 CXXFLAGS
677 ac_ct_CXX
678 AR
679 OSX_SW_VERS
680 CXXCPP
681 subdirs
682 PKG_CONFIG
683 GTK_CFLAGS
684 GTK_LIBS
685 GTK_CONFIG
686 DIRECTFB_CFLAGS
687 DIRECTFB_LIBS
688 XMKMF
689 X_CFLAGS
690 X_PRE_LIBS
691 X_LIBS
692 X_EXTRA_LIBS
693 PANGOX_CFLAGS
694 PANGOX_LIBS
695 PANGOFT2_CFLAGS
696 PANGOFT2_LIBS
697 PANGOXFT_CFLAGS
698 PANGOXFT_LIBS
699 CFLAGS_VISIBILITY
700 CXXFLAGS_VISIBILITY
701 LIBICONV
702 GXX_VERSION
703 SDL_CONFIG
704 SDL_CFLAGS
705 SDL_LIBS
706 GTKPRINT_CFLAGS
707 GTKPRINT_LIBS
708 LIBGNOMEPRINTUI_CFLAGS
709 LIBGNOMEPRINTUI_LIBS
710 GNOMEVFS_CFLAGS
711 GNOMEVFS_LIBS
712 HILDON_CFLAGS
713 HILDON_LIBS
714 HILDON2_CFLAGS
715 HILDON2_LIBS
716 PYTHON
717 COND_PYTHON
718 CAIRO_CFLAGS
719 CAIRO_LIBS
720 GST_CFLAGS
721 GST_LIBS
722 ALL_WX_LIBS
723 BUILT_WX_LIBS
724 STD_BASE_LIBS
725 STD_GUI_LIBS
726 wxUSE_ZLIB
727 wxUSE_REGEX
728 wxUSE_EXPAT
729 wxUSE_LIBJPEG
730 wxUSE_LIBPNG
731 wxUSE_LIBTIFF
732 VENDOR
733 OFFICIAL_BUILD
734 WX_FLAVOUR
735 WX_LIB_FLAVOUR
736 WXUNIV
737 MONOLITHIC
738 USE_PLUGINS
739 CXXWARNINGS
740 EXTRALIBS
741 EXTRALIBS_XML
742 EXTRALIBS_HTML
743 EXTRALIBS_MEDIA
744 EXTRALIBS_GUI
745 EXTRALIBS_OPENGL
746 EXTRALIBS_SDL
747 EXTRALIBS_STC
748 WITH_PLUGIN_SDL
749 EXTRALIBS_GTKPRINT
750 EXTRALIBS_GNOMEPRINT
751 EXTRALIBS_GNOMEVFS
752 EXTRALIBS_HILDON
753 UNICODE
754 DEBUG_INFO
755 DEBUG_FLAG
756 TOOLKIT_LOWERCASE
757 TOOLKIT_VERSION
758 DYLIB_RPATH_INSTALL
759 DYLIB_RPATH_POSTLINK
760 SAMPLES_RPATH_FLAG
761 HEADER_PAD_OPTION
762 HOST_SUFFIX
763 CPPUNIT_CFLAGS
764 CPPUNIT_LIBS
765 RANLIB
766 INSTALL_PROGRAM
767 INSTALL_SCRIPT
768 INSTALL_DATA
769 LN_S
770 SET_MAKE
771 MAKE_SET
772 AROPTIONS
773 STRIP
774 NM
775 INSTALL_DIR
776 LDFLAGS_GUI
777 IF_GNU_MAKE
778 PLATFORM_UNIX
779 PLATFORM_WIN32
780 PLATFORM_MSDOS
781 PLATFORM_MAC
782 PLATFORM_MACOS
783 PLATFORM_MACOSX
784 PLATFORM_OS2
785 PLATFORM_BEOS
786 SO_SUFFIX
787 SO_SUFFIX_MODULE
788 DLLIMP_SUFFIX
789 LIBPREFIX
790 LIBEXT
791 DLLPREFIX
792 DLLPREFIX_MODULE
793 dlldir
794 AIX_CXX_LD
795 SHARED_LD_CC
796 SHARED_LD_CXX
797 SHARED_LD_MODULE_CC
798 SHARED_LD_MODULE_CXX
799 PIC_FLAG
800 WINDOWS_IMPLIB
801 USE_SOVERSION
802 USE_SOVERLINUX
803 USE_SOVERSOLARIS
804 USE_SOVERCYGWIN
805 USE_MACVERSION
806 USE_SOTWOSYMLINKS
807 SONAME_FLAG
808 DEPS_TRACKING
809 BK_DEPS
810 WINDRES
811 REZ
812 SETFILE
813 OBJCXXFLAGS
814 GCC_PCH
815 ICC_PCH
816 ICC_PCH_CREATE_SWITCH
817 ICC_PCH_USE_SWITCH
818 BK_MAKE_PCH
819 COND_BUILD_DEBUG
820 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
821 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
822 COND_BUILD_DEBUG_UNICODE_0
823 COND_BUILD_DEBUG_UNICODE_1
824 COND_BUILD_RELEASE
825 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
826 COND_BUILD_RELEASE_UNICODE_0
827 COND_BUILD_RELEASE_UNICODE_1
828 COND_BUILD_debug
829 COND_BUILD_debug_DEBUG_FLAG_default
830 COND_BUILD_debug_DEBUG_INFO_default
831 COND_BUILD_debug_UNICODE_0
832 COND_BUILD_debug_UNICODE_1
833 COND_BUILD_release
834 COND_BUILD_release_DEBUG_INFO_default
835 COND_BUILD_release_UNICODE_0
836 COND_BUILD_release_UNICODE_1
837 COND_DEBUG_FLAG_0
838 COND_DEBUG_FLAG_1
839 COND_DEBUG_INFO_0
840 COND_DEBUG_INFO_1
841 COND_DEPS_TRACKING_0
842 COND_DEPS_TRACKING_1
843 COND_GCC_PCH_1
844 COND_ICC_PCH_1
845 COND_MONOLITHIC_0
846 COND_MONOLITHIC_0_SHARED_0
847 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
850 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
851 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
852 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
853 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
854 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
855 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
856 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
857 COND_MONOLITHIC_0_SHARED_1
858 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
861 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
862 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
863 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
864 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
865 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
866 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
867 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
868 COND_MONOLITHIC_0_USE_AUI_1
869 COND_MONOLITHIC_0_USE_GUI_1
870 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
871 COND_MONOLITHIC_0_USE_HTML_1
872 COND_MONOLITHIC_0_USE_MEDIA_1
873 COND_MONOLITHIC_0_USE_PROPGRID_1
874 COND_MONOLITHIC_0_USE_QA_1
875 COND_MONOLITHIC_0_USE_RIBBON_1
876 COND_MONOLITHIC_0_USE_RICHTEXT_1
877 COND_MONOLITHIC_0_USE_STC_1
878 COND_MONOLITHIC_0_USE_XRC_1
879 COND_MONOLITHIC_1
880 COND_MONOLITHIC_1_SHARED_0
881 COND_MONOLITHIC_1_SHARED_1
882 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
883 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
884 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
885 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
886 COND_PLATFORM_MACOSX_1
887 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
888 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
889 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
890 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
891 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
892 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
893 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
894 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
895 COND_PLATFORM_MACOSX_1_USE_GUI_1
896 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
897 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
898 COND_PLATFORM_MACOS_1
899 COND_PLATFORM_MAC_0
900 COND_PLATFORM_MAC_1
901 COND_PLATFORM_MSDOS_0
902 COND_PLATFORM_MSDOS_1
903 COND_PLATFORM_OS2_1
904 COND_PLATFORM_UNIX_0
905 COND_PLATFORM_UNIX_1
906 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
907 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
908 COND_PLATFORM_UNIX_1_USE_GUI_1
909 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
910 COND_PLATFORM_WIN32_0
911 COND_PLATFORM_WIN32_1
912 COND_PLATFORM_WIN32_1_SHARED_0
913 COND_SHARED_0
914 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
915 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
916 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
917 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
918 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
919 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
920 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
921 COND_SHARED_0_USE_STC_1
922 COND_SHARED_0_wxUSE_EXPAT_builtin
923 COND_SHARED_0_wxUSE_REGEX_builtin
924 COND_SHARED_0_wxUSE_ZLIB_builtin
925 COND_SHARED_1
926 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
927 COND_TOOLKIT_
928 COND_TOOLKIT_COCOA
929 COND_TOOLKIT_COCOA_USE_GUI_1
930 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_DFB
932 COND_TOOLKIT_DFB_USE_GUI_1
933 COND_TOOLKIT_GTK
934 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
935 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
936 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
937 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
938 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
939 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_GTK_USE_GUI_1
941 COND_TOOLKIT_MAC
942 COND_TOOLKIT_MGL
943 COND_TOOLKIT_MGL_USE_GUI_1
944 COND_TOOLKIT_MOTIF
945 COND_TOOLKIT_MOTIF_USE_GUI_1
946 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
947 COND_TOOLKIT_MSW
948 COND_TOOLKIT_MSW_USE_GUI_1
949 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
950 COND_TOOLKIT_MSW_WXUNIV_0
951 COND_TOOLKIT_OSX_CARBON
952 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
953 COND_TOOLKIT_OSX_COCOA
954 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
955 COND_TOOLKIT_OSX_IPHONE
956 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
957 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
958 COND_TOOLKIT_PM
959 COND_TOOLKIT_PM_USE_GUI_1
960 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
961 COND_TOOLKIT_WINCE
962 COND_TOOLKIT_WINCE_USE_GUI_1
963 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
964 COND_TOOLKIT_WINCE_WXUNIV_0
965 COND_TOOLKIT_X11
966 COND_TOOLKIT_X11_USE_GUI_1
967 COND_UNICODE_1
968 COND_USE_CAIRO_1
969 COND_USE_EXCEPTIONS_0
970 COND_USE_EXCEPTIONS_1
971 COND_USE_GUI_0
972 COND_USE_GUI_1
973 COND_USE_GUI_1_USE_OPENGL_1
974 COND_USE_GUI_1_WXUNIV_0
975 COND_USE_GUI_1_WXUNIV_1
976 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
977 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
978 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
979 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
980 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
981 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
982 COND_USE_OPENGL_1
983 COND_USE_PCH_1
984 COND_USE_PLUGINS_0
985 COND_USE_RTTI_0
986 COND_USE_RTTI_1
987 COND_USE_SOTWOSYMLINKS_1
988 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
989 COND_USE_SOVERLINUX_1
990 COND_USE_SOVERSION_0
991 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
992 COND_USE_SOVERSOLARIS_1
993 COND_USE_STC_1
994 COND_USE_THREADS_0
995 COND_USE_THREADS_1
996 COND_USE_XRC_1
997 COND_WINDOWS_IMPLIB_1
998 COND_WITH_PLUGIN_SDL_1
999 COND_WXUNIV_0
1000 COND_WXUNIV_1
1001 COND_WXUSE_EXPAT_BUILTIN
1002 COND_WXUSE_LIBJPEG_BUILTIN
1003 COND_WXUSE_LIBPNG_BUILTIN
1004 COND_WXUSE_LIBTIFF_BUILTIN
1005 COND_WXUSE_REGEX_BUILTIN
1006 COND_WXUSE_ZLIB_BUILTIN
1007 COND_wxUSE_EXPAT_builtin
1008 COND_wxUSE_LIBJPEG_builtin
1009 COND_wxUSE_LIBPNG_builtin
1010 COND_wxUSE_LIBTIFF_builtin
1011 COND_wxUSE_REGEX_builtin
1012 COND_wxUSE_ZLIB_builtin
1013 DEREZ
1014 SHARED
1015 WX_LIBRARY_BASENAME_NOGUI
1016 WX_LIBRARY_BASENAME_GUI
1017 USE_GUI
1018 AFMINSTALL
1019 WIN32INSTALL
1020 TOOLKIT
1021 TOOLKIT_DIR
1022 TOOLCHAIN_NAME
1023 TOOLCHAIN_FULLNAME
1024 cross_compiling
1025 WIDGET_SET
1026 WX_RELEASE
1027 WX_VERSION
1028 WX_SUBVERSION
1029 WX_CHARTYPE
1030 WXCONFIG_CPPFLAGS
1031 WXCONFIG_CFLAGS
1032 WXCONFIG_CXXFLAGS
1033 WXCONFIG_LIBS
1034 WXCONFIG_RPATH
1035 WXCONFIG_LDFLAGS
1036 WXCONFIG_LDFLAGS_GUI
1037 WXCONFIG_RESFLAGS
1038 GUIDIST
1039 DISTDIR
1040 SAMPLES_SUBDIRS
1041 LDFLAGS_GL
1042 OPENGL_LIBS
1043 DMALLOC_LIBS
1044 WX_VERSION_TAG
1045 RESCOMP
1046 RESFLAGS
1047 RESPROGRAMOBJ
1048 WX_RESOURCES_MACOSX_ASCII
1049 WX_RESOURCES_MACOSX_DATA
1050 LIBWXMACRES
1051 POSTLINK_COMMAND
1052 MACSETFILE
1053 GCC
1054 DLLTOOL
1055 CPPUNIT_CONFIG
1056 LIBOBJS
1057 LTLIBOBJS'
1058 ac_subst_files=''
1059 ac_precious_vars='build_alias
1060 host_alias
1061 target_alias
1062 CC
1063 CFLAGS
1064 LDFLAGS
1065 LIBS
1066 CPPFLAGS
1067 CPP
1068 CXX
1069 CXXFLAGS
1070 CCC
1071 CXXCPP
1072 PKG_CONFIG
1073 DIRECTFB_CFLAGS
1074 DIRECTFB_LIBS
1075 XMKMF
1076 PANGOX_CFLAGS
1077 PANGOX_LIBS
1078 PANGOFT2_CFLAGS
1079 PANGOFT2_LIBS
1080 PANGOXFT_CFLAGS
1081 PANGOXFT_LIBS
1082 GTKPRINT_CFLAGS
1083 GTKPRINT_LIBS
1084 LIBGNOMEPRINTUI_CFLAGS
1085 LIBGNOMEPRINTUI_LIBS
1086 GNOMEVFS_CFLAGS
1087 GNOMEVFS_LIBS
1088 HILDON_CFLAGS
1089 HILDON_LIBS
1090 HILDON2_CFLAGS
1091 HILDON2_LIBS
1092 CAIRO_CFLAGS
1093 CAIRO_LIBS
1094 GST_CFLAGS
1095 GST_LIBS'
1096 ac_subdirs_all='src/tiff
1097 src/expat'
1098
1099 # Initialize some variables set by options.
1100 ac_init_help=
1101 ac_init_version=false
1102 # The variables have the same names as the options, with
1103 # dashes changed to underlines.
1104 cache_file=/dev/null
1105 exec_prefix=NONE
1106 no_create=
1107 no_recursion=
1108 prefix=NONE
1109 program_prefix=NONE
1110 program_suffix=NONE
1111 program_transform_name=s,x,x,
1112 silent=
1113 site=
1114 srcdir=
1115 verbose=
1116 x_includes=NONE
1117 x_libraries=NONE
1118
1119 # Installation directory options.
1120 # These are left unexpanded so users can "make install exec_prefix=/foo"
1121 # and all the variables that are supposed to be based on exec_prefix
1122 # by default will actually change.
1123 # Use braces instead of parens because sh, perl, etc. also accept them.
1124 # (The list follows the same order as the GNU Coding Standards.)
1125 bindir='${exec_prefix}/bin'
1126 sbindir='${exec_prefix}/sbin'
1127 libexecdir='${exec_prefix}/libexec'
1128 datarootdir='${prefix}/share'
1129 datadir='${datarootdir}'
1130 sysconfdir='${prefix}/etc'
1131 sharedstatedir='${prefix}/com'
1132 localstatedir='${prefix}/var'
1133 includedir='${prefix}/include'
1134 oldincludedir='/usr/include'
1135 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1136 infodir='${datarootdir}/info'
1137 htmldir='${docdir}'
1138 dvidir='${docdir}'
1139 pdfdir='${docdir}'
1140 psdir='${docdir}'
1141 libdir='${exec_prefix}/lib'
1142 localedir='${datarootdir}/locale'
1143 mandir='${datarootdir}/man'
1144
1145 ac_prev=
1146 ac_dashdash=
1147 for ac_option
1148 do
1149 # If the previous option needs an argument, assign it.
1150 if test -n "$ac_prev"; then
1151 eval $ac_prev=\$ac_option
1152 ac_prev=
1153 continue
1154 fi
1155
1156 case $ac_option in
1157 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1158 *) ac_optarg=yes ;;
1159 esac
1160
1161 # Accept the important Cygnus configure options, so we can diagnose typos.
1162
1163 case $ac_dashdash$ac_option in
1164 --)
1165 ac_dashdash=yes ;;
1166
1167 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1168 ac_prev=bindir ;;
1169 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1170 bindir=$ac_optarg ;;
1171
1172 -build | --build | --buil | --bui | --bu)
1173 ac_prev=build_alias ;;
1174 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1175 build_alias=$ac_optarg ;;
1176
1177 -cache-file | --cache-file | --cache-fil | --cache-fi \
1178 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1179 ac_prev=cache_file ;;
1180 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1181 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1182 cache_file=$ac_optarg ;;
1183
1184 --config-cache | -C)
1185 cache_file=config.cache ;;
1186
1187 -datadir | --datadir | --datadi | --datad)
1188 ac_prev=datadir ;;
1189 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1190 datadir=$ac_optarg ;;
1191
1192 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1193 | --dataroo | --dataro | --datar)
1194 ac_prev=datarootdir ;;
1195 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1196 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1197 datarootdir=$ac_optarg ;;
1198
1199 -disable-* | --disable-*)
1200 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1201 # Reject names that are not valid shell variable names.
1202 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1203 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1204 { (exit 1); exit 1; }; }
1205 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1206 eval enable_$ac_feature=no ;;
1207
1208 -docdir | --docdir | --docdi | --doc | --do)
1209 ac_prev=docdir ;;
1210 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1211 docdir=$ac_optarg ;;
1212
1213 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1214 ac_prev=dvidir ;;
1215 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1216 dvidir=$ac_optarg ;;
1217
1218 -enable-* | --enable-*)
1219 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1220 # Reject names that are not valid shell variable names.
1221 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1222 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1223 { (exit 1); exit 1; }; }
1224 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1225 eval enable_$ac_feature=\$ac_optarg ;;
1226
1227 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1228 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1229 | --exec | --exe | --ex)
1230 ac_prev=exec_prefix ;;
1231 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1232 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1233 | --exec=* | --exe=* | --ex=*)
1234 exec_prefix=$ac_optarg ;;
1235
1236 -gas | --gas | --ga | --g)
1237 # Obsolete; use --with-gas.
1238 with_gas=yes ;;
1239
1240 -help | --help | --hel | --he | -h)
1241 ac_init_help=long ;;
1242 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1243 ac_init_help=recursive ;;
1244 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1245 ac_init_help=short ;;
1246
1247 -host | --host | --hos | --ho)
1248 ac_prev=host_alias ;;
1249 -host=* | --host=* | --hos=* | --ho=*)
1250 host_alias=$ac_optarg ;;
1251
1252 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1253 ac_prev=htmldir ;;
1254 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1255 | --ht=*)
1256 htmldir=$ac_optarg ;;
1257
1258 -includedir | --includedir | --includedi | --included | --include \
1259 | --includ | --inclu | --incl | --inc)
1260 ac_prev=includedir ;;
1261 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1262 | --includ=* | --inclu=* | --incl=* | --inc=*)
1263 includedir=$ac_optarg ;;
1264
1265 -infodir | --infodir | --infodi | --infod | --info | --inf)
1266 ac_prev=infodir ;;
1267 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1268 infodir=$ac_optarg ;;
1269
1270 -libdir | --libdir | --libdi | --libd)
1271 ac_prev=libdir ;;
1272 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1273 libdir=$ac_optarg ;;
1274
1275 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1276 | --libexe | --libex | --libe)
1277 ac_prev=libexecdir ;;
1278 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1279 | --libexe=* | --libex=* | --libe=*)
1280 libexecdir=$ac_optarg ;;
1281
1282 -localedir | --localedir | --localedi | --localed | --locale)
1283 ac_prev=localedir ;;
1284 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1285 localedir=$ac_optarg ;;
1286
1287 -localstatedir | --localstatedir | --localstatedi | --localstated \
1288 | --localstate | --localstat | --localsta | --localst | --locals)
1289 ac_prev=localstatedir ;;
1290 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1291 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1292 localstatedir=$ac_optarg ;;
1293
1294 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1295 ac_prev=mandir ;;
1296 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1297 mandir=$ac_optarg ;;
1298
1299 -nfp | --nfp | --nf)
1300 # Obsolete; use --without-fp.
1301 with_fp=no ;;
1302
1303 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1304 | --no-cr | --no-c | -n)
1305 no_create=yes ;;
1306
1307 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1308 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1309 no_recursion=yes ;;
1310
1311 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1312 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1313 | --oldin | --oldi | --old | --ol | --o)
1314 ac_prev=oldincludedir ;;
1315 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1316 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1317 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1318 oldincludedir=$ac_optarg ;;
1319
1320 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1321 ac_prev=prefix ;;
1322 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1323 prefix=$ac_optarg ;;
1324
1325 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1326 | --program-pre | --program-pr | --program-p)
1327 ac_prev=program_prefix ;;
1328 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1329 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1330 program_prefix=$ac_optarg ;;
1331
1332 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1333 | --program-suf | --program-su | --program-s)
1334 ac_prev=program_suffix ;;
1335 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1336 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1337 program_suffix=$ac_optarg ;;
1338
1339 -program-transform-name | --program-transform-name \
1340 | --program-transform-nam | --program-transform-na \
1341 | --program-transform-n | --program-transform- \
1342 | --program-transform | --program-transfor \
1343 | --program-transfo | --program-transf \
1344 | --program-trans | --program-tran \
1345 | --progr-tra | --program-tr | --program-t)
1346 ac_prev=program_transform_name ;;
1347 -program-transform-name=* | --program-transform-name=* \
1348 | --program-transform-nam=* | --program-transform-na=* \
1349 | --program-transform-n=* | --program-transform-=* \
1350 | --program-transform=* | --program-transfor=* \
1351 | --program-transfo=* | --program-transf=* \
1352 | --program-trans=* | --program-tran=* \
1353 | --progr-tra=* | --program-tr=* | --program-t=*)
1354 program_transform_name=$ac_optarg ;;
1355
1356 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1357 ac_prev=pdfdir ;;
1358 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1359 pdfdir=$ac_optarg ;;
1360
1361 -psdir | --psdir | --psdi | --psd | --ps)
1362 ac_prev=psdir ;;
1363 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1364 psdir=$ac_optarg ;;
1365
1366 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1367 | -silent | --silent | --silen | --sile | --sil)
1368 silent=yes ;;
1369
1370 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1371 ac_prev=sbindir ;;
1372 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1373 | --sbi=* | --sb=*)
1374 sbindir=$ac_optarg ;;
1375
1376 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1377 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1378 | --sharedst | --shareds | --shared | --share | --shar \
1379 | --sha | --sh)
1380 ac_prev=sharedstatedir ;;
1381 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1382 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1383 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1384 | --sha=* | --sh=*)
1385 sharedstatedir=$ac_optarg ;;
1386
1387 -site | --site | --sit)
1388 ac_prev=site ;;
1389 -site=* | --site=* | --sit=*)
1390 site=$ac_optarg ;;
1391
1392 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1393 ac_prev=srcdir ;;
1394 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1395 srcdir=$ac_optarg ;;
1396
1397 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1398 | --syscon | --sysco | --sysc | --sys | --sy)
1399 ac_prev=sysconfdir ;;
1400 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1401 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1402 sysconfdir=$ac_optarg ;;
1403
1404 -target | --target | --targe | --targ | --tar | --ta | --t)
1405 ac_prev=target_alias ;;
1406 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1407 target_alias=$ac_optarg ;;
1408
1409 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1410 verbose=yes ;;
1411
1412 -version | --version | --versio | --versi | --vers | -V)
1413 ac_init_version=: ;;
1414
1415 -with-* | --with-*)
1416 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1417 # Reject names that are not valid shell variable names.
1418 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1419 { echo "$as_me: error: invalid package name: $ac_package" >&2
1420 { (exit 1); exit 1; }; }
1421 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1422 eval with_$ac_package=\$ac_optarg ;;
1423
1424 -without-* | --without-*)
1425 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1426 # Reject names that are not valid shell variable names.
1427 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1428 { echo "$as_me: error: invalid package name: $ac_package" >&2
1429 { (exit 1); exit 1; }; }
1430 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1431 eval with_$ac_package=no ;;
1432
1433 --x)
1434 # Obsolete; use --with-x.
1435 with_x=yes ;;
1436
1437 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1438 | --x-incl | --x-inc | --x-in | --x-i)
1439 ac_prev=x_includes ;;
1440 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1441 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1442 x_includes=$ac_optarg ;;
1443
1444 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1445 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1446 ac_prev=x_libraries ;;
1447 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1448 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1449 x_libraries=$ac_optarg ;;
1450
1451 -*) { echo "$as_me: error: unrecognized option: $ac_option
1452 Try \`$0 --help' for more information." >&2
1453 { (exit 1); exit 1; }; }
1454 ;;
1455
1456 *=*)
1457 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1458 # Reject names that are not valid shell variable names.
1459 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1460 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1461 { (exit 1); exit 1; }; }
1462 eval $ac_envvar=\$ac_optarg
1463 export $ac_envvar ;;
1464
1465 *)
1466 # FIXME: should be removed in autoconf 3.0.
1467 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1468 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1469 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1470 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1471 ;;
1472
1473 esac
1474 done
1475
1476 if test -n "$ac_prev"; then
1477 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1478 { echo "$as_me: error: missing argument to $ac_option" >&2
1479 { (exit 1); exit 1; }; }
1480 fi
1481
1482 # Be sure to have absolute directory names.
1483 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1484 datadir sysconfdir sharedstatedir localstatedir includedir \
1485 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1486 libdir localedir mandir
1487 do
1488 eval ac_val=\$$ac_var
1489 case $ac_val in
1490 [\\/$]* | ?:[\\/]* ) continue;;
1491 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1492 esac
1493 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1494 { (exit 1); exit 1; }; }
1495 done
1496
1497 # There might be people who depend on the old broken behavior: `$host'
1498 # used to hold the argument of --host etc.
1499 # FIXME: To remove some day.
1500 build=$build_alias
1501 host=$host_alias
1502 target=$target_alias
1503
1504 # FIXME: To remove some day.
1505 if test "x$host_alias" != x; then
1506 if test "x$build_alias" = x; then
1507 cross_compiling=maybe
1508 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1509 If a cross compiler is detected then cross compile mode will be used." >&2
1510 elif test "x$build_alias" != "x$host_alias"; then
1511 cross_compiling=yes
1512 fi
1513 fi
1514
1515 ac_tool_prefix=
1516 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1517
1518 test "$silent" = yes && exec 6>/dev/null
1519
1520
1521 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1522 ac_ls_di=`ls -di .` &&
1523 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1524 { echo "$as_me: error: Working directory cannot be determined" >&2
1525 { (exit 1); exit 1; }; }
1526 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1527 { echo "$as_me: error: pwd does not report name of working directory" >&2
1528 { (exit 1); exit 1; }; }
1529
1530
1531 # Find the source files, if location was not specified.
1532 if test -z "$srcdir"; then
1533 ac_srcdir_defaulted=yes
1534 # Try the directory containing this script, then the parent directory.
1535 ac_confdir=`$as_dirname -- "$0" ||
1536 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1537 X"$0" : 'X\(//\)[^/]' \| \
1538 X"$0" : 'X\(//\)$' \| \
1539 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1540 echo X"$0" |
1541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1542 s//\1/
1543 q
1544 }
1545 /^X\(\/\/\)[^/].*/{
1546 s//\1/
1547 q
1548 }
1549 /^X\(\/\/\)$/{
1550 s//\1/
1551 q
1552 }
1553 /^X\(\/\).*/{
1554 s//\1/
1555 q
1556 }
1557 s/.*/./; q'`
1558 srcdir=$ac_confdir
1559 if test ! -r "$srcdir/$ac_unique_file"; then
1560 srcdir=..
1561 fi
1562 else
1563 ac_srcdir_defaulted=no
1564 fi
1565 if test ! -r "$srcdir/$ac_unique_file"; then
1566 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1567 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1568 { (exit 1); exit 1; }; }
1569 fi
1570 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1571 ac_abs_confdir=`(
1572 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1573 { (exit 1); exit 1; }; }
1574 pwd)`
1575 # When building in place, set srcdir=.
1576 if test "$ac_abs_confdir" = "$ac_pwd"; then
1577 srcdir=.
1578 fi
1579 # Remove unnecessary trailing slashes from srcdir.
1580 # Double slashes in file names in object file debugging info
1581 # mess up M-x gdb in Emacs.
1582 case $srcdir in
1583 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1584 esac
1585 for ac_var in $ac_precious_vars; do
1586 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1587 eval ac_env_${ac_var}_value=\$${ac_var}
1588 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1589 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1590 done
1591
1592 #
1593 # Report the --help message.
1594 #
1595 if test "$ac_init_help" = "long"; then
1596 # Omit some internal or obsolete options to make the list less imposing.
1597 # This message is too long to be a string in the A/UX 3.1 sh.
1598 cat <<_ACEOF
1599 \`configure' configures wxWidgets 2.9.2 to adapt to many kinds of systems.
1600
1601 Usage: $0 [OPTION]... [VAR=VALUE]...
1602
1603 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1604 VAR=VALUE. See below for descriptions of some of the useful variables.
1605
1606 Defaults for the options are specified in brackets.
1607
1608 Configuration:
1609 -h, --help display this help and exit
1610 --help=short display options specific to this package
1611 --help=recursive display the short help of all the included packages
1612 -V, --version display version information and exit
1613 -q, --quiet, --silent do not print \`checking...' messages
1614 --cache-file=FILE cache test results in FILE [disabled]
1615 -C, --config-cache alias for \`--cache-file=config.cache'
1616 -n, --no-create do not create output files
1617 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1618
1619 Installation directories:
1620 --prefix=PREFIX install architecture-independent files in PREFIX
1621 [$ac_default_prefix]
1622 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1623 [PREFIX]
1624
1625 By default, \`make install' will install all the files in
1626 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1627 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1628 for instance \`--prefix=\$HOME'.
1629
1630 For better control, use the options below.
1631
1632 Fine tuning of the installation directories:
1633 --bindir=DIR user executables [EPREFIX/bin]
1634 --sbindir=DIR system admin executables [EPREFIX/sbin]
1635 --libexecdir=DIR program executables [EPREFIX/libexec]
1636 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1637 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1638 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1639 --libdir=DIR object code libraries [EPREFIX/lib]
1640 --includedir=DIR C header files [PREFIX/include]
1641 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1642 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1643 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1644 --infodir=DIR info documentation [DATAROOTDIR/info]
1645 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1646 --mandir=DIR man documentation [DATAROOTDIR/man]
1647 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1648 --htmldir=DIR html documentation [DOCDIR]
1649 --dvidir=DIR dvi documentation [DOCDIR]
1650 --pdfdir=DIR pdf documentation [DOCDIR]
1651 --psdir=DIR ps documentation [DOCDIR]
1652 _ACEOF
1653
1654 cat <<\_ACEOF
1655
1656 X features:
1657 --x-includes=DIR X include files are in DIR
1658 --x-libraries=DIR X library files are in DIR
1659
1660 System types:
1661 --build=BUILD configure for building on BUILD [guessed]
1662 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1663 _ACEOF
1664 fi
1665
1666 if test -n "$ac_init_help"; then
1667 case $ac_init_help in
1668 short | recursive ) echo "Configuration of wxWidgets 2.9.2:";;
1669 esac
1670 cat <<\_ACEOF
1671
1672 Optional Features:
1673 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1674 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1675 --disable-gui don't build GUI parts of the library
1676 --enable-monolithic build wxWidgets as single library
1677 --enable-plugins build parts of wxWidgets as loadable components
1678 --enable-official_build official build of wxWidgets (win32 DLL only)
1679 --enable-vendor=VENDOR vendor name (win32 DLL only)
1680 --disable-all-features disable all optional features to build minimal library
1681 --enable-universal use wxWidgets GUI controls instead of native ones
1682 --enable-nanox use NanoX
1683 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1684 --enable-gpe use GNOME PDA Environment features if possible
1685 --enable-debug build library for debugging
1686 --disable-debug_flag disable all debugging support
1687 --enable-debug_info generate debug information
1688 --enable-debug_gdb create code with extra GDB debugging information
1689 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
1690 --enable-mem_tracing obsolete, don't use: create code with memory tracing
1691 --disable-shared create static library instead of shared
1692 --enable-stl use STL for containers
1693 --enable-std_iostreams use standard C++ stream classes
1694 --enable-std_string use standard C++ string classes
1695 --disable-unicode compile without Unicode support
1696 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1697 --enable-utf8 use UTF-8 representation for strings (Unix only)
1698 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1699 --enable-extended_rtti use extended RTTI (XTI)
1700 --enable-omf use OMF object format
1701 --disable-optimise compile without optimisations
1702 --enable-profile create code with profiling information
1703 --enable-no_rtti create code without RTTI information
1704 --enable-no_exceptions create code without C++ exceptions handling
1705 --enable-permissive compile code disregarding strict ANSI
1706 --enable-no_deps create code without dependency information
1707 --disable-vararg_macros don't use vararg macros, even if they are supported
1708 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1709 --enable-compat26 enable wxWidgets 2.6 compatibility
1710 --disable-compat28 disable wxWidgets 2.8 compatibility
1711 --disable-rpath disable use of rpath for uninstalled builds
1712 --enable-objc_uniquifying enable Objective-C class name uniquifying
1713 --disable-visibility disable use of ELF symbols visibility even if supported
1714 --disable-tls disable use of compiler TLS support
1715 --enable-intl use internationalization system
1716 --enable-xlocale use x-locale support (requires wxLocale)
1717 --enable-config use wxConfig (and derived) classes
1718 --enable-protocols use wxProtocol and derived classes
1719 --enable-ftp use wxFTP (requires wxProtocol
1720 --enable-http use wxHTTP (requires wxProtocol
1721 --enable-fileproto use wxFileProto class (requires wxProtocol
1722 --enable-sockets use socket/network classes
1723 --enable-ipv6 enable IPv6 support in wxSocket
1724 --enable-ole use OLE classes (Win32 only)
1725 --enable-dataobj use data object classes
1726 --enable-ipc use interprocess communication (wxSocket etc.)
1727 --enable-baseevtloop use event loop in console programs too
1728 --enable-epollloop use wxEpollDispatcher class (Linux only)
1729 --enable-selectloop use wxSelectDispatcher class
1730 --enable-any use wxAny class
1731 --enable-apple_ieee use the Apple IEEE codec
1732 --enable-arcstream use wxArchive streams
1733 --enable-base64 use base64 encoding/decoding functions
1734 --enable-backtrace use wxStackWalker class for getting backtraces
1735 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1736 --enable-cmdline use wxCmdLineParser class
1737 --enable-datetime use wxDateTime class
1738 --enable-debugreport use wxDebugReport class
1739 --enable-dialupman use dialup network classes
1740 --enable-dynlib use wxLibrary class for DLL loading
1741 --enable-dynamicloader use (new) wxDynamicLibrary class
1742 --enable-exceptions build exception-safe library
1743 --enable-ffile use wxFFile class
1744 --enable-file use wxFile class
1745 --enable-filehistory use wxFileHistory class
1746 --enable-filesystem use virtual file systems classes
1747 --enable-fontenum use wxFontEnumerator class
1748 --enable-fontmap use font encodings conversion classes
1749 --enable-fs_archive use virtual archive filesystems
1750 --enable-fs_inet use virtual HTTP/FTP filesystems
1751 --enable-fs_zip now replaced by fs_archive
1752 --enable-fswatcher use wxFileSystemWatcher class
1753 --enable-geometry use geometry class
1754 --enable-log use logging system
1755 --enable-longlong use wxLongLong class
1756 --enable-mimetype use wxMimeTypesManager
1757 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1758 --enable-snglinst use wxSingleInstanceChecker class
1759 --enable-sound use wxSound class
1760 --enable-stdpaths use wxStandardPaths class
1761 --enable-stopwatch use wxStopWatch class
1762 --enable-streams use wxStream etc classes
1763 --enable-sysoptions use wxSystemOptions
1764 --enable-tarstream use wxTar streams
1765 --enable-textbuf use wxTextBuffer class
1766 --enable-textfile use wxTextFile class
1767 --enable-timer use wxTimer class
1768 --enable-variant use wxVariant class
1769 --enable-zipstream use wxZip streams
1770 --enable-url use wxURL class
1771 --enable-protocol use wxProtocol class
1772 --enable-protocol-http HTTP support in wxProtocol
1773 --enable-protocol-ftp FTP support in wxProtocol
1774 --enable-protocol-file FILE support in wxProtocol
1775 --enable-threads use threads
1776 --enable-iniconf use wxIniConfig (Win32 only)
1777 --enable-regkey use wxRegKey class (Win32 only)
1778 --enable-docview use document view architecture
1779 --enable-help use help subsystem
1780 --enable-mshtmlhelp use MS HTML Help (win32)
1781 --enable-html use wxHTML sub-library
1782 --enable-htmlhelp use wxHTML-based help
1783 --enable-xrc use XRC resources sub-library
1784 --enable-aui use AUI docking library
1785 --enable-propgrid use wxPropertyGrid library
1786 --enable-ribbon use wxRibbon library
1787 --enable-stc use wxStyledTextCtrl library
1788 --enable-constraints use layout-constraints system
1789 --enable-loggui use standard GUI logger
1790 --enable-logwin use wxLogWindow
1791 --enable-logdialog use wxLogDialog
1792 --enable-mdi use multiple document interface architecture
1793 --enable-mdidoc use docview architecture with MDI
1794 --enable-mediactrl use wxMediaCtrl class
1795 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1796 --enable-webkit use wxWebKitCtrl (Mac)
1797 --enable-richtext use wxRichTextCtrl
1798 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1799 --enable-printarch use printing architecture
1800 --enable-svg use wxSVGFileDC device context
1801 --enable-graphics_ctx use graphics context 2D drawing API
1802 --enable-clipboard use wxClipboard class
1803 --enable-dnd use Drag'n'Drop classes
1804 --enable-metafile use win32 metafiles
1805 --disable-controls disable compilation of all standard controls
1806 --enable-accel use accelerators
1807 --enable-animatectrl use wxAnimationCtrl class
1808 --enable-bmpbutton use wxBitmapButton class
1809 --enable-bmpcombobox use wxBitmapComboBox class
1810 --enable-button use wxButton class
1811 --enable-calendar use wxCalendarCtrl class
1812 --enable-caret use wxCaret class
1813 --enable-checkbox use wxCheckBox class
1814 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1815 --enable-choice use wxChoice class
1816 --enable-choicebook use wxChoicebook class
1817 --enable-collpane use wxCollapsiblePane class
1818 --enable-colourpicker use wxColourPickerCtrl class
1819 --enable-combobox use wxComboBox class
1820 --enable-comboctrl use wxComboCtrl class
1821 --enable-commandlinkbutton use wxCommmandLinkButton class
1822 --enable-dataviewctrl use wxDataViewCtrl class
1823 --enable-datepick use wxDatePickerCtrl class
1824 --enable-detect_sm use code to detect X11 session manager
1825 --enable-dirpicker use wxDirPickerCtrl class
1826 --enable-display use wxDisplay class
1827 --enable-editablebox use wxEditableListBox class
1828 --enable-filectrl use wxFileCtrl class
1829 --enable-filepicker use wxFilePickerCtrl class
1830 --enable-fontpicker use wxFontPickerCtrl class
1831 --enable-gauge use wxGauge class
1832 --enable-grid use wxGrid class
1833 --enable-headerctrl use wxHeaderCtrl class
1834 --enable-hyperlink use wxHyperlinkCtrl class
1835 --enable-imaglist use wxImageList class
1836 --enable-infobar use wxInfoBar class
1837 --enable-listbook use wxListbook class
1838 --enable-listbox use wxListBox class
1839 --enable-listctrl use wxListCtrl class
1840 --enable-notebook use wxNotebook class
1841 --enable-notifmsg use wxNotificationMessage class
1842 --enable-odcombobox use wxOwnerDrawnComboBox class
1843 --enable-popupwin use wxPopUpWindow class
1844 --enable-radiobox use wxRadioBox class
1845 --enable-radiobtn use wxRadioButton class
1846 --enable-richmsgdlg use wxRichMessageDialog class
1847 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1848 --enable-sash use wxSashWindow class
1849 --enable-scrollbar use wxScrollBar class and scrollable windows
1850 --enable-searchctrl use wxSearchCtrl class
1851 --enable-slider use wxSlider class
1852 --enable-spinbtn use wxSpinButton class
1853 --enable-spinctrl use wxSpinCtrl class
1854 --enable-splitter use wxSplitterWindow class
1855 --enable-statbmp use wxStaticBitmap class
1856 --enable-statbox use wxStaticBox class
1857 --enable-statline use wxStaticLine class
1858 --enable-stattext use wxStaticText class
1859 --enable-statusbar use wxStatusBar class
1860 --enable-taskbaricon use wxTaskBarIcon class
1861 --enable-tbarnative use native wxToolBar class
1862 --enable-textctrl use wxTextCtrl class
1863 --enable-tipwindow use wxTipWindow class
1864 --enable-togglebtn use wxToggleButton class
1865 --enable-toolbar use wxToolBar class
1866 --enable-toolbook use wxToolbook class
1867 --enable-treebook use wxTreebook class
1868 --enable-treectrl use wxTreeCtrl class
1869 --enable-commondlg use all common dialogs
1870 --enable-aboutdlg use wxAboutBox
1871 --enable-choicedlg use wxChoiceDialog
1872 --enable-coldlg use wxColourDialog
1873 --enable-filedlg use wxFileDialog
1874 --enable-finddlg use wxFindReplaceDialog
1875 --enable-fontdlg use wxFontDialog
1876 --enable-dirdlg use wxDirDialog
1877 --enable-msgdlg use wxMessageDialog
1878 --enable-numberdlg use wxNumberEntryDialog
1879 --enable-splash use wxSplashScreen
1880 --enable-textdlg use wxTextDialog
1881 --enable-tipdlg use startup tips
1882 --enable-progressdlg use wxProgressDialog
1883 --enable-wizarddlg use wxWizard
1884 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1885 --enable-miniframe use wxMiniFrame class
1886 --enable-tooltips use wxToolTip class
1887 --enable-splines use spline drawing code
1888 --enable-mousewheel use mousewheel
1889 --enable-validators use wxValidator and derived classes
1890 --enable-busyinfo use wxBusyInfo
1891 --enable-joystick use wxJoystick
1892 --enable-metafiles use wxMetaFile (Win32 only)
1893 --enable-dragimage use wxDragImage
1894 --enable-accessibility enable accessibility support
1895 --enable-uiactionsim use wxUIActionSimulator (experimental)
1896 --enable-palette use wxPalette class
1897 --enable-image use wxImage class
1898 --enable-gif use gif images (GIF file format)
1899 --enable-pcx use pcx images (PCX file format)
1900 --enable-tga use tga images (TGA file format)
1901 --enable-iff use iff images (IFF file format)
1902 --enable-pnm use pnm images (PNM file format)
1903 --enable-xpm use xpm images (XPM file format)
1904 --enable-ico_cur use Windows ICO and CUR formats
1905 --enable-dccache cache temporary wxDC objects (Win32 only)
1906 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1907 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1908 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1909 --enable-wxdib use wxDIB class (Win32 only)
1910 --enable-autoidman use automatic ids management
1911 --disable-largefile omit support for large files
1912 --disable-gtktest do not try to compile and run a test GTK+ program
1913 --disable-gtktest Do not try to compile and run a test GTK program
1914 --disable-sdltest Do not try to compile and run a test SDL program
1915 --enable-omf use OMF object format (OS/2)
1916 --disable-dependency-tracking
1917 don't use dependency tracking even if the compiler
1918 can
1919 --disable-precomp-headers
1920 don't use precompiled headers even if compiler can
1921
1922 Optional Packages:
1923 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1924 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1925 --without-subdirs don't generate makefiles for samples/demos/...
1926 --with-flavour=NAME specify a name to identify this build
1927 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1928 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1929 --with-motif use Motif/Lesstif
1930 --with-osx_carbon use Mac OS X (Carbon)
1931 --with-osx_cocoa use Mac OS X (Cocoa)
1932 --with-osx_iphone use iPhone OS X port
1933 --with-osx use Mac OS X (default port, currently Carbon)
1934 --with-carbon same as --with-osx_carbon
1935 --with-cocoa same as --with-osx_cocoa
1936 --with-iphone same as --with-osx_iphone
1937 --with-mac same as --with-osx
1938 --with-old_cocoa use old, deprecated, Cocoa port
1939 --with-wine use Wine
1940 --with-msw use MS-Windows
1941 --with-pm use OS/2 Presentation Manager
1942 --with-mgl use SciTech MGL
1943 --with-directfb use DirectFB
1944 --with-microwin use MicroWindows
1945 --with-x11 use X11
1946 --with-libpng use libpng (PNG image format)
1947 --with-libjpeg use libjpeg (JPEG file format)
1948 --with-libtiff use libtiff (TIFF file format)
1949 --with-libxpm use libxpm (XPM file format)
1950 --with-libiconv use libiconv (character conversion)
1951 --with-libmspack use libmspack (CHM help files loading)
1952 --without-gtkprint don't use GTK printing support
1953 --without-gnomeprint don't use GNOME printing libraries
1954 --with-gnomevfs use GNOME VFS for associating MIME types
1955 --with-hildon use Hildon framework for Nokia 770/800/810
1956 --with-opengl use OpenGL (or Mesa)
1957 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1958 --with-sdl use SDL for audio on Unix
1959 --with-regex enable support for wxRegEx class
1960 --with-zlib use zlib for LZW compression
1961 --with-expat enable XML support using expat parser
1962 --with-macosx-sdk=PATH use an OS X SDK at PATH
1963 --with-macosx-version-min=VER build binaries which require at least this OS X version
1964 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1965 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1966 --with-x use the X Window System
1967 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1968 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1969 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1970 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1971 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1972
1973 Some influential environment variables:
1974 CC C compiler command
1975 CFLAGS C compiler flags
1976 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1977 nonstandard directory <lib dir>
1978 LIBS libraries to pass to the linker, e.g. -l<library>
1979 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1980 you have headers in a nonstandard directory <include dir>
1981 CPP C preprocessor
1982 CXX C++ compiler command
1983 CXXFLAGS C++ compiler flags
1984 CXXCPP C++ preprocessor
1985 PKG_CONFIG path to pkg-config utility
1986 DIRECTFB_CFLAGS
1987 C compiler flags for DIRECTFB, overriding pkg-config
1988 DIRECTFB_LIBS
1989 linker flags for DIRECTFB, overriding pkg-config
1990 XMKMF Path to xmkmf, Makefile generator for X Window System
1991 PANGOX_CFLAGS
1992 C compiler flags for PANGOX, overriding pkg-config
1993 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1994 PANGOFT2_CFLAGS
1995 C compiler flags for PANGOFT2, overriding pkg-config
1996 PANGOFT2_LIBS
1997 linker flags for PANGOFT2, overriding pkg-config
1998 PANGOXFT_CFLAGS
1999 C compiler flags for PANGOXFT, overriding pkg-config
2000 PANGOXFT_LIBS
2001 linker flags for PANGOXFT, overriding pkg-config
2002 GTKPRINT_CFLAGS
2003 C compiler flags for GTKPRINT, overriding pkg-config
2004 GTKPRINT_LIBS
2005 linker flags for GTKPRINT, overriding pkg-config
2006 LIBGNOMEPRINTUI_CFLAGS
2007 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2008 LIBGNOMEPRINTUI_LIBS
2009 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2010 GNOMEVFS_CFLAGS
2011 C compiler flags for GNOMEVFS, overriding pkg-config
2012 GNOMEVFS_LIBS
2013 linker flags for GNOMEVFS, overriding pkg-config
2014 HILDON_CFLAGS
2015 C compiler flags for HILDON, overriding pkg-config
2016 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2017 HILDON2_CFLAGS
2018 C compiler flags for HILDON2, overriding pkg-config
2019 HILDON2_LIBS
2020 linker flags for HILDON2, overriding pkg-config
2021 CAIRO_CFLAGS
2022 C compiler flags for CAIRO, overriding pkg-config
2023 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2024 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2025 GST_LIBS linker flags for GST, overriding pkg-config
2026
2027 Use these variables to override the choices made by `configure' or to help
2028 it to find libraries and programs with nonstandard names/locations.
2029
2030 Report bugs to <wx-dev@lists.wxwidgets.org>.
2031 _ACEOF
2032 ac_status=$?
2033 fi
2034
2035 if test "$ac_init_help" = "recursive"; then
2036 # If there are subdirs, report their specific --help.
2037 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2038 test -d "$ac_dir" || continue
2039 ac_builddir=.
2040
2041 case "$ac_dir" in
2042 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2043 *)
2044 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2045 # A ".." for each directory in $ac_dir_suffix.
2046 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2047 case $ac_top_builddir_sub in
2048 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2049 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2050 esac ;;
2051 esac
2052 ac_abs_top_builddir=$ac_pwd
2053 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2054 # for backward compatibility:
2055 ac_top_builddir=$ac_top_build_prefix
2056
2057 case $srcdir in
2058 .) # We are building in place.
2059 ac_srcdir=.
2060 ac_top_srcdir=$ac_top_builddir_sub
2061 ac_abs_top_srcdir=$ac_pwd ;;
2062 [\\/]* | ?:[\\/]* ) # Absolute name.
2063 ac_srcdir=$srcdir$ac_dir_suffix;
2064 ac_top_srcdir=$srcdir
2065 ac_abs_top_srcdir=$srcdir ;;
2066 *) # Relative name.
2067 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2068 ac_top_srcdir=$ac_top_build_prefix$srcdir
2069 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2070 esac
2071 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2072
2073 cd "$ac_dir" || { ac_status=$?; continue; }
2074 # Check for guested configure.
2075 if test -f "$ac_srcdir/configure.gnu"; then
2076 echo &&
2077 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2078 elif test -f "$ac_srcdir/configure"; then
2079 echo &&
2080 $SHELL "$ac_srcdir/configure" --help=recursive
2081 else
2082 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2083 fi || ac_status=$?
2084 cd "$ac_pwd" || { ac_status=$?; break; }
2085 done
2086 fi
2087
2088 test -n "$ac_init_help" && exit $ac_status
2089 if $ac_init_version; then
2090 cat <<\_ACEOF
2091 wxWidgets configure 2.9.2
2092 generated by GNU Autoconf 2.61
2093
2094 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2095 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2096 This configure script is free software; the Free Software Foundation
2097 gives unlimited permission to copy, distribute and modify it.
2098 _ACEOF
2099 exit
2100 fi
2101 cat >config.log <<_ACEOF
2102 This file contains any messages produced by compilers while
2103 running configure, to aid debugging if configure makes a mistake.
2104
2105 It was created by wxWidgets $as_me 2.9.2, which was
2106 generated by GNU Autoconf 2.61. Invocation command line was
2107
2108 $ $0 $@
2109
2110 _ACEOF
2111 exec 5>>config.log
2112 {
2113 cat <<_ASUNAME
2114 ## --------- ##
2115 ## Platform. ##
2116 ## --------- ##
2117
2118 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2119 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2120 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2121 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2122 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2123
2124 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2125 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2126
2127 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2128 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2129 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2130 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2131 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2132 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2133 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2134
2135 _ASUNAME
2136
2137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2138 for as_dir in $PATH
2139 do
2140 IFS=$as_save_IFS
2141 test -z "$as_dir" && as_dir=.
2142 echo "PATH: $as_dir"
2143 done
2144 IFS=$as_save_IFS
2145
2146 } >&5
2147
2148 cat >&5 <<_ACEOF
2149
2150
2151 ## ----------- ##
2152 ## Core tests. ##
2153 ## ----------- ##
2154
2155 _ACEOF
2156
2157
2158 # Keep a trace of the command line.
2159 # Strip out --no-create and --no-recursion so they do not pile up.
2160 # Strip out --silent because we don't want to record it for future runs.
2161 # Also quote any args containing shell meta-characters.
2162 # Make two passes to allow for proper duplicate-argument suppression.
2163 ac_configure_args=
2164 ac_configure_args0=
2165 ac_configure_args1=
2166 ac_must_keep_next=false
2167 for ac_pass in 1 2
2168 do
2169 for ac_arg
2170 do
2171 case $ac_arg in
2172 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2173 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2174 | -silent | --silent | --silen | --sile | --sil)
2175 continue ;;
2176 *\'*)
2177 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2178 esac
2179 case $ac_pass in
2180 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2181 2)
2182 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2183 if test $ac_must_keep_next = true; then
2184 ac_must_keep_next=false # Got value, back to normal.
2185 else
2186 case $ac_arg in
2187 *=* | --config-cache | -C | -disable-* | --disable-* \
2188 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2189 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2190 | -with-* | --with-* | -without-* | --without-* | --x)
2191 case "$ac_configure_args0 " in
2192 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2193 esac
2194 ;;
2195 -* ) ac_must_keep_next=true ;;
2196 esac
2197 fi
2198 ac_configure_args="$ac_configure_args '$ac_arg'"
2199 ;;
2200 esac
2201 done
2202 done
2203 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2204 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2205
2206 # When interrupted or exit'd, cleanup temporary files, and complete
2207 # config.log. We remove comments because anyway the quotes in there
2208 # would cause problems or look ugly.
2209 # WARNING: Use '\'' to represent an apostrophe within the trap.
2210 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2211 trap 'exit_status=$?
2212 # Save into config.log some information that might help in debugging.
2213 {
2214 echo
2215
2216 cat <<\_ASBOX
2217 ## ---------------- ##
2218 ## Cache variables. ##
2219 ## ---------------- ##
2220 _ASBOX
2221 echo
2222 # The following way of writing the cache mishandles newlines in values,
2223 (
2224 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2225 eval ac_val=\$$ac_var
2226 case $ac_val in #(
2227 *${as_nl}*)
2228 case $ac_var in #(
2229 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2230 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2231 esac
2232 case $ac_var in #(
2233 _ | IFS | as_nl) ;; #(
2234 *) $as_unset $ac_var ;;
2235 esac ;;
2236 esac
2237 done
2238 (set) 2>&1 |
2239 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2240 *${as_nl}ac_space=\ *)
2241 sed -n \
2242 "s/'\''/'\''\\\\'\'''\''/g;
2243 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2244 ;; #(
2245 *)
2246 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2247 ;;
2248 esac |
2249 sort
2250 )
2251 echo
2252
2253 cat <<\_ASBOX
2254 ## ----------------- ##
2255 ## Output variables. ##
2256 ## ----------------- ##
2257 _ASBOX
2258 echo
2259 for ac_var in $ac_subst_vars
2260 do
2261 eval ac_val=\$$ac_var
2262 case $ac_val in
2263 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2264 esac
2265 echo "$ac_var='\''$ac_val'\''"
2266 done | sort
2267 echo
2268
2269 if test -n "$ac_subst_files"; then
2270 cat <<\_ASBOX
2271 ## ------------------- ##
2272 ## File substitutions. ##
2273 ## ------------------- ##
2274 _ASBOX
2275 echo
2276 for ac_var in $ac_subst_files
2277 do
2278 eval ac_val=\$$ac_var
2279 case $ac_val in
2280 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2281 esac
2282 echo "$ac_var='\''$ac_val'\''"
2283 done | sort
2284 echo
2285 fi
2286
2287 if test -s confdefs.h; then
2288 cat <<\_ASBOX
2289 ## ----------- ##
2290 ## confdefs.h. ##
2291 ## ----------- ##
2292 _ASBOX
2293 echo
2294 cat confdefs.h
2295 echo
2296 fi
2297 test "$ac_signal" != 0 &&
2298 echo "$as_me: caught signal $ac_signal"
2299 echo "$as_me: exit $exit_status"
2300 } >&5
2301 rm -f core *.core core.conftest.* &&
2302 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2303 exit $exit_status
2304 ' 0
2305 for ac_signal in 1 2 13 15; do
2306 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2307 done
2308 ac_signal=0
2309
2310 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2311 rm -f -r conftest* confdefs.h
2312
2313 # Predefined preprocessor variables.
2314
2315 cat >>confdefs.h <<_ACEOF
2316 #define PACKAGE_NAME "$PACKAGE_NAME"
2317 _ACEOF
2318
2319
2320 cat >>confdefs.h <<_ACEOF
2321 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2322 _ACEOF
2323
2324
2325 cat >>confdefs.h <<_ACEOF
2326 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2327 _ACEOF
2328
2329
2330 cat >>confdefs.h <<_ACEOF
2331 #define PACKAGE_STRING "$PACKAGE_STRING"
2332 _ACEOF
2333
2334
2335 cat >>confdefs.h <<_ACEOF
2336 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2337 _ACEOF
2338
2339
2340 # Let the site file select an alternate cache file if it wants to.
2341 # Prefer explicitly selected file to automatically selected ones.
2342 if test -n "$CONFIG_SITE"; then
2343 set x "$CONFIG_SITE"
2344 elif test "x$prefix" != xNONE; then
2345 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2346 else
2347 set x "$ac_default_prefix/share/config.site" \
2348 "$ac_default_prefix/etc/config.site"
2349 fi
2350 shift
2351 for ac_site_file
2352 do
2353 if test -r "$ac_site_file"; then
2354 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2355 echo "$as_me: loading site script $ac_site_file" >&6;}
2356 sed 's/^/| /' "$ac_site_file" >&5
2357 . "$ac_site_file"
2358 fi
2359 done
2360
2361 if test -r "$cache_file"; then
2362 # Some versions of bash will fail to source /dev/null (special
2363 # files actually), so we avoid doing that.
2364 if test -f "$cache_file"; then
2365 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2366 echo "$as_me: loading cache $cache_file" >&6;}
2367 case $cache_file in
2368 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2369 *) . "./$cache_file";;
2370 esac
2371 fi
2372 else
2373 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2374 echo "$as_me: creating cache $cache_file" >&6;}
2375 >$cache_file
2376 fi
2377
2378 # Check that the precious variables saved in the cache have kept the same
2379 # value.
2380 ac_cache_corrupted=false
2381 for ac_var in $ac_precious_vars; do
2382 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2383 eval ac_new_set=\$ac_env_${ac_var}_set
2384 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2385 eval ac_new_val=\$ac_env_${ac_var}_value
2386 case $ac_old_set,$ac_new_set in
2387 set,)
2388 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2389 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2390 ac_cache_corrupted=: ;;
2391 ,set)
2392 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2393 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2394 ac_cache_corrupted=: ;;
2395 ,);;
2396 *)
2397 if test "x$ac_old_val" != "x$ac_new_val"; then
2398 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2399 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2400 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2401 echo "$as_me: former value: $ac_old_val" >&2;}
2402 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2403 echo "$as_me: current value: $ac_new_val" >&2;}
2404 ac_cache_corrupted=:
2405 fi;;
2406 esac
2407 # Pass precious variables to config.status.
2408 if test "$ac_new_set" = set; then
2409 case $ac_new_val in
2410 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2411 *) ac_arg=$ac_var=$ac_new_val ;;
2412 esac
2413 case " $ac_configure_args " in
2414 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2415 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2416 esac
2417 fi
2418 done
2419 if $ac_cache_corrupted; then
2420 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2421 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2422 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2423 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2424 { (exit 1); exit 1; }; }
2425 fi
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451 ac_ext=c
2452 ac_cpp='$CPP $CPPFLAGS'
2453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2456
2457
2458
2459
2460
2461 ac_aux_dir=
2462 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2463 if test -f "$ac_dir/install-sh"; then
2464 ac_aux_dir=$ac_dir
2465 ac_install_sh="$ac_aux_dir/install-sh -c"
2466 break
2467 elif test -f "$ac_dir/install.sh"; then
2468 ac_aux_dir=$ac_dir
2469 ac_install_sh="$ac_aux_dir/install.sh -c"
2470 break
2471 elif test -f "$ac_dir/shtool"; then
2472 ac_aux_dir=$ac_dir
2473 ac_install_sh="$ac_aux_dir/shtool install -c"
2474 break
2475 fi
2476 done
2477 if test -z "$ac_aux_dir"; then
2478 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2479 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2480 { (exit 1); exit 1; }; }
2481 fi
2482
2483 # These three variables are undocumented and unsupported,
2484 # and are intended to be withdrawn in a future Autoconf release.
2485 # They can cause serious problems if a builder's source tree is in a directory
2486 # whose full name contains unusual characters.
2487 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2488 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2489 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2490
2491
2492 # Make sure we can run config.sub.
2493 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2494 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2495 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2496 { (exit 1); exit 1; }; }
2497
2498 { echo "$as_me:$LINENO: checking build system type" >&5
2499 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2500 if test "${ac_cv_build+set}" = set; then
2501 echo $ECHO_N "(cached) $ECHO_C" >&6
2502 else
2503 ac_build_alias=$build_alias
2504 test "x$ac_build_alias" = x &&
2505 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2506 test "x$ac_build_alias" = x &&
2507 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2508 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2509 { (exit 1); exit 1; }; }
2510 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2511 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2512 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2513 { (exit 1); exit 1; }; }
2514
2515 fi
2516 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2517 echo "${ECHO_T}$ac_cv_build" >&6; }
2518 case $ac_cv_build in
2519 *-*-*) ;;
2520 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2521 echo "$as_me: error: invalid value of canonical build" >&2;}
2522 { (exit 1); exit 1; }; };;
2523 esac
2524 build=$ac_cv_build
2525 ac_save_IFS=$IFS; IFS='-'
2526 set x $ac_cv_build
2527 shift
2528 build_cpu=$1
2529 build_vendor=$2
2530 shift; shift
2531 # Remember, the first character of IFS is used to create $*,
2532 # except with old shells:
2533 build_os=$*
2534 IFS=$ac_save_IFS
2535 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2536
2537
2538 { echo "$as_me:$LINENO: checking host system type" >&5
2539 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2540 if test "${ac_cv_host+set}" = set; then
2541 echo $ECHO_N "(cached) $ECHO_C" >&6
2542 else
2543 if test "x$host_alias" = x; then
2544 ac_cv_host=$ac_cv_build
2545 else
2546 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2547 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2548 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2549 { (exit 1); exit 1; }; }
2550 fi
2551
2552 fi
2553 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2554 echo "${ECHO_T}$ac_cv_host" >&6; }
2555 case $ac_cv_host in
2556 *-*-*) ;;
2557 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2558 echo "$as_me: error: invalid value of canonical host" >&2;}
2559 { (exit 1); exit 1; }; };;
2560 esac
2561 host=$ac_cv_host
2562 ac_save_IFS=$IFS; IFS='-'
2563 set x $ac_cv_host
2564 shift
2565 host_cpu=$1
2566 host_vendor=$2
2567 shift; shift
2568 # Remember, the first character of IFS is used to create $*,
2569 # except with old shells:
2570 host_os=$*
2571 IFS=$ac_save_IFS
2572 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2573
2574
2575
2576 if test "$cross_compiling" != "no"; then
2577 HOST_PREFIX="${host_alias}-"
2578 HOST_SUFFIX="-$host_alias"
2579 else
2580 HOST_PREFIX=
2581 HOST_SUFFIX=
2582 fi
2583
2584
2585 wx_major_version_number=2
2586 wx_minor_version_number=9
2587 wx_release_number=2
2588 wx_subrelease_number=0
2589
2590 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2591 WX_VERSION=$WX_RELEASE.$wx_release_number
2592 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2593
2594 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2595
2596
2597 wx_top_builddir="`pwd`"
2598
2599
2600
2601
2602 USE_UNIX=1
2603 USE_OS2=0
2604 USE_WIN32=0
2605 USE_DOS=0
2606 USE_BEOS=0
2607 USE_MAC=0
2608
2609 USE_AIX=
2610 USE_BSD= USE_DARWIN= USE_FREEBSD=
2611 USE_GNU= USE_HPUX=
2612 USE_LINUX=
2613 USE_NETBSD=
2614 USE_OPENBSD=
2615 USE_OSF= USE_SGI=
2616 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2617 USE_ULTRIX=
2618 USE_UNIXWARE=
2619
2620 USE_ALPHA=
2621
2622 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2623
2624 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2625
2626 DEFAULT_wxUSE_OLD_COCOA=0
2627 DEFAULT_wxUSE_GTK=0
2628 DEFAULT_wxUSE_OSX_CARBON=0
2629 DEFAULT_wxUSE_OSX_COCOA=0
2630 DEFAULT_wxUSE_OSX_IPHONE=0
2631 DEFAULT_wxUSE_MGL=0
2632 DEFAULT_wxUSE_MICROWIN=0
2633 DEFAULT_wxUSE_MOTIF=0
2634 DEFAULT_wxUSE_MSW=0
2635 DEFAULT_wxUSE_PM=0
2636 DEFAULT_wxUSE_X11=0
2637 DEFAULT_wxUSE_DFB=0
2638
2639 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
2640 DEFAULT_DEFAULT_wxUSE_GTK=0
2641 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2642 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2643 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
2644 DEFAULT_DEFAULT_wxUSE_MGL=0
2645 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2646 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2647 DEFAULT_DEFAULT_wxUSE_MSW=0
2648 DEFAULT_DEFAULT_wxUSE_PM=0
2649 DEFAULT_DEFAULT_wxUSE_X11=0
2650 DEFAULT_DEFAULT_wxUSE_DFB=0
2651
2652 PROGRAM_EXT=
2653 SAMPLES_RPATH_FLAG=
2654 DYLIB_RPATH_INSTALL=
2655 DYLIB_RPATH_POSTLINK=
2656
2657 DEFAULT_STD_FLAG=yes
2658
2659 case "${host}" in
2660 *-hp-hpux* )
2661 USE_HPUX=1
2662 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2663 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2664 cat >>confdefs.h <<\_ACEOF
2665 #define __HPUX__ 1
2666 _ACEOF
2667
2668
2669 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2670 ;;
2671 *-*-linux* )
2672 USE_LINUX=1
2673 cat >>confdefs.h <<\_ACEOF
2674 #define __LINUX__ 1
2675 _ACEOF
2676
2677 TMP=`uname -m`
2678 if test "x$TMP" = "xalpha"; then
2679 USE_ALPHA=1
2680 cat >>confdefs.h <<\_ACEOF
2681 #define __ALPHA__ 1
2682 _ACEOF
2683
2684 fi
2685 DEFAULT_DEFAULT_wxUSE_GTK=1
2686 ;;
2687 *-*-gnu* | *-*-k*bsd*-gnu )
2688 USE_GNU=1
2689 TMP=`uname -m`
2690 if test "x$TMP" = "xalpha"; then
2691 USE_ALPHA=1
2692 cat >>confdefs.h <<\_ACEOF
2693 #define __ALPHA__ 1
2694 _ACEOF
2695
2696 fi
2697 DEFAULT_DEFAULT_wxUSE_GTK=1
2698 ;;
2699 *-*-irix5* | *-*-irix6* )
2700 USE_SGI=1
2701 USE_SVR4=1
2702 cat >>confdefs.h <<\_ACEOF
2703 #define __SGI__ 1
2704 _ACEOF
2705
2706 cat >>confdefs.h <<\_ACEOF
2707 #define __SVR4__ 1
2708 _ACEOF
2709
2710 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2711 ;;
2712 *-*-qnx*)
2713 USE_QNX=1
2714 cat >>confdefs.h <<\_ACEOF
2715 #define __QNX__ 1
2716 _ACEOF
2717
2718 DEFAULT_DEFAULT_wxUSE_X11=1
2719 ;;
2720 *-*-solaris2* )
2721 USE_SUN=1
2722 USE_SOLARIS=1
2723 USE_SVR4=1
2724 cat >>confdefs.h <<\_ACEOF
2725 #define __SUN__ 1
2726 _ACEOF
2727
2728 cat >>confdefs.h <<\_ACEOF
2729 #define __SOLARIS__ 1
2730 _ACEOF
2731
2732 cat >>confdefs.h <<\_ACEOF
2733 #define __SVR4__ 1
2734 _ACEOF
2735
2736 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2737 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2738 ;;
2739 *-*-sunos4* )
2740 USE_SUN=1
2741 USE_SUNOS=1
2742 USE_BSD=1
2743 cat >>confdefs.h <<\_ACEOF
2744 #define __SUN__ 1
2745 _ACEOF
2746
2747 cat >>confdefs.h <<\_ACEOF
2748 #define __SUNOS__ 1
2749 _ACEOF
2750
2751 cat >>confdefs.h <<\_ACEOF
2752 #define __BSD__ 1
2753 _ACEOF
2754
2755 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2756 ;;
2757 *-*-freebsd*)
2758 USE_BSD=1
2759 USE_FREEBSD=1
2760 cat >>confdefs.h <<\_ACEOF
2761 #define __FREEBSD__ 1
2762 _ACEOF
2763
2764 cat >>confdefs.h <<\_ACEOF
2765 #define __BSD__ 1
2766 _ACEOF
2767
2768 DEFAULT_DEFAULT_wxUSE_GTK=1
2769 ;;
2770 *-*-openbsd*|*-*-mirbsd*)
2771 USE_BSD=1
2772 USE_OPENBSD=1
2773 cat >>confdefs.h <<\_ACEOF
2774 #define __OPENBSD__ 1
2775 _ACEOF
2776
2777 cat >>confdefs.h <<\_ACEOF
2778 #define __BSD__ 1
2779 _ACEOF
2780
2781 DEFAULT_DEFAULT_wxUSE_GTK=1
2782 ;;
2783 *-*-netbsd*)
2784 USE_BSD=1
2785 USE_NETBSD=1
2786 cat >>confdefs.h <<\_ACEOF
2787 #define __NETBSD__ 1
2788 _ACEOF
2789
2790 cat >>confdefs.h <<\_ACEOF
2791 #define __BSD__ 1
2792 _ACEOF
2793
2794 DEFAULT_DEFAULT_wxUSE_GTK=1
2795 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2796
2797 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2798 ;;
2799 *-*-osf* )
2800 USE_ALPHA=1
2801 USE_OSF=1
2802 cat >>confdefs.h <<\_ACEOF
2803 #define __ALPHA__ 1
2804 _ACEOF
2805
2806 cat >>confdefs.h <<\_ACEOF
2807 #define __OSF__ 1
2808 _ACEOF
2809
2810 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2811 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2812 ;;
2813 *-*-dgux5* )
2814 USE_ALPHA=1
2815 USE_SVR4=1
2816 cat >>confdefs.h <<\_ACEOF
2817 #define __ALPHA__ 1
2818 _ACEOF
2819
2820 cat >>confdefs.h <<\_ACEOF
2821 #define __SVR4__ 1
2822 _ACEOF
2823
2824 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2825 ;;
2826 *-*-sysv5* )
2827 USE_SYSV=1
2828 USE_SVR4=1
2829 cat >>confdefs.h <<\_ACEOF
2830 #define __SYSV__ 1
2831 _ACEOF
2832
2833 cat >>confdefs.h <<\_ACEOF
2834 #define __SVR4__ 1
2835 _ACEOF
2836
2837 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2838 ;;
2839 *-*-aix* )
2840 USE_AIX=1
2841 USE_SYSV=1
2842 USE_SVR4=1
2843 cat >>confdefs.h <<\_ACEOF
2844 #define __AIX__ 1
2845 _ACEOF
2846
2847 cat >>confdefs.h <<\_ACEOF
2848 #define __SYSV__ 1
2849 _ACEOF
2850
2851 cat >>confdefs.h <<\_ACEOF
2852 #define __SVR4__ 1
2853 _ACEOF
2854
2855 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2856 ;;
2857
2858 *-*-*UnixWare*)
2859 USE_SYSV=1
2860 USE_SVR4=1
2861 USE_UNIXWARE=1
2862 cat >>confdefs.h <<\_ACEOF
2863 #define __UNIXWARE__ 1
2864 _ACEOF
2865
2866 ;;
2867
2868 *-*-cygwin* | *-*-mingw32* )
2869 PROGRAM_EXT=".exe"
2870 DEFAULT_DEFAULT_wxUSE_MSW=1
2871 ;;
2872
2873 *-pc-msdosdjgpp )
2874 USE_UNIX=0
2875 USE_DOS=1
2876 cat >>confdefs.h <<\_ACEOF
2877 #define __DOS__ 1
2878 _ACEOF
2879
2880 PROGRAM_EXT=".exe"
2881 DEFAULT_DEFAULT_wxUSE_MGL=1
2882 ;;
2883
2884 *-pc-os2_emx | *-pc-os2-emx )
2885 cat >>confdefs.h <<\_ACEOF
2886 #define __EMX__ 1
2887 _ACEOF
2888
2889 USE_OS2=1
2890 cat >>confdefs.h <<\_ACEOF
2891 #define __OS2__ 1
2892 _ACEOF
2893
2894 PROGRAM_EXT=".exe"
2895 DEFAULT_DEFAULT_wxUSE_PM=1
2896 CXX=gcc
2897 LDFLAGS="$LDFLAGS -Zcrtdll"
2898 ac_executable_extensions=".exe"
2899 export ac_executable_extensions
2900 ac_save_IFS="$IFS"
2901 IFS='\\'
2902 ac_TEMP_PATH=
2903 for ac_dir in $PATH; do
2904 IFS=$ac_save_IFS
2905 if test -z "$ac_TEMP_PATH"; then
2906 ac_TEMP_PATH="$ac_dir"
2907 else
2908 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2909 fi
2910 done
2911 export PATH="$ac_TEMP_PATH"
2912 unset ac_TEMP_PATH
2913 DEFAULT_STD_FLAG=no
2914 ;;
2915
2916 arm-apple-darwin*)
2917 USE_BSD=1
2918 USE_DARWIN=1
2919 cat >>confdefs.h <<\_ACEOF
2920 #define __BSD__ 1
2921 _ACEOF
2922
2923 cat >>confdefs.h <<\_ACEOF
2924 #define __DARWIN__ 1
2925 _ACEOF
2926
2927 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
2928 ;;
2929
2930 *-*-darwin* )
2931 USE_BSD=1
2932 USE_DARWIN=1
2933 cat >>confdefs.h <<\_ACEOF
2934 #define __BSD__ 1
2935 _ACEOF
2936
2937 cat >>confdefs.h <<\_ACEOF
2938 #define __DARWIN__ 1
2939 _ACEOF
2940
2941 cat >>confdefs.h <<\_ACEOF
2942 #define TARGET_CARBON 1
2943 _ACEOF
2944
2945 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2946 ;;
2947
2948 *-*-beos* )
2949 USE_BEOS=1
2950 cat >>confdefs.h <<\_ACEOF
2951 #define __BEOS__ 1
2952 _ACEOF
2953
2954 ;;
2955
2956 *)
2957 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2958 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2959 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2960 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2961
2962 DEFAULT_DEFAULT_wxUSE_X11=1
2963 DEFAULT_wxUSE_SHARED=no
2964 esac
2965
2966
2967
2968 DEFAULT_wxUSE_ALL_FEATURES=yes
2969
2970 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2971 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2972
2973 DEFAULT_wxUSE_DMALLOC=no
2974 DEFAULT_wxUSE_LIBGNOMEVFS=no
2975 DEFAULT_wxUSE_LIBHILDON=no
2976 DEFAULT_wxUSE_LIBHILDON2=no
2977 DEFAULT_wxUSE_LIBMSPACK=no
2978 DEFAULT_wxUSE_LIBSDL=no
2979
2980 DEFAULT_wxUSE_ACCESSIBILITY=no
2981 DEFAULT_wxUSE_IPV6=no
2982 DEFAULT_wxUSE_GSTREAMER8=no
2983 DEFAULT_wxUSE_UIACTIONSIMULATOR=no
2984
2985 DEFAULT_wxUSE_UNICODE_UTF8=auto
2986 DEFAULT_wxUSE_OPENGL=auto
2987 DEFAULT_wxUSE_MEDIACTRL=auto
2988 DEFAULT_wxUSE_COMPILER_TLS=auto
2989
2990 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2991
2992 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2993
2994 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2995
2996 DEFAULT_wxUSE_GTK2=yes
2997
2998 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2999
3000
3001
3002
3003
3004 enablestring=disable
3005 defaultval=
3006 if test -z "$defaultval"; then
3007 if test x"$enablestring" = xdisable; then
3008 defaultval=yes
3009 else
3010 defaultval=no
3011 fi
3012 fi
3013
3014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3015 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3016 # Check whether --enable-gui was given.
3017 if test "${enable_gui+set}" = set; then
3018 enableval=$enable_gui;
3019 if test "$enableval" = yes; then
3020 wx_cv_use_gui='wxUSE_GUI=yes'
3021 else
3022 wx_cv_use_gui='wxUSE_GUI=no'
3023 fi
3024
3025 else
3026
3027 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3028
3029 fi
3030
3031
3032 eval "$wx_cv_use_gui"
3033
3034 if test x"$enablestring" = xdisable; then
3035 if test $wxUSE_GUI = no; then
3036 result=yes
3037 else
3038 result=no
3039 fi
3040 else
3041 result=$wxUSE_GUI
3042 fi
3043
3044 { echo "$as_me:$LINENO: result: $result" >&5
3045 echo "${ECHO_T}$result" >&6; }
3046
3047
3048 enablestring=
3049 defaultval=
3050 if test -z "$defaultval"; then
3051 if test x"$enablestring" = xdisable; then
3052 defaultval=yes
3053 else
3054 defaultval=no
3055 fi
3056 fi
3057
3058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3059 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3060 # Check whether --enable-monolithic was given.
3061 if test "${enable_monolithic+set}" = set; then
3062 enableval=$enable_monolithic;
3063 if test "$enableval" = yes; then
3064 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3065 else
3066 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3067 fi
3068
3069 else
3070
3071 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3072
3073 fi
3074
3075
3076 eval "$wx_cv_use_monolithic"
3077
3078 if test x"$enablestring" = xdisable; then
3079 if test $wxUSE_MONOLITHIC = no; then
3080 result=yes
3081 else
3082 result=no
3083 fi
3084 else
3085 result=$wxUSE_MONOLITHIC
3086 fi
3087
3088 { echo "$as_me:$LINENO: result: $result" >&5
3089 echo "${ECHO_T}$result" >&6; }
3090
3091
3092 enablestring=
3093 defaultval=
3094 if test -z "$defaultval"; then
3095 if test x"$enablestring" = xdisable; then
3096 defaultval=yes
3097 else
3098 defaultval=no
3099 fi
3100 fi
3101
3102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3103 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3104 # Check whether --enable-plugins was given.
3105 if test "${enable_plugins+set}" = set; then
3106 enableval=$enable_plugins;
3107 if test "$enableval" = yes; then
3108 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3109 else
3110 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3111 fi
3112
3113 else
3114
3115 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3116
3117 fi
3118
3119
3120 eval "$wx_cv_use_plugins"
3121
3122 if test x"$enablestring" = xdisable; then
3123 if test $wxUSE_PLUGINS = no; then
3124 result=yes
3125 else
3126 result=no
3127 fi
3128 else
3129 result=$wxUSE_PLUGINS
3130 fi
3131
3132 { echo "$as_me:$LINENO: result: $result" >&5
3133 echo "${ECHO_T}$result" >&6; }
3134
3135
3136 withstring=without
3137 defaultval=$wxUSE_ALL_FEATURES
3138 if test -z "$defaultval"; then
3139 if test x"$withstring" = xwithout; then
3140 defaultval=yes
3141 else
3142 defaultval=no
3143 fi
3144 fi
3145 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3146 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3147
3148 # Check whether --with-subdirs was given.
3149 if test "${with_subdirs+set}" = set; then
3150 withval=$with_subdirs;
3151 if test "$withval" = yes; then
3152 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3153 else
3154 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3155 fi
3156
3157 else
3158
3159 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3160
3161 fi
3162
3163
3164 eval "$wx_cv_use_subdirs"
3165
3166 if test x"$withstring" = xwithout; then
3167 if test $wxWITH_SUBDIRS = yes; then
3168 result=no
3169 else
3170 result=yes
3171 fi
3172 else
3173 result=$wxWITH_SUBDIRS
3174 fi
3175
3176 { echo "$as_me:$LINENO: result: $result" >&5
3177 echo "${ECHO_T}$result" >&6; }
3178
3179
3180 # Check whether --with-flavour was given.
3181 if test "${with_flavour+set}" = set; then
3182 withval=$with_flavour; WX_FLAVOUR="$withval"
3183 fi
3184
3185
3186 enablestring=
3187 defaultval=
3188 if test -z "$defaultval"; then
3189 if test x"$enablestring" = xdisable; then
3190 defaultval=yes
3191 else
3192 defaultval=no
3193 fi
3194 fi
3195
3196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3197 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3198 # Check whether --enable-official_build was given.
3199 if test "${enable_official_build+set}" = set; then
3200 enableval=$enable_official_build;
3201 if test "$enableval" = yes; then
3202 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3203 else
3204 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3205 fi
3206
3207 else
3208
3209 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3210
3211 fi
3212
3213
3214 eval "$wx_cv_use_official_build"
3215
3216 if test x"$enablestring" = xdisable; then
3217 if test $wxUSE_OFFICIAL_BUILD = no; then
3218 result=yes
3219 else
3220 result=no
3221 fi
3222 else
3223 result=$wxUSE_OFFICIAL_BUILD
3224 fi
3225
3226 { echo "$as_me:$LINENO: result: $result" >&5
3227 echo "${ECHO_T}$result" >&6; }
3228
3229 # Check whether --enable-vendor was given.
3230 if test "${enable_vendor+set}" = set; then
3231 enableval=$enable_vendor; VENDOR="$enableval"
3232 fi
3233
3234 if test "x$VENDOR" = "x"; then
3235 VENDOR="custom"
3236 fi
3237
3238
3239 enablestring=disable
3240 defaultval=
3241 if test -z "$defaultval"; then
3242 if test x"$enablestring" = xdisable; then
3243 defaultval=yes
3244 else
3245 defaultval=no
3246 fi
3247 fi
3248
3249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3250 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3251 # Check whether --enable-all-features was given.
3252 if test "${enable_all_features+set}" = set; then
3253 enableval=$enable_all_features;
3254 if test "$enableval" = yes; then
3255 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3256 else
3257 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3258 fi
3259
3260 else
3261
3262 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3263
3264 fi
3265
3266
3267 eval "$wx_cv_use_all_features"
3268
3269 if test x"$enablestring" = xdisable; then
3270 if test $wxUSE_ALL_FEATURES = no; then
3271 result=yes
3272 else
3273 result=no
3274 fi
3275 else
3276 result=$wxUSE_ALL_FEATURES
3277 fi
3278
3279 { echo "$as_me:$LINENO: result: $result" >&5
3280 echo "${ECHO_T}$result" >&6; }
3281
3282
3283 if test "$wxUSE_ALL_FEATURES" = "no"; then
3284 DEFAULT_wxUSE_MEDIACTRL=no
3285 fi
3286
3287
3288 if test "$wxUSE_GUI" = "yes"; then
3289
3290
3291 enablestring=
3292 defaultval=
3293 if test -z "$defaultval"; then
3294 if test x"$enablestring" = xdisable; then
3295 defaultval=yes
3296 else
3297 defaultval=no
3298 fi
3299 fi
3300
3301 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3302 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3303 # Check whether --enable-universal was given.
3304 if test "${enable_universal+set}" = set; then
3305 enableval=$enable_universal;
3306 if test "$enableval" = yes; then
3307 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3308 else
3309 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3310 fi
3311
3312 else
3313
3314 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3315
3316 fi
3317
3318
3319 eval "$wx_cv_use_universal"
3320
3321 if test x"$enablestring" = xdisable; then
3322 if test $wxUSE_UNIVERSAL = no; then
3323 result=yes
3324 else
3325 result=no
3326 fi
3327 else
3328 result=$wxUSE_UNIVERSAL
3329 fi
3330
3331 { echo "$as_me:$LINENO: result: $result" >&5
3332 echo "${ECHO_T}$result" >&6; }
3333
3334 if test "$wxUSE_UNIVERSAL" = "yes"; then
3335
3336 # Check whether --with-themes was given.
3337 if test "${with_themes+set}" = set; then
3338 withval=$with_themes; wxUNIV_THEMES="$withval"
3339 fi
3340
3341 fi
3342
3343
3344 # Check whether --with-gtk was given.
3345 if test "${with_gtk+set}" = set; then
3346 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3347 fi
3348
3349
3350 # Check whether --with-motif was given.
3351 if test "${with_motif+set}" = set; then
3352 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3353 fi
3354
3355
3356 # Check whether --with-osx_carbon was given.
3357 if test "${with_osx_carbon+set}" = set; then
3358 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3359 fi
3360
3361
3362 # Check whether --with-osx_cocoa was given.
3363 if test "${with_osx_cocoa+set}" = set; then
3364 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3365 fi
3366
3367
3368 # Check whether --with-osx_iphone was given.
3369 if test "${with_osx_iphone+set}" = set; then
3370 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3371 fi
3372
3373
3374 # Check whether --with-osx was given.
3375 if test "${with_osx+set}" = set; then
3376 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3377 fi
3378
3379
3380 # Check whether --with-carbon was given.
3381 if test "${with_carbon+set}" = set; then
3382 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3383 fi
3384
3385
3386 # Check whether --with-cocoa was given.
3387 if test "${with_cocoa+set}" = set; then
3388 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3389 fi
3390
3391
3392 # Check whether --with-iphone was given.
3393 if test "${with_iphone+set}" = set; then
3394 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3395 fi
3396
3397
3398 # Check whether --with-mac was given.
3399 if test "${with_mac+set}" = set; then
3400 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3401 fi
3402
3403
3404 # Check whether --with-old_cocoa was given.
3405 if test "${with_old_cocoa+set}" = set; then
3406 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3407 fi
3408
3409
3410 # Check whether --with-wine was given.
3411 if test "${with_wine+set}" = set; then
3412 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3413 fi
3414
3415
3416 # Check whether --with-msw was given.
3417 if test "${with_msw+set}" = set; then
3418 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3419 fi
3420
3421
3422 # Check whether --with-pm was given.
3423 if test "${with_pm+set}" = set; then
3424 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3425 fi
3426
3427
3428 # Check whether --with-mgl was given.
3429 if test "${with_mgl+set}" = set; then
3430 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3431 fi
3432
3433
3434 # Check whether --with-directfb was given.
3435 if test "${with_directfb+set}" = set; then
3436 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3437 fi
3438
3439
3440 # Check whether --with-microwin was given.
3441 if test "${with_microwin+set}" = set; then
3442 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3443 fi
3444
3445
3446 # Check whether --with-x11 was given.
3447 if test "${with_x11+set}" = set; then
3448 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3449 fi
3450
3451
3452 enablestring=
3453 defaultval=
3454 if test -z "$defaultval"; then
3455 if test x"$enablestring" = xdisable; then
3456 defaultval=yes
3457 else
3458 defaultval=no
3459 fi
3460 fi
3461
3462 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3463 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3464 # Check whether --enable-nanox was given.
3465 if test "${enable_nanox+set}" = set; then
3466 enableval=$enable_nanox;
3467 if test "$enableval" = yes; then
3468 wx_cv_use_nanox='wxUSE_NANOX=yes'
3469 else
3470 wx_cv_use_nanox='wxUSE_NANOX=no'
3471 fi
3472
3473 else
3474
3475 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3476
3477 fi
3478
3479
3480 eval "$wx_cv_use_nanox"
3481
3482 if test x"$enablestring" = xdisable; then
3483 if test $wxUSE_NANOX = no; then
3484 result=yes
3485 else
3486 result=no
3487 fi
3488 else
3489 result=$wxUSE_NANOX
3490 fi
3491
3492 { echo "$as_me:$LINENO: result: $result" >&5
3493 echo "${ECHO_T}$result" >&6; }
3494
3495
3496 # Check whether --enable-gtk2 was given.
3497 if test "${enable_gtk2+set}" = set; then
3498 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3499 fi
3500
3501
3502 enablestring=
3503 defaultval=
3504 if test -z "$defaultval"; then
3505 if test x"$enablestring" = xdisable; then
3506 defaultval=yes
3507 else
3508 defaultval=no
3509 fi
3510 fi
3511
3512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3513 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3514 # Check whether --enable-gpe was given.
3515 if test "${enable_gpe+set}" = set; then
3516 enableval=$enable_gpe;
3517 if test "$enableval" = yes; then
3518 wx_cv_use_gpe='wxUSE_GPE=yes'
3519 else
3520 wx_cv_use_gpe='wxUSE_GPE=no'
3521 fi
3522
3523 else
3524
3525 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3526
3527 fi
3528
3529
3530 eval "$wx_cv_use_gpe"
3531
3532 if test x"$enablestring" = xdisable; then
3533 if test $wxUSE_GPE = no; then
3534 result=yes
3535 else
3536 result=no
3537 fi
3538 else
3539 result=$wxUSE_GPE
3540 fi
3541
3542 { echo "$as_me:$LINENO: result: $result" >&5
3543 echo "${ECHO_T}$result" >&6; }
3544
3545
3546
3547 { echo "$as_me:$LINENO: checking for toolkit" >&5
3548 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3549
3550
3551
3552 # In Wine, we need to default to MSW, not GTK or MOTIF
3553 if test "$wxUSE_WINE" = "yes"; then
3554 DEFAULT_DEFAULT_wxUSE_GTK=0
3555 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3556 DEFAULT_DEFAULT_wxUSE_MSW=1
3557 wxUSE_SHARED=no
3558 CC=${CC:-winegcc}
3559 CXX=${CXX:-wineg++}
3560 fi
3561
3562
3563 if test "$wxUSE_GUI" = "yes"; then
3564
3565 if test "$USE_BEOS" = 1; then
3566 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3567 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3568 { (exit 1); exit 1; }; }
3569 fi
3570
3571 if test "$TOOLKIT_GIVEN" = 1; then
3572 for toolkit in $ALL_TOOLKITS; do
3573 var=wxUSE_$toolkit
3574 eval "value=\$${var}"
3575 if test "x$value" = "xno"; then
3576 eval "$var=0"
3577 elif test "x$value" != "x"; then
3578 eval "$var=1"
3579 fi
3580
3581 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3582 eval "wx${toolkit}_VERSION=$value"
3583 fi
3584 done
3585 else
3586 for toolkit in $ALL_TOOLKITS; do
3587 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3588 eval "wxUSE_$toolkit=\$${var}"
3589 done
3590 fi
3591
3592 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3593 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3594 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3595
3596 case "${host}" in
3597 *-pc-os2_emx | *-pc-os2-emx )
3598 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3599 esac
3600
3601 case "$NUM_TOOLKITS" in
3602 1)
3603 ;;
3604 0)
3605 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3606 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3607 { (exit 1); exit 1; }; }
3608 ;;
3609 *)
3610 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3611 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3612 { (exit 1); exit 1; }; }
3613 esac
3614
3615 # to be removed when --disable-gtk2 isn't needed
3616 if test "x$wxUSE_GTK2" = "xyes"; then
3617 wxGTK_VERSION=2
3618 wxUSE_GTK1=0
3619 elif test "x$wxUSE_GTK2" = "xno"; then
3620 wxGTK_VERSION=1
3621 wxUSE_GTK1=1
3622 fi
3623
3624 for toolkit in $ALL_TOOLKITS; do
3625 var=wxUSE_$toolkit
3626 eval "value=\$${var}"
3627 if test "$value" = 1; then
3628 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3629 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3630 echo "${ECHO_T}$toolkit_echo" >&6; }
3631 fi
3632 done
3633 else
3634 if test "x$host_alias" != "x"; then
3635 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3636 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3637 else
3638 { echo "$as_me:$LINENO: result: base only" >&5
3639 echo "${ECHO_T}base only" >&6; }
3640 fi
3641 fi
3642
3643 wxUSE_MAC=0
3644 if test "$wxUSE_OSX_CARBON" = 1 \
3645 -o "$wxUSE_OSX_COCOA" = 1 \
3646 -o "$wxUSE_OSX_IPHONE" = 1; then
3647 wxUSE_MAC=1
3648 fi
3649
3650
3651
3652 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3653 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3654
3655 # Check whether --with-libpng was given.
3656 if test "${with_libpng+set}" = set; then
3657 withval=$with_libpng;
3658 if test "$withval" = yes; then
3659 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3660 elif test "$withval" = no; then
3661 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3662 elif test "$withval" = sys; then
3663 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3664 elif test "$withval" = builtin; then
3665 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3666 else
3667 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3668 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3669 { (exit 1); exit 1; }; }
3670 fi
3671
3672 else
3673
3674 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3675
3676 fi
3677
3678
3679 eval "$wx_cv_use_libpng"
3680
3681 if test "$wxUSE_LIBPNG" = yes; then
3682 { echo "$as_me:$LINENO: result: yes" >&5
3683 echo "${ECHO_T}yes" >&6; }
3684 elif test "$wxUSE_LIBPNG" = no; then
3685 { echo "$as_me:$LINENO: result: no" >&5
3686 echo "${ECHO_T}no" >&6; }
3687 elif test "$wxUSE_LIBPNG" = sys; then
3688 { echo "$as_me:$LINENO: result: system version" >&5
3689 echo "${ECHO_T}system version" >&6; }
3690 elif test "$wxUSE_LIBPNG" = builtin; then
3691 { echo "$as_me:$LINENO: result: builtin version" >&5
3692 echo "${ECHO_T}builtin version" >&6; }
3693 else
3694 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3695 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3696 { (exit 1); exit 1; }; }
3697 fi
3698
3699
3700 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3701 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3702
3703 # Check whether --with-libjpeg was given.
3704 if test "${with_libjpeg+set}" = set; then
3705 withval=$with_libjpeg;
3706 if test "$withval" = yes; then
3707 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3708 elif test "$withval" = no; then
3709 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3710 elif test "$withval" = sys; then
3711 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3712 elif test "$withval" = builtin; then
3713 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3714 else
3715 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3716 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3717 { (exit 1); exit 1; }; }
3718 fi
3719
3720 else
3721
3722 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3723
3724 fi
3725
3726
3727 eval "$wx_cv_use_libjpeg"
3728
3729 if test "$wxUSE_LIBJPEG" = yes; then
3730 { echo "$as_me:$LINENO: result: yes" >&5
3731 echo "${ECHO_T}yes" >&6; }
3732 elif test "$wxUSE_LIBJPEG" = no; then
3733 { echo "$as_me:$LINENO: result: no" >&5
3734 echo "${ECHO_T}no" >&6; }
3735 elif test "$wxUSE_LIBJPEG" = sys; then
3736 { echo "$as_me:$LINENO: result: system version" >&5
3737 echo "${ECHO_T}system version" >&6; }
3738 elif test "$wxUSE_LIBJPEG" = builtin; then
3739 { echo "$as_me:$LINENO: result: builtin version" >&5
3740 echo "${ECHO_T}builtin version" >&6; }
3741 else
3742 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3743 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3744 { (exit 1); exit 1; }; }
3745 fi
3746
3747
3748 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3749 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3750
3751 # Check whether --with-libtiff was given.
3752 if test "${with_libtiff+set}" = set; then
3753 withval=$with_libtiff;
3754 if test "$withval" = yes; then
3755 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3756 elif test "$withval" = no; then
3757 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3758 elif test "$withval" = sys; then
3759 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3760 elif test "$withval" = builtin; then
3761 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3762 else
3763 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3764 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3765 { (exit 1); exit 1; }; }
3766 fi
3767
3768 else
3769
3770 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3771
3772 fi
3773
3774
3775 eval "$wx_cv_use_libtiff"
3776
3777 if test "$wxUSE_LIBTIFF" = yes; then
3778 { echo "$as_me:$LINENO: result: yes" >&5
3779 echo "${ECHO_T}yes" >&6; }
3780 elif test "$wxUSE_LIBTIFF" = no; then
3781 { echo "$as_me:$LINENO: result: no" >&5
3782 echo "${ECHO_T}no" >&6; }
3783 elif test "$wxUSE_LIBTIFF" = sys; then
3784 { echo "$as_me:$LINENO: result: system version" >&5
3785 echo "${ECHO_T}system version" >&6; }
3786 elif test "$wxUSE_LIBTIFF" = builtin; then
3787 { echo "$as_me:$LINENO: result: builtin version" >&5
3788 echo "${ECHO_T}builtin version" >&6; }
3789 else
3790 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3791 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3792 { (exit 1); exit 1; }; }
3793 fi
3794
3795
3796 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3797 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3798
3799 # Check whether --with-libxpm was given.
3800 if test "${with_libxpm+set}" = set; then
3801 withval=$with_libxpm;
3802 if test "$withval" = yes; then
3803 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3804 elif test "$withval" = no; then
3805 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3806 elif test "$withval" = sys; then
3807 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3808 elif test "$withval" = builtin; then
3809 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3810 else
3811 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3812 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3813 { (exit 1); exit 1; }; }
3814 fi
3815
3816 else
3817
3818 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3819
3820 fi
3821
3822
3823 eval "$wx_cv_use_libxpm"
3824
3825 if test "$wxUSE_LIBXPM" = yes; then
3826 { echo "$as_me:$LINENO: result: yes" >&5
3827 echo "${ECHO_T}yes" >&6; }
3828 elif test "$wxUSE_LIBXPM" = no; then
3829 { echo "$as_me:$LINENO: result: no" >&5
3830 echo "${ECHO_T}no" >&6; }
3831 elif test "$wxUSE_LIBXPM" = sys; then
3832 { echo "$as_me:$LINENO: result: system version" >&5
3833 echo "${ECHO_T}system version" >&6; }
3834 elif test "$wxUSE_LIBXPM" = builtin; then
3835 { echo "$as_me:$LINENO: result: builtin version" >&5
3836 echo "${ECHO_T}builtin version" >&6; }
3837 else
3838 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3839 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3840 { (exit 1); exit 1; }; }
3841 fi
3842
3843
3844 withstring=
3845 defaultval=$wxUSE_ALL_FEATURES
3846 if test -z "$defaultval"; then
3847 if test x"$withstring" = xwithout; then
3848 defaultval=yes
3849 else
3850 defaultval=no
3851 fi
3852 fi
3853 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3854 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3855
3856 # Check whether --with-libiconv was given.
3857 if test "${with_libiconv+set}" = set; then
3858 withval=$with_libiconv;
3859 if test "$withval" = yes; then
3860 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3861 else
3862 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3863 fi
3864
3865 else
3866
3867 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3868
3869 fi
3870
3871
3872 eval "$wx_cv_use_libiconv"
3873
3874 if test x"$withstring" = xwithout; then
3875 if test $wxUSE_LIBICONV = yes; then
3876 result=no
3877 else
3878 result=yes
3879 fi
3880 else
3881 result=$wxUSE_LIBICONV
3882 fi
3883
3884 { echo "$as_me:$LINENO: result: $result" >&5
3885 echo "${ECHO_T}$result" >&6; }
3886
3887
3888 withstring=
3889 defaultval=$wxUSE_ALL_FEATURES
3890 if test -z "$defaultval"; then
3891 if test x"$withstring" = xwithout; then
3892 defaultval=yes
3893 else
3894 defaultval=no
3895 fi
3896 fi
3897 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3898 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3899
3900 # Check whether --with-libmspack was given.
3901 if test "${with_libmspack+set}" = set; then
3902 withval=$with_libmspack;
3903 if test "$withval" = yes; then
3904 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3905 else
3906 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3907 fi
3908
3909 else
3910
3911 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3912
3913 fi
3914
3915
3916 eval "$wx_cv_use_libmspack"
3917
3918 if test x"$withstring" = xwithout; then
3919 if test $wxUSE_LIBMSPACK = yes; then
3920 result=no
3921 else
3922 result=yes
3923 fi
3924 else
3925 result=$wxUSE_LIBMSPACK
3926 fi
3927
3928 { echo "$as_me:$LINENO: result: $result" >&5
3929 echo "${ECHO_T}$result" >&6; }
3930
3931
3932 withstring=without
3933 defaultval=$wxUSE_ALL_FEATURES
3934 if test -z "$defaultval"; then
3935 if test x"$withstring" = xwithout; then
3936 defaultval=yes
3937 else
3938 defaultval=no
3939 fi
3940 fi
3941 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3942 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3943
3944 # Check whether --with-gtkprint was given.
3945 if test "${with_gtkprint+set}" = set; then
3946 withval=$with_gtkprint;
3947 if test "$withval" = yes; then
3948 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3949 else
3950 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3951 fi
3952
3953 else
3954
3955 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3956
3957 fi
3958
3959
3960 eval "$wx_cv_use_gtkprint"
3961
3962 if test x"$withstring" = xwithout; then
3963 if test $wxUSE_GTKPRINT = yes; then
3964 result=no
3965 else
3966 result=yes
3967 fi
3968 else
3969 result=$wxUSE_GTKPRINT
3970 fi
3971
3972 { echo "$as_me:$LINENO: result: $result" >&5
3973 echo "${ECHO_T}$result" >&6; }
3974
3975
3976 withstring=without
3977 defaultval=$wxUSE_ALL_FEATURES
3978 if test -z "$defaultval"; then
3979 if test x"$withstring" = xwithout; then
3980 defaultval=yes
3981 else
3982 defaultval=no
3983 fi
3984 fi
3985 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3986 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3987
3988 # Check whether --with-gnomeprint was given.
3989 if test "${with_gnomeprint+set}" = set; then
3990 withval=$with_gnomeprint;
3991 if test "$withval" = yes; then
3992 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3993 else
3994 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3995 fi
3996
3997 else
3998
3999 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4000
4001 fi
4002
4003
4004 eval "$wx_cv_use_gnomeprint"
4005
4006 if test x"$withstring" = xwithout; then
4007 if test $wxUSE_LIBGNOMEPRINT = yes; then
4008 result=no
4009 else
4010 result=yes
4011 fi
4012 else
4013 result=$wxUSE_LIBGNOMEPRINT
4014 fi
4015
4016 { echo "$as_me:$LINENO: result: $result" >&5
4017 echo "${ECHO_T}$result" >&6; }
4018
4019
4020 withstring=
4021 defaultval=$wxUSE_ALL_FEATURES
4022 if test -z "$defaultval"; then
4023 if test x"$withstring" = xwithout; then
4024 defaultval=yes
4025 else
4026 defaultval=no
4027 fi
4028 fi
4029 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4030 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4031
4032 # Check whether --with-gnomevfs was given.
4033 if test "${with_gnomevfs+set}" = set; then
4034 withval=$with_gnomevfs;
4035 if test "$withval" = yes; then
4036 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4037 else
4038 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4039 fi
4040
4041 else
4042
4043 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4044
4045 fi
4046
4047
4048 eval "$wx_cv_use_gnomevfs"
4049
4050 if test x"$withstring" = xwithout; then
4051 if test $wxUSE_LIBGNOMEVFS = yes; then
4052 result=no
4053 else
4054 result=yes
4055 fi
4056 else
4057 result=$wxUSE_LIBGNOMEVFS
4058 fi
4059
4060 { echo "$as_me:$LINENO: result: $result" >&5
4061 echo "${ECHO_T}$result" >&6; }
4062
4063
4064 withstring=
4065 defaultval=$wxUSE_ALL_FEATURES
4066 if test -z "$defaultval"; then
4067 if test x"$withstring" = xwithout; then
4068 defaultval=yes
4069 else
4070 defaultval=no
4071 fi
4072 fi
4073 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4074 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4075
4076 # Check whether --with-hildon was given.
4077 if test "${with_hildon+set}" = set; then
4078 withval=$with_hildon;
4079 if test "$withval" = yes; then
4080 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4081 else
4082 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4083 fi
4084
4085 else
4086
4087 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4088
4089 fi
4090
4091
4092 eval "$wx_cv_use_hildon"
4093
4094 if test x"$withstring" = xwithout; then
4095 if test $wxUSE_LIBHILDON = yes; then
4096 result=no
4097 else
4098 result=yes
4099 fi
4100 else
4101 result=$wxUSE_LIBHILDON
4102 fi
4103
4104 { echo "$as_me:$LINENO: result: $result" >&5
4105 echo "${ECHO_T}$result" >&6; }
4106
4107
4108 withstring=
4109 defaultval=$wxUSE_ALL_FEATURES
4110 if test -z "$defaultval"; then
4111 if test x"$withstring" = xwithout; then
4112 defaultval=yes
4113 else
4114 defaultval=no
4115 fi
4116 fi
4117 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4118 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4119
4120 # Check whether --with-opengl was given.
4121 if test "${with_opengl+set}" = set; then
4122 withval=$with_opengl;
4123 if test "$withval" = yes; then
4124 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4125 else
4126 wx_cv_use_opengl='wxUSE_OPENGL=no'
4127 fi
4128
4129 else
4130
4131 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4132
4133 fi
4134
4135
4136 eval "$wx_cv_use_opengl"
4137
4138 if test x"$withstring" = xwithout; then
4139 if test $wxUSE_OPENGL = yes; then
4140 result=no
4141 else
4142 result=yes
4143 fi
4144 else
4145 result=$wxUSE_OPENGL
4146 fi
4147
4148 { echo "$as_me:$LINENO: result: $result" >&5
4149 echo "${ECHO_T}$result" >&6; }
4150
4151
4152 fi
4153
4154
4155 withstring=
4156 defaultval=$wxUSE_ALL_FEATURES
4157 if test -z "$defaultval"; then
4158 if test x"$withstring" = xwithout; then
4159 defaultval=yes
4160 else
4161 defaultval=no
4162 fi
4163 fi
4164 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4165 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4166
4167 # Check whether --with-dmalloc was given.
4168 if test "${with_dmalloc+set}" = set; then
4169 withval=$with_dmalloc;
4170 if test "$withval" = yes; then
4171 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4172 else
4173 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4174 fi
4175
4176 else
4177
4178 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4179
4180 fi
4181
4182
4183 eval "$wx_cv_use_dmalloc"
4184
4185 if test x"$withstring" = xwithout; then
4186 if test $wxUSE_DMALLOC = yes; then
4187 result=no
4188 else
4189 result=yes
4190 fi
4191 else
4192 result=$wxUSE_DMALLOC
4193 fi
4194
4195 { echo "$as_me:$LINENO: result: $result" >&5
4196 echo "${ECHO_T}$result" >&6; }
4197
4198
4199 withstring=
4200 defaultval=$wxUSE_ALL_FEATURES
4201 if test -z "$defaultval"; then
4202 if test x"$withstring" = xwithout; then
4203 defaultval=yes
4204 else
4205 defaultval=no
4206 fi
4207 fi
4208 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4209 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4210
4211 # Check whether --with-sdl was given.
4212 if test "${with_sdl+set}" = set; then
4213 withval=$with_sdl;
4214 if test "$withval" = yes; then
4215 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4216 else
4217 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4218 fi
4219
4220 else
4221
4222 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4223
4224 fi
4225
4226
4227 eval "$wx_cv_use_sdl"
4228
4229 if test x"$withstring" = xwithout; then
4230 if test $wxUSE_LIBSDL = yes; then
4231 result=no
4232 else
4233 result=yes
4234 fi
4235 else
4236 result=$wxUSE_LIBSDL
4237 fi
4238
4239 { echo "$as_me:$LINENO: result: $result" >&5
4240 echo "${ECHO_T}$result" >&6; }
4241
4242
4243 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4244 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4245
4246 # Check whether --with-regex was given.
4247 if test "${with_regex+set}" = set; then
4248 withval=$with_regex;
4249 if test "$withval" = yes; then
4250 wx_cv_use_regex='wxUSE_REGEX=yes'
4251 elif test "$withval" = no; then
4252 wx_cv_use_regex='wxUSE_REGEX=no'
4253 elif test "$withval" = sys; then
4254 wx_cv_use_regex='wxUSE_REGEX=sys'
4255 elif test "$withval" = builtin; then
4256 wx_cv_use_regex='wxUSE_REGEX=builtin'
4257 else
4258 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4259 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4260 { (exit 1); exit 1; }; }
4261 fi
4262
4263 else
4264
4265 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4266
4267 fi
4268
4269
4270 eval "$wx_cv_use_regex"
4271
4272 if test "$wxUSE_REGEX" = yes; then
4273 { echo "$as_me:$LINENO: result: yes" >&5
4274 echo "${ECHO_T}yes" >&6; }
4275 elif test "$wxUSE_REGEX" = no; then
4276 { echo "$as_me:$LINENO: result: no" >&5
4277 echo "${ECHO_T}no" >&6; }
4278 elif test "$wxUSE_REGEX" = sys; then
4279 { echo "$as_me:$LINENO: result: system version" >&5
4280 echo "${ECHO_T}system version" >&6; }
4281 elif test "$wxUSE_REGEX" = builtin; then
4282 { echo "$as_me:$LINENO: result: builtin version" >&5
4283 echo "${ECHO_T}builtin version" >&6; }
4284 else
4285 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4286 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4287 { (exit 1); exit 1; }; }
4288 fi
4289
4290
4291 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4292 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4293
4294 # Check whether --with-zlib was given.
4295 if test "${with_zlib+set}" = set; then
4296 withval=$with_zlib;
4297 if test "$withval" = yes; then
4298 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4299 elif test "$withval" = no; then
4300 wx_cv_use_zlib='wxUSE_ZLIB=no'
4301 elif test "$withval" = sys; then
4302 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4303 elif test "$withval" = builtin; then
4304 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4305 else
4306 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4307 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4308 { (exit 1); exit 1; }; }
4309 fi
4310
4311 else
4312
4313 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4314
4315 fi
4316
4317
4318 eval "$wx_cv_use_zlib"
4319
4320 if test "$wxUSE_ZLIB" = yes; then
4321 { echo "$as_me:$LINENO: result: yes" >&5
4322 echo "${ECHO_T}yes" >&6; }
4323 elif test "$wxUSE_ZLIB" = no; then
4324 { echo "$as_me:$LINENO: result: no" >&5
4325 echo "${ECHO_T}no" >&6; }
4326 elif test "$wxUSE_ZLIB" = sys; then
4327 { echo "$as_me:$LINENO: result: system version" >&5
4328 echo "${ECHO_T}system version" >&6; }
4329 elif test "$wxUSE_ZLIB" = builtin; then
4330 { echo "$as_me:$LINENO: result: builtin version" >&5
4331 echo "${ECHO_T}builtin version" >&6; }
4332 else
4333 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4334 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4335 { (exit 1); exit 1; }; }
4336 fi
4337
4338
4339 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4340 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4341
4342 # Check whether --with-expat was given.
4343 if test "${with_expat+set}" = set; then
4344 withval=$with_expat;
4345 if test "$withval" = yes; then
4346 wx_cv_use_expat='wxUSE_EXPAT=yes'
4347 elif test "$withval" = no; then
4348 wx_cv_use_expat='wxUSE_EXPAT=no'
4349 elif test "$withval" = sys; then
4350 wx_cv_use_expat='wxUSE_EXPAT=sys'
4351 elif test "$withval" = builtin; then
4352 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4353 else
4354 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4355 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4356 { (exit 1); exit 1; }; }
4357 fi
4358
4359 else
4360
4361 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4362
4363 fi
4364
4365
4366 eval "$wx_cv_use_expat"
4367
4368 if test "$wxUSE_EXPAT" = yes; then
4369 { echo "$as_me:$LINENO: result: yes" >&5
4370 echo "${ECHO_T}yes" >&6; }
4371 elif test "$wxUSE_EXPAT" = no; then
4372 { echo "$as_me:$LINENO: result: no" >&5
4373 echo "${ECHO_T}no" >&6; }
4374 elif test "$wxUSE_EXPAT" = sys; then
4375 { echo "$as_me:$LINENO: result: system version" >&5
4376 echo "${ECHO_T}system version" >&6; }
4377 elif test "$wxUSE_EXPAT" = builtin; then
4378 { echo "$as_me:$LINENO: result: builtin version" >&5
4379 echo "${ECHO_T}builtin version" >&6; }
4380 else
4381 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4382 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4383 { (exit 1); exit 1; }; }
4384 fi
4385
4386
4387 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4388 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4389
4390 # Check whether --with-macosx-sdk was given.
4391 if test "${with_macosx_sdk+set}" = set; then
4392 withval=$with_macosx_sdk;
4393 wxUSE_MACOSX_SDK=$withval
4394 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4395
4396 fi
4397
4398 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4399 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4400
4401 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4402 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4403
4404 # Check whether --with-macosx-version-min was given.
4405 if test "${with_macosx_version_min+set}" = set; then
4406 withval=$with_macosx_version_min;
4407 wxUSE_MACOSX_VERSION_MIN=$withval
4408 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4409
4410 fi
4411
4412 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4413 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4414
4415
4416 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4417 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4418 # Check whether --enable-debug was given.
4419 if test "${enable_debug+set}" = set; then
4420 enableval=$enable_debug;
4421 if test "$enableval" = yes; then
4422 wxUSE_DEBUG=yes
4423 elif test "$enableval" = no; then
4424 wxUSE_DEBUG=no
4425 elif test "$enableval" = max; then
4426 wxUSE_DEBUG=yes
4427 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4428 else
4429 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4430 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4431 { (exit 1); exit 1; }; }
4432 fi
4433
4434 else
4435 wxUSE_DEBUG=default
4436
4437 fi
4438
4439
4440 case "$wxUSE_DEBUG" in
4441 yes)
4442 DEFAULT_wxUSE_DEBUG_FLAG=yes
4443 DEFAULT_wxUSE_DEBUG_INFO=yes
4444
4445 DEFAULT_wxUSE_OPTIMISE=no
4446 ;;
4447
4448 no)
4449 DEFAULT_wxUSE_DEBUG_FLAG=no
4450 DEFAULT_wxUSE_DEBUG_INFO=no
4451 ;;
4452
4453 default)
4454 DEFAULT_wxUSE_DEBUG_FLAG=yes
4455 DEFAULT_wxUSE_DEBUG_INFO=no
4456 ;;
4457 esac
4458
4459
4460 enablestring=disable
4461 defaultval=
4462 if test -z "$defaultval"; then
4463 if test x"$enablestring" = xdisable; then
4464 defaultval=yes
4465 else
4466 defaultval=no
4467 fi
4468 fi
4469
4470 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4471 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4472 # Check whether --enable-debug_flag was given.
4473 if test "${enable_debug_flag+set}" = set; then
4474 enableval=$enable_debug_flag;
4475 if test "$enableval" = yes; then
4476 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4477 else
4478 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4479 fi
4480
4481 else
4482
4483 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4484
4485 fi
4486
4487
4488 eval "$wx_cv_use_debug_flag"
4489
4490 if test x"$enablestring" = xdisable; then
4491 if test $wxUSE_DEBUG_FLAG = no; then
4492 result=yes
4493 else
4494 result=no
4495 fi
4496 else
4497 result=$wxUSE_DEBUG_FLAG
4498 fi
4499
4500 { echo "$as_me:$LINENO: result: $result" >&5
4501 echo "${ECHO_T}$result" >&6; }
4502
4503
4504 enablestring=
4505 defaultval=
4506 if test -z "$defaultval"; then
4507 if test x"$enablestring" = xdisable; then
4508 defaultval=yes
4509 else
4510 defaultval=no
4511 fi
4512 fi
4513
4514 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4515 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4516 # Check whether --enable-debug_info was given.
4517 if test "${enable_debug_info+set}" = set; then
4518 enableval=$enable_debug_info;
4519 if test "$enableval" = yes; then
4520 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4521 else
4522 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4523 fi
4524
4525 else
4526
4527 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4528
4529 fi
4530
4531
4532 eval "$wx_cv_use_debug_info"
4533
4534 if test x"$enablestring" = xdisable; then
4535 if test $wxUSE_DEBUG_INFO = no; then
4536 result=yes
4537 else
4538 result=no
4539 fi
4540 else
4541 result=$wxUSE_DEBUG_INFO
4542 fi
4543
4544 { echo "$as_me:$LINENO: result: $result" >&5
4545 echo "${ECHO_T}$result" >&6; }
4546
4547
4548
4549
4550 enablestring=
4551 defaultval=
4552 if test -z "$defaultval"; then
4553 if test x"$enablestring" = xdisable; then
4554 defaultval=yes
4555 else
4556 defaultval=no
4557 fi
4558 fi
4559
4560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4561 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4562 # Check whether --enable-debug_gdb was given.
4563 if test "${enable_debug_gdb+set}" = set; then
4564 enableval=$enable_debug_gdb;
4565 if test "$enableval" = yes; then
4566 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4567 else
4568 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4569 fi
4570
4571 else
4572
4573 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4574
4575 fi
4576
4577
4578 eval "$wx_cv_use_debug_gdb"
4579
4580 if test x"$enablestring" = xdisable; then
4581 if test $wxUSE_DEBUG_GDB = no; then
4582 result=yes
4583 else
4584 result=no
4585 fi
4586 else
4587 result=$wxUSE_DEBUG_GDB
4588 fi
4589
4590 { echo "$as_me:$LINENO: result: $result" >&5
4591 echo "${ECHO_T}$result" >&6; }
4592
4593
4594 enablestring=
4595 defaultval=
4596 if test -z "$defaultval"; then
4597 if test x"$enablestring" = xdisable; then
4598 defaultval=yes
4599 else
4600 defaultval=no
4601 fi
4602 fi
4603
4604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4605 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4606 # Check whether --enable-debug_cntxt was given.
4607 if test "${enable_debug_cntxt+set}" = set; then
4608 enableval=$enable_debug_cntxt;
4609 if test "$enableval" = yes; then
4610 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4611 else
4612 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4613 fi
4614
4615 else
4616
4617 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4618
4619 fi
4620
4621
4622 eval "$wx_cv_use_debug_cntxt"
4623
4624 if test x"$enablestring" = xdisable; then
4625 if test $wxUSE_DEBUG_CONTEXT = no; then
4626 result=yes
4627 else
4628 result=no
4629 fi
4630 else
4631 result=$wxUSE_DEBUG_CONTEXT
4632 fi
4633
4634 { echo "$as_me:$LINENO: result: $result" >&5
4635 echo "${ECHO_T}$result" >&6; }
4636
4637
4638 enablestring=
4639 defaultval=
4640 if test -z "$defaultval"; then
4641 if test x"$enablestring" = xdisable; then
4642 defaultval=yes
4643 else
4644 defaultval=no
4645 fi
4646 fi
4647
4648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4649 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4650 # Check whether --enable-mem_tracing was given.
4651 if test "${enable_mem_tracing+set}" = set; then
4652 enableval=$enable_mem_tracing;
4653 if test "$enableval" = yes; then
4654 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4655 else
4656 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4657 fi
4658
4659 else
4660
4661 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4662
4663 fi
4664
4665
4666 eval "$wx_cv_use_mem_tracing"
4667
4668 if test x"$enablestring" = xdisable; then
4669 if test $wxUSE_MEM_TRACING = no; then
4670 result=yes
4671 else
4672 result=no
4673 fi
4674 else
4675 result=$wxUSE_MEM_TRACING
4676 fi
4677
4678 { echo "$as_me:$LINENO: result: $result" >&5
4679 echo "${ECHO_T}$result" >&6; }
4680
4681
4682
4683
4684 enablestring=disable
4685 defaultval=
4686 if test -z "$defaultval"; then
4687 if test x"$enablestring" = xdisable; then
4688 defaultval=yes
4689 else
4690 defaultval=no
4691 fi
4692 fi
4693
4694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4695 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4696 # Check whether --enable-shared was given.
4697 if test "${enable_shared+set}" = set; then
4698 enableval=$enable_shared;
4699 if test "$enableval" = yes; then
4700 wx_cv_use_shared='wxUSE_SHARED=yes'
4701 else
4702 wx_cv_use_shared='wxUSE_SHARED=no'
4703 fi
4704
4705 else
4706
4707 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4708
4709 fi
4710
4711
4712 eval "$wx_cv_use_shared"
4713
4714 if test x"$enablestring" = xdisable; then
4715 if test $wxUSE_SHARED = no; then
4716 result=yes
4717 else
4718 result=no
4719 fi
4720 else
4721 result=$wxUSE_SHARED
4722 fi
4723
4724 { echo "$as_me:$LINENO: result: $result" >&5
4725 echo "${ECHO_T}$result" >&6; }
4726
4727
4728 enablestring=
4729 defaultval=
4730 if test -z "$defaultval"; then
4731 if test x"$enablestring" = xdisable; then
4732 defaultval=yes
4733 else
4734 defaultval=no
4735 fi
4736 fi
4737
4738 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4739 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4740 # Check whether --enable-stl was given.
4741 if test "${enable_stl+set}" = set; then
4742 enableval=$enable_stl;
4743 if test "$enableval" = yes; then
4744 wx_cv_use_stl='wxUSE_STL=yes'
4745 else
4746 wx_cv_use_stl='wxUSE_STL=no'
4747 fi
4748
4749 else
4750
4751 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4752
4753 fi
4754
4755
4756 eval "$wx_cv_use_stl"
4757
4758 if test x"$enablestring" = xdisable; then
4759 if test $wxUSE_STL = no; then
4760 result=yes
4761 else
4762 result=no
4763 fi
4764 else
4765 result=$wxUSE_STL
4766 fi
4767
4768 { echo "$as_me:$LINENO: result: $result" >&5
4769 echo "${ECHO_T}$result" >&6; }
4770
4771
4772 enablestring=
4773 defaultval=
4774 if test -z "$defaultval"; then
4775 if test x"$enablestring" = xdisable; then
4776 defaultval=yes
4777 else
4778 defaultval=no
4779 fi
4780 fi
4781
4782 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4783 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4784 # Check whether --enable-std_iostreams was given.
4785 if test "${enable_std_iostreams+set}" = set; then
4786 enableval=$enable_std_iostreams;
4787 if test "$enableval" = yes; then
4788 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4789 else
4790 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4791 fi
4792
4793 else
4794
4795 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4796
4797 fi
4798
4799
4800 eval "$wx_cv_use_std_iostreams"
4801
4802 if test x"$enablestring" = xdisable; then
4803 if test $wxUSE_STD_IOSTREAM = no; then
4804 result=yes
4805 else
4806 result=no
4807 fi
4808 else
4809 result=$wxUSE_STD_IOSTREAM
4810 fi
4811
4812 { echo "$as_me:$LINENO: result: $result" >&5
4813 echo "${ECHO_T}$result" >&6; }
4814
4815
4816 enablestring=
4817 defaultval=
4818 if test -z "$defaultval"; then
4819 if test x"$enablestring" = xdisable; then
4820 defaultval=yes
4821 else
4822 defaultval=no
4823 fi
4824 fi
4825
4826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4827 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4828 # Check whether --enable-std_string was given.
4829 if test "${enable_std_string+set}" = set; then
4830 enableval=$enable_std_string;
4831 if test "$enableval" = yes; then
4832 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4833 else
4834 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4835 fi
4836
4837 else
4838
4839 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4840
4841 fi
4842
4843
4844 eval "$wx_cv_use_std_string"
4845
4846 if test x"$enablestring" = xdisable; then
4847 if test $wxUSE_STD_STRING = no; then
4848 result=yes
4849 else
4850 result=no
4851 fi
4852 else
4853 result=$wxUSE_STD_STRING
4854 fi
4855
4856 { echo "$as_me:$LINENO: result: $result" >&5
4857 echo "${ECHO_T}$result" >&6; }
4858
4859
4860 enablestring=disable
4861 defaultval=
4862 if test -z "$defaultval"; then
4863 if test x"$enablestring" = xdisable; then
4864 defaultval=yes
4865 else
4866 defaultval=no
4867 fi
4868 fi
4869
4870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4871 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4872 # Check whether --enable-unicode was given.
4873 if test "${enable_unicode+set}" = set; then
4874 enableval=$enable_unicode;
4875 if test "$enableval" = yes; then
4876 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4877 else
4878 wx_cv_use_unicode='wxUSE_UNICODE=no'
4879 fi
4880
4881 else
4882
4883 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4884
4885 fi
4886
4887
4888 eval "$wx_cv_use_unicode"
4889
4890 if test x"$enablestring" = xdisable; then
4891 if test $wxUSE_UNICODE = no; then
4892 result=yes
4893 else
4894 result=no
4895 fi
4896 else
4897 result=$wxUSE_UNICODE
4898 fi
4899
4900 { echo "$as_me:$LINENO: result: $result" >&5
4901 echo "${ECHO_T}$result" >&6; }
4902
4903
4904 enablestring=
4905 defaultval=
4906 if test -z "$defaultval"; then
4907 if test x"$enablestring" = xdisable; then
4908 defaultval=yes
4909 else
4910 defaultval=no
4911 fi
4912 fi
4913
4914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4915 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4916 # Check whether --enable-mslu was given.
4917 if test "${enable_mslu+set}" = set; then
4918 enableval=$enable_mslu;
4919 if test "$enableval" = yes; then
4920 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4921 else
4922 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4923 fi
4924
4925 else
4926
4927 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4928
4929 fi
4930
4931
4932 eval "$wx_cv_use_mslu"
4933
4934 if test x"$enablestring" = xdisable; then
4935 if test $wxUSE_UNICODE_MSLU = no; then
4936 result=yes
4937 else
4938 result=no
4939 fi
4940 else
4941 result=$wxUSE_UNICODE_MSLU
4942 fi
4943
4944 { echo "$as_me:$LINENO: result: $result" >&5
4945 echo "${ECHO_T}$result" >&6; }
4946
4947
4948 enablestring=
4949 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4950 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4951 # Check whether --enable-utf8 was given.
4952 if test "${enable_utf8+set}" = set; then
4953 enableval=$enable_utf8;
4954 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4955
4956 else
4957
4958 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4959
4960 fi
4961
4962
4963 eval "$wx_cv_use_utf8"
4964
4965 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4966 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4967
4968
4969 enablestring=
4970 defaultval=
4971 if test -z "$defaultval"; then
4972 if test x"$enablestring" = xdisable; then
4973 defaultval=yes
4974 else
4975 defaultval=no
4976 fi
4977 fi
4978
4979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4980 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4981 # Check whether --enable-utf8only was given.
4982 if test "${enable_utf8only+set}" = set; then
4983 enableval=$enable_utf8only;
4984 if test "$enableval" = yes; then
4985 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4986 else
4987 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4988 fi
4989
4990 else
4991
4992 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4993
4994 fi
4995
4996
4997 eval "$wx_cv_use_utf8only"
4998
4999 if test x"$enablestring" = xdisable; then
5000 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
5001 result=yes
5002 else
5003 result=no
5004 fi
5005 else
5006 result=$wxUSE_UNICODE_UTF8_LOCALE
5007 fi
5008
5009 { echo "$as_me:$LINENO: result: $result" >&5
5010 echo "${ECHO_T}$result" >&6; }
5011
5012
5013 enablestring=
5014 defaultval=
5015 if test -z "$defaultval"; then
5016 if test x"$enablestring" = xdisable; then
5017 defaultval=yes
5018 else
5019 defaultval=no
5020 fi
5021 fi
5022
5023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5024 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5025 # Check whether --enable-extended_rtti was given.
5026 if test "${enable_extended_rtti+set}" = set; then
5027 enableval=$enable_extended_rtti;
5028 if test "$enableval" = yes; then
5029 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5030 else
5031 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5032 fi
5033
5034 else
5035
5036 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5037
5038 fi
5039
5040
5041 eval "$wx_cv_use_extended_rtti"
5042
5043 if test x"$enablestring" = xdisable; then
5044 if test $wxUSE_EXTENDED_RTTI = no; then
5045 result=yes
5046 else
5047 result=no
5048 fi
5049 else
5050 result=$wxUSE_EXTENDED_RTTI
5051 fi
5052
5053 { echo "$as_me:$LINENO: result: $result" >&5
5054 echo "${ECHO_T}$result" >&6; }
5055
5056 if test "$USE_OS2" = 1; then
5057 DEFAULT_wxUSE_OMF=no
5058
5059 enablestring=
5060 defaultval=
5061 if test -z "$defaultval"; then
5062 if test x"$enablestring" = xdisable; then
5063 defaultval=yes
5064 else
5065 defaultval=no
5066 fi
5067 fi
5068
5069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5070 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5071 # Check whether --enable-omf was given.
5072 if test "${enable_omf+set}" = set; then
5073 enableval=$enable_omf;
5074 if test "$enableval" = yes; then
5075 wx_cv_use_omf='wxUSE_OMF=yes'
5076 else
5077 wx_cv_use_omf='wxUSE_OMF=no'
5078 fi
5079
5080 else
5081
5082 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5083
5084 fi
5085
5086
5087 eval "$wx_cv_use_omf"
5088
5089 if test x"$enablestring" = xdisable; then
5090 if test $wxUSE_OMF = no; then
5091 result=yes
5092 else
5093 result=no
5094 fi
5095 else
5096 result=$wxUSE_OMF
5097 fi
5098
5099 { echo "$as_me:$LINENO: result: $result" >&5
5100 echo "${ECHO_T}$result" >&6; }
5101
5102 fi
5103
5104
5105 enablestring=disable
5106 defaultval=
5107 if test -z "$defaultval"; then
5108 if test x"$enablestring" = xdisable; then
5109 defaultval=yes
5110 else
5111 defaultval=no
5112 fi
5113 fi
5114
5115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5116 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5117 # Check whether --enable-optimise was given.
5118 if test "${enable_optimise+set}" = set; then
5119 enableval=$enable_optimise;
5120 if test "$enableval" = yes; then
5121 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5122 else
5123 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5124 fi
5125
5126 else
5127
5128 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5129
5130 fi
5131
5132
5133 eval "$wx_cv_use_optimise"
5134
5135 if test x"$enablestring" = xdisable; then
5136 if test $wxUSE_OPTIMISE = no; then
5137 result=yes
5138 else
5139 result=no
5140 fi
5141 else
5142 result=$wxUSE_OPTIMISE
5143 fi
5144
5145 { echo "$as_me:$LINENO: result: $result" >&5
5146 echo "${ECHO_T}$result" >&6; }
5147
5148
5149
5150 enablestring=
5151 defaultval=
5152 if test -z "$defaultval"; then
5153 if test x"$enablestring" = xdisable; then
5154 defaultval=yes
5155 else
5156 defaultval=no
5157 fi
5158 fi
5159
5160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5161 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5162 # Check whether --enable-profile was given.
5163 if test "${enable_profile+set}" = set; then
5164 enableval=$enable_profile;
5165 if test "$enableval" = yes; then
5166 wx_cv_use_profile='wxUSE_PROFILE=yes'
5167 else
5168 wx_cv_use_profile='wxUSE_PROFILE=no'
5169 fi
5170
5171 else
5172
5173 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5174
5175 fi
5176
5177
5178 eval "$wx_cv_use_profile"
5179
5180 if test x"$enablestring" = xdisable; then
5181 if test $wxUSE_PROFILE = no; then
5182 result=yes
5183 else
5184 result=no
5185 fi
5186 else
5187 result=$wxUSE_PROFILE
5188 fi
5189
5190 { echo "$as_me:$LINENO: result: $result" >&5
5191 echo "${ECHO_T}$result" >&6; }
5192
5193
5194 enablestring=
5195 defaultval=
5196 if test -z "$defaultval"; then
5197 if test x"$enablestring" = xdisable; then
5198 defaultval=yes
5199 else
5200 defaultval=no
5201 fi
5202 fi
5203
5204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5205 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5206 # Check whether --enable-no_rtti was given.
5207 if test "${enable_no_rtti+set}" = set; then
5208 enableval=$enable_no_rtti;
5209 if test "$enableval" = yes; then
5210 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5211 else
5212 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5213 fi
5214
5215 else
5216
5217 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5218
5219 fi
5220
5221
5222 eval "$wx_cv_use_no_rtti"
5223
5224 if test x"$enablestring" = xdisable; then
5225 if test $wxUSE_NO_RTTI = no; then
5226 result=yes
5227 else
5228 result=no
5229 fi
5230 else
5231 result=$wxUSE_NO_RTTI
5232 fi
5233
5234 { echo "$as_me:$LINENO: result: $result" >&5
5235 echo "${ECHO_T}$result" >&6; }
5236
5237
5238 enablestring=
5239 defaultval=
5240 if test -z "$defaultval"; then
5241 if test x"$enablestring" = xdisable; then
5242 defaultval=yes
5243 else
5244 defaultval=no
5245 fi
5246 fi
5247
5248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5249 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5250 # Check whether --enable-no_exceptions was given.
5251 if test "${enable_no_exceptions+set}" = set; then
5252 enableval=$enable_no_exceptions;
5253 if test "$enableval" = yes; then
5254 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5255 else
5256 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5257 fi
5258
5259 else
5260
5261 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5262
5263 fi
5264
5265
5266 eval "$wx_cv_use_no_exceptions"
5267
5268 if test x"$enablestring" = xdisable; then
5269 if test $wxUSE_NO_EXCEPTIONS = no; then
5270 result=yes
5271 else
5272 result=no
5273 fi
5274 else
5275 result=$wxUSE_NO_EXCEPTIONS
5276 fi
5277
5278 { echo "$as_me:$LINENO: result: $result" >&5
5279 echo "${ECHO_T}$result" >&6; }
5280
5281
5282 enablestring=
5283 defaultval=
5284 if test -z "$defaultval"; then
5285 if test x"$enablestring" = xdisable; then
5286 defaultval=yes
5287 else
5288 defaultval=no
5289 fi
5290 fi
5291
5292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5293 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5294 # Check whether --enable-permissive was given.
5295 if test "${enable_permissive+set}" = set; then
5296 enableval=$enable_permissive;
5297 if test "$enableval" = yes; then
5298 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5299 else
5300 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5301 fi
5302
5303 else
5304
5305 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5306
5307 fi
5308
5309
5310 eval "$wx_cv_use_permissive"
5311
5312 if test x"$enablestring" = xdisable; then
5313 if test $wxUSE_PERMISSIVE = no; then
5314 result=yes
5315 else
5316 result=no
5317 fi
5318 else
5319 result=$wxUSE_PERMISSIVE
5320 fi
5321
5322 { echo "$as_me:$LINENO: result: $result" >&5
5323 echo "${ECHO_T}$result" >&6; }
5324
5325
5326 enablestring=
5327 defaultval=
5328 if test -z "$defaultval"; then
5329 if test x"$enablestring" = xdisable; then
5330 defaultval=yes
5331 else
5332 defaultval=no
5333 fi
5334 fi
5335
5336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5337 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5338 # Check whether --enable-no_deps was given.
5339 if test "${enable_no_deps+set}" = set; then
5340 enableval=$enable_no_deps;
5341 if test "$enableval" = yes; then
5342 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5343 else
5344 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5345 fi
5346
5347 else
5348
5349 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5350
5351 fi
5352
5353
5354 eval "$wx_cv_use_no_deps"
5355
5356 if test x"$enablestring" = xdisable; then
5357 if test $wxUSE_NO_DEPS = no; then
5358 result=yes
5359 else
5360 result=no
5361 fi
5362 else
5363 result=$wxUSE_NO_DEPS
5364 fi
5365
5366 { echo "$as_me:$LINENO: result: $result" >&5
5367 echo "${ECHO_T}$result" >&6; }
5368
5369
5370 enablestring=disable
5371 defaultval=
5372 if test -z "$defaultval"; then
5373 if test x"$enablestring" = xdisable; then
5374 defaultval=yes
5375 else
5376 defaultval=no
5377 fi
5378 fi
5379
5380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5381 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5382 # Check whether --enable-vararg_macros was given.
5383 if test "${enable_vararg_macros+set}" = set; then
5384 enableval=$enable_vararg_macros;
5385 if test "$enableval" = yes; then
5386 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5387 else
5388 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5389 fi
5390
5391 else
5392
5393 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5394
5395 fi
5396
5397
5398 eval "$wx_cv_use_vararg_macros"
5399
5400 if test x"$enablestring" = xdisable; then
5401 if test $wxUSE_VARARG_MACROS = no; then
5402 result=yes
5403 else
5404 result=no
5405 fi
5406 else
5407 result=$wxUSE_VARARG_MACROS
5408 fi
5409
5410 { echo "$as_me:$LINENO: result: $result" >&5
5411 echo "${ECHO_T}$result" >&6; }
5412
5413
5414 enablestring=
5415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5416 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5417 # Check whether --enable-universal_binary was given.
5418 if test "${enable_universal_binary+set}" = set; then
5419 enableval=$enable_universal_binary;
5420 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5421
5422 else
5423
5424 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5425
5426 fi
5427
5428
5429 eval "$wx_cv_use_universal_binary"
5430
5431 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5432 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5433
5434
5435
5436 enablestring=
5437 defaultval=
5438 if test -z "$defaultval"; then
5439 if test x"$enablestring" = xdisable; then
5440 defaultval=yes
5441 else
5442 defaultval=no
5443 fi
5444 fi
5445
5446 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5447 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5448 # Check whether --enable-compat26 was given.
5449 if test "${enable_compat26+set}" = set; then
5450 enableval=$enable_compat26;
5451 if test "$enableval" = yes; then
5452 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5453 else
5454 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5455 fi
5456
5457 else
5458
5459 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5460
5461 fi
5462
5463
5464 eval "$wx_cv_use_compat26"
5465
5466 if test x"$enablestring" = xdisable; then
5467 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5468 result=yes
5469 else
5470 result=no
5471 fi
5472 else
5473 result=$WXWIN_COMPATIBILITY_2_6
5474 fi
5475
5476 { echo "$as_me:$LINENO: result: $result" >&5
5477 echo "${ECHO_T}$result" >&6; }
5478
5479
5480 enablestring=disable
5481 defaultval=
5482 if test -z "$defaultval"; then
5483 if test x"$enablestring" = xdisable; then
5484 defaultval=yes
5485 else
5486 defaultval=no
5487 fi
5488 fi
5489
5490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5491 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5492 # Check whether --enable-compat28 was given.
5493 if test "${enable_compat28+set}" = set; then
5494 enableval=$enable_compat28;
5495 if test "$enableval" = yes; then
5496 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5497 else
5498 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5499 fi
5500
5501 else
5502
5503 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5504
5505 fi
5506
5507
5508 eval "$wx_cv_use_compat28"
5509
5510 if test x"$enablestring" = xdisable; then
5511 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5512 result=yes
5513 else
5514 result=no
5515 fi
5516 else
5517 result=$WXWIN_COMPATIBILITY_2_8
5518 fi
5519
5520 { echo "$as_me:$LINENO: result: $result" >&5
5521 echo "${ECHO_T}$result" >&6; }
5522
5523
5524
5525 enablestring=disable
5526 defaultval=
5527 if test -z "$defaultval"; then
5528 if test x"$enablestring" = xdisable; then
5529 defaultval=yes
5530 else
5531 defaultval=no
5532 fi
5533 fi
5534
5535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5536 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5537 # Check whether --enable-rpath was given.
5538 if test "${enable_rpath+set}" = set; then
5539 enableval=$enable_rpath;
5540 if test "$enableval" = yes; then
5541 wx_cv_use_rpath='wxUSE_RPATH=yes'
5542 else
5543 wx_cv_use_rpath='wxUSE_RPATH=no'
5544 fi
5545
5546 else
5547
5548 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5549
5550 fi
5551
5552
5553 eval "$wx_cv_use_rpath"
5554
5555 if test x"$enablestring" = xdisable; then
5556 if test $wxUSE_RPATH = no; then
5557 result=yes
5558 else
5559 result=no
5560 fi
5561 else
5562 result=$wxUSE_RPATH
5563 fi
5564
5565 { echo "$as_me:$LINENO: result: $result" >&5
5566 echo "${ECHO_T}$result" >&6; }
5567
5568
5569
5570 enablestring=
5571 defaultval=
5572 if test -z "$defaultval"; then
5573 if test x"$enablestring" = xdisable; then
5574 defaultval=yes
5575 else
5576 defaultval=no
5577 fi
5578 fi
5579
5580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5581 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5582 # Check whether --enable-objc_uniquifying was given.
5583 if test "${enable_objc_uniquifying+set}" = set; then
5584 enableval=$enable_objc_uniquifying;
5585 if test "$enableval" = yes; then
5586 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5587 else
5588 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5589 fi
5590
5591 else
5592
5593 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5594
5595 fi
5596
5597
5598 eval "$wx_cv_use_objc_uniquifying"
5599
5600 if test x"$enablestring" = xdisable; then
5601 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5602 result=yes
5603 else
5604 result=no
5605 fi
5606 else
5607 result=$wxUSE_OBJC_UNIQUIFYING
5608 fi
5609
5610 { echo "$as_me:$LINENO: result: $result" >&5
5611 echo "${ECHO_T}$result" >&6; }
5612
5613
5614
5615 enablestring=disable
5616 defaultval=
5617 if test -z "$defaultval"; then
5618 if test x"$enablestring" = xdisable; then
5619 defaultval=yes
5620 else
5621 defaultval=no
5622 fi
5623 fi
5624
5625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5626 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5627 # Check whether --enable-visibility was given.
5628 if test "${enable_visibility+set}" = set; then
5629 enableval=$enable_visibility;
5630 if test "$enableval" = yes; then
5631 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5632 else
5633 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5634 fi
5635
5636 else
5637
5638 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5639
5640 fi
5641
5642
5643 eval "$wx_cv_use_visibility"
5644
5645 if test x"$enablestring" = xdisable; then
5646 if test $wxUSE_VISIBILITY = no; then
5647 result=yes
5648 else
5649 result=no
5650 fi
5651 else
5652 result=$wxUSE_VISIBILITY
5653 fi
5654
5655 { echo "$as_me:$LINENO: result: $result" >&5
5656 echo "${ECHO_T}$result" >&6; }
5657
5658
5659 enablestring=disable
5660 defaultval=
5661 if test -z "$defaultval"; then
5662 if test x"$enablestring" = xdisable; then
5663 defaultval=yes
5664 else
5665 defaultval=no
5666 fi
5667 fi
5668
5669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5670 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5671 # Check whether --enable-tls was given.
5672 if test "${enable_tls+set}" = set; then
5673 enableval=$enable_tls;
5674 if test "$enableval" = yes; then
5675 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5676 else
5677 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5678 fi
5679
5680 else
5681
5682 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5683
5684 fi
5685
5686
5687 eval "$wx_cv_use_tls"
5688
5689 if test x"$enablestring" = xdisable; then
5690 if test $wxUSE_COMPILER_TLS = no; then
5691 result=yes
5692 else
5693 result=no
5694 fi
5695 else
5696 result=$wxUSE_COMPILER_TLS
5697 fi
5698
5699 { echo "$as_me:$LINENO: result: $result" >&5
5700 echo "${ECHO_T}$result" >&6; }
5701
5702
5703
5704
5705 enablestring=
5706 defaultval=$wxUSE_ALL_FEATURES
5707 if test -z "$defaultval"; then
5708 if test x"$enablestring" = xdisable; then
5709 defaultval=yes
5710 else
5711 defaultval=no
5712 fi
5713 fi
5714
5715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5716 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5717 # Check whether --enable-intl was given.
5718 if test "${enable_intl+set}" = set; then
5719 enableval=$enable_intl;
5720 if test "$enableval" = yes; then
5721 wx_cv_use_intl='wxUSE_INTL=yes'
5722 else
5723 wx_cv_use_intl='wxUSE_INTL=no'
5724 fi
5725
5726 else
5727
5728 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5729
5730 fi
5731
5732
5733 eval "$wx_cv_use_intl"
5734
5735 if test x"$enablestring" = xdisable; then
5736 if test $wxUSE_INTL = no; then
5737 result=yes
5738 else
5739 result=no
5740 fi
5741 else
5742 result=$wxUSE_INTL
5743 fi
5744
5745 { echo "$as_me:$LINENO: result: $result" >&5
5746 echo "${ECHO_T}$result" >&6; }
5747
5748
5749 enablestring=
5750 defaultval=$wxUSE_ALL_FEATURES
5751 if test -z "$defaultval"; then
5752 if test x"$enablestring" = xdisable; then
5753 defaultval=yes
5754 else
5755 defaultval=no
5756 fi
5757 fi
5758
5759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5760 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5761 # Check whether --enable-xlocale was given.
5762 if test "${enable_xlocale+set}" = set; then
5763 enableval=$enable_xlocale;
5764 if test "$enableval" = yes; then
5765 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5766 else
5767 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5768 fi
5769
5770 else
5771
5772 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5773
5774 fi
5775
5776
5777 eval "$wx_cv_use_xlocale"
5778
5779 if test x"$enablestring" = xdisable; then
5780 if test $wxUSE_XLOCALE = no; then
5781 result=yes
5782 else
5783 result=no
5784 fi
5785 else
5786 result=$wxUSE_XLOCALE
5787 fi
5788
5789 { echo "$as_me:$LINENO: result: $result" >&5
5790 echo "${ECHO_T}$result" >&6; }
5791
5792
5793 enablestring=
5794 defaultval=$wxUSE_ALL_FEATURES
5795 if test -z "$defaultval"; then
5796 if test x"$enablestring" = xdisable; then
5797 defaultval=yes
5798 else
5799 defaultval=no
5800 fi
5801 fi
5802
5803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5804 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5805 # Check whether --enable-config was given.
5806 if test "${enable_config+set}" = set; then
5807 enableval=$enable_config;
5808 if test "$enableval" = yes; then
5809 wx_cv_use_config='wxUSE_CONFIG=yes'
5810 else
5811 wx_cv_use_config='wxUSE_CONFIG=no'
5812 fi
5813
5814 else
5815
5816 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5817
5818 fi
5819
5820
5821 eval "$wx_cv_use_config"
5822
5823 if test x"$enablestring" = xdisable; then
5824 if test $wxUSE_CONFIG = no; then
5825 result=yes
5826 else
5827 result=no
5828 fi
5829 else
5830 result=$wxUSE_CONFIG
5831 fi
5832
5833 { echo "$as_me:$LINENO: result: $result" >&5
5834 echo "${ECHO_T}$result" >&6; }
5835
5836
5837
5838 enablestring=
5839 defaultval=$wxUSE_ALL_FEATURES
5840 if test -z "$defaultval"; then
5841 if test x"$enablestring" = xdisable; then
5842 defaultval=yes
5843 else
5844 defaultval=no
5845 fi
5846 fi
5847
5848 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5849 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5850 # Check whether --enable-protocols was given.
5851 if test "${enable_protocols+set}" = set; then
5852 enableval=$enable_protocols;
5853 if test "$enableval" = yes; then
5854 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5855 else
5856 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5857 fi
5858
5859 else
5860
5861 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5862
5863 fi
5864
5865
5866 eval "$wx_cv_use_protocols"
5867
5868 if test x"$enablestring" = xdisable; then
5869 if test $wxUSE_PROTOCOL = no; then
5870 result=yes
5871 else
5872 result=no
5873 fi
5874 else
5875 result=$wxUSE_PROTOCOL
5876 fi
5877
5878 { echo "$as_me:$LINENO: result: $result" >&5
5879 echo "${ECHO_T}$result" >&6; }
5880
5881
5882 enablestring=
5883 defaultval=$wxUSE_ALL_FEATURES
5884 if test -z "$defaultval"; then
5885 if test x"$enablestring" = xdisable; then
5886 defaultval=yes
5887 else
5888 defaultval=no
5889 fi
5890 fi
5891
5892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5893 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5894 # Check whether --enable-ftp was given.
5895 if test "${enable_ftp+set}" = set; then
5896 enableval=$enable_ftp;
5897 if test "$enableval" = yes; then
5898 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5899 else
5900 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5901 fi
5902
5903 else
5904
5905 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5906
5907 fi
5908
5909
5910 eval "$wx_cv_use_ftp"
5911
5912 if test x"$enablestring" = xdisable; then
5913 if test $wxUSE_PROTOCOL_FTP = no; then
5914 result=yes
5915 else
5916 result=no
5917 fi
5918 else
5919 result=$wxUSE_PROTOCOL_FTP
5920 fi
5921
5922 { echo "$as_me:$LINENO: result: $result" >&5
5923 echo "${ECHO_T}$result" >&6; }
5924
5925
5926 enablestring=
5927 defaultval=$wxUSE_ALL_FEATURES
5928 if test -z "$defaultval"; then
5929 if test x"$enablestring" = xdisable; then
5930 defaultval=yes
5931 else
5932 defaultval=no
5933 fi
5934 fi
5935
5936 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5937 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5938 # Check whether --enable-http was given.
5939 if test "${enable_http+set}" = set; then
5940 enableval=$enable_http;
5941 if test "$enableval" = yes; then
5942 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5943 else
5944 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5945 fi
5946
5947 else
5948
5949 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5950
5951 fi
5952
5953
5954 eval "$wx_cv_use_http"
5955
5956 if test x"$enablestring" = xdisable; then
5957 if test $wxUSE_PROTOCOL_HTTP = no; then
5958 result=yes
5959 else
5960 result=no
5961 fi
5962 else
5963 result=$wxUSE_PROTOCOL_HTTP
5964 fi
5965
5966 { echo "$as_me:$LINENO: result: $result" >&5
5967 echo "${ECHO_T}$result" >&6; }
5968
5969
5970 enablestring=
5971 defaultval=$wxUSE_ALL_FEATURES
5972 if test -z "$defaultval"; then
5973 if test x"$enablestring" = xdisable; then
5974 defaultval=yes
5975 else
5976 defaultval=no
5977 fi
5978 fi
5979
5980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5981 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5982 # Check whether --enable-fileproto was given.
5983 if test "${enable_fileproto+set}" = set; then
5984 enableval=$enable_fileproto;
5985 if test "$enableval" = yes; then
5986 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5987 else
5988 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5989 fi
5990
5991 else
5992
5993 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5994
5995 fi
5996
5997
5998 eval "$wx_cv_use_fileproto"
5999
6000 if test x"$enablestring" = xdisable; then
6001 if test $wxUSE_PROTOCOL_FILE = no; then
6002 result=yes
6003 else
6004 result=no
6005 fi
6006 else
6007 result=$wxUSE_PROTOCOL_FILE
6008 fi
6009
6010 { echo "$as_me:$LINENO: result: $result" >&5
6011 echo "${ECHO_T}$result" >&6; }
6012
6013
6014 enablestring=
6015 defaultval=$wxUSE_ALL_FEATURES
6016 if test -z "$defaultval"; then
6017 if test x"$enablestring" = xdisable; then
6018 defaultval=yes
6019 else
6020 defaultval=no
6021 fi
6022 fi
6023
6024 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6025 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6026 # Check whether --enable-sockets was given.
6027 if test "${enable_sockets+set}" = set; then
6028 enableval=$enable_sockets;
6029 if test "$enableval" = yes; then
6030 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6031 else
6032 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6033 fi
6034
6035 else
6036
6037 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6038
6039 fi
6040
6041
6042 eval "$wx_cv_use_sockets"
6043
6044 if test x"$enablestring" = xdisable; then
6045 if test $wxUSE_SOCKETS = no; then
6046 result=yes
6047 else
6048 result=no
6049 fi
6050 else
6051 result=$wxUSE_SOCKETS
6052 fi
6053
6054 { echo "$as_me:$LINENO: result: $result" >&5
6055 echo "${ECHO_T}$result" >&6; }
6056
6057
6058 enablestring=
6059 defaultval=$wxUSE_ALL_FEATURES
6060 if test -z "$defaultval"; then
6061 if test x"$enablestring" = xdisable; then
6062 defaultval=yes
6063 else
6064 defaultval=no
6065 fi
6066 fi
6067
6068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6069 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6070 # Check whether --enable-ipv6 was given.
6071 if test "${enable_ipv6+set}" = set; then
6072 enableval=$enable_ipv6;
6073 if test "$enableval" = yes; then
6074 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6075 else
6076 wx_cv_use_ipv6='wxUSE_IPV6=no'
6077 fi
6078
6079 else
6080
6081 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6082
6083 fi
6084
6085
6086 eval "$wx_cv_use_ipv6"
6087
6088 if test x"$enablestring" = xdisable; then
6089 if test $wxUSE_IPV6 = no; then
6090 result=yes
6091 else
6092 result=no
6093 fi
6094 else
6095 result=$wxUSE_IPV6
6096 fi
6097
6098 { echo "$as_me:$LINENO: result: $result" >&5
6099 echo "${ECHO_T}$result" >&6; }
6100
6101
6102 enablestring=
6103 defaultval=$wxUSE_ALL_FEATURES
6104 if test -z "$defaultval"; then
6105 if test x"$enablestring" = xdisable; then
6106 defaultval=yes
6107 else
6108 defaultval=no
6109 fi
6110 fi
6111
6112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6113 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6114 # Check whether --enable-ole was given.
6115 if test "${enable_ole+set}" = set; then
6116 enableval=$enable_ole;
6117 if test "$enableval" = yes; then
6118 wx_cv_use_ole='wxUSE_OLE=yes'
6119 else
6120 wx_cv_use_ole='wxUSE_OLE=no'
6121 fi
6122
6123 else
6124
6125 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6126
6127 fi
6128
6129
6130 eval "$wx_cv_use_ole"
6131
6132 if test x"$enablestring" = xdisable; then
6133 if test $wxUSE_OLE = no; then
6134 result=yes
6135 else
6136 result=no
6137 fi
6138 else
6139 result=$wxUSE_OLE
6140 fi
6141
6142 { echo "$as_me:$LINENO: result: $result" >&5
6143 echo "${ECHO_T}$result" >&6; }
6144
6145
6146 enablestring=
6147 defaultval=$wxUSE_ALL_FEATURES
6148 if test -z "$defaultval"; then
6149 if test x"$enablestring" = xdisable; then
6150 defaultval=yes
6151 else
6152 defaultval=no
6153 fi
6154 fi
6155
6156 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6157 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6158 # Check whether --enable-dataobj was given.
6159 if test "${enable_dataobj+set}" = set; then
6160 enableval=$enable_dataobj;
6161 if test "$enableval" = yes; then
6162 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6163 else
6164 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6165 fi
6166
6167 else
6168
6169 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6170
6171 fi
6172
6173
6174 eval "$wx_cv_use_dataobj"
6175
6176 if test x"$enablestring" = xdisable; then
6177 if test $wxUSE_DATAOBJ = no; then
6178 result=yes
6179 else
6180 result=no
6181 fi
6182 else
6183 result=$wxUSE_DATAOBJ
6184 fi
6185
6186 { echo "$as_me:$LINENO: result: $result" >&5
6187 echo "${ECHO_T}$result" >&6; }
6188
6189
6190
6191 enablestring=
6192 defaultval=$wxUSE_ALL_FEATURES
6193 if test -z "$defaultval"; then
6194 if test x"$enablestring" = xdisable; then
6195 defaultval=yes
6196 else
6197 defaultval=no
6198 fi
6199 fi
6200
6201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6202 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6203 # Check whether --enable-ipc was given.
6204 if test "${enable_ipc+set}" = set; then
6205 enableval=$enable_ipc;
6206 if test "$enableval" = yes; then
6207 wx_cv_use_ipc='wxUSE_IPC=yes'
6208 else
6209 wx_cv_use_ipc='wxUSE_IPC=no'
6210 fi
6211
6212 else
6213
6214 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6215
6216 fi
6217
6218
6219 eval "$wx_cv_use_ipc"
6220
6221 if test x"$enablestring" = xdisable; then
6222 if test $wxUSE_IPC = no; then
6223 result=yes
6224 else
6225 result=no
6226 fi
6227 else
6228 result=$wxUSE_IPC
6229 fi
6230
6231 { echo "$as_me:$LINENO: result: $result" >&5
6232 echo "${ECHO_T}$result" >&6; }
6233
6234
6235
6236 enablestring=
6237 defaultval=$wxUSE_ALL_FEATURES
6238 if test -z "$defaultval"; then
6239 if test x"$enablestring" = xdisable; then
6240 defaultval=yes
6241 else
6242 defaultval=no
6243 fi
6244 fi
6245
6246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6247 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6248 # Check whether --enable-baseevtloop was given.
6249 if test "${enable_baseevtloop+set}" = set; then
6250 enableval=$enable_baseevtloop;
6251 if test "$enableval" = yes; then
6252 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6253 else
6254 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6255 fi
6256
6257 else
6258
6259 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6260
6261 fi
6262
6263
6264 eval "$wx_cv_use_baseevtloop"
6265
6266 if test x"$enablestring" = xdisable; then
6267 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6268 result=yes
6269 else
6270 result=no
6271 fi
6272 else
6273 result=$wxUSE_CONSOLE_EVENTLOOP
6274 fi
6275
6276 { echo "$as_me:$LINENO: result: $result" >&5
6277 echo "${ECHO_T}$result" >&6; }
6278
6279
6280 enablestring=
6281 defaultval=$wxUSE_ALL_FEATURES
6282 if test -z "$defaultval"; then
6283 if test x"$enablestring" = xdisable; then
6284 defaultval=yes
6285 else
6286 defaultval=no
6287 fi
6288 fi
6289
6290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6291 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6292 # Check whether --enable-epollloop was given.
6293 if test "${enable_epollloop+set}" = set; then
6294 enableval=$enable_epollloop;
6295 if test "$enableval" = yes; then
6296 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6297 else
6298 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6299 fi
6300
6301 else
6302
6303 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6304
6305 fi
6306
6307
6308 eval "$wx_cv_use_epollloop"
6309
6310 if test x"$enablestring" = xdisable; then
6311 if test $wxUSE_EPOLL_DISPATCHER = no; then
6312 result=yes
6313 else
6314 result=no
6315 fi
6316 else
6317 result=$wxUSE_EPOLL_DISPATCHER
6318 fi
6319
6320 { echo "$as_me:$LINENO: result: $result" >&5
6321 echo "${ECHO_T}$result" >&6; }
6322
6323
6324 enablestring=
6325 defaultval=$wxUSE_ALL_FEATURES
6326 if test -z "$defaultval"; then
6327 if test x"$enablestring" = xdisable; then
6328 defaultval=yes
6329 else
6330 defaultval=no
6331 fi
6332 fi
6333
6334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6335 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6336 # Check whether --enable-selectloop was given.
6337 if test "${enable_selectloop+set}" = set; then
6338 enableval=$enable_selectloop;
6339 if test "$enableval" = yes; then
6340 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6341 else
6342 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6343 fi
6344
6345 else
6346
6347 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6348
6349 fi
6350
6351
6352 eval "$wx_cv_use_selectloop"
6353
6354 if test x"$enablestring" = xdisable; then
6355 if test $wxUSE_SELECT_DISPATCHER = no; then
6356 result=yes
6357 else
6358 result=no
6359 fi
6360 else
6361 result=$wxUSE_SELECT_DISPATCHER
6362 fi
6363
6364 { echo "$as_me:$LINENO: result: $result" >&5
6365 echo "${ECHO_T}$result" >&6; }
6366
6367
6368
6369 enablestring=
6370 defaultval=$wxUSE_ALL_FEATURES
6371 if test -z "$defaultval"; then
6372 if test x"$enablestring" = xdisable; then
6373 defaultval=yes
6374 else
6375 defaultval=no
6376 fi
6377 fi
6378
6379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6380 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6381 # Check whether --enable-any was given.
6382 if test "${enable_any+set}" = set; then
6383 enableval=$enable_any;
6384 if test "$enableval" = yes; then
6385 wx_cv_use_any='wxUSE_ANY=yes'
6386 else
6387 wx_cv_use_any='wxUSE_ANY=no'
6388 fi
6389
6390 else
6391
6392 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6393
6394 fi
6395
6396
6397 eval "$wx_cv_use_any"
6398
6399 if test x"$enablestring" = xdisable; then
6400 if test $wxUSE_ANY = no; then
6401 result=yes
6402 else
6403 result=no
6404 fi
6405 else
6406 result=$wxUSE_ANY
6407 fi
6408
6409 { echo "$as_me:$LINENO: result: $result" >&5
6410 echo "${ECHO_T}$result" >&6; }
6411
6412
6413 enablestring=
6414 defaultval=$wxUSE_ALL_FEATURES
6415 if test -z "$defaultval"; then
6416 if test x"$enablestring" = xdisable; then
6417 defaultval=yes
6418 else
6419 defaultval=no
6420 fi
6421 fi
6422
6423 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6424 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6425 # Check whether --enable-apple_ieee was given.
6426 if test "${enable_apple_ieee+set}" = set; then
6427 enableval=$enable_apple_ieee;
6428 if test "$enableval" = yes; then
6429 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6430 else
6431 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6432 fi
6433
6434 else
6435
6436 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6437
6438 fi
6439
6440
6441 eval "$wx_cv_use_apple_ieee"
6442
6443 if test x"$enablestring" = xdisable; then
6444 if test $wxUSE_APPLE_IEEE = no; then
6445 result=yes
6446 else
6447 result=no
6448 fi
6449 else
6450 result=$wxUSE_APPLE_IEEE
6451 fi
6452
6453 { echo "$as_me:$LINENO: result: $result" >&5
6454 echo "${ECHO_T}$result" >&6; }
6455
6456
6457 enablestring=
6458 defaultval=$wxUSE_ALL_FEATURES
6459 if test -z "$defaultval"; then
6460 if test x"$enablestring" = xdisable; then
6461 defaultval=yes
6462 else
6463 defaultval=no
6464 fi
6465 fi
6466
6467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6468 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6469 # Check whether --enable-arcstream was given.
6470 if test "${enable_arcstream+set}" = set; then
6471 enableval=$enable_arcstream;
6472 if test "$enableval" = yes; then
6473 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6474 else
6475 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6476 fi
6477
6478 else
6479
6480 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6481
6482 fi
6483
6484
6485 eval "$wx_cv_use_arcstream"
6486
6487 if test x"$enablestring" = xdisable; then
6488 if test $wxUSE_ARCHIVE_STREAMS = no; then
6489 result=yes
6490 else
6491 result=no
6492 fi
6493 else
6494 result=$wxUSE_ARCHIVE_STREAMS
6495 fi
6496
6497 { echo "$as_me:$LINENO: result: $result" >&5
6498 echo "${ECHO_T}$result" >&6; }
6499
6500
6501 enablestring=
6502 defaultval=$wxUSE_ALL_FEATURES
6503 if test -z "$defaultval"; then
6504 if test x"$enablestring" = xdisable; then
6505 defaultval=yes
6506 else
6507 defaultval=no
6508 fi
6509 fi
6510
6511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6512 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6513 # Check whether --enable-base64 was given.
6514 if test "${enable_base64+set}" = set; then
6515 enableval=$enable_base64;
6516 if test "$enableval" = yes; then
6517 wx_cv_use_base64='wxUSE_BASE64=yes'
6518 else
6519 wx_cv_use_base64='wxUSE_BASE64=no'
6520 fi
6521
6522 else
6523
6524 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6525
6526 fi
6527
6528
6529 eval "$wx_cv_use_base64"
6530
6531 if test x"$enablestring" = xdisable; then
6532 if test $wxUSE_BASE64 = no; then
6533 result=yes
6534 else
6535 result=no
6536 fi
6537 else
6538 result=$wxUSE_BASE64
6539 fi
6540
6541 { echo "$as_me:$LINENO: result: $result" >&5
6542 echo "${ECHO_T}$result" >&6; }
6543
6544
6545 enablestring=
6546 defaultval=$wxUSE_ALL_FEATURES
6547 if test -z "$defaultval"; then
6548 if test x"$enablestring" = xdisable; then
6549 defaultval=yes
6550 else
6551 defaultval=no
6552 fi
6553 fi
6554
6555 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6556 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6557 # Check whether --enable-backtrace was given.
6558 if test "${enable_backtrace+set}" = set; then
6559 enableval=$enable_backtrace;
6560 if test "$enableval" = yes; then
6561 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6562 else
6563 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6564 fi
6565
6566 else
6567
6568 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6569
6570 fi
6571
6572
6573 eval "$wx_cv_use_backtrace"
6574
6575 if test x"$enablestring" = xdisable; then
6576 if test $wxUSE_STACKWALKER = no; then
6577 result=yes
6578 else
6579 result=no
6580 fi
6581 else
6582 result=$wxUSE_STACKWALKER
6583 fi
6584
6585 { echo "$as_me:$LINENO: result: $result" >&5
6586 echo "${ECHO_T}$result" >&6; }
6587
6588
6589 enablestring=
6590 defaultval=$wxUSE_ALL_FEATURES
6591 if test -z "$defaultval"; then
6592 if test x"$enablestring" = xdisable; then
6593 defaultval=yes
6594 else
6595 defaultval=no
6596 fi
6597 fi
6598
6599 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6600 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6601 # Check whether --enable-catch_segvs was given.
6602 if test "${enable_catch_segvs+set}" = set; then
6603 enableval=$enable_catch_segvs;
6604 if test "$enableval" = yes; then
6605 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6606 else
6607 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6608 fi
6609
6610 else
6611
6612 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6613
6614 fi
6615
6616
6617 eval "$wx_cv_use_catch_segvs"
6618
6619 if test x"$enablestring" = xdisable; then
6620 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6621 result=yes
6622 else
6623 result=no
6624 fi
6625 else
6626 result=$wxUSE_ON_FATAL_EXCEPTION
6627 fi
6628
6629 { echo "$as_me:$LINENO: result: $result" >&5
6630 echo "${ECHO_T}$result" >&6; }
6631
6632
6633 enablestring=
6634 defaultval=$wxUSE_ALL_FEATURES
6635 if test -z "$defaultval"; then
6636 if test x"$enablestring" = xdisable; then
6637 defaultval=yes
6638 else
6639 defaultval=no
6640 fi
6641 fi
6642
6643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6644 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6645 # Check whether --enable-cmdline was given.
6646 if test "${enable_cmdline+set}" = set; then
6647 enableval=$enable_cmdline;
6648 if test "$enableval" = yes; then
6649 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6650 else
6651 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6652 fi
6653
6654 else
6655
6656 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6657
6658 fi
6659
6660
6661 eval "$wx_cv_use_cmdline"
6662
6663 if test x"$enablestring" = xdisable; then
6664 if test $wxUSE_CMDLINE_PARSER = no; then
6665 result=yes
6666 else
6667 result=no
6668 fi
6669 else
6670 result=$wxUSE_CMDLINE_PARSER
6671 fi
6672
6673 { echo "$as_me:$LINENO: result: $result" >&5
6674 echo "${ECHO_T}$result" >&6; }
6675
6676
6677 enablestring=
6678 defaultval=$wxUSE_ALL_FEATURES
6679 if test -z "$defaultval"; then
6680 if test x"$enablestring" = xdisable; then
6681 defaultval=yes
6682 else
6683 defaultval=no
6684 fi
6685 fi
6686
6687 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6688 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6689 # Check whether --enable-datetime was given.
6690 if test "${enable_datetime+set}" = set; then
6691 enableval=$enable_datetime;
6692 if test "$enableval" = yes; then
6693 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6694 else
6695 wx_cv_use_datetime='wxUSE_DATETIME=no'
6696 fi
6697
6698 else
6699
6700 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6701
6702 fi
6703
6704
6705 eval "$wx_cv_use_datetime"
6706
6707 if test x"$enablestring" = xdisable; then
6708 if test $wxUSE_DATETIME = no; then
6709 result=yes
6710 else
6711 result=no
6712 fi
6713 else
6714 result=$wxUSE_DATETIME
6715 fi
6716
6717 { echo "$as_me:$LINENO: result: $result" >&5
6718 echo "${ECHO_T}$result" >&6; }
6719
6720
6721 enablestring=
6722 defaultval=$wxUSE_ALL_FEATURES
6723 if test -z "$defaultval"; then
6724 if test x"$enablestring" = xdisable; then
6725 defaultval=yes
6726 else
6727 defaultval=no
6728 fi
6729 fi
6730
6731 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6732 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6733 # Check whether --enable-debugreport was given.
6734 if test "${enable_debugreport+set}" = set; then
6735 enableval=$enable_debugreport;
6736 if test "$enableval" = yes; then
6737 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6738 else
6739 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6740 fi
6741
6742 else
6743
6744 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6745
6746 fi
6747
6748
6749 eval "$wx_cv_use_debugreport"
6750
6751 if test x"$enablestring" = xdisable; then
6752 if test $wxUSE_DEBUGREPORT = no; then
6753 result=yes
6754 else
6755 result=no
6756 fi
6757 else
6758 result=$wxUSE_DEBUGREPORT
6759 fi
6760
6761 { echo "$as_me:$LINENO: result: $result" >&5
6762 echo "${ECHO_T}$result" >&6; }
6763
6764
6765 enablestring=
6766 defaultval=$wxUSE_ALL_FEATURES
6767 if test -z "$defaultval"; then
6768 if test x"$enablestring" = xdisable; then
6769 defaultval=yes
6770 else
6771 defaultval=no
6772 fi
6773 fi
6774
6775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6776 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6777 # Check whether --enable-dialupman was given.
6778 if test "${enable_dialupman+set}" = set; then
6779 enableval=$enable_dialupman;
6780 if test "$enableval" = yes; then
6781 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6782 else
6783 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6784 fi
6785
6786 else
6787
6788 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6789
6790 fi
6791
6792
6793 eval "$wx_cv_use_dialupman"
6794
6795 if test x"$enablestring" = xdisable; then
6796 if test $wxUSE_DIALUP_MANAGER = no; then
6797 result=yes
6798 else
6799 result=no
6800 fi
6801 else
6802 result=$wxUSE_DIALUP_MANAGER
6803 fi
6804
6805 { echo "$as_me:$LINENO: result: $result" >&5
6806 echo "${ECHO_T}$result" >&6; }
6807
6808
6809 enablestring=
6810 defaultval=$wxUSE_ALL_FEATURES
6811 if test -z "$defaultval"; then
6812 if test x"$enablestring" = xdisable; then
6813 defaultval=yes
6814 else
6815 defaultval=no
6816 fi
6817 fi
6818
6819 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6820 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6821 # Check whether --enable-dynlib was given.
6822 if test "${enable_dynlib+set}" = set; then
6823 enableval=$enable_dynlib;
6824 if test "$enableval" = yes; then
6825 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6826 else
6827 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6828 fi
6829
6830 else
6831
6832 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6833
6834 fi
6835
6836
6837 eval "$wx_cv_use_dynlib"
6838
6839 if test x"$enablestring" = xdisable; then
6840 if test $wxUSE_DYNLIB_CLASS = no; then
6841 result=yes
6842 else
6843 result=no
6844 fi
6845 else
6846 result=$wxUSE_DYNLIB_CLASS
6847 fi
6848
6849 { echo "$as_me:$LINENO: result: $result" >&5
6850 echo "${ECHO_T}$result" >&6; }
6851
6852
6853 enablestring=
6854 defaultval=$wxUSE_ALL_FEATURES
6855 if test -z "$defaultval"; then
6856 if test x"$enablestring" = xdisable; then
6857 defaultval=yes
6858 else
6859 defaultval=no
6860 fi
6861 fi
6862
6863 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6864 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6865 # Check whether --enable-dynamicloader was given.
6866 if test "${enable_dynamicloader+set}" = set; then
6867 enableval=$enable_dynamicloader;
6868 if test "$enableval" = yes; then
6869 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6870 else
6871 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6872 fi
6873
6874 else
6875
6876 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6877
6878 fi
6879
6880
6881 eval "$wx_cv_use_dynamicloader"
6882
6883 if test x"$enablestring" = xdisable; then
6884 if test $wxUSE_DYNAMIC_LOADER = no; then
6885 result=yes
6886 else
6887 result=no
6888 fi
6889 else
6890 result=$wxUSE_DYNAMIC_LOADER
6891 fi
6892
6893 { echo "$as_me:$LINENO: result: $result" >&5
6894 echo "${ECHO_T}$result" >&6; }
6895
6896
6897 enablestring=
6898 defaultval=$wxUSE_ALL_FEATURES
6899 if test -z "$defaultval"; then
6900 if test x"$enablestring" = xdisable; then
6901 defaultval=yes
6902 else
6903 defaultval=no
6904 fi
6905 fi
6906
6907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6908 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6909 # Check whether --enable-exceptions was given.
6910 if test "${enable_exceptions+set}" = set; then
6911 enableval=$enable_exceptions;
6912 if test "$enableval" = yes; then
6913 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6914 else
6915 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6916 fi
6917
6918 else
6919
6920 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6921
6922 fi
6923
6924
6925 eval "$wx_cv_use_exceptions"
6926
6927 if test x"$enablestring" = xdisable; then
6928 if test $wxUSE_EXCEPTIONS = no; then
6929 result=yes
6930 else
6931 result=no
6932 fi
6933 else
6934 result=$wxUSE_EXCEPTIONS
6935 fi
6936
6937 { echo "$as_me:$LINENO: result: $result" >&5
6938 echo "${ECHO_T}$result" >&6; }
6939
6940
6941 enablestring=
6942 defaultval=$wxUSE_ALL_FEATURES
6943 if test -z "$defaultval"; then
6944 if test x"$enablestring" = xdisable; then
6945 defaultval=yes
6946 else
6947 defaultval=no
6948 fi
6949 fi
6950
6951 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6952 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6953 # Check whether --enable-ffile was given.
6954 if test "${enable_ffile+set}" = set; then
6955 enableval=$enable_ffile;
6956 if test "$enableval" = yes; then
6957 wx_cv_use_ffile='wxUSE_FFILE=yes'
6958 else
6959 wx_cv_use_ffile='wxUSE_FFILE=no'
6960 fi
6961
6962 else
6963
6964 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6965
6966 fi
6967
6968
6969 eval "$wx_cv_use_ffile"
6970
6971 if test x"$enablestring" = xdisable; then
6972 if test $wxUSE_FFILE = no; then
6973 result=yes
6974 else
6975 result=no
6976 fi
6977 else
6978 result=$wxUSE_FFILE
6979 fi
6980
6981 { echo "$as_me:$LINENO: result: $result" >&5
6982 echo "${ECHO_T}$result" >&6; }
6983
6984
6985 enablestring=
6986 defaultval=$wxUSE_ALL_FEATURES
6987 if test -z "$defaultval"; then
6988 if test x"$enablestring" = xdisable; then
6989 defaultval=yes
6990 else
6991 defaultval=no
6992 fi
6993 fi
6994
6995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6996 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6997 # Check whether --enable-file was given.
6998 if test "${enable_file+set}" = set; then
6999 enableval=$enable_file;
7000 if test "$enableval" = yes; then
7001 wx_cv_use_file='wxUSE_FILE=yes'
7002 else
7003 wx_cv_use_file='wxUSE_FILE=no'
7004 fi
7005
7006 else
7007
7008 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7009
7010 fi
7011
7012
7013 eval "$wx_cv_use_file"
7014
7015 if test x"$enablestring" = xdisable; then
7016 if test $wxUSE_FILE = no; then
7017 result=yes
7018 else
7019 result=no
7020 fi
7021 else
7022 result=$wxUSE_FILE
7023 fi
7024
7025 { echo "$as_me:$LINENO: result: $result" >&5
7026 echo "${ECHO_T}$result" >&6; }
7027
7028
7029 enablestring=
7030 defaultval=$wxUSE_ALL_FEATURES
7031 if test -z "$defaultval"; then
7032 if test x"$enablestring" = xdisable; then
7033 defaultval=yes
7034 else
7035 defaultval=no
7036 fi
7037 fi
7038
7039 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7040 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7041 # Check whether --enable-filehistory was given.
7042 if test "${enable_filehistory+set}" = set; then
7043 enableval=$enable_filehistory;
7044 if test "$enableval" = yes; then
7045 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
7046 else
7047 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
7048 fi
7049
7050 else
7051
7052 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7053
7054 fi
7055
7056
7057 eval "$wx_cv_use_filehistory"
7058
7059 if test x"$enablestring" = xdisable; then
7060 if test $wxUSE_FILE_HISTORY = no; then
7061 result=yes
7062 else
7063 result=no
7064 fi
7065 else
7066 result=$wxUSE_FILE_HISTORY
7067 fi
7068
7069 { echo "$as_me:$LINENO: result: $result" >&5
7070 echo "${ECHO_T}$result" >&6; }
7071
7072
7073 enablestring=
7074 defaultval=$wxUSE_ALL_FEATURES
7075 if test -z "$defaultval"; then
7076 if test x"$enablestring" = xdisable; then
7077 defaultval=yes
7078 else
7079 defaultval=no
7080 fi
7081 fi
7082
7083 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7084 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7085 # Check whether --enable-filesystem was given.
7086 if test "${enable_filesystem+set}" = set; then
7087 enableval=$enable_filesystem;
7088 if test "$enableval" = yes; then
7089 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7090 else
7091 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7092 fi
7093
7094 else
7095
7096 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7097
7098 fi
7099
7100
7101 eval "$wx_cv_use_filesystem"
7102
7103 if test x"$enablestring" = xdisable; then
7104 if test $wxUSE_FILESYSTEM = no; then
7105 result=yes
7106 else
7107 result=no
7108 fi
7109 else
7110 result=$wxUSE_FILESYSTEM
7111 fi
7112
7113 { echo "$as_me:$LINENO: result: $result" >&5
7114 echo "${ECHO_T}$result" >&6; }
7115
7116
7117 enablestring=
7118 defaultval=$wxUSE_ALL_FEATURES
7119 if test -z "$defaultval"; then
7120 if test x"$enablestring" = xdisable; then
7121 defaultval=yes
7122 else
7123 defaultval=no
7124 fi
7125 fi
7126
7127 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7128 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7129 # Check whether --enable-fontenum was given.
7130 if test "${enable_fontenum+set}" = set; then
7131 enableval=$enable_fontenum;
7132 if test "$enableval" = yes; then
7133 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7134 else
7135 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7136 fi
7137
7138 else
7139
7140 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7141
7142 fi
7143
7144
7145 eval "$wx_cv_use_fontenum"
7146
7147 if test x"$enablestring" = xdisable; then
7148 if test $wxUSE_FONTENUM = no; then
7149 result=yes
7150 else
7151 result=no
7152 fi
7153 else
7154 result=$wxUSE_FONTENUM
7155 fi
7156
7157 { echo "$as_me:$LINENO: result: $result" >&5
7158 echo "${ECHO_T}$result" >&6; }
7159
7160
7161 enablestring=
7162 defaultval=$wxUSE_ALL_FEATURES
7163 if test -z "$defaultval"; then
7164 if test x"$enablestring" = xdisable; then
7165 defaultval=yes
7166 else
7167 defaultval=no
7168 fi
7169 fi
7170
7171 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7172 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7173 # Check whether --enable-fontmap was given.
7174 if test "${enable_fontmap+set}" = set; then
7175 enableval=$enable_fontmap;
7176 if test "$enableval" = yes; then
7177 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7178 else
7179 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7180 fi
7181
7182 else
7183
7184 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7185
7186 fi
7187
7188
7189 eval "$wx_cv_use_fontmap"
7190
7191 if test x"$enablestring" = xdisable; then
7192 if test $wxUSE_FONTMAP = no; then
7193 result=yes
7194 else
7195 result=no
7196 fi
7197 else
7198 result=$wxUSE_FONTMAP
7199 fi
7200
7201 { echo "$as_me:$LINENO: result: $result" >&5
7202 echo "${ECHO_T}$result" >&6; }
7203
7204
7205 enablestring=
7206 defaultval=$wxUSE_ALL_FEATURES
7207 if test -z "$defaultval"; then
7208 if test x"$enablestring" = xdisable; then
7209 defaultval=yes
7210 else
7211 defaultval=no
7212 fi
7213 fi
7214
7215 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7216 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7217 # Check whether --enable-fs_archive was given.
7218 if test "${enable_fs_archive+set}" = set; then
7219 enableval=$enable_fs_archive;
7220 if test "$enableval" = yes; then
7221 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7222 else
7223 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7224 fi
7225
7226 else
7227
7228 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7229
7230 fi
7231
7232
7233 eval "$wx_cv_use_fs_archive"
7234
7235 if test x"$enablestring" = xdisable; then
7236 if test $wxUSE_FS_ARCHIVE = no; then
7237 result=yes
7238 else
7239 result=no
7240 fi
7241 else
7242 result=$wxUSE_FS_ARCHIVE
7243 fi
7244
7245 { echo "$as_me:$LINENO: result: $result" >&5
7246 echo "${ECHO_T}$result" >&6; }
7247
7248
7249 enablestring=
7250 defaultval=$wxUSE_ALL_FEATURES
7251 if test -z "$defaultval"; then
7252 if test x"$enablestring" = xdisable; then
7253 defaultval=yes
7254 else
7255 defaultval=no
7256 fi
7257 fi
7258
7259 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7260 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7261 # Check whether --enable-fs_inet was given.
7262 if test "${enable_fs_inet+set}" = set; then
7263 enableval=$enable_fs_inet;
7264 if test "$enableval" = yes; then
7265 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7266 else
7267 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7268 fi
7269
7270 else
7271
7272 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7273
7274 fi
7275
7276
7277 eval "$wx_cv_use_fs_inet"
7278
7279 if test x"$enablestring" = xdisable; then
7280 if test $wxUSE_FS_INET = no; then
7281 result=yes
7282 else
7283 result=no
7284 fi
7285 else
7286 result=$wxUSE_FS_INET
7287 fi
7288
7289 { echo "$as_me:$LINENO: result: $result" >&5
7290 echo "${ECHO_T}$result" >&6; }
7291
7292
7293 enablestring=
7294 defaultval=$wxUSE_ALL_FEATURES
7295 if test -z "$defaultval"; then
7296 if test x"$enablestring" = xdisable; then
7297 defaultval=yes
7298 else
7299 defaultval=no
7300 fi
7301 fi
7302
7303 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7304 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7305 # Check whether --enable-fs_zip was given.
7306 if test "${enable_fs_zip+set}" = set; then
7307 enableval=$enable_fs_zip;
7308 if test "$enableval" = yes; then
7309 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7310 else
7311 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7312 fi
7313
7314 else
7315
7316 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7317
7318 fi
7319
7320
7321 eval "$wx_cv_use_fs_zip"
7322
7323 if test x"$enablestring" = xdisable; then
7324 if test $wxUSE_FS_ZIP = no; then
7325 result=yes
7326 else
7327 result=no
7328 fi
7329 else
7330 result=$wxUSE_FS_ZIP
7331 fi
7332
7333 { echo "$as_me:$LINENO: result: $result" >&5
7334 echo "${ECHO_T}$result" >&6; }
7335
7336
7337 enablestring=
7338 defaultval=$wxUSE_ALL_FEATURES
7339 if test -z "$defaultval"; then
7340 if test x"$enablestring" = xdisable; then
7341 defaultval=yes
7342 else
7343 defaultval=no
7344 fi
7345 fi
7346
7347 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7348 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7349 # Check whether --enable-fswatcher was given.
7350 if test "${enable_fswatcher+set}" = set; then
7351 enableval=$enable_fswatcher;
7352 if test "$enableval" = yes; then
7353 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7354 else
7355 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7356 fi
7357
7358 else
7359
7360 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7361
7362 fi
7363
7364
7365 eval "$wx_cv_use_fswatcher"
7366
7367 if test x"$enablestring" = xdisable; then
7368 if test $wxUSE_FSWATCHER = no; then
7369 result=yes
7370 else
7371 result=no
7372 fi
7373 else
7374 result=$wxUSE_FSWATCHER
7375 fi
7376
7377 { echo "$as_me:$LINENO: result: $result" >&5
7378 echo "${ECHO_T}$result" >&6; }
7379
7380
7381 enablestring=
7382 defaultval=$wxUSE_ALL_FEATURES
7383 if test -z "$defaultval"; then
7384 if test x"$enablestring" = xdisable; then
7385 defaultval=yes
7386 else
7387 defaultval=no
7388 fi
7389 fi
7390
7391 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7392 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7393 # Check whether --enable-geometry was given.
7394 if test "${enable_geometry+set}" = set; then
7395 enableval=$enable_geometry;
7396 if test "$enableval" = yes; then
7397 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7398 else
7399 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7400 fi
7401
7402 else
7403
7404 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7405
7406 fi
7407
7408
7409 eval "$wx_cv_use_geometry"
7410
7411 if test x"$enablestring" = xdisable; then
7412 if test $wxUSE_GEOMETRY = no; then
7413 result=yes
7414 else
7415 result=no
7416 fi
7417 else
7418 result=$wxUSE_GEOMETRY
7419 fi
7420
7421 { echo "$as_me:$LINENO: result: $result" >&5
7422 echo "${ECHO_T}$result" >&6; }
7423
7424
7425 enablestring=
7426 defaultval=$wxUSE_ALL_FEATURES
7427 if test -z "$defaultval"; then
7428 if test x"$enablestring" = xdisable; then
7429 defaultval=yes
7430 else
7431 defaultval=no
7432 fi
7433 fi
7434
7435 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7436 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7437 # Check whether --enable-log was given.
7438 if test "${enable_log+set}" = set; then
7439 enableval=$enable_log;
7440 if test "$enableval" = yes; then
7441 wx_cv_use_log='wxUSE_LOG=yes'
7442 else
7443 wx_cv_use_log='wxUSE_LOG=no'
7444 fi
7445
7446 else
7447
7448 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7449
7450 fi
7451
7452
7453 eval "$wx_cv_use_log"
7454
7455 if test x"$enablestring" = xdisable; then
7456 if test $wxUSE_LOG = no; then
7457 result=yes
7458 else
7459 result=no
7460 fi
7461 else
7462 result=$wxUSE_LOG
7463 fi
7464
7465 { echo "$as_me:$LINENO: result: $result" >&5
7466 echo "${ECHO_T}$result" >&6; }
7467
7468
7469 enablestring=
7470 defaultval=$wxUSE_ALL_FEATURES
7471 if test -z "$defaultval"; then
7472 if test x"$enablestring" = xdisable; then
7473 defaultval=yes
7474 else
7475 defaultval=no
7476 fi
7477 fi
7478
7479 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7480 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7481 # Check whether --enable-longlong was given.
7482 if test "${enable_longlong+set}" = set; then
7483 enableval=$enable_longlong;
7484 if test "$enableval" = yes; then
7485 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7486 else
7487 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7488 fi
7489
7490 else
7491
7492 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7493
7494 fi
7495
7496
7497 eval "$wx_cv_use_longlong"
7498
7499 if test x"$enablestring" = xdisable; then
7500 if test $wxUSE_LONGLONG = no; then
7501 result=yes
7502 else
7503 result=no
7504 fi
7505 else
7506 result=$wxUSE_LONGLONG
7507 fi
7508
7509 { echo "$as_me:$LINENO: result: $result" >&5
7510 echo "${ECHO_T}$result" >&6; }
7511
7512
7513 enablestring=
7514 defaultval=$wxUSE_ALL_FEATURES
7515 if test -z "$defaultval"; then
7516 if test x"$enablestring" = xdisable; then
7517 defaultval=yes
7518 else
7519 defaultval=no
7520 fi
7521 fi
7522
7523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7524 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7525 # Check whether --enable-mimetype was given.
7526 if test "${enable_mimetype+set}" = set; then
7527 enableval=$enable_mimetype;
7528 if test "$enableval" = yes; then
7529 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7530 else
7531 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7532 fi
7533
7534 else
7535
7536 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7537
7538 fi
7539
7540
7541 eval "$wx_cv_use_mimetype"
7542
7543 if test x"$enablestring" = xdisable; then
7544 if test $wxUSE_MIMETYPE = no; then
7545 result=yes
7546 else
7547 result=no
7548 fi
7549 else
7550 result=$wxUSE_MIMETYPE
7551 fi
7552
7553 { echo "$as_me:$LINENO: result: $result" >&5
7554 echo "${ECHO_T}$result" >&6; }
7555
7556
7557 enablestring=
7558 defaultval=$wxUSE_ALL_FEATURES
7559 if test -z "$defaultval"; then
7560 if test x"$enablestring" = xdisable; then
7561 defaultval=yes
7562 else
7563 defaultval=no
7564 fi
7565 fi
7566
7567 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7568 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7569 # Check whether --enable-printfposparam was given.
7570 if test "${enable_printfposparam+set}" = set; then
7571 enableval=$enable_printfposparam;
7572 if test "$enableval" = yes; then
7573 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7574 else
7575 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7576 fi
7577
7578 else
7579
7580 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7581
7582 fi
7583
7584
7585 eval "$wx_cv_use_printfposparam"
7586
7587 if test x"$enablestring" = xdisable; then
7588 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7589 result=yes
7590 else
7591 result=no
7592 fi
7593 else
7594 result=$wxUSE_PRINTF_POS_PARAMS
7595 fi
7596
7597 { echo "$as_me:$LINENO: result: $result" >&5
7598 echo "${ECHO_T}$result" >&6; }
7599
7600
7601 enablestring=
7602 defaultval=$wxUSE_ALL_FEATURES
7603 if test -z "$defaultval"; then
7604 if test x"$enablestring" = xdisable; then
7605 defaultval=yes
7606 else
7607 defaultval=no
7608 fi
7609 fi
7610
7611 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7612 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7613 # Check whether --enable-snglinst was given.
7614 if test "${enable_snglinst+set}" = set; then
7615 enableval=$enable_snglinst;
7616 if test "$enableval" = yes; then
7617 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7618 else
7619 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7620 fi
7621
7622 else
7623
7624 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7625
7626 fi
7627
7628
7629 eval "$wx_cv_use_snglinst"
7630
7631 if test x"$enablestring" = xdisable; then
7632 if test $wxUSE_SNGLINST_CHECKER = no; then
7633 result=yes
7634 else
7635 result=no
7636 fi
7637 else
7638 result=$wxUSE_SNGLINST_CHECKER
7639 fi
7640
7641 { echo "$as_me:$LINENO: result: $result" >&5
7642 echo "${ECHO_T}$result" >&6; }
7643
7644
7645 enablestring=
7646 defaultval=$wxUSE_ALL_FEATURES
7647 if test -z "$defaultval"; then
7648 if test x"$enablestring" = xdisable; then
7649 defaultval=yes
7650 else
7651 defaultval=no
7652 fi
7653 fi
7654
7655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7656 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7657 # Check whether --enable-sound was given.
7658 if test "${enable_sound+set}" = set; then
7659 enableval=$enable_sound;
7660 if test "$enableval" = yes; then
7661 wx_cv_use_sound='wxUSE_SOUND=yes'
7662 else
7663 wx_cv_use_sound='wxUSE_SOUND=no'
7664 fi
7665
7666 else
7667
7668 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7669
7670 fi
7671
7672
7673 eval "$wx_cv_use_sound"
7674
7675 if test x"$enablestring" = xdisable; then
7676 if test $wxUSE_SOUND = no; then
7677 result=yes
7678 else
7679 result=no
7680 fi
7681 else
7682 result=$wxUSE_SOUND
7683 fi
7684
7685 { echo "$as_me:$LINENO: result: $result" >&5
7686 echo "${ECHO_T}$result" >&6; }
7687
7688
7689 enablestring=
7690 defaultval=$wxUSE_ALL_FEATURES
7691 if test -z "$defaultval"; then
7692 if test x"$enablestring" = xdisable; then
7693 defaultval=yes
7694 else
7695 defaultval=no
7696 fi
7697 fi
7698
7699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7700 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7701 # Check whether --enable-stdpaths was given.
7702 if test "${enable_stdpaths+set}" = set; then
7703 enableval=$enable_stdpaths;
7704 if test "$enableval" = yes; then
7705 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7706 else
7707 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7708 fi
7709
7710 else
7711
7712 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7713
7714 fi
7715
7716
7717 eval "$wx_cv_use_stdpaths"
7718
7719 if test x"$enablestring" = xdisable; then
7720 if test $wxUSE_STDPATHS = no; then
7721 result=yes
7722 else
7723 result=no
7724 fi
7725 else
7726 result=$wxUSE_STDPATHS
7727 fi
7728
7729 { echo "$as_me:$LINENO: result: $result" >&5
7730 echo "${ECHO_T}$result" >&6; }
7731
7732
7733 enablestring=
7734 defaultval=$wxUSE_ALL_FEATURES
7735 if test -z "$defaultval"; then
7736 if test x"$enablestring" = xdisable; then
7737 defaultval=yes
7738 else
7739 defaultval=no
7740 fi
7741 fi
7742
7743 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7744 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7745 # Check whether --enable-stopwatch was given.
7746 if test "${enable_stopwatch+set}" = set; then
7747 enableval=$enable_stopwatch;
7748 if test "$enableval" = yes; then
7749 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7750 else
7751 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7752 fi
7753
7754 else
7755
7756 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7757
7758 fi
7759
7760
7761 eval "$wx_cv_use_stopwatch"
7762
7763 if test x"$enablestring" = xdisable; then
7764 if test $wxUSE_STOPWATCH = no; then
7765 result=yes
7766 else
7767 result=no
7768 fi
7769 else
7770 result=$wxUSE_STOPWATCH
7771 fi
7772
7773 { echo "$as_me:$LINENO: result: $result" >&5
7774 echo "${ECHO_T}$result" >&6; }
7775
7776
7777 enablestring=
7778 defaultval=$wxUSE_ALL_FEATURES
7779 if test -z "$defaultval"; then
7780 if test x"$enablestring" = xdisable; then
7781 defaultval=yes
7782 else
7783 defaultval=no
7784 fi
7785 fi
7786
7787 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7788 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7789 # Check whether --enable-streams was given.
7790 if test "${enable_streams+set}" = set; then
7791 enableval=$enable_streams;
7792 if test "$enableval" = yes; then
7793 wx_cv_use_streams='wxUSE_STREAMS=yes'
7794 else
7795 wx_cv_use_streams='wxUSE_STREAMS=no'
7796 fi
7797
7798 else
7799
7800 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7801
7802 fi
7803
7804
7805 eval "$wx_cv_use_streams"
7806
7807 if test x"$enablestring" = xdisable; then
7808 if test $wxUSE_STREAMS = no; then
7809 result=yes
7810 else
7811 result=no
7812 fi
7813 else
7814 result=$wxUSE_STREAMS
7815 fi
7816
7817 { echo "$as_me:$LINENO: result: $result" >&5
7818 echo "${ECHO_T}$result" >&6; }
7819
7820
7821 enablestring=
7822 defaultval=$wxUSE_ALL_FEATURES
7823 if test -z "$defaultval"; then
7824 if test x"$enablestring" = xdisable; then
7825 defaultval=yes
7826 else
7827 defaultval=no
7828 fi
7829 fi
7830
7831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7832 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7833 # Check whether --enable-sysoptions was given.
7834 if test "${enable_sysoptions+set}" = set; then
7835 enableval=$enable_sysoptions;
7836 if test "$enableval" = yes; then
7837 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
7838 else
7839 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
7840 fi
7841
7842 else
7843
7844 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7845
7846 fi
7847
7848
7849 eval "$wx_cv_use_sysoptions"
7850
7851 if test x"$enablestring" = xdisable; then
7852 if test $wxUSE_SYSTEM_OPTIONS = no; then
7853 result=yes
7854 else
7855 result=no
7856 fi
7857 else
7858 result=$wxUSE_SYSTEM_OPTIONS
7859 fi
7860
7861 { echo "$as_me:$LINENO: result: $result" >&5
7862 echo "${ECHO_T}$result" >&6; }
7863
7864
7865 enablestring=
7866 defaultval=$wxUSE_ALL_FEATURES
7867 if test -z "$defaultval"; then
7868 if test x"$enablestring" = xdisable; then
7869 defaultval=yes
7870 else
7871 defaultval=no
7872 fi
7873 fi
7874
7875 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7876 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7877 # Check whether --enable-tarstream was given.
7878 if test "${enable_tarstream+set}" = set; then
7879 enableval=$enable_tarstream;
7880 if test "$enableval" = yes; then
7881 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7882 else
7883 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7884 fi
7885
7886 else
7887
7888 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7889
7890 fi
7891
7892
7893 eval "$wx_cv_use_tarstream"
7894
7895 if test x"$enablestring" = xdisable; then
7896 if test $wxUSE_TARSTREAM = no; then
7897 result=yes
7898 else
7899 result=no
7900 fi
7901 else
7902 result=$wxUSE_TARSTREAM
7903 fi
7904
7905 { echo "$as_me:$LINENO: result: $result" >&5
7906 echo "${ECHO_T}$result" >&6; }
7907
7908
7909 enablestring=
7910 defaultval=$wxUSE_ALL_FEATURES
7911 if test -z "$defaultval"; then
7912 if test x"$enablestring" = xdisable; then
7913 defaultval=yes
7914 else
7915 defaultval=no
7916 fi
7917 fi
7918
7919 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7920 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7921 # Check whether --enable-textbuf was given.
7922 if test "${enable_textbuf+set}" = set; then
7923 enableval=$enable_textbuf;
7924 if test "$enableval" = yes; then
7925 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7926 else
7927 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7928 fi
7929
7930 else
7931
7932 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7933
7934 fi
7935
7936
7937 eval "$wx_cv_use_textbuf"
7938
7939 if test x"$enablestring" = xdisable; then
7940 if test $wxUSE_TEXTBUFFER = no; then
7941 result=yes
7942 else
7943 result=no
7944 fi
7945 else
7946 result=$wxUSE_TEXTBUFFER
7947 fi
7948
7949 { echo "$as_me:$LINENO: result: $result" >&5
7950 echo "${ECHO_T}$result" >&6; }
7951
7952
7953 enablestring=
7954 defaultval=$wxUSE_ALL_FEATURES
7955 if test -z "$defaultval"; then
7956 if test x"$enablestring" = xdisable; then
7957 defaultval=yes
7958 else
7959 defaultval=no
7960 fi
7961 fi
7962
7963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7964 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7965 # Check whether --enable-textfile was given.
7966 if test "${enable_textfile+set}" = set; then
7967 enableval=$enable_textfile;
7968 if test "$enableval" = yes; then
7969 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7970 else
7971 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7972 fi
7973
7974 else
7975
7976 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7977
7978 fi
7979
7980
7981 eval "$wx_cv_use_textfile"
7982
7983 if test x"$enablestring" = xdisable; then
7984 if test $wxUSE_TEXTFILE = no; then
7985 result=yes
7986 else
7987 result=no
7988 fi
7989 else
7990 result=$wxUSE_TEXTFILE
7991 fi
7992
7993 { echo "$as_me:$LINENO: result: $result" >&5
7994 echo "${ECHO_T}$result" >&6; }
7995
7996
7997 enablestring=
7998 defaultval=$wxUSE_ALL_FEATURES
7999 if test -z "$defaultval"; then
8000 if test x"$enablestring" = xdisable; then
8001 defaultval=yes
8002 else
8003 defaultval=no
8004 fi
8005 fi
8006
8007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8008 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8009 # Check whether --enable-timer was given.
8010 if test "${enable_timer+set}" = set; then
8011 enableval=$enable_timer;
8012 if test "$enableval" = yes; then
8013 wx_cv_use_timer='wxUSE_TIMER=yes'
8014 else
8015 wx_cv_use_timer='wxUSE_TIMER=no'
8016 fi
8017
8018 else
8019
8020 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8021
8022 fi
8023
8024
8025 eval "$wx_cv_use_timer"
8026
8027 if test x"$enablestring" = xdisable; then
8028 if test $wxUSE_TIMER = no; then
8029 result=yes
8030 else
8031 result=no
8032 fi
8033 else
8034 result=$wxUSE_TIMER
8035 fi
8036
8037 { echo "$as_me:$LINENO: result: $result" >&5
8038 echo "${ECHO_T}$result" >&6; }
8039
8040
8041 enablestring=
8042 defaultval=$wxUSE_ALL_FEATURES
8043 if test -z "$defaultval"; then
8044 if test x"$enablestring" = xdisable; then
8045 defaultval=yes
8046 else
8047 defaultval=no
8048 fi
8049 fi
8050
8051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8052 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8053 # Check whether --enable-variant was given.
8054 if test "${enable_variant+set}" = set; then
8055 enableval=$enable_variant;
8056 if test "$enableval" = yes; then
8057 wx_cv_use_variant='wxUSE_VARIANT=yes'
8058 else
8059 wx_cv_use_variant='wxUSE_VARIANT=no'
8060 fi
8061
8062 else
8063
8064 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8065
8066 fi
8067
8068
8069 eval "$wx_cv_use_variant"
8070
8071 if test x"$enablestring" = xdisable; then
8072 if test $wxUSE_VARIANT = no; then
8073 result=yes
8074 else
8075 result=no
8076 fi
8077 else
8078 result=$wxUSE_VARIANT
8079 fi
8080
8081 { echo "$as_me:$LINENO: result: $result" >&5
8082 echo "${ECHO_T}$result" >&6; }
8083
8084
8085 enablestring=
8086 defaultval=$wxUSE_ALL_FEATURES
8087 if test -z "$defaultval"; then
8088 if test x"$enablestring" = xdisable; then
8089 defaultval=yes
8090 else
8091 defaultval=no
8092 fi
8093 fi
8094
8095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8096 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8097 # Check whether --enable-zipstream was given.
8098 if test "${enable_zipstream+set}" = set; then
8099 enableval=$enable_zipstream;
8100 if test "$enableval" = yes; then
8101 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8102 else
8103 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8104 fi
8105
8106 else
8107
8108 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8109
8110 fi
8111
8112
8113 eval "$wx_cv_use_zipstream"
8114
8115 if test x"$enablestring" = xdisable; then
8116 if test $wxUSE_ZIPSTREAM = no; then
8117 result=yes
8118 else
8119 result=no
8120 fi
8121 else
8122 result=$wxUSE_ZIPSTREAM
8123 fi
8124
8125 { echo "$as_me:$LINENO: result: $result" >&5
8126 echo "${ECHO_T}$result" >&6; }
8127
8128
8129
8130 enablestring=
8131 defaultval=$wxUSE_ALL_FEATURES
8132 if test -z "$defaultval"; then
8133 if test x"$enablestring" = xdisable; then
8134 defaultval=yes
8135 else
8136 defaultval=no
8137 fi
8138 fi
8139
8140 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8141 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8142 # Check whether --enable-url was given.
8143 if test "${enable_url+set}" = set; then
8144 enableval=$enable_url;
8145 if test "$enableval" = yes; then
8146 wx_cv_use_url='wxUSE_URL=yes'
8147 else
8148 wx_cv_use_url='wxUSE_URL=no'
8149 fi
8150
8151 else
8152
8153 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8154
8155 fi
8156
8157
8158 eval "$wx_cv_use_url"
8159
8160 if test x"$enablestring" = xdisable; then
8161 if test $wxUSE_URL = no; then
8162 result=yes
8163 else
8164 result=no
8165 fi
8166 else
8167 result=$wxUSE_URL
8168 fi
8169
8170 { echo "$as_me:$LINENO: result: $result" >&5
8171 echo "${ECHO_T}$result" >&6; }
8172
8173
8174 enablestring=
8175 defaultval=$wxUSE_ALL_FEATURES
8176 if test -z "$defaultval"; then
8177 if test x"$enablestring" = xdisable; then
8178 defaultval=yes
8179 else
8180 defaultval=no
8181 fi
8182 fi
8183
8184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8185 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8186 # Check whether --enable-protocol was given.
8187 if test "${enable_protocol+set}" = set; then
8188 enableval=$enable_protocol;
8189 if test "$enableval" = yes; then
8190 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8191 else
8192 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8193 fi
8194
8195 else
8196
8197 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8198
8199 fi
8200
8201
8202 eval "$wx_cv_use_protocol"
8203
8204 if test x"$enablestring" = xdisable; then
8205 if test $wxUSE_PROTOCOL = no; then
8206 result=yes
8207 else
8208 result=no
8209 fi
8210 else
8211 result=$wxUSE_PROTOCOL
8212 fi
8213
8214 { echo "$as_me:$LINENO: result: $result" >&5
8215 echo "${ECHO_T}$result" >&6; }
8216
8217
8218 enablestring=
8219 defaultval=$wxUSE_ALL_FEATURES
8220 if test -z "$defaultval"; then
8221 if test x"$enablestring" = xdisable; then
8222 defaultval=yes
8223 else
8224 defaultval=no
8225 fi
8226 fi
8227
8228 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8229 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8230 # Check whether --enable-protocol_http was given.
8231 if test "${enable_protocol_http+set}" = set; then
8232 enableval=$enable_protocol_http;
8233 if test "$enableval" = yes; then
8234 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8235 else
8236 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8237 fi
8238
8239 else
8240
8241 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8242
8243 fi
8244
8245
8246 eval "$wx_cv_use_protocol_http"
8247
8248 if test x"$enablestring" = xdisable; then
8249 if test $wxUSE_PROTOCOL_HTTP = no; then
8250 result=yes
8251 else
8252 result=no
8253 fi
8254 else
8255 result=$wxUSE_PROTOCOL_HTTP
8256 fi
8257
8258 { echo "$as_me:$LINENO: result: $result" >&5
8259 echo "${ECHO_T}$result" >&6; }
8260
8261
8262 enablestring=
8263 defaultval=$wxUSE_ALL_FEATURES
8264 if test -z "$defaultval"; then
8265 if test x"$enablestring" = xdisable; then
8266 defaultval=yes
8267 else
8268 defaultval=no
8269 fi
8270 fi
8271
8272 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8273 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8274 # Check whether --enable-protocol_ftp was given.
8275 if test "${enable_protocol_ftp+set}" = set; then
8276 enableval=$enable_protocol_ftp;
8277 if test "$enableval" = yes; then
8278 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8279 else
8280 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8281 fi
8282
8283 else
8284
8285 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8286
8287 fi
8288
8289
8290 eval "$wx_cv_use_protocol_ftp"
8291
8292 if test x"$enablestring" = xdisable; then
8293 if test $wxUSE_PROTOCOL_FTP = no; then
8294 result=yes
8295 else
8296 result=no
8297 fi
8298 else
8299 result=$wxUSE_PROTOCOL_FTP
8300 fi
8301
8302 { echo "$as_me:$LINENO: result: $result" >&5
8303 echo "${ECHO_T}$result" >&6; }
8304
8305
8306 enablestring=
8307 defaultval=$wxUSE_ALL_FEATURES
8308 if test -z "$defaultval"; then
8309 if test x"$enablestring" = xdisable; then
8310 defaultval=yes
8311 else
8312 defaultval=no
8313 fi
8314 fi
8315
8316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8317 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8318 # Check whether --enable-protocol_file was given.
8319 if test "${enable_protocol_file+set}" = set; then
8320 enableval=$enable_protocol_file;
8321 if test "$enableval" = yes; then
8322 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8323 else
8324 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8325 fi
8326
8327 else
8328
8329 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8330
8331 fi
8332
8333
8334 eval "$wx_cv_use_protocol_file"
8335
8336 if test x"$enablestring" = xdisable; then
8337 if test $wxUSE_PROTOCOL_FILE = no; then
8338 result=yes
8339 else
8340 result=no
8341 fi
8342 else
8343 result=$wxUSE_PROTOCOL_FILE
8344 fi
8345
8346 { echo "$as_me:$LINENO: result: $result" >&5
8347 echo "${ECHO_T}$result" >&6; }
8348
8349
8350
8351 enablestring=
8352 defaultval=$wxUSE_ALL_FEATURES
8353 if test -z "$defaultval"; then
8354 if test x"$enablestring" = xdisable; then
8355 defaultval=yes
8356 else
8357 defaultval=no
8358 fi
8359 fi
8360
8361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8362 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8363 # Check whether --enable-threads was given.
8364 if test "${enable_threads+set}" = set; then
8365 enableval=$enable_threads;
8366 if test "$enableval" = yes; then
8367 wx_cv_use_threads='wxUSE_THREADS=yes'
8368 else
8369 wx_cv_use_threads='wxUSE_THREADS=no'
8370 fi
8371
8372 else
8373
8374 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8375
8376 fi
8377
8378
8379 eval "$wx_cv_use_threads"
8380
8381 if test x"$enablestring" = xdisable; then
8382 if test $wxUSE_THREADS = no; then
8383 result=yes
8384 else
8385 result=no
8386 fi
8387 else
8388 result=$wxUSE_THREADS
8389 fi
8390
8391 { echo "$as_me:$LINENO: result: $result" >&5
8392 echo "${ECHO_T}$result" >&6; }
8393
8394
8395
8396 enablestring=
8397 defaultval=
8398 if test -z "$defaultval"; then
8399 if test x"$enablestring" = xdisable; then
8400 defaultval=yes
8401 else
8402 defaultval=no
8403 fi
8404 fi
8405
8406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8407 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8408 # Check whether --enable-iniconf was given.
8409 if test "${enable_iniconf+set}" = set; then
8410 enableval=$enable_iniconf;
8411 if test "$enableval" = yes; then
8412 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8413 else
8414 wx_cv_use_iniconf='wxUSE_INICONF=no'
8415 fi
8416
8417 else
8418
8419 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8420
8421 fi
8422
8423
8424 eval "$wx_cv_use_iniconf"
8425
8426 if test x"$enablestring" = xdisable; then
8427 if test $wxUSE_INICONF = no; then
8428 result=yes
8429 else
8430 result=no
8431 fi
8432 else
8433 result=$wxUSE_INICONF
8434 fi
8435
8436 { echo "$as_me:$LINENO: result: $result" >&5
8437 echo "${ECHO_T}$result" >&6; }
8438
8439
8440 enablestring=
8441 defaultval=$wxUSE_ALL_FEATURES
8442 if test -z "$defaultval"; then
8443 if test x"$enablestring" = xdisable; then
8444 defaultval=yes
8445 else
8446 defaultval=no
8447 fi
8448 fi
8449
8450 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8451 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8452 # Check whether --enable-regkey was given.
8453 if test "${enable_regkey+set}" = set; then
8454 enableval=$enable_regkey;
8455 if test "$enableval" = yes; then
8456 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8457 else
8458 wx_cv_use_regkey='wxUSE_REGKEY=no'
8459 fi
8460
8461 else
8462
8463 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8464
8465 fi
8466
8467
8468 eval "$wx_cv_use_regkey"
8469
8470 if test x"$enablestring" = xdisable; then
8471 if test $wxUSE_REGKEY = no; then
8472 result=yes
8473 else
8474 result=no
8475 fi
8476 else
8477 result=$wxUSE_REGKEY
8478 fi
8479
8480 { echo "$as_me:$LINENO: result: $result" >&5
8481 echo "${ECHO_T}$result" >&6; }
8482
8483
8484 if test "$wxUSE_GUI" = "yes"; then
8485
8486
8487
8488 enablestring=
8489 defaultval=$wxUSE_ALL_FEATURES
8490 if test -z "$defaultval"; then
8491 if test x"$enablestring" = xdisable; then
8492 defaultval=yes
8493 else
8494 defaultval=no
8495 fi
8496 fi
8497
8498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8499 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8500 # Check whether --enable-docview was given.
8501 if test "${enable_docview+set}" = set; then
8502 enableval=$enable_docview;
8503 if test "$enableval" = yes; then
8504 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8505 else
8506 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8507 fi
8508
8509 else
8510
8511 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8512
8513 fi
8514
8515
8516 eval "$wx_cv_use_docview"
8517
8518 if test x"$enablestring" = xdisable; then
8519 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8520 result=yes
8521 else
8522 result=no
8523 fi
8524 else
8525 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8526 fi
8527
8528 { echo "$as_me:$LINENO: result: $result" >&5
8529 echo "${ECHO_T}$result" >&6; }
8530
8531
8532 enablestring=
8533 defaultval=$wxUSE_ALL_FEATURES
8534 if test -z "$defaultval"; then
8535 if test x"$enablestring" = xdisable; then
8536 defaultval=yes
8537 else
8538 defaultval=no
8539 fi
8540 fi
8541
8542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8543 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8544 # Check whether --enable-help was given.
8545 if test "${enable_help+set}" = set; then
8546 enableval=$enable_help;
8547 if test "$enableval" = yes; then
8548 wx_cv_use_help='wxUSE_HELP=yes'
8549 else
8550 wx_cv_use_help='wxUSE_HELP=no'
8551 fi
8552
8553 else
8554
8555 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8556
8557 fi
8558
8559
8560 eval "$wx_cv_use_help"
8561
8562 if test x"$enablestring" = xdisable; then
8563 if test $wxUSE_HELP = no; then
8564 result=yes
8565 else
8566 result=no
8567 fi
8568 else
8569 result=$wxUSE_HELP
8570 fi
8571
8572 { echo "$as_me:$LINENO: result: $result" >&5
8573 echo "${ECHO_T}$result" >&6; }
8574
8575
8576 enablestring=
8577 defaultval=$wxUSE_ALL_FEATURES
8578 if test -z "$defaultval"; then
8579 if test x"$enablestring" = xdisable; then
8580 defaultval=yes
8581 else
8582 defaultval=no
8583 fi
8584 fi
8585
8586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8587 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8588 # Check whether --enable-mshtmlhelp was given.
8589 if test "${enable_mshtmlhelp+set}" = set; then
8590 enableval=$enable_mshtmlhelp;
8591 if test "$enableval" = yes; then
8592 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8593 else
8594 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8595 fi
8596
8597 else
8598
8599 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8600
8601 fi
8602
8603
8604 eval "$wx_cv_use_mshtmlhelp"
8605
8606 if test x"$enablestring" = xdisable; then
8607 if test $wxUSE_MS_HTML_HELP = no; then
8608 result=yes
8609 else
8610 result=no
8611 fi
8612 else
8613 result=$wxUSE_MS_HTML_HELP
8614 fi
8615
8616 { echo "$as_me:$LINENO: result: $result" >&5
8617 echo "${ECHO_T}$result" >&6; }
8618
8619
8620 enablestring=
8621 defaultval=$wxUSE_ALL_FEATURES
8622 if test -z "$defaultval"; then
8623 if test x"$enablestring" = xdisable; then
8624 defaultval=yes
8625 else
8626 defaultval=no
8627 fi
8628 fi
8629
8630 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8631 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8632 # Check whether --enable-html was given.
8633 if test "${enable_html+set}" = set; then
8634 enableval=$enable_html;
8635 if test "$enableval" = yes; then
8636 wx_cv_use_html='wxUSE_HTML=yes'
8637 else
8638 wx_cv_use_html='wxUSE_HTML=no'
8639 fi
8640
8641 else
8642
8643 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8644
8645 fi
8646
8647
8648 eval "$wx_cv_use_html"
8649
8650 if test x"$enablestring" = xdisable; then
8651 if test $wxUSE_HTML = no; then
8652 result=yes
8653 else
8654 result=no
8655 fi
8656 else
8657 result=$wxUSE_HTML
8658 fi
8659
8660 { echo "$as_me:$LINENO: result: $result" >&5
8661 echo "${ECHO_T}$result" >&6; }
8662
8663
8664 enablestring=
8665 defaultval=$wxUSE_ALL_FEATURES
8666 if test -z "$defaultval"; then
8667 if test x"$enablestring" = xdisable; then
8668 defaultval=yes
8669 else
8670 defaultval=no
8671 fi
8672 fi
8673
8674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8675 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8676 # Check whether --enable-htmlhelp was given.
8677 if test "${enable_htmlhelp+set}" = set; then
8678 enableval=$enable_htmlhelp;
8679 if test "$enableval" = yes; then
8680 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8681 else
8682 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8683 fi
8684
8685 else
8686
8687 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8688
8689 fi
8690
8691
8692 eval "$wx_cv_use_htmlhelp"
8693
8694 if test x"$enablestring" = xdisable; then
8695 if test $wxUSE_WXHTML_HELP = no; then
8696 result=yes
8697 else
8698 result=no
8699 fi
8700 else
8701 result=$wxUSE_WXHTML_HELP
8702 fi
8703
8704 { echo "$as_me:$LINENO: result: $result" >&5
8705 echo "${ECHO_T}$result" >&6; }
8706
8707
8708 enablestring=
8709 defaultval=$wxUSE_ALL_FEATURES
8710 if test -z "$defaultval"; then
8711 if test x"$enablestring" = xdisable; then
8712 defaultval=yes
8713 else
8714 defaultval=no
8715 fi
8716 fi
8717
8718 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8719 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8720 # Check whether --enable-xrc was given.
8721 if test "${enable_xrc+set}" = set; then
8722 enableval=$enable_xrc;
8723 if test "$enableval" = yes; then
8724 wx_cv_use_xrc='wxUSE_XRC=yes'
8725 else
8726 wx_cv_use_xrc='wxUSE_XRC=no'
8727 fi
8728
8729 else
8730
8731 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8732
8733 fi
8734
8735
8736 eval "$wx_cv_use_xrc"
8737
8738 if test x"$enablestring" = xdisable; then
8739 if test $wxUSE_XRC = no; then
8740 result=yes
8741 else
8742 result=no
8743 fi
8744 else
8745 result=$wxUSE_XRC
8746 fi
8747
8748 { echo "$as_me:$LINENO: result: $result" >&5
8749 echo "${ECHO_T}$result" >&6; }
8750
8751
8752 enablestring=
8753 defaultval=$wxUSE_ALL_FEATURES
8754 if test -z "$defaultval"; then
8755 if test x"$enablestring" = xdisable; then
8756 defaultval=yes
8757 else
8758 defaultval=no
8759 fi
8760 fi
8761
8762 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8763 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8764 # Check whether --enable-aui was given.
8765 if test "${enable_aui+set}" = set; then
8766 enableval=$enable_aui;
8767 if test "$enableval" = yes; then
8768 wx_cv_use_aui='wxUSE_AUI=yes'
8769 else
8770 wx_cv_use_aui='wxUSE_AUI=no'
8771 fi
8772
8773 else
8774
8775 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8776
8777 fi
8778
8779
8780 eval "$wx_cv_use_aui"
8781
8782 if test x"$enablestring" = xdisable; then
8783 if test $wxUSE_AUI = no; then
8784 result=yes
8785 else
8786 result=no
8787 fi
8788 else
8789 result=$wxUSE_AUI
8790 fi
8791
8792 { echo "$as_me:$LINENO: result: $result" >&5
8793 echo "${ECHO_T}$result" >&6; }
8794
8795
8796 enablestring=
8797 defaultval=$wxUSE_ALL_FEATURES
8798 if test -z "$defaultval"; then
8799 if test x"$enablestring" = xdisable; then
8800 defaultval=yes
8801 else
8802 defaultval=no
8803 fi
8804 fi
8805
8806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8807 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8808 # Check whether --enable-propgrid was given.
8809 if test "${enable_propgrid+set}" = set; then
8810 enableval=$enable_propgrid;
8811 if test "$enableval" = yes; then
8812 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8813 else
8814 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8815 fi
8816
8817 else
8818
8819 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8820
8821 fi
8822
8823
8824 eval "$wx_cv_use_propgrid"
8825
8826 if test x"$enablestring" = xdisable; then
8827 if test $wxUSE_PROPGRID = no; then
8828 result=yes
8829 else
8830 result=no
8831 fi
8832 else
8833 result=$wxUSE_PROPGRID
8834 fi
8835
8836 { echo "$as_me:$LINENO: result: $result" >&5
8837 echo "${ECHO_T}$result" >&6; }
8838
8839
8840 enablestring=
8841 defaultval=$wxUSE_ALL_FEATURES
8842 if test -z "$defaultval"; then
8843 if test x"$enablestring" = xdisable; then
8844 defaultval=yes
8845 else
8846 defaultval=no
8847 fi
8848 fi
8849
8850 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8851 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8852 # Check whether --enable-ribbon was given.
8853 if test "${enable_ribbon+set}" = set; then
8854 enableval=$enable_ribbon;
8855 if test "$enableval" = yes; then
8856 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8857 else
8858 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8859 fi
8860
8861 else
8862
8863 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8864
8865 fi
8866
8867
8868 eval "$wx_cv_use_ribbon"
8869
8870 if test x"$enablestring" = xdisable; then
8871 if test $wxUSE_RIBBON = no; then
8872 result=yes
8873 else
8874 result=no
8875 fi
8876 else
8877 result=$wxUSE_RIBBON
8878 fi
8879
8880 { echo "$as_me:$LINENO: result: $result" >&5
8881 echo "${ECHO_T}$result" >&6; }
8882
8883
8884 enablestring=
8885 defaultval=$wxUSE_ALL_FEATURES
8886 if test -z "$defaultval"; then
8887 if test x"$enablestring" = xdisable; then
8888 defaultval=yes
8889 else
8890 defaultval=no
8891 fi
8892 fi
8893
8894 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8895 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8896 # Check whether --enable-stc was given.
8897 if test "${enable_stc+set}" = set; then
8898 enableval=$enable_stc;
8899 if test "$enableval" = yes; then
8900 wx_cv_use_stc='wxUSE_STC=yes'
8901 else
8902 wx_cv_use_stc='wxUSE_STC=no'
8903 fi
8904
8905 else
8906
8907 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8908
8909 fi
8910
8911
8912 eval "$wx_cv_use_stc"
8913
8914 if test x"$enablestring" = xdisable; then
8915 if test $wxUSE_STC = no; then
8916 result=yes
8917 else
8918 result=no
8919 fi
8920 else
8921 result=$wxUSE_STC
8922 fi
8923
8924 { echo "$as_me:$LINENO: result: $result" >&5
8925 echo "${ECHO_T}$result" >&6; }
8926
8927
8928 enablestring=
8929 defaultval=$wxUSE_ALL_FEATURES
8930 if test -z "$defaultval"; then
8931 if test x"$enablestring" = xdisable; then
8932 defaultval=yes
8933 else
8934 defaultval=no
8935 fi
8936 fi
8937
8938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8939 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8940 # Check whether --enable-constraints was given.
8941 if test "${enable_constraints+set}" = set; then
8942 enableval=$enable_constraints;
8943 if test "$enableval" = yes; then
8944 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8945 else
8946 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8947 fi
8948
8949 else
8950
8951 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8952
8953 fi
8954
8955
8956 eval "$wx_cv_use_constraints"
8957
8958 if test x"$enablestring" = xdisable; then
8959 if test $wxUSE_CONSTRAINTS = no; then
8960 result=yes
8961 else
8962 result=no
8963 fi
8964 else
8965 result=$wxUSE_CONSTRAINTS
8966 fi
8967
8968 { echo "$as_me:$LINENO: result: $result" >&5
8969 echo "${ECHO_T}$result" >&6; }
8970
8971
8972 enablestring=
8973 defaultval=$wxUSE_ALL_FEATURES
8974 if test -z "$defaultval"; then
8975 if test x"$enablestring" = xdisable; then
8976 defaultval=yes
8977 else
8978 defaultval=no
8979 fi
8980 fi
8981
8982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8983 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8984 # Check whether --enable-loggui was given.
8985 if test "${enable_loggui+set}" = set; then
8986 enableval=$enable_loggui;
8987 if test "$enableval" = yes; then
8988 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8989 else
8990 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8991 fi
8992
8993 else
8994
8995 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8996
8997 fi
8998
8999
9000 eval "$wx_cv_use_loggui"
9001
9002 if test x"$enablestring" = xdisable; then
9003 if test $wxUSE_LOGGUI = no; then
9004 result=yes
9005 else
9006 result=no
9007 fi
9008 else
9009 result=$wxUSE_LOGGUI
9010 fi
9011
9012 { echo "$as_me:$LINENO: result: $result" >&5
9013 echo "${ECHO_T}$result" >&6; }
9014
9015
9016 enablestring=
9017 defaultval=$wxUSE_ALL_FEATURES
9018 if test -z "$defaultval"; then
9019 if test x"$enablestring" = xdisable; then
9020 defaultval=yes
9021 else
9022 defaultval=no
9023 fi
9024 fi
9025
9026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9027 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9028 # Check whether --enable-logwin was given.
9029 if test "${enable_logwin+set}" = set; then
9030 enableval=$enable_logwin;
9031 if test "$enableval" = yes; then
9032 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9033 else
9034 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9035 fi
9036
9037 else
9038
9039 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9040
9041 fi
9042
9043
9044 eval "$wx_cv_use_logwin"
9045
9046 if test x"$enablestring" = xdisable; then
9047 if test $wxUSE_LOGWINDOW = no; then
9048 result=yes
9049 else
9050 result=no
9051 fi
9052 else
9053 result=$wxUSE_LOGWINDOW
9054 fi
9055
9056 { echo "$as_me:$LINENO: result: $result" >&5
9057 echo "${ECHO_T}$result" >&6; }
9058
9059
9060 enablestring=
9061 defaultval=$wxUSE_ALL_FEATURES
9062 if test -z "$defaultval"; then
9063 if test x"$enablestring" = xdisable; then
9064 defaultval=yes
9065 else
9066 defaultval=no
9067 fi
9068 fi
9069
9070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9071 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9072 # Check whether --enable-logdialog was given.
9073 if test "${enable_logdialog+set}" = set; then
9074 enableval=$enable_logdialog;
9075 if test "$enableval" = yes; then
9076 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9077 else
9078 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9079 fi
9080
9081 else
9082
9083 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9084
9085 fi
9086
9087
9088 eval "$wx_cv_use_logdialog"
9089
9090 if test x"$enablestring" = xdisable; then
9091 if test $wxUSE_LOGDIALOG = no; then
9092 result=yes
9093 else
9094 result=no
9095 fi
9096 else
9097 result=$wxUSE_LOGDIALOG
9098 fi
9099
9100 { echo "$as_me:$LINENO: result: $result" >&5
9101 echo "${ECHO_T}$result" >&6; }
9102
9103
9104 enablestring=
9105 defaultval=$wxUSE_ALL_FEATURES
9106 if test -z "$defaultval"; then
9107 if test x"$enablestring" = xdisable; then
9108 defaultval=yes
9109 else
9110 defaultval=no
9111 fi
9112 fi
9113
9114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9115 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9116 # Check whether --enable-mdi was given.
9117 if test "${enable_mdi+set}" = set; then
9118 enableval=$enable_mdi;
9119 if test "$enableval" = yes; then
9120 wx_cv_use_mdi='wxUSE_MDI=yes'
9121 else
9122 wx_cv_use_mdi='wxUSE_MDI=no'
9123 fi
9124
9125 else
9126
9127 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9128
9129 fi
9130
9131
9132 eval "$wx_cv_use_mdi"
9133
9134 if test x"$enablestring" = xdisable; then
9135 if test $wxUSE_MDI = no; then
9136 result=yes
9137 else
9138 result=no
9139 fi
9140 else
9141 result=$wxUSE_MDI
9142 fi
9143
9144 { echo "$as_me:$LINENO: result: $result" >&5
9145 echo "${ECHO_T}$result" >&6; }
9146
9147
9148 enablestring=
9149 defaultval=$wxUSE_ALL_FEATURES
9150 if test -z "$defaultval"; then
9151 if test x"$enablestring" = xdisable; then
9152 defaultval=yes
9153 else
9154 defaultval=no
9155 fi
9156 fi
9157
9158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9159 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9160 # Check whether --enable-mdidoc was given.
9161 if test "${enable_mdidoc+set}" = set; then
9162 enableval=$enable_mdidoc;
9163 if test "$enableval" = yes; then
9164 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9165 else
9166 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9167 fi
9168
9169 else
9170
9171 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9172
9173 fi
9174
9175
9176 eval "$wx_cv_use_mdidoc"
9177
9178 if test x"$enablestring" = xdisable; then
9179 if test $wxUSE_MDI_ARCHITECTURE = no; then
9180 result=yes
9181 else
9182 result=no
9183 fi
9184 else
9185 result=$wxUSE_MDI_ARCHITECTURE
9186 fi
9187
9188 { echo "$as_me:$LINENO: result: $result" >&5
9189 echo "${ECHO_T}$result" >&6; }
9190
9191
9192 enablestring=
9193 defaultval=$wxUSE_ALL_FEATURES
9194 if test -z "$defaultval"; then
9195 if test x"$enablestring" = xdisable; then
9196 defaultval=yes
9197 else
9198 defaultval=no
9199 fi
9200 fi
9201
9202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9203 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9204 # Check whether --enable-mediactrl was given.
9205 if test "${enable_mediactrl+set}" = set; then
9206 enableval=$enable_mediactrl;
9207 if test "$enableval" = yes; then
9208 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9209 else
9210 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9211 fi
9212
9213 else
9214
9215 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9216
9217 fi
9218
9219
9220 eval "$wx_cv_use_mediactrl"
9221
9222 if test x"$enablestring" = xdisable; then
9223 if test $wxUSE_MEDIACTRL = no; then
9224 result=yes
9225 else
9226 result=no
9227 fi
9228 else
9229 result=$wxUSE_MEDIACTRL
9230 fi
9231
9232 { echo "$as_me:$LINENO: result: $result" >&5
9233 echo "${ECHO_T}$result" >&6; }
9234
9235
9236 enablestring=
9237 defaultval=$wxUSE_ALL_FEATURES
9238 if test -z "$defaultval"; then
9239 if test x"$enablestring" = xdisable; then
9240 defaultval=yes
9241 else
9242 defaultval=no
9243 fi
9244 fi
9245
9246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9247 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9248 # Check whether --enable-gstreamer8 was given.
9249 if test "${enable_gstreamer8+set}" = set; then
9250 enableval=$enable_gstreamer8;
9251 if test "$enableval" = yes; then
9252 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9253 else
9254 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9255 fi
9256
9257 else
9258
9259 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9260
9261 fi
9262
9263
9264 eval "$wx_cv_use_gstreamer8"
9265
9266 if test x"$enablestring" = xdisable; then
9267 if test $wxUSE_GSTREAMER8 = no; then
9268 result=yes
9269 else
9270 result=no
9271 fi
9272 else
9273 result=$wxUSE_GSTREAMER8
9274 fi
9275
9276 { echo "$as_me:$LINENO: result: $result" >&5
9277 echo "${ECHO_T}$result" >&6; }
9278
9279
9280 enablestring=
9281 defaultval=$wxUSE_ALL_FEATURES
9282 if test -z "$defaultval"; then
9283 if test x"$enablestring" = xdisable; then
9284 defaultval=yes
9285 else
9286 defaultval=no
9287 fi
9288 fi
9289
9290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9291 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9292 # Check whether --enable-webkit was given.
9293 if test "${enable_webkit+set}" = set; then
9294 enableval=$enable_webkit;
9295 if test "$enableval" = yes; then
9296 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9297 else
9298 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9299 fi
9300
9301 else
9302
9303 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9304
9305 fi
9306
9307
9308 eval "$wx_cv_use_webkit"
9309
9310 if test x"$enablestring" = xdisable; then
9311 if test $wxUSE_WEBKIT = no; then
9312 result=yes
9313 else
9314 result=no
9315 fi
9316 else
9317 result=$wxUSE_WEBKIT
9318 fi
9319
9320 { echo "$as_me:$LINENO: result: $result" >&5
9321 echo "${ECHO_T}$result" >&6; }
9322
9323
9324 enablestring=
9325 defaultval=$wxUSE_ALL_FEATURES
9326 if test -z "$defaultval"; then
9327 if test x"$enablestring" = xdisable; then
9328 defaultval=yes
9329 else
9330 defaultval=no
9331 fi
9332 fi
9333
9334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9335 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9336 # Check whether --enable-richtext was given.
9337 if test "${enable_richtext+set}" = set; then
9338 enableval=$enable_richtext;
9339 if test "$enableval" = yes; then
9340 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9341 else
9342 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9343 fi
9344
9345 else
9346
9347 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9348
9349 fi
9350
9351
9352 eval "$wx_cv_use_richtext"
9353
9354 if test x"$enablestring" = xdisable; then
9355 if test $wxUSE_RICHTEXT = no; then
9356 result=yes
9357 else
9358 result=no
9359 fi
9360 else
9361 result=$wxUSE_RICHTEXT
9362 fi
9363
9364 { echo "$as_me:$LINENO: result: $result" >&5
9365 echo "${ECHO_T}$result" >&6; }
9366
9367
9368 enablestring=
9369 defaultval=$wxUSE_ALL_FEATURES
9370 if test -z "$defaultval"; then
9371 if test x"$enablestring" = xdisable; then
9372 defaultval=yes
9373 else
9374 defaultval=no
9375 fi
9376 fi
9377
9378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9379 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9380 # Check whether --enable-postscript was given.
9381 if test "${enable_postscript+set}" = set; then
9382 enableval=$enable_postscript;
9383 if test "$enableval" = yes; then
9384 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9385 else
9386 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9387 fi
9388
9389 else
9390
9391 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9392
9393 fi
9394
9395
9396 eval "$wx_cv_use_postscript"
9397
9398 if test x"$enablestring" = xdisable; then
9399 if test $wxUSE_POSTSCRIPT = no; then
9400 result=yes
9401 else
9402 result=no
9403 fi
9404 else
9405 result=$wxUSE_POSTSCRIPT
9406 fi
9407
9408 { echo "$as_me:$LINENO: result: $result" >&5
9409 echo "${ECHO_T}$result" >&6; }
9410
9411
9412 enablestring=
9413 defaultval=$wxUSE_ALL_FEATURES
9414 if test -z "$defaultval"; then
9415 if test x"$enablestring" = xdisable; then
9416 defaultval=yes
9417 else
9418 defaultval=no
9419 fi
9420 fi
9421
9422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9423 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9424 # Check whether --enable-printarch was given.
9425 if test "${enable_printarch+set}" = set; then
9426 enableval=$enable_printarch;
9427 if test "$enableval" = yes; then
9428 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9429 else
9430 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9431 fi
9432
9433 else
9434
9435 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9436
9437 fi
9438
9439
9440 eval "$wx_cv_use_printarch"
9441
9442 if test x"$enablestring" = xdisable; then
9443 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9444 result=yes
9445 else
9446 result=no
9447 fi
9448 else
9449 result=$wxUSE_PRINTING_ARCHITECTURE
9450 fi
9451
9452 { echo "$as_me:$LINENO: result: $result" >&5
9453 echo "${ECHO_T}$result" >&6; }
9454
9455
9456 enablestring=
9457 defaultval=$wxUSE_ALL_FEATURES
9458 if test -z "$defaultval"; then
9459 if test x"$enablestring" = xdisable; then
9460 defaultval=yes
9461 else
9462 defaultval=no
9463 fi
9464 fi
9465
9466 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9467 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9468 # Check whether --enable-svg was given.
9469 if test "${enable_svg+set}" = set; then
9470 enableval=$enable_svg;
9471 if test "$enableval" = yes; then
9472 wx_cv_use_svg='wxUSE_SVG=yes'
9473 else
9474 wx_cv_use_svg='wxUSE_SVG=no'
9475 fi
9476
9477 else
9478
9479 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9480
9481 fi
9482
9483
9484 eval "$wx_cv_use_svg"
9485
9486 if test x"$enablestring" = xdisable; then
9487 if test $wxUSE_SVG = no; then
9488 result=yes
9489 else
9490 result=no
9491 fi
9492 else
9493 result=$wxUSE_SVG
9494 fi
9495
9496 { echo "$as_me:$LINENO: result: $result" >&5
9497 echo "${ECHO_T}$result" >&6; }
9498
9499
9500 if test "$wxUSE_MAC" != 1; then
9501
9502 enablestring=
9503 defaultval=$wxUSE_ALL_FEATURES
9504 if test -z "$defaultval"; then
9505 if test x"$enablestring" = xdisable; then
9506 defaultval=yes
9507 else
9508 defaultval=no
9509 fi
9510 fi
9511
9512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9513 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9514 # Check whether --enable-graphics_ctx was given.
9515 if test "${enable_graphics_ctx+set}" = set; then
9516 enableval=$enable_graphics_ctx;
9517 if test "$enableval" = yes; then
9518 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9519 else
9520 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9521 fi
9522
9523 else
9524
9525 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9526
9527 fi
9528
9529
9530 eval "$wx_cv_use_graphics_ctx"
9531
9532 if test x"$enablestring" = xdisable; then
9533 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9534 result=yes
9535 else
9536 result=no
9537 fi
9538 else
9539 result=$wxUSE_GRAPHICS_CONTEXT
9540 fi
9541
9542 { echo "$as_me:$LINENO: result: $result" >&5
9543 echo "${ECHO_T}$result" >&6; }
9544
9545 fi
9546
9547
9548
9549 enablestring=
9550 defaultval=$wxUSE_ALL_FEATURES
9551 if test -z "$defaultval"; then
9552 if test x"$enablestring" = xdisable; then
9553 defaultval=yes
9554 else
9555 defaultval=no
9556 fi
9557 fi
9558
9559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9560 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9561 # Check whether --enable-clipboard was given.
9562 if test "${enable_clipboard+set}" = set; then
9563 enableval=$enable_clipboard;
9564 if test "$enableval" = yes; then
9565 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9566 else
9567 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9568 fi
9569
9570 else
9571
9572 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9573
9574 fi
9575
9576
9577 eval "$wx_cv_use_clipboard"
9578
9579 if test x"$enablestring" = xdisable; then
9580 if test $wxUSE_CLIPBOARD = no; then
9581 result=yes
9582 else
9583 result=no
9584 fi
9585 else
9586 result=$wxUSE_CLIPBOARD
9587 fi
9588
9589 { echo "$as_me:$LINENO: result: $result" >&5
9590 echo "${ECHO_T}$result" >&6; }
9591
9592
9593 enablestring=
9594 defaultval=$wxUSE_ALL_FEATURES
9595 if test -z "$defaultval"; then
9596 if test x"$enablestring" = xdisable; then
9597 defaultval=yes
9598 else
9599 defaultval=no
9600 fi
9601 fi
9602
9603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9604 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9605 # Check whether --enable-dnd was given.
9606 if test "${enable_dnd+set}" = set; then
9607 enableval=$enable_dnd;
9608 if test "$enableval" = yes; then
9609 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9610 else
9611 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9612 fi
9613
9614 else
9615
9616 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9617
9618 fi
9619
9620
9621 eval "$wx_cv_use_dnd"
9622
9623 if test x"$enablestring" = xdisable; then
9624 if test $wxUSE_DRAG_AND_DROP = no; then
9625 result=yes
9626 else
9627 result=no
9628 fi
9629 else
9630 result=$wxUSE_DRAG_AND_DROP
9631 fi
9632
9633 { echo "$as_me:$LINENO: result: $result" >&5
9634 echo "${ECHO_T}$result" >&6; }
9635
9636
9637 enablestring=
9638 defaultval=$wxUSE_ALL_FEATURES
9639 if test -z "$defaultval"; then
9640 if test x"$enablestring" = xdisable; then
9641 defaultval=yes
9642 else
9643 defaultval=no
9644 fi
9645 fi
9646
9647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9648 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9649 # Check whether --enable-metafile was given.
9650 if test "${enable_metafile+set}" = set; then
9651 enableval=$enable_metafile;
9652 if test "$enableval" = yes; then
9653 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9654 else
9655 wx_cv_use_metafile='wxUSE_METAFILE=no'
9656 fi
9657
9658 else
9659
9660 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9661
9662 fi
9663
9664
9665 eval "$wx_cv_use_metafile"
9666
9667 if test x"$enablestring" = xdisable; then
9668 if test $wxUSE_METAFILE = no; then
9669 result=yes
9670 else
9671 result=no
9672 fi
9673 else
9674 result=$wxUSE_METAFILE
9675 fi
9676
9677 { echo "$as_me:$LINENO: result: $result" >&5
9678 echo "${ECHO_T}$result" >&6; }
9679
9680
9681
9682 DEFAULT_wxUSE_CONTROLS=none
9683
9684 enablestring=disable
9685 defaultval=
9686 if test -z "$defaultval"; then
9687 if test x"$enablestring" = xdisable; then
9688 defaultval=yes
9689 else
9690 defaultval=no
9691 fi
9692 fi
9693
9694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9695 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9696 # Check whether --enable-controls was given.
9697 if test "${enable_controls+set}" = set; then
9698 enableval=$enable_controls;
9699 if test "$enableval" = yes; then
9700 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9701 else
9702 wx_cv_use_controls='wxUSE_CONTROLS=no'
9703 fi
9704
9705 else
9706
9707 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9708
9709 fi
9710
9711
9712 eval "$wx_cv_use_controls"
9713
9714 if test x"$enablestring" = xdisable; then
9715 if test $wxUSE_CONTROLS = no; then
9716 result=yes
9717 else
9718 result=no
9719 fi
9720 else
9721 result=$wxUSE_CONTROLS
9722 fi
9723
9724 { echo "$as_me:$LINENO: result: $result" >&5
9725 echo "${ECHO_T}$result" >&6; }
9726
9727
9728 if test "$wxUSE_CONTROLS" = "no"; then
9729 DEFAULT_wxUSE_ACCEL=no
9730 DEFAULT_wxUSE_ANIMATIONCTRL=no
9731 DEFAULT_wxUSE_BMPBUTTON=no
9732 DEFAULT_wxUSE_BUTTON=no
9733 DEFAULT_wxUSE_CALCTRL=no
9734 DEFAULT_wxUSE_CARET=no
9735 DEFAULT_wxUSE_CHECKBOX=no
9736 DEFAULT_wxUSE_CHECKLISTBOX=no
9737 DEFAULT_wxUSE_CHOICE=no
9738 DEFAULT_wxUSE_CHOICEBOOK=no
9739 DEFAULT_wxUSE_COLLPANE=no
9740 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9741 DEFAULT_wxUSE_COMBOBOX=no
9742 DEFAULT_wxUSE_COMBOBOX=no
9743 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9744 DEFAULT_wxUSE_DATAVIEWCTRL=no
9745 DEFAULT_wxUSE_DATEPICKCTRL=no
9746 DEFAULT_wxUSE_DETECT_SM=no
9747 DEFAULT_wxUSE_DIRPICKERCTRL=no
9748 DEFAULT_wxUSE_DISPLAY=no
9749 DEFAULT_wxUSE_FILECTRL=no
9750 DEFAULT_wxUSE_FILEPICKERCTRL=no
9751 DEFAULT_wxUSE_FONTPICKERCTRL=no
9752 DEFAULT_wxUSE_GAUGE=no
9753 DEFAULT_wxUSE_GRID=no
9754 DEFAULT_wxUSE_HEADERCTRL=no
9755 DEFAULT_wxUSE_HYPERLINKCTRL=no
9756 DEFAULT_wxUSE_IMAGLIST=no
9757 DEFAULT_wxUSE_LISTBOOK=no
9758 DEFAULT_wxUSE_LISTBOX=no
9759 DEFAULT_wxUSE_LISTCTRL=no
9760 DEFAULT_wxUSE_NOTEBOOK=no
9761 DEFAULT_wxUSE_POPUPWIN=no
9762 DEFAULT_wxUSE_RADIOBOX=no
9763 DEFAULT_wxUSE_RADIOBTN=no
9764 DEFAULT_wxUSE_RICHMSGDLG=no
9765 DEFAULT_wxUSE_REARRANGECTRL=no
9766 DEFAULT_wxUSE_SASH=no
9767 DEFAULT_wxUSE_SCROLLBAR=no
9768 DEFAULT_wxUSE_SEARCHCTRL=no
9769 DEFAULT_wxUSE_SLIDER=no
9770 DEFAULT_wxUSE_SPINBTN=no
9771 DEFAULT_wxUSE_SPINCTRL=no
9772 DEFAULT_wxUSE_SPLITTER=no
9773 DEFAULT_wxUSE_STATBMP=no
9774 DEFAULT_wxUSE_STATBOX=no
9775 DEFAULT_wxUSE_STATLINE=no
9776 DEFAULT_wxUSE_STATUSBAR=no
9777 DEFAULT_wxUSE_TIPWINDOW=no
9778 DEFAULT_wxUSE_TOGGLEBTN=no
9779 DEFAULT_wxUSE_TOOLBAR=no
9780 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9781 DEFAULT_wxUSE_TOOLBOOK=no
9782 DEFAULT_wxUSE_TOOLTIPS=no
9783 DEFAULT_wxUSE_TREEBOOK=no
9784 DEFAULT_wxUSE_TREECTRL=no
9785 fi
9786
9787
9788 enablestring=
9789 defaultval=$wxUSE_ALL_FEATURES
9790 if test -z "$defaultval"; then
9791 if test x"$enablestring" = xdisable; then
9792 defaultval=yes
9793 else
9794 defaultval=no
9795 fi
9796 fi
9797
9798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9799 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9800 # Check whether --enable-accel was given.
9801 if test "${enable_accel+set}" = set; then
9802 enableval=$enable_accel;
9803 if test "$enableval" = yes; then
9804 wx_cv_use_accel='wxUSE_ACCEL=yes'
9805 else
9806 wx_cv_use_accel='wxUSE_ACCEL=no'
9807 fi
9808
9809 else
9810
9811 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9812
9813 fi
9814
9815
9816 eval "$wx_cv_use_accel"
9817
9818 if test x"$enablestring" = xdisable; then
9819 if test $wxUSE_ACCEL = no; then
9820 result=yes
9821 else
9822 result=no
9823 fi
9824 else
9825 result=$wxUSE_ACCEL
9826 fi
9827
9828 { echo "$as_me:$LINENO: result: $result" >&5
9829 echo "${ECHO_T}$result" >&6; }
9830
9831
9832 enablestring=
9833 defaultval=$wxUSE_ALL_FEATURES
9834 if test -z "$defaultval"; then
9835 if test x"$enablestring" = xdisable; then
9836 defaultval=yes
9837 else
9838 defaultval=no
9839 fi
9840 fi
9841
9842 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9843 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9844 # Check whether --enable-animatectrl was given.
9845 if test "${enable_animatectrl+set}" = set; then
9846 enableval=$enable_animatectrl;
9847 if test "$enableval" = yes; then
9848 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9849 else
9850 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9851 fi
9852
9853 else
9854
9855 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9856
9857 fi
9858
9859
9860 eval "$wx_cv_use_animatectrl"
9861
9862 if test x"$enablestring" = xdisable; then
9863 if test $wxUSE_ANIMATIONCTRL = no; then
9864 result=yes
9865 else
9866 result=no
9867 fi
9868 else
9869 result=$wxUSE_ANIMATIONCTRL
9870 fi
9871
9872 { echo "$as_me:$LINENO: result: $result" >&5
9873 echo "${ECHO_T}$result" >&6; }
9874
9875
9876 enablestring=
9877 defaultval=$wxUSE_ALL_FEATURES
9878 if test -z "$defaultval"; then
9879 if test x"$enablestring" = xdisable; then
9880 defaultval=yes
9881 else
9882 defaultval=no
9883 fi
9884 fi
9885
9886 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9887 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9888 # Check whether --enable-bmpbutton was given.
9889 if test "${enable_bmpbutton+set}" = set; then
9890 enableval=$enable_bmpbutton;
9891 if test "$enableval" = yes; then
9892 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9893 else
9894 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9895 fi
9896
9897 else
9898
9899 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9900
9901 fi
9902
9903
9904 eval "$wx_cv_use_bmpbutton"
9905
9906 if test x"$enablestring" = xdisable; then
9907 if test $wxUSE_BMPBUTTON = no; then
9908 result=yes
9909 else
9910 result=no
9911 fi
9912 else
9913 result=$wxUSE_BMPBUTTON
9914 fi
9915
9916 { echo "$as_me:$LINENO: result: $result" >&5
9917 echo "${ECHO_T}$result" >&6; }
9918
9919
9920 enablestring=
9921 defaultval=$wxUSE_ALL_FEATURES
9922 if test -z "$defaultval"; then
9923 if test x"$enablestring" = xdisable; then
9924 defaultval=yes
9925 else
9926 defaultval=no
9927 fi
9928 fi
9929
9930 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9931 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9932 # Check whether --enable-bmpcombobox was given.
9933 if test "${enable_bmpcombobox+set}" = set; then
9934 enableval=$enable_bmpcombobox;
9935 if test "$enableval" = yes; then
9936 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9937 else
9938 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9939 fi
9940
9941 else
9942
9943 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9944
9945 fi
9946
9947
9948 eval "$wx_cv_use_bmpcombobox"
9949
9950 if test x"$enablestring" = xdisable; then
9951 if test $wxUSE_BITMAPCOMBOBOX = no; then
9952 result=yes
9953 else
9954 result=no
9955 fi
9956 else
9957 result=$wxUSE_BITMAPCOMBOBOX
9958 fi
9959
9960 { echo "$as_me:$LINENO: result: $result" >&5
9961 echo "${ECHO_T}$result" >&6; }
9962
9963
9964 enablestring=
9965 defaultval=$wxUSE_ALL_FEATURES
9966 if test -z "$defaultval"; then
9967 if test x"$enablestring" = xdisable; then
9968 defaultval=yes
9969 else
9970 defaultval=no
9971 fi
9972 fi
9973
9974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9975 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9976 # Check whether --enable-button was given.
9977 if test "${enable_button+set}" = set; then
9978 enableval=$enable_button;
9979 if test "$enableval" = yes; then
9980 wx_cv_use_button='wxUSE_BUTTON=yes'
9981 else
9982 wx_cv_use_button='wxUSE_BUTTON=no'
9983 fi
9984
9985 else
9986
9987 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9988
9989 fi
9990
9991
9992 eval "$wx_cv_use_button"
9993
9994 if test x"$enablestring" = xdisable; then
9995 if test $wxUSE_BUTTON = no; then
9996 result=yes
9997 else
9998 result=no
9999 fi
10000 else
10001 result=$wxUSE_BUTTON
10002 fi
10003
10004 { echo "$as_me:$LINENO: result: $result" >&5
10005 echo "${ECHO_T}$result" >&6; }
10006
10007
10008 enablestring=
10009 defaultval=$wxUSE_ALL_FEATURES
10010 if test -z "$defaultval"; then
10011 if test x"$enablestring" = xdisable; then
10012 defaultval=yes
10013 else
10014 defaultval=no
10015 fi
10016 fi
10017
10018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10019 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10020 # Check whether --enable-calendar was given.
10021 if test "${enable_calendar+set}" = set; then
10022 enableval=$enable_calendar;
10023 if test "$enableval" = yes; then
10024 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10025 else
10026 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10027 fi
10028
10029 else
10030
10031 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10032
10033 fi
10034
10035
10036 eval "$wx_cv_use_calendar"
10037
10038 if test x"$enablestring" = xdisable; then
10039 if test $wxUSE_CALCTRL = no; then
10040 result=yes
10041 else
10042 result=no
10043 fi
10044 else
10045 result=$wxUSE_CALCTRL
10046 fi
10047
10048 { echo "$as_me:$LINENO: result: $result" >&5
10049 echo "${ECHO_T}$result" >&6; }
10050
10051
10052 enablestring=
10053 defaultval=$wxUSE_ALL_FEATURES
10054 if test -z "$defaultval"; then
10055 if test x"$enablestring" = xdisable; then
10056 defaultval=yes
10057 else
10058 defaultval=no
10059 fi
10060 fi
10061
10062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10063 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10064 # Check whether --enable-caret was given.
10065 if test "${enable_caret+set}" = set; then
10066 enableval=$enable_caret;
10067 if test "$enableval" = yes; then
10068 wx_cv_use_caret='wxUSE_CARET=yes'
10069 else
10070 wx_cv_use_caret='wxUSE_CARET=no'
10071 fi
10072
10073 else
10074
10075 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10076
10077 fi
10078
10079
10080 eval "$wx_cv_use_caret"
10081
10082 if test x"$enablestring" = xdisable; then
10083 if test $wxUSE_CARET = no; then
10084 result=yes
10085 else
10086 result=no
10087 fi
10088 else
10089 result=$wxUSE_CARET
10090 fi
10091
10092 { echo "$as_me:$LINENO: result: $result" >&5
10093 echo "${ECHO_T}$result" >&6; }
10094
10095
10096 enablestring=
10097 defaultval=$wxUSE_ALL_FEATURES
10098 if test -z "$defaultval"; then
10099 if test x"$enablestring" = xdisable; then
10100 defaultval=yes
10101 else
10102 defaultval=no
10103 fi
10104 fi
10105
10106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10107 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10108 # Check whether --enable-checkbox was given.
10109 if test "${enable_checkbox+set}" = set; then
10110 enableval=$enable_checkbox;
10111 if test "$enableval" = yes; then
10112 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10113 else
10114 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10115 fi
10116
10117 else
10118
10119 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10120
10121 fi
10122
10123
10124 eval "$wx_cv_use_checkbox"
10125
10126 if test x"$enablestring" = xdisable; then
10127 if test $wxUSE_CHECKBOX = no; then
10128 result=yes
10129 else
10130 result=no
10131 fi
10132 else
10133 result=$wxUSE_CHECKBOX
10134 fi
10135
10136 { echo "$as_me:$LINENO: result: $result" >&5
10137 echo "${ECHO_T}$result" >&6; }
10138
10139
10140 enablestring=
10141 defaultval=$wxUSE_ALL_FEATURES
10142 if test -z "$defaultval"; then
10143 if test x"$enablestring" = xdisable; then
10144 defaultval=yes
10145 else
10146 defaultval=no
10147 fi
10148 fi
10149
10150 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10151 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10152 # Check whether --enable-checklst was given.
10153 if test "${enable_checklst+set}" = set; then
10154 enableval=$enable_checklst;
10155 if test "$enableval" = yes; then
10156 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10157 else
10158 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10159 fi
10160
10161 else
10162
10163 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10164
10165 fi
10166
10167
10168 eval "$wx_cv_use_checklst"
10169
10170 if test x"$enablestring" = xdisable; then
10171 if test $wxUSE_CHECKLST = no; then
10172 result=yes
10173 else
10174 result=no
10175 fi
10176 else
10177 result=$wxUSE_CHECKLST
10178 fi
10179
10180 { echo "$as_me:$LINENO: result: $result" >&5
10181 echo "${ECHO_T}$result" >&6; }
10182
10183
10184 enablestring=
10185 defaultval=$wxUSE_ALL_FEATURES
10186 if test -z "$defaultval"; then
10187 if test x"$enablestring" = xdisable; then
10188 defaultval=yes
10189 else
10190 defaultval=no
10191 fi
10192 fi
10193
10194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10195 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10196 # Check whether --enable-choice was given.
10197 if test "${enable_choice+set}" = set; then
10198 enableval=$enable_choice;
10199 if test "$enableval" = yes; then
10200 wx_cv_use_choice='wxUSE_CHOICE=yes'
10201 else
10202 wx_cv_use_choice='wxUSE_CHOICE=no'
10203 fi
10204
10205 else
10206
10207 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10208
10209 fi
10210
10211
10212 eval "$wx_cv_use_choice"
10213
10214 if test x"$enablestring" = xdisable; then
10215 if test $wxUSE_CHOICE = no; then
10216 result=yes
10217 else
10218 result=no
10219 fi
10220 else
10221 result=$wxUSE_CHOICE
10222 fi
10223
10224 { echo "$as_me:$LINENO: result: $result" >&5
10225 echo "${ECHO_T}$result" >&6; }
10226
10227
10228 enablestring=
10229 defaultval=$wxUSE_ALL_FEATURES
10230 if test -z "$defaultval"; then
10231 if test x"$enablestring" = xdisable; then
10232 defaultval=yes
10233 else
10234 defaultval=no
10235 fi
10236 fi
10237
10238 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10239 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10240 # Check whether --enable-choicebook was given.
10241 if test "${enable_choicebook+set}" = set; then
10242 enableval=$enable_choicebook;
10243 if test "$enableval" = yes; then
10244 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10245 else
10246 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10247 fi
10248
10249 else
10250
10251 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10252
10253 fi
10254
10255
10256 eval "$wx_cv_use_choicebook"
10257
10258 if test x"$enablestring" = xdisable; then
10259 if test $wxUSE_CHOICEBOOK = no; then
10260 result=yes
10261 else
10262 result=no
10263 fi
10264 else
10265 result=$wxUSE_CHOICEBOOK
10266 fi
10267
10268 { echo "$as_me:$LINENO: result: $result" >&5
10269 echo "${ECHO_T}$result" >&6; }
10270
10271
10272 enablestring=
10273 defaultval=$wxUSE_ALL_FEATURES
10274 if test -z "$defaultval"; then
10275 if test x"$enablestring" = xdisable; then
10276 defaultval=yes
10277 else
10278 defaultval=no
10279 fi
10280 fi
10281
10282 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10283 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10284 # Check whether --enable-collpane was given.
10285 if test "${enable_collpane+set}" = set; then
10286 enableval=$enable_collpane;
10287 if test "$enableval" = yes; then
10288 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10289 else
10290 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10291 fi
10292
10293 else
10294
10295 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10296
10297 fi
10298
10299
10300 eval "$wx_cv_use_collpane"
10301
10302 if test x"$enablestring" = xdisable; then
10303 if test $wxUSE_COLLPANE = no; then
10304 result=yes
10305 else
10306 result=no
10307 fi
10308 else
10309 result=$wxUSE_COLLPANE
10310 fi
10311
10312 { echo "$as_me:$LINENO: result: $result" >&5
10313 echo "${ECHO_T}$result" >&6; }
10314
10315
10316 enablestring=
10317 defaultval=$wxUSE_ALL_FEATURES
10318 if test -z "$defaultval"; then
10319 if test x"$enablestring" = xdisable; then
10320 defaultval=yes
10321 else
10322 defaultval=no
10323 fi
10324 fi
10325
10326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10327 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10328 # Check whether --enable-colourpicker was given.
10329 if test "${enable_colourpicker+set}" = set; then
10330 enableval=$enable_colourpicker;
10331 if test "$enableval" = yes; then
10332 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10333 else
10334 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10335 fi
10336
10337 else
10338
10339 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10340
10341 fi
10342
10343
10344 eval "$wx_cv_use_colourpicker"
10345
10346 if test x"$enablestring" = xdisable; then
10347 if test $wxUSE_COLOURPICKERCTRL = no; then
10348 result=yes
10349 else
10350 result=no
10351 fi
10352 else
10353 result=$wxUSE_COLOURPICKERCTRL
10354 fi
10355
10356 { echo "$as_me:$LINENO: result: $result" >&5
10357 echo "${ECHO_T}$result" >&6; }
10358
10359
10360 enablestring=
10361 defaultval=$wxUSE_ALL_FEATURES
10362 if test -z "$defaultval"; then
10363 if test x"$enablestring" = xdisable; then
10364 defaultval=yes
10365 else
10366 defaultval=no
10367 fi
10368 fi
10369
10370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10371 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10372 # Check whether --enable-combobox was given.
10373 if test "${enable_combobox+set}" = set; then
10374 enableval=$enable_combobox;
10375 if test "$enableval" = yes; then
10376 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10377 else
10378 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10379 fi
10380
10381 else
10382
10383 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10384
10385 fi
10386
10387
10388 eval "$wx_cv_use_combobox"
10389
10390 if test x"$enablestring" = xdisable; then
10391 if test $wxUSE_COMBOBOX = no; then
10392 result=yes
10393 else
10394 result=no
10395 fi
10396 else
10397 result=$wxUSE_COMBOBOX
10398 fi
10399
10400 { echo "$as_me:$LINENO: result: $result" >&5
10401 echo "${ECHO_T}$result" >&6; }
10402
10403
10404 enablestring=
10405 defaultval=$wxUSE_ALL_FEATURES
10406 if test -z "$defaultval"; then
10407 if test x"$enablestring" = xdisable; then
10408 defaultval=yes
10409 else
10410 defaultval=no
10411 fi
10412 fi
10413
10414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10415 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10416 # Check whether --enable-comboctrl was given.
10417 if test "${enable_comboctrl+set}" = set; then
10418 enableval=$enable_comboctrl;
10419 if test "$enableval" = yes; then
10420 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10421 else
10422 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10423 fi
10424
10425 else
10426
10427 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10428
10429 fi
10430
10431
10432 eval "$wx_cv_use_comboctrl"
10433
10434 if test x"$enablestring" = xdisable; then
10435 if test $wxUSE_COMBOCTRL = no; then
10436 result=yes
10437 else
10438 result=no
10439 fi
10440 else
10441 result=$wxUSE_COMBOCTRL
10442 fi
10443
10444 { echo "$as_me:$LINENO: result: $result" >&5
10445 echo "${ECHO_T}$result" >&6; }
10446
10447
10448 enablestring=
10449 defaultval=$wxUSE_ALL_FEATURES
10450 if test -z "$defaultval"; then
10451 if test x"$enablestring" = xdisable; then
10452 defaultval=yes
10453 else
10454 defaultval=no
10455 fi
10456 fi
10457
10458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commandlinkbutton" >&5
10459 echo $ECHO_N "checking for --${enablestring:-enable}-commandlinkbutton... $ECHO_C" >&6; }
10460 # Check whether --enable-commandlinkbutton was given.
10461 if test "${enable_commandlinkbutton+set}" = set; then
10462 enableval=$enable_commandlinkbutton;
10463 if test "$enableval" = yes; then
10464 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
10465 else
10466 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
10467 fi
10468
10469 else
10470
10471 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10472
10473 fi
10474
10475
10476 eval "$wx_cv_use_commandlinkbutton"
10477
10478 if test x"$enablestring" = xdisable; then
10479 if test $wxUSE_COMMANDLINKBUTTON = no; then
10480 result=yes
10481 else
10482 result=no
10483 fi
10484 else
10485 result=$wxUSE_COMMANDLINKBUTTON
10486 fi
10487
10488 { echo "$as_me:$LINENO: result: $result" >&5
10489 echo "${ECHO_T}$result" >&6; }
10490
10491
10492 enablestring=
10493 defaultval=$wxUSE_ALL_FEATURES
10494 if test -z "$defaultval"; then
10495 if test x"$enablestring" = xdisable; then
10496 defaultval=yes
10497 else
10498 defaultval=no
10499 fi
10500 fi
10501
10502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10503 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10504 # Check whether --enable-dataviewctrl was given.
10505 if test "${enable_dataviewctrl+set}" = set; then
10506 enableval=$enable_dataviewctrl;
10507 if test "$enableval" = yes; then
10508 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10509 else
10510 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10511 fi
10512
10513 else
10514
10515 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10516
10517 fi
10518
10519
10520 eval "$wx_cv_use_dataviewctrl"
10521
10522 if test x"$enablestring" = xdisable; then
10523 if test $wxUSE_DATAVIEWCTRL = no; then
10524 result=yes
10525 else
10526 result=no
10527 fi
10528 else
10529 result=$wxUSE_DATAVIEWCTRL
10530 fi
10531
10532 { echo "$as_me:$LINENO: result: $result" >&5
10533 echo "${ECHO_T}$result" >&6; }
10534
10535
10536 enablestring=
10537 defaultval=$wxUSE_ALL_FEATURES
10538 if test -z "$defaultval"; then
10539 if test x"$enablestring" = xdisable; then
10540 defaultval=yes
10541 else
10542 defaultval=no
10543 fi
10544 fi
10545
10546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10547 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10548 # Check whether --enable-datepick was given.
10549 if test "${enable_datepick+set}" = set; then
10550 enableval=$enable_datepick;
10551 if test "$enableval" = yes; then
10552 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10553 else
10554 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10555 fi
10556
10557 else
10558
10559 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10560
10561 fi
10562
10563
10564 eval "$wx_cv_use_datepick"
10565
10566 if test x"$enablestring" = xdisable; then
10567 if test $wxUSE_DATEPICKCTRL = no; then
10568 result=yes
10569 else
10570 result=no
10571 fi
10572 else
10573 result=$wxUSE_DATEPICKCTRL
10574 fi
10575
10576 { echo "$as_me:$LINENO: result: $result" >&5
10577 echo "${ECHO_T}$result" >&6; }
10578
10579
10580 enablestring=
10581 defaultval=$wxUSE_ALL_FEATURES
10582 if test -z "$defaultval"; then
10583 if test x"$enablestring" = xdisable; then
10584 defaultval=yes
10585 else
10586 defaultval=no
10587 fi
10588 fi
10589
10590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10591 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10592 # Check whether --enable-detect_sm was given.
10593 if test "${enable_detect_sm+set}" = set; then
10594 enableval=$enable_detect_sm;
10595 if test "$enableval" = yes; then
10596 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10597 else
10598 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10599 fi
10600
10601 else
10602
10603 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10604
10605 fi
10606
10607
10608 eval "$wx_cv_use_detect_sm"
10609
10610 if test x"$enablestring" = xdisable; then
10611 if test $wxUSE_DETECT_SM = no; then
10612 result=yes
10613 else
10614 result=no
10615 fi
10616 else
10617 result=$wxUSE_DETECT_SM
10618 fi
10619
10620 { echo "$as_me:$LINENO: result: $result" >&5
10621 echo "${ECHO_T}$result" >&6; }
10622
10623
10624 enablestring=
10625 defaultval=$wxUSE_ALL_FEATURES
10626 if test -z "$defaultval"; then
10627 if test x"$enablestring" = xdisable; then
10628 defaultval=yes
10629 else
10630 defaultval=no
10631 fi
10632 fi
10633
10634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10635 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10636 # Check whether --enable-dirpicker was given.
10637 if test "${enable_dirpicker+set}" = set; then
10638 enableval=$enable_dirpicker;
10639 if test "$enableval" = yes; then
10640 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10641 else
10642 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10643 fi
10644
10645 else
10646
10647 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10648
10649 fi
10650
10651
10652 eval "$wx_cv_use_dirpicker"
10653
10654 if test x"$enablestring" = xdisable; then
10655 if test $wxUSE_DIRPICKERCTRL = no; then
10656 result=yes
10657 else
10658 result=no
10659 fi
10660 else
10661 result=$wxUSE_DIRPICKERCTRL
10662 fi
10663
10664 { echo "$as_me:$LINENO: result: $result" >&5
10665 echo "${ECHO_T}$result" >&6; }
10666
10667
10668 enablestring=
10669 defaultval=$wxUSE_ALL_FEATURES
10670 if test -z "$defaultval"; then
10671 if test x"$enablestring" = xdisable; then
10672 defaultval=yes
10673 else
10674 defaultval=no
10675 fi
10676 fi
10677
10678 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10679 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10680 # Check whether --enable-display was given.
10681 if test "${enable_display+set}" = set; then
10682 enableval=$enable_display;
10683 if test "$enableval" = yes; then
10684 wx_cv_use_display='wxUSE_DISPLAY=yes'
10685 else
10686 wx_cv_use_display='wxUSE_DISPLAY=no'
10687 fi
10688
10689 else
10690
10691 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10692
10693 fi
10694
10695
10696 eval "$wx_cv_use_display"
10697
10698 if test x"$enablestring" = xdisable; then
10699 if test $wxUSE_DISPLAY = no; then
10700 result=yes
10701 else
10702 result=no
10703 fi
10704 else
10705 result=$wxUSE_DISPLAY
10706 fi
10707
10708 { echo "$as_me:$LINENO: result: $result" >&5
10709 echo "${ECHO_T}$result" >&6; }
10710
10711
10712 enablestring=
10713 defaultval=$wxUSE_ALL_FEATURES
10714 if test -z "$defaultval"; then
10715 if test x"$enablestring" = xdisable; then
10716 defaultval=yes
10717 else
10718 defaultval=no
10719 fi
10720 fi
10721
10722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10723 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10724 # Check whether --enable-editablebox was given.
10725 if test "${enable_editablebox+set}" = set; then
10726 enableval=$enable_editablebox;
10727 if test "$enableval" = yes; then
10728 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10729 else
10730 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10731 fi
10732
10733 else
10734
10735 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10736
10737 fi
10738
10739
10740 eval "$wx_cv_use_editablebox"
10741
10742 if test x"$enablestring" = xdisable; then
10743 if test $wxUSE_EDITABLELISTBOX = no; then
10744 result=yes
10745 else
10746 result=no
10747 fi
10748 else
10749 result=$wxUSE_EDITABLELISTBOX
10750 fi
10751
10752 { echo "$as_me:$LINENO: result: $result" >&5
10753 echo "${ECHO_T}$result" >&6; }
10754
10755
10756 enablestring=
10757 defaultval=$wxUSE_ALL_FEATURES
10758 if test -z "$defaultval"; then
10759 if test x"$enablestring" = xdisable; then
10760 defaultval=yes
10761 else
10762 defaultval=no
10763 fi
10764 fi
10765
10766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10767 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10768 # Check whether --enable-filectrl was given.
10769 if test "${enable_filectrl+set}" = set; then
10770 enableval=$enable_filectrl;
10771 if test "$enableval" = yes; then
10772 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10773 else
10774 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10775 fi
10776
10777 else
10778
10779 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10780
10781 fi
10782
10783
10784 eval "$wx_cv_use_filectrl"
10785
10786 if test x"$enablestring" = xdisable; then
10787 if test $wxUSE_FILECTRL = no; then
10788 result=yes
10789 else
10790 result=no
10791 fi
10792 else
10793 result=$wxUSE_FILECTRL
10794 fi
10795
10796 { echo "$as_me:$LINENO: result: $result" >&5
10797 echo "${ECHO_T}$result" >&6; }
10798
10799
10800 enablestring=
10801 defaultval=$wxUSE_ALL_FEATURES
10802 if test -z "$defaultval"; then
10803 if test x"$enablestring" = xdisable; then
10804 defaultval=yes
10805 else
10806 defaultval=no
10807 fi
10808 fi
10809
10810 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10811 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10812 # Check whether --enable-filepicker was given.
10813 if test "${enable_filepicker+set}" = set; then
10814 enableval=$enable_filepicker;
10815 if test "$enableval" = yes; then
10816 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10817 else
10818 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10819 fi
10820
10821 else
10822
10823 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10824
10825 fi
10826
10827
10828 eval "$wx_cv_use_filepicker"
10829
10830 if test x"$enablestring" = xdisable; then
10831 if test $wxUSE_FILEPICKERCTRL = no; then
10832 result=yes
10833 else
10834 result=no
10835 fi
10836 else
10837 result=$wxUSE_FILEPICKERCTRL
10838 fi
10839
10840 { echo "$as_me:$LINENO: result: $result" >&5
10841 echo "${ECHO_T}$result" >&6; }
10842
10843
10844 enablestring=
10845 defaultval=$wxUSE_ALL_FEATURES
10846 if test -z "$defaultval"; then
10847 if test x"$enablestring" = xdisable; then
10848 defaultval=yes
10849 else
10850 defaultval=no
10851 fi
10852 fi
10853
10854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10855 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10856 # Check whether --enable-fontpicker was given.
10857 if test "${enable_fontpicker+set}" = set; then
10858 enableval=$enable_fontpicker;
10859 if test "$enableval" = yes; then
10860 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10861 else
10862 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10863 fi
10864
10865 else
10866
10867 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10868
10869 fi
10870
10871
10872 eval "$wx_cv_use_fontpicker"
10873
10874 if test x"$enablestring" = xdisable; then
10875 if test $wxUSE_FONTPICKERCTRL = no; then
10876 result=yes
10877 else
10878 result=no
10879 fi
10880 else
10881 result=$wxUSE_FONTPICKERCTRL
10882 fi
10883
10884 { echo "$as_me:$LINENO: result: $result" >&5
10885 echo "${ECHO_T}$result" >&6; }
10886
10887
10888 enablestring=
10889 defaultval=$wxUSE_ALL_FEATURES
10890 if test -z "$defaultval"; then
10891 if test x"$enablestring" = xdisable; then
10892 defaultval=yes
10893 else
10894 defaultval=no
10895 fi
10896 fi
10897
10898 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10899 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10900 # Check whether --enable-gauge was given.
10901 if test "${enable_gauge+set}" = set; then
10902 enableval=$enable_gauge;
10903 if test "$enableval" = yes; then
10904 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10905 else
10906 wx_cv_use_gauge='wxUSE_GAUGE=no'
10907 fi
10908
10909 else
10910
10911 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10912
10913 fi
10914
10915
10916 eval "$wx_cv_use_gauge"
10917
10918 if test x"$enablestring" = xdisable; then
10919 if test $wxUSE_GAUGE = no; then
10920 result=yes
10921 else
10922 result=no
10923 fi
10924 else
10925 result=$wxUSE_GAUGE
10926 fi
10927
10928 { echo "$as_me:$LINENO: result: $result" >&5
10929 echo "${ECHO_T}$result" >&6; }
10930
10931
10932 enablestring=
10933 defaultval=$wxUSE_ALL_FEATURES
10934 if test -z "$defaultval"; then
10935 if test x"$enablestring" = xdisable; then
10936 defaultval=yes
10937 else
10938 defaultval=no
10939 fi
10940 fi
10941
10942 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10943 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10944 # Check whether --enable-grid was given.
10945 if test "${enable_grid+set}" = set; then
10946 enableval=$enable_grid;
10947 if test "$enableval" = yes; then
10948 wx_cv_use_grid='wxUSE_GRID=yes'
10949 else
10950 wx_cv_use_grid='wxUSE_GRID=no'
10951 fi
10952
10953 else
10954
10955 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10956
10957 fi
10958
10959
10960 eval "$wx_cv_use_grid"
10961
10962 if test x"$enablestring" = xdisable; then
10963 if test $wxUSE_GRID = no; then
10964 result=yes
10965 else
10966 result=no
10967 fi
10968 else
10969 result=$wxUSE_GRID
10970 fi
10971
10972 { echo "$as_me:$LINENO: result: $result" >&5
10973 echo "${ECHO_T}$result" >&6; }
10974
10975
10976 enablestring=
10977 defaultval=$wxUSE_ALL_FEATURES
10978 if test -z "$defaultval"; then
10979 if test x"$enablestring" = xdisable; then
10980 defaultval=yes
10981 else
10982 defaultval=no
10983 fi
10984 fi
10985
10986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10987 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10988 # Check whether --enable-headerctrl was given.
10989 if test "${enable_headerctrl+set}" = set; then
10990 enableval=$enable_headerctrl;
10991 if test "$enableval" = yes; then
10992 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
10993 else
10994 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
10995 fi
10996
10997 else
10998
10999 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11000
11001 fi
11002
11003
11004 eval "$wx_cv_use_headerctrl"
11005
11006 if test x"$enablestring" = xdisable; then
11007 if test $wxUSE_HEADERCTRL = no; then
11008 result=yes
11009 else
11010 result=no
11011 fi
11012 else
11013 result=$wxUSE_HEADERCTRL
11014 fi
11015
11016 { echo "$as_me:$LINENO: result: $result" >&5
11017 echo "${ECHO_T}$result" >&6; }
11018
11019
11020 enablestring=
11021 defaultval=$wxUSE_ALL_FEATURES
11022 if test -z "$defaultval"; then
11023 if test x"$enablestring" = xdisable; then
11024 defaultval=yes
11025 else
11026 defaultval=no
11027 fi
11028 fi
11029
11030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11031 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11032 # Check whether --enable-hyperlink was given.
11033 if test "${enable_hyperlink+set}" = set; then
11034 enableval=$enable_hyperlink;
11035 if test "$enableval" = yes; then
11036 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11037 else
11038 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11039 fi
11040
11041 else
11042
11043 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11044
11045 fi
11046
11047
11048 eval "$wx_cv_use_hyperlink"
11049
11050 if test x"$enablestring" = xdisable; then
11051 if test $wxUSE_HYPERLINKCTRL = no; then
11052 result=yes
11053 else
11054 result=no
11055 fi
11056 else
11057 result=$wxUSE_HYPERLINKCTRL
11058 fi
11059
11060 { echo "$as_me:$LINENO: result: $result" >&5
11061 echo "${ECHO_T}$result" >&6; }
11062
11063
11064 enablestring=
11065 defaultval=$wxUSE_ALL_FEATURES
11066 if test -z "$defaultval"; then
11067 if test x"$enablestring" = xdisable; then
11068 defaultval=yes
11069 else
11070 defaultval=no
11071 fi
11072 fi
11073
11074 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11075 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11076 # Check whether --enable-imaglist was given.
11077 if test "${enable_imaglist+set}" = set; then
11078 enableval=$enable_imaglist;
11079 if test "$enableval" = yes; then
11080 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11081 else
11082 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11083 fi
11084
11085 else
11086
11087 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11088
11089 fi
11090
11091
11092 eval "$wx_cv_use_imaglist"
11093
11094 if test x"$enablestring" = xdisable; then
11095 if test $wxUSE_IMAGLIST = no; then
11096 result=yes
11097 else
11098 result=no
11099 fi
11100 else
11101 result=$wxUSE_IMAGLIST
11102 fi
11103
11104 { echo "$as_me:$LINENO: result: $result" >&5
11105 echo "${ECHO_T}$result" >&6; }
11106
11107
11108 enablestring=
11109 defaultval=$wxUSE_ALL_FEATURES
11110 if test -z "$defaultval"; then
11111 if test x"$enablestring" = xdisable; then
11112 defaultval=yes
11113 else
11114 defaultval=no
11115 fi
11116 fi
11117
11118 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11119 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11120 # Check whether --enable-infobar was given.
11121 if test "${enable_infobar+set}" = set; then
11122 enableval=$enable_infobar;
11123 if test "$enableval" = yes; then
11124 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11125 else
11126 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11127 fi
11128
11129 else
11130
11131 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11132
11133 fi
11134
11135
11136 eval "$wx_cv_use_infobar"
11137
11138 if test x"$enablestring" = xdisable; then
11139 if test $wxUSE_INFOBAR = no; then
11140 result=yes
11141 else
11142 result=no
11143 fi
11144 else
11145 result=$wxUSE_INFOBAR
11146 fi
11147
11148 { echo "$as_me:$LINENO: result: $result" >&5
11149 echo "${ECHO_T}$result" >&6; }
11150
11151
11152 enablestring=
11153 defaultval=$wxUSE_ALL_FEATURES
11154 if test -z "$defaultval"; then
11155 if test x"$enablestring" = xdisable; then
11156 defaultval=yes
11157 else
11158 defaultval=no
11159 fi
11160 fi
11161
11162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11163 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11164 # Check whether --enable-listbook was given.
11165 if test "${enable_listbook+set}" = set; then
11166 enableval=$enable_listbook;
11167 if test "$enableval" = yes; then
11168 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11169 else
11170 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11171 fi
11172
11173 else
11174
11175 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11176
11177 fi
11178
11179
11180 eval "$wx_cv_use_listbook"
11181
11182 if test x"$enablestring" = xdisable; then
11183 if test $wxUSE_LISTBOOK = no; then
11184 result=yes
11185 else
11186 result=no
11187 fi
11188 else
11189 result=$wxUSE_LISTBOOK
11190 fi
11191
11192 { echo "$as_me:$LINENO: result: $result" >&5
11193 echo "${ECHO_T}$result" >&6; }
11194
11195
11196 enablestring=
11197 defaultval=$wxUSE_ALL_FEATURES
11198 if test -z "$defaultval"; then
11199 if test x"$enablestring" = xdisable; then
11200 defaultval=yes
11201 else
11202 defaultval=no
11203 fi
11204 fi
11205
11206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11207 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11208 # Check whether --enable-listbox was given.
11209 if test "${enable_listbox+set}" = set; then
11210 enableval=$enable_listbox;
11211 if test "$enableval" = yes; then
11212 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11213 else
11214 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11215 fi
11216
11217 else
11218
11219 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11220
11221 fi
11222
11223
11224 eval "$wx_cv_use_listbox"
11225
11226 if test x"$enablestring" = xdisable; then
11227 if test $wxUSE_LISTBOX = no; then
11228 result=yes
11229 else
11230 result=no
11231 fi
11232 else
11233 result=$wxUSE_LISTBOX
11234 fi
11235
11236 { echo "$as_me:$LINENO: result: $result" >&5
11237 echo "${ECHO_T}$result" >&6; }
11238
11239
11240 enablestring=
11241 defaultval=$wxUSE_ALL_FEATURES
11242 if test -z "$defaultval"; then
11243 if test x"$enablestring" = xdisable; then
11244 defaultval=yes
11245 else
11246 defaultval=no
11247 fi
11248 fi
11249
11250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11251 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11252 # Check whether --enable-listctrl was given.
11253 if test "${enable_listctrl+set}" = set; then
11254 enableval=$enable_listctrl;
11255 if test "$enableval" = yes; then
11256 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11257 else
11258 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11259 fi
11260
11261 else
11262
11263 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11264
11265 fi
11266
11267
11268 eval "$wx_cv_use_listctrl"
11269
11270 if test x"$enablestring" = xdisable; then
11271 if test $wxUSE_LISTCTRL = no; then
11272 result=yes
11273 else
11274 result=no
11275 fi
11276 else
11277 result=$wxUSE_LISTCTRL
11278 fi
11279
11280 { echo "$as_me:$LINENO: result: $result" >&5
11281 echo "${ECHO_T}$result" >&6; }
11282
11283
11284 enablestring=
11285 defaultval=$wxUSE_ALL_FEATURES
11286 if test -z "$defaultval"; then
11287 if test x"$enablestring" = xdisable; then
11288 defaultval=yes
11289 else
11290 defaultval=no
11291 fi
11292 fi
11293
11294 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11295 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11296 # Check whether --enable-notebook was given.
11297 if test "${enable_notebook+set}" = set; then
11298 enableval=$enable_notebook;
11299 if test "$enableval" = yes; then
11300 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11301 else
11302 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11303 fi
11304
11305 else
11306
11307 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11308
11309 fi
11310
11311
11312 eval "$wx_cv_use_notebook"
11313
11314 if test x"$enablestring" = xdisable; then
11315 if test $wxUSE_NOTEBOOK = no; then
11316 result=yes
11317 else
11318 result=no
11319 fi
11320 else
11321 result=$wxUSE_NOTEBOOK
11322 fi
11323
11324 { echo "$as_me:$LINENO: result: $result" >&5
11325 echo "${ECHO_T}$result" >&6; }
11326
11327
11328 enablestring=
11329 defaultval=$wxUSE_ALL_FEATURES
11330 if test -z "$defaultval"; then
11331 if test x"$enablestring" = xdisable; then
11332 defaultval=yes
11333 else
11334 defaultval=no
11335 fi
11336 fi
11337
11338 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11339 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11340 # Check whether --enable-notifmsg was given.
11341 if test "${enable_notifmsg+set}" = set; then
11342 enableval=$enable_notifmsg;
11343 if test "$enableval" = yes; then
11344 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11345 else
11346 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11347 fi
11348
11349 else
11350
11351 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11352
11353 fi
11354
11355
11356 eval "$wx_cv_use_notifmsg"
11357
11358 if test x"$enablestring" = xdisable; then
11359 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11360 result=yes
11361 else
11362 result=no
11363 fi
11364 else
11365 result=$wxUSE_NOTIFICATION_MESSAGE
11366 fi
11367
11368 { echo "$as_me:$LINENO: result: $result" >&5
11369 echo "${ECHO_T}$result" >&6; }
11370
11371
11372 enablestring=
11373 defaultval=$wxUSE_ALL_FEATURES
11374 if test -z "$defaultval"; then
11375 if test x"$enablestring" = xdisable; then
11376 defaultval=yes
11377 else
11378 defaultval=no
11379 fi
11380 fi
11381
11382 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11383 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11384 # Check whether --enable-odcombobox was given.
11385 if test "${enable_odcombobox+set}" = set; then
11386 enableval=$enable_odcombobox;
11387 if test "$enableval" = yes; then
11388 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11389 else
11390 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11391 fi
11392
11393 else
11394
11395 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11396
11397 fi
11398
11399
11400 eval "$wx_cv_use_odcombobox"
11401
11402 if test x"$enablestring" = xdisable; then
11403 if test $wxUSE_ODCOMBOBOX = no; then
11404 result=yes
11405 else
11406 result=no
11407 fi
11408 else
11409 result=$wxUSE_ODCOMBOBOX
11410 fi
11411
11412 { echo "$as_me:$LINENO: result: $result" >&5
11413 echo "${ECHO_T}$result" >&6; }
11414
11415
11416 enablestring=
11417 defaultval=$wxUSE_ALL_FEATURES
11418 if test -z "$defaultval"; then
11419 if test x"$enablestring" = xdisable; then
11420 defaultval=yes
11421 else
11422 defaultval=no
11423 fi
11424 fi
11425
11426 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11427 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11428 # Check whether --enable-popupwin was given.
11429 if test "${enable_popupwin+set}" = set; then
11430 enableval=$enable_popupwin;
11431 if test "$enableval" = yes; then
11432 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11433 else
11434 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11435 fi
11436
11437 else
11438
11439 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11440
11441 fi
11442
11443
11444 eval "$wx_cv_use_popupwin"
11445
11446 if test x"$enablestring" = xdisable; then
11447 if test $wxUSE_POPUPWIN = no; then
11448 result=yes
11449 else
11450 result=no
11451 fi
11452 else
11453 result=$wxUSE_POPUPWIN
11454 fi
11455
11456 { echo "$as_me:$LINENO: result: $result" >&5
11457 echo "${ECHO_T}$result" >&6; }
11458
11459
11460 enablestring=
11461 defaultval=$wxUSE_ALL_FEATURES
11462 if test -z "$defaultval"; then
11463 if test x"$enablestring" = xdisable; then
11464 defaultval=yes
11465 else
11466 defaultval=no
11467 fi
11468 fi
11469
11470 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11471 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11472 # Check whether --enable-radiobox was given.
11473 if test "${enable_radiobox+set}" = set; then
11474 enableval=$enable_radiobox;
11475 if test "$enableval" = yes; then
11476 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11477 else
11478 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11479 fi
11480
11481 else
11482
11483 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11484
11485 fi
11486
11487
11488 eval "$wx_cv_use_radiobox"
11489
11490 if test x"$enablestring" = xdisable; then
11491 if test $wxUSE_RADIOBOX = no; then
11492 result=yes
11493 else
11494 result=no
11495 fi
11496 else
11497 result=$wxUSE_RADIOBOX
11498 fi
11499
11500 { echo "$as_me:$LINENO: result: $result" >&5
11501 echo "${ECHO_T}$result" >&6; }
11502
11503
11504 enablestring=
11505 defaultval=$wxUSE_ALL_FEATURES
11506 if test -z "$defaultval"; then
11507 if test x"$enablestring" = xdisable; then
11508 defaultval=yes
11509 else
11510 defaultval=no
11511 fi
11512 fi
11513
11514 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11515 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11516 # Check whether --enable-radiobtn was given.
11517 if test "${enable_radiobtn+set}" = set; then
11518 enableval=$enable_radiobtn;
11519 if test "$enableval" = yes; then
11520 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11521 else
11522 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11523 fi
11524
11525 else
11526
11527 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11528
11529 fi
11530
11531
11532 eval "$wx_cv_use_radiobtn"
11533
11534 if test x"$enablestring" = xdisable; then
11535 if test $wxUSE_RADIOBTN = no; then
11536 result=yes
11537 else
11538 result=no
11539 fi
11540 else
11541 result=$wxUSE_RADIOBTN
11542 fi
11543
11544 { echo "$as_me:$LINENO: result: $result" >&5
11545 echo "${ECHO_T}$result" >&6; }
11546
11547
11548 enablestring=
11549 defaultval=$wxUSE_ALL_FEATURES
11550 if test -z "$defaultval"; then
11551 if test x"$enablestring" = xdisable; then
11552 defaultval=yes
11553 else
11554 defaultval=no
11555 fi
11556 fi
11557
11558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richmsgdlg" >&5
11559 echo $ECHO_N "checking for --${enablestring:-enable}-richmsgdlg... $ECHO_C" >&6; }
11560 # Check whether --enable-richmsgdlg was given.
11561 if test "${enable_richmsgdlg+set}" = set; then
11562 enableval=$enable_richmsgdlg;
11563 if test "$enableval" = yes; then
11564 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
11565 else
11566 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
11567 fi
11568
11569 else
11570
11571 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11572
11573 fi
11574
11575
11576 eval "$wx_cv_use_richmsgdlg"
11577
11578 if test x"$enablestring" = xdisable; then
11579 if test $wxUSE_RICHMSGDLG = no; then
11580 result=yes
11581 else
11582 result=no
11583 fi
11584 else
11585 result=$wxUSE_RICHMSGDLG
11586 fi
11587
11588 { echo "$as_me:$LINENO: result: $result" >&5
11589 echo "${ECHO_T}$result" >&6; }
11590
11591
11592 enablestring=
11593 defaultval=$wxUSE_ALL_FEATURES
11594 if test -z "$defaultval"; then
11595 if test x"$enablestring" = xdisable; then
11596 defaultval=yes
11597 else
11598 defaultval=no
11599 fi
11600 fi
11601
11602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11603 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11604 # Check whether --enable-rearrangectrl was given.
11605 if test "${enable_rearrangectrl+set}" = set; then
11606 enableval=$enable_rearrangectrl;
11607 if test "$enableval" = yes; then
11608 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11609 else
11610 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11611 fi
11612
11613 else
11614
11615 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11616
11617 fi
11618
11619
11620 eval "$wx_cv_use_rearrangectrl"
11621
11622 if test x"$enablestring" = xdisable; then
11623 if test $wxUSE_REARRANGECTRL = no; then
11624 result=yes
11625 else
11626 result=no
11627 fi
11628 else
11629 result=$wxUSE_REARRANGECTRL
11630 fi
11631
11632 { echo "$as_me:$LINENO: result: $result" >&5
11633 echo "${ECHO_T}$result" >&6; }
11634
11635
11636 enablestring=
11637 defaultval=$wxUSE_ALL_FEATURES
11638 if test -z "$defaultval"; then
11639 if test x"$enablestring" = xdisable; then
11640 defaultval=yes
11641 else
11642 defaultval=no
11643 fi
11644 fi
11645
11646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11647 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11648 # Check whether --enable-sash was given.
11649 if test "${enable_sash+set}" = set; then
11650 enableval=$enable_sash;
11651 if test "$enableval" = yes; then
11652 wx_cv_use_sash='wxUSE_SASH=yes'
11653 else
11654 wx_cv_use_sash='wxUSE_SASH=no'
11655 fi
11656
11657 else
11658
11659 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11660
11661 fi
11662
11663
11664 eval "$wx_cv_use_sash"
11665
11666 if test x"$enablestring" = xdisable; then
11667 if test $wxUSE_SASH = no; then
11668 result=yes
11669 else
11670 result=no
11671 fi
11672 else
11673 result=$wxUSE_SASH
11674 fi
11675
11676 { echo "$as_me:$LINENO: result: $result" >&5
11677 echo "${ECHO_T}$result" >&6; }
11678
11679
11680 enablestring=
11681 defaultval=$wxUSE_ALL_FEATURES
11682 if test -z "$defaultval"; then
11683 if test x"$enablestring" = xdisable; then
11684 defaultval=yes
11685 else
11686 defaultval=no
11687 fi
11688 fi
11689
11690 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11691 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11692 # Check whether --enable-scrollbar was given.
11693 if test "${enable_scrollbar+set}" = set; then
11694 enableval=$enable_scrollbar;
11695 if test "$enableval" = yes; then
11696 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11697 else
11698 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11699 fi
11700
11701 else
11702
11703 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11704
11705 fi
11706
11707
11708 eval "$wx_cv_use_scrollbar"
11709
11710 if test x"$enablestring" = xdisable; then
11711 if test $wxUSE_SCROLLBAR = no; then
11712 result=yes
11713 else
11714 result=no
11715 fi
11716 else
11717 result=$wxUSE_SCROLLBAR
11718 fi
11719
11720 { echo "$as_me:$LINENO: result: $result" >&5
11721 echo "${ECHO_T}$result" >&6; }
11722
11723
11724 enablestring=
11725 defaultval=$wxUSE_ALL_FEATURES
11726 if test -z "$defaultval"; then
11727 if test x"$enablestring" = xdisable; then
11728 defaultval=yes
11729 else
11730 defaultval=no
11731 fi
11732 fi
11733
11734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11735 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11736 # Check whether --enable-searchctrl was given.
11737 if test "${enable_searchctrl+set}" = set; then
11738 enableval=$enable_searchctrl;
11739 if test "$enableval" = yes; then
11740 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11741 else
11742 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11743 fi
11744
11745 else
11746
11747 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11748
11749 fi
11750
11751
11752 eval "$wx_cv_use_searchctrl"
11753
11754 if test x"$enablestring" = xdisable; then
11755 if test $wxUSE_SEARCHCTRL = no; then
11756 result=yes
11757 else
11758 result=no
11759 fi
11760 else
11761 result=$wxUSE_SEARCHCTRL
11762 fi
11763
11764 { echo "$as_me:$LINENO: result: $result" >&5
11765 echo "${ECHO_T}$result" >&6; }
11766
11767
11768 enablestring=
11769 defaultval=$wxUSE_ALL_FEATURES
11770 if test -z "$defaultval"; then
11771 if test x"$enablestring" = xdisable; then
11772 defaultval=yes
11773 else
11774 defaultval=no
11775 fi
11776 fi
11777
11778 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11779 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11780 # Check whether --enable-slider was given.
11781 if test "${enable_slider+set}" = set; then
11782 enableval=$enable_slider;
11783 if test "$enableval" = yes; then
11784 wx_cv_use_slider='wxUSE_SLIDER=yes'
11785 else
11786 wx_cv_use_slider='wxUSE_SLIDER=no'
11787 fi
11788
11789 else
11790
11791 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11792
11793 fi
11794
11795
11796 eval "$wx_cv_use_slider"
11797
11798 if test x"$enablestring" = xdisable; then
11799 if test $wxUSE_SLIDER = no; then
11800 result=yes
11801 else
11802 result=no
11803 fi
11804 else
11805 result=$wxUSE_SLIDER
11806 fi
11807
11808 { echo "$as_me:$LINENO: result: $result" >&5
11809 echo "${ECHO_T}$result" >&6; }
11810
11811
11812 enablestring=
11813 defaultval=$wxUSE_ALL_FEATURES
11814 if test -z "$defaultval"; then
11815 if test x"$enablestring" = xdisable; then
11816 defaultval=yes
11817 else
11818 defaultval=no
11819 fi
11820 fi
11821
11822 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11823 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11824 # Check whether --enable-spinbtn was given.
11825 if test "${enable_spinbtn+set}" = set; then
11826 enableval=$enable_spinbtn;
11827 if test "$enableval" = yes; then
11828 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11829 else
11830 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11831 fi
11832
11833 else
11834
11835 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11836
11837 fi
11838
11839
11840 eval "$wx_cv_use_spinbtn"
11841
11842 if test x"$enablestring" = xdisable; then
11843 if test $wxUSE_SPINBTN = no; then
11844 result=yes
11845 else
11846 result=no
11847 fi
11848 else
11849 result=$wxUSE_SPINBTN
11850 fi
11851
11852 { echo "$as_me:$LINENO: result: $result" >&5
11853 echo "${ECHO_T}$result" >&6; }
11854
11855
11856 enablestring=
11857 defaultval=$wxUSE_ALL_FEATURES
11858 if test -z "$defaultval"; then
11859 if test x"$enablestring" = xdisable; then
11860 defaultval=yes
11861 else
11862 defaultval=no
11863 fi
11864 fi
11865
11866 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11867 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11868 # Check whether --enable-spinctrl was given.
11869 if test "${enable_spinctrl+set}" = set; then
11870 enableval=$enable_spinctrl;
11871 if test "$enableval" = yes; then
11872 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11873 else
11874 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11875 fi
11876
11877 else
11878
11879 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11880
11881 fi
11882
11883
11884 eval "$wx_cv_use_spinctrl"
11885
11886 if test x"$enablestring" = xdisable; then
11887 if test $wxUSE_SPINCTRL = no; then
11888 result=yes
11889 else
11890 result=no
11891 fi
11892 else
11893 result=$wxUSE_SPINCTRL
11894 fi
11895
11896 { echo "$as_me:$LINENO: result: $result" >&5
11897 echo "${ECHO_T}$result" >&6; }
11898
11899
11900 enablestring=
11901 defaultval=$wxUSE_ALL_FEATURES
11902 if test -z "$defaultval"; then
11903 if test x"$enablestring" = xdisable; then
11904 defaultval=yes
11905 else
11906 defaultval=no
11907 fi
11908 fi
11909
11910 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11911 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11912 # Check whether --enable-splitter was given.
11913 if test "${enable_splitter+set}" = set; then
11914 enableval=$enable_splitter;
11915 if test "$enableval" = yes; then
11916 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11917 else
11918 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11919 fi
11920
11921 else
11922
11923 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11924
11925 fi
11926
11927
11928 eval "$wx_cv_use_splitter"
11929
11930 if test x"$enablestring" = xdisable; then
11931 if test $wxUSE_SPLITTER = no; then
11932 result=yes
11933 else
11934 result=no
11935 fi
11936 else
11937 result=$wxUSE_SPLITTER
11938 fi
11939
11940 { echo "$as_me:$LINENO: result: $result" >&5
11941 echo "${ECHO_T}$result" >&6; }
11942
11943
11944 enablestring=
11945 defaultval=$wxUSE_ALL_FEATURES
11946 if test -z "$defaultval"; then
11947 if test x"$enablestring" = xdisable; then
11948 defaultval=yes
11949 else
11950 defaultval=no
11951 fi
11952 fi
11953
11954 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11955 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11956 # Check whether --enable-statbmp was given.
11957 if test "${enable_statbmp+set}" = set; then
11958 enableval=$enable_statbmp;
11959 if test "$enableval" = yes; then
11960 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11961 else
11962 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11963 fi
11964
11965 else
11966
11967 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11968
11969 fi
11970
11971
11972 eval "$wx_cv_use_statbmp"
11973
11974 if test x"$enablestring" = xdisable; then
11975 if test $wxUSE_STATBMP = no; then
11976 result=yes
11977 else
11978 result=no
11979 fi
11980 else
11981 result=$wxUSE_STATBMP
11982 fi
11983
11984 { echo "$as_me:$LINENO: result: $result" >&5
11985 echo "${ECHO_T}$result" >&6; }
11986
11987
11988 enablestring=
11989 defaultval=$wxUSE_ALL_FEATURES
11990 if test -z "$defaultval"; then
11991 if test x"$enablestring" = xdisable; then
11992 defaultval=yes
11993 else
11994 defaultval=no
11995 fi
11996 fi
11997
11998 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11999 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12000 # Check whether --enable-statbox was given.
12001 if test "${enable_statbox+set}" = set; then
12002 enableval=$enable_statbox;
12003 if test "$enableval" = yes; then
12004 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12005 else
12006 wx_cv_use_statbox='wxUSE_STATBOX=no'
12007 fi
12008
12009 else
12010
12011 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12012
12013 fi
12014
12015
12016 eval "$wx_cv_use_statbox"
12017
12018 if test x"$enablestring" = xdisable; then
12019 if test $wxUSE_STATBOX = no; then
12020 result=yes
12021 else
12022 result=no
12023 fi
12024 else
12025 result=$wxUSE_STATBOX
12026 fi
12027
12028 { echo "$as_me:$LINENO: result: $result" >&5
12029 echo "${ECHO_T}$result" >&6; }
12030
12031
12032 enablestring=
12033 defaultval=$wxUSE_ALL_FEATURES
12034 if test -z "$defaultval"; then
12035 if test x"$enablestring" = xdisable; then
12036 defaultval=yes
12037 else
12038 defaultval=no
12039 fi
12040 fi
12041
12042 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12043 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12044 # Check whether --enable-statline was given.
12045 if test "${enable_statline+set}" = set; then
12046 enableval=$enable_statline;
12047 if test "$enableval" = yes; then
12048 wx_cv_use_statline='wxUSE_STATLINE=yes'
12049 else
12050 wx_cv_use_statline='wxUSE_STATLINE=no'
12051 fi
12052
12053 else
12054
12055 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12056
12057 fi
12058
12059
12060 eval "$wx_cv_use_statline"
12061
12062 if test x"$enablestring" = xdisable; then
12063 if test $wxUSE_STATLINE = no; then
12064 result=yes
12065 else
12066 result=no
12067 fi
12068 else
12069 result=$wxUSE_STATLINE
12070 fi
12071
12072 { echo "$as_me:$LINENO: result: $result" >&5
12073 echo "${ECHO_T}$result" >&6; }
12074
12075
12076 enablestring=
12077 defaultval=$wxUSE_ALL_FEATURES
12078 if test -z "$defaultval"; then
12079 if test x"$enablestring" = xdisable; then
12080 defaultval=yes
12081 else
12082 defaultval=no
12083 fi
12084 fi
12085
12086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12087 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12088 # Check whether --enable-stattext was given.
12089 if test "${enable_stattext+set}" = set; then
12090 enableval=$enable_stattext;
12091 if test "$enableval" = yes; then
12092 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12093 else
12094 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12095 fi
12096
12097 else
12098
12099 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12100
12101 fi
12102
12103
12104 eval "$wx_cv_use_stattext"
12105
12106 if test x"$enablestring" = xdisable; then
12107 if test $wxUSE_STATTEXT = no; then
12108 result=yes
12109 else
12110 result=no
12111 fi
12112 else
12113 result=$wxUSE_STATTEXT
12114 fi
12115
12116 { echo "$as_me:$LINENO: result: $result" >&5
12117 echo "${ECHO_T}$result" >&6; }
12118
12119
12120 enablestring=
12121 defaultval=$wxUSE_ALL_FEATURES
12122 if test -z "$defaultval"; then
12123 if test x"$enablestring" = xdisable; then
12124 defaultval=yes
12125 else
12126 defaultval=no
12127 fi
12128 fi
12129
12130 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12131 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12132 # Check whether --enable-statusbar was given.
12133 if test "${enable_statusbar+set}" = set; then
12134 enableval=$enable_statusbar;
12135 if test "$enableval" = yes; then
12136 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12137 else
12138 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12139 fi
12140
12141 else
12142
12143 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12144
12145 fi
12146
12147
12148 eval "$wx_cv_use_statusbar"
12149
12150 if test x"$enablestring" = xdisable; then
12151 if test $wxUSE_STATUSBAR = no; then
12152 result=yes
12153 else
12154 result=no
12155 fi
12156 else
12157 result=$wxUSE_STATUSBAR
12158 fi
12159
12160 { echo "$as_me:$LINENO: result: $result" >&5
12161 echo "${ECHO_T}$result" >&6; }
12162
12163
12164 enablestring=
12165 defaultval=$wxUSE_ALL_FEATURES
12166 if test -z "$defaultval"; then
12167 if test x"$enablestring" = xdisable; then
12168 defaultval=yes
12169 else
12170 defaultval=no
12171 fi
12172 fi
12173
12174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12175 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12176 # Check whether --enable-taskbaricon was given.
12177 if test "${enable_taskbaricon+set}" = set; then
12178 enableval=$enable_taskbaricon;
12179 if test "$enableval" = yes; then
12180 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12181 else
12182 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12183 fi
12184
12185 else
12186
12187 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12188
12189 fi
12190
12191
12192 eval "$wx_cv_use_taskbaricon"
12193
12194 if test x"$enablestring" = xdisable; then
12195 if test $wxUSE_TASKBARICON = no; then
12196 result=yes
12197 else
12198 result=no
12199 fi
12200 else
12201 result=$wxUSE_TASKBARICON
12202 fi
12203
12204 { echo "$as_me:$LINENO: result: $result" >&5
12205 echo "${ECHO_T}$result" >&6; }
12206
12207
12208 enablestring=
12209 defaultval=$wxUSE_ALL_FEATURES
12210 if test -z "$defaultval"; then
12211 if test x"$enablestring" = xdisable; then
12212 defaultval=yes
12213 else
12214 defaultval=no
12215 fi
12216 fi
12217
12218 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12219 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12220 # Check whether --enable-tbarnative was given.
12221 if test "${enable_tbarnative+set}" = set; then
12222 enableval=$enable_tbarnative;
12223 if test "$enableval" = yes; then
12224 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12225 else
12226 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12227 fi
12228
12229 else
12230
12231 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12232
12233 fi
12234
12235
12236 eval "$wx_cv_use_tbarnative"
12237
12238 if test x"$enablestring" = xdisable; then
12239 if test $wxUSE_TOOLBAR_NATIVE = no; then
12240 result=yes
12241 else
12242 result=no
12243 fi
12244 else
12245 result=$wxUSE_TOOLBAR_NATIVE
12246 fi
12247
12248 { echo "$as_me:$LINENO: result: $result" >&5
12249 echo "${ECHO_T}$result" >&6; }
12250
12251
12252 enablestring=
12253 defaultval=$wxUSE_ALL_FEATURES
12254 if test -z "$defaultval"; then
12255 if test x"$enablestring" = xdisable; then
12256 defaultval=yes
12257 else
12258 defaultval=no
12259 fi
12260 fi
12261
12262 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12263 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12264 # Check whether --enable-textctrl was given.
12265 if test "${enable_textctrl+set}" = set; then
12266 enableval=$enable_textctrl;
12267 if test "$enableval" = yes; then
12268 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12269 else
12270 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12271 fi
12272
12273 else
12274
12275 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12276
12277 fi
12278
12279
12280 eval "$wx_cv_use_textctrl"
12281
12282 if test x"$enablestring" = xdisable; then
12283 if test $wxUSE_TEXTCTRL = no; then
12284 result=yes
12285 else
12286 result=no
12287 fi
12288 else
12289 result=$wxUSE_TEXTCTRL
12290 fi
12291
12292 { echo "$as_me:$LINENO: result: $result" >&5
12293 echo "${ECHO_T}$result" >&6; }
12294
12295
12296 enablestring=
12297 defaultval=$wxUSE_ALL_FEATURES
12298 if test -z "$defaultval"; then
12299 if test x"$enablestring" = xdisable; then
12300 defaultval=yes
12301 else
12302 defaultval=no
12303 fi
12304 fi
12305
12306 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12307 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12308 # Check whether --enable-tipwindow was given.
12309 if test "${enable_tipwindow+set}" = set; then
12310 enableval=$enable_tipwindow;
12311 if test "$enableval" = yes; then
12312 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12313 else
12314 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12315 fi
12316
12317 else
12318
12319 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12320
12321 fi
12322
12323
12324 eval "$wx_cv_use_tipwindow"
12325
12326 if test x"$enablestring" = xdisable; then
12327 if test $wxUSE_TIPWINDOW = no; then
12328 result=yes
12329 else
12330 result=no
12331 fi
12332 else
12333 result=$wxUSE_TIPWINDOW
12334 fi
12335
12336 { echo "$as_me:$LINENO: result: $result" >&5
12337 echo "${ECHO_T}$result" >&6; }
12338
12339
12340 enablestring=
12341 defaultval=$wxUSE_ALL_FEATURES
12342 if test -z "$defaultval"; then
12343 if test x"$enablestring" = xdisable; then
12344 defaultval=yes
12345 else
12346 defaultval=no
12347 fi
12348 fi
12349
12350 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12351 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12352 # Check whether --enable-togglebtn was given.
12353 if test "${enable_togglebtn+set}" = set; then
12354 enableval=$enable_togglebtn;
12355 if test "$enableval" = yes; then
12356 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12357 else
12358 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12359 fi
12360
12361 else
12362
12363 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12364
12365 fi
12366
12367
12368 eval "$wx_cv_use_togglebtn"
12369
12370 if test x"$enablestring" = xdisable; then
12371 if test $wxUSE_TOGGLEBTN = no; then
12372 result=yes
12373 else
12374 result=no
12375 fi
12376 else
12377 result=$wxUSE_TOGGLEBTN
12378 fi
12379
12380 { echo "$as_me:$LINENO: result: $result" >&5
12381 echo "${ECHO_T}$result" >&6; }
12382
12383
12384 enablestring=
12385 defaultval=$wxUSE_ALL_FEATURES
12386 if test -z "$defaultval"; then
12387 if test x"$enablestring" = xdisable; then
12388 defaultval=yes
12389 else
12390 defaultval=no
12391 fi
12392 fi
12393
12394 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12395 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12396 # Check whether --enable-toolbar was given.
12397 if test "${enable_toolbar+set}" = set; then
12398 enableval=$enable_toolbar;
12399 if test "$enableval" = yes; then
12400 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12401 else
12402 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12403 fi
12404
12405 else
12406
12407 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12408
12409 fi
12410
12411
12412 eval "$wx_cv_use_toolbar"
12413
12414 if test x"$enablestring" = xdisable; then
12415 if test $wxUSE_TOOLBAR = no; then
12416 result=yes
12417 else
12418 result=no
12419 fi
12420 else
12421 result=$wxUSE_TOOLBAR
12422 fi
12423
12424 { echo "$as_me:$LINENO: result: $result" >&5
12425 echo "${ECHO_T}$result" >&6; }
12426
12427
12428 enablestring=
12429 defaultval=$wxUSE_ALL_FEATURES
12430 if test -z "$defaultval"; then
12431 if test x"$enablestring" = xdisable; then
12432 defaultval=yes
12433 else
12434 defaultval=no
12435 fi
12436 fi
12437
12438 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12439 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12440 # Check whether --enable-toolbook was given.
12441 if test "${enable_toolbook+set}" = set; then
12442 enableval=$enable_toolbook;
12443 if test "$enableval" = yes; then
12444 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12445 else
12446 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12447 fi
12448
12449 else
12450
12451 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12452
12453 fi
12454
12455
12456 eval "$wx_cv_use_toolbook"
12457
12458 if test x"$enablestring" = xdisable; then
12459 if test $wxUSE_TOOLBOOK = no; then
12460 result=yes
12461 else
12462 result=no
12463 fi
12464 else
12465 result=$wxUSE_TOOLBOOK
12466 fi
12467
12468 { echo "$as_me:$LINENO: result: $result" >&5
12469 echo "${ECHO_T}$result" >&6; }
12470
12471
12472 enablestring=
12473 defaultval=$wxUSE_ALL_FEATURES
12474 if test -z "$defaultval"; then
12475 if test x"$enablestring" = xdisable; then
12476 defaultval=yes
12477 else
12478 defaultval=no
12479 fi
12480 fi
12481
12482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12483 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12484 # Check whether --enable-treebook was given.
12485 if test "${enable_treebook+set}" = set; then
12486 enableval=$enable_treebook;
12487 if test "$enableval" = yes; then
12488 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12489 else
12490 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12491 fi
12492
12493 else
12494
12495 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12496
12497 fi
12498
12499
12500 eval "$wx_cv_use_treebook"
12501
12502 if test x"$enablestring" = xdisable; then
12503 if test $wxUSE_TREEBOOK = no; then
12504 result=yes
12505 else
12506 result=no
12507 fi
12508 else
12509 result=$wxUSE_TREEBOOK
12510 fi
12511
12512 { echo "$as_me:$LINENO: result: $result" >&5
12513 echo "${ECHO_T}$result" >&6; }
12514
12515
12516 enablestring=
12517 defaultval=$wxUSE_ALL_FEATURES
12518 if test -z "$defaultval"; then
12519 if test x"$enablestring" = xdisable; then
12520 defaultval=yes
12521 else
12522 defaultval=no
12523 fi
12524 fi
12525
12526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12527 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12528 # Check whether --enable-treectrl was given.
12529 if test "${enable_treectrl+set}" = set; then
12530 enableval=$enable_treectrl;
12531 if test "$enableval" = yes; then
12532 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12533 else
12534 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12535 fi
12536
12537 else
12538
12539 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12540
12541 fi
12542
12543
12544 eval "$wx_cv_use_treectrl"
12545
12546 if test x"$enablestring" = xdisable; then
12547 if test $wxUSE_TREECTRL = no; then
12548 result=yes
12549 else
12550 result=no
12551 fi
12552 else
12553 result=$wxUSE_TREECTRL
12554 fi
12555
12556 { echo "$as_me:$LINENO: result: $result" >&5
12557 echo "${ECHO_T}$result" >&6; }
12558
12559
12560
12561
12562 enablestring=
12563 defaultval=$wxUSE_ALL_FEATURES
12564 if test -z "$defaultval"; then
12565 if test x"$enablestring" = xdisable; then
12566 defaultval=yes
12567 else
12568 defaultval=no
12569 fi
12570 fi
12571
12572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12573 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12574 # Check whether --enable-commondlg was given.
12575 if test "${enable_commondlg+set}" = set; then
12576 enableval=$enable_commondlg;
12577 if test "$enableval" = yes; then
12578 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12579 else
12580 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12581 fi
12582
12583 else
12584
12585 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12586
12587 fi
12588
12589
12590 eval "$wx_cv_use_commondlg"
12591
12592 if test x"$enablestring" = xdisable; then
12593 if test $wxUSE_COMMONDLGS = no; then
12594 result=yes
12595 else
12596 result=no
12597 fi
12598 else
12599 result=$wxUSE_COMMONDLGS
12600 fi
12601
12602 { echo "$as_me:$LINENO: result: $result" >&5
12603 echo "${ECHO_T}$result" >&6; }
12604
12605
12606 enablestring=
12607 defaultval=$wxUSE_ALL_FEATURES
12608 if test -z "$defaultval"; then
12609 if test x"$enablestring" = xdisable; then
12610 defaultval=yes
12611 else
12612 defaultval=no
12613 fi
12614 fi
12615
12616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12617 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12618 # Check whether --enable-aboutdlg was given.
12619 if test "${enable_aboutdlg+set}" = set; then
12620 enableval=$enable_aboutdlg;
12621 if test "$enableval" = yes; then
12622 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12623 else
12624 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12625 fi
12626
12627 else
12628
12629 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12630
12631 fi
12632
12633
12634 eval "$wx_cv_use_aboutdlg"
12635
12636 if test x"$enablestring" = xdisable; then
12637 if test $wxUSE_ABOUTDLG = no; then
12638 result=yes
12639 else
12640 result=no
12641 fi
12642 else
12643 result=$wxUSE_ABOUTDLG
12644 fi
12645
12646 { echo "$as_me:$LINENO: result: $result" >&5
12647 echo "${ECHO_T}$result" >&6; }
12648
12649
12650 enablestring=
12651 defaultval=$wxUSE_ALL_FEATURES
12652 if test -z "$defaultval"; then
12653 if test x"$enablestring" = xdisable; then
12654 defaultval=yes
12655 else
12656 defaultval=no
12657 fi
12658 fi
12659
12660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12661 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12662 # Check whether --enable-choicedlg was given.
12663 if test "${enable_choicedlg+set}" = set; then
12664 enableval=$enable_choicedlg;
12665 if test "$enableval" = yes; then
12666 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12667 else
12668 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12669 fi
12670
12671 else
12672
12673 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12674
12675 fi
12676
12677
12678 eval "$wx_cv_use_choicedlg"
12679
12680 if test x"$enablestring" = xdisable; then
12681 if test $wxUSE_CHOICEDLG = no; then
12682 result=yes
12683 else
12684 result=no
12685 fi
12686 else
12687 result=$wxUSE_CHOICEDLG
12688 fi
12689
12690 { echo "$as_me:$LINENO: result: $result" >&5
12691 echo "${ECHO_T}$result" >&6; }
12692
12693
12694 enablestring=
12695 defaultval=$wxUSE_ALL_FEATURES
12696 if test -z "$defaultval"; then
12697 if test x"$enablestring" = xdisable; then
12698 defaultval=yes
12699 else
12700 defaultval=no
12701 fi
12702 fi
12703
12704 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12705 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12706 # Check whether --enable-coldlg was given.
12707 if test "${enable_coldlg+set}" = set; then
12708 enableval=$enable_coldlg;
12709 if test "$enableval" = yes; then
12710 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12711 else
12712 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12713 fi
12714
12715 else
12716
12717 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12718
12719 fi
12720
12721
12722 eval "$wx_cv_use_coldlg"
12723
12724 if test x"$enablestring" = xdisable; then
12725 if test $wxUSE_COLOURDLG = no; then
12726 result=yes
12727 else
12728 result=no
12729 fi
12730 else
12731 result=$wxUSE_COLOURDLG
12732 fi
12733
12734 { echo "$as_me:$LINENO: result: $result" >&5
12735 echo "${ECHO_T}$result" >&6; }
12736
12737
12738 enablestring=
12739 defaultval=$wxUSE_ALL_FEATURES
12740 if test -z "$defaultval"; then
12741 if test x"$enablestring" = xdisable; then
12742 defaultval=yes
12743 else
12744 defaultval=no
12745 fi
12746 fi
12747
12748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12749 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12750 # Check whether --enable-filedlg was given.
12751 if test "${enable_filedlg+set}" = set; then
12752 enableval=$enable_filedlg;
12753 if test "$enableval" = yes; then
12754 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12755 else
12756 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12757 fi
12758
12759 else
12760
12761 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12762
12763 fi
12764
12765
12766 eval "$wx_cv_use_filedlg"
12767
12768 if test x"$enablestring" = xdisable; then
12769 if test $wxUSE_FILEDLG = no; then
12770 result=yes
12771 else
12772 result=no
12773 fi
12774 else
12775 result=$wxUSE_FILEDLG
12776 fi
12777
12778 { echo "$as_me:$LINENO: result: $result" >&5
12779 echo "${ECHO_T}$result" >&6; }
12780
12781
12782 enablestring=
12783 defaultval=$wxUSE_ALL_FEATURES
12784 if test -z "$defaultval"; then
12785 if test x"$enablestring" = xdisable; then
12786 defaultval=yes
12787 else
12788 defaultval=no
12789 fi
12790 fi
12791
12792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12793 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12794 # Check whether --enable-finddlg was given.
12795 if test "${enable_finddlg+set}" = set; then
12796 enableval=$enable_finddlg;
12797 if test "$enableval" = yes; then
12798 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12799 else
12800 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12801 fi
12802
12803 else
12804
12805 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12806
12807 fi
12808
12809
12810 eval "$wx_cv_use_finddlg"
12811
12812 if test x"$enablestring" = xdisable; then
12813 if test $wxUSE_FINDREPLDLG = no; then
12814 result=yes
12815 else
12816 result=no
12817 fi
12818 else
12819 result=$wxUSE_FINDREPLDLG
12820 fi
12821
12822 { echo "$as_me:$LINENO: result: $result" >&5
12823 echo "${ECHO_T}$result" >&6; }
12824
12825
12826 enablestring=
12827 defaultval=$wxUSE_ALL_FEATURES
12828 if test -z "$defaultval"; then
12829 if test x"$enablestring" = xdisable; then
12830 defaultval=yes
12831 else
12832 defaultval=no
12833 fi
12834 fi
12835
12836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12837 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12838 # Check whether --enable-fontdlg was given.
12839 if test "${enable_fontdlg+set}" = set; then
12840 enableval=$enable_fontdlg;
12841 if test "$enableval" = yes; then
12842 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12843 else
12844 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12845 fi
12846
12847 else
12848
12849 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12850
12851 fi
12852
12853
12854 eval "$wx_cv_use_fontdlg"
12855
12856 if test x"$enablestring" = xdisable; then
12857 if test $wxUSE_FONTDLG = no; then
12858 result=yes
12859 else
12860 result=no
12861 fi
12862 else
12863 result=$wxUSE_FONTDLG
12864 fi
12865
12866 { echo "$as_me:$LINENO: result: $result" >&5
12867 echo "${ECHO_T}$result" >&6; }
12868
12869
12870 enablestring=
12871 defaultval=$wxUSE_ALL_FEATURES
12872 if test -z "$defaultval"; then
12873 if test x"$enablestring" = xdisable; then
12874 defaultval=yes
12875 else
12876 defaultval=no
12877 fi
12878 fi
12879
12880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12881 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12882 # Check whether --enable-dirdlg was given.
12883 if test "${enable_dirdlg+set}" = set; then
12884 enableval=$enable_dirdlg;
12885 if test "$enableval" = yes; then
12886 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12887 else
12888 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12889 fi
12890
12891 else
12892
12893 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12894
12895 fi
12896
12897
12898 eval "$wx_cv_use_dirdlg"
12899
12900 if test x"$enablestring" = xdisable; then
12901 if test $wxUSE_DIRDLG = no; then
12902 result=yes
12903 else
12904 result=no
12905 fi
12906 else
12907 result=$wxUSE_DIRDLG
12908 fi
12909
12910 { echo "$as_me:$LINENO: result: $result" >&5
12911 echo "${ECHO_T}$result" >&6; }
12912
12913
12914 enablestring=
12915 defaultval=$wxUSE_ALL_FEATURES
12916 if test -z "$defaultval"; then
12917 if test x"$enablestring" = xdisable; then
12918 defaultval=yes
12919 else
12920 defaultval=no
12921 fi
12922 fi
12923
12924 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12925 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12926 # Check whether --enable-msgdlg was given.
12927 if test "${enable_msgdlg+set}" = set; then
12928 enableval=$enable_msgdlg;
12929 if test "$enableval" = yes; then
12930 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12931 else
12932 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12933 fi
12934
12935 else
12936
12937 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12938
12939 fi
12940
12941
12942 eval "$wx_cv_use_msgdlg"
12943
12944 if test x"$enablestring" = xdisable; then
12945 if test $wxUSE_MSGDLG = no; then
12946 result=yes
12947 else
12948 result=no
12949 fi
12950 else
12951 result=$wxUSE_MSGDLG
12952 fi
12953
12954 { echo "$as_me:$LINENO: result: $result" >&5
12955 echo "${ECHO_T}$result" >&6; }
12956
12957
12958 enablestring=
12959 defaultval=$wxUSE_ALL_FEATURES
12960 if test -z "$defaultval"; then
12961 if test x"$enablestring" = xdisable; then
12962 defaultval=yes
12963 else
12964 defaultval=no
12965 fi
12966 fi
12967
12968 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12969 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12970 # Check whether --enable-numberdlg was given.
12971 if test "${enable_numberdlg+set}" = set; then
12972 enableval=$enable_numberdlg;
12973 if test "$enableval" = yes; then
12974 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12975 else
12976 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12977 fi
12978
12979 else
12980
12981 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12982
12983 fi
12984
12985
12986 eval "$wx_cv_use_numberdlg"
12987
12988 if test x"$enablestring" = xdisable; then
12989 if test $wxUSE_NUMBERDLG = no; then
12990 result=yes
12991 else
12992 result=no
12993 fi
12994 else
12995 result=$wxUSE_NUMBERDLG
12996 fi
12997
12998 { echo "$as_me:$LINENO: result: $result" >&5
12999 echo "${ECHO_T}$result" >&6; }
13000
13001
13002 enablestring=
13003 defaultval=$wxUSE_ALL_FEATURES
13004 if test -z "$defaultval"; then
13005 if test x"$enablestring" = xdisable; then
13006 defaultval=yes
13007 else
13008 defaultval=no
13009 fi
13010 fi
13011
13012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13013 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13014 # Check whether --enable-splash was given.
13015 if test "${enable_splash+set}" = set; then
13016 enableval=$enable_splash;
13017 if test "$enableval" = yes; then
13018 wx_cv_use_splash='wxUSE_SPLASH=yes'
13019 else
13020 wx_cv_use_splash='wxUSE_SPLASH=no'
13021 fi
13022
13023 else
13024
13025 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13026
13027 fi
13028
13029
13030 eval "$wx_cv_use_splash"
13031
13032 if test x"$enablestring" = xdisable; then
13033 if test $wxUSE_SPLASH = no; then
13034 result=yes
13035 else
13036 result=no
13037 fi
13038 else
13039 result=$wxUSE_SPLASH
13040 fi
13041
13042 { echo "$as_me:$LINENO: result: $result" >&5
13043 echo "${ECHO_T}$result" >&6; }
13044
13045
13046 enablestring=
13047 defaultval=$wxUSE_ALL_FEATURES
13048 if test -z "$defaultval"; then
13049 if test x"$enablestring" = xdisable; then
13050 defaultval=yes
13051 else
13052 defaultval=no
13053 fi
13054 fi
13055
13056 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13057 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13058 # Check whether --enable-textdlg was given.
13059 if test "${enable_textdlg+set}" = set; then
13060 enableval=$enable_textdlg;
13061 if test "$enableval" = yes; then
13062 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13063 else
13064 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
13065 fi
13066
13067 else
13068
13069 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13070
13071 fi
13072
13073
13074 eval "$wx_cv_use_textdlg"
13075
13076 if test x"$enablestring" = xdisable; then
13077 if test $wxUSE_TEXTDLG = no; then
13078 result=yes
13079 else
13080 result=no
13081 fi
13082 else
13083 result=$wxUSE_TEXTDLG
13084 fi
13085
13086 { echo "$as_me:$LINENO: result: $result" >&5
13087 echo "${ECHO_T}$result" >&6; }
13088
13089
13090 enablestring=
13091 defaultval=$wxUSE_ALL_FEATURES
13092 if test -z "$defaultval"; then
13093 if test x"$enablestring" = xdisable; then
13094 defaultval=yes
13095 else
13096 defaultval=no
13097 fi
13098 fi
13099
13100 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13101 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13102 # Check whether --enable-tipdlg was given.
13103 if test "${enable_tipdlg+set}" = set; then
13104 enableval=$enable_tipdlg;
13105 if test "$enableval" = yes; then
13106 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13107 else
13108 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13109 fi
13110
13111 else
13112
13113 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13114
13115 fi
13116
13117
13118 eval "$wx_cv_use_tipdlg"
13119
13120 if test x"$enablestring" = xdisable; then
13121 if test $wxUSE_STARTUP_TIPS = no; then
13122 result=yes
13123 else
13124 result=no
13125 fi
13126 else
13127 result=$wxUSE_STARTUP_TIPS
13128 fi
13129
13130 { echo "$as_me:$LINENO: result: $result" >&5
13131 echo "${ECHO_T}$result" >&6; }
13132
13133
13134 enablestring=
13135 defaultval=$wxUSE_ALL_FEATURES
13136 if test -z "$defaultval"; then
13137 if test x"$enablestring" = xdisable; then
13138 defaultval=yes
13139 else
13140 defaultval=no
13141 fi
13142 fi
13143
13144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13145 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13146 # Check whether --enable-progressdlg was given.
13147 if test "${enable_progressdlg+set}" = set; then
13148 enableval=$enable_progressdlg;
13149 if test "$enableval" = yes; then
13150 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13151 else
13152 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13153 fi
13154
13155 else
13156
13157 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13158
13159 fi
13160
13161
13162 eval "$wx_cv_use_progressdlg"
13163
13164 if test x"$enablestring" = xdisable; then
13165 if test $wxUSE_PROGRESSDLG = no; then
13166 result=yes
13167 else
13168 result=no
13169 fi
13170 else
13171 result=$wxUSE_PROGRESSDLG
13172 fi
13173
13174 { echo "$as_me:$LINENO: result: $result" >&5
13175 echo "${ECHO_T}$result" >&6; }
13176
13177
13178 enablestring=
13179 defaultval=$wxUSE_ALL_FEATURES
13180 if test -z "$defaultval"; then
13181 if test x"$enablestring" = xdisable; then
13182 defaultval=yes
13183 else
13184 defaultval=no
13185 fi
13186 fi
13187
13188 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13189 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13190 # Check whether --enable-wizarddlg was given.
13191 if test "${enable_wizarddlg+set}" = set; then
13192 enableval=$enable_wizarddlg;
13193 if test "$enableval" = yes; then
13194 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13195 else
13196 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13197 fi
13198
13199 else
13200
13201 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13202
13203 fi
13204
13205
13206 eval "$wx_cv_use_wizarddlg"
13207
13208 if test x"$enablestring" = xdisable; then
13209 if test $wxUSE_WIZARDDLG = no; then
13210 result=yes
13211 else
13212 result=no
13213 fi
13214 else
13215 result=$wxUSE_WIZARDDLG
13216 fi
13217
13218 { echo "$as_me:$LINENO: result: $result" >&5
13219 echo "${ECHO_T}$result" >&6; }
13220
13221
13222
13223
13224 enablestring=
13225 defaultval=$wxUSE_ALL_FEATURES
13226 if test -z "$defaultval"; then
13227 if test x"$enablestring" = xdisable; then
13228 defaultval=yes
13229 else
13230 defaultval=no
13231 fi
13232 fi
13233
13234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13235 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13236 # Check whether --enable-menus was given.
13237 if test "${enable_menus+set}" = set; then
13238 enableval=$enable_menus;
13239 if test "$enableval" = yes; then
13240 wx_cv_use_menus='wxUSE_MENUS=yes'
13241 else
13242 wx_cv_use_menus='wxUSE_MENUS=no'
13243 fi
13244
13245 else
13246
13247 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13248
13249 fi
13250
13251
13252 eval "$wx_cv_use_menus"
13253
13254 if test x"$enablestring" = xdisable; then
13255 if test $wxUSE_MENUS = no; then
13256 result=yes
13257 else
13258 result=no
13259 fi
13260 else
13261 result=$wxUSE_MENUS
13262 fi
13263
13264 { echo "$as_me:$LINENO: result: $result" >&5
13265 echo "${ECHO_T}$result" >&6; }
13266
13267
13268 enablestring=
13269 defaultval=$wxUSE_ALL_FEATURES
13270 if test -z "$defaultval"; then
13271 if test x"$enablestring" = xdisable; then
13272 defaultval=yes
13273 else
13274 defaultval=no
13275 fi
13276 fi
13277
13278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13279 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13280 # Check whether --enable-miniframe was given.
13281 if test "${enable_miniframe+set}" = set; then
13282 enableval=$enable_miniframe;
13283 if test "$enableval" = yes; then
13284 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13285 else
13286 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13287 fi
13288
13289 else
13290
13291 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13292
13293 fi
13294
13295
13296 eval "$wx_cv_use_miniframe"
13297
13298 if test x"$enablestring" = xdisable; then
13299 if test $wxUSE_MINIFRAME = no; then
13300 result=yes
13301 else
13302 result=no
13303 fi
13304 else
13305 result=$wxUSE_MINIFRAME
13306 fi
13307
13308 { echo "$as_me:$LINENO: result: $result" >&5
13309 echo "${ECHO_T}$result" >&6; }
13310
13311
13312 enablestring=
13313 defaultval=$wxUSE_ALL_FEATURES
13314 if test -z "$defaultval"; then
13315 if test x"$enablestring" = xdisable; then
13316 defaultval=yes
13317 else
13318 defaultval=no
13319 fi
13320 fi
13321
13322 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13323 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13324 # Check whether --enable-tooltips was given.
13325 if test "${enable_tooltips+set}" = set; then
13326 enableval=$enable_tooltips;
13327 if test "$enableval" = yes; then
13328 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13329 else
13330 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13331 fi
13332
13333 else
13334
13335 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13336
13337 fi
13338
13339
13340 eval "$wx_cv_use_tooltips"
13341
13342 if test x"$enablestring" = xdisable; then
13343 if test $wxUSE_TOOLTIPS = no; then
13344 result=yes
13345 else
13346 result=no
13347 fi
13348 else
13349 result=$wxUSE_TOOLTIPS
13350 fi
13351
13352 { echo "$as_me:$LINENO: result: $result" >&5
13353 echo "${ECHO_T}$result" >&6; }
13354
13355
13356 enablestring=
13357 defaultval=$wxUSE_ALL_FEATURES
13358 if test -z "$defaultval"; then
13359 if test x"$enablestring" = xdisable; then
13360 defaultval=yes
13361 else
13362 defaultval=no
13363 fi
13364 fi
13365
13366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13367 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13368 # Check whether --enable-splines was given.
13369 if test "${enable_splines+set}" = set; then
13370 enableval=$enable_splines;
13371 if test "$enableval" = yes; then
13372 wx_cv_use_splines='wxUSE_SPLINES=yes'
13373 else
13374 wx_cv_use_splines='wxUSE_SPLINES=no'
13375 fi
13376
13377 else
13378
13379 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13380
13381 fi
13382
13383
13384 eval "$wx_cv_use_splines"
13385
13386 if test x"$enablestring" = xdisable; then
13387 if test $wxUSE_SPLINES = no; then
13388 result=yes
13389 else
13390 result=no
13391 fi
13392 else
13393 result=$wxUSE_SPLINES
13394 fi
13395
13396 { echo "$as_me:$LINENO: result: $result" >&5
13397 echo "${ECHO_T}$result" >&6; }
13398
13399
13400 enablestring=
13401 defaultval=$wxUSE_ALL_FEATURES
13402 if test -z "$defaultval"; then
13403 if test x"$enablestring" = xdisable; then
13404 defaultval=yes
13405 else
13406 defaultval=no
13407 fi
13408 fi
13409
13410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13411 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13412 # Check whether --enable-mousewheel was given.
13413 if test "${enable_mousewheel+set}" = set; then
13414 enableval=$enable_mousewheel;
13415 if test "$enableval" = yes; then
13416 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13417 else
13418 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13419 fi
13420
13421 else
13422
13423 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13424
13425 fi
13426
13427
13428 eval "$wx_cv_use_mousewheel"
13429
13430 if test x"$enablestring" = xdisable; then
13431 if test $wxUSE_MOUSEWHEEL = no; then
13432 result=yes
13433 else
13434 result=no
13435 fi
13436 else
13437 result=$wxUSE_MOUSEWHEEL
13438 fi
13439
13440 { echo "$as_me:$LINENO: result: $result" >&5
13441 echo "${ECHO_T}$result" >&6; }
13442
13443
13444 enablestring=
13445 defaultval=$wxUSE_ALL_FEATURES
13446 if test -z "$defaultval"; then
13447 if test x"$enablestring" = xdisable; then
13448 defaultval=yes
13449 else
13450 defaultval=no
13451 fi
13452 fi
13453
13454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13455 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13456 # Check whether --enable-validators was given.
13457 if test "${enable_validators+set}" = set; then
13458 enableval=$enable_validators;
13459 if test "$enableval" = yes; then
13460 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13461 else
13462 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13463 fi
13464
13465 else
13466
13467 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13468
13469 fi
13470
13471
13472 eval "$wx_cv_use_validators"
13473
13474 if test x"$enablestring" = xdisable; then
13475 if test $wxUSE_VALIDATORS = no; then
13476 result=yes
13477 else
13478 result=no
13479 fi
13480 else
13481 result=$wxUSE_VALIDATORS
13482 fi
13483
13484 { echo "$as_me:$LINENO: result: $result" >&5
13485 echo "${ECHO_T}$result" >&6; }
13486
13487
13488 enablestring=
13489 defaultval=$wxUSE_ALL_FEATURES
13490 if test -z "$defaultval"; then
13491 if test x"$enablestring" = xdisable; then
13492 defaultval=yes
13493 else
13494 defaultval=no
13495 fi
13496 fi
13497
13498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13499 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13500 # Check whether --enable-busyinfo was given.
13501 if test "${enable_busyinfo+set}" = set; then
13502 enableval=$enable_busyinfo;
13503 if test "$enableval" = yes; then
13504 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13505 else
13506 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13507 fi
13508
13509 else
13510
13511 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13512
13513 fi
13514
13515
13516 eval "$wx_cv_use_busyinfo"
13517
13518 if test x"$enablestring" = xdisable; then
13519 if test $wxUSE_BUSYINFO = no; then
13520 result=yes
13521 else
13522 result=no
13523 fi
13524 else
13525 result=$wxUSE_BUSYINFO
13526 fi
13527
13528 { echo "$as_me:$LINENO: result: $result" >&5
13529 echo "${ECHO_T}$result" >&6; }
13530
13531
13532 enablestring=
13533 defaultval=$wxUSE_ALL_FEATURES
13534 if test -z "$defaultval"; then
13535 if test x"$enablestring" = xdisable; then
13536 defaultval=yes
13537 else
13538 defaultval=no
13539 fi
13540 fi
13541
13542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13543 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13544 # Check whether --enable-joystick was given.
13545 if test "${enable_joystick+set}" = set; then
13546 enableval=$enable_joystick;
13547 if test "$enableval" = yes; then
13548 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13549 else
13550 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13551 fi
13552
13553 else
13554
13555 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13556
13557 fi
13558
13559
13560 eval "$wx_cv_use_joystick"
13561
13562 if test x"$enablestring" = xdisable; then
13563 if test $wxUSE_JOYSTICK = no; then
13564 result=yes
13565 else
13566 result=no
13567 fi
13568 else
13569 result=$wxUSE_JOYSTICK
13570 fi
13571
13572 { echo "$as_me:$LINENO: result: $result" >&5
13573 echo "${ECHO_T}$result" >&6; }
13574
13575
13576 enablestring=
13577 defaultval=$wxUSE_ALL_FEATURES
13578 if test -z "$defaultval"; then
13579 if test x"$enablestring" = xdisable; then
13580 defaultval=yes
13581 else
13582 defaultval=no
13583 fi
13584 fi
13585
13586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13587 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13588 # Check whether --enable-metafile was given.
13589 if test "${enable_metafile+set}" = set; then
13590 enableval=$enable_metafile;
13591 if test "$enableval" = yes; then
13592 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13593 else
13594 wx_cv_use_metafile='wxUSE_METAFILE=no'
13595 fi
13596
13597 else
13598
13599 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13600
13601 fi
13602
13603
13604 eval "$wx_cv_use_metafile"
13605
13606 if test x"$enablestring" = xdisable; then
13607 if test $wxUSE_METAFILE = no; then
13608 result=yes
13609 else
13610 result=no
13611 fi
13612 else
13613 result=$wxUSE_METAFILE
13614 fi
13615
13616 { echo "$as_me:$LINENO: result: $result" >&5
13617 echo "${ECHO_T}$result" >&6; }
13618
13619
13620 enablestring=
13621 defaultval=$wxUSE_ALL_FEATURES
13622 if test -z "$defaultval"; then
13623 if test x"$enablestring" = xdisable; then
13624 defaultval=yes
13625 else
13626 defaultval=no
13627 fi
13628 fi
13629
13630 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13631 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13632 # Check whether --enable-dragimage was given.
13633 if test "${enable_dragimage+set}" = set; then
13634 enableval=$enable_dragimage;
13635 if test "$enableval" = yes; then
13636 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13637 else
13638 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13639 fi
13640
13641 else
13642
13643 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13644
13645 fi
13646
13647
13648 eval "$wx_cv_use_dragimage"
13649
13650 if test x"$enablestring" = xdisable; then
13651 if test $wxUSE_DRAGIMAGE = no; then
13652 result=yes
13653 else
13654 result=no
13655 fi
13656 else
13657 result=$wxUSE_DRAGIMAGE
13658 fi
13659
13660 { echo "$as_me:$LINENO: result: $result" >&5
13661 echo "${ECHO_T}$result" >&6; }
13662
13663
13664 enablestring=
13665 defaultval=$wxUSE_ALL_FEATURES
13666 if test -z "$defaultval"; then
13667 if test x"$enablestring" = xdisable; then
13668 defaultval=yes
13669 else
13670 defaultval=no
13671 fi
13672 fi
13673
13674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13675 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13676 # Check whether --enable-accessibility was given.
13677 if test "${enable_accessibility+set}" = set; then
13678 enableval=$enable_accessibility;
13679 if test "$enableval" = yes; then
13680 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13681 else
13682 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13683 fi
13684
13685 else
13686
13687 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13688
13689 fi
13690
13691
13692 eval "$wx_cv_use_accessibility"
13693
13694 if test x"$enablestring" = xdisable; then
13695 if test $wxUSE_ACCESSIBILITY = no; then
13696 result=yes
13697 else
13698 result=no
13699 fi
13700 else
13701 result=$wxUSE_ACCESSIBILITY
13702 fi
13703
13704 { echo "$as_me:$LINENO: result: $result" >&5
13705 echo "${ECHO_T}$result" >&6; }
13706
13707
13708 enablestring=
13709 defaultval=$wxUSE_ALL_FEATURES
13710 if test -z "$defaultval"; then
13711 if test x"$enablestring" = xdisable; then
13712 defaultval=yes
13713 else
13714 defaultval=no
13715 fi
13716 fi
13717
13718 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uiactionsim" >&5
13719 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
13720 # Check whether --enable-uiactionsim was given.
13721 if test "${enable_uiactionsim+set}" = set; then
13722 enableval=$enable_uiactionsim;
13723 if test "$enableval" = yes; then
13724 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
13725 else
13726 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
13727 fi
13728
13729 else
13730
13731 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
13732
13733 fi
13734
13735
13736 eval "$wx_cv_use_uiactionsim"
13737
13738 if test x"$enablestring" = xdisable; then
13739 if test $wxUSE_UIACTIONSIMULATOR = no; then
13740 result=yes
13741 else
13742 result=no
13743 fi
13744 else
13745 result=$wxUSE_UIACTIONSIMULATOR
13746 fi
13747
13748 { echo "$as_me:$LINENO: result: $result" >&5
13749 echo "${ECHO_T}$result" >&6; }
13750
13751
13752
13753
13754 enablestring=
13755 defaultval=$wxUSE_ALL_FEATURES
13756 if test -z "$defaultval"; then
13757 if test x"$enablestring" = xdisable; then
13758 defaultval=yes
13759 else
13760 defaultval=no
13761 fi
13762 fi
13763
13764 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13765 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13766 # Check whether --enable-palette was given.
13767 if test "${enable_palette+set}" = set; then
13768 enableval=$enable_palette;
13769 if test "$enableval" = yes; then
13770 wx_cv_use_palette='wxUSE_PALETTE=yes'
13771 else
13772 wx_cv_use_palette='wxUSE_PALETTE=no'
13773 fi
13774
13775 else
13776
13777 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13778
13779 fi
13780
13781
13782 eval "$wx_cv_use_palette"
13783
13784 if test x"$enablestring" = xdisable; then
13785 if test $wxUSE_PALETTE = no; then
13786 result=yes
13787 else
13788 result=no
13789 fi
13790 else
13791 result=$wxUSE_PALETTE
13792 fi
13793
13794 { echo "$as_me:$LINENO: result: $result" >&5
13795 echo "${ECHO_T}$result" >&6; }
13796
13797
13798 enablestring=
13799 defaultval=$wxUSE_ALL_FEATURES
13800 if test -z "$defaultval"; then
13801 if test x"$enablestring" = xdisable; then
13802 defaultval=yes
13803 else
13804 defaultval=no
13805 fi
13806 fi
13807
13808 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13809 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13810 # Check whether --enable-image was given.
13811 if test "${enable_image+set}" = set; then
13812 enableval=$enable_image;
13813 if test "$enableval" = yes; then
13814 wx_cv_use_image='wxUSE_IMAGE=yes'
13815 else
13816 wx_cv_use_image='wxUSE_IMAGE=no'
13817 fi
13818
13819 else
13820
13821 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13822
13823 fi
13824
13825
13826 eval "$wx_cv_use_image"
13827
13828 if test x"$enablestring" = xdisable; then
13829 if test $wxUSE_IMAGE = no; then
13830 result=yes
13831 else
13832 result=no
13833 fi
13834 else
13835 result=$wxUSE_IMAGE
13836 fi
13837
13838 { echo "$as_me:$LINENO: result: $result" >&5
13839 echo "${ECHO_T}$result" >&6; }
13840
13841
13842 enablestring=
13843 defaultval=$wxUSE_ALL_FEATURES
13844 if test -z "$defaultval"; then
13845 if test x"$enablestring" = xdisable; then
13846 defaultval=yes
13847 else
13848 defaultval=no
13849 fi
13850 fi
13851
13852 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13853 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13854 # Check whether --enable-gif was given.
13855 if test "${enable_gif+set}" = set; then
13856 enableval=$enable_gif;
13857 if test "$enableval" = yes; then
13858 wx_cv_use_gif='wxUSE_GIF=yes'
13859 else
13860 wx_cv_use_gif='wxUSE_GIF=no'
13861 fi
13862
13863 else
13864
13865 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13866
13867 fi
13868
13869
13870 eval "$wx_cv_use_gif"
13871
13872 if test x"$enablestring" = xdisable; then
13873 if test $wxUSE_GIF = no; then
13874 result=yes
13875 else
13876 result=no
13877 fi
13878 else
13879 result=$wxUSE_GIF
13880 fi
13881
13882 { echo "$as_me:$LINENO: result: $result" >&5
13883 echo "${ECHO_T}$result" >&6; }
13884
13885
13886 enablestring=
13887 defaultval=$wxUSE_ALL_FEATURES
13888 if test -z "$defaultval"; then
13889 if test x"$enablestring" = xdisable; then
13890 defaultval=yes
13891 else
13892 defaultval=no
13893 fi
13894 fi
13895
13896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13897 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13898 # Check whether --enable-pcx was given.
13899 if test "${enable_pcx+set}" = set; then
13900 enableval=$enable_pcx;
13901 if test "$enableval" = yes; then
13902 wx_cv_use_pcx='wxUSE_PCX=yes'
13903 else
13904 wx_cv_use_pcx='wxUSE_PCX=no'
13905 fi
13906
13907 else
13908
13909 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13910
13911 fi
13912
13913
13914 eval "$wx_cv_use_pcx"
13915
13916 if test x"$enablestring" = xdisable; then
13917 if test $wxUSE_PCX = no; then
13918 result=yes
13919 else
13920 result=no
13921 fi
13922 else
13923 result=$wxUSE_PCX
13924 fi
13925
13926 { echo "$as_me:$LINENO: result: $result" >&5
13927 echo "${ECHO_T}$result" >&6; }
13928
13929
13930 enablestring=
13931 defaultval=$wxUSE_ALL_FEATURES
13932 if test -z "$defaultval"; then
13933 if test x"$enablestring" = xdisable; then
13934 defaultval=yes
13935 else
13936 defaultval=no
13937 fi
13938 fi
13939
13940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13941 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13942 # Check whether --enable-tga was given.
13943 if test "${enable_tga+set}" = set; then
13944 enableval=$enable_tga;
13945 if test "$enableval" = yes; then
13946 wx_cv_use_tga='wxUSE_TGA=yes'
13947 else
13948 wx_cv_use_tga='wxUSE_TGA=no'
13949 fi
13950
13951 else
13952
13953 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13954
13955 fi
13956
13957
13958 eval "$wx_cv_use_tga"
13959
13960 if test x"$enablestring" = xdisable; then
13961 if test $wxUSE_TGA = no; then
13962 result=yes
13963 else
13964 result=no
13965 fi
13966 else
13967 result=$wxUSE_TGA
13968 fi
13969
13970 { echo "$as_me:$LINENO: result: $result" >&5
13971 echo "${ECHO_T}$result" >&6; }
13972
13973
13974 enablestring=
13975 defaultval=$wxUSE_ALL_FEATURES
13976 if test -z "$defaultval"; then
13977 if test x"$enablestring" = xdisable; then
13978 defaultval=yes
13979 else
13980 defaultval=no
13981 fi
13982 fi
13983
13984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13985 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13986 # Check whether --enable-iff was given.
13987 if test "${enable_iff+set}" = set; then
13988 enableval=$enable_iff;
13989 if test "$enableval" = yes; then
13990 wx_cv_use_iff='wxUSE_IFF=yes'
13991 else
13992 wx_cv_use_iff='wxUSE_IFF=no'
13993 fi
13994
13995 else
13996
13997 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13998
13999 fi
14000
14001
14002 eval "$wx_cv_use_iff"
14003
14004 if test x"$enablestring" = xdisable; then
14005 if test $wxUSE_IFF = no; then
14006 result=yes
14007 else
14008 result=no
14009 fi
14010 else
14011 result=$wxUSE_IFF
14012 fi
14013
14014 { echo "$as_me:$LINENO: result: $result" >&5
14015 echo "${ECHO_T}$result" >&6; }
14016
14017
14018 enablestring=
14019 defaultval=$wxUSE_ALL_FEATURES
14020 if test -z "$defaultval"; then
14021 if test x"$enablestring" = xdisable; then
14022 defaultval=yes
14023 else
14024 defaultval=no
14025 fi
14026 fi
14027
14028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
14029 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
14030 # Check whether --enable-pnm was given.
14031 if test "${enable_pnm+set}" = set; then
14032 enableval=$enable_pnm;
14033 if test "$enableval" = yes; then
14034 wx_cv_use_pnm='wxUSE_PNM=yes'
14035 else
14036 wx_cv_use_pnm='wxUSE_PNM=no'
14037 fi
14038
14039 else
14040
14041 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14042
14043 fi
14044
14045
14046 eval "$wx_cv_use_pnm"
14047
14048 if test x"$enablestring" = xdisable; then
14049 if test $wxUSE_PNM = no; then
14050 result=yes
14051 else
14052 result=no
14053 fi
14054 else
14055 result=$wxUSE_PNM
14056 fi
14057
14058 { echo "$as_me:$LINENO: result: $result" >&5
14059 echo "${ECHO_T}$result" >&6; }
14060
14061
14062 enablestring=
14063 defaultval=$wxUSE_ALL_FEATURES
14064 if test -z "$defaultval"; then
14065 if test x"$enablestring" = xdisable; then
14066 defaultval=yes
14067 else
14068 defaultval=no
14069 fi
14070 fi
14071
14072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14073 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
14074 # Check whether --enable-xpm was given.
14075 if test "${enable_xpm+set}" = set; then
14076 enableval=$enable_xpm;
14077 if test "$enableval" = yes; then
14078 wx_cv_use_xpm='wxUSE_XPM=yes'
14079 else
14080 wx_cv_use_xpm='wxUSE_XPM=no'
14081 fi
14082
14083 else
14084
14085 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14086
14087 fi
14088
14089
14090 eval "$wx_cv_use_xpm"
14091
14092 if test x"$enablestring" = xdisable; then
14093 if test $wxUSE_XPM = no; then
14094 result=yes
14095 else
14096 result=no
14097 fi
14098 else
14099 result=$wxUSE_XPM
14100 fi
14101
14102 { echo "$as_me:$LINENO: result: $result" >&5
14103 echo "${ECHO_T}$result" >&6; }
14104
14105
14106 enablestring=
14107 defaultval=$wxUSE_ALL_FEATURES
14108 if test -z "$defaultval"; then
14109 if test x"$enablestring" = xdisable; then
14110 defaultval=yes
14111 else
14112 defaultval=no
14113 fi
14114 fi
14115
14116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14117 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14118 # Check whether --enable-ico_cur was given.
14119 if test "${enable_ico_cur+set}" = set; then
14120 enableval=$enable_ico_cur;
14121 if test "$enableval" = yes; then
14122 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14123 else
14124 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14125 fi
14126
14127 else
14128
14129 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14130
14131 fi
14132
14133
14134 eval "$wx_cv_use_ico_cur"
14135
14136 if test x"$enablestring" = xdisable; then
14137 if test $wxUSE_ICO_CUR = no; then
14138 result=yes
14139 else
14140 result=no
14141 fi
14142 else
14143 result=$wxUSE_ICO_CUR
14144 fi
14145
14146 { echo "$as_me:$LINENO: result: $result" >&5
14147 echo "${ECHO_T}$result" >&6; }
14148
14149
14150
14151
14152 enablestring=
14153 defaultval=$wxUSE_ALL_FEATURES
14154 if test -z "$defaultval"; then
14155 if test x"$enablestring" = xdisable; then
14156 defaultval=yes
14157 else
14158 defaultval=no
14159 fi
14160 fi
14161
14162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14163 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14164 # Check whether --enable-dccache was given.
14165 if test "${enable_dccache+set}" = set; then
14166 enableval=$enable_dccache;
14167 if test "$enableval" = yes; then
14168 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14169 else
14170 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14171 fi
14172
14173 else
14174
14175 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14176
14177 fi
14178
14179
14180 eval "$wx_cv_use_dccache"
14181
14182 if test x"$enablestring" = xdisable; then
14183 if test $wxUSE_DC_CACHEING = no; then
14184 result=yes
14185 else
14186 result=no
14187 fi
14188 else
14189 result=$wxUSE_DC_CACHEING
14190 fi
14191
14192 { echo "$as_me:$LINENO: result: $result" >&5
14193 echo "${ECHO_T}$result" >&6; }
14194
14195
14196 enablestring=
14197 defaultval=$wxUSE_ALL_FEATURES
14198 if test -z "$defaultval"; then
14199 if test x"$enablestring" = xdisable; then
14200 defaultval=yes
14201 else
14202 defaultval=no
14203 fi
14204 fi
14205
14206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14207 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14208 # Check whether --enable-ps-in-msw was given.
14209 if test "${enable_ps_in_msw+set}" = set; then
14210 enableval=$enable_ps_in_msw;
14211 if test "$enableval" = yes; then
14212 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14213 else
14214 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14215 fi
14216
14217 else
14218
14219 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14220
14221 fi
14222
14223
14224 eval "$wx_cv_use_ps_in_msw"
14225
14226 if test x"$enablestring" = xdisable; then
14227 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14228 result=yes
14229 else
14230 result=no
14231 fi
14232 else
14233 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14234 fi
14235
14236 { echo "$as_me:$LINENO: result: $result" >&5
14237 echo "${ECHO_T}$result" >&6; }
14238
14239
14240 enablestring=
14241 defaultval=$wxUSE_ALL_FEATURES
14242 if test -z "$defaultval"; then
14243 if test x"$enablestring" = xdisable; then
14244 defaultval=yes
14245 else
14246 defaultval=no
14247 fi
14248 fi
14249
14250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14251 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14252 # Check whether --enable-ownerdrawn was given.
14253 if test "${enable_ownerdrawn+set}" = set; then
14254 enableval=$enable_ownerdrawn;
14255 if test "$enableval" = yes; then
14256 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14257 else
14258 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14259 fi
14260
14261 else
14262
14263 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14264
14265 fi
14266
14267
14268 eval "$wx_cv_use_ownerdrawn"
14269
14270 if test x"$enablestring" = xdisable; then
14271 if test $wxUSE_OWNER_DRAWN = no; then
14272 result=yes
14273 else
14274 result=no
14275 fi
14276 else
14277 result=$wxUSE_OWNER_DRAWN
14278 fi
14279
14280 { echo "$as_me:$LINENO: result: $result" >&5
14281 echo "${ECHO_T}$result" >&6; }
14282
14283
14284 enablestring=
14285 defaultval=$wxUSE_ALL_FEATURES
14286 if test -z "$defaultval"; then
14287 if test x"$enablestring" = xdisable; then
14288 defaultval=yes
14289 else
14290 defaultval=no
14291 fi
14292 fi
14293
14294 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14295 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14296 # Check whether --enable-uxtheme was given.
14297 if test "${enable_uxtheme+set}" = set; then
14298 enableval=$enable_uxtheme;
14299 if test "$enableval" = yes; then
14300 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14301 else
14302 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14303 fi
14304
14305 else
14306
14307 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14308
14309 fi
14310
14311
14312 eval "$wx_cv_use_uxtheme"
14313
14314 if test x"$enablestring" = xdisable; then
14315 if test $wxUSE_UXTHEME = no; then
14316 result=yes
14317 else
14318 result=no
14319 fi
14320 else
14321 result=$wxUSE_UXTHEME
14322 fi
14323
14324 { echo "$as_me:$LINENO: result: $result" >&5
14325 echo "${ECHO_T}$result" >&6; }
14326
14327
14328 enablestring=
14329 defaultval=$wxUSE_ALL_FEATURES
14330 if test -z "$defaultval"; then
14331 if test x"$enablestring" = xdisable; then
14332 defaultval=yes
14333 else
14334 defaultval=no
14335 fi
14336 fi
14337
14338 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14339 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14340 # Check whether --enable-wxdib was given.
14341 if test "${enable_wxdib+set}" = set; then
14342 enableval=$enable_wxdib;
14343 if test "$enableval" = yes; then
14344 wx_cv_use_wxdib='wxUSE_DIB=yes'
14345 else
14346 wx_cv_use_wxdib='wxUSE_DIB=no'
14347 fi
14348
14349 else
14350
14351 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14352
14353 fi
14354
14355
14356 eval "$wx_cv_use_wxdib"
14357
14358 if test x"$enablestring" = xdisable; then
14359 if test $wxUSE_DIB = no; then
14360 result=yes
14361 else
14362 result=no
14363 fi
14364 else
14365 result=$wxUSE_DIB
14366 fi
14367
14368 { echo "$as_me:$LINENO: result: $result" >&5
14369 echo "${ECHO_T}$result" >&6; }
14370
14371
14372 if test "$wxUSE_MSW" != 1; then
14373 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14374 fi
14375
14376
14377 enablestring=
14378 defaultval=$wxUSE_ALL_FEATURES
14379 if test -z "$defaultval"; then
14380 if test x"$enablestring" = xdisable; then
14381 defaultval=yes
14382 else
14383 defaultval=no
14384 fi
14385 fi
14386
14387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14388 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14389 # Check whether --enable-autoidman was given.
14390 if test "${enable_autoidman+set}" = set; then
14391 enableval=$enable_autoidman;
14392 if test "$enableval" = yes; then
14393 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14394 else
14395 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14396 fi
14397
14398 else
14399
14400 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14401
14402 fi
14403
14404
14405 eval "$wx_cv_use_autoidman"
14406
14407 if test x"$enablestring" = xdisable; then
14408 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14409 result=yes
14410 else
14411 result=no
14412 fi
14413 else
14414 result=$wxUSE_AUTOID_MANAGEMENT
14415 fi
14416
14417 { echo "$as_me:$LINENO: result: $result" >&5
14418 echo "${ECHO_T}$result" >&6; }
14419
14420
14421 fi
14422
14423
14424 cat >confcache <<\_ACEOF
14425 # This file is a shell script that caches the results of configure
14426 # tests run on this system so they can be shared between configure
14427 # scripts and configure runs, see configure's option --config-cache.
14428 # It is not useful on other systems. If it contains results you don't
14429 # want to keep, you may remove or edit it.
14430 #
14431 # config.status only pays attention to the cache file if you give it
14432 # the --recheck option to rerun configure.
14433 #
14434 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14435 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14436 # following values.
14437
14438 _ACEOF
14439
14440 # The following way of writing the cache mishandles newlines in values,
14441 # but we know of no workaround that is simple, portable, and efficient.
14442 # So, we kill variables containing newlines.
14443 # Ultrix sh set writes to stderr and can't be redirected directly,
14444 # and sets the high bit in the cache file unless we assign to the vars.
14445 (
14446 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14447 eval ac_val=\$$ac_var
14448 case $ac_val in #(
14449 *${as_nl}*)
14450 case $ac_var in #(
14451 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14452 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14453 esac
14454 case $ac_var in #(
14455 _ | IFS | as_nl) ;; #(
14456 *) $as_unset $ac_var ;;
14457 esac ;;
14458 esac
14459 done
14460
14461 (set) 2>&1 |
14462 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14463 *${as_nl}ac_space=\ *)
14464 # `set' does not quote correctly, so add quotes (double-quote
14465 # substitution turns \\\\ into \\, and sed turns \\ into \).
14466 sed -n \
14467 "s/'/'\\\\''/g;
14468 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14469 ;; #(
14470 *)
14471 # `set' quotes correctly as required by POSIX, so do not add quotes.
14472 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14473 ;;
14474 esac |
14475 sort
14476 ) |
14477 sed '
14478 /^ac_cv_env_/b end
14479 t clear
14480 :clear
14481 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14482 t end
14483 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14484 :end' >>confcache
14485 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14486 if test -w "$cache_file"; then
14487 test "x$cache_file" != "x/dev/null" &&
14488 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14489 echo "$as_me: updating cache $cache_file" >&6;}
14490 cat confcache >$cache_file
14491 else
14492 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14493 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14494 fi
14495 fi
14496 rm -f confcache
14497
14498 CFLAGS=${CFLAGS:=}
14499 ac_ext=c
14500 ac_cpp='$CPP $CPPFLAGS'
14501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14504 if test -n "$ac_tool_prefix"; then
14505 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14506 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14507 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14509 if test "${ac_cv_prog_CC+set}" = set; then
14510 echo $ECHO_N "(cached) $ECHO_C" >&6
14511 else
14512 if test -n "$CC"; then
14513 ac_cv_prog_CC="$CC" # Let the user override the test.
14514 else
14515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14516 for as_dir in $PATH
14517 do
14518 IFS=$as_save_IFS
14519 test -z "$as_dir" && as_dir=.
14520 for ac_exec_ext in '' $ac_executable_extensions; do
14521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14522 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14524 break 2
14525 fi
14526 done
14527 done
14528 IFS=$as_save_IFS
14529
14530 fi
14531 fi
14532 CC=$ac_cv_prog_CC
14533 if test -n "$CC"; then
14534 { echo "$as_me:$LINENO: result: $CC" >&5
14535 echo "${ECHO_T}$CC" >&6; }
14536 else
14537 { echo "$as_me:$LINENO: result: no" >&5
14538 echo "${ECHO_T}no" >&6; }
14539 fi
14540
14541
14542 fi
14543 if test -z "$ac_cv_prog_CC"; then
14544 ac_ct_CC=$CC
14545 # Extract the first word of "gcc", so it can be a program name with args.
14546 set dummy gcc; ac_word=$2
14547 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14549 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14550 echo $ECHO_N "(cached) $ECHO_C" >&6
14551 else
14552 if test -n "$ac_ct_CC"; then
14553 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14554 else
14555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14556 for as_dir in $PATH
14557 do
14558 IFS=$as_save_IFS
14559 test -z "$as_dir" && as_dir=.
14560 for ac_exec_ext in '' $ac_executable_extensions; do
14561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14562 ac_cv_prog_ac_ct_CC="gcc"
14563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14564 break 2
14565 fi
14566 done
14567 done
14568 IFS=$as_save_IFS
14569
14570 fi
14571 fi
14572 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14573 if test -n "$ac_ct_CC"; then
14574 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14575 echo "${ECHO_T}$ac_ct_CC" >&6; }
14576 else
14577 { echo "$as_me:$LINENO: result: no" >&5
14578 echo "${ECHO_T}no" >&6; }
14579 fi
14580
14581 if test "x$ac_ct_CC" = x; then
14582 CC=""
14583 else
14584 case $cross_compiling:$ac_tool_warned in
14585 yes:)
14586 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14587 whose name does not start with the host triplet. If you think this
14588 configuration is useful to you, please write to autoconf@gnu.org." >&5
14589 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14590 whose name does not start with the host triplet. If you think this
14591 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14592 ac_tool_warned=yes ;;
14593 esac
14594 CC=$ac_ct_CC
14595 fi
14596 else
14597 CC="$ac_cv_prog_CC"
14598 fi
14599
14600 if test -z "$CC"; then
14601 if test -n "$ac_tool_prefix"; then
14602 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14603 set dummy ${ac_tool_prefix}cc; ac_word=$2
14604 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14606 if test "${ac_cv_prog_CC+set}" = set; then
14607 echo $ECHO_N "(cached) $ECHO_C" >&6
14608 else
14609 if test -n "$CC"; then
14610 ac_cv_prog_CC="$CC" # Let the user override the test.
14611 else
14612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14613 for as_dir in $PATH
14614 do
14615 IFS=$as_save_IFS
14616 test -z "$as_dir" && as_dir=.
14617 for ac_exec_ext in '' $ac_executable_extensions; do
14618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14619 ac_cv_prog_CC="${ac_tool_prefix}cc"
14620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14621 break 2
14622 fi
14623 done
14624 done
14625 IFS=$as_save_IFS
14626
14627 fi
14628 fi
14629 CC=$ac_cv_prog_CC
14630 if test -n "$CC"; then
14631 { echo "$as_me:$LINENO: result: $CC" >&5
14632 echo "${ECHO_T}$CC" >&6; }
14633 else
14634 { echo "$as_me:$LINENO: result: no" >&5
14635 echo "${ECHO_T}no" >&6; }
14636 fi
14637
14638
14639 fi
14640 fi
14641 if test -z "$CC"; then
14642 # Extract the first word of "cc", so it can be a program name with args.
14643 set dummy cc; ac_word=$2
14644 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14646 if test "${ac_cv_prog_CC+set}" = set; then
14647 echo $ECHO_N "(cached) $ECHO_C" >&6
14648 else
14649 if test -n "$CC"; then
14650 ac_cv_prog_CC="$CC" # Let the user override the test.
14651 else
14652 ac_prog_rejected=no
14653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14654 for as_dir in $PATH
14655 do
14656 IFS=$as_save_IFS
14657 test -z "$as_dir" && as_dir=.
14658 for ac_exec_ext in '' $ac_executable_extensions; do
14659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14660 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14661 ac_prog_rejected=yes
14662 continue
14663 fi
14664 ac_cv_prog_CC="cc"
14665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14666 break 2
14667 fi
14668 done
14669 done
14670 IFS=$as_save_IFS
14671
14672 if test $ac_prog_rejected = yes; then
14673 # We found a bogon in the path, so make sure we never use it.
14674 set dummy $ac_cv_prog_CC
14675 shift
14676 if test $# != 0; then
14677 # We chose a different compiler from the bogus one.
14678 # However, it has the same basename, so the bogon will be chosen
14679 # first if we set CC to just the basename; use the full file name.
14680 shift
14681 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14682 fi
14683 fi
14684 fi
14685 fi
14686 CC=$ac_cv_prog_CC
14687 if test -n "$CC"; then
14688 { echo "$as_me:$LINENO: result: $CC" >&5
14689 echo "${ECHO_T}$CC" >&6; }
14690 else
14691 { echo "$as_me:$LINENO: result: no" >&5
14692 echo "${ECHO_T}no" >&6; }
14693 fi
14694
14695
14696 fi
14697 if test -z "$CC"; then
14698 if test -n "$ac_tool_prefix"; then
14699 for ac_prog in cl.exe
14700 do
14701 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14702 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14703 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14705 if test "${ac_cv_prog_CC+set}" = set; then
14706 echo $ECHO_N "(cached) $ECHO_C" >&6
14707 else
14708 if test -n "$CC"; then
14709 ac_cv_prog_CC="$CC" # Let the user override the test.
14710 else
14711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14712 for as_dir in $PATH
14713 do
14714 IFS=$as_save_IFS
14715 test -z "$as_dir" && as_dir=.
14716 for ac_exec_ext in '' $ac_executable_extensions; do
14717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14718 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14720 break 2
14721 fi
14722 done
14723 done
14724 IFS=$as_save_IFS
14725
14726 fi
14727 fi
14728 CC=$ac_cv_prog_CC
14729 if test -n "$CC"; then
14730 { echo "$as_me:$LINENO: result: $CC" >&5
14731 echo "${ECHO_T}$CC" >&6; }
14732 else
14733 { echo "$as_me:$LINENO: result: no" >&5
14734 echo "${ECHO_T}no" >&6; }
14735 fi
14736
14737
14738 test -n "$CC" && break
14739 done
14740 fi
14741 if test -z "$CC"; then
14742 ac_ct_CC=$CC
14743 for ac_prog in cl.exe
14744 do
14745 # Extract the first word of "$ac_prog", so it can be a program name with args.
14746 set dummy $ac_prog; ac_word=$2
14747 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14749 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14750 echo $ECHO_N "(cached) $ECHO_C" >&6
14751 else
14752 if test -n "$ac_ct_CC"; then
14753 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14754 else
14755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14756 for as_dir in $PATH
14757 do
14758 IFS=$as_save_IFS
14759 test -z "$as_dir" && as_dir=.
14760 for ac_exec_ext in '' $ac_executable_extensions; do
14761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14762 ac_cv_prog_ac_ct_CC="$ac_prog"
14763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14764 break 2
14765 fi
14766 done
14767 done
14768 IFS=$as_save_IFS
14769
14770 fi
14771 fi
14772 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14773 if test -n "$ac_ct_CC"; then
14774 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14775 echo "${ECHO_T}$ac_ct_CC" >&6; }
14776 else
14777 { echo "$as_me:$LINENO: result: no" >&5
14778 echo "${ECHO_T}no" >&6; }
14779 fi
14780
14781
14782 test -n "$ac_ct_CC" && break
14783 done
14784
14785 if test "x$ac_ct_CC" = x; then
14786 CC=""
14787 else
14788 case $cross_compiling:$ac_tool_warned in
14789 yes:)
14790 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14791 whose name does not start with the host triplet. If you think this
14792 configuration is useful to you, please write to autoconf@gnu.org." >&5
14793 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14794 whose name does not start with the host triplet. If you think this
14795 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14796 ac_tool_warned=yes ;;
14797 esac
14798 CC=$ac_ct_CC
14799 fi
14800 fi
14801
14802 fi
14803
14804
14805 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14806 See \`config.log' for more details." >&5
14807 echo "$as_me: error: no acceptable C compiler found in \$PATH
14808 See \`config.log' for more details." >&2;}
14809 { (exit 1); exit 1; }; }
14810
14811 # Provide some information about the compiler.
14812 echo "$as_me:$LINENO: checking for C compiler version" >&5
14813 ac_compiler=`set X $ac_compile; echo $2`
14814 { (ac_try="$ac_compiler --version >&5"
14815 case "(($ac_try" in
14816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14817 *) ac_try_echo=$ac_try;;
14818 esac
14819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14820 (eval "$ac_compiler --version >&5") 2>&5
14821 ac_status=$?
14822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14823 (exit $ac_status); }
14824 { (ac_try="$ac_compiler -v >&5"
14825 case "(($ac_try" in
14826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14827 *) ac_try_echo=$ac_try;;
14828 esac
14829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14830 (eval "$ac_compiler -v >&5") 2>&5
14831 ac_status=$?
14832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14833 (exit $ac_status); }
14834 { (ac_try="$ac_compiler -V >&5"
14835 case "(($ac_try" in
14836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14837 *) ac_try_echo=$ac_try;;
14838 esac
14839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14840 (eval "$ac_compiler -V >&5") 2>&5
14841 ac_status=$?
14842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14843 (exit $ac_status); }
14844
14845 cat >conftest.$ac_ext <<_ACEOF
14846 /* confdefs.h. */
14847 _ACEOF
14848 cat confdefs.h >>conftest.$ac_ext
14849 cat >>conftest.$ac_ext <<_ACEOF
14850 /* end confdefs.h. */
14851
14852 int
14853 main ()
14854 {
14855
14856 ;
14857 return 0;
14858 }
14859 _ACEOF
14860 ac_clean_files_save=$ac_clean_files
14861 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14862 # Try to create an executable without -o first, disregard a.out.
14863 # It will help us diagnose broken compilers, and finding out an intuition
14864 # of exeext.
14865 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14866 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14867 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14868 #
14869 # List of possible output files, starting from the most likely.
14870 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14871 # only as a last resort. b.out is created by i960 compilers.
14872 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14873 #
14874 # The IRIX 6 linker writes into existing files which may not be
14875 # executable, retaining their permissions. Remove them first so a
14876 # subsequent execution test works.
14877 ac_rmfiles=
14878 for ac_file in $ac_files
14879 do
14880 case $ac_file in
14881 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14882 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14883 esac
14884 done
14885 rm -f $ac_rmfiles
14886
14887 if { (ac_try="$ac_link_default"
14888 case "(($ac_try" in
14889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14890 *) ac_try_echo=$ac_try;;
14891 esac
14892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14893 (eval "$ac_link_default") 2>&5
14894 ac_status=$?
14895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14896 (exit $ac_status); }; then
14897 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14898 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14899 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14900 # so that the user can short-circuit this test for compilers unknown to
14901 # Autoconf.
14902 for ac_file in $ac_files ''
14903 do
14904 test -f "$ac_file" || continue
14905 case $ac_file in
14906 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14907 ;;
14908 [ab].out )
14909 # We found the default executable, but exeext='' is most
14910 # certainly right.
14911 break;;
14912 *.* )
14913 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14914 then :; else
14915 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14916 fi
14917 # We set ac_cv_exeext here because the later test for it is not
14918 # safe: cross compilers may not add the suffix if given an `-o'
14919 # argument, so we may need to know it at that point already.
14920 # Even if this section looks crufty: it has the advantage of
14921 # actually working.
14922 break;;
14923 * )
14924 break;;
14925 esac
14926 done
14927 test "$ac_cv_exeext" = no && ac_cv_exeext=
14928
14929 else
14930 ac_file=''
14931 fi
14932
14933 { echo "$as_me:$LINENO: result: $ac_file" >&5
14934 echo "${ECHO_T}$ac_file" >&6; }
14935 if test -z "$ac_file"; then
14936 echo "$as_me: failed program was:" >&5
14937 sed 's/^/| /' conftest.$ac_ext >&5
14938
14939 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14940 See \`config.log' for more details." >&5
14941 echo "$as_me: error: C compiler cannot create executables
14942 See \`config.log' for more details." >&2;}
14943 { (exit 77); exit 77; }; }
14944 fi
14945
14946 ac_exeext=$ac_cv_exeext
14947
14948 # Check that the compiler produces executables we can run. If not, either
14949 # the compiler is broken, or we cross compile.
14950 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14951 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14952 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14953 # If not cross compiling, check that we can run a simple program.
14954 if test "$cross_compiling" != yes; then
14955 if { ac_try='./$ac_file'
14956 { (case "(($ac_try" in
14957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14958 *) ac_try_echo=$ac_try;;
14959 esac
14960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14961 (eval "$ac_try") 2>&5
14962 ac_status=$?
14963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14964 (exit $ac_status); }; }; then
14965 cross_compiling=no
14966 else
14967 if test "$cross_compiling" = maybe; then
14968 cross_compiling=yes
14969 else
14970 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14971 If you meant to cross compile, use \`--host'.
14972 See \`config.log' for more details." >&5
14973 echo "$as_me: error: cannot run C compiled programs.
14974 If you meant to cross compile, use \`--host'.
14975 See \`config.log' for more details." >&2;}
14976 { (exit 1); exit 1; }; }
14977 fi
14978 fi
14979 fi
14980 { echo "$as_me:$LINENO: result: yes" >&5
14981 echo "${ECHO_T}yes" >&6; }
14982
14983 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14984 ac_clean_files=$ac_clean_files_save
14985 # Check that the compiler produces executables we can run. If not, either
14986 # the compiler is broken, or we cross compile.
14987 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14988 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14989 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14990 echo "${ECHO_T}$cross_compiling" >&6; }
14991
14992 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14993 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14994 if { (ac_try="$ac_link"
14995 case "(($ac_try" in
14996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14997 *) ac_try_echo=$ac_try;;
14998 esac
14999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15000 (eval "$ac_link") 2>&5
15001 ac_status=$?
15002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15003 (exit $ac_status); }; then
15004 # If both `conftest.exe' and `conftest' are `present' (well, observable)
15005 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
15006 # work properly (i.e., refer to `conftest.exe'), while it won't with
15007 # `rm'.
15008 for ac_file in conftest.exe conftest conftest.*; do
15009 test -f "$ac_file" || continue
15010 case $ac_file in
15011 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15012 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15013 break;;
15014 * ) break;;
15015 esac
15016 done
15017 else
15018 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15019 See \`config.log' for more details." >&5
15020 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15021 See \`config.log' for more details." >&2;}
15022 { (exit 1); exit 1; }; }
15023 fi
15024
15025 rm -f conftest$ac_cv_exeext
15026 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15027 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15028
15029 rm -f conftest.$ac_ext
15030 EXEEXT=$ac_cv_exeext
15031 ac_exeext=$EXEEXT
15032 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15033 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15034 if test "${ac_cv_objext+set}" = set; then
15035 echo $ECHO_N "(cached) $ECHO_C" >&6
15036 else
15037 cat >conftest.$ac_ext <<_ACEOF
15038 /* confdefs.h. */
15039 _ACEOF
15040 cat confdefs.h >>conftest.$ac_ext
15041 cat >>conftest.$ac_ext <<_ACEOF
15042 /* end confdefs.h. */
15043
15044 int
15045 main ()
15046 {
15047
15048 ;
15049 return 0;
15050 }
15051 _ACEOF
15052 rm -f conftest.o conftest.obj
15053 if { (ac_try="$ac_compile"
15054 case "(($ac_try" in
15055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15056 *) ac_try_echo=$ac_try;;
15057 esac
15058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15059 (eval "$ac_compile") 2>&5
15060 ac_status=$?
15061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15062 (exit $ac_status); }; then
15063 for ac_file in conftest.o conftest.obj conftest.*; do
15064 test -f "$ac_file" || continue;
15065 case $ac_file in
15066 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15067 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15068 break;;
15069 esac
15070 done
15071 else
15072 echo "$as_me: failed program was:" >&5
15073 sed 's/^/| /' conftest.$ac_ext >&5
15074
15075 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15076 See \`config.log' for more details." >&5
15077 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15078 See \`config.log' for more details." >&2;}
15079 { (exit 1); exit 1; }; }
15080 fi
15081
15082 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15083 fi
15084 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
15085 echo "${ECHO_T}$ac_cv_objext" >&6; }
15086 OBJEXT=$ac_cv_objext
15087 ac_objext=$OBJEXT
15088 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
15089 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
15090 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15091 echo $ECHO_N "(cached) $ECHO_C" >&6
15092 else
15093 cat >conftest.$ac_ext <<_ACEOF
15094 /* confdefs.h. */
15095 _ACEOF
15096 cat confdefs.h >>conftest.$ac_ext
15097 cat >>conftest.$ac_ext <<_ACEOF
15098 /* end confdefs.h. */
15099
15100 int
15101 main ()
15102 {
15103 #ifndef __GNUC__
15104 choke me
15105 #endif
15106
15107 ;
15108 return 0;
15109 }
15110 _ACEOF
15111 rm -f conftest.$ac_objext
15112 if { (ac_try="$ac_compile"
15113 case "(($ac_try" in
15114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15115 *) ac_try_echo=$ac_try;;
15116 esac
15117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15118 (eval "$ac_compile") 2>conftest.er1
15119 ac_status=$?
15120 grep -v '^ *+' conftest.er1 >conftest.err
15121 rm -f conftest.er1
15122 cat conftest.err >&5
15123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15124 (exit $ac_status); } && {
15125 test -z "$ac_c_werror_flag" ||
15126 test ! -s conftest.err
15127 } && test -s conftest.$ac_objext; then
15128 ac_compiler_gnu=yes
15129 else
15130 echo "$as_me: failed program was:" >&5
15131 sed 's/^/| /' conftest.$ac_ext >&5
15132
15133 ac_compiler_gnu=no
15134 fi
15135
15136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15137 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15138
15139 fi
15140 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15141 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15142 GCC=`test $ac_compiler_gnu = yes && echo yes`
15143 ac_test_CFLAGS=${CFLAGS+set}
15144 ac_save_CFLAGS=$CFLAGS
15145 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15146 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15147 if test "${ac_cv_prog_cc_g+set}" = set; then
15148 echo $ECHO_N "(cached) $ECHO_C" >&6
15149 else
15150 ac_save_c_werror_flag=$ac_c_werror_flag
15151 ac_c_werror_flag=yes
15152 ac_cv_prog_cc_g=no
15153 CFLAGS="-g"
15154 cat >conftest.$ac_ext <<_ACEOF
15155 /* confdefs.h. */
15156 _ACEOF
15157 cat confdefs.h >>conftest.$ac_ext
15158 cat >>conftest.$ac_ext <<_ACEOF
15159 /* end confdefs.h. */
15160
15161 int
15162 main ()
15163 {
15164
15165 ;
15166 return 0;
15167 }
15168 _ACEOF
15169 rm -f conftest.$ac_objext
15170 if { (ac_try="$ac_compile"
15171 case "(($ac_try" in
15172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15173 *) ac_try_echo=$ac_try;;
15174 esac
15175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15176 (eval "$ac_compile") 2>conftest.er1
15177 ac_status=$?
15178 grep -v '^ *+' conftest.er1 >conftest.err
15179 rm -f conftest.er1
15180 cat conftest.err >&5
15181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15182 (exit $ac_status); } && {
15183 test -z "$ac_c_werror_flag" ||
15184 test ! -s conftest.err
15185 } && test -s conftest.$ac_objext; then
15186 ac_cv_prog_cc_g=yes
15187 else
15188 echo "$as_me: failed program was:" >&5
15189 sed 's/^/| /' conftest.$ac_ext >&5
15190
15191 CFLAGS=""
15192 cat >conftest.$ac_ext <<_ACEOF
15193 /* confdefs.h. */
15194 _ACEOF
15195 cat confdefs.h >>conftest.$ac_ext
15196 cat >>conftest.$ac_ext <<_ACEOF
15197 /* end confdefs.h. */
15198
15199 int
15200 main ()
15201 {
15202
15203 ;
15204 return 0;
15205 }
15206 _ACEOF
15207 rm -f conftest.$ac_objext
15208 if { (ac_try="$ac_compile"
15209 case "(($ac_try" in
15210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15211 *) ac_try_echo=$ac_try;;
15212 esac
15213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15214 (eval "$ac_compile") 2>conftest.er1
15215 ac_status=$?
15216 grep -v '^ *+' conftest.er1 >conftest.err
15217 rm -f conftest.er1
15218 cat conftest.err >&5
15219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15220 (exit $ac_status); } && {
15221 test -z "$ac_c_werror_flag" ||
15222 test ! -s conftest.err
15223 } && test -s conftest.$ac_objext; then
15224 :
15225 else
15226 echo "$as_me: failed program was:" >&5
15227 sed 's/^/| /' conftest.$ac_ext >&5
15228
15229 ac_c_werror_flag=$ac_save_c_werror_flag
15230 CFLAGS="-g"
15231 cat >conftest.$ac_ext <<_ACEOF
15232 /* confdefs.h. */
15233 _ACEOF
15234 cat confdefs.h >>conftest.$ac_ext
15235 cat >>conftest.$ac_ext <<_ACEOF
15236 /* end confdefs.h. */
15237
15238 int
15239 main ()
15240 {
15241
15242 ;
15243 return 0;
15244 }
15245 _ACEOF
15246 rm -f conftest.$ac_objext
15247 if { (ac_try="$ac_compile"
15248 case "(($ac_try" in
15249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15250 *) ac_try_echo=$ac_try;;
15251 esac
15252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15253 (eval "$ac_compile") 2>conftest.er1
15254 ac_status=$?
15255 grep -v '^ *+' conftest.er1 >conftest.err
15256 rm -f conftest.er1
15257 cat conftest.err >&5
15258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15259 (exit $ac_status); } && {
15260 test -z "$ac_c_werror_flag" ||
15261 test ! -s conftest.err
15262 } && test -s conftest.$ac_objext; then
15263 ac_cv_prog_cc_g=yes
15264 else
15265 echo "$as_me: failed program was:" >&5
15266 sed 's/^/| /' conftest.$ac_ext >&5
15267
15268
15269 fi
15270
15271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15272 fi
15273
15274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15275 fi
15276
15277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15278 ac_c_werror_flag=$ac_save_c_werror_flag
15279 fi
15280 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15281 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15282 if test "$ac_test_CFLAGS" = set; then
15283 CFLAGS=$ac_save_CFLAGS
15284 elif test $ac_cv_prog_cc_g = yes; then
15285 if test "$GCC" = yes; then
15286 CFLAGS="-g -O2"
15287 else
15288 CFLAGS="-g"
15289 fi
15290 else
15291 if test "$GCC" = yes; then
15292 CFLAGS="-O2"
15293 else
15294 CFLAGS=
15295 fi
15296 fi
15297 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15298 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15299 if test "${ac_cv_prog_cc_c89+set}" = set; then
15300 echo $ECHO_N "(cached) $ECHO_C" >&6
15301 else
15302 ac_cv_prog_cc_c89=no
15303 ac_save_CC=$CC
15304 cat >conftest.$ac_ext <<_ACEOF
15305 /* confdefs.h. */
15306 _ACEOF
15307 cat confdefs.h >>conftest.$ac_ext
15308 cat >>conftest.$ac_ext <<_ACEOF
15309 /* end confdefs.h. */
15310 #include <stdarg.h>
15311 #include <stdio.h>
15312 #include <sys/types.h>
15313 #include <sys/stat.h>
15314 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15315 struct buf { int x; };
15316 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15317 static char *e (p, i)
15318 char **p;
15319 int i;
15320 {
15321 return p[i];
15322 }
15323 static char *f (char * (*g) (char **, int), char **p, ...)
15324 {
15325 char *s;
15326 va_list v;
15327 va_start (v,p);
15328 s = g (p, va_arg (v,int));
15329 va_end (v);
15330 return s;
15331 }
15332
15333 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15334 function prototypes and stuff, but not '\xHH' hex character constants.
15335 These don't provoke an error unfortunately, instead are silently treated
15336 as 'x'. The following induces an error, until -std is added to get
15337 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15338 array size at least. It's necessary to write '\x00'==0 to get something
15339 that's true only with -std. */
15340 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15341
15342 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15343 inside strings and character constants. */
15344 #define FOO(x) 'x'
15345 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15346
15347 int test (int i, double x);
15348 struct s1 {int (*f) (int a);};
15349 struct s2 {int (*f) (double a);};
15350 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15351 int argc;
15352 char **argv;
15353 int
15354 main ()
15355 {
15356 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15357 ;
15358 return 0;
15359 }
15360 _ACEOF
15361 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15362 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15363 do
15364 CC="$ac_save_CC $ac_arg"
15365 rm -f conftest.$ac_objext
15366 if { (ac_try="$ac_compile"
15367 case "(($ac_try" in
15368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15369 *) ac_try_echo=$ac_try;;
15370 esac
15371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15372 (eval "$ac_compile") 2>conftest.er1
15373 ac_status=$?
15374 grep -v '^ *+' conftest.er1 >conftest.err
15375 rm -f conftest.er1
15376 cat conftest.err >&5
15377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15378 (exit $ac_status); } && {
15379 test -z "$ac_c_werror_flag" ||
15380 test ! -s conftest.err
15381 } && test -s conftest.$ac_objext; then
15382 ac_cv_prog_cc_c89=$ac_arg
15383 else
15384 echo "$as_me: failed program was:" >&5
15385 sed 's/^/| /' conftest.$ac_ext >&5
15386
15387
15388 fi
15389
15390 rm -f core conftest.err conftest.$ac_objext
15391 test "x$ac_cv_prog_cc_c89" != "xno" && break
15392 done
15393 rm -f conftest.$ac_ext
15394 CC=$ac_save_CC
15395
15396 fi
15397 # AC_CACHE_VAL
15398 case "x$ac_cv_prog_cc_c89" in
15399 x)
15400 { echo "$as_me:$LINENO: result: none needed" >&5
15401 echo "${ECHO_T}none needed" >&6; } ;;
15402 xno)
15403 { echo "$as_me:$LINENO: result: unsupported" >&5
15404 echo "${ECHO_T}unsupported" >&6; } ;;
15405 *)
15406 CC="$CC $ac_cv_prog_cc_c89"
15407 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15408 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15409 esac
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
15419
15420
15421
15422
15423
15424
15425 ac_ext=c
15426 ac_cpp='$CPP $CPPFLAGS'
15427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15430
15431 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15432 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15433 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15434 echo $ECHO_N "(cached) $ECHO_C" >&6
15435 else
15436 cat >conftest.$ac_ext <<_ACEOF
15437 /* confdefs.h. */
15438 _ACEOF
15439 cat confdefs.h >>conftest.$ac_ext
15440 cat >>conftest.$ac_ext <<_ACEOF
15441 /* end confdefs.h. */
15442
15443 int
15444 main ()
15445 {
15446
15447 #ifndef __INTEL_COMPILER
15448 choke me
15449 #endif
15450
15451 ;
15452 return 0;
15453 }
15454 _ACEOF
15455 rm -f conftest.$ac_objext
15456 if { (ac_try="$ac_compile"
15457 case "(($ac_try" in
15458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15459 *) ac_try_echo=$ac_try;;
15460 esac
15461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15462 (eval "$ac_compile") 2>conftest.er1
15463 ac_status=$?
15464 grep -v '^ *+' conftest.er1 >conftest.err
15465 rm -f conftest.er1
15466 cat conftest.err >&5
15467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15468 (exit $ac_status); } && {
15469 test -z "$ac_c_werror_flag" ||
15470 test ! -s conftest.err
15471 } && test -s conftest.$ac_objext; then
15472 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15473 else
15474 echo "$as_me: failed program was:" >&5
15475 sed 's/^/| /' conftest.$ac_ext >&5
15476
15477 bakefile_cv_c_compiler___INTEL_COMPILER=no
15478
15479 fi
15480
15481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15482
15483
15484 fi
15485 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15486 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15487 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15488 :; INTELCC=yes
15489 else
15490 :;
15491 fi
15492 ac_ext=c
15493 ac_cpp='$CPP $CPPFLAGS'
15494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15497
15498
15499
15500
15501 if test "$INTELCC" = "yes"; then
15502
15503
15504 ac_ext=c
15505 ac_cpp='$CPP $CPPFLAGS'
15506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15509
15510 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15511 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15512 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15513 echo $ECHO_N "(cached) $ECHO_C" >&6
15514 else
15515 cat >conftest.$ac_ext <<_ACEOF
15516 /* confdefs.h. */
15517 _ACEOF
15518 cat confdefs.h >>conftest.$ac_ext
15519 cat >>conftest.$ac_ext <<_ACEOF
15520 /* end confdefs.h. */
15521
15522 int
15523 main ()
15524 {
15525
15526 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15527 choke me
15528 #endif
15529
15530 ;
15531 return 0;
15532 }
15533 _ACEOF
15534 rm -f conftest.$ac_objext
15535 if { (ac_try="$ac_compile"
15536 case "(($ac_try" in
15537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15538 *) ac_try_echo=$ac_try;;
15539 esac
15540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15541 (eval "$ac_compile") 2>conftest.er1
15542 ac_status=$?
15543 grep -v '^ *+' conftest.er1 >conftest.err
15544 rm -f conftest.er1
15545 cat conftest.err >&5
15546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15547 (exit $ac_status); } && {
15548 test -z "$ac_c_werror_flag" ||
15549 test ! -s conftest.err
15550 } && test -s conftest.$ac_objext; then
15551 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15552 else
15553 echo "$as_me: failed program was:" >&5
15554 sed 's/^/| /' conftest.$ac_ext >&5
15555
15556 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15557
15558 fi
15559
15560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15561
15562
15563 fi
15564 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15565 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15566 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15567 :; INTELCC8=yes
15568 else
15569 :;
15570 fi
15571 ac_ext=c
15572 ac_cpp='$CPP $CPPFLAGS'
15573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15576
15577
15578
15579
15580
15581 ac_ext=c
15582 ac_cpp='$CPP $CPPFLAGS'
15583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15586
15587 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15588 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15589 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15590 echo $ECHO_N "(cached) $ECHO_C" >&6
15591 else
15592 cat >conftest.$ac_ext <<_ACEOF
15593 /* confdefs.h. */
15594 _ACEOF
15595 cat confdefs.h >>conftest.$ac_ext
15596 cat >>conftest.$ac_ext <<_ACEOF
15597 /* end confdefs.h. */
15598
15599 int
15600 main ()
15601 {
15602
15603 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15604 choke me
15605 #endif
15606
15607 ;
15608 return 0;
15609 }
15610 _ACEOF
15611 rm -f conftest.$ac_objext
15612 if { (ac_try="$ac_compile"
15613 case "(($ac_try" in
15614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15615 *) ac_try_echo=$ac_try;;
15616 esac
15617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15618 (eval "$ac_compile") 2>conftest.er1
15619 ac_status=$?
15620 grep -v '^ *+' conftest.er1 >conftest.err
15621 rm -f conftest.er1
15622 cat conftest.err >&5
15623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15624 (exit $ac_status); } && {
15625 test -z "$ac_c_werror_flag" ||
15626 test ! -s conftest.err
15627 } && test -s conftest.$ac_objext; then
15628 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15629 else
15630 echo "$as_me: failed program was:" >&5
15631 sed 's/^/| /' conftest.$ac_ext >&5
15632
15633 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15634
15635 fi
15636
15637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15638
15639
15640 fi
15641 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15642 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15643 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15644 :; INTELCC10=yes
15645 else
15646 :;
15647 fi
15648 ac_ext=c
15649 ac_cpp='$CPP $CPPFLAGS'
15650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15653
15654
15655
15656 fi
15657
15658 if test "x$GCC" != "xyes"; then
15659 if test "xCC" = "xC"; then
15660 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15661 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15662 if test "${bakefile_cv_c_exto+set}" = set; then
15663 echo $ECHO_N "(cached) $ECHO_C" >&6
15664 else
15665 cat >conftest.$ac_ext <<_ACEOF
15666 /* confdefs.h. */
15667 _ACEOF
15668 cat confdefs.h >>conftest.$ac_ext
15669 cat >>conftest.$ac_ext <<_ACEOF
15670 /* end confdefs.h. */
15671
15672 int
15673 main ()
15674 {
15675
15676 ;
15677 return 0;
15678 }
15679 _ACEOF
15680 rm -f conftest.$ac_objext conftest.$ac_ext.o
15681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15682 (eval $ac_compile) 2>&5
15683 ac_status=$?
15684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15685 (exit $ac_status); }; then
15686 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15687 case $ac_file in
15688 conftest.$ac_ext.o)
15689 bakefile_cv_c_exto="-ext o"
15690 ;;
15691 *)
15692 ;;
15693 esac
15694 done
15695 else
15696 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15697 See \`config.log' for more details." >&5
15698 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15699 See \`config.log' for more details." >&2;}
15700 { (exit 1); exit 1; }; }
15701
15702 fi
15703
15704 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15705
15706 fi
15707 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15708 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15709 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15710 if test "c" = "c"; then
15711 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15712 fi
15713 if test "c" = "cxx"; then
15714 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15715 fi
15716 fi
15717
15718 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15719 unset ac_cv_prog_cc_g
15720 ac_test_CFLAGS=${CFLAGS+set}
15721 ac_save_CFLAGS=$CFLAGS
15722 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15723 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15724 if test "${ac_cv_prog_cc_g+set}" = set; then
15725 echo $ECHO_N "(cached) $ECHO_C" >&6
15726 else
15727 ac_save_c_werror_flag=$ac_c_werror_flag
15728 ac_c_werror_flag=yes
15729 ac_cv_prog_cc_g=no
15730 CFLAGS="-g"
15731 cat >conftest.$ac_ext <<_ACEOF
15732 /* confdefs.h. */
15733 _ACEOF
15734 cat confdefs.h >>conftest.$ac_ext
15735 cat >>conftest.$ac_ext <<_ACEOF
15736 /* end confdefs.h. */
15737
15738 int
15739 main ()
15740 {
15741
15742 ;
15743 return 0;
15744 }
15745 _ACEOF
15746 rm -f conftest.$ac_objext
15747 if { (ac_try="$ac_compile"
15748 case "(($ac_try" in
15749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15750 *) ac_try_echo=$ac_try;;
15751 esac
15752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15753 (eval "$ac_compile") 2>conftest.er1
15754 ac_status=$?
15755 grep -v '^ *+' conftest.er1 >conftest.err
15756 rm -f conftest.er1
15757 cat conftest.err >&5
15758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15759 (exit $ac_status); } && {
15760 test -z "$ac_c_werror_flag" ||
15761 test ! -s conftest.err
15762 } && test -s conftest.$ac_objext; then
15763 ac_cv_prog_cc_g=yes
15764 else
15765 echo "$as_me: failed program was:" >&5
15766 sed 's/^/| /' conftest.$ac_ext >&5
15767
15768 CFLAGS=""
15769 cat >conftest.$ac_ext <<_ACEOF
15770 /* confdefs.h. */
15771 _ACEOF
15772 cat confdefs.h >>conftest.$ac_ext
15773 cat >>conftest.$ac_ext <<_ACEOF
15774 /* end confdefs.h. */
15775
15776 int
15777 main ()
15778 {
15779
15780 ;
15781 return 0;
15782 }
15783 _ACEOF
15784 rm -f conftest.$ac_objext
15785 if { (ac_try="$ac_compile"
15786 case "(($ac_try" in
15787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15788 *) ac_try_echo=$ac_try;;
15789 esac
15790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15791 (eval "$ac_compile") 2>conftest.er1
15792 ac_status=$?
15793 grep -v '^ *+' conftest.er1 >conftest.err
15794 rm -f conftest.er1
15795 cat conftest.err >&5
15796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15797 (exit $ac_status); } && {
15798 test -z "$ac_c_werror_flag" ||
15799 test ! -s conftest.err
15800 } && test -s conftest.$ac_objext; then
15801 :
15802 else
15803 echo "$as_me: failed program was:" >&5
15804 sed 's/^/| /' conftest.$ac_ext >&5
15805
15806 ac_c_werror_flag=$ac_save_c_werror_flag
15807 CFLAGS="-g"
15808 cat >conftest.$ac_ext <<_ACEOF
15809 /* confdefs.h. */
15810 _ACEOF
15811 cat confdefs.h >>conftest.$ac_ext
15812 cat >>conftest.$ac_ext <<_ACEOF
15813 /* end confdefs.h. */
15814
15815 int
15816 main ()
15817 {
15818
15819 ;
15820 return 0;
15821 }
15822 _ACEOF
15823 rm -f conftest.$ac_objext
15824 if { (ac_try="$ac_compile"
15825 case "(($ac_try" in
15826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15827 *) ac_try_echo=$ac_try;;
15828 esac
15829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15830 (eval "$ac_compile") 2>conftest.er1
15831 ac_status=$?
15832 grep -v '^ *+' conftest.er1 >conftest.err
15833 rm -f conftest.er1
15834 cat conftest.err >&5
15835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15836 (exit $ac_status); } && {
15837 test -z "$ac_c_werror_flag" ||
15838 test ! -s conftest.err
15839 } && test -s conftest.$ac_objext; then
15840 ac_cv_prog_cc_g=yes
15841 else
15842 echo "$as_me: failed program was:" >&5
15843 sed 's/^/| /' conftest.$ac_ext >&5
15844
15845
15846 fi
15847
15848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15849 fi
15850
15851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15852 fi
15853
15854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15855 ac_c_werror_flag=$ac_save_c_werror_flag
15856 fi
15857 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15858 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15859 if test "$ac_test_CFLAGS" = set; then
15860 CFLAGS=$ac_save_CFLAGS
15861 elif test $ac_cv_prog_cc_g = yes; then
15862 if test "$GCC" = yes; then
15863 CFLAGS="-g -O2"
15864 else
15865 CFLAGS="-g"
15866 fi
15867 else
15868 if test "$GCC" = yes; then
15869 CFLAGS="-O2"
15870 else
15871 CFLAGS=
15872 fi
15873 fi
15874 fi
15875 fi
15876
15877 case `uname -s` in
15878 AIX*)
15879
15880
15881 ac_ext=c
15882 ac_cpp='$CPP $CPPFLAGS'
15883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15886
15887 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15888 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15889 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15890 echo $ECHO_N "(cached) $ECHO_C" >&6
15891 else
15892 cat >conftest.$ac_ext <<_ACEOF
15893 /* confdefs.h. */
15894 _ACEOF
15895 cat confdefs.h >>conftest.$ac_ext
15896 cat >>conftest.$ac_ext <<_ACEOF
15897 /* end confdefs.h. */
15898
15899 int
15900 main ()
15901 {
15902
15903 #ifndef __xlC__
15904 choke me
15905 #endif
15906
15907 ;
15908 return 0;
15909 }
15910 _ACEOF
15911 rm -f conftest.$ac_objext
15912 if { (ac_try="$ac_compile"
15913 case "(($ac_try" in
15914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15915 *) ac_try_echo=$ac_try;;
15916 esac
15917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15918 (eval "$ac_compile") 2>conftest.er1
15919 ac_status=$?
15920 grep -v '^ *+' conftest.er1 >conftest.err
15921 rm -f conftest.er1
15922 cat conftest.err >&5
15923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15924 (exit $ac_status); } && {
15925 test -z "$ac_c_werror_flag" ||
15926 test ! -s conftest.err
15927 } && test -s conftest.$ac_objext; then
15928 bakefile_cv_c_compiler___xlC__=yes
15929 else
15930 echo "$as_me: failed program was:" >&5
15931 sed 's/^/| /' conftest.$ac_ext >&5
15932
15933 bakefile_cv_c_compiler___xlC__=no
15934
15935 fi
15936
15937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15938
15939
15940 fi
15941 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15942 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15943 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15944 :; XLCC=yes
15945 else
15946 :;
15947 fi
15948 ac_ext=c
15949 ac_cpp='$CPP $CPPFLAGS'
15950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15953
15954
15955
15956 ;;
15957
15958 Darwin)
15959
15960
15961 ac_ext=c
15962 ac_cpp='$CPP $CPPFLAGS'
15963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15966
15967 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15968 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15969 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15970 echo $ECHO_N "(cached) $ECHO_C" >&6
15971 else
15972 cat >conftest.$ac_ext <<_ACEOF
15973 /* confdefs.h. */
15974 _ACEOF
15975 cat confdefs.h >>conftest.$ac_ext
15976 cat >>conftest.$ac_ext <<_ACEOF
15977 /* end confdefs.h. */
15978
15979 int
15980 main ()
15981 {
15982
15983 #ifndef __MWERKS__
15984 choke me
15985 #endif
15986
15987 ;
15988 return 0;
15989 }
15990 _ACEOF
15991 rm -f conftest.$ac_objext
15992 if { (ac_try="$ac_compile"
15993 case "(($ac_try" in
15994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15995 *) ac_try_echo=$ac_try;;
15996 esac
15997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15998 (eval "$ac_compile") 2>conftest.er1
15999 ac_status=$?
16000 grep -v '^ *+' conftest.er1 >conftest.err
16001 rm -f conftest.er1
16002 cat conftest.err >&5
16003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16004 (exit $ac_status); } && {
16005 test -z "$ac_c_werror_flag" ||
16006 test ! -s conftest.err
16007 } && test -s conftest.$ac_objext; then
16008 bakefile_cv_c_compiler___MWERKS__=yes
16009 else
16010 echo "$as_me: failed program was:" >&5
16011 sed 's/^/| /' conftest.$ac_ext >&5
16012
16013 bakefile_cv_c_compiler___MWERKS__=no
16014
16015 fi
16016
16017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16018
16019
16020 fi
16021 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16022 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16023 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16024 :; MWCC=yes
16025 else
16026 :;
16027 fi
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
16035
16036 if test "$MWCC" != "yes"; then
16037
16038
16039 ac_ext=c
16040 ac_cpp='$CPP $CPPFLAGS'
16041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16044
16045 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16046 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16047 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16048 echo $ECHO_N "(cached) $ECHO_C" >&6
16049 else
16050 cat >conftest.$ac_ext <<_ACEOF
16051 /* confdefs.h. */
16052 _ACEOF
16053 cat confdefs.h >>conftest.$ac_ext
16054 cat >>conftest.$ac_ext <<_ACEOF
16055 /* end confdefs.h. */
16056
16057 int
16058 main ()
16059 {
16060
16061 #ifndef __xlC__
16062 choke me
16063 #endif
16064
16065 ;
16066 return 0;
16067 }
16068 _ACEOF
16069 rm -f conftest.$ac_objext
16070 if { (ac_try="$ac_compile"
16071 case "(($ac_try" in
16072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16073 *) ac_try_echo=$ac_try;;
16074 esac
16075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16076 (eval "$ac_compile") 2>conftest.er1
16077 ac_status=$?
16078 grep -v '^ *+' conftest.er1 >conftest.err
16079 rm -f conftest.er1
16080 cat conftest.err >&5
16081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16082 (exit $ac_status); } && {
16083 test -z "$ac_c_werror_flag" ||
16084 test ! -s conftest.err
16085 } && test -s conftest.$ac_objext; then
16086 bakefile_cv_c_compiler___xlC__=yes
16087 else
16088 echo "$as_me: failed program was:" >&5
16089 sed 's/^/| /' conftest.$ac_ext >&5
16090
16091 bakefile_cv_c_compiler___xlC__=no
16092
16093 fi
16094
16095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16096
16097
16098 fi
16099 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16100 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16101 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16102 :; XLCC=yes
16103 else
16104 :;
16105 fi
16106 ac_ext=c
16107 ac_cpp='$CPP $CPPFLAGS'
16108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16111
16112
16113
16114 fi
16115 ;;
16116
16117 IRIX*)
16118
16119
16120 ac_ext=c
16121 ac_cpp='$CPP $CPPFLAGS'
16122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16125
16126 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16127 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16128 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16129 echo $ECHO_N "(cached) $ECHO_C" >&6
16130 else
16131 cat >conftest.$ac_ext <<_ACEOF
16132 /* confdefs.h. */
16133 _ACEOF
16134 cat confdefs.h >>conftest.$ac_ext
16135 cat >>conftest.$ac_ext <<_ACEOF
16136 /* end confdefs.h. */
16137
16138 int
16139 main ()
16140 {
16141
16142 #ifndef _SGI_COMPILER_VERSION
16143 choke me
16144 #endif
16145
16146 ;
16147 return 0;
16148 }
16149 _ACEOF
16150 rm -f conftest.$ac_objext
16151 if { (ac_try="$ac_compile"
16152 case "(($ac_try" in
16153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16154 *) ac_try_echo=$ac_try;;
16155 esac
16156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16157 (eval "$ac_compile") 2>conftest.er1
16158 ac_status=$?
16159 grep -v '^ *+' conftest.er1 >conftest.err
16160 rm -f conftest.er1
16161 cat conftest.err >&5
16162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16163 (exit $ac_status); } && {
16164 test -z "$ac_c_werror_flag" ||
16165 test ! -s conftest.err
16166 } && test -s conftest.$ac_objext; then
16167 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16168 else
16169 echo "$as_me: failed program was:" >&5
16170 sed 's/^/| /' conftest.$ac_ext >&5
16171
16172 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16173
16174 fi
16175
16176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16177
16178
16179 fi
16180 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16181 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16182 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16183 :; SGICC=yes
16184 else
16185 :;
16186 fi
16187 ac_ext=c
16188 ac_cpp='$CPP $CPPFLAGS'
16189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16192
16193
16194
16195 ;;
16196
16197 Linux*)
16198 if test "$INTELCC" != "yes"; then
16199
16200
16201 ac_ext=c
16202 ac_cpp='$CPP $CPPFLAGS'
16203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16206
16207 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16208 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16209 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16210 echo $ECHO_N "(cached) $ECHO_C" >&6
16211 else
16212 cat >conftest.$ac_ext <<_ACEOF
16213 /* confdefs.h. */
16214 _ACEOF
16215 cat confdefs.h >>conftest.$ac_ext
16216 cat >>conftest.$ac_ext <<_ACEOF
16217 /* end confdefs.h. */
16218
16219 int
16220 main ()
16221 {
16222
16223 #ifndef __SUNPRO_C
16224 choke me
16225 #endif
16226
16227 ;
16228 return 0;
16229 }
16230 _ACEOF
16231 rm -f conftest.$ac_objext
16232 if { (ac_try="$ac_compile"
16233 case "(($ac_try" in
16234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16235 *) ac_try_echo=$ac_try;;
16236 esac
16237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16238 (eval "$ac_compile") 2>conftest.er1
16239 ac_status=$?
16240 grep -v '^ *+' conftest.er1 >conftest.err
16241 rm -f conftest.er1
16242 cat conftest.err >&5
16243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16244 (exit $ac_status); } && {
16245 test -z "$ac_c_werror_flag" ||
16246 test ! -s conftest.err
16247 } && test -s conftest.$ac_objext; then
16248 bakefile_cv_c_compiler___SUNPRO_C=yes
16249 else
16250 echo "$as_me: failed program was:" >&5
16251 sed 's/^/| /' conftest.$ac_ext >&5
16252
16253 bakefile_cv_c_compiler___SUNPRO_C=no
16254
16255 fi
16256
16257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16258
16259
16260 fi
16261 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16262 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16263 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16264 :; SUNCC=yes
16265 else
16266 :;
16267 fi
16268 ac_ext=c
16269 ac_cpp='$CPP $CPPFLAGS'
16270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16273
16274
16275
16276 fi
16277 ;;
16278
16279 HP-UX*)
16280
16281
16282 ac_ext=c
16283 ac_cpp='$CPP $CPPFLAGS'
16284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16287
16288 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16289 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16290 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16291 echo $ECHO_N "(cached) $ECHO_C" >&6
16292 else
16293 cat >conftest.$ac_ext <<_ACEOF
16294 /* confdefs.h. */
16295 _ACEOF
16296 cat confdefs.h >>conftest.$ac_ext
16297 cat >>conftest.$ac_ext <<_ACEOF
16298 /* end confdefs.h. */
16299
16300 int
16301 main ()
16302 {
16303
16304 #ifndef __HP_cc
16305 choke me
16306 #endif
16307
16308 ;
16309 return 0;
16310 }
16311 _ACEOF
16312 rm -f conftest.$ac_objext
16313 if { (ac_try="$ac_compile"
16314 case "(($ac_try" in
16315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16316 *) ac_try_echo=$ac_try;;
16317 esac
16318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16319 (eval "$ac_compile") 2>conftest.er1
16320 ac_status=$?
16321 grep -v '^ *+' conftest.er1 >conftest.err
16322 rm -f conftest.er1
16323 cat conftest.err >&5
16324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16325 (exit $ac_status); } && {
16326 test -z "$ac_c_werror_flag" ||
16327 test ! -s conftest.err
16328 } && test -s conftest.$ac_objext; then
16329 bakefile_cv_c_compiler___HP_cc=yes
16330 else
16331 echo "$as_me: failed program was:" >&5
16332 sed 's/^/| /' conftest.$ac_ext >&5
16333
16334 bakefile_cv_c_compiler___HP_cc=no
16335
16336 fi
16337
16338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16339
16340
16341 fi
16342 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16343 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16344 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16345 :; HPCC=yes
16346 else
16347 :;
16348 fi
16349 ac_ext=c
16350 ac_cpp='$CPP $CPPFLAGS'
16351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16354
16355
16356
16357 ;;
16358
16359 OSF1)
16360
16361
16362 ac_ext=c
16363 ac_cpp='$CPP $CPPFLAGS'
16364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16367
16368 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16369 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16370 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16371 echo $ECHO_N "(cached) $ECHO_C" >&6
16372 else
16373 cat >conftest.$ac_ext <<_ACEOF
16374 /* confdefs.h. */
16375 _ACEOF
16376 cat confdefs.h >>conftest.$ac_ext
16377 cat >>conftest.$ac_ext <<_ACEOF
16378 /* end confdefs.h. */
16379
16380 int
16381 main ()
16382 {
16383
16384 #ifndef __DECC
16385 choke me
16386 #endif
16387
16388 ;
16389 return 0;
16390 }
16391 _ACEOF
16392 rm -f conftest.$ac_objext
16393 if { (ac_try="$ac_compile"
16394 case "(($ac_try" in
16395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16396 *) ac_try_echo=$ac_try;;
16397 esac
16398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16399 (eval "$ac_compile") 2>conftest.er1
16400 ac_status=$?
16401 grep -v '^ *+' conftest.er1 >conftest.err
16402 rm -f conftest.er1
16403 cat conftest.err >&5
16404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16405 (exit $ac_status); } && {
16406 test -z "$ac_c_werror_flag" ||
16407 test ! -s conftest.err
16408 } && test -s conftest.$ac_objext; then
16409 bakefile_cv_c_compiler___DECC=yes
16410 else
16411 echo "$as_me: failed program was:" >&5
16412 sed 's/^/| /' conftest.$ac_ext >&5
16413
16414 bakefile_cv_c_compiler___DECC=no
16415
16416 fi
16417
16418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16419
16420
16421 fi
16422 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16423 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16424 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16425 :; COMPAQCC=yes
16426 else
16427 :;
16428 fi
16429 ac_ext=c
16430 ac_cpp='$CPP $CPPFLAGS'
16431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16434
16435
16436
16437 ;;
16438
16439 SunOS)
16440
16441
16442 ac_ext=c
16443 ac_cpp='$CPP $CPPFLAGS'
16444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16447
16448 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16449 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16450 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16451 echo $ECHO_N "(cached) $ECHO_C" >&6
16452 else
16453 cat >conftest.$ac_ext <<_ACEOF
16454 /* confdefs.h. */
16455 _ACEOF
16456 cat confdefs.h >>conftest.$ac_ext
16457 cat >>conftest.$ac_ext <<_ACEOF
16458 /* end confdefs.h. */
16459
16460 int
16461 main ()
16462 {
16463
16464 #ifndef __SUNPRO_C
16465 choke me
16466 #endif
16467
16468 ;
16469 return 0;
16470 }
16471 _ACEOF
16472 rm -f conftest.$ac_objext
16473 if { (ac_try="$ac_compile"
16474 case "(($ac_try" in
16475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16476 *) ac_try_echo=$ac_try;;
16477 esac
16478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16479 (eval "$ac_compile") 2>conftest.er1
16480 ac_status=$?
16481 grep -v '^ *+' conftest.er1 >conftest.err
16482 rm -f conftest.er1
16483 cat conftest.err >&5
16484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16485 (exit $ac_status); } && {
16486 test -z "$ac_c_werror_flag" ||
16487 test ! -s conftest.err
16488 } && test -s conftest.$ac_objext; then
16489 bakefile_cv_c_compiler___SUNPRO_C=yes
16490 else
16491 echo "$as_me: failed program was:" >&5
16492 sed 's/^/| /' conftest.$ac_ext >&5
16493
16494 bakefile_cv_c_compiler___SUNPRO_C=no
16495
16496 fi
16497
16498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16499
16500
16501 fi
16502 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16503 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16504 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16505 :; SUNCC=yes
16506 else
16507 :;
16508 fi
16509 ac_ext=c
16510 ac_cpp='$CPP $CPPFLAGS'
16511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16514
16515
16516
16517 ;;
16518 esac
16519 fi
16520
16521
16522
16523 ac_ext=c
16524 ac_cpp='$CPP $CPPFLAGS'
16525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16528 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16529 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16530 # On Suns, sometimes $CPP names a directory.
16531 if test -n "$CPP" && test -d "$CPP"; then
16532 CPP=
16533 fi
16534 if test -z "$CPP"; then
16535 if test "${ac_cv_prog_CPP+set}" = set; then
16536 echo $ECHO_N "(cached) $ECHO_C" >&6
16537 else
16538 # Double quotes because CPP needs to be expanded
16539 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16540 do
16541 ac_preproc_ok=false
16542 for ac_c_preproc_warn_flag in '' yes
16543 do
16544 # Use a header file that comes with gcc, so configuring glibc
16545 # with a fresh cross-compiler works.
16546 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16547 # <limits.h> exists even on freestanding compilers.
16548 # On the NeXT, cc -E runs the code through the compiler's parser,
16549 # not just through cpp. "Syntax error" is here to catch this case.
16550 cat >conftest.$ac_ext <<_ACEOF
16551 /* confdefs.h. */
16552 _ACEOF
16553 cat confdefs.h >>conftest.$ac_ext
16554 cat >>conftest.$ac_ext <<_ACEOF
16555 /* end confdefs.h. */
16556 #ifdef __STDC__
16557 # include <limits.h>
16558 #else
16559 # include <assert.h>
16560 #endif
16561 Syntax error
16562 _ACEOF
16563 if { (ac_try="$ac_cpp conftest.$ac_ext"
16564 case "(($ac_try" in
16565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16566 *) ac_try_echo=$ac_try;;
16567 esac
16568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16569 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16570 ac_status=$?
16571 grep -v '^ *+' conftest.er1 >conftest.err
16572 rm -f conftest.er1
16573 cat conftest.err >&5
16574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16575 (exit $ac_status); } >/dev/null && {
16576 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16577 test ! -s conftest.err
16578 }; then
16579 :
16580 else
16581 echo "$as_me: failed program was:" >&5
16582 sed 's/^/| /' conftest.$ac_ext >&5
16583
16584 # Broken: fails on valid input.
16585 continue
16586 fi
16587
16588 rm -f conftest.err conftest.$ac_ext
16589
16590 # OK, works on sane cases. Now check whether nonexistent headers
16591 # can be detected and how.
16592 cat >conftest.$ac_ext <<_ACEOF
16593 /* confdefs.h. */
16594 _ACEOF
16595 cat confdefs.h >>conftest.$ac_ext
16596 cat >>conftest.$ac_ext <<_ACEOF
16597 /* end confdefs.h. */
16598 #include <ac_nonexistent.h>
16599 _ACEOF
16600 if { (ac_try="$ac_cpp conftest.$ac_ext"
16601 case "(($ac_try" in
16602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16603 *) ac_try_echo=$ac_try;;
16604 esac
16605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16606 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16607 ac_status=$?
16608 grep -v '^ *+' conftest.er1 >conftest.err
16609 rm -f conftest.er1
16610 cat conftest.err >&5
16611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16612 (exit $ac_status); } >/dev/null && {
16613 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16614 test ! -s conftest.err
16615 }; then
16616 # Broken: success on invalid input.
16617 continue
16618 else
16619 echo "$as_me: failed program was:" >&5
16620 sed 's/^/| /' conftest.$ac_ext >&5
16621
16622 # Passes both tests.
16623 ac_preproc_ok=:
16624 break
16625 fi
16626
16627 rm -f conftest.err conftest.$ac_ext
16628
16629 done
16630 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16631 rm -f conftest.err conftest.$ac_ext
16632 if $ac_preproc_ok; then
16633 break
16634 fi
16635
16636 done
16637 ac_cv_prog_CPP=$CPP
16638
16639 fi
16640 CPP=$ac_cv_prog_CPP
16641 else
16642 ac_cv_prog_CPP=$CPP
16643 fi
16644 { echo "$as_me:$LINENO: result: $CPP" >&5
16645 echo "${ECHO_T}$CPP" >&6; }
16646 ac_preproc_ok=false
16647 for ac_c_preproc_warn_flag in '' yes
16648 do
16649 # Use a header file that comes with gcc, so configuring glibc
16650 # with a fresh cross-compiler works.
16651 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16652 # <limits.h> exists even on freestanding compilers.
16653 # On the NeXT, cc -E runs the code through the compiler's parser,
16654 # not just through cpp. "Syntax error" is here to catch this case.
16655 cat >conftest.$ac_ext <<_ACEOF
16656 /* confdefs.h. */
16657 _ACEOF
16658 cat confdefs.h >>conftest.$ac_ext
16659 cat >>conftest.$ac_ext <<_ACEOF
16660 /* end confdefs.h. */
16661 #ifdef __STDC__
16662 # include <limits.h>
16663 #else
16664 # include <assert.h>
16665 #endif
16666 Syntax error
16667 _ACEOF
16668 if { (ac_try="$ac_cpp conftest.$ac_ext"
16669 case "(($ac_try" in
16670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16671 *) ac_try_echo=$ac_try;;
16672 esac
16673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16674 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16675 ac_status=$?
16676 grep -v '^ *+' conftest.er1 >conftest.err
16677 rm -f conftest.er1
16678 cat conftest.err >&5
16679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16680 (exit $ac_status); } >/dev/null && {
16681 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16682 test ! -s conftest.err
16683 }; then
16684 :
16685 else
16686 echo "$as_me: failed program was:" >&5
16687 sed 's/^/| /' conftest.$ac_ext >&5
16688
16689 # Broken: fails on valid input.
16690 continue
16691 fi
16692
16693 rm -f conftest.err conftest.$ac_ext
16694
16695 # OK, works on sane cases. Now check whether nonexistent headers
16696 # can be detected and how.
16697 cat >conftest.$ac_ext <<_ACEOF
16698 /* confdefs.h. */
16699 _ACEOF
16700 cat confdefs.h >>conftest.$ac_ext
16701 cat >>conftest.$ac_ext <<_ACEOF
16702 /* end confdefs.h. */
16703 #include <ac_nonexistent.h>
16704 _ACEOF
16705 if { (ac_try="$ac_cpp conftest.$ac_ext"
16706 case "(($ac_try" in
16707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16708 *) ac_try_echo=$ac_try;;
16709 esac
16710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16711 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16712 ac_status=$?
16713 grep -v '^ *+' conftest.er1 >conftest.err
16714 rm -f conftest.er1
16715 cat conftest.err >&5
16716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16717 (exit $ac_status); } >/dev/null && {
16718 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16719 test ! -s conftest.err
16720 }; then
16721 # Broken: success on invalid input.
16722 continue
16723 else
16724 echo "$as_me: failed program was:" >&5
16725 sed 's/^/| /' conftest.$ac_ext >&5
16726
16727 # Passes both tests.
16728 ac_preproc_ok=:
16729 break
16730 fi
16731
16732 rm -f conftest.err conftest.$ac_ext
16733
16734 done
16735 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16736 rm -f conftest.err conftest.$ac_ext
16737 if $ac_preproc_ok; then
16738 :
16739 else
16740 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16741 See \`config.log' for more details." >&5
16742 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16743 See \`config.log' for more details." >&2;}
16744 { (exit 1); exit 1; }; }
16745 fi
16746
16747 ac_ext=c
16748 ac_cpp='$CPP $CPPFLAGS'
16749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16752
16753
16754 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16755 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16756 if test "${ac_cv_path_GREP+set}" = set; then
16757 echo $ECHO_N "(cached) $ECHO_C" >&6
16758 else
16759 # Extract the first word of "grep ggrep" to use in msg output
16760 if test -z "$GREP"; then
16761 set dummy grep ggrep; ac_prog_name=$2
16762 if test "${ac_cv_path_GREP+set}" = set; then
16763 echo $ECHO_N "(cached) $ECHO_C" >&6
16764 else
16765 ac_path_GREP_found=false
16766 # Loop through the user's path and test for each of PROGNAME-LIST
16767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16768 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16769 do
16770 IFS=$as_save_IFS
16771 test -z "$as_dir" && as_dir=.
16772 for ac_prog in grep ggrep; do
16773 for ac_exec_ext in '' $ac_executable_extensions; do
16774 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16775 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16776 # Check for GNU ac_path_GREP and select it if it is found.
16777 # Check for GNU $ac_path_GREP
16778 case `"$ac_path_GREP" --version 2>&1` in
16779 *GNU*)
16780 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16781 *)
16782 ac_count=0
16783 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16784 while :
16785 do
16786 cat "conftest.in" "conftest.in" >"conftest.tmp"
16787 mv "conftest.tmp" "conftest.in"
16788 cp "conftest.in" "conftest.nl"
16789 echo 'GREP' >> "conftest.nl"
16790 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16791 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16792 ac_count=`expr $ac_count + 1`
16793 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16794 # Best one so far, save it but keep looking for a better one
16795 ac_cv_path_GREP="$ac_path_GREP"
16796 ac_path_GREP_max=$ac_count
16797 fi
16798 # 10*(2^10) chars as input seems more than enough
16799 test $ac_count -gt 10 && break
16800 done
16801 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16802 esac
16803
16804
16805 $ac_path_GREP_found && break 3
16806 done
16807 done
16808
16809 done
16810 IFS=$as_save_IFS
16811
16812
16813 fi
16814
16815 GREP="$ac_cv_path_GREP"
16816 if test -z "$GREP"; then
16817 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16818 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16819 { (exit 1); exit 1; }; }
16820 fi
16821
16822 else
16823 ac_cv_path_GREP=$GREP
16824 fi
16825
16826
16827 fi
16828 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16829 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16830 GREP="$ac_cv_path_GREP"
16831
16832
16833 { echo "$as_me:$LINENO: checking for egrep" >&5
16834 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16835 if test "${ac_cv_path_EGREP+set}" = set; then
16836 echo $ECHO_N "(cached) $ECHO_C" >&6
16837 else
16838 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16839 then ac_cv_path_EGREP="$GREP -E"
16840 else
16841 # Extract the first word of "egrep" to use in msg output
16842 if test -z "$EGREP"; then
16843 set dummy egrep; ac_prog_name=$2
16844 if test "${ac_cv_path_EGREP+set}" = set; then
16845 echo $ECHO_N "(cached) $ECHO_C" >&6
16846 else
16847 ac_path_EGREP_found=false
16848 # Loop through the user's path and test for each of PROGNAME-LIST
16849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16850 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16851 do
16852 IFS=$as_save_IFS
16853 test -z "$as_dir" && as_dir=.
16854 for ac_prog in egrep; do
16855 for ac_exec_ext in '' $ac_executable_extensions; do
16856 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16857 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16858 # Check for GNU ac_path_EGREP and select it if it is found.
16859 # Check for GNU $ac_path_EGREP
16860 case `"$ac_path_EGREP" --version 2>&1` in
16861 *GNU*)
16862 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16863 *)
16864 ac_count=0
16865 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16866 while :
16867 do
16868 cat "conftest.in" "conftest.in" >"conftest.tmp"
16869 mv "conftest.tmp" "conftest.in"
16870 cp "conftest.in" "conftest.nl"
16871 echo 'EGREP' >> "conftest.nl"
16872 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16873 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16874 ac_count=`expr $ac_count + 1`
16875 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16876 # Best one so far, save it but keep looking for a better one
16877 ac_cv_path_EGREP="$ac_path_EGREP"
16878 ac_path_EGREP_max=$ac_count
16879 fi
16880 # 10*(2^10) chars as input seems more than enough
16881 test $ac_count -gt 10 && break
16882 done
16883 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16884 esac
16885
16886
16887 $ac_path_EGREP_found && break 3
16888 done
16889 done
16890
16891 done
16892 IFS=$as_save_IFS
16893
16894
16895 fi
16896
16897 EGREP="$ac_cv_path_EGREP"
16898 if test -z "$EGREP"; then
16899 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16900 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16901 { (exit 1); exit 1; }; }
16902 fi
16903
16904 else
16905 ac_cv_path_EGREP=$EGREP
16906 fi
16907
16908
16909 fi
16910 fi
16911 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16912 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16913 EGREP="$ac_cv_path_EGREP"
16914
16915
16916 if test $ac_cv_c_compiler_gnu = yes; then
16917 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16918 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16919 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16920 echo $ECHO_N "(cached) $ECHO_C" >&6
16921 else
16922 ac_pattern="Autoconf.*'x'"
16923 cat >conftest.$ac_ext <<_ACEOF
16924 /* confdefs.h. */
16925 _ACEOF
16926 cat confdefs.h >>conftest.$ac_ext
16927 cat >>conftest.$ac_ext <<_ACEOF
16928 /* end confdefs.h. */
16929 #include <sgtty.h>
16930 Autoconf TIOCGETP
16931 _ACEOF
16932 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16933 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16934 ac_cv_prog_gcc_traditional=yes
16935 else
16936 ac_cv_prog_gcc_traditional=no
16937 fi
16938 rm -f conftest*
16939
16940
16941 if test $ac_cv_prog_gcc_traditional = no; then
16942 cat >conftest.$ac_ext <<_ACEOF
16943 /* confdefs.h. */
16944 _ACEOF
16945 cat confdefs.h >>conftest.$ac_ext
16946 cat >>conftest.$ac_ext <<_ACEOF
16947 /* end confdefs.h. */
16948 #include <termio.h>
16949 Autoconf TCGETA
16950 _ACEOF
16951 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16952 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16953 ac_cv_prog_gcc_traditional=yes
16954 fi
16955 rm -f conftest*
16956
16957 fi
16958 fi
16959 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16960 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16961 if test $ac_cv_prog_gcc_traditional = yes; then
16962 CC="$CC -traditional"
16963 fi
16964 fi
16965
16966
16967 CXXFLAGS=${CXXFLAGS:=}
16968 ac_ext=cpp
16969 ac_cpp='$CXXCPP $CPPFLAGS'
16970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16973 if test -z "$CXX"; then
16974 if test -n "$CCC"; then
16975 CXX=$CCC
16976 else
16977 if test -n "$ac_tool_prefix"; then
16978 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16979 do
16980 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16981 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16982 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16984 if test "${ac_cv_prog_CXX+set}" = set; then
16985 echo $ECHO_N "(cached) $ECHO_C" >&6
16986 else
16987 if test -n "$CXX"; then
16988 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16989 else
16990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16991 for as_dir in $PATH
16992 do
16993 IFS=$as_save_IFS
16994 test -z "$as_dir" && as_dir=.
16995 for ac_exec_ext in '' $ac_executable_extensions; do
16996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16997 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16999 break 2
17000 fi
17001 done
17002 done
17003 IFS=$as_save_IFS
17004
17005 fi
17006 fi
17007 CXX=$ac_cv_prog_CXX
17008 if test -n "$CXX"; then
17009 { echo "$as_me:$LINENO: result: $CXX" >&5
17010 echo "${ECHO_T}$CXX" >&6; }
17011 else
17012 { echo "$as_me:$LINENO: result: no" >&5
17013 echo "${ECHO_T}no" >&6; }
17014 fi
17015
17016
17017 test -n "$CXX" && break
17018 done
17019 fi
17020 if test -z "$CXX"; then
17021 ac_ct_CXX=$CXX
17022 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17023 do
17024 # Extract the first word of "$ac_prog", so it can be a program name with args.
17025 set dummy $ac_prog; ac_word=$2
17026 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17028 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17029 echo $ECHO_N "(cached) $ECHO_C" >&6
17030 else
17031 if test -n "$ac_ct_CXX"; then
17032 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17033 else
17034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17035 for as_dir in $PATH
17036 do
17037 IFS=$as_save_IFS
17038 test -z "$as_dir" && as_dir=.
17039 for ac_exec_ext in '' $ac_executable_extensions; do
17040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17041 ac_cv_prog_ac_ct_CXX="$ac_prog"
17042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17043 break 2
17044 fi
17045 done
17046 done
17047 IFS=$as_save_IFS
17048
17049 fi
17050 fi
17051 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17052 if test -n "$ac_ct_CXX"; then
17053 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17054 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17055 else
17056 { echo "$as_me:$LINENO: result: no" >&5
17057 echo "${ECHO_T}no" >&6; }
17058 fi
17059
17060
17061 test -n "$ac_ct_CXX" && break
17062 done
17063
17064 if test "x$ac_ct_CXX" = x; then
17065 CXX="g++"
17066 else
17067 case $cross_compiling:$ac_tool_warned in
17068 yes:)
17069 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17070 whose name does not start with the host triplet. If you think this
17071 configuration is useful to you, please write to autoconf@gnu.org." >&5
17072 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17073 whose name does not start with the host triplet. If you think this
17074 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17075 ac_tool_warned=yes ;;
17076 esac
17077 CXX=$ac_ct_CXX
17078 fi
17079 fi
17080
17081 fi
17082 fi
17083 # Provide some information about the compiler.
17084 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17085 ac_compiler=`set X $ac_compile; echo $2`
17086 { (ac_try="$ac_compiler --version >&5"
17087 case "(($ac_try" in
17088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17089 *) ac_try_echo=$ac_try;;
17090 esac
17091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17092 (eval "$ac_compiler --version >&5") 2>&5
17093 ac_status=$?
17094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17095 (exit $ac_status); }
17096 { (ac_try="$ac_compiler -v >&5"
17097 case "(($ac_try" in
17098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17099 *) ac_try_echo=$ac_try;;
17100 esac
17101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17102 (eval "$ac_compiler -v >&5") 2>&5
17103 ac_status=$?
17104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17105 (exit $ac_status); }
17106 { (ac_try="$ac_compiler -V >&5"
17107 case "(($ac_try" in
17108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17109 *) ac_try_echo=$ac_try;;
17110 esac
17111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17112 (eval "$ac_compiler -V >&5") 2>&5
17113 ac_status=$?
17114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17115 (exit $ac_status); }
17116
17117 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17118 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17119 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17120 echo $ECHO_N "(cached) $ECHO_C" >&6
17121 else
17122 cat >conftest.$ac_ext <<_ACEOF
17123 /* confdefs.h. */
17124 _ACEOF
17125 cat confdefs.h >>conftest.$ac_ext
17126 cat >>conftest.$ac_ext <<_ACEOF
17127 /* end confdefs.h. */
17128
17129 int
17130 main ()
17131 {
17132 #ifndef __GNUC__
17133 choke me
17134 #endif
17135
17136 ;
17137 return 0;
17138 }
17139 _ACEOF
17140 rm -f conftest.$ac_objext
17141 if { (ac_try="$ac_compile"
17142 case "(($ac_try" in
17143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17144 *) ac_try_echo=$ac_try;;
17145 esac
17146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17147 (eval "$ac_compile") 2>conftest.er1
17148 ac_status=$?
17149 grep -v '^ *+' conftest.er1 >conftest.err
17150 rm -f conftest.er1
17151 cat conftest.err >&5
17152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17153 (exit $ac_status); } && {
17154 test -z "$ac_cxx_werror_flag" ||
17155 test ! -s conftest.err
17156 } && test -s conftest.$ac_objext; then
17157 ac_compiler_gnu=yes
17158 else
17159 echo "$as_me: failed program was:" >&5
17160 sed 's/^/| /' conftest.$ac_ext >&5
17161
17162 ac_compiler_gnu=no
17163 fi
17164
17165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17166 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17167
17168 fi
17169 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17170 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17171 GXX=`test $ac_compiler_gnu = yes && echo yes`
17172 ac_test_CXXFLAGS=${CXXFLAGS+set}
17173 ac_save_CXXFLAGS=$CXXFLAGS
17174 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17175 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17176 if test "${ac_cv_prog_cxx_g+set}" = set; then
17177 echo $ECHO_N "(cached) $ECHO_C" >&6
17178 else
17179 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17180 ac_cxx_werror_flag=yes
17181 ac_cv_prog_cxx_g=no
17182 CXXFLAGS="-g"
17183 cat >conftest.$ac_ext <<_ACEOF
17184 /* confdefs.h. */
17185 _ACEOF
17186 cat confdefs.h >>conftest.$ac_ext
17187 cat >>conftest.$ac_ext <<_ACEOF
17188 /* end confdefs.h. */
17189
17190 int
17191 main ()
17192 {
17193
17194 ;
17195 return 0;
17196 }
17197 _ACEOF
17198 rm -f conftest.$ac_objext
17199 if { (ac_try="$ac_compile"
17200 case "(($ac_try" in
17201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17202 *) ac_try_echo=$ac_try;;
17203 esac
17204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17205 (eval "$ac_compile") 2>conftest.er1
17206 ac_status=$?
17207 grep -v '^ *+' conftest.er1 >conftest.err
17208 rm -f conftest.er1
17209 cat conftest.err >&5
17210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17211 (exit $ac_status); } && {
17212 test -z "$ac_cxx_werror_flag" ||
17213 test ! -s conftest.err
17214 } && test -s conftest.$ac_objext; then
17215 ac_cv_prog_cxx_g=yes
17216 else
17217 echo "$as_me: failed program was:" >&5
17218 sed 's/^/| /' conftest.$ac_ext >&5
17219
17220 CXXFLAGS=""
17221 cat >conftest.$ac_ext <<_ACEOF
17222 /* confdefs.h. */
17223 _ACEOF
17224 cat confdefs.h >>conftest.$ac_ext
17225 cat >>conftest.$ac_ext <<_ACEOF
17226 /* end confdefs.h. */
17227
17228 int
17229 main ()
17230 {
17231
17232 ;
17233 return 0;
17234 }
17235 _ACEOF
17236 rm -f conftest.$ac_objext
17237 if { (ac_try="$ac_compile"
17238 case "(($ac_try" in
17239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17240 *) ac_try_echo=$ac_try;;
17241 esac
17242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17243 (eval "$ac_compile") 2>conftest.er1
17244 ac_status=$?
17245 grep -v '^ *+' conftest.er1 >conftest.err
17246 rm -f conftest.er1
17247 cat conftest.err >&5
17248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17249 (exit $ac_status); } && {
17250 test -z "$ac_cxx_werror_flag" ||
17251 test ! -s conftest.err
17252 } && test -s conftest.$ac_objext; then
17253 :
17254 else
17255 echo "$as_me: failed program was:" >&5
17256 sed 's/^/| /' conftest.$ac_ext >&5
17257
17258 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17259 CXXFLAGS="-g"
17260 cat >conftest.$ac_ext <<_ACEOF
17261 /* confdefs.h. */
17262 _ACEOF
17263 cat confdefs.h >>conftest.$ac_ext
17264 cat >>conftest.$ac_ext <<_ACEOF
17265 /* end confdefs.h. */
17266
17267 int
17268 main ()
17269 {
17270
17271 ;
17272 return 0;
17273 }
17274 _ACEOF
17275 rm -f conftest.$ac_objext
17276 if { (ac_try="$ac_compile"
17277 case "(($ac_try" in
17278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17279 *) ac_try_echo=$ac_try;;
17280 esac
17281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17282 (eval "$ac_compile") 2>conftest.er1
17283 ac_status=$?
17284 grep -v '^ *+' conftest.er1 >conftest.err
17285 rm -f conftest.er1
17286 cat conftest.err >&5
17287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17288 (exit $ac_status); } && {
17289 test -z "$ac_cxx_werror_flag" ||
17290 test ! -s conftest.err
17291 } && test -s conftest.$ac_objext; then
17292 ac_cv_prog_cxx_g=yes
17293 else
17294 echo "$as_me: failed program was:" >&5
17295 sed 's/^/| /' conftest.$ac_ext >&5
17296
17297
17298 fi
17299
17300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17301 fi
17302
17303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17304 fi
17305
17306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17307 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17308 fi
17309 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17310 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17311 if test "$ac_test_CXXFLAGS" = set; then
17312 CXXFLAGS=$ac_save_CXXFLAGS
17313 elif test $ac_cv_prog_cxx_g = yes; then
17314 if test "$GXX" = yes; then
17315 CXXFLAGS="-g -O2"
17316 else
17317 CXXFLAGS="-g"
17318 fi
17319 else
17320 if test "$GXX" = yes; then
17321 CXXFLAGS="-O2"
17322 else
17323 CXXFLAGS=
17324 fi
17325 fi
17326 ac_ext=c
17327 ac_cpp='$CPP $CPPFLAGS'
17328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17331
17332
17333
17334
17335
17336
17337
17338
17339 ac_ext=cpp
17340 ac_cpp='$CXXCPP $CPPFLAGS'
17341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17344
17345 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17346 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17347 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17348 echo $ECHO_N "(cached) $ECHO_C" >&6
17349 else
17350 cat >conftest.$ac_ext <<_ACEOF
17351 /* confdefs.h. */
17352 _ACEOF
17353 cat confdefs.h >>conftest.$ac_ext
17354 cat >>conftest.$ac_ext <<_ACEOF
17355 /* end confdefs.h. */
17356
17357 int
17358 main ()
17359 {
17360
17361 #ifndef __INTEL_COMPILER
17362 choke me
17363 #endif
17364
17365 ;
17366 return 0;
17367 }
17368 _ACEOF
17369 rm -f conftest.$ac_objext
17370 if { (ac_try="$ac_compile"
17371 case "(($ac_try" in
17372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17373 *) ac_try_echo=$ac_try;;
17374 esac
17375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17376 (eval "$ac_compile") 2>conftest.er1
17377 ac_status=$?
17378 grep -v '^ *+' conftest.er1 >conftest.err
17379 rm -f conftest.er1
17380 cat conftest.err >&5
17381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17382 (exit $ac_status); } && {
17383 test -z "$ac_cxx_werror_flag" ||
17384 test ! -s conftest.err
17385 } && test -s conftest.$ac_objext; then
17386 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17387 else
17388 echo "$as_me: failed program was:" >&5
17389 sed 's/^/| /' conftest.$ac_ext >&5
17390
17391 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17392
17393 fi
17394
17395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17396
17397
17398 fi
17399 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17400 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17401 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17402 :; INTELCXX=yes
17403 else
17404 :;
17405 fi
17406 ac_ext=c
17407 ac_cpp='$CPP $CPPFLAGS'
17408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17411
17412
17413
17414
17415 if test "$INTELCXX" = "yes"; then
17416
17417
17418 ac_ext=cpp
17419 ac_cpp='$CXXCPP $CPPFLAGS'
17420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17423
17424 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17425 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17426 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17427 echo $ECHO_N "(cached) $ECHO_C" >&6
17428 else
17429 cat >conftest.$ac_ext <<_ACEOF
17430 /* confdefs.h. */
17431 _ACEOF
17432 cat confdefs.h >>conftest.$ac_ext
17433 cat >>conftest.$ac_ext <<_ACEOF
17434 /* end confdefs.h. */
17435
17436 int
17437 main ()
17438 {
17439
17440 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17441 choke me
17442 #endif
17443
17444 ;
17445 return 0;
17446 }
17447 _ACEOF
17448 rm -f conftest.$ac_objext
17449 if { (ac_try="$ac_compile"
17450 case "(($ac_try" in
17451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17452 *) ac_try_echo=$ac_try;;
17453 esac
17454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17455 (eval "$ac_compile") 2>conftest.er1
17456 ac_status=$?
17457 grep -v '^ *+' conftest.er1 >conftest.err
17458 rm -f conftest.er1
17459 cat conftest.err >&5
17460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17461 (exit $ac_status); } && {
17462 test -z "$ac_cxx_werror_flag" ||
17463 test ! -s conftest.err
17464 } && test -s conftest.$ac_objext; then
17465 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17466 else
17467 echo "$as_me: failed program was:" >&5
17468 sed 's/^/| /' conftest.$ac_ext >&5
17469
17470 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17471
17472 fi
17473
17474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17475
17476
17477 fi
17478 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17479 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17480 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17481 :; INTELCXX8=yes
17482 else
17483 :;
17484 fi
17485 ac_ext=c
17486 ac_cpp='$CPP $CPPFLAGS'
17487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17490
17491
17492
17493
17494
17495 ac_ext=cpp
17496 ac_cpp='$CXXCPP $CPPFLAGS'
17497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17500
17501 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17502 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17503 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17504 echo $ECHO_N "(cached) $ECHO_C" >&6
17505 else
17506 cat >conftest.$ac_ext <<_ACEOF
17507 /* confdefs.h. */
17508 _ACEOF
17509 cat confdefs.h >>conftest.$ac_ext
17510 cat >>conftest.$ac_ext <<_ACEOF
17511 /* end confdefs.h. */
17512
17513 int
17514 main ()
17515 {
17516
17517 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17518 choke me
17519 #endif
17520
17521 ;
17522 return 0;
17523 }
17524 _ACEOF
17525 rm -f conftest.$ac_objext
17526 if { (ac_try="$ac_compile"
17527 case "(($ac_try" in
17528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17529 *) ac_try_echo=$ac_try;;
17530 esac
17531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17532 (eval "$ac_compile") 2>conftest.er1
17533 ac_status=$?
17534 grep -v '^ *+' conftest.er1 >conftest.err
17535 rm -f conftest.er1
17536 cat conftest.err >&5
17537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17538 (exit $ac_status); } && {
17539 test -z "$ac_cxx_werror_flag" ||
17540 test ! -s conftest.err
17541 } && test -s conftest.$ac_objext; then
17542 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17543 else
17544 echo "$as_me: failed program was:" >&5
17545 sed 's/^/| /' conftest.$ac_ext >&5
17546
17547 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17548
17549 fi
17550
17551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17552
17553
17554 fi
17555 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17556 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17557 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17558 :; INTELCXX10=yes
17559 else
17560 :;
17561 fi
17562 ac_ext=c
17563 ac_cpp='$CPP $CPPFLAGS'
17564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17567
17568
17569
17570 fi
17571
17572 if test "x$GCXX" != "xyes"; then
17573 if test "xCXX" = "xC"; then
17574 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17575 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17576 if test "${bakefile_cv_c_exto+set}" = set; then
17577 echo $ECHO_N "(cached) $ECHO_C" >&6
17578 else
17579 cat >conftest.$ac_ext <<_ACEOF
17580 /* confdefs.h. */
17581 _ACEOF
17582 cat confdefs.h >>conftest.$ac_ext
17583 cat >>conftest.$ac_ext <<_ACEOF
17584 /* end confdefs.h. */
17585
17586 int
17587 main ()
17588 {
17589
17590 ;
17591 return 0;
17592 }
17593 _ACEOF
17594 rm -f conftest.$ac_objext conftest.$ac_ext.o
17595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17596 (eval $ac_compile) 2>&5
17597 ac_status=$?
17598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17599 (exit $ac_status); }; then
17600 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17601 case $ac_file in
17602 conftest.$ac_ext.o)
17603 bakefile_cv_c_exto="-ext o"
17604 ;;
17605 *)
17606 ;;
17607 esac
17608 done
17609 else
17610 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17611 See \`config.log' for more details." >&5
17612 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17613 See \`config.log' for more details." >&2;}
17614 { (exit 1); exit 1; }; }
17615
17616 fi
17617
17618 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17619
17620 fi
17621 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17622 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17623 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17624 if test "c" = "c"; then
17625 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17626 fi
17627 if test "c" = "cxx"; then
17628 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17629 fi
17630 fi
17631
17632 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17633 unset ac_cv_prog_cc_g
17634 ac_test_CFLAGS=${CFLAGS+set}
17635 ac_save_CFLAGS=$CFLAGS
17636 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17637 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17638 if test "${ac_cv_prog_cc_g+set}" = set; then
17639 echo $ECHO_N "(cached) $ECHO_C" >&6
17640 else
17641 ac_save_c_werror_flag=$ac_c_werror_flag
17642 ac_c_werror_flag=yes
17643 ac_cv_prog_cc_g=no
17644 CFLAGS="-g"
17645 cat >conftest.$ac_ext <<_ACEOF
17646 /* confdefs.h. */
17647 _ACEOF
17648 cat confdefs.h >>conftest.$ac_ext
17649 cat >>conftest.$ac_ext <<_ACEOF
17650 /* end confdefs.h. */
17651
17652 int
17653 main ()
17654 {
17655
17656 ;
17657 return 0;
17658 }
17659 _ACEOF
17660 rm -f conftest.$ac_objext
17661 if { (ac_try="$ac_compile"
17662 case "(($ac_try" in
17663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17664 *) ac_try_echo=$ac_try;;
17665 esac
17666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17667 (eval "$ac_compile") 2>conftest.er1
17668 ac_status=$?
17669 grep -v '^ *+' conftest.er1 >conftest.err
17670 rm -f conftest.er1
17671 cat conftest.err >&5
17672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17673 (exit $ac_status); } && {
17674 test -z "$ac_c_werror_flag" ||
17675 test ! -s conftest.err
17676 } && test -s conftest.$ac_objext; then
17677 ac_cv_prog_cc_g=yes
17678 else
17679 echo "$as_me: failed program was:" >&5
17680 sed 's/^/| /' conftest.$ac_ext >&5
17681
17682 CFLAGS=""
17683 cat >conftest.$ac_ext <<_ACEOF
17684 /* confdefs.h. */
17685 _ACEOF
17686 cat confdefs.h >>conftest.$ac_ext
17687 cat >>conftest.$ac_ext <<_ACEOF
17688 /* end confdefs.h. */
17689
17690 int
17691 main ()
17692 {
17693
17694 ;
17695 return 0;
17696 }
17697 _ACEOF
17698 rm -f conftest.$ac_objext
17699 if { (ac_try="$ac_compile"
17700 case "(($ac_try" in
17701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17702 *) ac_try_echo=$ac_try;;
17703 esac
17704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17705 (eval "$ac_compile") 2>conftest.er1
17706 ac_status=$?
17707 grep -v '^ *+' conftest.er1 >conftest.err
17708 rm -f conftest.er1
17709 cat conftest.err >&5
17710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711 (exit $ac_status); } && {
17712 test -z "$ac_c_werror_flag" ||
17713 test ! -s conftest.err
17714 } && test -s conftest.$ac_objext; then
17715 :
17716 else
17717 echo "$as_me: failed program was:" >&5
17718 sed 's/^/| /' conftest.$ac_ext >&5
17719
17720 ac_c_werror_flag=$ac_save_c_werror_flag
17721 CFLAGS="-g"
17722 cat >conftest.$ac_ext <<_ACEOF
17723 /* confdefs.h. */
17724 _ACEOF
17725 cat confdefs.h >>conftest.$ac_ext
17726 cat >>conftest.$ac_ext <<_ACEOF
17727 /* end confdefs.h. */
17728
17729 int
17730 main ()
17731 {
17732
17733 ;
17734 return 0;
17735 }
17736 _ACEOF
17737 rm -f conftest.$ac_objext
17738 if { (ac_try="$ac_compile"
17739 case "(($ac_try" in
17740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17741 *) ac_try_echo=$ac_try;;
17742 esac
17743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17744 (eval "$ac_compile") 2>conftest.er1
17745 ac_status=$?
17746 grep -v '^ *+' conftest.er1 >conftest.err
17747 rm -f conftest.er1
17748 cat conftest.err >&5
17749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17750 (exit $ac_status); } && {
17751 test -z "$ac_c_werror_flag" ||
17752 test ! -s conftest.err
17753 } && test -s conftest.$ac_objext; then
17754 ac_cv_prog_cc_g=yes
17755 else
17756 echo "$as_me: failed program was:" >&5
17757 sed 's/^/| /' conftest.$ac_ext >&5
17758
17759
17760 fi
17761
17762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17763 fi
17764
17765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17766 fi
17767
17768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17769 ac_c_werror_flag=$ac_save_c_werror_flag
17770 fi
17771 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17772 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17773 if test "$ac_test_CFLAGS" = set; then
17774 CFLAGS=$ac_save_CFLAGS
17775 elif test $ac_cv_prog_cc_g = yes; then
17776 if test "$GCC" = yes; then
17777 CFLAGS="-g -O2"
17778 else
17779 CFLAGS="-g"
17780 fi
17781 else
17782 if test "$GCC" = yes; then
17783 CFLAGS="-O2"
17784 else
17785 CFLAGS=
17786 fi
17787 fi
17788 fi
17789 fi
17790
17791 case `uname -s` in
17792 AIX*)
17793
17794
17795 ac_ext=cpp
17796 ac_cpp='$CXXCPP $CPPFLAGS'
17797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17800
17801 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17802 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17803 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17804 echo $ECHO_N "(cached) $ECHO_C" >&6
17805 else
17806 cat >conftest.$ac_ext <<_ACEOF
17807 /* confdefs.h. */
17808 _ACEOF
17809 cat confdefs.h >>conftest.$ac_ext
17810 cat >>conftest.$ac_ext <<_ACEOF
17811 /* end confdefs.h. */
17812
17813 int
17814 main ()
17815 {
17816
17817 #ifndef __xlC__
17818 choke me
17819 #endif
17820
17821 ;
17822 return 0;
17823 }
17824 _ACEOF
17825 rm -f conftest.$ac_objext
17826 if { (ac_try="$ac_compile"
17827 case "(($ac_try" in
17828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17829 *) ac_try_echo=$ac_try;;
17830 esac
17831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17832 (eval "$ac_compile") 2>conftest.er1
17833 ac_status=$?
17834 grep -v '^ *+' conftest.er1 >conftest.err
17835 rm -f conftest.er1
17836 cat conftest.err >&5
17837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17838 (exit $ac_status); } && {
17839 test -z "$ac_cxx_werror_flag" ||
17840 test ! -s conftest.err
17841 } && test -s conftest.$ac_objext; then
17842 bakefile_cv_cxx_compiler___xlC__=yes
17843 else
17844 echo "$as_me: failed program was:" >&5
17845 sed 's/^/| /' conftest.$ac_ext >&5
17846
17847 bakefile_cv_cxx_compiler___xlC__=no
17848
17849 fi
17850
17851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17852
17853
17854 fi
17855 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17856 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17857 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17858 :; XLCXX=yes
17859 else
17860 :;
17861 fi
17862 ac_ext=c
17863 ac_cpp='$CPP $CPPFLAGS'
17864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17867
17868
17869
17870 ;;
17871
17872 Darwin)
17873
17874
17875 ac_ext=cpp
17876 ac_cpp='$CXXCPP $CPPFLAGS'
17877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17880
17881 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17882 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17883 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17884 echo $ECHO_N "(cached) $ECHO_C" >&6
17885 else
17886 cat >conftest.$ac_ext <<_ACEOF
17887 /* confdefs.h. */
17888 _ACEOF
17889 cat confdefs.h >>conftest.$ac_ext
17890 cat >>conftest.$ac_ext <<_ACEOF
17891 /* end confdefs.h. */
17892
17893 int
17894 main ()
17895 {
17896
17897 #ifndef __MWERKS__
17898 choke me
17899 #endif
17900
17901 ;
17902 return 0;
17903 }
17904 _ACEOF
17905 rm -f conftest.$ac_objext
17906 if { (ac_try="$ac_compile"
17907 case "(($ac_try" in
17908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17909 *) ac_try_echo=$ac_try;;
17910 esac
17911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17912 (eval "$ac_compile") 2>conftest.er1
17913 ac_status=$?
17914 grep -v '^ *+' conftest.er1 >conftest.err
17915 rm -f conftest.er1
17916 cat conftest.err >&5
17917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17918 (exit $ac_status); } && {
17919 test -z "$ac_cxx_werror_flag" ||
17920 test ! -s conftest.err
17921 } && test -s conftest.$ac_objext; then
17922 bakefile_cv_cxx_compiler___MWERKS__=yes
17923 else
17924 echo "$as_me: failed program was:" >&5
17925 sed 's/^/| /' conftest.$ac_ext >&5
17926
17927 bakefile_cv_cxx_compiler___MWERKS__=no
17928
17929 fi
17930
17931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17932
17933
17934 fi
17935 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17936 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17937 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17938 :; MWCXX=yes
17939 else
17940 :;
17941 fi
17942 ac_ext=c
17943 ac_cpp='$CPP $CPPFLAGS'
17944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17947
17948
17949
17950 if test "$MWCXX" != "yes"; then
17951
17952
17953 ac_ext=cpp
17954 ac_cpp='$CXXCPP $CPPFLAGS'
17955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17958
17959 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17960 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17961 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17962 echo $ECHO_N "(cached) $ECHO_C" >&6
17963 else
17964 cat >conftest.$ac_ext <<_ACEOF
17965 /* confdefs.h. */
17966 _ACEOF
17967 cat confdefs.h >>conftest.$ac_ext
17968 cat >>conftest.$ac_ext <<_ACEOF
17969 /* end confdefs.h. */
17970
17971 int
17972 main ()
17973 {
17974
17975 #ifndef __xlC__
17976 choke me
17977 #endif
17978
17979 ;
17980 return 0;
17981 }
17982 _ACEOF
17983 rm -f conftest.$ac_objext
17984 if { (ac_try="$ac_compile"
17985 case "(($ac_try" in
17986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17987 *) ac_try_echo=$ac_try;;
17988 esac
17989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17990 (eval "$ac_compile") 2>conftest.er1
17991 ac_status=$?
17992 grep -v '^ *+' conftest.er1 >conftest.err
17993 rm -f conftest.er1
17994 cat conftest.err >&5
17995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17996 (exit $ac_status); } && {
17997 test -z "$ac_cxx_werror_flag" ||
17998 test ! -s conftest.err
17999 } && test -s conftest.$ac_objext; then
18000 bakefile_cv_cxx_compiler___xlC__=yes
18001 else
18002 echo "$as_me: failed program was:" >&5
18003 sed 's/^/| /' conftest.$ac_ext >&5
18004
18005 bakefile_cv_cxx_compiler___xlC__=no
18006
18007 fi
18008
18009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18010
18011
18012 fi
18013 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18014 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18015 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18016 :; XLCXX=yes
18017 else
18018 :;
18019 fi
18020 ac_ext=c
18021 ac_cpp='$CPP $CPPFLAGS'
18022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18025
18026
18027
18028 fi
18029 ;;
18030
18031 IRIX*)
18032
18033
18034 ac_ext=cpp
18035 ac_cpp='$CXXCPP $CPPFLAGS'
18036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18039
18040 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18041 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18042 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18043 echo $ECHO_N "(cached) $ECHO_C" >&6
18044 else
18045 cat >conftest.$ac_ext <<_ACEOF
18046 /* confdefs.h. */
18047 _ACEOF
18048 cat confdefs.h >>conftest.$ac_ext
18049 cat >>conftest.$ac_ext <<_ACEOF
18050 /* end confdefs.h. */
18051
18052 int
18053 main ()
18054 {
18055
18056 #ifndef _SGI_COMPILER_VERSION
18057 choke me
18058 #endif
18059
18060 ;
18061 return 0;
18062 }
18063 _ACEOF
18064 rm -f conftest.$ac_objext
18065 if { (ac_try="$ac_compile"
18066 case "(($ac_try" in
18067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18068 *) ac_try_echo=$ac_try;;
18069 esac
18070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18071 (eval "$ac_compile") 2>conftest.er1
18072 ac_status=$?
18073 grep -v '^ *+' conftest.er1 >conftest.err
18074 rm -f conftest.er1
18075 cat conftest.err >&5
18076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18077 (exit $ac_status); } && {
18078 test -z "$ac_cxx_werror_flag" ||
18079 test ! -s conftest.err
18080 } && test -s conftest.$ac_objext; then
18081 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18082 else
18083 echo "$as_me: failed program was:" >&5
18084 sed 's/^/| /' conftest.$ac_ext >&5
18085
18086 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18087
18088 fi
18089
18090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18091
18092
18093 fi
18094 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18095 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18096 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18097 :; SGICXX=yes
18098 else
18099 :;
18100 fi
18101 ac_ext=c
18102 ac_cpp='$CPP $CPPFLAGS'
18103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18106
18107
18108
18109 ;;
18110
18111 Linux*)
18112 if test "$INTELCXX" != "yes"; then
18113
18114
18115 ac_ext=cpp
18116 ac_cpp='$CXXCPP $CPPFLAGS'
18117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18120
18121 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18122 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18123 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18124 echo $ECHO_N "(cached) $ECHO_C" >&6
18125 else
18126 cat >conftest.$ac_ext <<_ACEOF
18127 /* confdefs.h. */
18128 _ACEOF
18129 cat confdefs.h >>conftest.$ac_ext
18130 cat >>conftest.$ac_ext <<_ACEOF
18131 /* end confdefs.h. */
18132
18133 int
18134 main ()
18135 {
18136
18137 #ifndef __SUNPRO_CC
18138 choke me
18139 #endif
18140
18141 ;
18142 return 0;
18143 }
18144 _ACEOF
18145 rm -f conftest.$ac_objext
18146 if { (ac_try="$ac_compile"
18147 case "(($ac_try" in
18148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18149 *) ac_try_echo=$ac_try;;
18150 esac
18151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18152 (eval "$ac_compile") 2>conftest.er1
18153 ac_status=$?
18154 grep -v '^ *+' conftest.er1 >conftest.err
18155 rm -f conftest.er1
18156 cat conftest.err >&5
18157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18158 (exit $ac_status); } && {
18159 test -z "$ac_cxx_werror_flag" ||
18160 test ! -s conftest.err
18161 } && test -s conftest.$ac_objext; then
18162 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18163 else
18164 echo "$as_me: failed program was:" >&5
18165 sed 's/^/| /' conftest.$ac_ext >&5
18166
18167 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18168
18169 fi
18170
18171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18172
18173
18174 fi
18175 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18176 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18177 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18178 :; SUNCXX=yes
18179 else
18180 :;
18181 fi
18182 ac_ext=c
18183 ac_cpp='$CPP $CPPFLAGS'
18184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18187
18188
18189
18190 fi
18191 ;;
18192
18193 HP-UX*)
18194
18195
18196 ac_ext=cpp
18197 ac_cpp='$CXXCPP $CPPFLAGS'
18198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18201
18202 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18203 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18204 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18205 echo $ECHO_N "(cached) $ECHO_C" >&6
18206 else
18207 cat >conftest.$ac_ext <<_ACEOF
18208 /* confdefs.h. */
18209 _ACEOF
18210 cat confdefs.h >>conftest.$ac_ext
18211 cat >>conftest.$ac_ext <<_ACEOF
18212 /* end confdefs.h. */
18213
18214 int
18215 main ()
18216 {
18217
18218 #ifndef __HP_aCC
18219 choke me
18220 #endif
18221
18222 ;
18223 return 0;
18224 }
18225 _ACEOF
18226 rm -f conftest.$ac_objext
18227 if { (ac_try="$ac_compile"
18228 case "(($ac_try" in
18229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18230 *) ac_try_echo=$ac_try;;
18231 esac
18232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18233 (eval "$ac_compile") 2>conftest.er1
18234 ac_status=$?
18235 grep -v '^ *+' conftest.er1 >conftest.err
18236 rm -f conftest.er1
18237 cat conftest.err >&5
18238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18239 (exit $ac_status); } && {
18240 test -z "$ac_cxx_werror_flag" ||
18241 test ! -s conftest.err
18242 } && test -s conftest.$ac_objext; then
18243 bakefile_cv_cxx_compiler___HP_aCC=yes
18244 else
18245 echo "$as_me: failed program was:" >&5
18246 sed 's/^/| /' conftest.$ac_ext >&5
18247
18248 bakefile_cv_cxx_compiler___HP_aCC=no
18249
18250 fi
18251
18252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18253
18254
18255 fi
18256 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18257 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18258 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18259 :; HPCXX=yes
18260 else
18261 :;
18262 fi
18263 ac_ext=c
18264 ac_cpp='$CPP $CPPFLAGS'
18265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18268
18269
18270
18271 ;;
18272
18273 OSF1)
18274
18275
18276 ac_ext=cpp
18277 ac_cpp='$CXXCPP $CPPFLAGS'
18278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18281
18282 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18283 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18284 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18285 echo $ECHO_N "(cached) $ECHO_C" >&6
18286 else
18287 cat >conftest.$ac_ext <<_ACEOF
18288 /* confdefs.h. */
18289 _ACEOF
18290 cat confdefs.h >>conftest.$ac_ext
18291 cat >>conftest.$ac_ext <<_ACEOF
18292 /* end confdefs.h. */
18293
18294 int
18295 main ()
18296 {
18297
18298 #ifndef __DECCXX
18299 choke me
18300 #endif
18301
18302 ;
18303 return 0;
18304 }
18305 _ACEOF
18306 rm -f conftest.$ac_objext
18307 if { (ac_try="$ac_compile"
18308 case "(($ac_try" in
18309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18310 *) ac_try_echo=$ac_try;;
18311 esac
18312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18313 (eval "$ac_compile") 2>conftest.er1
18314 ac_status=$?
18315 grep -v '^ *+' conftest.er1 >conftest.err
18316 rm -f conftest.er1
18317 cat conftest.err >&5
18318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18319 (exit $ac_status); } && {
18320 test -z "$ac_cxx_werror_flag" ||
18321 test ! -s conftest.err
18322 } && test -s conftest.$ac_objext; then
18323 bakefile_cv_cxx_compiler___DECCXX=yes
18324 else
18325 echo "$as_me: failed program was:" >&5
18326 sed 's/^/| /' conftest.$ac_ext >&5
18327
18328 bakefile_cv_cxx_compiler___DECCXX=no
18329
18330 fi
18331
18332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18333
18334
18335 fi
18336 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18337 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18338 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18339 :; COMPAQCXX=yes
18340 else
18341 :;
18342 fi
18343 ac_ext=c
18344 ac_cpp='$CPP $CPPFLAGS'
18345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18348
18349
18350
18351 ;;
18352
18353 SunOS)
18354
18355
18356 ac_ext=cpp
18357 ac_cpp='$CXXCPP $CPPFLAGS'
18358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18361
18362 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18363 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18364 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18365 echo $ECHO_N "(cached) $ECHO_C" >&6
18366 else
18367 cat >conftest.$ac_ext <<_ACEOF
18368 /* confdefs.h. */
18369 _ACEOF
18370 cat confdefs.h >>conftest.$ac_ext
18371 cat >>conftest.$ac_ext <<_ACEOF
18372 /* end confdefs.h. */
18373
18374 int
18375 main ()
18376 {
18377
18378 #ifndef __SUNPRO_CC
18379 choke me
18380 #endif
18381
18382 ;
18383 return 0;
18384 }
18385 _ACEOF
18386 rm -f conftest.$ac_objext
18387 if { (ac_try="$ac_compile"
18388 case "(($ac_try" in
18389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18390 *) ac_try_echo=$ac_try;;
18391 esac
18392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18393 (eval "$ac_compile") 2>conftest.er1
18394 ac_status=$?
18395 grep -v '^ *+' conftest.er1 >conftest.err
18396 rm -f conftest.er1
18397 cat conftest.err >&5
18398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18399 (exit $ac_status); } && {
18400 test -z "$ac_cxx_werror_flag" ||
18401 test ! -s conftest.err
18402 } && test -s conftest.$ac_objext; then
18403 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18404 else
18405 echo "$as_me: failed program was:" >&5
18406 sed 's/^/| /' conftest.$ac_ext >&5
18407
18408 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18409
18410 fi
18411
18412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18413
18414
18415 fi
18416 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18417 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18418 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18419 :; SUNCXX=yes
18420 else
18421 :;
18422 fi
18423 ac_ext=c
18424 ac_cpp='$CPP $CPPFLAGS'
18425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18428
18429
18430
18431 ;;
18432 esac
18433 fi
18434
18435
18436
18437 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18438 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18439 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18440 { (exit 1); exit 1; }; }
18441 fi
18442
18443 if test "x$SUNCXX" != xyes; then
18444 if test -n "$ac_tool_prefix"; then
18445 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18446 set dummy ${ac_tool_prefix}ar; ac_word=$2
18447 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18449 if test "${ac_cv_prog_AR+set}" = set; then
18450 echo $ECHO_N "(cached) $ECHO_C" >&6
18451 else
18452 if test -n "$AR"; then
18453 ac_cv_prog_AR="$AR" # Let the user override the test.
18454 else
18455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18456 for as_dir in $PATH
18457 do
18458 IFS=$as_save_IFS
18459 test -z "$as_dir" && as_dir=.
18460 for ac_exec_ext in '' $ac_executable_extensions; do
18461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18462 ac_cv_prog_AR="${ac_tool_prefix}ar"
18463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18464 break 2
18465 fi
18466 done
18467 done
18468 IFS=$as_save_IFS
18469
18470 fi
18471 fi
18472 AR=$ac_cv_prog_AR
18473 if test -n "$AR"; then
18474 { echo "$as_me:$LINENO: result: $AR" >&5
18475 echo "${ECHO_T}$AR" >&6; }
18476 else
18477 { echo "$as_me:$LINENO: result: no" >&5
18478 echo "${ECHO_T}no" >&6; }
18479 fi
18480
18481
18482 fi
18483 if test -z "$ac_cv_prog_AR"; then
18484 ac_ct_AR=$AR
18485 # Extract the first word of "ar", so it can be a program name with args.
18486 set dummy ar; ac_word=$2
18487 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18489 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18490 echo $ECHO_N "(cached) $ECHO_C" >&6
18491 else
18492 if test -n "$ac_ct_AR"; then
18493 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18494 else
18495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18496 for as_dir in $PATH
18497 do
18498 IFS=$as_save_IFS
18499 test -z "$as_dir" && as_dir=.
18500 for ac_exec_ext in '' $ac_executable_extensions; do
18501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18502 ac_cv_prog_ac_ct_AR="ar"
18503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18504 break 2
18505 fi
18506 done
18507 done
18508 IFS=$as_save_IFS
18509
18510 fi
18511 fi
18512 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18513 if test -n "$ac_ct_AR"; then
18514 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18515 echo "${ECHO_T}$ac_ct_AR" >&6; }
18516 else
18517 { echo "$as_me:$LINENO: result: no" >&5
18518 echo "${ECHO_T}no" >&6; }
18519 fi
18520
18521 if test "x$ac_ct_AR" = x; then
18522 AR=""
18523 else
18524 case $cross_compiling:$ac_tool_warned in
18525 yes:)
18526 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18527 whose name does not start with the host triplet. If you think this
18528 configuration is useful to you, please write to autoconf@gnu.org." >&5
18529 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18530 whose name does not start with the host triplet. If you think this
18531 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18532 ac_tool_warned=yes ;;
18533 esac
18534 AR=$ac_ct_AR
18535 fi
18536 else
18537 AR="$ac_cv_prog_AR"
18538 fi
18539
18540 if test "x$AR" = "x" ; then
18541 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18542 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18543 { (exit 1); exit 1; }; }
18544 fi
18545 fi
18546
18547
18548 if test "$wxUSE_MAC" = 1; then
18549
18550 retest_macosx_linking=no
18551
18552 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18553 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18554 # Implicitly turn on the new --with-macosx-sdk using the default
18555 # SDK which provides the behavior this option has always had.
18556 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18557 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18558 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18559 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18560 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18561 wxUSE_MACOSX_SDK=yes
18562 fi
18563 else
18564 # Complain to user if he specified an argument to --enable-universal_binary
18565 # and also 1) specified --with-macosx-sdk using the default (yes) or
18566 # 2) specified --with-macosx-sdk using a path or 3) specified
18567 # --without-macosx-sdk (no).
18568 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18569 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18570 See \`config.log' for more details." >&5
18571 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18572 See \`config.log' for more details." >&2;}
18573 { (exit 1); exit 1; }; }
18574 else
18575 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18576 # special-case the empty string because the below test simply
18577 # converts "no" to the empty string anyway.
18578 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18579 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18580 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18581 fi
18582 fi
18583 OSX_UNIV_OPTS="-arch ppc -arch i386"
18584 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18585 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18586 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18587 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18588 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18589 retest_macosx_linking=yes
18590
18591 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18592 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18593 bk_use_pch=no
18594 fi
18595
18596 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18597 wxUSE_MACOSX_SDK=
18598 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18599 # TODO: Search for most recent SDK and use it.
18600 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18601 fi
18602
18603
18604 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18605 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18606 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18607 if ! test -d "$wxUSE_MACOSX_SDK"; then
18608 { { echo "$as_me:$LINENO: error: not found
18609 See \`config.log' for more details." >&5
18610 echo "$as_me: error: not found
18611 See \`config.log' for more details." >&2;}
18612 { (exit 1); exit 1; }; }
18613 else
18614 { echo "$as_me:$LINENO: result: exists" >&5
18615 echo "${ECHO_T}exists" >&6; }
18616 fi
18617 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18618 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18619 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18620 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18621 retest_macosx_linking=yes
18622 fi
18623
18624 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18625 wxUSE_MACOSX_VERSION_MIN=
18626 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18627 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18628 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18629 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18630
18631 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/'`
18632
18633 # If that failed, try again with the new key
18634 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18635
18636 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/'`
18637
18638 fi
18639
18640 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18641 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18642 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18643 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18644 else
18645 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18646 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18647 wxUSE_MACOSX_VERSION_MIN=
18648 fi
18649 else
18650 wxUSE_MACOSX_VERSION_MIN=
18651 fi
18652 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18653 for ac_prog in sw_vers
18654 do
18655 # Extract the first word of "$ac_prog", so it can be a program name with args.
18656 set dummy $ac_prog; ac_word=$2
18657 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18659 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
18660 echo $ECHO_N "(cached) $ECHO_C" >&6
18661 else
18662 if test -n "$OSX_SW_VERS"; then
18663 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
18664 else
18665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18666 for as_dir in $PATH
18667 do
18668 IFS=$as_save_IFS
18669 test -z "$as_dir" && as_dir=.
18670 for ac_exec_ext in '' $ac_executable_extensions; do
18671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18672 ac_cv_prog_OSX_SW_VERS="$ac_prog"
18673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18674 break 2
18675 fi
18676 done
18677 done
18678 IFS=$as_save_IFS
18679
18680 fi
18681 fi
18682 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
18683 if test -n "$OSX_SW_VERS"; then
18684 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
18685 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
18686 else
18687 { echo "$as_me:$LINENO: result: no" >&5
18688 echo "${ECHO_T}no" >&6; }
18689 fi
18690
18691
18692 test -n "$OSX_SW_VERS" && break
18693 done
18694
18695 if test "$OSX_SW_VERS" != ""; then
18696 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18697 else
18698 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
18699 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
18700 OSX_VERSION="10.4"
18701 fi
18702
18703 case "$OSX_VERSION" in
18704 10.4* )
18705 wxUSE_MACOSX_VERSION_MIN=10.4
18706 ;;
18707
18708 * )
18709 if test "$wxUSE_OSX_CARBON" = 1; then
18710 # otherwise configure stops on leopard for universal_binary
18711 wxUSE_MACOSX_VERSION_MIN=10.4
18712 else
18713 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
18714 wxUSE_MACOSX_VERSION_MIN=10.5
18715 fi
18716 ;;
18717 esac
18718 fi
18719
18720 NEEDS_GCC40="no"
18721 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18722 NEEDS_GCC40="yes"
18723 fi
18724
18725 if test "$wxUSE_OSX_CARBON" = 1; then
18726 NEEDS_GCC40="yes"
18727 fi
18728
18729 if test "x$NEEDS_GCC40" == "xyes"; then
18730 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18731 # and wants 10.4 compatible code, then 'downgrade' to 4.0
18732 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18733 if test "x$CC" = "xgcc"; then
18734 CCVERSION=`$CC --version | grep 4.[2-9].`
18735 if test "x$CCVERSION" != "x"; then
18736 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18737 CC="/usr/bin/gcc-4.0"
18738 fi
18739 fi
18740
18741 if test "x$CXX" = "xg++"; then
18742 CCVERSION=`$CXX --version | grep 4.[2-9].`
18743 if test "x$CCVERSION" != "x"; then
18744 CXX="/usr/bin/g++-4.0"
18745 fi
18746 fi
18747 fi
18748
18749 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18750 if test "$wxUSE_OSX_IPHONE" = 1; then
18751 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
18752 else
18753 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18754 fi
18755 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18756 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18757 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18758 retest_macosx_linking=yes
18759 fi
18760
18761 if test "x$retest_macosx_linking" = "xyes"; then
18762 ac_ext=c
18763 ac_cpp='$CPP $CPPFLAGS'
18764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18767
18768 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18769 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18770 cat >conftest.$ac_ext <<_ACEOF
18771 /* confdefs.h. */
18772 _ACEOF
18773 cat confdefs.h >>conftest.$ac_ext
18774 cat >>conftest.$ac_ext <<_ACEOF
18775 /* end confdefs.h. */
18776
18777 int
18778 main ()
18779 {
18780
18781 ;
18782 return 0;
18783 }
18784 _ACEOF
18785 rm -f conftest.$ac_objext conftest$ac_exeext
18786 if { (ac_try="$ac_link"
18787 case "(($ac_try" in
18788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18789 *) ac_try_echo=$ac_try;;
18790 esac
18791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18792 (eval "$ac_link") 2>conftest.er1
18793 ac_status=$?
18794 grep -v '^ *+' conftest.er1 >conftest.err
18795 rm -f conftest.er1
18796 cat conftest.err >&5
18797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18798 (exit $ac_status); } && {
18799 test -z "$ac_c_werror_flag" ||
18800 test ! -s conftest.err
18801 } && test -s conftest$ac_exeext &&
18802 $as_test_x conftest$ac_exeext; then
18803 { echo "$as_me:$LINENO: result: yes" >&5
18804 echo "${ECHO_T}yes" >&6; }
18805 else
18806 echo "$as_me: failed program was:" >&5
18807 sed 's/^/| /' conftest.$ac_ext >&5
18808
18809 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18810 See \`config.log' for more details." >&5
18811 echo "$as_me: error: no. Try a different SDK
18812 See \`config.log' for more details." >&2;}
18813 { (exit 1); exit 1; }; }; exit 1
18814 fi
18815
18816 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18817 conftest$ac_exeext conftest.$ac_ext
18818 ac_ext=c
18819 ac_cpp='$CPP $CPPFLAGS'
18820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18823
18824
18825 ac_ext=cpp
18826 ac_cpp='$CXXCPP $CPPFLAGS'
18827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18830
18831 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18832 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18833 cat >conftest.$ac_ext <<_ACEOF
18834 /* confdefs.h. */
18835 _ACEOF
18836 cat confdefs.h >>conftest.$ac_ext
18837 cat >>conftest.$ac_ext <<_ACEOF
18838 /* end confdefs.h. */
18839
18840 int
18841 main ()
18842 {
18843
18844 ;
18845 return 0;
18846 }
18847 _ACEOF
18848 rm -f conftest.$ac_objext conftest$ac_exeext
18849 if { (ac_try="$ac_link"
18850 case "(($ac_try" in
18851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18852 *) ac_try_echo=$ac_try;;
18853 esac
18854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18855 (eval "$ac_link") 2>conftest.er1
18856 ac_status=$?
18857 grep -v '^ *+' conftest.er1 >conftest.err
18858 rm -f conftest.er1
18859 cat conftest.err >&5
18860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18861 (exit $ac_status); } && {
18862 test -z "$ac_cxx_werror_flag" ||
18863 test ! -s conftest.err
18864 } && test -s conftest$ac_exeext &&
18865 $as_test_x conftest$ac_exeext; then
18866 { echo "$as_me:$LINENO: result: yes" >&5
18867 echo "${ECHO_T}yes" >&6; }
18868 else
18869 echo "$as_me: failed program was:" >&5
18870 sed 's/^/| /' conftest.$ac_ext >&5
18871
18872 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18873 See \`config.log' for more details." >&5
18874 echo "$as_me: error: no. Try a different SDK
18875 See \`config.log' for more details." >&2;}
18876 { (exit 1); exit 1; }; }; exit 1
18877 fi
18878
18879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18880 conftest$ac_exeext conftest.$ac_ext
18881 ac_ext=c
18882 ac_cpp='$CPP $CPPFLAGS'
18883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18886
18887 fi
18888
18889 fi
18890 case "${host}" in
18891
18892 *-*-darwin* )
18893 INSTALL_PROGRAM="cp -fp"
18894 INSTALL_DATA="cp -fp"
18895 ;;
18896 *)
18897 ;;
18898 esac
18899
18900
18901 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18902 CXXFLAGS="-qunique $CXXFLAGS"
18903 fi
18904
18905 case "${host}" in
18906 powerpc-*-darwin* )
18907 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18908 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18909 cat >conftest.$ac_ext <<_ACEOF
18910 /* confdefs.h. */
18911 _ACEOF
18912 cat confdefs.h >>conftest.$ac_ext
18913 cat >>conftest.$ac_ext <<_ACEOF
18914 /* end confdefs.h. */
18915
18916 int
18917 main ()
18918 {
18919 #ifndef __POWERPC__
18920 choke me for lack of PowerPC
18921 #endif
18922
18923 ;
18924 return 0;
18925 }
18926 _ACEOF
18927 rm -f conftest.$ac_objext
18928 if { (ac_try="$ac_compile"
18929 case "(($ac_try" in
18930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18931 *) ac_try_echo=$ac_try;;
18932 esac
18933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18934 (eval "$ac_compile") 2>conftest.er1
18935 ac_status=$?
18936 grep -v '^ *+' conftest.er1 >conftest.err
18937 rm -f conftest.er1
18938 cat conftest.err >&5
18939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18940 (exit $ac_status); } && {
18941 test -z "$ac_c_werror_flag" ||
18942 test ! -s conftest.err
18943 } && test -s conftest.$ac_objext; then
18944 { echo "$as_me:$LINENO: result: yes" >&5
18945 echo "${ECHO_T}yes" >&6; }
18946 else
18947 echo "$as_me: failed program was:" >&5
18948 sed 's/^/| /' conftest.$ac_ext >&5
18949
18950 { echo "$as_me:$LINENO: result: no" >&5
18951 echo "${ECHO_T}no" >&6; }
18952 cat >>confdefs.h <<\_ACEOF
18953 #define __POWERPC__ 1
18954 _ACEOF
18955
18956
18957 fi
18958
18959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18960 ;;
18961 esac
18962
18963 case "${host}" in
18964 *-*-darwin* )
18965 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18966 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18967 cat >conftest.$ac_ext <<_ACEOF
18968 /* confdefs.h. */
18969 _ACEOF
18970 cat confdefs.h >>conftest.$ac_ext
18971 cat >>conftest.$ac_ext <<_ACEOF
18972 /* end confdefs.h. */
18973 #include <CoreFoundation/CFBase.h>
18974
18975 int
18976 main ()
18977 {
18978
18979 ;
18980 return 0;
18981 }
18982 _ACEOF
18983 rm -f conftest.$ac_objext
18984 if { (ac_try="$ac_compile"
18985 case "(($ac_try" in
18986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18987 *) ac_try_echo=$ac_try;;
18988 esac
18989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18990 (eval "$ac_compile") 2>conftest.er1
18991 ac_status=$?
18992 grep -v '^ *+' conftest.er1 >conftest.err
18993 rm -f conftest.er1
18994 cat conftest.err >&5
18995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18996 (exit $ac_status); } && {
18997 test -z "$ac_c_werror_flag" ||
18998 test ! -s conftest.err
18999 } && test -s conftest.$ac_objext; then
19000 { echo "$as_me:$LINENO: result: yes" >&5
19001 echo "${ECHO_T}yes" >&6; }
19002 else
19003 echo "$as_me: failed program was:" >&5
19004 sed 's/^/| /' conftest.$ac_ext >&5
19005
19006 { echo "$as_me:$LINENO: result: no" >&5
19007 echo "${ECHO_T}no" >&6; }
19008 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19009 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19010 cat >conftest.$ac_ext <<_ACEOF
19011 /* confdefs.h. */
19012 _ACEOF
19013 cat confdefs.h >>conftest.$ac_ext
19014 cat >>conftest.$ac_ext <<_ACEOF
19015 /* end confdefs.h. */
19016 #define __CF_USE_FRAMEWORK_INCLUDES__
19017 #include <CoreFoundation/CFBase.h>
19018
19019 int
19020 main ()
19021 {
19022
19023 ;
19024 return 0;
19025 }
19026 _ACEOF
19027 rm -f conftest.$ac_objext
19028 if { (ac_try="$ac_compile"
19029 case "(($ac_try" in
19030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19031 *) ac_try_echo=$ac_try;;
19032 esac
19033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19034 (eval "$ac_compile") 2>conftest.er1
19035 ac_status=$?
19036 grep -v '^ *+' conftest.er1 >conftest.err
19037 rm -f conftest.er1
19038 cat conftest.err >&5
19039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19040 (exit $ac_status); } && {
19041 test -z "$ac_c_werror_flag" ||
19042 test ! -s conftest.err
19043 } && test -s conftest.$ac_objext; then
19044 { echo "$as_me:$LINENO: result: yes" >&5
19045 echo "${ECHO_T}yes" >&6; }
19046 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19047 else
19048 echo "$as_me: failed program was:" >&5
19049 sed 's/^/| /' conftest.$ac_ext >&5
19050
19051 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19052 See \`config.log' for more details." >&5
19053 echo "$as_me: error: no. CoreFoundation not available.
19054 See \`config.log' for more details." >&2;}
19055 { (exit 1); exit 1; }; }
19056
19057 fi
19058
19059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19060
19061
19062 fi
19063
19064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19065 ;;
19066 esac
19067
19068 wants_win32=0
19069 doesnt_want_win32=0
19070 case "${host}" in
19071 *-*-cygwin*)
19072 if test "$wxUSE_MSW" = 1 ; then
19073 wants_win32=1
19074 else
19075 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
19076 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
19077 if test "${wx_cv_nocygwin+set}" = set; then
19078 echo $ECHO_N "(cached) $ECHO_C" >&6
19079 else
19080
19081 cat >conftest.$ac_ext <<_ACEOF
19082 /* confdefs.h. */
19083 _ACEOF
19084 cat confdefs.h >>conftest.$ac_ext
19085 cat >>conftest.$ac_ext <<_ACEOF
19086 /* end confdefs.h. */
19087
19088 int
19089 main ()
19090 {
19091
19092 #ifdef __MINGW32__
19093 choke me
19094 #endif
19095
19096 ;
19097 return 0;
19098 }
19099 _ACEOF
19100 rm -f conftest.$ac_objext
19101 if { (ac_try="$ac_compile"
19102 case "(($ac_try" in
19103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19104 *) ac_try_echo=$ac_try;;
19105 esac
19106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19107 (eval "$ac_compile") 2>conftest.er1
19108 ac_status=$?
19109 grep -v '^ *+' conftest.er1 >conftest.err
19110 rm -f conftest.er1
19111 cat conftest.err >&5
19112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19113 (exit $ac_status); } && {
19114 test -z "$ac_c_werror_flag" ||
19115 test ! -s conftest.err
19116 } && test -s conftest.$ac_objext; then
19117 wx_cv_nocygwin=no
19118 else
19119 echo "$as_me: failed program was:" >&5
19120 sed 's/^/| /' conftest.$ac_ext >&5
19121
19122 wx_cv_nocygwin=yes
19123
19124 fi
19125
19126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19127
19128
19129 fi
19130 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19131 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19132
19133 if test "$wx_cv_nocygwin" = "yes"; then
19134 wants_win32=1
19135 else
19136 doesnt_want_win32=1
19137 fi
19138 fi
19139 if test "$wants_win32" = 1 ; then
19140 BAKEFILE_FORCE_PLATFORM=win32
19141 fi
19142 ;;
19143 *-*-mingw*)
19144 wants_win32=1
19145 ;;
19146 esac
19147
19148 if test "$wxUSE_WINE" = "yes"; then
19149 wants_win32=1
19150 LDFLAGS_GUI="-mwindows"
19151 fi
19152
19153 if test "$wants_win32" = 1 ; then
19154 USE_UNIX=0
19155 USE_WIN32=1
19156 cat >>confdefs.h <<\_ACEOF
19157 #define __WIN32__ 1
19158 _ACEOF
19159
19160 cat >>confdefs.h <<\_ACEOF
19161 #define __WIN95__ 1
19162 _ACEOF
19163
19164 cat >>confdefs.h <<\_ACEOF
19165 #define __WINDOWS__ 1
19166 _ACEOF
19167
19168 cat >>confdefs.h <<\_ACEOF
19169 #define __GNUWIN32__ 1
19170 _ACEOF
19171
19172 cat >>confdefs.h <<\_ACEOF
19173 #define STRICT 1
19174 _ACEOF
19175
19176 fi
19177 if test "$doesnt_want_win32" = 1 ; then
19178 USE_UNIX=1
19179 USE_WIN32=0
19180 fi
19181
19182 if test "$USE_UNIX" = 1 ; then
19183 wxUSE_UNIX=yes
19184 cat >>confdefs.h <<\_ACEOF
19185 #define __UNIX__ 1
19186 _ACEOF
19187
19188 fi
19189
19190 case "${host}" in
19191 *-pc-os2_emx | *-pc-os2-emx )
19192 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19193 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19194 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
19195 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19196 echo $ECHO_N "(cached) $ECHO_C" >&6
19197 else
19198 ac_check_lib_save_LIBS=$LIBS
19199 LIBS="-lcExt $LIBS"
19200 cat >conftest.$ac_ext <<_ACEOF
19201 /* confdefs.h. */
19202 _ACEOF
19203 cat confdefs.h >>conftest.$ac_ext
19204 cat >>conftest.$ac_ext <<_ACEOF
19205 /* end confdefs.h. */
19206
19207 /* Override any GCC internal prototype to avoid an error.
19208 Use char because int might match the return type of a GCC
19209 builtin and then its argument prototype would still apply. */
19210 #ifdef __cplusplus
19211 extern "C"
19212 #endif
19213 char drand48 ();
19214 int
19215 main ()
19216 {
19217 return drand48 ();
19218 ;
19219 return 0;
19220 }
19221 _ACEOF
19222 rm -f conftest.$ac_objext conftest$ac_exeext
19223 if { (ac_try="$ac_link"
19224 case "(($ac_try" in
19225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19226 *) ac_try_echo=$ac_try;;
19227 esac
19228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19229 (eval "$ac_link") 2>conftest.er1
19230 ac_status=$?
19231 grep -v '^ *+' conftest.er1 >conftest.err
19232 rm -f conftest.er1
19233 cat conftest.err >&5
19234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19235 (exit $ac_status); } && {
19236 test -z "$ac_c_werror_flag" ||
19237 test ! -s conftest.err
19238 } && test -s conftest$ac_exeext &&
19239 $as_test_x conftest$ac_exeext; then
19240 ac_cv_lib_cExt_drand48=yes
19241 else
19242 echo "$as_me: failed program was:" >&5
19243 sed 's/^/| /' conftest.$ac_ext >&5
19244
19245 ac_cv_lib_cExt_drand48=no
19246 fi
19247
19248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19249 conftest$ac_exeext conftest.$ac_ext
19250 LIBS=$ac_check_lib_save_LIBS
19251 fi
19252 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19253 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19254 if test $ac_cv_lib_cExt_drand48 = yes; then
19255 LIBS="$LIBS -lcExt"
19256 fi
19257
19258 else
19259 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19260 fi
19261 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19262 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
19263 if test "${wx_cv_gccversion+set}" = set; then
19264 echo $ECHO_N "(cached) $ECHO_C" >&6
19265 else
19266
19267 if test "$cross_compiling" = yes; then
19268 wx_cv_gccversion="EMX2"
19269
19270 else
19271 cat >conftest.$ac_ext <<_ACEOF
19272 /* confdefs.h. */
19273 _ACEOF
19274 cat confdefs.h >>conftest.$ac_ext
19275 cat >>conftest.$ac_ext <<_ACEOF
19276 /* end confdefs.h. */
19277
19278 #include <stdio.h>
19279
19280 int main()
19281 {
19282 FILE *f=fopen("conftestval", "w");
19283 if (!f) exit(1);
19284 fprintf(f,
19285 #if (__GNUC__ < 3)
19286 "EMX2"
19287 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19288 "EMX3"
19289 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19290 "Innotek5"
19291 #else
19292 "Innotek6"
19293 #endif
19294 );
19295 exit(0);
19296 }
19297
19298 _ACEOF
19299 rm -f conftest$ac_exeext
19300 if { (ac_try="$ac_link"
19301 case "(($ac_try" in
19302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19303 *) ac_try_echo=$ac_try;;
19304 esac
19305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19306 (eval "$ac_link") 2>&5
19307 ac_status=$?
19308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19309 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19310 { (case "(($ac_try" in
19311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19312 *) ac_try_echo=$ac_try;;
19313 esac
19314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19315 (eval "$ac_try") 2>&5
19316 ac_status=$?
19317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19318 (exit $ac_status); }; }; then
19319 wx_cv_gccversion=`cat conftestval`
19320 else
19321 echo "$as_me: program exited with status $ac_status" >&5
19322 echo "$as_me: failed program was:" >&5
19323 sed 's/^/| /' conftest.$ac_ext >&5
19324
19325 ( exit $ac_status )
19326 wx_cv_gccversion="EMX2"
19327 fi
19328 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19329 fi
19330
19331
19332
19333 fi
19334 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
19335 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19336 if test "$wx_cv_gccversion" = "EMX2"; then
19337 LIBS="$LIBS -lstdcpp"
19338 LDFLAGS="$LDFLAGS -Zsysv-signals"
19339 else
19340 if test "$wx_cv_gccversion" = "EMX3"; then
19341 LIBS="$LIBS -lstdcxx -lgcc"
19342 LDFLAGS="$LDFLAGS -Zsysv-signals"
19343 else
19344 LIBS="$LIBS -lstdc++"
19345 fi
19346 fi
19347 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19348 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
19349 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19350 wxUSE_OMF=yes
19351 enable_omf=yes
19352 fi
19353 ;;
19354 *)
19355
19356 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
19357 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
19358 if test "${ac_cv_string_strcasecmp+set}" = set; then
19359 echo $ECHO_N "(cached) $ECHO_C" >&6
19360 else
19361
19362 cat >conftest.$ac_ext <<_ACEOF
19363 /* confdefs.h. */
19364 _ACEOF
19365 cat confdefs.h >>conftest.$ac_ext
19366 cat >>conftest.$ac_ext <<_ACEOF
19367 /* end confdefs.h. */
19368
19369 #include <string.h>
19370
19371 int
19372 main ()
19373 {
19374
19375 strcasecmp("foo", "bar");
19376
19377 ;
19378 return 0;
19379 }
19380 _ACEOF
19381 rm -f conftest.$ac_objext conftest$ac_exeext
19382 if { (ac_try="$ac_link"
19383 case "(($ac_try" in
19384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19385 *) ac_try_echo=$ac_try;;
19386 esac
19387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19388 (eval "$ac_link") 2>conftest.er1
19389 ac_status=$?
19390 grep -v '^ *+' conftest.er1 >conftest.err
19391 rm -f conftest.er1
19392 cat conftest.err >&5
19393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19394 (exit $ac_status); } && {
19395 test -z "$ac_c_werror_flag" ||
19396 test ! -s conftest.err
19397 } && test -s conftest$ac_exeext &&
19398 $as_test_x conftest$ac_exeext; then
19399 ac_cv_string_strcasecmp=yes
19400 else
19401 echo "$as_me: failed program was:" >&5
19402 sed 's/^/| /' conftest.$ac_ext >&5
19403
19404 ac_cv_string_strcasecmp=no
19405
19406 fi
19407
19408 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19409 conftest$ac_exeext conftest.$ac_ext
19410
19411 fi
19412 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
19413 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19414
19415 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19416 cat >>confdefs.h <<\_ACEOF
19417 #define HAVE_STRCASECMP_IN_STRING_H 1
19418 _ACEOF
19419
19420 else
19421 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19422 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
19423 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19424 echo $ECHO_N "(cached) $ECHO_C" >&6
19425 else
19426
19427 cat >conftest.$ac_ext <<_ACEOF
19428 /* confdefs.h. */
19429 _ACEOF
19430 cat confdefs.h >>conftest.$ac_ext
19431 cat >>conftest.$ac_ext <<_ACEOF
19432 /* end confdefs.h. */
19433
19434 #include <strings.h>
19435
19436 int
19437 main ()
19438 {
19439
19440 strcasecmp("foo", "bar");
19441
19442 ;
19443 return 0;
19444 }
19445 _ACEOF
19446 rm -f conftest.$ac_objext conftest$ac_exeext
19447 if { (ac_try="$ac_link"
19448 case "(($ac_try" in
19449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19450 *) ac_try_echo=$ac_try;;
19451 esac
19452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19453 (eval "$ac_link") 2>conftest.er1
19454 ac_status=$?
19455 grep -v '^ *+' conftest.er1 >conftest.err
19456 rm -f conftest.er1
19457 cat conftest.err >&5
19458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19459 (exit $ac_status); } && {
19460 test -z "$ac_c_werror_flag" ||
19461 test ! -s conftest.err
19462 } && test -s conftest$ac_exeext &&
19463 $as_test_x conftest$ac_exeext; then
19464 ac_cv_strings_strcasecmp=yes
19465 else
19466 echo "$as_me: failed program was:" >&5
19467 sed 's/^/| /' conftest.$ac_ext >&5
19468
19469 ac_cv_strings_strcasecmp=no
19470
19471 fi
19472
19473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19474 conftest$ac_exeext conftest.$ac_ext
19475
19476 fi
19477 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19478 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19479
19480 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19481 cat >>confdefs.h <<\_ACEOF
19482 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19483 _ACEOF
19484
19485 else
19486 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19487 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19488 { (exit 1); exit 1; }; }
19489 fi
19490 fi
19491
19492 ;;
19493 esac
19494
19495
19496 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19497 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19498 if test "${ac_cv_header_stdc+set}" = set; then
19499 echo $ECHO_N "(cached) $ECHO_C" >&6
19500 else
19501 cat >conftest.$ac_ext <<_ACEOF
19502 /* confdefs.h. */
19503 _ACEOF
19504 cat confdefs.h >>conftest.$ac_ext
19505 cat >>conftest.$ac_ext <<_ACEOF
19506 /* end confdefs.h. */
19507 #include <stdlib.h>
19508 #include <stdarg.h>
19509 #include <string.h>
19510 #include <float.h>
19511
19512 int
19513 main ()
19514 {
19515
19516 ;
19517 return 0;
19518 }
19519 _ACEOF
19520 rm -f conftest.$ac_objext
19521 if { (ac_try="$ac_compile"
19522 case "(($ac_try" in
19523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19524 *) ac_try_echo=$ac_try;;
19525 esac
19526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19527 (eval "$ac_compile") 2>conftest.er1
19528 ac_status=$?
19529 grep -v '^ *+' conftest.er1 >conftest.err
19530 rm -f conftest.er1
19531 cat conftest.err >&5
19532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19533 (exit $ac_status); } && {
19534 test -z "$ac_c_werror_flag" ||
19535 test ! -s conftest.err
19536 } && test -s conftest.$ac_objext; then
19537 ac_cv_header_stdc=yes
19538 else
19539 echo "$as_me: failed program was:" >&5
19540 sed 's/^/| /' conftest.$ac_ext >&5
19541
19542 ac_cv_header_stdc=no
19543 fi
19544
19545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19546
19547 if test $ac_cv_header_stdc = yes; then
19548 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19549 cat >conftest.$ac_ext <<_ACEOF
19550 /* confdefs.h. */
19551 _ACEOF
19552 cat confdefs.h >>conftest.$ac_ext
19553 cat >>conftest.$ac_ext <<_ACEOF
19554 /* end confdefs.h. */
19555 #include <string.h>
19556
19557 _ACEOF
19558 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19559 $EGREP "memchr" >/dev/null 2>&1; then
19560 :
19561 else
19562 ac_cv_header_stdc=no
19563 fi
19564 rm -f conftest*
19565
19566 fi
19567
19568 if test $ac_cv_header_stdc = yes; then
19569 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19570 cat >conftest.$ac_ext <<_ACEOF
19571 /* confdefs.h. */
19572 _ACEOF
19573 cat confdefs.h >>conftest.$ac_ext
19574 cat >>conftest.$ac_ext <<_ACEOF
19575 /* end confdefs.h. */
19576 #include <stdlib.h>
19577
19578 _ACEOF
19579 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19580 $EGREP "free" >/dev/null 2>&1; then
19581 :
19582 else
19583 ac_cv_header_stdc=no
19584 fi
19585 rm -f conftest*
19586
19587 fi
19588
19589 if test $ac_cv_header_stdc = yes; then
19590 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19591 if test "$cross_compiling" = yes; then
19592 :
19593 else
19594 cat >conftest.$ac_ext <<_ACEOF
19595 /* confdefs.h. */
19596 _ACEOF
19597 cat confdefs.h >>conftest.$ac_ext
19598 cat >>conftest.$ac_ext <<_ACEOF
19599 /* end confdefs.h. */
19600 #include <ctype.h>
19601 #include <stdlib.h>
19602 #if ((' ' & 0x0FF) == 0x020)
19603 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19604 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19605 #else
19606 # define ISLOWER(c) \
19607 (('a' <= (c) && (c) <= 'i') \
19608 || ('j' <= (c) && (c) <= 'r') \
19609 || ('s' <= (c) && (c) <= 'z'))
19610 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19611 #endif
19612
19613 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19614 int
19615 main ()
19616 {
19617 int i;
19618 for (i = 0; i < 256; i++)
19619 if (XOR (islower (i), ISLOWER (i))
19620 || toupper (i) != TOUPPER (i))
19621 return 2;
19622 return 0;
19623 }
19624 _ACEOF
19625 rm -f conftest$ac_exeext
19626 if { (ac_try="$ac_link"
19627 case "(($ac_try" in
19628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19629 *) ac_try_echo=$ac_try;;
19630 esac
19631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19632 (eval "$ac_link") 2>&5
19633 ac_status=$?
19634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19635 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19636 { (case "(($ac_try" in
19637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19638 *) ac_try_echo=$ac_try;;
19639 esac
19640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19641 (eval "$ac_try") 2>&5
19642 ac_status=$?
19643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19644 (exit $ac_status); }; }; then
19645 :
19646 else
19647 echo "$as_me: program exited with status $ac_status" >&5
19648 echo "$as_me: failed program was:" >&5
19649 sed 's/^/| /' conftest.$ac_ext >&5
19650
19651 ( exit $ac_status )
19652 ac_cv_header_stdc=no
19653 fi
19654 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19655 fi
19656
19657
19658 fi
19659 fi
19660 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19661 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19662 if test $ac_cv_header_stdc = yes; then
19663
19664 cat >>confdefs.h <<\_ACEOF
19665 #define STDC_HEADERS 1
19666 _ACEOF
19667
19668 fi
19669
19670 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19671
19672
19673
19674
19675
19676
19677
19678
19679
19680 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19681 inttypes.h stdint.h unistd.h
19682 do
19683 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19684 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19685 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19686 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19687 echo $ECHO_N "(cached) $ECHO_C" >&6
19688 else
19689 cat >conftest.$ac_ext <<_ACEOF
19690 /* confdefs.h. */
19691 _ACEOF
19692 cat confdefs.h >>conftest.$ac_ext
19693 cat >>conftest.$ac_ext <<_ACEOF
19694 /* end confdefs.h. */
19695 $ac_includes_default
19696
19697 #include <$ac_header>
19698 _ACEOF
19699 rm -f conftest.$ac_objext
19700 if { (ac_try="$ac_compile"
19701 case "(($ac_try" in
19702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19703 *) ac_try_echo=$ac_try;;
19704 esac
19705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19706 (eval "$ac_compile") 2>conftest.er1
19707 ac_status=$?
19708 grep -v '^ *+' conftest.er1 >conftest.err
19709 rm -f conftest.er1
19710 cat conftest.err >&5
19711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19712 (exit $ac_status); } && {
19713 test -z "$ac_c_werror_flag" ||
19714 test ! -s conftest.err
19715 } && test -s conftest.$ac_objext; then
19716 eval "$as_ac_Header=yes"
19717 else
19718 echo "$as_me: failed program was:" >&5
19719 sed 's/^/| /' conftest.$ac_ext >&5
19720
19721 eval "$as_ac_Header=no"
19722 fi
19723
19724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19725 fi
19726 ac_res=`eval echo '${'$as_ac_Header'}'`
19727 { echo "$as_me:$LINENO: result: $ac_res" >&5
19728 echo "${ECHO_T}$ac_res" >&6; }
19729 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19730 cat >>confdefs.h <<_ACEOF
19731 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19732 _ACEOF
19733
19734 fi
19735
19736 done
19737
19738
19739
19740
19741 for ac_header in langinfo.h wchar.h
19742 do
19743 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19744 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19745 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19746 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19747 echo $ECHO_N "(cached) $ECHO_C" >&6
19748 else
19749 cat >conftest.$ac_ext <<_ACEOF
19750 /* confdefs.h. */
19751 _ACEOF
19752 cat confdefs.h >>conftest.$ac_ext
19753 cat >>conftest.$ac_ext <<_ACEOF
19754 /* end confdefs.h. */
19755 $ac_includes_default
19756
19757 #include <$ac_header>
19758 _ACEOF
19759 rm -f conftest.$ac_objext
19760 if { (ac_try="$ac_compile"
19761 case "(($ac_try" in
19762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19763 *) ac_try_echo=$ac_try;;
19764 esac
19765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19766 (eval "$ac_compile") 2>conftest.er1
19767 ac_status=$?
19768 grep -v '^ *+' conftest.er1 >conftest.err
19769 rm -f conftest.er1
19770 cat conftest.err >&5
19771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19772 (exit $ac_status); } && {
19773 test -z "$ac_c_werror_flag" ||
19774 test ! -s conftest.err
19775 } && test -s conftest.$ac_objext; then
19776 eval "$as_ac_Header=yes"
19777 else
19778 echo "$as_me: failed program was:" >&5
19779 sed 's/^/| /' conftest.$ac_ext >&5
19780
19781 eval "$as_ac_Header=no"
19782 fi
19783
19784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19785 fi
19786 ac_res=`eval echo '${'$as_ac_Header'}'`
19787 { echo "$as_me:$LINENO: result: $ac_res" >&5
19788 echo "${ECHO_T}$ac_res" >&6; }
19789 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19790 cat >>confdefs.h <<_ACEOF
19791 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19792 _ACEOF
19793
19794 fi
19795
19796 done
19797
19798
19799 if test "$ac_cv_header_wchar_h" != "yes"; then
19800
19801 for ac_header in wcstr.h
19802 do
19803 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19804 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19805 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19806 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19807 echo $ECHO_N "(cached) $ECHO_C" >&6
19808 else
19809 cat >conftest.$ac_ext <<_ACEOF
19810 /* confdefs.h. */
19811 _ACEOF
19812 cat confdefs.h >>conftest.$ac_ext
19813 cat >>conftest.$ac_ext <<_ACEOF
19814 /* end confdefs.h. */
19815 $ac_includes_default
19816
19817 #include <$ac_header>
19818 _ACEOF
19819 rm -f conftest.$ac_objext
19820 if { (ac_try="$ac_compile"
19821 case "(($ac_try" in
19822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19823 *) ac_try_echo=$ac_try;;
19824 esac
19825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19826 (eval "$ac_compile") 2>conftest.er1
19827 ac_status=$?
19828 grep -v '^ *+' conftest.er1 >conftest.err
19829 rm -f conftest.er1
19830 cat conftest.err >&5
19831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19832 (exit $ac_status); } && {
19833 test -z "$ac_c_werror_flag" ||
19834 test ! -s conftest.err
19835 } && test -s conftest.$ac_objext; then
19836 eval "$as_ac_Header=yes"
19837 else
19838 echo "$as_me: failed program was:" >&5
19839 sed 's/^/| /' conftest.$ac_ext >&5
19840
19841 eval "$as_ac_Header=no"
19842 fi
19843
19844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19845 fi
19846 ac_res=`eval echo '${'$as_ac_Header'}'`
19847 { echo "$as_me:$LINENO: result: $ac_res" >&5
19848 echo "${ECHO_T}$ac_res" >&6; }
19849 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19850 cat >>confdefs.h <<_ACEOF
19851 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19852 _ACEOF
19853
19854 fi
19855
19856 done
19857
19858 fi
19859
19860 case "${host}" in
19861 *-pc-os2_emx | *-pc-os2-emx )
19862 if test $ac_cv_header_langinfo_h = "yes" \
19863 -a \( "$wx_cv_gccversion" = "EMX2" \
19864 -o "$wx_cv_gccversion" = "EMX3" \
19865 -o "$wx_cv_gccversion" = "Innotek5" \); then
19866 LIBS="$LIBS -lintl"
19867 fi
19868 ;;
19869 esac
19870
19871 if test "$USE_UNIX" = 1 ; then
19872
19873 for ac_header in sys/select.h
19874 do
19875 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19876 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19877 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19878 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19879 echo $ECHO_N "(cached) $ECHO_C" >&6
19880 else
19881 cat >conftest.$ac_ext <<_ACEOF
19882 /* confdefs.h. */
19883 _ACEOF
19884 cat confdefs.h >>conftest.$ac_ext
19885 cat >>conftest.$ac_ext <<_ACEOF
19886 /* end confdefs.h. */
19887 $ac_includes_default
19888
19889 #include <$ac_header>
19890 _ACEOF
19891 rm -f conftest.$ac_objext
19892 if { (ac_try="$ac_compile"
19893 case "(($ac_try" in
19894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19895 *) ac_try_echo=$ac_try;;
19896 esac
19897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19898 (eval "$ac_compile") 2>conftest.er1
19899 ac_status=$?
19900 grep -v '^ *+' conftest.er1 >conftest.err
19901 rm -f conftest.er1
19902 cat conftest.err >&5
19903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19904 (exit $ac_status); } && {
19905 test -z "$ac_c_werror_flag" ||
19906 test ! -s conftest.err
19907 } && test -s conftest.$ac_objext; then
19908 eval "$as_ac_Header=yes"
19909 else
19910 echo "$as_me: failed program was:" >&5
19911 sed 's/^/| /' conftest.$ac_ext >&5
19912
19913 eval "$as_ac_Header=no"
19914 fi
19915
19916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19917 fi
19918 ac_res=`eval echo '${'$as_ac_Header'}'`
19919 { echo "$as_me:$LINENO: result: $ac_res" >&5
19920 echo "${ECHO_T}$ac_res" >&6; }
19921 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19922 cat >>confdefs.h <<_ACEOF
19923 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19924 _ACEOF
19925
19926 fi
19927
19928 done
19929
19930 fi
19931
19932
19933 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19934 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19935 if test "${ac_cv_c_const+set}" = set; then
19936 echo $ECHO_N "(cached) $ECHO_C" >&6
19937 else
19938 cat >conftest.$ac_ext <<_ACEOF
19939 /* confdefs.h. */
19940 _ACEOF
19941 cat confdefs.h >>conftest.$ac_ext
19942 cat >>conftest.$ac_ext <<_ACEOF
19943 /* end confdefs.h. */
19944
19945 int
19946 main ()
19947 {
19948 /* FIXME: Include the comments suggested by Paul. */
19949 #ifndef __cplusplus
19950 /* Ultrix mips cc rejects this. */
19951 typedef int charset[2];
19952 const charset cs;
19953 /* SunOS 4.1.1 cc rejects this. */
19954 char const *const *pcpcc;
19955 char **ppc;
19956 /* NEC SVR4.0.2 mips cc rejects this. */
19957 struct point {int x, y;};
19958 static struct point const zero = {0,0};
19959 /* AIX XL C 1.02.0.0 rejects this.
19960 It does not let you subtract one const X* pointer from another in
19961 an arm of an if-expression whose if-part is not a constant
19962 expression */
19963 const char *g = "string";
19964 pcpcc = &g + (g ? g-g : 0);
19965 /* HPUX 7.0 cc rejects these. */
19966 ++pcpcc;
19967 ppc = (char**) pcpcc;
19968 pcpcc = (char const *const *) ppc;
19969 { /* SCO 3.2v4 cc rejects this. */
19970 char *t;
19971 char const *s = 0 ? (char *) 0 : (char const *) 0;
19972
19973 *t++ = 0;
19974 if (s) return 0;
19975 }
19976 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19977 int x[] = {25, 17};
19978 const int *foo = &x[0];
19979 ++foo;
19980 }
19981 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19982 typedef const int *iptr;
19983 iptr p = 0;
19984 ++p;
19985 }
19986 { /* AIX XL C 1.02.0.0 rejects this saying
19987 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19988 struct s { int j; const int *ap[3]; };
19989 struct s *b; b->j = 5;
19990 }
19991 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19992 const int foo = 10;
19993 if (!foo) return 0;
19994 }
19995 return !cs[0] && !zero.x;
19996 #endif
19997
19998 ;
19999 return 0;
20000 }
20001 _ACEOF
20002 rm -f conftest.$ac_objext
20003 if { (ac_try="$ac_compile"
20004 case "(($ac_try" in
20005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20006 *) ac_try_echo=$ac_try;;
20007 esac
20008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20009 (eval "$ac_compile") 2>conftest.er1
20010 ac_status=$?
20011 grep -v '^ *+' conftest.er1 >conftest.err
20012 rm -f conftest.er1
20013 cat conftest.err >&5
20014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20015 (exit $ac_status); } && {
20016 test -z "$ac_c_werror_flag" ||
20017 test ! -s conftest.err
20018 } && test -s conftest.$ac_objext; then
20019 ac_cv_c_const=yes
20020 else
20021 echo "$as_me: failed program was:" >&5
20022 sed 's/^/| /' conftest.$ac_ext >&5
20023
20024 ac_cv_c_const=no
20025 fi
20026
20027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20028 fi
20029 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20030 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20031 if test $ac_cv_c_const = no; then
20032
20033 cat >>confdefs.h <<\_ACEOF
20034 #define const
20035 _ACEOF
20036
20037 fi
20038
20039 { echo "$as_me:$LINENO: checking for inline" >&5
20040 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
20041 if test "${ac_cv_c_inline+set}" = set; then
20042 echo $ECHO_N "(cached) $ECHO_C" >&6
20043 else
20044 ac_cv_c_inline=no
20045 for ac_kw in inline __inline__ __inline; do
20046 cat >conftest.$ac_ext <<_ACEOF
20047 /* confdefs.h. */
20048 _ACEOF
20049 cat confdefs.h >>conftest.$ac_ext
20050 cat >>conftest.$ac_ext <<_ACEOF
20051 /* end confdefs.h. */
20052 #ifndef __cplusplus
20053 typedef int foo_t;
20054 static $ac_kw foo_t static_foo () {return 0; }
20055 $ac_kw foo_t foo () {return 0; }
20056 #endif
20057
20058 _ACEOF
20059 rm -f conftest.$ac_objext
20060 if { (ac_try="$ac_compile"
20061 case "(($ac_try" in
20062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20063 *) ac_try_echo=$ac_try;;
20064 esac
20065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20066 (eval "$ac_compile") 2>conftest.er1
20067 ac_status=$?
20068 grep -v '^ *+' conftest.er1 >conftest.err
20069 rm -f conftest.er1
20070 cat conftest.err >&5
20071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20072 (exit $ac_status); } && {
20073 test -z "$ac_c_werror_flag" ||
20074 test ! -s conftest.err
20075 } && test -s conftest.$ac_objext; then
20076 ac_cv_c_inline=$ac_kw
20077 else
20078 echo "$as_me: failed program was:" >&5
20079 sed 's/^/| /' conftest.$ac_ext >&5
20080
20081
20082 fi
20083
20084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20085 test "$ac_cv_c_inline" != no && break
20086 done
20087
20088 fi
20089 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20090 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20091
20092
20093 case $ac_cv_c_inline in
20094 inline | yes) ;;
20095 *)
20096 case $ac_cv_c_inline in
20097 no) ac_val=;;
20098 *) ac_val=$ac_cv_c_inline;;
20099 esac
20100 cat >>confdefs.h <<_ACEOF
20101 #ifndef __cplusplus
20102 #define inline $ac_val
20103 #endif
20104 _ACEOF
20105 ;;
20106 esac
20107
20108
20109 { echo "$as_me:$LINENO: checking for short" >&5
20110 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
20111 if test "${ac_cv_type_short+set}" = set; then
20112 echo $ECHO_N "(cached) $ECHO_C" >&6
20113 else
20114 cat >conftest.$ac_ext <<_ACEOF
20115 /* confdefs.h. */
20116 _ACEOF
20117 cat confdefs.h >>conftest.$ac_ext
20118 cat >>conftest.$ac_ext <<_ACEOF
20119 /* end confdefs.h. */
20120 $ac_includes_default
20121 typedef short ac__type_new_;
20122 int
20123 main ()
20124 {
20125 if ((ac__type_new_ *) 0)
20126 return 0;
20127 if (sizeof (ac__type_new_))
20128 return 0;
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_cv_type_short=yes
20151 else
20152 echo "$as_me: failed program was:" >&5
20153 sed 's/^/| /' conftest.$ac_ext >&5
20154
20155 ac_cv_type_short=no
20156 fi
20157
20158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20159 fi
20160 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20161 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20162
20163 # The cast to long int works around a bug in the HP C Compiler
20164 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20165 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20166 # This bug is HP SR number 8606223364.
20167 { echo "$as_me:$LINENO: checking size of short" >&5
20168 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
20169 if test "${ac_cv_sizeof_short+set}" = set; then
20170 echo $ECHO_N "(cached) $ECHO_C" >&6
20171 else
20172 if test "$cross_compiling" = yes; then
20173 # Depending upon the size, compute the lo and hi bounds.
20174 cat >conftest.$ac_ext <<_ACEOF
20175 /* confdefs.h. */
20176 _ACEOF
20177 cat confdefs.h >>conftest.$ac_ext
20178 cat >>conftest.$ac_ext <<_ACEOF
20179 /* end confdefs.h. */
20180 $ac_includes_default
20181 typedef short ac__type_sizeof_;
20182 int
20183 main ()
20184 {
20185 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20186 test_array [0] = 0
20187
20188 ;
20189 return 0;
20190 }
20191 _ACEOF
20192 rm -f conftest.$ac_objext
20193 if { (ac_try="$ac_compile"
20194 case "(($ac_try" in
20195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20196 *) ac_try_echo=$ac_try;;
20197 esac
20198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20199 (eval "$ac_compile") 2>conftest.er1
20200 ac_status=$?
20201 grep -v '^ *+' conftest.er1 >conftest.err
20202 rm -f conftest.er1
20203 cat conftest.err >&5
20204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20205 (exit $ac_status); } && {
20206 test -z "$ac_c_werror_flag" ||
20207 test ! -s conftest.err
20208 } && test -s conftest.$ac_objext; then
20209 ac_lo=0 ac_mid=0
20210 while :; do
20211 cat >conftest.$ac_ext <<_ACEOF
20212 /* confdefs.h. */
20213 _ACEOF
20214 cat confdefs.h >>conftest.$ac_ext
20215 cat >>conftest.$ac_ext <<_ACEOF
20216 /* end confdefs.h. */
20217 $ac_includes_default
20218 typedef short ac__type_sizeof_;
20219 int
20220 main ()
20221 {
20222 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20223 test_array [0] = 0
20224
20225 ;
20226 return 0;
20227 }
20228 _ACEOF
20229 rm -f conftest.$ac_objext
20230 if { (ac_try="$ac_compile"
20231 case "(($ac_try" in
20232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20233 *) ac_try_echo=$ac_try;;
20234 esac
20235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20236 (eval "$ac_compile") 2>conftest.er1
20237 ac_status=$?
20238 grep -v '^ *+' conftest.er1 >conftest.err
20239 rm -f conftest.er1
20240 cat conftest.err >&5
20241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20242 (exit $ac_status); } && {
20243 test -z "$ac_c_werror_flag" ||
20244 test ! -s conftest.err
20245 } && test -s conftest.$ac_objext; then
20246 ac_hi=$ac_mid; break
20247 else
20248 echo "$as_me: failed program was:" >&5
20249 sed 's/^/| /' conftest.$ac_ext >&5
20250
20251 ac_lo=`expr $ac_mid + 1`
20252 if test $ac_lo -le $ac_mid; then
20253 ac_lo= ac_hi=
20254 break
20255 fi
20256 ac_mid=`expr 2 '*' $ac_mid + 1`
20257 fi
20258
20259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20260 done
20261 else
20262 echo "$as_me: failed program was:" >&5
20263 sed 's/^/| /' conftest.$ac_ext >&5
20264
20265 cat >conftest.$ac_ext <<_ACEOF
20266 /* confdefs.h. */
20267 _ACEOF
20268 cat confdefs.h >>conftest.$ac_ext
20269 cat >>conftest.$ac_ext <<_ACEOF
20270 /* end confdefs.h. */
20271 $ac_includes_default
20272 typedef short ac__type_sizeof_;
20273 int
20274 main ()
20275 {
20276 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20277 test_array [0] = 0
20278
20279 ;
20280 return 0;
20281 }
20282 _ACEOF
20283 rm -f conftest.$ac_objext
20284 if { (ac_try="$ac_compile"
20285 case "(($ac_try" in
20286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20287 *) ac_try_echo=$ac_try;;
20288 esac
20289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20290 (eval "$ac_compile") 2>conftest.er1
20291 ac_status=$?
20292 grep -v '^ *+' conftest.er1 >conftest.err
20293 rm -f conftest.er1
20294 cat conftest.err >&5
20295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20296 (exit $ac_status); } && {
20297 test -z "$ac_c_werror_flag" ||
20298 test ! -s conftest.err
20299 } && test -s conftest.$ac_objext; then
20300 ac_hi=-1 ac_mid=-1
20301 while :; do
20302 cat >conftest.$ac_ext <<_ACEOF
20303 /* confdefs.h. */
20304 _ACEOF
20305 cat confdefs.h >>conftest.$ac_ext
20306 cat >>conftest.$ac_ext <<_ACEOF
20307 /* end confdefs.h. */
20308 $ac_includes_default
20309 typedef short ac__type_sizeof_;
20310 int
20311 main ()
20312 {
20313 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20314 test_array [0] = 0
20315
20316 ;
20317 return 0;
20318 }
20319 _ACEOF
20320 rm -f conftest.$ac_objext
20321 if { (ac_try="$ac_compile"
20322 case "(($ac_try" in
20323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20324 *) ac_try_echo=$ac_try;;
20325 esac
20326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20327 (eval "$ac_compile") 2>conftest.er1
20328 ac_status=$?
20329 grep -v '^ *+' conftest.er1 >conftest.err
20330 rm -f conftest.er1
20331 cat conftest.err >&5
20332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20333 (exit $ac_status); } && {
20334 test -z "$ac_c_werror_flag" ||
20335 test ! -s conftest.err
20336 } && test -s conftest.$ac_objext; then
20337 ac_lo=$ac_mid; break
20338 else
20339 echo "$as_me: failed program was:" >&5
20340 sed 's/^/| /' conftest.$ac_ext >&5
20341
20342 ac_hi=`expr '(' $ac_mid ')' - 1`
20343 if test $ac_mid -le $ac_hi; then
20344 ac_lo= ac_hi=
20345 break
20346 fi
20347 ac_mid=`expr 2 '*' $ac_mid`
20348 fi
20349
20350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20351 done
20352 else
20353 echo "$as_me: failed program was:" >&5
20354 sed 's/^/| /' conftest.$ac_ext >&5
20355
20356 ac_lo= ac_hi=
20357 fi
20358
20359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20360 fi
20361
20362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20363 # Binary search between lo and hi bounds.
20364 while test "x$ac_lo" != "x$ac_hi"; do
20365 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20366 cat >conftest.$ac_ext <<_ACEOF
20367 /* confdefs.h. */
20368 _ACEOF
20369 cat confdefs.h >>conftest.$ac_ext
20370 cat >>conftest.$ac_ext <<_ACEOF
20371 /* end confdefs.h. */
20372 $ac_includes_default
20373 typedef short ac__type_sizeof_;
20374 int
20375 main ()
20376 {
20377 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20378 test_array [0] = 0
20379
20380 ;
20381 return 0;
20382 }
20383 _ACEOF
20384 rm -f conftest.$ac_objext
20385 if { (ac_try="$ac_compile"
20386 case "(($ac_try" in
20387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20388 *) ac_try_echo=$ac_try;;
20389 esac
20390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20391 (eval "$ac_compile") 2>conftest.er1
20392 ac_status=$?
20393 grep -v '^ *+' conftest.er1 >conftest.err
20394 rm -f conftest.er1
20395 cat conftest.err >&5
20396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20397 (exit $ac_status); } && {
20398 test -z "$ac_c_werror_flag" ||
20399 test ! -s conftest.err
20400 } && test -s conftest.$ac_objext; then
20401 ac_hi=$ac_mid
20402 else
20403 echo "$as_me: failed program was:" >&5
20404 sed 's/^/| /' conftest.$ac_ext >&5
20405
20406 ac_lo=`expr '(' $ac_mid ')' + 1`
20407 fi
20408
20409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20410 done
20411 case $ac_lo in
20412 ?*) ac_cv_sizeof_short=$ac_lo;;
20413 '') if test "$ac_cv_type_short" = yes; then
20414 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20415 See \`config.log' for more details." >&5
20416 echo "$as_me: error: cannot compute sizeof (short)
20417 See \`config.log' for more details." >&2;}
20418 { (exit 77); exit 77; }; }
20419 else
20420 ac_cv_sizeof_short=0
20421 fi ;;
20422 esac
20423 else
20424 cat >conftest.$ac_ext <<_ACEOF
20425 /* confdefs.h. */
20426 _ACEOF
20427 cat confdefs.h >>conftest.$ac_ext
20428 cat >>conftest.$ac_ext <<_ACEOF
20429 /* end confdefs.h. */
20430 $ac_includes_default
20431 typedef short ac__type_sizeof_;
20432 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20433 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20434 #include <stdio.h>
20435 #include <stdlib.h>
20436 int
20437 main ()
20438 {
20439
20440 FILE *f = fopen ("conftest.val", "w");
20441 if (! f)
20442 return 1;
20443 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20444 {
20445 long int i = longval ();
20446 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20447 return 1;
20448 fprintf (f, "%ld\n", i);
20449 }
20450 else
20451 {
20452 unsigned long int i = ulongval ();
20453 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20454 return 1;
20455 fprintf (f, "%lu\n", i);
20456 }
20457 return ferror (f) || fclose (f) != 0;
20458
20459 ;
20460 return 0;
20461 }
20462 _ACEOF
20463 rm -f conftest$ac_exeext
20464 if { (ac_try="$ac_link"
20465 case "(($ac_try" in
20466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20467 *) ac_try_echo=$ac_try;;
20468 esac
20469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20470 (eval "$ac_link") 2>&5
20471 ac_status=$?
20472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20473 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20474 { (case "(($ac_try" in
20475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20476 *) ac_try_echo=$ac_try;;
20477 esac
20478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20479 (eval "$ac_try") 2>&5
20480 ac_status=$?
20481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20482 (exit $ac_status); }; }; then
20483 ac_cv_sizeof_short=`cat conftest.val`
20484 else
20485 echo "$as_me: program exited with status $ac_status" >&5
20486 echo "$as_me: failed program was:" >&5
20487 sed 's/^/| /' conftest.$ac_ext >&5
20488
20489 ( exit $ac_status )
20490 if test "$ac_cv_type_short" = yes; then
20491 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20492 See \`config.log' for more details." >&5
20493 echo "$as_me: error: cannot compute sizeof (short)
20494 See \`config.log' for more details." >&2;}
20495 { (exit 77); exit 77; }; }
20496 else
20497 ac_cv_sizeof_short=0
20498 fi
20499 fi
20500 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20501 fi
20502 rm -f conftest.val
20503 fi
20504 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20505 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20506
20507
20508
20509 cat >>confdefs.h <<_ACEOF
20510 #define SIZEOF_SHORT $ac_cv_sizeof_short
20511 _ACEOF
20512
20513
20514 { echo "$as_me:$LINENO: checking for void *" >&5
20515 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20516 if test "${ac_cv_type_void_p+set}" = set; then
20517 echo $ECHO_N "(cached) $ECHO_C" >&6
20518 else
20519 cat >conftest.$ac_ext <<_ACEOF
20520 /* confdefs.h. */
20521 _ACEOF
20522 cat confdefs.h >>conftest.$ac_ext
20523 cat >>conftest.$ac_ext <<_ACEOF
20524 /* end confdefs.h. */
20525 $ac_includes_default
20526 typedef void * ac__type_new_;
20527 int
20528 main ()
20529 {
20530 if ((ac__type_new_ *) 0)
20531 return 0;
20532 if (sizeof (ac__type_new_))
20533 return 0;
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_cv_type_void_p=yes
20556 else
20557 echo "$as_me: failed program was:" >&5
20558 sed 's/^/| /' conftest.$ac_ext >&5
20559
20560 ac_cv_type_void_p=no
20561 fi
20562
20563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20564 fi
20565 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20566 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20567
20568 # The cast to long int works around a bug in the HP C Compiler
20569 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20570 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20571 # This bug is HP SR number 8606223364.
20572 { echo "$as_me:$LINENO: checking size of void *" >&5
20573 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20574 if test "${ac_cv_sizeof_void_p+set}" = set; then
20575 echo $ECHO_N "(cached) $ECHO_C" >&6
20576 else
20577 if test "$cross_compiling" = yes; then
20578 # Depending upon the size, compute the lo and hi bounds.
20579 cat >conftest.$ac_ext <<_ACEOF
20580 /* confdefs.h. */
20581 _ACEOF
20582 cat confdefs.h >>conftest.$ac_ext
20583 cat >>conftest.$ac_ext <<_ACEOF
20584 /* end confdefs.h. */
20585 $ac_includes_default
20586 typedef void * ac__type_sizeof_;
20587 int
20588 main ()
20589 {
20590 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20591 test_array [0] = 0
20592
20593 ;
20594 return 0;
20595 }
20596 _ACEOF
20597 rm -f conftest.$ac_objext
20598 if { (ac_try="$ac_compile"
20599 case "(($ac_try" in
20600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20601 *) ac_try_echo=$ac_try;;
20602 esac
20603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20604 (eval "$ac_compile") 2>conftest.er1
20605 ac_status=$?
20606 grep -v '^ *+' conftest.er1 >conftest.err
20607 rm -f conftest.er1
20608 cat conftest.err >&5
20609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20610 (exit $ac_status); } && {
20611 test -z "$ac_c_werror_flag" ||
20612 test ! -s conftest.err
20613 } && test -s conftest.$ac_objext; then
20614 ac_lo=0 ac_mid=0
20615 while :; do
20616 cat >conftest.$ac_ext <<_ACEOF
20617 /* confdefs.h. */
20618 _ACEOF
20619 cat confdefs.h >>conftest.$ac_ext
20620 cat >>conftest.$ac_ext <<_ACEOF
20621 /* end confdefs.h. */
20622 $ac_includes_default
20623 typedef void * ac__type_sizeof_;
20624 int
20625 main ()
20626 {
20627 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20628 test_array [0] = 0
20629
20630 ;
20631 return 0;
20632 }
20633 _ACEOF
20634 rm -f conftest.$ac_objext
20635 if { (ac_try="$ac_compile"
20636 case "(($ac_try" in
20637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20638 *) ac_try_echo=$ac_try;;
20639 esac
20640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20641 (eval "$ac_compile") 2>conftest.er1
20642 ac_status=$?
20643 grep -v '^ *+' conftest.er1 >conftest.err
20644 rm -f conftest.er1
20645 cat conftest.err >&5
20646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20647 (exit $ac_status); } && {
20648 test -z "$ac_c_werror_flag" ||
20649 test ! -s conftest.err
20650 } && test -s conftest.$ac_objext; then
20651 ac_hi=$ac_mid; break
20652 else
20653 echo "$as_me: failed program was:" >&5
20654 sed 's/^/| /' conftest.$ac_ext >&5
20655
20656 ac_lo=`expr $ac_mid + 1`
20657 if test $ac_lo -le $ac_mid; then
20658 ac_lo= ac_hi=
20659 break
20660 fi
20661 ac_mid=`expr 2 '*' $ac_mid + 1`
20662 fi
20663
20664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20665 done
20666 else
20667 echo "$as_me: failed program was:" >&5
20668 sed 's/^/| /' conftest.$ac_ext >&5
20669
20670 cat >conftest.$ac_ext <<_ACEOF
20671 /* confdefs.h. */
20672 _ACEOF
20673 cat confdefs.h >>conftest.$ac_ext
20674 cat >>conftest.$ac_ext <<_ACEOF
20675 /* end confdefs.h. */
20676 $ac_includes_default
20677 typedef void * ac__type_sizeof_;
20678 int
20679 main ()
20680 {
20681 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20682 test_array [0] = 0
20683
20684 ;
20685 return 0;
20686 }
20687 _ACEOF
20688 rm -f conftest.$ac_objext
20689 if { (ac_try="$ac_compile"
20690 case "(($ac_try" in
20691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20692 *) ac_try_echo=$ac_try;;
20693 esac
20694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20695 (eval "$ac_compile") 2>conftest.er1
20696 ac_status=$?
20697 grep -v '^ *+' conftest.er1 >conftest.err
20698 rm -f conftest.er1
20699 cat conftest.err >&5
20700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20701 (exit $ac_status); } && {
20702 test -z "$ac_c_werror_flag" ||
20703 test ! -s conftest.err
20704 } && test -s conftest.$ac_objext; then
20705 ac_hi=-1 ac_mid=-1
20706 while :; do
20707 cat >conftest.$ac_ext <<_ACEOF
20708 /* confdefs.h. */
20709 _ACEOF
20710 cat confdefs.h >>conftest.$ac_ext
20711 cat >>conftest.$ac_ext <<_ACEOF
20712 /* end confdefs.h. */
20713 $ac_includes_default
20714 typedef void * ac__type_sizeof_;
20715 int
20716 main ()
20717 {
20718 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20719 test_array [0] = 0
20720
20721 ;
20722 return 0;
20723 }
20724 _ACEOF
20725 rm -f conftest.$ac_objext
20726 if { (ac_try="$ac_compile"
20727 case "(($ac_try" in
20728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20729 *) ac_try_echo=$ac_try;;
20730 esac
20731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20732 (eval "$ac_compile") 2>conftest.er1
20733 ac_status=$?
20734 grep -v '^ *+' conftest.er1 >conftest.err
20735 rm -f conftest.er1
20736 cat conftest.err >&5
20737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20738 (exit $ac_status); } && {
20739 test -z "$ac_c_werror_flag" ||
20740 test ! -s conftest.err
20741 } && test -s conftest.$ac_objext; then
20742 ac_lo=$ac_mid; break
20743 else
20744 echo "$as_me: failed program was:" >&5
20745 sed 's/^/| /' conftest.$ac_ext >&5
20746
20747 ac_hi=`expr '(' $ac_mid ')' - 1`
20748 if test $ac_mid -le $ac_hi; then
20749 ac_lo= ac_hi=
20750 break
20751 fi
20752 ac_mid=`expr 2 '*' $ac_mid`
20753 fi
20754
20755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20756 done
20757 else
20758 echo "$as_me: failed program was:" >&5
20759 sed 's/^/| /' conftest.$ac_ext >&5
20760
20761 ac_lo= ac_hi=
20762 fi
20763
20764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20765 fi
20766
20767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20768 # Binary search between lo and hi bounds.
20769 while test "x$ac_lo" != "x$ac_hi"; do
20770 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20771 cat >conftest.$ac_ext <<_ACEOF
20772 /* confdefs.h. */
20773 _ACEOF
20774 cat confdefs.h >>conftest.$ac_ext
20775 cat >>conftest.$ac_ext <<_ACEOF
20776 /* end confdefs.h. */
20777 $ac_includes_default
20778 typedef void * ac__type_sizeof_;
20779 int
20780 main ()
20781 {
20782 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20783 test_array [0] = 0
20784
20785 ;
20786 return 0;
20787 }
20788 _ACEOF
20789 rm -f conftest.$ac_objext
20790 if { (ac_try="$ac_compile"
20791 case "(($ac_try" in
20792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20793 *) ac_try_echo=$ac_try;;
20794 esac
20795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20796 (eval "$ac_compile") 2>conftest.er1
20797 ac_status=$?
20798 grep -v '^ *+' conftest.er1 >conftest.err
20799 rm -f conftest.er1
20800 cat conftest.err >&5
20801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20802 (exit $ac_status); } && {
20803 test -z "$ac_c_werror_flag" ||
20804 test ! -s conftest.err
20805 } && test -s conftest.$ac_objext; then
20806 ac_hi=$ac_mid
20807 else
20808 echo "$as_me: failed program was:" >&5
20809 sed 's/^/| /' conftest.$ac_ext >&5
20810
20811 ac_lo=`expr '(' $ac_mid ')' + 1`
20812 fi
20813
20814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20815 done
20816 case $ac_lo in
20817 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20818 '') if test "$ac_cv_type_void_p" = yes; then
20819 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20820 See \`config.log' for more details." >&5
20821 echo "$as_me: error: cannot compute sizeof (void *)
20822 See \`config.log' for more details." >&2;}
20823 { (exit 77); exit 77; }; }
20824 else
20825 ac_cv_sizeof_void_p=0
20826 fi ;;
20827 esac
20828 else
20829 cat >conftest.$ac_ext <<_ACEOF
20830 /* confdefs.h. */
20831 _ACEOF
20832 cat confdefs.h >>conftest.$ac_ext
20833 cat >>conftest.$ac_ext <<_ACEOF
20834 /* end confdefs.h. */
20835 $ac_includes_default
20836 typedef void * ac__type_sizeof_;
20837 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20838 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20839 #include <stdio.h>
20840 #include <stdlib.h>
20841 int
20842 main ()
20843 {
20844
20845 FILE *f = fopen ("conftest.val", "w");
20846 if (! f)
20847 return 1;
20848 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20849 {
20850 long int i = longval ();
20851 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20852 return 1;
20853 fprintf (f, "%ld\n", i);
20854 }
20855 else
20856 {
20857 unsigned long int i = ulongval ();
20858 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20859 return 1;
20860 fprintf (f, "%lu\n", i);
20861 }
20862 return ferror (f) || fclose (f) != 0;
20863
20864 ;
20865 return 0;
20866 }
20867 _ACEOF
20868 rm -f conftest$ac_exeext
20869 if { (ac_try="$ac_link"
20870 case "(($ac_try" in
20871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20872 *) ac_try_echo=$ac_try;;
20873 esac
20874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20875 (eval "$ac_link") 2>&5
20876 ac_status=$?
20877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20878 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20879 { (case "(($ac_try" in
20880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20881 *) ac_try_echo=$ac_try;;
20882 esac
20883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20884 (eval "$ac_try") 2>&5
20885 ac_status=$?
20886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20887 (exit $ac_status); }; }; then
20888 ac_cv_sizeof_void_p=`cat conftest.val`
20889 else
20890 echo "$as_me: program exited with status $ac_status" >&5
20891 echo "$as_me: failed program was:" >&5
20892 sed 's/^/| /' conftest.$ac_ext >&5
20893
20894 ( exit $ac_status )
20895 if test "$ac_cv_type_void_p" = yes; then
20896 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20897 See \`config.log' for more details." >&5
20898 echo "$as_me: error: cannot compute sizeof (void *)
20899 See \`config.log' for more details." >&2;}
20900 { (exit 77); exit 77; }; }
20901 else
20902 ac_cv_sizeof_void_p=0
20903 fi
20904 fi
20905 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20906 fi
20907 rm -f conftest.val
20908 fi
20909 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20910 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20911
20912
20913
20914 cat >>confdefs.h <<_ACEOF
20915 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20916 _ACEOF
20917
20918
20919 { echo "$as_me:$LINENO: checking for int" >&5
20920 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20921 if test "${ac_cv_type_int+set}" = set; then
20922 echo $ECHO_N "(cached) $ECHO_C" >&6
20923 else
20924 cat >conftest.$ac_ext <<_ACEOF
20925 /* confdefs.h. */
20926 _ACEOF
20927 cat confdefs.h >>conftest.$ac_ext
20928 cat >>conftest.$ac_ext <<_ACEOF
20929 /* end confdefs.h. */
20930 $ac_includes_default
20931 typedef int ac__type_new_;
20932 int
20933 main ()
20934 {
20935 if ((ac__type_new_ *) 0)
20936 return 0;
20937 if (sizeof (ac__type_new_))
20938 return 0;
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_cv_type_int=yes
20961 else
20962 echo "$as_me: failed program was:" >&5
20963 sed 's/^/| /' conftest.$ac_ext >&5
20964
20965 ac_cv_type_int=no
20966 fi
20967
20968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20969 fi
20970 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20971 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20972
20973 # The cast to long int works around a bug in the HP C Compiler
20974 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20975 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20976 # This bug is HP SR number 8606223364.
20977 { echo "$as_me:$LINENO: checking size of int" >&5
20978 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20979 if test "${ac_cv_sizeof_int+set}" = set; then
20980 echo $ECHO_N "(cached) $ECHO_C" >&6
20981 else
20982 if test "$cross_compiling" = yes; then
20983 # Depending upon the size, compute the lo and hi bounds.
20984 cat >conftest.$ac_ext <<_ACEOF
20985 /* confdefs.h. */
20986 _ACEOF
20987 cat confdefs.h >>conftest.$ac_ext
20988 cat >>conftest.$ac_ext <<_ACEOF
20989 /* end confdefs.h. */
20990 $ac_includes_default
20991 typedef int ac__type_sizeof_;
20992 int
20993 main ()
20994 {
20995 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20996 test_array [0] = 0
20997
20998 ;
20999 return 0;
21000 }
21001 _ACEOF
21002 rm -f conftest.$ac_objext
21003 if { (ac_try="$ac_compile"
21004 case "(($ac_try" in
21005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21006 *) ac_try_echo=$ac_try;;
21007 esac
21008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21009 (eval "$ac_compile") 2>conftest.er1
21010 ac_status=$?
21011 grep -v '^ *+' conftest.er1 >conftest.err
21012 rm -f conftest.er1
21013 cat conftest.err >&5
21014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21015 (exit $ac_status); } && {
21016 test -z "$ac_c_werror_flag" ||
21017 test ! -s conftest.err
21018 } && test -s conftest.$ac_objext; then
21019 ac_lo=0 ac_mid=0
21020 while :; do
21021 cat >conftest.$ac_ext <<_ACEOF
21022 /* confdefs.h. */
21023 _ACEOF
21024 cat confdefs.h >>conftest.$ac_ext
21025 cat >>conftest.$ac_ext <<_ACEOF
21026 /* end confdefs.h. */
21027 $ac_includes_default
21028 typedef int ac__type_sizeof_;
21029 int
21030 main ()
21031 {
21032 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21033 test_array [0] = 0
21034
21035 ;
21036 return 0;
21037 }
21038 _ACEOF
21039 rm -f conftest.$ac_objext
21040 if { (ac_try="$ac_compile"
21041 case "(($ac_try" in
21042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21043 *) ac_try_echo=$ac_try;;
21044 esac
21045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21046 (eval "$ac_compile") 2>conftest.er1
21047 ac_status=$?
21048 grep -v '^ *+' conftest.er1 >conftest.err
21049 rm -f conftest.er1
21050 cat conftest.err >&5
21051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21052 (exit $ac_status); } && {
21053 test -z "$ac_c_werror_flag" ||
21054 test ! -s conftest.err
21055 } && test -s conftest.$ac_objext; then
21056 ac_hi=$ac_mid; break
21057 else
21058 echo "$as_me: failed program was:" >&5
21059 sed 's/^/| /' conftest.$ac_ext >&5
21060
21061 ac_lo=`expr $ac_mid + 1`
21062 if test $ac_lo -le $ac_mid; then
21063 ac_lo= ac_hi=
21064 break
21065 fi
21066 ac_mid=`expr 2 '*' $ac_mid + 1`
21067 fi
21068
21069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21070 done
21071 else
21072 echo "$as_me: failed program was:" >&5
21073 sed 's/^/| /' conftest.$ac_ext >&5
21074
21075 cat >conftest.$ac_ext <<_ACEOF
21076 /* confdefs.h. */
21077 _ACEOF
21078 cat confdefs.h >>conftest.$ac_ext
21079 cat >>conftest.$ac_ext <<_ACEOF
21080 /* end confdefs.h. */
21081 $ac_includes_default
21082 typedef int ac__type_sizeof_;
21083 int
21084 main ()
21085 {
21086 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21087 test_array [0] = 0
21088
21089 ;
21090 return 0;
21091 }
21092 _ACEOF
21093 rm -f conftest.$ac_objext
21094 if { (ac_try="$ac_compile"
21095 case "(($ac_try" in
21096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21097 *) ac_try_echo=$ac_try;;
21098 esac
21099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21100 (eval "$ac_compile") 2>conftest.er1
21101 ac_status=$?
21102 grep -v '^ *+' conftest.er1 >conftest.err
21103 rm -f conftest.er1
21104 cat conftest.err >&5
21105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21106 (exit $ac_status); } && {
21107 test -z "$ac_c_werror_flag" ||
21108 test ! -s conftest.err
21109 } && test -s conftest.$ac_objext; then
21110 ac_hi=-1 ac_mid=-1
21111 while :; do
21112 cat >conftest.$ac_ext <<_ACEOF
21113 /* confdefs.h. */
21114 _ACEOF
21115 cat confdefs.h >>conftest.$ac_ext
21116 cat >>conftest.$ac_ext <<_ACEOF
21117 /* end confdefs.h. */
21118 $ac_includes_default
21119 typedef int ac__type_sizeof_;
21120 int
21121 main ()
21122 {
21123 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21124 test_array [0] = 0
21125
21126 ;
21127 return 0;
21128 }
21129 _ACEOF
21130 rm -f conftest.$ac_objext
21131 if { (ac_try="$ac_compile"
21132 case "(($ac_try" in
21133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21134 *) ac_try_echo=$ac_try;;
21135 esac
21136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21137 (eval "$ac_compile") 2>conftest.er1
21138 ac_status=$?
21139 grep -v '^ *+' conftest.er1 >conftest.err
21140 rm -f conftest.er1
21141 cat conftest.err >&5
21142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21143 (exit $ac_status); } && {
21144 test -z "$ac_c_werror_flag" ||
21145 test ! -s conftest.err
21146 } && test -s conftest.$ac_objext; then
21147 ac_lo=$ac_mid; break
21148 else
21149 echo "$as_me: failed program was:" >&5
21150 sed 's/^/| /' conftest.$ac_ext >&5
21151
21152 ac_hi=`expr '(' $ac_mid ')' - 1`
21153 if test $ac_mid -le $ac_hi; then
21154 ac_lo= ac_hi=
21155 break
21156 fi
21157 ac_mid=`expr 2 '*' $ac_mid`
21158 fi
21159
21160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21161 done
21162 else
21163 echo "$as_me: failed program was:" >&5
21164 sed 's/^/| /' conftest.$ac_ext >&5
21165
21166 ac_lo= ac_hi=
21167 fi
21168
21169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21170 fi
21171
21172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21173 # Binary search between lo and hi bounds.
21174 while test "x$ac_lo" != "x$ac_hi"; do
21175 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21176 cat >conftest.$ac_ext <<_ACEOF
21177 /* confdefs.h. */
21178 _ACEOF
21179 cat confdefs.h >>conftest.$ac_ext
21180 cat >>conftest.$ac_ext <<_ACEOF
21181 /* end confdefs.h. */
21182 $ac_includes_default
21183 typedef int ac__type_sizeof_;
21184 int
21185 main ()
21186 {
21187 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21188 test_array [0] = 0
21189
21190 ;
21191 return 0;
21192 }
21193 _ACEOF
21194 rm -f conftest.$ac_objext
21195 if { (ac_try="$ac_compile"
21196 case "(($ac_try" in
21197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21198 *) ac_try_echo=$ac_try;;
21199 esac
21200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21201 (eval "$ac_compile") 2>conftest.er1
21202 ac_status=$?
21203 grep -v '^ *+' conftest.er1 >conftest.err
21204 rm -f conftest.er1
21205 cat conftest.err >&5
21206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21207 (exit $ac_status); } && {
21208 test -z "$ac_c_werror_flag" ||
21209 test ! -s conftest.err
21210 } && test -s conftest.$ac_objext; then
21211 ac_hi=$ac_mid
21212 else
21213 echo "$as_me: failed program was:" >&5
21214 sed 's/^/| /' conftest.$ac_ext >&5
21215
21216 ac_lo=`expr '(' $ac_mid ')' + 1`
21217 fi
21218
21219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21220 done
21221 case $ac_lo in
21222 ?*) ac_cv_sizeof_int=$ac_lo;;
21223 '') if test "$ac_cv_type_int" = yes; then
21224 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21225 See \`config.log' for more details." >&5
21226 echo "$as_me: error: cannot compute sizeof (int)
21227 See \`config.log' for more details." >&2;}
21228 { (exit 77); exit 77; }; }
21229 else
21230 ac_cv_sizeof_int=0
21231 fi ;;
21232 esac
21233 else
21234 cat >conftest.$ac_ext <<_ACEOF
21235 /* confdefs.h. */
21236 _ACEOF
21237 cat confdefs.h >>conftest.$ac_ext
21238 cat >>conftest.$ac_ext <<_ACEOF
21239 /* end confdefs.h. */
21240 $ac_includes_default
21241 typedef int ac__type_sizeof_;
21242 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21243 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21244 #include <stdio.h>
21245 #include <stdlib.h>
21246 int
21247 main ()
21248 {
21249
21250 FILE *f = fopen ("conftest.val", "w");
21251 if (! f)
21252 return 1;
21253 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21254 {
21255 long int i = longval ();
21256 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21257 return 1;
21258 fprintf (f, "%ld\n", i);
21259 }
21260 else
21261 {
21262 unsigned long int i = ulongval ();
21263 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21264 return 1;
21265 fprintf (f, "%lu\n", i);
21266 }
21267 return ferror (f) || fclose (f) != 0;
21268
21269 ;
21270 return 0;
21271 }
21272 _ACEOF
21273 rm -f conftest$ac_exeext
21274 if { (ac_try="$ac_link"
21275 case "(($ac_try" in
21276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21277 *) ac_try_echo=$ac_try;;
21278 esac
21279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21280 (eval "$ac_link") 2>&5
21281 ac_status=$?
21282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21283 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21284 { (case "(($ac_try" in
21285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21286 *) ac_try_echo=$ac_try;;
21287 esac
21288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21289 (eval "$ac_try") 2>&5
21290 ac_status=$?
21291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21292 (exit $ac_status); }; }; then
21293 ac_cv_sizeof_int=`cat conftest.val`
21294 else
21295 echo "$as_me: program exited with status $ac_status" >&5
21296 echo "$as_me: failed program was:" >&5
21297 sed 's/^/| /' conftest.$ac_ext >&5
21298
21299 ( exit $ac_status )
21300 if test "$ac_cv_type_int" = yes; then
21301 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21302 See \`config.log' for more details." >&5
21303 echo "$as_me: error: cannot compute sizeof (int)
21304 See \`config.log' for more details." >&2;}
21305 { (exit 77); exit 77; }; }
21306 else
21307 ac_cv_sizeof_int=0
21308 fi
21309 fi
21310 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21311 fi
21312 rm -f conftest.val
21313 fi
21314 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21315 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21316
21317
21318
21319 cat >>confdefs.h <<_ACEOF
21320 #define SIZEOF_INT $ac_cv_sizeof_int
21321 _ACEOF
21322
21323
21324 { echo "$as_me:$LINENO: checking for long" >&5
21325 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21326 if test "${ac_cv_type_long+set}" = set; then
21327 echo $ECHO_N "(cached) $ECHO_C" >&6
21328 else
21329 cat >conftest.$ac_ext <<_ACEOF
21330 /* confdefs.h. */
21331 _ACEOF
21332 cat confdefs.h >>conftest.$ac_ext
21333 cat >>conftest.$ac_ext <<_ACEOF
21334 /* end confdefs.h. */
21335 $ac_includes_default
21336 typedef long ac__type_new_;
21337 int
21338 main ()
21339 {
21340 if ((ac__type_new_ *) 0)
21341 return 0;
21342 if (sizeof (ac__type_new_))
21343 return 0;
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_cv_type_long=yes
21366 else
21367 echo "$as_me: failed program was:" >&5
21368 sed 's/^/| /' conftest.$ac_ext >&5
21369
21370 ac_cv_type_long=no
21371 fi
21372
21373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21374 fi
21375 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21376 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21377
21378 # The cast to long int works around a bug in the HP C Compiler
21379 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21380 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21381 # This bug is HP SR number 8606223364.
21382 { echo "$as_me:$LINENO: checking size of long" >&5
21383 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21384 if test "${ac_cv_sizeof_long+set}" = set; then
21385 echo $ECHO_N "(cached) $ECHO_C" >&6
21386 else
21387 if test "$cross_compiling" = yes; then
21388 # Depending upon the size, compute the lo and hi bounds.
21389 cat >conftest.$ac_ext <<_ACEOF
21390 /* confdefs.h. */
21391 _ACEOF
21392 cat confdefs.h >>conftest.$ac_ext
21393 cat >>conftest.$ac_ext <<_ACEOF
21394 /* end confdefs.h. */
21395 $ac_includes_default
21396 typedef long ac__type_sizeof_;
21397 int
21398 main ()
21399 {
21400 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21401 test_array [0] = 0
21402
21403 ;
21404 return 0;
21405 }
21406 _ACEOF
21407 rm -f conftest.$ac_objext
21408 if { (ac_try="$ac_compile"
21409 case "(($ac_try" in
21410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21411 *) ac_try_echo=$ac_try;;
21412 esac
21413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21414 (eval "$ac_compile") 2>conftest.er1
21415 ac_status=$?
21416 grep -v '^ *+' conftest.er1 >conftest.err
21417 rm -f conftest.er1
21418 cat conftest.err >&5
21419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21420 (exit $ac_status); } && {
21421 test -z "$ac_c_werror_flag" ||
21422 test ! -s conftest.err
21423 } && test -s conftest.$ac_objext; then
21424 ac_lo=0 ac_mid=0
21425 while :; do
21426 cat >conftest.$ac_ext <<_ACEOF
21427 /* confdefs.h. */
21428 _ACEOF
21429 cat confdefs.h >>conftest.$ac_ext
21430 cat >>conftest.$ac_ext <<_ACEOF
21431 /* end confdefs.h. */
21432 $ac_includes_default
21433 typedef long ac__type_sizeof_;
21434 int
21435 main ()
21436 {
21437 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21438 test_array [0] = 0
21439
21440 ;
21441 return 0;
21442 }
21443 _ACEOF
21444 rm -f conftest.$ac_objext
21445 if { (ac_try="$ac_compile"
21446 case "(($ac_try" in
21447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21448 *) ac_try_echo=$ac_try;;
21449 esac
21450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21451 (eval "$ac_compile") 2>conftest.er1
21452 ac_status=$?
21453 grep -v '^ *+' conftest.er1 >conftest.err
21454 rm -f conftest.er1
21455 cat conftest.err >&5
21456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21457 (exit $ac_status); } && {
21458 test -z "$ac_c_werror_flag" ||
21459 test ! -s conftest.err
21460 } && test -s conftest.$ac_objext; then
21461 ac_hi=$ac_mid; break
21462 else
21463 echo "$as_me: failed program was:" >&5
21464 sed 's/^/| /' conftest.$ac_ext >&5
21465
21466 ac_lo=`expr $ac_mid + 1`
21467 if test $ac_lo -le $ac_mid; then
21468 ac_lo= ac_hi=
21469 break
21470 fi
21471 ac_mid=`expr 2 '*' $ac_mid + 1`
21472 fi
21473
21474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21475 done
21476 else
21477 echo "$as_me: failed program was:" >&5
21478 sed 's/^/| /' conftest.$ac_ext >&5
21479
21480 cat >conftest.$ac_ext <<_ACEOF
21481 /* confdefs.h. */
21482 _ACEOF
21483 cat confdefs.h >>conftest.$ac_ext
21484 cat >>conftest.$ac_ext <<_ACEOF
21485 /* end confdefs.h. */
21486 $ac_includes_default
21487 typedef long ac__type_sizeof_;
21488 int
21489 main ()
21490 {
21491 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21492 test_array [0] = 0
21493
21494 ;
21495 return 0;
21496 }
21497 _ACEOF
21498 rm -f conftest.$ac_objext
21499 if { (ac_try="$ac_compile"
21500 case "(($ac_try" in
21501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21502 *) ac_try_echo=$ac_try;;
21503 esac
21504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21505 (eval "$ac_compile") 2>conftest.er1
21506 ac_status=$?
21507 grep -v '^ *+' conftest.er1 >conftest.err
21508 rm -f conftest.er1
21509 cat conftest.err >&5
21510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21511 (exit $ac_status); } && {
21512 test -z "$ac_c_werror_flag" ||
21513 test ! -s conftest.err
21514 } && test -s conftest.$ac_objext; then
21515 ac_hi=-1 ac_mid=-1
21516 while :; do
21517 cat >conftest.$ac_ext <<_ACEOF
21518 /* confdefs.h. */
21519 _ACEOF
21520 cat confdefs.h >>conftest.$ac_ext
21521 cat >>conftest.$ac_ext <<_ACEOF
21522 /* end confdefs.h. */
21523 $ac_includes_default
21524 typedef long ac__type_sizeof_;
21525 int
21526 main ()
21527 {
21528 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21529 test_array [0] = 0
21530
21531 ;
21532 return 0;
21533 }
21534 _ACEOF
21535 rm -f conftest.$ac_objext
21536 if { (ac_try="$ac_compile"
21537 case "(($ac_try" in
21538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21539 *) ac_try_echo=$ac_try;;
21540 esac
21541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21542 (eval "$ac_compile") 2>conftest.er1
21543 ac_status=$?
21544 grep -v '^ *+' conftest.er1 >conftest.err
21545 rm -f conftest.er1
21546 cat conftest.err >&5
21547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21548 (exit $ac_status); } && {
21549 test -z "$ac_c_werror_flag" ||
21550 test ! -s conftest.err
21551 } && test -s conftest.$ac_objext; then
21552 ac_lo=$ac_mid; break
21553 else
21554 echo "$as_me: failed program was:" >&5
21555 sed 's/^/| /' conftest.$ac_ext >&5
21556
21557 ac_hi=`expr '(' $ac_mid ')' - 1`
21558 if test $ac_mid -le $ac_hi; then
21559 ac_lo= ac_hi=
21560 break
21561 fi
21562 ac_mid=`expr 2 '*' $ac_mid`
21563 fi
21564
21565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21566 done
21567 else
21568 echo "$as_me: failed program was:" >&5
21569 sed 's/^/| /' conftest.$ac_ext >&5
21570
21571 ac_lo= ac_hi=
21572 fi
21573
21574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21575 fi
21576
21577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21578 # Binary search between lo and hi bounds.
21579 while test "x$ac_lo" != "x$ac_hi"; do
21580 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21581 cat >conftest.$ac_ext <<_ACEOF
21582 /* confdefs.h. */
21583 _ACEOF
21584 cat confdefs.h >>conftest.$ac_ext
21585 cat >>conftest.$ac_ext <<_ACEOF
21586 /* end confdefs.h. */
21587 $ac_includes_default
21588 typedef long ac__type_sizeof_;
21589 int
21590 main ()
21591 {
21592 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21593 test_array [0] = 0
21594
21595 ;
21596 return 0;
21597 }
21598 _ACEOF
21599 rm -f conftest.$ac_objext
21600 if { (ac_try="$ac_compile"
21601 case "(($ac_try" in
21602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21603 *) ac_try_echo=$ac_try;;
21604 esac
21605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21606 (eval "$ac_compile") 2>conftest.er1
21607 ac_status=$?
21608 grep -v '^ *+' conftest.er1 >conftest.err
21609 rm -f conftest.er1
21610 cat conftest.err >&5
21611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21612 (exit $ac_status); } && {
21613 test -z "$ac_c_werror_flag" ||
21614 test ! -s conftest.err
21615 } && test -s conftest.$ac_objext; then
21616 ac_hi=$ac_mid
21617 else
21618 echo "$as_me: failed program was:" >&5
21619 sed 's/^/| /' conftest.$ac_ext >&5
21620
21621 ac_lo=`expr '(' $ac_mid ')' + 1`
21622 fi
21623
21624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21625 done
21626 case $ac_lo in
21627 ?*) ac_cv_sizeof_long=$ac_lo;;
21628 '') if test "$ac_cv_type_long" = yes; then
21629 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21630 See \`config.log' for more details." >&5
21631 echo "$as_me: error: cannot compute sizeof (long)
21632 See \`config.log' for more details." >&2;}
21633 { (exit 77); exit 77; }; }
21634 else
21635 ac_cv_sizeof_long=0
21636 fi ;;
21637 esac
21638 else
21639 cat >conftest.$ac_ext <<_ACEOF
21640 /* confdefs.h. */
21641 _ACEOF
21642 cat confdefs.h >>conftest.$ac_ext
21643 cat >>conftest.$ac_ext <<_ACEOF
21644 /* end confdefs.h. */
21645 $ac_includes_default
21646 typedef long ac__type_sizeof_;
21647 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21648 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21649 #include <stdio.h>
21650 #include <stdlib.h>
21651 int
21652 main ()
21653 {
21654
21655 FILE *f = fopen ("conftest.val", "w");
21656 if (! f)
21657 return 1;
21658 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21659 {
21660 long int i = longval ();
21661 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21662 return 1;
21663 fprintf (f, "%ld\n", i);
21664 }
21665 else
21666 {
21667 unsigned long int i = ulongval ();
21668 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21669 return 1;
21670 fprintf (f, "%lu\n", i);
21671 }
21672 return ferror (f) || fclose (f) != 0;
21673
21674 ;
21675 return 0;
21676 }
21677 _ACEOF
21678 rm -f conftest$ac_exeext
21679 if { (ac_try="$ac_link"
21680 case "(($ac_try" in
21681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21682 *) ac_try_echo=$ac_try;;
21683 esac
21684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21685 (eval "$ac_link") 2>&5
21686 ac_status=$?
21687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21688 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21689 { (case "(($ac_try" in
21690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21691 *) ac_try_echo=$ac_try;;
21692 esac
21693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21694 (eval "$ac_try") 2>&5
21695 ac_status=$?
21696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21697 (exit $ac_status); }; }; then
21698 ac_cv_sizeof_long=`cat conftest.val`
21699 else
21700 echo "$as_me: program exited with status $ac_status" >&5
21701 echo "$as_me: failed program was:" >&5
21702 sed 's/^/| /' conftest.$ac_ext >&5
21703
21704 ( exit $ac_status )
21705 if test "$ac_cv_type_long" = yes; then
21706 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21707 See \`config.log' for more details." >&5
21708 echo "$as_me: error: cannot compute sizeof (long)
21709 See \`config.log' for more details." >&2;}
21710 { (exit 77); exit 77; }; }
21711 else
21712 ac_cv_sizeof_long=0
21713 fi
21714 fi
21715 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21716 fi
21717 rm -f conftest.val
21718 fi
21719 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21720 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21721
21722
21723
21724 cat >>confdefs.h <<_ACEOF
21725 #define SIZEOF_LONG $ac_cv_sizeof_long
21726 _ACEOF
21727
21728
21729 { echo "$as_me:$LINENO: checking for size_t" >&5
21730 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21731 if test "${ac_cv_type_size_t+set}" = set; then
21732 echo $ECHO_N "(cached) $ECHO_C" >&6
21733 else
21734 cat >conftest.$ac_ext <<_ACEOF
21735 /* confdefs.h. */
21736 _ACEOF
21737 cat confdefs.h >>conftest.$ac_ext
21738 cat >>conftest.$ac_ext <<_ACEOF
21739 /* end confdefs.h. */
21740 $ac_includes_default
21741 typedef size_t ac__type_new_;
21742 int
21743 main ()
21744 {
21745 if ((ac__type_new_ *) 0)
21746 return 0;
21747 if (sizeof (ac__type_new_))
21748 return 0;
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_cv_type_size_t=yes
21771 else
21772 echo "$as_me: failed program was:" >&5
21773 sed 's/^/| /' conftest.$ac_ext >&5
21774
21775 ac_cv_type_size_t=no
21776 fi
21777
21778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21779 fi
21780 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21781 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21782
21783 # The cast to long int works around a bug in the HP C Compiler
21784 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21785 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21786 # This bug is HP SR number 8606223364.
21787 { echo "$as_me:$LINENO: checking size of size_t" >&5
21788 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21789 if test "${ac_cv_sizeof_size_t+set}" = set; then
21790 echo $ECHO_N "(cached) $ECHO_C" >&6
21791 else
21792 if test "$cross_compiling" = yes; then
21793 # Depending upon the size, compute the lo and hi bounds.
21794 cat >conftest.$ac_ext <<_ACEOF
21795 /* confdefs.h. */
21796 _ACEOF
21797 cat confdefs.h >>conftest.$ac_ext
21798 cat >>conftest.$ac_ext <<_ACEOF
21799 /* end confdefs.h. */
21800 $ac_includes_default
21801 typedef size_t ac__type_sizeof_;
21802 int
21803 main ()
21804 {
21805 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21806 test_array [0] = 0
21807
21808 ;
21809 return 0;
21810 }
21811 _ACEOF
21812 rm -f conftest.$ac_objext
21813 if { (ac_try="$ac_compile"
21814 case "(($ac_try" in
21815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21816 *) ac_try_echo=$ac_try;;
21817 esac
21818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21819 (eval "$ac_compile") 2>conftest.er1
21820 ac_status=$?
21821 grep -v '^ *+' conftest.er1 >conftest.err
21822 rm -f conftest.er1
21823 cat conftest.err >&5
21824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21825 (exit $ac_status); } && {
21826 test -z "$ac_c_werror_flag" ||
21827 test ! -s conftest.err
21828 } && test -s conftest.$ac_objext; then
21829 ac_lo=0 ac_mid=0
21830 while :; do
21831 cat >conftest.$ac_ext <<_ACEOF
21832 /* confdefs.h. */
21833 _ACEOF
21834 cat confdefs.h >>conftest.$ac_ext
21835 cat >>conftest.$ac_ext <<_ACEOF
21836 /* end confdefs.h. */
21837 $ac_includes_default
21838 typedef size_t ac__type_sizeof_;
21839 int
21840 main ()
21841 {
21842 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21843 test_array [0] = 0
21844
21845 ;
21846 return 0;
21847 }
21848 _ACEOF
21849 rm -f conftest.$ac_objext
21850 if { (ac_try="$ac_compile"
21851 case "(($ac_try" in
21852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21853 *) ac_try_echo=$ac_try;;
21854 esac
21855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21856 (eval "$ac_compile") 2>conftest.er1
21857 ac_status=$?
21858 grep -v '^ *+' conftest.er1 >conftest.err
21859 rm -f conftest.er1
21860 cat conftest.err >&5
21861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21862 (exit $ac_status); } && {
21863 test -z "$ac_c_werror_flag" ||
21864 test ! -s conftest.err
21865 } && test -s conftest.$ac_objext; then
21866 ac_hi=$ac_mid; break
21867 else
21868 echo "$as_me: failed program was:" >&5
21869 sed 's/^/| /' conftest.$ac_ext >&5
21870
21871 ac_lo=`expr $ac_mid + 1`
21872 if test $ac_lo -le $ac_mid; then
21873 ac_lo= ac_hi=
21874 break
21875 fi
21876 ac_mid=`expr 2 '*' $ac_mid + 1`
21877 fi
21878
21879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21880 done
21881 else
21882 echo "$as_me: failed program was:" >&5
21883 sed 's/^/| /' conftest.$ac_ext >&5
21884
21885 cat >conftest.$ac_ext <<_ACEOF
21886 /* confdefs.h. */
21887 _ACEOF
21888 cat confdefs.h >>conftest.$ac_ext
21889 cat >>conftest.$ac_ext <<_ACEOF
21890 /* end confdefs.h. */
21891 $ac_includes_default
21892 typedef size_t ac__type_sizeof_;
21893 int
21894 main ()
21895 {
21896 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21897 test_array [0] = 0
21898
21899 ;
21900 return 0;
21901 }
21902 _ACEOF
21903 rm -f conftest.$ac_objext
21904 if { (ac_try="$ac_compile"
21905 case "(($ac_try" in
21906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21907 *) ac_try_echo=$ac_try;;
21908 esac
21909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21910 (eval "$ac_compile") 2>conftest.er1
21911 ac_status=$?
21912 grep -v '^ *+' conftest.er1 >conftest.err
21913 rm -f conftest.er1
21914 cat conftest.err >&5
21915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21916 (exit $ac_status); } && {
21917 test -z "$ac_c_werror_flag" ||
21918 test ! -s conftest.err
21919 } && test -s conftest.$ac_objext; then
21920 ac_hi=-1 ac_mid=-1
21921 while :; do
21922 cat >conftest.$ac_ext <<_ACEOF
21923 /* confdefs.h. */
21924 _ACEOF
21925 cat confdefs.h >>conftest.$ac_ext
21926 cat >>conftest.$ac_ext <<_ACEOF
21927 /* end confdefs.h. */
21928 $ac_includes_default
21929 typedef size_t ac__type_sizeof_;
21930 int
21931 main ()
21932 {
21933 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21934 test_array [0] = 0
21935
21936 ;
21937 return 0;
21938 }
21939 _ACEOF
21940 rm -f conftest.$ac_objext
21941 if { (ac_try="$ac_compile"
21942 case "(($ac_try" in
21943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21944 *) ac_try_echo=$ac_try;;
21945 esac
21946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21947 (eval "$ac_compile") 2>conftest.er1
21948 ac_status=$?
21949 grep -v '^ *+' conftest.er1 >conftest.err
21950 rm -f conftest.er1
21951 cat conftest.err >&5
21952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21953 (exit $ac_status); } && {
21954 test -z "$ac_c_werror_flag" ||
21955 test ! -s conftest.err
21956 } && test -s conftest.$ac_objext; then
21957 ac_lo=$ac_mid; break
21958 else
21959 echo "$as_me: failed program was:" >&5
21960 sed 's/^/| /' conftest.$ac_ext >&5
21961
21962 ac_hi=`expr '(' $ac_mid ')' - 1`
21963 if test $ac_mid -le $ac_hi; then
21964 ac_lo= ac_hi=
21965 break
21966 fi
21967 ac_mid=`expr 2 '*' $ac_mid`
21968 fi
21969
21970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21971 done
21972 else
21973 echo "$as_me: failed program was:" >&5
21974 sed 's/^/| /' conftest.$ac_ext >&5
21975
21976 ac_lo= ac_hi=
21977 fi
21978
21979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21980 fi
21981
21982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21983 # Binary search between lo and hi bounds.
21984 while test "x$ac_lo" != "x$ac_hi"; do
21985 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21986 cat >conftest.$ac_ext <<_ACEOF
21987 /* confdefs.h. */
21988 _ACEOF
21989 cat confdefs.h >>conftest.$ac_ext
21990 cat >>conftest.$ac_ext <<_ACEOF
21991 /* end confdefs.h. */
21992 $ac_includes_default
21993 typedef size_t ac__type_sizeof_;
21994 int
21995 main ()
21996 {
21997 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21998 test_array [0] = 0
21999
22000 ;
22001 return 0;
22002 }
22003 _ACEOF
22004 rm -f conftest.$ac_objext
22005 if { (ac_try="$ac_compile"
22006 case "(($ac_try" in
22007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22008 *) ac_try_echo=$ac_try;;
22009 esac
22010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22011 (eval "$ac_compile") 2>conftest.er1
22012 ac_status=$?
22013 grep -v '^ *+' conftest.er1 >conftest.err
22014 rm -f conftest.er1
22015 cat conftest.err >&5
22016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22017 (exit $ac_status); } && {
22018 test -z "$ac_c_werror_flag" ||
22019 test ! -s conftest.err
22020 } && test -s conftest.$ac_objext; then
22021 ac_hi=$ac_mid
22022 else
22023 echo "$as_me: failed program was:" >&5
22024 sed 's/^/| /' conftest.$ac_ext >&5
22025
22026 ac_lo=`expr '(' $ac_mid ')' + 1`
22027 fi
22028
22029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22030 done
22031 case $ac_lo in
22032 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22033 '') if test "$ac_cv_type_size_t" = yes; then
22034 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22035 See \`config.log' for more details." >&5
22036 echo "$as_me: error: cannot compute sizeof (size_t)
22037 See \`config.log' for more details." >&2;}
22038 { (exit 77); exit 77; }; }
22039 else
22040 ac_cv_sizeof_size_t=0
22041 fi ;;
22042 esac
22043 else
22044 cat >conftest.$ac_ext <<_ACEOF
22045 /* confdefs.h. */
22046 _ACEOF
22047 cat confdefs.h >>conftest.$ac_ext
22048 cat >>conftest.$ac_ext <<_ACEOF
22049 /* end confdefs.h. */
22050 $ac_includes_default
22051 typedef size_t ac__type_sizeof_;
22052 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22053 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22054 #include <stdio.h>
22055 #include <stdlib.h>
22056 int
22057 main ()
22058 {
22059
22060 FILE *f = fopen ("conftest.val", "w");
22061 if (! f)
22062 return 1;
22063 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22064 {
22065 long int i = longval ();
22066 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22067 return 1;
22068 fprintf (f, "%ld\n", i);
22069 }
22070 else
22071 {
22072 unsigned long int i = ulongval ();
22073 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22074 return 1;
22075 fprintf (f, "%lu\n", i);
22076 }
22077 return ferror (f) || fclose (f) != 0;
22078
22079 ;
22080 return 0;
22081 }
22082 _ACEOF
22083 rm -f conftest$ac_exeext
22084 if { (ac_try="$ac_link"
22085 case "(($ac_try" in
22086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22087 *) ac_try_echo=$ac_try;;
22088 esac
22089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22090 (eval "$ac_link") 2>&5
22091 ac_status=$?
22092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22093 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22094 { (case "(($ac_try" in
22095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22096 *) ac_try_echo=$ac_try;;
22097 esac
22098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22099 (eval "$ac_try") 2>&5
22100 ac_status=$?
22101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22102 (exit $ac_status); }; }; then
22103 ac_cv_sizeof_size_t=`cat conftest.val`
22104 else
22105 echo "$as_me: program exited with status $ac_status" >&5
22106 echo "$as_me: failed program was:" >&5
22107 sed 's/^/| /' conftest.$ac_ext >&5
22108
22109 ( exit $ac_status )
22110 if test "$ac_cv_type_size_t" = yes; then
22111 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22112 See \`config.log' for more details." >&5
22113 echo "$as_me: error: cannot compute sizeof (size_t)
22114 See \`config.log' for more details." >&2;}
22115 { (exit 77); exit 77; }; }
22116 else
22117 ac_cv_sizeof_size_t=0
22118 fi
22119 fi
22120 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22121 fi
22122 rm -f conftest.val
22123 fi
22124 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22125 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22126
22127
22128
22129 cat >>confdefs.h <<_ACEOF
22130 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22131 _ACEOF
22132
22133
22134
22135 case "${host}" in
22136 arm-*-linux* )
22137 { echo "$as_me:$LINENO: checking for long long" >&5
22138 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22139 if test "${ac_cv_type_long_long+set}" = set; then
22140 echo $ECHO_N "(cached) $ECHO_C" >&6
22141 else
22142 cat >conftest.$ac_ext <<_ACEOF
22143 /* confdefs.h. */
22144 _ACEOF
22145 cat confdefs.h >>conftest.$ac_ext
22146 cat >>conftest.$ac_ext <<_ACEOF
22147 /* end confdefs.h. */
22148 $ac_includes_default
22149 typedef long long ac__type_new_;
22150 int
22151 main ()
22152 {
22153 if ((ac__type_new_ *) 0)
22154 return 0;
22155 if (sizeof (ac__type_new_))
22156 return 0;
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_cv_type_long_long=yes
22179 else
22180 echo "$as_me: failed program was:" >&5
22181 sed 's/^/| /' conftest.$ac_ext >&5
22182
22183 ac_cv_type_long_long=no
22184 fi
22185
22186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22187 fi
22188 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22189 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22190
22191 # The cast to long int works around a bug in the HP C Compiler
22192 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22193 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22194 # This bug is HP SR number 8606223364.
22195 { echo "$as_me:$LINENO: checking size of long long" >&5
22196 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22197 if test "${ac_cv_sizeof_long_long+set}" = set; then
22198 echo $ECHO_N "(cached) $ECHO_C" >&6
22199 else
22200 if test "$cross_compiling" = yes; then
22201 # Depending upon the size, compute the lo and hi bounds.
22202 cat >conftest.$ac_ext <<_ACEOF
22203 /* confdefs.h. */
22204 _ACEOF
22205 cat confdefs.h >>conftest.$ac_ext
22206 cat >>conftest.$ac_ext <<_ACEOF
22207 /* end confdefs.h. */
22208 $ac_includes_default
22209 typedef long long ac__type_sizeof_;
22210 int
22211 main ()
22212 {
22213 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22214 test_array [0] = 0
22215
22216 ;
22217 return 0;
22218 }
22219 _ACEOF
22220 rm -f conftest.$ac_objext
22221 if { (ac_try="$ac_compile"
22222 case "(($ac_try" in
22223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22224 *) ac_try_echo=$ac_try;;
22225 esac
22226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22227 (eval "$ac_compile") 2>conftest.er1
22228 ac_status=$?
22229 grep -v '^ *+' conftest.er1 >conftest.err
22230 rm -f conftest.er1
22231 cat conftest.err >&5
22232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22233 (exit $ac_status); } && {
22234 test -z "$ac_c_werror_flag" ||
22235 test ! -s conftest.err
22236 } && test -s conftest.$ac_objext; then
22237 ac_lo=0 ac_mid=0
22238 while :; do
22239 cat >conftest.$ac_ext <<_ACEOF
22240 /* confdefs.h. */
22241 _ACEOF
22242 cat confdefs.h >>conftest.$ac_ext
22243 cat >>conftest.$ac_ext <<_ACEOF
22244 /* end confdefs.h. */
22245 $ac_includes_default
22246 typedef long long ac__type_sizeof_;
22247 int
22248 main ()
22249 {
22250 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22251 test_array [0] = 0
22252
22253 ;
22254 return 0;
22255 }
22256 _ACEOF
22257 rm -f conftest.$ac_objext
22258 if { (ac_try="$ac_compile"
22259 case "(($ac_try" in
22260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22261 *) ac_try_echo=$ac_try;;
22262 esac
22263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22264 (eval "$ac_compile") 2>conftest.er1
22265 ac_status=$?
22266 grep -v '^ *+' conftest.er1 >conftest.err
22267 rm -f conftest.er1
22268 cat conftest.err >&5
22269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22270 (exit $ac_status); } && {
22271 test -z "$ac_c_werror_flag" ||
22272 test ! -s conftest.err
22273 } && test -s conftest.$ac_objext; then
22274 ac_hi=$ac_mid; break
22275 else
22276 echo "$as_me: failed program was:" >&5
22277 sed 's/^/| /' conftest.$ac_ext >&5
22278
22279 ac_lo=`expr $ac_mid + 1`
22280 if test $ac_lo -le $ac_mid; then
22281 ac_lo= ac_hi=
22282 break
22283 fi
22284 ac_mid=`expr 2 '*' $ac_mid + 1`
22285 fi
22286
22287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22288 done
22289 else
22290 echo "$as_me: failed program was:" >&5
22291 sed 's/^/| /' conftest.$ac_ext >&5
22292
22293 cat >conftest.$ac_ext <<_ACEOF
22294 /* confdefs.h. */
22295 _ACEOF
22296 cat confdefs.h >>conftest.$ac_ext
22297 cat >>conftest.$ac_ext <<_ACEOF
22298 /* end confdefs.h. */
22299 $ac_includes_default
22300 typedef long long ac__type_sizeof_;
22301 int
22302 main ()
22303 {
22304 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22305 test_array [0] = 0
22306
22307 ;
22308 return 0;
22309 }
22310 _ACEOF
22311 rm -f conftest.$ac_objext
22312 if { (ac_try="$ac_compile"
22313 case "(($ac_try" in
22314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22315 *) ac_try_echo=$ac_try;;
22316 esac
22317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22318 (eval "$ac_compile") 2>conftest.er1
22319 ac_status=$?
22320 grep -v '^ *+' conftest.er1 >conftest.err
22321 rm -f conftest.er1
22322 cat conftest.err >&5
22323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22324 (exit $ac_status); } && {
22325 test -z "$ac_c_werror_flag" ||
22326 test ! -s conftest.err
22327 } && test -s conftest.$ac_objext; then
22328 ac_hi=-1 ac_mid=-1
22329 while :; do
22330 cat >conftest.$ac_ext <<_ACEOF
22331 /* confdefs.h. */
22332 _ACEOF
22333 cat confdefs.h >>conftest.$ac_ext
22334 cat >>conftest.$ac_ext <<_ACEOF
22335 /* end confdefs.h. */
22336 $ac_includes_default
22337 typedef long long ac__type_sizeof_;
22338 int
22339 main ()
22340 {
22341 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22342 test_array [0] = 0
22343
22344 ;
22345 return 0;
22346 }
22347 _ACEOF
22348 rm -f conftest.$ac_objext
22349 if { (ac_try="$ac_compile"
22350 case "(($ac_try" in
22351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22352 *) ac_try_echo=$ac_try;;
22353 esac
22354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22355 (eval "$ac_compile") 2>conftest.er1
22356 ac_status=$?
22357 grep -v '^ *+' conftest.er1 >conftest.err
22358 rm -f conftest.er1
22359 cat conftest.err >&5
22360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22361 (exit $ac_status); } && {
22362 test -z "$ac_c_werror_flag" ||
22363 test ! -s conftest.err
22364 } && test -s conftest.$ac_objext; then
22365 ac_lo=$ac_mid; break
22366 else
22367 echo "$as_me: failed program was:" >&5
22368 sed 's/^/| /' conftest.$ac_ext >&5
22369
22370 ac_hi=`expr '(' $ac_mid ')' - 1`
22371 if test $ac_mid -le $ac_hi; then
22372 ac_lo= ac_hi=
22373 break
22374 fi
22375 ac_mid=`expr 2 '*' $ac_mid`
22376 fi
22377
22378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22379 done
22380 else
22381 echo "$as_me: failed program was:" >&5
22382 sed 's/^/| /' conftest.$ac_ext >&5
22383
22384 ac_lo= ac_hi=
22385 fi
22386
22387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22388 fi
22389
22390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22391 # Binary search between lo and hi bounds.
22392 while test "x$ac_lo" != "x$ac_hi"; do
22393 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22394 cat >conftest.$ac_ext <<_ACEOF
22395 /* confdefs.h. */
22396 _ACEOF
22397 cat confdefs.h >>conftest.$ac_ext
22398 cat >>conftest.$ac_ext <<_ACEOF
22399 /* end confdefs.h. */
22400 $ac_includes_default
22401 typedef long long ac__type_sizeof_;
22402 int
22403 main ()
22404 {
22405 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22406 test_array [0] = 0
22407
22408 ;
22409 return 0;
22410 }
22411 _ACEOF
22412 rm -f conftest.$ac_objext
22413 if { (ac_try="$ac_compile"
22414 case "(($ac_try" in
22415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22416 *) ac_try_echo=$ac_try;;
22417 esac
22418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22419 (eval "$ac_compile") 2>conftest.er1
22420 ac_status=$?
22421 grep -v '^ *+' conftest.er1 >conftest.err
22422 rm -f conftest.er1
22423 cat conftest.err >&5
22424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22425 (exit $ac_status); } && {
22426 test -z "$ac_c_werror_flag" ||
22427 test ! -s conftest.err
22428 } && test -s conftest.$ac_objext; then
22429 ac_hi=$ac_mid
22430 else
22431 echo "$as_me: failed program was:" >&5
22432 sed 's/^/| /' conftest.$ac_ext >&5
22433
22434 ac_lo=`expr '(' $ac_mid ')' + 1`
22435 fi
22436
22437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22438 done
22439 case $ac_lo in
22440 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22441 '') if test "$ac_cv_type_long_long" = yes; then
22442 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22443 See \`config.log' for more details." >&5
22444 echo "$as_me: error: cannot compute sizeof (long long)
22445 See \`config.log' for more details." >&2;}
22446 { (exit 77); exit 77; }; }
22447 else
22448 ac_cv_sizeof_long_long=0
22449 fi ;;
22450 esac
22451 else
22452 cat >conftest.$ac_ext <<_ACEOF
22453 /* confdefs.h. */
22454 _ACEOF
22455 cat confdefs.h >>conftest.$ac_ext
22456 cat >>conftest.$ac_ext <<_ACEOF
22457 /* end confdefs.h. */
22458 $ac_includes_default
22459 typedef long long ac__type_sizeof_;
22460 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22461 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22462 #include <stdio.h>
22463 #include <stdlib.h>
22464 int
22465 main ()
22466 {
22467
22468 FILE *f = fopen ("conftest.val", "w");
22469 if (! f)
22470 return 1;
22471 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22472 {
22473 long int i = longval ();
22474 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22475 return 1;
22476 fprintf (f, "%ld\n", i);
22477 }
22478 else
22479 {
22480 unsigned long int i = ulongval ();
22481 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22482 return 1;
22483 fprintf (f, "%lu\n", i);
22484 }
22485 return ferror (f) || fclose (f) != 0;
22486
22487 ;
22488 return 0;
22489 }
22490 _ACEOF
22491 rm -f conftest$ac_exeext
22492 if { (ac_try="$ac_link"
22493 case "(($ac_try" in
22494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22495 *) ac_try_echo=$ac_try;;
22496 esac
22497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22498 (eval "$ac_link") 2>&5
22499 ac_status=$?
22500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22501 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22502 { (case "(($ac_try" in
22503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22504 *) ac_try_echo=$ac_try;;
22505 esac
22506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22507 (eval "$ac_try") 2>&5
22508 ac_status=$?
22509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22510 (exit $ac_status); }; }; then
22511 ac_cv_sizeof_long_long=`cat conftest.val`
22512 else
22513 echo "$as_me: program exited with status $ac_status" >&5
22514 echo "$as_me: failed program was:" >&5
22515 sed 's/^/| /' conftest.$ac_ext >&5
22516
22517 ( exit $ac_status )
22518 if test "$ac_cv_type_long_long" = yes; then
22519 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22520 See \`config.log' for more details." >&5
22521 echo "$as_me: error: cannot compute sizeof (long long)
22522 See \`config.log' for more details." >&2;}
22523 { (exit 77); exit 77; }; }
22524 else
22525 ac_cv_sizeof_long_long=0
22526 fi
22527 fi
22528 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22529 fi
22530 rm -f conftest.val
22531 fi
22532 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22533 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22534
22535
22536
22537 cat >>confdefs.h <<_ACEOF
22538 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22539 _ACEOF
22540
22541
22542 ;;
22543 *-hp-hpux* )
22544 { echo "$as_me:$LINENO: checking for long long" >&5
22545 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22546 if test "${ac_cv_type_long_long+set}" = set; then
22547 echo $ECHO_N "(cached) $ECHO_C" >&6
22548 else
22549 cat >conftest.$ac_ext <<_ACEOF
22550 /* confdefs.h. */
22551 _ACEOF
22552 cat confdefs.h >>conftest.$ac_ext
22553 cat >>conftest.$ac_ext <<_ACEOF
22554 /* end confdefs.h. */
22555 $ac_includes_default
22556 typedef long long ac__type_new_;
22557 int
22558 main ()
22559 {
22560 if ((ac__type_new_ *) 0)
22561 return 0;
22562 if (sizeof (ac__type_new_))
22563 return 0;
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_cv_type_long_long=yes
22586 else
22587 echo "$as_me: failed program was:" >&5
22588 sed 's/^/| /' conftest.$ac_ext >&5
22589
22590 ac_cv_type_long_long=no
22591 fi
22592
22593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22594 fi
22595 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22596 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22597
22598 # The cast to long int works around a bug in the HP C Compiler
22599 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22600 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22601 # This bug is HP SR number 8606223364.
22602 { echo "$as_me:$LINENO: checking size of long long" >&5
22603 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22604 if test "${ac_cv_sizeof_long_long+set}" = set; then
22605 echo $ECHO_N "(cached) $ECHO_C" >&6
22606 else
22607 if test "$cross_compiling" = yes; then
22608 # Depending upon the size, compute the lo and hi bounds.
22609 cat >conftest.$ac_ext <<_ACEOF
22610 /* confdefs.h. */
22611 _ACEOF
22612 cat confdefs.h >>conftest.$ac_ext
22613 cat >>conftest.$ac_ext <<_ACEOF
22614 /* end confdefs.h. */
22615 $ac_includes_default
22616 typedef long long ac__type_sizeof_;
22617 int
22618 main ()
22619 {
22620 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22621 test_array [0] = 0
22622
22623 ;
22624 return 0;
22625 }
22626 _ACEOF
22627 rm -f conftest.$ac_objext
22628 if { (ac_try="$ac_compile"
22629 case "(($ac_try" in
22630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22631 *) ac_try_echo=$ac_try;;
22632 esac
22633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22634 (eval "$ac_compile") 2>conftest.er1
22635 ac_status=$?
22636 grep -v '^ *+' conftest.er1 >conftest.err
22637 rm -f conftest.er1
22638 cat conftest.err >&5
22639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22640 (exit $ac_status); } && {
22641 test -z "$ac_c_werror_flag" ||
22642 test ! -s conftest.err
22643 } && test -s conftest.$ac_objext; then
22644 ac_lo=0 ac_mid=0
22645 while :; do
22646 cat >conftest.$ac_ext <<_ACEOF
22647 /* confdefs.h. */
22648 _ACEOF
22649 cat confdefs.h >>conftest.$ac_ext
22650 cat >>conftest.$ac_ext <<_ACEOF
22651 /* end confdefs.h. */
22652 $ac_includes_default
22653 typedef long long ac__type_sizeof_;
22654 int
22655 main ()
22656 {
22657 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22658 test_array [0] = 0
22659
22660 ;
22661 return 0;
22662 }
22663 _ACEOF
22664 rm -f conftest.$ac_objext
22665 if { (ac_try="$ac_compile"
22666 case "(($ac_try" in
22667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22668 *) ac_try_echo=$ac_try;;
22669 esac
22670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22671 (eval "$ac_compile") 2>conftest.er1
22672 ac_status=$?
22673 grep -v '^ *+' conftest.er1 >conftest.err
22674 rm -f conftest.er1
22675 cat conftest.err >&5
22676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22677 (exit $ac_status); } && {
22678 test -z "$ac_c_werror_flag" ||
22679 test ! -s conftest.err
22680 } && test -s conftest.$ac_objext; then
22681 ac_hi=$ac_mid; break
22682 else
22683 echo "$as_me: failed program was:" >&5
22684 sed 's/^/| /' conftest.$ac_ext >&5
22685
22686 ac_lo=`expr $ac_mid + 1`
22687 if test $ac_lo -le $ac_mid; then
22688 ac_lo= ac_hi=
22689 break
22690 fi
22691 ac_mid=`expr 2 '*' $ac_mid + 1`
22692 fi
22693
22694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22695 done
22696 else
22697 echo "$as_me: failed program was:" >&5
22698 sed 's/^/| /' conftest.$ac_ext >&5
22699
22700 cat >conftest.$ac_ext <<_ACEOF
22701 /* confdefs.h. */
22702 _ACEOF
22703 cat confdefs.h >>conftest.$ac_ext
22704 cat >>conftest.$ac_ext <<_ACEOF
22705 /* end confdefs.h. */
22706 $ac_includes_default
22707 typedef long long ac__type_sizeof_;
22708 int
22709 main ()
22710 {
22711 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22712 test_array [0] = 0
22713
22714 ;
22715 return 0;
22716 }
22717 _ACEOF
22718 rm -f conftest.$ac_objext
22719 if { (ac_try="$ac_compile"
22720 case "(($ac_try" in
22721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22722 *) ac_try_echo=$ac_try;;
22723 esac
22724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22725 (eval "$ac_compile") 2>conftest.er1
22726 ac_status=$?
22727 grep -v '^ *+' conftest.er1 >conftest.err
22728 rm -f conftest.er1
22729 cat conftest.err >&5
22730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22731 (exit $ac_status); } && {
22732 test -z "$ac_c_werror_flag" ||
22733 test ! -s conftest.err
22734 } && test -s conftest.$ac_objext; then
22735 ac_hi=-1 ac_mid=-1
22736 while :; do
22737 cat >conftest.$ac_ext <<_ACEOF
22738 /* confdefs.h. */
22739 _ACEOF
22740 cat confdefs.h >>conftest.$ac_ext
22741 cat >>conftest.$ac_ext <<_ACEOF
22742 /* end confdefs.h. */
22743 $ac_includes_default
22744 typedef long long ac__type_sizeof_;
22745 int
22746 main ()
22747 {
22748 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22749 test_array [0] = 0
22750
22751 ;
22752 return 0;
22753 }
22754 _ACEOF
22755 rm -f conftest.$ac_objext
22756 if { (ac_try="$ac_compile"
22757 case "(($ac_try" in
22758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22759 *) ac_try_echo=$ac_try;;
22760 esac
22761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22762 (eval "$ac_compile") 2>conftest.er1
22763 ac_status=$?
22764 grep -v '^ *+' conftest.er1 >conftest.err
22765 rm -f conftest.er1
22766 cat conftest.err >&5
22767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22768 (exit $ac_status); } && {
22769 test -z "$ac_c_werror_flag" ||
22770 test ! -s conftest.err
22771 } && test -s conftest.$ac_objext; then
22772 ac_lo=$ac_mid; break
22773 else
22774 echo "$as_me: failed program was:" >&5
22775 sed 's/^/| /' conftest.$ac_ext >&5
22776
22777 ac_hi=`expr '(' $ac_mid ')' - 1`
22778 if test $ac_mid -le $ac_hi; then
22779 ac_lo= ac_hi=
22780 break
22781 fi
22782 ac_mid=`expr 2 '*' $ac_mid`
22783 fi
22784
22785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22786 done
22787 else
22788 echo "$as_me: failed program was:" >&5
22789 sed 's/^/| /' conftest.$ac_ext >&5
22790
22791 ac_lo= ac_hi=
22792 fi
22793
22794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22795 fi
22796
22797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22798 # Binary search between lo and hi bounds.
22799 while test "x$ac_lo" != "x$ac_hi"; do
22800 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22801 cat >conftest.$ac_ext <<_ACEOF
22802 /* confdefs.h. */
22803 _ACEOF
22804 cat confdefs.h >>conftest.$ac_ext
22805 cat >>conftest.$ac_ext <<_ACEOF
22806 /* end confdefs.h. */
22807 $ac_includes_default
22808 typedef long long ac__type_sizeof_;
22809 int
22810 main ()
22811 {
22812 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22813 test_array [0] = 0
22814
22815 ;
22816 return 0;
22817 }
22818 _ACEOF
22819 rm -f conftest.$ac_objext
22820 if { (ac_try="$ac_compile"
22821 case "(($ac_try" in
22822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22823 *) ac_try_echo=$ac_try;;
22824 esac
22825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22826 (eval "$ac_compile") 2>conftest.er1
22827 ac_status=$?
22828 grep -v '^ *+' conftest.er1 >conftest.err
22829 rm -f conftest.er1
22830 cat conftest.err >&5
22831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22832 (exit $ac_status); } && {
22833 test -z "$ac_c_werror_flag" ||
22834 test ! -s conftest.err
22835 } && test -s conftest.$ac_objext; then
22836 ac_hi=$ac_mid
22837 else
22838 echo "$as_me: failed program was:" >&5
22839 sed 's/^/| /' conftest.$ac_ext >&5
22840
22841 ac_lo=`expr '(' $ac_mid ')' + 1`
22842 fi
22843
22844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22845 done
22846 case $ac_lo in
22847 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22848 '') if test "$ac_cv_type_long_long" = yes; then
22849 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22850 See \`config.log' for more details." >&5
22851 echo "$as_me: error: cannot compute sizeof (long long)
22852 See \`config.log' for more details." >&2;}
22853 { (exit 77); exit 77; }; }
22854 else
22855 ac_cv_sizeof_long_long=0
22856 fi ;;
22857 esac
22858 else
22859 cat >conftest.$ac_ext <<_ACEOF
22860 /* confdefs.h. */
22861 _ACEOF
22862 cat confdefs.h >>conftest.$ac_ext
22863 cat >>conftest.$ac_ext <<_ACEOF
22864 /* end confdefs.h. */
22865 $ac_includes_default
22866 typedef long long ac__type_sizeof_;
22867 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22868 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22869 #include <stdio.h>
22870 #include <stdlib.h>
22871 int
22872 main ()
22873 {
22874
22875 FILE *f = fopen ("conftest.val", "w");
22876 if (! f)
22877 return 1;
22878 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22879 {
22880 long int i = longval ();
22881 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22882 return 1;
22883 fprintf (f, "%ld\n", i);
22884 }
22885 else
22886 {
22887 unsigned long int i = ulongval ();
22888 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22889 return 1;
22890 fprintf (f, "%lu\n", i);
22891 }
22892 return ferror (f) || fclose (f) != 0;
22893
22894 ;
22895 return 0;
22896 }
22897 _ACEOF
22898 rm -f conftest$ac_exeext
22899 if { (ac_try="$ac_link"
22900 case "(($ac_try" in
22901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22902 *) ac_try_echo=$ac_try;;
22903 esac
22904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22905 (eval "$ac_link") 2>&5
22906 ac_status=$?
22907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22908 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22909 { (case "(($ac_try" in
22910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22911 *) ac_try_echo=$ac_try;;
22912 esac
22913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22914 (eval "$ac_try") 2>&5
22915 ac_status=$?
22916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22917 (exit $ac_status); }; }; then
22918 ac_cv_sizeof_long_long=`cat conftest.val`
22919 else
22920 echo "$as_me: program exited with status $ac_status" >&5
22921 echo "$as_me: failed program was:" >&5
22922 sed 's/^/| /' conftest.$ac_ext >&5
22923
22924 ( exit $ac_status )
22925 if test "$ac_cv_type_long_long" = yes; then
22926 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22927 See \`config.log' for more details." >&5
22928 echo "$as_me: error: cannot compute sizeof (long long)
22929 See \`config.log' for more details." >&2;}
22930 { (exit 77); exit 77; }; }
22931 else
22932 ac_cv_sizeof_long_long=0
22933 fi
22934 fi
22935 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22936 fi
22937 rm -f conftest.val
22938 fi
22939 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22940 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22941
22942
22943
22944 cat >>confdefs.h <<_ACEOF
22945 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22946 _ACEOF
22947
22948
22949 if test "$ac_cv_sizeof_long_long" != 0; then
22950 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22951 fi
22952 ;;
22953 * )
22954 { echo "$as_me:$LINENO: checking for long long" >&5
22955 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22956 if test "${ac_cv_type_long_long+set}" = set; then
22957 echo $ECHO_N "(cached) $ECHO_C" >&6
22958 else
22959 cat >conftest.$ac_ext <<_ACEOF
22960 /* confdefs.h. */
22961 _ACEOF
22962 cat confdefs.h >>conftest.$ac_ext
22963 cat >>conftest.$ac_ext <<_ACEOF
22964 /* end confdefs.h. */
22965 $ac_includes_default
22966 typedef long long ac__type_new_;
22967 int
22968 main ()
22969 {
22970 if ((ac__type_new_ *) 0)
22971 return 0;
22972 if (sizeof (ac__type_new_))
22973 return 0;
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_cv_type_long_long=yes
22996 else
22997 echo "$as_me: failed program was:" >&5
22998 sed 's/^/| /' conftest.$ac_ext >&5
22999
23000 ac_cv_type_long_long=no
23001 fi
23002
23003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23004 fi
23005 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23006 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23007
23008 # The cast to long int works around a bug in the HP C Compiler
23009 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23010 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23011 # This bug is HP SR number 8606223364.
23012 { echo "$as_me:$LINENO: checking size of long long" >&5
23013 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23014 if test "${ac_cv_sizeof_long_long+set}" = set; then
23015 echo $ECHO_N "(cached) $ECHO_C" >&6
23016 else
23017 if test "$cross_compiling" = yes; then
23018 # Depending upon the size, compute the lo and hi bounds.
23019 cat >conftest.$ac_ext <<_ACEOF
23020 /* confdefs.h. */
23021 _ACEOF
23022 cat confdefs.h >>conftest.$ac_ext
23023 cat >>conftest.$ac_ext <<_ACEOF
23024 /* end confdefs.h. */
23025 $ac_includes_default
23026 typedef long long ac__type_sizeof_;
23027 int
23028 main ()
23029 {
23030 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23031 test_array [0] = 0
23032
23033 ;
23034 return 0;
23035 }
23036 _ACEOF
23037 rm -f conftest.$ac_objext
23038 if { (ac_try="$ac_compile"
23039 case "(($ac_try" in
23040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23041 *) ac_try_echo=$ac_try;;
23042 esac
23043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23044 (eval "$ac_compile") 2>conftest.er1
23045 ac_status=$?
23046 grep -v '^ *+' conftest.er1 >conftest.err
23047 rm -f conftest.er1
23048 cat conftest.err >&5
23049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23050 (exit $ac_status); } && {
23051 test -z "$ac_c_werror_flag" ||
23052 test ! -s conftest.err
23053 } && test -s conftest.$ac_objext; then
23054 ac_lo=0 ac_mid=0
23055 while :; do
23056 cat >conftest.$ac_ext <<_ACEOF
23057 /* confdefs.h. */
23058 _ACEOF
23059 cat confdefs.h >>conftest.$ac_ext
23060 cat >>conftest.$ac_ext <<_ACEOF
23061 /* end confdefs.h. */
23062 $ac_includes_default
23063 typedef long long ac__type_sizeof_;
23064 int
23065 main ()
23066 {
23067 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23068 test_array [0] = 0
23069
23070 ;
23071 return 0;
23072 }
23073 _ACEOF
23074 rm -f conftest.$ac_objext
23075 if { (ac_try="$ac_compile"
23076 case "(($ac_try" in
23077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23078 *) ac_try_echo=$ac_try;;
23079 esac
23080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23081 (eval "$ac_compile") 2>conftest.er1
23082 ac_status=$?
23083 grep -v '^ *+' conftest.er1 >conftest.err
23084 rm -f conftest.er1
23085 cat conftest.err >&5
23086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23087 (exit $ac_status); } && {
23088 test -z "$ac_c_werror_flag" ||
23089 test ! -s conftest.err
23090 } && test -s conftest.$ac_objext; then
23091 ac_hi=$ac_mid; break
23092 else
23093 echo "$as_me: failed program was:" >&5
23094 sed 's/^/| /' conftest.$ac_ext >&5
23095
23096 ac_lo=`expr $ac_mid + 1`
23097 if test $ac_lo -le $ac_mid; then
23098 ac_lo= ac_hi=
23099 break
23100 fi
23101 ac_mid=`expr 2 '*' $ac_mid + 1`
23102 fi
23103
23104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23105 done
23106 else
23107 echo "$as_me: failed program was:" >&5
23108 sed 's/^/| /' conftest.$ac_ext >&5
23109
23110 cat >conftest.$ac_ext <<_ACEOF
23111 /* confdefs.h. */
23112 _ACEOF
23113 cat confdefs.h >>conftest.$ac_ext
23114 cat >>conftest.$ac_ext <<_ACEOF
23115 /* end confdefs.h. */
23116 $ac_includes_default
23117 typedef long long ac__type_sizeof_;
23118 int
23119 main ()
23120 {
23121 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23122 test_array [0] = 0
23123
23124 ;
23125 return 0;
23126 }
23127 _ACEOF
23128 rm -f conftest.$ac_objext
23129 if { (ac_try="$ac_compile"
23130 case "(($ac_try" in
23131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23132 *) ac_try_echo=$ac_try;;
23133 esac
23134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23135 (eval "$ac_compile") 2>conftest.er1
23136 ac_status=$?
23137 grep -v '^ *+' conftest.er1 >conftest.err
23138 rm -f conftest.er1
23139 cat conftest.err >&5
23140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23141 (exit $ac_status); } && {
23142 test -z "$ac_c_werror_flag" ||
23143 test ! -s conftest.err
23144 } && test -s conftest.$ac_objext; then
23145 ac_hi=-1 ac_mid=-1
23146 while :; do
23147 cat >conftest.$ac_ext <<_ACEOF
23148 /* confdefs.h. */
23149 _ACEOF
23150 cat confdefs.h >>conftest.$ac_ext
23151 cat >>conftest.$ac_ext <<_ACEOF
23152 /* end confdefs.h. */
23153 $ac_includes_default
23154 typedef long long ac__type_sizeof_;
23155 int
23156 main ()
23157 {
23158 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23159 test_array [0] = 0
23160
23161 ;
23162 return 0;
23163 }
23164 _ACEOF
23165 rm -f conftest.$ac_objext
23166 if { (ac_try="$ac_compile"
23167 case "(($ac_try" in
23168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23169 *) ac_try_echo=$ac_try;;
23170 esac
23171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23172 (eval "$ac_compile") 2>conftest.er1
23173 ac_status=$?
23174 grep -v '^ *+' conftest.er1 >conftest.err
23175 rm -f conftest.er1
23176 cat conftest.err >&5
23177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23178 (exit $ac_status); } && {
23179 test -z "$ac_c_werror_flag" ||
23180 test ! -s conftest.err
23181 } && test -s conftest.$ac_objext; then
23182 ac_lo=$ac_mid; break
23183 else
23184 echo "$as_me: failed program was:" >&5
23185 sed 's/^/| /' conftest.$ac_ext >&5
23186
23187 ac_hi=`expr '(' $ac_mid ')' - 1`
23188 if test $ac_mid -le $ac_hi; then
23189 ac_lo= ac_hi=
23190 break
23191 fi
23192 ac_mid=`expr 2 '*' $ac_mid`
23193 fi
23194
23195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23196 done
23197 else
23198 echo "$as_me: failed program was:" >&5
23199 sed 's/^/| /' conftest.$ac_ext >&5
23200
23201 ac_lo= ac_hi=
23202 fi
23203
23204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23205 fi
23206
23207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23208 # Binary search between lo and hi bounds.
23209 while test "x$ac_lo" != "x$ac_hi"; do
23210 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23211 cat >conftest.$ac_ext <<_ACEOF
23212 /* confdefs.h. */
23213 _ACEOF
23214 cat confdefs.h >>conftest.$ac_ext
23215 cat >>conftest.$ac_ext <<_ACEOF
23216 /* end confdefs.h. */
23217 $ac_includes_default
23218 typedef long long ac__type_sizeof_;
23219 int
23220 main ()
23221 {
23222 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23223 test_array [0] = 0
23224
23225 ;
23226 return 0;
23227 }
23228 _ACEOF
23229 rm -f conftest.$ac_objext
23230 if { (ac_try="$ac_compile"
23231 case "(($ac_try" in
23232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23233 *) ac_try_echo=$ac_try;;
23234 esac
23235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23236 (eval "$ac_compile") 2>conftest.er1
23237 ac_status=$?
23238 grep -v '^ *+' conftest.er1 >conftest.err
23239 rm -f conftest.er1
23240 cat conftest.err >&5
23241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23242 (exit $ac_status); } && {
23243 test -z "$ac_c_werror_flag" ||
23244 test ! -s conftest.err
23245 } && test -s conftest.$ac_objext; then
23246 ac_hi=$ac_mid
23247 else
23248 echo "$as_me: failed program was:" >&5
23249 sed 's/^/| /' conftest.$ac_ext >&5
23250
23251 ac_lo=`expr '(' $ac_mid ')' + 1`
23252 fi
23253
23254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23255 done
23256 case $ac_lo in
23257 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23258 '') if test "$ac_cv_type_long_long" = yes; then
23259 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23260 See \`config.log' for more details." >&5
23261 echo "$as_me: error: cannot compute sizeof (long long)
23262 See \`config.log' for more details." >&2;}
23263 { (exit 77); exit 77; }; }
23264 else
23265 ac_cv_sizeof_long_long=0
23266 fi ;;
23267 esac
23268 else
23269 cat >conftest.$ac_ext <<_ACEOF
23270 /* confdefs.h. */
23271 _ACEOF
23272 cat confdefs.h >>conftest.$ac_ext
23273 cat >>conftest.$ac_ext <<_ACEOF
23274 /* end confdefs.h. */
23275 $ac_includes_default
23276 typedef long long ac__type_sizeof_;
23277 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23278 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23279 #include <stdio.h>
23280 #include <stdlib.h>
23281 int
23282 main ()
23283 {
23284
23285 FILE *f = fopen ("conftest.val", "w");
23286 if (! f)
23287 return 1;
23288 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23289 {
23290 long int i = longval ();
23291 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23292 return 1;
23293 fprintf (f, "%ld\n", i);
23294 }
23295 else
23296 {
23297 unsigned long int i = ulongval ();
23298 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23299 return 1;
23300 fprintf (f, "%lu\n", i);
23301 }
23302 return ferror (f) || fclose (f) != 0;
23303
23304 ;
23305 return 0;
23306 }
23307 _ACEOF
23308 rm -f conftest$ac_exeext
23309 if { (ac_try="$ac_link"
23310 case "(($ac_try" in
23311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23312 *) ac_try_echo=$ac_try;;
23313 esac
23314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23315 (eval "$ac_link") 2>&5
23316 ac_status=$?
23317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23318 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23319 { (case "(($ac_try" in
23320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23321 *) ac_try_echo=$ac_try;;
23322 esac
23323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23324 (eval "$ac_try") 2>&5
23325 ac_status=$?
23326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23327 (exit $ac_status); }; }; then
23328 ac_cv_sizeof_long_long=`cat conftest.val`
23329 else
23330 echo "$as_me: program exited with status $ac_status" >&5
23331 echo "$as_me: failed program was:" >&5
23332 sed 's/^/| /' conftest.$ac_ext >&5
23333
23334 ( exit $ac_status )
23335 if test "$ac_cv_type_long_long" = yes; then
23336 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23337 See \`config.log' for more details." >&5
23338 echo "$as_me: error: cannot compute sizeof (long long)
23339 See \`config.log' for more details." >&2;}
23340 { (exit 77); exit 77; }; }
23341 else
23342 ac_cv_sizeof_long_long=0
23343 fi
23344 fi
23345 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23346 fi
23347 rm -f conftest.val
23348 fi
23349 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23350 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23351
23352
23353
23354 cat >>confdefs.h <<_ACEOF
23355 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23356 _ACEOF
23357
23358
23359 esac
23360
23361 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23362 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23363 if test "${ac_cv_type_wchar_t+set}" = set; then
23364 echo $ECHO_N "(cached) $ECHO_C" >&6
23365 else
23366 cat >conftest.$ac_ext <<_ACEOF
23367 /* confdefs.h. */
23368 _ACEOF
23369 cat confdefs.h >>conftest.$ac_ext
23370 cat >>conftest.$ac_ext <<_ACEOF
23371 /* end confdefs.h. */
23372
23373 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23374 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23375 # error "fake wchar_t"
23376 #endif
23377 #ifdef HAVE_WCHAR_H
23378 # ifdef __CYGWIN__
23379 # include <stddef.h>
23380 # endif
23381 # include <wchar.h>
23382 #endif
23383 #ifdef HAVE_STDLIB_H
23384 # include <stdlib.h>
23385 #endif
23386 #include <stdio.h>
23387
23388
23389
23390 typedef wchar_t ac__type_new_;
23391 int
23392 main ()
23393 {
23394 if ((ac__type_new_ *) 0)
23395 return 0;
23396 if (sizeof (ac__type_new_))
23397 return 0;
23398 ;
23399 return 0;
23400 }
23401 _ACEOF
23402 rm -f conftest.$ac_objext
23403 if { (ac_try="$ac_compile"
23404 case "(($ac_try" in
23405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23406 *) ac_try_echo=$ac_try;;
23407 esac
23408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23409 (eval "$ac_compile") 2>conftest.er1
23410 ac_status=$?
23411 grep -v '^ *+' conftest.er1 >conftest.err
23412 rm -f conftest.er1
23413 cat conftest.err >&5
23414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23415 (exit $ac_status); } && {
23416 test -z "$ac_c_werror_flag" ||
23417 test ! -s conftest.err
23418 } && test -s conftest.$ac_objext; then
23419 ac_cv_type_wchar_t=yes
23420 else
23421 echo "$as_me: failed program was:" >&5
23422 sed 's/^/| /' conftest.$ac_ext >&5
23423
23424 ac_cv_type_wchar_t=no
23425 fi
23426
23427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23428 fi
23429 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23430 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23431
23432 # The cast to long int works around a bug in the HP C Compiler
23433 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23434 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23435 # This bug is HP SR number 8606223364.
23436 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23437 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23438 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23439 echo $ECHO_N "(cached) $ECHO_C" >&6
23440 else
23441 if test "$cross_compiling" = yes; then
23442 # Depending upon the size, compute the lo and hi bounds.
23443 cat >conftest.$ac_ext <<_ACEOF
23444 /* confdefs.h. */
23445 _ACEOF
23446 cat confdefs.h >>conftest.$ac_ext
23447 cat >>conftest.$ac_ext <<_ACEOF
23448 /* end confdefs.h. */
23449
23450 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23451 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23452 # error "fake wchar_t"
23453 #endif
23454 #ifdef HAVE_WCHAR_H
23455 # ifdef __CYGWIN__
23456 # include <stddef.h>
23457 # endif
23458 # include <wchar.h>
23459 #endif
23460 #ifdef HAVE_STDLIB_H
23461 # include <stdlib.h>
23462 #endif
23463 #include <stdio.h>
23464
23465
23466
23467 typedef wchar_t ac__type_sizeof_;
23468 int
23469 main ()
23470 {
23471 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23472 test_array [0] = 0
23473
23474 ;
23475 return 0;
23476 }
23477 _ACEOF
23478 rm -f conftest.$ac_objext
23479 if { (ac_try="$ac_compile"
23480 case "(($ac_try" in
23481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23482 *) ac_try_echo=$ac_try;;
23483 esac
23484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23485 (eval "$ac_compile") 2>conftest.er1
23486 ac_status=$?
23487 grep -v '^ *+' conftest.er1 >conftest.err
23488 rm -f conftest.er1
23489 cat conftest.err >&5
23490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23491 (exit $ac_status); } && {
23492 test -z "$ac_c_werror_flag" ||
23493 test ! -s conftest.err
23494 } && test -s conftest.$ac_objext; then
23495 ac_lo=0 ac_mid=0
23496 while :; do
23497 cat >conftest.$ac_ext <<_ACEOF
23498 /* confdefs.h. */
23499 _ACEOF
23500 cat confdefs.h >>conftest.$ac_ext
23501 cat >>conftest.$ac_ext <<_ACEOF
23502 /* end confdefs.h. */
23503
23504 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23505 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23506 # error "fake wchar_t"
23507 #endif
23508 #ifdef HAVE_WCHAR_H
23509 # ifdef __CYGWIN__
23510 # include <stddef.h>
23511 # endif
23512 # include <wchar.h>
23513 #endif
23514 #ifdef HAVE_STDLIB_H
23515 # include <stdlib.h>
23516 #endif
23517 #include <stdio.h>
23518
23519
23520
23521 typedef wchar_t ac__type_sizeof_;
23522 int
23523 main ()
23524 {
23525 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23526 test_array [0] = 0
23527
23528 ;
23529 return 0;
23530 }
23531 _ACEOF
23532 rm -f conftest.$ac_objext
23533 if { (ac_try="$ac_compile"
23534 case "(($ac_try" in
23535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23536 *) ac_try_echo=$ac_try;;
23537 esac
23538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23539 (eval "$ac_compile") 2>conftest.er1
23540 ac_status=$?
23541 grep -v '^ *+' conftest.er1 >conftest.err
23542 rm -f conftest.er1
23543 cat conftest.err >&5
23544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23545 (exit $ac_status); } && {
23546 test -z "$ac_c_werror_flag" ||
23547 test ! -s conftest.err
23548 } && test -s conftest.$ac_objext; then
23549 ac_hi=$ac_mid; break
23550 else
23551 echo "$as_me: failed program was:" >&5
23552 sed 's/^/| /' conftest.$ac_ext >&5
23553
23554 ac_lo=`expr $ac_mid + 1`
23555 if test $ac_lo -le $ac_mid; then
23556 ac_lo= ac_hi=
23557 break
23558 fi
23559 ac_mid=`expr 2 '*' $ac_mid + 1`
23560 fi
23561
23562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23563 done
23564 else
23565 echo "$as_me: failed program was:" >&5
23566 sed 's/^/| /' conftest.$ac_ext >&5
23567
23568 cat >conftest.$ac_ext <<_ACEOF
23569 /* confdefs.h. */
23570 _ACEOF
23571 cat confdefs.h >>conftest.$ac_ext
23572 cat >>conftest.$ac_ext <<_ACEOF
23573 /* end confdefs.h. */
23574
23575 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23576 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23577 # error "fake wchar_t"
23578 #endif
23579 #ifdef HAVE_WCHAR_H
23580 # ifdef __CYGWIN__
23581 # include <stddef.h>
23582 # endif
23583 # include <wchar.h>
23584 #endif
23585 #ifdef HAVE_STDLIB_H
23586 # include <stdlib.h>
23587 #endif
23588 #include <stdio.h>
23589
23590
23591
23592 typedef wchar_t ac__type_sizeof_;
23593 int
23594 main ()
23595 {
23596 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23597 test_array [0] = 0
23598
23599 ;
23600 return 0;
23601 }
23602 _ACEOF
23603 rm -f conftest.$ac_objext
23604 if { (ac_try="$ac_compile"
23605 case "(($ac_try" in
23606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23607 *) ac_try_echo=$ac_try;;
23608 esac
23609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23610 (eval "$ac_compile") 2>conftest.er1
23611 ac_status=$?
23612 grep -v '^ *+' conftest.er1 >conftest.err
23613 rm -f conftest.er1
23614 cat conftest.err >&5
23615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23616 (exit $ac_status); } && {
23617 test -z "$ac_c_werror_flag" ||
23618 test ! -s conftest.err
23619 } && test -s conftest.$ac_objext; then
23620 ac_hi=-1 ac_mid=-1
23621 while :; do
23622 cat >conftest.$ac_ext <<_ACEOF
23623 /* confdefs.h. */
23624 _ACEOF
23625 cat confdefs.h >>conftest.$ac_ext
23626 cat >>conftest.$ac_ext <<_ACEOF
23627 /* end confdefs.h. */
23628
23629 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23630 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23631 # error "fake wchar_t"
23632 #endif
23633 #ifdef HAVE_WCHAR_H
23634 # ifdef __CYGWIN__
23635 # include <stddef.h>
23636 # endif
23637 # include <wchar.h>
23638 #endif
23639 #ifdef HAVE_STDLIB_H
23640 # include <stdlib.h>
23641 #endif
23642 #include <stdio.h>
23643
23644
23645
23646 typedef wchar_t ac__type_sizeof_;
23647 int
23648 main ()
23649 {
23650 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23651 test_array [0] = 0
23652
23653 ;
23654 return 0;
23655 }
23656 _ACEOF
23657 rm -f conftest.$ac_objext
23658 if { (ac_try="$ac_compile"
23659 case "(($ac_try" in
23660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23661 *) ac_try_echo=$ac_try;;
23662 esac
23663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23664 (eval "$ac_compile") 2>conftest.er1
23665 ac_status=$?
23666 grep -v '^ *+' conftest.er1 >conftest.err
23667 rm -f conftest.er1
23668 cat conftest.err >&5
23669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23670 (exit $ac_status); } && {
23671 test -z "$ac_c_werror_flag" ||
23672 test ! -s conftest.err
23673 } && test -s conftest.$ac_objext; then
23674 ac_lo=$ac_mid; break
23675 else
23676 echo "$as_me: failed program was:" >&5
23677 sed 's/^/| /' conftest.$ac_ext >&5
23678
23679 ac_hi=`expr '(' $ac_mid ')' - 1`
23680 if test $ac_mid -le $ac_hi; then
23681 ac_lo= ac_hi=
23682 break
23683 fi
23684 ac_mid=`expr 2 '*' $ac_mid`
23685 fi
23686
23687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23688 done
23689 else
23690 echo "$as_me: failed program was:" >&5
23691 sed 's/^/| /' conftest.$ac_ext >&5
23692
23693 ac_lo= ac_hi=
23694 fi
23695
23696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23697 fi
23698
23699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23700 # Binary search between lo and hi bounds.
23701 while test "x$ac_lo" != "x$ac_hi"; do
23702 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23703 cat >conftest.$ac_ext <<_ACEOF
23704 /* confdefs.h. */
23705 _ACEOF
23706 cat confdefs.h >>conftest.$ac_ext
23707 cat >>conftest.$ac_ext <<_ACEOF
23708 /* end confdefs.h. */
23709
23710 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23711 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23712 # error "fake wchar_t"
23713 #endif
23714 #ifdef HAVE_WCHAR_H
23715 # ifdef __CYGWIN__
23716 # include <stddef.h>
23717 # endif
23718 # include <wchar.h>
23719 #endif
23720 #ifdef HAVE_STDLIB_H
23721 # include <stdlib.h>
23722 #endif
23723 #include <stdio.h>
23724
23725
23726
23727 typedef wchar_t ac__type_sizeof_;
23728 int
23729 main ()
23730 {
23731 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23732 test_array [0] = 0
23733
23734 ;
23735 return 0;
23736 }
23737 _ACEOF
23738 rm -f conftest.$ac_objext
23739 if { (ac_try="$ac_compile"
23740 case "(($ac_try" in
23741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23742 *) ac_try_echo=$ac_try;;
23743 esac
23744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23745 (eval "$ac_compile") 2>conftest.er1
23746 ac_status=$?
23747 grep -v '^ *+' conftest.er1 >conftest.err
23748 rm -f conftest.er1
23749 cat conftest.err >&5
23750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23751 (exit $ac_status); } && {
23752 test -z "$ac_c_werror_flag" ||
23753 test ! -s conftest.err
23754 } && test -s conftest.$ac_objext; then
23755 ac_hi=$ac_mid
23756 else
23757 echo "$as_me: failed program was:" >&5
23758 sed 's/^/| /' conftest.$ac_ext >&5
23759
23760 ac_lo=`expr '(' $ac_mid ')' + 1`
23761 fi
23762
23763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23764 done
23765 case $ac_lo in
23766 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23767 '') if test "$ac_cv_type_wchar_t" = yes; then
23768 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23769 See \`config.log' for more details." >&5
23770 echo "$as_me: error: cannot compute sizeof (wchar_t)
23771 See \`config.log' for more details." >&2;}
23772 { (exit 77); exit 77; }; }
23773 else
23774 ac_cv_sizeof_wchar_t=0
23775 fi ;;
23776 esac
23777 else
23778 cat >conftest.$ac_ext <<_ACEOF
23779 /* confdefs.h. */
23780 _ACEOF
23781 cat confdefs.h >>conftest.$ac_ext
23782 cat >>conftest.$ac_ext <<_ACEOF
23783 /* end confdefs.h. */
23784
23785 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23786 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23787 # error "fake wchar_t"
23788 #endif
23789 #ifdef HAVE_WCHAR_H
23790 # ifdef __CYGWIN__
23791 # include <stddef.h>
23792 # endif
23793 # include <wchar.h>
23794 #endif
23795 #ifdef HAVE_STDLIB_H
23796 # include <stdlib.h>
23797 #endif
23798 #include <stdio.h>
23799
23800
23801
23802 typedef wchar_t ac__type_sizeof_;
23803 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23804 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23805 #include <stdio.h>
23806 #include <stdlib.h>
23807 int
23808 main ()
23809 {
23810
23811 FILE *f = fopen ("conftest.val", "w");
23812 if (! f)
23813 return 1;
23814 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23815 {
23816 long int i = longval ();
23817 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23818 return 1;
23819 fprintf (f, "%ld\n", i);
23820 }
23821 else
23822 {
23823 unsigned long int i = ulongval ();
23824 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23825 return 1;
23826 fprintf (f, "%lu\n", i);
23827 }
23828 return ferror (f) || fclose (f) != 0;
23829
23830 ;
23831 return 0;
23832 }
23833 _ACEOF
23834 rm -f conftest$ac_exeext
23835 if { (ac_try="$ac_link"
23836 case "(($ac_try" in
23837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23838 *) ac_try_echo=$ac_try;;
23839 esac
23840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23841 (eval "$ac_link") 2>&5
23842 ac_status=$?
23843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23844 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23845 { (case "(($ac_try" in
23846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23847 *) ac_try_echo=$ac_try;;
23848 esac
23849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23850 (eval "$ac_try") 2>&5
23851 ac_status=$?
23852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23853 (exit $ac_status); }; }; then
23854 ac_cv_sizeof_wchar_t=`cat conftest.val`
23855 else
23856 echo "$as_me: program exited with status $ac_status" >&5
23857 echo "$as_me: failed program was:" >&5
23858 sed 's/^/| /' conftest.$ac_ext >&5
23859
23860 ( exit $ac_status )
23861 if test "$ac_cv_type_wchar_t" = yes; then
23862 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23863 See \`config.log' for more details." >&5
23864 echo "$as_me: error: cannot compute sizeof (wchar_t)
23865 See \`config.log' for more details." >&2;}
23866 { (exit 77); exit 77; }; }
23867 else
23868 ac_cv_sizeof_wchar_t=0
23869 fi
23870 fi
23871 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23872 fi
23873 rm -f conftest.val
23874 fi
23875 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23876 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23877
23878
23879
23880 cat >>confdefs.h <<_ACEOF
23881 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23882 _ACEOF
23883
23884
23885 if test "$ac_cv_sizeof_wchar_t" != 0; then
23886 wxUSE_WCHAR_T=yes
23887 else
23888 wxUSE_WCHAR_T=no
23889 fi
23890
23891 { echo "$as_me:$LINENO: checking for va_copy" >&5
23892 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23893 if test "${wx_cv_func_va_copy+set}" = set; then
23894 echo $ECHO_N "(cached) $ECHO_C" >&6
23895 else
23896
23897 ac_ext=cpp
23898 ac_cpp='$CXXCPP $CPPFLAGS'
23899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23902
23903 cat >conftest.$ac_ext <<_ACEOF
23904
23905 #include <stdarg.h>
23906 void foo(char *f, ...)
23907 {
23908 va_list ap1, ap2;
23909 va_start(ap1, f);
23910 va_copy(ap2, ap1);
23911 va_end(ap2);
23912 va_end(ap1);
23913 }
23914 int main()
23915 {
23916 foo("hi", 17);
23917 return 0;
23918 }
23919 _ACEOF
23920 rm -f conftest.$ac_objext conftest$ac_exeext
23921 if { (ac_try="$ac_link"
23922 case "(($ac_try" in
23923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23924 *) ac_try_echo=$ac_try;;
23925 esac
23926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23927 (eval "$ac_link") 2>conftest.er1
23928 ac_status=$?
23929 grep -v '^ *+' conftest.er1 >conftest.err
23930 rm -f conftest.er1
23931 cat conftest.err >&5
23932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23933 (exit $ac_status); } && {
23934 test -z "$ac_cxx_werror_flag" ||
23935 test ! -s conftest.err
23936 } && test -s conftest$ac_exeext &&
23937 $as_test_x conftest$ac_exeext; then
23938 wx_cv_func_va_copy=yes
23939 else
23940 echo "$as_me: failed program was:" >&5
23941 sed 's/^/| /' conftest.$ac_ext >&5
23942
23943 wx_cv_func_va_copy=no
23944
23945 fi
23946
23947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23948 conftest$ac_exeext conftest.$ac_ext
23949 ac_ext=c
23950 ac_cpp='$CPP $CPPFLAGS'
23951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23954
23955
23956
23957 fi
23958 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23959 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23960
23961 if test $wx_cv_func_va_copy = "yes"; then
23962 cat >>confdefs.h <<\_ACEOF
23963 #define HAVE_VA_COPY 1
23964 _ACEOF
23965
23966 else
23967 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23968 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23969 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23970 echo $ECHO_N "(cached) $ECHO_C" >&6
23971 else
23972
23973 if test "$cross_compiling" = yes; then
23974 wx_cv_type_va_list_lvalue=yes
23975
23976 else
23977 cat >conftest.$ac_ext <<_ACEOF
23978
23979 #include <stdarg.h>
23980 int foo(char *f, ...)
23981 {
23982 va_list ap1, ap2;
23983 va_start(ap1, f);
23984 ap2 = ap1;
23985 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23986 return 1;
23987 va_end(ap2);
23988 va_end(ap1);
23989 return 0;
23990 }
23991 int main()
23992 {
23993 return foo("hi", 17);
23994 }
23995 _ACEOF
23996 rm -f conftest$ac_exeext
23997 if { (ac_try="$ac_link"
23998 case "(($ac_try" in
23999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24000 *) ac_try_echo=$ac_try;;
24001 esac
24002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24003 (eval "$ac_link") 2>&5
24004 ac_status=$?
24005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24006 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24007 { (case "(($ac_try" in
24008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24009 *) ac_try_echo=$ac_try;;
24010 esac
24011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24012 (eval "$ac_try") 2>&5
24013 ac_status=$?
24014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24015 (exit $ac_status); }; }; then
24016 wx_cv_type_va_list_lvalue=yes
24017 else
24018 echo "$as_me: program exited with status $ac_status" >&5
24019 echo "$as_me: failed program was:" >&5
24020 sed 's/^/| /' conftest.$ac_ext >&5
24021
24022 ( exit $ac_status )
24023 wx_cv_type_va_list_lvalue=no
24024 fi
24025 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24026 fi
24027
24028
24029
24030
24031 fi
24032 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24033 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24034
24035 if test $wx_cv_type_va_list_lvalue != "yes"; then
24036 cat >>confdefs.h <<\_ACEOF
24037 #define VA_LIST_IS_ARRAY 1
24038 _ACEOF
24039
24040 fi
24041 fi
24042
24043 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24044
24045 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24046 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24047 if test "${wx_cv_have_variadic_macros+set}" = set; then
24048 echo $ECHO_N "(cached) $ECHO_C" >&6
24049 else
24050
24051 ac_ext=cpp
24052 ac_cpp='$CXXCPP $CPPFLAGS'
24053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24056
24057 cat >conftest.$ac_ext <<_ACEOF
24058 /* confdefs.h. */
24059 _ACEOF
24060 cat confdefs.h >>conftest.$ac_ext
24061 cat >>conftest.$ac_ext <<_ACEOF
24062 /* end confdefs.h. */
24063
24064 #include <stdio.h>
24065 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24066
24067 int
24068 main ()
24069 {
24070
24071 test("%s %d %p", "test", 1, 0);
24072
24073
24074 ;
24075 return 0;
24076 }
24077 _ACEOF
24078 rm -f conftest.$ac_objext
24079 if { (ac_try="$ac_compile"
24080 case "(($ac_try" in
24081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24082 *) ac_try_echo=$ac_try;;
24083 esac
24084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24085 (eval "$ac_compile") 2>conftest.er1
24086 ac_status=$?
24087 grep -v '^ *+' conftest.er1 >conftest.err
24088 rm -f conftest.er1
24089 cat conftest.err >&5
24090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24091 (exit $ac_status); } && {
24092 test -z "$ac_cxx_werror_flag" ||
24093 test ! -s conftest.err
24094 } && test -s conftest.$ac_objext; then
24095 wx_cv_have_variadic_macros=yes
24096 else
24097 echo "$as_me: failed program was:" >&5
24098 sed 's/^/| /' conftest.$ac_ext >&5
24099
24100 wx_cv_have_variadic_macros=no
24101
24102 fi
24103
24104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24105 ac_ext=c
24106 ac_cpp='$CPP $CPPFLAGS'
24107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24110
24111
24112
24113 fi
24114 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24115 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24116
24117 if test $wx_cv_have_variadic_macros = "yes"; then
24118 cat >>confdefs.h <<\_ACEOF
24119 #define HAVE_VARIADIC_MACROS 1
24120 _ACEOF
24121
24122 fi
24123
24124 fi
24125
24126 LARGEFILE_CPPFLAGS=
24127 # Check whether --enable-largefile was given.
24128 if test "${enable_largefile+set}" = set; then
24129 enableval=$enable_largefile;
24130 fi
24131
24132 if test "$enable_largefile" != no; then
24133 wx_largefile=no
24134
24135 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24136 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24137 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24138 echo $ECHO_N "(cached) $ECHO_C" >&6
24139 else
24140
24141 cat >conftest.$ac_ext <<_ACEOF
24142 /* confdefs.h. */
24143 _ACEOF
24144 cat confdefs.h >>conftest.$ac_ext
24145 cat >>conftest.$ac_ext <<_ACEOF
24146 /* end confdefs.h. */
24147 #define _FILE_OFFSET_BITS 64
24148 #include <sys/types.h>
24149 int
24150 main ()
24151 {
24152 typedef struct {
24153 unsigned int field: sizeof(off_t) == 8;
24154 } wxlf;
24155
24156 ;
24157 return 0;
24158 }
24159 _ACEOF
24160 rm -f conftest.$ac_objext
24161 if { (ac_try="$ac_compile"
24162 case "(($ac_try" in
24163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24164 *) ac_try_echo=$ac_try;;
24165 esac
24166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24167 (eval "$ac_compile") 2>conftest.er1
24168 ac_status=$?
24169 grep -v '^ *+' conftest.er1 >conftest.err
24170 rm -f conftest.er1
24171 cat conftest.err >&5
24172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24173 (exit $ac_status); } && {
24174 test -z "$ac_c_werror_flag" ||
24175 test ! -s conftest.err
24176 } && test -s conftest.$ac_objext; then
24177 ac_cv_sys_file_offset_bits=64
24178 else
24179 echo "$as_me: failed program was:" >&5
24180 sed 's/^/| /' conftest.$ac_ext >&5
24181
24182 ac_cv_sys_file_offset_bits=no
24183 fi
24184
24185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24186
24187
24188 fi
24189 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24190 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24191
24192 if test "$ac_cv_sys_file_offset_bits" != no; then
24193 wx_largefile=yes
24194 cat >>confdefs.h <<_ACEOF
24195 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24196 _ACEOF
24197
24198 fi
24199
24200 if test "x$wx_largefile" != "xyes"; then
24201
24202 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24203 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24204 if test "${ac_cv_sys_large_files+set}" = set; then
24205 echo $ECHO_N "(cached) $ECHO_C" >&6
24206 else
24207
24208 cat >conftest.$ac_ext <<_ACEOF
24209 /* confdefs.h. */
24210 _ACEOF
24211 cat confdefs.h >>conftest.$ac_ext
24212 cat >>conftest.$ac_ext <<_ACEOF
24213 /* end confdefs.h. */
24214 #define _LARGE_FILES 1
24215 #include <sys/types.h>
24216 int
24217 main ()
24218 {
24219 typedef struct {
24220 unsigned int field: sizeof(off_t) == 8;
24221 } wxlf;
24222
24223 ;
24224 return 0;
24225 }
24226 _ACEOF
24227 rm -f conftest.$ac_objext
24228 if { (ac_try="$ac_compile"
24229 case "(($ac_try" in
24230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24231 *) ac_try_echo=$ac_try;;
24232 esac
24233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24234 (eval "$ac_compile") 2>conftest.er1
24235 ac_status=$?
24236 grep -v '^ *+' conftest.er1 >conftest.err
24237 rm -f conftest.er1
24238 cat conftest.err >&5
24239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24240 (exit $ac_status); } && {
24241 test -z "$ac_c_werror_flag" ||
24242 test ! -s conftest.err
24243 } && test -s conftest.$ac_objext; then
24244 ac_cv_sys_large_files=1
24245 else
24246 echo "$as_me: failed program was:" >&5
24247 sed 's/^/| /' conftest.$ac_ext >&5
24248
24249 ac_cv_sys_large_files=no
24250 fi
24251
24252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24253
24254
24255 fi
24256 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24257 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24258
24259 if test "$ac_cv_sys_large_files" != no; then
24260 wx_largefile=yes
24261 cat >>confdefs.h <<_ACEOF
24262 #define _LARGE_FILES $ac_cv_sys_large_files
24263 _ACEOF
24264
24265 fi
24266
24267 fi
24268
24269 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24270 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24271 if test "x$wx_largefile" = "xyes"; then
24272 cat >>confdefs.h <<\_ACEOF
24273 #define HAVE_LARGEFILE_SUPPORT 1
24274 _ACEOF
24275
24276 fi
24277 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24278 echo "${ECHO_T}$wx_largefile" >&6; }
24279 fi
24280
24281 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24282 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24283 elif test "$ac_cv_sys_large_files" = 1; then
24284 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24285 fi
24286
24287 if test -n "$LARGEFILE_CPPFLAGS"; then
24288 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24289
24290 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24291 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24292 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24293 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24294 echo $ECHO_N "(cached) $ECHO_C" >&6
24295 else
24296
24297 ac_ext=cpp
24298 ac_cpp='$CXXCPP $CPPFLAGS'
24299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24302
24303 cat >conftest.$ac_ext <<_ACEOF
24304 /* confdefs.h. */
24305 _ACEOF
24306 cat confdefs.h >>conftest.$ac_ext
24307 cat >>conftest.$ac_ext <<_ACEOF
24308 /* end confdefs.h. */
24309
24310 int
24311 main ()
24312 {
24313
24314 #ifndef __STDC_EXT__
24315 choke me
24316 #endif
24317
24318 ;
24319 return 0;
24320 }
24321 _ACEOF
24322 rm -f conftest.$ac_objext
24323 if { (ac_try="$ac_compile"
24324 case "(($ac_try" in
24325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24326 *) ac_try_echo=$ac_try;;
24327 esac
24328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24329 (eval "$ac_compile") 2>conftest.er1
24330 ac_status=$?
24331 grep -v '^ *+' conftest.er1 >conftest.err
24332 rm -f conftest.er1
24333 cat conftest.err >&5
24334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24335 (exit $ac_status); } && {
24336 test -z "$ac_cxx_werror_flag" ||
24337 test ! -s conftest.err
24338 } && test -s conftest.$ac_objext; then
24339 wx_cv_STDC_EXT_required=no
24340 else
24341 echo "$as_me: failed program was:" >&5
24342 sed 's/^/| /' conftest.$ac_ext >&5
24343
24344 wx_cv_STDC_EXT_required=yes
24345
24346 fi
24347
24348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24349 ac_ext=c
24350 ac_cpp='$CPP $CPPFLAGS'
24351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24354
24355
24356
24357 fi
24358 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24359 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24360 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24361 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24362 fi
24363 fi
24364 fi
24365
24366 ac_ext=cpp
24367 ac_cpp='$CXXCPP $CPPFLAGS'
24368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24371
24372 old_CPPFLAGS="$CPPFLAGS"
24373 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24374 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24375 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24376 if test "${ac_cv_sys_largefile_source+set}" = set; then
24377 echo $ECHO_N "(cached) $ECHO_C" >&6
24378 else
24379 while :; do
24380 cat >conftest.$ac_ext <<_ACEOF
24381 /* confdefs.h. */
24382 _ACEOF
24383 cat confdefs.h >>conftest.$ac_ext
24384 cat >>conftest.$ac_ext <<_ACEOF
24385 /* end confdefs.h. */
24386 #include <sys/types.h> /* for off_t */
24387 #include <stdio.h>
24388 int
24389 main ()
24390 {
24391 int (*fp) (FILE *, off_t, int) = fseeko;
24392 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24393 ;
24394 return 0;
24395 }
24396 _ACEOF
24397 rm -f conftest.$ac_objext conftest$ac_exeext
24398 if { (ac_try="$ac_link"
24399 case "(($ac_try" in
24400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24401 *) ac_try_echo=$ac_try;;
24402 esac
24403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24404 (eval "$ac_link") 2>conftest.er1
24405 ac_status=$?
24406 grep -v '^ *+' conftest.er1 >conftest.err
24407 rm -f conftest.er1
24408 cat conftest.err >&5
24409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24410 (exit $ac_status); } && {
24411 test -z "$ac_cxx_werror_flag" ||
24412 test ! -s conftest.err
24413 } && test -s conftest$ac_exeext &&
24414 $as_test_x conftest$ac_exeext; then
24415 ac_cv_sys_largefile_source=no; break
24416 else
24417 echo "$as_me: failed program was:" >&5
24418 sed 's/^/| /' conftest.$ac_ext >&5
24419
24420
24421 fi
24422
24423 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24424 conftest$ac_exeext conftest.$ac_ext
24425 cat >conftest.$ac_ext <<_ACEOF
24426 /* confdefs.h. */
24427 _ACEOF
24428 cat confdefs.h >>conftest.$ac_ext
24429 cat >>conftest.$ac_ext <<_ACEOF
24430 /* end confdefs.h. */
24431 #define _LARGEFILE_SOURCE 1
24432 #include <sys/types.h> /* for off_t */
24433 #include <stdio.h>
24434 int
24435 main ()
24436 {
24437 int (*fp) (FILE *, off_t, int) = fseeko;
24438 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24439 ;
24440 return 0;
24441 }
24442 _ACEOF
24443 rm -f conftest.$ac_objext conftest$ac_exeext
24444 if { (ac_try="$ac_link"
24445 case "(($ac_try" in
24446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24447 *) ac_try_echo=$ac_try;;
24448 esac
24449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24450 (eval "$ac_link") 2>conftest.er1
24451 ac_status=$?
24452 grep -v '^ *+' conftest.er1 >conftest.err
24453 rm -f conftest.er1
24454 cat conftest.err >&5
24455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24456 (exit $ac_status); } && {
24457 test -z "$ac_cxx_werror_flag" ||
24458 test ! -s conftest.err
24459 } && test -s conftest$ac_exeext &&
24460 $as_test_x conftest$ac_exeext; then
24461 ac_cv_sys_largefile_source=1; break
24462 else
24463 echo "$as_me: failed program was:" >&5
24464 sed 's/^/| /' conftest.$ac_ext >&5
24465
24466
24467 fi
24468
24469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24470 conftest$ac_exeext conftest.$ac_ext
24471 ac_cv_sys_largefile_source=unknown
24472 break
24473 done
24474 fi
24475 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24476 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24477 case $ac_cv_sys_largefile_source in #(
24478 no | unknown) ;;
24479 *)
24480 cat >>confdefs.h <<_ACEOF
24481 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24482 _ACEOF
24483 ;;
24484 esac
24485 rm -f conftest*
24486
24487 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24488 # in glibc 2.1.3, but that breaks too many other things.
24489 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24490 if test $ac_cv_sys_largefile_source != unknown; then
24491
24492 cat >>confdefs.h <<\_ACEOF
24493 #define HAVE_FSEEKO 1
24494 _ACEOF
24495
24496 fi
24497
24498 CPPFLAGS="$old_CPPFLAGS"
24499 ac_ext=c
24500 ac_cpp='$CPP $CPPFLAGS'
24501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24504
24505 if test "$ac_cv_sys_largefile_source" != no; then
24506 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24507 fi
24508
24509 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24510 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24511 if test "${ac_cv_c_bigendian+set}" = set; then
24512 echo $ECHO_N "(cached) $ECHO_C" >&6
24513 else
24514 ac_cv_c_bigendian=unknown
24515 # See if sys/param.h defines the BYTE_ORDER macro.
24516 cat >conftest.$ac_ext <<_ACEOF
24517 /* confdefs.h. */
24518 _ACEOF
24519 cat confdefs.h >>conftest.$ac_ext
24520 cat >>conftest.$ac_ext <<_ACEOF
24521 /* end confdefs.h. */
24522 #include <sys/types.h>
24523 #include <sys/param.h>
24524 int
24525 main ()
24526 {
24527
24528 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24529 bogus endian macros
24530 #endif
24531 ;
24532 return 0;
24533 }
24534 _ACEOF
24535 rm -f conftest.$ac_objext
24536 if { (ac_try="$ac_compile"
24537 case "(($ac_try" in
24538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24539 *) ac_try_echo=$ac_try;;
24540 esac
24541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24542 (eval "$ac_compile") 2>conftest.er1
24543 ac_status=$?
24544 grep -v '^ *+' conftest.er1 >conftest.err
24545 rm -f conftest.er1
24546 cat conftest.err >&5
24547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24548 (exit $ac_status); } && {
24549 test -z "$ac_c_werror_flag" ||
24550 test ! -s conftest.err
24551 } && test -s conftest.$ac_objext; then
24552 # It does; now see whether it defined to BIG_ENDIAN or not.
24553 cat >conftest.$ac_ext <<_ACEOF
24554 /* confdefs.h. */
24555 _ACEOF
24556 cat confdefs.h >>conftest.$ac_ext
24557 cat >>conftest.$ac_ext <<_ACEOF
24558 /* end confdefs.h. */
24559 #include <sys/types.h>
24560 #include <sys/param.h>
24561 int
24562 main ()
24563 {
24564
24565 #if BYTE_ORDER != BIG_ENDIAN
24566 not big endian
24567 #endif
24568 ;
24569 return 0;
24570 }
24571 _ACEOF
24572 rm -f conftest.$ac_objext
24573 if { (ac_try="$ac_compile"
24574 case "(($ac_try" in
24575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24576 *) ac_try_echo=$ac_try;;
24577 esac
24578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24579 (eval "$ac_compile") 2>conftest.er1
24580 ac_status=$?
24581 grep -v '^ *+' conftest.er1 >conftest.err
24582 rm -f conftest.er1
24583 cat conftest.err >&5
24584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24585 (exit $ac_status); } && {
24586 test -z "$ac_c_werror_flag" ||
24587 test ! -s conftest.err
24588 } && test -s conftest.$ac_objext; then
24589 ac_cv_c_bigendian=yes
24590 else
24591 echo "$as_me: failed program was:" >&5
24592 sed 's/^/| /' conftest.$ac_ext >&5
24593
24594 ac_cv_c_bigendian=no
24595 fi
24596
24597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24598 else
24599 echo "$as_me: failed program was:" >&5
24600 sed 's/^/| /' conftest.$ac_ext >&5
24601
24602
24603 fi
24604
24605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24606 if test $ac_cv_c_bigendian = unknown; then
24607 if test "$cross_compiling" = yes; then
24608 ac_cv_c_bigendian=unknown
24609 else
24610 cat >conftest.$ac_ext <<_ACEOF
24611 /* confdefs.h. */
24612 _ACEOF
24613 cat confdefs.h >>conftest.$ac_ext
24614 cat >>conftest.$ac_ext <<_ACEOF
24615 /* end confdefs.h. */
24616 main () {
24617 /* Are we little or big endian? From Harbison&Steele. */
24618 union
24619 {
24620 long l;
24621 char c[sizeof (long)];
24622 } u;
24623 u.l = 1;
24624 exit (u.c[sizeof (long) - 1] == 1);
24625 }
24626 _ACEOF
24627 rm -f conftest$ac_exeext
24628 if { (ac_try="$ac_link"
24629 case "(($ac_try" in
24630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24631 *) ac_try_echo=$ac_try;;
24632 esac
24633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24634 (eval "$ac_link") 2>&5
24635 ac_status=$?
24636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24637 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24638 { (case "(($ac_try" in
24639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24640 *) ac_try_echo=$ac_try;;
24641 esac
24642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24643 (eval "$ac_try") 2>&5
24644 ac_status=$?
24645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24646 (exit $ac_status); }; }; then
24647 ac_cv_c_bigendian=no
24648 else
24649 echo "$as_me: program exited with status $ac_status" >&5
24650 echo "$as_me: failed program was:" >&5
24651 sed 's/^/| /' conftest.$ac_ext >&5
24652
24653 ( exit $ac_status )
24654 ac_cv_c_bigendian=yes
24655 fi
24656 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24657 fi
24658
24659
24660 fi
24661 fi
24662 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24663 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24664 if test $ac_cv_c_bigendian = unknown; then
24665 { 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
24666 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;}
24667 fi
24668 if test $ac_cv_c_bigendian = yes; then
24669 cat >>confdefs.h <<\_ACEOF
24670 #define WORDS_BIGENDIAN 1
24671 _ACEOF
24672
24673 fi
24674
24675
24676
24677
24678 ac_ext=cpp
24679 ac_cpp='$CXXCPP $CPPFLAGS'
24680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24683
24684
24685
24686 for ac_header in iostream
24687 do
24688 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24689 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24690 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24691 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24692 echo $ECHO_N "(cached) $ECHO_C" >&6
24693 else
24694 cat >conftest.$ac_ext <<_ACEOF
24695 /* confdefs.h. */
24696 _ACEOF
24697 cat confdefs.h >>conftest.$ac_ext
24698 cat >>conftest.$ac_ext <<_ACEOF
24699 /* end confdefs.h. */
24700
24701
24702 #include <$ac_header>
24703 _ACEOF
24704 rm -f conftest.$ac_objext
24705 if { (ac_try="$ac_compile"
24706 case "(($ac_try" in
24707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24708 *) ac_try_echo=$ac_try;;
24709 esac
24710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24711 (eval "$ac_compile") 2>conftest.er1
24712 ac_status=$?
24713 grep -v '^ *+' conftest.er1 >conftest.err
24714 rm -f conftest.er1
24715 cat conftest.err >&5
24716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24717 (exit $ac_status); } && {
24718 test -z "$ac_cxx_werror_flag" ||
24719 test ! -s conftest.err
24720 } && test -s conftest.$ac_objext; then
24721 eval "$as_ac_Header=yes"
24722 else
24723 echo "$as_me: failed program was:" >&5
24724 sed 's/^/| /' conftest.$ac_ext >&5
24725
24726 eval "$as_ac_Header=no"
24727 fi
24728
24729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24730 fi
24731 ac_res=`eval echo '${'$as_ac_Header'}'`
24732 { echo "$as_me:$LINENO: result: $ac_res" >&5
24733 echo "${ECHO_T}$ac_res" >&6; }
24734 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24735 cat >>confdefs.h <<_ACEOF
24736 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24737 _ACEOF
24738
24739 fi
24740
24741 done
24742
24743
24744 if test "$ac_cv_header_iostream" = "yes" ; then
24745 :
24746 else
24747 cat >>confdefs.h <<\_ACEOF
24748 #define wxUSE_IOSTREAMH 1
24749 _ACEOF
24750
24751 fi
24752
24753 ac_ext=c
24754 ac_cpp='$CPP $CPPFLAGS'
24755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24758
24759
24760
24761
24762 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24763 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24764 if test "${wx_cv_explicit+set}" = set; then
24765 echo $ECHO_N "(cached) $ECHO_C" >&6
24766 else
24767
24768
24769 ac_ext=cpp
24770 ac_cpp='$CXXCPP $CPPFLAGS'
24771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24774
24775
24776 cat >conftest.$ac_ext <<_ACEOF
24777 /* confdefs.h. */
24778 _ACEOF
24779 cat confdefs.h >>conftest.$ac_ext
24780 cat >>conftest.$ac_ext <<_ACEOF
24781 /* end confdefs.h. */
24782
24783 class Foo { public: explicit Foo(int) {} };
24784
24785 int
24786 main ()
24787 {
24788
24789 return 0;
24790
24791 ;
24792 return 0;
24793 }
24794 _ACEOF
24795 rm -f conftest.$ac_objext
24796 if { (ac_try="$ac_compile"
24797 case "(($ac_try" in
24798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24799 *) ac_try_echo=$ac_try;;
24800 esac
24801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24802 (eval "$ac_compile") 2>conftest.er1
24803 ac_status=$?
24804 grep -v '^ *+' conftest.er1 >conftest.err
24805 rm -f conftest.er1
24806 cat conftest.err >&5
24807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24808 (exit $ac_status); } && {
24809 test -z "$ac_cxx_werror_flag" ||
24810 test ! -s conftest.err
24811 } && test -s conftest.$ac_objext; then
24812
24813 cat >conftest.$ac_ext <<_ACEOF
24814 /* confdefs.h. */
24815 _ACEOF
24816 cat confdefs.h >>conftest.$ac_ext
24817 cat >>conftest.$ac_ext <<_ACEOF
24818 /* end confdefs.h. */
24819
24820 class Foo { public: explicit Foo(int) {} };
24821 static void TakeFoo(const Foo& foo) { }
24822
24823 int
24824 main ()
24825 {
24826
24827 TakeFoo(17);
24828 return 0;
24829
24830 ;
24831 return 0;
24832 }
24833 _ACEOF
24834 rm -f conftest.$ac_objext
24835 if { (ac_try="$ac_compile"
24836 case "(($ac_try" in
24837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24838 *) ac_try_echo=$ac_try;;
24839 esac
24840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24841 (eval "$ac_compile") 2>conftest.er1
24842 ac_status=$?
24843 grep -v '^ *+' conftest.er1 >conftest.err
24844 rm -f conftest.er1
24845 cat conftest.err >&5
24846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24847 (exit $ac_status); } && {
24848 test -z "$ac_cxx_werror_flag" ||
24849 test ! -s conftest.err
24850 } && test -s conftest.$ac_objext; then
24851 wx_cv_explicit=no
24852 else
24853 echo "$as_me: failed program was:" >&5
24854 sed 's/^/| /' conftest.$ac_ext >&5
24855
24856 wx_cv_explicit=yes
24857
24858 fi
24859
24860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24861
24862 else
24863 echo "$as_me: failed program was:" >&5
24864 sed 's/^/| /' conftest.$ac_ext >&5
24865
24866 wx_cv_explicit=no
24867
24868 fi
24869
24870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24871
24872 ac_ext=c
24873 ac_cpp='$CPP $CPPFLAGS'
24874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24877
24878
24879 fi
24880 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24881 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24882
24883 if test "$wx_cv_explicit" = "yes"; then
24884 cat >>confdefs.h <<\_ACEOF
24885 #define HAVE_EXPLICIT 1
24886 _ACEOF
24887
24888 fi
24889
24890
24891 if test "x$SUNCXX" = xyes; then
24892 CXXFLAGS="-features=tmplife $CXXFLAGS"
24893 fi
24894
24895 if test "x$SUNCC" = xyes; then
24896 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24897 fi
24898
24899 if test "x$SGICC" = "xyes"; then
24900 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
24901 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
24902 if test "${wx_cv_prog_sgicc744+set}" = set; then
24903 echo $ECHO_N "(cached) $ECHO_C" >&6
24904 else
24905
24906 cat >conftest.$ac_ext <<_ACEOF
24907 /* confdefs.h. */
24908 _ACEOF
24909 cat confdefs.h >>conftest.$ac_ext
24910 cat >>conftest.$ac_ext <<_ACEOF
24911 /* end confdefs.h. */
24912
24913 int
24914 main ()
24915 {
24916
24917 #if _SGI_COMPILER_VERSION >= 744
24918 chock me: mipsPro is 7.4.4 or later
24919 #endif
24920
24921 ;
24922 return 0;
24923 }
24924 _ACEOF
24925 rm -f conftest.$ac_objext
24926 if { (ac_try="$ac_compile"
24927 case "(($ac_try" in
24928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24929 *) ac_try_echo=$ac_try;;
24930 esac
24931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24932 (eval "$ac_compile") 2>conftest.er1
24933 ac_status=$?
24934 grep -v '^ *+' conftest.er1 >conftest.err
24935 rm -f conftest.er1
24936 cat conftest.err >&5
24937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24938 (exit $ac_status); } && {
24939 test -z "$ac_c_werror_flag" ||
24940 test ! -s conftest.err
24941 } && test -s conftest.$ac_objext; then
24942 wx_cv_prog_sgicc744=no
24943 else
24944 echo "$as_me: failed program was:" >&5
24945 sed 's/^/| /' conftest.$ac_ext >&5
24946
24947 wx_cv_prog_sgicc744=yes
24948
24949 fi
24950
24951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24952
24953
24954 fi
24955 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
24956 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
24957
24958 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
24959 CFLAGS="-woff 3970 $CFLAGS"
24960 fi
24961 fi
24962 if test "x$SGICXX" = "xyes"; then
24963 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
24964 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
24965 if test "${wx_cv_prog_sgicxx744+set}" = set; then
24966 echo $ECHO_N "(cached) $ECHO_C" >&6
24967 else
24968
24969 ac_ext=cpp
24970 ac_cpp='$CXXCPP $CPPFLAGS'
24971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24974
24975 cat >conftest.$ac_ext <<_ACEOF
24976 /* confdefs.h. */
24977 _ACEOF
24978 cat confdefs.h >>conftest.$ac_ext
24979 cat >>conftest.$ac_ext <<_ACEOF
24980 /* end confdefs.h. */
24981
24982 int
24983 main ()
24984 {
24985
24986 #if _SGI_COMPILER_VERSION >= 744
24987 chock me: mipsPro is 7.4.4 or later
24988 #endif
24989
24990 ;
24991 return 0;
24992 }
24993 _ACEOF
24994 rm -f conftest.$ac_objext
24995 if { (ac_try="$ac_compile"
24996 case "(($ac_try" in
24997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24998 *) ac_try_echo=$ac_try;;
24999 esac
25000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25001 (eval "$ac_compile") 2>conftest.er1
25002 ac_status=$?
25003 grep -v '^ *+' conftest.er1 >conftest.err
25004 rm -f conftest.er1
25005 cat conftest.err >&5
25006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25007 (exit $ac_status); } && {
25008 test -z "$ac_cxx_werror_flag" ||
25009 test ! -s conftest.err
25010 } && test -s conftest.$ac_objext; then
25011 wx_cv_prog_sgicxx744=no
25012 else
25013 echo "$as_me: failed program was:" >&5
25014 sed 's/^/| /' conftest.$ac_ext >&5
25015
25016 wx_cv_prog_sgicxx744=yes
25017
25018 fi
25019
25020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25021 ac_ext=c
25022 ac_cpp='$CPP $CPPFLAGS'
25023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25026
25027
25028
25029 fi
25030 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25031 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25032
25033 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25034 CXXFLAGS="-woff 3970 $CXXFLAGS"
25035 fi
25036 fi
25037
25038 if test "x$HPCC" = "xyes"; then
25039 CFLAGS="+W 2011,2450 $CFLAGS"
25040 fi
25041 if test "x$HPCXX" = "xyes"; then
25042 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25043 fi
25044
25045 if test "x$COMPAQCXX" = "xyes"; then
25046 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25047 fi
25048
25049 ac_ext=cpp
25050 ac_cpp='$CXXCPP $CPPFLAGS'
25051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25054
25055
25056 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25057 if test "$wxUSE_UNICODE" = "yes"; then
25058 std_string="std::wstring"
25059 char_type="wchar_t"
25060 else
25061 std_string="std::string"
25062 char_type="char"
25063 fi
25064
25065 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25066 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25067 if test "${wx_cv_class_stdstring+set}" = set; then
25068 echo $ECHO_N "(cached) $ECHO_C" >&6
25069 else
25070
25071 cat >conftest.$ac_ext <<_ACEOF
25072 /* confdefs.h. */
25073 _ACEOF
25074 cat confdefs.h >>conftest.$ac_ext
25075 cat >>conftest.$ac_ext <<_ACEOF
25076 /* end confdefs.h. */
25077 #include <string>
25078 int
25079 main ()
25080 {
25081 $std_string foo;
25082 ;
25083 return 0;
25084 }
25085 _ACEOF
25086 rm -f conftest.$ac_objext
25087 if { (ac_try="$ac_compile"
25088 case "(($ac_try" in
25089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25090 *) ac_try_echo=$ac_try;;
25091 esac
25092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25093 (eval "$ac_compile") 2>conftest.er1
25094 ac_status=$?
25095 grep -v '^ *+' conftest.er1 >conftest.err
25096 rm -f conftest.er1
25097 cat conftest.err >&5
25098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25099 (exit $ac_status); } && {
25100 test -z "$ac_cxx_werror_flag" ||
25101 test ! -s conftest.err
25102 } && test -s conftest.$ac_objext; then
25103 wx_cv_class_stdstring=yes
25104 else
25105 echo "$as_me: failed program was:" >&5
25106 sed 's/^/| /' conftest.$ac_ext >&5
25107
25108 wx_cv_class_stdstring=no
25109
25110 fi
25111
25112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25113
25114
25115 fi
25116 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25117 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25118
25119 if test "$wx_cv_class_stdstring" = yes; then
25120 if test "$wxUSE_UNICODE" = "yes"; then
25121 cat >>confdefs.h <<\_ACEOF
25122 #define HAVE_STD_WSTRING 1
25123 _ACEOF
25124
25125 fi
25126 else
25127 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25128 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25129 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25130 echo $ECHO_N "(cached) $ECHO_C" >&6
25131 else
25132
25133 cat >conftest.$ac_ext <<_ACEOF
25134 /* confdefs.h. */
25135 _ACEOF
25136 cat confdefs.h >>conftest.$ac_ext
25137 cat >>conftest.$ac_ext <<_ACEOF
25138 /* end confdefs.h. */
25139
25140 #ifdef HAVE_WCHAR_H
25141 # ifdef __CYGWIN__
25142 # include <stddef.h>
25143 # endif
25144 # include <wchar.h>
25145 #endif
25146 #ifdef HAVE_STDLIB_H
25147 # include <stdlib.h>
25148 #endif
25149 #include <stdio.h>
25150 #include <string>
25151
25152 int
25153 main ()
25154 {
25155 std::basic_string<$char_type> foo;
25156 const $char_type* dummy = foo.c_str();
25157 ;
25158 return 0;
25159 }
25160 _ACEOF
25161 rm -f conftest.$ac_objext
25162 if { (ac_try="$ac_compile"
25163 case "(($ac_try" in
25164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25165 *) ac_try_echo=$ac_try;;
25166 esac
25167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25168 (eval "$ac_compile") 2>conftest.er1
25169 ac_status=$?
25170 grep -v '^ *+' conftest.er1 >conftest.err
25171 rm -f conftest.er1
25172 cat conftest.err >&5
25173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25174 (exit $ac_status); } && {
25175 test -z "$ac_cxx_werror_flag" ||
25176 test ! -s conftest.err
25177 } && test -s conftest.$ac_objext; then
25178 wx_cv_class_stdbasicstring=yes
25179 else
25180 echo "$as_me: failed program was:" >&5
25181 sed 's/^/| /' conftest.$ac_ext >&5
25182
25183 wx_cv_class_stdbasicstring=no
25184
25185 fi
25186
25187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25188
25189
25190 fi
25191 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25192 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25193
25194 if test "$wx_cv_class_stdbasicstring" != yes; then
25195 if test "$wxUSE_STL" = "yes"; then
25196 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25197 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25198 { (exit 1); exit 1; }; }
25199 elif test "$wxUSE_STD_STRING" = "yes"; then
25200 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25201 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25202 { (exit 1); exit 1; }; }
25203 else
25204 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25205 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25206 wxUSE_STD_STRING=no
25207 fi
25208 fi
25209 fi
25210 fi
25211
25212 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25213 { echo "$as_me:$LINENO: checking for std::istream" >&5
25214 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25215 if test "${ac_cv_type_std__istream+set}" = set; then
25216 echo $ECHO_N "(cached) $ECHO_C" >&6
25217 else
25218 cat >conftest.$ac_ext <<_ACEOF
25219 /* confdefs.h. */
25220 _ACEOF
25221 cat confdefs.h >>conftest.$ac_ext
25222 cat >>conftest.$ac_ext <<_ACEOF
25223 /* end confdefs.h. */
25224 #include <iostream>
25225
25226 typedef std::istream ac__type_new_;
25227 int
25228 main ()
25229 {
25230 if ((ac__type_new_ *) 0)
25231 return 0;
25232 if (sizeof (ac__type_new_))
25233 return 0;
25234 ;
25235 return 0;
25236 }
25237 _ACEOF
25238 rm -f conftest.$ac_objext
25239 if { (ac_try="$ac_compile"
25240 case "(($ac_try" in
25241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25242 *) ac_try_echo=$ac_try;;
25243 esac
25244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25245 (eval "$ac_compile") 2>conftest.er1
25246 ac_status=$?
25247 grep -v '^ *+' conftest.er1 >conftest.err
25248 rm -f conftest.er1
25249 cat conftest.err >&5
25250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25251 (exit $ac_status); } && {
25252 test -z "$ac_cxx_werror_flag" ||
25253 test ! -s conftest.err
25254 } && test -s conftest.$ac_objext; then
25255 ac_cv_type_std__istream=yes
25256 else
25257 echo "$as_me: failed program was:" >&5
25258 sed 's/^/| /' conftest.$ac_ext >&5
25259
25260 ac_cv_type_std__istream=no
25261 fi
25262
25263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25264 fi
25265 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25266 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25267 if test $ac_cv_type_std__istream = yes; then
25268
25269 cat >>confdefs.h <<_ACEOF
25270 #define HAVE_STD__ISTREAM 1
25271 _ACEOF
25272
25273
25274 else
25275 wxUSE_STD_IOSTREAM=no
25276 fi
25277 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25278 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25279 if test "${ac_cv_type_std__ostream+set}" = set; then
25280 echo $ECHO_N "(cached) $ECHO_C" >&6
25281 else
25282 cat >conftest.$ac_ext <<_ACEOF
25283 /* confdefs.h. */
25284 _ACEOF
25285 cat confdefs.h >>conftest.$ac_ext
25286 cat >>conftest.$ac_ext <<_ACEOF
25287 /* end confdefs.h. */
25288 #include <iostream>
25289
25290 typedef std::ostream ac__type_new_;
25291 int
25292 main ()
25293 {
25294 if ((ac__type_new_ *) 0)
25295 return 0;
25296 if (sizeof (ac__type_new_))
25297 return 0;
25298 ;
25299 return 0;
25300 }
25301 _ACEOF
25302 rm -f conftest.$ac_objext
25303 if { (ac_try="$ac_compile"
25304 case "(($ac_try" in
25305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25306 *) ac_try_echo=$ac_try;;
25307 esac
25308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25309 (eval "$ac_compile") 2>conftest.er1
25310 ac_status=$?
25311 grep -v '^ *+' conftest.er1 >conftest.err
25312 rm -f conftest.er1
25313 cat conftest.err >&5
25314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25315 (exit $ac_status); } && {
25316 test -z "$ac_cxx_werror_flag" ||
25317 test ! -s conftest.err
25318 } && test -s conftest.$ac_objext; then
25319 ac_cv_type_std__ostream=yes
25320 else
25321 echo "$as_me: failed program was:" >&5
25322 sed 's/^/| /' conftest.$ac_ext >&5
25323
25324 ac_cv_type_std__ostream=no
25325 fi
25326
25327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25328 fi
25329 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25330 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25331 if test $ac_cv_type_std__ostream = yes; then
25332
25333 cat >>confdefs.h <<_ACEOF
25334 #define HAVE_STD__OSTREAM 1
25335 _ACEOF
25336
25337
25338 else
25339 wxUSE_STD_IOSTREAM=no
25340 fi
25341
25342
25343 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25344 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25345 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
25346 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25347 { (exit 1); exit 1; }; }
25348 else
25349 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25350 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25351 fi
25352 fi
25353 fi
25354
25355 if test "$wxUSE_STL" = "yes"; then
25356 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25357 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25358 if test "${wx_cv_lib_stl+set}" = set; then
25359 echo $ECHO_N "(cached) $ECHO_C" >&6
25360 else
25361 cat >conftest.$ac_ext <<_ACEOF
25362 /* confdefs.h. */
25363 _ACEOF
25364 cat confdefs.h >>conftest.$ac_ext
25365 cat >>conftest.$ac_ext <<_ACEOF
25366 /* end confdefs.h. */
25367 #include <string>
25368 #include <functional>
25369 #include <algorithm>
25370 #include <vector>
25371 #include <list>
25372 int
25373 main ()
25374 {
25375 std::vector<int> moo;
25376 std::list<int> foo;
25377 std::vector<int>::iterator it =
25378 std::find_if(moo.begin(), moo.end(),
25379 std::bind2nd(std::less<int>(), 3));
25380 ;
25381 return 0;
25382 }
25383 _ACEOF
25384 rm -f conftest.$ac_objext
25385 if { (ac_try="$ac_compile"
25386 case "(($ac_try" in
25387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25388 *) ac_try_echo=$ac_try;;
25389 esac
25390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25391 (eval "$ac_compile") 2>conftest.er1
25392 ac_status=$?
25393 grep -v '^ *+' conftest.er1 >conftest.err
25394 rm -f conftest.er1
25395 cat conftest.err >&5
25396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25397 (exit $ac_status); } && {
25398 test -z "$ac_cxx_werror_flag" ||
25399 test ! -s conftest.err
25400 } && test -s conftest.$ac_objext; then
25401 wx_cv_lib_stl=yes
25402 else
25403 echo "$as_me: failed program was:" >&5
25404 sed 's/^/| /' conftest.$ac_ext >&5
25405
25406 wx_cv_lib_stl=no
25407
25408 fi
25409
25410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25411
25412 fi
25413 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25414 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25415
25416 if test "$wx_cv_lib_stl" != yes; then
25417 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
25418 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
25419 { (exit 1); exit 1; }; }
25420 fi
25421
25422 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25423 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25424 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25425 echo $ECHO_N "(cached) $ECHO_C" >&6
25426 else
25427 cat >conftest.$ac_ext <<_ACEOF
25428 /* confdefs.h. */
25429 _ACEOF
25430 cat confdefs.h >>conftest.$ac_ext
25431 cat >>conftest.$ac_ext <<_ACEOF
25432 /* end confdefs.h. */
25433 #include <string>
25434 int
25435 main ()
25436 {
25437 std::string foo, bar;
25438 foo.compare(bar);
25439 foo.compare(1, 1, bar);
25440 foo.compare(1, 1, bar, 1, 1);
25441 foo.compare("");
25442 foo.compare(1, 1, "");
25443 foo.compare(1, 1, "", 2);
25444 ;
25445 return 0;
25446 }
25447 _ACEOF
25448 rm -f conftest.$ac_objext
25449 if { (ac_try="$ac_compile"
25450 case "(($ac_try" in
25451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25452 *) ac_try_echo=$ac_try;;
25453 esac
25454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25455 (eval "$ac_compile") 2>conftest.er1
25456 ac_status=$?
25457 grep -v '^ *+' conftest.er1 >conftest.err
25458 rm -f conftest.er1
25459 cat conftest.err >&5
25460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25461 (exit $ac_status); } && {
25462 test -z "$ac_cxx_werror_flag" ||
25463 test ! -s conftest.err
25464 } && test -s conftest.$ac_objext; then
25465 wx_cv_func_stdstring_compare=yes
25466 else
25467 echo "$as_me: failed program was:" >&5
25468 sed 's/^/| /' conftest.$ac_ext >&5
25469
25470 wx_cv_func_stdstring_compare=no
25471
25472 fi
25473
25474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25475
25476 fi
25477 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25478 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25479
25480 if test "$wx_cv_func_stdstring_compare" = yes; then
25481 cat >>confdefs.h <<\_ACEOF
25482 #define HAVE_STD_STRING_COMPARE 1
25483 _ACEOF
25484
25485 fi
25486
25487 if test "$wx_cv_class_gnuhashmapset" = yes; then
25488 cat >>confdefs.h <<\_ACEOF
25489 #define HAVE_EXT_HASH_MAP 1
25490 _ACEOF
25491
25492 cat >>confdefs.h <<\_ACEOF
25493 #define HAVE_GNU_CXX_HASH_MAP 1
25494 _ACEOF
25495
25496 fi
25497
25498 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25499 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25500 if test "${ac_cv_header_unordered_map+set}" = set; then
25501 echo $ECHO_N "(cached) $ECHO_C" >&6
25502 else
25503 cat >conftest.$ac_ext <<_ACEOF
25504 /* confdefs.h. */
25505 _ACEOF
25506 cat confdefs.h >>conftest.$ac_ext
25507 cat >>conftest.$ac_ext <<_ACEOF
25508 /* end confdefs.h. */
25509
25510
25511
25512 #include <unordered_map>
25513 _ACEOF
25514 rm -f conftest.$ac_objext
25515 if { (ac_try="$ac_compile"
25516 case "(($ac_try" in
25517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25518 *) ac_try_echo=$ac_try;;
25519 esac
25520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25521 (eval "$ac_compile") 2>conftest.er1
25522 ac_status=$?
25523 grep -v '^ *+' conftest.er1 >conftest.err
25524 rm -f conftest.er1
25525 cat conftest.err >&5
25526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25527 (exit $ac_status); } && {
25528 test -z "$ac_cxx_werror_flag" ||
25529 test ! -s conftest.err
25530 } && test -s conftest.$ac_objext; then
25531 ac_cv_header_unordered_map=yes
25532 else
25533 echo "$as_me: failed program was:" >&5
25534 sed 's/^/| /' conftest.$ac_ext >&5
25535
25536 ac_cv_header_unordered_map=no
25537 fi
25538
25539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25540 fi
25541 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25542 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25543 if test $ac_cv_header_unordered_map = yes; then
25544 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25545 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25546 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25547 echo $ECHO_N "(cached) $ECHO_C" >&6
25548 else
25549 cat >conftest.$ac_ext <<_ACEOF
25550 /* confdefs.h. */
25551 _ACEOF
25552 cat confdefs.h >>conftest.$ac_ext
25553 cat >>conftest.$ac_ext <<_ACEOF
25554 /* end confdefs.h. */
25555 #include <unordered_map>
25556 #include <unordered_set>
25557 int
25558 main ()
25559 {
25560 std::unordered_map<double*, char*> test1;
25561 std::unordered_set<char*> test2;
25562 ;
25563 return 0;
25564 }
25565 _ACEOF
25566 rm -f conftest.$ac_objext
25567 if { (ac_try="$ac_compile"
25568 case "(($ac_try" in
25569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25570 *) ac_try_echo=$ac_try;;
25571 esac
25572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25573 (eval "$ac_compile") 2>conftest.er1
25574 ac_status=$?
25575 grep -v '^ *+' conftest.er1 >conftest.err
25576 rm -f conftest.er1
25577 cat conftest.err >&5
25578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25579 (exit $ac_status); } && {
25580 test -z "$ac_cxx_werror_flag" ||
25581 test ! -s conftest.err
25582 } && test -s conftest.$ac_objext; then
25583 wx_cv_class_stdunorderedmapset=yes
25584 else
25585 echo "$as_me: failed program was:" >&5
25586 sed 's/^/| /' conftest.$ac_ext >&5
25587
25588 wx_cv_class_stdunorderedmapset=no
25589 fi
25590
25591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25592
25593
25594 fi
25595 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25596 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25597 fi
25598
25599
25600
25601 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25602 cat >>confdefs.h <<\_ACEOF
25603 #define HAVE_STD_UNORDERED_MAP 1
25604 _ACEOF
25605
25606 cat >>confdefs.h <<\_ACEOF
25607 #define HAVE_STD_UNORDERED_SET 1
25608 _ACEOF
25609
25610 else
25611 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25612 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25613 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25614 echo $ECHO_N "(cached) $ECHO_C" >&6
25615 else
25616 cat >conftest.$ac_ext <<_ACEOF
25617 /* confdefs.h. */
25618 _ACEOF
25619 cat confdefs.h >>conftest.$ac_ext
25620 cat >>conftest.$ac_ext <<_ACEOF
25621 /* end confdefs.h. */
25622
25623
25624
25625 #include <tr1/unordered_map>
25626 _ACEOF
25627 rm -f conftest.$ac_objext
25628 if { (ac_try="$ac_compile"
25629 case "(($ac_try" in
25630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25631 *) ac_try_echo=$ac_try;;
25632 esac
25633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25634 (eval "$ac_compile") 2>conftest.er1
25635 ac_status=$?
25636 grep -v '^ *+' conftest.er1 >conftest.err
25637 rm -f conftest.er1
25638 cat conftest.err >&5
25639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25640 (exit $ac_status); } && {
25641 test -z "$ac_cxx_werror_flag" ||
25642 test ! -s conftest.err
25643 } && test -s conftest.$ac_objext; then
25644 ac_cv_header_tr1_unordered_map=yes
25645 else
25646 echo "$as_me: failed program was:" >&5
25647 sed 's/^/| /' conftest.$ac_ext >&5
25648
25649 ac_cv_header_tr1_unordered_map=no
25650 fi
25651
25652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25653 fi
25654 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25655 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25656 if test $ac_cv_header_tr1_unordered_map = yes; then
25657 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25658 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25659 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25660 echo $ECHO_N "(cached) $ECHO_C" >&6
25661 else
25662 cat >conftest.$ac_ext <<_ACEOF
25663 /* confdefs.h. */
25664 _ACEOF
25665 cat confdefs.h >>conftest.$ac_ext
25666 cat >>conftest.$ac_ext <<_ACEOF
25667 /* end confdefs.h. */
25668 #include <tr1/unordered_map>
25669 #include <tr1/unordered_set>
25670 int
25671 main ()
25672 {
25673 std::tr1::unordered_map<double*, char*> test1;
25674 std::tr1::unordered_set<char*> test2;
25675 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25676 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25677 #endif
25678 ;
25679 return 0;
25680 }
25681 _ACEOF
25682 rm -f conftest.$ac_objext
25683 if { (ac_try="$ac_compile"
25684 case "(($ac_try" in
25685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25686 *) ac_try_echo=$ac_try;;
25687 esac
25688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25689 (eval "$ac_compile") 2>conftest.er1
25690 ac_status=$?
25691 grep -v '^ *+' conftest.er1 >conftest.err
25692 rm -f conftest.er1
25693 cat conftest.err >&5
25694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25695 (exit $ac_status); } && {
25696 test -z "$ac_cxx_werror_flag" ||
25697 test ! -s conftest.err
25698 } && test -s conftest.$ac_objext; then
25699 wx_cv_class_tr1unorderedmapset=yes
25700 else
25701 echo "$as_me: failed program was:" >&5
25702 sed 's/^/| /' conftest.$ac_ext >&5
25703
25704 wx_cv_class_tr1unorderedmapset=no
25705 fi
25706
25707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25708
25709
25710 fi
25711 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25712 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25713 fi
25714
25715
25716
25717 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25718 cat >>confdefs.h <<\_ACEOF
25719 #define HAVE_TR1_UNORDERED_MAP 1
25720 _ACEOF
25721
25722 cat >>confdefs.h <<\_ACEOF
25723 #define HAVE_TR1_UNORDERED_SET 1
25724 _ACEOF
25725
25726 else
25727 { echo "$as_me:$LINENO: checking for hash_map" >&5
25728 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25729 if test "${ac_cv_header_hash_map+set}" = set; then
25730 echo $ECHO_N "(cached) $ECHO_C" >&6
25731 else
25732 cat >conftest.$ac_ext <<_ACEOF
25733 /* confdefs.h. */
25734 _ACEOF
25735 cat confdefs.h >>conftest.$ac_ext
25736 cat >>conftest.$ac_ext <<_ACEOF
25737 /* end confdefs.h. */
25738
25739
25740
25741 #include <hash_map>
25742 _ACEOF
25743 rm -f conftest.$ac_objext
25744 if { (ac_try="$ac_compile"
25745 case "(($ac_try" in
25746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25747 *) ac_try_echo=$ac_try;;
25748 esac
25749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25750 (eval "$ac_compile") 2>conftest.er1
25751 ac_status=$?
25752 grep -v '^ *+' conftest.er1 >conftest.err
25753 rm -f conftest.er1
25754 cat conftest.err >&5
25755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25756 (exit $ac_status); } && {
25757 test -z "$ac_cxx_werror_flag" ||
25758 test ! -s conftest.err
25759 } && test -s conftest.$ac_objext; then
25760 ac_cv_header_hash_map=yes
25761 else
25762 echo "$as_me: failed program was:" >&5
25763 sed 's/^/| /' conftest.$ac_ext >&5
25764
25765 ac_cv_header_hash_map=no
25766 fi
25767
25768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25769 fi
25770 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25771 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25772 if test $ac_cv_header_hash_map = yes; then
25773 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25774 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25775 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25776 echo $ECHO_N "(cached) $ECHO_C" >&6
25777 else
25778 cat >conftest.$ac_ext <<_ACEOF
25779 /* confdefs.h. */
25780 _ACEOF
25781 cat confdefs.h >>conftest.$ac_ext
25782 cat >>conftest.$ac_ext <<_ACEOF
25783 /* end confdefs.h. */
25784 #include <hash_map>
25785 #include <hash_set>
25786 int
25787 main ()
25788 {
25789 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25790 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25791 ;
25792 return 0;
25793 }
25794 _ACEOF
25795 rm -f conftest.$ac_objext
25796 if { (ac_try="$ac_compile"
25797 case "(($ac_try" in
25798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25799 *) ac_try_echo=$ac_try;;
25800 esac
25801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25802 (eval "$ac_compile") 2>conftest.er1
25803 ac_status=$?
25804 grep -v '^ *+' conftest.er1 >conftest.err
25805 rm -f conftest.er1
25806 cat conftest.err >&5
25807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25808 (exit $ac_status); } && {
25809 test -z "$ac_cxx_werror_flag" ||
25810 test ! -s conftest.err
25811 } && test -s conftest.$ac_objext; then
25812 wx_cv_class_stdhashmapset=yes
25813 else
25814 echo "$as_me: failed program was:" >&5
25815 sed 's/^/| /' conftest.$ac_ext >&5
25816
25817 wx_cv_class_stdhashmapset=no
25818 fi
25819
25820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25821
25822
25823 fi
25824 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25825 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25826 fi
25827
25828
25829
25830 if test "$wx_cv_class_stdhashmapset" = yes; then
25831 cat >>confdefs.h <<\_ACEOF
25832 #define HAVE_HASH_MAP 1
25833 _ACEOF
25834
25835 cat >>confdefs.h <<\_ACEOF
25836 #define HAVE_STD_HASH_MAP 1
25837 _ACEOF
25838
25839 fi
25840
25841 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25842 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25843 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25844 echo $ECHO_N "(cached) $ECHO_C" >&6
25845 else
25846 cat >conftest.$ac_ext <<_ACEOF
25847 /* confdefs.h. */
25848 _ACEOF
25849 cat confdefs.h >>conftest.$ac_ext
25850 cat >>conftest.$ac_ext <<_ACEOF
25851 /* end confdefs.h. */
25852
25853
25854
25855 #include <ext/hash_map>
25856 _ACEOF
25857 rm -f conftest.$ac_objext
25858 if { (ac_try="$ac_compile"
25859 case "(($ac_try" in
25860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25861 *) ac_try_echo=$ac_try;;
25862 esac
25863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25864 (eval "$ac_compile") 2>conftest.er1
25865 ac_status=$?
25866 grep -v '^ *+' conftest.er1 >conftest.err
25867 rm -f conftest.er1
25868 cat conftest.err >&5
25869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25870 (exit $ac_status); } && {
25871 test -z "$ac_cxx_werror_flag" ||
25872 test ! -s conftest.err
25873 } && test -s conftest.$ac_objext; then
25874 ac_cv_header_ext_hash_map=yes
25875 else
25876 echo "$as_me: failed program was:" >&5
25877 sed 's/^/| /' conftest.$ac_ext >&5
25878
25879 ac_cv_header_ext_hash_map=no
25880 fi
25881
25882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25883 fi
25884 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25885 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25886 if test $ac_cv_header_ext_hash_map = yes; then
25887 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25888 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25889 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25890 echo $ECHO_N "(cached) $ECHO_C" >&6
25891 else
25892 cat >conftest.$ac_ext <<_ACEOF
25893 /* confdefs.h. */
25894 _ACEOF
25895 cat confdefs.h >>conftest.$ac_ext
25896 cat >>conftest.$ac_ext <<_ACEOF
25897 /* end confdefs.h. */
25898 #include <ext/hash_map>
25899 #include <ext/hash_set>
25900 int
25901 main ()
25902 {
25903 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25904 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25905 ;
25906 return 0;
25907 }
25908 _ACEOF
25909 rm -f conftest.$ac_objext
25910 if { (ac_try="$ac_compile"
25911 case "(($ac_try" in
25912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25913 *) ac_try_echo=$ac_try;;
25914 esac
25915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25916 (eval "$ac_compile") 2>conftest.er1
25917 ac_status=$?
25918 grep -v '^ *+' conftest.er1 >conftest.err
25919 rm -f conftest.er1
25920 cat conftest.err >&5
25921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25922 (exit $ac_status); } && {
25923 test -z "$ac_cxx_werror_flag" ||
25924 test ! -s conftest.err
25925 } && test -s conftest.$ac_objext; then
25926 wx_cv_class_gnuhashmapset=yes
25927 else
25928 echo "$as_me: failed program was:" >&5
25929 sed 's/^/| /' conftest.$ac_ext >&5
25930
25931 wx_cv_class_gnuhashmapset=no
25932 fi
25933
25934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25935
25936
25937 fi
25938 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25939 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25940 fi
25941
25942
25943
25944 fi
25945 fi
25946 fi
25947
25948 ac_ext=cpp
25949 ac_cpp='$CXXCPP $CPPFLAGS'
25950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25953 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
25954 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
25955 if test -z "$CXXCPP"; then
25956 if test "${ac_cv_prog_CXXCPP+set}" = set; then
25957 echo $ECHO_N "(cached) $ECHO_C" >&6
25958 else
25959 # Double quotes because CXXCPP needs to be expanded
25960 for CXXCPP in "$CXX -E" "/lib/cpp"
25961 do
25962 ac_preproc_ok=false
25963 for ac_cxx_preproc_warn_flag in '' yes
25964 do
25965 # Use a header file that comes with gcc, so configuring glibc
25966 # with a fresh cross-compiler works.
25967 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25968 # <limits.h> exists even on freestanding compilers.
25969 # On the NeXT, cc -E runs the code through the compiler's parser,
25970 # not just through cpp. "Syntax error" is here to catch this case.
25971 cat >conftest.$ac_ext <<_ACEOF
25972 /* confdefs.h. */
25973 _ACEOF
25974 cat confdefs.h >>conftest.$ac_ext
25975 cat >>conftest.$ac_ext <<_ACEOF
25976 /* end confdefs.h. */
25977 #ifdef __STDC__
25978 # include <limits.h>
25979 #else
25980 # include <assert.h>
25981 #endif
25982 Syntax error
25983 _ACEOF
25984 if { (ac_try="$ac_cpp conftest.$ac_ext"
25985 case "(($ac_try" in
25986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25987 *) ac_try_echo=$ac_try;;
25988 esac
25989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25990 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25991 ac_status=$?
25992 grep -v '^ *+' conftest.er1 >conftest.err
25993 rm -f conftest.er1
25994 cat conftest.err >&5
25995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25996 (exit $ac_status); } >/dev/null && {
25997 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
25998 test ! -s conftest.err
25999 }; then
26000 :
26001 else
26002 echo "$as_me: failed program was:" >&5
26003 sed 's/^/| /' conftest.$ac_ext >&5
26004
26005 # Broken: fails on valid input.
26006 continue
26007 fi
26008
26009 rm -f conftest.err conftest.$ac_ext
26010
26011 # OK, works on sane cases. Now check whether nonexistent headers
26012 # can be detected and how.
26013 cat >conftest.$ac_ext <<_ACEOF
26014 /* confdefs.h. */
26015 _ACEOF
26016 cat confdefs.h >>conftest.$ac_ext
26017 cat >>conftest.$ac_ext <<_ACEOF
26018 /* end confdefs.h. */
26019 #include <ac_nonexistent.h>
26020 _ACEOF
26021 if { (ac_try="$ac_cpp conftest.$ac_ext"
26022 case "(($ac_try" in
26023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26024 *) ac_try_echo=$ac_try;;
26025 esac
26026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26027 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26028 ac_status=$?
26029 grep -v '^ *+' conftest.er1 >conftest.err
26030 rm -f conftest.er1
26031 cat conftest.err >&5
26032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26033 (exit $ac_status); } >/dev/null && {
26034 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26035 test ! -s conftest.err
26036 }; then
26037 # Broken: success on invalid input.
26038 continue
26039 else
26040 echo "$as_me: failed program was:" >&5
26041 sed 's/^/| /' conftest.$ac_ext >&5
26042
26043 # Passes both tests.
26044 ac_preproc_ok=:
26045 break
26046 fi
26047
26048 rm -f conftest.err conftest.$ac_ext
26049
26050 done
26051 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26052 rm -f conftest.err conftest.$ac_ext
26053 if $ac_preproc_ok; then
26054 break
26055 fi
26056
26057 done
26058 ac_cv_prog_CXXCPP=$CXXCPP
26059
26060 fi
26061 CXXCPP=$ac_cv_prog_CXXCPP
26062 else
26063 ac_cv_prog_CXXCPP=$CXXCPP
26064 fi
26065 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26066 echo "${ECHO_T}$CXXCPP" >&6; }
26067 ac_preproc_ok=false
26068 for ac_cxx_preproc_warn_flag in '' yes
26069 do
26070 # Use a header file that comes with gcc, so configuring glibc
26071 # with a fresh cross-compiler works.
26072 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26073 # <limits.h> exists even on freestanding compilers.
26074 # On the NeXT, cc -E runs the code through the compiler's parser,
26075 # not just through cpp. "Syntax error" is here to catch this case.
26076 cat >conftest.$ac_ext <<_ACEOF
26077 /* confdefs.h. */
26078 _ACEOF
26079 cat confdefs.h >>conftest.$ac_ext
26080 cat >>conftest.$ac_ext <<_ACEOF
26081 /* end confdefs.h. */
26082 #ifdef __STDC__
26083 # include <limits.h>
26084 #else
26085 # include <assert.h>
26086 #endif
26087 Syntax error
26088 _ACEOF
26089 if { (ac_try="$ac_cpp conftest.$ac_ext"
26090 case "(($ac_try" in
26091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26092 *) ac_try_echo=$ac_try;;
26093 esac
26094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26095 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26096 ac_status=$?
26097 grep -v '^ *+' conftest.er1 >conftest.err
26098 rm -f conftest.er1
26099 cat conftest.err >&5
26100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26101 (exit $ac_status); } >/dev/null && {
26102 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26103 test ! -s conftest.err
26104 }; then
26105 :
26106 else
26107 echo "$as_me: failed program was:" >&5
26108 sed 's/^/| /' conftest.$ac_ext >&5
26109
26110 # Broken: fails on valid input.
26111 continue
26112 fi
26113
26114 rm -f conftest.err conftest.$ac_ext
26115
26116 # OK, works on sane cases. Now check whether nonexistent headers
26117 # can be detected and how.
26118 cat >conftest.$ac_ext <<_ACEOF
26119 /* confdefs.h. */
26120 _ACEOF
26121 cat confdefs.h >>conftest.$ac_ext
26122 cat >>conftest.$ac_ext <<_ACEOF
26123 /* end confdefs.h. */
26124 #include <ac_nonexistent.h>
26125 _ACEOF
26126 if { (ac_try="$ac_cpp conftest.$ac_ext"
26127 case "(($ac_try" in
26128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26129 *) ac_try_echo=$ac_try;;
26130 esac
26131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26132 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26133 ac_status=$?
26134 grep -v '^ *+' conftest.er1 >conftest.err
26135 rm -f conftest.er1
26136 cat conftest.err >&5
26137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26138 (exit $ac_status); } >/dev/null && {
26139 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26140 test ! -s conftest.err
26141 }; then
26142 # Broken: success on invalid input.
26143 continue
26144 else
26145 echo "$as_me: failed program was:" >&5
26146 sed 's/^/| /' conftest.$ac_ext >&5
26147
26148 # Passes both tests.
26149 ac_preproc_ok=:
26150 break
26151 fi
26152
26153 rm -f conftest.err conftest.$ac_ext
26154
26155 done
26156 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26157 rm -f conftest.err conftest.$ac_ext
26158 if $ac_preproc_ok; then
26159 :
26160 else
26161 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26162 See \`config.log' for more details." >&5
26163 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26164 See \`config.log' for more details." >&2;}
26165 { (exit 1); exit 1; }; }
26166 fi
26167
26168 ac_ext=cpp
26169 ac_cpp='$CXXCPP $CPPFLAGS'
26170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26173
26174
26175
26176
26177 for ac_header in type_traits tr1/type_traits
26178 do
26179 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26180 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26181 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26182 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26183 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26184 echo $ECHO_N "(cached) $ECHO_C" >&6
26185 fi
26186 ac_res=`eval echo '${'$as_ac_Header'}'`
26187 { echo "$as_me:$LINENO: result: $ac_res" >&5
26188 echo "${ECHO_T}$ac_res" >&6; }
26189 else
26190 # Is the header compilable?
26191 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26192 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26193 cat >conftest.$ac_ext <<_ACEOF
26194 /* confdefs.h. */
26195 _ACEOF
26196 cat confdefs.h >>conftest.$ac_ext
26197 cat >>conftest.$ac_ext <<_ACEOF
26198 /* end confdefs.h. */
26199 $ac_includes_default
26200 #include <$ac_header>
26201 _ACEOF
26202 rm -f conftest.$ac_objext
26203 if { (ac_try="$ac_compile"
26204 case "(($ac_try" in
26205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26206 *) ac_try_echo=$ac_try;;
26207 esac
26208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26209 (eval "$ac_compile") 2>conftest.er1
26210 ac_status=$?
26211 grep -v '^ *+' conftest.er1 >conftest.err
26212 rm -f conftest.er1
26213 cat conftest.err >&5
26214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26215 (exit $ac_status); } && {
26216 test -z "$ac_cxx_werror_flag" ||
26217 test ! -s conftest.err
26218 } && test -s conftest.$ac_objext; then
26219 ac_header_compiler=yes
26220 else
26221 echo "$as_me: failed program was:" >&5
26222 sed 's/^/| /' conftest.$ac_ext >&5
26223
26224 ac_header_compiler=no
26225 fi
26226
26227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26228 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26229 echo "${ECHO_T}$ac_header_compiler" >&6; }
26230
26231 # Is the header present?
26232 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26233 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26234 cat >conftest.$ac_ext <<_ACEOF
26235 /* confdefs.h. */
26236 _ACEOF
26237 cat confdefs.h >>conftest.$ac_ext
26238 cat >>conftest.$ac_ext <<_ACEOF
26239 /* end confdefs.h. */
26240 #include <$ac_header>
26241 _ACEOF
26242 if { (ac_try="$ac_cpp conftest.$ac_ext"
26243 case "(($ac_try" in
26244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26245 *) ac_try_echo=$ac_try;;
26246 esac
26247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26248 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26249 ac_status=$?
26250 grep -v '^ *+' conftest.er1 >conftest.err
26251 rm -f conftest.er1
26252 cat conftest.err >&5
26253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26254 (exit $ac_status); } >/dev/null && {
26255 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26256 test ! -s conftest.err
26257 }; then
26258 ac_header_preproc=yes
26259 else
26260 echo "$as_me: failed program was:" >&5
26261 sed 's/^/| /' conftest.$ac_ext >&5
26262
26263 ac_header_preproc=no
26264 fi
26265
26266 rm -f conftest.err conftest.$ac_ext
26267 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26268 echo "${ECHO_T}$ac_header_preproc" >&6; }
26269
26270 # So? What about this header?
26271 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26272 yes:no: )
26273 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26274 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26275 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26276 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26277 ac_header_preproc=yes
26278 ;;
26279 no:yes:* )
26280 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26281 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26282 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26283 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26284 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26285 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26286 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26287 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26288 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26289 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26290 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26291 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26292 ( cat <<\_ASBOX
26293 ## ----------------------------------------- ##
26294 ## Report this to wx-dev@lists.wxwidgets.org ##
26295 ## ----------------------------------------- ##
26296 _ASBOX
26297 ) | sed "s/^/$as_me: WARNING: /" >&2
26298 ;;
26299 esac
26300 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26301 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26302 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26303 echo $ECHO_N "(cached) $ECHO_C" >&6
26304 else
26305 eval "$as_ac_Header=\$ac_header_preproc"
26306 fi
26307 ac_res=`eval echo '${'$as_ac_Header'}'`
26308 { echo "$as_me:$LINENO: result: $ac_res" >&5
26309 echo "${ECHO_T}$ac_res" >&6; }
26310
26311 fi
26312 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26313 cat >>confdefs.h <<_ACEOF
26314 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26315 _ACEOF
26316
26317 fi
26318
26319 done
26320
26321
26322
26323
26324 if test -n "$GCC"; then
26325 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
26326 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
26327 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
26328 echo $ECHO_N "(cached) $ECHO_C" >&6
26329 else
26330
26331 cat >conftest.$ac_ext <<_ACEOF
26332 /* confdefs.h. */
26333 _ACEOF
26334 cat confdefs.h >>conftest.$ac_ext
26335 cat >>conftest.$ac_ext <<_ACEOF
26336 /* end confdefs.h. */
26337
26338 int
26339 main ()
26340 {
26341
26342 unsigned int value=0;
26343 /* wxAtomicInc doesn't use return value here */
26344 __sync_fetch_and_add(&value, 2);
26345 __sync_sub_and_fetch(&value, 1);
26346 /* but wxAtomicDec does, so mimic that: */
26347 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
26348
26349 ;
26350 return 0;
26351 }
26352 _ACEOF
26353 rm -f conftest.$ac_objext conftest$ac_exeext
26354 if { (ac_try="$ac_link"
26355 case "(($ac_try" in
26356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26357 *) ac_try_echo=$ac_try;;
26358 esac
26359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26360 (eval "$ac_link") 2>conftest.er1
26361 ac_status=$?
26362 grep -v '^ *+' conftest.er1 >conftest.err
26363 rm -f conftest.er1
26364 cat conftest.err >&5
26365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26366 (exit $ac_status); } && {
26367 test -z "$ac_cxx_werror_flag" ||
26368 test ! -s conftest.err
26369 } && test -s conftest$ac_exeext &&
26370 $as_test_x conftest$ac_exeext; then
26371 wx_cv_cc_gcc_atomic_builtins=yes
26372 else
26373 echo "$as_me: failed program was:" >&5
26374 sed 's/^/| /' conftest.$ac_ext >&5
26375
26376 wx_cv_cc_gcc_atomic_builtins=no
26377 fi
26378
26379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26380 conftest$ac_exeext conftest.$ac_ext
26381
26382 fi
26383
26384 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
26385 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
26386 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
26387 cat >>confdefs.h <<\_ACEOF
26388 #define HAVE_GCC_ATOMIC_BUILTINS 1
26389 _ACEOF
26390
26391 fi
26392 fi
26393
26394
26395 ac_ext=c
26396 ac_cpp='$CPP $CPPFLAGS'
26397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26400
26401
26402
26403 SEARCH_INCLUDE="\
26404 /usr/local/include \
26405 /usr/local/X11/include \
26406 /usr/local/include/X11 \
26407 /usr/local/X11R7/include \
26408 /usr/local/X11R6/include \
26409 /usr/local/include/X11R7 \
26410 /usr/local/include/X11R6 \
26411 \
26412 /usr/Motif-2.1/include \
26413 /usr/Motif-1.2/include \
26414 /usr/include/Motif1.2 \
26415 \
26416 /usr/dt/include \
26417 /usr/openwin/include \
26418 \
26419 /usr/include/Xm \
26420 \
26421 /usr/X11R7/include \
26422 /usr/X11R6/include \
26423 /usr/X11R6.4/include \
26424 \
26425 /usr/include/X11R7 \
26426 /usr/include/X11R6 \
26427 \
26428 /usr/X11/include \
26429 /usr/include/X11 \
26430 \
26431 /usr/XFree86/include/X11 \
26432 /usr/pkg/include \
26433 \
26434 /usr/local/X1R5/include \
26435 /usr/local/include/X11R5 \
26436 /usr/X11R5/include \
26437 /usr/include/X11R5 \
26438 \
26439 /usr/local/X11R4/include \
26440 /usr/local/include/X11R4 \
26441 /usr/X11R4/include \
26442 /usr/include/X11R4 \
26443 \
26444 /usr/openwin/share/include"
26445
26446 { echo "$as_me:$LINENO: checking for libraries directory" >&5
26447 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
26448
26449 case "${host}" in
26450 *-*-irix6* )
26451 if test "${wx_cv_std_libpath+set}" = set; then
26452 echo $ECHO_N "(cached) $ECHO_C" >&6
26453 else
26454
26455 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26456 for e in a so sl dylib dll.a; do
26457 libc="$d/libc.$e"
26458 if test -f $libc; then
26459 save_LIBS="$LIBS"
26460 LIBS="$libc"
26461 cat >conftest.$ac_ext <<_ACEOF
26462 int main() { return 0; }
26463 _ACEOF
26464 rm -f conftest.$ac_objext conftest$ac_exeext
26465 if { (ac_try="$ac_link"
26466 case "(($ac_try" in
26467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26468 *) ac_try_echo=$ac_try;;
26469 esac
26470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26471 (eval "$ac_link") 2>conftest.er1
26472 ac_status=$?
26473 grep -v '^ *+' conftest.er1 >conftest.err
26474 rm -f conftest.er1
26475 cat conftest.err >&5
26476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26477 (exit $ac_status); } && {
26478 test -z "$ac_c_werror_flag" ||
26479 test ! -s conftest.err
26480 } && test -s conftest$ac_exeext &&
26481 $as_test_x conftest$ac_exeext; then
26482 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
26483 else
26484 echo "$as_me: failed program was:" >&5
26485 sed 's/^/| /' conftest.$ac_ext >&5
26486
26487
26488 fi
26489
26490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26491 conftest$ac_exeext conftest.$ac_ext
26492 LIBS="$save_LIBS"
26493 if test "x$wx_cv_std_libpath" != "x"; then
26494 break 2
26495 fi
26496 fi
26497 done
26498 done
26499 if test "x$wx_cv_std_libpath" = "x"; then
26500 wx_cv_std_libpath="lib"
26501 fi
26502
26503
26504 fi
26505
26506 ;;
26507
26508 *-*-solaris2* )
26509 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26510 wx_cv_std_libpath="lib/64"
26511 else
26512 wx_cv_std_libpath="lib"
26513 fi
26514 ;;
26515
26516 *-*-linux* )
26517 if test "$ac_cv_sizeof_void_p" = 8 -a \
26518 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26519 wx_cv_std_libpath="lib64"
26520 else
26521 wx_cv_std_libpath="lib"
26522 fi
26523 ;;
26524
26525 *)
26526 wx_cv_std_libpath="lib";
26527 ;;
26528 esac
26529
26530 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26531 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26532
26533 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26534
26535 if test "$build" != "$host" -a "$GCC" = yes; then
26536 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
26537 cross_root=`dirname $cross_root`
26538 cross_root=`dirname $cross_root`
26539
26540 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26541 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26542 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
26543
26544 if test -z "$PKG_CONFIG_PATH"; then
26545 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26546 export PKG_CONFIG_PATH
26547 fi
26548
26549 if test -z "$x_includes" -o "$x_includes" = NONE; then
26550
26551 ac_find_includes=
26552 for ac_dir in $SEARCH_INCLUDE /usr/include;
26553 do
26554 if test -f "$ac_dir/X11/Intrinsic.h"; then
26555 ac_find_includes=$ac_dir
26556 break
26557 fi
26558 done
26559
26560 x_includes=$ac_find_includes
26561 fi
26562 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
26563
26564 ac_find_libraries=
26565 for ac_dir in $SEARCH_LIB;
26566 do
26567 for ac_extension in a so sl dylib dll.a; do
26568 if test -f "$ac_dir/libXt.$ac_extension"; then
26569 ac_find_libraries=$ac_dir
26570 break 2
26571 fi
26572 done
26573 done
26574
26575 x_libraries=$ac_find_libraries
26576 fi
26577 fi
26578 fi
26579
26580
26581 cat >confcache <<\_ACEOF
26582 # This file is a shell script that caches the results of configure
26583 # tests run on this system so they can be shared between configure
26584 # scripts and configure runs, see configure's option --config-cache.
26585 # It is not useful on other systems. If it contains results you don't
26586 # want to keep, you may remove or edit it.
26587 #
26588 # config.status only pays attention to the cache file if you give it
26589 # the --recheck option to rerun configure.
26590 #
26591 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26592 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26593 # following values.
26594
26595 _ACEOF
26596
26597 # The following way of writing the cache mishandles newlines in values,
26598 # but we know of no workaround that is simple, portable, and efficient.
26599 # So, we kill variables containing newlines.
26600 # Ultrix sh set writes to stderr and can't be redirected directly,
26601 # and sets the high bit in the cache file unless we assign to the vars.
26602 (
26603 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26604 eval ac_val=\$$ac_var
26605 case $ac_val in #(
26606 *${as_nl}*)
26607 case $ac_var in #(
26608 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26609 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26610 esac
26611 case $ac_var in #(
26612 _ | IFS | as_nl) ;; #(
26613 *) $as_unset $ac_var ;;
26614 esac ;;
26615 esac
26616 done
26617
26618 (set) 2>&1 |
26619 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26620 *${as_nl}ac_space=\ *)
26621 # `set' does not quote correctly, so add quotes (double-quote
26622 # substitution turns \\\\ into \\, and sed turns \\ into \).
26623 sed -n \
26624 "s/'/'\\\\''/g;
26625 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26626 ;; #(
26627 *)
26628 # `set' quotes correctly as required by POSIX, so do not add quotes.
26629 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26630 ;;
26631 esac |
26632 sort
26633 ) |
26634 sed '
26635 /^ac_cv_env_/b end
26636 t clear
26637 :clear
26638 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26639 t end
26640 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26641 :end' >>confcache
26642 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26643 if test -w "$cache_file"; then
26644 test "x$cache_file" != "x/dev/null" &&
26645 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26646 echo "$as_me: updating cache $cache_file" >&6;}
26647 cat confcache >$cache_file
26648 else
26649 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26650 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26651 fi
26652 fi
26653 rm -f confcache
26654
26655 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
26656 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
26657 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
26658 if test "${wx_cv_lib_glibc21+set}" = set; then
26659 echo $ECHO_N "(cached) $ECHO_C" >&6
26660 else
26661
26662 cat >conftest.$ac_ext <<_ACEOF
26663 /* confdefs.h. */
26664 _ACEOF
26665 cat confdefs.h >>conftest.$ac_ext
26666 cat >>conftest.$ac_ext <<_ACEOF
26667 /* end confdefs.h. */
26668 #include <features.h>
26669 int
26670 main ()
26671 {
26672
26673 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
26674 not glibc 2.1
26675 #endif
26676
26677 ;
26678 return 0;
26679 }
26680 _ACEOF
26681 rm -f conftest.$ac_objext
26682 if { (ac_try="$ac_compile"
26683 case "(($ac_try" in
26684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26685 *) ac_try_echo=$ac_try;;
26686 esac
26687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26688 (eval "$ac_compile") 2>conftest.er1
26689 ac_status=$?
26690 grep -v '^ *+' conftest.er1 >conftest.err
26691 rm -f conftest.er1
26692 cat conftest.err >&5
26693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26694 (exit $ac_status); } && {
26695 test -z "$ac_c_werror_flag" ||
26696 test ! -s conftest.err
26697 } && test -s conftest.$ac_objext; then
26698
26699 wx_cv_lib_glibc21=yes
26700
26701 else
26702 echo "$as_me: failed program was:" >&5
26703 sed 's/^/| /' conftest.$ac_ext >&5
26704
26705
26706 wx_cv_lib_glibc21=no
26707
26708
26709 fi
26710
26711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26712
26713 fi
26714 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
26715 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
26716 if test "$wx_cv_lib_glibc21" = "yes"; then
26717 cat >>confdefs.h <<\_ACEOF
26718 #define wxHAVE_GLIBC2 1
26719 _ACEOF
26720
26721 fi
26722 fi
26723
26724 if test "x$wx_cv_lib_glibc21" = "xyes"; then
26725 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
26726 cat >>confdefs.h <<\_ACEOF
26727 #define _GNU_SOURCE 1
26728 _ACEOF
26729
26730 fi
26731 fi
26732
26733 have_cos=0
26734 have_floor=0
26735
26736 for ac_func in cos
26737 do
26738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26739 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26741 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26742 echo $ECHO_N "(cached) $ECHO_C" >&6
26743 else
26744 cat >conftest.$ac_ext <<_ACEOF
26745 /* confdefs.h. */
26746 _ACEOF
26747 cat confdefs.h >>conftest.$ac_ext
26748 cat >>conftest.$ac_ext <<_ACEOF
26749 /* end confdefs.h. */
26750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26752 #define $ac_func innocuous_$ac_func
26753
26754 /* System header to define __stub macros and hopefully few prototypes,
26755 which can conflict with char $ac_func (); below.
26756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26757 <limits.h> exists even on freestanding compilers. */
26758
26759 #ifdef __STDC__
26760 # include <limits.h>
26761 #else
26762 # include <assert.h>
26763 #endif
26764
26765 #undef $ac_func
26766
26767 /* Override any GCC internal prototype to avoid an error.
26768 Use char because int might match the return type of a GCC
26769 builtin and then its argument prototype would still apply. */
26770 #ifdef __cplusplus
26771 extern "C"
26772 #endif
26773 char $ac_func ();
26774 /* The GNU C library defines this for functions which it implements
26775 to always fail with ENOSYS. Some functions are actually named
26776 something starting with __ and the normal name is an alias. */
26777 #if defined __stub_$ac_func || defined __stub___$ac_func
26778 choke me
26779 #endif
26780
26781 int
26782 main ()
26783 {
26784 return $ac_func ();
26785 ;
26786 return 0;
26787 }
26788 _ACEOF
26789 rm -f conftest.$ac_objext conftest$ac_exeext
26790 if { (ac_try="$ac_link"
26791 case "(($ac_try" in
26792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26793 *) ac_try_echo=$ac_try;;
26794 esac
26795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26796 (eval "$ac_link") 2>conftest.er1
26797 ac_status=$?
26798 grep -v '^ *+' conftest.er1 >conftest.err
26799 rm -f conftest.er1
26800 cat conftest.err >&5
26801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26802 (exit $ac_status); } && {
26803 test -z "$ac_c_werror_flag" ||
26804 test ! -s conftest.err
26805 } && test -s conftest$ac_exeext &&
26806 $as_test_x conftest$ac_exeext; then
26807 eval "$as_ac_var=yes"
26808 else
26809 echo "$as_me: failed program was:" >&5
26810 sed 's/^/| /' conftest.$ac_ext >&5
26811
26812 eval "$as_ac_var=no"
26813 fi
26814
26815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26816 conftest$ac_exeext conftest.$ac_ext
26817 fi
26818 ac_res=`eval echo '${'$as_ac_var'}'`
26819 { echo "$as_me:$LINENO: result: $ac_res" >&5
26820 echo "${ECHO_T}$ac_res" >&6; }
26821 if test `eval echo '${'$as_ac_var'}'` = yes; then
26822 cat >>confdefs.h <<_ACEOF
26823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26824 _ACEOF
26825 have_cos=1
26826 fi
26827 done
26828
26829
26830 for ac_func in floor
26831 do
26832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26833 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26835 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26836 echo $ECHO_N "(cached) $ECHO_C" >&6
26837 else
26838 cat >conftest.$ac_ext <<_ACEOF
26839 /* confdefs.h. */
26840 _ACEOF
26841 cat confdefs.h >>conftest.$ac_ext
26842 cat >>conftest.$ac_ext <<_ACEOF
26843 /* end confdefs.h. */
26844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26846 #define $ac_func innocuous_$ac_func
26847
26848 /* System header to define __stub macros and hopefully few prototypes,
26849 which can conflict with char $ac_func (); below.
26850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26851 <limits.h> exists even on freestanding compilers. */
26852
26853 #ifdef __STDC__
26854 # include <limits.h>
26855 #else
26856 # include <assert.h>
26857 #endif
26858
26859 #undef $ac_func
26860
26861 /* Override any GCC internal prototype to avoid an error.
26862 Use char because int might match the return type of a GCC
26863 builtin and then its argument prototype would still apply. */
26864 #ifdef __cplusplus
26865 extern "C"
26866 #endif
26867 char $ac_func ();
26868 /* The GNU C library defines this for functions which it implements
26869 to always fail with ENOSYS. Some functions are actually named
26870 something starting with __ and the normal name is an alias. */
26871 #if defined __stub_$ac_func || defined __stub___$ac_func
26872 choke me
26873 #endif
26874
26875 int
26876 main ()
26877 {
26878 return $ac_func ();
26879 ;
26880 return 0;
26881 }
26882 _ACEOF
26883 rm -f conftest.$ac_objext conftest$ac_exeext
26884 if { (ac_try="$ac_link"
26885 case "(($ac_try" in
26886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26887 *) ac_try_echo=$ac_try;;
26888 esac
26889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26890 (eval "$ac_link") 2>conftest.er1
26891 ac_status=$?
26892 grep -v '^ *+' conftest.er1 >conftest.err
26893 rm -f conftest.er1
26894 cat conftest.err >&5
26895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26896 (exit $ac_status); } && {
26897 test -z "$ac_c_werror_flag" ||
26898 test ! -s conftest.err
26899 } && test -s conftest$ac_exeext &&
26900 $as_test_x conftest$ac_exeext; then
26901 eval "$as_ac_var=yes"
26902 else
26903 echo "$as_me: failed program was:" >&5
26904 sed 's/^/| /' conftest.$ac_ext >&5
26905
26906 eval "$as_ac_var=no"
26907 fi
26908
26909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26910 conftest$ac_exeext conftest.$ac_ext
26911 fi
26912 ac_res=`eval echo '${'$as_ac_var'}'`
26913 { echo "$as_me:$LINENO: result: $ac_res" >&5
26914 echo "${ECHO_T}$ac_res" >&6; }
26915 if test `eval echo '${'$as_ac_var'}'` = yes; then
26916 cat >>confdefs.h <<_ACEOF
26917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26918 _ACEOF
26919 have_floor=1
26920 fi
26921 done
26922
26923 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26924 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
26925 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26926 { echo "$as_me:$LINENO: result: yes" >&5
26927 echo "${ECHO_T}yes" >&6; }
26928 else
26929 { echo "$as_me:$LINENO: result: no" >&5
26930 echo "${ECHO_T}no" >&6; }
26931 LIBS="$LIBS -lm"
26932 # use different functions to avoid configure caching
26933 have_sin=0
26934 have_ceil=0
26935
26936 for ac_func in sin
26937 do
26938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26939 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26941 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26942 echo $ECHO_N "(cached) $ECHO_C" >&6
26943 else
26944 cat >conftest.$ac_ext <<_ACEOF
26945 /* confdefs.h. */
26946 _ACEOF
26947 cat confdefs.h >>conftest.$ac_ext
26948 cat >>conftest.$ac_ext <<_ACEOF
26949 /* end confdefs.h. */
26950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26952 #define $ac_func innocuous_$ac_func
26953
26954 /* System header to define __stub macros and hopefully few prototypes,
26955 which can conflict with char $ac_func (); below.
26956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26957 <limits.h> exists even on freestanding compilers. */
26958
26959 #ifdef __STDC__
26960 # include <limits.h>
26961 #else
26962 # include <assert.h>
26963 #endif
26964
26965 #undef $ac_func
26966
26967 /* Override any GCC internal prototype to avoid an error.
26968 Use char because int might match the return type of a GCC
26969 builtin and then its argument prototype would still apply. */
26970 #ifdef __cplusplus
26971 extern "C"
26972 #endif
26973 char $ac_func ();
26974 /* The GNU C library defines this for functions which it implements
26975 to always fail with ENOSYS. Some functions are actually named
26976 something starting with __ and the normal name is an alias. */
26977 #if defined __stub_$ac_func || defined __stub___$ac_func
26978 choke me
26979 #endif
26980
26981 int
26982 main ()
26983 {
26984 return $ac_func ();
26985 ;
26986 return 0;
26987 }
26988 _ACEOF
26989 rm -f conftest.$ac_objext conftest$ac_exeext
26990 if { (ac_try="$ac_link"
26991 case "(($ac_try" in
26992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26993 *) ac_try_echo=$ac_try;;
26994 esac
26995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26996 (eval "$ac_link") 2>conftest.er1
26997 ac_status=$?
26998 grep -v '^ *+' conftest.er1 >conftest.err
26999 rm -f conftest.er1
27000 cat conftest.err >&5
27001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27002 (exit $ac_status); } && {
27003 test -z "$ac_c_werror_flag" ||
27004 test ! -s conftest.err
27005 } && test -s conftest$ac_exeext &&
27006 $as_test_x conftest$ac_exeext; then
27007 eval "$as_ac_var=yes"
27008 else
27009 echo "$as_me: failed program was:" >&5
27010 sed 's/^/| /' conftest.$ac_ext >&5
27011
27012 eval "$as_ac_var=no"
27013 fi
27014
27015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27016 conftest$ac_exeext conftest.$ac_ext
27017 fi
27018 ac_res=`eval echo '${'$as_ac_var'}'`
27019 { echo "$as_me:$LINENO: result: $ac_res" >&5
27020 echo "${ECHO_T}$ac_res" >&6; }
27021 if test `eval echo '${'$as_ac_var'}'` = yes; then
27022 cat >>confdefs.h <<_ACEOF
27023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27024 _ACEOF
27025 have_sin=1
27026 fi
27027 done
27028
27029
27030 for ac_func in ceil
27031 do
27032 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27033 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27035 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27036 echo $ECHO_N "(cached) $ECHO_C" >&6
27037 else
27038 cat >conftest.$ac_ext <<_ACEOF
27039 /* confdefs.h. */
27040 _ACEOF
27041 cat confdefs.h >>conftest.$ac_ext
27042 cat >>conftest.$ac_ext <<_ACEOF
27043 /* end confdefs.h. */
27044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27046 #define $ac_func innocuous_$ac_func
27047
27048 /* System header to define __stub macros and hopefully few prototypes,
27049 which can conflict with char $ac_func (); below.
27050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27051 <limits.h> exists even on freestanding compilers. */
27052
27053 #ifdef __STDC__
27054 # include <limits.h>
27055 #else
27056 # include <assert.h>
27057 #endif
27058
27059 #undef $ac_func
27060
27061 /* Override any GCC internal prototype to avoid an error.
27062 Use char because int might match the return type of a GCC
27063 builtin and then its argument prototype would still apply. */
27064 #ifdef __cplusplus
27065 extern "C"
27066 #endif
27067 char $ac_func ();
27068 /* The GNU C library defines this for functions which it implements
27069 to always fail with ENOSYS. Some functions are actually named
27070 something starting with __ and the normal name is an alias. */
27071 #if defined __stub_$ac_func || defined __stub___$ac_func
27072 choke me
27073 #endif
27074
27075 int
27076 main ()
27077 {
27078 return $ac_func ();
27079 ;
27080 return 0;
27081 }
27082 _ACEOF
27083 rm -f conftest.$ac_objext conftest$ac_exeext
27084 if { (ac_try="$ac_link"
27085 case "(($ac_try" in
27086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27087 *) ac_try_echo=$ac_try;;
27088 esac
27089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27090 (eval "$ac_link") 2>conftest.er1
27091 ac_status=$?
27092 grep -v '^ *+' conftest.er1 >conftest.err
27093 rm -f conftest.er1
27094 cat conftest.err >&5
27095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27096 (exit $ac_status); } && {
27097 test -z "$ac_c_werror_flag" ||
27098 test ! -s conftest.err
27099 } && test -s conftest$ac_exeext &&
27100 $as_test_x conftest$ac_exeext; then
27101 eval "$as_ac_var=yes"
27102 else
27103 echo "$as_me: failed program was:" >&5
27104 sed 's/^/| /' conftest.$ac_ext >&5
27105
27106 eval "$as_ac_var=no"
27107 fi
27108
27109 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27110 conftest$ac_exeext conftest.$ac_ext
27111 fi
27112 ac_res=`eval echo '${'$as_ac_var'}'`
27113 { echo "$as_me:$LINENO: result: $ac_res" >&5
27114 echo "${ECHO_T}$ac_res" >&6; }
27115 if test `eval echo '${'$as_ac_var'}'` = yes; then
27116 cat >>confdefs.h <<_ACEOF
27117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27118 _ACEOF
27119 have_ceil=1
27120 fi
27121 done
27122
27123 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27124 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27125 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27126 { echo "$as_me:$LINENO: result: yes" >&5
27127 echo "${ECHO_T}yes" >&6; }
27128 else
27129 { echo "$as_me:$LINENO: result: no" >&5
27130 echo "${ECHO_T}no" >&6; }
27131 # not sure we should warn the user, crash, etc.
27132 fi
27133 fi
27134
27135 ac_ext=cpp
27136 ac_cpp='$CXXCPP $CPPFLAGS'
27137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27140
27141 if test "wxUSE_UNICODE" = "yes"; then
27142
27143 for wx_func in wcstoull
27144 do
27145 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27146 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27147 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27148 echo $ECHO_N "(cached) $ECHO_C" >&6
27149 else
27150
27151 cat >conftest.$ac_ext <<_ACEOF
27152
27153 /* confdefs.h. */
27154 _ACEOF
27155 cat confdefs.h >>conftest.$ac_ext
27156 cat >>conftest.$ac_ext <<_ACEOF
27157 /* end confdefs.h. */
27158
27159
27160 $ac_includes_default
27161
27162 int
27163 main ()
27164 {
27165
27166 #ifndef $wx_func
27167 &$wx_func;
27168 #endif
27169
27170
27171 ;
27172 return 0;
27173 }
27174
27175 _ACEOF
27176 rm -f conftest.$ac_objext conftest$ac_exeext
27177 if { (ac_try="$ac_link"
27178 case "(($ac_try" in
27179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27180 *) ac_try_echo=$ac_try;;
27181 esac
27182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27183 (eval "$ac_link") 2>conftest.er1
27184 ac_status=$?
27185 grep -v '^ *+' conftest.er1 >conftest.err
27186 rm -f conftest.er1
27187 cat conftest.err >&5
27188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27189 (exit $ac_status); } && {
27190 test -z "$ac_cxx_werror_flag" ||
27191 test ! -s conftest.err
27192 } && test -s conftest$ac_exeext &&
27193 $as_test_x conftest$ac_exeext; then
27194 eval wx_cv_func_$wx_func=yes
27195 else
27196 echo "$as_me: failed program was:" >&5
27197 sed 's/^/| /' conftest.$ac_ext >&5
27198
27199 eval wx_cv_func_$wx_func=no
27200 fi
27201
27202 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27203 conftest$ac_exeext conftest.$ac_ext
27204
27205 fi
27206 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27207 { echo "$as_me:$LINENO: result: $ac_res" >&5
27208 echo "${ECHO_T}$ac_res" >&6; }
27209
27210 if eval test \$wx_cv_func_$wx_func = yes
27211 then
27212 cat >>confdefs.h <<_ACEOF
27213 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27214 _ACEOF
27215
27216
27217 else
27218 :
27219
27220 fi
27221 done
27222
27223 else
27224
27225 for wx_func in strtoull
27226 do
27227 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27228 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27229 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27230 echo $ECHO_N "(cached) $ECHO_C" >&6
27231 else
27232
27233 cat >conftest.$ac_ext <<_ACEOF
27234
27235 /* confdefs.h. */
27236 _ACEOF
27237 cat confdefs.h >>conftest.$ac_ext
27238 cat >>conftest.$ac_ext <<_ACEOF
27239 /* end confdefs.h. */
27240
27241
27242 $ac_includes_default
27243
27244 int
27245 main ()
27246 {
27247
27248 #ifndef $wx_func
27249 &$wx_func;
27250 #endif
27251
27252
27253 ;
27254 return 0;
27255 }
27256
27257 _ACEOF
27258 rm -f conftest.$ac_objext conftest$ac_exeext
27259 if { (ac_try="$ac_link"
27260 case "(($ac_try" in
27261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27262 *) ac_try_echo=$ac_try;;
27263 esac
27264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27265 (eval "$ac_link") 2>conftest.er1
27266 ac_status=$?
27267 grep -v '^ *+' conftest.er1 >conftest.err
27268 rm -f conftest.er1
27269 cat conftest.err >&5
27270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27271 (exit $ac_status); } && {
27272 test -z "$ac_cxx_werror_flag" ||
27273 test ! -s conftest.err
27274 } && test -s conftest$ac_exeext &&
27275 $as_test_x conftest$ac_exeext; then
27276 eval wx_cv_func_$wx_func=yes
27277 else
27278 echo "$as_me: failed program was:" >&5
27279 sed 's/^/| /' conftest.$ac_ext >&5
27280
27281 eval wx_cv_func_$wx_func=no
27282 fi
27283
27284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27285 conftest$ac_exeext conftest.$ac_ext
27286
27287 fi
27288 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27289 { echo "$as_me:$LINENO: result: $ac_res" >&5
27290 echo "${ECHO_T}$ac_res" >&6; }
27291
27292 if eval test \$wx_cv_func_$wx_func = yes
27293 then
27294 cat >>confdefs.h <<_ACEOF
27295 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27296 _ACEOF
27297
27298
27299 else
27300 :
27301
27302 fi
27303 done
27304
27305 fi
27306 ac_ext=c
27307 ac_cpp='$CPP $CPPFLAGS'
27308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27311
27312
27313
27314
27315 if test "$wxUSE_REGEX" != "no"; then
27316 cat >>confdefs.h <<\_ACEOF
27317 #define wxUSE_REGEX 1
27318 _ACEOF
27319
27320
27321 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27322 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27323 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27324 wxUSE_REGEX=builtin
27325 fi
27326
27327 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27328 { echo "$as_me:$LINENO: checking for regex.h" >&5
27329 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27330 if test "${ac_cv_header_regex_h+set}" = set; then
27331 echo $ECHO_N "(cached) $ECHO_C" >&6
27332 else
27333 cat >conftest.$ac_ext <<_ACEOF
27334 /* confdefs.h. */
27335 _ACEOF
27336 cat confdefs.h >>conftest.$ac_ext
27337 cat >>conftest.$ac_ext <<_ACEOF
27338 /* end confdefs.h. */
27339
27340
27341 #include <regex.h>
27342 _ACEOF
27343 rm -f conftest.$ac_objext
27344 if { (ac_try="$ac_compile"
27345 case "(($ac_try" in
27346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27347 *) ac_try_echo=$ac_try;;
27348 esac
27349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27350 (eval "$ac_compile") 2>conftest.er1
27351 ac_status=$?
27352 grep -v '^ *+' conftest.er1 >conftest.err
27353 rm -f conftest.er1
27354 cat conftest.err >&5
27355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27356 (exit $ac_status); } && {
27357 test -z "$ac_c_werror_flag" ||
27358 test ! -s conftest.err
27359 } && test -s conftest.$ac_objext; then
27360 ac_cv_header_regex_h=yes
27361 else
27362 echo "$as_me: failed program was:" >&5
27363 sed 's/^/| /' conftest.$ac_ext >&5
27364
27365 ac_cv_header_regex_h=no
27366 fi
27367
27368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27369 fi
27370 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27371 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
27372 if test $ac_cv_header_regex_h = yes; then
27373
27374
27375 for ac_func in regcomp re_search
27376 do
27377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27378 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27380 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27381 echo $ECHO_N "(cached) $ECHO_C" >&6
27382 else
27383 cat >conftest.$ac_ext <<_ACEOF
27384 /* confdefs.h. */
27385 _ACEOF
27386 cat confdefs.h >>conftest.$ac_ext
27387 cat >>conftest.$ac_ext <<_ACEOF
27388 /* end confdefs.h. */
27389 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27390 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27391 #define $ac_func innocuous_$ac_func
27392
27393 /* System header to define __stub macros and hopefully few prototypes,
27394 which can conflict with char $ac_func (); below.
27395 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27396 <limits.h> exists even on freestanding compilers. */
27397
27398 #ifdef __STDC__
27399 # include <limits.h>
27400 #else
27401 # include <assert.h>
27402 #endif
27403
27404 #undef $ac_func
27405
27406 /* Override any GCC internal prototype to avoid an error.
27407 Use char because int might match the return type of a GCC
27408 builtin and then its argument prototype would still apply. */
27409 #ifdef __cplusplus
27410 extern "C"
27411 #endif
27412 char $ac_func ();
27413 /* The GNU C library defines this for functions which it implements
27414 to always fail with ENOSYS. Some functions are actually named
27415 something starting with __ and the normal name is an alias. */
27416 #if defined __stub_$ac_func || defined __stub___$ac_func
27417 choke me
27418 #endif
27419
27420 int
27421 main ()
27422 {
27423 return $ac_func ();
27424 ;
27425 return 0;
27426 }
27427 _ACEOF
27428 rm -f conftest.$ac_objext conftest$ac_exeext
27429 if { (ac_try="$ac_link"
27430 case "(($ac_try" in
27431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27432 *) ac_try_echo=$ac_try;;
27433 esac
27434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27435 (eval "$ac_link") 2>conftest.er1
27436 ac_status=$?
27437 grep -v '^ *+' conftest.er1 >conftest.err
27438 rm -f conftest.er1
27439 cat conftest.err >&5
27440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27441 (exit $ac_status); } && {
27442 test -z "$ac_c_werror_flag" ||
27443 test ! -s conftest.err
27444 } && test -s conftest$ac_exeext &&
27445 $as_test_x conftest$ac_exeext; then
27446 eval "$as_ac_var=yes"
27447 else
27448 echo "$as_me: failed program was:" >&5
27449 sed 's/^/| /' conftest.$ac_ext >&5
27450
27451 eval "$as_ac_var=no"
27452 fi
27453
27454 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27455 conftest$ac_exeext conftest.$ac_ext
27456 fi
27457 ac_res=`eval echo '${'$as_ac_var'}'`
27458 { echo "$as_me:$LINENO: result: $ac_res" >&5
27459 echo "${ECHO_T}$ac_res" >&6; }
27460 if test `eval echo '${'$as_ac_var'}'` = yes; then
27461 cat >>confdefs.h <<_ACEOF
27462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27463 _ACEOF
27464
27465 fi
27466 done
27467
27468 fi
27469
27470
27471
27472 if test "x$ac_cv_func_regcomp" != "xyes"; then
27473 if test "$wxUSE_REGEX" = "sys" ; then
27474 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27475 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27476 { (exit 1); exit 1; }; }
27477 else
27478 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27479 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27480 wxUSE_REGEX=builtin
27481 fi
27482 else
27483 wxUSE_REGEX=sys
27484 cat >>confdefs.h <<\_ACEOF
27485 #define WX_NO_REGEX_ADVANCED 1
27486 _ACEOF
27487
27488 fi
27489 fi
27490 fi
27491
27492
27493 ZLIB_LINK=
27494 if test "$wxUSE_ZLIB" != "no" ; then
27495 cat >>confdefs.h <<\_ACEOF
27496 #define wxUSE_ZLIB 1
27497 _ACEOF
27498
27499
27500 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27501 if test "$USE_DARWIN" = 1; then
27502 system_zlib_h_ok="yes"
27503 else
27504 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27505 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27506 if test "${ac_cv_header_zlib_h+set}" = set; then
27507 echo $ECHO_N "(cached) $ECHO_C" >&6
27508 else
27509 if test "$cross_compiling" = yes; then
27510 unset ac_cv_header_zlib_h
27511
27512 else
27513 cat >conftest.$ac_ext <<_ACEOF
27514 /* confdefs.h. */
27515 _ACEOF
27516 cat confdefs.h >>conftest.$ac_ext
27517 cat >>conftest.$ac_ext <<_ACEOF
27518 /* end confdefs.h. */
27519
27520 #include <zlib.h>
27521 #include <stdio.h>
27522
27523 int main()
27524 {
27525 FILE *f=fopen("conftestval", "w");
27526 if (!f) exit(1);
27527 fprintf(f, "%s",
27528 ZLIB_VERSION[0] == '1' &&
27529 (ZLIB_VERSION[2] > '1' ||
27530 (ZLIB_VERSION[2] == '1' &&
27531 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27532 exit(0);
27533 }
27534
27535 _ACEOF
27536 rm -f conftest$ac_exeext
27537 if { (ac_try="$ac_link"
27538 case "(($ac_try" in
27539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27540 *) ac_try_echo=$ac_try;;
27541 esac
27542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27543 (eval "$ac_link") 2>&5
27544 ac_status=$?
27545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27546 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27547 { (case "(($ac_try" in
27548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27549 *) ac_try_echo=$ac_try;;
27550 esac
27551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27552 (eval "$ac_try") 2>&5
27553 ac_status=$?
27554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27555 (exit $ac_status); }; }; then
27556 ac_cv_header_zlib_h=`cat conftestval`
27557 else
27558 echo "$as_me: program exited with status $ac_status" >&5
27559 echo "$as_me: failed program was:" >&5
27560 sed 's/^/| /' conftest.$ac_ext >&5
27561
27562 ( exit $ac_status )
27563 ac_cv_header_zlib_h=no
27564 fi
27565 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27566 fi
27567
27568
27569
27570 fi
27571 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27572 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27573 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27574 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27575 if test "${ac_cv_header_zlib_h+set}" = set; then
27576 echo $ECHO_N "(cached) $ECHO_C" >&6
27577 else
27578 cat >conftest.$ac_ext <<_ACEOF
27579 /* confdefs.h. */
27580 _ACEOF
27581 cat confdefs.h >>conftest.$ac_ext
27582 cat >>conftest.$ac_ext <<_ACEOF
27583 /* end confdefs.h. */
27584
27585
27586 #include <zlib.h>
27587 _ACEOF
27588 rm -f conftest.$ac_objext
27589 if { (ac_try="$ac_compile"
27590 case "(($ac_try" in
27591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27592 *) ac_try_echo=$ac_try;;
27593 esac
27594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27595 (eval "$ac_compile") 2>conftest.er1
27596 ac_status=$?
27597 grep -v '^ *+' conftest.er1 >conftest.err
27598 rm -f conftest.er1
27599 cat conftest.err >&5
27600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27601 (exit $ac_status); } && {
27602 test -z "$ac_c_werror_flag" ||
27603 test ! -s conftest.err
27604 } && test -s conftest.$ac_objext; then
27605 ac_cv_header_zlib_h=yes
27606 else
27607 echo "$as_me: failed program was:" >&5
27608 sed 's/^/| /' conftest.$ac_ext >&5
27609
27610 ac_cv_header_zlib_h=no
27611 fi
27612
27613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27614 fi
27615 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27616 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27617
27618
27619
27620 system_zlib_h_ok=$ac_cv_header_zlib_h
27621 fi
27622
27623 if test "$system_zlib_h_ok" = "yes"; then
27624 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27625 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
27626 if test "${ac_cv_lib_z_deflate+set}" = set; then
27627 echo $ECHO_N "(cached) $ECHO_C" >&6
27628 else
27629 ac_check_lib_save_LIBS=$LIBS
27630 LIBS="-lz $LIBS"
27631 cat >conftest.$ac_ext <<_ACEOF
27632 /* confdefs.h. */
27633 _ACEOF
27634 cat confdefs.h >>conftest.$ac_ext
27635 cat >>conftest.$ac_ext <<_ACEOF
27636 /* end confdefs.h. */
27637
27638 /* Override any GCC internal prototype to avoid an error.
27639 Use char because int might match the return type of a GCC
27640 builtin and then its argument prototype would still apply. */
27641 #ifdef __cplusplus
27642 extern "C"
27643 #endif
27644 char deflate ();
27645 int
27646 main ()
27647 {
27648 return deflate ();
27649 ;
27650 return 0;
27651 }
27652 _ACEOF
27653 rm -f conftest.$ac_objext conftest$ac_exeext
27654 if { (ac_try="$ac_link"
27655 case "(($ac_try" in
27656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27657 *) ac_try_echo=$ac_try;;
27658 esac
27659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27660 (eval "$ac_link") 2>conftest.er1
27661 ac_status=$?
27662 grep -v '^ *+' conftest.er1 >conftest.err
27663 rm -f conftest.er1
27664 cat conftest.err >&5
27665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27666 (exit $ac_status); } && {
27667 test -z "$ac_c_werror_flag" ||
27668 test ! -s conftest.err
27669 } && test -s conftest$ac_exeext &&
27670 $as_test_x conftest$ac_exeext; then
27671 ac_cv_lib_z_deflate=yes
27672 else
27673 echo "$as_me: failed program was:" >&5
27674 sed 's/^/| /' conftest.$ac_ext >&5
27675
27676 ac_cv_lib_z_deflate=no
27677 fi
27678
27679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27680 conftest$ac_exeext conftest.$ac_ext
27681 LIBS=$ac_check_lib_save_LIBS
27682 fi
27683 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
27684 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
27685 if test $ac_cv_lib_z_deflate = yes; then
27686 ZLIB_LINK=" -lz"
27687 fi
27688
27689 fi
27690
27691 if test "x$ZLIB_LINK" = "x" ; then
27692 if test "$wxUSE_ZLIB" = "sys" ; then
27693 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
27694 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
27695 { (exit 1); exit 1; }; }
27696 else
27697 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
27698 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
27699 wxUSE_ZLIB=builtin
27700 fi
27701 else
27702 wxUSE_ZLIB=sys
27703 fi
27704 fi
27705 fi
27706
27707
27708 PNG_LINK=
27709 if test "$wxUSE_LIBPNG" != "no" ; then
27710 cat >>confdefs.h <<\_ACEOF
27711 #define wxUSE_LIBPNG 1
27712 _ACEOF
27713
27714
27715 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
27716 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
27717 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
27718 wxUSE_LIBPNG=sys
27719 fi
27720
27721 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
27722 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
27723 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
27724 wxUSE_LIBPNG=builtin
27725 fi
27726
27727 if test "$wxUSE_MGL" != 1 ; then
27728 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
27729 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
27730 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
27731 if test "${ac_cv_header_png_h+set}" = set; then
27732 echo $ECHO_N "(cached) $ECHO_C" >&6
27733 else
27734 if test "$cross_compiling" = yes; then
27735 unset ac_cv_header_png_h
27736
27737 else
27738 cat >conftest.$ac_ext <<_ACEOF
27739 /* confdefs.h. */
27740 _ACEOF
27741 cat confdefs.h >>conftest.$ac_ext
27742 cat >>conftest.$ac_ext <<_ACEOF
27743 /* end confdefs.h. */
27744
27745 #include <png.h>
27746 #include <stdio.h>
27747
27748 int main()
27749 {
27750 FILE *f=fopen("conftestval", "w");
27751 if (!f) exit(1);
27752 fprintf(f, "%s",
27753 PNG_LIBPNG_VER > 90 ? "yes" : "no");
27754 exit(0);
27755 }
27756
27757 _ACEOF
27758 rm -f conftest$ac_exeext
27759 if { (ac_try="$ac_link"
27760 case "(($ac_try" in
27761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27762 *) ac_try_echo=$ac_try;;
27763 esac
27764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27765 (eval "$ac_link") 2>&5
27766 ac_status=$?
27767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27768 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27769 { (case "(($ac_try" in
27770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27771 *) ac_try_echo=$ac_try;;
27772 esac
27773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27774 (eval "$ac_try") 2>&5
27775 ac_status=$?
27776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27777 (exit $ac_status); }; }; then
27778 ac_cv_header_png_h=`cat conftestval`
27779 else
27780 echo "$as_me: program exited with status $ac_status" >&5
27781 echo "$as_me: failed program was:" >&5
27782 sed 's/^/| /' conftest.$ac_ext >&5
27783
27784 ( exit $ac_status )
27785 ac_cv_header_png_h=no
27786 fi
27787 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27788 fi
27789
27790
27791
27792 fi
27793 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27794 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27795 { echo "$as_me:$LINENO: checking for png.h" >&5
27796 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
27797 if test "${ac_cv_header_png_h+set}" = set; then
27798 echo $ECHO_N "(cached) $ECHO_C" >&6
27799 else
27800 cat >conftest.$ac_ext <<_ACEOF
27801 /* confdefs.h. */
27802 _ACEOF
27803 cat confdefs.h >>conftest.$ac_ext
27804 cat >>conftest.$ac_ext <<_ACEOF
27805 /* end confdefs.h. */
27806
27807
27808 #include <png.h>
27809 _ACEOF
27810 rm -f conftest.$ac_objext
27811 if { (ac_try="$ac_compile"
27812 case "(($ac_try" in
27813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27814 *) ac_try_echo=$ac_try;;
27815 esac
27816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27817 (eval "$ac_compile") 2>conftest.er1
27818 ac_status=$?
27819 grep -v '^ *+' conftest.er1 >conftest.err
27820 rm -f conftest.er1
27821 cat conftest.err >&5
27822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27823 (exit $ac_status); } && {
27824 test -z "$ac_c_werror_flag" ||
27825 test ! -s conftest.err
27826 } && test -s conftest.$ac_objext; then
27827 ac_cv_header_png_h=yes
27828 else
27829 echo "$as_me: failed program was:" >&5
27830 sed 's/^/| /' conftest.$ac_ext >&5
27831
27832 ac_cv_header_png_h=no
27833 fi
27834
27835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27836 fi
27837 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27838 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27839
27840
27841
27842 if test "$ac_cv_header_png_h" = "yes"; then
27843 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
27844 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
27845 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
27846 echo $ECHO_N "(cached) $ECHO_C" >&6
27847 else
27848 ac_check_lib_save_LIBS=$LIBS
27849 LIBS="-lpng -lz -lm $LIBS"
27850 cat >conftest.$ac_ext <<_ACEOF
27851 /* confdefs.h. */
27852 _ACEOF
27853 cat confdefs.h >>conftest.$ac_ext
27854 cat >>conftest.$ac_ext <<_ACEOF
27855 /* end confdefs.h. */
27856
27857 /* Override any GCC internal prototype to avoid an error.
27858 Use char because int might match the return type of a GCC
27859 builtin and then its argument prototype would still apply. */
27860 #ifdef __cplusplus
27861 extern "C"
27862 #endif
27863 char png_sig_cmp ();
27864 int
27865 main ()
27866 {
27867 return png_sig_cmp ();
27868 ;
27869 return 0;
27870 }
27871 _ACEOF
27872 rm -f conftest.$ac_objext conftest$ac_exeext
27873 if { (ac_try="$ac_link"
27874 case "(($ac_try" in
27875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27876 *) ac_try_echo=$ac_try;;
27877 esac
27878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27879 (eval "$ac_link") 2>conftest.er1
27880 ac_status=$?
27881 grep -v '^ *+' conftest.er1 >conftest.err
27882 rm -f conftest.er1
27883 cat conftest.err >&5
27884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27885 (exit $ac_status); } && {
27886 test -z "$ac_c_werror_flag" ||
27887 test ! -s conftest.err
27888 } && test -s conftest$ac_exeext &&
27889 $as_test_x conftest$ac_exeext; then
27890 ac_cv_lib_png_png_sig_cmp=yes
27891 else
27892 echo "$as_me: failed program was:" >&5
27893 sed 's/^/| /' conftest.$ac_ext >&5
27894
27895 ac_cv_lib_png_png_sig_cmp=no
27896 fi
27897
27898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27899 conftest$ac_exeext conftest.$ac_ext
27900 LIBS=$ac_check_lib_save_LIBS
27901 fi
27902 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
27903 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
27904 if test $ac_cv_lib_png_png_sig_cmp = yes; then
27905 PNG_LINK=" -lpng -lz"
27906 fi
27907
27908 fi
27909
27910 if test "x$PNG_LINK" = "x" ; then
27911 if test "$wxUSE_LIBPNG" = "sys" ; then
27912 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27913 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27914 { (exit 1); exit 1; }; }
27915 else
27916 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27917 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27918 wxUSE_LIBPNG=builtin
27919 fi
27920 else
27921 wxUSE_LIBPNG=sys
27922 fi
27923 fi
27924 fi
27925 fi
27926
27927
27928 JPEG_LINK=
27929 if test "$wxUSE_LIBJPEG" != "no" ; then
27930 cat >>confdefs.h <<\_ACEOF
27931 #define wxUSE_LIBJPEG 1
27932 _ACEOF
27933
27934
27935 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27936 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27937 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27938 wxUSE_LIBJPEG=sys
27939 fi
27940
27941 if test "$wxUSE_MGL" != 1 ; then
27942 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27943 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27944 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
27945 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27946 echo $ECHO_N "(cached) $ECHO_C" >&6
27947 else
27948 cat >conftest.$ac_ext <<_ACEOF
27949 /* confdefs.h. */
27950 _ACEOF
27951 cat confdefs.h >>conftest.$ac_ext
27952 cat >>conftest.$ac_ext <<_ACEOF
27953 /* end confdefs.h. */
27954
27955 #undef HAVE_STDLIB_H
27956 #include <stdio.h>
27957 #include <jpeglib.h>
27958
27959 int
27960 main ()
27961 {
27962
27963
27964 ;
27965 return 0;
27966 }
27967 _ACEOF
27968 rm -f conftest.$ac_objext
27969 if { (ac_try="$ac_compile"
27970 case "(($ac_try" in
27971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27972 *) ac_try_echo=$ac_try;;
27973 esac
27974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27975 (eval "$ac_compile") 2>conftest.er1
27976 ac_status=$?
27977 grep -v '^ *+' conftest.er1 >conftest.err
27978 rm -f conftest.er1
27979 cat conftest.err >&5
27980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27981 (exit $ac_status); } && {
27982 test -z "$ac_c_werror_flag" ||
27983 test ! -s conftest.err
27984 } && test -s conftest.$ac_objext; then
27985 ac_cv_header_jpeglib_h=yes
27986 else
27987 echo "$as_me: failed program was:" >&5
27988 sed 's/^/| /' conftest.$ac_ext >&5
27989
27990 ac_cv_header_jpeglib_h=no
27991
27992 fi
27993
27994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27995
27996 fi
27997
27998 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27999 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28000
28001 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28002 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28003 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28004 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28005 echo $ECHO_N "(cached) $ECHO_C" >&6
28006 else
28007 ac_check_lib_save_LIBS=$LIBS
28008 LIBS="-ljpeg $LIBS"
28009 cat >conftest.$ac_ext <<_ACEOF
28010 /* confdefs.h. */
28011 _ACEOF
28012 cat confdefs.h >>conftest.$ac_ext
28013 cat >>conftest.$ac_ext <<_ACEOF
28014 /* end confdefs.h. */
28015
28016 /* Override any GCC internal prototype to avoid an error.
28017 Use char because int might match the return type of a GCC
28018 builtin and then its argument prototype would still apply. */
28019 #ifdef __cplusplus
28020 extern "C"
28021 #endif
28022 char jpeg_read_header ();
28023 int
28024 main ()
28025 {
28026 return jpeg_read_header ();
28027 ;
28028 return 0;
28029 }
28030 _ACEOF
28031 rm -f conftest.$ac_objext conftest$ac_exeext
28032 if { (ac_try="$ac_link"
28033 case "(($ac_try" in
28034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28035 *) ac_try_echo=$ac_try;;
28036 esac
28037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28038 (eval "$ac_link") 2>conftest.er1
28039 ac_status=$?
28040 grep -v '^ *+' conftest.er1 >conftest.err
28041 rm -f conftest.er1
28042 cat conftest.err >&5
28043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28044 (exit $ac_status); } && {
28045 test -z "$ac_c_werror_flag" ||
28046 test ! -s conftest.err
28047 } && test -s conftest$ac_exeext &&
28048 $as_test_x conftest$ac_exeext; then
28049 ac_cv_lib_jpeg_jpeg_read_header=yes
28050 else
28051 echo "$as_me: failed program was:" >&5
28052 sed 's/^/| /' conftest.$ac_ext >&5
28053
28054 ac_cv_lib_jpeg_jpeg_read_header=no
28055 fi
28056
28057 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28058 conftest$ac_exeext conftest.$ac_ext
28059 LIBS=$ac_check_lib_save_LIBS
28060 fi
28061 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28062 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28063 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28064 JPEG_LINK=" -ljpeg"
28065 fi
28066
28067 fi
28068
28069 if test "x$JPEG_LINK" = "x" ; then
28070 if test "$wxUSE_LIBJPEG" = "sys" ; then
28071 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28072 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28073 { (exit 1); exit 1; }; }
28074 else
28075 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28076 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28077 wxUSE_LIBJPEG=builtin
28078 fi
28079 else
28080 wxUSE_LIBJPEG=sys
28081
28082 if test "$wxUSE_MSW" = 1; then
28083 { echo "$as_me:$LINENO: checking for boolean" >&5
28084 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28085 if test "${ac_cv_type_boolean+set}" = set; then
28086 echo $ECHO_N "(cached) $ECHO_C" >&6
28087 else
28088 cat >conftest.$ac_ext <<_ACEOF
28089 /* confdefs.h. */
28090 _ACEOF
28091 cat confdefs.h >>conftest.$ac_ext
28092 cat >>conftest.$ac_ext <<_ACEOF
28093 /* end confdefs.h. */
28094 #include <windows.h>
28095
28096 typedef boolean ac__type_new_;
28097 int
28098 main ()
28099 {
28100 if ((ac__type_new_ *) 0)
28101 return 0;
28102 if (sizeof (ac__type_new_))
28103 return 0;
28104 ;
28105 return 0;
28106 }
28107 _ACEOF
28108 rm -f conftest.$ac_objext
28109 if { (ac_try="$ac_compile"
28110 case "(($ac_try" in
28111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28112 *) ac_try_echo=$ac_try;;
28113 esac
28114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28115 (eval "$ac_compile") 2>conftest.er1
28116 ac_status=$?
28117 grep -v '^ *+' conftest.er1 >conftest.err
28118 rm -f conftest.er1
28119 cat conftest.err >&5
28120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28121 (exit $ac_status); } && {
28122 test -z "$ac_c_werror_flag" ||
28123 test ! -s conftest.err
28124 } && test -s conftest.$ac_objext; then
28125 ac_cv_type_boolean=yes
28126 else
28127 echo "$as_me: failed program was:" >&5
28128 sed 's/^/| /' conftest.$ac_ext >&5
28129
28130 ac_cv_type_boolean=no
28131 fi
28132
28133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28134 fi
28135 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28136 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28137 if test $ac_cv_type_boolean = yes; then
28138
28139 cat >>confdefs.h <<_ACEOF
28140 #define HAVE_BOOLEAN 1
28141 _ACEOF
28142
28143
28144 { echo "$as_me:$LINENO: checking for boolean" >&5
28145 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28146 if test "${ac_cv_type_boolean+set}" = set; then
28147 echo $ECHO_N "(cached) $ECHO_C" >&6
28148 else
28149 cat >conftest.$ac_ext <<_ACEOF
28150 /* confdefs.h. */
28151 _ACEOF
28152 cat confdefs.h >>conftest.$ac_ext
28153 cat >>conftest.$ac_ext <<_ACEOF
28154 /* end confdefs.h. */
28155
28156 #undef HAVE_BOOLEAN
28157 #include <stdio.h>
28158 #include <jpeglib.h>
28159
28160
28161 typedef boolean ac__type_new_;
28162 int
28163 main ()
28164 {
28165 if ((ac__type_new_ *) 0)
28166 return 0;
28167 if (sizeof (ac__type_new_))
28168 return 0;
28169 ;
28170 return 0;
28171 }
28172 _ACEOF
28173 rm -f conftest.$ac_objext
28174 if { (ac_try="$ac_compile"
28175 case "(($ac_try" in
28176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28177 *) ac_try_echo=$ac_try;;
28178 esac
28179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28180 (eval "$ac_compile") 2>conftest.er1
28181 ac_status=$?
28182 grep -v '^ *+' conftest.er1 >conftest.err
28183 rm -f conftest.er1
28184 cat conftest.err >&5
28185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28186 (exit $ac_status); } && {
28187 test -z "$ac_c_werror_flag" ||
28188 test ! -s conftest.err
28189 } && test -s conftest.$ac_objext; then
28190 ac_cv_type_boolean=yes
28191 else
28192 echo "$as_me: failed program was:" >&5
28193 sed 's/^/| /' conftest.$ac_ext >&5
28194
28195 ac_cv_type_boolean=no
28196 fi
28197
28198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28199 fi
28200 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28201 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28202
28203 # The cast to long int works around a bug in the HP C Compiler
28204 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28205 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28206 # This bug is HP SR number 8606223364.
28207 { echo "$as_me:$LINENO: checking size of boolean" >&5
28208 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28209 if test "${ac_cv_sizeof_boolean+set}" = set; then
28210 echo $ECHO_N "(cached) $ECHO_C" >&6
28211 else
28212 if test "$cross_compiling" = yes; then
28213 # Depending upon the size, compute the lo and hi bounds.
28214 cat >conftest.$ac_ext <<_ACEOF
28215 /* confdefs.h. */
28216 _ACEOF
28217 cat confdefs.h >>conftest.$ac_ext
28218 cat >>conftest.$ac_ext <<_ACEOF
28219 /* end confdefs.h. */
28220
28221 #undef HAVE_BOOLEAN
28222 #include <stdio.h>
28223 #include <jpeglib.h>
28224
28225
28226 typedef boolean ac__type_sizeof_;
28227 int
28228 main ()
28229 {
28230 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28231 test_array [0] = 0
28232
28233 ;
28234 return 0;
28235 }
28236 _ACEOF
28237 rm -f conftest.$ac_objext
28238 if { (ac_try="$ac_compile"
28239 case "(($ac_try" in
28240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28241 *) ac_try_echo=$ac_try;;
28242 esac
28243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28244 (eval "$ac_compile") 2>conftest.er1
28245 ac_status=$?
28246 grep -v '^ *+' conftest.er1 >conftest.err
28247 rm -f conftest.er1
28248 cat conftest.err >&5
28249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28250 (exit $ac_status); } && {
28251 test -z "$ac_c_werror_flag" ||
28252 test ! -s conftest.err
28253 } && test -s conftest.$ac_objext; then
28254 ac_lo=0 ac_mid=0
28255 while :; do
28256 cat >conftest.$ac_ext <<_ACEOF
28257 /* confdefs.h. */
28258 _ACEOF
28259 cat confdefs.h >>conftest.$ac_ext
28260 cat >>conftest.$ac_ext <<_ACEOF
28261 /* end confdefs.h. */
28262
28263 #undef HAVE_BOOLEAN
28264 #include <stdio.h>
28265 #include <jpeglib.h>
28266
28267
28268 typedef boolean ac__type_sizeof_;
28269 int
28270 main ()
28271 {
28272 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28273 test_array [0] = 0
28274
28275 ;
28276 return 0;
28277 }
28278 _ACEOF
28279 rm -f conftest.$ac_objext
28280 if { (ac_try="$ac_compile"
28281 case "(($ac_try" in
28282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28283 *) ac_try_echo=$ac_try;;
28284 esac
28285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28286 (eval "$ac_compile") 2>conftest.er1
28287 ac_status=$?
28288 grep -v '^ *+' conftest.er1 >conftest.err
28289 rm -f conftest.er1
28290 cat conftest.err >&5
28291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28292 (exit $ac_status); } && {
28293 test -z "$ac_c_werror_flag" ||
28294 test ! -s conftest.err
28295 } && test -s conftest.$ac_objext; then
28296 ac_hi=$ac_mid; break
28297 else
28298 echo "$as_me: failed program was:" >&5
28299 sed 's/^/| /' conftest.$ac_ext >&5
28300
28301 ac_lo=`expr $ac_mid + 1`
28302 if test $ac_lo -le $ac_mid; then
28303 ac_lo= ac_hi=
28304 break
28305 fi
28306 ac_mid=`expr 2 '*' $ac_mid + 1`
28307 fi
28308
28309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28310 done
28311 else
28312 echo "$as_me: failed program was:" >&5
28313 sed 's/^/| /' conftest.$ac_ext >&5
28314
28315 cat >conftest.$ac_ext <<_ACEOF
28316 /* confdefs.h. */
28317 _ACEOF
28318 cat confdefs.h >>conftest.$ac_ext
28319 cat >>conftest.$ac_ext <<_ACEOF
28320 /* end confdefs.h. */
28321
28322 #undef HAVE_BOOLEAN
28323 #include <stdio.h>
28324 #include <jpeglib.h>
28325
28326
28327 typedef boolean ac__type_sizeof_;
28328 int
28329 main ()
28330 {
28331 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28332 test_array [0] = 0
28333
28334 ;
28335 return 0;
28336 }
28337 _ACEOF
28338 rm -f conftest.$ac_objext
28339 if { (ac_try="$ac_compile"
28340 case "(($ac_try" in
28341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28342 *) ac_try_echo=$ac_try;;
28343 esac
28344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28345 (eval "$ac_compile") 2>conftest.er1
28346 ac_status=$?
28347 grep -v '^ *+' conftest.er1 >conftest.err
28348 rm -f conftest.er1
28349 cat conftest.err >&5
28350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28351 (exit $ac_status); } && {
28352 test -z "$ac_c_werror_flag" ||
28353 test ! -s conftest.err
28354 } && test -s conftest.$ac_objext; then
28355 ac_hi=-1 ac_mid=-1
28356 while :; do
28357 cat >conftest.$ac_ext <<_ACEOF
28358 /* confdefs.h. */
28359 _ACEOF
28360 cat confdefs.h >>conftest.$ac_ext
28361 cat >>conftest.$ac_ext <<_ACEOF
28362 /* end confdefs.h. */
28363
28364 #undef HAVE_BOOLEAN
28365 #include <stdio.h>
28366 #include <jpeglib.h>
28367
28368
28369 typedef boolean ac__type_sizeof_;
28370 int
28371 main ()
28372 {
28373 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28374 test_array [0] = 0
28375
28376 ;
28377 return 0;
28378 }
28379 _ACEOF
28380 rm -f conftest.$ac_objext
28381 if { (ac_try="$ac_compile"
28382 case "(($ac_try" in
28383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28384 *) ac_try_echo=$ac_try;;
28385 esac
28386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28387 (eval "$ac_compile") 2>conftest.er1
28388 ac_status=$?
28389 grep -v '^ *+' conftest.er1 >conftest.err
28390 rm -f conftest.er1
28391 cat conftest.err >&5
28392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28393 (exit $ac_status); } && {
28394 test -z "$ac_c_werror_flag" ||
28395 test ! -s conftest.err
28396 } && test -s conftest.$ac_objext; then
28397 ac_lo=$ac_mid; break
28398 else
28399 echo "$as_me: failed program was:" >&5
28400 sed 's/^/| /' conftest.$ac_ext >&5
28401
28402 ac_hi=`expr '(' $ac_mid ')' - 1`
28403 if test $ac_mid -le $ac_hi; then
28404 ac_lo= ac_hi=
28405 break
28406 fi
28407 ac_mid=`expr 2 '*' $ac_mid`
28408 fi
28409
28410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28411 done
28412 else
28413 echo "$as_me: failed program was:" >&5
28414 sed 's/^/| /' conftest.$ac_ext >&5
28415
28416 ac_lo= ac_hi=
28417 fi
28418
28419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28420 fi
28421
28422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28423 # Binary search between lo and hi bounds.
28424 while test "x$ac_lo" != "x$ac_hi"; do
28425 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28426 cat >conftest.$ac_ext <<_ACEOF
28427 /* confdefs.h. */
28428 _ACEOF
28429 cat confdefs.h >>conftest.$ac_ext
28430 cat >>conftest.$ac_ext <<_ACEOF
28431 /* end confdefs.h. */
28432
28433 #undef HAVE_BOOLEAN
28434 #include <stdio.h>
28435 #include <jpeglib.h>
28436
28437
28438 typedef boolean ac__type_sizeof_;
28439 int
28440 main ()
28441 {
28442 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28443 test_array [0] = 0
28444
28445 ;
28446 return 0;
28447 }
28448 _ACEOF
28449 rm -f conftest.$ac_objext
28450 if { (ac_try="$ac_compile"
28451 case "(($ac_try" in
28452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28453 *) ac_try_echo=$ac_try;;
28454 esac
28455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28456 (eval "$ac_compile") 2>conftest.er1
28457 ac_status=$?
28458 grep -v '^ *+' conftest.er1 >conftest.err
28459 rm -f conftest.er1
28460 cat conftest.err >&5
28461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28462 (exit $ac_status); } && {
28463 test -z "$ac_c_werror_flag" ||
28464 test ! -s conftest.err
28465 } && test -s conftest.$ac_objext; then
28466 ac_hi=$ac_mid
28467 else
28468 echo "$as_me: failed program was:" >&5
28469 sed 's/^/| /' conftest.$ac_ext >&5
28470
28471 ac_lo=`expr '(' $ac_mid ')' + 1`
28472 fi
28473
28474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28475 done
28476 case $ac_lo in
28477 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28478 '') if test "$ac_cv_type_boolean" = yes; then
28479 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28480 See \`config.log' for more details." >&5
28481 echo "$as_me: error: cannot compute sizeof (boolean)
28482 See \`config.log' for more details." >&2;}
28483 { (exit 77); exit 77; }; }
28484 else
28485 ac_cv_sizeof_boolean=0
28486 fi ;;
28487 esac
28488 else
28489 cat >conftest.$ac_ext <<_ACEOF
28490 /* confdefs.h. */
28491 _ACEOF
28492 cat confdefs.h >>conftest.$ac_ext
28493 cat >>conftest.$ac_ext <<_ACEOF
28494 /* end confdefs.h. */
28495
28496 #undef HAVE_BOOLEAN
28497 #include <stdio.h>
28498 #include <jpeglib.h>
28499
28500
28501 typedef boolean ac__type_sizeof_;
28502 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28503 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28504 #include <stdio.h>
28505 #include <stdlib.h>
28506 int
28507 main ()
28508 {
28509
28510 FILE *f = fopen ("conftest.val", "w");
28511 if (! f)
28512 return 1;
28513 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28514 {
28515 long int i = longval ();
28516 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28517 return 1;
28518 fprintf (f, "%ld\n", i);
28519 }
28520 else
28521 {
28522 unsigned long int i = ulongval ();
28523 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28524 return 1;
28525 fprintf (f, "%lu\n", i);
28526 }
28527 return ferror (f) || fclose (f) != 0;
28528
28529 ;
28530 return 0;
28531 }
28532 _ACEOF
28533 rm -f conftest$ac_exeext
28534 if { (ac_try="$ac_link"
28535 case "(($ac_try" in
28536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28537 *) ac_try_echo=$ac_try;;
28538 esac
28539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28540 (eval "$ac_link") 2>&5
28541 ac_status=$?
28542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28543 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28544 { (case "(($ac_try" in
28545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28546 *) ac_try_echo=$ac_try;;
28547 esac
28548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28549 (eval "$ac_try") 2>&5
28550 ac_status=$?
28551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28552 (exit $ac_status); }; }; then
28553 ac_cv_sizeof_boolean=`cat conftest.val`
28554 else
28555 echo "$as_me: program exited with status $ac_status" >&5
28556 echo "$as_me: failed program was:" >&5
28557 sed 's/^/| /' conftest.$ac_ext >&5
28558
28559 ( exit $ac_status )
28560 if test "$ac_cv_type_boolean" = yes; then
28561 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28562 See \`config.log' for more details." >&5
28563 echo "$as_me: error: cannot compute sizeof (boolean)
28564 See \`config.log' for more details." >&2;}
28565 { (exit 77); exit 77; }; }
28566 else
28567 ac_cv_sizeof_boolean=0
28568 fi
28569 fi
28570 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28571 fi
28572 rm -f conftest.val
28573 fi
28574 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
28575 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28576
28577
28578
28579 cat >>confdefs.h <<_ACEOF
28580 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28581 _ACEOF
28582
28583
28584 cat >>confdefs.h <<_ACEOF
28585 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28586 _ACEOF
28587
28588
28589 fi
28590
28591 fi
28592 fi
28593 fi
28594 fi
28595 fi
28596
28597
28598 TIFF_LINK=
28599 TIFF_PREREQ_LINKS=-lm
28600 if test "$wxUSE_LIBTIFF" != "no" ; then
28601 cat >>confdefs.h <<\_ACEOF
28602 #define wxUSE_LIBTIFF 1
28603 _ACEOF
28604
28605
28606 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
28607 if test "$wxUSE_LIBJPEG" = "sys"; then
28608 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28609 fi
28610 if test "$wxUSE_ZLIB" = "sys"; then
28611 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28612 fi
28613 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
28614 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
28615 if test "${ac_cv_header_tiffio_h+set}" = set; then
28616 echo $ECHO_N "(cached) $ECHO_C" >&6
28617 else
28618 cat >conftest.$ac_ext <<_ACEOF
28619 /* confdefs.h. */
28620 _ACEOF
28621 cat confdefs.h >>conftest.$ac_ext
28622 cat >>conftest.$ac_ext <<_ACEOF
28623 /* end confdefs.h. */
28624
28625
28626
28627 #include <tiffio.h>
28628 _ACEOF
28629 rm -f conftest.$ac_objext
28630 if { (ac_try="$ac_compile"
28631 case "(($ac_try" in
28632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28633 *) ac_try_echo=$ac_try;;
28634 esac
28635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28636 (eval "$ac_compile") 2>conftest.er1
28637 ac_status=$?
28638 grep -v '^ *+' conftest.er1 >conftest.err
28639 rm -f conftest.er1
28640 cat conftest.err >&5
28641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28642 (exit $ac_status); } && {
28643 test -z "$ac_c_werror_flag" ||
28644 test ! -s conftest.err
28645 } && test -s conftest.$ac_objext; then
28646 ac_cv_header_tiffio_h=yes
28647 else
28648 echo "$as_me: failed program was:" >&5
28649 sed 's/^/| /' conftest.$ac_ext >&5
28650
28651 ac_cv_header_tiffio_h=no
28652 fi
28653
28654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28655 fi
28656 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
28657 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
28658 if test $ac_cv_header_tiffio_h = yes; then
28659
28660 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
28661 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
28662 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
28663 echo $ECHO_N "(cached) $ECHO_C" >&6
28664 else
28665 ac_check_lib_save_LIBS=$LIBS
28666 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
28667 cat >conftest.$ac_ext <<_ACEOF
28668 /* confdefs.h. */
28669 _ACEOF
28670 cat confdefs.h >>conftest.$ac_ext
28671 cat >>conftest.$ac_ext <<_ACEOF
28672 /* end confdefs.h. */
28673
28674 /* Override any GCC internal prototype to avoid an error.
28675 Use char because int might match the return type of a GCC
28676 builtin and then its argument prototype would still apply. */
28677 #ifdef __cplusplus
28678 extern "C"
28679 #endif
28680 char TIFFError ();
28681 int
28682 main ()
28683 {
28684 return TIFFError ();
28685 ;
28686 return 0;
28687 }
28688 _ACEOF
28689 rm -f conftest.$ac_objext conftest$ac_exeext
28690 if { (ac_try="$ac_link"
28691 case "(($ac_try" in
28692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28693 *) ac_try_echo=$ac_try;;
28694 esac
28695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28696 (eval "$ac_link") 2>conftest.er1
28697 ac_status=$?
28698 grep -v '^ *+' conftest.er1 >conftest.err
28699 rm -f conftest.er1
28700 cat conftest.err >&5
28701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28702 (exit $ac_status); } && {
28703 test -z "$ac_c_werror_flag" ||
28704 test ! -s conftest.err
28705 } && test -s conftest$ac_exeext &&
28706 $as_test_x conftest$ac_exeext; then
28707 ac_cv_lib_tiff_TIFFError=yes
28708 else
28709 echo "$as_me: failed program was:" >&5
28710 sed 's/^/| /' conftest.$ac_ext >&5
28711
28712 ac_cv_lib_tiff_TIFFError=no
28713 fi
28714
28715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28716 conftest$ac_exeext conftest.$ac_ext
28717 LIBS=$ac_check_lib_save_LIBS
28718 fi
28719 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
28720 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
28721 if test $ac_cv_lib_tiff_TIFFError = yes; then
28722 TIFF_LINK=" -ltiff"
28723 fi
28724
28725
28726 fi
28727
28728
28729
28730 if test "x$TIFF_LINK" = "x" ; then
28731 if test "$wxUSE_LIBTIFF" = "sys" ; then
28732 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
28733 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
28734 { (exit 1); exit 1; }; }
28735 else
28736 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
28737 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
28738 wxUSE_LIBTIFF=builtin
28739 fi
28740 else
28741 wxUSE_LIBTIFF=sys
28742 fi
28743 fi
28744 if test "$wxUSE_LIBTIFF" = "builtin" ; then
28745 if test "$wxUSE_LIBJPEG" = "no"; then
28746 ac_configure_args="$ac_configure_args --disable-jpeg"
28747 fi
28748 subdirs="$subdirs src/tiff"
28749
28750 fi
28751 fi
28752
28753
28754 if test "$wxUSE_WCHAR_T" != "yes"; then
28755 if test "$wxUSE_EXPAT" != "no"; then
28756 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
28757 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
28758 wxUSE_EXPAT=no
28759 fi
28760 if test "$wxUSE_XML" != "no"; then
28761 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
28762 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
28763 wxUSE_XML=no
28764 fi
28765 fi
28766
28767 if test "$wxUSE_EXPAT" != "no"; then
28768 wxUSE_XML=yes
28769 cat >>confdefs.h <<\_ACEOF
28770 #define wxUSE_EXPAT 1
28771 _ACEOF
28772
28773 cat >>confdefs.h <<\_ACEOF
28774 #define wxUSE_XML 1
28775 _ACEOF
28776
28777
28778 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
28779 { echo "$as_me:$LINENO: checking for expat.h" >&5
28780 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
28781 if test "${ac_cv_header_expat_h+set}" = set; then
28782 echo $ECHO_N "(cached) $ECHO_C" >&6
28783 else
28784 cat >conftest.$ac_ext <<_ACEOF
28785 /* confdefs.h. */
28786 _ACEOF
28787 cat confdefs.h >>conftest.$ac_ext
28788 cat >>conftest.$ac_ext <<_ACEOF
28789 /* end confdefs.h. */
28790
28791
28792 #include <expat.h>
28793 _ACEOF
28794 rm -f conftest.$ac_objext
28795 if { (ac_try="$ac_compile"
28796 case "(($ac_try" in
28797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28798 *) ac_try_echo=$ac_try;;
28799 esac
28800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28801 (eval "$ac_compile") 2>conftest.er1
28802 ac_status=$?
28803 grep -v '^ *+' conftest.er1 >conftest.err
28804 rm -f conftest.er1
28805 cat conftest.err >&5
28806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28807 (exit $ac_status); } && {
28808 test -z "$ac_c_werror_flag" ||
28809 test ! -s conftest.err
28810 } && test -s conftest.$ac_objext; then
28811 ac_cv_header_expat_h=yes
28812 else
28813 echo "$as_me: failed program was:" >&5
28814 sed 's/^/| /' conftest.$ac_ext >&5
28815
28816 ac_cv_header_expat_h=no
28817 fi
28818
28819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28820 fi
28821 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
28822 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
28823 if test $ac_cv_header_expat_h = yes; then
28824 found_expat_h=1
28825 fi
28826
28827
28828 if test "x$found_expat_h" = "x1"; then
28829 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
28830 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
28831 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28832 echo $ECHO_N "(cached) $ECHO_C" >&6
28833 else
28834
28835 ac_ext=cpp
28836 ac_cpp='$CXXCPP $CPPFLAGS'
28837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28840
28841 cat >conftest.$ac_ext <<_ACEOF
28842 /* confdefs.h. */
28843 _ACEOF
28844 cat confdefs.h >>conftest.$ac_ext
28845 cat >>conftest.$ac_ext <<_ACEOF
28846 /* end confdefs.h. */
28847 #include <expat.h>
28848 int
28849 main ()
28850 {
28851
28852 ;
28853 return 0;
28854 }
28855 _ACEOF
28856 rm -f conftest.$ac_objext
28857 if { (ac_try="$ac_compile"
28858 case "(($ac_try" in
28859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28860 *) ac_try_echo=$ac_try;;
28861 esac
28862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28863 (eval "$ac_compile") 2>conftest.er1
28864 ac_status=$?
28865 grep -v '^ *+' conftest.er1 >conftest.err
28866 rm -f conftest.er1
28867 cat conftest.err >&5
28868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28869 (exit $ac_status); } && {
28870 test -z "$ac_cxx_werror_flag" ||
28871 test ! -s conftest.err
28872 } && test -s conftest.$ac_objext; then
28873 wx_cv_expat_is_not_broken=yes
28874 else
28875 echo "$as_me: failed program was:" >&5
28876 sed 's/^/| /' conftest.$ac_ext >&5
28877
28878 wx_cv_expat_is_not_broken=no
28879
28880 fi
28881
28882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28883 ac_ext=c
28884 ac_cpp='$CPP $CPPFLAGS'
28885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28888
28889
28890
28891 fi
28892 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
28893 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
28894 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28895 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
28896 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
28897 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28898 echo $ECHO_N "(cached) $ECHO_C" >&6
28899 else
28900 ac_check_lib_save_LIBS=$LIBS
28901 LIBS="-lexpat $LIBS"
28902 cat >conftest.$ac_ext <<_ACEOF
28903 /* confdefs.h. */
28904 _ACEOF
28905 cat confdefs.h >>conftest.$ac_ext
28906 cat >>conftest.$ac_ext <<_ACEOF
28907 /* end confdefs.h. */
28908
28909 /* Override any GCC internal prototype to avoid an error.
28910 Use char because int might match the return type of a GCC
28911 builtin and then its argument prototype would still apply. */
28912 #ifdef __cplusplus
28913 extern "C"
28914 #endif
28915 char XML_ParserCreate ();
28916 int
28917 main ()
28918 {
28919 return XML_ParserCreate ();
28920 ;
28921 return 0;
28922 }
28923 _ACEOF
28924 rm -f conftest.$ac_objext conftest$ac_exeext
28925 if { (ac_try="$ac_link"
28926 case "(($ac_try" in
28927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28928 *) ac_try_echo=$ac_try;;
28929 esac
28930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28931 (eval "$ac_link") 2>conftest.er1
28932 ac_status=$?
28933 grep -v '^ *+' conftest.er1 >conftest.err
28934 rm -f conftest.er1
28935 cat conftest.err >&5
28936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28937 (exit $ac_status); } && {
28938 test -z "$ac_c_werror_flag" ||
28939 test ! -s conftest.err
28940 } && test -s conftest$ac_exeext &&
28941 $as_test_x conftest$ac_exeext; then
28942 ac_cv_lib_expat_XML_ParserCreate=yes
28943 else
28944 echo "$as_me: failed program was:" >&5
28945 sed 's/^/| /' conftest.$ac_ext >&5
28946
28947 ac_cv_lib_expat_XML_ParserCreate=no
28948 fi
28949
28950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28951 conftest$ac_exeext conftest.$ac_ext
28952 LIBS=$ac_check_lib_save_LIBS
28953 fi
28954 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
28955 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
28956 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28957 EXPAT_LINK=" -lexpat"
28958 fi
28959
28960 fi
28961 fi
28962 if test "x$EXPAT_LINK" = "x" ; then
28963 if test "$wxUSE_EXPAT" = "sys" ; then
28964 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
28965 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
28966 { (exit 1); exit 1; }; }
28967 else
28968 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
28969 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
28970 wxUSE_EXPAT=builtin
28971 fi
28972 else
28973 wxUSE_EXPAT=sys
28974 fi
28975 fi
28976 if test "$wxUSE_EXPAT" = "builtin" ; then
28977 subdirs="$subdirs src/expat"
28978
28979 fi
28980 fi
28981
28982
28983
28984 if test "$wxUSE_LIBMSPACK" != "no"; then
28985 { echo "$as_me:$LINENO: checking for mspack.h" >&5
28986 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
28987 if test "${ac_cv_header_mspack_h+set}" = set; then
28988 echo $ECHO_N "(cached) $ECHO_C" >&6
28989 else
28990 cat >conftest.$ac_ext <<_ACEOF
28991 /* confdefs.h. */
28992 _ACEOF
28993 cat confdefs.h >>conftest.$ac_ext
28994 cat >>conftest.$ac_ext <<_ACEOF
28995 /* end confdefs.h. */
28996
28997
28998 #include <mspack.h>
28999 _ACEOF
29000 rm -f conftest.$ac_objext
29001 if { (ac_try="$ac_compile"
29002 case "(($ac_try" in
29003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29004 *) ac_try_echo=$ac_try;;
29005 esac
29006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29007 (eval "$ac_compile") 2>conftest.er1
29008 ac_status=$?
29009 grep -v '^ *+' conftest.er1 >conftest.err
29010 rm -f conftest.er1
29011 cat conftest.err >&5
29012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29013 (exit $ac_status); } && {
29014 test -z "$ac_c_werror_flag" ||
29015 test ! -s conftest.err
29016 } && test -s conftest.$ac_objext; then
29017 ac_cv_header_mspack_h=yes
29018 else
29019 echo "$as_me: failed program was:" >&5
29020 sed 's/^/| /' conftest.$ac_ext >&5
29021
29022 ac_cv_header_mspack_h=no
29023 fi
29024
29025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29026 fi
29027 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29028 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29029 if test $ac_cv_header_mspack_h = yes; then
29030 found_mspack_h=1
29031 fi
29032
29033
29034 if test "x$found_mspack_h" = "x1"; then
29035 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29036 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29037 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29038 echo $ECHO_N "(cached) $ECHO_C" >&6
29039 else
29040 ac_check_lib_save_LIBS=$LIBS
29041 LIBS="-lmspack $LIBS"
29042 cat >conftest.$ac_ext <<_ACEOF
29043 /* confdefs.h. */
29044 _ACEOF
29045 cat confdefs.h >>conftest.$ac_ext
29046 cat >>conftest.$ac_ext <<_ACEOF
29047 /* end confdefs.h. */
29048
29049 /* Override any GCC internal prototype to avoid an error.
29050 Use char because int might match the return type of a GCC
29051 builtin and then its argument prototype would still apply. */
29052 #ifdef __cplusplus
29053 extern "C"
29054 #endif
29055 char mspack_create_chm_decompressor ();
29056 int
29057 main ()
29058 {
29059 return mspack_create_chm_decompressor ();
29060 ;
29061 return 0;
29062 }
29063 _ACEOF
29064 rm -f conftest.$ac_objext conftest$ac_exeext
29065 if { (ac_try="$ac_link"
29066 case "(($ac_try" in
29067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29068 *) ac_try_echo=$ac_try;;
29069 esac
29070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29071 (eval "$ac_link") 2>conftest.er1
29072 ac_status=$?
29073 grep -v '^ *+' conftest.er1 >conftest.err
29074 rm -f conftest.er1
29075 cat conftest.err >&5
29076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29077 (exit $ac_status); } && {
29078 test -z "$ac_c_werror_flag" ||
29079 test ! -s conftest.err
29080 } && test -s conftest$ac_exeext &&
29081 $as_test_x conftest$ac_exeext; then
29082 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29083 else
29084 echo "$as_me: failed program was:" >&5
29085 sed 's/^/| /' conftest.$ac_ext >&5
29086
29087 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29088 fi
29089
29090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29091 conftest$ac_exeext conftest.$ac_ext
29092 LIBS=$ac_check_lib_save_LIBS
29093 fi
29094 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29095 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29096 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29097 MSPACK_LINK=" -lmspack"
29098 fi
29099
29100 fi
29101 if test "x$MSPACK_LINK" = "x" ; then
29102 wxUSE_LIBMSPACK=no
29103 fi
29104 fi
29105
29106 if test "$wxUSE_LIBMSPACK" != "no"; then
29107 cat >>confdefs.h <<\_ACEOF
29108 #define wxUSE_LIBMSPACK 1
29109 _ACEOF
29110
29111 fi
29112
29113
29114
29115 AFMINSTALL=
29116 WIN32INSTALL=
29117
29118 TOOLKIT=
29119 TOOLKIT_INCLUDE=
29120 WIDGET_SET=
29121
29122 if test "$USE_WIN32" = 1 ; then
29123
29124 for ac_header in w32api.h
29125 do
29126 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29127 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29128 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29129 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29130 echo $ECHO_N "(cached) $ECHO_C" >&6
29131 else
29132 cat >conftest.$ac_ext <<_ACEOF
29133 /* confdefs.h. */
29134 _ACEOF
29135 cat confdefs.h >>conftest.$ac_ext
29136 cat >>conftest.$ac_ext <<_ACEOF
29137 /* end confdefs.h. */
29138
29139
29140 #include <$ac_header>
29141 _ACEOF
29142 rm -f conftest.$ac_objext
29143 if { (ac_try="$ac_compile"
29144 case "(($ac_try" in
29145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29146 *) ac_try_echo=$ac_try;;
29147 esac
29148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29149 (eval "$ac_compile") 2>conftest.er1
29150 ac_status=$?
29151 grep -v '^ *+' conftest.er1 >conftest.err
29152 rm -f conftest.er1
29153 cat conftest.err >&5
29154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29155 (exit $ac_status); } && {
29156 test -z "$ac_c_werror_flag" ||
29157 test ! -s conftest.err
29158 } && test -s conftest.$ac_objext; then
29159 eval "$as_ac_Header=yes"
29160 else
29161 echo "$as_me: failed program was:" >&5
29162 sed 's/^/| /' conftest.$ac_ext >&5
29163
29164 eval "$as_ac_Header=no"
29165 fi
29166
29167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29168 fi
29169 ac_res=`eval echo '${'$as_ac_Header'}'`
29170 { echo "$as_me:$LINENO: result: $ac_res" >&5
29171 echo "${ECHO_T}$ac_res" >&6; }
29172 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29173 cat >>confdefs.h <<_ACEOF
29174 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29175 _ACEOF
29176
29177 fi
29178
29179 done
29180
29181 { echo "$as_me:$LINENO: checking for windows.h" >&5
29182 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29183 if test "${ac_cv_header_windows_h+set}" = set; then
29184 echo $ECHO_N "(cached) $ECHO_C" >&6
29185 else
29186 cat >conftest.$ac_ext <<_ACEOF
29187 /* confdefs.h. */
29188 _ACEOF
29189 cat confdefs.h >>conftest.$ac_ext
29190 cat >>conftest.$ac_ext <<_ACEOF
29191 /* end confdefs.h. */
29192
29193
29194 #include <windows.h>
29195 _ACEOF
29196 rm -f conftest.$ac_objext
29197 if { (ac_try="$ac_compile"
29198 case "(($ac_try" in
29199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29200 *) ac_try_echo=$ac_try;;
29201 esac
29202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29203 (eval "$ac_compile") 2>conftest.er1
29204 ac_status=$?
29205 grep -v '^ *+' conftest.er1 >conftest.err
29206 rm -f conftest.er1
29207 cat conftest.err >&5
29208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29209 (exit $ac_status); } && {
29210 test -z "$ac_c_werror_flag" ||
29211 test ! -s conftest.err
29212 } && test -s conftest.$ac_objext; then
29213 ac_cv_header_windows_h=yes
29214 else
29215 echo "$as_me: failed program was:" >&5
29216 sed 's/^/| /' conftest.$ac_ext >&5
29217
29218 ac_cv_header_windows_h=no
29219 fi
29220
29221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29222 fi
29223 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29224 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29225 if test $ac_cv_header_windows_h = yes; then
29226 :
29227 else
29228
29229 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29230 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29231 { (exit 1); exit 1; }; }
29232
29233 fi
29234
29235
29236
29237 case "${host}" in
29238 x86_64-*-mingw32* )
29239 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
29240
29241 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
29242 ;;
29243 * )
29244 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
29245 ;;
29246 esac
29247 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29248 LIBS="$LIBS -loleacc"
29249 fi
29250
29251 case "${host}" in
29252 *-*-cygwin* )
29253 LIBS="$LIBS -lkernel32 -luser32"
29254 esac
29255
29256 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29257 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29258
29259 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29260
29261 WIN32INSTALL=win32install
29262
29263 { echo "$as_me:$LINENO: checking for pbt.h" >&5
29264 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
29265 if test "${ac_cv_header_pbt_h+set}" = set; then
29266 echo $ECHO_N "(cached) $ECHO_C" >&6
29267 else
29268 cat >conftest.$ac_ext <<_ACEOF
29269 /* confdefs.h. */
29270 _ACEOF
29271 cat confdefs.h >>conftest.$ac_ext
29272 cat >>conftest.$ac_ext <<_ACEOF
29273 /* end confdefs.h. */
29274
29275
29276 #include <pbt.h>
29277 _ACEOF
29278 rm -f conftest.$ac_objext
29279 if { (ac_try="$ac_compile"
29280 case "(($ac_try" in
29281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29282 *) ac_try_echo=$ac_try;;
29283 esac
29284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29285 (eval "$ac_compile") 2>conftest.er1
29286 ac_status=$?
29287 grep -v '^ *+' conftest.er1 >conftest.err
29288 rm -f conftest.er1
29289 cat conftest.err >&5
29290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29291 (exit $ac_status); } && {
29292 test -z "$ac_c_werror_flag" ||
29293 test ! -s conftest.err
29294 } && test -s conftest.$ac_objext; then
29295 ac_cv_header_pbt_h=yes
29296 else
29297 echo "$as_me: failed program was:" >&5
29298 sed 's/^/| /' conftest.$ac_ext >&5
29299
29300 ac_cv_header_pbt_h=no
29301 fi
29302
29303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29304 fi
29305 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
29306 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29307 if test $ac_cv_header_pbt_h = yes; then
29308 :
29309 else
29310 cat >>confdefs.h <<\_ACEOF
29311 #define NEED_PBT_H 1
29312 _ACEOF
29313
29314 fi
29315
29316
29317 fi
29318
29319 if test "$wxUSE_GUI" = "yes"; then
29320 USE_GUI=1
29321
29322 GUI_TK_LIBRARY=
29323
29324 WXGTK12=
29325 WXGTK127=
29326 WXGTK2=
29327 WXGPE=
29328
29329 if test "$wxUSE_OLD_COCOA" = 1 ; then
29330 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29331 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29332 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29333 wxUSE_PRINTING_ARCHITECTURE=no
29334 fi
29335 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29336 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29337 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29338 wxUSE_DRAG_AND_DROP=no
29339 fi
29340 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29341 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29342 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29343 wxUSE_DRAGIMAGE=no
29344 fi
29345 fi
29346
29347 if test "$wxUSE_MSW" = 1 ; then
29348 TOOLKIT=MSW
29349 GUIDIST=MSW_DIST
29350
29351 case "${host}" in
29352 *-*-mingw32* )
29353 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29354 esac
29355 fi
29356
29357 if test "$wxUSE_GTK" = 1; then
29358 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29359 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
29360
29361 gtk_version_cached=1
29362 if test "${wx_cv_lib_gtk+set}" = set; then
29363 echo $ECHO_N "(cached) $ECHO_C" >&6
29364 else
29365
29366 gtk_version_cached=0
29367 { echo "$as_me:$LINENO: result: " >&5
29368 echo "${ECHO_T}" >&6; }
29369
29370 GTK_MODULES=
29371 if test "$wxUSE_THREADS" = "yes"; then
29372 GTK_MODULES=gthread
29373 fi
29374
29375 wx_cv_lib_gtk=
29376 if test "x$wxGTK_VERSION" != "x1"
29377 then
29378 case "${host}" in
29379 *-*-solaris2* )
29380 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29381 enable_gtktest=no
29382 fi
29383 esac
29384
29385 # Check whether --enable-gtktest was given.
29386 if test "${enable_gtktest+set}" = set; then
29387 enableval=$enable_gtktest;
29388 else
29389 enable_gtktest=yes
29390 fi
29391
29392
29393 pkg_config_args=gtk+-2.0
29394 for module in . $GTK_MODULES
29395 do
29396 case "$module" in
29397 gthread)
29398 pkg_config_args="$pkg_config_args gthread-2.0"
29399 ;;
29400 esac
29401 done
29402
29403 no_gtk=""
29404
29405 # Extract the first word of "pkg-config", so it can be a program name with args.
29406 set dummy pkg-config; ac_word=$2
29407 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29409 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29410 echo $ECHO_N "(cached) $ECHO_C" >&6
29411 else
29412 case $PKG_CONFIG in
29413 [\\/]* | ?:[\\/]*)
29414 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29415 ;;
29416 *)
29417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29418 for as_dir in $PATH
29419 do
29420 IFS=$as_save_IFS
29421 test -z "$as_dir" && as_dir=.
29422 for ac_exec_ext in '' $ac_executable_extensions; do
29423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29424 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29426 break 2
29427 fi
29428 done
29429 done
29430 IFS=$as_save_IFS
29431
29432 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29433 ;;
29434 esac
29435 fi
29436 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29437 if test -n "$PKG_CONFIG"; then
29438 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29439 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29440 else
29441 { echo "$as_me:$LINENO: result: no" >&5
29442 echo "${ECHO_T}no" >&6; }
29443 fi
29444
29445
29446
29447 if test x$PKG_CONFIG != xno ; then
29448 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29449 :
29450 else
29451 echo "*** pkg-config too old; version 0.7 or better required."
29452 no_gtk=yes
29453 PKG_CONFIG=no
29454 fi
29455 else
29456 no_gtk=yes
29457 fi
29458
29459 min_gtk_version=2.4.0
29460 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
29461 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
29462
29463 if test x$PKG_CONFIG != xno ; then
29464 ## don't try to run the test against uninstalled libtool libs
29465 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29466 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
29467 enable_gtktest=no
29468 fi
29469
29470 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29471 :
29472 else
29473 no_gtk=yes
29474 fi
29475 fi
29476
29477 if test x"$no_gtk" = x ; then
29478 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29479 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29480 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29481 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29482 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29483 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29484 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29485 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29486 if test "x$enable_gtktest" = "xyes" ; then
29487 ac_save_CFLAGS="$CFLAGS"
29488 ac_save_LIBS="$LIBS"
29489 CFLAGS="$CFLAGS $GTK_CFLAGS"
29490 LIBS="$GTK_LIBS $LIBS"
29491 rm -f conf.gtktest
29492 if test "$cross_compiling" = yes; then
29493 echo $ac_n "cross compiling; assumed OK... $ac_c"
29494 else
29495 cat >conftest.$ac_ext <<_ACEOF
29496 /* confdefs.h. */
29497 _ACEOF
29498 cat confdefs.h >>conftest.$ac_ext
29499 cat >>conftest.$ac_ext <<_ACEOF
29500 /* end confdefs.h. */
29501
29502 #include <gtk/gtk.h>
29503 #include <stdio.h>
29504 #include <stdlib.h>
29505
29506 int
29507 main ()
29508 {
29509 int major, minor, micro;
29510 char *tmp_version;
29511
29512 system ("touch conf.gtktest");
29513
29514 /* HP/UX 9 (%@#!) writes to sscanf strings */
29515 tmp_version = g_strdup("$min_gtk_version");
29516 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29517 printf("%s, bad version string\n", "$min_gtk_version");
29518 exit(1);
29519 }
29520
29521 if ((gtk_major_version != $gtk_config_major_version) ||
29522 (gtk_minor_version != $gtk_config_minor_version) ||
29523 (gtk_micro_version != $gtk_config_micro_version))
29524 {
29525 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29526 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29527 gtk_major_version, gtk_minor_version, gtk_micro_version);
29528 printf ("*** was found! If pkg-config was correct, then it is best\n");
29529 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29530 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29531 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29532 printf("*** required on your system.\n");
29533 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
29534 printf("*** to point to the correct configuration files\n");
29535 }
29536 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29537 (gtk_minor_version != GTK_MINOR_VERSION) ||
29538 (gtk_micro_version != GTK_MICRO_VERSION))
29539 {
29540 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29541 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29542 printf("*** library (version %d.%d.%d)\n",
29543 gtk_major_version, gtk_minor_version, gtk_micro_version);
29544 }
29545 else
29546 {
29547 if ((gtk_major_version > major) ||
29548 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29549 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29550 {
29551 return 0;
29552 }
29553 else
29554 {
29555 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29556 gtk_major_version, gtk_minor_version, gtk_micro_version);
29557 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29558 major, minor, micro);
29559 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29560 printf("***\n");
29561 printf("*** If you have already installed a sufficiently new version, this error\n");
29562 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
29563 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29564 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
29565 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
29566 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29567 printf("*** so that the correct libraries are found at run-time))\n");
29568 }
29569 }
29570 return 1;
29571 }
29572
29573 _ACEOF
29574 rm -f conftest$ac_exeext
29575 if { (ac_try="$ac_link"
29576 case "(($ac_try" in
29577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29578 *) ac_try_echo=$ac_try;;
29579 esac
29580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29581 (eval "$ac_link") 2>&5
29582 ac_status=$?
29583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29584 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29585 { (case "(($ac_try" in
29586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29587 *) ac_try_echo=$ac_try;;
29588 esac
29589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29590 (eval "$ac_try") 2>&5
29591 ac_status=$?
29592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29593 (exit $ac_status); }; }; then
29594 :
29595 else
29596 echo "$as_me: program exited with status $ac_status" >&5
29597 echo "$as_me: failed program was:" >&5
29598 sed 's/^/| /' conftest.$ac_ext >&5
29599
29600 ( exit $ac_status )
29601 no_gtk=yes
29602 fi
29603 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29604 fi
29605
29606
29607 CFLAGS="$ac_save_CFLAGS"
29608 LIBS="$ac_save_LIBS"
29609 fi
29610 fi
29611 if test "x$no_gtk" = x ; then
29612 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
29613 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
29614 wx_cv_lib_gtk=2.0
29615 else
29616 { echo "$as_me:$LINENO: result: no" >&5
29617 echo "${ECHO_T}no" >&6; }
29618 if test "$PKG_CONFIG" = "no" ; then
29619 echo "*** A new enough version of pkg-config was not found."
29620 echo "*** See http://pkgconfig.sourceforge.net"
29621 else
29622 if test -f conf.gtktest ; then
29623 :
29624 else
29625 echo "*** Could not run GTK+ test program, checking why..."
29626 ac_save_CFLAGS="$CFLAGS"
29627 ac_save_LIBS="$LIBS"
29628 CFLAGS="$CFLAGS $GTK_CFLAGS"
29629 LIBS="$LIBS $GTK_LIBS"
29630 cat >conftest.$ac_ext <<_ACEOF
29631 /* confdefs.h. */
29632 _ACEOF
29633 cat confdefs.h >>conftest.$ac_ext
29634 cat >>conftest.$ac_ext <<_ACEOF
29635 /* end confdefs.h. */
29636
29637 #include <gtk/gtk.h>
29638 #include <stdio.h>
29639
29640 int
29641 main ()
29642 {
29643 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29644 ;
29645 return 0;
29646 }
29647 _ACEOF
29648 rm -f conftest.$ac_objext conftest$ac_exeext
29649 if { (ac_try="$ac_link"
29650 case "(($ac_try" in
29651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29652 *) ac_try_echo=$ac_try;;
29653 esac
29654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29655 (eval "$ac_link") 2>conftest.er1
29656 ac_status=$?
29657 grep -v '^ *+' conftest.er1 >conftest.err
29658 rm -f conftest.er1
29659 cat conftest.err >&5
29660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29661 (exit $ac_status); } && {
29662 test -z "$ac_c_werror_flag" ||
29663 test ! -s conftest.err
29664 } && test -s conftest$ac_exeext &&
29665 $as_test_x conftest$ac_exeext; then
29666 echo "*** The test program compiled, but did not run. This usually means"
29667 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
29668 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
29669 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29670 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29671 echo "*** is required on your system"
29672 echo "***"
29673 echo "*** If you have an old version installed, it is best to remove it, although"
29674 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29675 else
29676 echo "$as_me: failed program was:" >&5
29677 sed 's/^/| /' conftest.$ac_ext >&5
29678
29679 echo "*** The test program failed to compile or link. See the file config.log for the"
29680 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29681 fi
29682
29683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29684 conftest$ac_exeext conftest.$ac_ext
29685 CFLAGS="$ac_save_CFLAGS"
29686 LIBS="$ac_save_LIBS"
29687 fi
29688 fi
29689 GTK_CFLAGS=""
29690 GTK_LIBS=""
29691 :
29692 fi
29693
29694
29695 rm -f conf.gtktest
29696
29697
29698 case "${host}" in
29699 *-*-solaris2* )
29700 if test "$wxUSE_SHARED" != "yes"; then
29701 GTK_LIBS="$GTK_LIBS -lX11"
29702 fi
29703 esac
29704 fi
29705
29706 if test -z "$wx_cv_lib_gtk"; then
29707 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29708
29709 # Check whether --with-gtk-prefix was given.
29710 if test "${with_gtk_prefix+set}" = set; then
29711 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29712 else
29713 gtk_config_prefix=""
29714 fi
29715
29716
29717 # Check whether --with-gtk-exec-prefix was given.
29718 if test "${with_gtk_exec_prefix+set}" = set; then
29719 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29720 else
29721 gtk_config_exec_prefix=""
29722 fi
29723
29724 # Check whether --enable-gtktest was given.
29725 if test "${enable_gtktest+set}" = set; then
29726 enableval=$enable_gtktest;
29727 else
29728 enable_gtktest=yes
29729 fi
29730
29731
29732 for module in . $GTK_MODULES
29733 do
29734 case "$module" in
29735 gthread)
29736 gtk_config_args="$gtk_config_args gthread"
29737 ;;
29738 esac
29739 done
29740
29741 if test x$gtk_config_exec_prefix != x ; then
29742 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29743 if test x${GTK_CONFIG+set} != xset ; then
29744 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29745 fi
29746 fi
29747 if test x$gtk_config_prefix != x ; then
29748 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29749 if test x${GTK_CONFIG+set} != xset ; then
29750 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29751 fi
29752 fi
29753
29754 # Extract the first word of "gtk-config", so it can be a program name with args.
29755 set dummy gtk-config; ac_word=$2
29756 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29758 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29759 echo $ECHO_N "(cached) $ECHO_C" >&6
29760 else
29761 case $GTK_CONFIG in
29762 [\\/]* | ?:[\\/]*)
29763 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29764 ;;
29765 *)
29766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29767 for as_dir in $PATH
29768 do
29769 IFS=$as_save_IFS
29770 test -z "$as_dir" && as_dir=.
29771 for ac_exec_ext in '' $ac_executable_extensions; do
29772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29773 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29775 break 2
29776 fi
29777 done
29778 done
29779 IFS=$as_save_IFS
29780
29781 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29782 ;;
29783 esac
29784 fi
29785 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29786 if test -n "$GTK_CONFIG"; then
29787 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29788 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29789 else
29790 { echo "$as_me:$LINENO: result: no" >&5
29791 echo "${ECHO_T}no" >&6; }
29792 fi
29793
29794
29795 min_gtk_version=1.2.7
29796 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29797 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29798 no_gtk=""
29799 if test "$GTK_CONFIG" = "no" ; then
29800 no_gtk=yes
29801 else
29802 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29803 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29804 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29805 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29806 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29807 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29808 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29809 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29810 if test "x$enable_gtktest" = "xyes" ; then
29811 ac_save_CFLAGS="$CFLAGS"
29812 ac_save_LIBS="$LIBS"
29813 CFLAGS="$CFLAGS $GTK_CFLAGS"
29814 LIBS="$GTK_LIBS $LIBS"
29815 rm -f conf.gtktest
29816 if test "$cross_compiling" = yes; then
29817 echo $ac_n "cross compiling; assumed OK... $ac_c"
29818 else
29819 cat >conftest.$ac_ext <<_ACEOF
29820 /* confdefs.h. */
29821 _ACEOF
29822 cat confdefs.h >>conftest.$ac_ext
29823 cat >>conftest.$ac_ext <<_ACEOF
29824 /* end confdefs.h. */
29825
29826 #include <gtk/gtk.h>
29827 #include <stdio.h>
29828 #include <stdlib.h>
29829
29830 int
29831 main ()
29832 {
29833 int major, minor, micro;
29834 char *tmp_version;
29835
29836 system ("touch conf.gtktest");
29837
29838 /* HP/UX 9 (%@#!) writes to sscanf strings */
29839 tmp_version = g_strdup("$min_gtk_version");
29840 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29841 printf("%s, bad version string\n", "$min_gtk_version");
29842 exit(1);
29843 }
29844
29845 if ((gtk_major_version != $gtk_config_major_version) ||
29846 (gtk_minor_version != $gtk_config_minor_version) ||
29847 (gtk_micro_version != $gtk_config_micro_version))
29848 {
29849 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29850 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29851 gtk_major_version, gtk_minor_version, gtk_micro_version);
29852 printf ("*** was found! If gtk-config was correct, then it is best\n");
29853 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29854 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29855 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29856 printf("*** required on your system.\n");
29857 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29858 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29859 printf("*** before re-running configure\n");
29860 }
29861 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29862 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29863 (gtk_minor_version != GTK_MINOR_VERSION) ||
29864 (gtk_micro_version != GTK_MICRO_VERSION))
29865 {
29866 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29867 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29868 printf("*** library (version %d.%d.%d)\n",
29869 gtk_major_version, gtk_minor_version, gtk_micro_version);
29870 }
29871 #endif /* defined (GTK_MAJOR_VERSION) ... */
29872 else
29873 {
29874 if ((gtk_major_version > major) ||
29875 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29876 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29877 {
29878 return 0;
29879 }
29880 else
29881 {
29882 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29883 gtk_major_version, gtk_minor_version, gtk_micro_version);
29884 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29885 major, minor, micro);
29886 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29887 printf("***\n");
29888 printf("*** If you have already installed a sufficiently new version, this error\n");
29889 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29890 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29891 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29892 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29893 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29894 printf("*** so that the correct libraries are found at run-time))\n");
29895 }
29896 }
29897 return 1;
29898 }
29899
29900 _ACEOF
29901 rm -f conftest$ac_exeext
29902 if { (ac_try="$ac_link"
29903 case "(($ac_try" in
29904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29905 *) ac_try_echo=$ac_try;;
29906 esac
29907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29908 (eval "$ac_link") 2>&5
29909 ac_status=$?
29910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29911 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29912 { (case "(($ac_try" in
29913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29914 *) ac_try_echo=$ac_try;;
29915 esac
29916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29917 (eval "$ac_try") 2>&5
29918 ac_status=$?
29919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29920 (exit $ac_status); }; }; then
29921 :
29922 else
29923 echo "$as_me: program exited with status $ac_status" >&5
29924 echo "$as_me: failed program was:" >&5
29925 sed 's/^/| /' conftest.$ac_ext >&5
29926
29927 ( exit $ac_status )
29928 no_gtk=yes
29929 fi
29930 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29931 fi
29932
29933
29934 CFLAGS="$ac_save_CFLAGS"
29935 LIBS="$ac_save_LIBS"
29936 fi
29937 fi
29938 if test "x$no_gtk" = x ; then
29939 { echo "$as_me:$LINENO: result: yes" >&5
29940 echo "${ECHO_T}yes" >&6; }
29941 wx_cv_lib_gtk=1.2.7
29942 else
29943 { echo "$as_me:$LINENO: result: no" >&5
29944 echo "${ECHO_T}no" >&6; }
29945 if test "$GTK_CONFIG" = "no" ; then
29946 echo "*** The gtk-config script installed by GTK could not be found"
29947 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29948 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29949 echo "*** full path to gtk-config."
29950 else
29951 if test -f conf.gtktest ; then
29952 :
29953 else
29954 echo "*** Could not run GTK test program, checking why..."
29955 CFLAGS="$CFLAGS $GTK_CFLAGS"
29956 LIBS="$LIBS $GTK_LIBS"
29957 cat >conftest.$ac_ext <<_ACEOF
29958 /* confdefs.h. */
29959 _ACEOF
29960 cat confdefs.h >>conftest.$ac_ext
29961 cat >>conftest.$ac_ext <<_ACEOF
29962 /* end confdefs.h. */
29963
29964 #include <gtk/gtk.h>
29965 #include <stdio.h>
29966
29967 int
29968 main ()
29969 {
29970 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29971 ;
29972 return 0;
29973 }
29974 _ACEOF
29975 rm -f conftest.$ac_objext conftest$ac_exeext
29976 if { (ac_try="$ac_link"
29977 case "(($ac_try" in
29978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29979 *) ac_try_echo=$ac_try;;
29980 esac
29981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29982 (eval "$ac_link") 2>conftest.er1
29983 ac_status=$?
29984 grep -v '^ *+' conftest.er1 >conftest.err
29985 rm -f conftest.er1
29986 cat conftest.err >&5
29987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29988 (exit $ac_status); } && {
29989 test -z "$ac_c_werror_flag" ||
29990 test ! -s conftest.err
29991 } && test -s conftest$ac_exeext &&
29992 $as_test_x conftest$ac_exeext; then
29993 echo "*** The test program compiled, but did not run. This usually means"
29994 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29995 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29996 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29997 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29998 echo "*** is required on your system"
29999 echo "***"
30000 echo "*** If you have an old version installed, it is best to remove it, although"
30001 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30002 echo "***"
30003 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30004 echo "*** came with the system with the command"
30005 echo "***"
30006 echo "*** rpm --erase --nodeps gtk gtk-devel"
30007 else
30008 echo "$as_me: failed program was:" >&5
30009 sed 's/^/| /' conftest.$ac_ext >&5
30010
30011 echo "*** The test program failed to compile or link. See the file config.log for the"
30012 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30013 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30014 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30015 fi
30016
30017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30018 conftest$ac_exeext conftest.$ac_ext
30019 CFLAGS="$ac_save_CFLAGS"
30020 LIBS="$ac_save_LIBS"
30021 fi
30022 fi
30023 GTK_CFLAGS=""
30024 GTK_LIBS=""
30025 :
30026 fi
30027
30028
30029 rm -f conf.gtktest
30030
30031
30032 if test -z "$wx_cv_lib_gtk"; then
30033
30034 # Check whether --with-gtk-prefix was given.
30035 if test "${with_gtk_prefix+set}" = set; then
30036 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30037 else
30038 gtk_config_prefix=""
30039 fi
30040
30041
30042 # Check whether --with-gtk-exec-prefix was given.
30043 if test "${with_gtk_exec_prefix+set}" = set; then
30044 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30045 else
30046 gtk_config_exec_prefix=""
30047 fi
30048
30049 # Check whether --enable-gtktest was given.
30050 if test "${enable_gtktest+set}" = set; then
30051 enableval=$enable_gtktest;
30052 else
30053 enable_gtktest=yes
30054 fi
30055
30056
30057 for module in . $GTK_MODULES
30058 do
30059 case "$module" in
30060 gthread)
30061 gtk_config_args="$gtk_config_args gthread"
30062 ;;
30063 esac
30064 done
30065
30066 if test x$gtk_config_exec_prefix != x ; then
30067 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30068 if test x${GTK_CONFIG+set} != xset ; then
30069 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30070 fi
30071 fi
30072 if test x$gtk_config_prefix != x ; then
30073 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30074 if test x${GTK_CONFIG+set} != xset ; then
30075 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30076 fi
30077 fi
30078
30079 # Extract the first word of "gtk-config", so it can be a program name with args.
30080 set dummy gtk-config; ac_word=$2
30081 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30083 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30084 echo $ECHO_N "(cached) $ECHO_C" >&6
30085 else
30086 case $GTK_CONFIG in
30087 [\\/]* | ?:[\\/]*)
30088 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30089 ;;
30090 *)
30091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30092 for as_dir in $PATH
30093 do
30094 IFS=$as_save_IFS
30095 test -z "$as_dir" && as_dir=.
30096 for ac_exec_ext in '' $ac_executable_extensions; do
30097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30098 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30099 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30100 break 2
30101 fi
30102 done
30103 done
30104 IFS=$as_save_IFS
30105
30106 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30107 ;;
30108 esac
30109 fi
30110 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30111 if test -n "$GTK_CONFIG"; then
30112 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30113 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30114 else
30115 { echo "$as_me:$LINENO: result: no" >&5
30116 echo "${ECHO_T}no" >&6; }
30117 fi
30118
30119
30120 min_gtk_version=1.2.3
30121 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30122 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30123 no_gtk=""
30124 if test "$GTK_CONFIG" = "no" ; then
30125 no_gtk=yes
30126 else
30127 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30128 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30129 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30130 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30131 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30132 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30133 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30134 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30135 if test "x$enable_gtktest" = "xyes" ; then
30136 ac_save_CFLAGS="$CFLAGS"
30137 ac_save_LIBS="$LIBS"
30138 CFLAGS="$CFLAGS $GTK_CFLAGS"
30139 LIBS="$GTK_LIBS $LIBS"
30140 rm -f conf.gtktest
30141 if test "$cross_compiling" = yes; then
30142 echo $ac_n "cross compiling; assumed OK... $ac_c"
30143 else
30144 cat >conftest.$ac_ext <<_ACEOF
30145 /* confdefs.h. */
30146 _ACEOF
30147 cat confdefs.h >>conftest.$ac_ext
30148 cat >>conftest.$ac_ext <<_ACEOF
30149 /* end confdefs.h. */
30150
30151 #include <gtk/gtk.h>
30152 #include <stdio.h>
30153 #include <stdlib.h>
30154
30155 int
30156 main ()
30157 {
30158 int major, minor, micro;
30159 char *tmp_version;
30160
30161 system ("touch conf.gtktest");
30162
30163 /* HP/UX 9 (%@#!) writes to sscanf strings */
30164 tmp_version = g_strdup("$min_gtk_version");
30165 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30166 printf("%s, bad version string\n", "$min_gtk_version");
30167 exit(1);
30168 }
30169
30170 if ((gtk_major_version != $gtk_config_major_version) ||
30171 (gtk_minor_version != $gtk_config_minor_version) ||
30172 (gtk_micro_version != $gtk_config_micro_version))
30173 {
30174 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30175 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30176 gtk_major_version, gtk_minor_version, gtk_micro_version);
30177 printf ("*** was found! If gtk-config was correct, then it is best\n");
30178 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30179 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30180 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30181 printf("*** required on your system.\n");
30182 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30183 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30184 printf("*** before re-running configure\n");
30185 }
30186 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30187 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30188 (gtk_minor_version != GTK_MINOR_VERSION) ||
30189 (gtk_micro_version != GTK_MICRO_VERSION))
30190 {
30191 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30192 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30193 printf("*** library (version %d.%d.%d)\n",
30194 gtk_major_version, gtk_minor_version, gtk_micro_version);
30195 }
30196 #endif /* defined (GTK_MAJOR_VERSION) ... */
30197 else
30198 {
30199 if ((gtk_major_version > major) ||
30200 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30201 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30202 {
30203 return 0;
30204 }
30205 else
30206 {
30207 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30208 gtk_major_version, gtk_minor_version, gtk_micro_version);
30209 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30210 major, minor, micro);
30211 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30212 printf("***\n");
30213 printf("*** If you have already installed a sufficiently new version, this error\n");
30214 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30215 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30216 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30217 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30218 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30219 printf("*** so that the correct libraries are found at run-time))\n");
30220 }
30221 }
30222 return 1;
30223 }
30224
30225 _ACEOF
30226 rm -f conftest$ac_exeext
30227 if { (ac_try="$ac_link"
30228 case "(($ac_try" in
30229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30230 *) ac_try_echo=$ac_try;;
30231 esac
30232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30233 (eval "$ac_link") 2>&5
30234 ac_status=$?
30235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30236 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30237 { (case "(($ac_try" in
30238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30239 *) ac_try_echo=$ac_try;;
30240 esac
30241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30242 (eval "$ac_try") 2>&5
30243 ac_status=$?
30244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30245 (exit $ac_status); }; }; then
30246 :
30247 else
30248 echo "$as_me: program exited with status $ac_status" >&5
30249 echo "$as_me: failed program was:" >&5
30250 sed 's/^/| /' conftest.$ac_ext >&5
30251
30252 ( exit $ac_status )
30253 no_gtk=yes
30254 fi
30255 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30256 fi
30257
30258
30259 CFLAGS="$ac_save_CFLAGS"
30260 LIBS="$ac_save_LIBS"
30261 fi
30262 fi
30263 if test "x$no_gtk" = x ; then
30264 { echo "$as_me:$LINENO: result: yes" >&5
30265 echo "${ECHO_T}yes" >&6; }
30266 wx_cv_lib_gtk=1.2.3
30267 else
30268 { echo "$as_me:$LINENO: result: no" >&5
30269 echo "${ECHO_T}no" >&6; }
30270 if test "$GTK_CONFIG" = "no" ; then
30271 echo "*** The gtk-config script installed by GTK could not be found"
30272 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30273 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30274 echo "*** full path to gtk-config."
30275 else
30276 if test -f conf.gtktest ; then
30277 :
30278 else
30279 echo "*** Could not run GTK test program, checking why..."
30280 CFLAGS="$CFLAGS $GTK_CFLAGS"
30281 LIBS="$LIBS $GTK_LIBS"
30282 cat >conftest.$ac_ext <<_ACEOF
30283 /* confdefs.h. */
30284 _ACEOF
30285 cat confdefs.h >>conftest.$ac_ext
30286 cat >>conftest.$ac_ext <<_ACEOF
30287 /* end confdefs.h. */
30288
30289 #include <gtk/gtk.h>
30290 #include <stdio.h>
30291
30292 int
30293 main ()
30294 {
30295 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30296 ;
30297 return 0;
30298 }
30299 _ACEOF
30300 rm -f conftest.$ac_objext conftest$ac_exeext
30301 if { (ac_try="$ac_link"
30302 case "(($ac_try" in
30303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30304 *) ac_try_echo=$ac_try;;
30305 esac
30306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30307 (eval "$ac_link") 2>conftest.er1
30308 ac_status=$?
30309 grep -v '^ *+' conftest.er1 >conftest.err
30310 rm -f conftest.er1
30311 cat conftest.err >&5
30312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30313 (exit $ac_status); } && {
30314 test -z "$ac_c_werror_flag" ||
30315 test ! -s conftest.err
30316 } && test -s conftest$ac_exeext &&
30317 $as_test_x conftest$ac_exeext; then
30318 echo "*** The test program compiled, but did not run. This usually means"
30319 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30320 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30321 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30322 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30323 echo "*** is required on your system"
30324 echo "***"
30325 echo "*** If you have an old version installed, it is best to remove it, although"
30326 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30327 echo "***"
30328 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30329 echo "*** came with the system with the command"
30330 echo "***"
30331 echo "*** rpm --erase --nodeps gtk gtk-devel"
30332 else
30333 echo "$as_me: failed program was:" >&5
30334 sed 's/^/| /' conftest.$ac_ext >&5
30335
30336 echo "*** The test program failed to compile or link. See the file config.log for the"
30337 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30338 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30339 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30340 fi
30341
30342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30343 conftest$ac_exeext conftest.$ac_ext
30344 CFLAGS="$ac_save_CFLAGS"
30345 LIBS="$ac_save_LIBS"
30346 fi
30347 fi
30348 GTK_CFLAGS=""
30349 GTK_LIBS=""
30350 :
30351 fi
30352
30353
30354 rm -f conf.gtktest
30355
30356 fi
30357 fi
30358 fi
30359
30360 if test -z "$wx_cv_lib_gtk"; then
30361 wx_cv_lib_gtk=none
30362 else
30363 wx_cv_cflags_gtk=$GTK_CFLAGS
30364 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
30365 fi
30366
30367
30368 fi
30369
30370
30371 if test "$gtk_version_cached" = 1; then
30372 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30373 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30374 fi
30375
30376 case "$wx_cv_lib_gtk" in
30377 2.0) WXGTK2=1
30378 TOOLKIT_VERSION=2
30379 ;;
30380 1.2.7) WXGTK127=1
30381 WXGTK12=1
30382 ;;
30383 1.2.3) WXGTK12=1
30384 ;;
30385 *) { { echo "$as_me:$LINENO: error:
30386 The development files for GTK+ were not found. For GTK+ 2, please
30387 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30388 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30389 and that the version is 1.2.3 or above. Also check that the
30390 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30391 --libs' are in the LD_LIBRARY_PATH or equivalent.
30392 " >&5
30393 echo "$as_me: error:
30394 The development files for GTK+ were not found. For GTK+ 2, please
30395 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30396 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30397 and that the version is 1.2.3 or above. Also check that the
30398 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30399 --libs' are in the LD_LIBRARY_PATH or equivalent.
30400 " >&2;}
30401 { (exit 1); exit 1; }; }
30402 ;;
30403 esac
30404
30405 if test "$WXGTK2" = 1; then
30406 save_CFLAGS="$CFLAGS"
30407 save_LIBS="$LIBS"
30408 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30409 LIBS="$LIBS $wx_cv_libs_gtk"
30410
30411 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30412 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30413 cat >conftest.$ac_ext <<_ACEOF
30414 /* confdefs.h. */
30415 _ACEOF
30416 cat confdefs.h >>conftest.$ac_ext
30417 cat >>conftest.$ac_ext <<_ACEOF
30418 /* end confdefs.h. */
30419
30420 #include <gtk/gtk.h>
30421
30422 int
30423 main ()
30424 {
30425
30426 #if !GTK_CHECK_VERSION(2,18,0)
30427 Not GTK+ 2.18
30428 #endif
30429
30430 ;
30431 return 0;
30432 }
30433 _ACEOF
30434 rm -f conftest.$ac_objext
30435 if { (ac_try="$ac_compile"
30436 case "(($ac_try" in
30437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30438 *) ac_try_echo=$ac_try;;
30439 esac
30440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30441 (eval "$ac_compile") 2>conftest.er1
30442 ac_status=$?
30443 grep -v '^ *+' conftest.er1 >conftest.err
30444 rm -f conftest.er1
30445 cat conftest.err >&5
30446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30447 (exit $ac_status); } && {
30448 test -z "$ac_c_werror_flag" ||
30449 test ! -s conftest.err
30450 } && test -s conftest.$ac_objext; then
30451
30452 cat >>confdefs.h <<\_ACEOF
30453 #define __WXGTK218__ 1
30454 _ACEOF
30455
30456 cat >>confdefs.h <<\_ACEOF
30457 #define __WXGTK210__ 1
30458 _ACEOF
30459
30460 cat >>confdefs.h <<\_ACEOF
30461 #define __WXGTK26__ 1
30462 _ACEOF
30463
30464 { echo "$as_me:$LINENO: result: yes" >&5
30465 echo "${ECHO_T}yes" >&6; }
30466 ac_wxgtk218=1
30467
30468 else
30469 echo "$as_me: failed program was:" >&5
30470 sed 's/^/| /' conftest.$ac_ext >&5
30471
30472
30473 { echo "$as_me:$LINENO: result: no" >&5
30474 echo "${ECHO_T}no" >&6; }
30475 ac_wxgtk218=0
30476
30477 fi
30478
30479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30480
30481 if test "$ac_wxgtk218" = 0; then
30482 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30483 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30484 cat >conftest.$ac_ext <<_ACEOF
30485 /* confdefs.h. */
30486 _ACEOF
30487 cat confdefs.h >>conftest.$ac_ext
30488 cat >>conftest.$ac_ext <<_ACEOF
30489 /* end confdefs.h. */
30490
30491 #include <gtk/gtk.h>
30492
30493 int
30494 main ()
30495 {
30496
30497 #if !GTK_CHECK_VERSION(2,10,0)
30498 Not GTK+ 2.10
30499 #endif
30500
30501 ;
30502 return 0;
30503 }
30504 _ACEOF
30505 rm -f conftest.$ac_objext
30506 if { (ac_try="$ac_compile"
30507 case "(($ac_try" in
30508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30509 *) ac_try_echo=$ac_try;;
30510 esac
30511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30512 (eval "$ac_compile") 2>conftest.er1
30513 ac_status=$?
30514 grep -v '^ *+' conftest.er1 >conftest.err
30515 rm -f conftest.er1
30516 cat conftest.err >&5
30517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30518 (exit $ac_status); } && {
30519 test -z "$ac_c_werror_flag" ||
30520 test ! -s conftest.err
30521 } && test -s conftest.$ac_objext; then
30522
30523 cat >>confdefs.h <<\_ACEOF
30524 #define __WXGTK210__ 1
30525 _ACEOF
30526
30527 cat >>confdefs.h <<\_ACEOF
30528 #define __WXGTK26__ 1
30529 _ACEOF
30530
30531 { echo "$as_me:$LINENO: result: yes" >&5
30532 echo "${ECHO_T}yes" >&6; }
30533 ac_wxgtk210=1
30534
30535 else
30536 echo "$as_me: failed program was:" >&5
30537 sed 's/^/| /' conftest.$ac_ext >&5
30538
30539
30540 { echo "$as_me:$LINENO: result: no" >&5
30541 echo "${ECHO_T}no" >&6; }
30542 ac_wxgtk210=0
30543
30544 fi
30545
30546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30547
30548 if test "$ac_wxgtk210" = 0; then
30549 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30550 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30551 cat >conftest.$ac_ext <<_ACEOF
30552 /* confdefs.h. */
30553 _ACEOF
30554 cat confdefs.h >>conftest.$ac_ext
30555 cat >>conftest.$ac_ext <<_ACEOF
30556 /* end confdefs.h. */
30557
30558 #include <gtk/gtk.h>
30559
30560 int
30561 main ()
30562 {
30563
30564 #if !GTK_CHECK_VERSION(2,6,0)
30565 Not GTK+ 2.6
30566 #endif
30567
30568 ;
30569 return 0;
30570 }
30571 _ACEOF
30572 rm -f conftest.$ac_objext
30573 if { (ac_try="$ac_compile"
30574 case "(($ac_try" in
30575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30576 *) ac_try_echo=$ac_try;;
30577 esac
30578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30579 (eval "$ac_compile") 2>conftest.er1
30580 ac_status=$?
30581 grep -v '^ *+' conftest.er1 >conftest.err
30582 rm -f conftest.er1
30583 cat conftest.err >&5
30584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30585 (exit $ac_status); } && {
30586 test -z "$ac_c_werror_flag" ||
30587 test ! -s conftest.err
30588 } && test -s conftest.$ac_objext; then
30589
30590 cat >>confdefs.h <<\_ACEOF
30591 #define __WXGTK26__ 1
30592 _ACEOF
30593
30594 { echo "$as_me:$LINENO: result: yes" >&5
30595 echo "${ECHO_T}yes" >&6; }
30596 ac_wxgtk26=1
30597
30598 else
30599 echo "$as_me: failed program was:" >&5
30600 sed 's/^/| /' conftest.$ac_ext >&5
30601
30602
30603 { echo "$as_me:$LINENO: result: no" >&5
30604 echo "${ECHO_T}no" >&6; }
30605 ac_wxgtk26=0
30606
30607 fi
30608
30609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30610 fi
30611 fi
30612
30613 CFLAGS="$save_CFLAGS"
30614 LIBS="$save_LIBS"
30615 else
30616 if test "$wxUSE_UNICODE" = "yes"; then
30617 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30618 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30619 wxUSE_UNICODE=no
30620 fi
30621
30622 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30623 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30624 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30625 echo $ECHO_N "(cached) $ECHO_C" >&6
30626 else
30627 ac_check_lib_save_LIBS=$LIBS
30628 LIBS="-lgdk $LIBS"
30629 cat >conftest.$ac_ext <<_ACEOF
30630 /* confdefs.h. */
30631 _ACEOF
30632 cat confdefs.h >>conftest.$ac_ext
30633 cat >>conftest.$ac_ext <<_ACEOF
30634 /* end confdefs.h. */
30635
30636 /* Override any GCC internal prototype to avoid an error.
30637 Use char because int might match the return type of a GCC
30638 builtin and then its argument prototype would still apply. */
30639 #ifdef __cplusplus
30640 extern "C"
30641 #endif
30642 char gdk_im_open ();
30643 int
30644 main ()
30645 {
30646 return gdk_im_open ();
30647 ;
30648 return 0;
30649 }
30650 _ACEOF
30651 rm -f conftest.$ac_objext conftest$ac_exeext
30652 if { (ac_try="$ac_link"
30653 case "(($ac_try" in
30654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30655 *) ac_try_echo=$ac_try;;
30656 esac
30657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30658 (eval "$ac_link") 2>conftest.er1
30659 ac_status=$?
30660 grep -v '^ *+' conftest.er1 >conftest.err
30661 rm -f conftest.er1
30662 cat conftest.err >&5
30663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30664 (exit $ac_status); } && {
30665 test -z "$ac_c_werror_flag" ||
30666 test ! -s conftest.err
30667 } && test -s conftest$ac_exeext &&
30668 $as_test_x conftest$ac_exeext; then
30669 ac_cv_lib_gdk_gdk_im_open=yes
30670 else
30671 echo "$as_me: failed program was:" >&5
30672 sed 's/^/| /' conftest.$ac_ext >&5
30673
30674 ac_cv_lib_gdk_gdk_im_open=no
30675 fi
30676
30677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30678 conftest$ac_exeext conftest.$ac_ext
30679 LIBS=$ac_check_lib_save_LIBS
30680 fi
30681 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30682 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
30683 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30684 cat >>confdefs.h <<\_ACEOF
30685 #define HAVE_XIM 1
30686 _ACEOF
30687
30688 fi
30689
30690
30691 if test "$USE_DARWIN" != 1; then
30692
30693 for ac_func in poll
30694 do
30695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30696 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30698 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30699 echo $ECHO_N "(cached) $ECHO_C" >&6
30700 else
30701 cat >conftest.$ac_ext <<_ACEOF
30702 /* confdefs.h. */
30703 _ACEOF
30704 cat confdefs.h >>conftest.$ac_ext
30705 cat >>conftest.$ac_ext <<_ACEOF
30706 /* end confdefs.h. */
30707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30709 #define $ac_func innocuous_$ac_func
30710
30711 /* System header to define __stub macros and hopefully few prototypes,
30712 which can conflict with char $ac_func (); below.
30713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30714 <limits.h> exists even on freestanding compilers. */
30715
30716 #ifdef __STDC__
30717 # include <limits.h>
30718 #else
30719 # include <assert.h>
30720 #endif
30721
30722 #undef $ac_func
30723
30724 /* Override any GCC internal prototype to avoid an error.
30725 Use char because int might match the return type of a GCC
30726 builtin and then its argument prototype would still apply. */
30727 #ifdef __cplusplus
30728 extern "C"
30729 #endif
30730 char $ac_func ();
30731 /* The GNU C library defines this for functions which it implements
30732 to always fail with ENOSYS. Some functions are actually named
30733 something starting with __ and the normal name is an alias. */
30734 #if defined __stub_$ac_func || defined __stub___$ac_func
30735 choke me
30736 #endif
30737
30738 int
30739 main ()
30740 {
30741 return $ac_func ();
30742 ;
30743 return 0;
30744 }
30745 _ACEOF
30746 rm -f conftest.$ac_objext conftest$ac_exeext
30747 if { (ac_try="$ac_link"
30748 case "(($ac_try" in
30749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30750 *) ac_try_echo=$ac_try;;
30751 esac
30752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30753 (eval "$ac_link") 2>conftest.er1
30754 ac_status=$?
30755 grep -v '^ *+' conftest.er1 >conftest.err
30756 rm -f conftest.er1
30757 cat conftest.err >&5
30758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30759 (exit $ac_status); } && {
30760 test -z "$ac_c_werror_flag" ||
30761 test ! -s conftest.err
30762 } && test -s conftest$ac_exeext &&
30763 $as_test_x conftest$ac_exeext; then
30764 eval "$as_ac_var=yes"
30765 else
30766 echo "$as_me: failed program was:" >&5
30767 sed 's/^/| /' conftest.$ac_ext >&5
30768
30769 eval "$as_ac_var=no"
30770 fi
30771
30772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30773 conftest$ac_exeext conftest.$ac_ext
30774 fi
30775 ac_res=`eval echo '${'$as_ac_var'}'`
30776 { echo "$as_me:$LINENO: result: $ac_res" >&5
30777 echo "${ECHO_T}$ac_res" >&6; }
30778 if test `eval echo '${'$as_ac_var'}'` = yes; then
30779 cat >>confdefs.h <<_ACEOF
30780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30781 _ACEOF
30782
30783 fi
30784 done
30785
30786 fi
30787 fi
30788
30789 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
30790 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
30791
30792 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
30793
30794 AFMINSTALL=afminstall
30795 TOOLKIT=GTK
30796 GUIDIST=GTK_DIST
30797
30798 if test "$wxUSE_GPE" = "yes"; then
30799 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
30800 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
30801
30802 ac_find_libraries=
30803 for ac_dir in $SEARCH_LIB;
30804 do
30805 for ac_extension in a so sl dylib dll.a; do
30806 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
30807 ac_find_libraries=$ac_dir
30808 break 2
30809 fi
30810 done
30811 done
30812
30813 if test "$ac_find_libraries" != "" ; then
30814
30815 if test "$ac_find_libraries" = "default location"; then
30816 ac_path_to_link=""
30817 else
30818 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30819 result=$?
30820 if test $result = 0; then
30821 ac_path_to_link=""
30822 else
30823 ac_path_to_link=" -L$ac_find_libraries"
30824 fi
30825 fi
30826
30827 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
30828 WXGPE=1
30829 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30830 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30831 else
30832 { echo "$as_me:$LINENO: result: not found" >&5
30833 echo "${ECHO_T}not found" >&6; }
30834 fi
30835
30836 fi
30837 fi
30838
30839 if test "$wxUSE_MGL" = 1; then
30840 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
30841 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
30842 if test "x$MGL_ROOT" = x ; then
30843 { echo "$as_me:$LINENO: result: not found" >&5
30844 echo "${ECHO_T}not found" >&6; }
30845 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
30846 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
30847 { (exit 1); exit 1; }; }
30848 else
30849 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
30850 echo "${ECHO_T}$MGL_ROOT" >&6; }
30851 fi
30852
30853 { echo "$as_me:$LINENO: checking for libmgl location" >&5
30854 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
30855 case "${host}" in
30856 *-*-linux* )
30857 if test "x$wxUSE_SHARED" = xyes ; then
30858 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
30859 else
30860 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
30861 fi
30862 ;;
30863 *-pc-msdosdjgpp )
30864 mgl_os_candidates="dos32/dj2"
30865 ;;
30866 *)
30867 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
30868 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
30869 { (exit 1); exit 1; }; }
30870 esac
30871
30872 mgl_lib_type=""
30873 mgl_os=""
30874
30875 for mgl_os_i in $mgl_os_candidates ; do
30876 if test "x$mgl_os" = x ; then
30877 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30878 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
30879 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
30880 mgl_lib_type=debug
30881 mgl_os=$mgl_os_i
30882 fi
30883 fi
30884 if test "x$mgl_lib_type" = x ; then
30885 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
30886 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
30887 mgl_lib_type=release
30888 mgl_os=$mgl_os_i
30889 fi
30890 fi
30891 fi
30892 done
30893
30894 if test "x$mgl_os" = x ; then
30895 { echo "$as_me:$LINENO: result: not found" >&5
30896 echo "${ECHO_T}not found" >&6; }
30897 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30898 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30899 { (exit 1); exit 1; }; }
30900 fi
30901 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30902 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
30903
30904 wxUSE_UNIVERSAL="yes"
30905
30906 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
30907 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30908
30909 AFMINSTALL=afminstall
30910 TOOLKIT=MGL
30911 GUIDIST=MGL_DIST
30912 fi
30913
30914 if test "$wxUSE_DFB" = 1; then
30915
30916
30917 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30918 if test -n "$ac_tool_prefix"; then
30919 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30920 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30921 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30923 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30924 echo $ECHO_N "(cached) $ECHO_C" >&6
30925 else
30926 case $PKG_CONFIG in
30927 [\\/]* | ?:[\\/]*)
30928 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30929 ;;
30930 *)
30931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30932 for as_dir in $PATH
30933 do
30934 IFS=$as_save_IFS
30935 test -z "$as_dir" && as_dir=.
30936 for ac_exec_ext in '' $ac_executable_extensions; do
30937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30938 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30940 break 2
30941 fi
30942 done
30943 done
30944 IFS=$as_save_IFS
30945
30946 ;;
30947 esac
30948 fi
30949 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30950 if test -n "$PKG_CONFIG"; then
30951 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30952 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30953 else
30954 { echo "$as_me:$LINENO: result: no" >&5
30955 echo "${ECHO_T}no" >&6; }
30956 fi
30957
30958
30959 fi
30960 if test -z "$ac_cv_path_PKG_CONFIG"; then
30961 ac_pt_PKG_CONFIG=$PKG_CONFIG
30962 # Extract the first word of "pkg-config", so it can be a program name with args.
30963 set dummy pkg-config; ac_word=$2
30964 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30966 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30967 echo $ECHO_N "(cached) $ECHO_C" >&6
30968 else
30969 case $ac_pt_PKG_CONFIG in
30970 [\\/]* | ?:[\\/]*)
30971 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30972 ;;
30973 *)
30974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30975 for as_dir in $PATH
30976 do
30977 IFS=$as_save_IFS
30978 test -z "$as_dir" && as_dir=.
30979 for ac_exec_ext in '' $ac_executable_extensions; do
30980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30981 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30983 break 2
30984 fi
30985 done
30986 done
30987 IFS=$as_save_IFS
30988
30989 ;;
30990 esac
30991 fi
30992 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30993 if test -n "$ac_pt_PKG_CONFIG"; then
30994 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30995 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30996 else
30997 { echo "$as_me:$LINENO: result: no" >&5
30998 echo "${ECHO_T}no" >&6; }
30999 fi
31000
31001 if test "x$ac_pt_PKG_CONFIG" = x; then
31002 PKG_CONFIG=""
31003 else
31004 case $cross_compiling:$ac_tool_warned in
31005 yes:)
31006 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31007 whose name does not start with the host triplet. If you think this
31008 configuration is useful to you, please write to autoconf@gnu.org." >&5
31009 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31010 whose name does not start with the host triplet. If you think this
31011 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31012 ac_tool_warned=yes ;;
31013 esac
31014 PKG_CONFIG=$ac_pt_PKG_CONFIG
31015 fi
31016 else
31017 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31018 fi
31019
31020 fi
31021 if test -n "$PKG_CONFIG"; then
31022 _pkg_min_version=0.9.0
31023 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31024 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31025 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31026 { echo "$as_me:$LINENO: result: yes" >&5
31027 echo "${ECHO_T}yes" >&6; }
31028 else
31029 { echo "$as_me:$LINENO: result: no" >&5
31030 echo "${ECHO_T}no" >&6; }
31031 PKG_CONFIG=""
31032 fi
31033
31034 fi
31035
31036
31037 pkg_failed=no
31038 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31039 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31040
31041 if test -n "$PKG_CONFIG"; then
31042 if test -n "$DIRECTFB_CFLAGS"; then
31043 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31044 else
31045 if test -n "$PKG_CONFIG" && \
31046 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31047 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31048 ac_status=$?
31049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31050 (exit $ac_status); }; then
31051 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31052 else
31053 pkg_failed=yes
31054 fi
31055 fi
31056 else
31057 pkg_failed=untried
31058 fi
31059 if test -n "$PKG_CONFIG"; then
31060 if test -n "$DIRECTFB_LIBS"; then
31061 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31062 else
31063 if test -n "$PKG_CONFIG" && \
31064 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31065 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31066 ac_status=$?
31067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31068 (exit $ac_status); }; then
31069 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31070 else
31071 pkg_failed=yes
31072 fi
31073 fi
31074 else
31075 pkg_failed=untried
31076 fi
31077
31078
31079
31080 if test $pkg_failed = yes; then
31081
31082 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31083 _pkg_short_errors_supported=yes
31084 else
31085 _pkg_short_errors_supported=no
31086 fi
31087 if test $_pkg_short_errors_supported = yes; then
31088 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31089 else
31090 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31091 fi
31092 # Put the nasty error message in config.log where it belongs
31093 echo "$DIRECTFB_PKG_ERRORS" >&5
31094
31095
31096 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31097 echo "$as_me: error: DirectFB not found." >&2;}
31098 { (exit 1); exit 1; }; }
31099
31100
31101 elif test $pkg_failed = untried; then
31102
31103 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31104 echo "$as_me: error: DirectFB not found." >&2;}
31105 { (exit 1); exit 1; }; }
31106
31107
31108 else
31109 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31110 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31111 { echo "$as_me:$LINENO: result: yes" >&5
31112 echo "${ECHO_T}yes" >&6; }
31113
31114 wxUSE_UNIVERSAL="yes"
31115 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31116 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31117 TOOLKIT=DFB
31118 GUIDIST=DFB_DIST
31119
31120 fi
31121 fi
31122
31123 if test "$wxUSE_MICROWIN" = 1; then
31124 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31125 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31126 if test "x$MICROWINDOWS" = x ; then
31127 { echo "$as_me:$LINENO: result: not found" >&5
31128 echo "${ECHO_T}not found" >&6; }
31129 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31130 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31131 { (exit 1); exit 1; }; }
31132 else
31133 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31134 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31135 fi
31136
31137 if test -f $MICROWINDOWS/lib/libmwin.a; then
31138 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31139 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31140 else
31141 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31142 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31143 { (exit 1); exit 1; }; }
31144 fi
31145
31146 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31147 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31148
31149 wxUSE_UNIVERSAL="yes"
31150
31151 AFMINSTALL=afminstall
31152 TOOLKIT=MICROWIN
31153 GUIDIST=MICROWIN_DIST
31154
31155 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31156 fi
31157
31158 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31159 { echo "$as_me:$LINENO: checking for X" >&5
31160 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31161
31162
31163 # Check whether --with-x was given.
31164 if test "${with_x+set}" = set; then
31165 withval=$with_x;
31166 fi
31167
31168 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31169 if test "x$with_x" = xno; then
31170 # The user explicitly disabled X.
31171 have_x=disabled
31172 else
31173 case $x_includes,$x_libraries in #(
31174 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31175 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31176 { (exit 1); exit 1; }; };; #(
31177 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31178 echo $ECHO_N "(cached) $ECHO_C" >&6
31179 else
31180 # One or both of the vars are not set, and there is no cached value.
31181 ac_x_includes=no ac_x_libraries=no
31182 rm -f -r conftest.dir
31183 if mkdir conftest.dir; then
31184 cd conftest.dir
31185 cat >Imakefile <<'_ACEOF'
31186 incroot:
31187 @echo incroot='${INCROOT}'
31188 usrlibdir:
31189 @echo usrlibdir='${USRLIBDIR}'
31190 libdir:
31191 @echo libdir='${LIBDIR}'
31192 _ACEOF
31193 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31194 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31195 for ac_var in incroot usrlibdir libdir; do
31196 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31197 done
31198 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31199 for ac_extension in a so sl; do
31200 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31201 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31202 ac_im_usrlibdir=$ac_im_libdir; break
31203 fi
31204 done
31205 # Screen out bogus values from the imake configuration. They are
31206 # bogus both because they are the default anyway, and because
31207 # using them would break gcc on systems where it needs fixed includes.
31208 case $ac_im_incroot in
31209 /usr/include) ac_x_includes= ;;
31210 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31211 esac
31212 case $ac_im_usrlibdir in
31213 /usr/lib | /lib) ;;
31214 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31215 esac
31216 fi
31217 cd ..
31218 rm -f -r conftest.dir
31219 fi
31220
31221 # Standard set of common directories for X headers.
31222 # Check X11 before X11Rn because it is often a symlink to the current release.
31223 ac_x_header_dirs='
31224 /usr/X11/include
31225 /usr/X11R6/include
31226 /usr/X11R5/include
31227 /usr/X11R4/include
31228
31229 /usr/include/X11
31230 /usr/include/X11R6
31231 /usr/include/X11R5
31232 /usr/include/X11R4
31233
31234 /usr/local/X11/include
31235 /usr/local/X11R6/include
31236 /usr/local/X11R5/include
31237 /usr/local/X11R4/include
31238
31239 /usr/local/include/X11
31240 /usr/local/include/X11R6
31241 /usr/local/include/X11R5
31242 /usr/local/include/X11R4
31243
31244 /usr/X386/include
31245 /usr/x386/include
31246 /usr/XFree86/include/X11
31247
31248 /usr/include
31249 /usr/local/include
31250 /usr/unsupported/include
31251 /usr/athena/include
31252 /usr/local/x11r5/include
31253 /usr/lpp/Xamples/include
31254
31255 /usr/openwin/include
31256 /usr/openwin/share/include'
31257
31258 if test "$ac_x_includes" = no; then
31259 # Guess where to find include files, by looking for Xlib.h.
31260 # First, try using that file with no special directory specified.
31261 cat >conftest.$ac_ext <<_ACEOF
31262 /* confdefs.h. */
31263 _ACEOF
31264 cat confdefs.h >>conftest.$ac_ext
31265 cat >>conftest.$ac_ext <<_ACEOF
31266 /* end confdefs.h. */
31267 #include <X11/Xlib.h>
31268 _ACEOF
31269 if { (ac_try="$ac_cpp conftest.$ac_ext"
31270 case "(($ac_try" in
31271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31272 *) ac_try_echo=$ac_try;;
31273 esac
31274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31275 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31276 ac_status=$?
31277 grep -v '^ *+' conftest.er1 >conftest.err
31278 rm -f conftest.er1
31279 cat conftest.err >&5
31280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31281 (exit $ac_status); } >/dev/null && {
31282 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31283 test ! -s conftest.err
31284 }; then
31285 # We can compile using X headers with no special include directory.
31286 ac_x_includes=
31287 else
31288 echo "$as_me: failed program was:" >&5
31289 sed 's/^/| /' conftest.$ac_ext >&5
31290
31291 for ac_dir in $ac_x_header_dirs; do
31292 if test -r "$ac_dir/X11/Xlib.h"; then
31293 ac_x_includes=$ac_dir
31294 break
31295 fi
31296 done
31297 fi
31298
31299 rm -f conftest.err conftest.$ac_ext
31300 fi # $ac_x_includes = no
31301
31302 if test "$ac_x_libraries" = no; then
31303 # Check for the libraries.
31304 # See if we find them without any special options.
31305 # Don't add to $LIBS permanently.
31306 ac_save_LIBS=$LIBS
31307 LIBS="-lX11 $LIBS"
31308 cat >conftest.$ac_ext <<_ACEOF
31309 /* confdefs.h. */
31310 _ACEOF
31311 cat confdefs.h >>conftest.$ac_ext
31312 cat >>conftest.$ac_ext <<_ACEOF
31313 /* end confdefs.h. */
31314 #include <X11/Xlib.h>
31315 int
31316 main ()
31317 {
31318 XrmInitialize ()
31319 ;
31320 return 0;
31321 }
31322 _ACEOF
31323 rm -f conftest.$ac_objext conftest$ac_exeext
31324 if { (ac_try="$ac_link"
31325 case "(($ac_try" in
31326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31327 *) ac_try_echo=$ac_try;;
31328 esac
31329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31330 (eval "$ac_link") 2>conftest.er1
31331 ac_status=$?
31332 grep -v '^ *+' conftest.er1 >conftest.err
31333 rm -f conftest.er1
31334 cat conftest.err >&5
31335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31336 (exit $ac_status); } && {
31337 test -z "$ac_c_werror_flag" ||
31338 test ! -s conftest.err
31339 } && test -s conftest$ac_exeext &&
31340 $as_test_x conftest$ac_exeext; then
31341 LIBS=$ac_save_LIBS
31342 # We can link X programs with no special library path.
31343 ac_x_libraries=
31344 else
31345 echo "$as_me: failed program was:" >&5
31346 sed 's/^/| /' conftest.$ac_ext >&5
31347
31348 LIBS=$ac_save_LIBS
31349 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31350 do
31351 # Don't even attempt the hair of trying to link an X program!
31352 for ac_extension in a so sl; do
31353 if test -r "$ac_dir/libX11.$ac_extension"; then
31354 ac_x_libraries=$ac_dir
31355 break 2
31356 fi
31357 done
31358 done
31359 fi
31360
31361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31362 conftest$ac_exeext conftest.$ac_ext
31363 fi # $ac_x_libraries = no
31364
31365 case $ac_x_includes,$ac_x_libraries in #(
31366 no,* | *,no | *\'*)
31367 # Didn't find X, or a directory has "'" in its name.
31368 ac_cv_have_x="have_x=no";; #(
31369 *)
31370 # Record where we found X for the cache.
31371 ac_cv_have_x="have_x=yes\
31372 ac_x_includes='$ac_x_includes'\
31373 ac_x_libraries='$ac_x_libraries'"
31374 esac
31375 fi
31376 ;; #(
31377 *) have_x=yes;;
31378 esac
31379 eval "$ac_cv_have_x"
31380 fi # $with_x != no
31381
31382 if test "$have_x" != yes; then
31383 { echo "$as_me:$LINENO: result: $have_x" >&5
31384 echo "${ECHO_T}$have_x" >&6; }
31385 no_x=yes
31386 else
31387 # If each of the values was on the command line, it overrides each guess.
31388 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31389 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31390 # Update the cache value to reflect the command line values.
31391 ac_cv_have_x="have_x=yes\
31392 ac_x_includes='$x_includes'\
31393 ac_x_libraries='$x_libraries'"
31394 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31395 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31396 fi
31397
31398 if test "$no_x" = yes; then
31399 # Not all programs may use this symbol, but it does not hurt to define it.
31400
31401 cat >>confdefs.h <<\_ACEOF
31402 #define X_DISPLAY_MISSING 1
31403 _ACEOF
31404
31405 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31406 else
31407 if test -n "$x_includes"; then
31408 X_CFLAGS="$X_CFLAGS -I$x_includes"
31409 fi
31410
31411 # It would also be nice to do this for all -L options, not just this one.
31412 if test -n "$x_libraries"; then
31413 X_LIBS="$X_LIBS -L$x_libraries"
31414 # For Solaris; some versions of Sun CC require a space after -R and
31415 # others require no space. Words are not sufficient . . . .
31416 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31417 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31418 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31419 ac_xsave_c_werror_flag=$ac_c_werror_flag
31420 ac_c_werror_flag=yes
31421 cat >conftest.$ac_ext <<_ACEOF
31422 /* confdefs.h. */
31423 _ACEOF
31424 cat confdefs.h >>conftest.$ac_ext
31425 cat >>conftest.$ac_ext <<_ACEOF
31426 /* end confdefs.h. */
31427
31428 int
31429 main ()
31430 {
31431
31432 ;
31433 return 0;
31434 }
31435 _ACEOF
31436 rm -f conftest.$ac_objext conftest$ac_exeext
31437 if { (ac_try="$ac_link"
31438 case "(($ac_try" in
31439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31440 *) ac_try_echo=$ac_try;;
31441 esac
31442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31443 (eval "$ac_link") 2>conftest.er1
31444 ac_status=$?
31445 grep -v '^ *+' conftest.er1 >conftest.err
31446 rm -f conftest.er1
31447 cat conftest.err >&5
31448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31449 (exit $ac_status); } && {
31450 test -z "$ac_c_werror_flag" ||
31451 test ! -s conftest.err
31452 } && test -s conftest$ac_exeext &&
31453 $as_test_x conftest$ac_exeext; then
31454 { echo "$as_me:$LINENO: result: no" >&5
31455 echo "${ECHO_T}no" >&6; }
31456 X_LIBS="$X_LIBS -R$x_libraries"
31457 else
31458 echo "$as_me: failed program was:" >&5
31459 sed 's/^/| /' conftest.$ac_ext >&5
31460
31461 LIBS="$ac_xsave_LIBS -R $x_libraries"
31462 cat >conftest.$ac_ext <<_ACEOF
31463 /* confdefs.h. */
31464 _ACEOF
31465 cat confdefs.h >>conftest.$ac_ext
31466 cat >>conftest.$ac_ext <<_ACEOF
31467 /* end confdefs.h. */
31468
31469 int
31470 main ()
31471 {
31472
31473 ;
31474 return 0;
31475 }
31476 _ACEOF
31477 rm -f conftest.$ac_objext conftest$ac_exeext
31478 if { (ac_try="$ac_link"
31479 case "(($ac_try" in
31480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31481 *) ac_try_echo=$ac_try;;
31482 esac
31483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31484 (eval "$ac_link") 2>conftest.er1
31485 ac_status=$?
31486 grep -v '^ *+' conftest.er1 >conftest.err
31487 rm -f conftest.er1
31488 cat conftest.err >&5
31489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31490 (exit $ac_status); } && {
31491 test -z "$ac_c_werror_flag" ||
31492 test ! -s conftest.err
31493 } && test -s conftest$ac_exeext &&
31494 $as_test_x conftest$ac_exeext; then
31495 { echo "$as_me:$LINENO: result: yes" >&5
31496 echo "${ECHO_T}yes" >&6; }
31497 X_LIBS="$X_LIBS -R $x_libraries"
31498 else
31499 echo "$as_me: failed program was:" >&5
31500 sed 's/^/| /' conftest.$ac_ext >&5
31501
31502 { echo "$as_me:$LINENO: result: neither works" >&5
31503 echo "${ECHO_T}neither works" >&6; }
31504 fi
31505
31506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31507 conftest$ac_exeext conftest.$ac_ext
31508 fi
31509
31510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31511 conftest$ac_exeext conftest.$ac_ext
31512 ac_c_werror_flag=$ac_xsave_c_werror_flag
31513 LIBS=$ac_xsave_LIBS
31514 fi
31515
31516 # Check for system-dependent libraries X programs must link with.
31517 # Do this before checking for the system-independent R6 libraries
31518 # (-lICE), since we may need -lsocket or whatever for X linking.
31519
31520 if test "$ISC" = yes; then
31521 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31522 else
31523 # Martyn Johnson says this is needed for Ultrix, if the X
31524 # libraries were built with DECnet support. And Karl Berry says
31525 # the Alpha needs dnet_stub (dnet does not exist).
31526 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31527 cat >conftest.$ac_ext <<_ACEOF
31528 /* confdefs.h. */
31529 _ACEOF
31530 cat confdefs.h >>conftest.$ac_ext
31531 cat >>conftest.$ac_ext <<_ACEOF
31532 /* end confdefs.h. */
31533
31534 /* Override any GCC internal prototype to avoid an error.
31535 Use char because int might match the return type of a GCC
31536 builtin and then its argument prototype would still apply. */
31537 #ifdef __cplusplus
31538 extern "C"
31539 #endif
31540 char XOpenDisplay ();
31541 int
31542 main ()
31543 {
31544 return XOpenDisplay ();
31545 ;
31546 return 0;
31547 }
31548 _ACEOF
31549 rm -f conftest.$ac_objext conftest$ac_exeext
31550 if { (ac_try="$ac_link"
31551 case "(($ac_try" in
31552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31553 *) ac_try_echo=$ac_try;;
31554 esac
31555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31556 (eval "$ac_link") 2>conftest.er1
31557 ac_status=$?
31558 grep -v '^ *+' conftest.er1 >conftest.err
31559 rm -f conftest.er1
31560 cat conftest.err >&5
31561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31562 (exit $ac_status); } && {
31563 test -z "$ac_c_werror_flag" ||
31564 test ! -s conftest.err
31565 } && test -s conftest$ac_exeext &&
31566 $as_test_x conftest$ac_exeext; then
31567 :
31568 else
31569 echo "$as_me: failed program was:" >&5
31570 sed 's/^/| /' conftest.$ac_ext >&5
31571
31572 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31573 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31574 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31575 echo $ECHO_N "(cached) $ECHO_C" >&6
31576 else
31577 ac_check_lib_save_LIBS=$LIBS
31578 LIBS="-ldnet $LIBS"
31579 cat >conftest.$ac_ext <<_ACEOF
31580 /* confdefs.h. */
31581 _ACEOF
31582 cat confdefs.h >>conftest.$ac_ext
31583 cat >>conftest.$ac_ext <<_ACEOF
31584 /* end confdefs.h. */
31585
31586 /* Override any GCC internal prototype to avoid an error.
31587 Use char because int might match the return type of a GCC
31588 builtin and then its argument prototype would still apply. */
31589 #ifdef __cplusplus
31590 extern "C"
31591 #endif
31592 char dnet_ntoa ();
31593 int
31594 main ()
31595 {
31596 return dnet_ntoa ();
31597 ;
31598 return 0;
31599 }
31600 _ACEOF
31601 rm -f conftest.$ac_objext conftest$ac_exeext
31602 if { (ac_try="$ac_link"
31603 case "(($ac_try" in
31604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31605 *) ac_try_echo=$ac_try;;
31606 esac
31607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31608 (eval "$ac_link") 2>conftest.er1
31609 ac_status=$?
31610 grep -v '^ *+' conftest.er1 >conftest.err
31611 rm -f conftest.er1
31612 cat conftest.err >&5
31613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31614 (exit $ac_status); } && {
31615 test -z "$ac_c_werror_flag" ||
31616 test ! -s conftest.err
31617 } && test -s conftest$ac_exeext &&
31618 $as_test_x conftest$ac_exeext; then
31619 ac_cv_lib_dnet_dnet_ntoa=yes
31620 else
31621 echo "$as_me: failed program was:" >&5
31622 sed 's/^/| /' conftest.$ac_ext >&5
31623
31624 ac_cv_lib_dnet_dnet_ntoa=no
31625 fi
31626
31627 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31628 conftest$ac_exeext conftest.$ac_ext
31629 LIBS=$ac_check_lib_save_LIBS
31630 fi
31631 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31632 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
31633 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31634 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31635 fi
31636
31637 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31638 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31639 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
31640 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31641 echo $ECHO_N "(cached) $ECHO_C" >&6
31642 else
31643 ac_check_lib_save_LIBS=$LIBS
31644 LIBS="-ldnet_stub $LIBS"
31645 cat >conftest.$ac_ext <<_ACEOF
31646 /* confdefs.h. */
31647 _ACEOF
31648 cat confdefs.h >>conftest.$ac_ext
31649 cat >>conftest.$ac_ext <<_ACEOF
31650 /* end confdefs.h. */
31651
31652 /* Override any GCC internal prototype to avoid an error.
31653 Use char because int might match the return type of a GCC
31654 builtin and then its argument prototype would still apply. */
31655 #ifdef __cplusplus
31656 extern "C"
31657 #endif
31658 char dnet_ntoa ();
31659 int
31660 main ()
31661 {
31662 return dnet_ntoa ();
31663 ;
31664 return 0;
31665 }
31666 _ACEOF
31667 rm -f conftest.$ac_objext conftest$ac_exeext
31668 if { (ac_try="$ac_link"
31669 case "(($ac_try" in
31670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31671 *) ac_try_echo=$ac_try;;
31672 esac
31673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31674 (eval "$ac_link") 2>conftest.er1
31675 ac_status=$?
31676 grep -v '^ *+' conftest.er1 >conftest.err
31677 rm -f conftest.er1
31678 cat conftest.err >&5
31679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31680 (exit $ac_status); } && {
31681 test -z "$ac_c_werror_flag" ||
31682 test ! -s conftest.err
31683 } && test -s conftest$ac_exeext &&
31684 $as_test_x conftest$ac_exeext; then
31685 ac_cv_lib_dnet_stub_dnet_ntoa=yes
31686 else
31687 echo "$as_me: failed program was:" >&5
31688 sed 's/^/| /' conftest.$ac_ext >&5
31689
31690 ac_cv_lib_dnet_stub_dnet_ntoa=no
31691 fi
31692
31693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31694 conftest$ac_exeext conftest.$ac_ext
31695 LIBS=$ac_check_lib_save_LIBS
31696 fi
31697 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31698 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
31699 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31700 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
31701 fi
31702
31703 fi
31704 fi
31705
31706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31707 conftest$ac_exeext conftest.$ac_ext
31708 LIBS="$ac_xsave_LIBS"
31709
31710 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
31711 # to get the SysV transport functions.
31712 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
31713 # needs -lnsl.
31714 # The nsl library prevents programs from opening the X display
31715 # on Irix 5.2, according to T.E. Dickey.
31716 # The functions gethostbyname, getservbyname, and inet_addr are
31717 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
31718 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
31719 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
31720 if test "${ac_cv_func_gethostbyname+set}" = set; then
31721 echo $ECHO_N "(cached) $ECHO_C" >&6
31722 else
31723 cat >conftest.$ac_ext <<_ACEOF
31724 /* confdefs.h. */
31725 _ACEOF
31726 cat confdefs.h >>conftest.$ac_ext
31727 cat >>conftest.$ac_ext <<_ACEOF
31728 /* end confdefs.h. */
31729 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
31730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31731 #define gethostbyname innocuous_gethostbyname
31732
31733 /* System header to define __stub macros and hopefully few prototypes,
31734 which can conflict with char gethostbyname (); below.
31735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31736 <limits.h> exists even on freestanding compilers. */
31737
31738 #ifdef __STDC__
31739 # include <limits.h>
31740 #else
31741 # include <assert.h>
31742 #endif
31743
31744 #undef gethostbyname
31745
31746 /* Override any GCC internal prototype to avoid an error.
31747 Use char because int might match the return type of a GCC
31748 builtin and then its argument prototype would still apply. */
31749 #ifdef __cplusplus
31750 extern "C"
31751 #endif
31752 char gethostbyname ();
31753 /* The GNU C library defines this for functions which it implements
31754 to always fail with ENOSYS. Some functions are actually named
31755 something starting with __ and the normal name is an alias. */
31756 #if defined __stub_gethostbyname || defined __stub___gethostbyname
31757 choke me
31758 #endif
31759
31760 int
31761 main ()
31762 {
31763 return gethostbyname ();
31764 ;
31765 return 0;
31766 }
31767 _ACEOF
31768 rm -f conftest.$ac_objext conftest$ac_exeext
31769 if { (ac_try="$ac_link"
31770 case "(($ac_try" in
31771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31772 *) ac_try_echo=$ac_try;;
31773 esac
31774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31775 (eval "$ac_link") 2>conftest.er1
31776 ac_status=$?
31777 grep -v '^ *+' conftest.er1 >conftest.err
31778 rm -f conftest.er1
31779 cat conftest.err >&5
31780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31781 (exit $ac_status); } && {
31782 test -z "$ac_c_werror_flag" ||
31783 test ! -s conftest.err
31784 } && test -s conftest$ac_exeext &&
31785 $as_test_x conftest$ac_exeext; then
31786 ac_cv_func_gethostbyname=yes
31787 else
31788 echo "$as_me: failed program was:" >&5
31789 sed 's/^/| /' conftest.$ac_ext >&5
31790
31791 ac_cv_func_gethostbyname=no
31792 fi
31793
31794 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31795 conftest$ac_exeext conftest.$ac_ext
31796 fi
31797 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
31798 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
31799
31800 if test $ac_cv_func_gethostbyname = no; then
31801 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
31802 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
31803 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
31804 echo $ECHO_N "(cached) $ECHO_C" >&6
31805 else
31806 ac_check_lib_save_LIBS=$LIBS
31807 LIBS="-lnsl $LIBS"
31808 cat >conftest.$ac_ext <<_ACEOF
31809 /* confdefs.h. */
31810 _ACEOF
31811 cat confdefs.h >>conftest.$ac_ext
31812 cat >>conftest.$ac_ext <<_ACEOF
31813 /* end confdefs.h. */
31814
31815 /* Override any GCC internal prototype to avoid an error.
31816 Use char because int might match the return type of a GCC
31817 builtin and then its argument prototype would still apply. */
31818 #ifdef __cplusplus
31819 extern "C"
31820 #endif
31821 char gethostbyname ();
31822 int
31823 main ()
31824 {
31825 return gethostbyname ();
31826 ;
31827 return 0;
31828 }
31829 _ACEOF
31830 rm -f conftest.$ac_objext conftest$ac_exeext
31831 if { (ac_try="$ac_link"
31832 case "(($ac_try" in
31833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31834 *) ac_try_echo=$ac_try;;
31835 esac
31836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31837 (eval "$ac_link") 2>conftest.er1
31838 ac_status=$?
31839 grep -v '^ *+' conftest.er1 >conftest.err
31840 rm -f conftest.er1
31841 cat conftest.err >&5
31842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31843 (exit $ac_status); } && {
31844 test -z "$ac_c_werror_flag" ||
31845 test ! -s conftest.err
31846 } && test -s conftest$ac_exeext &&
31847 $as_test_x conftest$ac_exeext; then
31848 ac_cv_lib_nsl_gethostbyname=yes
31849 else
31850 echo "$as_me: failed program was:" >&5
31851 sed 's/^/| /' conftest.$ac_ext >&5
31852
31853 ac_cv_lib_nsl_gethostbyname=no
31854 fi
31855
31856 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31857 conftest$ac_exeext conftest.$ac_ext
31858 LIBS=$ac_check_lib_save_LIBS
31859 fi
31860 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31861 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
31862 if test $ac_cv_lib_nsl_gethostbyname = yes; then
31863 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
31864 fi
31865
31866 if test $ac_cv_lib_nsl_gethostbyname = no; then
31867 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31868 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
31869 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31870 echo $ECHO_N "(cached) $ECHO_C" >&6
31871 else
31872 ac_check_lib_save_LIBS=$LIBS
31873 LIBS="-lbsd $LIBS"
31874 cat >conftest.$ac_ext <<_ACEOF
31875 /* confdefs.h. */
31876 _ACEOF
31877 cat confdefs.h >>conftest.$ac_ext
31878 cat >>conftest.$ac_ext <<_ACEOF
31879 /* end confdefs.h. */
31880
31881 /* Override any GCC internal prototype to avoid an error.
31882 Use char because int might match the return type of a GCC
31883 builtin and then its argument prototype would still apply. */
31884 #ifdef __cplusplus
31885 extern "C"
31886 #endif
31887 char gethostbyname ();
31888 int
31889 main ()
31890 {
31891 return gethostbyname ();
31892 ;
31893 return 0;
31894 }
31895 _ACEOF
31896 rm -f conftest.$ac_objext conftest$ac_exeext
31897 if { (ac_try="$ac_link"
31898 case "(($ac_try" in
31899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31900 *) ac_try_echo=$ac_try;;
31901 esac
31902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31903 (eval "$ac_link") 2>conftest.er1
31904 ac_status=$?
31905 grep -v '^ *+' conftest.er1 >conftest.err
31906 rm -f conftest.er1
31907 cat conftest.err >&5
31908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31909 (exit $ac_status); } && {
31910 test -z "$ac_c_werror_flag" ||
31911 test ! -s conftest.err
31912 } && test -s conftest$ac_exeext &&
31913 $as_test_x conftest$ac_exeext; then
31914 ac_cv_lib_bsd_gethostbyname=yes
31915 else
31916 echo "$as_me: failed program was:" >&5
31917 sed 's/^/| /' conftest.$ac_ext >&5
31918
31919 ac_cv_lib_bsd_gethostbyname=no
31920 fi
31921
31922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31923 conftest$ac_exeext conftest.$ac_ext
31924 LIBS=$ac_check_lib_save_LIBS
31925 fi
31926 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31927 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
31928 if test $ac_cv_lib_bsd_gethostbyname = yes; then
31929 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
31930 fi
31931
31932 fi
31933 fi
31934
31935 # lieder@skyler.mavd.honeywell.com says without -lsocket,
31936 # socket/setsockopt and other routines are undefined under SCO ODT
31937 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
31938 # on later versions), says Simon Leinen: it contains gethostby*
31939 # variants that don't use the name server (or something). -lsocket
31940 # must be given before -lnsl if both are needed. We assume that
31941 # if connect needs -lnsl, so does gethostbyname.
31942 { echo "$as_me:$LINENO: checking for connect" >&5
31943 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
31944 if test "${ac_cv_func_connect+set}" = set; then
31945 echo $ECHO_N "(cached) $ECHO_C" >&6
31946 else
31947 cat >conftest.$ac_ext <<_ACEOF
31948 /* confdefs.h. */
31949 _ACEOF
31950 cat confdefs.h >>conftest.$ac_ext
31951 cat >>conftest.$ac_ext <<_ACEOF
31952 /* end confdefs.h. */
31953 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31955 #define connect innocuous_connect
31956
31957 /* System header to define __stub macros and hopefully few prototypes,
31958 which can conflict with char connect (); below.
31959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31960 <limits.h> exists even on freestanding compilers. */
31961
31962 #ifdef __STDC__
31963 # include <limits.h>
31964 #else
31965 # include <assert.h>
31966 #endif
31967
31968 #undef connect
31969
31970 /* Override any GCC internal prototype to avoid an error.
31971 Use char because int might match the return type of a GCC
31972 builtin and then its argument prototype would still apply. */
31973 #ifdef __cplusplus
31974 extern "C"
31975 #endif
31976 char connect ();
31977 /* The GNU C library defines this for functions which it implements
31978 to always fail with ENOSYS. Some functions are actually named
31979 something starting with __ and the normal name is an alias. */
31980 #if defined __stub_connect || defined __stub___connect
31981 choke me
31982 #endif
31983
31984 int
31985 main ()
31986 {
31987 return connect ();
31988 ;
31989 return 0;
31990 }
31991 _ACEOF
31992 rm -f conftest.$ac_objext conftest$ac_exeext
31993 if { (ac_try="$ac_link"
31994 case "(($ac_try" in
31995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31996 *) ac_try_echo=$ac_try;;
31997 esac
31998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31999 (eval "$ac_link") 2>conftest.er1
32000 ac_status=$?
32001 grep -v '^ *+' conftest.er1 >conftest.err
32002 rm -f conftest.er1
32003 cat conftest.err >&5
32004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32005 (exit $ac_status); } && {
32006 test -z "$ac_c_werror_flag" ||
32007 test ! -s conftest.err
32008 } && test -s conftest$ac_exeext &&
32009 $as_test_x conftest$ac_exeext; then
32010 ac_cv_func_connect=yes
32011 else
32012 echo "$as_me: failed program was:" >&5
32013 sed 's/^/| /' conftest.$ac_ext >&5
32014
32015 ac_cv_func_connect=no
32016 fi
32017
32018 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32019 conftest$ac_exeext conftest.$ac_ext
32020 fi
32021 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32022 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32023
32024 if test $ac_cv_func_connect = no; then
32025 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32026 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32027 if test "${ac_cv_lib_socket_connect+set}" = set; then
32028 echo $ECHO_N "(cached) $ECHO_C" >&6
32029 else
32030 ac_check_lib_save_LIBS=$LIBS
32031 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32032 cat >conftest.$ac_ext <<_ACEOF
32033 /* confdefs.h. */
32034 _ACEOF
32035 cat confdefs.h >>conftest.$ac_ext
32036 cat >>conftest.$ac_ext <<_ACEOF
32037 /* end confdefs.h. */
32038
32039 /* Override any GCC internal prototype to avoid an error.
32040 Use char because int might match the return type of a GCC
32041 builtin and then its argument prototype would still apply. */
32042 #ifdef __cplusplus
32043 extern "C"
32044 #endif
32045 char connect ();
32046 int
32047 main ()
32048 {
32049 return connect ();
32050 ;
32051 return 0;
32052 }
32053 _ACEOF
32054 rm -f conftest.$ac_objext conftest$ac_exeext
32055 if { (ac_try="$ac_link"
32056 case "(($ac_try" in
32057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32058 *) ac_try_echo=$ac_try;;
32059 esac
32060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32061 (eval "$ac_link") 2>conftest.er1
32062 ac_status=$?
32063 grep -v '^ *+' conftest.er1 >conftest.err
32064 rm -f conftest.er1
32065 cat conftest.err >&5
32066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32067 (exit $ac_status); } && {
32068 test -z "$ac_c_werror_flag" ||
32069 test ! -s conftest.err
32070 } && test -s conftest$ac_exeext &&
32071 $as_test_x conftest$ac_exeext; then
32072 ac_cv_lib_socket_connect=yes
32073 else
32074 echo "$as_me: failed program was:" >&5
32075 sed 's/^/| /' conftest.$ac_ext >&5
32076
32077 ac_cv_lib_socket_connect=no
32078 fi
32079
32080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32081 conftest$ac_exeext conftest.$ac_ext
32082 LIBS=$ac_check_lib_save_LIBS
32083 fi
32084 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32085 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32086 if test $ac_cv_lib_socket_connect = yes; then
32087 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32088 fi
32089
32090 fi
32091
32092 # Guillermo Gomez says -lposix is necessary on A/UX.
32093 { echo "$as_me:$LINENO: checking for remove" >&5
32094 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32095 if test "${ac_cv_func_remove+set}" = set; then
32096 echo $ECHO_N "(cached) $ECHO_C" >&6
32097 else
32098 cat >conftest.$ac_ext <<_ACEOF
32099 /* confdefs.h. */
32100 _ACEOF
32101 cat confdefs.h >>conftest.$ac_ext
32102 cat >>conftest.$ac_ext <<_ACEOF
32103 /* end confdefs.h. */
32104 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32105 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32106 #define remove innocuous_remove
32107
32108 /* System header to define __stub macros and hopefully few prototypes,
32109 which can conflict with char remove (); below.
32110 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32111 <limits.h> exists even on freestanding compilers. */
32112
32113 #ifdef __STDC__
32114 # include <limits.h>
32115 #else
32116 # include <assert.h>
32117 #endif
32118
32119 #undef remove
32120
32121 /* Override any GCC internal prototype to avoid an error.
32122 Use char because int might match the return type of a GCC
32123 builtin and then its argument prototype would still apply. */
32124 #ifdef __cplusplus
32125 extern "C"
32126 #endif
32127 char remove ();
32128 /* The GNU C library defines this for functions which it implements
32129 to always fail with ENOSYS. Some functions are actually named
32130 something starting with __ and the normal name is an alias. */
32131 #if defined __stub_remove || defined __stub___remove
32132 choke me
32133 #endif
32134
32135 int
32136 main ()
32137 {
32138 return remove ();
32139 ;
32140 return 0;
32141 }
32142 _ACEOF
32143 rm -f conftest.$ac_objext conftest$ac_exeext
32144 if { (ac_try="$ac_link"
32145 case "(($ac_try" in
32146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32147 *) ac_try_echo=$ac_try;;
32148 esac
32149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32150 (eval "$ac_link") 2>conftest.er1
32151 ac_status=$?
32152 grep -v '^ *+' conftest.er1 >conftest.err
32153 rm -f conftest.er1
32154 cat conftest.err >&5
32155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32156 (exit $ac_status); } && {
32157 test -z "$ac_c_werror_flag" ||
32158 test ! -s conftest.err
32159 } && test -s conftest$ac_exeext &&
32160 $as_test_x conftest$ac_exeext; then
32161 ac_cv_func_remove=yes
32162 else
32163 echo "$as_me: failed program was:" >&5
32164 sed 's/^/| /' conftest.$ac_ext >&5
32165
32166 ac_cv_func_remove=no
32167 fi
32168
32169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32170 conftest$ac_exeext conftest.$ac_ext
32171 fi
32172 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32173 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32174
32175 if test $ac_cv_func_remove = no; then
32176 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32177 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32178 if test "${ac_cv_lib_posix_remove+set}" = set; then
32179 echo $ECHO_N "(cached) $ECHO_C" >&6
32180 else
32181 ac_check_lib_save_LIBS=$LIBS
32182 LIBS="-lposix $LIBS"
32183 cat >conftest.$ac_ext <<_ACEOF
32184 /* confdefs.h. */
32185 _ACEOF
32186 cat confdefs.h >>conftest.$ac_ext
32187 cat >>conftest.$ac_ext <<_ACEOF
32188 /* end confdefs.h. */
32189
32190 /* Override any GCC internal prototype to avoid an error.
32191 Use char because int might match the return type of a GCC
32192 builtin and then its argument prototype would still apply. */
32193 #ifdef __cplusplus
32194 extern "C"
32195 #endif
32196 char remove ();
32197 int
32198 main ()
32199 {
32200 return remove ();
32201 ;
32202 return 0;
32203 }
32204 _ACEOF
32205 rm -f conftest.$ac_objext conftest$ac_exeext
32206 if { (ac_try="$ac_link"
32207 case "(($ac_try" in
32208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32209 *) ac_try_echo=$ac_try;;
32210 esac
32211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32212 (eval "$ac_link") 2>conftest.er1
32213 ac_status=$?
32214 grep -v '^ *+' conftest.er1 >conftest.err
32215 rm -f conftest.er1
32216 cat conftest.err >&5
32217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32218 (exit $ac_status); } && {
32219 test -z "$ac_c_werror_flag" ||
32220 test ! -s conftest.err
32221 } && test -s conftest$ac_exeext &&
32222 $as_test_x conftest$ac_exeext; then
32223 ac_cv_lib_posix_remove=yes
32224 else
32225 echo "$as_me: failed program was:" >&5
32226 sed 's/^/| /' conftest.$ac_ext >&5
32227
32228 ac_cv_lib_posix_remove=no
32229 fi
32230
32231 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32232 conftest$ac_exeext conftest.$ac_ext
32233 LIBS=$ac_check_lib_save_LIBS
32234 fi
32235 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32236 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32237 if test $ac_cv_lib_posix_remove = yes; then
32238 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32239 fi
32240
32241 fi
32242
32243 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32244 { echo "$as_me:$LINENO: checking for shmat" >&5
32245 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32246 if test "${ac_cv_func_shmat+set}" = set; then
32247 echo $ECHO_N "(cached) $ECHO_C" >&6
32248 else
32249 cat >conftest.$ac_ext <<_ACEOF
32250 /* confdefs.h. */
32251 _ACEOF
32252 cat confdefs.h >>conftest.$ac_ext
32253 cat >>conftest.$ac_ext <<_ACEOF
32254 /* end confdefs.h. */
32255 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32257 #define shmat innocuous_shmat
32258
32259 /* System header to define __stub macros and hopefully few prototypes,
32260 which can conflict with char shmat (); below.
32261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32262 <limits.h> exists even on freestanding compilers. */
32263
32264 #ifdef __STDC__
32265 # include <limits.h>
32266 #else
32267 # include <assert.h>
32268 #endif
32269
32270 #undef shmat
32271
32272 /* Override any GCC internal prototype to avoid an error.
32273 Use char because int might match the return type of a GCC
32274 builtin and then its argument prototype would still apply. */
32275 #ifdef __cplusplus
32276 extern "C"
32277 #endif
32278 char shmat ();
32279 /* The GNU C library defines this for functions which it implements
32280 to always fail with ENOSYS. Some functions are actually named
32281 something starting with __ and the normal name is an alias. */
32282 #if defined __stub_shmat || defined __stub___shmat
32283 choke me
32284 #endif
32285
32286 int
32287 main ()
32288 {
32289 return shmat ();
32290 ;
32291 return 0;
32292 }
32293 _ACEOF
32294 rm -f conftest.$ac_objext conftest$ac_exeext
32295 if { (ac_try="$ac_link"
32296 case "(($ac_try" in
32297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32298 *) ac_try_echo=$ac_try;;
32299 esac
32300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32301 (eval "$ac_link") 2>conftest.er1
32302 ac_status=$?
32303 grep -v '^ *+' conftest.er1 >conftest.err
32304 rm -f conftest.er1
32305 cat conftest.err >&5
32306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32307 (exit $ac_status); } && {
32308 test -z "$ac_c_werror_flag" ||
32309 test ! -s conftest.err
32310 } && test -s conftest$ac_exeext &&
32311 $as_test_x conftest$ac_exeext; then
32312 ac_cv_func_shmat=yes
32313 else
32314 echo "$as_me: failed program was:" >&5
32315 sed 's/^/| /' conftest.$ac_ext >&5
32316
32317 ac_cv_func_shmat=no
32318 fi
32319
32320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32321 conftest$ac_exeext conftest.$ac_ext
32322 fi
32323 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32324 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32325
32326 if test $ac_cv_func_shmat = no; then
32327 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32328 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32329 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32330 echo $ECHO_N "(cached) $ECHO_C" >&6
32331 else
32332 ac_check_lib_save_LIBS=$LIBS
32333 LIBS="-lipc $LIBS"
32334 cat >conftest.$ac_ext <<_ACEOF
32335 /* confdefs.h. */
32336 _ACEOF
32337 cat confdefs.h >>conftest.$ac_ext
32338 cat >>conftest.$ac_ext <<_ACEOF
32339 /* end confdefs.h. */
32340
32341 /* Override any GCC internal prototype to avoid an error.
32342 Use char because int might match the return type of a GCC
32343 builtin and then its argument prototype would still apply. */
32344 #ifdef __cplusplus
32345 extern "C"
32346 #endif
32347 char shmat ();
32348 int
32349 main ()
32350 {
32351 return shmat ();
32352 ;
32353 return 0;
32354 }
32355 _ACEOF
32356 rm -f conftest.$ac_objext conftest$ac_exeext
32357 if { (ac_try="$ac_link"
32358 case "(($ac_try" in
32359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32360 *) ac_try_echo=$ac_try;;
32361 esac
32362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32363 (eval "$ac_link") 2>conftest.er1
32364 ac_status=$?
32365 grep -v '^ *+' conftest.er1 >conftest.err
32366 rm -f conftest.er1
32367 cat conftest.err >&5
32368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32369 (exit $ac_status); } && {
32370 test -z "$ac_c_werror_flag" ||
32371 test ! -s conftest.err
32372 } && test -s conftest$ac_exeext &&
32373 $as_test_x conftest$ac_exeext; then
32374 ac_cv_lib_ipc_shmat=yes
32375 else
32376 echo "$as_me: failed program was:" >&5
32377 sed 's/^/| /' conftest.$ac_ext >&5
32378
32379 ac_cv_lib_ipc_shmat=no
32380 fi
32381
32382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32383 conftest$ac_exeext conftest.$ac_ext
32384 LIBS=$ac_check_lib_save_LIBS
32385 fi
32386 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32387 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32388 if test $ac_cv_lib_ipc_shmat = yes; then
32389 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32390 fi
32391
32392 fi
32393 fi
32394
32395 # Check for libraries that X11R6 Xt/Xaw programs need.
32396 ac_save_LDFLAGS=$LDFLAGS
32397 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32398 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32399 # check for ICE first), but we must link in the order -lSM -lICE or
32400 # we get undefined symbols. So assume we have SM if we have ICE.
32401 # These have to be linked with before -lX11, unlike the other
32402 # libraries we check for below, so use a different variable.
32403 # John Interrante, Karl Berry
32404 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32405 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32406 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32407 echo $ECHO_N "(cached) $ECHO_C" >&6
32408 else
32409 ac_check_lib_save_LIBS=$LIBS
32410 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32411 cat >conftest.$ac_ext <<_ACEOF
32412 /* confdefs.h. */
32413 _ACEOF
32414 cat confdefs.h >>conftest.$ac_ext
32415 cat >>conftest.$ac_ext <<_ACEOF
32416 /* end confdefs.h. */
32417
32418 /* Override any GCC internal prototype to avoid an error.
32419 Use char because int might match the return type of a GCC
32420 builtin and then its argument prototype would still apply. */
32421 #ifdef __cplusplus
32422 extern "C"
32423 #endif
32424 char IceConnectionNumber ();
32425 int
32426 main ()
32427 {
32428 return IceConnectionNumber ();
32429 ;
32430 return 0;
32431 }
32432 _ACEOF
32433 rm -f conftest.$ac_objext conftest$ac_exeext
32434 if { (ac_try="$ac_link"
32435 case "(($ac_try" in
32436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32437 *) ac_try_echo=$ac_try;;
32438 esac
32439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32440 (eval "$ac_link") 2>conftest.er1
32441 ac_status=$?
32442 grep -v '^ *+' conftest.er1 >conftest.err
32443 rm -f conftest.er1
32444 cat conftest.err >&5
32445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32446 (exit $ac_status); } && {
32447 test -z "$ac_c_werror_flag" ||
32448 test ! -s conftest.err
32449 } && test -s conftest$ac_exeext &&
32450 $as_test_x conftest$ac_exeext; then
32451 ac_cv_lib_ICE_IceConnectionNumber=yes
32452 else
32453 echo "$as_me: failed program was:" >&5
32454 sed 's/^/| /' conftest.$ac_ext >&5
32455
32456 ac_cv_lib_ICE_IceConnectionNumber=no
32457 fi
32458
32459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32460 conftest$ac_exeext conftest.$ac_ext
32461 LIBS=$ac_check_lib_save_LIBS
32462 fi
32463 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32464 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32465 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32466 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
32467 fi
32468
32469 LDFLAGS=$ac_save_LDFLAGS
32470
32471 fi
32472
32473
32474 if test "$no_x" = "yes"; then
32475 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32476 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32477 { (exit 1); exit 1; }; }
32478 fi
32479
32480 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32481 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
32482 AFMINSTALL=afminstall
32483 COMPILED_X_PROGRAM=0
32484
32485 fi
32486
32487 if test "$wxUSE_X11" = 1; then
32488 if test "$wxUSE_NANOX" = "yes"; then
32489 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32490 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32491 if test "x$MICROWIN" = x ; then
32492 { echo "$as_me:$LINENO: result: not found" >&5
32493 echo "${ECHO_T}not found" >&6; }
32494 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32495 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32496 { (exit 1); exit 1; }; }
32497 else
32498 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32499 echo "${ECHO_T}$MICROWIN" >&6; }
32500 cat >>confdefs.h <<\_ACEOF
32501 #define wxUSE_NANOX 1
32502 _ACEOF
32503
32504 fi
32505 fi
32506
32507 if test "$wxUSE_UNICODE" = "yes"; then
32508
32509
32510 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32511 if test -n "$ac_tool_prefix"; then
32512 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32513 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32514 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32516 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32517 echo $ECHO_N "(cached) $ECHO_C" >&6
32518 else
32519 case $PKG_CONFIG in
32520 [\\/]* | ?:[\\/]*)
32521 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32522 ;;
32523 *)
32524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32525 for as_dir in $PATH
32526 do
32527 IFS=$as_save_IFS
32528 test -z "$as_dir" && as_dir=.
32529 for ac_exec_ext in '' $ac_executable_extensions; do
32530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32531 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32533 break 2
32534 fi
32535 done
32536 done
32537 IFS=$as_save_IFS
32538
32539 ;;
32540 esac
32541 fi
32542 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32543 if test -n "$PKG_CONFIG"; then
32544 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32545 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32546 else
32547 { echo "$as_me:$LINENO: result: no" >&5
32548 echo "${ECHO_T}no" >&6; }
32549 fi
32550
32551
32552 fi
32553 if test -z "$ac_cv_path_PKG_CONFIG"; then
32554 ac_pt_PKG_CONFIG=$PKG_CONFIG
32555 # Extract the first word of "pkg-config", so it can be a program name with args.
32556 set dummy pkg-config; ac_word=$2
32557 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32559 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32560 echo $ECHO_N "(cached) $ECHO_C" >&6
32561 else
32562 case $ac_pt_PKG_CONFIG in
32563 [\\/]* | ?:[\\/]*)
32564 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32565 ;;
32566 *)
32567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32568 for as_dir in $PATH
32569 do
32570 IFS=$as_save_IFS
32571 test -z "$as_dir" && as_dir=.
32572 for ac_exec_ext in '' $ac_executable_extensions; do
32573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32574 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32576 break 2
32577 fi
32578 done
32579 done
32580 IFS=$as_save_IFS
32581
32582 ;;
32583 esac
32584 fi
32585 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32586 if test -n "$ac_pt_PKG_CONFIG"; then
32587 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32588 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32589 else
32590 { echo "$as_me:$LINENO: result: no" >&5
32591 echo "${ECHO_T}no" >&6; }
32592 fi
32593
32594 if test "x$ac_pt_PKG_CONFIG" = x; then
32595 PKG_CONFIG=""
32596 else
32597 case $cross_compiling:$ac_tool_warned in
32598 yes:)
32599 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32600 whose name does not start with the host triplet. If you think this
32601 configuration is useful to you, please write to autoconf@gnu.org." >&5
32602 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32603 whose name does not start with the host triplet. If you think this
32604 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32605 ac_tool_warned=yes ;;
32606 esac
32607 PKG_CONFIG=$ac_pt_PKG_CONFIG
32608 fi
32609 else
32610 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32611 fi
32612
32613 fi
32614 if test -n "$PKG_CONFIG"; then
32615 _pkg_min_version=0.9.0
32616 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32617 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32618 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32619 { echo "$as_me:$LINENO: result: yes" >&5
32620 echo "${ECHO_T}yes" >&6; }
32621 else
32622 { echo "$as_me:$LINENO: result: no" >&5
32623 echo "${ECHO_T}no" >&6; }
32624 PKG_CONFIG=""
32625 fi
32626
32627 fi
32628
32629
32630 pkg_failed=no
32631 { echo "$as_me:$LINENO: checking for PANGOX" >&5
32632 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
32633
32634 if test -n "$PKG_CONFIG"; then
32635 if test -n "$PANGOX_CFLAGS"; then
32636 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
32637 else
32638 if test -n "$PKG_CONFIG" && \
32639 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32640 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32641 ac_status=$?
32642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32643 (exit $ac_status); }; then
32644 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32645 else
32646 pkg_failed=yes
32647 fi
32648 fi
32649 else
32650 pkg_failed=untried
32651 fi
32652 if test -n "$PKG_CONFIG"; then
32653 if test -n "$PANGOX_LIBS"; then
32654 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
32655 else
32656 if test -n "$PKG_CONFIG" && \
32657 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32658 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32659 ac_status=$?
32660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32661 (exit $ac_status); }; then
32662 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32663 else
32664 pkg_failed=yes
32665 fi
32666 fi
32667 else
32668 pkg_failed=untried
32669 fi
32670
32671
32672
32673 if test $pkg_failed = yes; then
32674
32675 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32676 _pkg_short_errors_supported=yes
32677 else
32678 _pkg_short_errors_supported=no
32679 fi
32680 if test $_pkg_short_errors_supported = yes; then
32681 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32682 else
32683 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32684 fi
32685 # Put the nasty error message in config.log where it belongs
32686 echo "$PANGOX_PKG_ERRORS" >&5
32687
32688
32689 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32690 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32691 { (exit 1); exit 1; }; }
32692
32693
32694 elif test $pkg_failed = untried; then
32695
32696 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32697 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32698 { (exit 1); exit 1; }; }
32699
32700
32701 else
32702 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
32703 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
32704 { echo "$as_me:$LINENO: result: yes" >&5
32705 echo "${ECHO_T}yes" >&6; }
32706
32707 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
32708 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
32709 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
32710
32711 fi
32712
32713 pkg_failed=no
32714 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
32715 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
32716
32717 if test -n "$PKG_CONFIG"; then
32718 if test -n "$PANGOFT2_CFLAGS"; then
32719 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
32720 else
32721 if test -n "$PKG_CONFIG" && \
32722 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32723 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32724 ac_status=$?
32725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32726 (exit $ac_status); }; then
32727 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
32728 else
32729 pkg_failed=yes
32730 fi
32731 fi
32732 else
32733 pkg_failed=untried
32734 fi
32735 if test -n "$PKG_CONFIG"; then
32736 if test -n "$PANGOFT2_LIBS"; then
32737 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
32738 else
32739 if test -n "$PKG_CONFIG" && \
32740 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32741 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32742 ac_status=$?
32743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32744 (exit $ac_status); }; then
32745 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
32746 else
32747 pkg_failed=yes
32748 fi
32749 fi
32750 else
32751 pkg_failed=untried
32752 fi
32753
32754
32755
32756 if test $pkg_failed = yes; then
32757
32758 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32759 _pkg_short_errors_supported=yes
32760 else
32761 _pkg_short_errors_supported=no
32762 fi
32763 if test $_pkg_short_errors_supported = yes; then
32764 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
32765 else
32766 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
32767 fi
32768 # Put the nasty error message in config.log where it belongs
32769 echo "$PANGOFT2_PKG_ERRORS" >&5
32770
32771
32772 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32773 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32774 wxUSE_PRINTING_ARCHITECTURE="no"
32775
32776
32777 elif test $pkg_failed = untried; then
32778
32779 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32780 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32781 wxUSE_PRINTING_ARCHITECTURE="no"
32782
32783
32784 else
32785 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
32786 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
32787 { echo "$as_me:$LINENO: result: yes" >&5
32788 echo "${ECHO_T}yes" >&6; }
32789
32790 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
32791 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
32792 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
32793
32794 fi
32795
32796 pkg_failed=no
32797 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
32798 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
32799
32800 if test -n "$PKG_CONFIG"; then
32801 if test -n "$PANGOXFT_CFLAGS"; then
32802 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
32803 else
32804 if test -n "$PKG_CONFIG" && \
32805 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32806 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32807 ac_status=$?
32808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32809 (exit $ac_status); }; then
32810 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
32811 else
32812 pkg_failed=yes
32813 fi
32814 fi
32815 else
32816 pkg_failed=untried
32817 fi
32818 if test -n "$PKG_CONFIG"; then
32819 if test -n "$PANGOXFT_LIBS"; then
32820 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
32821 else
32822 if test -n "$PKG_CONFIG" && \
32823 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32824 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32825 ac_status=$?
32826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32827 (exit $ac_status); }; then
32828 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
32829 else
32830 pkg_failed=yes
32831 fi
32832 fi
32833 else
32834 pkg_failed=untried
32835 fi
32836
32837
32838
32839 if test $pkg_failed = yes; then
32840
32841 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32842 _pkg_short_errors_supported=yes
32843 else
32844 _pkg_short_errors_supported=no
32845 fi
32846 if test $_pkg_short_errors_supported = yes; then
32847 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32848 else
32849 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32850 fi
32851 # Put the nasty error message in config.log where it belongs
32852 echo "$PANGOXFT_PKG_ERRORS" >&5
32853
32854
32855 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32856 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32857
32858
32859 elif test $pkg_failed = untried; then
32860
32861 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32862 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32863
32864
32865 else
32866 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
32867 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
32868 { echo "$as_me:$LINENO: result: yes" >&5
32869 echo "${ECHO_T}yes" >&6; }
32870
32871 cat >>confdefs.h <<\_ACEOF
32872 #define HAVE_PANGO_XFT 1
32873 _ACEOF
32874
32875 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
32876 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
32877 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32878
32879 fi
32880 save_LIBS="$LIBS"
32881 LIBS="$LIBS $PANGOX_LIBS"
32882
32883 for ac_func in pango_font_family_is_monospace
32884 do
32885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32886 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32888 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32889 echo $ECHO_N "(cached) $ECHO_C" >&6
32890 else
32891 cat >conftest.$ac_ext <<_ACEOF
32892 /* confdefs.h. */
32893 _ACEOF
32894 cat confdefs.h >>conftest.$ac_ext
32895 cat >>conftest.$ac_ext <<_ACEOF
32896 /* end confdefs.h. */
32897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32899 #define $ac_func innocuous_$ac_func
32900
32901 /* System header to define __stub macros and hopefully few prototypes,
32902 which can conflict with char $ac_func (); below.
32903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32904 <limits.h> exists even on freestanding compilers. */
32905
32906 #ifdef __STDC__
32907 # include <limits.h>
32908 #else
32909 # include <assert.h>
32910 #endif
32911
32912 #undef $ac_func
32913
32914 /* Override any GCC internal prototype to avoid an error.
32915 Use char because int might match the return type of a GCC
32916 builtin and then its argument prototype would still apply. */
32917 #ifdef __cplusplus
32918 extern "C"
32919 #endif
32920 char $ac_func ();
32921 /* The GNU C library defines this for functions which it implements
32922 to always fail with ENOSYS. Some functions are actually named
32923 something starting with __ and the normal name is an alias. */
32924 #if defined __stub_$ac_func || defined __stub___$ac_func
32925 choke me
32926 #endif
32927
32928 int
32929 main ()
32930 {
32931 return $ac_func ();
32932 ;
32933 return 0;
32934 }
32935 _ACEOF
32936 rm -f conftest.$ac_objext conftest$ac_exeext
32937 if { (ac_try="$ac_link"
32938 case "(($ac_try" in
32939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32940 *) ac_try_echo=$ac_try;;
32941 esac
32942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32943 (eval "$ac_link") 2>conftest.er1
32944 ac_status=$?
32945 grep -v '^ *+' conftest.er1 >conftest.err
32946 rm -f conftest.er1
32947 cat conftest.err >&5
32948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32949 (exit $ac_status); } && {
32950 test -z "$ac_c_werror_flag" ||
32951 test ! -s conftest.err
32952 } && test -s conftest$ac_exeext &&
32953 $as_test_x conftest$ac_exeext; then
32954 eval "$as_ac_var=yes"
32955 else
32956 echo "$as_me: failed program was:" >&5
32957 sed 's/^/| /' conftest.$ac_ext >&5
32958
32959 eval "$as_ac_var=no"
32960 fi
32961
32962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32963 conftest$ac_exeext conftest.$ac_ext
32964 fi
32965 ac_res=`eval echo '${'$as_ac_var'}'`
32966 { echo "$as_me:$LINENO: result: $ac_res" >&5
32967 echo "${ECHO_T}$ac_res" >&6; }
32968 if test `eval echo '${'$as_ac_var'}'` = yes; then
32969 cat >>confdefs.h <<_ACEOF
32970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32971 _ACEOF
32972
32973 fi
32974 done
32975
32976 LIBS="$save_LIBS"
32977 fi
32978
32979 wxUSE_UNIVERSAL="yes"
32980
32981 if test "$wxUSE_NANOX" = "yes"; then
32982 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
32983 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"
32984 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
32985 else
32986 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
32987 fi
32988
32989 TOOLKIT=X11
32990 GUIDIST=X11_DIST
32991 fi
32992
32993 if test "$wxUSE_MOTIF" = 1; then
32994 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
32995 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
32996
32997 ac_find_includes=
32998 for ac_dir in $SEARCH_INCLUDE /usr/include;
32999 do
33000 if test -f "$ac_dir/Xm/Xm.h"; then
33001 ac_find_includes=$ac_dir
33002 break
33003 fi
33004 done
33005
33006 if test "$ac_find_includes" != "" ; then
33007 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33008 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33009
33010 if test "x$ac_find_includes" = "x/usr/include"; then
33011 ac_path_to_include=""
33012 else
33013 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33014 result=$?
33015 if test $result = 0; then
33016 ac_path_to_include=""
33017 else
33018 ac_path_to_include=" -I$ac_find_includes"
33019 fi
33020 fi
33021
33022 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33023 else
33024 save_CFLAGS=$CFLAGS
33025 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33026
33027 cat >conftest.$ac_ext <<_ACEOF
33028 /* confdefs.h. */
33029 _ACEOF
33030 cat confdefs.h >>conftest.$ac_ext
33031 cat >>conftest.$ac_ext <<_ACEOF
33032 /* end confdefs.h. */
33033
33034 #include <Xm/Xm.h>
33035
33036 int
33037 main ()
33038 {
33039
33040 int version;
33041 version = xmUseVersion;
33042
33043 ;
33044 return 0;
33045 }
33046 _ACEOF
33047 rm -f conftest.$ac_objext
33048 if { (ac_try="$ac_compile"
33049 case "(($ac_try" in
33050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33051 *) ac_try_echo=$ac_try;;
33052 esac
33053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33054 (eval "$ac_compile") 2>conftest.er1
33055 ac_status=$?
33056 grep -v '^ *+' conftest.er1 >conftest.err
33057 rm -f conftest.er1
33058 cat conftest.err >&5
33059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33060 (exit $ac_status); } && {
33061 test -z "$ac_c_werror_flag" ||
33062 test ! -s conftest.err
33063 } && test -s conftest.$ac_objext; then
33064
33065 { echo "$as_me:$LINENO: result: found in default search path" >&5
33066 echo "${ECHO_T}found in default search path" >&6; }
33067 COMPILED_X_PROGRAM=1
33068
33069 else
33070 echo "$as_me: failed program was:" >&5
33071 sed 's/^/| /' conftest.$ac_ext >&5
33072
33073
33074 { echo "$as_me:$LINENO: result: no" >&5
33075 echo "${ECHO_T}no" >&6; }
33076 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33077 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33078 { (exit 1); exit 1; }; }
33079
33080
33081 fi
33082
33083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33084
33085 CFLAGS=$save_CFLAGS
33086 fi
33087
33088
33089 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33090 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33091
33092 ac_find_libraries=
33093 for ac_dir in $SEARCH_LIB;
33094 do
33095 for ac_extension in a so sl dylib dll.a; do
33096 if test -f "$ac_dir/libXm.$ac_extension"; then
33097 ac_find_libraries=$ac_dir
33098 break 2
33099 fi
33100 done
33101 done
33102
33103
33104 if test "x$ac_find_libraries" != "x" ; then
33105 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33106 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33107
33108
33109 if test "$ac_find_libraries" = "default location"; then
33110 ac_path_to_link=""
33111 else
33112 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33113 result=$?
33114 if test $result = 0; then
33115 ac_path_to_link=""
33116 else
33117 ac_path_to_link=" -L$ac_find_libraries"
33118 fi
33119 fi
33120
33121 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33122 else
33123 save_CFLAGS=$CFLAGS
33124 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33125 save_LIBS="$LIBS"
33126 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33127
33128 cat >conftest.$ac_ext <<_ACEOF
33129 /* confdefs.h. */
33130 _ACEOF
33131 cat confdefs.h >>conftest.$ac_ext
33132 cat >>conftest.$ac_ext <<_ACEOF
33133 /* end confdefs.h. */
33134
33135 #include <Xm/Xm.h>
33136
33137 int
33138 main ()
33139 {
33140
33141 int version;
33142 version = xmUseVersion;
33143
33144 ;
33145 return 0;
33146 }
33147 _ACEOF
33148 rm -f conftest.$ac_objext conftest$ac_exeext
33149 if { (ac_try="$ac_link"
33150 case "(($ac_try" in
33151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33152 *) ac_try_echo=$ac_try;;
33153 esac
33154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33155 (eval "$ac_link") 2>conftest.er1
33156 ac_status=$?
33157 grep -v '^ *+' conftest.er1 >conftest.err
33158 rm -f conftest.er1
33159 cat conftest.err >&5
33160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33161 (exit $ac_status); } && {
33162 test -z "$ac_c_werror_flag" ||
33163 test ! -s conftest.err
33164 } && test -s conftest$ac_exeext &&
33165 $as_test_x conftest$ac_exeext; then
33166
33167 { echo "$as_me:$LINENO: result: found in default search path" >&5
33168 echo "${ECHO_T}found in default search path" >&6; }
33169 COMPILED_X_PROGRAM=1
33170
33171 else
33172 echo "$as_me: failed program was:" >&5
33173 sed 's/^/| /' conftest.$ac_ext >&5
33174
33175
33176 { echo "$as_me:$LINENO: result: no" >&5
33177 echo "${ECHO_T}no" >&6; }
33178 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33179 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33180 { (exit 1); exit 1; }; }
33181
33182
33183 fi
33184
33185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33186 conftest$ac_exeext conftest.$ac_ext
33187
33188 CFLAGS=$save_CFLAGS
33189 LIBS="$save_LIBS"
33190 fi
33191
33192 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33193 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33194 libp_link=""
33195 libsm_ice_link=""
33196 libs_found=0
33197 for libp in "" " -lXp"; do
33198 if test "$libs_found" = 0; then
33199 for libsm_ice in "" " -lSM -lICE"; do
33200 if test "$libs_found" = 0; then
33201 save_LIBS="$LIBS"
33202 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33203 save_CFLAGS=$CFLAGS
33204 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33205
33206 cat >conftest.$ac_ext <<_ACEOF
33207 /* confdefs.h. */
33208 _ACEOF
33209 cat confdefs.h >>conftest.$ac_ext
33210 cat >>conftest.$ac_ext <<_ACEOF
33211 /* end confdefs.h. */
33212
33213 #include <Xm/Xm.h>
33214 #include <Xm/List.h>
33215
33216 int
33217 main ()
33218 {
33219
33220 XmString string = NULL;
33221 Widget w = NULL;
33222 int position = 0;
33223 XmListAddItem(w, string, position);
33224
33225 ;
33226 return 0;
33227 }
33228 _ACEOF
33229 rm -f conftest.$ac_objext conftest$ac_exeext
33230 if { (ac_try="$ac_link"
33231 case "(($ac_try" in
33232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33233 *) ac_try_echo=$ac_try;;
33234 esac
33235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33236 (eval "$ac_link") 2>conftest.er1
33237 ac_status=$?
33238 grep -v '^ *+' conftest.er1 >conftest.err
33239 rm -f conftest.er1
33240 cat conftest.err >&5
33241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33242 (exit $ac_status); } && {
33243 test -z "$ac_c_werror_flag" ||
33244 test ! -s conftest.err
33245 } && test -s conftest$ac_exeext &&
33246 $as_test_x conftest$ac_exeext; then
33247
33248 libp_link="$libp"
33249 libsm_ice_link="$libsm_ice"
33250 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33251 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33252 libs_found=1
33253
33254 else
33255 echo "$as_me: failed program was:" >&5
33256 sed 's/^/| /' conftest.$ac_ext >&5
33257
33258
33259
33260 fi
33261
33262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33263 conftest$ac_exeext conftest.$ac_ext
33264
33265 LIBS="$save_LIBS"
33266 CFLAGS=$save_CFLAGS
33267 fi
33268 done
33269 fi
33270 done
33271
33272 if test "$libs_found" = 0; then
33273 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33274 echo "${ECHO_T}can't find the right libraries" >&6; }
33275 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33276 echo "$as_me: error: can't link a simple motif program" >&2;}
33277 { (exit 1); exit 1; }; }
33278 fi
33279
33280 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33281 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33282 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33283 echo $ECHO_N "(cached) $ECHO_C" >&6
33284 else
33285 ac_check_lib_save_LIBS=$LIBS
33286 LIBS="-lSgm $LIBS"
33287 cat >conftest.$ac_ext <<_ACEOF
33288 /* confdefs.h. */
33289 _ACEOF
33290 cat confdefs.h >>conftest.$ac_ext
33291 cat >>conftest.$ac_ext <<_ACEOF
33292 /* end confdefs.h. */
33293
33294 /* Override any GCC internal prototype to avoid an error.
33295 Use char because int might match the return type of a GCC
33296 builtin and then its argument prototype would still apply. */
33297 #ifdef __cplusplus
33298 extern "C"
33299 #endif
33300 char SgCreateList ();
33301 int
33302 main ()
33303 {
33304 return SgCreateList ();
33305 ;
33306 return 0;
33307 }
33308 _ACEOF
33309 rm -f conftest.$ac_objext conftest$ac_exeext
33310 if { (ac_try="$ac_link"
33311 case "(($ac_try" in
33312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33313 *) ac_try_echo=$ac_try;;
33314 esac
33315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33316 (eval "$ac_link") 2>conftest.er1
33317 ac_status=$?
33318 grep -v '^ *+' conftest.er1 >conftest.err
33319 rm -f conftest.er1
33320 cat conftest.err >&5
33321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33322 (exit $ac_status); } && {
33323 test -z "$ac_c_werror_flag" ||
33324 test ! -s conftest.err
33325 } && test -s conftest$ac_exeext &&
33326 $as_test_x conftest$ac_exeext; then
33327 ac_cv_lib_Sgm_SgCreateList=yes
33328 else
33329 echo "$as_me: failed program was:" >&5
33330 sed 's/^/| /' conftest.$ac_ext >&5
33331
33332 ac_cv_lib_Sgm_SgCreateList=no
33333 fi
33334
33335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33336 conftest$ac_exeext conftest.$ac_ext
33337 LIBS=$ac_check_lib_save_LIBS
33338 fi
33339 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33340 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33341 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33342 libsgm_link=" -lSgm"
33343 fi
33344
33345
33346 save_CFLAGS=$CFLAGS
33347 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33348
33349 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33350 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33351 if test "${wx_cv_lib_motif2+set}" = set; then
33352 echo $ECHO_N "(cached) $ECHO_C" >&6
33353 else
33354 cat >conftest.$ac_ext <<_ACEOF
33355 /* confdefs.h. */
33356 _ACEOF
33357 cat confdefs.h >>conftest.$ac_ext
33358 cat >>conftest.$ac_ext <<_ACEOF
33359 /* end confdefs.h. */
33360
33361 #include <Xm/Xm.h>
33362
33363 int
33364 main ()
33365 {
33366
33367 #if XmVersion < 2000
33368 Not Motif 2
33369 #endif
33370
33371 ;
33372 return 0;
33373 }
33374 _ACEOF
33375 rm -f conftest.$ac_objext
33376 if { (ac_try="$ac_compile"
33377 case "(($ac_try" in
33378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33379 *) ac_try_echo=$ac_try;;
33380 esac
33381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33382 (eval "$ac_compile") 2>conftest.er1
33383 ac_status=$?
33384 grep -v '^ *+' conftest.er1 >conftest.err
33385 rm -f conftest.er1
33386 cat conftest.err >&5
33387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33388 (exit $ac_status); } && {
33389 test -z "$ac_c_werror_flag" ||
33390 test ! -s conftest.err
33391 } && test -s conftest.$ac_objext; then
33392 wx_cv_lib_motif2="yes"
33393 else
33394 echo "$as_me: failed program was:" >&5
33395 sed 's/^/| /' conftest.$ac_ext >&5
33396
33397 wx_cv_lib_motif2="no"
33398 fi
33399
33400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33401 fi
33402 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33403 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33404 if test "$wx_cv_lib_motif2" = "yes"; then
33405 cat >>confdefs.h <<\_ACEOF
33406 #define __WXMOTIF20__ 1
33407 _ACEOF
33408
33409 else
33410 cat >>confdefs.h <<\_ACEOF
33411 #define __WXMOTIF20__ 0
33412 _ACEOF
33413
33414 fi
33415
33416 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33417 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33418 if test "${wx_cv_lib_lesstif+set}" = set; then
33419 echo $ECHO_N "(cached) $ECHO_C" >&6
33420 else
33421 cat >conftest.$ac_ext <<_ACEOF
33422 /* confdefs.h. */
33423 _ACEOF
33424 cat confdefs.h >>conftest.$ac_ext
33425 cat >>conftest.$ac_ext <<_ACEOF
33426 /* end confdefs.h. */
33427
33428 #include <Xm/Xm.h>
33429
33430 int
33431 main ()
33432 {
33433
33434 #if !defined(LesstifVersion) || LesstifVersion <= 0
33435 Not Lesstif
33436 #endif
33437
33438 ;
33439 return 0;
33440 }
33441 _ACEOF
33442 rm -f conftest.$ac_objext
33443 if { (ac_try="$ac_compile"
33444 case "(($ac_try" in
33445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33446 *) ac_try_echo=$ac_try;;
33447 esac
33448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33449 (eval "$ac_compile") 2>conftest.er1
33450 ac_status=$?
33451 grep -v '^ *+' conftest.er1 >conftest.err
33452 rm -f conftest.er1
33453 cat conftest.err >&5
33454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33455 (exit $ac_status); } && {
33456 test -z "$ac_c_werror_flag" ||
33457 test ! -s conftest.err
33458 } && test -s conftest.$ac_objext; then
33459 wx_cv_lib_lesstif="yes"
33460 else
33461 echo "$as_me: failed program was:" >&5
33462 sed 's/^/| /' conftest.$ac_ext >&5
33463
33464 wx_cv_lib_lesstif="no"
33465 fi
33466
33467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33468
33469 fi
33470 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33471 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33472 if test "$wx_cv_lib_lesstif" = "yes"; then
33473 cat >>confdefs.h <<\_ACEOF
33474 #define __WXLESSTIF__ 1
33475 _ACEOF
33476
33477 else
33478 cat >>confdefs.h <<\_ACEOF
33479 #define __WXLESSTIF__ 0
33480 _ACEOF
33481
33482 fi
33483
33484 CFLAGS=$save_CFLAGS
33485
33486 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33487 TOOLKIT=MOTIF
33488 GUIDIST=MOTIF_DIST
33489 fi
33490
33491 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33492 if test "$wxUSE_LIBXPM" = "sys"; then
33493 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33494 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33495
33496 ac_find_libraries=
33497 for ac_dir in $SEARCH_LIB;
33498 do
33499 for ac_extension in a so sl dylib dll.a; do
33500 if test -f "$ac_dir/libXpm.$ac_extension"; then
33501 ac_find_libraries=$ac_dir
33502 break 2
33503 fi
33504 done
33505 done
33506
33507 if test "$ac_find_libraries" != "" ; then
33508
33509 if test "$ac_find_libraries" = "default location"; then
33510 ac_path_to_link=""
33511 else
33512 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33513 result=$?
33514 if test $result = 0; then
33515 ac_path_to_link=""
33516 else
33517 ac_path_to_link=" -L$ac_find_libraries"
33518 fi
33519 fi
33520
33521 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33522 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33523 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33524
33525 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33526 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33527 if test "${wx_cv_x11_xpm_h+set}" = set; then
33528 echo $ECHO_N "(cached) $ECHO_C" >&6
33529 else
33530
33531 save_CFLAGS=$CFLAGS
33532 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33533
33534 cat >conftest.$ac_ext <<_ACEOF
33535 /* confdefs.h. */
33536 _ACEOF
33537 cat confdefs.h >>conftest.$ac_ext
33538 cat >>conftest.$ac_ext <<_ACEOF
33539 /* end confdefs.h. */
33540
33541 #include <X11/xpm.h>
33542
33543 int
33544 main ()
33545 {
33546
33547 int version;
33548 version = XpmLibraryVersion();
33549
33550 ;
33551 return 0;
33552 }
33553 _ACEOF
33554 rm -f conftest.$ac_objext
33555 if { (ac_try="$ac_compile"
33556 case "(($ac_try" in
33557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33558 *) ac_try_echo=$ac_try;;
33559 esac
33560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33561 (eval "$ac_compile") 2>conftest.er1
33562 ac_status=$?
33563 grep -v '^ *+' conftest.er1 >conftest.err
33564 rm -f conftest.er1
33565 cat conftest.err >&5
33566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33567 (exit $ac_status); } && {
33568 test -z "$ac_c_werror_flag" ||
33569 test ! -s conftest.err
33570 } && test -s conftest.$ac_objext; then
33571 wx_cv_x11_xpm_h=yes
33572 else
33573 echo "$as_me: failed program was:" >&5
33574 sed 's/^/| /' conftest.$ac_ext >&5
33575
33576 wx_cv_x11_xpm_h=no
33577
33578 fi
33579
33580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33581
33582 CFLAGS=$save_CFLAGS
33583
33584
33585 fi
33586 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33587 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33588
33589 if test $wx_cv_x11_xpm_h = "yes"; then
33590 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
33591 cat >>confdefs.h <<\_ACEOF
33592 #define wxHAVE_LIB_XPM 1
33593 _ACEOF
33594
33595 else
33596 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33597 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33598 fi
33599 fi
33600
33601 fi
33602
33603 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33604 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33605 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33606 echo $ECHO_N "(cached) $ECHO_C" >&6
33607 else
33608 ac_check_lib_save_LIBS=$LIBS
33609 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33610 cat >conftest.$ac_ext <<_ACEOF
33611 /* confdefs.h. */
33612 _ACEOF
33613 cat confdefs.h >>conftest.$ac_ext
33614 cat >>conftest.$ac_ext <<_ACEOF
33615 /* end confdefs.h. */
33616
33617 /* Override any GCC internal prototype to avoid an error.
33618 Use char because int might match the return type of a GCC
33619 builtin and then its argument prototype would still apply. */
33620 #ifdef __cplusplus
33621 extern "C"
33622 #endif
33623 char XShapeQueryExtension ();
33624 int
33625 main ()
33626 {
33627 return XShapeQueryExtension ();
33628 ;
33629 return 0;
33630 }
33631 _ACEOF
33632 rm -f conftest.$ac_objext conftest$ac_exeext
33633 if { (ac_try="$ac_link"
33634 case "(($ac_try" in
33635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33636 *) ac_try_echo=$ac_try;;
33637 esac
33638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33639 (eval "$ac_link") 2>conftest.er1
33640 ac_status=$?
33641 grep -v '^ *+' conftest.er1 >conftest.err
33642 rm -f conftest.er1
33643 cat conftest.err >&5
33644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33645 (exit $ac_status); } && {
33646 test -z "$ac_c_werror_flag" ||
33647 test ! -s conftest.err
33648 } && test -s conftest$ac_exeext &&
33649 $as_test_x conftest$ac_exeext; then
33650 ac_cv_lib_Xext_XShapeQueryExtension=yes
33651 else
33652 echo "$as_me: failed program was:" >&5
33653 sed 's/^/| /' conftest.$ac_ext >&5
33654
33655 ac_cv_lib_Xext_XShapeQueryExtension=no
33656 fi
33657
33658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33659 conftest$ac_exeext conftest.$ac_ext
33660 LIBS=$ac_check_lib_save_LIBS
33661 fi
33662 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33663 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
33664 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33665
33666 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
33667 wxHAVE_XEXT_LIB=1
33668
33669 fi
33670
33671
33672 if test "$wxHAVE_XEXT_LIB" = 1; then
33673 save_CFLAGS="$CFLAGS"
33674 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33675
33676 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33677 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
33678 cat >conftest.$ac_ext <<_ACEOF
33679 /* confdefs.h. */
33680 _ACEOF
33681 cat confdefs.h >>conftest.$ac_ext
33682 cat >>conftest.$ac_ext <<_ACEOF
33683 /* end confdefs.h. */
33684
33685 #include <X11/Xlib.h>
33686 #include <X11/extensions/shape.h>
33687
33688 int
33689 main ()
33690 {
33691
33692 int dummy1, dummy2;
33693 XShapeQueryExtension((Display*)NULL,
33694 (int*)NULL, (int*)NULL);
33695
33696 ;
33697 return 0;
33698 }
33699 _ACEOF
33700 rm -f conftest.$ac_objext
33701 if { (ac_try="$ac_compile"
33702 case "(($ac_try" in
33703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33704 *) ac_try_echo=$ac_try;;
33705 esac
33706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33707 (eval "$ac_compile") 2>conftest.er1
33708 ac_status=$?
33709 grep -v '^ *+' conftest.er1 >conftest.err
33710 rm -f conftest.er1
33711 cat conftest.err >&5
33712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33713 (exit $ac_status); } && {
33714 test -z "$ac_c_werror_flag" ||
33715 test ! -s conftest.err
33716 } && test -s conftest.$ac_objext; then
33717
33718 cat >>confdefs.h <<\_ACEOF
33719 #define HAVE_XSHAPE 1
33720 _ACEOF
33721
33722 { echo "$as_me:$LINENO: result: found" >&5
33723 echo "${ECHO_T}found" >&6; }
33724
33725 else
33726 echo "$as_me: failed program was:" >&5
33727 sed 's/^/| /' conftest.$ac_ext >&5
33728
33729
33730 { echo "$as_me:$LINENO: result: not found" >&5
33731 echo "${ECHO_T}not found" >&6; }
33732
33733 fi
33734
33735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33736 CFLAGS="$save_CFLAGS"
33737
33738 fi
33739 fi
33740
33741 if test "$wxUSE_OSX_CARBON" = 1; then
33742 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
33743 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
33744 if test "$GCC" = yes; then
33745 { echo "$as_me:$LINENO: result: gcc" >&5
33746 echo "${ECHO_T}gcc" >&6; }
33747 CPPFLAGS_PASCAL="-fpascal-strings"
33748 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
33749 { echo "$as_me:$LINENO: result: xlc" >&5
33750 echo "${ECHO_T}xlc" >&6; }
33751 CPPFLAGS_PASCAL="-qmacpstr"
33752 else
33753 { echo "$as_me:$LINENO: result: none" >&5
33754 echo "${ECHO_T}none" >&6; }
33755 fi
33756
33757 if test "x$wxUSE_UNIX" = "xyes"; then
33758 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
33759 else
33760 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
33761 fi
33762
33763 TOOLKIT=OSX_CARBON
33764 GUIDIST=OSX_CARBON_DIST
33765 WXBASEPORT="_carbon"
33766
33767 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33768 fi
33769
33770 if test "$wxUSE_OSX_COCOA" = 1; then
33771 TOOLKIT=OSX_COCOA
33772 GUIDIST=OSX_COCOA_DIST
33773
33774 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33775 fi
33776
33777 if test "$wxUSE_OSX_IPHONE" = 1; then
33778 TOOLKIT=OSX_IPHONE
33779 fi
33780
33781 if test "$wxUSE_OLD_COCOA" = 1; then
33782 TOOLKIT=COCOA
33783 GUIDIST=COCOA_DIST
33784 fi
33785
33786 if test "$wxUSE_PM" = 1; then
33787 TOOLKIT=PM
33788 GUIDIST=PM_DIST
33789 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
33790 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
33791 if test "${wx_cv_spbcdata+set}" = set; then
33792 echo $ECHO_N "(cached) $ECHO_C" >&6
33793 else
33794
33795 cat >conftest.$ac_ext <<_ACEOF
33796 /* confdefs.h. */
33797 _ACEOF
33798 cat confdefs.h >>conftest.$ac_ext
33799 cat >>conftest.$ac_ext <<_ACEOF
33800 /* end confdefs.h. */
33801
33802 #define INCL_PM
33803 #include <os2.h>
33804
33805 int
33806 main ()
33807 {
33808
33809 SPBCDATA test;
33810
33811 ;
33812 return 0;
33813 }
33814 _ACEOF
33815 rm -f conftest.$ac_objext
33816 if { (ac_try="$ac_compile"
33817 case "(($ac_try" in
33818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33819 *) ac_try_echo=$ac_try;;
33820 esac
33821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33822 (eval "$ac_compile") 2>conftest.er1
33823 ac_status=$?
33824 grep -v '^ *+' conftest.er1 >conftest.err
33825 rm -f conftest.er1
33826 cat conftest.err >&5
33827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33828 (exit $ac_status); } && {
33829 test -z "$ac_c_werror_flag" ||
33830 test ! -s conftest.err
33831 } && test -s conftest.$ac_objext; then
33832 wx_cv_spbcdata=yes
33833 else
33834 echo "$as_me: failed program was:" >&5
33835 sed 's/^/| /' conftest.$ac_ext >&5
33836
33837 wx_cv_spbcdata=no
33838
33839 fi
33840
33841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33842
33843
33844 fi
33845 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33846 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
33847
33848 if test $wx_cv_spbcdata = "yes"; then
33849 cat >>confdefs.h <<\_ACEOF
33850 #define HAVE_SPBCDATA 1
33851 _ACEOF
33852
33853 fi
33854 fi
33855
33856 if test "$TOOLKIT" = "PM" ; then
33857 TOOLKIT_DIR="os2"
33858 else
33859 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
33860 fi
33861
33862 if test "$wxUSE_UNIVERSAL" = "yes"; then
33863 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33864 WIDGET_SET=univ
33865 fi
33866
33867 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33868 DISTDIR="wx\$(TOOLKIT)"
33869 else
33870 USE_GUI=0
33871
33872 TOOLKIT_DIR="base"
33873
33874 if test "$USE_WIN32" = 1 ; then
33875 TOOLKIT="MSW"
33876 fi
33877
33878 GUIDIST="BASE_DIST"
33879 DISTDIR="wxBase"
33880 fi
33881
33882
33883
33884 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
33885 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
33886 wxUSE_UNICODE_UTF8=yes
33887 elif test "$USE_OS2" = 1 ; then
33888 wxUSE_UNICODE_UTF8=yes
33889 else
33890 wxUSE_UNICODE_UTF8=no
33891 fi
33892 fi
33893
33894
33895 if test "$wxUSE_GUI" = "yes"; then
33896 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33897
33898 for ac_header in X11/Xlib.h
33899 do
33900 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33901 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33902 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33903 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33904 echo $ECHO_N "(cached) $ECHO_C" >&6
33905 else
33906 cat >conftest.$ac_ext <<_ACEOF
33907 /* confdefs.h. */
33908 _ACEOF
33909 cat confdefs.h >>conftest.$ac_ext
33910 cat >>conftest.$ac_ext <<_ACEOF
33911 /* end confdefs.h. */
33912
33913
33914 #include <$ac_header>
33915 _ACEOF
33916 rm -f conftest.$ac_objext
33917 if { (ac_try="$ac_compile"
33918 case "(($ac_try" in
33919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33920 *) ac_try_echo=$ac_try;;
33921 esac
33922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33923 (eval "$ac_compile") 2>conftest.er1
33924 ac_status=$?
33925 grep -v '^ *+' conftest.er1 >conftest.err
33926 rm -f conftest.er1
33927 cat conftest.err >&5
33928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33929 (exit $ac_status); } && {
33930 test -z "$ac_c_werror_flag" ||
33931 test ! -s conftest.err
33932 } && test -s conftest.$ac_objext; then
33933 eval "$as_ac_Header=yes"
33934 else
33935 echo "$as_me: failed program was:" >&5
33936 sed 's/^/| /' conftest.$ac_ext >&5
33937
33938 eval "$as_ac_Header=no"
33939 fi
33940
33941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33942 fi
33943 ac_res=`eval echo '${'$as_ac_Header'}'`
33944 { echo "$as_me:$LINENO: result: $ac_res" >&5
33945 echo "${ECHO_T}$ac_res" >&6; }
33946 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33947 cat >>confdefs.h <<_ACEOF
33948 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33949 _ACEOF
33950
33951 fi
33952
33953 done
33954
33955
33956 for ac_header in X11/XKBlib.h
33957 do
33958 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33959 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33960 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33961 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33962 echo $ECHO_N "(cached) $ECHO_C" >&6
33963 else
33964 cat >conftest.$ac_ext <<_ACEOF
33965 /* confdefs.h. */
33966 _ACEOF
33967 cat confdefs.h >>conftest.$ac_ext
33968 cat >>conftest.$ac_ext <<_ACEOF
33969 /* end confdefs.h. */
33970
33971 #if HAVE_X11_XLIB_H
33972 #include <X11/Xlib.h>
33973 #endif
33974
33975
33976 #include <$ac_header>
33977 _ACEOF
33978 rm -f conftest.$ac_objext
33979 if { (ac_try="$ac_compile"
33980 case "(($ac_try" in
33981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33982 *) ac_try_echo=$ac_try;;
33983 esac
33984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33985 (eval "$ac_compile") 2>conftest.er1
33986 ac_status=$?
33987 grep -v '^ *+' conftest.er1 >conftest.err
33988 rm -f conftest.er1
33989 cat conftest.err >&5
33990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33991 (exit $ac_status); } && {
33992 test -z "$ac_c_werror_flag" ||
33993 test ! -s conftest.err
33994 } && test -s conftest.$ac_objext; then
33995 eval "$as_ac_Header=yes"
33996 else
33997 echo "$as_me: failed program was:" >&5
33998 sed 's/^/| /' conftest.$ac_ext >&5
33999
34000 eval "$as_ac_Header=no"
34001 fi
34002
34003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34004 fi
34005 ac_res=`eval echo '${'$as_ac_Header'}'`
34006 { echo "$as_me:$LINENO: result: $ac_res" >&5
34007 echo "${ECHO_T}$ac_res" >&6; }
34008 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34009 cat >>confdefs.h <<_ACEOF
34010 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34011 _ACEOF
34012
34013 fi
34014
34015 done
34016
34017 fi
34018 fi
34019
34020
34021
34022 USE_XINERAMA=0
34023 if test "$wxUSE_DISPLAY" = "yes"; then
34024 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34025 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34026 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34027
34028 ac_find_libraries=
34029 for ac_dir in $SEARCH_LIB;
34030 do
34031 for ac_extension in a so sl dylib dll.a; do
34032 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34033 ac_find_libraries=$ac_dir
34034 break 2
34035 fi
34036 done
34037 done
34038
34039 if test "$ac_find_libraries" != "" ; then
34040
34041 if test "$ac_find_libraries" = "default location"; then
34042 ac_path_to_link=""
34043 else
34044 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34045 result=$?
34046 if test $result = 0; then
34047 ac_path_to_link=""
34048 else
34049 ac_path_to_link=" -L$ac_find_libraries"
34050 fi
34051 fi
34052
34053 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34054 LDFLAGS="$LDFLAGS $ac_path_to_link"
34055 fi
34056 USE_XINERAMA=1
34057 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34058 { echo "$as_me:$LINENO: result: yes" >&5
34059 echo "${ECHO_T}yes" >&6; }
34060 else
34061 { echo "$as_me:$LINENO: result: no" >&5
34062 echo "${ECHO_T}no" >&6; }
34063 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34064 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34065 wxUSE_DISPLAY="no"
34066 fi
34067 elif test "$wxUSE_MSW" = 1; then
34068 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
34069 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
34070 if test "${ac_cv_header_ddraw_h+set}" = set; then
34071 echo $ECHO_N "(cached) $ECHO_C" >&6
34072 else
34073 cat >conftest.$ac_ext <<_ACEOF
34074 /* confdefs.h. */
34075 _ACEOF
34076 cat confdefs.h >>conftest.$ac_ext
34077 cat >>conftest.$ac_ext <<_ACEOF
34078 /* end confdefs.h. */
34079 #include <windows.h>
34080
34081 #include <ddraw.h>
34082 _ACEOF
34083 rm -f conftest.$ac_objext
34084 if { (ac_try="$ac_compile"
34085 case "(($ac_try" in
34086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34087 *) ac_try_echo=$ac_try;;
34088 esac
34089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34090 (eval "$ac_compile") 2>conftest.er1
34091 ac_status=$?
34092 grep -v '^ *+' conftest.er1 >conftest.err
34093 rm -f conftest.er1
34094 cat conftest.err >&5
34095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34096 (exit $ac_status); } && {
34097 test -z "$ac_c_werror_flag" ||
34098 test ! -s conftest.err
34099 } && test -s conftest.$ac_objext; then
34100 ac_cv_header_ddraw_h=yes
34101 else
34102 echo "$as_me: failed program was:" >&5
34103 sed 's/^/| /' conftest.$ac_ext >&5
34104
34105 ac_cv_header_ddraw_h=no
34106 fi
34107
34108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34109 fi
34110 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34111 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34112
34113
34114 fi
34115 fi
34116
34117 if test "$wxUSE_DISPLAY" = "yes"; then
34118 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34119 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34120 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
34121
34122 ac_find_libraries=
34123 for ac_dir in $SEARCH_LIB;
34124 do
34125 for ac_extension in a so sl dylib dll.a; do
34126 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34127 ac_find_libraries=$ac_dir
34128 break 2
34129 fi
34130 done
34131 done
34132
34133 if test "$ac_find_libraries" != "" ; then
34134 { echo "$as_me:$LINENO: result: yes" >&5
34135 echo "${ECHO_T}yes" >&6; }
34136
34137 for ac_header in X11/extensions/xf86vmode.h
34138 do
34139 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34140 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34141 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34142 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34143 echo $ECHO_N "(cached) $ECHO_C" >&6
34144 else
34145 cat >conftest.$ac_ext <<_ACEOF
34146 /* confdefs.h. */
34147 _ACEOF
34148 cat confdefs.h >>conftest.$ac_ext
34149 cat >>conftest.$ac_ext <<_ACEOF
34150 /* end confdefs.h. */
34151
34152 #if HAVE_X11_XLIB_H
34153 #include <X11/Xlib.h>
34154 #endif
34155
34156
34157 #include <$ac_header>
34158 _ACEOF
34159 rm -f conftest.$ac_objext
34160 if { (ac_try="$ac_compile"
34161 case "(($ac_try" in
34162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34163 *) ac_try_echo=$ac_try;;
34164 esac
34165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34166 (eval "$ac_compile") 2>conftest.er1
34167 ac_status=$?
34168 grep -v '^ *+' conftest.er1 >conftest.err
34169 rm -f conftest.er1
34170 cat conftest.err >&5
34171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34172 (exit $ac_status); } && {
34173 test -z "$ac_c_werror_flag" ||
34174 test ! -s conftest.err
34175 } && test -s conftest.$ac_objext; then
34176 eval "$as_ac_Header=yes"
34177 else
34178 echo "$as_me: failed program was:" >&5
34179 sed 's/^/| /' conftest.$ac_ext >&5
34180
34181 eval "$as_ac_Header=no"
34182 fi
34183
34184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34185 fi
34186 ac_res=`eval echo '${'$as_ac_Header'}'`
34187 { echo "$as_me:$LINENO: result: $ac_res" >&5
34188 echo "${ECHO_T}$ac_res" >&6; }
34189 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34190 cat >>confdefs.h <<_ACEOF
34191 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34192 _ACEOF
34193
34194 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34195
34196 fi
34197
34198 done
34199
34200 else
34201 { echo "$as_me:$LINENO: result: no" >&5
34202 echo "${ECHO_T}no" >&6; }
34203 fi
34204 fi
34205 fi
34206
34207 if test "$wxUSE_DETECT_SM" = "yes"; then
34208 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
34209 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34210 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34211
34212 ac_find_libraries=
34213 for ac_dir in $SEARCH_LIB;
34214 do
34215 for ac_extension in a so sl dylib dll.a; do
34216 if test -f "$ac_dir/libSM.$ac_extension"; then
34217 ac_find_libraries=$ac_dir
34218 break 2
34219 fi
34220 done
34221 done
34222
34223 if test "$ac_find_libraries" != "" ; then
34224
34225 if test "$ac_find_libraries" = "default location"; then
34226 ac_path_to_link=""
34227 else
34228 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34229 result=$?
34230 if test $result = 0; then
34231 ac_path_to_link=""
34232 else
34233 ac_path_to_link=" -L$ac_find_libraries"
34234 fi
34235 fi
34236
34237 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34238 LDFLAGS="$LDFLAGS $ac_path_to_link"
34239 fi
34240 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34241 { echo "$as_me:$LINENO: result: yes" >&5
34242 echo "${ECHO_T}yes" >&6; }
34243 else
34244 { echo "$as_me:$LINENO: result: no" >&5
34245 echo "${ECHO_T}no" >&6; }
34246 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34247 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34248 wxUSE_DETECT_SM="no"
34249 fi
34250 else
34251 wxUSE_DETECT_SM="no"
34252 fi
34253 fi
34254
34255
34256
34257 USE_OPENGL=0
34258 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
34259
34260
34261 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34262 OPENGL_LIBS="-framework OpenGL -framework AGL"
34263 elif test "$wxUSE_MSW" = 1; then
34264 OPENGL_LIBS="-lopengl32 -lglu32"
34265 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
34266
34267 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34268 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34269
34270 ac_find_includes=
34271 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
34272 do
34273 if test -f "$ac_dir/GL/gl.h"; then
34274 ac_find_includes=$ac_dir
34275 break
34276 fi
34277 done
34278
34279 if test "$ac_find_includes" != "" ; then
34280 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34281 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34282
34283 if test "x$ac_find_includes" = "x/usr/include"; then
34284 ac_path_to_include=""
34285 else
34286 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34287 result=$?
34288 if test $result = 0; then
34289 ac_path_to_include=""
34290 else
34291 ac_path_to_include=" -I$ac_find_includes"
34292 fi
34293 fi
34294
34295 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34296 else
34297 { echo "$as_me:$LINENO: result: not found" >&5
34298 echo "${ECHO_T}not found" >&6; }
34299 fi
34300
34301 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34302 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34303 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34304 echo $ECHO_N "(cached) $ECHO_C" >&6
34305 else
34306 cat >conftest.$ac_ext <<_ACEOF
34307 /* confdefs.h. */
34308 _ACEOF
34309 cat confdefs.h >>conftest.$ac_ext
34310 cat >>conftest.$ac_ext <<_ACEOF
34311 /* end confdefs.h. */
34312
34313
34314 #include <GL/gl.h>
34315 _ACEOF
34316 rm -f conftest.$ac_objext
34317 if { (ac_try="$ac_compile"
34318 case "(($ac_try" in
34319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34320 *) ac_try_echo=$ac_try;;
34321 esac
34322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34323 (eval "$ac_compile") 2>conftest.er1
34324 ac_status=$?
34325 grep -v '^ *+' conftest.er1 >conftest.err
34326 rm -f conftest.er1
34327 cat conftest.err >&5
34328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34329 (exit $ac_status); } && {
34330 test -z "$ac_c_werror_flag" ||
34331 test ! -s conftest.err
34332 } && test -s conftest.$ac_objext; then
34333 ac_cv_header_GL_gl_h=yes
34334 else
34335 echo "$as_me: failed program was:" >&5
34336 sed 's/^/| /' conftest.$ac_ext >&5
34337
34338 ac_cv_header_GL_gl_h=no
34339 fi
34340
34341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34342 fi
34343 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34344 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34345 if test $ac_cv_header_GL_gl_h = yes; then
34346
34347 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34348 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34349 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34350 echo $ECHO_N "(cached) $ECHO_C" >&6
34351 else
34352 cat >conftest.$ac_ext <<_ACEOF
34353 /* confdefs.h. */
34354 _ACEOF
34355 cat confdefs.h >>conftest.$ac_ext
34356 cat >>conftest.$ac_ext <<_ACEOF
34357 /* end confdefs.h. */
34358
34359
34360 #include <GL/glu.h>
34361 _ACEOF
34362 rm -f conftest.$ac_objext
34363 if { (ac_try="$ac_compile"
34364 case "(($ac_try" in
34365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34366 *) ac_try_echo=$ac_try;;
34367 esac
34368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34369 (eval "$ac_compile") 2>conftest.er1
34370 ac_status=$?
34371 grep -v '^ *+' conftest.er1 >conftest.err
34372 rm -f conftest.er1
34373 cat conftest.err >&5
34374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34375 (exit $ac_status); } && {
34376 test -z "$ac_c_werror_flag" ||
34377 test ! -s conftest.err
34378 } && test -s conftest.$ac_objext; then
34379 ac_cv_header_GL_glu_h=yes
34380 else
34381 echo "$as_me: failed program was:" >&5
34382 sed 's/^/| /' conftest.$ac_ext >&5
34383
34384 ac_cv_header_GL_glu_h=no
34385 fi
34386
34387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34388 fi
34389 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34390 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34391 if test $ac_cv_header_GL_glu_h = yes; then
34392
34393 found_gl=0
34394
34395 { echo "$as_me:$LINENO: checking for -lGL" >&5
34396 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
34397
34398 ac_find_libraries=
34399 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
34400 do
34401 for ac_extension in a so sl dylib dll.a; do
34402 if test -f "$ac_dir/libGL.$ac_extension"; then
34403 ac_find_libraries=$ac_dir
34404 break 2
34405 fi
34406 done
34407 done
34408
34409 if test "$ac_find_libraries" != "" ; then
34410 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34411 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34412
34413
34414 if test "$ac_find_libraries" = "default location"; then
34415 ac_path_to_link=""
34416 else
34417 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34418 result=$?
34419 if test $result = 0; then
34420 ac_path_to_link=""
34421 else
34422 ac_path_to_link=" -L$ac_find_libraries"
34423 fi
34424 fi
34425
34426 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34427 LDFLAGS_GL="$ac_path_to_link"
34428 fi
34429
34430 { echo "$as_me:$LINENO: checking for -lGLU" >&5
34431 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
34432
34433 ac_find_libraries=
34434 for ac_dir in $SEARCH_LIB;
34435 do
34436 for ac_extension in a so sl dylib dll.a; do
34437 if test -f "$ac_dir/libGLU.$ac_extension"; then
34438 ac_find_libraries=$ac_dir
34439 break 2
34440 fi
34441 done
34442 done
34443
34444 if test "$ac_find_libraries" != "" ; then
34445
34446 if test "$ac_find_libraries" = "default location"; then
34447 ac_path_to_link=""
34448 else
34449 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34450 result=$?
34451 if test $result = 0; then
34452 ac_path_to_link=""
34453 else
34454 ac_path_to_link=" -L$ac_find_libraries"
34455 fi
34456 fi
34457
34458 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34459 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34460 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34461 fi
34462
34463 found_gl=1
34464 OPENGL_LIBS="-lGL -lGLU"
34465 { echo "$as_me:$LINENO: result: yes" >&5
34466 echo "${ECHO_T}yes" >&6; }
34467 else
34468 { echo "$as_me:$LINENO: result: no" >&5
34469 echo "${ECHO_T}no" >&6; }
34470 fi
34471 else
34472 { echo "$as_me:$LINENO: result: no" >&5
34473 echo "${ECHO_T}no" >&6; }
34474 fi
34475
34476 if test "$found_gl" != 1; then
34477 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34478 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
34479
34480 ac_find_libraries=
34481 for ac_dir in $SEARCH_LIB;
34482 do
34483 for ac_extension in a so sl dylib dll.a; do
34484 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34485 ac_find_libraries=$ac_dir
34486 break 2
34487 fi
34488 done
34489 done
34490
34491 if test "$ac_find_libraries" != "" ; then
34492
34493 if test "$ac_find_libraries" = "default location"; then
34494 ac_path_to_link=""
34495 else
34496 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34497 result=$?
34498 if test $result = 0; then
34499 ac_path_to_link=""
34500 else
34501 ac_path_to_link=" -L$ac_find_libraries"
34502 fi
34503 fi
34504
34505 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34506 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34507 { echo "$as_me:$LINENO: result: yes" >&5
34508 echo "${ECHO_T}yes" >&6; }
34509 else
34510 { echo "$as_me:$LINENO: result: no" >&5
34511 echo "${ECHO_T}no" >&6; }
34512 fi
34513 fi
34514
34515 fi
34516
34517
34518
34519 fi
34520
34521
34522
34523 if test "x$OPENGL_LIBS" = "x"; then
34524 if test "$wxUSE_OPENGL" = "yes"; then
34525 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34526 echo "$as_me: error: OpenGL libraries not available" >&2;}
34527 { (exit 1); exit 1; }; }
34528 else
34529 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
34530 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
34531 wxUSE_OPENGL=no
34532 USE_OPENGL=0
34533 fi
34534 fi
34535 else
34536 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34537 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34538 wxUSE_OPENGL="no"
34539 fi
34540
34541 if test "$wxUSE_OPENGL" = "auto"; then
34542 wxUSE_OPENGL=yes
34543 fi
34544
34545 if test "$wxUSE_OPENGL" = "yes"; then
34546 USE_OPENGL=1
34547 cat >>confdefs.h <<\_ACEOF
34548 #define wxUSE_OPENGL 1
34549 _ACEOF
34550
34551 cat >>confdefs.h <<\_ACEOF
34552 #define wxUSE_GLCANVAS 1
34553 _ACEOF
34554
34555 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34556 fi
34557 fi
34558
34559
34560 if test -n "$TOOLKIT" ; then
34561 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34562 fi
34563
34564
34565
34566 if test "$wxUSE_SHARED" = "yes"; then
34567 case "${host}" in
34568 *-pc-msdosdjgpp )
34569 wxUSE_SHARED=no
34570 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34571 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34572 ;;
34573 esac
34574 fi
34575
34576 if test "$wxUSE_SHARED" = "yes"; then
34577
34578
34579 case "${host}" in
34580 *-*-cygwin* | *-*-mingw* )
34581 wx_cv_version_script=no
34582 ;;
34583
34584 *)
34585 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34586 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34587 if test "${wx_cv_version_script+set}" = set; then
34588 echo $ECHO_N "(cached) $ECHO_C" >&6
34589 else
34590
34591 echo "VER_1 { *; };" >conftest.sym
34592 echo "int main() { return 0; }" >conftest.cpp
34593
34594 if { ac_try='
34595 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34596 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34598 (eval $ac_try) 2>&5
34599 ac_status=$?
34600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34601 (exit $ac_status); }; } ; then
34602 if test -s conftest.stderr ; then
34603 wx_cv_version_script=no
34604 else
34605 wx_cv_version_script=yes
34606 fi
34607 else
34608 wx_cv_version_script=no
34609 fi
34610
34611 if test $wx_cv_version_script = yes
34612 then
34613 echo "struct B { virtual ~B() { } }; \
34614 struct D : public B { }; \
34615 void F() { D d; }" > conftest.cpp
34616
34617 if { ac_try='
34618 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34619 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34621 (eval $ac_try) 2>&5
34622 ac_status=$?
34623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34624 (exit $ac_status); }; } &&
34625 { ac_try='
34626 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34627 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34629 (eval $ac_try) 2>&5
34630 ac_status=$?
34631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34632 (exit $ac_status); }; }
34633 then
34634 if { ac_try='
34635 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34636 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34638 (eval $ac_try) 2>&5
34639 ac_status=$?
34640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34641 (exit $ac_status); }; }
34642 then
34643 wx_cv_version_script=yes
34644 else
34645 wx_cv_version_script=no
34646 fi
34647 fi
34648 fi
34649
34650 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34651 rm -f conftest1.output conftest2.output conftest3.output
34652
34653 fi
34654 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34655 echo "${ECHO_T}$wx_cv_version_script" >&6; }
34656
34657 if test $wx_cv_version_script = yes ; then
34658 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34659 fi
34660 ;;
34661 esac
34662
34663
34664 if test "$wxUSE_VISIBILITY" != "no"; then
34665
34666
34667 if test -n "$GCC"; then
34668 CFLAGS_VISIBILITY="-fvisibility=hidden"
34669 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
34670 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
34671 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
34672 if test "${wx_cv_cc_visibility+set}" = set; then
34673 echo $ECHO_N "(cached) $ECHO_C" >&6
34674 else
34675
34676 wx_save_CXXFLAGS="$CXXFLAGS"
34677 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34678 ac_ext=cpp
34679 ac_cpp='$CXXCPP $CPPFLAGS'
34680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34683
34684 cat >conftest.$ac_ext <<_ACEOF
34685 /* confdefs.h. */
34686 _ACEOF
34687 cat confdefs.h >>conftest.$ac_ext
34688 cat >>conftest.$ac_ext <<_ACEOF
34689 /* end confdefs.h. */
34690
34691 /* we need gcc >= 4.0, older versions with visibility support
34692 didn't have class visibility: */
34693 #if defined(__GNUC__) && __GNUC__ < 4
34694 error this gcc is too old;
34695 #endif
34696
34697 /* visibility only makes sense for ELF shared libs: */
34698 #if !defined(__ELF__) && !defined(__APPLE__)
34699 error this platform has no visibility;
34700 #endif
34701
34702 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
34703 extern __attribute__((__visibility__("default"))) int exportedvar;
34704 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
34705 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
34706 class __attribute__((__visibility__("default"))) Foo {
34707 Foo() {}
34708 };
34709
34710 int
34711 main ()
34712 {
34713
34714 ;
34715 return 0;
34716 }
34717 _ACEOF
34718 rm -f conftest.$ac_objext
34719 if { (ac_try="$ac_compile"
34720 case "(($ac_try" in
34721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34722 *) ac_try_echo=$ac_try;;
34723 esac
34724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34725 (eval "$ac_compile") 2>conftest.er1
34726 ac_status=$?
34727 grep -v '^ *+' conftest.er1 >conftest.err
34728 rm -f conftest.er1
34729 cat conftest.err >&5
34730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34731 (exit $ac_status); } && {
34732 test -z "$ac_cxx_werror_flag" ||
34733 test ! -s conftest.err
34734 } && test -s conftest.$ac_objext; then
34735 wx_cv_cc_visibility=yes
34736 else
34737 echo "$as_me: failed program was:" >&5
34738 sed 's/^/| /' conftest.$ac_ext >&5
34739
34740 wx_cv_cc_visibility=no
34741 fi
34742
34743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34744 ac_ext=c
34745 ac_cpp='$CPP $CPPFLAGS'
34746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34749
34750 CXXFLAGS="$wx_save_CXXFLAGS"
34751 fi
34752
34753 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
34754 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
34755 if test $wx_cv_cc_visibility = yes; then
34756 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
34757 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
34758 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
34759 echo $ECHO_N "(cached) $ECHO_C" >&6
34760 else
34761
34762 wx_save_CXXFLAGS="$CXXFLAGS"
34763 wx_save_LDFLAGS="$LDFLAGS"
34764 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34765 LDFLAGS="$LDFLAGS -shared -fPIC"
34766 ac_ext=cpp
34767 ac_cpp='$CXXCPP $CPPFLAGS'
34768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34771
34772 cat >conftest.$ac_ext <<_ACEOF
34773 /* confdefs.h. */
34774 _ACEOF
34775 cat confdefs.h >>conftest.$ac_ext
34776 cat >>conftest.$ac_ext <<_ACEOF
34777 /* end confdefs.h. */
34778
34779 #include <string>
34780
34781 int
34782 main ()
34783 {
34784
34785 std::string s("hello");
34786 return s.length();
34787
34788 ;
34789 return 0;
34790 }
34791 _ACEOF
34792 rm -f conftest.$ac_objext conftest$ac_exeext
34793 if { (ac_try="$ac_link"
34794 case "(($ac_try" in
34795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34796 *) ac_try_echo=$ac_try;;
34797 esac
34798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34799 (eval "$ac_link") 2>conftest.er1
34800 ac_status=$?
34801 grep -v '^ *+' conftest.er1 >conftest.err
34802 rm -f conftest.er1
34803 cat conftest.err >&5
34804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34805 (exit $ac_status); } && {
34806 test -z "$ac_cxx_werror_flag" ||
34807 test ! -s conftest.err
34808 } && test -s conftest$ac_exeext &&
34809 $as_test_x conftest$ac_exeext; then
34810 wx_cv_cc_broken_libstdcxx_visibility=no
34811 else
34812 echo "$as_me: failed program was:" >&5
34813 sed 's/^/| /' conftest.$ac_ext >&5
34814
34815 wx_cv_cc_broken_libstdcxx_visibility=yes
34816 fi
34817
34818 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34819 conftest$ac_exeext conftest.$ac_ext
34820 ac_ext=c
34821 ac_cpp='$CPP $CPPFLAGS'
34822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34825
34826 CXXFLAGS="$wx_save_CXXFLAGS"
34827 LDFLAGS="$wx_save_LDFLAGS"
34828 fi
34829
34830 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
34831 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
34832
34833 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34834 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
34835 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
34836 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
34837 echo $ECHO_N "(cached) $ECHO_C" >&6
34838 else
34839
34840 ac_ext=cpp
34841 ac_cpp='$CXXCPP $CPPFLAGS'
34842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34845
34846 cat >conftest.$ac_ext <<_ACEOF
34847 /* confdefs.h. */
34848 _ACEOF
34849 cat confdefs.h >>conftest.$ac_ext
34850 cat >>conftest.$ac_ext <<_ACEOF
34851 /* end confdefs.h. */
34852
34853 #pragma GCC visibility push(default)
34854 #include <string>
34855 #pragma GCC visibility pop
34856
34857 int
34858 main ()
34859 {
34860
34861 std::string s("hello");
34862 return s.length();
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_cxx_werror_flag" ||
34883 test ! -s conftest.err
34884 } && test -s conftest$ac_exeext &&
34885 $as_test_x conftest$ac_exeext; then
34886 wx_cv_cc_visibility_workaround=no
34887 else
34888 echo "$as_me: failed program was:" >&5
34889 sed 's/^/| /' conftest.$ac_ext >&5
34890
34891 wx_cv_cc_visibility_workaround=yes
34892 fi
34893
34894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34895 conftest$ac_exeext conftest.$ac_ext
34896 ac_ext=c
34897 ac_cpp='$CPP $CPPFLAGS'
34898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34901
34902
34903 fi
34904
34905 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
34906 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
34907
34908 if test $wx_cv_cc_visibility_workaround = no; then
34909 wx_cv_cc_visibility=no
34910 fi
34911 fi
34912 fi
34913
34914 if test $wx_cv_cc_visibility = yes; then
34915 cat >>confdefs.h <<\_ACEOF
34916 #define HAVE_VISIBILITY 1
34917 _ACEOF
34918
34919 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34920 cat >>confdefs.h <<\_ACEOF
34921 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
34922 _ACEOF
34923
34924 fi
34925 else
34926 CFLAGS_VISIBILITY=""
34927 CXXFLAGS_VISIBILITY=""
34928 fi
34929
34930
34931 fi
34932
34933 fi
34934
34935 if test "x$SUNCXX" = xyes; then
34936 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
34937 WXCONFIG_RPATH="-R\$libdir"
34938 else
34939 case "${host}" in
34940 *-*-linux* | *-*-gnu* )
34941 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34942 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34943 ;;
34944
34945 *-*-solaris2* )
34946
34947 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
34948
34949 saveLdflags="$LDFLAGS"
34950 LDFLAGS="$saveLdflags -Wl,-rpath,/"
34951 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34952 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
34953 cat >conftest.$ac_ext <<_ACEOF
34954 /* confdefs.h. */
34955 _ACEOF
34956 cat confdefs.h >>conftest.$ac_ext
34957 cat >>conftest.$ac_ext <<_ACEOF
34958 /* end confdefs.h. */
34959
34960 int
34961 main ()
34962 {
34963
34964 ;
34965 return 0;
34966 }
34967 _ACEOF
34968 rm -f conftest.$ac_objext conftest$ac_exeext
34969 if { (ac_try="$ac_link"
34970 case "(($ac_try" in
34971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34972 *) ac_try_echo=$ac_try;;
34973 esac
34974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34975 (eval "$ac_link") 2>conftest.er1
34976 ac_status=$?
34977 grep -v '^ *+' conftest.er1 >conftest.err
34978 rm -f conftest.er1
34979 cat conftest.err >&5
34980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34981 (exit $ac_status); } && {
34982 test -z "$ac_c_werror_flag" ||
34983 test ! -s conftest.err
34984 } && test -s conftest$ac_exeext &&
34985 $as_test_x conftest$ac_exeext; then
34986
34987 { echo "$as_me:$LINENO: result: yes" >&5
34988 echo "${ECHO_T}yes" >&6; }
34989 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34990 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34991
34992 else
34993 echo "$as_me: failed program was:" >&5
34994 sed 's/^/| /' conftest.$ac_ext >&5
34995
34996
34997 { echo "$as_me:$LINENO: result: no" >&5
34998 echo "${ECHO_T}no" >&6; }
34999 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35000 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35001 LDFLAGS="$saveLdflags -Wl,-R,/"
35002 cat >conftest.$ac_ext <<_ACEOF
35003 /* confdefs.h. */
35004 _ACEOF
35005 cat confdefs.h >>conftest.$ac_ext
35006 cat >>conftest.$ac_ext <<_ACEOF
35007 /* end confdefs.h. */
35008
35009 int
35010 main ()
35011 {
35012
35013 ;
35014 return 0;
35015 }
35016 _ACEOF
35017 rm -f conftest.$ac_objext conftest$ac_exeext
35018 if { (ac_try="$ac_link"
35019 case "(($ac_try" in
35020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35021 *) ac_try_echo=$ac_try;;
35022 esac
35023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35024 (eval "$ac_link") 2>conftest.er1
35025 ac_status=$?
35026 grep -v '^ *+' conftest.er1 >conftest.err
35027 rm -f conftest.er1
35028 cat conftest.err >&5
35029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35030 (exit $ac_status); } && {
35031 test -z "$ac_c_werror_flag" ||
35032 test ! -s conftest.err
35033 } && test -s conftest$ac_exeext &&
35034 $as_test_x conftest$ac_exeext; then
35035
35036 { echo "$as_me:$LINENO: result: yes" >&5
35037 echo "${ECHO_T}yes" >&6; }
35038 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
35039 WXCONFIG_RPATH="-Wl,-R,\$libdir"
35040
35041 else
35042 echo "$as_me: failed program was:" >&5
35043 sed 's/^/| /' conftest.$ac_ext >&5
35044
35045
35046 { echo "$as_me:$LINENO: result: no" >&5
35047 echo "${ECHO_T}no" >&6; }
35048
35049 fi
35050
35051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35052 conftest$ac_exeext conftest.$ac_ext
35053
35054 fi
35055
35056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35057 conftest$ac_exeext conftest.$ac_ext
35058 LDFLAGS="$saveLdflags"
35059 ;;
35060
35061 *-*-darwin* )
35062 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
35063 if test "$install_name_tool" -a -x "$install_name_tool"; then
35064 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
35065 cat <<EOF >change-install-names
35066 #!/bin/sh
35067 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35068 for i in \${libnames} ; do
35069 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
35070 for dep in \${libnames} ; do
35071 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
35072 done
35073 done
35074 EOF
35075 chmod +x change-install-names
35076 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
35077 fi
35078
35079 HEADER_PAD_OPTION="-headerpad_max_install_names"
35080 ;;
35081
35082 *-*-cygwin* | *-*-mingw32* )
35083 ;;
35084
35085 *-*-hpux* )
35086 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
35087 WXCONFIG_RPATH="-Wl,+b,\$libdir"
35088 ;;
35089
35090 esac
35091 fi
35092
35093 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35094
35095 if test $wxUSE_RPATH = "no"; then
35096 SAMPLES_RPATH_FLAG=''
35097 DYLIB_PATH_POSTLINK=''
35098 WXCONFIG_RPATH=''
35099 fi
35100
35101 SHARED=1
35102
35103 else
35104
35105 config_linkage_component="-static"
35106 SHARED=0
35107
35108 fi
35109
35110
35111 UNICODE=0
35112 lib_unicode_suffix=
35113 WX_CHARTYPE="ansi"
35114 if test "$wxUSE_UNICODE" = "yes"; then
35115 lib_unicode_suffix=u
35116 WX_CHARTYPE="unicode"
35117 UNICODE=1
35118 fi
35119
35120 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
35121 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
35122
35123 DEBUG_INFO=0
35124 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35125 DEBUG_INFO=1
35126 fi
35127
35128 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
35129
35130 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
35131
35132 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35133
35134
35135 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35136 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35137 else
35138 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35139 fi
35140 if test "${TOOLKIT_DIR}" = "os2"; then
35141 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35142 else
35143 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35144 fi
35145
35146
35147
35148 if test "$wxUSE_OLD_COCOA" = 1; then
35149
35150 ac_ext=c
35151 ac_cpp='$CPP $CPPFLAGS'
35152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35155
35156 ac_ext=m
35157
35158 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35159 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35160 cat >conftest.$ac_ext <<_ACEOF
35161 /* confdefs.h. */
35162 _ACEOF
35163 cat confdefs.h >>conftest.$ac_ext
35164 cat >>conftest.$ac_ext <<_ACEOF
35165 /* end confdefs.h. */
35166 #include <AppKit/NSEvent.h>
35167 #include <CoreFoundation/CoreFoundation.h>
35168
35169 int
35170 main ()
35171 {
35172
35173 ;
35174 return 0;
35175 }
35176 _ACEOF
35177 rm -f conftest.$ac_objext
35178 if { (ac_try="$ac_compile"
35179 case "(($ac_try" in
35180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35181 *) ac_try_echo=$ac_try;;
35182 esac
35183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35184 (eval "$ac_compile") 2>conftest.er1
35185 ac_status=$?
35186 grep -v '^ *+' conftest.er1 >conftest.err
35187 rm -f conftest.er1
35188 cat conftest.err >&5
35189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35190 (exit $ac_status); } && {
35191 test -z "$ac_c_werror_flag" ||
35192 test ! -s conftest.err
35193 } && test -s conftest.$ac_objext; then
35194 { echo "$as_me:$LINENO: result: no" >&5
35195 echo "${ECHO_T}no" >&6; }
35196 else
35197 echo "$as_me: failed program was:" >&5
35198 sed 's/^/| /' conftest.$ac_ext >&5
35199
35200 { echo "$as_me:$LINENO: result: yes" >&5
35201 echo "${ECHO_T}yes" >&6; }
35202 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35203 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35204 cat >conftest.$ac_ext <<_ACEOF
35205 /* confdefs.h. */
35206 _ACEOF
35207 cat confdefs.h >>conftest.$ac_ext
35208 cat >>conftest.$ac_ext <<_ACEOF
35209 /* end confdefs.h. */
35210 #define __Point__ 1
35211 #include <AppKit/NSEvent.h>
35212 #include <CoreFoundation/CoreFoundation.h>
35213
35214 int
35215 main ()
35216 {
35217
35218 ;
35219 return 0;
35220 }
35221 _ACEOF
35222 rm -f conftest.$ac_objext
35223 if { (ac_try="$ac_compile"
35224 case "(($ac_try" in
35225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35226 *) ac_try_echo=$ac_try;;
35227 esac
35228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35229 (eval "$ac_compile") 2>conftest.er1
35230 ac_status=$?
35231 grep -v '^ *+' conftest.er1 >conftest.err
35232 rm -f conftest.er1
35233 cat conftest.err >&5
35234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35235 (exit $ac_status); } && {
35236 test -z "$ac_c_werror_flag" ||
35237 test ! -s conftest.err
35238 } && test -s conftest.$ac_objext; then
35239 { echo "$as_me:$LINENO: result: yes" >&5
35240 echo "${ECHO_T}yes" >&6; }
35241 cat >>confdefs.h <<\_ACEOF
35242 #define __Point__ 1
35243 _ACEOF
35244
35245
35246 else
35247 echo "$as_me: failed program was:" >&5
35248 sed 's/^/| /' conftest.$ac_ext >&5
35249
35250 { { echo "$as_me:$LINENO: error: no
35251 See \`config.log' for more details." >&5
35252 echo "$as_me: error: no
35253 See \`config.log' for more details." >&2;}
35254 { (exit 1); exit 1; }; }
35255
35256 fi
35257
35258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35259
35260 fi
35261
35262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35263 ac_ext=c
35264 ac_cpp='$CPP $CPPFLAGS'
35265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35268
35269 fi
35270
35271
35272 { echo "$as_me:$LINENO: checking for mode_t" >&5
35273 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35274 if test "${ac_cv_type_mode_t+set}" = set; then
35275 echo $ECHO_N "(cached) $ECHO_C" >&6
35276 else
35277 cat >conftest.$ac_ext <<_ACEOF
35278 /* confdefs.h. */
35279 _ACEOF
35280 cat confdefs.h >>conftest.$ac_ext
35281 cat >>conftest.$ac_ext <<_ACEOF
35282 /* end confdefs.h. */
35283 $ac_includes_default
35284 typedef mode_t ac__type_new_;
35285 int
35286 main ()
35287 {
35288 if ((ac__type_new_ *) 0)
35289 return 0;
35290 if (sizeof (ac__type_new_))
35291 return 0;
35292 ;
35293 return 0;
35294 }
35295 _ACEOF
35296 rm -f conftest.$ac_objext
35297 if { (ac_try="$ac_compile"
35298 case "(($ac_try" in
35299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35300 *) ac_try_echo=$ac_try;;
35301 esac
35302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35303 (eval "$ac_compile") 2>conftest.er1
35304 ac_status=$?
35305 grep -v '^ *+' conftest.er1 >conftest.err
35306 rm -f conftest.er1
35307 cat conftest.err >&5
35308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35309 (exit $ac_status); } && {
35310 test -z "$ac_c_werror_flag" ||
35311 test ! -s conftest.err
35312 } && test -s conftest.$ac_objext; then
35313 ac_cv_type_mode_t=yes
35314 else
35315 echo "$as_me: failed program was:" >&5
35316 sed 's/^/| /' conftest.$ac_ext >&5
35317
35318 ac_cv_type_mode_t=no
35319 fi
35320
35321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35322 fi
35323 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35324 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35325 if test $ac_cv_type_mode_t = yes; then
35326 :
35327 else
35328
35329 cat >>confdefs.h <<_ACEOF
35330 #define mode_t int
35331 _ACEOF
35332
35333 fi
35334
35335 { echo "$as_me:$LINENO: checking for off_t" >&5
35336 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35337 if test "${ac_cv_type_off_t+set}" = set; then
35338 echo $ECHO_N "(cached) $ECHO_C" >&6
35339 else
35340 cat >conftest.$ac_ext <<_ACEOF
35341 /* confdefs.h. */
35342 _ACEOF
35343 cat confdefs.h >>conftest.$ac_ext
35344 cat >>conftest.$ac_ext <<_ACEOF
35345 /* end confdefs.h. */
35346 $ac_includes_default
35347 typedef off_t ac__type_new_;
35348 int
35349 main ()
35350 {
35351 if ((ac__type_new_ *) 0)
35352 return 0;
35353 if (sizeof (ac__type_new_))
35354 return 0;
35355 ;
35356 return 0;
35357 }
35358 _ACEOF
35359 rm -f conftest.$ac_objext
35360 if { (ac_try="$ac_compile"
35361 case "(($ac_try" in
35362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35363 *) ac_try_echo=$ac_try;;
35364 esac
35365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35366 (eval "$ac_compile") 2>conftest.er1
35367 ac_status=$?
35368 grep -v '^ *+' conftest.er1 >conftest.err
35369 rm -f conftest.er1
35370 cat conftest.err >&5
35371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35372 (exit $ac_status); } && {
35373 test -z "$ac_c_werror_flag" ||
35374 test ! -s conftest.err
35375 } && test -s conftest.$ac_objext; then
35376 ac_cv_type_off_t=yes
35377 else
35378 echo "$as_me: failed program was:" >&5
35379 sed 's/^/| /' conftest.$ac_ext >&5
35380
35381 ac_cv_type_off_t=no
35382 fi
35383
35384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35385 fi
35386 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35387 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
35388 if test $ac_cv_type_off_t = yes; then
35389 :
35390 else
35391
35392 cat >>confdefs.h <<_ACEOF
35393 #define off_t long int
35394 _ACEOF
35395
35396 fi
35397
35398 { echo "$as_me:$LINENO: checking for pid_t" >&5
35399 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
35400 if test "${ac_cv_type_pid_t+set}" = set; then
35401 echo $ECHO_N "(cached) $ECHO_C" >&6
35402 else
35403 cat >conftest.$ac_ext <<_ACEOF
35404 /* confdefs.h. */
35405 _ACEOF
35406 cat confdefs.h >>conftest.$ac_ext
35407 cat >>conftest.$ac_ext <<_ACEOF
35408 /* end confdefs.h. */
35409 $ac_includes_default
35410 typedef pid_t ac__type_new_;
35411 int
35412 main ()
35413 {
35414 if ((ac__type_new_ *) 0)
35415 return 0;
35416 if (sizeof (ac__type_new_))
35417 return 0;
35418 ;
35419 return 0;
35420 }
35421 _ACEOF
35422 rm -f conftest.$ac_objext
35423 if { (ac_try="$ac_compile"
35424 case "(($ac_try" in
35425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35426 *) ac_try_echo=$ac_try;;
35427 esac
35428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35429 (eval "$ac_compile") 2>conftest.er1
35430 ac_status=$?
35431 grep -v '^ *+' conftest.er1 >conftest.err
35432 rm -f conftest.er1
35433 cat conftest.err >&5
35434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35435 (exit $ac_status); } && {
35436 test -z "$ac_c_werror_flag" ||
35437 test ! -s conftest.err
35438 } && test -s conftest.$ac_objext; then
35439 ac_cv_type_pid_t=yes
35440 else
35441 echo "$as_me: failed program was:" >&5
35442 sed 's/^/| /' conftest.$ac_ext >&5
35443
35444 ac_cv_type_pid_t=no
35445 fi
35446
35447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35448 fi
35449 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35450 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
35451 if test $ac_cv_type_pid_t = yes; then
35452 :
35453 else
35454
35455 cat >>confdefs.h <<_ACEOF
35456 #define pid_t int
35457 _ACEOF
35458
35459 fi
35460
35461 { echo "$as_me:$LINENO: checking for size_t" >&5
35462 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
35463 if test "${ac_cv_type_size_t+set}" = set; then
35464 echo $ECHO_N "(cached) $ECHO_C" >&6
35465 else
35466 cat >conftest.$ac_ext <<_ACEOF
35467 /* confdefs.h. */
35468 _ACEOF
35469 cat confdefs.h >>conftest.$ac_ext
35470 cat >>conftest.$ac_ext <<_ACEOF
35471 /* end confdefs.h. */
35472 $ac_includes_default
35473 typedef size_t ac__type_new_;
35474 int
35475 main ()
35476 {
35477 if ((ac__type_new_ *) 0)
35478 return 0;
35479 if (sizeof (ac__type_new_))
35480 return 0;
35481 ;
35482 return 0;
35483 }
35484 _ACEOF
35485 rm -f conftest.$ac_objext
35486 if { (ac_try="$ac_compile"
35487 case "(($ac_try" in
35488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35489 *) ac_try_echo=$ac_try;;
35490 esac
35491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35492 (eval "$ac_compile") 2>conftest.er1
35493 ac_status=$?
35494 grep -v '^ *+' conftest.er1 >conftest.err
35495 rm -f conftest.er1
35496 cat conftest.err >&5
35497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35498 (exit $ac_status); } && {
35499 test -z "$ac_c_werror_flag" ||
35500 test ! -s conftest.err
35501 } && test -s conftest.$ac_objext; then
35502 ac_cv_type_size_t=yes
35503 else
35504 echo "$as_me: failed program was:" >&5
35505 sed 's/^/| /' conftest.$ac_ext >&5
35506
35507 ac_cv_type_size_t=no
35508 fi
35509
35510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35511 fi
35512 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35513 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35514 if test $ac_cv_type_size_t = yes; then
35515 :
35516 else
35517
35518 cat >>confdefs.h <<_ACEOF
35519 #define size_t unsigned int
35520 _ACEOF
35521
35522 fi
35523
35524
35525 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35526 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35527 if test "${ac_cv_type_ssize_t+set}" = set; then
35528 echo $ECHO_N "(cached) $ECHO_C" >&6
35529 else
35530 cat >conftest.$ac_ext <<_ACEOF
35531 /* confdefs.h. */
35532 _ACEOF
35533 cat confdefs.h >>conftest.$ac_ext
35534 cat >>conftest.$ac_ext <<_ACEOF
35535 /* end confdefs.h. */
35536 $ac_includes_default
35537 typedef ssize_t ac__type_new_;
35538 int
35539 main ()
35540 {
35541 if ((ac__type_new_ *) 0)
35542 return 0;
35543 if (sizeof (ac__type_new_))
35544 return 0;
35545 ;
35546 return 0;
35547 }
35548 _ACEOF
35549 rm -f conftest.$ac_objext
35550 if { (ac_try="$ac_compile"
35551 case "(($ac_try" in
35552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35553 *) ac_try_echo=$ac_try;;
35554 esac
35555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35556 (eval "$ac_compile") 2>conftest.er1
35557 ac_status=$?
35558 grep -v '^ *+' conftest.er1 >conftest.err
35559 rm -f conftest.er1
35560 cat conftest.err >&5
35561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35562 (exit $ac_status); } && {
35563 test -z "$ac_c_werror_flag" ||
35564 test ! -s conftest.err
35565 } && test -s conftest.$ac_objext; then
35566 ac_cv_type_ssize_t=yes
35567 else
35568 echo "$as_me: failed program was:" >&5
35569 sed 's/^/| /' conftest.$ac_ext >&5
35570
35571 ac_cv_type_ssize_t=no
35572 fi
35573
35574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35575 fi
35576 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35577 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35578 if test $ac_cv_type_ssize_t = yes; then
35579
35580 cat >>confdefs.h <<_ACEOF
35581 #define HAVE_SSIZE_T 1
35582 _ACEOF
35583
35584
35585 fi
35586
35587
35588 ac_ext=cpp
35589 ac_cpp='$CXXCPP $CPPFLAGS'
35590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35593 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35594 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35595 if test "${wx_cv_size_t_is_uint+set}" = set; then
35596 echo $ECHO_N "(cached) $ECHO_C" >&6
35597 else
35598
35599 cat >conftest.$ac_ext <<_ACEOF
35600 /* confdefs.h. */
35601 _ACEOF
35602 cat confdefs.h >>conftest.$ac_ext
35603 cat >>conftest.$ac_ext <<_ACEOF
35604 /* end confdefs.h. */
35605 #include <stddef.h>
35606 int
35607 main ()
35608 {
35609
35610 return 0; }
35611
35612 struct Foo { void foo(size_t); void foo(unsigned int); };
35613
35614 int bar() {
35615
35616 ;
35617 return 0;
35618 }
35619 _ACEOF
35620 rm -f conftest.$ac_objext
35621 if { (ac_try="$ac_compile"
35622 case "(($ac_try" in
35623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35624 *) ac_try_echo=$ac_try;;
35625 esac
35626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35627 (eval "$ac_compile") 2>conftest.er1
35628 ac_status=$?
35629 grep -v '^ *+' conftest.er1 >conftest.err
35630 rm -f conftest.er1
35631 cat conftest.err >&5
35632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35633 (exit $ac_status); } && {
35634 test -z "$ac_cxx_werror_flag" ||
35635 test ! -s conftest.err
35636 } && test -s conftest.$ac_objext; then
35637 wx_cv_size_t_is_uint=no
35638 else
35639 echo "$as_me: failed program was:" >&5
35640 sed 's/^/| /' conftest.$ac_ext >&5
35641
35642 wx_cv_size_t_is_uint=yes
35643
35644 fi
35645
35646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35647
35648
35649 fi
35650 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35651 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
35652
35653 if test "$wx_cv_size_t_is_uint" = "yes"; then
35654 cat >>confdefs.h <<\_ACEOF
35655 #define wxSIZE_T_IS_UINT 1
35656 _ACEOF
35657
35658 else
35659 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35660 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
35661 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35662 echo $ECHO_N "(cached) $ECHO_C" >&6
35663 else
35664 cat >conftest.$ac_ext <<_ACEOF
35665 /* confdefs.h. */
35666 _ACEOF
35667 cat confdefs.h >>conftest.$ac_ext
35668 cat >>conftest.$ac_ext <<_ACEOF
35669 /* end confdefs.h. */
35670 #include <stddef.h>
35671 int
35672 main ()
35673 {
35674
35675 return 0; }
35676
35677 struct Foo { void foo(size_t); void foo(unsigned long); };
35678
35679 int bar() {
35680
35681 ;
35682 return 0;
35683 }
35684 _ACEOF
35685 rm -f conftest.$ac_objext
35686 if { (ac_try="$ac_compile"
35687 case "(($ac_try" in
35688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35689 *) ac_try_echo=$ac_try;;
35690 esac
35691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35692 (eval "$ac_compile") 2>conftest.er1
35693 ac_status=$?
35694 grep -v '^ *+' conftest.er1 >conftest.err
35695 rm -f conftest.er1
35696 cat conftest.err >&5
35697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35698 (exit $ac_status); } && {
35699 test -z "$ac_cxx_werror_flag" ||
35700 test ! -s conftest.err
35701 } && test -s conftest.$ac_objext; then
35702 wx_cv_size_t_is_ulong=no
35703 else
35704 echo "$as_me: failed program was:" >&5
35705 sed 's/^/| /' conftest.$ac_ext >&5
35706
35707 wx_cv_size_t_is_ulong=yes
35708
35709 fi
35710
35711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35712
35713 fi
35714 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35715 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
35716
35717 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35718 cat >>confdefs.h <<\_ACEOF
35719 #define wxSIZE_T_IS_ULONG 1
35720 _ACEOF
35721
35722 fi
35723 fi
35724
35725 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
35726 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
35727 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
35728 echo $ECHO_N "(cached) $ECHO_C" >&6
35729 else
35730 cat >conftest.$ac_ext <<_ACEOF
35731 /* confdefs.h. */
35732 _ACEOF
35733 cat confdefs.h >>conftest.$ac_ext
35734 cat >>conftest.$ac_ext <<_ACEOF
35735 /* end confdefs.h. */
35736 #include <wchar.h>
35737 int
35738 main ()
35739 {
35740
35741 return 0; }
35742
35743 struct Foo { void foo(wchar_t);
35744 void foo(unsigned short);
35745 void foo(unsigned int);
35746 void foo(unsigned long); };
35747
35748 int bar() {
35749
35750 ;
35751 return 0;
35752 }
35753 _ACEOF
35754 rm -f conftest.$ac_objext
35755 if { (ac_try="$ac_compile"
35756 case "(($ac_try" in
35757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35758 *) ac_try_echo=$ac_try;;
35759 esac
35760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35761 (eval "$ac_compile") 2>conftest.er1
35762 ac_status=$?
35763 grep -v '^ *+' conftest.er1 >conftest.err
35764 rm -f conftest.er1
35765 cat conftest.err >&5
35766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35767 (exit $ac_status); } && {
35768 test -z "$ac_cxx_werror_flag" ||
35769 test ! -s conftest.err
35770 } && test -s conftest.$ac_objext; then
35771 wx_cv_wchar_t_is_separate_type=yes
35772 else
35773 echo "$as_me: failed program was:" >&5
35774 sed 's/^/| /' conftest.$ac_ext >&5
35775
35776 wx_cv_wchar_t_is_separate_type=no
35777
35778 fi
35779
35780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35781
35782 fi
35783 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
35784 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
35785
35786 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
35787 cat >>confdefs.h <<\_ACEOF
35788 #define wxWCHAR_T_IS_REAL_TYPE 1
35789 _ACEOF
35790
35791 else
35792 cat >>confdefs.h <<\_ACEOF
35793 #define wxWCHAR_T_IS_REAL_TYPE 0
35794 _ACEOF
35795
35796 fi
35797
35798 ac_ext=c
35799 ac_cpp='$CPP $CPPFLAGS'
35800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35803
35804
35805 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
35806 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
35807 if test "${wx_cv_struct_pw_gecos+set}" = set; then
35808 echo $ECHO_N "(cached) $ECHO_C" >&6
35809 else
35810
35811 cat >conftest.$ac_ext <<_ACEOF
35812 /* confdefs.h. */
35813 _ACEOF
35814 cat confdefs.h >>conftest.$ac_ext
35815 cat >>conftest.$ac_ext <<_ACEOF
35816 /* end confdefs.h. */
35817 #include <pwd.h>
35818 int
35819 main ()
35820 {
35821
35822 char *p;
35823 struct passwd *pw;
35824 p = pw->pw_gecos;
35825
35826 ;
35827 return 0;
35828 }
35829 _ACEOF
35830 rm -f conftest.$ac_objext
35831 if { (ac_try="$ac_compile"
35832 case "(($ac_try" in
35833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35834 *) ac_try_echo=$ac_try;;
35835 esac
35836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35837 (eval "$ac_compile") 2>conftest.er1
35838 ac_status=$?
35839 grep -v '^ *+' conftest.er1 >conftest.err
35840 rm -f conftest.er1
35841 cat conftest.err >&5
35842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35843 (exit $ac_status); } && {
35844 test -z "$ac_c_werror_flag" ||
35845 test ! -s conftest.err
35846 } && test -s conftest.$ac_objext; then
35847
35848 wx_cv_struct_pw_gecos=yes
35849
35850 else
35851 echo "$as_me: failed program was:" >&5
35852 sed 's/^/| /' conftest.$ac_ext >&5
35853
35854
35855 wx_cv_struct_pw_gecos=no
35856
35857
35858 fi
35859
35860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35861
35862
35863 fi
35864 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35865 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
35866
35867 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35868 cat >>confdefs.h <<\_ACEOF
35869 #define HAVE_PW_GECOS 1
35870 _ACEOF
35871
35872 fi
35873
35874
35875 if test "$wxUSE_WCHAR_T" = "yes"; then
35876 cat >>confdefs.h <<\_ACEOF
35877 #define wxUSE_WCHAR_T 1
35878 _ACEOF
35879
35880
35881 WCSLEN_FOUND=0
35882 WCHAR_LINK=
35883
35884 for ac_func in wcslen
35885 do
35886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35887 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35889 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35890 echo $ECHO_N "(cached) $ECHO_C" >&6
35891 else
35892 cat >conftest.$ac_ext <<_ACEOF
35893 /* confdefs.h. */
35894 _ACEOF
35895 cat confdefs.h >>conftest.$ac_ext
35896 cat >>conftest.$ac_ext <<_ACEOF
35897 /* end confdefs.h. */
35898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35900 #define $ac_func innocuous_$ac_func
35901
35902 /* System header to define __stub macros and hopefully few prototypes,
35903 which can conflict with char $ac_func (); below.
35904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35905 <limits.h> exists even on freestanding compilers. */
35906
35907 #ifdef __STDC__
35908 # include <limits.h>
35909 #else
35910 # include <assert.h>
35911 #endif
35912
35913 #undef $ac_func
35914
35915 /* Override any GCC internal prototype to avoid an error.
35916 Use char because int might match the return type of a GCC
35917 builtin and then its argument prototype would still apply. */
35918 #ifdef __cplusplus
35919 extern "C"
35920 #endif
35921 char $ac_func ();
35922 /* The GNU C library defines this for functions which it implements
35923 to always fail with ENOSYS. Some functions are actually named
35924 something starting with __ and the normal name is an alias. */
35925 #if defined __stub_$ac_func || defined __stub___$ac_func
35926 choke me
35927 #endif
35928
35929 int
35930 main ()
35931 {
35932 return $ac_func ();
35933 ;
35934 return 0;
35935 }
35936 _ACEOF
35937 rm -f conftest.$ac_objext conftest$ac_exeext
35938 if { (ac_try="$ac_link"
35939 case "(($ac_try" in
35940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35941 *) ac_try_echo=$ac_try;;
35942 esac
35943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35944 (eval "$ac_link") 2>conftest.er1
35945 ac_status=$?
35946 grep -v '^ *+' conftest.er1 >conftest.err
35947 rm -f conftest.er1
35948 cat conftest.err >&5
35949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35950 (exit $ac_status); } && {
35951 test -z "$ac_c_werror_flag" ||
35952 test ! -s conftest.err
35953 } && test -s conftest$ac_exeext &&
35954 $as_test_x conftest$ac_exeext; then
35955 eval "$as_ac_var=yes"
35956 else
35957 echo "$as_me: failed program was:" >&5
35958 sed 's/^/| /' conftest.$ac_ext >&5
35959
35960 eval "$as_ac_var=no"
35961 fi
35962
35963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35964 conftest$ac_exeext conftest.$ac_ext
35965 fi
35966 ac_res=`eval echo '${'$as_ac_var'}'`
35967 { echo "$as_me:$LINENO: result: $ac_res" >&5
35968 echo "${ECHO_T}$ac_res" >&6; }
35969 if test `eval echo '${'$as_ac_var'}'` = yes; then
35970 cat >>confdefs.h <<_ACEOF
35971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35972 _ACEOF
35973 WCSLEN_FOUND=1
35974 fi
35975 done
35976
35977
35978 if test "$WCSLEN_FOUND" = 0; then
35979 if test "$TOOLKIT" = "MSW"; then
35980 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35981 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
35982 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35983 echo $ECHO_N "(cached) $ECHO_C" >&6
35984 else
35985 ac_check_lib_save_LIBS=$LIBS
35986 LIBS="-lmsvcrt $LIBS"
35987 cat >conftest.$ac_ext <<_ACEOF
35988 /* confdefs.h. */
35989 _ACEOF
35990 cat confdefs.h >>conftest.$ac_ext
35991 cat >>conftest.$ac_ext <<_ACEOF
35992 /* end confdefs.h. */
35993
35994 /* Override any GCC internal prototype to avoid an error.
35995 Use char because int might match the return type of a GCC
35996 builtin and then its argument prototype would still apply. */
35997 #ifdef __cplusplus
35998 extern "C"
35999 #endif
36000 char wcslen ();
36001 int
36002 main ()
36003 {
36004 return wcslen ();
36005 ;
36006 return 0;
36007 }
36008 _ACEOF
36009 rm -f conftest.$ac_objext conftest$ac_exeext
36010 if { (ac_try="$ac_link"
36011 case "(($ac_try" in
36012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36013 *) ac_try_echo=$ac_try;;
36014 esac
36015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36016 (eval "$ac_link") 2>conftest.er1
36017 ac_status=$?
36018 grep -v '^ *+' conftest.er1 >conftest.err
36019 rm -f conftest.er1
36020 cat conftest.err >&5
36021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36022 (exit $ac_status); } && {
36023 test -z "$ac_c_werror_flag" ||
36024 test ! -s conftest.err
36025 } && test -s conftest$ac_exeext &&
36026 $as_test_x conftest$ac_exeext; then
36027 ac_cv_lib_msvcrt_wcslen=yes
36028 else
36029 echo "$as_me: failed program was:" >&5
36030 sed 's/^/| /' conftest.$ac_ext >&5
36031
36032 ac_cv_lib_msvcrt_wcslen=no
36033 fi
36034
36035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36036 conftest$ac_exeext conftest.$ac_ext
36037 LIBS=$ac_check_lib_save_LIBS
36038 fi
36039 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
36040 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
36041 if test $ac_cv_lib_msvcrt_wcslen = yes; then
36042 WCHAR_OK=1
36043 fi
36044
36045 else
36046 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
36047 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
36048 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36049 echo $ECHO_N "(cached) $ECHO_C" >&6
36050 else
36051 ac_check_lib_save_LIBS=$LIBS
36052 LIBS="-lw $LIBS"
36053 cat >conftest.$ac_ext <<_ACEOF
36054 /* confdefs.h. */
36055 _ACEOF
36056 cat confdefs.h >>conftest.$ac_ext
36057 cat >>conftest.$ac_ext <<_ACEOF
36058 /* end confdefs.h. */
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 wcslen ();
36067 int
36068 main ()
36069 {
36070 return wcslen ();
36071 ;
36072 return 0;
36073 }
36074 _ACEOF
36075 rm -f conftest.$ac_objext conftest$ac_exeext
36076 if { (ac_try="$ac_link"
36077 case "(($ac_try" in
36078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36079 *) ac_try_echo=$ac_try;;
36080 esac
36081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36082 (eval "$ac_link") 2>conftest.er1
36083 ac_status=$?
36084 grep -v '^ *+' conftest.er1 >conftest.err
36085 rm -f conftest.er1
36086 cat conftest.err >&5
36087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36088 (exit $ac_status); } && {
36089 test -z "$ac_c_werror_flag" ||
36090 test ! -s conftest.err
36091 } && test -s conftest$ac_exeext &&
36092 $as_test_x conftest$ac_exeext; then
36093 ac_cv_lib_w_wcslen=yes
36094 else
36095 echo "$as_me: failed program was:" >&5
36096 sed 's/^/| /' conftest.$ac_ext >&5
36097
36098 ac_cv_lib_w_wcslen=no
36099 fi
36100
36101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36102 conftest$ac_exeext conftest.$ac_ext
36103 LIBS=$ac_check_lib_save_LIBS
36104 fi
36105 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36106 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36107 if test $ac_cv_lib_w_wcslen = yes; then
36108
36109 WCHAR_LINK=" -lw"
36110 WCSLEN_FOUND=1
36111
36112 fi
36113
36114 fi
36115 fi
36116
36117 if test "$WCSLEN_FOUND" = 1; then
36118 cat >>confdefs.h <<\_ACEOF
36119 #define HAVE_WCSLEN 1
36120 _ACEOF
36121
36122 fi
36123
36124
36125
36126
36127
36128
36129 for ac_func in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
36130 do
36131 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36132 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36134 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36135 echo $ECHO_N "(cached) $ECHO_C" >&6
36136 else
36137 cat >conftest.$ac_ext <<_ACEOF
36138 /* confdefs.h. */
36139 _ACEOF
36140 cat confdefs.h >>conftest.$ac_ext
36141 cat >>conftest.$ac_ext <<_ACEOF
36142 /* end confdefs.h. */
36143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36145 #define $ac_func innocuous_$ac_func
36146
36147 /* System header to define __stub macros and hopefully few prototypes,
36148 which can conflict with char $ac_func (); below.
36149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36150 <limits.h> exists even on freestanding compilers. */
36151
36152 #ifdef __STDC__
36153 # include <limits.h>
36154 #else
36155 # include <assert.h>
36156 #endif
36157
36158 #undef $ac_func
36159
36160 /* Override any GCC internal prototype to avoid an error.
36161 Use char because int might match the return type of a GCC
36162 builtin and then its argument prototype would still apply. */
36163 #ifdef __cplusplus
36164 extern "C"
36165 #endif
36166 char $ac_func ();
36167 /* The GNU C library defines this for functions which it implements
36168 to always fail with ENOSYS. Some functions are actually named
36169 something starting with __ and the normal name is an alias. */
36170 #if defined __stub_$ac_func || defined __stub___$ac_func
36171 choke me
36172 #endif
36173
36174 int
36175 main ()
36176 {
36177 return $ac_func ();
36178 ;
36179 return 0;
36180 }
36181 _ACEOF
36182 rm -f conftest.$ac_objext conftest$ac_exeext
36183 if { (ac_try="$ac_link"
36184 case "(($ac_try" in
36185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36186 *) ac_try_echo=$ac_try;;
36187 esac
36188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36189 (eval "$ac_link") 2>conftest.er1
36190 ac_status=$?
36191 grep -v '^ *+' conftest.er1 >conftest.err
36192 rm -f conftest.er1
36193 cat conftest.err >&5
36194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36195 (exit $ac_status); } && {
36196 test -z "$ac_c_werror_flag" ||
36197 test ! -s conftest.err
36198 } && test -s conftest$ac_exeext &&
36199 $as_test_x conftest$ac_exeext; then
36200 eval "$as_ac_var=yes"
36201 else
36202 echo "$as_me: failed program was:" >&5
36203 sed 's/^/| /' conftest.$ac_ext >&5
36204
36205 eval "$as_ac_var=no"
36206 fi
36207
36208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36209 conftest$ac_exeext conftest.$ac_ext
36210 fi
36211 ac_res=`eval echo '${'$as_ac_var'}'`
36212 { echo "$as_me:$LINENO: result: $ac_res" >&5
36213 echo "${ECHO_T}$ac_res" >&6; }
36214 if test `eval echo '${'$as_ac_var'}'` = yes; then
36215 cat >>confdefs.h <<_ACEOF
36216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36217 _ACEOF
36218
36219 fi
36220 done
36221
36222
36223 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36224 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36225 fi
36226
36227 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36228 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36229 if test "${ac_cv_type_mbstate_t+set}" = set; then
36230 echo $ECHO_N "(cached) $ECHO_C" >&6
36231 else
36232 cat >conftest.$ac_ext <<_ACEOF
36233 /* confdefs.h. */
36234 _ACEOF
36235 cat confdefs.h >>conftest.$ac_ext
36236 cat >>conftest.$ac_ext <<_ACEOF
36237 /* end confdefs.h. */
36238 #include <wchar.h>
36239
36240 typedef mbstate_t ac__type_new_;
36241 int
36242 main ()
36243 {
36244 if ((ac__type_new_ *) 0)
36245 return 0;
36246 if (sizeof (ac__type_new_))
36247 return 0;
36248 ;
36249 return 0;
36250 }
36251 _ACEOF
36252 rm -f conftest.$ac_objext
36253 if { (ac_try="$ac_compile"
36254 case "(($ac_try" in
36255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36256 *) ac_try_echo=$ac_try;;
36257 esac
36258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36259 (eval "$ac_compile") 2>conftest.er1
36260 ac_status=$?
36261 grep -v '^ *+' conftest.er1 >conftest.err
36262 rm -f conftest.er1
36263 cat conftest.err >&5
36264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36265 (exit $ac_status); } && {
36266 test -z "$ac_c_werror_flag" ||
36267 test ! -s conftest.err
36268 } && test -s conftest.$ac_objext; then
36269 ac_cv_type_mbstate_t=yes
36270 else
36271 echo "$as_me: failed program was:" >&5
36272 sed 's/^/| /' conftest.$ac_ext >&5
36273
36274 ac_cv_type_mbstate_t=no
36275 fi
36276
36277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36278 fi
36279 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36280 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36281 if test $ac_cv_type_mbstate_t = yes; then
36282
36283 cat >>confdefs.h <<_ACEOF
36284 #define HAVE_MBSTATE_T 1
36285 _ACEOF
36286
36287
36288 for ac_func in wcsrtombs
36289 do
36290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36291 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36293 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36294 echo $ECHO_N "(cached) $ECHO_C" >&6
36295 else
36296 cat >conftest.$ac_ext <<_ACEOF
36297 /* confdefs.h. */
36298 _ACEOF
36299 cat confdefs.h >>conftest.$ac_ext
36300 cat >>conftest.$ac_ext <<_ACEOF
36301 /* end confdefs.h. */
36302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36304 #define $ac_func innocuous_$ac_func
36305
36306 /* System header to define __stub macros and hopefully few prototypes,
36307 which can conflict with char $ac_func (); below.
36308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36309 <limits.h> exists even on freestanding compilers. */
36310
36311 #ifdef __STDC__
36312 # include <limits.h>
36313 #else
36314 # include <assert.h>
36315 #endif
36316
36317 #undef $ac_func
36318
36319 /* Override any GCC internal prototype to avoid an error.
36320 Use char because int might match the return type of a GCC
36321 builtin and then its argument prototype would still apply. */
36322 #ifdef __cplusplus
36323 extern "C"
36324 #endif
36325 char $ac_func ();
36326 /* The GNU C library defines this for functions which it implements
36327 to always fail with ENOSYS. Some functions are actually named
36328 something starting with __ and the normal name is an alias. */
36329 #if defined __stub_$ac_func || defined __stub___$ac_func
36330 choke me
36331 #endif
36332
36333 int
36334 main ()
36335 {
36336 return $ac_func ();
36337 ;
36338 return 0;
36339 }
36340 _ACEOF
36341 rm -f conftest.$ac_objext conftest$ac_exeext
36342 if { (ac_try="$ac_link"
36343 case "(($ac_try" in
36344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36345 *) ac_try_echo=$ac_try;;
36346 esac
36347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36348 (eval "$ac_link") 2>conftest.er1
36349 ac_status=$?
36350 grep -v '^ *+' conftest.er1 >conftest.err
36351 rm -f conftest.er1
36352 cat conftest.err >&5
36353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36354 (exit $ac_status); } && {
36355 test -z "$ac_c_werror_flag" ||
36356 test ! -s conftest.err
36357 } && test -s conftest$ac_exeext &&
36358 $as_test_x conftest$ac_exeext; then
36359 eval "$as_ac_var=yes"
36360 else
36361 echo "$as_me: failed program was:" >&5
36362 sed 's/^/| /' conftest.$ac_ext >&5
36363
36364 eval "$as_ac_var=no"
36365 fi
36366
36367 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36368 conftest$ac_exeext conftest.$ac_ext
36369 fi
36370 ac_res=`eval echo '${'$as_ac_var'}'`
36371 { echo "$as_me:$LINENO: result: $ac_res" >&5
36372 echo "${ECHO_T}$ac_res" >&6; }
36373 if test `eval echo '${'$as_ac_var'}'` = yes; then
36374 cat >>confdefs.h <<_ACEOF
36375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36376 _ACEOF
36377
36378 fi
36379 done
36380
36381 fi
36382
36383 else
36384 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
36385 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
36386 fi
36387
36388
36389
36390
36391 for ac_func in snprintf vsnprintf vsscanf
36392 do
36393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36394 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36396 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36397 echo $ECHO_N "(cached) $ECHO_C" >&6
36398 else
36399 cat >conftest.$ac_ext <<_ACEOF
36400 /* confdefs.h. */
36401 _ACEOF
36402 cat confdefs.h >>conftest.$ac_ext
36403 cat >>conftest.$ac_ext <<_ACEOF
36404 /* end confdefs.h. */
36405 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36406 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36407 #define $ac_func innocuous_$ac_func
36408
36409 /* System header to define __stub macros and hopefully few prototypes,
36410 which can conflict with char $ac_func (); below.
36411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36412 <limits.h> exists even on freestanding compilers. */
36413
36414 #ifdef __STDC__
36415 # include <limits.h>
36416 #else
36417 # include <assert.h>
36418 #endif
36419
36420 #undef $ac_func
36421
36422 /* Override any GCC internal prototype to avoid an error.
36423 Use char because int might match the return type of a GCC
36424 builtin and then its argument prototype would still apply. */
36425 #ifdef __cplusplus
36426 extern "C"
36427 #endif
36428 char $ac_func ();
36429 /* The GNU C library defines this for functions which it implements
36430 to always fail with ENOSYS. Some functions are actually named
36431 something starting with __ and the normal name is an alias. */
36432 #if defined __stub_$ac_func || defined __stub___$ac_func
36433 choke me
36434 #endif
36435
36436 int
36437 main ()
36438 {
36439 return $ac_func ();
36440 ;
36441 return 0;
36442 }
36443 _ACEOF
36444 rm -f conftest.$ac_objext conftest$ac_exeext
36445 if { (ac_try="$ac_link"
36446 case "(($ac_try" in
36447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36448 *) ac_try_echo=$ac_try;;
36449 esac
36450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36451 (eval "$ac_link") 2>conftest.er1
36452 ac_status=$?
36453 grep -v '^ *+' conftest.er1 >conftest.err
36454 rm -f conftest.er1
36455 cat conftest.err >&5
36456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36457 (exit $ac_status); } && {
36458 test -z "$ac_c_werror_flag" ||
36459 test ! -s conftest.err
36460 } && test -s conftest$ac_exeext &&
36461 $as_test_x conftest$ac_exeext; then
36462 eval "$as_ac_var=yes"
36463 else
36464 echo "$as_me: failed program was:" >&5
36465 sed 's/^/| /' conftest.$ac_ext >&5
36466
36467 eval "$as_ac_var=no"
36468 fi
36469
36470 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36471 conftest$ac_exeext conftest.$ac_ext
36472 fi
36473 ac_res=`eval echo '${'$as_ac_var'}'`
36474 { echo "$as_me:$LINENO: result: $ac_res" >&5
36475 echo "${ECHO_T}$ac_res" >&6; }
36476 if test `eval echo '${'$as_ac_var'}'` = yes; then
36477 cat >>confdefs.h <<_ACEOF
36478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36479 _ACEOF
36480
36481 fi
36482 done
36483
36484
36485 ac_ext=cpp
36486 ac_cpp='$CXXCPP $CPPFLAGS'
36487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36490
36491 if test "$ac_cv_func_vsnprintf" = "yes"; then
36492 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36493 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36494 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36495 echo $ECHO_N "(cached) $ECHO_C" >&6
36496 else
36497
36498 cat >conftest.$ac_ext <<_ACEOF
36499 /* confdefs.h. */
36500 _ACEOF
36501 cat confdefs.h >>conftest.$ac_ext
36502 cat >>conftest.$ac_ext <<_ACEOF
36503 /* end confdefs.h. */
36504
36505 #include <stdio.h>
36506 #include <stdarg.h>
36507 #ifdef __MSL__
36508 #if __MSL__ >= 0x6000
36509 namespace std {}
36510 using namespace std;
36511 #endif
36512 #endif
36513
36514 int
36515 main ()
36516 {
36517
36518 char *buf;
36519 va_list ap;
36520 vsnprintf(buf, 10u, "%s", ap);
36521
36522 ;
36523 return 0;
36524 }
36525 _ACEOF
36526 rm -f conftest.$ac_objext
36527 if { (ac_try="$ac_compile"
36528 case "(($ac_try" in
36529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36530 *) ac_try_echo=$ac_try;;
36531 esac
36532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36533 (eval "$ac_compile") 2>conftest.er1
36534 ac_status=$?
36535 grep -v '^ *+' conftest.er1 >conftest.err
36536 rm -f conftest.er1
36537 cat conftest.err >&5
36538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36539 (exit $ac_status); } && {
36540 test -z "$ac_cxx_werror_flag" ||
36541 test ! -s conftest.err
36542 } && test -s conftest.$ac_objext; then
36543 wx_cv_func_vsnprintf_decl=yes
36544 else
36545 echo "$as_me: failed program was:" >&5
36546 sed 's/^/| /' conftest.$ac_ext >&5
36547
36548 wx_cv_func_vsnprintf_decl=no
36549
36550 fi
36551
36552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36553
36554
36555 fi
36556 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36557 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36558
36559 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36560 cat >>confdefs.h <<\_ACEOF
36561 #define HAVE_VSNPRINTF_DECL 1
36562 _ACEOF
36563
36564
36565 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36566 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
36567 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36568 echo $ECHO_N "(cached) $ECHO_C" >&6
36569 else
36570
36571 cat >conftest.$ac_ext <<_ACEOF
36572 /* confdefs.h. */
36573 _ACEOF
36574 cat confdefs.h >>conftest.$ac_ext
36575 cat >>conftest.$ac_ext <<_ACEOF
36576 /* end confdefs.h. */
36577
36578 #include <stdio.h>
36579 #include <stdarg.h>
36580 #ifdef __MSL__
36581 #if __MSL__ >= 0x6000
36582 namespace std {}
36583 using namespace std;
36584 #endif
36585 #endif
36586
36587 int
36588 main ()
36589 {
36590
36591 char *buf;
36592 va_list ap;
36593 const char *fmt = "%s";
36594 vsnprintf(buf, 10u, fmt, ap);
36595
36596 ;
36597 return 0;
36598 }
36599 _ACEOF
36600 rm -f conftest.$ac_objext
36601 if { (ac_try="$ac_compile"
36602 case "(($ac_try" in
36603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36604 *) ac_try_echo=$ac_try;;
36605 esac
36606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36607 (eval "$ac_compile") 2>conftest.er1
36608 ac_status=$?
36609 grep -v '^ *+' conftest.er1 >conftest.err
36610 rm -f conftest.er1
36611 cat conftest.err >&5
36612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36613 (exit $ac_status); } && {
36614 test -z "$ac_cxx_werror_flag" ||
36615 test ! -s conftest.err
36616 } && test -s conftest.$ac_objext; then
36617 wx_cv_func_broken_vsnprintf_decl=no
36618 else
36619 echo "$as_me: failed program was:" >&5
36620 sed 's/^/| /' conftest.$ac_ext >&5
36621
36622 wx_cv_func_broken_vsnprintf_decl=yes
36623
36624 fi
36625
36626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36627
36628
36629 fi
36630 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36631 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
36632
36633 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36634 cat >>confdefs.h <<\_ACEOF
36635 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36636 _ACEOF
36637
36638 fi
36639 fi
36640 fi
36641
36642 if test "$ac_cv_func_snprintf" = "yes"; then
36643 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36644 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
36645 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36646 echo $ECHO_N "(cached) $ECHO_C" >&6
36647 else
36648
36649 cat >conftest.$ac_ext <<_ACEOF
36650 /* confdefs.h. */
36651 _ACEOF
36652 cat confdefs.h >>conftest.$ac_ext
36653 cat >>conftest.$ac_ext <<_ACEOF
36654 /* end confdefs.h. */
36655
36656 #include <stdio.h>
36657 #include <stdarg.h>
36658 #ifdef __MSL__
36659 #if __MSL__ >= 0x6000
36660 namespace std {}
36661 using namespace std;
36662 #endif
36663 #endif
36664
36665 int
36666 main ()
36667 {
36668
36669 char *buf;
36670 snprintf(buf, 10u, "%s", "wx");
36671
36672 ;
36673 return 0;
36674 }
36675 _ACEOF
36676 rm -f conftest.$ac_objext
36677 if { (ac_try="$ac_compile"
36678 case "(($ac_try" in
36679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36680 *) ac_try_echo=$ac_try;;
36681 esac
36682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36683 (eval "$ac_compile") 2>conftest.er1
36684 ac_status=$?
36685 grep -v '^ *+' conftest.er1 >conftest.err
36686 rm -f conftest.er1
36687 cat conftest.err >&5
36688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36689 (exit $ac_status); } && {
36690 test -z "$ac_cxx_werror_flag" ||
36691 test ! -s conftest.err
36692 } && test -s conftest.$ac_objext; then
36693 wx_cv_func_snprintf_decl=yes
36694 else
36695 echo "$as_me: failed program was:" >&5
36696 sed 's/^/| /' conftest.$ac_ext >&5
36697
36698 wx_cv_func_snprintf_decl=no
36699
36700 fi
36701
36702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36703
36704
36705 fi
36706 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36707 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
36708
36709 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36710 cat >>confdefs.h <<\_ACEOF
36711 #define HAVE_SNPRINTF_DECL 1
36712 _ACEOF
36713
36714 fi
36715
36716 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
36717
36718 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
36719 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
36720 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
36721 echo $ECHO_N "(cached) $ECHO_C" >&6
36722 else
36723
36724 if test "$cross_compiling" = yes; then
36725
36726 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
36727 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
36728 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
36729 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
36730 wx_cv_func_snprintf_pos_params=no
36731
36732
36733 else
36734 cat >conftest.$ac_ext <<_ACEOF
36735 /* confdefs.h. */
36736 _ACEOF
36737 cat confdefs.h >>conftest.$ac_ext
36738 cat >>conftest.$ac_ext <<_ACEOF
36739 /* end confdefs.h. */
36740
36741 #include <stdio.h>
36742
36743 int main (void)
36744 {
36745 char buffer[128];
36746 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
36747 if (strcmp ("2 3 1", buffer) == 0)
36748 exit (0);
36749 exit (1);
36750 }
36751
36752 _ACEOF
36753 rm -f conftest$ac_exeext
36754 if { (ac_try="$ac_link"
36755 case "(($ac_try" in
36756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36757 *) ac_try_echo=$ac_try;;
36758 esac
36759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36760 (eval "$ac_link") 2>&5
36761 ac_status=$?
36762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36763 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
36764 { (case "(($ac_try" in
36765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36766 *) ac_try_echo=$ac_try;;
36767 esac
36768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36769 (eval "$ac_try") 2>&5
36770 ac_status=$?
36771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36772 (exit $ac_status); }; }; then
36773 wx_cv_func_snprintf_pos_params=no
36774 else
36775 echo "$as_me: program exited with status $ac_status" >&5
36776 echo "$as_me: failed program was:" >&5
36777 sed 's/^/| /' conftest.$ac_ext >&5
36778
36779 ( exit $ac_status )
36780 wx_cv_func_snprintf_pos_params=yes
36781 fi
36782 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36783 fi
36784
36785
36786
36787
36788 fi
36789 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
36790 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
36791
36792 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
36793 cat >>confdefs.h <<\_ACEOF
36794 #define HAVE_UNIX98_PRINTF 1
36795 _ACEOF
36796
36797 fi
36798 fi
36799 fi
36800
36801 if test "$ac_cv_func_vsscanf" = "yes"; then
36802 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
36803 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
36804 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
36805 echo $ECHO_N "(cached) $ECHO_C" >&6
36806 else
36807
36808 cat >conftest.$ac_ext <<_ACEOF
36809 /* confdefs.h. */
36810 _ACEOF
36811 cat confdefs.h >>conftest.$ac_ext
36812 cat >>conftest.$ac_ext <<_ACEOF
36813 /* end confdefs.h. */
36814
36815 #include <stdio.h>
36816 #include <stdarg.h>
36817 #ifdef __MSL__
36818 #if __MSL__ >= 0x6000
36819 namespace std {}
36820 using namespace std;
36821 #endif
36822 #endif
36823
36824 int
36825 main ()
36826 {
36827
36828 char *buf;
36829 va_list args;
36830 vsscanf(buf, "%s", args);
36831
36832 ;
36833 return 0;
36834 }
36835 _ACEOF
36836 rm -f conftest.$ac_objext
36837 if { (ac_try="$ac_compile"
36838 case "(($ac_try" in
36839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36840 *) ac_try_echo=$ac_try;;
36841 esac
36842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36843 (eval "$ac_compile") 2>conftest.er1
36844 ac_status=$?
36845 grep -v '^ *+' conftest.er1 >conftest.err
36846 rm -f conftest.er1
36847 cat conftest.err >&5
36848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36849 (exit $ac_status); } && {
36850 test -z "$ac_cxx_werror_flag" ||
36851 test ! -s conftest.err
36852 } && test -s conftest.$ac_objext; then
36853 wx_cv_func_vsscanf_decl=yes
36854 else
36855 echo "$as_me: failed program was:" >&5
36856 sed 's/^/| /' conftest.$ac_ext >&5
36857
36858 wx_cv_func_vsscanf_decl=no
36859
36860 fi
36861
36862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36863
36864
36865 fi
36866 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
36867 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
36868
36869 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
36870 cat >>confdefs.h <<\_ACEOF
36871 #define HAVE_VSSCANF_DECL 1
36872 _ACEOF
36873
36874 fi
36875 fi
36876 ac_ext=c
36877 ac_cpp='$CPP $CPPFLAGS'
36878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36881
36882
36883 if test "$wxUSE_UNICODE" = yes; then
36884
36885 wchar_headers="#include <stdio.h>
36886 #include <wchar.h>"
36887 case "${host}" in
36888 *-*-solaris2* )
36889
36890 for ac_header in widec.h
36891 do
36892 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36893 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36894 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36895 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36896 echo $ECHO_N "(cached) $ECHO_C" >&6
36897 else
36898 cat >conftest.$ac_ext <<_ACEOF
36899 /* confdefs.h. */
36900 _ACEOF
36901 cat confdefs.h >>conftest.$ac_ext
36902 cat >>conftest.$ac_ext <<_ACEOF
36903 /* end confdefs.h. */
36904 $ac_includes_default
36905
36906 #include <$ac_header>
36907 _ACEOF
36908 rm -f conftest.$ac_objext
36909 if { (ac_try="$ac_compile"
36910 case "(($ac_try" in
36911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36912 *) ac_try_echo=$ac_try;;
36913 esac
36914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36915 (eval "$ac_compile") 2>conftest.er1
36916 ac_status=$?
36917 grep -v '^ *+' conftest.er1 >conftest.err
36918 rm -f conftest.er1
36919 cat conftest.err >&5
36920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36921 (exit $ac_status); } && {
36922 test -z "$ac_c_werror_flag" ||
36923 test ! -s conftest.err
36924 } && test -s conftest.$ac_objext; then
36925 eval "$as_ac_Header=yes"
36926 else
36927 echo "$as_me: failed program was:" >&5
36928 sed 's/^/| /' conftest.$ac_ext >&5
36929
36930 eval "$as_ac_Header=no"
36931 fi
36932
36933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36934 fi
36935 ac_res=`eval echo '${'$as_ac_Header'}'`
36936 { echo "$as_me:$LINENO: result: $ac_res" >&5
36937 echo "${ECHO_T}$ac_res" >&6; }
36938 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36939 cat >>confdefs.h <<_ACEOF
36940 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36941 _ACEOF
36942
36943 fi
36944
36945 done
36946
36947 if test "$ac_cv_header_widec_h" = "yes"; then
36948 wchar_headers="$wchar_headers
36949 #include <widec.h>"
36950 fi
36951 esac
36952
36953
36954 for wx_func in putws fputws wprintf vswprintf vswscanf
36955 do
36956 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36957 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36958 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36959 echo $ECHO_N "(cached) $ECHO_C" >&6
36960 else
36961
36962 cat >conftest.$ac_ext <<_ACEOF
36963
36964 /* confdefs.h. */
36965 _ACEOF
36966 cat confdefs.h >>conftest.$ac_ext
36967 cat >>conftest.$ac_ext <<_ACEOF
36968 /* end confdefs.h. */
36969
36970 $wchar_headers
36971 $ac_includes_default
36972
36973 int
36974 main ()
36975 {
36976
36977 #ifndef $wx_func
36978 &$wx_func;
36979 #endif
36980
36981
36982 ;
36983 return 0;
36984 }
36985
36986 _ACEOF
36987 rm -f conftest.$ac_objext conftest$ac_exeext
36988 if { (ac_try="$ac_link"
36989 case "(($ac_try" in
36990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36991 *) ac_try_echo=$ac_try;;
36992 esac
36993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36994 (eval "$ac_link") 2>conftest.er1
36995 ac_status=$?
36996 grep -v '^ *+' conftest.er1 >conftest.err
36997 rm -f conftest.er1
36998 cat conftest.err >&5
36999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37000 (exit $ac_status); } && {
37001 test -z "$ac_c_werror_flag" ||
37002 test ! -s conftest.err
37003 } && test -s conftest$ac_exeext &&
37004 $as_test_x conftest$ac_exeext; then
37005 eval wx_cv_func_$wx_func=yes
37006 else
37007 echo "$as_me: failed program was:" >&5
37008 sed 's/^/| /' conftest.$ac_ext >&5
37009
37010 eval wx_cv_func_$wx_func=no
37011 fi
37012
37013 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37014 conftest$ac_exeext conftest.$ac_ext
37015
37016 fi
37017 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37018 { echo "$as_me:$LINENO: result: $ac_res" >&5
37019 echo "${ECHO_T}$ac_res" >&6; }
37020
37021 if eval test \$wx_cv_func_$wx_func = yes
37022 then
37023 cat >>confdefs.h <<_ACEOF
37024 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37025 _ACEOF
37026
37027
37028 else
37029 :
37030
37031 fi
37032 done
37033
37034
37035 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37036 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
37037 cat >conftest.$ac_ext <<_ACEOF
37038 /* confdefs.h. */
37039 _ACEOF
37040 cat confdefs.h >>conftest.$ac_ext
37041 cat >>conftest.$ac_ext <<_ACEOF
37042 /* end confdefs.h. */
37043 #include <wchar.h>
37044 int
37045 main ()
37046 {
37047 &_vsnwprintf;
37048 ;
37049 return 0;
37050 }
37051 _ACEOF
37052 rm -f conftest.$ac_objext
37053 if { (ac_try="$ac_compile"
37054 case "(($ac_try" in
37055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37056 *) ac_try_echo=$ac_try;;
37057 esac
37058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37059 (eval "$ac_compile") 2>conftest.er1
37060 ac_status=$?
37061 grep -v '^ *+' conftest.er1 >conftest.err
37062 rm -f conftest.er1
37063 cat conftest.err >&5
37064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37065 (exit $ac_status); } && {
37066 test -z "$ac_c_werror_flag" ||
37067 test ! -s conftest.err
37068 } && test -s conftest.$ac_objext; then
37069 { echo "$as_me:$LINENO: result: yes" >&5
37070 echo "${ECHO_T}yes" >&6; }
37071 cat >>confdefs.h <<\_ACEOF
37072 #define HAVE__VSNWPRINTF 1
37073 _ACEOF
37074
37075 else
37076 echo "$as_me: failed program was:" >&5
37077 sed 's/^/| /' conftest.$ac_ext >&5
37078
37079 { echo "$as_me:$LINENO: result: no" >&5
37080 echo "${ECHO_T}no" >&6; }
37081 fi
37082
37083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
37084 fi
37085
37086 if test "$wxUSE_FILE" = "yes"; then
37087
37088 for wx_func in fsync
37089 do
37090 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37091 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37092 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37093 echo $ECHO_N "(cached) $ECHO_C" >&6
37094 else
37095
37096 cat >conftest.$ac_ext <<_ACEOF
37097
37098 /* confdefs.h. */
37099 _ACEOF
37100 cat confdefs.h >>conftest.$ac_ext
37101 cat >>conftest.$ac_ext <<_ACEOF
37102 /* end confdefs.h. */
37103
37104
37105 $ac_includes_default
37106
37107 int
37108 main ()
37109 {
37110
37111 #ifndef $wx_func
37112 &$wx_func;
37113 #endif
37114
37115
37116 ;
37117 return 0;
37118 }
37119
37120 _ACEOF
37121 rm -f conftest.$ac_objext conftest$ac_exeext
37122 if { (ac_try="$ac_link"
37123 case "(($ac_try" in
37124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37125 *) ac_try_echo=$ac_try;;
37126 esac
37127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37128 (eval "$ac_link") 2>conftest.er1
37129 ac_status=$?
37130 grep -v '^ *+' conftest.er1 >conftest.err
37131 rm -f conftest.er1
37132 cat conftest.err >&5
37133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37134 (exit $ac_status); } && {
37135 test -z "$ac_c_werror_flag" ||
37136 test ! -s conftest.err
37137 } && test -s conftest$ac_exeext &&
37138 $as_test_x conftest$ac_exeext; then
37139 eval wx_cv_func_$wx_func=yes
37140 else
37141 echo "$as_me: failed program was:" >&5
37142 sed 's/^/| /' conftest.$ac_ext >&5
37143
37144 eval wx_cv_func_$wx_func=no
37145 fi
37146
37147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37148 conftest$ac_exeext conftest.$ac_ext
37149
37150 fi
37151 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37152 { echo "$as_me:$LINENO: result: $ac_res" >&5
37153 echo "${ECHO_T}$ac_res" >&6; }
37154
37155 if eval test \$wx_cv_func_$wx_func = yes
37156 then
37157 cat >>confdefs.h <<_ACEOF
37158 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37159 _ACEOF
37160
37161
37162 else
37163 :
37164
37165 fi
37166 done
37167
37168 fi
37169
37170 ac_ext=cpp
37171 ac_cpp='$CXXCPP $CPPFLAGS'
37172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37175
37176
37177 for wx_func in round
37178 do
37179 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37180 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37181 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37182 echo $ECHO_N "(cached) $ECHO_C" >&6
37183 else
37184
37185 cat >conftest.$ac_ext <<_ACEOF
37186
37187 /* confdefs.h. */
37188 _ACEOF
37189 cat confdefs.h >>conftest.$ac_ext
37190 cat >>conftest.$ac_ext <<_ACEOF
37191 /* end confdefs.h. */
37192
37193 #include <math.h>
37194 $ac_includes_default
37195
37196 int
37197 main ()
37198 {
37199
37200 #ifndef $wx_func
37201 &$wx_func;
37202 #endif
37203
37204
37205 ;
37206 return 0;
37207 }
37208
37209 _ACEOF
37210 rm -f conftest.$ac_objext conftest$ac_exeext
37211 if { (ac_try="$ac_link"
37212 case "(($ac_try" in
37213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37214 *) ac_try_echo=$ac_try;;
37215 esac
37216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37217 (eval "$ac_link") 2>conftest.er1
37218 ac_status=$?
37219 grep -v '^ *+' conftest.er1 >conftest.err
37220 rm -f conftest.er1
37221 cat conftest.err >&5
37222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37223 (exit $ac_status); } && {
37224 test -z "$ac_cxx_werror_flag" ||
37225 test ! -s conftest.err
37226 } && test -s conftest$ac_exeext &&
37227 $as_test_x conftest$ac_exeext; then
37228 eval wx_cv_func_$wx_func=yes
37229 else
37230 echo "$as_me: failed program was:" >&5
37231 sed 's/^/| /' conftest.$ac_ext >&5
37232
37233 eval wx_cv_func_$wx_func=no
37234 fi
37235
37236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37237 conftest$ac_exeext conftest.$ac_ext
37238
37239 fi
37240 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37241 { echo "$as_me:$LINENO: result: $ac_res" >&5
37242 echo "${ECHO_T}$ac_res" >&6; }
37243
37244 if eval test \$wx_cv_func_$wx_func = yes
37245 then
37246 cat >>confdefs.h <<_ACEOF
37247 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37248 _ACEOF
37249
37250
37251 else
37252 :
37253
37254 fi
37255 done
37256
37257 ac_ext=c
37258 ac_cpp='$CPP $CPPFLAGS'
37259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37262
37263
37264 if test "$TOOLKIT" != "MSW"; then
37265
37266 if test "$wxUSE_LIBICONV" != "no" ; then
37267
37268
37269
37270 # Check whether --with-libiconv-prefix was given.
37271 if test "${with_libiconv_prefix+set}" = set; then
37272 withval=$with_libiconv_prefix;
37273 for dir in `echo "$withval" | tr : ' '`; do
37274 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37275 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37276 done
37277
37278 fi
37279
37280
37281 { echo "$as_me:$LINENO: checking for iconv" >&5
37282 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37283 if test "${am_cv_func_iconv+set}" = set; then
37284 echo $ECHO_N "(cached) $ECHO_C" >&6
37285 else
37286
37287 am_cv_func_iconv="no, consider installing GNU libiconv"
37288 am_cv_lib_iconv=no
37289 cat >conftest.$ac_ext <<_ACEOF
37290 /* confdefs.h. */
37291 _ACEOF
37292 cat confdefs.h >>conftest.$ac_ext
37293 cat >>conftest.$ac_ext <<_ACEOF
37294 /* end confdefs.h. */
37295 #include <stdlib.h>
37296 #include <iconv.h>
37297 int
37298 main ()
37299 {
37300 iconv_t cd = iconv_open("","");
37301 iconv(cd,NULL,NULL,NULL,NULL);
37302 iconv_close(cd);
37303 ;
37304 return 0;
37305 }
37306 _ACEOF
37307 rm -f conftest.$ac_objext conftest$ac_exeext
37308 if { (ac_try="$ac_link"
37309 case "(($ac_try" in
37310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37311 *) ac_try_echo=$ac_try;;
37312 esac
37313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37314 (eval "$ac_link") 2>conftest.er1
37315 ac_status=$?
37316 grep -v '^ *+' conftest.er1 >conftest.err
37317 rm -f conftest.er1
37318 cat conftest.err >&5
37319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37320 (exit $ac_status); } && {
37321 test -z "$ac_c_werror_flag" ||
37322 test ! -s conftest.err
37323 } && test -s conftest$ac_exeext &&
37324 $as_test_x conftest$ac_exeext; then
37325 am_cv_func_iconv=yes
37326 else
37327 echo "$as_me: failed program was:" >&5
37328 sed 's/^/| /' conftest.$ac_ext >&5
37329
37330
37331 fi
37332
37333 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37334 conftest$ac_exeext conftest.$ac_ext
37335 if test "$am_cv_func_iconv" != yes; then
37336 am_save_LIBS="$LIBS"
37337 LIBS="$LIBS -liconv"
37338 cat >conftest.$ac_ext <<_ACEOF
37339 /* confdefs.h. */
37340 _ACEOF
37341 cat confdefs.h >>conftest.$ac_ext
37342 cat >>conftest.$ac_ext <<_ACEOF
37343 /* end confdefs.h. */
37344 #include <stdlib.h>
37345 #include <iconv.h>
37346 int
37347 main ()
37348 {
37349 iconv_t cd = iconv_open("","");
37350 iconv(cd,NULL,NULL,NULL,NULL);
37351 iconv_close(cd);
37352 ;
37353 return 0;
37354 }
37355 _ACEOF
37356 rm -f conftest.$ac_objext conftest$ac_exeext
37357 if { (ac_try="$ac_link"
37358 case "(($ac_try" in
37359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37360 *) ac_try_echo=$ac_try;;
37361 esac
37362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37363 (eval "$ac_link") 2>conftest.er1
37364 ac_status=$?
37365 grep -v '^ *+' conftest.er1 >conftest.err
37366 rm -f conftest.er1
37367 cat conftest.err >&5
37368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37369 (exit $ac_status); } && {
37370 test -z "$ac_c_werror_flag" ||
37371 test ! -s conftest.err
37372 } && test -s conftest$ac_exeext &&
37373 $as_test_x conftest$ac_exeext; then
37374 am_cv_lib_iconv=yes
37375 am_cv_func_iconv=yes
37376 else
37377 echo "$as_me: failed program was:" >&5
37378 sed 's/^/| /' conftest.$ac_ext >&5
37379
37380
37381 fi
37382
37383 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37384 conftest$ac_exeext conftest.$ac_ext
37385 LIBS="$am_save_LIBS"
37386 fi
37387
37388 fi
37389 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37390 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
37391 if test "$am_cv_func_iconv" = yes; then
37392
37393 cat >>confdefs.h <<\_ACEOF
37394 #define HAVE_ICONV 1
37395 _ACEOF
37396
37397 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
37398 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
37399 if test "${wx_cv_func_iconv_const+set}" = set; then
37400 echo $ECHO_N "(cached) $ECHO_C" >&6
37401 else
37402 cat >conftest.$ac_ext <<_ACEOF
37403 /* confdefs.h. */
37404 _ACEOF
37405 cat confdefs.h >>conftest.$ac_ext
37406 cat >>conftest.$ac_ext <<_ACEOF
37407 /* end confdefs.h. */
37408
37409 #include <stdlib.h>
37410 #include <iconv.h>
37411 extern
37412 #ifdef __cplusplus
37413 "C"
37414 #endif
37415 #if defined(__STDC__) || defined(__cplusplus)
37416 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37417 #else
37418 size_t iconv();
37419 #endif
37420
37421 int
37422 main ()
37423 {
37424
37425 ;
37426 return 0;
37427 }
37428 _ACEOF
37429 rm -f conftest.$ac_objext
37430 if { (ac_try="$ac_compile"
37431 case "(($ac_try" in
37432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37433 *) ac_try_echo=$ac_try;;
37434 esac
37435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37436 (eval "$ac_compile") 2>conftest.er1
37437 ac_status=$?
37438 grep -v '^ *+' conftest.er1 >conftest.err
37439 rm -f conftest.er1
37440 cat conftest.err >&5
37441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37442 (exit $ac_status); } && {
37443 test -z "$ac_c_werror_flag" ||
37444 test ! -s conftest.err
37445 } && test -s conftest.$ac_objext; then
37446 wx_cv_func_iconv_const="no"
37447 else
37448 echo "$as_me: failed program was:" >&5
37449 sed 's/^/| /' conftest.$ac_ext >&5
37450
37451 wx_cv_func_iconv_const="yes"
37452
37453 fi
37454
37455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37456
37457 fi
37458 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37459 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
37460
37461 iconv_const=
37462 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37463 iconv_const="const"
37464 fi
37465
37466
37467 cat >>confdefs.h <<_ACEOF
37468 #define ICONV_CONST $iconv_const
37469 _ACEOF
37470
37471 fi
37472 LIBICONV=
37473 if test "$am_cv_lib_iconv" = yes; then
37474 LIBICONV="-liconv"
37475 fi
37476
37477
37478 LIBS="$LIBICONV $LIBS"
37479 fi
37480
37481 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37482
37483 for ac_func in sigaction
37484 do
37485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37486 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37488 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37489 echo $ECHO_N "(cached) $ECHO_C" >&6
37490 else
37491 cat >conftest.$ac_ext <<_ACEOF
37492 /* confdefs.h. */
37493 _ACEOF
37494 cat confdefs.h >>conftest.$ac_ext
37495 cat >>conftest.$ac_ext <<_ACEOF
37496 /* end confdefs.h. */
37497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37499 #define $ac_func innocuous_$ac_func
37500
37501 /* System header to define __stub macros and hopefully few prototypes,
37502 which can conflict with char $ac_func (); below.
37503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37504 <limits.h> exists even on freestanding compilers. */
37505
37506 #ifdef __STDC__
37507 # include <limits.h>
37508 #else
37509 # include <assert.h>
37510 #endif
37511
37512 #undef $ac_func
37513
37514 /* Override any GCC internal prototype to avoid an error.
37515 Use char because int might match the return type of a GCC
37516 builtin and then its argument prototype would still apply. */
37517 #ifdef __cplusplus
37518 extern "C"
37519 #endif
37520 char $ac_func ();
37521 /* The GNU C library defines this for functions which it implements
37522 to always fail with ENOSYS. Some functions are actually named
37523 something starting with __ and the normal name is an alias. */
37524 #if defined __stub_$ac_func || defined __stub___$ac_func
37525 choke me
37526 #endif
37527
37528 int
37529 main ()
37530 {
37531 return $ac_func ();
37532 ;
37533 return 0;
37534 }
37535 _ACEOF
37536 rm -f conftest.$ac_objext conftest$ac_exeext
37537 if { (ac_try="$ac_link"
37538 case "(($ac_try" in
37539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37540 *) ac_try_echo=$ac_try;;
37541 esac
37542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37543 (eval "$ac_link") 2>conftest.er1
37544 ac_status=$?
37545 grep -v '^ *+' conftest.er1 >conftest.err
37546 rm -f conftest.er1
37547 cat conftest.err >&5
37548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37549 (exit $ac_status); } && {
37550 test -z "$ac_c_werror_flag" ||
37551 test ! -s conftest.err
37552 } && test -s conftest$ac_exeext &&
37553 $as_test_x conftest$ac_exeext; then
37554 eval "$as_ac_var=yes"
37555 else
37556 echo "$as_me: failed program was:" >&5
37557 sed 's/^/| /' conftest.$ac_ext >&5
37558
37559 eval "$as_ac_var=no"
37560 fi
37561
37562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37563 conftest$ac_exeext conftest.$ac_ext
37564 fi
37565 ac_res=`eval echo '${'$as_ac_var'}'`
37566 { echo "$as_me:$LINENO: result: $ac_res" >&5
37567 echo "${ECHO_T}$ac_res" >&6; }
37568 if test `eval echo '${'$as_ac_var'}'` = yes; then
37569 cat >>confdefs.h <<_ACEOF
37570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37571 _ACEOF
37572
37573 fi
37574 done
37575
37576
37577 if test "$ac_cv_func_sigaction" = "no"; then
37578 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37579 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37580 wxUSE_ON_FATAL_EXCEPTION=no
37581 fi
37582
37583 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37584 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37585 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37586 if test "${wx_cv_type_sa_handler+set}" = set; then
37587 echo $ECHO_N "(cached) $ECHO_C" >&6
37588 else
37589
37590 ac_ext=cpp
37591 ac_cpp='$CXXCPP $CPPFLAGS'
37592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37595
37596 cat >conftest.$ac_ext <<_ACEOF
37597 /* confdefs.h. */
37598 _ACEOF
37599 cat confdefs.h >>conftest.$ac_ext
37600 cat >>conftest.$ac_ext <<_ACEOF
37601 /* end confdefs.h. */
37602 #include <signal.h>
37603 int
37604 main ()
37605 {
37606
37607 extern void testSigHandler(int);
37608
37609 struct sigaction sa;
37610 sa.sa_handler = testSigHandler;
37611
37612 ;
37613 return 0;
37614 }
37615 _ACEOF
37616 rm -f conftest.$ac_objext
37617 if { (ac_try="$ac_compile"
37618 case "(($ac_try" in
37619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37620 *) ac_try_echo=$ac_try;;
37621 esac
37622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37623 (eval "$ac_compile") 2>conftest.er1
37624 ac_status=$?
37625 grep -v '^ *+' conftest.er1 >conftest.err
37626 rm -f conftest.er1
37627 cat conftest.err >&5
37628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37629 (exit $ac_status); } && {
37630 test -z "$ac_cxx_werror_flag" ||
37631 test ! -s conftest.err
37632 } && test -s conftest.$ac_objext; then
37633
37634 wx_cv_type_sa_handler=int
37635
37636 else
37637 echo "$as_me: failed program was:" >&5
37638 sed 's/^/| /' conftest.$ac_ext >&5
37639
37640
37641 wx_cv_type_sa_handler=void
37642
37643 fi
37644
37645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37646 ac_ext=c
37647 ac_cpp='$CPP $CPPFLAGS'
37648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37651
37652
37653 fi
37654 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37655 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
37656
37657 cat >>confdefs.h <<_ACEOF
37658 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37659 _ACEOF
37660
37661 fi
37662 fi
37663
37664 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37665 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37666 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
37667 if test "${wx_cv_func_backtrace+set}" = set; then
37668 echo $ECHO_N "(cached) $ECHO_C" >&6
37669 else
37670
37671 ac_ext=cpp
37672 ac_cpp='$CXXCPP $CPPFLAGS'
37673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37676
37677 cat >conftest.$ac_ext <<_ACEOF
37678 /* confdefs.h. */
37679 _ACEOF
37680 cat confdefs.h >>conftest.$ac_ext
37681 cat >>conftest.$ac_ext <<_ACEOF
37682 /* end confdefs.h. */
37683 #include <execinfo.h>
37684 int
37685 main ()
37686 {
37687
37688 void *trace[1];
37689 char **messages;
37690
37691 backtrace(trace, 1);
37692 messages = backtrace_symbols(trace, 1);
37693
37694 ;
37695 return 0;
37696 }
37697 _ACEOF
37698 rm -f conftest.$ac_objext
37699 if { (ac_try="$ac_compile"
37700 case "(($ac_try" in
37701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37702 *) ac_try_echo=$ac_try;;
37703 esac
37704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37705 (eval "$ac_compile") 2>conftest.er1
37706 ac_status=$?
37707 grep -v '^ *+' conftest.er1 >conftest.err
37708 rm -f conftest.er1
37709 cat conftest.err >&5
37710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37711 (exit $ac_status); } && {
37712 test -z "$ac_cxx_werror_flag" ||
37713 test ! -s conftest.err
37714 } && test -s conftest.$ac_objext; then
37715 wx_cv_func_backtrace=yes
37716 else
37717 echo "$as_me: failed program was:" >&5
37718 sed 's/^/| /' conftest.$ac_ext >&5
37719
37720 wx_cv_func_backtrace=no
37721
37722 fi
37723
37724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37725 ac_ext=c
37726 ac_cpp='$CPP $CPPFLAGS'
37727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37730
37731
37732
37733 fi
37734 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37735 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
37736
37737
37738 if test "$wx_cv_func_backtrace" = "no"; then
37739 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37740 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37741 wxUSE_STACKWALKER=no
37742 else
37743 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37744 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
37745 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37746 echo $ECHO_N "(cached) $ECHO_C" >&6
37747 else
37748
37749 ac_ext=cpp
37750 ac_cpp='$CXXCPP $CPPFLAGS'
37751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37754
37755 cat >conftest.$ac_ext <<_ACEOF
37756 /* confdefs.h. */
37757 _ACEOF
37758 cat confdefs.h >>conftest.$ac_ext
37759 cat >>conftest.$ac_ext <<_ACEOF
37760 /* end confdefs.h. */
37761 #include <cxxabi.h>
37762 int
37763 main ()
37764 {
37765
37766 int rc;
37767 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37768
37769 ;
37770 return 0;
37771 }
37772 _ACEOF
37773 rm -f conftest.$ac_objext conftest$ac_exeext
37774 if { (ac_try="$ac_link"
37775 case "(($ac_try" in
37776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37777 *) ac_try_echo=$ac_try;;
37778 esac
37779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37780 (eval "$ac_link") 2>conftest.er1
37781 ac_status=$?
37782 grep -v '^ *+' conftest.er1 >conftest.err
37783 rm -f conftest.er1
37784 cat conftest.err >&5
37785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37786 (exit $ac_status); } && {
37787 test -z "$ac_cxx_werror_flag" ||
37788 test ! -s conftest.err
37789 } && test -s conftest$ac_exeext &&
37790 $as_test_x conftest$ac_exeext; then
37791 wx_cv_func_cxa_demangle=yes
37792 else
37793 echo "$as_me: failed program was:" >&5
37794 sed 's/^/| /' conftest.$ac_ext >&5
37795
37796 wx_cv_func_cxa_demangle=no
37797
37798 fi
37799
37800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37801 conftest$ac_exeext conftest.$ac_ext
37802 ac_ext=c
37803 ac_cpp='$CPP $CPPFLAGS'
37804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37807
37808
37809
37810 fi
37811 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37812 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
37813
37814 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37815 cat >>confdefs.h <<\_ACEOF
37816 #define HAVE_CXA_DEMANGLE 1
37817 _ACEOF
37818
37819 fi
37820 fi
37821 fi
37822
37823 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
37824 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37825 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37826 wxUSE_STACKWALKER=no
37827 fi
37828
37829
37830
37831
37832 for ac_func in mkstemp mktemp
37833 do
37834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37835 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37837 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37838 echo $ECHO_N "(cached) $ECHO_C" >&6
37839 else
37840 cat >conftest.$ac_ext <<_ACEOF
37841 /* confdefs.h. */
37842 _ACEOF
37843 cat confdefs.h >>conftest.$ac_ext
37844 cat >>conftest.$ac_ext <<_ACEOF
37845 /* end confdefs.h. */
37846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37848 #define $ac_func innocuous_$ac_func
37849
37850 /* System header to define __stub macros and hopefully few prototypes,
37851 which can conflict with char $ac_func (); below.
37852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37853 <limits.h> exists even on freestanding compilers. */
37854
37855 #ifdef __STDC__
37856 # include <limits.h>
37857 #else
37858 # include <assert.h>
37859 #endif
37860
37861 #undef $ac_func
37862
37863 /* Override any GCC internal prototype to avoid an error.
37864 Use char because int might match the return type of a GCC
37865 builtin and then its argument prototype would still apply. */
37866 #ifdef __cplusplus
37867 extern "C"
37868 #endif
37869 char $ac_func ();
37870 /* The GNU C library defines this for functions which it implements
37871 to always fail with ENOSYS. Some functions are actually named
37872 something starting with __ and the normal name is an alias. */
37873 #if defined __stub_$ac_func || defined __stub___$ac_func
37874 choke me
37875 #endif
37876
37877 int
37878 main ()
37879 {
37880 return $ac_func ();
37881 ;
37882 return 0;
37883 }
37884 _ACEOF
37885 rm -f conftest.$ac_objext conftest$ac_exeext
37886 if { (ac_try="$ac_link"
37887 case "(($ac_try" in
37888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37889 *) ac_try_echo=$ac_try;;
37890 esac
37891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37892 (eval "$ac_link") 2>conftest.er1
37893 ac_status=$?
37894 grep -v '^ *+' conftest.er1 >conftest.err
37895 rm -f conftest.er1
37896 cat conftest.err >&5
37897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37898 (exit $ac_status); } && {
37899 test -z "$ac_c_werror_flag" ||
37900 test ! -s conftest.err
37901 } && test -s conftest$ac_exeext &&
37902 $as_test_x conftest$ac_exeext; then
37903 eval "$as_ac_var=yes"
37904 else
37905 echo "$as_me: failed program was:" >&5
37906 sed 's/^/| /' conftest.$ac_ext >&5
37907
37908 eval "$as_ac_var=no"
37909 fi
37910
37911 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37912 conftest$ac_exeext conftest.$ac_ext
37913 fi
37914 ac_res=`eval echo '${'$as_ac_var'}'`
37915 { echo "$as_me:$LINENO: result: $ac_res" >&5
37916 echo "${ECHO_T}$ac_res" >&6; }
37917 if test `eval echo '${'$as_ac_var'}'` = yes; then
37918 cat >>confdefs.h <<_ACEOF
37919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37920 _ACEOF
37921 break
37922 fi
37923 done
37924
37925
37926 { echo "$as_me:$LINENO: checking for statfs" >&5
37927 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
37928 if test "${wx_cv_func_statfs+set}" = set; then
37929 echo $ECHO_N "(cached) $ECHO_C" >&6
37930 else
37931 cat >conftest.$ac_ext <<_ACEOF
37932 /* confdefs.h. */
37933 _ACEOF
37934 cat confdefs.h >>conftest.$ac_ext
37935 cat >>conftest.$ac_ext <<_ACEOF
37936 /* end confdefs.h. */
37937
37938 #if defined(__BSD__)
37939 #include <sys/param.h>
37940 #include <sys/mount.h>
37941 #else
37942 #include <sys/vfs.h>
37943 #endif
37944
37945 int
37946 main ()
37947 {
37948
37949 long l;
37950 struct statfs fs;
37951 statfs("/", &fs);
37952 l = fs.f_bsize;
37953 l += fs.f_blocks;
37954 l += fs.f_bavail;
37955
37956 ;
37957 return 0;
37958 }
37959 _ACEOF
37960 rm -f conftest.$ac_objext
37961 if { (ac_try="$ac_compile"
37962 case "(($ac_try" in
37963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37964 *) ac_try_echo=$ac_try;;
37965 esac
37966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37967 (eval "$ac_compile") 2>conftest.er1
37968 ac_status=$?
37969 grep -v '^ *+' conftest.er1 >conftest.err
37970 rm -f conftest.er1
37971 cat conftest.err >&5
37972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37973 (exit $ac_status); } && {
37974 test -z "$ac_c_werror_flag" ||
37975 test ! -s conftest.err
37976 } && test -s conftest.$ac_objext; then
37977 wx_cv_func_statfs=yes
37978 else
37979 echo "$as_me: failed program was:" >&5
37980 sed 's/^/| /' conftest.$ac_ext >&5
37981
37982 wx_cv_func_statfs=no
37983
37984 fi
37985
37986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37987
37988 fi
37989 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37990 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
37991
37992 if test "$wx_cv_func_statfs" = "yes"; then
37993 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
37994 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
37995 if test "${wx_cv_func_statfs_decl+set}" = set; then
37996 echo $ECHO_N "(cached) $ECHO_C" >&6
37997 else
37998 ac_ext=cpp
37999 ac_cpp='$CXXCPP $CPPFLAGS'
38000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38003
38004 cat >conftest.$ac_ext <<_ACEOF
38005 /* confdefs.h. */
38006 _ACEOF
38007 cat confdefs.h >>conftest.$ac_ext
38008 cat >>conftest.$ac_ext <<_ACEOF
38009 /* end confdefs.h. */
38010
38011 #if defined(__BSD__)
38012 #include <sys/param.h>
38013 #include <sys/mount.h>
38014 #else
38015 #include <sys/vfs.h>
38016 #endif
38017
38018 int
38019 main ()
38020 {
38021
38022 struct statfs fs;
38023 statfs("", &fs);
38024
38025 ;
38026 return 0;
38027 }
38028 _ACEOF
38029 rm -f conftest.$ac_objext
38030 if { (ac_try="$ac_compile"
38031 case "(($ac_try" in
38032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38033 *) ac_try_echo=$ac_try;;
38034 esac
38035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38036 (eval "$ac_compile") 2>conftest.er1
38037 ac_status=$?
38038 grep -v '^ *+' conftest.er1 >conftest.err
38039 rm -f conftest.er1
38040 cat conftest.err >&5
38041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38042 (exit $ac_status); } && {
38043 test -z "$ac_cxx_werror_flag" ||
38044 test ! -s conftest.err
38045 } && test -s conftest.$ac_objext; then
38046 wx_cv_func_statfs_decl=yes
38047 else
38048 echo "$as_me: failed program was:" >&5
38049 sed 's/^/| /' conftest.$ac_ext >&5
38050
38051 wx_cv_func_statfs_decl=no
38052
38053 fi
38054
38055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38056 ac_ext=c
38057 ac_cpp='$CPP $CPPFLAGS'
38058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38061
38062
38063 fi
38064 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38065 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
38066
38067 if test "$wx_cv_func_statfs_decl" = "yes"; then
38068 cat >>confdefs.h <<\_ACEOF
38069 #define HAVE_STATFS_DECL 1
38070 _ACEOF
38071
38072 fi
38073
38074 wx_cv_type_statvfs_t="struct statfs"
38075 cat >>confdefs.h <<\_ACEOF
38076 #define HAVE_STATFS 1
38077 _ACEOF
38078
38079 else
38080 { echo "$as_me:$LINENO: checking for statvfs" >&5
38081 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
38082 if test "${wx_cv_func_statvfs+set}" = set; then
38083 echo $ECHO_N "(cached) $ECHO_C" >&6
38084 else
38085 cat >conftest.$ac_ext <<_ACEOF
38086 /* confdefs.h. */
38087 _ACEOF
38088 cat confdefs.h >>conftest.$ac_ext
38089 cat >>conftest.$ac_ext <<_ACEOF
38090 /* end confdefs.h. */
38091
38092 #include <stddef.h>
38093 #include <sys/statvfs.h>
38094
38095 int
38096 main ()
38097 {
38098
38099 statvfs("/", NULL);
38100
38101 ;
38102 return 0;
38103 }
38104 _ACEOF
38105 rm -f conftest.$ac_objext
38106 if { (ac_try="$ac_compile"
38107 case "(($ac_try" in
38108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38109 *) ac_try_echo=$ac_try;;
38110 esac
38111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38112 (eval "$ac_compile") 2>conftest.er1
38113 ac_status=$?
38114 grep -v '^ *+' conftest.er1 >conftest.err
38115 rm -f conftest.er1
38116 cat conftest.err >&5
38117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38118 (exit $ac_status); } && {
38119 test -z "$ac_c_werror_flag" ||
38120 test ! -s conftest.err
38121 } && test -s conftest.$ac_objext; then
38122 wx_cv_func_statvfs=yes
38123 else
38124 echo "$as_me: failed program was:" >&5
38125 sed 's/^/| /' conftest.$ac_ext >&5
38126
38127 wx_cv_func_statvfs=no
38128
38129 fi
38130
38131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38132
38133 fi
38134 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38135 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38136
38137 if test "$wx_cv_func_statvfs" = "yes"; then
38138 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38139 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38140 if test "${wx_cv_type_statvfs_t+set}" = set; then
38141 echo $ECHO_N "(cached) $ECHO_C" >&6
38142 else
38143 ac_ext=cpp
38144 ac_cpp='$CXXCPP $CPPFLAGS'
38145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38148
38149 cat >conftest.$ac_ext <<_ACEOF
38150 /* confdefs.h. */
38151 _ACEOF
38152 cat confdefs.h >>conftest.$ac_ext
38153 cat >>conftest.$ac_ext <<_ACEOF
38154 /* end confdefs.h. */
38155
38156 #include <sys/statvfs.h>
38157
38158 int
38159 main ()
38160 {
38161
38162 long l;
38163 statvfs_t fs;
38164 statvfs("/", &fs);
38165 l = fs.f_bsize;
38166 l += fs.f_blocks;
38167 l += fs.f_bavail;
38168
38169 ;
38170 return 0;
38171 }
38172 _ACEOF
38173 rm -f conftest.$ac_objext
38174 if { (ac_try="$ac_compile"
38175 case "(($ac_try" in
38176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38177 *) ac_try_echo=$ac_try;;
38178 esac
38179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38180 (eval "$ac_compile") 2>conftest.er1
38181 ac_status=$?
38182 grep -v '^ *+' conftest.er1 >conftest.err
38183 rm -f conftest.er1
38184 cat conftest.err >&5
38185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38186 (exit $ac_status); } && {
38187 test -z "$ac_cxx_werror_flag" ||
38188 test ! -s conftest.err
38189 } && test -s conftest.$ac_objext; then
38190 wx_cv_type_statvfs_t=statvfs_t
38191 else
38192 echo "$as_me: failed program was:" >&5
38193 sed 's/^/| /' conftest.$ac_ext >&5
38194
38195
38196 cat >conftest.$ac_ext <<_ACEOF
38197 /* confdefs.h. */
38198 _ACEOF
38199 cat confdefs.h >>conftest.$ac_ext
38200 cat >>conftest.$ac_ext <<_ACEOF
38201 /* end confdefs.h. */
38202
38203 #include <sys/statvfs.h>
38204
38205 int
38206 main ()
38207 {
38208
38209 long l;
38210 struct statvfs fs;
38211 statvfs("/", &fs);
38212 l = fs.f_bsize;
38213 l += fs.f_blocks;
38214 l += fs.f_bavail;
38215
38216 ;
38217 return 0;
38218 }
38219 _ACEOF
38220 rm -f conftest.$ac_objext
38221 if { (ac_try="$ac_compile"
38222 case "(($ac_try" in
38223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38224 *) ac_try_echo=$ac_try;;
38225 esac
38226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38227 (eval "$ac_compile") 2>conftest.er1
38228 ac_status=$?
38229 grep -v '^ *+' conftest.er1 >conftest.err
38230 rm -f conftest.er1
38231 cat conftest.err >&5
38232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38233 (exit $ac_status); } && {
38234 test -z "$ac_cxx_werror_flag" ||
38235 test ! -s conftest.err
38236 } && test -s conftest.$ac_objext; then
38237 wx_cv_type_statvfs_t="struct statvfs"
38238 else
38239 echo "$as_me: failed program was:" >&5
38240 sed 's/^/| /' conftest.$ac_ext >&5
38241
38242 wx_cv_type_statvfs_t="unknown"
38243
38244 fi
38245
38246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38247
38248
38249 fi
38250
38251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38252 ac_ext=c
38253 ac_cpp='$CPP $CPPFLAGS'
38254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38257
38258
38259 fi
38260 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38261 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38262
38263 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38264 cat >>confdefs.h <<\_ACEOF
38265 #define HAVE_STATVFS 1
38266 _ACEOF
38267
38268 fi
38269 else
38270 wx_cv_type_statvfs_t="unknown"
38271 fi
38272 fi
38273
38274 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38275 cat >>confdefs.h <<_ACEOF
38276 #define WX_STATFS_T $wx_cv_type_statvfs_t
38277 _ACEOF
38278
38279 else
38280 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38281 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38282 fi
38283
38284 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38285
38286
38287 for ac_func in fcntl flock
38288 do
38289 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38290 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38292 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38293 echo $ECHO_N "(cached) $ECHO_C" >&6
38294 else
38295 cat >conftest.$ac_ext <<_ACEOF
38296 /* confdefs.h. */
38297 _ACEOF
38298 cat confdefs.h >>conftest.$ac_ext
38299 cat >>conftest.$ac_ext <<_ACEOF
38300 /* end confdefs.h. */
38301 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38303 #define $ac_func innocuous_$ac_func
38304
38305 /* System header to define __stub macros and hopefully few prototypes,
38306 which can conflict with char $ac_func (); below.
38307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38308 <limits.h> exists even on freestanding compilers. */
38309
38310 #ifdef __STDC__
38311 # include <limits.h>
38312 #else
38313 # include <assert.h>
38314 #endif
38315
38316 #undef $ac_func
38317
38318 /* Override any GCC internal prototype to avoid an error.
38319 Use char because int might match the return type of a GCC
38320 builtin and then its argument prototype would still apply. */
38321 #ifdef __cplusplus
38322 extern "C"
38323 #endif
38324 char $ac_func ();
38325 /* The GNU C library defines this for functions which it implements
38326 to always fail with ENOSYS. Some functions are actually named
38327 something starting with __ and the normal name is an alias. */
38328 #if defined __stub_$ac_func || defined __stub___$ac_func
38329 choke me
38330 #endif
38331
38332 int
38333 main ()
38334 {
38335 return $ac_func ();
38336 ;
38337 return 0;
38338 }
38339 _ACEOF
38340 rm -f conftest.$ac_objext conftest$ac_exeext
38341 if { (ac_try="$ac_link"
38342 case "(($ac_try" in
38343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38344 *) ac_try_echo=$ac_try;;
38345 esac
38346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38347 (eval "$ac_link") 2>conftest.er1
38348 ac_status=$?
38349 grep -v '^ *+' conftest.er1 >conftest.err
38350 rm -f conftest.er1
38351 cat conftest.err >&5
38352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38353 (exit $ac_status); } && {
38354 test -z "$ac_c_werror_flag" ||
38355 test ! -s conftest.err
38356 } && test -s conftest$ac_exeext &&
38357 $as_test_x conftest$ac_exeext; then
38358 eval "$as_ac_var=yes"
38359 else
38360 echo "$as_me: failed program was:" >&5
38361 sed 's/^/| /' conftest.$ac_ext >&5
38362
38363 eval "$as_ac_var=no"
38364 fi
38365
38366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38367 conftest$ac_exeext conftest.$ac_ext
38368 fi
38369 ac_res=`eval echo '${'$as_ac_var'}'`
38370 { echo "$as_me:$LINENO: result: $ac_res" >&5
38371 echo "${ECHO_T}$ac_res" >&6; }
38372 if test `eval echo '${'$as_ac_var'}'` = yes; then
38373 cat >>confdefs.h <<_ACEOF
38374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38375 _ACEOF
38376 break
38377 fi
38378 done
38379
38380
38381 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38382 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38383 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38384 wxUSE_SNGLINST_CHECKER=no
38385 fi
38386 fi
38387
38388
38389
38390 for ac_func in setenv putenv
38391 do
38392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38393 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38395 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38396 echo $ECHO_N "(cached) $ECHO_C" >&6
38397 else
38398 cat >conftest.$ac_ext <<_ACEOF
38399 /* confdefs.h. */
38400 _ACEOF
38401 cat confdefs.h >>conftest.$ac_ext
38402 cat >>conftest.$ac_ext <<_ACEOF
38403 /* end confdefs.h. */
38404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38406 #define $ac_func innocuous_$ac_func
38407
38408 /* System header to define __stub macros and hopefully few prototypes,
38409 which can conflict with char $ac_func (); below.
38410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38411 <limits.h> exists even on freestanding compilers. */
38412
38413 #ifdef __STDC__
38414 # include <limits.h>
38415 #else
38416 # include <assert.h>
38417 #endif
38418
38419 #undef $ac_func
38420
38421 /* Override any GCC internal prototype to avoid an error.
38422 Use char because int might match the return type of a GCC
38423 builtin and then its argument prototype would still apply. */
38424 #ifdef __cplusplus
38425 extern "C"
38426 #endif
38427 char $ac_func ();
38428 /* The GNU C library defines this for functions which it implements
38429 to always fail with ENOSYS. Some functions are actually named
38430 something starting with __ and the normal name is an alias. */
38431 #if defined __stub_$ac_func || defined __stub___$ac_func
38432 choke me
38433 #endif
38434
38435 int
38436 main ()
38437 {
38438 return $ac_func ();
38439 ;
38440 return 0;
38441 }
38442 _ACEOF
38443 rm -f conftest.$ac_objext conftest$ac_exeext
38444 if { (ac_try="$ac_link"
38445 case "(($ac_try" in
38446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38447 *) ac_try_echo=$ac_try;;
38448 esac
38449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38450 (eval "$ac_link") 2>conftest.er1
38451 ac_status=$?
38452 grep -v '^ *+' conftest.er1 >conftest.err
38453 rm -f conftest.er1
38454 cat conftest.err >&5
38455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38456 (exit $ac_status); } && {
38457 test -z "$ac_c_werror_flag" ||
38458 test ! -s conftest.err
38459 } && test -s conftest$ac_exeext &&
38460 $as_test_x conftest$ac_exeext; then
38461 eval "$as_ac_var=yes"
38462 else
38463 echo "$as_me: failed program was:" >&5
38464 sed 's/^/| /' conftest.$ac_ext >&5
38465
38466 eval "$as_ac_var=no"
38467 fi
38468
38469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38470 conftest$ac_exeext conftest.$ac_ext
38471 fi
38472 ac_res=`eval echo '${'$as_ac_var'}'`
38473 { echo "$as_me:$LINENO: result: $ac_res" >&5
38474 echo "${ECHO_T}$ac_res" >&6; }
38475 if test `eval echo '${'$as_ac_var'}'` = yes; then
38476 cat >>confdefs.h <<_ACEOF
38477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38478 _ACEOF
38479 break
38480 fi
38481 done
38482
38483 if test "$ac_cv_func_setenv" = "yes"; then
38484
38485 for ac_func in unsetenv
38486 do
38487 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38488 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38489 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38490 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38491 echo $ECHO_N "(cached) $ECHO_C" >&6
38492 else
38493 cat >conftest.$ac_ext <<_ACEOF
38494 /* confdefs.h. */
38495 _ACEOF
38496 cat confdefs.h >>conftest.$ac_ext
38497 cat >>conftest.$ac_ext <<_ACEOF
38498 /* end confdefs.h. */
38499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38501 #define $ac_func innocuous_$ac_func
38502
38503 /* System header to define __stub macros and hopefully few prototypes,
38504 which can conflict with char $ac_func (); below.
38505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38506 <limits.h> exists even on freestanding compilers. */
38507
38508 #ifdef __STDC__
38509 # include <limits.h>
38510 #else
38511 # include <assert.h>
38512 #endif
38513
38514 #undef $ac_func
38515
38516 /* Override any GCC internal prototype to avoid an error.
38517 Use char because int might match the return type of a GCC
38518 builtin and then its argument prototype would still apply. */
38519 #ifdef __cplusplus
38520 extern "C"
38521 #endif
38522 char $ac_func ();
38523 /* The GNU C library defines this for functions which it implements
38524 to always fail with ENOSYS. Some functions are actually named
38525 something starting with __ and the normal name is an alias. */
38526 #if defined __stub_$ac_func || defined __stub___$ac_func
38527 choke me
38528 #endif
38529
38530 int
38531 main ()
38532 {
38533 return $ac_func ();
38534 ;
38535 return 0;
38536 }
38537 _ACEOF
38538 rm -f conftest.$ac_objext conftest$ac_exeext
38539 if { (ac_try="$ac_link"
38540 case "(($ac_try" in
38541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38542 *) ac_try_echo=$ac_try;;
38543 esac
38544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38545 (eval "$ac_link") 2>conftest.er1
38546 ac_status=$?
38547 grep -v '^ *+' conftest.er1 >conftest.err
38548 rm -f conftest.er1
38549 cat conftest.err >&5
38550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38551 (exit $ac_status); } && {
38552 test -z "$ac_c_werror_flag" ||
38553 test ! -s conftest.err
38554 } && test -s conftest$ac_exeext &&
38555 $as_test_x conftest$ac_exeext; then
38556 eval "$as_ac_var=yes"
38557 else
38558 echo "$as_me: failed program was:" >&5
38559 sed 's/^/| /' conftest.$ac_ext >&5
38560
38561 eval "$as_ac_var=no"
38562 fi
38563
38564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38565 conftest$ac_exeext conftest.$ac_ext
38566 fi
38567 ac_res=`eval echo '${'$as_ac_var'}'`
38568 { echo "$as_me:$LINENO: result: $ac_res" >&5
38569 echo "${ECHO_T}$ac_res" >&6; }
38570 if test `eval echo '${'$as_ac_var'}'` = yes; then
38571 cat >>confdefs.h <<_ACEOF
38572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38573 _ACEOF
38574
38575 fi
38576 done
38577
38578 fi
38579
38580 HAVE_SOME_SLEEP_FUNC=0
38581 if test "$USE_BEOS" = 1; then
38582 cat >>confdefs.h <<\_ACEOF
38583 #define HAVE_SLEEP 1
38584 _ACEOF
38585
38586 HAVE_SOME_SLEEP_FUNC=1
38587 fi
38588
38589 if test "$USE_DARWIN" = 1; then
38590 cat >>confdefs.h <<\_ACEOF
38591 #define HAVE_USLEEP 1
38592 _ACEOF
38593
38594 HAVE_SOME_SLEEP_FUNC=1
38595 fi
38596
38597 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38598 POSIX4_LINK=
38599
38600 for ac_func in nanosleep
38601 do
38602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38603 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38605 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38606 echo $ECHO_N "(cached) $ECHO_C" >&6
38607 else
38608 cat >conftest.$ac_ext <<_ACEOF
38609 /* confdefs.h. */
38610 _ACEOF
38611 cat confdefs.h >>conftest.$ac_ext
38612 cat >>conftest.$ac_ext <<_ACEOF
38613 /* end confdefs.h. */
38614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38616 #define $ac_func innocuous_$ac_func
38617
38618 /* System header to define __stub macros and hopefully few prototypes,
38619 which can conflict with char $ac_func (); below.
38620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38621 <limits.h> exists even on freestanding compilers. */
38622
38623 #ifdef __STDC__
38624 # include <limits.h>
38625 #else
38626 # include <assert.h>
38627 #endif
38628
38629 #undef $ac_func
38630
38631 /* Override any GCC internal prototype to avoid an error.
38632 Use char because int might match the return type of a GCC
38633 builtin and then its argument prototype would still apply. */
38634 #ifdef __cplusplus
38635 extern "C"
38636 #endif
38637 char $ac_func ();
38638 /* The GNU C library defines this for functions which it implements
38639 to always fail with ENOSYS. Some functions are actually named
38640 something starting with __ and the normal name is an alias. */
38641 #if defined __stub_$ac_func || defined __stub___$ac_func
38642 choke me
38643 #endif
38644
38645 int
38646 main ()
38647 {
38648 return $ac_func ();
38649 ;
38650 return 0;
38651 }
38652 _ACEOF
38653 rm -f conftest.$ac_objext conftest$ac_exeext
38654 if { (ac_try="$ac_link"
38655 case "(($ac_try" in
38656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38657 *) ac_try_echo=$ac_try;;
38658 esac
38659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38660 (eval "$ac_link") 2>conftest.er1
38661 ac_status=$?
38662 grep -v '^ *+' conftest.er1 >conftest.err
38663 rm -f conftest.er1
38664 cat conftest.err >&5
38665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38666 (exit $ac_status); } && {
38667 test -z "$ac_c_werror_flag" ||
38668 test ! -s conftest.err
38669 } && test -s conftest$ac_exeext &&
38670 $as_test_x conftest$ac_exeext; then
38671 eval "$as_ac_var=yes"
38672 else
38673 echo "$as_me: failed program was:" >&5
38674 sed 's/^/| /' conftest.$ac_ext >&5
38675
38676 eval "$as_ac_var=no"
38677 fi
38678
38679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38680 conftest$ac_exeext conftest.$ac_ext
38681 fi
38682 ac_res=`eval echo '${'$as_ac_var'}'`
38683 { echo "$as_me:$LINENO: result: $ac_res" >&5
38684 echo "${ECHO_T}$ac_res" >&6; }
38685 if test `eval echo '${'$as_ac_var'}'` = yes; then
38686 cat >>confdefs.h <<_ACEOF
38687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38688 _ACEOF
38689 cat >>confdefs.h <<\_ACEOF
38690 #define HAVE_NANOSLEEP 1
38691 _ACEOF
38692
38693 else
38694
38695 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38696 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
38697 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38698 echo $ECHO_N "(cached) $ECHO_C" >&6
38699 else
38700 ac_check_lib_save_LIBS=$LIBS
38701 LIBS="-lposix4 $LIBS"
38702 cat >conftest.$ac_ext <<_ACEOF
38703 /* confdefs.h. */
38704 _ACEOF
38705 cat confdefs.h >>conftest.$ac_ext
38706 cat >>conftest.$ac_ext <<_ACEOF
38707 /* end confdefs.h. */
38708
38709 /* Override any GCC internal prototype to avoid an error.
38710 Use char because int might match the return type of a GCC
38711 builtin and then its argument prototype would still apply. */
38712 #ifdef __cplusplus
38713 extern "C"
38714 #endif
38715 char nanosleep ();
38716 int
38717 main ()
38718 {
38719 return nanosleep ();
38720 ;
38721 return 0;
38722 }
38723 _ACEOF
38724 rm -f conftest.$ac_objext conftest$ac_exeext
38725 if { (ac_try="$ac_link"
38726 case "(($ac_try" in
38727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38728 *) ac_try_echo=$ac_try;;
38729 esac
38730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38731 (eval "$ac_link") 2>conftest.er1
38732 ac_status=$?
38733 grep -v '^ *+' conftest.er1 >conftest.err
38734 rm -f conftest.er1
38735 cat conftest.err >&5
38736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38737 (exit $ac_status); } && {
38738 test -z "$ac_c_werror_flag" ||
38739 test ! -s conftest.err
38740 } && test -s conftest$ac_exeext &&
38741 $as_test_x conftest$ac_exeext; then
38742 ac_cv_lib_posix4_nanosleep=yes
38743 else
38744 echo "$as_me: failed program was:" >&5
38745 sed 's/^/| /' conftest.$ac_ext >&5
38746
38747 ac_cv_lib_posix4_nanosleep=no
38748 fi
38749
38750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38751 conftest$ac_exeext conftest.$ac_ext
38752 LIBS=$ac_check_lib_save_LIBS
38753 fi
38754 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38755 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
38756 if test $ac_cv_lib_posix4_nanosleep = yes; then
38757
38758 cat >>confdefs.h <<\_ACEOF
38759 #define HAVE_NANOSLEEP 1
38760 _ACEOF
38761
38762 POSIX4_LINK=" -lposix4"
38763
38764 else
38765
38766
38767 for wx_func in usleep
38768 do
38769 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38770 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38771 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38772 echo $ECHO_N "(cached) $ECHO_C" >&6
38773 else
38774
38775 cat >conftest.$ac_ext <<_ACEOF
38776
38777 /* confdefs.h. */
38778 _ACEOF
38779 cat confdefs.h >>conftest.$ac_ext
38780 cat >>conftest.$ac_ext <<_ACEOF
38781 /* end confdefs.h. */
38782
38783
38784 $ac_includes_default
38785
38786 int
38787 main ()
38788 {
38789
38790 #ifndef $wx_func
38791 &$wx_func;
38792 #endif
38793
38794
38795 ;
38796 return 0;
38797 }
38798
38799 _ACEOF
38800 rm -f conftest.$ac_objext conftest$ac_exeext
38801 if { (ac_try="$ac_link"
38802 case "(($ac_try" in
38803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38804 *) ac_try_echo=$ac_try;;
38805 esac
38806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38807 (eval "$ac_link") 2>conftest.er1
38808 ac_status=$?
38809 grep -v '^ *+' conftest.er1 >conftest.err
38810 rm -f conftest.er1
38811 cat conftest.err >&5
38812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38813 (exit $ac_status); } && {
38814 test -z "$ac_c_werror_flag" ||
38815 test ! -s conftest.err
38816 } && test -s conftest$ac_exeext &&
38817 $as_test_x conftest$ac_exeext; then
38818 eval wx_cv_func_$wx_func=yes
38819 else
38820 echo "$as_me: failed program was:" >&5
38821 sed 's/^/| /' conftest.$ac_ext >&5
38822
38823 eval wx_cv_func_$wx_func=no
38824 fi
38825
38826 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38827 conftest$ac_exeext conftest.$ac_ext
38828
38829 fi
38830 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38831 { echo "$as_me:$LINENO: result: $ac_res" >&5
38832 echo "${ECHO_T}$ac_res" >&6; }
38833
38834 if eval test \$wx_cv_func_$wx_func = yes
38835 then
38836 cat >>confdefs.h <<_ACEOF
38837 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38838 _ACEOF
38839
38840
38841 else
38842 :
38843 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38844 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38845
38846 fi
38847 done
38848
38849
38850
38851 fi
38852
38853
38854
38855 fi
38856 done
38857
38858 fi
38859
38860
38861 for wx_func in uname
38862 do
38863 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38864 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38865 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38866 echo $ECHO_N "(cached) $ECHO_C" >&6
38867 else
38868
38869 cat >conftest.$ac_ext <<_ACEOF
38870
38871 /* confdefs.h. */
38872 _ACEOF
38873 cat confdefs.h >>conftest.$ac_ext
38874 cat >>conftest.$ac_ext <<_ACEOF
38875 /* end confdefs.h. */
38876
38877 #include <sys/utsname.h>
38878 $ac_includes_default
38879
38880 int
38881 main ()
38882 {
38883
38884 #ifndef $wx_func
38885 &$wx_func;
38886 #endif
38887
38888
38889 ;
38890 return 0;
38891 }
38892
38893 _ACEOF
38894 rm -f conftest.$ac_objext conftest$ac_exeext
38895 if { (ac_try="$ac_link"
38896 case "(($ac_try" in
38897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38898 *) ac_try_echo=$ac_try;;
38899 esac
38900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38901 (eval "$ac_link") 2>conftest.er1
38902 ac_status=$?
38903 grep -v '^ *+' conftest.er1 >conftest.err
38904 rm -f conftest.er1
38905 cat conftest.err >&5
38906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38907 (exit $ac_status); } && {
38908 test -z "$ac_c_werror_flag" ||
38909 test ! -s conftest.err
38910 } && test -s conftest$ac_exeext &&
38911 $as_test_x conftest$ac_exeext; then
38912 eval wx_cv_func_$wx_func=yes
38913 else
38914 echo "$as_me: failed program was:" >&5
38915 sed 's/^/| /' conftest.$ac_ext >&5
38916
38917 eval wx_cv_func_$wx_func=no
38918 fi
38919
38920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38921 conftest$ac_exeext conftest.$ac_ext
38922
38923 fi
38924 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38925 { echo "$as_me:$LINENO: result: $ac_res" >&5
38926 echo "${ECHO_T}$ac_res" >&6; }
38927
38928 if eval test \$wx_cv_func_$wx_func = yes
38929 then
38930 cat >>confdefs.h <<_ACEOF
38931 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38932 _ACEOF
38933
38934
38935 else
38936 :
38937
38938 fi
38939 done
38940
38941 if test "$wx_cv_func_uname" != yes; then
38942
38943 for wx_func in gethostname
38944 do
38945 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38946 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38947 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38948 echo $ECHO_N "(cached) $ECHO_C" >&6
38949 else
38950
38951 cat >conftest.$ac_ext <<_ACEOF
38952
38953 /* confdefs.h. */
38954 _ACEOF
38955 cat confdefs.h >>conftest.$ac_ext
38956 cat >>conftest.$ac_ext <<_ACEOF
38957 /* end confdefs.h. */
38958
38959
38960 $ac_includes_default
38961
38962 int
38963 main ()
38964 {
38965
38966 #ifndef $wx_func
38967 &$wx_func;
38968 #endif
38969
38970
38971 ;
38972 return 0;
38973 }
38974
38975 _ACEOF
38976 rm -f conftest.$ac_objext conftest$ac_exeext
38977 if { (ac_try="$ac_link"
38978 case "(($ac_try" in
38979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38980 *) ac_try_echo=$ac_try;;
38981 esac
38982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38983 (eval "$ac_link") 2>conftest.er1
38984 ac_status=$?
38985 grep -v '^ *+' conftest.er1 >conftest.err
38986 rm -f conftest.er1
38987 cat conftest.err >&5
38988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38989 (exit $ac_status); } && {
38990 test -z "$ac_c_werror_flag" ||
38991 test ! -s conftest.err
38992 } && test -s conftest$ac_exeext &&
38993 $as_test_x conftest$ac_exeext; then
38994 eval wx_cv_func_$wx_func=yes
38995 else
38996 echo "$as_me: failed program was:" >&5
38997 sed 's/^/| /' conftest.$ac_ext >&5
38998
38999 eval wx_cv_func_$wx_func=no
39000 fi
39001
39002 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39003 conftest$ac_exeext conftest.$ac_ext
39004
39005 fi
39006 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39007 { echo "$as_me:$LINENO: result: $ac_res" >&5
39008 echo "${ECHO_T}$ac_res" >&6; }
39009
39010 if eval test \$wx_cv_func_$wx_func = yes
39011 then
39012 cat >>confdefs.h <<_ACEOF
39013 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39014 _ACEOF
39015
39016
39017 else
39018 :
39019
39020 fi
39021 done
39022
39023 fi
39024
39025
39026 for wx_func in strtok_r
39027 do
39028 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39029 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39030 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39031 echo $ECHO_N "(cached) $ECHO_C" >&6
39032 else
39033
39034 cat >conftest.$ac_ext <<_ACEOF
39035
39036 /* confdefs.h. */
39037 _ACEOF
39038 cat confdefs.h >>conftest.$ac_ext
39039 cat >>conftest.$ac_ext <<_ACEOF
39040 /* end confdefs.h. */
39041
39042 #define _REENTRANT
39043 $ac_includes_default
39044
39045 int
39046 main ()
39047 {
39048
39049 #ifndef $wx_func
39050 &$wx_func;
39051 #endif
39052
39053
39054 ;
39055 return 0;
39056 }
39057
39058 _ACEOF
39059 rm -f conftest.$ac_objext conftest$ac_exeext
39060 if { (ac_try="$ac_link"
39061 case "(($ac_try" in
39062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39063 *) ac_try_echo=$ac_try;;
39064 esac
39065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39066 (eval "$ac_link") 2>conftest.er1
39067 ac_status=$?
39068 grep -v '^ *+' conftest.er1 >conftest.err
39069 rm -f conftest.er1
39070 cat conftest.err >&5
39071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39072 (exit $ac_status); } && {
39073 test -z "$ac_c_werror_flag" ||
39074 test ! -s conftest.err
39075 } && test -s conftest$ac_exeext &&
39076 $as_test_x conftest$ac_exeext; then
39077 eval wx_cv_func_$wx_func=yes
39078 else
39079 echo "$as_me: failed program was:" >&5
39080 sed 's/^/| /' conftest.$ac_ext >&5
39081
39082 eval wx_cv_func_$wx_func=no
39083 fi
39084
39085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39086 conftest$ac_exeext conftest.$ac_ext
39087
39088 fi
39089 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39090 { echo "$as_me:$LINENO: result: $ac_res" >&5
39091 echo "${ECHO_T}$ac_res" >&6; }
39092
39093 if eval test \$wx_cv_func_$wx_func = yes
39094 then
39095 cat >>confdefs.h <<_ACEOF
39096 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39097 _ACEOF
39098
39099
39100 else
39101 :
39102
39103 fi
39104 done
39105
39106
39107 INET_LINK=
39108
39109 for ac_func in inet_addr
39110 do
39111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39112 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39114 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39115 echo $ECHO_N "(cached) $ECHO_C" >&6
39116 else
39117 cat >conftest.$ac_ext <<_ACEOF
39118 /* confdefs.h. */
39119 _ACEOF
39120 cat confdefs.h >>conftest.$ac_ext
39121 cat >>conftest.$ac_ext <<_ACEOF
39122 /* end confdefs.h. */
39123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39125 #define $ac_func innocuous_$ac_func
39126
39127 /* System header to define __stub macros and hopefully few prototypes,
39128 which can conflict with char $ac_func (); below.
39129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39130 <limits.h> exists even on freestanding compilers. */
39131
39132 #ifdef __STDC__
39133 # include <limits.h>
39134 #else
39135 # include <assert.h>
39136 #endif
39137
39138 #undef $ac_func
39139
39140 /* Override any GCC internal prototype to avoid an error.
39141 Use char because int might match the return type of a GCC
39142 builtin and then its argument prototype would still apply. */
39143 #ifdef __cplusplus
39144 extern "C"
39145 #endif
39146 char $ac_func ();
39147 /* The GNU C library defines this for functions which it implements
39148 to always fail with ENOSYS. Some functions are actually named
39149 something starting with __ and the normal name is an alias. */
39150 #if defined __stub_$ac_func || defined __stub___$ac_func
39151 choke me
39152 #endif
39153
39154 int
39155 main ()
39156 {
39157 return $ac_func ();
39158 ;
39159 return 0;
39160 }
39161 _ACEOF
39162 rm -f conftest.$ac_objext conftest$ac_exeext
39163 if { (ac_try="$ac_link"
39164 case "(($ac_try" in
39165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39166 *) ac_try_echo=$ac_try;;
39167 esac
39168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39169 (eval "$ac_link") 2>conftest.er1
39170 ac_status=$?
39171 grep -v '^ *+' conftest.er1 >conftest.err
39172 rm -f conftest.er1
39173 cat conftest.err >&5
39174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39175 (exit $ac_status); } && {
39176 test -z "$ac_c_werror_flag" ||
39177 test ! -s conftest.err
39178 } && test -s conftest$ac_exeext &&
39179 $as_test_x conftest$ac_exeext; then
39180 eval "$as_ac_var=yes"
39181 else
39182 echo "$as_me: failed program was:" >&5
39183 sed 's/^/| /' conftest.$ac_ext >&5
39184
39185 eval "$as_ac_var=no"
39186 fi
39187
39188 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39189 conftest$ac_exeext conftest.$ac_ext
39190 fi
39191 ac_res=`eval echo '${'$as_ac_var'}'`
39192 { echo "$as_me:$LINENO: result: $ac_res" >&5
39193 echo "${ECHO_T}$ac_res" >&6; }
39194 if test `eval echo '${'$as_ac_var'}'` = yes; then
39195 cat >>confdefs.h <<_ACEOF
39196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39197 _ACEOF
39198 cat >>confdefs.h <<\_ACEOF
39199 #define HAVE_INET_ADDR 1
39200 _ACEOF
39201
39202 else
39203
39204 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39205 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39206 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39207 echo $ECHO_N "(cached) $ECHO_C" >&6
39208 else
39209 ac_check_lib_save_LIBS=$LIBS
39210 LIBS="-lnsl $LIBS"
39211 cat >conftest.$ac_ext <<_ACEOF
39212 /* confdefs.h. */
39213 _ACEOF
39214 cat confdefs.h >>conftest.$ac_ext
39215 cat >>conftest.$ac_ext <<_ACEOF
39216 /* end confdefs.h. */
39217
39218 /* Override any GCC internal prototype to avoid an error.
39219 Use char because int might match the return type of a GCC
39220 builtin and then its argument prototype would still apply. */
39221 #ifdef __cplusplus
39222 extern "C"
39223 #endif
39224 char inet_addr ();
39225 int
39226 main ()
39227 {
39228 return inet_addr ();
39229 ;
39230 return 0;
39231 }
39232 _ACEOF
39233 rm -f conftest.$ac_objext conftest$ac_exeext
39234 if { (ac_try="$ac_link"
39235 case "(($ac_try" in
39236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39237 *) ac_try_echo=$ac_try;;
39238 esac
39239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39240 (eval "$ac_link") 2>conftest.er1
39241 ac_status=$?
39242 grep -v '^ *+' conftest.er1 >conftest.err
39243 rm -f conftest.er1
39244 cat conftest.err >&5
39245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39246 (exit $ac_status); } && {
39247 test -z "$ac_c_werror_flag" ||
39248 test ! -s conftest.err
39249 } && test -s conftest$ac_exeext &&
39250 $as_test_x conftest$ac_exeext; then
39251 ac_cv_lib_nsl_inet_addr=yes
39252 else
39253 echo "$as_me: failed program was:" >&5
39254 sed 's/^/| /' conftest.$ac_ext >&5
39255
39256 ac_cv_lib_nsl_inet_addr=no
39257 fi
39258
39259 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39260 conftest$ac_exeext conftest.$ac_ext
39261 LIBS=$ac_check_lib_save_LIBS
39262 fi
39263 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39264 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39265 if test $ac_cv_lib_nsl_inet_addr = yes; then
39266 INET_LINK="nsl"
39267 else
39268
39269 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39270 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39271 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39272 echo $ECHO_N "(cached) $ECHO_C" >&6
39273 else
39274 ac_check_lib_save_LIBS=$LIBS
39275 LIBS="-lresolv $LIBS"
39276 cat >conftest.$ac_ext <<_ACEOF
39277 /* confdefs.h. */
39278 _ACEOF
39279 cat confdefs.h >>conftest.$ac_ext
39280 cat >>conftest.$ac_ext <<_ACEOF
39281 /* end confdefs.h. */
39282
39283 /* Override any GCC internal prototype to avoid an error.
39284 Use char because int might match the return type of a GCC
39285 builtin and then its argument prototype would still apply. */
39286 #ifdef __cplusplus
39287 extern "C"
39288 #endif
39289 char inet_addr ();
39290 int
39291 main ()
39292 {
39293 return inet_addr ();
39294 ;
39295 return 0;
39296 }
39297 _ACEOF
39298 rm -f conftest.$ac_objext conftest$ac_exeext
39299 if { (ac_try="$ac_link"
39300 case "(($ac_try" in
39301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39302 *) ac_try_echo=$ac_try;;
39303 esac
39304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39305 (eval "$ac_link") 2>conftest.er1
39306 ac_status=$?
39307 grep -v '^ *+' conftest.er1 >conftest.err
39308 rm -f conftest.er1
39309 cat conftest.err >&5
39310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39311 (exit $ac_status); } && {
39312 test -z "$ac_c_werror_flag" ||
39313 test ! -s conftest.err
39314 } && test -s conftest$ac_exeext &&
39315 $as_test_x conftest$ac_exeext; then
39316 ac_cv_lib_resolv_inet_addr=yes
39317 else
39318 echo "$as_me: failed program was:" >&5
39319 sed 's/^/| /' conftest.$ac_ext >&5
39320
39321 ac_cv_lib_resolv_inet_addr=no
39322 fi
39323
39324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39325 conftest$ac_exeext conftest.$ac_ext
39326 LIBS=$ac_check_lib_save_LIBS
39327 fi
39328 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39329 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39330 if test $ac_cv_lib_resolv_inet_addr = yes; then
39331 INET_LINK="resolv"
39332 else
39333
39334 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39335 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39336 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39337 echo $ECHO_N "(cached) $ECHO_C" >&6
39338 else
39339 ac_check_lib_save_LIBS=$LIBS
39340 LIBS="-lsocket $LIBS"
39341 cat >conftest.$ac_ext <<_ACEOF
39342 /* confdefs.h. */
39343 _ACEOF
39344 cat confdefs.h >>conftest.$ac_ext
39345 cat >>conftest.$ac_ext <<_ACEOF
39346 /* end confdefs.h. */
39347
39348 /* Override any GCC internal prototype to avoid an error.
39349 Use char because int might match the return type of a GCC
39350 builtin and then its argument prototype would still apply. */
39351 #ifdef __cplusplus
39352 extern "C"
39353 #endif
39354 char inet_addr ();
39355 int
39356 main ()
39357 {
39358 return inet_addr ();
39359 ;
39360 return 0;
39361 }
39362 _ACEOF
39363 rm -f conftest.$ac_objext conftest$ac_exeext
39364 if { (ac_try="$ac_link"
39365 case "(($ac_try" in
39366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39367 *) ac_try_echo=$ac_try;;
39368 esac
39369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39370 (eval "$ac_link") 2>conftest.er1
39371 ac_status=$?
39372 grep -v '^ *+' conftest.er1 >conftest.err
39373 rm -f conftest.er1
39374 cat conftest.err >&5
39375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39376 (exit $ac_status); } && {
39377 test -z "$ac_c_werror_flag" ||
39378 test ! -s conftest.err
39379 } && test -s conftest$ac_exeext &&
39380 $as_test_x conftest$ac_exeext; then
39381 ac_cv_lib_socket_inet_addr=yes
39382 else
39383 echo "$as_me: failed program was:" >&5
39384 sed 's/^/| /' conftest.$ac_ext >&5
39385
39386 ac_cv_lib_socket_inet_addr=no
39387 fi
39388
39389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39390 conftest$ac_exeext conftest.$ac_ext
39391 LIBS=$ac_check_lib_save_LIBS
39392 fi
39393 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39394 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
39395 if test $ac_cv_lib_socket_inet_addr = yes; then
39396 INET_LINK="socket"
39397
39398 fi
39399
39400
39401
39402 fi
39403
39404
39405
39406 fi
39407
39408
39409
39410 fi
39411 done
39412
39413
39414
39415 for ac_func in inet_aton
39416 do
39417 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39418 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39420 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39421 echo $ECHO_N "(cached) $ECHO_C" >&6
39422 else
39423 cat >conftest.$ac_ext <<_ACEOF
39424 /* confdefs.h. */
39425 _ACEOF
39426 cat confdefs.h >>conftest.$ac_ext
39427 cat >>conftest.$ac_ext <<_ACEOF
39428 /* end confdefs.h. */
39429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39431 #define $ac_func innocuous_$ac_func
39432
39433 /* System header to define __stub macros and hopefully few prototypes,
39434 which can conflict with char $ac_func (); below.
39435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39436 <limits.h> exists even on freestanding compilers. */
39437
39438 #ifdef __STDC__
39439 # include <limits.h>
39440 #else
39441 # include <assert.h>
39442 #endif
39443
39444 #undef $ac_func
39445
39446 /* Override any GCC internal prototype to avoid an error.
39447 Use char because int might match the return type of a GCC
39448 builtin and then its argument prototype would still apply. */
39449 #ifdef __cplusplus
39450 extern "C"
39451 #endif
39452 char $ac_func ();
39453 /* The GNU C library defines this for functions which it implements
39454 to always fail with ENOSYS. Some functions are actually named
39455 something starting with __ and the normal name is an alias. */
39456 #if defined __stub_$ac_func || defined __stub___$ac_func
39457 choke me
39458 #endif
39459
39460 int
39461 main ()
39462 {
39463 return $ac_func ();
39464 ;
39465 return 0;
39466 }
39467 _ACEOF
39468 rm -f conftest.$ac_objext conftest$ac_exeext
39469 if { (ac_try="$ac_link"
39470 case "(($ac_try" in
39471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39472 *) ac_try_echo=$ac_try;;
39473 esac
39474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39475 (eval "$ac_link") 2>conftest.er1
39476 ac_status=$?
39477 grep -v '^ *+' conftest.er1 >conftest.err
39478 rm -f conftest.er1
39479 cat conftest.err >&5
39480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39481 (exit $ac_status); } && {
39482 test -z "$ac_c_werror_flag" ||
39483 test ! -s conftest.err
39484 } && test -s conftest$ac_exeext &&
39485 $as_test_x conftest$ac_exeext; then
39486 eval "$as_ac_var=yes"
39487 else
39488 echo "$as_me: failed program was:" >&5
39489 sed 's/^/| /' conftest.$ac_ext >&5
39490
39491 eval "$as_ac_var=no"
39492 fi
39493
39494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39495 conftest$ac_exeext conftest.$ac_ext
39496 fi
39497 ac_res=`eval echo '${'$as_ac_var'}'`
39498 { echo "$as_me:$LINENO: result: $ac_res" >&5
39499 echo "${ECHO_T}$ac_res" >&6; }
39500 if test `eval echo '${'$as_ac_var'}'` = yes; then
39501 cat >>confdefs.h <<_ACEOF
39502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39503 _ACEOF
39504 cat >>confdefs.h <<\_ACEOF
39505 #define HAVE_INET_ATON 1
39506 _ACEOF
39507
39508 else
39509
39510 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39511 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39512 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39513 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39514 echo $ECHO_N "(cached) $ECHO_C" >&6
39515 else
39516 ac_check_lib_save_LIBS=$LIBS
39517 LIBS="-l$INET_LINK $LIBS"
39518 cat >conftest.$ac_ext <<_ACEOF
39519 /* confdefs.h. */
39520 _ACEOF
39521 cat confdefs.h >>conftest.$ac_ext
39522 cat >>conftest.$ac_ext <<_ACEOF
39523 /* end confdefs.h. */
39524
39525 /* Override any GCC internal prototype to avoid an error.
39526 Use char because int might match the return type of a GCC
39527 builtin and then its argument prototype would still apply. */
39528 #ifdef __cplusplus
39529 extern "C"
39530 #endif
39531 char inet_aton ();
39532 int
39533 main ()
39534 {
39535 return inet_aton ();
39536 ;
39537 return 0;
39538 }
39539 _ACEOF
39540 rm -f conftest.$ac_objext conftest$ac_exeext
39541 if { (ac_try="$ac_link"
39542 case "(($ac_try" in
39543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39544 *) ac_try_echo=$ac_try;;
39545 esac
39546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39547 (eval "$ac_link") 2>conftest.er1
39548 ac_status=$?
39549 grep -v '^ *+' conftest.er1 >conftest.err
39550 rm -f conftest.er1
39551 cat conftest.err >&5
39552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39553 (exit $ac_status); } && {
39554 test -z "$ac_c_werror_flag" ||
39555 test ! -s conftest.err
39556 } && test -s conftest$ac_exeext &&
39557 $as_test_x conftest$ac_exeext; then
39558 eval "$as_ac_Lib=yes"
39559 else
39560 echo "$as_me: failed program was:" >&5
39561 sed 's/^/| /' conftest.$ac_ext >&5
39562
39563 eval "$as_ac_Lib=no"
39564 fi
39565
39566 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39567 conftest$ac_exeext conftest.$ac_ext
39568 LIBS=$ac_check_lib_save_LIBS
39569 fi
39570 ac_res=`eval echo '${'$as_ac_Lib'}'`
39571 { echo "$as_me:$LINENO: result: $ac_res" >&5
39572 echo "${ECHO_T}$ac_res" >&6; }
39573 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39574 cat >>confdefs.h <<\_ACEOF
39575 #define HAVE_INET_ATON 1
39576 _ACEOF
39577
39578 fi
39579
39580
39581 fi
39582 done
39583
39584
39585 if test "x$INET_LINK" != "x"; then
39586 cat >>confdefs.h <<\_ACEOF
39587 #define HAVE_INET_ADDR 1
39588 _ACEOF
39589
39590 INET_LINK=" -l$INET_LINK"
39591 fi
39592
39593
39594 for wx_func in fdopen
39595 do
39596 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39597 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39598 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39599 echo $ECHO_N "(cached) $ECHO_C" >&6
39600 else
39601
39602 cat >conftest.$ac_ext <<_ACEOF
39603
39604 /* confdefs.h. */
39605 _ACEOF
39606 cat confdefs.h >>conftest.$ac_ext
39607 cat >>conftest.$ac_ext <<_ACEOF
39608 /* end confdefs.h. */
39609
39610
39611 $ac_includes_default
39612
39613 int
39614 main ()
39615 {
39616
39617 #ifndef $wx_func
39618 &$wx_func;
39619 #endif
39620
39621
39622 ;
39623 return 0;
39624 }
39625
39626 _ACEOF
39627 rm -f conftest.$ac_objext conftest$ac_exeext
39628 if { (ac_try="$ac_link"
39629 case "(($ac_try" in
39630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39631 *) ac_try_echo=$ac_try;;
39632 esac
39633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39634 (eval "$ac_link") 2>conftest.er1
39635 ac_status=$?
39636 grep -v '^ *+' conftest.er1 >conftest.err
39637 rm -f conftest.er1
39638 cat conftest.err >&5
39639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39640 (exit $ac_status); } && {
39641 test -z "$ac_c_werror_flag" ||
39642 test ! -s conftest.err
39643 } && test -s conftest$ac_exeext &&
39644 $as_test_x conftest$ac_exeext; then
39645 eval wx_cv_func_$wx_func=yes
39646 else
39647 echo "$as_me: failed program was:" >&5
39648 sed 's/^/| /' conftest.$ac_ext >&5
39649
39650 eval wx_cv_func_$wx_func=no
39651 fi
39652
39653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39654 conftest$ac_exeext conftest.$ac_ext
39655
39656 fi
39657 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39658 { echo "$as_me:$LINENO: result: $ac_res" >&5
39659 echo "${ECHO_T}$ac_res" >&6; }
39660
39661 if eval test \$wx_cv_func_$wx_func = yes
39662 then
39663 cat >>confdefs.h <<_ACEOF
39664 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39665 _ACEOF
39666
39667
39668 else
39669 :
39670
39671 fi
39672 done
39673
39674
39675 if test "$wxUSE_TARSTREAM" = "yes"; then
39676
39677 for wx_func in sysconf
39678 do
39679 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39680 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39681 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39682 echo $ECHO_N "(cached) $ECHO_C" >&6
39683 else
39684
39685 cat >conftest.$ac_ext <<_ACEOF
39686
39687 /* confdefs.h. */
39688 _ACEOF
39689 cat confdefs.h >>conftest.$ac_ext
39690 cat >>conftest.$ac_ext <<_ACEOF
39691 /* end confdefs.h. */
39692
39693
39694 $ac_includes_default
39695
39696 int
39697 main ()
39698 {
39699
39700 #ifndef $wx_func
39701 &$wx_func;
39702 #endif
39703
39704
39705 ;
39706 return 0;
39707 }
39708
39709 _ACEOF
39710 rm -f conftest.$ac_objext conftest$ac_exeext
39711 if { (ac_try="$ac_link"
39712 case "(($ac_try" in
39713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39714 *) ac_try_echo=$ac_try;;
39715 esac
39716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39717 (eval "$ac_link") 2>conftest.er1
39718 ac_status=$?
39719 grep -v '^ *+' conftest.er1 >conftest.err
39720 rm -f conftest.er1
39721 cat conftest.err >&5
39722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39723 (exit $ac_status); } && {
39724 test -z "$ac_c_werror_flag" ||
39725 test ! -s conftest.err
39726 } && test -s conftest$ac_exeext &&
39727 $as_test_x conftest$ac_exeext; then
39728 eval wx_cv_func_$wx_func=yes
39729 else
39730 echo "$as_me: failed program was:" >&5
39731 sed 's/^/| /' conftest.$ac_ext >&5
39732
39733 eval wx_cv_func_$wx_func=no
39734 fi
39735
39736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39737 conftest$ac_exeext conftest.$ac_ext
39738
39739 fi
39740 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39741 { echo "$as_me:$LINENO: result: $ac_res" >&5
39742 echo "${ECHO_T}$ac_res" >&6; }
39743
39744 if eval test \$wx_cv_func_$wx_func = yes
39745 then
39746 cat >>confdefs.h <<_ACEOF
39747 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39748 _ACEOF
39749
39750
39751 else
39752 :
39753
39754 fi
39755 done
39756
39757
39758
39759 for wx_func in getpwuid_r
39760 do
39761 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39762 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39763 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39764 echo $ECHO_N "(cached) $ECHO_C" >&6
39765 else
39766
39767 cat >conftest.$ac_ext <<_ACEOF
39768
39769 /* confdefs.h. */
39770 _ACEOF
39771 cat confdefs.h >>conftest.$ac_ext
39772 cat >>conftest.$ac_ext <<_ACEOF
39773 /* end confdefs.h. */
39774
39775
39776 #define _REENTRANT
39777 #include <pwd.h>
39778
39779 $ac_includes_default
39780
39781 int
39782 main ()
39783 {
39784
39785 #ifndef $wx_func
39786 &$wx_func;
39787 #endif
39788
39789 struct passwd pw, *ppw;
39790 char buf[1024];
39791 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
39792
39793
39794 ;
39795 return 0;
39796 }
39797
39798 _ACEOF
39799 rm -f conftest.$ac_objext conftest$ac_exeext
39800 if { (ac_try="$ac_link"
39801 case "(($ac_try" in
39802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39803 *) ac_try_echo=$ac_try;;
39804 esac
39805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39806 (eval "$ac_link") 2>conftest.er1
39807 ac_status=$?
39808 grep -v '^ *+' conftest.er1 >conftest.err
39809 rm -f conftest.er1
39810 cat conftest.err >&5
39811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39812 (exit $ac_status); } && {
39813 test -z "$ac_c_werror_flag" ||
39814 test ! -s conftest.err
39815 } && test -s conftest$ac_exeext &&
39816 $as_test_x conftest$ac_exeext; then
39817 eval wx_cv_func_$wx_func=yes
39818 else
39819 echo "$as_me: failed program was:" >&5
39820 sed 's/^/| /' conftest.$ac_ext >&5
39821
39822 eval wx_cv_func_$wx_func=no
39823 fi
39824
39825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39826 conftest$ac_exeext conftest.$ac_ext
39827
39828 fi
39829 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39830 { echo "$as_me:$LINENO: result: $ac_res" >&5
39831 echo "${ECHO_T}$ac_res" >&6; }
39832
39833 if eval test \$wx_cv_func_$wx_func = yes
39834 then
39835 cat >>confdefs.h <<_ACEOF
39836 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39837 _ACEOF
39838
39839
39840 else
39841 :
39842
39843 fi
39844 done
39845
39846
39847
39848 for wx_func in getgrgid_r
39849 do
39850 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39851 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39852 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39853 echo $ECHO_N "(cached) $ECHO_C" >&6
39854 else
39855
39856 cat >conftest.$ac_ext <<_ACEOF
39857
39858 /* confdefs.h. */
39859 _ACEOF
39860 cat confdefs.h >>conftest.$ac_ext
39861 cat >>conftest.$ac_ext <<_ACEOF
39862 /* end confdefs.h. */
39863
39864
39865 #define _REENTRANT
39866 #include <grp.h>
39867
39868 $ac_includes_default
39869
39870 int
39871 main ()
39872 {
39873
39874 #ifndef $wx_func
39875 &$wx_func;
39876 #endif
39877
39878 struct group grp, *pgrp;
39879 char buf[1024];
39880 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
39881
39882
39883 ;
39884 return 0;
39885 }
39886
39887 _ACEOF
39888 rm -f conftest.$ac_objext conftest$ac_exeext
39889 if { (ac_try="$ac_link"
39890 case "(($ac_try" in
39891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39892 *) ac_try_echo=$ac_try;;
39893 esac
39894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39895 (eval "$ac_link") 2>conftest.er1
39896 ac_status=$?
39897 grep -v '^ *+' conftest.er1 >conftest.err
39898 rm -f conftest.er1
39899 cat conftest.err >&5
39900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39901 (exit $ac_status); } && {
39902 test -z "$ac_c_werror_flag" ||
39903 test ! -s conftest.err
39904 } && test -s conftest$ac_exeext &&
39905 $as_test_x conftest$ac_exeext; then
39906 eval wx_cv_func_$wx_func=yes
39907 else
39908 echo "$as_me: failed program was:" >&5
39909 sed 's/^/| /' conftest.$ac_ext >&5
39910
39911 eval wx_cv_func_$wx_func=no
39912 fi
39913
39914 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39915 conftest$ac_exeext conftest.$ac_ext
39916
39917 fi
39918 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39919 { echo "$as_me:$LINENO: result: $ac_res" >&5
39920 echo "${ECHO_T}$ac_res" >&6; }
39921
39922 if eval test \$wx_cv_func_$wx_func = yes
39923 then
39924 cat >>confdefs.h <<_ACEOF
39925 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39926 _ACEOF
39927
39928
39929 else
39930 :
39931
39932 fi
39933 done
39934
39935 fi
39936
39937 fi
39938
39939
39940
39941 cat >confcache <<\_ACEOF
39942 # This file is a shell script that caches the results of configure
39943 # tests run on this system so they can be shared between configure
39944 # scripts and configure runs, see configure's option --config-cache.
39945 # It is not useful on other systems. If it contains results you don't
39946 # want to keep, you may remove or edit it.
39947 #
39948 # config.status only pays attention to the cache file if you give it
39949 # the --recheck option to rerun configure.
39950 #
39951 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39952 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39953 # following values.
39954
39955 _ACEOF
39956
39957 # The following way of writing the cache mishandles newlines in values,
39958 # but we know of no workaround that is simple, portable, and efficient.
39959 # So, we kill variables containing newlines.
39960 # Ultrix sh set writes to stderr and can't be redirected directly,
39961 # and sets the high bit in the cache file unless we assign to the vars.
39962 (
39963 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
39964 eval ac_val=\$$ac_var
39965 case $ac_val in #(
39966 *${as_nl}*)
39967 case $ac_var in #(
39968 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
39969 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
39970 esac
39971 case $ac_var in #(
39972 _ | IFS | as_nl) ;; #(
39973 *) $as_unset $ac_var ;;
39974 esac ;;
39975 esac
39976 done
39977
39978 (set) 2>&1 |
39979 case $as_nl`(ac_space=' '; set) 2>&1` in #(
39980 *${as_nl}ac_space=\ *)
39981 # `set' does not quote correctly, so add quotes (double-quote
39982 # substitution turns \\\\ into \\, and sed turns \\ into \).
39983 sed -n \
39984 "s/'/'\\\\''/g;
39985 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39986 ;; #(
39987 *)
39988 # `set' quotes correctly as required by POSIX, so do not add quotes.
39989 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
39990 ;;
39991 esac |
39992 sort
39993 ) |
39994 sed '
39995 /^ac_cv_env_/b end
39996 t clear
39997 :clear
39998 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39999 t end
40000 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40001 :end' >>confcache
40002 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
40003 if test -w "$cache_file"; then
40004 test "x$cache_file" != "x/dev/null" &&
40005 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
40006 echo "$as_me: updating cache $cache_file" >&6;}
40007 cat confcache >$cache_file
40008 else
40009 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
40010 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40011 fi
40012 fi
40013 rm -f confcache
40014
40015
40016 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40017
40018
40019 THREADS_LINK=
40020 THREADS_CFLAGS=
40021
40022 if test "$wxUSE_THREADS" = "yes" ; then
40023 if test "$USE_BEOS" = 1; then
40024 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40025 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40026 wxUSE_THREADS="no"
40027 fi
40028 fi
40029
40030 if test "$wxUSE_THREADS" = "yes" ; then
40031
40032
40033 THREAD_OPTS="-pthread"
40034 if test "x$SUNCXX" = xyes; then
40035 THREAD_OPTS="-mt lthread $THREAD_OPTS"
40036 fi
40037
40038 case "${host}" in
40039 *-*-solaris2* | *-*-sunos4* )
40040 if test "x$GCC" = "xyes"; then
40041 THREAD_OPTS="-pthreads $THREAD_OPTS"
40042 fi
40043 ;;
40044 *-*-freebsd*)
40045 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
40046 ;;
40047 *-*-darwin* | *-*-cygwin* )
40048 THREAD_OPTS=""
40049 ;;
40050 *-*-aix*)
40051 THREAD_OPTS="pthreads"
40052 ;;
40053 *-hp-hpux* )
40054 if test "x$GCC" = "xyes"; then
40055 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
40056 THREAD_OPTS=""
40057 else
40058 THREAD_OPTS="-mt"
40059 fi
40060 ;;
40061
40062 *-*-irix* )
40063 if test "x$GCC" = "xyes"; then
40064 THREAD_OPTS=""
40065 fi
40066 ;;
40067
40068 *-*-qnx*)
40069 THREAD_OPTS=""
40070 ;;
40071
40072 *-*-*UnixWare*)
40073 if test "x$GCC" != "xyes"; then
40074 THREAD_OPTS="-Ethread"
40075 fi
40076 ;;
40077 esac
40078
40079 case "${host}" in
40080 *-*-qnx*)
40081 THREAD_OPTS="none pthread"
40082 ;;
40083
40084 *)
40085 THREAD_OPTS="$THREAD_OPTS pthread none"
40086 ;;
40087 esac
40088
40089 THREADS_OK=no
40090 for flag in $THREAD_OPTS; do
40091 case $flag in
40092 none)
40093 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40094 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
40095 ;;
40096
40097 -*)
40098 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40099 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40100 THREADS_CFLAGS="$flag"
40101 ;;
40102
40103 *)
40104 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40105 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40106 THREADS_LINK="-l$flag"
40107 ;;
40108 esac
40109
40110 save_LIBS="$LIBS"
40111 save_CFLAGS="$CFLAGS"
40112 LIBS="$THREADS_LINK $LIBS"
40113 CFLAGS="$THREADS_CFLAGS $CFLAGS"
40114
40115 cat >conftest.$ac_ext <<_ACEOF
40116 /* confdefs.h. */
40117 _ACEOF
40118 cat confdefs.h >>conftest.$ac_ext
40119 cat >>conftest.$ac_ext <<_ACEOF
40120 /* end confdefs.h. */
40121 #include <pthread.h>
40122 int
40123 main ()
40124 {
40125 pthread_create(0,0,0,0);
40126 ;
40127 return 0;
40128 }
40129 _ACEOF
40130 rm -f conftest.$ac_objext conftest$ac_exeext
40131 if { (ac_try="$ac_link"
40132 case "(($ac_try" in
40133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40134 *) ac_try_echo=$ac_try;;
40135 esac
40136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40137 (eval "$ac_link") 2>conftest.er1
40138 ac_status=$?
40139 grep -v '^ *+' conftest.er1 >conftest.err
40140 rm -f conftest.er1
40141 cat conftest.err >&5
40142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40143 (exit $ac_status); } && {
40144 test -z "$ac_c_werror_flag" ||
40145 test ! -s conftest.err
40146 } && test -s conftest$ac_exeext &&
40147 $as_test_x conftest$ac_exeext; then
40148 THREADS_OK=yes
40149 else
40150 echo "$as_me: failed program was:" >&5
40151 sed 's/^/| /' conftest.$ac_ext >&5
40152
40153
40154 fi
40155
40156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40157 conftest$ac_exeext conftest.$ac_ext
40158
40159 LIBS="$save_LIBS"
40160 CFLAGS="$save_CFLAGS"
40161
40162 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40163 echo "${ECHO_T}$THREADS_OK" >&6; }
40164 if test "x$THREADS_OK" = "xyes"; then
40165 break;
40166 fi
40167
40168 THREADS_LINK=""
40169 THREADS_CFLAGS=""
40170 done
40171
40172 if test "x$THREADS_OK" != "xyes"; then
40173 wxUSE_THREADS=no
40174 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40175 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40176 else
40177 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40178 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
40179 LIBS="$THREADS_LINK $LIBS"
40180
40181 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40182 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40183 flag=no
40184 case "${host}" in
40185 *-aix*)
40186 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40187 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
40188 flag="-D_THREAD_SAFE"
40189 ;;
40190 *-freebsd*)
40191 flag="-D_THREAD_SAFE"
40192 ;;
40193 *-hp-hpux* )
40194 flag="-D_REENTRANT"
40195 if test "x$GCC" != "xyes"; then
40196 flag="$flag -D_RWSTD_MULTI_THREAD"
40197 fi
40198 ;;
40199 *solaris* | alpha*-osf*)
40200 flag="-D_REENTRANT"
40201 ;;
40202 esac
40203 { echo "$as_me:$LINENO: result: ${flag}" >&5
40204 echo "${ECHO_T}${flag}" >&6; }
40205 if test "x$flag" != xno; then
40206 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40207 fi
40208
40209 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40210 fi
40211 fi
40212
40213 if test "$wxUSE_THREADS" = "yes" ; then
40214
40215 for ac_func in thr_setconcurrency
40216 do
40217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40218 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40220 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40221 echo $ECHO_N "(cached) $ECHO_C" >&6
40222 else
40223 cat >conftest.$ac_ext <<_ACEOF
40224 /* confdefs.h. */
40225 _ACEOF
40226 cat confdefs.h >>conftest.$ac_ext
40227 cat >>conftest.$ac_ext <<_ACEOF
40228 /* end confdefs.h. */
40229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40231 #define $ac_func innocuous_$ac_func
40232
40233 /* System header to define __stub macros and hopefully few prototypes,
40234 which can conflict with char $ac_func (); below.
40235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40236 <limits.h> exists even on freestanding compilers. */
40237
40238 #ifdef __STDC__
40239 # include <limits.h>
40240 #else
40241 # include <assert.h>
40242 #endif
40243
40244 #undef $ac_func
40245
40246 /* Override any GCC internal prototype to avoid an error.
40247 Use char because int might match the return type of a GCC
40248 builtin and then its argument prototype would still apply. */
40249 #ifdef __cplusplus
40250 extern "C"
40251 #endif
40252 char $ac_func ();
40253 /* The GNU C library defines this for functions which it implements
40254 to always fail with ENOSYS. Some functions are actually named
40255 something starting with __ and the normal name is an alias. */
40256 #if defined __stub_$ac_func || defined __stub___$ac_func
40257 choke me
40258 #endif
40259
40260 int
40261 main ()
40262 {
40263 return $ac_func ();
40264 ;
40265 return 0;
40266 }
40267 _ACEOF
40268 rm -f conftest.$ac_objext conftest$ac_exeext
40269 if { (ac_try="$ac_link"
40270 case "(($ac_try" in
40271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40272 *) ac_try_echo=$ac_try;;
40273 esac
40274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40275 (eval "$ac_link") 2>conftest.er1
40276 ac_status=$?
40277 grep -v '^ *+' conftest.er1 >conftest.err
40278 rm -f conftest.er1
40279 cat conftest.err >&5
40280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40281 (exit $ac_status); } && {
40282 test -z "$ac_c_werror_flag" ||
40283 test ! -s conftest.err
40284 } && test -s conftest$ac_exeext &&
40285 $as_test_x conftest$ac_exeext; then
40286 eval "$as_ac_var=yes"
40287 else
40288 echo "$as_me: failed program was:" >&5
40289 sed 's/^/| /' conftest.$ac_ext >&5
40290
40291 eval "$as_ac_var=no"
40292 fi
40293
40294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40295 conftest$ac_exeext conftest.$ac_ext
40296 fi
40297 ac_res=`eval echo '${'$as_ac_var'}'`
40298 { echo "$as_me:$LINENO: result: $ac_res" >&5
40299 echo "${ECHO_T}$ac_res" >&6; }
40300 if test `eval echo '${'$as_ac_var'}'` = yes; then
40301 cat >>confdefs.h <<_ACEOF
40302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40303 _ACEOF
40304
40305 fi
40306 done
40307
40308
40309 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40310 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40311 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40312 echo $ECHO_N "(cached) $ECHO_C" >&6
40313 else
40314
40315 ac_ext=cpp
40316 ac_cpp='$CXXCPP $CPPFLAGS'
40317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40320
40321 cat >conftest.$ac_ext <<_ACEOF
40322 /* confdefs.h. */
40323 _ACEOF
40324 cat confdefs.h >>conftest.$ac_ext
40325 cat >>conftest.$ac_ext <<_ACEOF
40326 /* end confdefs.h. */
40327 #include <pthread.h>
40328 void ThreadCleanupFunc(void *p);
40329
40330 int
40331 main ()
40332 {
40333
40334 void *p;
40335 pthread_cleanup_push(ThreadCleanupFunc, p);
40336 pthread_cleanup_pop(0);
40337
40338 ;
40339 return 0;
40340 }
40341 _ACEOF
40342 rm -f conftest.$ac_objext
40343 if { (ac_try="$ac_compile"
40344 case "(($ac_try" in
40345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40346 *) ac_try_echo=$ac_try;;
40347 esac
40348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40349 (eval "$ac_compile") 2>conftest.er1
40350 ac_status=$?
40351 grep -v '^ *+' conftest.er1 >conftest.err
40352 rm -f conftest.er1
40353 cat conftest.err >&5
40354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40355 (exit $ac_status); } && {
40356 test -z "$ac_cxx_werror_flag" ||
40357 test ! -s conftest.err
40358 } && test -s conftest.$ac_objext; then
40359
40360 wx_cv_func_pthread_cleanup=yes
40361
40362 else
40363 echo "$as_me: failed program was:" >&5
40364 sed 's/^/| /' conftest.$ac_ext >&5
40365
40366
40367 wx_cv_func_pthread_cleanup=no
40368
40369
40370 fi
40371
40372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40373 ac_ext=c
40374 ac_cpp='$CPP $CPPFLAGS'
40375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40378
40379
40380 fi
40381 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40382 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
40383 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40384 cat >>confdefs.h <<\_ACEOF
40385 #define wxHAVE_PTHREAD_CLEANUP 1
40386 _ACEOF
40387
40388 fi
40389
40390
40391 for ac_header in sched.h
40392 do
40393 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40394 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40395 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40396 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40397 echo $ECHO_N "(cached) $ECHO_C" >&6
40398 else
40399 cat >conftest.$ac_ext <<_ACEOF
40400 /* confdefs.h. */
40401 _ACEOF
40402 cat confdefs.h >>conftest.$ac_ext
40403 cat >>conftest.$ac_ext <<_ACEOF
40404 /* end confdefs.h. */
40405 $ac_includes_default
40406
40407 #include <$ac_header>
40408 _ACEOF
40409 rm -f conftest.$ac_objext
40410 if { (ac_try="$ac_compile"
40411 case "(($ac_try" in
40412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40413 *) ac_try_echo=$ac_try;;
40414 esac
40415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40416 (eval "$ac_compile") 2>conftest.er1
40417 ac_status=$?
40418 grep -v '^ *+' conftest.er1 >conftest.err
40419 rm -f conftest.er1
40420 cat conftest.err >&5
40421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40422 (exit $ac_status); } && {
40423 test -z "$ac_c_werror_flag" ||
40424 test ! -s conftest.err
40425 } && test -s conftest.$ac_objext; then
40426 eval "$as_ac_Header=yes"
40427 else
40428 echo "$as_me: failed program was:" >&5
40429 sed 's/^/| /' conftest.$ac_ext >&5
40430
40431 eval "$as_ac_Header=no"
40432 fi
40433
40434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40435 fi
40436 ac_res=`eval echo '${'$as_ac_Header'}'`
40437 { echo "$as_me:$LINENO: result: $ac_res" >&5
40438 echo "${ECHO_T}$ac_res" >&6; }
40439 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40440 cat >>confdefs.h <<_ACEOF
40441 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40442 _ACEOF
40443
40444 fi
40445
40446 done
40447
40448 if test "$ac_cv_header_sched_h" = "yes"; then
40449 { echo "$as_me:$LINENO: checking for sched_yield" >&5
40450 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
40451 if test "${ac_cv_func_sched_yield+set}" = set; then
40452 echo $ECHO_N "(cached) $ECHO_C" >&6
40453 else
40454 cat >conftest.$ac_ext <<_ACEOF
40455 /* confdefs.h. */
40456 _ACEOF
40457 cat confdefs.h >>conftest.$ac_ext
40458 cat >>conftest.$ac_ext <<_ACEOF
40459 /* end confdefs.h. */
40460 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40462 #define sched_yield innocuous_sched_yield
40463
40464 /* System header to define __stub macros and hopefully few prototypes,
40465 which can conflict with char sched_yield (); below.
40466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40467 <limits.h> exists even on freestanding compilers. */
40468
40469 #ifdef __STDC__
40470 # include <limits.h>
40471 #else
40472 # include <assert.h>
40473 #endif
40474
40475 #undef sched_yield
40476
40477 /* Override any GCC internal prototype to avoid an error.
40478 Use char because int might match the return type of a GCC
40479 builtin and then its argument prototype would still apply. */
40480 #ifdef __cplusplus
40481 extern "C"
40482 #endif
40483 char sched_yield ();
40484 /* The GNU C library defines this for functions which it implements
40485 to always fail with ENOSYS. Some functions are actually named
40486 something starting with __ and the normal name is an alias. */
40487 #if defined __stub_sched_yield || defined __stub___sched_yield
40488 choke me
40489 #endif
40490
40491 int
40492 main ()
40493 {
40494 return sched_yield ();
40495 ;
40496 return 0;
40497 }
40498 _ACEOF
40499 rm -f conftest.$ac_objext conftest$ac_exeext
40500 if { (ac_try="$ac_link"
40501 case "(($ac_try" in
40502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40503 *) ac_try_echo=$ac_try;;
40504 esac
40505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40506 (eval "$ac_link") 2>conftest.er1
40507 ac_status=$?
40508 grep -v '^ *+' conftest.er1 >conftest.err
40509 rm -f conftest.er1
40510 cat conftest.err >&5
40511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40512 (exit $ac_status); } && {
40513 test -z "$ac_c_werror_flag" ||
40514 test ! -s conftest.err
40515 } && test -s conftest$ac_exeext &&
40516 $as_test_x conftest$ac_exeext; then
40517 ac_cv_func_sched_yield=yes
40518 else
40519 echo "$as_me: failed program was:" >&5
40520 sed 's/^/| /' conftest.$ac_ext >&5
40521
40522 ac_cv_func_sched_yield=no
40523 fi
40524
40525 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40526 conftest$ac_exeext conftest.$ac_ext
40527 fi
40528 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40529 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40530 if test $ac_cv_func_sched_yield = yes; then
40531 cat >>confdefs.h <<\_ACEOF
40532 #define HAVE_SCHED_YIELD 1
40533 _ACEOF
40534
40535 else
40536
40537 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40538 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40539 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40540 echo $ECHO_N "(cached) $ECHO_C" >&6
40541 else
40542 ac_check_lib_save_LIBS=$LIBS
40543 LIBS="-lposix4 $LIBS"
40544 cat >conftest.$ac_ext <<_ACEOF
40545 /* confdefs.h. */
40546 _ACEOF
40547 cat confdefs.h >>conftest.$ac_ext
40548 cat >>conftest.$ac_ext <<_ACEOF
40549 /* end confdefs.h. */
40550
40551 /* Override any GCC internal prototype to avoid an error.
40552 Use char because int might match the return type of a GCC
40553 builtin and then its argument prototype would still apply. */
40554 #ifdef __cplusplus
40555 extern "C"
40556 #endif
40557 char sched_yield ();
40558 int
40559 main ()
40560 {
40561 return sched_yield ();
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_lib_posix4_sched_yield=yes
40585 else
40586 echo "$as_me: failed program was:" >&5
40587 sed 's/^/| /' conftest.$ac_ext >&5
40588
40589 ac_cv_lib_posix4_sched_yield=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 LIBS=$ac_check_lib_save_LIBS
40595 fi
40596 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40597 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40598 if test $ac_cv_lib_posix4_sched_yield = yes; then
40599 cat >>confdefs.h <<\_ACEOF
40600 #define HAVE_SCHED_YIELD 1
40601 _ACEOF
40602 POSIX4_LINK=" -lposix4"
40603 else
40604 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40605 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40606
40607 fi
40608
40609
40610
40611 fi
40612
40613 fi
40614
40615 HAVE_PRIOR_FUNCS=0
40616 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40617 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
40618 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40619 echo $ECHO_N "(cached) $ECHO_C" >&6
40620 else
40621 cat >conftest.$ac_ext <<_ACEOF
40622 /* confdefs.h. */
40623 _ACEOF
40624 cat confdefs.h >>conftest.$ac_ext
40625 cat >>conftest.$ac_ext <<_ACEOF
40626 /* end confdefs.h. */
40627 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40629 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40630
40631 /* System header to define __stub macros and hopefully few prototypes,
40632 which can conflict with char pthread_attr_getschedpolicy (); below.
40633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40634 <limits.h> exists even on freestanding compilers. */
40635
40636 #ifdef __STDC__
40637 # include <limits.h>
40638 #else
40639 # include <assert.h>
40640 #endif
40641
40642 #undef pthread_attr_getschedpolicy
40643
40644 /* Override any GCC internal prototype to avoid an error.
40645 Use char because int might match the return type of a GCC
40646 builtin and then its argument prototype would still apply. */
40647 #ifdef __cplusplus
40648 extern "C"
40649 #endif
40650 char pthread_attr_getschedpolicy ();
40651 /* The GNU C library defines this for functions which it implements
40652 to always fail with ENOSYS. Some functions are actually named
40653 something starting with __ and the normal name is an alias. */
40654 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
40655 choke me
40656 #endif
40657
40658 int
40659 main ()
40660 {
40661 return pthread_attr_getschedpolicy ();
40662 ;
40663 return 0;
40664 }
40665 _ACEOF
40666 rm -f conftest.$ac_objext conftest$ac_exeext
40667 if { (ac_try="$ac_link"
40668 case "(($ac_try" in
40669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40670 *) ac_try_echo=$ac_try;;
40671 esac
40672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40673 (eval "$ac_link") 2>conftest.er1
40674 ac_status=$?
40675 grep -v '^ *+' conftest.er1 >conftest.err
40676 rm -f conftest.er1
40677 cat conftest.err >&5
40678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40679 (exit $ac_status); } && {
40680 test -z "$ac_c_werror_flag" ||
40681 test ! -s conftest.err
40682 } && test -s conftest$ac_exeext &&
40683 $as_test_x conftest$ac_exeext; then
40684 ac_cv_func_pthread_attr_getschedpolicy=yes
40685 else
40686 echo "$as_me: failed program was:" >&5
40687 sed 's/^/| /' conftest.$ac_ext >&5
40688
40689 ac_cv_func_pthread_attr_getschedpolicy=no
40690 fi
40691
40692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40693 conftest$ac_exeext conftest.$ac_ext
40694 fi
40695 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40696 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
40697 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40698 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40699 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
40700 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40701 echo $ECHO_N "(cached) $ECHO_C" >&6
40702 else
40703 cat >conftest.$ac_ext <<_ACEOF
40704 /* confdefs.h. */
40705 _ACEOF
40706 cat confdefs.h >>conftest.$ac_ext
40707 cat >>conftest.$ac_ext <<_ACEOF
40708 /* end confdefs.h. */
40709 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40710 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40711 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40712
40713 /* System header to define __stub macros and hopefully few prototypes,
40714 which can conflict with char pthread_attr_setschedparam (); below.
40715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40716 <limits.h> exists even on freestanding compilers. */
40717
40718 #ifdef __STDC__
40719 # include <limits.h>
40720 #else
40721 # include <assert.h>
40722 #endif
40723
40724 #undef pthread_attr_setschedparam
40725
40726 /* Override any GCC internal prototype to avoid an error.
40727 Use char because int might match the return type of a GCC
40728 builtin and then its argument prototype would still apply. */
40729 #ifdef __cplusplus
40730 extern "C"
40731 #endif
40732 char pthread_attr_setschedparam ();
40733 /* The GNU C library defines this for functions which it implements
40734 to always fail with ENOSYS. Some functions are actually named
40735 something starting with __ and the normal name is an alias. */
40736 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
40737 choke me
40738 #endif
40739
40740 int
40741 main ()
40742 {
40743 return pthread_attr_setschedparam ();
40744 ;
40745 return 0;
40746 }
40747 _ACEOF
40748 rm -f conftest.$ac_objext conftest$ac_exeext
40749 if { (ac_try="$ac_link"
40750 case "(($ac_try" in
40751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40752 *) ac_try_echo=$ac_try;;
40753 esac
40754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40755 (eval "$ac_link") 2>conftest.er1
40756 ac_status=$?
40757 grep -v '^ *+' conftest.er1 >conftest.err
40758 rm -f conftest.er1
40759 cat conftest.err >&5
40760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40761 (exit $ac_status); } && {
40762 test -z "$ac_c_werror_flag" ||
40763 test ! -s conftest.err
40764 } && test -s conftest$ac_exeext &&
40765 $as_test_x conftest$ac_exeext; then
40766 ac_cv_func_pthread_attr_setschedparam=yes
40767 else
40768 echo "$as_me: failed program was:" >&5
40769 sed 's/^/| /' conftest.$ac_ext >&5
40770
40771 ac_cv_func_pthread_attr_setschedparam=no
40772 fi
40773
40774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40775 conftest$ac_exeext conftest.$ac_ext
40776 fi
40777 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40778 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
40779 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40780 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40781 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
40782 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40783 echo $ECHO_N "(cached) $ECHO_C" >&6
40784 else
40785 cat >conftest.$ac_ext <<_ACEOF
40786 /* confdefs.h. */
40787 _ACEOF
40788 cat confdefs.h >>conftest.$ac_ext
40789 cat >>conftest.$ac_ext <<_ACEOF
40790 /* end confdefs.h. */
40791 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40793 #define sched_get_priority_max innocuous_sched_get_priority_max
40794
40795 /* System header to define __stub macros and hopefully few prototypes,
40796 which can conflict with char sched_get_priority_max (); below.
40797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40798 <limits.h> exists even on freestanding compilers. */
40799
40800 #ifdef __STDC__
40801 # include <limits.h>
40802 #else
40803 # include <assert.h>
40804 #endif
40805
40806 #undef sched_get_priority_max
40807
40808 /* Override any GCC internal prototype to avoid an error.
40809 Use char because int might match the return type of a GCC
40810 builtin and then its argument prototype would still apply. */
40811 #ifdef __cplusplus
40812 extern "C"
40813 #endif
40814 char sched_get_priority_max ();
40815 /* The GNU C library defines this for functions which it implements
40816 to always fail with ENOSYS. Some functions are actually named
40817 something starting with __ and the normal name is an alias. */
40818 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
40819 choke me
40820 #endif
40821
40822 int
40823 main ()
40824 {
40825 return sched_get_priority_max ();
40826 ;
40827 return 0;
40828 }
40829 _ACEOF
40830 rm -f conftest.$ac_objext conftest$ac_exeext
40831 if { (ac_try="$ac_link"
40832 case "(($ac_try" in
40833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40834 *) ac_try_echo=$ac_try;;
40835 esac
40836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40837 (eval "$ac_link") 2>conftest.er1
40838 ac_status=$?
40839 grep -v '^ *+' conftest.er1 >conftest.err
40840 rm -f conftest.er1
40841 cat conftest.err >&5
40842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40843 (exit $ac_status); } && {
40844 test -z "$ac_c_werror_flag" ||
40845 test ! -s conftest.err
40846 } && test -s conftest$ac_exeext &&
40847 $as_test_x conftest$ac_exeext; then
40848 ac_cv_func_sched_get_priority_max=yes
40849 else
40850 echo "$as_me: failed program was:" >&5
40851 sed 's/^/| /' conftest.$ac_ext >&5
40852
40853 ac_cv_func_sched_get_priority_max=no
40854 fi
40855
40856 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40857 conftest$ac_exeext conftest.$ac_ext
40858 fi
40859 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40860 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
40861 if test $ac_cv_func_sched_get_priority_max = yes; then
40862 HAVE_PRIOR_FUNCS=1
40863 else
40864 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40865 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
40866 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40867 echo $ECHO_N "(cached) $ECHO_C" >&6
40868 else
40869 ac_check_lib_save_LIBS=$LIBS
40870 LIBS="-lposix4 $LIBS"
40871 cat >conftest.$ac_ext <<_ACEOF
40872 /* confdefs.h. */
40873 _ACEOF
40874 cat confdefs.h >>conftest.$ac_ext
40875 cat >>conftest.$ac_ext <<_ACEOF
40876 /* end confdefs.h. */
40877
40878 /* Override any GCC internal prototype to avoid an error.
40879 Use char because int might match the return type of a GCC
40880 builtin and then its argument prototype would still apply. */
40881 #ifdef __cplusplus
40882 extern "C"
40883 #endif
40884 char sched_get_priority_max ();
40885 int
40886 main ()
40887 {
40888 return sched_get_priority_max ();
40889 ;
40890 return 0;
40891 }
40892 _ACEOF
40893 rm -f conftest.$ac_objext conftest$ac_exeext
40894 if { (ac_try="$ac_link"
40895 case "(($ac_try" in
40896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40897 *) ac_try_echo=$ac_try;;
40898 esac
40899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40900 (eval "$ac_link") 2>conftest.er1
40901 ac_status=$?
40902 grep -v '^ *+' conftest.er1 >conftest.err
40903 rm -f conftest.er1
40904 cat conftest.err >&5
40905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40906 (exit $ac_status); } && {
40907 test -z "$ac_c_werror_flag" ||
40908 test ! -s conftest.err
40909 } && test -s conftest$ac_exeext &&
40910 $as_test_x conftest$ac_exeext; then
40911 ac_cv_lib_posix4_sched_get_priority_max=yes
40912 else
40913 echo "$as_me: failed program was:" >&5
40914 sed 's/^/| /' conftest.$ac_ext >&5
40915
40916 ac_cv_lib_posix4_sched_get_priority_max=no
40917 fi
40918
40919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40920 conftest$ac_exeext conftest.$ac_ext
40921 LIBS=$ac_check_lib_save_LIBS
40922 fi
40923 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40924 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
40925 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40926
40927 HAVE_PRIOR_FUNCS=1
40928 POSIX4_LINK=" -lposix4"
40929
40930 fi
40931
40932
40933 fi
40934
40935
40936 fi
40937
40938
40939 fi
40940
40941
40942 if test "$HAVE_PRIOR_FUNCS" = 1; then
40943 cat >>confdefs.h <<\_ACEOF
40944 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40945 _ACEOF
40946
40947 else
40948 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40949 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40950 fi
40951
40952 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40953 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
40954 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40955 echo $ECHO_N "(cached) $ECHO_C" >&6
40956 else
40957 cat >conftest.$ac_ext <<_ACEOF
40958 /* confdefs.h. */
40959 _ACEOF
40960 cat confdefs.h >>conftest.$ac_ext
40961 cat >>conftest.$ac_ext <<_ACEOF
40962 /* end confdefs.h. */
40963 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40965 #define pthread_cancel innocuous_pthread_cancel
40966
40967 /* System header to define __stub macros and hopefully few prototypes,
40968 which can conflict with char pthread_cancel (); below.
40969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40970 <limits.h> exists even on freestanding compilers. */
40971
40972 #ifdef __STDC__
40973 # include <limits.h>
40974 #else
40975 # include <assert.h>
40976 #endif
40977
40978 #undef pthread_cancel
40979
40980 /* Override any GCC internal prototype to avoid an error.
40981 Use char because int might match the return type of a GCC
40982 builtin and then its argument prototype would still apply. */
40983 #ifdef __cplusplus
40984 extern "C"
40985 #endif
40986 char pthread_cancel ();
40987 /* The GNU C library defines this for functions which it implements
40988 to always fail with ENOSYS. Some functions are actually named
40989 something starting with __ and the normal name is an alias. */
40990 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
40991 choke me
40992 #endif
40993
40994 int
40995 main ()
40996 {
40997 return pthread_cancel ();
40998 ;
40999 return 0;
41000 }
41001 _ACEOF
41002 rm -f conftest.$ac_objext conftest$ac_exeext
41003 if { (ac_try="$ac_link"
41004 case "(($ac_try" in
41005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41006 *) ac_try_echo=$ac_try;;
41007 esac
41008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41009 (eval "$ac_link") 2>conftest.er1
41010 ac_status=$?
41011 grep -v '^ *+' conftest.er1 >conftest.err
41012 rm -f conftest.er1
41013 cat conftest.err >&5
41014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41015 (exit $ac_status); } && {
41016 test -z "$ac_c_werror_flag" ||
41017 test ! -s conftest.err
41018 } && test -s conftest$ac_exeext &&
41019 $as_test_x conftest$ac_exeext; then
41020 ac_cv_func_pthread_cancel=yes
41021 else
41022 echo "$as_me: failed program was:" >&5
41023 sed 's/^/| /' conftest.$ac_ext >&5
41024
41025 ac_cv_func_pthread_cancel=no
41026 fi
41027
41028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41029 conftest$ac_exeext conftest.$ac_ext
41030 fi
41031 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41032 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
41033 if test $ac_cv_func_pthread_cancel = yes; then
41034 cat >>confdefs.h <<\_ACEOF
41035 #define HAVE_PTHREAD_CANCEL 1
41036 _ACEOF
41037
41038 else
41039 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41040 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41041 fi
41042
41043
41044 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
41045 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
41046 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
41047 echo $ECHO_N "(cached) $ECHO_C" >&6
41048 else
41049 cat >conftest.$ac_ext <<_ACEOF
41050 /* confdefs.h. */
41051 _ACEOF
41052 cat confdefs.h >>conftest.$ac_ext
41053 cat >>conftest.$ac_ext <<_ACEOF
41054 /* end confdefs.h. */
41055 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
41056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41057 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
41058
41059 /* System header to define __stub macros and hopefully few prototypes,
41060 which can conflict with char pthread_mutex_timedlock (); below.
41061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41062 <limits.h> exists even on freestanding compilers. */
41063
41064 #ifdef __STDC__
41065 # include <limits.h>
41066 #else
41067 # include <assert.h>
41068 #endif
41069
41070 #undef pthread_mutex_timedlock
41071
41072 /* Override any GCC internal prototype to avoid an error.
41073 Use char because int might match the return type of a GCC
41074 builtin and then its argument prototype would still apply. */
41075 #ifdef __cplusplus
41076 extern "C"
41077 #endif
41078 char pthread_mutex_timedlock ();
41079 /* The GNU C library defines this for functions which it implements
41080 to always fail with ENOSYS. Some functions are actually named
41081 something starting with __ and the normal name is an alias. */
41082 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
41083 choke me
41084 #endif
41085
41086 int
41087 main ()
41088 {
41089 return pthread_mutex_timedlock ();
41090 ;
41091 return 0;
41092 }
41093 _ACEOF
41094 rm -f conftest.$ac_objext conftest$ac_exeext
41095 if { (ac_try="$ac_link"
41096 case "(($ac_try" in
41097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41098 *) ac_try_echo=$ac_try;;
41099 esac
41100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41101 (eval "$ac_link") 2>conftest.er1
41102 ac_status=$?
41103 grep -v '^ *+' conftest.er1 >conftest.err
41104 rm -f conftest.er1
41105 cat conftest.err >&5
41106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41107 (exit $ac_status); } && {
41108 test -z "$ac_c_werror_flag" ||
41109 test ! -s conftest.err
41110 } && test -s conftest$ac_exeext &&
41111 $as_test_x conftest$ac_exeext; then
41112 ac_cv_func_pthread_mutex_timedlock=yes
41113 else
41114 echo "$as_me: failed program was:" >&5
41115 sed 's/^/| /' conftest.$ac_ext >&5
41116
41117 ac_cv_func_pthread_mutex_timedlock=no
41118 fi
41119
41120 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41121 conftest$ac_exeext conftest.$ac_ext
41122 fi
41123 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41124 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
41125 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41126 cat >>confdefs.h <<\_ACEOF
41127 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41128 _ACEOF
41129
41130 else
41131 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41132 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41133 fi
41134
41135
41136 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41137 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41138 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41139 echo $ECHO_N "(cached) $ECHO_C" >&6
41140 else
41141 cat >conftest.$ac_ext <<_ACEOF
41142 /* confdefs.h. */
41143 _ACEOF
41144 cat confdefs.h >>conftest.$ac_ext
41145 cat >>conftest.$ac_ext <<_ACEOF
41146 /* end confdefs.h. */
41147 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41149 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41150
41151 /* System header to define __stub macros and hopefully few prototypes,
41152 which can conflict with char pthread_attr_setstacksize (); below.
41153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41154 <limits.h> exists even on freestanding compilers. */
41155
41156 #ifdef __STDC__
41157 # include <limits.h>
41158 #else
41159 # include <assert.h>
41160 #endif
41161
41162 #undef pthread_attr_setstacksize
41163
41164 /* Override any GCC internal prototype to avoid an error.
41165 Use char because int might match the return type of a GCC
41166 builtin and then its argument prototype would still apply. */
41167 #ifdef __cplusplus
41168 extern "C"
41169 #endif
41170 char pthread_attr_setstacksize ();
41171 /* The GNU C library defines this for functions which it implements
41172 to always fail with ENOSYS. Some functions are actually named
41173 something starting with __ and the normal name is an alias. */
41174 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41175 choke me
41176 #endif
41177
41178 int
41179 main ()
41180 {
41181 return pthread_attr_setstacksize ();
41182 ;
41183 return 0;
41184 }
41185 _ACEOF
41186 rm -f conftest.$ac_objext conftest$ac_exeext
41187 if { (ac_try="$ac_link"
41188 case "(($ac_try" in
41189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41190 *) ac_try_echo=$ac_try;;
41191 esac
41192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41193 (eval "$ac_link") 2>conftest.er1
41194 ac_status=$?
41195 grep -v '^ *+' conftest.er1 >conftest.err
41196 rm -f conftest.er1
41197 cat conftest.err >&5
41198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41199 (exit $ac_status); } && {
41200 test -z "$ac_c_werror_flag" ||
41201 test ! -s conftest.err
41202 } && test -s conftest$ac_exeext &&
41203 $as_test_x conftest$ac_exeext; then
41204 ac_cv_func_pthread_attr_setstacksize=yes
41205 else
41206 echo "$as_me: failed program was:" >&5
41207 sed 's/^/| /' conftest.$ac_ext >&5
41208
41209 ac_cv_func_pthread_attr_setstacksize=no
41210 fi
41211
41212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41213 conftest$ac_exeext conftest.$ac_ext
41214 fi
41215 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41216 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41217 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41218 cat >>confdefs.h <<\_ACEOF
41219 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41220 _ACEOF
41221
41222 fi
41223
41224
41225
41226 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41227 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41228 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41229 echo $ECHO_N "(cached) $ECHO_C" >&6
41230 else
41231
41232 cat >conftest.$ac_ext <<_ACEOF
41233 /* confdefs.h. */
41234 _ACEOF
41235 cat confdefs.h >>conftest.$ac_ext
41236 cat >>conftest.$ac_ext <<_ACEOF
41237 /* end confdefs.h. */
41238 #include <pthread.h>
41239 int
41240 main ()
41241 {
41242
41243 pthread_mutexattr_t attr;
41244 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41245
41246 ;
41247 return 0;
41248 }
41249 _ACEOF
41250 rm -f conftest.$ac_objext
41251 if { (ac_try="$ac_compile"
41252 case "(($ac_try" in
41253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41254 *) ac_try_echo=$ac_try;;
41255 esac
41256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41257 (eval "$ac_compile") 2>conftest.er1
41258 ac_status=$?
41259 grep -v '^ *+' conftest.er1 >conftest.err
41260 rm -f conftest.er1
41261 cat conftest.err >&5
41262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41263 (exit $ac_status); } && {
41264 test -z "$ac_c_werror_flag" ||
41265 test ! -s conftest.err
41266 } && test -s conftest.$ac_objext; then
41267 wx_cv_type_pthread_mutexattr_t=yes
41268 else
41269 echo "$as_me: failed program was:" >&5
41270 sed 's/^/| /' conftest.$ac_ext >&5
41271
41272 wx_cv_type_pthread_mutexattr_t=no
41273
41274 fi
41275
41276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41277
41278 fi
41279 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41280 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41281
41282 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41283 cat >>confdefs.h <<\_ACEOF
41284 #define HAVE_PTHREAD_MUTEXATTR_T 1
41285 _ACEOF
41286
41287
41288 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41289 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41290 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41291 echo $ECHO_N "(cached) $ECHO_C" >&6
41292 else
41293
41294 cat >conftest.$ac_ext <<_ACEOF
41295 /* confdefs.h. */
41296 _ACEOF
41297 cat confdefs.h >>conftest.$ac_ext
41298 cat >>conftest.$ac_ext <<_ACEOF
41299 /* end confdefs.h. */
41300 #include <pthread.h>
41301 int
41302 main ()
41303 {
41304
41305 pthread_mutexattr_t attr;
41306 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41307
41308 ;
41309 return 0;
41310 }
41311 _ACEOF
41312 rm -f conftest.$ac_objext
41313 if { (ac_try="$ac_compile"
41314 case "(($ac_try" in
41315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41316 *) ac_try_echo=$ac_try;;
41317 esac
41318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41319 (eval "$ac_compile") 2>conftest.er1
41320 ac_status=$?
41321 grep -v '^ *+' conftest.er1 >conftest.err
41322 rm -f conftest.er1
41323 cat conftest.err >&5
41324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41325 (exit $ac_status); } && {
41326 test -z "$ac_c_werror_flag" ||
41327 test ! -s conftest.err
41328 } && test -s conftest.$ac_objext; then
41329 wx_cv_func_pthread_mutexattr_settype_decl=yes
41330 else
41331 echo "$as_me: failed program was:" >&5
41332 sed 's/^/| /' conftest.$ac_ext >&5
41333
41334 wx_cv_func_pthread_mutexattr_settype_decl=no
41335
41336 fi
41337
41338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41339
41340 fi
41341 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41342 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41343 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41344 cat >>confdefs.h <<\_ACEOF
41345 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41346 _ACEOF
41347
41348 fi
41349 else
41350 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41351 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41352 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41353 echo $ECHO_N "(cached) $ECHO_C" >&6
41354 else
41355
41356 cat >conftest.$ac_ext <<_ACEOF
41357 /* confdefs.h. */
41358 _ACEOF
41359 cat confdefs.h >>conftest.$ac_ext
41360 cat >>conftest.$ac_ext <<_ACEOF
41361 /* end confdefs.h. */
41362 #include <pthread.h>
41363 int
41364 main ()
41365 {
41366
41367 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41368
41369 ;
41370 return 0;
41371 }
41372 _ACEOF
41373 rm -f conftest.$ac_objext
41374 if { (ac_try="$ac_compile"
41375 case "(($ac_try" in
41376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41377 *) ac_try_echo=$ac_try;;
41378 esac
41379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41380 (eval "$ac_compile") 2>conftest.er1
41381 ac_status=$?
41382 grep -v '^ *+' conftest.er1 >conftest.err
41383 rm -f conftest.er1
41384 cat conftest.err >&5
41385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41386 (exit $ac_status); } && {
41387 test -z "$ac_c_werror_flag" ||
41388 test ! -s conftest.err
41389 } && test -s conftest.$ac_objext; then
41390
41391 wx_cv_type_pthread_rec_mutex_init=yes
41392
41393 else
41394 echo "$as_me: failed program was:" >&5
41395 sed 's/^/| /' conftest.$ac_ext >&5
41396
41397
41398 wx_cv_type_pthread_rec_mutex_init=no
41399
41400
41401 fi
41402
41403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41404
41405 fi
41406 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41407 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
41408 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41409 cat >>confdefs.h <<\_ACEOF
41410 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41411 _ACEOF
41412
41413 else
41414 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41415 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41416 fi
41417 fi
41418
41419 if test "$wxUSE_COMPILER_TLS" = "auto"; then
41420 if test "$USE_NETBSD" = 1; then
41421 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
41422 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
41423 wxUSE_COMPILER_TLS=no
41424 else
41425 wxUSE_COMPILER_TLS=yes
41426 fi
41427 fi
41428
41429 if test "$wxUSE_COMPILER_TLS" = "yes"; then
41430 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
41431 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
41432 if test "${wx_cv_cc___thread+set}" = set; then
41433 echo $ECHO_N "(cached) $ECHO_C" >&6
41434 else
41435
41436 cat >conftest.$ac_ext <<_ACEOF
41437 /* confdefs.h. */
41438 _ACEOF
41439 cat confdefs.h >>conftest.$ac_ext
41440 cat >>conftest.$ac_ext <<_ACEOF
41441 /* end confdefs.h. */
41442 #include <pthread.h>
41443 int
41444 main ()
41445 {
41446
41447 static __thread int n = 0;
41448 static __thread int *p = 0;
41449
41450 ;
41451 return 0;
41452 }
41453 _ACEOF
41454 rm -f conftest.$ac_objext
41455 if { (ac_try="$ac_compile"
41456 case "(($ac_try" in
41457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41458 *) ac_try_echo=$ac_try;;
41459 esac
41460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41461 (eval "$ac_compile") 2>conftest.er1
41462 ac_status=$?
41463 grep -v '^ *+' conftest.er1 >conftest.err
41464 rm -f conftest.er1
41465 cat conftest.err >&5
41466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41467 (exit $ac_status); } && {
41468 test -z "$ac_c_werror_flag" ||
41469 test ! -s conftest.err
41470 } && test -s conftest.$ac_objext; then
41471 wx_cv_cc___thread=yes
41472 else
41473 echo "$as_me: failed program was:" >&5
41474 sed 's/^/| /' conftest.$ac_ext >&5
41475
41476 wx_cv_cc___thread=no
41477
41478 fi
41479
41480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41481
41482
41483 fi
41484 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
41485 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
41486
41487 if test "$wx_cv_cc___thread" = "yes"; then
41488
41489 GXX_VERSION=""
41490
41491
41492
41493 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
41494 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
41495
41496 if test "x$GCC" = "xyes" ; then
41497
41498 if test -z "" ; then
41499
41500 ax_gcc_option_test="int main()
41501 {
41502 return 0;
41503 }"
41504
41505 else
41506
41507 ax_gcc_option_test=""
41508
41509 fi
41510
41511
41512 # Dump the test program to file
41513 cat <<EOF > conftest.c
41514 $ax_gcc_option_test
41515 EOF
41516
41517 # Dump back the file to the log, useful for debugging purposes
41518 { ac_try='cat conftest.c 1>&5'
41519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41520 (eval $ac_try) 2>&5
41521 ac_status=$?
41522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41523 (exit $ac_status); }; }
41524
41525 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
41526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41527 (eval $ac_try) 2>&5
41528 ac_status=$?
41529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41530 (exit $ac_status); }; } ; then
41531
41532 { echo "$as_me:$LINENO: result: yes" >&5
41533 echo "${ECHO_T}yes" >&6; }
41534
41535 ax_gcc_version_option=yes
41536
41537
41538 else
41539
41540 { echo "$as_me:$LINENO: result: no" >&5
41541 echo "${ECHO_T}no" >&6; }
41542
41543 ax_gcc_version_option=no
41544
41545
41546 fi
41547
41548
41549 else
41550
41551 { echo "$as_me:$LINENO: result: no gcc available" >&5
41552 echo "${ECHO_T}no gcc available" >&6; }
41553
41554 fi
41555
41556
41557 if test "x$GXX" = "xyes"; then
41558
41559 if test "x$ax_gxx_version_option" != "no"; then
41560
41561 { echo "$as_me:$LINENO: checking gxx version" >&5
41562 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
41563 if test "${ax_cv_gxx_version+set}" = set; then
41564 echo $ECHO_N "(cached) $ECHO_C" >&6
41565 else
41566
41567 ax_cv_gxx_version="`$CXX -dumpversion`"
41568 if test "x$ax_cv_gxx_version" = "x"; then
41569
41570 ax_cv_gxx_version=""
41571
41572 fi
41573
41574
41575 fi
41576 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
41577 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
41578 GXX_VERSION=$ax_cv_gxx_version
41579
41580 fi
41581
41582
41583 fi
41584
41585
41586
41587 if test -n "$ax_cv_gxx_version"; then
41588 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
41589 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
41590 case "$ax_cv_gxx_version" in
41591 1.* | 2.* | 3.* )
41592 { echo "$as_me:$LINENO: result: no, it's broken" >&5
41593 echo "${ECHO_T}no, it's broken" >&6; }
41594 wx_cv_cc___thread=no
41595 ;;
41596 *)
41597 { echo "$as_me:$LINENO: result: yes, it works" >&5
41598 echo "${ECHO_T}yes, it works" >&6; }
41599 ;;
41600 esac
41601 fi
41602 fi
41603
41604 if test "$wx_cv_cc___thread" = "yes"; then
41605 cat >>confdefs.h <<\_ACEOF
41606 #define HAVE___THREAD_KEYWORD 1
41607 _ACEOF
41608
41609 fi
41610 fi
41611 fi
41612
41613 else
41614 if test "$wxUSE_THREADS" = "yes" ; then
41615 case "${host}" in
41616 x86_64-*-mingw32* )
41617 ;;
41618 *-*-mingw32* )
41619 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41620 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
41621 if test "${wx_cv_cflags_mthread+set}" = set; then
41622 echo $ECHO_N "(cached) $ECHO_C" >&6
41623 else
41624
41625 CFLAGS_OLD="$CFLAGS"
41626 CFLAGS="-mthreads $CFLAGS"
41627 cat >conftest.$ac_ext <<_ACEOF
41628 /* confdefs.h. */
41629 _ACEOF
41630 cat confdefs.h >>conftest.$ac_ext
41631 cat >>conftest.$ac_ext <<_ACEOF
41632 /* end confdefs.h. */
41633
41634 int
41635 main ()
41636 {
41637
41638 ;
41639 return 0;
41640 }
41641 _ACEOF
41642 rm -f conftest.$ac_objext
41643 if { (ac_try="$ac_compile"
41644 case "(($ac_try" in
41645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41646 *) ac_try_echo=$ac_try;;
41647 esac
41648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41649 (eval "$ac_compile") 2>conftest.er1
41650 ac_status=$?
41651 grep -v '^ *+' conftest.er1 >conftest.err
41652 rm -f conftest.er1
41653 cat conftest.err >&5
41654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41655 (exit $ac_status); } && {
41656 test -z "$ac_c_werror_flag" ||
41657 test ! -s conftest.err
41658 } && test -s conftest.$ac_objext; then
41659 wx_cv_cflags_mthread=yes
41660 else
41661 echo "$as_me: failed program was:" >&5
41662 sed 's/^/| /' conftest.$ac_ext >&5
41663
41664 wx_cv_cflags_mthread=no
41665
41666 fi
41667
41668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41669
41670
41671 fi
41672 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41673 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
41674
41675 if test "$wx_cv_cflags_mthread" = "yes"; then
41676 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
41677 LDFLAGS="$LDFLAGS -mthreads"
41678 else
41679 CFLAGS="$CFLAGS_OLD"
41680 fi
41681 ;;
41682 *-pc-os2*emx )
41683 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41684 LDFLAGS="$LDFLAGS -Zmt"
41685 ;;
41686 esac
41687 fi
41688 fi
41689
41690 { echo "$as_me:$LINENO: checking for localtime_r" >&5
41691 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
41692 if test "${ac_cv_func_localtime_r+set}" = set; then
41693 echo $ECHO_N "(cached) $ECHO_C" >&6
41694 else
41695 cat >conftest.$ac_ext <<_ACEOF
41696 /* confdefs.h. */
41697 _ACEOF
41698 cat confdefs.h >>conftest.$ac_ext
41699 cat >>conftest.$ac_ext <<_ACEOF
41700 /* end confdefs.h. */
41701 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41702 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41703 #define localtime_r innocuous_localtime_r
41704
41705 /* System header to define __stub macros and hopefully few prototypes,
41706 which can conflict with char localtime_r (); below.
41707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41708 <limits.h> exists even on freestanding compilers. */
41709
41710 #ifdef __STDC__
41711 # include <limits.h>
41712 #else
41713 # include <assert.h>
41714 #endif
41715
41716 #undef localtime_r
41717
41718 /* Override any GCC internal prototype to avoid an error.
41719 Use char because int might match the return type of a GCC
41720 builtin and then its argument prototype would still apply. */
41721 #ifdef __cplusplus
41722 extern "C"
41723 #endif
41724 char localtime_r ();
41725 /* The GNU C library defines this for functions which it implements
41726 to always fail with ENOSYS. Some functions are actually named
41727 something starting with __ and the normal name is an alias. */
41728 #if defined __stub_localtime_r || defined __stub___localtime_r
41729 choke me
41730 #endif
41731
41732 int
41733 main ()
41734 {
41735 return localtime_r ();
41736 ;
41737 return 0;
41738 }
41739 _ACEOF
41740 rm -f conftest.$ac_objext conftest$ac_exeext
41741 if { (ac_try="$ac_link"
41742 case "(($ac_try" in
41743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41744 *) ac_try_echo=$ac_try;;
41745 esac
41746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41747 (eval "$ac_link") 2>conftest.er1
41748 ac_status=$?
41749 grep -v '^ *+' conftest.er1 >conftest.err
41750 rm -f conftest.er1
41751 cat conftest.err >&5
41752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41753 (exit $ac_status); } && {
41754 test -z "$ac_c_werror_flag" ||
41755 test ! -s conftest.err
41756 } && test -s conftest$ac_exeext &&
41757 $as_test_x conftest$ac_exeext; then
41758 ac_cv_func_localtime_r=yes
41759 else
41760 echo "$as_me: failed program was:" >&5
41761 sed 's/^/| /' conftest.$ac_ext >&5
41762
41763 ac_cv_func_localtime_r=no
41764 fi
41765
41766 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41767 conftest$ac_exeext conftest.$ac_ext
41768 fi
41769 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41770 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
41771 if test $ac_cv_func_localtime_r = yes; then
41772 cat >>confdefs.h <<\_ACEOF
41773 #define HAVE_LOCALTIME_R 1
41774 _ACEOF
41775
41776 fi
41777
41778 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
41779 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
41780 if test "${ac_cv_func_gmtime_r+set}" = set; then
41781 echo $ECHO_N "(cached) $ECHO_C" >&6
41782 else
41783 cat >conftest.$ac_ext <<_ACEOF
41784 /* confdefs.h. */
41785 _ACEOF
41786 cat confdefs.h >>conftest.$ac_ext
41787 cat >>conftest.$ac_ext <<_ACEOF
41788 /* end confdefs.h. */
41789 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41791 #define gmtime_r innocuous_gmtime_r
41792
41793 /* System header to define __stub macros and hopefully few prototypes,
41794 which can conflict with char gmtime_r (); below.
41795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41796 <limits.h> exists even on freestanding compilers. */
41797
41798 #ifdef __STDC__
41799 # include <limits.h>
41800 #else
41801 # include <assert.h>
41802 #endif
41803
41804 #undef gmtime_r
41805
41806 /* Override any GCC internal prototype to avoid an error.
41807 Use char because int might match the return type of a GCC
41808 builtin and then its argument prototype would still apply. */
41809 #ifdef __cplusplus
41810 extern "C"
41811 #endif
41812 char gmtime_r ();
41813 /* The GNU C library defines this for functions which it implements
41814 to always fail with ENOSYS. Some functions are actually named
41815 something starting with __ and the normal name is an alias. */
41816 #if defined __stub_gmtime_r || defined __stub___gmtime_r
41817 choke me
41818 #endif
41819
41820 int
41821 main ()
41822 {
41823 return gmtime_r ();
41824 ;
41825 return 0;
41826 }
41827 _ACEOF
41828 rm -f conftest.$ac_objext conftest$ac_exeext
41829 if { (ac_try="$ac_link"
41830 case "(($ac_try" in
41831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41832 *) ac_try_echo=$ac_try;;
41833 esac
41834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41835 (eval "$ac_link") 2>conftest.er1
41836 ac_status=$?
41837 grep -v '^ *+' conftest.er1 >conftest.err
41838 rm -f conftest.er1
41839 cat conftest.err >&5
41840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41841 (exit $ac_status); } && {
41842 test -z "$ac_c_werror_flag" ||
41843 test ! -s conftest.err
41844 } && test -s conftest$ac_exeext &&
41845 $as_test_x conftest$ac_exeext; then
41846 ac_cv_func_gmtime_r=yes
41847 else
41848 echo "$as_me: failed program was:" >&5
41849 sed 's/^/| /' conftest.$ac_ext >&5
41850
41851 ac_cv_func_gmtime_r=no
41852 fi
41853
41854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41855 conftest$ac_exeext conftest.$ac_ext
41856 fi
41857 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41858 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
41859 if test $ac_cv_func_gmtime_r = yes; then
41860 cat >>confdefs.h <<\_ACEOF
41861 #define HAVE_GMTIME_R 1
41862 _ACEOF
41863
41864 fi
41865
41866
41867
41868
41869 ac_ext=c
41870 ac_cpp='$CPP $CPPFLAGS'
41871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41874
41875 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41876 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
41877
41878 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41879 echo $ECHO_N "(cached) $ECHO_C" >&6
41880 else
41881
41882
41883 ################################################################
41884
41885 ac_cv_func_which_gethostbyname_r=unknown
41886
41887 #
41888 # ONE ARGUMENT (sanity check)
41889 #
41890
41891 # This should fail, as there is no variant of gethostbyname_r() that takes
41892 # a single argument. If it actually compiles, then we can assume that
41893 # netdb.h is not declaring the function, and the compiler is thereby
41894 # assuming an implicit prototype. In which case, we're out of luck.
41895 #
41896 cat >conftest.$ac_ext <<_ACEOF
41897 /* confdefs.h. */
41898 _ACEOF
41899 cat confdefs.h >>conftest.$ac_ext
41900 cat >>conftest.$ac_ext <<_ACEOF
41901 /* end confdefs.h. */
41902 #include <netdb.h>
41903 int
41904 main ()
41905 {
41906
41907 char *name = "www.gnu.org";
41908 (void)gethostbyname_r(name) /* ; */
41909
41910 ;
41911 return 0;
41912 }
41913 _ACEOF
41914 rm -f conftest.$ac_objext
41915 if { (ac_try="$ac_compile"
41916 case "(($ac_try" in
41917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41918 *) ac_try_echo=$ac_try;;
41919 esac
41920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41921 (eval "$ac_compile") 2>conftest.er1
41922 ac_status=$?
41923 grep -v '^ *+' conftest.er1 >conftest.err
41924 rm -f conftest.er1
41925 cat conftest.err >&5
41926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41927 (exit $ac_status); } && {
41928 test -z "$ac_c_werror_flag" ||
41929 test ! -s conftest.err
41930 } && test -s conftest.$ac_objext; then
41931 ac_cv_func_which_gethostbyname_r=no
41932 else
41933 echo "$as_me: failed program was:" >&5
41934 sed 's/^/| /' conftest.$ac_ext >&5
41935
41936
41937 fi
41938
41939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41940
41941 #
41942 # SIX ARGUMENTS
41943 # (e.g. Linux)
41944 #
41945
41946 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41947
41948 cat >conftest.$ac_ext <<_ACEOF
41949 /* confdefs.h. */
41950 _ACEOF
41951 cat confdefs.h >>conftest.$ac_ext
41952 cat >>conftest.$ac_ext <<_ACEOF
41953 /* end confdefs.h. */
41954 #include <netdb.h>
41955 int
41956 main ()
41957 {
41958
41959 char *name = "www.gnu.org";
41960 struct hostent ret, *retp;
41961 char buf[1024];
41962 int buflen = 1024;
41963 int my_h_errno;
41964 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41965
41966 ;
41967 return 0;
41968 }
41969 _ACEOF
41970 rm -f conftest.$ac_objext
41971 if { (ac_try="$ac_compile"
41972 case "(($ac_try" in
41973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41974 *) ac_try_echo=$ac_try;;
41975 esac
41976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41977 (eval "$ac_compile") 2>conftest.er1
41978 ac_status=$?
41979 grep -v '^ *+' conftest.er1 >conftest.err
41980 rm -f conftest.er1
41981 cat conftest.err >&5
41982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41983 (exit $ac_status); } && {
41984 test -z "$ac_c_werror_flag" ||
41985 test ! -s conftest.err
41986 } && test -s conftest.$ac_objext; then
41987 ac_cv_func_which_gethostbyname_r=six
41988 else
41989 echo "$as_me: failed program was:" >&5
41990 sed 's/^/| /' conftest.$ac_ext >&5
41991
41992
41993 fi
41994
41995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41996
41997 fi
41998
41999 #
42000 # FIVE ARGUMENTS
42001 # (e.g. Solaris)
42002 #
42003
42004 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42005
42006 cat >conftest.$ac_ext <<_ACEOF
42007 /* confdefs.h. */
42008 _ACEOF
42009 cat confdefs.h >>conftest.$ac_ext
42010 cat >>conftest.$ac_ext <<_ACEOF
42011 /* end confdefs.h. */
42012 #include <netdb.h>
42013 int
42014 main ()
42015 {
42016
42017 char *name = "www.gnu.org";
42018 struct hostent ret;
42019 char buf[1024];
42020 int buflen = 1024;
42021 int my_h_errno;
42022 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42023
42024 ;
42025 return 0;
42026 }
42027 _ACEOF
42028 rm -f conftest.$ac_objext
42029 if { (ac_try="$ac_compile"
42030 case "(($ac_try" in
42031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42032 *) ac_try_echo=$ac_try;;
42033 esac
42034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42035 (eval "$ac_compile") 2>conftest.er1
42036 ac_status=$?
42037 grep -v '^ *+' conftest.er1 >conftest.err
42038 rm -f conftest.er1
42039 cat conftest.err >&5
42040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42041 (exit $ac_status); } && {
42042 test -z "$ac_c_werror_flag" ||
42043 test ! -s conftest.err
42044 } && test -s conftest.$ac_objext; then
42045 ac_cv_func_which_gethostbyname_r=five
42046 else
42047 echo "$as_me: failed program was:" >&5
42048 sed 's/^/| /' conftest.$ac_ext >&5
42049
42050
42051 fi
42052
42053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42054
42055 fi
42056
42057 #
42058 # THREE ARGUMENTS
42059 # (e.g. AIX, HP-UX, Tru64)
42060 #
42061
42062 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42063
42064 cat >conftest.$ac_ext <<_ACEOF
42065 /* confdefs.h. */
42066 _ACEOF
42067 cat confdefs.h >>conftest.$ac_ext
42068 cat >>conftest.$ac_ext <<_ACEOF
42069 /* end confdefs.h. */
42070 #include <netdb.h>
42071 int
42072 main ()
42073 {
42074
42075 char *name = "www.gnu.org";
42076 struct hostent ret;
42077 struct hostent_data data;
42078 (void)gethostbyname_r(name, &ret, &data) /* ; */
42079
42080 ;
42081 return 0;
42082 }
42083 _ACEOF
42084 rm -f conftest.$ac_objext
42085 if { (ac_try="$ac_compile"
42086 case "(($ac_try" in
42087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42088 *) ac_try_echo=$ac_try;;
42089 esac
42090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42091 (eval "$ac_compile") 2>conftest.er1
42092 ac_status=$?
42093 grep -v '^ *+' conftest.er1 >conftest.err
42094 rm -f conftest.er1
42095 cat conftest.err >&5
42096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42097 (exit $ac_status); } && {
42098 test -z "$ac_c_werror_flag" ||
42099 test ! -s conftest.err
42100 } && test -s conftest.$ac_objext; then
42101 ac_cv_func_which_gethostbyname_r=three
42102 else
42103 echo "$as_me: failed program was:" >&5
42104 sed 's/^/| /' conftest.$ac_ext >&5
42105
42106
42107 fi
42108
42109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42110
42111 fi
42112
42113 ################################################################
42114
42115
42116 fi
42117
42118 case "$ac_cv_func_which_gethostbyname_r" in
42119 three)
42120 { echo "$as_me:$LINENO: result: three" >&5
42121 echo "${ECHO_T}three" >&6; }
42122 cat >>confdefs.h <<\_ACEOF
42123 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42124 _ACEOF
42125
42126 ;;
42127
42128 five)
42129 { echo "$as_me:$LINENO: result: five" >&5
42130 echo "${ECHO_T}five" >&6; }
42131 cat >>confdefs.h <<\_ACEOF
42132 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42133 _ACEOF
42134
42135 ;;
42136
42137 six)
42138 { echo "$as_me:$LINENO: result: six" >&5
42139 echo "${ECHO_T}six" >&6; }
42140 cat >>confdefs.h <<\_ACEOF
42141 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42142 _ACEOF
42143
42144 ;;
42145
42146 no)
42147 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42148 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42149 ;;
42150
42151 unknown)
42152 { echo "$as_me:$LINENO: result: can't tell" >&5
42153 echo "${ECHO_T}can't tell" >&6; }
42154 ;;
42155
42156 *)
42157 { { echo "$as_me:$LINENO: error: internal error" >&5
42158 echo "$as_me: error: internal error" >&2;}
42159 { (exit 1); exit 1; }; }
42160 ;;
42161 esac
42162
42163 ac_ext=c
42164 ac_cpp='$CPP $CPPFLAGS'
42165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42168
42169
42170
42171 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42172 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42173 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42174 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42175 if test "${ac_cv_func_gethostbyname+set}" = set; then
42176 echo $ECHO_N "(cached) $ECHO_C" >&6
42177 else
42178 cat >conftest.$ac_ext <<_ACEOF
42179 /* confdefs.h. */
42180 _ACEOF
42181 cat confdefs.h >>conftest.$ac_ext
42182 cat >>conftest.$ac_ext <<_ACEOF
42183 /* end confdefs.h. */
42184 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42185 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42186 #define gethostbyname innocuous_gethostbyname
42187
42188 /* System header to define __stub macros and hopefully few prototypes,
42189 which can conflict with char gethostbyname (); below.
42190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42191 <limits.h> exists even on freestanding compilers. */
42192
42193 #ifdef __STDC__
42194 # include <limits.h>
42195 #else
42196 # include <assert.h>
42197 #endif
42198
42199 #undef gethostbyname
42200
42201 /* Override any GCC internal prototype to avoid an error.
42202 Use char because int might match the return type of a GCC
42203 builtin and then its argument prototype would still apply. */
42204 #ifdef __cplusplus
42205 extern "C"
42206 #endif
42207 char gethostbyname ();
42208 /* The GNU C library defines this for functions which it implements
42209 to always fail with ENOSYS. Some functions are actually named
42210 something starting with __ and the normal name is an alias. */
42211 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42212 choke me
42213 #endif
42214
42215 int
42216 main ()
42217 {
42218 return gethostbyname ();
42219 ;
42220 return 0;
42221 }
42222 _ACEOF
42223 rm -f conftest.$ac_objext conftest$ac_exeext
42224 if { (ac_try="$ac_link"
42225 case "(($ac_try" in
42226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42227 *) ac_try_echo=$ac_try;;
42228 esac
42229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42230 (eval "$ac_link") 2>conftest.er1
42231 ac_status=$?
42232 grep -v '^ *+' conftest.er1 >conftest.err
42233 rm -f conftest.er1
42234 cat conftest.err >&5
42235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42236 (exit $ac_status); } && {
42237 test -z "$ac_c_werror_flag" ||
42238 test ! -s conftest.err
42239 } && test -s conftest$ac_exeext &&
42240 $as_test_x conftest$ac_exeext; then
42241 ac_cv_func_gethostbyname=yes
42242 else
42243 echo "$as_me: failed program was:" >&5
42244 sed 's/^/| /' conftest.$ac_ext >&5
42245
42246 ac_cv_func_gethostbyname=no
42247 fi
42248
42249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42250 conftest$ac_exeext conftest.$ac_ext
42251 fi
42252 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42253 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42254 if test $ac_cv_func_gethostbyname = yes; then
42255 cat >>confdefs.h <<\_ACEOF
42256 #define HAVE_GETHOSTBYNAME 1
42257 _ACEOF
42258
42259 fi
42260
42261 fi
42262
42263 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42264 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42265 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42266 echo $ECHO_N "(cached) $ECHO_C" >&6
42267 else
42268
42269 ac_ext=cpp
42270 ac_cpp='$CXXCPP $CPPFLAGS'
42271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42274
42275
42276 cat >conftest.$ac_ext <<_ACEOF
42277 /* confdefs.h. */
42278 _ACEOF
42279 cat confdefs.h >>conftest.$ac_ext
42280 cat >>conftest.$ac_ext <<_ACEOF
42281 /* end confdefs.h. */
42282 #include <netdb.h>
42283 int
42284 main ()
42285 {
42286
42287 char *name;
42288 char *proto;
42289 struct servent *se, *res;
42290 char buffer[2048];
42291 int buflen = 2048;
42292 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42293
42294 ;
42295 return 0;
42296 }
42297 _ACEOF
42298 rm -f conftest.$ac_objext
42299 if { (ac_try="$ac_compile"
42300 case "(($ac_try" in
42301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42302 *) ac_try_echo=$ac_try;;
42303 esac
42304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42305 (eval "$ac_compile") 2>conftest.er1
42306 ac_status=$?
42307 grep -v '^ *+' conftest.er1 >conftest.err
42308 rm -f conftest.er1
42309 cat conftest.err >&5
42310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42311 (exit $ac_status); } && {
42312 test -z "$ac_cxx_werror_flag" ||
42313 test ! -s conftest.err
42314 } && test -s conftest.$ac_objext; then
42315 ac_cv_func_which_getservbyname_r=six
42316 else
42317 echo "$as_me: failed program was:" >&5
42318 sed 's/^/| /' conftest.$ac_ext >&5
42319
42320
42321 cat >conftest.$ac_ext <<_ACEOF
42322 /* confdefs.h. */
42323 _ACEOF
42324 cat confdefs.h >>conftest.$ac_ext
42325 cat >>conftest.$ac_ext <<_ACEOF
42326 /* end confdefs.h. */
42327 #include <netdb.h>
42328 int
42329 main ()
42330 {
42331
42332 char *name;
42333 char *proto;
42334 struct servent *se;
42335 char buffer[2048];
42336 int buflen = 2048;
42337 (void) getservbyname_r(name, proto, se, buffer, buflen)
42338
42339 ;
42340 return 0;
42341 }
42342 _ACEOF
42343 rm -f conftest.$ac_objext
42344 if { (ac_try="$ac_compile"
42345 case "(($ac_try" in
42346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42347 *) ac_try_echo=$ac_try;;
42348 esac
42349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42350 (eval "$ac_compile") 2>conftest.er1
42351 ac_status=$?
42352 grep -v '^ *+' conftest.er1 >conftest.err
42353 rm -f conftest.er1
42354 cat conftest.err >&5
42355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42356 (exit $ac_status); } && {
42357 test -z "$ac_cxx_werror_flag" ||
42358 test ! -s conftest.err
42359 } && test -s conftest.$ac_objext; then
42360 ac_cv_func_which_getservbyname_r=five
42361 else
42362 echo "$as_me: failed program was:" >&5
42363 sed 's/^/| /' conftest.$ac_ext >&5
42364
42365
42366 cat >conftest.$ac_ext <<_ACEOF
42367 /* confdefs.h. */
42368 _ACEOF
42369 cat confdefs.h >>conftest.$ac_ext
42370 cat >>conftest.$ac_ext <<_ACEOF
42371 /* end confdefs.h. */
42372 #include <netdb.h>
42373 int
42374 main ()
42375 {
42376
42377 char *name;
42378 char *proto;
42379 struct servent *se;
42380 struct servent_data data;
42381 (void) getservbyname_r(name, proto, se, &data);
42382
42383 ;
42384 return 0;
42385 }
42386 _ACEOF
42387 rm -f conftest.$ac_objext
42388 if { (ac_try="$ac_compile"
42389 case "(($ac_try" in
42390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42391 *) ac_try_echo=$ac_try;;
42392 esac
42393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42394 (eval "$ac_compile") 2>conftest.er1
42395 ac_status=$?
42396 grep -v '^ *+' conftest.er1 >conftest.err
42397 rm -f conftest.er1
42398 cat conftest.err >&5
42399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42400 (exit $ac_status); } && {
42401 test -z "$ac_cxx_werror_flag" ||
42402 test ! -s conftest.err
42403 } && test -s conftest.$ac_objext; then
42404 ac_cv_func_which_getservbyname_r=four
42405 else
42406 echo "$as_me: failed program was:" >&5
42407 sed 's/^/| /' conftest.$ac_ext >&5
42408
42409 ac_cv_func_which_getservbyname_r=no
42410
42411 fi
42412
42413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42414
42415
42416 fi
42417
42418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42419
42420
42421 fi
42422
42423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42424 ac_ext=c
42425 ac_cpp='$CPP $CPPFLAGS'
42426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42429
42430
42431
42432 fi
42433 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42434 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
42435
42436 if test $ac_cv_func_which_getservbyname_r = six; then
42437 cat >>confdefs.h <<\_ACEOF
42438 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42439 _ACEOF
42440
42441 elif test $ac_cv_func_which_getservbyname_r = five; then
42442 cat >>confdefs.h <<\_ACEOF
42443 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42444 _ACEOF
42445
42446 elif test $ac_cv_func_which_getservbyname_r = four; then
42447 cat >>confdefs.h <<\_ACEOF
42448 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42449 _ACEOF
42450
42451 fi
42452
42453
42454 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42455 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42456
42457 for ac_func in getservbyname
42458 do
42459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42460 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42462 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42463 echo $ECHO_N "(cached) $ECHO_C" >&6
42464 else
42465 cat >conftest.$ac_ext <<_ACEOF
42466 /* confdefs.h. */
42467 _ACEOF
42468 cat confdefs.h >>conftest.$ac_ext
42469 cat >>conftest.$ac_ext <<_ACEOF
42470 /* end confdefs.h. */
42471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42473 #define $ac_func innocuous_$ac_func
42474
42475 /* System header to define __stub macros and hopefully few prototypes,
42476 which can conflict with char $ac_func (); below.
42477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42478 <limits.h> exists even on freestanding compilers. */
42479
42480 #ifdef __STDC__
42481 # include <limits.h>
42482 #else
42483 # include <assert.h>
42484 #endif
42485
42486 #undef $ac_func
42487
42488 /* Override any GCC internal prototype to avoid an error.
42489 Use char because int might match the return type of a GCC
42490 builtin and then its argument prototype would still apply. */
42491 #ifdef __cplusplus
42492 extern "C"
42493 #endif
42494 char $ac_func ();
42495 /* The GNU C library defines this for functions which it implements
42496 to always fail with ENOSYS. Some functions are actually named
42497 something starting with __ and the normal name is an alias. */
42498 #if defined __stub_$ac_func || defined __stub___$ac_func
42499 choke me
42500 #endif
42501
42502 int
42503 main ()
42504 {
42505 return $ac_func ();
42506 ;
42507 return 0;
42508 }
42509 _ACEOF
42510 rm -f conftest.$ac_objext conftest$ac_exeext
42511 if { (ac_try="$ac_link"
42512 case "(($ac_try" in
42513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42514 *) ac_try_echo=$ac_try;;
42515 esac
42516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42517 (eval "$ac_link") 2>conftest.er1
42518 ac_status=$?
42519 grep -v '^ *+' conftest.er1 >conftest.err
42520 rm -f conftest.er1
42521 cat conftest.err >&5
42522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42523 (exit $ac_status); } && {
42524 test -z "$ac_c_werror_flag" ||
42525 test ! -s conftest.err
42526 } && test -s conftest$ac_exeext &&
42527 $as_test_x conftest$ac_exeext; then
42528 eval "$as_ac_var=yes"
42529 else
42530 echo "$as_me: failed program was:" >&5
42531 sed 's/^/| /' conftest.$ac_ext >&5
42532
42533 eval "$as_ac_var=no"
42534 fi
42535
42536 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42537 conftest$ac_exeext conftest.$ac_ext
42538 fi
42539 ac_res=`eval echo '${'$as_ac_var'}'`
42540 { echo "$as_me:$LINENO: result: $ac_res" >&5
42541 echo "${ECHO_T}$ac_res" >&6; }
42542 if test `eval echo '${'$as_ac_var'}'` = yes; then
42543 cat >>confdefs.h <<_ACEOF
42544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42545 _ACEOF
42546 cat >>confdefs.h <<\_ACEOF
42547 #define HAVE_GETSERVBYNAME 1
42548 _ACEOF
42549
42550 fi
42551 done
42552
42553 fi
42554
42555 if test "$wxUSE_THREADS" = "yes"; then
42556 cat >>confdefs.h <<\_ACEOF
42557 #define wxUSE_THREADS 1
42558 _ACEOF
42559
42560
42561 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42562 else
42563 if test "$wx_cv_func_strtok_r" = "yes"; then
42564 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42565 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42566 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42567 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42568 { echo "$as_me:$LINENO: result: yes" >&5
42569 echo "${ECHO_T}yes" >&6; }
42570 else
42571 { echo "$as_me:$LINENO: result: no" >&5
42572 echo "${ECHO_T}no" >&6; }
42573 fi
42574 fi
42575 fi
42576
42577 if test "$WXGTK2" = 1 ; then
42578 cat >>confdefs.h <<_ACEOF
42579 #define __WXGTK20__ $WXGTK2
42580 _ACEOF
42581
42582 WXGTK12=1
42583 fi
42584
42585 if test "$WXGTK12" = 1 ; then
42586 cat >>confdefs.h <<_ACEOF
42587 #define __WXGTK12__ $WXGTK12
42588 _ACEOF
42589
42590 fi
42591
42592 if test "$WXGTK127" = 1 ; then
42593 cat >>confdefs.h <<_ACEOF
42594 #define __WXGTK127__ $WXGTK127
42595 _ACEOF
42596
42597 fi
42598
42599 if test "$WXGPE" = 1 ; then
42600 cat >>confdefs.h <<_ACEOF
42601 #define __WXGPE__ $WXGPE
42602 _ACEOF
42603
42604 fi
42605
42606 DEBUG_CFLAGS=
42607 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
42608 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
42609 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
42610 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
42611 DEBUG_CFLAGS="-g"
42612 fi
42613
42614 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42615 wxUSE_DEBUG_INFO=yes
42616 if test "$GCC" = yes; then
42617 DEBUG_CFLAGS="-ggdb"
42618 fi
42619 fi
42620
42621 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
42622 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
42623
42624 if test "$wxUSE_GTK" = 1 ; then
42625 if test "x$wxGTK_VERSION" = "x1" ; then
42626 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42627 fi
42628 fi
42629 fi
42630
42631 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42632 cat >>confdefs.h <<\_ACEOF
42633 #define wxUSE_MEMORY_TRACING 1
42634 _ACEOF
42635
42636 cat >>confdefs.h <<\_ACEOF
42637 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42638 _ACEOF
42639
42640 cat >>confdefs.h <<\_ACEOF
42641 #define wxUSE_DEBUG_NEW_ALWAYS 1
42642 _ACEOF
42643
42644 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42645 fi
42646
42647 if test "$wxUSE_DMALLOC" = "yes" ; then
42648 DMALLOC_LIBS="-ldmallocthcxx"
42649 fi
42650
42651 PROFILE_FLAGS=
42652 if test "$wxUSE_PROFILE" = "yes" ; then
42653 PROFILE_FLAGS=" -pg"
42654 fi
42655
42656 if test "$GCC" = "yes" ; then
42657 if test "$wxUSE_NO_RTTI" = "yes" ; then
42658 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
42659 fi
42660 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42661 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42662 fi
42663 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42664 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42665 fi
42666
42667 case "${host}" in
42668 powerpc*-*-aix* )
42669 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42670 ;;
42671 *-hppa* )
42672 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42673 ;;
42674 esac
42675 fi
42676
42677 OPTIMISE_CFLAGS=
42678 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
42679 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
42680 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
42681 else
42682 if test "$wxUSE_OPTIMISE" = "no" ; then
42683 if test "$GCC" = yes ; then
42684 OPTIMISE_CFLAGS="-O0"
42685 fi
42686 else
42687 if test "$GCC" = yes ; then
42688 case "${host}" in
42689 *-pc-os2_emx | *-pc-os2-emx )
42690 OPTIMISE_CFLAGS="-O2"
42691 ;;
42692 *)
42693 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42694 ;;
42695 esac
42696 else
42697 OPTIMISE_CFLAGS="-O"
42698 fi
42699 fi
42700 fi
42701
42702
42703 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
42704 cat >>confdefs.h <<\_ACEOF
42705 #define WXWIN_COMPATIBILITY_2_6 1
42706 _ACEOF
42707
42708
42709 WXWIN_COMPATIBILITY_2_8="yes"
42710 fi
42711
42712 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
42713 cat >>confdefs.h <<\_ACEOF
42714 #define WXWIN_COMPATIBILITY_2_8 1
42715 _ACEOF
42716
42717 fi
42718
42719
42720 if test "$wxUSE_GUI" = "yes"; then
42721 cat >>confdefs.h <<\_ACEOF
42722 #define wxUSE_GUI 1
42723 _ACEOF
42724
42725
42726 fi
42727
42728
42729 if test "$wxUSE_UNIX" = "yes"; then
42730 cat >>confdefs.h <<\_ACEOF
42731 #define wxUSE_UNIX 1
42732 _ACEOF
42733
42734 fi
42735
42736
42737 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42738
42739 HAVE_DL_FUNCS=0
42740 HAVE_SHL_FUNCS=0
42741 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42742 if test "$USE_DOS" = 1; then
42743 HAVE_DL_FUNCS=0
42744 else
42745
42746 for ac_func in dlopen
42747 do
42748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42749 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42751 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42752 echo $ECHO_N "(cached) $ECHO_C" >&6
42753 else
42754 cat >conftest.$ac_ext <<_ACEOF
42755 /* confdefs.h. */
42756 _ACEOF
42757 cat confdefs.h >>conftest.$ac_ext
42758 cat >>conftest.$ac_ext <<_ACEOF
42759 /* end confdefs.h. */
42760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42762 #define $ac_func innocuous_$ac_func
42763
42764 /* System header to define __stub macros and hopefully few prototypes,
42765 which can conflict with char $ac_func (); below.
42766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42767 <limits.h> exists even on freestanding compilers. */
42768
42769 #ifdef __STDC__
42770 # include <limits.h>
42771 #else
42772 # include <assert.h>
42773 #endif
42774
42775 #undef $ac_func
42776
42777 /* Override any GCC internal prototype to avoid an error.
42778 Use char because int might match the return type of a GCC
42779 builtin and then its argument prototype would still apply. */
42780 #ifdef __cplusplus
42781 extern "C"
42782 #endif
42783 char $ac_func ();
42784 /* The GNU C library defines this for functions which it implements
42785 to always fail with ENOSYS. Some functions are actually named
42786 something starting with __ and the normal name is an alias. */
42787 #if defined __stub_$ac_func || defined __stub___$ac_func
42788 choke me
42789 #endif
42790
42791 int
42792 main ()
42793 {
42794 return $ac_func ();
42795 ;
42796 return 0;
42797 }
42798 _ACEOF
42799 rm -f conftest.$ac_objext conftest$ac_exeext
42800 if { (ac_try="$ac_link"
42801 case "(($ac_try" in
42802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42803 *) ac_try_echo=$ac_try;;
42804 esac
42805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42806 (eval "$ac_link") 2>conftest.er1
42807 ac_status=$?
42808 grep -v '^ *+' conftest.er1 >conftest.err
42809 rm -f conftest.er1
42810 cat conftest.err >&5
42811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42812 (exit $ac_status); } && {
42813 test -z "$ac_c_werror_flag" ||
42814 test ! -s conftest.err
42815 } && test -s conftest$ac_exeext &&
42816 $as_test_x conftest$ac_exeext; then
42817 eval "$as_ac_var=yes"
42818 else
42819 echo "$as_me: failed program was:" >&5
42820 sed 's/^/| /' conftest.$ac_ext >&5
42821
42822 eval "$as_ac_var=no"
42823 fi
42824
42825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42826 conftest$ac_exeext conftest.$ac_ext
42827 fi
42828 ac_res=`eval echo '${'$as_ac_var'}'`
42829 { echo "$as_me:$LINENO: result: $ac_res" >&5
42830 echo "${ECHO_T}$ac_res" >&6; }
42831 if test `eval echo '${'$as_ac_var'}'` = yes; then
42832 cat >>confdefs.h <<_ACEOF
42833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42834 _ACEOF
42835
42836 cat >>confdefs.h <<\_ACEOF
42837 #define HAVE_DLOPEN 1
42838 _ACEOF
42839
42840 HAVE_DL_FUNCS=1
42841
42842 else
42843
42844 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42845 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
42846 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42847 echo $ECHO_N "(cached) $ECHO_C" >&6
42848 else
42849 ac_check_lib_save_LIBS=$LIBS
42850 LIBS="-ldl $LIBS"
42851 cat >conftest.$ac_ext <<_ACEOF
42852 /* confdefs.h. */
42853 _ACEOF
42854 cat confdefs.h >>conftest.$ac_ext
42855 cat >>conftest.$ac_ext <<_ACEOF
42856 /* end confdefs.h. */
42857
42858 /* Override any GCC internal prototype to avoid an error.
42859 Use char because int might match the return type of a GCC
42860 builtin and then its argument prototype would still apply. */
42861 #ifdef __cplusplus
42862 extern "C"
42863 #endif
42864 char dlopen ();
42865 int
42866 main ()
42867 {
42868 return dlopen ();
42869 ;
42870 return 0;
42871 }
42872 _ACEOF
42873 rm -f conftest.$ac_objext conftest$ac_exeext
42874 if { (ac_try="$ac_link"
42875 case "(($ac_try" in
42876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42877 *) ac_try_echo=$ac_try;;
42878 esac
42879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42880 (eval "$ac_link") 2>conftest.er1
42881 ac_status=$?
42882 grep -v '^ *+' conftest.er1 >conftest.err
42883 rm -f conftest.er1
42884 cat conftest.err >&5
42885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42886 (exit $ac_status); } && {
42887 test -z "$ac_c_werror_flag" ||
42888 test ! -s conftest.err
42889 } && test -s conftest$ac_exeext &&
42890 $as_test_x conftest$ac_exeext; then
42891 ac_cv_lib_dl_dlopen=yes
42892 else
42893 echo "$as_me: failed program was:" >&5
42894 sed 's/^/| /' conftest.$ac_ext >&5
42895
42896 ac_cv_lib_dl_dlopen=no
42897 fi
42898
42899 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42900 conftest$ac_exeext conftest.$ac_ext
42901 LIBS=$ac_check_lib_save_LIBS
42902 fi
42903 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42904 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
42905 if test $ac_cv_lib_dl_dlopen = yes; then
42906
42907 cat >>confdefs.h <<\_ACEOF
42908 #define HAVE_DLOPEN 1
42909 _ACEOF
42910
42911 HAVE_DL_FUNCS=1
42912 DL_LINK=" -ldl$DL_LINK"
42913
42914 else
42915
42916
42917 for ac_func in shl_load
42918 do
42919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42920 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42922 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42923 echo $ECHO_N "(cached) $ECHO_C" >&6
42924 else
42925 cat >conftest.$ac_ext <<_ACEOF
42926 /* confdefs.h. */
42927 _ACEOF
42928 cat confdefs.h >>conftest.$ac_ext
42929 cat >>conftest.$ac_ext <<_ACEOF
42930 /* end confdefs.h. */
42931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42933 #define $ac_func innocuous_$ac_func
42934
42935 /* System header to define __stub macros and hopefully few prototypes,
42936 which can conflict with char $ac_func (); below.
42937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42938 <limits.h> exists even on freestanding compilers. */
42939
42940 #ifdef __STDC__
42941 # include <limits.h>
42942 #else
42943 # include <assert.h>
42944 #endif
42945
42946 #undef $ac_func
42947
42948 /* Override any GCC internal prototype to avoid an error.
42949 Use char because int might match the return type of a GCC
42950 builtin and then its argument prototype would still apply. */
42951 #ifdef __cplusplus
42952 extern "C"
42953 #endif
42954 char $ac_func ();
42955 /* The GNU C library defines this for functions which it implements
42956 to always fail with ENOSYS. Some functions are actually named
42957 something starting with __ and the normal name is an alias. */
42958 #if defined __stub_$ac_func || defined __stub___$ac_func
42959 choke me
42960 #endif
42961
42962 int
42963 main ()
42964 {
42965 return $ac_func ();
42966 ;
42967 return 0;
42968 }
42969 _ACEOF
42970 rm -f conftest.$ac_objext conftest$ac_exeext
42971 if { (ac_try="$ac_link"
42972 case "(($ac_try" in
42973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42974 *) ac_try_echo=$ac_try;;
42975 esac
42976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42977 (eval "$ac_link") 2>conftest.er1
42978 ac_status=$?
42979 grep -v '^ *+' conftest.er1 >conftest.err
42980 rm -f conftest.er1
42981 cat conftest.err >&5
42982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42983 (exit $ac_status); } && {
42984 test -z "$ac_c_werror_flag" ||
42985 test ! -s conftest.err
42986 } && test -s conftest$ac_exeext &&
42987 $as_test_x conftest$ac_exeext; then
42988 eval "$as_ac_var=yes"
42989 else
42990 echo "$as_me: failed program was:" >&5
42991 sed 's/^/| /' conftest.$ac_ext >&5
42992
42993 eval "$as_ac_var=no"
42994 fi
42995
42996 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42997 conftest$ac_exeext conftest.$ac_ext
42998 fi
42999 ac_res=`eval echo '${'$as_ac_var'}'`
43000 { echo "$as_me:$LINENO: result: $ac_res" >&5
43001 echo "${ECHO_T}$ac_res" >&6; }
43002 if test `eval echo '${'$as_ac_var'}'` = yes; then
43003 cat >>confdefs.h <<_ACEOF
43004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43005 _ACEOF
43006
43007 cat >>confdefs.h <<\_ACEOF
43008 #define HAVE_SHL_LOAD 1
43009 _ACEOF
43010
43011 HAVE_SHL_FUNCS=1
43012
43013 else
43014
43015 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43016 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43017 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43018 echo $ECHO_N "(cached) $ECHO_C" >&6
43019 else
43020 ac_check_lib_save_LIBS=$LIBS
43021 LIBS="-lshl_load $LIBS"
43022 cat >conftest.$ac_ext <<_ACEOF
43023 /* confdefs.h. */
43024 _ACEOF
43025 cat confdefs.h >>conftest.$ac_ext
43026 cat >>conftest.$ac_ext <<_ACEOF
43027 /* end confdefs.h. */
43028
43029 /* Override any GCC internal prototype to avoid an error.
43030 Use char because int might match the return type of a GCC
43031 builtin and then its argument prototype would still apply. */
43032 #ifdef __cplusplus
43033 extern "C"
43034 #endif
43035 char dld ();
43036 int
43037 main ()
43038 {
43039 return dld ();
43040 ;
43041 return 0;
43042 }
43043 _ACEOF
43044 rm -f conftest.$ac_objext conftest$ac_exeext
43045 if { (ac_try="$ac_link"
43046 case "(($ac_try" in
43047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43048 *) ac_try_echo=$ac_try;;
43049 esac
43050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43051 (eval "$ac_link") 2>conftest.er1
43052 ac_status=$?
43053 grep -v '^ *+' conftest.er1 >conftest.err
43054 rm -f conftest.er1
43055 cat conftest.err >&5
43056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43057 (exit $ac_status); } && {
43058 test -z "$ac_c_werror_flag" ||
43059 test ! -s conftest.err
43060 } && test -s conftest$ac_exeext &&
43061 $as_test_x conftest$ac_exeext; then
43062 ac_cv_lib_shl_load_dld=yes
43063 else
43064 echo "$as_me: failed program was:" >&5
43065 sed 's/^/| /' conftest.$ac_ext >&5
43066
43067 ac_cv_lib_shl_load_dld=no
43068 fi
43069
43070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43071 conftest$ac_exeext conftest.$ac_ext
43072 LIBS=$ac_check_lib_save_LIBS
43073 fi
43074 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43075 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43076 if test $ac_cv_lib_shl_load_dld = yes; then
43077
43078 HAVE_SHL_FUNCS=1
43079 DL_LINK=" -ldld$DL_LINK"
43080
43081 fi
43082
43083
43084 fi
43085 done
43086
43087
43088 fi
43089
43090
43091 fi
43092 done
43093
43094
43095 if test "$HAVE_DL_FUNCS" = 1; then
43096
43097 for ac_func in dlerror
43098 do
43099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43100 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43102 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43103 echo $ECHO_N "(cached) $ECHO_C" >&6
43104 else
43105 cat >conftest.$ac_ext <<_ACEOF
43106 /* confdefs.h. */
43107 _ACEOF
43108 cat confdefs.h >>conftest.$ac_ext
43109 cat >>conftest.$ac_ext <<_ACEOF
43110 /* end confdefs.h. */
43111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43113 #define $ac_func innocuous_$ac_func
43114
43115 /* System header to define __stub macros and hopefully few prototypes,
43116 which can conflict with char $ac_func (); below.
43117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43118 <limits.h> exists even on freestanding compilers. */
43119
43120 #ifdef __STDC__
43121 # include <limits.h>
43122 #else
43123 # include <assert.h>
43124 #endif
43125
43126 #undef $ac_func
43127
43128 /* Override any GCC internal prototype to avoid an error.
43129 Use char because int might match the return type of a GCC
43130 builtin and then its argument prototype would still apply. */
43131 #ifdef __cplusplus
43132 extern "C"
43133 #endif
43134 char $ac_func ();
43135 /* The GNU C library defines this for functions which it implements
43136 to always fail with ENOSYS. Some functions are actually named
43137 something starting with __ and the normal name is an alias. */
43138 #if defined __stub_$ac_func || defined __stub___$ac_func
43139 choke me
43140 #endif
43141
43142 int
43143 main ()
43144 {
43145 return $ac_func ();
43146 ;
43147 return 0;
43148 }
43149 _ACEOF
43150 rm -f conftest.$ac_objext conftest$ac_exeext
43151 if { (ac_try="$ac_link"
43152 case "(($ac_try" in
43153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43154 *) ac_try_echo=$ac_try;;
43155 esac
43156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43157 (eval "$ac_link") 2>conftest.er1
43158 ac_status=$?
43159 grep -v '^ *+' conftest.er1 >conftest.err
43160 rm -f conftest.er1
43161 cat conftest.err >&5
43162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43163 (exit $ac_status); } && {
43164 test -z "$ac_c_werror_flag" ||
43165 test ! -s conftest.err
43166 } && test -s conftest$ac_exeext &&
43167 $as_test_x conftest$ac_exeext; then
43168 eval "$as_ac_var=yes"
43169 else
43170 echo "$as_me: failed program was:" >&5
43171 sed 's/^/| /' conftest.$ac_ext >&5
43172
43173 eval "$as_ac_var=no"
43174 fi
43175
43176 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43177 conftest$ac_exeext conftest.$ac_ext
43178 fi
43179 ac_res=`eval echo '${'$as_ac_var'}'`
43180 { echo "$as_me:$LINENO: result: $ac_res" >&5
43181 echo "${ECHO_T}$ac_res" >&6; }
43182 if test `eval echo '${'$as_ac_var'}'` = yes; then
43183 cat >>confdefs.h <<_ACEOF
43184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43185 _ACEOF
43186 cat >>confdefs.h <<\_ACEOF
43187 #define HAVE_DLERROR 1
43188 _ACEOF
43189
43190 else
43191
43192 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43193 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43194 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43195 echo $ECHO_N "(cached) $ECHO_C" >&6
43196 else
43197 ac_check_lib_save_LIBS=$LIBS
43198 LIBS="-ldl $LIBS"
43199 cat >conftest.$ac_ext <<_ACEOF
43200 /* confdefs.h. */
43201 _ACEOF
43202 cat confdefs.h >>conftest.$ac_ext
43203 cat >>conftest.$ac_ext <<_ACEOF
43204 /* end confdefs.h. */
43205
43206 /* Override any GCC internal prototype to avoid an error.
43207 Use char because int might match the return type of a GCC
43208 builtin and then its argument prototype would still apply. */
43209 #ifdef __cplusplus
43210 extern "C"
43211 #endif
43212 char dlerror ();
43213 int
43214 main ()
43215 {
43216 return dlerror ();
43217 ;
43218 return 0;
43219 }
43220 _ACEOF
43221 rm -f conftest.$ac_objext conftest$ac_exeext
43222 if { (ac_try="$ac_link"
43223 case "(($ac_try" in
43224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43225 *) ac_try_echo=$ac_try;;
43226 esac
43227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43228 (eval "$ac_link") 2>conftest.er1
43229 ac_status=$?
43230 grep -v '^ *+' conftest.er1 >conftest.err
43231 rm -f conftest.er1
43232 cat conftest.err >&5
43233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43234 (exit $ac_status); } && {
43235 test -z "$ac_c_werror_flag" ||
43236 test ! -s conftest.err
43237 } && test -s conftest$ac_exeext &&
43238 $as_test_x conftest$ac_exeext; then
43239 ac_cv_lib_dl_dlerror=yes
43240 else
43241 echo "$as_me: failed program was:" >&5
43242 sed 's/^/| /' conftest.$ac_ext >&5
43243
43244 ac_cv_lib_dl_dlerror=no
43245 fi
43246
43247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43248 conftest$ac_exeext conftest.$ac_ext
43249 LIBS=$ac_check_lib_save_LIBS
43250 fi
43251 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43252 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43253 if test $ac_cv_lib_dl_dlerror = yes; then
43254 cat >>confdefs.h <<\_ACEOF
43255 #define HAVE_DLERROR 1
43256 _ACEOF
43257
43258 fi
43259
43260
43261
43262 fi
43263 done
43264
43265 fi
43266 fi
43267
43268 if test "$USE_DARWIN" = 1; then
43269 HAVE_DL_FUNCS=1
43270 fi
43271
43272 if test "$HAVE_DL_FUNCS" = 0; then
43273 if test "$HAVE_SHL_FUNCS" = 0; then
43274 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43275 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43276 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43277 wxUSE_DYNAMIC_LOADER=no
43278 wxUSE_DYNLIB_CLASS=no
43279 else
43280 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43281 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43282 fi
43283 fi
43284 fi
43285 fi
43286 fi
43287
43288 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43289 cat >>confdefs.h <<\_ACEOF
43290 #define wxUSE_DYNAMIC_LOADER 1
43291 _ACEOF
43292
43293 fi
43294 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43295 cat >>confdefs.h <<\_ACEOF
43296 #define wxUSE_DYNLIB_CLASS 1
43297 _ACEOF
43298
43299 fi
43300
43301
43302
43303 if test "$wxUSE_PLUGINS" = "yes" ; then
43304 if test "$wxUSE_SHARED" = "no" ; then
43305 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43306 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43307 wxUSE_PLUGINS=no
43308 fi
43309 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43310 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43311 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43312 wxUSE_PLUGINS=no
43313 fi
43314 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43315 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43316 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43317 wxUSE_PLUGINS=no
43318 fi
43319 if test "$wxUSE_PLUGINS" = "yes" ; then
43320 cat >>confdefs.h <<\_ACEOF
43321 #define wxUSE_PLUGINS 1
43322 _ACEOF
43323
43324 fi
43325 fi
43326
43327
43328 if test "$wxUSE_FSWATCHER" = "yes"; then
43329 if test "$wxUSE_MSW" != "1"; then
43330 if test "$wxUSE_UNIX" = "yes"; then
43331
43332 for ac_header in sys/inotify.h
43333 do
43334 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43335 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43337 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43338 echo $ECHO_N "(cached) $ECHO_C" >&6
43339 else
43340 cat >conftest.$ac_ext <<_ACEOF
43341 /* confdefs.h. */
43342 _ACEOF
43343 cat confdefs.h >>conftest.$ac_ext
43344 cat >>conftest.$ac_ext <<_ACEOF
43345 /* end confdefs.h. */
43346 $ac_includes_default
43347
43348 #include <$ac_header>
43349 _ACEOF
43350 rm -f conftest.$ac_objext
43351 if { (ac_try="$ac_compile"
43352 case "(($ac_try" in
43353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43354 *) ac_try_echo=$ac_try;;
43355 esac
43356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43357 (eval "$ac_compile") 2>conftest.er1
43358 ac_status=$?
43359 grep -v '^ *+' conftest.er1 >conftest.err
43360 rm -f conftest.er1
43361 cat conftest.err >&5
43362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43363 (exit $ac_status); } && {
43364 test -z "$ac_c_werror_flag" ||
43365 test ! -s conftest.err
43366 } && test -s conftest.$ac_objext; then
43367 eval "$as_ac_Header=yes"
43368 else
43369 echo "$as_me: failed program was:" >&5
43370 sed 's/^/| /' conftest.$ac_ext >&5
43371
43372 eval "$as_ac_Header=no"
43373 fi
43374
43375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43376 fi
43377 ac_res=`eval echo '${'$as_ac_Header'}'`
43378 { echo "$as_me:$LINENO: result: $ac_res" >&5
43379 echo "${ECHO_T}$ac_res" >&6; }
43380 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43381 cat >>confdefs.h <<_ACEOF
43382 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43383 _ACEOF
43384
43385 fi
43386
43387 done
43388
43389 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
43390 cat >>confdefs.h <<\_ACEOF
43391 #define wxHAS_INOTIFY 1
43392 _ACEOF
43393
43394 else
43395
43396 for ac_header in sys/event.h
43397 do
43398 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43399 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43400 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43401 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43402 echo $ECHO_N "(cached) $ECHO_C" >&6
43403 else
43404 cat >conftest.$ac_ext <<_ACEOF
43405 /* confdefs.h. */
43406 _ACEOF
43407 cat confdefs.h >>conftest.$ac_ext
43408 cat >>conftest.$ac_ext <<_ACEOF
43409 /* end confdefs.h. */
43410 $ac_includes_default
43411
43412 #include <$ac_header>
43413 _ACEOF
43414 rm -f conftest.$ac_objext
43415 if { (ac_try="$ac_compile"
43416 case "(($ac_try" in
43417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43418 *) ac_try_echo=$ac_try;;
43419 esac
43420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43421 (eval "$ac_compile") 2>conftest.er1
43422 ac_status=$?
43423 grep -v '^ *+' conftest.er1 >conftest.err
43424 rm -f conftest.er1
43425 cat conftest.err >&5
43426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43427 (exit $ac_status); } && {
43428 test -z "$ac_c_werror_flag" ||
43429 test ! -s conftest.err
43430 } && test -s conftest.$ac_objext; then
43431 eval "$as_ac_Header=yes"
43432 else
43433 echo "$as_me: failed program was:" >&5
43434 sed 's/^/| /' conftest.$ac_ext >&5
43435
43436 eval "$as_ac_Header=no"
43437 fi
43438
43439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43440 fi
43441 ac_res=`eval echo '${'$as_ac_Header'}'`
43442 { echo "$as_me:$LINENO: result: $ac_res" >&5
43443 echo "${ECHO_T}$ac_res" >&6; }
43444 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43445 cat >>confdefs.h <<_ACEOF
43446 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43447 _ACEOF
43448
43449 fi
43450
43451 done
43452
43453 if test "$ac_cv_header_sys_event_h" = "yes"; then
43454 cat >>confdefs.h <<\_ACEOF
43455 #define wxHAS_KQUEUE 1
43456 _ACEOF
43457
43458 else
43459 wxUSE_FSWATCHER=no
43460 fi
43461 fi
43462 else
43463 wxUSE_FSWATCHER=no
43464 fi
43465 fi
43466
43467 if test "$wxUSE_FSWATCHER" = "yes"; then
43468 cat >>confdefs.h <<\_ACEOF
43469 #define wxUSE_FSWATCHER 1
43470 _ACEOF
43471
43472 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
43473 else
43474 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
43475 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
43476 fi
43477 fi
43478
43479
43480 if test "$wxUSE_STL" = "yes"; then
43481 cat >>confdefs.h <<\_ACEOF
43482 #define wxUSE_STL 1
43483 _ACEOF
43484
43485 fi
43486
43487 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43488 cat >>confdefs.h <<\_ACEOF
43489 #define wxUSE_EXTENDED_RTTI 1
43490 _ACEOF
43491
43492 fi
43493
43494 if test "$wxUSE_ANY" = "yes"; then
43495 cat >>confdefs.h <<\_ACEOF
43496 #define wxUSE_ANY 1
43497 _ACEOF
43498
43499 fi
43500
43501 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43502 cat >>confdefs.h <<\_ACEOF
43503 #define wxUSE_APPLE_IEEE 1
43504 _ACEOF
43505
43506 fi
43507
43508 if test "$wxUSE_TIMER" = "yes"; then
43509 cat >>confdefs.h <<\_ACEOF
43510 #define wxUSE_TIMER 1
43511 _ACEOF
43512
43513 fi
43514
43515 if test "$USE_UNIX" = 1 ; then
43516 if test "$wxUSE_MGL" != 1; then
43517 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43518 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43519 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43520 echo $ECHO_N "(cached) $ECHO_C" >&6
43521 else
43522
43523 cat >conftest.$ac_ext <<_ACEOF
43524 /* confdefs.h. */
43525 _ACEOF
43526 cat confdefs.h >>conftest.$ac_ext
43527 cat >>conftest.$ac_ext <<_ACEOF
43528 /* end confdefs.h. */
43529
43530 #include <sys/ioctl.h>
43531 #include <sys/soundcard.h>
43532
43533 int
43534 main ()
43535 {
43536
43537 ioctl(0, SNDCTL_DSP_SPEED, 0);
43538
43539 ;
43540 return 0;
43541 }
43542 _ACEOF
43543 rm -f conftest.$ac_objext conftest$ac_exeext
43544 if { (ac_try="$ac_link"
43545 case "(($ac_try" in
43546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43547 *) ac_try_echo=$ac_try;;
43548 esac
43549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43550 (eval "$ac_link") 2>conftest.er1
43551 ac_status=$?
43552 grep -v '^ *+' conftest.er1 >conftest.err
43553 rm -f conftest.er1
43554 cat conftest.err >&5
43555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43556 (exit $ac_status); } && {
43557 test -z "$ac_c_werror_flag" ||
43558 test ! -s conftest.err
43559 } && test -s conftest$ac_exeext &&
43560 $as_test_x conftest$ac_exeext; then
43561 ac_cv_header_sys_soundcard=yes
43562 else
43563 echo "$as_me: failed program was:" >&5
43564 sed 's/^/| /' conftest.$ac_ext >&5
43565
43566
43567 saveLibs="$LIBS"
43568 LIBS="$saveLibs -lossaudio"
43569 cat >conftest.$ac_ext <<_ACEOF
43570 /* confdefs.h. */
43571 _ACEOF
43572 cat confdefs.h >>conftest.$ac_ext
43573 cat >>conftest.$ac_ext <<_ACEOF
43574 /* end confdefs.h. */
43575
43576 #include <sys/ioctl.h>
43577 #include <sys/soundcard.h>
43578
43579 int
43580 main ()
43581 {
43582
43583 ioctl(0, SNDCTL_DSP_SPEED, 0);
43584
43585 ;
43586 return 0;
43587 }
43588 _ACEOF
43589 rm -f conftest.$ac_objext conftest$ac_exeext
43590 if { (ac_try="$ac_link"
43591 case "(($ac_try" in
43592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43593 *) ac_try_echo=$ac_try;;
43594 esac
43595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43596 (eval "$ac_link") 2>conftest.er1
43597 ac_status=$?
43598 grep -v '^ *+' conftest.er1 >conftest.err
43599 rm -f conftest.er1
43600 cat conftest.err >&5
43601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43602 (exit $ac_status); } && {
43603 test -z "$ac_c_werror_flag" ||
43604 test ! -s conftest.err
43605 } && test -s conftest$ac_exeext &&
43606 $as_test_x conftest$ac_exeext; then
43607 ac_cv_header_sys_soundcard=yes
43608 else
43609 echo "$as_me: failed program was:" >&5
43610 sed 's/^/| /' conftest.$ac_ext >&5
43611
43612
43613 LIBS="$saveLibs"
43614 ac_cv_header_sys_soundcard=no
43615
43616
43617 fi
43618
43619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43620 conftest$ac_exeext conftest.$ac_ext
43621
43622
43623 fi
43624
43625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43626 conftest$ac_exeext conftest.$ac_ext
43627
43628 fi
43629 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43630 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
43631 fi
43632
43633 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43634 cat >>confdefs.h <<\_ACEOF
43635 #define HAVE_SYS_SOUNDCARD_H 1
43636 _ACEOF
43637
43638 fi
43639 fi
43640
43641 WITH_PLUGIN_SDL=0
43642 if test "$wxUSE_SOUND" = "yes"; then
43643 if test "$USE_UNIX" = 1 ; then
43644 if test "$wxUSE_LIBSDL" != "no"; then
43645
43646 # Check whether --with-sdl-prefix was given.
43647 if test "${with_sdl_prefix+set}" = set; then
43648 withval=$with_sdl_prefix; sdl_prefix="$withval"
43649 else
43650 sdl_prefix=""
43651 fi
43652
43653
43654 # Check whether --with-sdl-exec-prefix was given.
43655 if test "${with_sdl_exec_prefix+set}" = set; then
43656 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
43657 else
43658 sdl_exec_prefix=""
43659 fi
43660
43661 # Check whether --enable-sdltest was given.
43662 if test "${enable_sdltest+set}" = set; then
43663 enableval=$enable_sdltest;
43664 else
43665 enable_sdltest=yes
43666 fi
43667
43668
43669 if test x$sdl_exec_prefix != x ; then
43670 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43671 if test x${SDL_CONFIG+set} != xset ; then
43672 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43673 fi
43674 fi
43675 if test x$sdl_prefix != x ; then
43676 sdl_args="$sdl_args --prefix=$sdl_prefix"
43677 if test x${SDL_CONFIG+set} != xset ; then
43678 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43679 fi
43680 fi
43681
43682 if test "x$prefix" != xNONE; then
43683 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43684 fi
43685 # Extract the first word of "sdl-config", so it can be a program name with args.
43686 set dummy sdl-config; ac_word=$2
43687 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43689 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43690 echo $ECHO_N "(cached) $ECHO_C" >&6
43691 else
43692 case $SDL_CONFIG in
43693 [\\/]* | ?:[\\/]*)
43694 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43695 ;;
43696 *)
43697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43698 for as_dir in $PATH
43699 do
43700 IFS=$as_save_IFS
43701 test -z "$as_dir" && as_dir=.
43702 for ac_exec_ext in '' $ac_executable_extensions; do
43703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43704 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43706 break 2
43707 fi
43708 done
43709 done
43710 IFS=$as_save_IFS
43711
43712 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43713 ;;
43714 esac
43715 fi
43716 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43717 if test -n "$SDL_CONFIG"; then
43718 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43719 echo "${ECHO_T}$SDL_CONFIG" >&6; }
43720 else
43721 { echo "$as_me:$LINENO: result: no" >&5
43722 echo "${ECHO_T}no" >&6; }
43723 fi
43724
43725
43726 min_sdl_version=1.2.0
43727 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43728 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
43729 no_sdl=""
43730 if test "$SDL_CONFIG" = "no" ; then
43731 no_sdl=yes
43732 else
43733 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43734 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43735
43736 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43737 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43738 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43739 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43740 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43741 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43742 if test "x$enable_sdltest" = "xyes" ; then
43743 ac_save_CFLAGS="$CFLAGS"
43744 ac_save_CXXFLAGS="$CXXFLAGS"
43745 ac_save_LIBS="$LIBS"
43746 CFLAGS="$CFLAGS $SDL_CFLAGS"
43747 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43748 LIBS="$LIBS $SDL_LIBS"
43749 rm -f conf.sdltest
43750 if test "$cross_compiling" = yes; then
43751 echo $ac_n "cross compiling; assumed OK... $ac_c"
43752 else
43753 cat >conftest.$ac_ext <<_ACEOF
43754 /* confdefs.h. */
43755 _ACEOF
43756 cat confdefs.h >>conftest.$ac_ext
43757 cat >>conftest.$ac_ext <<_ACEOF
43758 /* end confdefs.h. */
43759
43760 #include <stdio.h>
43761 #include <stdlib.h>
43762 #include <string.h>
43763 #include "SDL.h"
43764
43765 char*
43766 my_strdup (char *str)
43767 {
43768 char *new_str;
43769
43770 if (str)
43771 {
43772 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43773 strcpy (new_str, str);
43774 }
43775 else
43776 new_str = NULL;
43777
43778 return new_str;
43779 }
43780
43781 int main (int argc, char *argv[])
43782 {
43783 int major, minor, micro;
43784 char *tmp_version;
43785
43786 /* This hangs on some systems (?)
43787 system ("touch conf.sdltest");
43788 */
43789 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43790
43791 /* HP/UX 9 (%@#!) writes to sscanf strings */
43792 tmp_version = my_strdup("$min_sdl_version");
43793 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
43794 printf("%s, bad version string\n", "$min_sdl_version");
43795 exit(1);
43796 }
43797
43798 if (($sdl_major_version > major) ||
43799 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43800 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43801 {
43802 return 0;
43803 }
43804 else
43805 {
43806 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43807 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43808 printf("*** best to upgrade to the required version.\n");
43809 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43810 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43811 printf("*** config.cache before re-running configure\n");
43812 return 1;
43813 }
43814 }
43815
43816
43817 _ACEOF
43818 rm -f conftest$ac_exeext
43819 if { (ac_try="$ac_link"
43820 case "(($ac_try" in
43821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43822 *) ac_try_echo=$ac_try;;
43823 esac
43824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43825 (eval "$ac_link") 2>&5
43826 ac_status=$?
43827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43828 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43829 { (case "(($ac_try" in
43830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43831 *) ac_try_echo=$ac_try;;
43832 esac
43833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43834 (eval "$ac_try") 2>&5
43835 ac_status=$?
43836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43837 (exit $ac_status); }; }; then
43838 :
43839 else
43840 echo "$as_me: program exited with status $ac_status" >&5
43841 echo "$as_me: failed program was:" >&5
43842 sed 's/^/| /' conftest.$ac_ext >&5
43843
43844 ( exit $ac_status )
43845 no_sdl=yes
43846 fi
43847 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43848 fi
43849
43850
43851 CFLAGS="$ac_save_CFLAGS"
43852 CXXFLAGS="$ac_save_CXXFLAGS"
43853 LIBS="$ac_save_LIBS"
43854 fi
43855 fi
43856 if test "x$no_sdl" = x ; then
43857 { echo "$as_me:$LINENO: result: yes" >&5
43858 echo "${ECHO_T}yes" >&6; }
43859
43860 EXTRALIBS_SDL="$SDL_LIBS"
43861 CFLAGS="$SDL_CFLAGS $CFLAGS"
43862 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43863 cat >>confdefs.h <<\_ACEOF
43864 #define wxUSE_LIBSDL 1
43865 _ACEOF
43866
43867
43868 else
43869 { echo "$as_me:$LINENO: result: no" >&5
43870 echo "${ECHO_T}no" >&6; }
43871 if test "$SDL_CONFIG" = "no" ; then
43872 echo "*** The sdl-config script installed by SDL could not be found"
43873 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43874 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43875 echo "*** full path to sdl-config."
43876 else
43877 if test -f conf.sdltest ; then
43878 :
43879 else
43880 echo "*** Could not run SDL test program, checking why..."
43881 CFLAGS="$CFLAGS $SDL_CFLAGS"
43882 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43883 LIBS="$LIBS $SDL_LIBS"
43884 cat >conftest.$ac_ext <<_ACEOF
43885 /* confdefs.h. */
43886 _ACEOF
43887 cat confdefs.h >>conftest.$ac_ext
43888 cat >>conftest.$ac_ext <<_ACEOF
43889 /* end confdefs.h. */
43890
43891 #include <stdio.h>
43892 #include "SDL.h"
43893
43894 int main(int argc, char *argv[])
43895 { return 0; }
43896 #undef main
43897 #define main K_and_R_C_main
43898
43899 int
43900 main ()
43901 {
43902 return 0;
43903 ;
43904 return 0;
43905 }
43906 _ACEOF
43907 rm -f conftest.$ac_objext conftest$ac_exeext
43908 if { (ac_try="$ac_link"
43909 case "(($ac_try" in
43910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43911 *) ac_try_echo=$ac_try;;
43912 esac
43913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43914 (eval "$ac_link") 2>conftest.er1
43915 ac_status=$?
43916 grep -v '^ *+' conftest.er1 >conftest.err
43917 rm -f conftest.er1
43918 cat conftest.err >&5
43919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43920 (exit $ac_status); } && {
43921 test -z "$ac_c_werror_flag" ||
43922 test ! -s conftest.err
43923 } && test -s conftest$ac_exeext &&
43924 $as_test_x conftest$ac_exeext; then
43925 echo "*** The test program compiled, but did not run. This usually means"
43926 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43927 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43928 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43929 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43930 echo "*** is required on your system"
43931 echo "***"
43932 echo "*** If you have an old version installed, it is best to remove it, although"
43933 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43934 else
43935 echo "$as_me: failed program was:" >&5
43936 sed 's/^/| /' conftest.$ac_ext >&5
43937
43938 echo "*** The test program failed to compile or link. See the file config.log for the"
43939 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43940 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43941 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43942 fi
43943
43944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43945 conftest$ac_exeext conftest.$ac_ext
43946 CFLAGS="$ac_save_CFLAGS"
43947 CXXFLAGS="$ac_save_CXXFLAGS"
43948 LIBS="$ac_save_LIBS"
43949 fi
43950 fi
43951 SDL_CFLAGS=""
43952 SDL_LIBS=""
43953 wxUSE_LIBSDL="no"
43954 fi
43955
43956
43957 rm -f conf.sdltest
43958
43959 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43960 WITH_PLUGIN_SDL=1
43961 fi
43962 fi
43963 else
43964 if test "$wxUSE_MGL" = 1; then
43965 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
43966 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
43967 wxUSE_SOUND="no"
43968 fi
43969 fi
43970 fi
43971
43972 if test "$wxUSE_SOUND" = "yes"; then
43973 cat >>confdefs.h <<\_ACEOF
43974 #define wxUSE_SOUND 1
43975 _ACEOF
43976
43977 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
43978 fi
43979
43980 if test "$WXGTK2" = 1; then
43981
43982
43983 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43984 if test -n "$ac_tool_prefix"; then
43985 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43986 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
43987 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43989 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43990 echo $ECHO_N "(cached) $ECHO_C" >&6
43991 else
43992 case $PKG_CONFIG in
43993 [\\/]* | ?:[\\/]*)
43994 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
43995 ;;
43996 *)
43997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43998 for as_dir in $PATH
43999 do
44000 IFS=$as_save_IFS
44001 test -z "$as_dir" && as_dir=.
44002 for ac_exec_ext in '' $ac_executable_extensions; do
44003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44004 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44006 break 2
44007 fi
44008 done
44009 done
44010 IFS=$as_save_IFS
44011
44012 ;;
44013 esac
44014 fi
44015 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44016 if test -n "$PKG_CONFIG"; then
44017 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44018 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44019 else
44020 { echo "$as_me:$LINENO: result: no" >&5
44021 echo "${ECHO_T}no" >&6; }
44022 fi
44023
44024
44025 fi
44026 if test -z "$ac_cv_path_PKG_CONFIG"; then
44027 ac_pt_PKG_CONFIG=$PKG_CONFIG
44028 # Extract the first word of "pkg-config", so it can be a program name with args.
44029 set dummy pkg-config; ac_word=$2
44030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44032 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44033 echo $ECHO_N "(cached) $ECHO_C" >&6
44034 else
44035 case $ac_pt_PKG_CONFIG in
44036 [\\/]* | ?:[\\/]*)
44037 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44038 ;;
44039 *)
44040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44041 for as_dir in $PATH
44042 do
44043 IFS=$as_save_IFS
44044 test -z "$as_dir" && as_dir=.
44045 for ac_exec_ext in '' $ac_executable_extensions; do
44046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44047 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44049 break 2
44050 fi
44051 done
44052 done
44053 IFS=$as_save_IFS
44054
44055 ;;
44056 esac
44057 fi
44058 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44059 if test -n "$ac_pt_PKG_CONFIG"; then
44060 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44061 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44062 else
44063 { echo "$as_me:$LINENO: result: no" >&5
44064 echo "${ECHO_T}no" >&6; }
44065 fi
44066
44067 if test "x$ac_pt_PKG_CONFIG" = x; then
44068 PKG_CONFIG=""
44069 else
44070 case $cross_compiling:$ac_tool_warned in
44071 yes:)
44072 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44073 whose name does not start with the host triplet. If you think this
44074 configuration is useful to you, please write to autoconf@gnu.org." >&5
44075 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44076 whose name does not start with the host triplet. If you think this
44077 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44078 ac_tool_warned=yes ;;
44079 esac
44080 PKG_CONFIG=$ac_pt_PKG_CONFIG
44081 fi
44082 else
44083 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44084 fi
44085
44086 fi
44087 if test -n "$PKG_CONFIG"; then
44088 _pkg_min_version=0.9.0
44089 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44090 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44091 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44092 { echo "$as_me:$LINENO: result: yes" >&5
44093 echo "${ECHO_T}yes" >&6; }
44094 else
44095 { echo "$as_me:$LINENO: result: no" >&5
44096 echo "${ECHO_T}no" >&6; }
44097 PKG_CONFIG=""
44098 fi
44099
44100 fi
44101
44102 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44103
44104 if test "$wxUSE_GTKPRINT" = "yes" ; then
44105
44106
44107 pkg_failed=no
44108 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44109 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44110
44111 if test -n "$PKG_CONFIG"; then
44112 if test -n "$GTKPRINT_CFLAGS"; then
44113 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44114 else
44115 if test -n "$PKG_CONFIG" && \
44116 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44117 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44118 ac_status=$?
44119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44120 (exit $ac_status); }; then
44121 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44122 else
44123 pkg_failed=yes
44124 fi
44125 fi
44126 else
44127 pkg_failed=untried
44128 fi
44129 if test -n "$PKG_CONFIG"; then
44130 if test -n "$GTKPRINT_LIBS"; then
44131 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
44132 else
44133 if test -n "$PKG_CONFIG" && \
44134 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44135 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44136 ac_status=$?
44137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44138 (exit $ac_status); }; then
44139 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44140 else
44141 pkg_failed=yes
44142 fi
44143 fi
44144 else
44145 pkg_failed=untried
44146 fi
44147
44148
44149
44150 if test $pkg_failed = yes; then
44151
44152 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44153 _pkg_short_errors_supported=yes
44154 else
44155 _pkg_short_errors_supported=no
44156 fi
44157 if test $_pkg_short_errors_supported = yes; then
44158 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44159 else
44160 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44161 fi
44162 # Put the nasty error message in config.log where it belongs
44163 echo "$GTKPRINT_PKG_ERRORS" >&5
44164
44165
44166 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44167 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44168 wxUSE_GTKPRINT="no"
44169
44170
44171 elif test $pkg_failed = untried; then
44172
44173 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44174 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44175 wxUSE_GTKPRINT="no"
44176
44177
44178 else
44179 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
44180 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
44181 { echo "$as_me:$LINENO: result: yes" >&5
44182 echo "${ECHO_T}yes" >&6; }
44183
44184 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
44185 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
44186 cat >>confdefs.h <<\_ACEOF
44187 #define wxUSE_GTKPRINT 1
44188 _ACEOF
44189
44190
44191 fi
44192 fi
44193
44194 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44195
44196
44197 pkg_failed=no
44198 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44199 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44200
44201 if test -n "$PKG_CONFIG"; then
44202 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44203 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44204 else
44205 if test -n "$PKG_CONFIG" && \
44206 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44207 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44208 ac_status=$?
44209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44210 (exit $ac_status); }; then
44211 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44212 else
44213 pkg_failed=yes
44214 fi
44215 fi
44216 else
44217 pkg_failed=untried
44218 fi
44219 if test -n "$PKG_CONFIG"; then
44220 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44221 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44222 else
44223 if test -n "$PKG_CONFIG" && \
44224 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44225 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44226 ac_status=$?
44227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44228 (exit $ac_status); }; then
44229 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44230 else
44231 pkg_failed=yes
44232 fi
44233 fi
44234 else
44235 pkg_failed=untried
44236 fi
44237
44238
44239
44240 if test $pkg_failed = yes; then
44241
44242 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44243 _pkg_short_errors_supported=yes
44244 else
44245 _pkg_short_errors_supported=no
44246 fi
44247 if test $_pkg_short_errors_supported = yes; then
44248 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44249 else
44250 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44251 fi
44252 # Put the nasty error message in config.log where it belongs
44253 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44254
44255
44256 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44257 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44258 wxUSE_LIBGNOMEPRINT="no"
44259
44260
44261 elif test $pkg_failed = untried; then
44262
44263 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44264 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44265 wxUSE_LIBGNOMEPRINT="no"
44266
44267
44268 else
44269 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44270 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44271 { echo "$as_me:$LINENO: result: yes" >&5
44272 echo "${ECHO_T}yes" >&6; }
44273
44274 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44275 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44276 cat >>confdefs.h <<\_ACEOF
44277 #define wxUSE_LIBGNOMEPRINT 1
44278 _ACEOF
44279
44280
44281 fi
44282 fi
44283 fi
44284
44285 if test "$wxUSE_MIMETYPE" = "yes" ; then
44286 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44287
44288
44289 pkg_failed=no
44290 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44291 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44292
44293 if test -n "$PKG_CONFIG"; then
44294 if test -n "$GNOMEVFS_CFLAGS"; then
44295 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44296 else
44297 if test -n "$PKG_CONFIG" && \
44298 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44299 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44300 ac_status=$?
44301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44302 (exit $ac_status); }; then
44303 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44304 else
44305 pkg_failed=yes
44306 fi
44307 fi
44308 else
44309 pkg_failed=untried
44310 fi
44311 if test -n "$PKG_CONFIG"; then
44312 if test -n "$GNOMEVFS_LIBS"; then
44313 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
44314 else
44315 if test -n "$PKG_CONFIG" && \
44316 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44317 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44318 ac_status=$?
44319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44320 (exit $ac_status); }; then
44321 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44322 else
44323 pkg_failed=yes
44324 fi
44325 fi
44326 else
44327 pkg_failed=untried
44328 fi
44329
44330
44331
44332 if test $pkg_failed = yes; then
44333
44334 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44335 _pkg_short_errors_supported=yes
44336 else
44337 _pkg_short_errors_supported=no
44338 fi
44339 if test $_pkg_short_errors_supported = yes; then
44340 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44341 else
44342 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44343 fi
44344 # Put the nasty error message in config.log where it belongs
44345 echo "$GNOMEVFS_PKG_ERRORS" >&5
44346
44347
44348 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44349 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44350 wxUSE_LIBGNOMEVFS="no"
44351
44352
44353 elif test $pkg_failed = untried; then
44354
44355 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44356 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44357 wxUSE_LIBGNOMEVFS="no"
44358
44359
44360 else
44361 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
44362 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
44363 { echo "$as_me:$LINENO: result: yes" >&5
44364 echo "${ECHO_T}yes" >&6; }
44365
44366 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
44367 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
44368 cat >>confdefs.h <<\_ACEOF
44369 #define wxUSE_LIBGNOMEVFS 1
44370 _ACEOF
44371
44372
44373 fi
44374 fi
44375 fi
44376
44377 if test "$wxUSE_LIBHILDON" = "yes" ; then
44378
44379 pkg_failed=no
44380 { echo "$as_me:$LINENO: checking for HILDON" >&5
44381 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44382
44383 if test -n "$PKG_CONFIG"; then
44384 if test -n "$HILDON_CFLAGS"; then
44385 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
44386 else
44387 if test -n "$PKG_CONFIG" && \
44388 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44389 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44390 ac_status=$?
44391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44392 (exit $ac_status); }; then
44393 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44394 else
44395 pkg_failed=yes
44396 fi
44397 fi
44398 else
44399 pkg_failed=untried
44400 fi
44401 if test -n "$PKG_CONFIG"; then
44402 if test -n "$HILDON_LIBS"; then
44403 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
44404 else
44405 if test -n "$PKG_CONFIG" && \
44406 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44407 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44408 ac_status=$?
44409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44410 (exit $ac_status); }; then
44411 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44412 else
44413 pkg_failed=yes
44414 fi
44415 fi
44416 else
44417 pkg_failed=untried
44418 fi
44419
44420
44421
44422 if test $pkg_failed = yes; then
44423
44424 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44425 _pkg_short_errors_supported=yes
44426 else
44427 _pkg_short_errors_supported=no
44428 fi
44429 if test $_pkg_short_errors_supported = yes; then
44430 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44431 else
44432 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44433 fi
44434 # Put the nasty error message in config.log where it belongs
44435 echo "$HILDON_PKG_ERRORS" >&5
44436
44437
44438 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44439 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44440 wxUSE_LIBHILDON="no"
44441 ac_hildon_lgpl=0
44442
44443
44444 elif test $pkg_failed = untried; then
44445
44446 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44447 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44448 wxUSE_LIBHILDON="no"
44449 ac_hildon_lgpl=0
44450
44451
44452 else
44453 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
44454 HILDON_LIBS=$pkg_cv_HILDON_LIBS
44455 { echo "$as_me:$LINENO: result: yes" >&5
44456 echo "${ECHO_T}yes" >&6; }
44457
44458 EXTRALIBS_HILDON="$HILDON_LIBS"
44459 CFLAGS="$CFLAGS $HILDON_CFLAGS"
44460 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
44461 cat >>confdefs.h <<\_ACEOF
44462 #define wxUSE_LIBHILDON 1
44463 _ACEOF
44464
44465 ac_hildon_lgpl=1
44466
44467 fi
44468
44469 if test "$ac_hildon_lgpl" = 0 ; then
44470
44471 pkg_failed=no
44472 { echo "$as_me:$LINENO: checking for HILDON2" >&5
44473 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
44474
44475 if test -n "$PKG_CONFIG"; then
44476 if test -n "$HILDON2_CFLAGS"; then
44477 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
44478 else
44479 if test -n "$PKG_CONFIG" && \
44480 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44481 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44482 ac_status=$?
44483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44484 (exit $ac_status); }; then
44485 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
44486 else
44487 pkg_failed=yes
44488 fi
44489 fi
44490 else
44491 pkg_failed=untried
44492 fi
44493 if test -n "$PKG_CONFIG"; then
44494 if test -n "$HILDON2_LIBS"; then
44495 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
44496 else
44497 if test -n "$PKG_CONFIG" && \
44498 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44499 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44500 ac_status=$?
44501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44502 (exit $ac_status); }; then
44503 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
44504 else
44505 pkg_failed=yes
44506 fi
44507 fi
44508 else
44509 pkg_failed=untried
44510 fi
44511
44512
44513
44514 if test $pkg_failed = yes; then
44515
44516 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44517 _pkg_short_errors_supported=yes
44518 else
44519 _pkg_short_errors_supported=no
44520 fi
44521 if test $_pkg_short_errors_supported = yes; then
44522 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44523 else
44524 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44525 fi
44526 # Put the nasty error message in config.log where it belongs
44527 echo "$HILDON2_PKG_ERRORS" >&5
44528
44529
44530 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44531 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44532 wxUSE_LIBHILDON2="no"
44533
44534
44535 elif test $pkg_failed = untried; then
44536
44537 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44538 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44539 wxUSE_LIBHILDON2="no"
44540
44541
44542 else
44543 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
44544 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
44545 { echo "$as_me:$LINENO: result: yes" >&5
44546 echo "${ECHO_T}yes" >&6; }
44547
44548 EXTRALIBS_HILDON="$HILDON2_LIBS"
44549 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
44550 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
44551 cat >>confdefs.h <<\_ACEOF
44552 #define wxUSE_LIBHILDON2 1
44553 _ACEOF
44554
44555
44556 fi
44557 fi
44558 fi
44559 fi
44560
44561 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44562 cat >>confdefs.h <<\_ACEOF
44563 #define wxUSE_CMDLINE_PARSER 1
44564 _ACEOF
44565
44566 fi
44567
44568 if test "$wxUSE_STOPWATCH" = "yes"; then
44569 cat >>confdefs.h <<\_ACEOF
44570 #define wxUSE_STOPWATCH 1
44571 _ACEOF
44572
44573 fi
44574
44575 if test "$wxUSE_DATETIME" = "yes"; then
44576 cat >>confdefs.h <<\_ACEOF
44577 #define wxUSE_DATETIME 1
44578 _ACEOF
44579
44580 fi
44581
44582 if test "$wxUSE_FILE" = "yes"; then
44583 cat >>confdefs.h <<\_ACEOF
44584 #define wxUSE_FILE 1
44585 _ACEOF
44586
44587 fi
44588
44589 if test "$wxUSE_FFILE" = "yes"; then
44590 cat >>confdefs.h <<\_ACEOF
44591 #define wxUSE_FFILE 1
44592 _ACEOF
44593
44594 fi
44595
44596 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44597 if test "$wxUSE_STREAMS" != yes; then
44598 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44599 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44600 wxUSE_ARCHIVE_STREAMS=no
44601 else
44602 cat >>confdefs.h <<\_ACEOF
44603 #define wxUSE_ARCHIVE_STREAMS 1
44604 _ACEOF
44605
44606 fi
44607 fi
44608
44609 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44610 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44611 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44612 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44613 elif test "$wxUSE_ZLIB" = "no"; then
44614 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44615 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44616 else
44617 cat >>confdefs.h <<\_ACEOF
44618 #define wxUSE_ZIPSTREAM 1
44619 _ACEOF
44620
44621 fi
44622 fi
44623
44624 if test "$wxUSE_TARSTREAM" = "yes"; then
44625 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44626 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44627 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44628 else
44629 cat >>confdefs.h <<\_ACEOF
44630 #define wxUSE_TARSTREAM 1
44631 _ACEOF
44632
44633 fi
44634 fi
44635
44636 if test "$wxUSE_FILE_HISTORY" = "yes"; then
44637 cat >>confdefs.h <<\_ACEOF
44638 #define wxUSE_FILE_HISTORY 1
44639 _ACEOF
44640
44641 fi
44642
44643 if test "$wxUSE_FILESYSTEM" = "yes"; then
44644 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
44645 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44646 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44647 wxUSE_FILESYSTEM=no
44648 else
44649 cat >>confdefs.h <<\_ACEOF
44650 #define wxUSE_FILESYSTEM 1
44651 _ACEOF
44652
44653 fi
44654 fi
44655
44656 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44657 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44658 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44659 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44660 else
44661 cat >>confdefs.h <<\_ACEOF
44662 #define wxUSE_FS_ARCHIVE 1
44663 _ACEOF
44664
44665 fi
44666 fi
44667
44668 if test "$wxUSE_FS_ZIP" = "yes"; then
44669 if test "$wxUSE_FS_ARCHIVE" != yes; then
44670 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44671 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44672 else
44673 cat >>confdefs.h <<\_ACEOF
44674 #define wxUSE_FS_ZIP 1
44675 _ACEOF
44676
44677 fi
44678 fi
44679
44680 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44681 if test "$USE_UNIX" != 1; then
44682 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44683 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44684 wxUSE_ON_FATAL_EXCEPTION=no
44685 else
44686 cat >>confdefs.h <<\_ACEOF
44687 #define wxUSE_ON_FATAL_EXCEPTION 1
44688 _ACEOF
44689
44690 fi
44691 fi
44692
44693 if test "$wxUSE_STACKWALKER" = "yes"; then
44694 cat >>confdefs.h <<\_ACEOF
44695 #define wxUSE_STACKWALKER 1
44696 _ACEOF
44697
44698 fi
44699
44700 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44701 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
44702 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44703 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44704 wxUSE_DEBUGREPORT=no
44705 else
44706 cat >>confdefs.h <<\_ACEOF
44707 #define wxUSE_DEBUGREPORT 1
44708 _ACEOF
44709
44710 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44711 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
44712 fi
44713 fi
44714 fi
44715
44716 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
44717 cat >>confdefs.h <<\_ACEOF
44718 #define wxUSE_SNGLINST_CHECKER 1
44719 _ACEOF
44720
44721 fi
44722
44723 if test "$wxUSE_BUSYINFO" = "yes"; then
44724 cat >>confdefs.h <<\_ACEOF
44725 #define wxUSE_BUSYINFO 1
44726 _ACEOF
44727
44728 fi
44729
44730 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
44731 cat >>confdefs.h <<\_ACEOF
44732 #define wxUSE_STD_IOSTREAM 1
44733 _ACEOF
44734
44735 fi
44736
44737 if test "$wxUSE_STD_STRING" = "yes"; then
44738 cat >>confdefs.h <<\_ACEOF
44739 #define wxUSE_STD_STRING 1
44740 _ACEOF
44741
44742 fi
44743
44744 if test "$wxUSE_STDPATHS" = "yes"; then
44745 cat >>confdefs.h <<\_ACEOF
44746 #define wxUSE_STDPATHS 1
44747 _ACEOF
44748
44749 fi
44750
44751 if test "$wxUSE_TEXTBUFFER" = "yes"; then
44752 cat >>confdefs.h <<\_ACEOF
44753 #define wxUSE_TEXTBUFFER 1
44754 _ACEOF
44755
44756 fi
44757
44758 if test "$wxUSE_TEXTFILE" = "yes"; then
44759 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
44760 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
44761 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
44762 else
44763 cat >>confdefs.h <<\_ACEOF
44764 #define wxUSE_TEXTFILE 1
44765 _ACEOF
44766
44767 fi
44768 fi
44769
44770 if test "$wxUSE_CONFIG" = "yes" ; then
44771 if test "$wxUSE_TEXTFILE" != "yes"; then
44772 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
44773 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
44774 else
44775 cat >>confdefs.h <<\_ACEOF
44776 #define wxUSE_CONFIG 1
44777 _ACEOF
44778
44779 cat >>confdefs.h <<\_ACEOF
44780 #define wxUSE_CONFIG_NATIVE 1
44781 _ACEOF
44782
44783 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
44784 fi
44785 fi
44786
44787 if test "$wxUSE_INTL" = "yes" ; then
44788 if test "$wxUSE_FILE" != "yes"; then
44789 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
44790 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
44791 else
44792 cat >>confdefs.h <<\_ACEOF
44793 #define wxUSE_INTL 1
44794 _ACEOF
44795
44796 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
44797 GUIDIST="$GUIDIST INTL_DIST"
44798 fi
44799 fi
44800
44801 if test "$wxUSE_XLOCALE" = "yes" ; then
44802 cat >>confdefs.h <<\_ACEOF
44803 #define wxUSE_XLOCALE 1
44804 _ACEOF
44805
44806 { echo "$as_me:$LINENO: checking for locale_t" >&5
44807 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
44808 if test "${ac_cv_type_locale_t+set}" = set; then
44809 echo $ECHO_N "(cached) $ECHO_C" >&6
44810 else
44811 cat >conftest.$ac_ext <<_ACEOF
44812 /* confdefs.h. */
44813 _ACEOF
44814 cat confdefs.h >>conftest.$ac_ext
44815 cat >>conftest.$ac_ext <<_ACEOF
44816 /* end confdefs.h. */
44817 #include <xlocale.h>
44818 #include <locale.h>
44819
44820 typedef locale_t ac__type_new_;
44821 int
44822 main ()
44823 {
44824 if ((ac__type_new_ *) 0)
44825 return 0;
44826 if (sizeof (ac__type_new_))
44827 return 0;
44828 ;
44829 return 0;
44830 }
44831 _ACEOF
44832 rm -f conftest.$ac_objext
44833 if { (ac_try="$ac_compile"
44834 case "(($ac_try" in
44835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44836 *) ac_try_echo=$ac_try;;
44837 esac
44838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44839 (eval "$ac_compile") 2>conftest.er1
44840 ac_status=$?
44841 grep -v '^ *+' conftest.er1 >conftest.err
44842 rm -f conftest.er1
44843 cat conftest.err >&5
44844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44845 (exit $ac_status); } && {
44846 test -z "$ac_c_werror_flag" ||
44847 test ! -s conftest.err
44848 } && test -s conftest.$ac_objext; then
44849 ac_cv_type_locale_t=yes
44850 else
44851 echo "$as_me: failed program was:" >&5
44852 sed 's/^/| /' conftest.$ac_ext >&5
44853
44854 ac_cv_type_locale_t=no
44855 fi
44856
44857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44858 fi
44859 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
44860 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
44861 if test $ac_cv_type_locale_t = yes; then
44862
44863 cat >>confdefs.h <<_ACEOF
44864 #define HAVE_LOCALE_T 1
44865 _ACEOF
44866
44867
44868 fi
44869
44870 fi
44871
44872 if test "$wxUSE_LOG" = "yes"; then
44873 cat >>confdefs.h <<\_ACEOF
44874 #define wxUSE_LOG 1
44875 _ACEOF
44876
44877
44878 if test "$wxUSE_LOGGUI" = "yes"; then
44879 cat >>confdefs.h <<\_ACEOF
44880 #define wxUSE_LOGGUI 1
44881 _ACEOF
44882
44883 fi
44884
44885 if test "$wxUSE_LOGWINDOW" = "yes"; then
44886 cat >>confdefs.h <<\_ACEOF
44887 #define wxUSE_LOGWINDOW 1
44888 _ACEOF
44889
44890 fi
44891
44892 if test "$wxUSE_LOGDIALOG" = "yes"; then
44893 cat >>confdefs.h <<\_ACEOF
44894 #define wxUSE_LOG_DIALOG 1
44895 _ACEOF
44896
44897 fi
44898
44899 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
44900 fi
44901
44902 if test "$wxUSE_LONGLONG" = "yes"; then
44903 cat >>confdefs.h <<\_ACEOF
44904 #define wxUSE_LONGLONG 1
44905 _ACEOF
44906
44907 fi
44908
44909 if test "$wxUSE_GEOMETRY" = "yes"; then
44910 cat >>confdefs.h <<\_ACEOF
44911 #define wxUSE_GEOMETRY 1
44912 _ACEOF
44913
44914 fi
44915
44916 if test "$wxUSE_BASE64" = "yes"; then
44917 cat >>confdefs.h <<\_ACEOF
44918 #define wxUSE_BASE64 1
44919 _ACEOF
44920
44921 fi
44922
44923 if test "$wxUSE_STREAMS" = "yes" ; then
44924 cat >>confdefs.h <<\_ACEOF
44925 #define wxUSE_STREAMS 1
44926 _ACEOF
44927
44928 fi
44929
44930 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44931 cat >>confdefs.h <<\_ACEOF
44932 #define wxUSE_PRINTF_POS_PARAMS 1
44933 _ACEOF
44934
44935 fi
44936
44937 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
44938 cat >>confdefs.h <<\_ACEOF
44939 #define wxUSE_OBJC_UNIQUIFYING 1
44940 _ACEOF
44941
44942 fi
44943
44944
44945 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
44946 cat >>confdefs.h <<\_ACEOF
44947 #define wxUSE_CONSOLE_EVENTLOOP 1
44948 _ACEOF
44949
44950
44951 if test "$wxUSE_UNIX" = "yes"; then
44952 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
44953 cat >>confdefs.h <<\_ACEOF
44954 #define wxUSE_SELECT_DISPATCHER 1
44955 _ACEOF
44956
44957 fi
44958
44959 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
44960
44961 for ac_header in sys/epoll.h
44962 do
44963 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44964 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44965 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44966 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44967 echo $ECHO_N "(cached) $ECHO_C" >&6
44968 else
44969 cat >conftest.$ac_ext <<_ACEOF
44970 /* confdefs.h. */
44971 _ACEOF
44972 cat confdefs.h >>conftest.$ac_ext
44973 cat >>conftest.$ac_ext <<_ACEOF
44974 /* end confdefs.h. */
44975 $ac_includes_default
44976
44977 #include <$ac_header>
44978 _ACEOF
44979 rm -f conftest.$ac_objext
44980 if { (ac_try="$ac_compile"
44981 case "(($ac_try" in
44982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44983 *) ac_try_echo=$ac_try;;
44984 esac
44985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44986 (eval "$ac_compile") 2>conftest.er1
44987 ac_status=$?
44988 grep -v '^ *+' conftest.er1 >conftest.err
44989 rm -f conftest.er1
44990 cat conftest.err >&5
44991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44992 (exit $ac_status); } && {
44993 test -z "$ac_c_werror_flag" ||
44994 test ! -s conftest.err
44995 } && test -s conftest.$ac_objext; then
44996 eval "$as_ac_Header=yes"
44997 else
44998 echo "$as_me: failed program was:" >&5
44999 sed 's/^/| /' conftest.$ac_ext >&5
45000
45001 eval "$as_ac_Header=no"
45002 fi
45003
45004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45005 fi
45006 ac_res=`eval echo '${'$as_ac_Header'}'`
45007 { echo "$as_me:$LINENO: result: $ac_res" >&5
45008 echo "${ECHO_T}$ac_res" >&6; }
45009 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45010 cat >>confdefs.h <<_ACEOF
45011 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45012 _ACEOF
45013
45014 fi
45015
45016 done
45017
45018 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45019 cat >>confdefs.h <<\_ACEOF
45020 #define wxUSE_EPOLL_DISPATCHER 1
45021 _ACEOF
45022
45023 else
45024 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45025 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45026 fi
45027 fi
45028 fi
45029 fi
45030
45031
45032
45033
45034 for ac_func in gettimeofday ftime
45035 do
45036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45037 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45039 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45040 echo $ECHO_N "(cached) $ECHO_C" >&6
45041 else
45042 cat >conftest.$ac_ext <<_ACEOF
45043 /* confdefs.h. */
45044 _ACEOF
45045 cat confdefs.h >>conftest.$ac_ext
45046 cat >>conftest.$ac_ext <<_ACEOF
45047 /* end confdefs.h. */
45048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45050 #define $ac_func innocuous_$ac_func
45051
45052 /* System header to define __stub macros and hopefully few prototypes,
45053 which can conflict with char $ac_func (); below.
45054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45055 <limits.h> exists even on freestanding compilers. */
45056
45057 #ifdef __STDC__
45058 # include <limits.h>
45059 #else
45060 # include <assert.h>
45061 #endif
45062
45063 #undef $ac_func
45064
45065 /* Override any GCC internal prototype to avoid an error.
45066 Use char because int might match the return type of a GCC
45067 builtin and then its argument prototype would still apply. */
45068 #ifdef __cplusplus
45069 extern "C"
45070 #endif
45071 char $ac_func ();
45072 /* The GNU C library defines this for functions which it implements
45073 to always fail with ENOSYS. Some functions are actually named
45074 something starting with __ and the normal name is an alias. */
45075 #if defined __stub_$ac_func || defined __stub___$ac_func
45076 choke me
45077 #endif
45078
45079 int
45080 main ()
45081 {
45082 return $ac_func ();
45083 ;
45084 return 0;
45085 }
45086 _ACEOF
45087 rm -f conftest.$ac_objext conftest$ac_exeext
45088 if { (ac_try="$ac_link"
45089 case "(($ac_try" in
45090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45091 *) ac_try_echo=$ac_try;;
45092 esac
45093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45094 (eval "$ac_link") 2>conftest.er1
45095 ac_status=$?
45096 grep -v '^ *+' conftest.er1 >conftest.err
45097 rm -f conftest.er1
45098 cat conftest.err >&5
45099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45100 (exit $ac_status); } && {
45101 test -z "$ac_c_werror_flag" ||
45102 test ! -s conftest.err
45103 } && test -s conftest$ac_exeext &&
45104 $as_test_x conftest$ac_exeext; then
45105 eval "$as_ac_var=yes"
45106 else
45107 echo "$as_me: failed program was:" >&5
45108 sed 's/^/| /' conftest.$ac_ext >&5
45109
45110 eval "$as_ac_var=no"
45111 fi
45112
45113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45114 conftest$ac_exeext conftest.$ac_ext
45115 fi
45116 ac_res=`eval echo '${'$as_ac_var'}'`
45117 { echo "$as_me:$LINENO: result: $ac_res" >&5
45118 echo "${ECHO_T}$ac_res" >&6; }
45119 if test `eval echo '${'$as_ac_var'}'` = yes; then
45120 cat >>confdefs.h <<_ACEOF
45121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45122 _ACEOF
45123 break
45124 fi
45125 done
45126
45127
45128 if test "$ac_cv_func_gettimeofday" = "yes"; then
45129 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45130 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45131 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45132 echo $ECHO_N "(cached) $ECHO_C" >&6
45133 else
45134
45135 cat >conftest.$ac_ext <<_ACEOF
45136 /* confdefs.h. */
45137 _ACEOF
45138 cat confdefs.h >>conftest.$ac_ext
45139 cat >>conftest.$ac_ext <<_ACEOF
45140 /* end confdefs.h. */
45141
45142 #include <sys/time.h>
45143 #include <unistd.h>
45144
45145 int
45146 main ()
45147 {
45148
45149 struct timeval tv;
45150 gettimeofday(&tv, NULL);
45151
45152 ;
45153 return 0;
45154 }
45155 _ACEOF
45156 rm -f conftest.$ac_objext
45157 if { (ac_try="$ac_compile"
45158 case "(($ac_try" in
45159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45160 *) ac_try_echo=$ac_try;;
45161 esac
45162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45163 (eval "$ac_compile") 2>conftest.er1
45164 ac_status=$?
45165 grep -v '^ *+' conftest.er1 >conftest.err
45166 rm -f conftest.er1
45167 cat conftest.err >&5
45168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45169 (exit $ac_status); } && {
45170 test -z "$ac_c_werror_flag" ||
45171 test ! -s conftest.err
45172 } && test -s conftest.$ac_objext; then
45173 wx_cv_func_gettimeofday_has_2_args=yes
45174 else
45175 echo "$as_me: failed program was:" >&5
45176 sed 's/^/| /' conftest.$ac_ext >&5
45177
45178 cat >conftest.$ac_ext <<_ACEOF
45179 /* confdefs.h. */
45180 _ACEOF
45181 cat confdefs.h >>conftest.$ac_ext
45182 cat >>conftest.$ac_ext <<_ACEOF
45183 /* end confdefs.h. */
45184
45185 #include <sys/time.h>
45186 #include <unistd.h>
45187
45188 int
45189 main ()
45190 {
45191
45192 struct timeval tv;
45193 gettimeofday(&tv);
45194
45195 ;
45196 return 0;
45197 }
45198 _ACEOF
45199 rm -f conftest.$ac_objext
45200 if { (ac_try="$ac_compile"
45201 case "(($ac_try" in
45202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45203 *) ac_try_echo=$ac_try;;
45204 esac
45205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45206 (eval "$ac_compile") 2>conftest.er1
45207 ac_status=$?
45208 grep -v '^ *+' conftest.er1 >conftest.err
45209 rm -f conftest.er1
45210 cat conftest.err >&5
45211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45212 (exit $ac_status); } && {
45213 test -z "$ac_c_werror_flag" ||
45214 test ! -s conftest.err
45215 } && test -s conftest.$ac_objext; then
45216 wx_cv_func_gettimeofday_has_2_args=no
45217 else
45218 echo "$as_me: failed program was:" >&5
45219 sed 's/^/| /' conftest.$ac_ext >&5
45220
45221
45222 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45223 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45224 wx_cv_func_gettimeofday_has_2_args=unknown
45225
45226
45227 fi
45228
45229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45230
45231 fi
45232
45233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45234
45235 fi
45236 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45237 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45238
45239 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45240 cat >>confdefs.h <<\_ACEOF
45241 #define WX_GETTIMEOFDAY_NO_TZ 1
45242 _ACEOF
45243
45244 fi
45245 fi
45246
45247 if test "$wxUSE_DATETIME" = "yes"; then
45248 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45249 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45250 if test "${wx_cv_var_timezone+set}" = set; then
45251 echo $ECHO_N "(cached) $ECHO_C" >&6
45252 else
45253
45254 ac_ext=cpp
45255 ac_cpp='$CXXCPP $CPPFLAGS'
45256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45259
45260 cat >conftest.$ac_ext <<_ACEOF
45261 /* confdefs.h. */
45262 _ACEOF
45263 cat confdefs.h >>conftest.$ac_ext
45264 cat >>conftest.$ac_ext <<_ACEOF
45265 /* end confdefs.h. */
45266
45267 #include <time.h>
45268
45269 int
45270 main ()
45271 {
45272
45273 int tz;
45274 tz = timezone;
45275
45276 ;
45277 return 0;
45278 }
45279 _ACEOF
45280 rm -f conftest.$ac_objext
45281 if { (ac_try="$ac_compile"
45282 case "(($ac_try" in
45283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45284 *) ac_try_echo=$ac_try;;
45285 esac
45286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45287 (eval "$ac_compile") 2>conftest.er1
45288 ac_status=$?
45289 grep -v '^ *+' conftest.er1 >conftest.err
45290 rm -f conftest.er1
45291 cat conftest.err >&5
45292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45293 (exit $ac_status); } && {
45294 test -z "$ac_cxx_werror_flag" ||
45295 test ! -s conftest.err
45296 } && test -s conftest.$ac_objext; then
45297
45298 wx_cv_var_timezone=timezone
45299
45300 else
45301 echo "$as_me: failed program was:" >&5
45302 sed 's/^/| /' conftest.$ac_ext >&5
45303
45304
45305 cat >conftest.$ac_ext <<_ACEOF
45306 /* confdefs.h. */
45307 _ACEOF
45308 cat confdefs.h >>conftest.$ac_ext
45309 cat >>conftest.$ac_ext <<_ACEOF
45310 /* end confdefs.h. */
45311
45312 #include <time.h>
45313
45314 int
45315 main ()
45316 {
45317
45318 int tz;
45319 tz = _timezone;
45320
45321 ;
45322 return 0;
45323 }
45324 _ACEOF
45325 rm -f conftest.$ac_objext
45326 if { (ac_try="$ac_compile"
45327 case "(($ac_try" in
45328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45329 *) ac_try_echo=$ac_try;;
45330 esac
45331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45332 (eval "$ac_compile") 2>conftest.er1
45333 ac_status=$?
45334 grep -v '^ *+' conftest.er1 >conftest.err
45335 rm -f conftest.er1
45336 cat conftest.err >&5
45337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45338 (exit $ac_status); } && {
45339 test -z "$ac_cxx_werror_flag" ||
45340 test ! -s conftest.err
45341 } && test -s conftest.$ac_objext; then
45342
45343 wx_cv_var_timezone=_timezone
45344
45345 else
45346 echo "$as_me: failed program was:" >&5
45347 sed 's/^/| /' conftest.$ac_ext >&5
45348
45349
45350 cat >conftest.$ac_ext <<_ACEOF
45351 /* confdefs.h. */
45352 _ACEOF
45353 cat confdefs.h >>conftest.$ac_ext
45354 cat >>conftest.$ac_ext <<_ACEOF
45355 /* end confdefs.h. */
45356
45357 #include <time.h>
45358
45359 int
45360 main ()
45361 {
45362
45363 int tz;
45364 tz = __timezone;
45365
45366 ;
45367 return 0;
45368 }
45369 _ACEOF
45370 rm -f conftest.$ac_objext
45371 if { (ac_try="$ac_compile"
45372 case "(($ac_try" in
45373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45374 *) ac_try_echo=$ac_try;;
45375 esac
45376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45377 (eval "$ac_compile") 2>conftest.er1
45378 ac_status=$?
45379 grep -v '^ *+' conftest.er1 >conftest.err
45380 rm -f conftest.er1
45381 cat conftest.err >&5
45382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45383 (exit $ac_status); } && {
45384 test -z "$ac_cxx_werror_flag" ||
45385 test ! -s conftest.err
45386 } && test -s conftest.$ac_objext; then
45387
45388 wx_cv_var_timezone=__timezone
45389
45390 else
45391 echo "$as_me: failed program was:" >&5
45392 sed 's/^/| /' conftest.$ac_ext >&5
45393
45394
45395 if test "$USE_DOS" = 0 ; then
45396 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45397 echo "$as_me: WARNING: no timezone variable" >&2;}
45398 fi
45399
45400
45401 fi
45402
45403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45404
45405
45406 fi
45407
45408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45409
45410
45411 fi
45412
45413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45414 ac_ext=c
45415 ac_cpp='$CPP $CPPFLAGS'
45416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45419
45420
45421
45422 fi
45423 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45424 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
45425
45426 if test "x$wx_cv_var_timezone" != x ; then
45427 cat >>confdefs.h <<_ACEOF
45428 #define WX_TIMEZONE $wx_cv_var_timezone
45429 _ACEOF
45430
45431 fi
45432
45433
45434 for ac_func in localtime
45435 do
45436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45437 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45439 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45440 echo $ECHO_N "(cached) $ECHO_C" >&6
45441 else
45442 cat >conftest.$ac_ext <<_ACEOF
45443 /* confdefs.h. */
45444 _ACEOF
45445 cat confdefs.h >>conftest.$ac_ext
45446 cat >>conftest.$ac_ext <<_ACEOF
45447 /* end confdefs.h. */
45448 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45450 #define $ac_func innocuous_$ac_func
45451
45452 /* System header to define __stub macros and hopefully few prototypes,
45453 which can conflict with char $ac_func (); below.
45454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45455 <limits.h> exists even on freestanding compilers. */
45456
45457 #ifdef __STDC__
45458 # include <limits.h>
45459 #else
45460 # include <assert.h>
45461 #endif
45462
45463 #undef $ac_func
45464
45465 /* Override any GCC internal prototype to avoid an error.
45466 Use char because int might match the return type of a GCC
45467 builtin and then its argument prototype would still apply. */
45468 #ifdef __cplusplus
45469 extern "C"
45470 #endif
45471 char $ac_func ();
45472 /* The GNU C library defines this for functions which it implements
45473 to always fail with ENOSYS. Some functions are actually named
45474 something starting with __ and the normal name is an alias. */
45475 #if defined __stub_$ac_func || defined __stub___$ac_func
45476 choke me
45477 #endif
45478
45479 int
45480 main ()
45481 {
45482 return $ac_func ();
45483 ;
45484 return 0;
45485 }
45486 _ACEOF
45487 rm -f conftest.$ac_objext conftest$ac_exeext
45488 if { (ac_try="$ac_link"
45489 case "(($ac_try" in
45490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45491 *) ac_try_echo=$ac_try;;
45492 esac
45493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45494 (eval "$ac_link") 2>conftest.er1
45495 ac_status=$?
45496 grep -v '^ *+' conftest.er1 >conftest.err
45497 rm -f conftest.er1
45498 cat conftest.err >&5
45499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45500 (exit $ac_status); } && {
45501 test -z "$ac_c_werror_flag" ||
45502 test ! -s conftest.err
45503 } && test -s conftest$ac_exeext &&
45504 $as_test_x conftest$ac_exeext; then
45505 eval "$as_ac_var=yes"
45506 else
45507 echo "$as_me: failed program was:" >&5
45508 sed 's/^/| /' conftest.$ac_ext >&5
45509
45510 eval "$as_ac_var=no"
45511 fi
45512
45513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45514 conftest$ac_exeext conftest.$ac_ext
45515 fi
45516 ac_res=`eval echo '${'$as_ac_var'}'`
45517 { echo "$as_me:$LINENO: result: $ac_res" >&5
45518 echo "${ECHO_T}$ac_res" >&6; }
45519 if test `eval echo '${'$as_ac_var'}'` = yes; then
45520 cat >>confdefs.h <<_ACEOF
45521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45522 _ACEOF
45523
45524 fi
45525 done
45526
45527
45528 if test "$ac_cv_func_localtime" = "yes"; then
45529 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45530 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45531 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45532 echo $ECHO_N "(cached) $ECHO_C" >&6
45533 else
45534
45535 cat >conftest.$ac_ext <<_ACEOF
45536 /* confdefs.h. */
45537 _ACEOF
45538 cat confdefs.h >>conftest.$ac_ext
45539 cat >>conftest.$ac_ext <<_ACEOF
45540 /* end confdefs.h. */
45541
45542 #include <time.h>
45543
45544 int
45545 main ()
45546 {
45547
45548 struct tm tm;
45549 tm.tm_gmtoff++;
45550
45551 ;
45552 return 0;
45553 }
45554 _ACEOF
45555 rm -f conftest.$ac_objext
45556 if { (ac_try="$ac_compile"
45557 case "(($ac_try" in
45558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45559 *) ac_try_echo=$ac_try;;
45560 esac
45561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45562 (eval "$ac_compile") 2>conftest.er1
45563 ac_status=$?
45564 grep -v '^ *+' conftest.er1 >conftest.err
45565 rm -f conftest.er1
45566 cat conftest.err >&5
45567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45568 (exit $ac_status); } && {
45569 test -z "$ac_c_werror_flag" ||
45570 test ! -s conftest.err
45571 } && test -s conftest.$ac_objext; then
45572
45573 wx_cv_struct_tm_has_gmtoff=yes
45574
45575 else
45576 echo "$as_me: failed program was:" >&5
45577 sed 's/^/| /' conftest.$ac_ext >&5
45578
45579 wx_cv_struct_tm_has_gmtoff=no
45580
45581 fi
45582
45583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45584
45585 fi
45586 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45587 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45588 fi
45589
45590 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45591 cat >>confdefs.h <<\_ACEOF
45592 #define WX_GMTOFF_IN_TM 1
45593 _ACEOF
45594
45595 fi
45596
45597 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
45598 fi
45599
45600
45601 if test "$wxUSE_SOCKETS" = "yes"; then
45602 if test "$wxUSE_MGL" = 1; then
45603 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45604 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45605 wxUSE_SOCKETS="no"
45606 fi
45607 fi
45608
45609 if test "$wxUSE_SOCKETS" = "yes"; then
45610 if test "$TOOLKIT" != "MSW"; then
45611 { echo "$as_me:$LINENO: checking for socket" >&5
45612 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
45613 if test "${ac_cv_func_socket+set}" = set; then
45614 echo $ECHO_N "(cached) $ECHO_C" >&6
45615 else
45616 cat >conftest.$ac_ext <<_ACEOF
45617 /* confdefs.h. */
45618 _ACEOF
45619 cat confdefs.h >>conftest.$ac_ext
45620 cat >>conftest.$ac_ext <<_ACEOF
45621 /* end confdefs.h. */
45622 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45623 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45624 #define socket innocuous_socket
45625
45626 /* System header to define __stub macros and hopefully few prototypes,
45627 which can conflict with char socket (); below.
45628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45629 <limits.h> exists even on freestanding compilers. */
45630
45631 #ifdef __STDC__
45632 # include <limits.h>
45633 #else
45634 # include <assert.h>
45635 #endif
45636
45637 #undef socket
45638
45639 /* Override any GCC internal prototype to avoid an error.
45640 Use char because int might match the return type of a GCC
45641 builtin and then its argument prototype would still apply. */
45642 #ifdef __cplusplus
45643 extern "C"
45644 #endif
45645 char socket ();
45646 /* The GNU C library defines this for functions which it implements
45647 to always fail with ENOSYS. Some functions are actually named
45648 something starting with __ and the normal name is an alias. */
45649 #if defined __stub_socket || defined __stub___socket
45650 choke me
45651 #endif
45652
45653 int
45654 main ()
45655 {
45656 return socket ();
45657 ;
45658 return 0;
45659 }
45660 _ACEOF
45661 rm -f conftest.$ac_objext conftest$ac_exeext
45662 if { (ac_try="$ac_link"
45663 case "(($ac_try" in
45664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45665 *) ac_try_echo=$ac_try;;
45666 esac
45667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45668 (eval "$ac_link") 2>conftest.er1
45669 ac_status=$?
45670 grep -v '^ *+' conftest.er1 >conftest.err
45671 rm -f conftest.er1
45672 cat conftest.err >&5
45673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45674 (exit $ac_status); } && {
45675 test -z "$ac_c_werror_flag" ||
45676 test ! -s conftest.err
45677 } && test -s conftest$ac_exeext &&
45678 $as_test_x conftest$ac_exeext; then
45679 ac_cv_func_socket=yes
45680 else
45681 echo "$as_me: failed program was:" >&5
45682 sed 's/^/| /' conftest.$ac_ext >&5
45683
45684 ac_cv_func_socket=no
45685 fi
45686
45687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45688 conftest$ac_exeext conftest.$ac_ext
45689 fi
45690 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45691 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
45692 if test $ac_cv_func_socket = yes; then
45693 :
45694 else
45695
45696 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45697 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
45698 if test "${ac_cv_lib_socket_socket+set}" = set; then
45699 echo $ECHO_N "(cached) $ECHO_C" >&6
45700 else
45701 ac_check_lib_save_LIBS=$LIBS
45702 LIBS="-lsocket $LIBS"
45703 cat >conftest.$ac_ext <<_ACEOF
45704 /* confdefs.h. */
45705 _ACEOF
45706 cat confdefs.h >>conftest.$ac_ext
45707 cat >>conftest.$ac_ext <<_ACEOF
45708 /* end confdefs.h. */
45709
45710 /* Override any GCC internal prototype to avoid an error.
45711 Use char because int might match the return type of a GCC
45712 builtin and then its argument prototype would still apply. */
45713 #ifdef __cplusplus
45714 extern "C"
45715 #endif
45716 char socket ();
45717 int
45718 main ()
45719 {
45720 return socket ();
45721 ;
45722 return 0;
45723 }
45724 _ACEOF
45725 rm -f conftest.$ac_objext conftest$ac_exeext
45726 if { (ac_try="$ac_link"
45727 case "(($ac_try" in
45728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45729 *) ac_try_echo=$ac_try;;
45730 esac
45731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45732 (eval "$ac_link") 2>conftest.er1
45733 ac_status=$?
45734 grep -v '^ *+' conftest.er1 >conftest.err
45735 rm -f conftest.er1
45736 cat conftest.err >&5
45737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45738 (exit $ac_status); } && {
45739 test -z "$ac_c_werror_flag" ||
45740 test ! -s conftest.err
45741 } && test -s conftest$ac_exeext &&
45742 $as_test_x conftest$ac_exeext; then
45743 ac_cv_lib_socket_socket=yes
45744 else
45745 echo "$as_me: failed program was:" >&5
45746 sed 's/^/| /' conftest.$ac_ext >&5
45747
45748 ac_cv_lib_socket_socket=no
45749 fi
45750
45751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45752 conftest$ac_exeext conftest.$ac_ext
45753 LIBS=$ac_check_lib_save_LIBS
45754 fi
45755 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
45756 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
45757 if test $ac_cv_lib_socket_socket = yes; then
45758 if test "$INET_LINK" != " -lsocket"; then
45759 INET_LINK="$INET_LINK -lsocket"
45760 fi
45761 else
45762
45763 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
45764 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
45765 wxUSE_SOCKETS=no
45766
45767
45768 fi
45769
45770
45771
45772 fi
45773
45774 fi
45775 fi
45776
45777 if test "$wxUSE_SOCKETS" = "yes" ; then
45778 if test "$TOOLKIT" != "MSW"; then
45779 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
45780 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
45781 if test "${wx_cv_type_getsockname3+set}" = set; then
45782 echo $ECHO_N "(cached) $ECHO_C" >&6
45783 else
45784
45785 ac_ext=cpp
45786 ac_cpp='$CXXCPP $CPPFLAGS'
45787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45790
45791 cat >conftest.$ac_ext <<_ACEOF
45792 /* confdefs.h. */
45793 _ACEOF
45794 cat confdefs.h >>conftest.$ac_ext
45795 cat >>conftest.$ac_ext <<_ACEOF
45796 /* end confdefs.h. */
45797
45798 #include <sys/types.h>
45799 #include <sys/socket.h>
45800
45801 int
45802 main ()
45803 {
45804
45805 socklen_t len;
45806 getsockname(0, 0, &len);
45807
45808 ;
45809 return 0;
45810 }
45811 _ACEOF
45812 rm -f conftest.$ac_objext
45813 if { (ac_try="$ac_compile"
45814 case "(($ac_try" in
45815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45816 *) ac_try_echo=$ac_try;;
45817 esac
45818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45819 (eval "$ac_compile") 2>conftest.er1
45820 ac_status=$?
45821 grep -v '^ *+' conftest.er1 >conftest.err
45822 rm -f conftest.er1
45823 cat conftest.err >&5
45824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45825 (exit $ac_status); } && {
45826 test -z "$ac_cxx_werror_flag" ||
45827 test ! -s conftest.err
45828 } && test -s conftest.$ac_objext; then
45829 wx_cv_type_getsockname3=socklen_t
45830 else
45831 echo "$as_me: failed program was:" >&5
45832 sed 's/^/| /' conftest.$ac_ext >&5
45833
45834
45835 CFLAGS_OLD="$CFLAGS"
45836 if test "$GCC" = yes ; then
45837 CFLAGS="-Werror $CFLAGS"
45838 fi
45839
45840 cat >conftest.$ac_ext <<_ACEOF
45841 /* confdefs.h. */
45842 _ACEOF
45843 cat confdefs.h >>conftest.$ac_ext
45844 cat >>conftest.$ac_ext <<_ACEOF
45845 /* end confdefs.h. */
45846
45847 #include <sys/types.h>
45848 #include <sys/socket.h>
45849
45850 int
45851 main ()
45852 {
45853
45854 size_t len;
45855 getsockname(0, 0, &len);
45856
45857 ;
45858 return 0;
45859 }
45860 _ACEOF
45861 rm -f conftest.$ac_objext
45862 if { (ac_try="$ac_compile"
45863 case "(($ac_try" in
45864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45865 *) ac_try_echo=$ac_try;;
45866 esac
45867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45868 (eval "$ac_compile") 2>conftest.er1
45869 ac_status=$?
45870 grep -v '^ *+' conftest.er1 >conftest.err
45871 rm -f conftest.er1
45872 cat conftest.err >&5
45873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45874 (exit $ac_status); } && {
45875 test -z "$ac_cxx_werror_flag" ||
45876 test ! -s conftest.err
45877 } && test -s conftest.$ac_objext; then
45878 wx_cv_type_getsockname3=size_t
45879 else
45880 echo "$as_me: failed program was:" >&5
45881 sed 's/^/| /' conftest.$ac_ext >&5
45882
45883 cat >conftest.$ac_ext <<_ACEOF
45884 /* confdefs.h. */
45885 _ACEOF
45886 cat confdefs.h >>conftest.$ac_ext
45887 cat >>conftest.$ac_ext <<_ACEOF
45888 /* end confdefs.h. */
45889
45890 #include <sys/types.h>
45891 #include <sys/socket.h>
45892
45893 int
45894 main ()
45895 {
45896
45897 int len;
45898 getsockname(0, 0, &len);
45899
45900 ;
45901 return 0;
45902 }
45903 _ACEOF
45904 rm -f conftest.$ac_objext
45905 if { (ac_try="$ac_compile"
45906 case "(($ac_try" in
45907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45908 *) ac_try_echo=$ac_try;;
45909 esac
45910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45911 (eval "$ac_compile") 2>conftest.er1
45912 ac_status=$?
45913 grep -v '^ *+' conftest.er1 >conftest.err
45914 rm -f conftest.er1
45915 cat conftest.err >&5
45916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45917 (exit $ac_status); } && {
45918 test -z "$ac_cxx_werror_flag" ||
45919 test ! -s conftest.err
45920 } && test -s conftest.$ac_objext; then
45921 wx_cv_type_getsockname3=int
45922 else
45923 echo "$as_me: failed program was:" >&5
45924 sed 's/^/| /' conftest.$ac_ext >&5
45925
45926 wx_cv_type_getsockname3=unknown
45927
45928 fi
45929
45930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45931
45932 fi
45933
45934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45935
45936 CFLAGS="$CFLAGS_OLD"
45937
45938
45939 fi
45940
45941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45942 ac_ext=c
45943 ac_cpp='$CPP $CPPFLAGS'
45944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45947
45948
45949 fi
45950 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45951 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
45952
45953 if test "$wx_cv_type_getsockname3" = "unknown"; then
45954 wxUSE_SOCKETS=no
45955 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45956 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45957 else
45958 cat >>confdefs.h <<_ACEOF
45959 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45960 _ACEOF
45961
45962 fi
45963 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45964 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
45965 if test "${wx_cv_type_getsockopt5+set}" = set; then
45966 echo $ECHO_N "(cached) $ECHO_C" >&6
45967 else
45968
45969 ac_ext=cpp
45970 ac_cpp='$CXXCPP $CPPFLAGS'
45971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45974
45975 cat >conftest.$ac_ext <<_ACEOF
45976 /* confdefs.h. */
45977 _ACEOF
45978 cat confdefs.h >>conftest.$ac_ext
45979 cat >>conftest.$ac_ext <<_ACEOF
45980 /* end confdefs.h. */
45981
45982 #include <sys/types.h>
45983 #include <sys/socket.h>
45984
45985 int
45986 main ()
45987 {
45988
45989 socklen_t len;
45990 getsockopt(0, 0, 0, 0, &len);
45991
45992 ;
45993 return 0;
45994 }
45995 _ACEOF
45996 rm -f conftest.$ac_objext
45997 if { (ac_try="$ac_compile"
45998 case "(($ac_try" in
45999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46000 *) ac_try_echo=$ac_try;;
46001 esac
46002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46003 (eval "$ac_compile") 2>conftest.er1
46004 ac_status=$?
46005 grep -v '^ *+' conftest.er1 >conftest.err
46006 rm -f conftest.er1
46007 cat conftest.err >&5
46008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46009 (exit $ac_status); } && {
46010 test -z "$ac_cxx_werror_flag" ||
46011 test ! -s conftest.err
46012 } && test -s conftest.$ac_objext; then
46013 wx_cv_type_getsockopt5=socklen_t
46014 else
46015 echo "$as_me: failed program was:" >&5
46016 sed 's/^/| /' conftest.$ac_ext >&5
46017
46018
46019 cat >conftest.$ac_ext <<_ACEOF
46020 /* confdefs.h. */
46021 _ACEOF
46022 cat confdefs.h >>conftest.$ac_ext
46023 cat >>conftest.$ac_ext <<_ACEOF
46024 /* end confdefs.h. */
46025
46026 #include <sys/types.h>
46027 #include <sys/socket.h>
46028
46029 int
46030 main ()
46031 {
46032
46033 size_t len;
46034 getsockopt(0, 0, 0, 0, &len);
46035
46036 ;
46037 return 0;
46038 }
46039 _ACEOF
46040 rm -f conftest.$ac_objext
46041 if { (ac_try="$ac_compile"
46042 case "(($ac_try" in
46043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46044 *) ac_try_echo=$ac_try;;
46045 esac
46046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46047 (eval "$ac_compile") 2>conftest.er1
46048 ac_status=$?
46049 grep -v '^ *+' conftest.er1 >conftest.err
46050 rm -f conftest.er1
46051 cat conftest.err >&5
46052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46053 (exit $ac_status); } && {
46054 test -z "$ac_cxx_werror_flag" ||
46055 test ! -s conftest.err
46056 } && test -s conftest.$ac_objext; then
46057 wx_cv_type_getsockopt5=size_t
46058 else
46059 echo "$as_me: failed program was:" >&5
46060 sed 's/^/| /' conftest.$ac_ext >&5
46061
46062 cat >conftest.$ac_ext <<_ACEOF
46063 /* confdefs.h. */
46064 _ACEOF
46065 cat confdefs.h >>conftest.$ac_ext
46066 cat >>conftest.$ac_ext <<_ACEOF
46067 /* end confdefs.h. */
46068
46069 #include <sys/types.h>
46070 #include <sys/socket.h>
46071
46072 int
46073 main ()
46074 {
46075
46076 int len;
46077 getsockopt(0, 0, 0, 0, &len);
46078
46079 ;
46080 return 0;
46081 }
46082 _ACEOF
46083 rm -f conftest.$ac_objext
46084 if { (ac_try="$ac_compile"
46085 case "(($ac_try" in
46086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46087 *) ac_try_echo=$ac_try;;
46088 esac
46089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46090 (eval "$ac_compile") 2>conftest.er1
46091 ac_status=$?
46092 grep -v '^ *+' conftest.er1 >conftest.err
46093 rm -f conftest.er1
46094 cat conftest.err >&5
46095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46096 (exit $ac_status); } && {
46097 test -z "$ac_cxx_werror_flag" ||
46098 test ! -s conftest.err
46099 } && test -s conftest.$ac_objext; then
46100 wx_cv_type_getsockopt5=int
46101 else
46102 echo "$as_me: failed program was:" >&5
46103 sed 's/^/| /' conftest.$ac_ext >&5
46104
46105 wx_cv_type_getsockopt5=unknown
46106
46107 fi
46108
46109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46110
46111 fi
46112
46113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46114
46115
46116 fi
46117
46118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46119 ac_ext=c
46120 ac_cpp='$CPP $CPPFLAGS'
46121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46124
46125
46126 fi
46127 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46128 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46129
46130 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46131 wxUSE_SOCKETS=no
46132 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46133 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46134 else
46135 cat >>confdefs.h <<_ACEOF
46136 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46137 _ACEOF
46138
46139 fi
46140 fi
46141 fi
46142
46143 if test "$wxUSE_SOCKETS" = "yes" ; then
46144 if test "$wxUSE_IPV6" = "yes"; then
46145 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
46146 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
46147 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
46148 echo $ECHO_N "(cached) $ECHO_C" >&6
46149 else
46150
46151 cat >conftest.$ac_ext <<_ACEOF
46152 /* confdefs.h. */
46153 _ACEOF
46154 cat confdefs.h >>conftest.$ac_ext
46155 cat >>conftest.$ac_ext <<_ACEOF
46156 /* end confdefs.h. */
46157
46158 #include <sys/types.h>
46159 #include <sys/socket.h>
46160 #include <netinet/in.h>
46161
46162 int
46163 main ()
46164 {
46165
46166 struct sockaddr_in6 sa6;
46167
46168 ;
46169 return 0;
46170 }
46171 _ACEOF
46172 rm -f conftest.$ac_objext
46173 if { (ac_try="$ac_compile"
46174 case "(($ac_try" in
46175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46176 *) ac_try_echo=$ac_try;;
46177 esac
46178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46179 (eval "$ac_compile") 2>conftest.er1
46180 ac_status=$?
46181 grep -v '^ *+' conftest.er1 >conftest.err
46182 rm -f conftest.er1
46183 cat conftest.err >&5
46184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46185 (exit $ac_status); } && {
46186 test -z "$ac_c_werror_flag" ||
46187 test ! -s conftest.err
46188 } && test -s conftest.$ac_objext; then
46189 wx_cv_type_sockaddr_in6=yes
46190 else
46191 echo "$as_me: failed program was:" >&5
46192 sed 's/^/| /' conftest.$ac_ext >&5
46193
46194 wx_cv_type_sockaddr_in6=no
46195
46196 fi
46197
46198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46199
46200
46201 fi
46202 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
46203 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
46204
46205 if test "$wx_cv_type_sockaddr_in6"="yes"; then
46206 cat >>confdefs.h <<\_ACEOF
46207 #define wxUSE_IPV6 1
46208 _ACEOF
46209
46210 else
46211 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
46212 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
46213 fi
46214 fi
46215
46216 cat >>confdefs.h <<\_ACEOF
46217 #define wxUSE_SOCKETS 1
46218 _ACEOF
46219
46220 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46221 fi
46222
46223 if test "$wxUSE_PROTOCOL" = "yes"; then
46224 if test "$wxUSE_SOCKETS" != "yes"; then
46225 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46226 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46227 wxUSE_PROTOCOL=no
46228 fi
46229 fi
46230
46231 if test "$wxUSE_PROTOCOL" = "yes"; then
46232 cat >>confdefs.h <<\_ACEOF
46233 #define wxUSE_PROTOCOL 1
46234 _ACEOF
46235
46236
46237 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46238 cat >>confdefs.h <<\_ACEOF
46239 #define wxUSE_PROTOCOL_HTTP 1
46240 _ACEOF
46241
46242 fi
46243 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46244 cat >>confdefs.h <<\_ACEOF
46245 #define wxUSE_PROTOCOL_FTP 1
46246 _ACEOF
46247
46248 fi
46249 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46250 cat >>confdefs.h <<\_ACEOF
46251 #define wxUSE_PROTOCOL_FILE 1
46252 _ACEOF
46253
46254 fi
46255 else
46256 if test "$wxUSE_FS_INET" = "yes"; then
46257 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46258 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46259 wxUSE_FS_INET="no"
46260 fi
46261 fi
46262
46263 if test "$wxUSE_URL" = "yes"; then
46264 if test "$wxUSE_PROTOCOL" != "yes"; then
46265 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46266 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46267 wxUSE_URL=no
46268 fi
46269 if test "$wxUSE_URL" = "yes"; then
46270 cat >>confdefs.h <<\_ACEOF
46271 #define wxUSE_URL 1
46272 _ACEOF
46273
46274 fi
46275 fi
46276
46277 if test "$wxUSE_VARIANT" = "yes"; then
46278 cat >>confdefs.h <<\_ACEOF
46279 #define wxUSE_VARIANT 1
46280 _ACEOF
46281
46282 fi
46283
46284 if test "$wxUSE_FS_INET" = "yes"; then
46285 cat >>confdefs.h <<\_ACEOF
46286 #define wxUSE_FS_INET 1
46287 _ACEOF
46288
46289 fi
46290
46291
46292 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46293 wxUSE_JOYSTICK=no
46294
46295 if test "$TOOLKIT" = "MSW"; then
46296 wxUSE_JOYSTICK=yes
46297
46298 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
46299 if test "$USE_DARWIN" = 1; then
46300 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46301 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46302 ac_ext=cpp
46303 ac_cpp='$CXXCPP $CPPFLAGS'
46304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46307
46308 cat >conftest.$ac_ext <<_ACEOF
46309 /* confdefs.h. */
46310 _ACEOF
46311 cat confdefs.h >>conftest.$ac_ext
46312 cat >>conftest.$ac_ext <<_ACEOF
46313 /* end confdefs.h. */
46314 #include <IOKit/hid/IOHIDLib.h>
46315 int
46316 main ()
46317 {
46318 IOHIDQueueInterface *qi = NULL;
46319 IOHIDCallbackFunction cb = NULL;
46320 qi->setEventCallout(NULL, cb, NULL, NULL);
46321 ;
46322 return 0;
46323 }
46324 _ACEOF
46325 rm -f conftest.$ac_objext
46326 if { (ac_try="$ac_compile"
46327 case "(($ac_try" in
46328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46329 *) ac_try_echo=$ac_try;;
46330 esac
46331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46332 (eval "$ac_compile") 2>conftest.er1
46333 ac_status=$?
46334 grep -v '^ *+' conftest.er1 >conftest.err
46335 rm -f conftest.er1
46336 cat conftest.err >&5
46337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46338 (exit $ac_status); } && {
46339 test -z "$ac_cxx_werror_flag" ||
46340 test ! -s conftest.err
46341 } && test -s conftest.$ac_objext; then
46342 wxUSE_JOYSTICK=yes
46343
46344 else
46345 echo "$as_me: failed program was:" >&5
46346 sed 's/^/| /' conftest.$ac_ext >&5
46347
46348
46349 fi
46350
46351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46352 ac_ext=c
46353 ac_cpp='$CPP $CPPFLAGS'
46354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46357
46358 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46359 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46360 fi
46361
46362 else
46363 if test "$wxUSE_MGL" != 1; then
46364
46365 for ac_header in linux/joystick.h
46366 do
46367 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46368 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46369 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46370 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46371 echo $ECHO_N "(cached) $ECHO_C" >&6
46372 else
46373 cat >conftest.$ac_ext <<_ACEOF
46374 /* confdefs.h. */
46375 _ACEOF
46376 cat confdefs.h >>conftest.$ac_ext
46377 cat >>conftest.$ac_ext <<_ACEOF
46378 /* end confdefs.h. */
46379 $ac_includes_default
46380
46381 #include <$ac_header>
46382 _ACEOF
46383 rm -f conftest.$ac_objext
46384 if { (ac_try="$ac_compile"
46385 case "(($ac_try" in
46386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46387 *) ac_try_echo=$ac_try;;
46388 esac
46389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46390 (eval "$ac_compile") 2>conftest.er1
46391 ac_status=$?
46392 grep -v '^ *+' conftest.er1 >conftest.err
46393 rm -f conftest.er1
46394 cat conftest.err >&5
46395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46396 (exit $ac_status); } && {
46397 test -z "$ac_c_werror_flag" ||
46398 test ! -s conftest.err
46399 } && test -s conftest.$ac_objext; then
46400 eval "$as_ac_Header=yes"
46401 else
46402 echo "$as_me: failed program was:" >&5
46403 sed 's/^/| /' conftest.$ac_ext >&5
46404
46405 eval "$as_ac_Header=no"
46406 fi
46407
46408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46409 fi
46410 ac_res=`eval echo '${'$as_ac_Header'}'`
46411 { echo "$as_me:$LINENO: result: $ac_res" >&5
46412 echo "${ECHO_T}$ac_res" >&6; }
46413 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46414 cat >>confdefs.h <<_ACEOF
46415 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46416 _ACEOF
46417 wxUSE_JOYSTICK=yes
46418 fi
46419
46420 done
46421
46422 fi
46423 fi
46424
46425 if test "$wxUSE_JOYSTICK" = "yes"; then
46426 cat >>confdefs.h <<\_ACEOF
46427 #define wxUSE_JOYSTICK 1
46428 _ACEOF
46429
46430 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46431 else
46432 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46433 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46434 fi
46435 fi
46436
46437
46438
46439 if test "$wxUSE_FONTENUM" = "yes" ; then
46440 cat >>confdefs.h <<\_ACEOF
46441 #define wxUSE_FONTENUM 1
46442 _ACEOF
46443
46444 fi
46445
46446 if test "$wxUSE_FONTMAP" = "yes" ; then
46447 cat >>confdefs.h <<\_ACEOF
46448 #define wxUSE_FONTMAP 1
46449 _ACEOF
46450
46451 fi
46452
46453 if test "$wxUSE_UNICODE" = "yes" ; then
46454 cat >>confdefs.h <<\_ACEOF
46455 #define wxUSE_UNICODE 1
46456 _ACEOF
46457
46458
46459 if test "$USE_WIN32" != 1; then
46460 wxUSE_UNICODE_MSLU=no
46461 fi
46462
46463 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46464 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46465 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
46466 if test "${ac_cv_lib_unicows_main+set}" = set; then
46467 echo $ECHO_N "(cached) $ECHO_C" >&6
46468 else
46469 ac_check_lib_save_LIBS=$LIBS
46470 LIBS="-lunicows $LIBS"
46471 cat >conftest.$ac_ext <<_ACEOF
46472 /* confdefs.h. */
46473 _ACEOF
46474 cat confdefs.h >>conftest.$ac_ext
46475 cat >>conftest.$ac_ext <<_ACEOF
46476 /* end confdefs.h. */
46477
46478
46479 int
46480 main ()
46481 {
46482 return main ();
46483 ;
46484 return 0;
46485 }
46486 _ACEOF
46487 rm -f conftest.$ac_objext conftest$ac_exeext
46488 if { (ac_try="$ac_link"
46489 case "(($ac_try" in
46490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46491 *) ac_try_echo=$ac_try;;
46492 esac
46493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46494 (eval "$ac_link") 2>conftest.er1
46495 ac_status=$?
46496 grep -v '^ *+' conftest.er1 >conftest.err
46497 rm -f conftest.er1
46498 cat conftest.err >&5
46499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46500 (exit $ac_status); } && {
46501 test -z "$ac_c_werror_flag" ||
46502 test ! -s conftest.err
46503 } && test -s conftest$ac_exeext &&
46504 $as_test_x conftest$ac_exeext; then
46505 ac_cv_lib_unicows_main=yes
46506 else
46507 echo "$as_me: failed program was:" >&5
46508 sed 's/^/| /' conftest.$ac_ext >&5
46509
46510 ac_cv_lib_unicows_main=no
46511 fi
46512
46513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46514 conftest$ac_exeext conftest.$ac_ext
46515 LIBS=$ac_check_lib_save_LIBS
46516 fi
46517 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46518 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46519 if test $ac_cv_lib_unicows_main = yes; then
46520
46521 cat >>confdefs.h <<\_ACEOF
46522 #define wxUSE_UNICODE_MSLU 1
46523 _ACEOF
46524
46525
46526 else
46527
46528 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46529 Applications will only run on Windows NT/2000/XP!" >&5
46530 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46531 Applications will only run on Windows NT/2000/XP!" >&2;}
46532 wxUSE_UNICODE_MSLU=no
46533
46534 fi
46535
46536 fi
46537 fi
46538
46539 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46540 cat >>confdefs.h <<\_ACEOF
46541 #define wxUSE_UNICODE_UTF8 1
46542 _ACEOF
46543
46544
46545 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46546 cat >>confdefs.h <<\_ACEOF
46547 #define wxUSE_UTF8_LOCALE_ONLY 1
46548 _ACEOF
46549
46550 fi
46551 fi
46552
46553
46554 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46555 cat >>confdefs.h <<\_ACEOF
46556 #define wxUSE_CONSTRAINTS 1
46557 _ACEOF
46558
46559 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
46560 fi
46561
46562 if test "$wxUSE_MDI" = "yes"; then
46563 cat >>confdefs.h <<\_ACEOF
46564 #define wxUSE_MDI 1
46565 _ACEOF
46566
46567
46568 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46569 cat >>confdefs.h <<\_ACEOF
46570 #define wxUSE_MDI_ARCHITECTURE 1
46571 _ACEOF
46572
46573 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
46574 fi
46575 fi
46576
46577 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46578 cat >>confdefs.h <<\_ACEOF
46579 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46580 _ACEOF
46581
46582 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
46583 fi
46584
46585 if test "$wxUSE_HELP" = "yes"; then
46586 cat >>confdefs.h <<\_ACEOF
46587 #define wxUSE_HELP 1
46588 _ACEOF
46589
46590 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
46591
46592 if test "$wxUSE_MSW" = 1; then
46593 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46594 cat >>confdefs.h <<\_ACEOF
46595 #define wxUSE_MS_HTML_HELP 1
46596 _ACEOF
46597
46598 fi
46599 fi
46600
46601 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46602 if test "$wxUSE_HTML" = "yes"; then
46603 cat >>confdefs.h <<\_ACEOF
46604 #define wxUSE_WXHTML_HELP 1
46605 _ACEOF
46606
46607 else
46608 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46609 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46610 wxUSE_WXHTML_HELP=no
46611 fi
46612 fi
46613 fi
46614
46615 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46616 cat >>confdefs.h <<\_ACEOF
46617 #define wxUSE_PRINTING_ARCHITECTURE 1
46618 _ACEOF
46619
46620 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
46621 fi
46622
46623 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46624 cat >>confdefs.h <<\_ACEOF
46625 #define wxUSE_POSTSCRIPT 1
46626 _ACEOF
46627
46628 fi
46629
46630 cat >>confdefs.h <<\_ACEOF
46631 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46632 _ACEOF
46633
46634
46635 if test "$wxUSE_SVG" = "yes"; then
46636 cat >>confdefs.h <<\_ACEOF
46637 #define wxUSE_SVG 1
46638 _ACEOF
46639
46640 fi
46641
46642
46643 if test "$wxUSE_METAFILE" = "yes"; then
46644 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46645 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46646 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46647 wxUSE_METAFILE=no
46648 fi
46649 fi
46650
46651
46652 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
46653 -o "$wxUSE_CLIPBOARD" = "yes" \
46654 -o "$wxUSE_OLE" = "yes" \
46655 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
46656 { echo "$as_me:$LINENO: checking for ole2.h" >&5
46657 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
46658 if test "${ac_cv_header_ole2_h+set}" = set; then
46659 echo $ECHO_N "(cached) $ECHO_C" >&6
46660 else
46661 cat >conftest.$ac_ext <<_ACEOF
46662 /* confdefs.h. */
46663 _ACEOF
46664 cat confdefs.h >>conftest.$ac_ext
46665 cat >>conftest.$ac_ext <<_ACEOF
46666 /* end confdefs.h. */
46667
46668
46669 #include <ole2.h>
46670 _ACEOF
46671 rm -f conftest.$ac_objext
46672 if { (ac_try="$ac_compile"
46673 case "(($ac_try" in
46674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46675 *) ac_try_echo=$ac_try;;
46676 esac
46677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46678 (eval "$ac_compile") 2>conftest.er1
46679 ac_status=$?
46680 grep -v '^ *+' conftest.er1 >conftest.err
46681 rm -f conftest.er1
46682 cat conftest.err >&5
46683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46684 (exit $ac_status); } && {
46685 test -z "$ac_c_werror_flag" ||
46686 test ! -s conftest.err
46687 } && test -s conftest.$ac_objext; then
46688 ac_cv_header_ole2_h=yes
46689 else
46690 echo "$as_me: failed program was:" >&5
46691 sed 's/^/| /' conftest.$ac_ext >&5
46692
46693 ac_cv_header_ole2_h=no
46694 fi
46695
46696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46697 fi
46698 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
46699 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
46700
46701
46702
46703 if test "$ac_cv_header_ole2_h" = "yes" ; then
46704 if test "$GCC" = yes ; then
46705 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46706 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
46707 cat >conftest.$ac_ext <<_ACEOF
46708 /* confdefs.h. */
46709 _ACEOF
46710 cat confdefs.h >>conftest.$ac_ext
46711 cat >>conftest.$ac_ext <<_ACEOF
46712 /* end confdefs.h. */
46713 #include <windows.h>
46714 #include <ole2.h>
46715 int
46716 main ()
46717 {
46718
46719 ;
46720 return 0;
46721 }
46722 _ACEOF
46723 rm -f conftest.$ac_objext
46724 if { (ac_try="$ac_compile"
46725 case "(($ac_try" in
46726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46727 *) ac_try_echo=$ac_try;;
46728 esac
46729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46730 (eval "$ac_compile") 2>conftest.er1
46731 ac_status=$?
46732 grep -v '^ *+' conftest.er1 >conftest.err
46733 rm -f conftest.er1
46734 cat conftest.err >&5
46735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46736 (exit $ac_status); } && {
46737 test -z "$ac_c_werror_flag" ||
46738 test ! -s conftest.err
46739 } && test -s conftest.$ac_objext; then
46740 { echo "$as_me:$LINENO: result: no" >&5
46741 echo "${ECHO_T}no" >&6; }
46742 else
46743 echo "$as_me: failed program was:" >&5
46744 sed 's/^/| /' conftest.$ac_ext >&5
46745
46746 { echo "$as_me:$LINENO: result: yes" >&5
46747 echo "${ECHO_T}yes" >&6; }
46748 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46749 fi
46750
46751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46752 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46753 if test "$wxUSE_OLE" = "yes" ; then
46754 cat >>confdefs.h <<\_ACEOF
46755 #define wxUSE_OLE 1
46756 _ACEOF
46757
46758 cat >>confdefs.h <<\_ACEOF
46759 #define wxUSE_OLE_AUTOMATION 1
46760 _ACEOF
46761
46762 cat >>confdefs.h <<\_ACEOF
46763 #define wxUSE_ACTIVEX 1
46764 _ACEOF
46765
46766 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
46767 fi
46768 fi
46769
46770 if test "$wxUSE_DATAOBJ" = "yes" ; then
46771 cat >>confdefs.h <<\_ACEOF
46772 #define wxUSE_DATAOBJ 1
46773 _ACEOF
46774
46775 fi
46776 else
46777 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46778 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46779
46780 wxUSE_CLIPBOARD=no
46781 wxUSE_DRAG_AND_DROP=no
46782 wxUSE_DATAOBJ=no
46783 wxUSE_OLE=no
46784 fi
46785
46786 if test "$wxUSE_METAFILE" = "yes"; then
46787 cat >>confdefs.h <<\_ACEOF
46788 #define wxUSE_METAFILE 1
46789 _ACEOF
46790
46791
46792 cat >>confdefs.h <<\_ACEOF
46793 #define wxUSE_ENH_METAFILE 1
46794 _ACEOF
46795
46796 fi
46797 fi
46798
46799 if test "$wxUSE_IPC" = "yes"; then
46800 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46801 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46802 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46803 wxUSE_IPC=no
46804 fi
46805
46806 if test "$wxUSE_IPC" = "yes"; then
46807 cat >>confdefs.h <<\_ACEOF
46808 #define wxUSE_IPC 1
46809 _ACEOF
46810
46811 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46812 fi
46813 fi
46814
46815 if test "$wxUSE_DATAOBJ" = "yes"; then
46816 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46817 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
46818 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
46819 wxUSE_DATAOBJ=no
46820 else
46821 cat >>confdefs.h <<\_ACEOF
46822 #define wxUSE_DATAOBJ 1
46823 _ACEOF
46824
46825 fi
46826 else
46827 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46828 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46829 wxUSE_CLIPBOARD=no
46830 wxUSE_DRAG_AND_DROP=no
46831 fi
46832
46833 if test "$wxUSE_CLIPBOARD" = "yes"; then
46834 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46835 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
46836 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
46837 wxUSE_CLIPBOARD=no
46838 fi
46839
46840 if test "$wxUSE_CLIPBOARD" = "yes"; then
46841 cat >>confdefs.h <<\_ACEOF
46842 #define wxUSE_CLIPBOARD 1
46843 _ACEOF
46844
46845 fi
46846 fi
46847
46848 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46849 if test "$wxUSE_GTK" = 1; then
46850 if test "$WXGTK12" != 1; then
46851 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46852 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46853 wxUSE_DRAG_AND_DROP=no
46854 fi
46855 fi
46856
46857 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
46858 "$wxUSE_DFB" = 1; then
46859 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
46860 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
46861 wxUSE_DRAG_AND_DROP=no
46862 fi
46863
46864 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46865 cat >>confdefs.h <<\_ACEOF
46866 #define wxUSE_DRAG_AND_DROP 1
46867 _ACEOF
46868
46869 fi
46870
46871 fi
46872
46873 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46874 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
46875 fi
46876
46877 if test "$wxUSE_CLIPBOARD" = "yes"; then
46878 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
46879 fi
46880
46881 if test "$wxUSE_SPLINES" = "yes" ; then
46882 cat >>confdefs.h <<\_ACEOF
46883 #define wxUSE_SPLINES 1
46884 _ACEOF
46885
46886 fi
46887
46888 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46889 cat >>confdefs.h <<\_ACEOF
46890 #define wxUSE_MOUSEWHEEL 1
46891 _ACEOF
46892
46893 fi
46894
46895 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
46896 cat >>confdefs.h <<\_ACEOF
46897 #define wxUSE_UIACTIONSIMULATOR 1
46898 _ACEOF
46899
46900 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
46901 fi
46902
46903
46904 USES_CONTROLS=0
46905 if test "$wxUSE_CONTROLS" = "yes"; then
46906 USES_CONTROLS=1
46907 fi
46908
46909 if test "$wxUSE_ACCEL" = "yes"; then
46910 cat >>confdefs.h <<\_ACEOF
46911 #define wxUSE_ACCEL 1
46912 _ACEOF
46913
46914 USES_CONTROLS=1
46915 fi
46916
46917 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46918 cat >>confdefs.h <<\_ACEOF
46919 #define wxUSE_ANIMATIONCTRL 1
46920 _ACEOF
46921
46922 USES_CONTROLS=1
46923 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
46924 fi
46925
46926 if test "$wxUSE_BUTTON" = "yes"; then
46927 cat >>confdefs.h <<\_ACEOF
46928 #define wxUSE_BUTTON 1
46929 _ACEOF
46930
46931 USES_CONTROLS=1
46932 fi
46933
46934 if test "$wxUSE_BMPBUTTON" = "yes"; then
46935 cat >>confdefs.h <<\_ACEOF
46936 #define wxUSE_BMPBUTTON 1
46937 _ACEOF
46938
46939 USES_CONTROLS=1
46940 fi
46941
46942 if test "$wxUSE_CALCTRL" = "yes"; then
46943 cat >>confdefs.h <<\_ACEOF
46944 #define wxUSE_CALENDARCTRL 1
46945 _ACEOF
46946
46947 USES_CONTROLS=1
46948 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
46949 fi
46950
46951 if test "$wxUSE_CARET" = "yes"; then
46952 cat >>confdefs.h <<\_ACEOF
46953 #define wxUSE_CARET 1
46954 _ACEOF
46955
46956 USES_CONTROLS=1
46957 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
46958 fi
46959
46960 if test "$wxUSE_COLLPANE" = "yes"; then
46961 cat >>confdefs.h <<\_ACEOF
46962 #define wxUSE_COLLPANE 1
46963 _ACEOF
46964
46965 USES_CONTROLS=1
46966 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
46967 fi
46968
46969 if test "$wxUSE_COMBOBOX" = "yes"; then
46970 cat >>confdefs.h <<\_ACEOF
46971 #define wxUSE_COMBOBOX 1
46972 _ACEOF
46973
46974 USES_CONTROLS=1
46975 fi
46976
46977 if test "$wxUSE_COMBOCTRL" = "yes"; then
46978 cat >>confdefs.h <<\_ACEOF
46979 #define wxUSE_COMBOCTRL 1
46980 _ACEOF
46981
46982 USES_CONTROLS=1
46983 fi
46984
46985 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
46986 cat >>confdefs.h <<\_ACEOF
46987 #define wxUSE_COMMANDLINKBUTTON 1
46988 _ACEOF
46989
46990 USES_CONTROLS=1
46991 fi
46992
46993 if test "$wxUSE_CHOICE" = "yes"; then
46994 cat >>confdefs.h <<\_ACEOF
46995 #define wxUSE_CHOICE 1
46996 _ACEOF
46997
46998 USES_CONTROLS=1
46999 fi
47000
47001 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47002 cat >>confdefs.h <<\_ACEOF
47003 #define wxUSE_CHOICEBOOK 1
47004 _ACEOF
47005
47006 USES_CONTROLS=1
47007 fi
47008
47009 if test "$wxUSE_CHECKBOX" = "yes"; then
47010 cat >>confdefs.h <<\_ACEOF
47011 #define wxUSE_CHECKBOX 1
47012 _ACEOF
47013
47014 USES_CONTROLS=1
47015 fi
47016
47017 if test "$wxUSE_CHECKLST" = "yes"; then
47018 cat >>confdefs.h <<\_ACEOF
47019 #define wxUSE_CHECKLISTBOX 1
47020 _ACEOF
47021
47022 USES_CONTROLS=1
47023 fi
47024
47025 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47026 cat >>confdefs.h <<\_ACEOF
47027 #define wxUSE_COLOURPICKERCTRL 1
47028 _ACEOF
47029
47030 USES_CONTROLS=1
47031 fi
47032
47033 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47034 cat >>confdefs.h <<\_ACEOF
47035 #define wxUSE_DATEPICKCTRL 1
47036 _ACEOF
47037
47038 USES_CONTROLS=1
47039 fi
47040
47041 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47042 cat >>confdefs.h <<\_ACEOF
47043 #define wxUSE_DIRPICKERCTRL 1
47044 _ACEOF
47045
47046 USES_CONTROLS=1
47047 fi
47048
47049 if test "$wxUSE_FILECTRL" = "yes"; then
47050 cat >>confdefs.h <<\_ACEOF
47051 #define wxUSE_FILECTRL 1
47052 _ACEOF
47053
47054 USES_CONTROLS=1
47055 fi
47056
47057 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47058 cat >>confdefs.h <<\_ACEOF
47059 #define wxUSE_FILEPICKERCTRL 1
47060 _ACEOF
47061
47062 USES_CONTROLS=1
47063 fi
47064
47065 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47066 cat >>confdefs.h <<\_ACEOF
47067 #define wxUSE_FONTPICKERCTRL 1
47068 _ACEOF
47069
47070 USES_CONTROLS=1
47071 fi
47072
47073 if test "$wxUSE_DISPLAY" = "yes"; then
47074 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47075 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47076 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47077 wxUSE_DISPLAY=no
47078 else
47079 cat >>confdefs.h <<\_ACEOF
47080 #define wxUSE_DISPLAY 1
47081 _ACEOF
47082
47083 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
47084 fi
47085 fi
47086
47087 if test "$wxUSE_DETECT_SM" = "yes"; then
47088 cat >>confdefs.h <<\_ACEOF
47089 #define wxUSE_DETECT_SM 1
47090 _ACEOF
47091
47092 fi
47093
47094 if test "$wxUSE_GAUGE" = "yes"; then
47095 cat >>confdefs.h <<\_ACEOF
47096 #define wxUSE_GAUGE 1
47097 _ACEOF
47098
47099 USES_CONTROLS=1
47100 fi
47101
47102 if test "$wxUSE_GRID" = "yes"; then
47103 cat >>confdefs.h <<\_ACEOF
47104 #define wxUSE_GRID 1
47105 _ACEOF
47106
47107 USES_CONTROLS=1
47108 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47109 fi
47110
47111 if test "$wxUSE_HEADERCTRL" = "yes"; then
47112 cat >>confdefs.h <<\_ACEOF
47113 #define wxUSE_HEADERCTRL 1
47114 _ACEOF
47115
47116 USES_CONTROLS=1
47117 fi
47118
47119 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47120 cat >>confdefs.h <<\_ACEOF
47121 #define wxUSE_HYPERLINKCTRL 1
47122 _ACEOF
47123
47124 USES_CONTROLS=1
47125 fi
47126
47127 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47128 cat >>confdefs.h <<\_ACEOF
47129 #define wxUSE_BITMAPCOMBOBOX 1
47130 _ACEOF
47131
47132 USES_CONTROLS=1
47133 fi
47134
47135 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47136 cat >>confdefs.h <<\_ACEOF
47137 #define wxUSE_DATAVIEWCTRL 1
47138 _ACEOF
47139
47140 USES_CONTROLS=1
47141 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47142 fi
47143
47144 if test "$wxUSE_IMAGLIST" = "yes"; then
47145 cat >>confdefs.h <<\_ACEOF
47146 #define wxUSE_IMAGLIST 1
47147 _ACEOF
47148
47149 fi
47150
47151 if test "$wxUSE_INFOBAR" = "yes"; then
47152 cat >>confdefs.h <<\_ACEOF
47153 #define wxUSE_INFOBAR 1
47154 _ACEOF
47155
47156 fi
47157
47158 if test "$wxUSE_LISTBOOK" = "yes"; then
47159 cat >>confdefs.h <<\_ACEOF
47160 #define wxUSE_LISTBOOK 1
47161 _ACEOF
47162
47163 USES_CONTROLS=1
47164 fi
47165
47166 if test "$wxUSE_LISTBOX" = "yes"; then
47167 cat >>confdefs.h <<\_ACEOF
47168 #define wxUSE_LISTBOX 1
47169 _ACEOF
47170
47171 USES_CONTROLS=1
47172 fi
47173
47174 if test "$wxUSE_LISTCTRL" = "yes"; then
47175 if test "$wxUSE_IMAGLIST" = "yes"; then
47176 cat >>confdefs.h <<\_ACEOF
47177 #define wxUSE_LISTCTRL 1
47178 _ACEOF
47179
47180 USES_CONTROLS=1
47181 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47182 else
47183 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47184 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47185 fi
47186 fi
47187
47188 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47189 cat >>confdefs.h <<\_ACEOF
47190 #define wxUSE_EDITABLELISTBOX 1
47191 _ACEOF
47192
47193 USES_CONTROLS=1
47194 fi
47195
47196 if test "$wxUSE_NOTEBOOK" = "yes"; then
47197 cat >>confdefs.h <<\_ACEOF
47198 #define wxUSE_NOTEBOOK 1
47199 _ACEOF
47200
47201 USES_CONTROLS=1
47202 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47203 fi
47204
47205 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
47206 cat >>confdefs.h <<\_ACEOF
47207 #define wxUSE_NOTIFICATION_MESSAGE 1
47208 _ACEOF
47209
47210 fi
47211
47212 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47213 cat >>confdefs.h <<\_ACEOF
47214 #define wxUSE_ODCOMBOBOX 1
47215 _ACEOF
47216
47217 USES_CONTROLS=1
47218 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47219 fi
47220
47221 if test "$wxUSE_RADIOBOX" = "yes"; then
47222 cat >>confdefs.h <<\_ACEOF
47223 #define wxUSE_RADIOBOX 1
47224 _ACEOF
47225
47226 USES_CONTROLS=1
47227 fi
47228
47229 if test "$wxUSE_RADIOBTN" = "yes"; then
47230 cat >>confdefs.h <<\_ACEOF
47231 #define wxUSE_RADIOBTN 1
47232 _ACEOF
47233
47234 USES_CONTROLS=1
47235 fi
47236
47237 if test "$wxUSE_REARRANGECTRL" = "yes"; then
47238 cat >>confdefs.h <<\_ACEOF
47239 #define wxUSE_REARRANGECTRL 1
47240 _ACEOF
47241
47242 fi
47243
47244 if test "$wxUSE_RICHMSGDLG" = "yes"; then
47245 cat >>confdefs.h <<\_ACEOF
47246 #define wxUSE_RICHMSGDLG 1
47247 _ACEOF
47248
47249 fi
47250
47251 if test "$wxUSE_SASH" = "yes"; then
47252 cat >>confdefs.h <<\_ACEOF
47253 #define wxUSE_SASH 1
47254 _ACEOF
47255
47256 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47257 fi
47258
47259 if test "$wxUSE_SCROLLBAR" = "yes"; then
47260 cat >>confdefs.h <<\_ACEOF
47261 #define wxUSE_SCROLLBAR 1
47262 _ACEOF
47263
47264 USES_CONTROLS=1
47265 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
47266 fi
47267
47268 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47269 cat >>confdefs.h <<\_ACEOF
47270 #define wxUSE_SEARCHCTRL 1
47271 _ACEOF
47272
47273 USES_CONTROLS=1
47274 fi
47275
47276 if test "$wxUSE_SLIDER" = "yes"; then
47277 cat >>confdefs.h <<\_ACEOF
47278 #define wxUSE_SLIDER 1
47279 _ACEOF
47280
47281 USES_CONTROLS=1
47282 fi
47283
47284 if test "$wxUSE_SPINBTN" = "yes"; then
47285 cat >>confdefs.h <<\_ACEOF
47286 #define wxUSE_SPINBTN 1
47287 _ACEOF
47288
47289 USES_CONTROLS=1
47290 fi
47291
47292 if test "$wxUSE_SPINCTRL" = "yes"; then
47293 cat >>confdefs.h <<\_ACEOF
47294 #define wxUSE_SPINCTRL 1
47295 _ACEOF
47296
47297 USES_CONTROLS=1
47298 fi
47299
47300 if test "$wxUSE_SPLITTER" = "yes"; then
47301 cat >>confdefs.h <<\_ACEOF
47302 #define wxUSE_SPLITTER 1
47303 _ACEOF
47304
47305 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
47306 fi
47307
47308 if test "$wxUSE_STATBMP" = "yes"; then
47309 cat >>confdefs.h <<\_ACEOF
47310 #define wxUSE_STATBMP 1
47311 _ACEOF
47312
47313 USES_CONTROLS=1
47314 fi
47315
47316 if test "$wxUSE_STATBOX" = "yes"; then
47317 cat >>confdefs.h <<\_ACEOF
47318 #define wxUSE_STATBOX 1
47319 _ACEOF
47320
47321 USES_CONTROLS=1
47322 fi
47323
47324 if test "$wxUSE_STATTEXT" = "yes"; then
47325 cat >>confdefs.h <<\_ACEOF
47326 #define wxUSE_STATTEXT 1
47327 _ACEOF
47328
47329 USES_CONTROLS=1
47330 fi
47331
47332 if test "$wxUSE_STATLINE" = "yes"; then
47333 cat >>confdefs.h <<\_ACEOF
47334 #define wxUSE_STATLINE 1
47335 _ACEOF
47336
47337 USES_CONTROLS=1
47338 fi
47339
47340 if test "$wxUSE_STATUSBAR" = "yes"; then
47341 cat >>confdefs.h <<\_ACEOF
47342 #define wxUSE_NATIVE_STATUSBAR 1
47343 _ACEOF
47344
47345 cat >>confdefs.h <<\_ACEOF
47346 #define wxUSE_STATUSBAR 1
47347 _ACEOF
47348
47349 USES_CONTROLS=1
47350
47351 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
47352 fi
47353
47354 if test "$wxUSE_TEXTCTRL" = "yes"; then
47355 cat >>confdefs.h <<\_ACEOF
47356 #define wxUSE_TEXTCTRL 1
47357 _ACEOF
47358
47359 USES_CONTROLS=1
47360 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
47361
47362 cat >>confdefs.h <<\_ACEOF
47363 #define wxUSE_RICHEDIT 1
47364 _ACEOF
47365
47366 cat >>confdefs.h <<\_ACEOF
47367 #define wxUSE_RICHEDIT2 1
47368 _ACEOF
47369
47370 fi
47371
47372 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47373 if test "$wxUSE_OLD_COCOA" = 1 ; then
47374 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47375 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47376 wxUSE_TOGGLEBTN=no
47377 fi
47378
47379 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47380 cat >>confdefs.h <<\_ACEOF
47381 #define wxUSE_TOGGLEBTN 1
47382 _ACEOF
47383
47384 USES_CONTROLS=1
47385 fi
47386 fi
47387
47388 if test "$wxUSE_TOOLBAR" = "yes"; then
47389 cat >>confdefs.h <<\_ACEOF
47390 #define wxUSE_TOOLBAR 1
47391 _ACEOF
47392
47393 USES_CONTROLS=1
47394
47395 if test "$wxUSE_UNIVERSAL" = "yes"; then
47396 wxUSE_TOOLBAR_NATIVE="no"
47397 else
47398 wxUSE_TOOLBAR_NATIVE="yes"
47399 cat >>confdefs.h <<\_ACEOF
47400 #define wxUSE_TOOLBAR_NATIVE 1
47401 _ACEOF
47402
47403 fi
47404
47405 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
47406 fi
47407
47408 if test "$wxUSE_TOOLTIPS" = "yes"; then
47409 if test "$wxUSE_MOTIF" = 1; then
47410 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47411 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47412 else
47413 if test "$wxUSE_UNIVERSAL" = "yes"; then
47414 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47415 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47416 else
47417 cat >>confdefs.h <<\_ACEOF
47418 #define wxUSE_TOOLTIPS 1
47419 _ACEOF
47420
47421 fi
47422 fi
47423 fi
47424
47425 if test "$wxUSE_TREEBOOK" = "yes"; then
47426 cat >>confdefs.h <<\_ACEOF
47427 #define wxUSE_TREEBOOK 1
47428 _ACEOF
47429
47430 USES_CONTROLS=1
47431 fi
47432
47433 if test "$wxUSE_TOOLBOOK" = "yes"; then
47434 cat >>confdefs.h <<\_ACEOF
47435 #define wxUSE_TOOLBOOK 1
47436 _ACEOF
47437
47438 USES_CONTROLS=1
47439 fi
47440
47441 if test "$wxUSE_TREECTRL" = "yes"; then
47442 if test "$wxUSE_IMAGLIST" = "yes"; then
47443 cat >>confdefs.h <<\_ACEOF
47444 #define wxUSE_TREECTRL 1
47445 _ACEOF
47446
47447 USES_CONTROLS=1
47448 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
47449 else
47450 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47451 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47452 fi
47453 fi
47454
47455 if test "$wxUSE_POPUPWIN" = "yes"; then
47456 if test "$wxUSE_OLD_COCOA" = 1 ; then
47457 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47458 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47459 else
47460 if test "$wxUSE_PM" = 1; then
47461 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47462 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47463 else
47464 cat >>confdefs.h <<\_ACEOF
47465 #define wxUSE_POPUPWIN 1
47466 _ACEOF
47467
47468 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
47469
47470 USES_CONTROLS=1
47471 fi
47472 fi
47473 fi
47474
47475 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47476 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47477 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47478 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47479 else
47480 cat >>confdefs.h <<\_ACEOF
47481 #define wxUSE_DIALUP_MANAGER 1
47482 _ACEOF
47483
47484 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
47485 fi
47486 fi
47487
47488 if test "$wxUSE_TIPWINDOW" = "yes"; then
47489 if test "$wxUSE_PM" = 1; then
47490 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47491 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47492 else
47493 cat >>confdefs.h <<\_ACEOF
47494 #define wxUSE_TIPWINDOW 1
47495 _ACEOF
47496
47497 fi
47498 fi
47499
47500 if test "$USES_CONTROLS" = 1; then
47501 cat >>confdefs.h <<\_ACEOF
47502 #define wxUSE_CONTROLS 1
47503 _ACEOF
47504
47505 fi
47506
47507
47508 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47509 cat >>confdefs.h <<\_ACEOF
47510 #define wxUSE_ACCESSIBILITY 1
47511 _ACEOF
47512
47513 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
47514 fi
47515
47516 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47517 cat >>confdefs.h <<\_ACEOF
47518 #define wxUSE_DRAGIMAGE 1
47519 _ACEOF
47520
47521 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
47522 fi
47523
47524 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47525 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47526 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47527 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47528 else
47529 cat >>confdefs.h <<\_ACEOF
47530 #define wxUSE_EXCEPTIONS 1
47531 _ACEOF
47532
47533 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
47534 fi
47535 fi
47536
47537 USE_HTML=0
47538 if test "$wxUSE_HTML" = "yes"; then
47539 cat >>confdefs.h <<\_ACEOF
47540 #define wxUSE_HTML 1
47541 _ACEOF
47542
47543 USE_HTML=1
47544 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47545 fi
47546 if test "$wxUSE_WEBKIT" = "yes"; then
47547 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47548 old_CPPFLAGS="$CPPFLAGS"
47549 CPPFLAGS="-x objective-c++ $CPPFLAGS"
47550 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47551 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
47552 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47553 echo $ECHO_N "(cached) $ECHO_C" >&6
47554 else
47555 cat >conftest.$ac_ext <<_ACEOF
47556 /* confdefs.h. */
47557 _ACEOF
47558 cat confdefs.h >>conftest.$ac_ext
47559 cat >>conftest.$ac_ext <<_ACEOF
47560 /* end confdefs.h. */
47561
47562 #include <Carbon/Carbon.h>
47563 #include <WebKit/WebKit.h>
47564
47565
47566 #include <WebKit/HIWebView.h>
47567 _ACEOF
47568 rm -f conftest.$ac_objext
47569 if { (ac_try="$ac_compile"
47570 case "(($ac_try" in
47571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47572 *) ac_try_echo=$ac_try;;
47573 esac
47574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47575 (eval "$ac_compile") 2>conftest.er1
47576 ac_status=$?
47577 grep -v '^ *+' conftest.er1 >conftest.err
47578 rm -f conftest.er1
47579 cat conftest.err >&5
47580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47581 (exit $ac_status); } && {
47582 test -z "$ac_c_werror_flag" ||
47583 test ! -s conftest.err
47584 } && test -s conftest.$ac_objext; then
47585 ac_cv_header_WebKit_HIWebView_h=yes
47586 else
47587 echo "$as_me: failed program was:" >&5
47588 sed 's/^/| /' conftest.$ac_ext >&5
47589
47590 ac_cv_header_WebKit_HIWebView_h=no
47591 fi
47592
47593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47594 fi
47595 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47596 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
47597 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47598
47599 cat >>confdefs.h <<\_ACEOF
47600 #define wxUSE_WEBKIT 1
47601 _ACEOF
47602
47603 WEBKIT_LINK="-framework WebKit"
47604
47605 else
47606
47607 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47608 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47609 wxUSE_WEBKIT=no
47610
47611 fi
47612
47613
47614 CPPFLAGS="$old_CPPFLAGS"
47615 elif test "$wxUSE_OLD_COCOA" = 1; then
47616 cat >>confdefs.h <<\_ACEOF
47617 #define wxUSE_WEBKIT 1
47618 _ACEOF
47619
47620 else
47621 wxUSE_WEBKIT=no
47622 fi
47623 if test "$wxUSE_WEBKIT" = "yes"; then
47624 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
47625 fi
47626 fi
47627
47628 USE_XRC=0
47629 if test "$wxUSE_XRC" = "yes"; then
47630 if test "$wxUSE_XML" != "yes"; then
47631 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47632 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47633 wxUSE_XRC=no
47634 else
47635 cat >>confdefs.h <<\_ACEOF
47636 #define wxUSE_XRC 1
47637 _ACEOF
47638
47639 USE_XRC=1
47640 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47641 fi
47642 fi
47643
47644 USE_AUI=0
47645 if test "$wxUSE_AUI" = "yes"; then
47646 cat >>confdefs.h <<\_ACEOF
47647 #define wxUSE_AUI 1
47648 _ACEOF
47649
47650 USE_AUI=1
47651 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
47652 fi
47653
47654 USE_PROPGRID=0
47655 if test "$wxUSE_PROPGRID" = "yes"; then
47656 cat >>confdefs.h <<\_ACEOF
47657 #define wxUSE_PROPGRID 1
47658 _ACEOF
47659
47660 USE_PROPGRID=1
47661 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
47662 fi
47663
47664 USE_RIBBON=0
47665 if test "$wxUSE_RIBBON" = "yes"; then
47666 cat >>confdefs.h <<\_ACEOF
47667 #define wxUSE_RIBBON 1
47668 _ACEOF
47669
47670 USE_RIBBON=1
47671 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
47672 fi
47673
47674 USE_STC=0
47675 if test "$wxUSE_STC" = "yes"; then
47676 cat >>confdefs.h <<\_ACEOF
47677 #define wxUSE_STC 1
47678 _ACEOF
47679
47680 USE_STC=1
47681 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
47682
47683 # Extract the first word of "python", so it can be a program name with args.
47684 set dummy python; ac_word=$2
47685 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47687 if test "${ac_cv_path_PYTHON+set}" = set; then
47688 echo $ECHO_N "(cached) $ECHO_C" >&6
47689 else
47690 case $PYTHON in
47691 [\\/]* | ?:[\\/]*)
47692 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
47693 ;;
47694 *)
47695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47696 for as_dir in $PATH
47697 do
47698 IFS=$as_save_IFS
47699 test -z "$as_dir" && as_dir=.
47700 for ac_exec_ext in '' $ac_executable_extensions; do
47701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47702 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
47703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47704 break 2
47705 fi
47706 done
47707 done
47708 IFS=$as_save_IFS
47709
47710 ;;
47711 esac
47712 fi
47713 PYTHON=$ac_cv_path_PYTHON
47714 if test -n "$PYTHON"; then
47715 { echo "$as_me:$LINENO: result: $PYTHON" >&5
47716 echo "${ECHO_T}$PYTHON" >&6; }
47717 else
47718 { echo "$as_me:$LINENO: result: no" >&5
47719 echo "${ECHO_T}no" >&6; }
47720 fi
47721
47722
47723 if test "x$PYTHON" = "x"; then
47724 COND_PYTHON="#"
47725 fi
47726
47727 fi
47728
47729 if test "$wxUSE_MENUS" = "yes"; then
47730 cat >>confdefs.h <<\_ACEOF
47731 #define wxUSE_MENUS 1
47732 _ACEOF
47733
47734 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
47735 fi
47736
47737 if test "$wxUSE_METAFILE" = "yes"; then
47738 cat >>confdefs.h <<\_ACEOF
47739 #define wxUSE_METAFILE 1
47740 _ACEOF
47741
47742 fi
47743
47744 if test "$wxUSE_MIMETYPE" = "yes"; then
47745 cat >>confdefs.h <<\_ACEOF
47746 #define wxUSE_MIMETYPE 1
47747 _ACEOF
47748
47749 fi
47750
47751 if test "$wxUSE_MINIFRAME" = "yes"; then
47752 cat >>confdefs.h <<\_ACEOF
47753 #define wxUSE_MINIFRAME 1
47754 _ACEOF
47755
47756 fi
47757
47758 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
47759 cat >>confdefs.h <<\_ACEOF
47760 #define wxUSE_SYSTEM_OPTIONS 1
47761 _ACEOF
47762
47763 fi
47764
47765 if test "$wxUSE_TASKBARICON" = "yes"; then
47766 cat >>confdefs.h <<\_ACEOF
47767 #define wxUSE_TASKBARICON 1
47768 _ACEOF
47769
47770 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
47771 fi
47772
47773
47774 if test "$wxUSE_VALIDATORS" = "yes"; then
47775 cat >>confdefs.h <<\_ACEOF
47776 #define wxUSE_VALIDATORS 1
47777 _ACEOF
47778
47779 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
47780 fi
47781
47782 if test "$wxUSE_PALETTE" = "yes" ; then
47783 if test "$wxUSE_DFB" = 1; then
47784 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
47785 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
47786 wxUSE_PALETTE=no
47787 else
47788 cat >>confdefs.h <<\_ACEOF
47789 #define wxUSE_PALETTE 1
47790 _ACEOF
47791
47792 fi
47793 fi
47794
47795 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
47796 LIBS=" -lunicows $LIBS"
47797 fi
47798
47799 USE_RICHTEXT=0
47800 if test "$wxUSE_RICHTEXT" = "yes"; then
47801 cat >>confdefs.h <<\_ACEOF
47802 #define wxUSE_RICHTEXT 1
47803 _ACEOF
47804
47805 USE_RICHTEXT=1
47806 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
47807 fi
47808
47809
47810 if test "$wxUSE_IMAGE" = "yes" ; then
47811 cat >>confdefs.h <<\_ACEOF
47812 #define wxUSE_IMAGE 1
47813 _ACEOF
47814
47815
47816 if test "$wxUSE_GIF" = "yes" ; then
47817 cat >>confdefs.h <<\_ACEOF
47818 #define wxUSE_GIF 1
47819 _ACEOF
47820
47821 fi
47822
47823 if test "$wxUSE_PCX" = "yes" ; then
47824 cat >>confdefs.h <<\_ACEOF
47825 #define wxUSE_PCX 1
47826 _ACEOF
47827
47828 fi
47829
47830 if test "$wxUSE_TGA" = "yes" ; then
47831 cat >>confdefs.h <<\_ACEOF
47832 #define wxUSE_TGA 1
47833 _ACEOF
47834
47835 fi
47836
47837 if test "$wxUSE_IFF" = "yes" ; then
47838 cat >>confdefs.h <<\_ACEOF
47839 #define wxUSE_IFF 1
47840 _ACEOF
47841
47842 fi
47843
47844 if test "$wxUSE_PNM" = "yes" ; then
47845 cat >>confdefs.h <<\_ACEOF
47846 #define wxUSE_PNM 1
47847 _ACEOF
47848
47849 fi
47850
47851 if test "$wxUSE_XPM" = "yes" ; then
47852 cat >>confdefs.h <<\_ACEOF
47853 #define wxUSE_XPM 1
47854 _ACEOF
47855
47856 fi
47857
47858 if test "$wxUSE_ICO_CUR" = "yes" ; then
47859 cat >>confdefs.h <<\_ACEOF
47860 #define wxUSE_ICO_CUR 1
47861 _ACEOF
47862
47863 fi
47864 fi
47865
47866
47867 if test "$wxUSE_ABOUTDLG" = "yes"; then
47868 cat >>confdefs.h <<\_ACEOF
47869 #define wxUSE_ABOUTDLG 1
47870 _ACEOF
47871
47872 fi
47873
47874 if test "$wxUSE_CHOICEDLG" = "yes"; then
47875 cat >>confdefs.h <<\_ACEOF
47876 #define wxUSE_CHOICEDLG 1
47877 _ACEOF
47878
47879 fi
47880
47881 if test "$wxUSE_COLOURDLG" = "yes"; then
47882 cat >>confdefs.h <<\_ACEOF
47883 #define wxUSE_COLOURDLG 1
47884 _ACEOF
47885
47886 fi
47887
47888 if test "$wxUSE_FILEDLG" = "yes"; then
47889 cat >>confdefs.h <<\_ACEOF
47890 #define wxUSE_FILEDLG 1
47891 _ACEOF
47892
47893 fi
47894
47895 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47896 cat >>confdefs.h <<\_ACEOF
47897 #define wxUSE_FINDREPLDLG 1
47898 _ACEOF
47899
47900 fi
47901
47902 if test "$wxUSE_FONTDLG" = "yes"; then
47903 cat >>confdefs.h <<\_ACEOF
47904 #define wxUSE_FONTDLG 1
47905 _ACEOF
47906
47907 fi
47908
47909 if test "$wxUSE_DIRDLG" = "yes"; then
47910 if test "$wxUSE_TREECTRL" != "yes"; then
47911 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47912 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47913 else
47914 cat >>confdefs.h <<\_ACEOF
47915 #define wxUSE_DIRDLG 1
47916 _ACEOF
47917
47918 fi
47919 fi
47920
47921 if test "$wxUSE_MSGDLG" = "yes"; then
47922 cat >>confdefs.h <<\_ACEOF
47923 #define wxUSE_MSGDLG 1
47924 _ACEOF
47925
47926 fi
47927
47928 if test "$wxUSE_NUMBERDLG" = "yes"; then
47929 cat >>confdefs.h <<\_ACEOF
47930 #define wxUSE_NUMBERDLG 1
47931 _ACEOF
47932
47933 fi
47934
47935 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47936 cat >>confdefs.h <<\_ACEOF
47937 #define wxUSE_PROGRESSDLG 1
47938 _ACEOF
47939
47940 fi
47941
47942 if test "$wxUSE_SPLASH" = "yes"; then
47943 cat >>confdefs.h <<\_ACEOF
47944 #define wxUSE_SPLASH 1
47945 _ACEOF
47946
47947 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47948 fi
47949
47950 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47951 cat >>confdefs.h <<\_ACEOF
47952 #define wxUSE_STARTUP_TIPS 1
47953 _ACEOF
47954
47955 fi
47956
47957 if test "$wxUSE_TEXTDLG" = "yes"; then
47958 cat >>confdefs.h <<\_ACEOF
47959 #define wxUSE_TEXTDLG 1
47960 _ACEOF
47961
47962 fi
47963
47964 if test "$wxUSE_WIZARDDLG" = "yes"; then
47965 cat >>confdefs.h <<\_ACEOF
47966 #define wxUSE_WIZARDDLG 1
47967 _ACEOF
47968
47969 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
47970 fi
47971
47972
47973 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
47974 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
47975 cat >>confdefs.h <<\_ACEOF
47976 #define wxUSE_OWNER_DRAWN 1
47977 _ACEOF
47978
47979 fi
47980 fi
47981
47982
47983 if test "$wxUSE_MSW" = 1 ; then
47984
47985 if test "$wxUSE_DC_CACHEING" = "yes"; then
47986 cat >>confdefs.h <<\_ACEOF
47987 #define wxUSE_DC_CACHEING 1
47988 _ACEOF
47989
47990 fi
47991
47992 if test "$wxUSE_DIB" = "yes"; then
47993 cat >>confdefs.h <<\_ACEOF
47994 #define wxUSE_WXDIB 1
47995 _ACEOF
47996
47997 fi
47998
47999 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48000 cat >>confdefs.h <<\_ACEOF
48001 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48002 _ACEOF
48003
48004 fi
48005
48006 if test "$wxUSE_UXTHEME" = "yes"; then
48007 cat >>confdefs.h <<\_ACEOF
48008 #define wxUSE_UXTHEME 1
48009 _ACEOF
48010
48011 fi
48012
48013 fi
48014
48015 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
48016 cat >>confdefs.h <<\_ACEOF
48017 #define wxUSE_AUTOID_MANAGEMENT 1
48018 _ACEOF
48019
48020 fi
48021
48022 if test "$USE_WIN32" = 1 ; then
48023 if test "$wxUSE_INICONF" = "yes"; then
48024 cat >>confdefs.h <<\_ACEOF
48025 #define wxUSE_INICONF 1
48026 _ACEOF
48027
48028 fi
48029
48030 if test "$wxUSE_REGKEY" = "yes"; then
48031 cat >>confdefs.h <<\_ACEOF
48032 #define wxUSE_REGKEY 1
48033 _ACEOF
48034
48035 fi
48036 fi
48037
48038
48039 if test "$wxUSE_MAC" = 1; then
48040 wxUSE_GRAPHICS_CONTEXT="yes"
48041 fi
48042
48043 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48044 wx_has_graphics=0
48045 if test "$wxUSE_MSW" = 1; then
48046 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
48047 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
48048 if test "${wx_cv_lib_gdiplus+set}" = set; then
48049 echo $ECHO_N "(cached) $ECHO_C" >&6
48050 else
48051
48052 ac_ext=cpp
48053 ac_cpp='$CXXCPP $CPPFLAGS'
48054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48057
48058 cat >conftest.$ac_ext <<_ACEOF
48059 /* confdefs.h. */
48060 _ACEOF
48061 cat confdefs.h >>conftest.$ac_ext
48062 cat >>conftest.$ac_ext <<_ACEOF
48063 /* end confdefs.h. */
48064 #include <windows.h>
48065 #include <gdiplus.h>
48066 int
48067 main ()
48068 {
48069
48070 using namespace Gdiplus;
48071
48072 ;
48073 return 0;
48074 }
48075 _ACEOF
48076 rm -f conftest.$ac_objext
48077 if { (ac_try="$ac_compile"
48078 case "(($ac_try" in
48079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48080 *) ac_try_echo=$ac_try;;
48081 esac
48082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48083 (eval "$ac_compile") 2>conftest.er1
48084 ac_status=$?
48085 grep -v '^ *+' conftest.er1 >conftest.err
48086 rm -f conftest.er1
48087 cat conftest.err >&5
48088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48089 (exit $ac_status); } && {
48090 test -z "$ac_cxx_werror_flag" ||
48091 test ! -s conftest.err
48092 } && test -s conftest.$ac_objext; then
48093 wx_cv_lib_gdiplus=yes
48094 else
48095 echo "$as_me: failed program was:" >&5
48096 sed 's/^/| /' conftest.$ac_ext >&5
48097
48098 wx_cv_lib_gdiplus=no
48099
48100 fi
48101
48102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48103 ac_ext=c
48104 ac_cpp='$CPP $CPPFLAGS'
48105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48108
48109
48110
48111 fi
48112 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
48113 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
48114 if test "$wx_cv_lib_gdiplus" = "yes"; then
48115 wx_has_graphics=1
48116 fi
48117 elif test "$wxUSE_GTK" = 1; then
48118
48119 pkg_failed=no
48120 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48121 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48122
48123 if test -n "$PKG_CONFIG"; then
48124 if test -n "$CAIRO_CFLAGS"; then
48125 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48126 else
48127 if test -n "$PKG_CONFIG" && \
48128 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48129 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48130 ac_status=$?
48131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48132 (exit $ac_status); }; then
48133 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48134 else
48135 pkg_failed=yes
48136 fi
48137 fi
48138 else
48139 pkg_failed=untried
48140 fi
48141 if test -n "$PKG_CONFIG"; then
48142 if test -n "$CAIRO_LIBS"; then
48143 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48144 else
48145 if test -n "$PKG_CONFIG" && \
48146 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48147 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48148 ac_status=$?
48149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48150 (exit $ac_status); }; then
48151 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48152 else
48153 pkg_failed=yes
48154 fi
48155 fi
48156 else
48157 pkg_failed=untried
48158 fi
48159
48160
48161
48162 if test $pkg_failed = yes; then
48163
48164 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48165 _pkg_short_errors_supported=yes
48166 else
48167 _pkg_short_errors_supported=no
48168 fi
48169 if test $_pkg_short_errors_supported = yes; then
48170 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48171 else
48172 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48173 fi
48174 # Put the nasty error message in config.log where it belongs
48175 echo "$CAIRO_PKG_ERRORS" >&5
48176
48177 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48178 echo "$as_me: WARNING: Cairo library not found" >&2;}
48179
48180 elif test $pkg_failed = untried; then
48181 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48182 echo "$as_me: WARNING: Cairo library not found" >&2;}
48183
48184 else
48185 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48186 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48187 { echo "$as_me:$LINENO: result: yes" >&5
48188 echo "${ECHO_T}yes" >&6; }
48189 wx_has_graphics=1
48190 fi
48191 else
48192 wx_has_graphics=1
48193 fi
48194
48195 if test "$wx_has_graphics" = 1; then
48196 cat >>confdefs.h <<\_ACEOF
48197 #define wxUSE_GRAPHICS_CONTEXT 1
48198 _ACEOF
48199
48200 else
48201 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
48202 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
48203 fi
48204 fi
48205
48206
48207 USE_MEDIA=0
48208
48209 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
48210 USE_MEDIA=1
48211
48212 if test "$wxUSE_GTK" = 1; then
48213 wxUSE_GSTREAMER="no"
48214
48215 GST_VERSION_MAJOR=0
48216 GST_VERSION_MINOR=10
48217 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48218
48219 if test "$wxUSE_GSTREAMER8" = "no"; then
48220
48221 pkg_failed=no
48222 { echo "$as_me:$LINENO: checking for GST" >&5
48223 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48224
48225 if test -n "$PKG_CONFIG"; then
48226 if test -n "$GST_CFLAGS"; then
48227 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48228 else
48229 if test -n "$PKG_CONFIG" && \
48230 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48231 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48232 ac_status=$?
48233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48234 (exit $ac_status); }; then
48235 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48236 else
48237 pkg_failed=yes
48238 fi
48239 fi
48240 else
48241 pkg_failed=untried
48242 fi
48243 if test -n "$PKG_CONFIG"; then
48244 if test -n "$GST_LIBS"; then
48245 pkg_cv_GST_LIBS="$GST_LIBS"
48246 else
48247 if test -n "$PKG_CONFIG" && \
48248 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48249 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48250 ac_status=$?
48251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48252 (exit $ac_status); }; then
48253 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48254 else
48255 pkg_failed=yes
48256 fi
48257 fi
48258 else
48259 pkg_failed=untried
48260 fi
48261
48262
48263
48264 if test $pkg_failed = yes; then
48265
48266 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48267 _pkg_short_errors_supported=yes
48268 else
48269 _pkg_short_errors_supported=no
48270 fi
48271 if test $_pkg_short_errors_supported = yes; then
48272 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48273 else
48274 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48275 fi
48276 # Put the nasty error message in config.log where it belongs
48277 echo "$GST_PKG_ERRORS" >&5
48278
48279
48280 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48281 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48282 GST_VERSION_MINOR=8
48283
48284
48285 elif test $pkg_failed = untried; then
48286
48287 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48288 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48289 GST_VERSION_MINOR=8
48290
48291
48292 else
48293 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48294 GST_LIBS=$pkg_cv_GST_LIBS
48295 { echo "$as_me:$LINENO: result: yes" >&5
48296 echo "${ECHO_T}yes" >&6; }
48297
48298 wxUSE_GSTREAMER="yes"
48299 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48300
48301 fi
48302 else
48303 GST_VERSION_MINOR=8
48304 fi
48305
48306 if test $GST_VERSION_MINOR = "8"; then
48307 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48308
48309 pkg_failed=no
48310 { echo "$as_me:$LINENO: checking for GST" >&5
48311 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48312
48313 if test -n "$PKG_CONFIG"; then
48314 if test -n "$GST_CFLAGS"; then
48315 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48316 else
48317 if test -n "$PKG_CONFIG" && \
48318 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48319 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48320 ac_status=$?
48321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48322 (exit $ac_status); }; then
48323 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48324 else
48325 pkg_failed=yes
48326 fi
48327 fi
48328 else
48329 pkg_failed=untried
48330 fi
48331 if test -n "$PKG_CONFIG"; then
48332 if test -n "$GST_LIBS"; then
48333 pkg_cv_GST_LIBS="$GST_LIBS"
48334 else
48335 if test -n "$PKG_CONFIG" && \
48336 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48337 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48338 ac_status=$?
48339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48340 (exit $ac_status); }; then
48341 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48342 else
48343 pkg_failed=yes
48344 fi
48345 fi
48346 else
48347 pkg_failed=untried
48348 fi
48349
48350
48351
48352 if test $pkg_failed = yes; then
48353
48354 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48355 _pkg_short_errors_supported=yes
48356 else
48357 _pkg_short_errors_supported=no
48358 fi
48359 if test $_pkg_short_errors_supported = yes; then
48360 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48361 else
48362 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48363 fi
48364 # Put the nasty error message in config.log where it belongs
48365 echo "$GST_PKG_ERRORS" >&5
48366
48367
48368 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48369 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48370
48371 elif test $pkg_failed = untried; then
48372
48373 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48374 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48375
48376 else
48377 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48378 GST_LIBS=$pkg_cv_GST_LIBS
48379 { echo "$as_me:$LINENO: result: yes" >&5
48380 echo "${ECHO_T}yes" >&6; }
48381 wxUSE_GSTREAMER="yes"
48382 fi
48383 fi
48384
48385
48386 if test "$wxUSE_GSTREAMER" = "yes"; then
48387 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48388 EXTRALIBS_MEDIA="$GST_LIBS"
48389
48390 cat >>confdefs.h <<\_ACEOF
48391 #define wxUSE_GSTREAMER 1
48392 _ACEOF
48393
48394 else
48395 USE_MEDIA=0
48396 fi
48397 fi
48398
48399 if test $USE_MEDIA = 1; then
48400 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48401 cat >>confdefs.h <<\_ACEOF
48402 #define wxUSE_MEDIACTRL 1
48403 _ACEOF
48404
48405 else
48406 if test "$wxUSE_MEDIACTRL" = "yes"; then
48407 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
48408 echo "$as_me: error: GStreamer not available" >&2;}
48409 { (exit 1); exit 1; }; }
48410 else
48411 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
48412 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
48413 fi
48414 fi
48415 fi
48416
48417
48418 if test "$cross_compiling" != "no"; then
48419 OSINFO="\"$host\""
48420 else
48421 OSINFO=`uname -s -r -m`
48422 OSINFO="\"$OSINFO\""
48423 fi
48424
48425 cat >>confdefs.h <<_ACEOF
48426 #define WXWIN_OS_DESCRIPTION $OSINFO
48427 _ACEOF
48428
48429
48430
48431 if test "x$prefix" != "xNONE"; then
48432 wxPREFIX=$prefix
48433 else
48434 wxPREFIX=$ac_default_prefix
48435 fi
48436
48437 cat >>confdefs.h <<_ACEOF
48438 #define wxINSTALL_PREFIX "$wxPREFIX"
48439 _ACEOF
48440
48441
48442
48443
48444 STD_BASE_LIBS="base"
48445 STD_GUI_LIBS=""
48446 BUILT_WX_LIBS="base"
48447 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
48448
48449 if test "$wxUSE_SOCKETS" = "yes" ; then
48450 STD_BASE_LIBS="net $STD_BASE_LIBS"
48451 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
48452 fi
48453 if test "$wxUSE_XML" = "yes" ; then
48454 STD_BASE_LIBS="xml $STD_BASE_LIBS"
48455 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
48456 fi
48457
48458 if test "$wxUSE_GUI" = "yes"; then
48459 STD_GUI_LIBS="adv core"
48460 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
48461
48462 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48463 STD_GUI_LIBS="qa $STD_GUI_LIBS"
48464 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
48465 fi
48466 if test "$wxUSE_HTML" = "yes" ; then
48467 STD_GUI_LIBS="html $STD_GUI_LIBS"
48468 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
48469 fi
48470 if test "$wxUSE_MEDIACTRL" = "yes" ; then
48471 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
48472 fi
48473 if test "$wxUSE_OPENGL" = "yes" ; then
48474 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
48475 fi
48476 if test "$wxUSE_AUI" = "yes" ; then
48477 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
48478 fi
48479 if test "$wxUSE_PROPGRID" = "yes" ; then
48480 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
48481 fi
48482 if test "$wxUSE_RIBBON" = "yes" ; then
48483 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
48484 fi
48485 if test "$wxUSE_RICHTEXT" = "yes" ; then
48486 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
48487 fi
48488 if test "$wxUSE_STC" = "yes" ; then
48489 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
48490 fi
48491 if test "$wxUSE_XRC" = "yes" ; then
48492 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
48493 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
48494 fi
48495 fi
48496
48497
48498
48499
48500
48501
48502
48503 EXTRA_FRAMEWORKS=
48504 if test "$wxUSE_MAC" = 1 ; then
48505 if test "$USE_DARWIN" = 1; then
48506 if test "$wxUSE_OSX_IPHONE" = 1; then
48507 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
48508 else
48509 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
48510 fi
48511 fi
48512 fi
48513 if test "$wxUSE_OLD_COCOA" = 1 ; then
48514 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
48515 if test "$wxUSE_MEDIACTRL" = "yes"; then
48516 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
48517 fi
48518 fi
48519 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
48520 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48521 fi
48522
48523 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
48524 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
48525
48526 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48527
48528 if test "$wxUSE_GUI" = "yes"; then
48529
48530
48531 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48532 erase event exec font image minimal render \
48533 shaped svg taborder vscroll widgets wrapsizer"
48534
48535 if test "$wxUSE_MONOLITHIC" != "yes"; then
48536 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
48537 fi
48538 if test "$TOOLKIT" = "MSW"; then
48539 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
48540 if test "$wxUSE_UNIVERSAL" != "yes"; then
48541 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
48542 fi
48543 fi
48544 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
48545 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
48546 fi
48547 else
48548 SAMPLES_SUBDIRS="console"
48549 if test "$wxUSE_SOCKETS" = "yes" ; then
48550 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
48551 fi
48552 if test "$wxUSE_IPC" = "yes" ; then
48553 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
48554 fi
48555 fi
48556
48557
48558 if test "x$INTELCC" = "xyes" ; then
48559 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
48560 elif test "$GCC" = yes ; then
48561 CWARNINGS="-Wall -Wundef"
48562 fi
48563
48564 if test "x$INTELCXX" = "xyes" ; then
48565 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
48566 elif test "$GXX" = yes ; then
48567 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
48568 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
48569 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
48570 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
48571 echo $ECHO_N "(cached) $ECHO_C" >&6
48572 else
48573 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
48574
48575 ac_ext=cpp
48576 ac_cpp='$CXXCPP $CPPFLAGS'
48577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48580
48581 ac_save_CXXFLAGS="$CXXFLAGS"
48582 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
48583 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
48584 cat >conftest.$ac_ext <<_ACEOF
48585 /* confdefs.h. */
48586 _ACEOF
48587 cat confdefs.h >>conftest.$ac_ext
48588 cat >>conftest.$ac_ext <<_ACEOF
48589 /* end confdefs.h. */
48590
48591 int
48592 main ()
48593 {
48594 return 0;
48595 ;
48596 return 0;
48597 }
48598 _ACEOF
48599 rm -f conftest.$ac_objext
48600 if { (ac_try="$ac_compile"
48601 case "(($ac_try" in
48602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48603 *) ac_try_echo=$ac_try;;
48604 esac
48605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48606 (eval "$ac_compile") 2>conftest.er1
48607 ac_status=$?
48608 grep -v '^ *+' conftest.er1 >conftest.err
48609 rm -f conftest.er1
48610 cat conftest.err >&5
48611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48612 (exit $ac_status); } && {
48613 test -z "$ac_cxx_werror_flag" ||
48614 test ! -s conftest.err
48615 } && test -s conftest.$ac_objext; then
48616 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
48617 else
48618 echo "$as_me: failed program was:" >&5
48619 sed 's/^/| /' conftest.$ac_ext >&5
48620
48621
48622 fi
48623
48624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48625 done
48626 CXXFLAGS="$ac_save_CXXFLAGS"
48627 ac_ext=c
48628 ac_cpp='$CPP $CPPFLAGS'
48629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48632
48633
48634 fi
48635 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
48636 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
48637 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
48638 .ok|.ok,*) ;;
48639 .|.no|.no,*) ;;
48640 *)
48641 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
48642 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
48643 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
48644 ac_status=$?
48645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48646 (exit $ac_status); }
48647 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
48648 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
48649 ac_status=$?
48650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48651 (exit $ac_status); }
48652 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
48653 fi
48654 ;;
48655 esac
48656
48657
48658 if test "$wxUSE_MAC" = 1 ; then
48659 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
48660 fi
48661 fi
48662
48663
48664 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
48665 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
48666
48667
48668 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
48669 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
48670 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
48671 $CPPFLAGS `
48672
48673 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
48674 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
48675 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
48676 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
48677 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
48678
48679 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
48680
48681
48682 if test "x$MWCC" = "xyes"; then
48683
48684 CC="$CC -cwd source -I-"
48685 CXX="$CXX -cwd source -I-"
48686 fi
48687
48688
48689 LIBS=`echo $LIBS`
48690 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
48691 EXTRALIBS_XML="$EXPAT_LINK"
48692 EXTRALIBS_HTML="$MSPACK_LINK"
48693 EXTRALIBS_MEDIA="$GST_LIBS"
48694 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
48695 if test "$wxUSE_GUI" = "yes"; then
48696 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
48697 fi
48698 if test "$wxUSE_OPENGL" = "yes"; then
48699 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
48700 fi
48701
48702 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
48703
48704 WXCONFIG_LIBS="$LIBS"
48705
48706 if test "$wxUSE_REGEX" = "builtin" ; then
48707 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
48708 fi
48709 if test "$wxUSE_EXPAT" = "builtin" ; then
48710 wxconfig_3rdparty="expat $wxconfig_3rdparty"
48711 fi
48712 if test "$wxUSE_LIBTIFF" = "builtin" ; then
48713 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
48714 fi
48715 if test "$wxUSE_LIBJPEG" = "builtin" ; then
48716 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
48717 fi
48718 if test "$wxUSE_LIBPNG" = "builtin" ; then
48719 wxconfig_3rdparty="png $wxconfig_3rdparty"
48720 fi
48721 if test "$wxUSE_ZLIB" = "builtin" ; then
48722 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
48723 fi
48724
48725 for i in $wxconfig_3rdparty ; do
48726 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
48727 done
48728
48729
48730 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
48731 WXUNIV=1
48732
48733 case "$wxUNIV_THEMES" in
48734 ''|all)
48735 cat >>confdefs.h <<\_ACEOF
48736 #define wxUSE_ALL_THEMES 1
48737 _ACEOF
48738
48739 ;;
48740
48741 *)
48742 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
48743 cat >>confdefs.h <<_ACEOF
48744 #define wxUSE_THEME_$t 1
48745 _ACEOF
48746
48747 done
48748 esac
48749 else
48750 WXUNIV=0
48751 fi
48752
48753
48754
48755
48756
48757
48758
48759
48760 if test $wxUSE_MONOLITHIC = "yes" ; then
48761 MONOLITHIC=1
48762 else
48763 MONOLITHIC=0
48764 fi
48765
48766 if test $wxUSE_PLUGINS = "yes" ; then
48767 USE_PLUGINS=1
48768 else
48769 USE_PLUGINS=0
48770 fi
48771
48772 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48773 USE_QA=1
48774 else
48775 USE_QA=0
48776 fi
48777
48778 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
48779 OFFICIAL_BUILD=1
48780 else
48781 OFFICIAL_BUILD=0
48782 fi
48783
48784
48785
48786
48787
48788
48789
48790
48791
48792
48793
48794
48795
48796
48797
48798
48799
48800
48801
48802
48803
48804
48805
48806
48807
48808
48809
48810 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
48811
48812
48813
48814
48815
48816
48817
48818
48819
48820
48821 case "$TOOLKIT" in
48822 GTK)
48823 TOOLKIT_DESC="GTK+"
48824 if test "$WXGTK2" = 1; then
48825 TOOLKIT_DESC="$TOOLKIT_DESC 2"
48826 if test "$wxUSE_GTKPRINT" = "yes" ; then
48827 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
48828 fi
48829 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
48830 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
48831 fi
48832 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
48833 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
48834 fi
48835 if test "$wxUSE_LIBHILDON" = "yes"; then
48836 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48837 fi
48838 if test "$wxUSE_LIBHILDON2" = "yes"; then
48839 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48840 fi
48841
48842 if test "$TOOLKIT_EXTRA" != ""; then
48843 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
48844 fi
48845 fi
48846 ;;
48847
48848 ?*)
48849 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
48850 ;;
48851
48852 *)
48853 TOOLKIT_DESC="base only"
48854 ;;
48855 esac
48856
48857 if test "$wxUSE_WINE" = "yes"; then
48858 BAKEFILE_FORCE_PLATFORM=win32
48859 fi
48860
48861 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
48862 then
48863 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
48864 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
48865 if test "${wx_cv_gcc_pch_bug+set}" = set; then
48866 echo $ECHO_N "(cached) $ECHO_C" >&6
48867 else
48868
48869 echo '#include <stdio.h>
48870 const wchar_t test_var[] = L"awidetest";' > conftest.h
48871
48872 echo '#include "conftest.h"
48873 int main()
48874 {
48875 printf("%ls", test_var);
48876 return 0;
48877 }' > conftest.cpp
48878
48879 wx_cv_gcc_pch_bug="pch not supported"
48880
48881 if $CXX conftest.h >/dev/null 2>&1
48882 then
48883 wx_cv_gcc_pch_bug=
48884
48885 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
48886 then
48887 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
48888 grep awidetest >/dev/null
48889 then
48890 wx_cv_gcc_pch_bug=no
48891 else
48892 wx_cv_gcc_pch_bug=yes
48893 fi
48894 fi
48895 fi
48896
48897 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
48898
48899 fi
48900 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
48901 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
48902
48903 if test "$wx_cv_gcc_pch_bug" = yes; then
48904 bk_use_pch=no
48905 fi
48906 fi
48907
48908
48909
48910
48911
48912
48913
48914 if test "x$BAKEFILE_HOST" = "x"; then
48915 if test "x${host}" = "x" ; then
48916 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
48917 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
48918 { (exit 1); exit 1; }; }
48919 fi
48920
48921 BAKEFILE_HOST="${host}"
48922 fi
48923
48924 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
48925
48926 if test -n "$ac_tool_prefix"; then
48927 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
48928 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
48929 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48931 if test "${ac_cv_prog_RANLIB+set}" = set; then
48932 echo $ECHO_N "(cached) $ECHO_C" >&6
48933 else
48934 if test -n "$RANLIB"; then
48935 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
48936 else
48937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48938 for as_dir in $PATH
48939 do
48940 IFS=$as_save_IFS
48941 test -z "$as_dir" && as_dir=.
48942 for ac_exec_ext in '' $ac_executable_extensions; do
48943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48944 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
48945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48946 break 2
48947 fi
48948 done
48949 done
48950 IFS=$as_save_IFS
48951
48952 fi
48953 fi
48954 RANLIB=$ac_cv_prog_RANLIB
48955 if test -n "$RANLIB"; then
48956 { echo "$as_me:$LINENO: result: $RANLIB" >&5
48957 echo "${ECHO_T}$RANLIB" >&6; }
48958 else
48959 { echo "$as_me:$LINENO: result: no" >&5
48960 echo "${ECHO_T}no" >&6; }
48961 fi
48962
48963
48964 fi
48965 if test -z "$ac_cv_prog_RANLIB"; then
48966 ac_ct_RANLIB=$RANLIB
48967 # Extract the first word of "ranlib", so it can be a program name with args.
48968 set dummy ranlib; ac_word=$2
48969 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48971 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
48972 echo $ECHO_N "(cached) $ECHO_C" >&6
48973 else
48974 if test -n "$ac_ct_RANLIB"; then
48975 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
48976 else
48977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48978 for as_dir in $PATH
48979 do
48980 IFS=$as_save_IFS
48981 test -z "$as_dir" && as_dir=.
48982 for ac_exec_ext in '' $ac_executable_extensions; do
48983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48984 ac_cv_prog_ac_ct_RANLIB="ranlib"
48985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48986 break 2
48987 fi
48988 done
48989 done
48990 IFS=$as_save_IFS
48991
48992 fi
48993 fi
48994 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
48995 if test -n "$ac_ct_RANLIB"; then
48996 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
48997 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
48998 else
48999 { echo "$as_me:$LINENO: result: no" >&5
49000 echo "${ECHO_T}no" >&6; }
49001 fi
49002
49003 if test "x$ac_ct_RANLIB" = x; then
49004 RANLIB=":"
49005 else
49006 case $cross_compiling:$ac_tool_warned in
49007 yes:)
49008 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49009 whose name does not start with the host triplet. If you think this
49010 configuration is useful to you, please write to autoconf@gnu.org." >&5
49011 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49012 whose name does not start with the host triplet. If you think this
49013 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49014 ac_tool_warned=yes ;;
49015 esac
49016 RANLIB=$ac_ct_RANLIB
49017 fi
49018 else
49019 RANLIB="$ac_cv_prog_RANLIB"
49020 fi
49021
49022 # Find a good install program. We prefer a C program (faster),
49023 # so one script is as good as another. But avoid the broken or
49024 # incompatible versions:
49025 # SysV /etc/install, /usr/sbin/install
49026 # SunOS /usr/etc/install
49027 # IRIX /sbin/install
49028 # AIX /bin/install
49029 # AmigaOS /C/install, which installs bootblocks on floppy discs
49030 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49031 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49032 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49033 # OS/2's system install, which has a completely different semantic
49034 # ./install, which can be erroneously created by make from ./install.sh.
49035 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49036 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49037 if test -z "$INSTALL"; then
49038 if test "${ac_cv_path_install+set}" = set; then
49039 echo $ECHO_N "(cached) $ECHO_C" >&6
49040 else
49041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49042 for as_dir in $PATH
49043 do
49044 IFS=$as_save_IFS
49045 test -z "$as_dir" && as_dir=.
49046 # Account for people who put trailing slashes in PATH elements.
49047 case $as_dir/ in
49048 ./ | .// | /cC/* | \
49049 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49050 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49051 /usr/ucb/* ) ;;
49052 *)
49053 # OSF1 and SCO ODT 3.0 have their own names for install.
49054 # Don't use installbsd from OSF since it installs stuff as root
49055 # by default.
49056 for ac_prog in ginstall scoinst install; do
49057 for ac_exec_ext in '' $ac_executable_extensions; do
49058 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49059 if test $ac_prog = install &&
49060 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49061 # AIX install. It has an incompatible calling convention.
49062 :
49063 elif test $ac_prog = install &&
49064 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49065 # program-specific install script used by HP pwplus--don't use.
49066 :
49067 else
49068 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49069 break 3
49070 fi
49071 fi
49072 done
49073 done
49074 ;;
49075 esac
49076 done
49077 IFS=$as_save_IFS
49078
49079
49080 fi
49081 if test "${ac_cv_path_install+set}" = set; then
49082 INSTALL=$ac_cv_path_install
49083 else
49084 # As a last resort, use the slow shell script. Don't cache a
49085 # value for INSTALL within a source directory, because that will
49086 # break other packages using the cache if that directory is
49087 # removed, or if the value is a relative name.
49088 INSTALL=$ac_install_sh
49089 fi
49090 fi
49091 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49092 echo "${ECHO_T}$INSTALL" >&6; }
49093
49094 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49095 # It thinks the first close brace ends the variable substitution.
49096 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49097
49098 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49099
49100 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49101
49102 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49103 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49104 LN_S=$as_ln_s
49105 if test "$LN_S" = "ln -s"; then
49106 { echo "$as_me:$LINENO: result: yes" >&5
49107 echo "${ECHO_T}yes" >&6; }
49108 else
49109 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49110 echo "${ECHO_T}no, using $LN_S" >&6; }
49111 fi
49112
49113
49114 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49115 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49116 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49117 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49118 echo $ECHO_N "(cached) $ECHO_C" >&6
49119 else
49120 cat >conftest.make <<\_ACEOF
49121 SHELL = /bin/sh
49122 all:
49123 @echo '@@@%%%=$(MAKE)=@@@%%%'
49124 _ACEOF
49125 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49126 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49127 *@@@%%%=?*=@@@%%%*)
49128 eval ac_cv_prog_make_${ac_make}_set=yes;;
49129 *)
49130 eval ac_cv_prog_make_${ac_make}_set=no;;
49131 esac
49132 rm -f conftest.make
49133 fi
49134 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49135 { echo "$as_me:$LINENO: result: yes" >&5
49136 echo "${ECHO_T}yes" >&6; }
49137 SET_MAKE=
49138 else
49139 { echo "$as_me:$LINENO: result: no" >&5
49140 echo "${ECHO_T}no" >&6; }
49141 SET_MAKE="MAKE=${MAKE-make}"
49142 fi
49143
49144
49145
49146 if test "x$SUNCXX" = "xyes"; then
49147 AR=$CXX
49148 AROPTIONS="-xar -o"
49149
49150 elif test "x$SGICC" = "xyes"; then
49151 AR=$CXX
49152 AROPTIONS="-ar -o"
49153
49154 else
49155 if test -n "$ac_tool_prefix"; then
49156 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49157 set dummy ${ac_tool_prefix}ar; ac_word=$2
49158 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49160 if test "${ac_cv_prog_AR+set}" = set; then
49161 echo $ECHO_N "(cached) $ECHO_C" >&6
49162 else
49163 if test -n "$AR"; then
49164 ac_cv_prog_AR="$AR" # Let the user override the test.
49165 else
49166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49167 for as_dir in $PATH
49168 do
49169 IFS=$as_save_IFS
49170 test -z "$as_dir" && as_dir=.
49171 for ac_exec_ext in '' $ac_executable_extensions; do
49172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49173 ac_cv_prog_AR="${ac_tool_prefix}ar"
49174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49175 break 2
49176 fi
49177 done
49178 done
49179 IFS=$as_save_IFS
49180
49181 fi
49182 fi
49183 AR=$ac_cv_prog_AR
49184 if test -n "$AR"; then
49185 { echo "$as_me:$LINENO: result: $AR" >&5
49186 echo "${ECHO_T}$AR" >&6; }
49187 else
49188 { echo "$as_me:$LINENO: result: no" >&5
49189 echo "${ECHO_T}no" >&6; }
49190 fi
49191
49192
49193 fi
49194 if test -z "$ac_cv_prog_AR"; then
49195 ac_ct_AR=$AR
49196 # Extract the first word of "ar", so it can be a program name with args.
49197 set dummy ar; ac_word=$2
49198 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49200 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49201 echo $ECHO_N "(cached) $ECHO_C" >&6
49202 else
49203 if test -n "$ac_ct_AR"; then
49204 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49205 else
49206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49207 for as_dir in $PATH
49208 do
49209 IFS=$as_save_IFS
49210 test -z "$as_dir" && as_dir=.
49211 for ac_exec_ext in '' $ac_executable_extensions; do
49212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49213 ac_cv_prog_ac_ct_AR="ar"
49214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49215 break 2
49216 fi
49217 done
49218 done
49219 IFS=$as_save_IFS
49220
49221 fi
49222 fi
49223 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49224 if test -n "$ac_ct_AR"; then
49225 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49226 echo "${ECHO_T}$ac_ct_AR" >&6; }
49227 else
49228 { echo "$as_me:$LINENO: result: no" >&5
49229 echo "${ECHO_T}no" >&6; }
49230 fi
49231
49232 if test "x$ac_ct_AR" = x; then
49233 AR="ar"
49234 else
49235 case $cross_compiling:$ac_tool_warned in
49236 yes:)
49237 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49238 whose name does not start with the host triplet. If you think this
49239 configuration is useful to you, please write to autoconf@gnu.org." >&5
49240 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49241 whose name does not start with the host triplet. If you think this
49242 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49243 ac_tool_warned=yes ;;
49244 esac
49245 AR=$ac_ct_AR
49246 fi
49247 else
49248 AR="$ac_cv_prog_AR"
49249 fi
49250
49251 AROPTIONS=rcu
49252 fi
49253
49254
49255 if test -n "$ac_tool_prefix"; then
49256 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49257 set dummy ${ac_tool_prefix}strip; ac_word=$2
49258 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49260 if test "${ac_cv_prog_STRIP+set}" = set; then
49261 echo $ECHO_N "(cached) $ECHO_C" >&6
49262 else
49263 if test -n "$STRIP"; then
49264 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49265 else
49266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49267 for as_dir in $PATH
49268 do
49269 IFS=$as_save_IFS
49270 test -z "$as_dir" && as_dir=.
49271 for ac_exec_ext in '' $ac_executable_extensions; do
49272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49273 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49275 break 2
49276 fi
49277 done
49278 done
49279 IFS=$as_save_IFS
49280
49281 fi
49282 fi
49283 STRIP=$ac_cv_prog_STRIP
49284 if test -n "$STRIP"; then
49285 { echo "$as_me:$LINENO: result: $STRIP" >&5
49286 echo "${ECHO_T}$STRIP" >&6; }
49287 else
49288 { echo "$as_me:$LINENO: result: no" >&5
49289 echo "${ECHO_T}no" >&6; }
49290 fi
49291
49292
49293 fi
49294 if test -z "$ac_cv_prog_STRIP"; then
49295 ac_ct_STRIP=$STRIP
49296 # Extract the first word of "strip", so it can be a program name with args.
49297 set dummy strip; ac_word=$2
49298 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49300 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49301 echo $ECHO_N "(cached) $ECHO_C" >&6
49302 else
49303 if test -n "$ac_ct_STRIP"; then
49304 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49305 else
49306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49307 for as_dir in $PATH
49308 do
49309 IFS=$as_save_IFS
49310 test -z "$as_dir" && as_dir=.
49311 for ac_exec_ext in '' $ac_executable_extensions; do
49312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49313 ac_cv_prog_ac_ct_STRIP="strip"
49314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49315 break 2
49316 fi
49317 done
49318 done
49319 IFS=$as_save_IFS
49320
49321 fi
49322 fi
49323 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49324 if test -n "$ac_ct_STRIP"; then
49325 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49326 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49327 else
49328 { echo "$as_me:$LINENO: result: no" >&5
49329 echo "${ECHO_T}no" >&6; }
49330 fi
49331
49332 if test "x$ac_ct_STRIP" = x; then
49333 STRIP=":"
49334 else
49335 case $cross_compiling:$ac_tool_warned in
49336 yes:)
49337 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49338 whose name does not start with the host triplet. If you think this
49339 configuration is useful to you, please write to autoconf@gnu.org." >&5
49340 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49341 whose name does not start with the host triplet. If you think this
49342 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49343 ac_tool_warned=yes ;;
49344 esac
49345 STRIP=$ac_ct_STRIP
49346 fi
49347 else
49348 STRIP="$ac_cv_prog_STRIP"
49349 fi
49350
49351 if test -n "$ac_tool_prefix"; then
49352 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49353 set dummy ${ac_tool_prefix}nm; ac_word=$2
49354 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49356 if test "${ac_cv_prog_NM+set}" = set; then
49357 echo $ECHO_N "(cached) $ECHO_C" >&6
49358 else
49359 if test -n "$NM"; then
49360 ac_cv_prog_NM="$NM" # Let the user override the test.
49361 else
49362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49363 for as_dir in $PATH
49364 do
49365 IFS=$as_save_IFS
49366 test -z "$as_dir" && as_dir=.
49367 for ac_exec_ext in '' $ac_executable_extensions; do
49368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49369 ac_cv_prog_NM="${ac_tool_prefix}nm"
49370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49371 break 2
49372 fi
49373 done
49374 done
49375 IFS=$as_save_IFS
49376
49377 fi
49378 fi
49379 NM=$ac_cv_prog_NM
49380 if test -n "$NM"; then
49381 { echo "$as_me:$LINENO: result: $NM" >&5
49382 echo "${ECHO_T}$NM" >&6; }
49383 else
49384 { echo "$as_me:$LINENO: result: no" >&5
49385 echo "${ECHO_T}no" >&6; }
49386 fi
49387
49388
49389 fi
49390 if test -z "$ac_cv_prog_NM"; then
49391 ac_ct_NM=$NM
49392 # Extract the first word of "nm", so it can be a program name with args.
49393 set dummy nm; ac_word=$2
49394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49396 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49397 echo $ECHO_N "(cached) $ECHO_C" >&6
49398 else
49399 if test -n "$ac_ct_NM"; then
49400 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49401 else
49402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49403 for as_dir in $PATH
49404 do
49405 IFS=$as_save_IFS
49406 test -z "$as_dir" && as_dir=.
49407 for ac_exec_ext in '' $ac_executable_extensions; do
49408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49409 ac_cv_prog_ac_ct_NM="nm"
49410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49411 break 2
49412 fi
49413 done
49414 done
49415 IFS=$as_save_IFS
49416
49417 fi
49418 fi
49419 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49420 if test -n "$ac_ct_NM"; then
49421 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49422 echo "${ECHO_T}$ac_ct_NM" >&6; }
49423 else
49424 { echo "$as_me:$LINENO: result: no" >&5
49425 echo "${ECHO_T}no" >&6; }
49426 fi
49427
49428 if test "x$ac_ct_NM" = x; then
49429 NM=":"
49430 else
49431 case $cross_compiling:$ac_tool_warned in
49432 yes:)
49433 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49434 whose name does not start with the host triplet. If you think this
49435 configuration is useful to you, please write to autoconf@gnu.org." >&5
49436 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49437 whose name does not start with the host triplet. If you think this
49438 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49439 ac_tool_warned=yes ;;
49440 esac
49441 NM=$ac_ct_NM
49442 fi
49443 else
49444 NM="$ac_cv_prog_NM"
49445 fi
49446
49447
49448 { echo "$as_me:$LINENO: checking for command to install directories" >&5
49449 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
49450 INSTALL_TEST_DIR=acbftest$$
49451 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
49452 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
49453 rmdir $INSTALL_TEST_DIR
49454 INSTALL_DIR='$(INSTALL) -d'
49455 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
49456 echo "${ECHO_T}$INSTALL -d" >&6; }
49457 else
49458 INSTALL_DIR="mkdir -p"
49459 { echo "$as_me:$LINENO: result: mkdir -p" >&5
49460 echo "${ECHO_T}mkdir -p" >&6; }
49461 fi
49462
49463
49464 LDFLAGS_GUI=
49465 case ${BAKEFILE_HOST} in
49466 *-*-cygwin* | *-*-mingw32* )
49467 LDFLAGS_GUI="-mwindows"
49468 esac
49469
49470
49471 fi
49472
49473 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49474 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49475 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49476 echo $ECHO_N "(cached) $ECHO_C" >&6
49477 else
49478
49479 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
49480 egrep -s GNU > /dev/null); then
49481 bakefile_cv_prog_makeisgnu="yes"
49482 else
49483 bakefile_cv_prog_makeisgnu="no"
49484 fi
49485
49486 fi
49487 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49488 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49489
49490 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49491 IF_GNU_MAKE=""
49492 else
49493 IF_GNU_MAKE="#"
49494 fi
49495
49496
49497
49498 PLATFORM_UNIX=0
49499 PLATFORM_WIN32=0
49500 PLATFORM_MSDOS=0
49501 PLATFORM_MAC=0
49502 PLATFORM_MACOS=0
49503 PLATFORM_MACOSX=0
49504 PLATFORM_OS2=0
49505 PLATFORM_BEOS=0
49506
49507 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49508 case "${BAKEFILE_HOST}" in
49509 *-*-mingw32* )
49510 PLATFORM_WIN32=1
49511 ;;
49512 *-pc-msdosdjgpp )
49513 PLATFORM_MSDOS=1
49514 ;;
49515 *-pc-os2_emx | *-pc-os2-emx )
49516 PLATFORM_OS2=1
49517 ;;
49518 *-*-darwin* )
49519 PLATFORM_MAC=1
49520 PLATFORM_MACOSX=1
49521 ;;
49522 *-*-beos* )
49523 PLATFORM_BEOS=1
49524 ;;
49525 powerpc-apple-macos* )
49526 PLATFORM_MAC=1
49527 PLATFORM_MACOS=1
49528 ;;
49529 * )
49530 PLATFORM_UNIX=1
49531 ;;
49532 esac
49533 else
49534 case "$BAKEFILE_FORCE_PLATFORM" in
49535 win32 )
49536 PLATFORM_WIN32=1
49537 ;;
49538 msdos )
49539 PLATFORM_MSDOS=1
49540 ;;
49541 os2 )
49542 PLATFORM_OS2=1
49543 ;;
49544 darwin )
49545 PLATFORM_MAC=1
49546 PLATFORM_MACOSX=1
49547 ;;
49548 unix )
49549 PLATFORM_UNIX=1
49550 ;;
49551 beos )
49552 PLATFORM_BEOS=1
49553 ;;
49554 * )
49555 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
49556 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
49557 { (exit 1); exit 1; }; }
49558 ;;
49559 esac
49560 fi
49561
49562
49563
49564
49565
49566
49567
49568
49569
49570
49571
49572 # Check whether --enable-omf was given.
49573 if test "${enable_omf+set}" = set; then
49574 enableval=$enable_omf; bk_os2_use_omf="$enableval"
49575 fi
49576
49577
49578 case "${BAKEFILE_HOST}" in
49579 *-*-darwin* )
49580 if test "x$GCC" = "xyes"; then
49581 CFLAGS="$CFLAGS -fno-common"
49582 CXXFLAGS="$CXXFLAGS -fno-common"
49583 fi
49584 if test "x$XLCC" = "xyes"; then
49585 CFLAGS="$CFLAGS -qnocommon"
49586 CXXFLAGS="$CXXFLAGS -qnocommon"
49587 fi
49588 ;;
49589
49590 *-pc-os2_emx | *-pc-os2-emx )
49591 if test "x$bk_os2_use_omf" = "xyes" ; then
49592 AR=emxomfar
49593 RANLIB=:
49594 LDFLAGS="-Zomf $LDFLAGS"
49595 CFLAGS="-Zomf $CFLAGS"
49596 CXXFLAGS="-Zomf $CXXFLAGS"
49597 OS2_LIBEXT="lib"
49598 else
49599 OS2_LIBEXT="a"
49600 fi
49601 ;;
49602
49603 i*86-*-beos* )
49604 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
49605 ;;
49606 esac
49607
49608
49609 SO_SUFFIX="so"
49610 SO_SUFFIX_MODULE="so"
49611 EXEEXT=""
49612 LIBPREFIX="lib"
49613 LIBEXT=".a"
49614 DLLPREFIX="lib"
49615 DLLPREFIX_MODULE=""
49616 DLLIMP_SUFFIX=""
49617 dlldir="$libdir"
49618
49619 case "${BAKEFILE_HOST}" in
49620 ia64-hp-hpux* )
49621 ;;
49622 *-hp-hpux* )
49623 SO_SUFFIX="sl"
49624 SO_SUFFIX_MODULE="sl"
49625 ;;
49626 *-*-aix* )
49627 SO_SUFFIX="a"
49628 SO_SUFFIX_MODULE="a"
49629 ;;
49630 *-*-cygwin* )
49631 SO_SUFFIX="dll"
49632 SO_SUFFIX_MODULE="dll"
49633 DLLIMP_SUFFIX="dll.a"
49634 EXEEXT=".exe"
49635 DLLPREFIX="cyg"
49636 dlldir="$bindir"
49637 ;;
49638 *-*-mingw32* )
49639 SO_SUFFIX="dll"
49640 SO_SUFFIX_MODULE="dll"
49641 DLLIMP_SUFFIX="dll.a"
49642 EXEEXT=".exe"
49643 DLLPREFIX=""
49644 dlldir="$bindir"
49645 ;;
49646 *-pc-msdosdjgpp )
49647 EXEEXT=".exe"
49648 DLLPREFIX=""
49649 dlldir="$bindir"
49650 ;;
49651 *-pc-os2_emx | *-pc-os2-emx )
49652 SO_SUFFIX="dll"
49653 SO_SUFFIX_MODULE="dll"
49654 DLLIMP_SUFFIX=$OS2_LIBEXT
49655 EXEEXT=".exe"
49656 DLLPREFIX=""
49657 LIBPREFIX=""
49658 LIBEXT=".$OS2_LIBEXT"
49659 dlldir="$bindir"
49660 ;;
49661 *-*-darwin* )
49662 SO_SUFFIX="dylib"
49663 SO_SUFFIX_MODULE="bundle"
49664 ;;
49665 esac
49666
49667 if test "x$DLLIMP_SUFFIX" = "x" ; then
49668 DLLIMP_SUFFIX="$SO_SUFFIX"
49669 fi
49670
49671
49672
49673
49674
49675
49676
49677
49678
49679
49680
49681
49682 PIC_FLAG=""
49683 if test "x$GCC" = "xyes"; then
49684 PIC_FLAG="-fPIC"
49685 fi
49686
49687 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
49688 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
49689 WINDOWS_IMPLIB=0
49690
49691 case "${BAKEFILE_HOST}" in
49692 *-hp-hpux* )
49693 if test "x$GCC" != "xyes"; then
49694 LDFLAGS="$LDFLAGS -L/usr/lib"
49695
49696 SHARED_LD_CC="${CC} -b -o"
49697 SHARED_LD_CXX="${CXX} -b -o"
49698 PIC_FLAG="+Z"
49699 fi
49700 ;;
49701
49702 *-*-linux* )
49703 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
49704 PIC_FLAG="-KPIC"
49705 elif test "x$SUNCXX" = "xyes"; then
49706 SHARED_LD_CC="${CC} -G -o"
49707 SHARED_LD_CXX="${CXX} -G -o"
49708 PIC_FLAG="-KPIC"
49709 fi
49710 ;;
49711
49712 *-*-solaris2* )
49713 if test "x$SUNCXX" = xyes ; then
49714 SHARED_LD_CC="${CC} -G -o"
49715 SHARED_LD_CXX="${CXX} -G -o"
49716 PIC_FLAG="-KPIC"
49717 fi
49718 ;;
49719
49720 *-*-darwin* )
49721
49722 D='$'
49723 cat <<EOF >shared-ld-sh
49724 #!/bin/sh
49725 #-----------------------------------------------------------------------------
49726 #-- Name: distrib/mac/shared-ld-sh
49727 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
49728 #-- Author: Gilles Depeyrot
49729 #-- Copyright: (c) 2002 Gilles Depeyrot
49730 #-- Licence: any use permitted
49731 #-----------------------------------------------------------------------------
49732
49733 verbose=0
49734 args=""
49735 objects=""
49736 linking_flag="-dynamiclib"
49737 ldargs="-r -keep_private_externs -nostdlib"
49738
49739 if test "x${D}CXX" = "x"; then
49740 CXX="c++"
49741 fi
49742
49743 while test ${D}# -gt 0; do
49744 case ${D}1 in
49745
49746 -v)
49747 verbose=1
49748 ;;
49749
49750 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
49751 # collect these options and values
49752 args="${D}{args} ${D}1 ${D}2"
49753 shift
49754 ;;
49755
49756 -arch|-isysroot)
49757 # collect these options and values
49758 ldargs="${D}{ldargs} ${D}1 ${D}2"
49759 shift
49760 ;;
49761
49762 -s|-Wl,*)
49763 # collect these load args
49764 ldargs="${D}{ldargs} ${D}1"
49765 ;;
49766
49767 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
49768 # collect these options
49769 args="${D}{args} ${D}1"
49770 ;;
49771
49772 -dynamiclib|-bundle)
49773 linking_flag="${D}1"
49774 ;;
49775
49776 -*)
49777 echo "shared-ld: unhandled option '${D}1'"
49778 exit 1
49779 ;;
49780
49781 *.o | *.a | *.dylib)
49782 # collect object files
49783 objects="${D}{objects} ${D}1"
49784 ;;
49785
49786 *)
49787 echo "shared-ld: unhandled argument '${D}1'"
49788 exit 1
49789 ;;
49790
49791 esac
49792 shift
49793 done
49794
49795 status=0
49796
49797 #
49798 # Link one module containing all the others
49799 #
49800 if test ${D}{verbose} = 1; then
49801 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
49802 fi
49803 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
49804 status=${D}?
49805
49806 #
49807 # Link the shared library from the single module created, but only if the
49808 # previous command didn't fail:
49809 #
49810 if test ${D}{status} = 0; then
49811 if test ${D}{verbose} = 1; then
49812 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
49813 fi
49814 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
49815 status=${D}?
49816 fi
49817
49818 #
49819 # Remove intermediate module
49820 #
49821 rm -f master.${D}${D}.o
49822
49823 exit ${D}status
49824 EOF
49825
49826 chmod +x shared-ld-sh
49827
49828 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
49829 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
49830
49831
49832 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
49833 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
49834 if test "${bakefile_cv_gcc31+set}" = set; then
49835 echo $ECHO_N "(cached) $ECHO_C" >&6
49836 else
49837
49838 cat >conftest.$ac_ext <<_ACEOF
49839 /* confdefs.h. */
49840 _ACEOF
49841 cat confdefs.h >>conftest.$ac_ext
49842 cat >>conftest.$ac_ext <<_ACEOF
49843 /* end confdefs.h. */
49844
49845 int
49846 main ()
49847 {
49848
49849 #if (__GNUC__ < 3) || \
49850 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
49851 This is old gcc
49852 #endif
49853
49854 ;
49855 return 0;
49856 }
49857 _ACEOF
49858 rm -f conftest.$ac_objext
49859 if { (ac_try="$ac_compile"
49860 case "(($ac_try" in
49861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49862 *) ac_try_echo=$ac_try;;
49863 esac
49864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49865 (eval "$ac_compile") 2>conftest.er1
49866 ac_status=$?
49867 grep -v '^ *+' conftest.er1 >conftest.err
49868 rm -f conftest.er1
49869 cat conftest.err >&5
49870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49871 (exit $ac_status); } && {
49872 test -z "$ac_c_werror_flag" ||
49873 test ! -s conftest.err
49874 } && test -s conftest.$ac_objext; then
49875
49876 bakefile_cv_gcc31=yes
49877
49878 else
49879 echo "$as_me: failed program was:" >&5
49880 sed 's/^/| /' conftest.$ac_ext >&5
49881
49882
49883 bakefile_cv_gcc31=no
49884
49885
49886 fi
49887
49888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49889
49890 fi
49891 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
49892 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
49893 if test "$bakefile_cv_gcc31" = "no"; then
49894 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
49895 SHARED_LD_CXX="$SHARED_LD_CC"
49896 else
49897 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
49898 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
49899 fi
49900
49901 if test "x$GCC" == "xyes"; then
49902 PIC_FLAG="-dynamic -fPIC"
49903 fi
49904 if test "x$XLCC" = "xyes"; then
49905 PIC_FLAG="-dynamic -DPIC"
49906 fi
49907 ;;
49908
49909 *-*-aix* )
49910 if test "x$GCC" = "xyes"; then
49911 PIC_FLAG=""
49912
49913 case "${BAKEFILE_HOST}" in
49914 *-*-aix5* )
49915 LD_EXPFULL="-Wl,-bexpfull"
49916 ;;
49917 esac
49918
49919 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
49920 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
49921 else
49922 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
49923 set dummy makeC++SharedLib; ac_word=$2
49924 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49926 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
49927 echo $ECHO_N "(cached) $ECHO_C" >&6
49928 else
49929 if test -n "$AIX_CXX_LD"; then
49930 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
49931 else
49932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49933 for as_dir in $PATH
49934 do
49935 IFS=$as_save_IFS
49936 test -z "$as_dir" && as_dir=.
49937 for ac_exec_ext in '' $ac_executable_extensions; do
49938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49939 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
49940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49941 break 2
49942 fi
49943 done
49944 done
49945 IFS=$as_save_IFS
49946
49947 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
49948 fi
49949 fi
49950 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
49951 if test -n "$AIX_CXX_LD"; then
49952 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
49953 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
49954 else
49955 { echo "$as_me:$LINENO: result: no" >&5
49956 echo "${ECHO_T}no" >&6; }
49957 fi
49958
49959
49960 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
49961 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
49962 fi
49963 ;;
49964
49965 *-*-beos* )
49966 SHARED_LD_CC="${LD} -nostart -o"
49967 SHARED_LD_CXX="${LD} -nostart -o"
49968 ;;
49969
49970 *-*-irix* )
49971 if test "x$GCC" != "xyes"; then
49972 PIC_FLAG="-KPIC"
49973 fi
49974 ;;
49975
49976 *-*-cygwin* | *-*-mingw32* )
49977 PIC_FLAG=""
49978 SHARED_LD_CC="\$(CC) -shared -o"
49979 SHARED_LD_CXX="\$(CXX) -shared -o"
49980 WINDOWS_IMPLIB=1
49981 ;;
49982
49983 *-pc-os2_emx | *-pc-os2-emx )
49984 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49985 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49986 PIC_FLAG=""
49987
49988 D='$'
49989 cat <<EOF >dllar.sh
49990 #!/bin/sh
49991 #
49992 # dllar - a tool to build both a .dll and an .a file
49993 # from a set of object (.o) files for EMX/OS2.
49994 #
49995 # Written by Andrew Zabolotny, bit@freya.etu.ru
49996 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
49997 #
49998 # This script will accept a set of files on the command line.
49999 # All the public symbols from the .o files will be exported into
50000 # a .DEF file, then linker will be run (through gcc) against them to
50001 # build a shared library consisting of all given .o files. All libraries
50002 # (.a) will be first decompressed into component .o files then act as
50003 # described above. You can optionally give a description (-d "description")
50004 # which will be put into .DLL. To see the list of accepted options (as well
50005 # as command-line format) simply run this program without options. The .DLL
50006 # is built to be imported by name (there is no guarantee that new versions
50007 # of the library you build will have same ordinals for same symbols).
50008 #
50009 # dllar is free software; you can redistribute it and/or modify
50010 # it under the terms of the GNU General Public License as published by
50011 # the Free Software Foundation; either version 2, or (at your option)
50012 # any later version.
50013 #
50014 # dllar is distributed in the hope that it will be useful,
50015 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50016 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50017 # GNU General Public License for more details.
50018 #
50019 # You should have received a copy of the GNU General Public License
50020 # along with dllar; see the file COPYING. If not, write to the Free
50021 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50022 # 02111-1307, USA.
50023
50024 # To successfuly run this program you will need:
50025 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50026 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50027 # - gcc
50028 # (used to build the .dll)
50029 # - emxexp
50030 # (used to create .def file from .o files)
50031 # - emximp
50032 # (used to create .a file from .def file)
50033 # - GNU text utilites (cat, sort, uniq)
50034 # used to process emxexp output
50035 # - GNU file utilities (mv, rm)
50036 # - GNU sed
50037 # - lxlite (optional, see flag below)
50038 # (used for general .dll cleanup)
50039 #
50040
50041 flag_USE_LXLITE=1;
50042
50043 #
50044 # helper functions
50045 # basnam, variant of basename, which does _not_ remove the path, _iff_
50046 # second argument (suffix to remove) is given
50047 basnam(){
50048 case ${D}# in
50049 1)
50050 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50051 ;;
50052 2)
50053 echo ${D}1 | sed 's/'${D}2'${D}//'
50054 ;;
50055 *)
50056 echo "error in basnam ${D}*"
50057 exit 8
50058 ;;
50059 esac
50060 }
50061
50062 # Cleanup temporary files and output
50063 CleanUp() {
50064 cd ${D}curDir
50065 for i in ${D}inputFiles ; do
50066 case ${D}i in
50067 *!)
50068 rm -rf \`basnam ${D}i !\`
50069 ;;
50070 *)
50071 ;;
50072 esac
50073 done
50074
50075 # Kill result in case of failure as there is just to many stupid make/nmake
50076 # things out there which doesn't do this.
50077 if [ ${D}# -eq 0 ]; then
50078 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50079 fi
50080 }
50081
50082 # Print usage and exit script with rc=1.
50083 PrintHelp() {
50084 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50085 echo ' [-name-mangler-script script.sh]'
50086 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50087 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50088 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50089 echo ' [*.o] [*.a]'
50090 echo '*> "output_file" should have no extension.'
50091 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50092 echo ' The import library name is derived from this and is set to "name".a,'
50093 echo ' unless overridden by -import'
50094 echo '*> "importlib_name" should have no extension.'
50095 echo ' If it has the .o, or .a extension, it is automatically removed.'
50096 echo ' This name is used as the import library name and may be longer and'
50097 echo ' more descriptive than the DLL name which has to follow the old '
50098 echo ' 8.3 convention of FAT.'
50099 echo '*> "script.sh may be given to override the output_file name by a'
50100 echo ' different name. It is mainly useful if the regular make process'
50101 echo ' of some package does not take into account OS/2 restriction of'
50102 echo ' DLL name lengths. It takes the importlib name as input and is'
50103 echo ' supposed to procude a shorter name as output. The script should'
50104 echo ' expect to get importlib_name without extension and should produce'
50105 echo ' a (max.) 8 letter name without extension.'
50106 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50107 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50108 echo ' These flags will be put at the start of GCC command line.'
50109 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50110 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50111 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50112 echo ' If the last character of a symbol is "*", all symbols beginning'
50113 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50114 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50115 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50116 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50117 echo ' C runtime DLLs.'
50118 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50119 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50120 echo ' unchanged to GCC at the end of command line.'
50121 echo '*> If you create a DLL from a library and you do not specify -o,'
50122 echo ' the basename for DLL and import library will be set to library name,'
50123 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50124 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50125 echo ' library will be renamed into gcc_s.a.'
50126 echo '--------'
50127 echo 'Example:'
50128 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50129 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50130 CleanUp
50131 exit 1
50132 }
50133
50134 # Execute a command.
50135 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50136 # @Uses Whatever CleanUp() uses.
50137 doCommand() {
50138 echo "${D}*"
50139 eval ${D}*
50140 rcCmd=${D}?
50141
50142 if [ ${D}rcCmd -ne 0 ]; then
50143 echo "command failed, exit code="${D}rcCmd
50144 CleanUp
50145 exit ${D}rcCmd
50146 fi
50147 }
50148
50149 # main routine
50150 # setup globals
50151 cmdLine=${D}*
50152 outFile=""
50153 outimpFile=""
50154 inputFiles=""
50155 renameScript=""
50156 description=""
50157 CC=gcc.exe
50158 CFLAGS="-s -Zcrtdll"
50159 EXTRA_CFLAGS=""
50160 EXPORT_BY_ORDINALS=0
50161 exclude_symbols=""
50162 library_flags=""
50163 curDir=\`pwd\`
50164 curDirS=curDir
50165 case ${D}curDirS in
50166 */)
50167 ;;
50168 *)
50169 curDirS=${D}{curDirS}"/"
50170 ;;
50171 esac
50172 # Parse commandline
50173 libsToLink=0
50174 omfLinking=0
50175 while [ ${D}1 ]; do
50176 case ${D}1 in
50177 -ord*)
50178 EXPORT_BY_ORDINALS=1;
50179 ;;
50180 -o*)
50181 shift
50182 outFile=${D}1
50183 ;;
50184 -i*)
50185 shift
50186 outimpFile=${D}1
50187 ;;
50188 -name-mangler-script)
50189 shift
50190 renameScript=${D}1
50191 ;;
50192 -d*)
50193 shift
50194 description=${D}1
50195 ;;
50196 -f*)
50197 shift
50198 CFLAGS=${D}1
50199 ;;
50200 -c*)
50201 shift
50202 CC=${D}1
50203 ;;
50204 -h*)
50205 PrintHelp
50206 ;;
50207 -ex*)
50208 shift
50209 exclude_symbols=${D}{exclude_symbols}${D}1" "
50210 ;;
50211 -libf*)
50212 shift
50213 library_flags=${D}{library_flags}${D}1" "
50214 ;;
50215 -nocrt*)
50216 CFLAGS="-s"
50217 ;;
50218 -nolxl*)
50219 flag_USE_LXLITE=0
50220 ;;
50221 -* | /*)
50222 case ${D}1 in
50223 -L* | -l*)
50224 libsToLink=1
50225 ;;
50226 -Zomf)
50227 omfLinking=1
50228 ;;
50229 *)
50230 ;;
50231 esac
50232 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50233 ;;
50234 *.dll)
50235 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50236 if [ ${D}omfLinking -eq 1 ]; then
50237 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50238 else
50239 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50240 fi
50241 ;;
50242 *)
50243 found=0;
50244 if [ ${D}libsToLink -ne 0 ]; then
50245 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50246 else
50247 for file in ${D}1 ; do
50248 if [ -f ${D}file ]; then
50249 inputFiles="${D}{inputFiles} ${D}file"
50250 found=1
50251 fi
50252 done
50253 if [ ${D}found -eq 0 ]; then
50254 echo "ERROR: No file(s) found: "${D}1
50255 exit 8
50256 fi
50257 fi
50258 ;;
50259 esac
50260 shift
50261 done # iterate cmdline words
50262
50263 #
50264 if [ -z "${D}inputFiles" ]; then
50265 echo "dllar: no input files"
50266 PrintHelp
50267 fi
50268
50269 # Now extract all .o files from .a files
50270 newInputFiles=""
50271 for file in ${D}inputFiles ; do
50272 case ${D}file in
50273 *.a | *.lib)
50274 case ${D}file in
50275 *.a)
50276 suffix=".a"
50277 AR="ar"
50278 ;;
50279 *.lib)
50280 suffix=".lib"
50281 AR="emxomfar"
50282 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50283 ;;
50284 *)
50285 ;;
50286 esac
50287 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50288 mkdir ${D}dirname
50289 if [ ${D}? -ne 0 ]; then
50290 echo "Failed to create subdirectory ./${D}dirname"
50291 CleanUp
50292 exit 8;
50293 fi
50294 # Append '!' to indicate archive
50295 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50296 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50297 cd ${D}curDir
50298 found=0;
50299 for subfile in ${D}dirname/*.o* ; do
50300 if [ -f ${D}subfile ]; then
50301 found=1
50302 if [ -s ${D}subfile ]; then
50303 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50304 newInputFiles="${D}newInputFiles ${D}subfile"
50305 fi
50306 fi
50307 done
50308 if [ ${D}found -eq 0 ]; then
50309 echo "WARNING: there are no files in archive \\'${D}file\\'"
50310 fi
50311 ;;
50312 *)
50313 newInputFiles="${D}{newInputFiles} ${D}file"
50314 ;;
50315 esac
50316 done
50317 inputFiles="${D}newInputFiles"
50318
50319 # Output filename(s).
50320 do_backup=0;
50321 if [ -z ${D}outFile ]; then
50322 do_backup=1;
50323 set outFile ${D}inputFiles; outFile=${D}2
50324 fi
50325
50326 # If it is an archive, remove the '!' and the '_%' suffixes
50327 case ${D}outFile in
50328 *_%!)
50329 outFile=\`basnam ${D}outFile _%!\`
50330 ;;
50331 *)
50332 ;;
50333 esac
50334 case ${D}outFile in
50335 *.dll)
50336 outFile=\`basnam ${D}outFile .dll\`
50337 ;;
50338 *.DLL)
50339 outFile=\`basnam ${D}outFile .DLL\`
50340 ;;
50341 *.o)
50342 outFile=\`basnam ${D}outFile .o\`
50343 ;;
50344 *.obj)
50345 outFile=\`basnam ${D}outFile .obj\`
50346 ;;
50347 *.a)
50348 outFile=\`basnam ${D}outFile .a\`
50349 ;;
50350 *.lib)
50351 outFile=\`basnam ${D}outFile .lib\`
50352 ;;
50353 *)
50354 ;;
50355 esac
50356 case ${D}outimpFile in
50357 *.a)
50358 outimpFile=\`basnam ${D}outimpFile .a\`
50359 ;;
50360 *.lib)
50361 outimpFile=\`basnam ${D}outimpFile .lib\`
50362 ;;
50363 *)
50364 ;;
50365 esac
50366 if [ -z ${D}outimpFile ]; then
50367 outimpFile=${D}outFile
50368 fi
50369 defFile="${D}{outFile}.def"
50370 arcFile="${D}{outimpFile}.a"
50371 arcFile2="${D}{outimpFile}.lib"
50372
50373 #create ${D}dllFile as something matching 8.3 restrictions,
50374 if [ -z ${D}renameScript ] ; then
50375 dllFile="${D}outFile"
50376 else
50377 dllFile=\`${D}renameScript ${D}outimpFile\`
50378 fi
50379
50380 if [ ${D}do_backup -ne 0 ] ; then
50381 if [ -f ${D}arcFile ] ; then
50382 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50383 fi
50384 if [ -f ${D}arcFile2 ] ; then
50385 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50386 fi
50387 fi
50388
50389 # Extract public symbols from all the object files.
50390 tmpdefFile=${D}{defFile}_%
50391 rm -f ${D}tmpdefFile
50392 for file in ${D}inputFiles ; do
50393 case ${D}file in
50394 *!)
50395 ;;
50396 *)
50397 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50398 ;;
50399 esac
50400 done
50401
50402 # Create the def file.
50403 rm -f ${D}defFile
50404 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50405 dllFile="${D}{dllFile}.dll"
50406 if [ ! -z ${D}description ]; then
50407 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50408 fi
50409 echo "EXPORTS" >> ${D}defFile
50410
50411 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50412 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50413
50414 # Checks if the export is ok or not.
50415 for word in ${D}exclude_symbols; do
50416 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50417 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50418 done
50419
50420
50421 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50422 sed "=" < ${D}tmpdefFile | \\
50423 sed '
50424 N
50425 : loop
50426 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50427 t loop
50428 ' > ${D}{tmpdefFile}%
50429 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50430 else
50431 rm -f ${D}{tmpdefFile}%
50432 fi
50433 cat ${D}tmpdefFile >> ${D}defFile
50434 rm -f ${D}tmpdefFile
50435
50436 # Do linking, create implib, and apply lxlite.
50437 gccCmdl="";
50438 for file in ${D}inputFiles ; do
50439 case ${D}file in
50440 *!)
50441 ;;
50442 *)
50443 gccCmdl="${D}gccCmdl ${D}file"
50444 ;;
50445 esac
50446 done
50447 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50448 touch "${D}{outFile}.dll"
50449
50450 doCommand "emximp -o ${D}arcFile ${D}defFile"
50451 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50452 add_flags="";
50453 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50454 add_flags="-ynd"
50455 fi
50456 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50457 fi
50458 doCommand "emxomf -s -l ${D}arcFile"
50459
50460 # Successful exit.
50461 CleanUp 1
50462 exit 0
50463 EOF
50464
50465 chmod +x dllar.sh
50466 ;;
50467
50468 powerpc-apple-macos* | \
50469 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50470 *-*-mirbsd* | \
50471 *-*-sunos4* | \
50472 *-*-osf* | \
50473 *-*-dgux5* | \
50474 *-*-sysv5* | \
50475 *-pc-msdosdjgpp )
50476 ;;
50477
50478 *)
50479 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50480 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50481 { (exit 1); exit 1; }; }
50482 esac
50483
50484 if test "x$PIC_FLAG" != "x" ; then
50485 PIC_FLAG="$PIC_FLAG -DPIC"
50486 fi
50487
50488 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50489 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50490 fi
50491 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50492 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50493 fi
50494
50495
50496
50497
50498
50499
50500
50501
50502
50503 USE_SOVERSION=0
50504 USE_SOVERLINUX=0
50505 USE_SOVERSOLARIS=0
50506 USE_SOVERCYGWIN=0
50507 USE_SOTWOSYMLINKS=0
50508 USE_MACVERSION=0
50509 SONAME_FLAG=
50510
50511 case "${BAKEFILE_HOST}" in
50512 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
50513 *-*-k*bsd*-gnu | *-*-mirbsd* )
50514 if test "x$SUNCXX" = "xyes"; then
50515 SONAME_FLAG="-h "
50516 else
50517 SONAME_FLAG="-Wl,-soname,"
50518 fi
50519 USE_SOVERSION=1
50520 USE_SOVERLINUX=1
50521 USE_SOTWOSYMLINKS=1
50522 ;;
50523
50524 *-*-solaris2* )
50525 SONAME_FLAG="-h "
50526 USE_SOVERSION=1
50527 USE_SOVERSOLARIS=1
50528 ;;
50529
50530 *-*-darwin* )
50531 USE_MACVERSION=1
50532 USE_SOVERSION=1
50533 USE_SOTWOSYMLINKS=1
50534 ;;
50535
50536 *-*-cygwin* )
50537 USE_SOVERSION=1
50538 USE_SOVERCYGWIN=1
50539 ;;
50540 esac
50541
50542
50543
50544
50545
50546
50547
50548
50549
50550
50551 # Check whether --enable-dependency-tracking was given.
50552 if test "${enable_dependency_tracking+set}" = set; then
50553 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
50554 fi
50555
50556
50557 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50558 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
50559
50560 BK_DEPS=""
50561 if test "x$bk_use_trackdeps" = "xno" ; then
50562 DEPS_TRACKING=0
50563 { echo "$as_me:$LINENO: result: disabled" >&5
50564 echo "${ECHO_T}disabled" >&6; }
50565 else
50566 DEPS_TRACKING=1
50567
50568 if test "x$GCC" = "xyes"; then
50569 DEPSMODE=gcc
50570 case "${BAKEFILE_HOST}" in
50571 *-*-darwin* )
50572 DEPSFLAG="-no-cpp-precomp -MMD"
50573 ;;
50574 * )
50575 DEPSFLAG="-MMD"
50576 ;;
50577 esac
50578 { echo "$as_me:$LINENO: result: gcc" >&5
50579 echo "${ECHO_T}gcc" >&6; }
50580 elif test "x$MWCC" = "xyes"; then
50581 DEPSMODE=mwcc
50582 DEPSFLAG="-MM"
50583 { echo "$as_me:$LINENO: result: mwcc" >&5
50584 echo "${ECHO_T}mwcc" >&6; }
50585 elif test "x$SUNCC" = "xyes"; then
50586 DEPSMODE=unixcc
50587 DEPSFLAG="-xM1"
50588 { echo "$as_me:$LINENO: result: Sun cc" >&5
50589 echo "${ECHO_T}Sun cc" >&6; }
50590 elif test "x$SGICC" = "xyes"; then
50591 DEPSMODE=unixcc
50592 DEPSFLAG="-M"
50593 { echo "$as_me:$LINENO: result: SGI cc" >&5
50594 echo "${ECHO_T}SGI cc" >&6; }
50595 elif test "x$HPCC" = "xyes"; then
50596 DEPSMODE=unixcc
50597 DEPSFLAG="+make"
50598 { echo "$as_me:$LINENO: result: HP cc" >&5
50599 echo "${ECHO_T}HP cc" >&6; }
50600 elif test "x$COMPAQCC" = "xyes"; then
50601 DEPSMODE=gcc
50602 DEPSFLAG="-MD"
50603 { echo "$as_me:$LINENO: result: Compaq cc" >&5
50604 echo "${ECHO_T}Compaq cc" >&6; }
50605 else
50606 DEPS_TRACKING=0
50607 { echo "$as_me:$LINENO: result: none" >&5
50608 echo "${ECHO_T}none" >&6; }
50609 fi
50610
50611 if test $DEPS_TRACKING = 1 ; then
50612
50613 D='$'
50614 cat <<EOF >bk-deps
50615 #!/bin/sh
50616
50617 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50618 # script. It is used to track C/C++ files dependencies in portable way.
50619 #
50620 # Permission is given to use this file in any way.
50621
50622 DEPSMODE=${DEPSMODE}
50623 DEPSFLAG="${DEPSFLAG}"
50624 DEPSDIRBASE=.deps
50625
50626 if test ${D}DEPSMODE = gcc ; then
50627 ${D}* ${D}{DEPSFLAG}
50628 status=${D}?
50629
50630 # determine location of created files:
50631 while test ${D}# -gt 0; do
50632 case "${D}1" in
50633 -o )
50634 shift
50635 objfile=${D}1
50636 ;;
50637 -* )
50638 ;;
50639 * )
50640 srcfile=${D}1
50641 ;;
50642 esac
50643 shift
50644 done
50645 objfilebase=\`basename ${D}objfile\`
50646 builddir=\`dirname ${D}objfile\`
50647 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
50648 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
50649 depsdir=${D}builddir/${D}DEPSDIRBASE
50650 mkdir -p ${D}depsdir
50651
50652 # if the compiler failed, we're done:
50653 if test ${D}{status} != 0 ; then
50654 rm -f ${D}depfile
50655 exit ${D}{status}
50656 fi
50657
50658 # move created file to the location we want it in:
50659 if test -f ${D}depfile ; then
50660 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50661 rm -f ${D}depfile
50662 else
50663 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
50664 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
50665 if test ! -f ${D}depfile ; then
50666 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
50667 depfile="${D}objfile.d"
50668 fi
50669 if test -f ${D}depfile ; then
50670 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50671 rm -f ${D}depfile
50672 fi
50673 fi
50674 exit 0
50675
50676 elif test ${D}DEPSMODE = mwcc ; then
50677 ${D}* || exit ${D}?
50678 # Run mwcc again with -MM and redirect into the dep file we want
50679 # NOTE: We can't use shift here because we need ${D}* to be valid
50680 prevarg=
50681 for arg in ${D}* ; do
50682 if test "${D}prevarg" = "-o"; then
50683 objfile=${D}arg
50684 else
50685 case "${D}arg" in
50686 -* )
50687 ;;
50688 * )
50689 srcfile=${D}arg
50690 ;;
50691 esac
50692 fi
50693 prevarg="${D}arg"
50694 done
50695
50696 objfilebase=\`basename ${D}objfile\`
50697 builddir=\`dirname ${D}objfile\`
50698 depsdir=${D}builddir/${D}DEPSDIRBASE
50699 mkdir -p ${D}depsdir
50700
50701 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
50702 exit 0
50703
50704 elif test ${D}DEPSMODE = unixcc; then
50705 ${D}* || exit ${D}?
50706 # Run compiler again with deps flag and redirect into the dep file.
50707 # It doesn't work if the '-o FILE' option is used, but without it the
50708 # dependency file will contain the wrong name for the object. So it is
50709 # removed from the command line, and the dep file is fixed with sed.
50710 cmd=""
50711 while test ${D}# -gt 0; do
50712 case "${D}1" in
50713 -o )
50714 shift
50715 objfile=${D}1
50716 ;;
50717 * )
50718 eval arg${D}#=\\${D}1
50719 cmd="${D}cmd \\${D}arg${D}#"
50720 ;;
50721 esac
50722 shift
50723 done
50724
50725 objfilebase=\`basename ${D}objfile\`
50726 builddir=\`dirname ${D}objfile\`
50727 depsdir=${D}builddir/${D}DEPSDIRBASE
50728 mkdir -p ${D}depsdir
50729
50730 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
50731 exit 0
50732
50733 else
50734 ${D}*
50735 exit ${D}?
50736 fi
50737 EOF
50738
50739 chmod +x bk-deps
50740 BK_DEPS="`pwd`/bk-deps"
50741 fi
50742 fi
50743
50744
50745
50746
50747
50748 case ${BAKEFILE_HOST} in
50749 *-*-cygwin* | *-*-mingw32* )
50750 if test -n "$ac_tool_prefix"; then
50751 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
50752 set dummy ${ac_tool_prefix}windres; ac_word=$2
50753 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50755 if test "${ac_cv_prog_WINDRES+set}" = set; then
50756 echo $ECHO_N "(cached) $ECHO_C" >&6
50757 else
50758 if test -n "$WINDRES"; then
50759 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
50760 else
50761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50762 for as_dir in $PATH
50763 do
50764 IFS=$as_save_IFS
50765 test -z "$as_dir" && as_dir=.
50766 for ac_exec_ext in '' $ac_executable_extensions; do
50767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50768 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
50769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50770 break 2
50771 fi
50772 done
50773 done
50774 IFS=$as_save_IFS
50775
50776 fi
50777 fi
50778 WINDRES=$ac_cv_prog_WINDRES
50779 if test -n "$WINDRES"; then
50780 { echo "$as_me:$LINENO: result: $WINDRES" >&5
50781 echo "${ECHO_T}$WINDRES" >&6; }
50782 else
50783 { echo "$as_me:$LINENO: result: no" >&5
50784 echo "${ECHO_T}no" >&6; }
50785 fi
50786
50787
50788 fi
50789 if test -z "$ac_cv_prog_WINDRES"; then
50790 ac_ct_WINDRES=$WINDRES
50791 # Extract the first word of "windres", so it can be a program name with args.
50792 set dummy windres; ac_word=$2
50793 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50795 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
50796 echo $ECHO_N "(cached) $ECHO_C" >&6
50797 else
50798 if test -n "$ac_ct_WINDRES"; then
50799 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
50800 else
50801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50802 for as_dir in $PATH
50803 do
50804 IFS=$as_save_IFS
50805 test -z "$as_dir" && as_dir=.
50806 for ac_exec_ext in '' $ac_executable_extensions; do
50807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50808 ac_cv_prog_ac_ct_WINDRES="windres"
50809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50810 break 2
50811 fi
50812 done
50813 done
50814 IFS=$as_save_IFS
50815
50816 fi
50817 fi
50818 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
50819 if test -n "$ac_ct_WINDRES"; then
50820 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
50821 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
50822 else
50823 { echo "$as_me:$LINENO: result: no" >&5
50824 echo "${ECHO_T}no" >&6; }
50825 fi
50826
50827 if test "x$ac_ct_WINDRES" = x; then
50828 WINDRES=""
50829 else
50830 case $cross_compiling:$ac_tool_warned in
50831 yes:)
50832 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50833 whose name does not start with the host triplet. If you think this
50834 configuration is useful to you, please write to autoconf@gnu.org." >&5
50835 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50836 whose name does not start with the host triplet. If you think this
50837 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50838 ac_tool_warned=yes ;;
50839 esac
50840 WINDRES=$ac_ct_WINDRES
50841 fi
50842 else
50843 WINDRES="$ac_cv_prog_WINDRES"
50844 fi
50845
50846 ;;
50847
50848 *-*-darwin* | powerpc-apple-macos* )
50849 # Extract the first word of "Rez", so it can be a program name with args.
50850 set dummy Rez; ac_word=$2
50851 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50853 if test "${ac_cv_prog_REZ+set}" = set; then
50854 echo $ECHO_N "(cached) $ECHO_C" >&6
50855 else
50856 if test -n "$REZ"; then
50857 ac_cv_prog_REZ="$REZ" # Let the user override the test.
50858 else
50859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50860 for as_dir in $PATH
50861 do
50862 IFS=$as_save_IFS
50863 test -z "$as_dir" && as_dir=.
50864 for ac_exec_ext in '' $ac_executable_extensions; do
50865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50866 ac_cv_prog_REZ="Rez"
50867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50868 break 2
50869 fi
50870 done
50871 done
50872 IFS=$as_save_IFS
50873
50874 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
50875 fi
50876 fi
50877 REZ=$ac_cv_prog_REZ
50878 if test -n "$REZ"; then
50879 { echo "$as_me:$LINENO: result: $REZ" >&5
50880 echo "${ECHO_T}$REZ" >&6; }
50881 else
50882 { echo "$as_me:$LINENO: result: no" >&5
50883 echo "${ECHO_T}no" >&6; }
50884 fi
50885
50886
50887 # Extract the first word of "SetFile", so it can be a program name with args.
50888 set dummy SetFile; ac_word=$2
50889 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50891 if test "${ac_cv_prog_SETFILE+set}" = set; then
50892 echo $ECHO_N "(cached) $ECHO_C" >&6
50893 else
50894 if test -n "$SETFILE"; then
50895 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
50896 else
50897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50898 for as_dir in $PATH
50899 do
50900 IFS=$as_save_IFS
50901 test -z "$as_dir" && as_dir=.
50902 for ac_exec_ext in '' $ac_executable_extensions; do
50903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50904 ac_cv_prog_SETFILE="SetFile"
50905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50906 break 2
50907 fi
50908 done
50909 done
50910 IFS=$as_save_IFS
50911
50912 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
50913 fi
50914 fi
50915 SETFILE=$ac_cv_prog_SETFILE
50916 if test -n "$SETFILE"; then
50917 { echo "$as_me:$LINENO: result: $SETFILE" >&5
50918 echo "${ECHO_T}$SETFILE" >&6; }
50919 else
50920 { echo "$as_me:$LINENO: result: no" >&5
50921 echo "${ECHO_T}no" >&6; }
50922 fi
50923
50924
50925 ;;
50926 esac
50927
50928
50929
50930
50931
50932
50933
50934
50935
50936 BAKEFILE_BAKEFILE_M4_VERSION="0.2.8"
50937
50938
50939 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.8"
50940
50941
50942
50943 # Check whether --enable-precomp-headers was given.
50944 if test "${enable_precomp_headers+set}" = set; then
50945 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
50946 fi
50947
50948
50949 GCC_PCH=0
50950 ICC_PCH=0
50951 USE_PCH=0
50952 BK_MAKE_PCH=""
50953
50954 case ${BAKEFILE_HOST} in
50955 *-*-cygwin* )
50956 bk_use_pch="no"
50957 ;;
50958 esac
50959
50960 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
50961 if test "x$GCC" = "xyes"; then
50962 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
50963 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
50964 cat >conftest.$ac_ext <<_ACEOF
50965 /* confdefs.h. */
50966 _ACEOF
50967 cat confdefs.h >>conftest.$ac_ext
50968 cat >>conftest.$ac_ext <<_ACEOF
50969 /* end confdefs.h. */
50970
50971 int
50972 main ()
50973 {
50974
50975 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
50976 There is no PCH support
50977 #endif
50978 #if (__GNUC__ < 3)
50979 There is no PCH support
50980 #endif
50981 #if (__GNUC__ == 3) && \
50982 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
50983 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
50984 ( defined(__INTEL_COMPILER) )
50985 There is no PCH support
50986 #endif
50987
50988 ;
50989 return 0;
50990 }
50991 _ACEOF
50992 rm -f conftest.$ac_objext
50993 if { (ac_try="$ac_compile"
50994 case "(($ac_try" in
50995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50996 *) ac_try_echo=$ac_try;;
50997 esac
50998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50999 (eval "$ac_compile") 2>conftest.er1
51000 ac_status=$?
51001 grep -v '^ *+' conftest.er1 >conftest.err
51002 rm -f conftest.er1
51003 cat conftest.err >&5
51004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51005 (exit $ac_status); } && {
51006 test -z "$ac_c_werror_flag" ||
51007 test ! -s conftest.err
51008 } && test -s conftest.$ac_objext; then
51009
51010 { echo "$as_me:$LINENO: result: yes" >&5
51011 echo "${ECHO_T}yes" >&6; }
51012 GCC_PCH=1
51013
51014 else
51015 echo "$as_me: failed program was:" >&5
51016 sed 's/^/| /' conftest.$ac_ext >&5
51017
51018
51019 if test "$INTELCXX8" = "yes"; then
51020 { echo "$as_me:$LINENO: result: yes" >&5
51021 echo "${ECHO_T}yes" >&6; }
51022 ICC_PCH=1
51023 if test "$INTELCXX10" = "yes"; then
51024 ICC_PCH_CREATE_SWITCH="-pch-create"
51025 ICC_PCH_USE_SWITCH="-pch-use"
51026 else
51027 ICC_PCH_CREATE_SWITCH="-create-pch"
51028 ICC_PCH_USE_SWITCH="-use-pch"
51029 fi
51030 else
51031 { echo "$as_me:$LINENO: result: no" >&5
51032 echo "${ECHO_T}no" >&6; }
51033 fi
51034
51035 fi
51036
51037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51038 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51039 USE_PCH=1
51040
51041 D='$'
51042 cat <<EOF >bk-make-pch
51043 #!/bin/sh
51044
51045 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51046 # script. It is used to generated precompiled headers.
51047 #
51048 # Permission is given to use this file in any way.
51049
51050 outfile="${D}{1}"
51051 header="${D}{2}"
51052 shift
51053 shift
51054
51055 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
51056
51057 compiler=""
51058 headerfile=""
51059
51060 while test ${D}{#} -gt 0; do
51061 add_to_cmdline=1
51062 case "${D}{1}" in
51063 -I* )
51064 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51065 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51066 headerfile="${D}{incdir}/${D}{header}"
51067 fi
51068 ;;
51069 -use-pch|-use_pch|-pch-use )
51070 shift
51071 add_to_cmdline=0
51072 ;;
51073 esac
51074 if test ${D}add_to_cmdline = 1 ; then
51075 compiler="${D}{compiler} ${D}{1}"
51076 fi
51077 shift
51078 done
51079
51080 if test "x${D}{headerfile}" = "x" ; then
51081 echo "error: can't find header ${D}{header} in include paths" >&2
51082 else
51083 if test -f ${D}{outfile} ; then
51084 rm -f ${D}{outfile}
51085 else
51086 mkdir -p \`dirname ${D}{outfile}\`
51087 fi
51088 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51089 mkdir -p ${D}{builddir}/.deps
51090 if test "x${GCC_PCH}" = "x1" ; then
51091 # can do this because gcc is >= 3.4:
51092 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51093 elif test "x${ICC_PCH}" = "x1" ; then
51094 filename=pch_gen-${D}${D}
51095 file=${D}{filename}.c
51096 dfile=${D}{filename}.d
51097 cat > ${D}file <<EOT
51098 #include "${D}header"
51099 EOT
51100 # using -MF icc complains about differing command lines in creation/use
51101 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
51102 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51103 rm -f ${D}file ${D}dfile ${D}{filename}.o
51104 fi
51105 exit ${D}{?}
51106 fi
51107 EOF
51108
51109 chmod +x bk-make-pch
51110 BK_MAKE_PCH="`pwd`/bk-make-pch"
51111 fi
51112 fi
51113 fi
51114
51115
51116
51117
51118
51119
51120
51121 COND_BUILD_DEBUG="#"
51122 if test "x$BUILD" = "xdebug" ; then
51123 COND_BUILD_DEBUG=""
51124 fi
51125
51126 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51127 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51128 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51129 fi
51130
51131 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51132 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51133 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51134 fi
51135
51136 COND_BUILD_DEBUG_UNICODE_0="#"
51137 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51138 COND_BUILD_DEBUG_UNICODE_0=""
51139 fi
51140
51141 COND_BUILD_DEBUG_UNICODE_1="#"
51142 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51143 COND_BUILD_DEBUG_UNICODE_1=""
51144 fi
51145
51146 COND_BUILD_RELEASE="#"
51147 if test "x$BUILD" = "xrelease" ; then
51148 COND_BUILD_RELEASE=""
51149 fi
51150
51151 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51152 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51153 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51154 fi
51155
51156 COND_BUILD_RELEASE_UNICODE_0="#"
51157 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51158 COND_BUILD_RELEASE_UNICODE_0=""
51159 fi
51160
51161 COND_BUILD_RELEASE_UNICODE_1="#"
51162 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51163 COND_BUILD_RELEASE_UNICODE_1=""
51164 fi
51165
51166 COND_BUILD_debug="#"
51167 if test "x$BUILD" = "xdebug" ; then
51168 COND_BUILD_debug=""
51169 fi
51170
51171 COND_BUILD_debug_DEBUG_FLAG_default="#"
51172 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51173 COND_BUILD_debug_DEBUG_FLAG_default=""
51174 fi
51175
51176 COND_BUILD_debug_DEBUG_INFO_default="#"
51177 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51178 COND_BUILD_debug_DEBUG_INFO_default=""
51179 fi
51180
51181 COND_BUILD_debug_UNICODE_0="#"
51182 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51183 COND_BUILD_debug_UNICODE_0=""
51184 fi
51185
51186 COND_BUILD_debug_UNICODE_1="#"
51187 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51188 COND_BUILD_debug_UNICODE_1=""
51189 fi
51190
51191 COND_BUILD_release="#"
51192 if test "x$BUILD" = "xrelease" ; then
51193 COND_BUILD_release=""
51194 fi
51195
51196 COND_BUILD_release_DEBUG_INFO_default="#"
51197 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51198 COND_BUILD_release_DEBUG_INFO_default=""
51199 fi
51200
51201 COND_BUILD_release_UNICODE_0="#"
51202 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51203 COND_BUILD_release_UNICODE_0=""
51204 fi
51205
51206 COND_BUILD_release_UNICODE_1="#"
51207 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51208 COND_BUILD_release_UNICODE_1=""
51209 fi
51210
51211 COND_DEBUG_FLAG_0="#"
51212 if test "x$DEBUG_FLAG" = "x0" ; then
51213 COND_DEBUG_FLAG_0=""
51214 fi
51215
51216 COND_DEBUG_FLAG_1="#"
51217 if test "x$DEBUG_FLAG" = "x1" ; then
51218 COND_DEBUG_FLAG_1=""
51219 fi
51220
51221 COND_DEBUG_INFO_0="#"
51222 if test "x$DEBUG_INFO" = "x0" ; then
51223 COND_DEBUG_INFO_0=""
51224 fi
51225
51226 COND_DEBUG_INFO_1="#"
51227 if test "x$DEBUG_INFO" = "x1" ; then
51228 COND_DEBUG_INFO_1=""
51229 fi
51230
51231 COND_DEPS_TRACKING_0="#"
51232 if test "x$DEPS_TRACKING" = "x0" ; then
51233 COND_DEPS_TRACKING_0=""
51234 fi
51235
51236 COND_DEPS_TRACKING_1="#"
51237 if test "x$DEPS_TRACKING" = "x1" ; then
51238 COND_DEPS_TRACKING_1=""
51239 fi
51240
51241 COND_GCC_PCH_1="#"
51242 if test "x$GCC_PCH" = "x1" ; then
51243 COND_GCC_PCH_1=""
51244 fi
51245
51246 COND_ICC_PCH_1="#"
51247 if test "x$ICC_PCH" = "x1" ; then
51248 COND_ICC_PCH_1=""
51249 fi
51250
51251 COND_MONOLITHIC_0="#"
51252 if test "x$MONOLITHIC" = "x0" ; then
51253 COND_MONOLITHIC_0=""
51254 fi
51255
51256 COND_MONOLITHIC_0_SHARED_0="#"
51257 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51258 COND_MONOLITHIC_0_SHARED_0=""
51259 fi
51260
51261 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51262 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51263 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51264 fi
51265
51266 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51267 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51268 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51269 fi
51270
51271 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51272 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51273 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51274 fi
51275
51276 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51277 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51278 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51279 fi
51280
51281 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51282 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51283 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51284 fi
51285
51286 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
51287 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51288 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
51289 fi
51290
51291 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
51292 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51293 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
51294 fi
51295
51296 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51297 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51298 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51299 fi
51300
51301 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51302 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51303 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51304 fi
51305
51306 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51307 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51308 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51309 fi
51310
51311 COND_MONOLITHIC_0_SHARED_1="#"
51312 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51313 COND_MONOLITHIC_0_SHARED_1=""
51314 fi
51315
51316 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51317 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51318 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51319 fi
51320
51321 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51322 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51323 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51324 fi
51325
51326 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51327 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51328 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51329 fi
51330
51331 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51332 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51333 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51334 fi
51335
51336 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51337 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51338 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51339 fi
51340
51341 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
51342 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
51343 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
51344 fi
51345
51346 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
51347 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
51348 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
51349 fi
51350
51351 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51352 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51353 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51354 fi
51355
51356 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51357 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51358 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51359 fi
51360
51361 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51362 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51363 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51364 fi
51365
51366 COND_MONOLITHIC_0_USE_AUI_1="#"
51367 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51368 COND_MONOLITHIC_0_USE_AUI_1=""
51369 fi
51370
51371 COND_MONOLITHIC_0_USE_GUI_1="#"
51372 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51373 COND_MONOLITHIC_0_USE_GUI_1=""
51374 fi
51375
51376 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51377 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51378 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51379 fi
51380
51381 COND_MONOLITHIC_0_USE_HTML_1="#"
51382 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51383 COND_MONOLITHIC_0_USE_HTML_1=""
51384 fi
51385
51386 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51387 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51388 COND_MONOLITHIC_0_USE_MEDIA_1=""
51389 fi
51390
51391 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
51392 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51393 COND_MONOLITHIC_0_USE_PROPGRID_1=""
51394 fi
51395
51396 COND_MONOLITHIC_0_USE_QA_1="#"
51397 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51398 COND_MONOLITHIC_0_USE_QA_1=""
51399 fi
51400
51401 COND_MONOLITHIC_0_USE_RIBBON_1="#"
51402 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51403 COND_MONOLITHIC_0_USE_RIBBON_1=""
51404 fi
51405
51406 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51407 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51408 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51409 fi
51410
51411 COND_MONOLITHIC_0_USE_STC_1="#"
51412 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51413 COND_MONOLITHIC_0_USE_STC_1=""
51414 fi
51415
51416 COND_MONOLITHIC_0_USE_XRC_1="#"
51417 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51418 COND_MONOLITHIC_0_USE_XRC_1=""
51419 fi
51420
51421 COND_MONOLITHIC_1="#"
51422 if test "x$MONOLITHIC" = "x1" ; then
51423 COND_MONOLITHIC_1=""
51424 fi
51425
51426 COND_MONOLITHIC_1_SHARED_0="#"
51427 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51428 COND_MONOLITHIC_1_SHARED_0=""
51429 fi
51430
51431 COND_MONOLITHIC_1_SHARED_1="#"
51432 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51433 COND_MONOLITHIC_1_SHARED_1=""
51434 fi
51435
51436 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51437 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51438 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51439 fi
51440
51441 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51442 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51443 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51444 fi
51445
51446 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51447 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51448 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51449 fi
51450
51451 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51452 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51453 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51454 fi
51455
51456 COND_PLATFORM_MACOSX_1="#"
51457 if test "x$PLATFORM_MACOSX" = "x1" ; then
51458 COND_PLATFORM_MACOSX_1=""
51459 fi
51460
51461 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
51462 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
51463 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
51464 fi
51465
51466 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
51467 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51468 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
51469 fi
51470
51471 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51472 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51473 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51474 fi
51475
51476 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
51477 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51478 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
51479 fi
51480
51481 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51482 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51483 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51484 fi
51485
51486 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
51487 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51488 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
51489 fi
51490
51491 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
51492 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
51493 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
51494 fi
51495
51496 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
51497 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51498 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
51499 fi
51500
51501 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51502 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51503 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51504 fi
51505
51506 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
51507 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51508 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
51509 fi
51510
51511 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51512 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51513 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51514 fi
51515
51516 COND_PLATFORM_MACOS_1="#"
51517 if test "x$PLATFORM_MACOS" = "x1" ; then
51518 COND_PLATFORM_MACOS_1=""
51519 fi
51520
51521 COND_PLATFORM_MAC_0="#"
51522 if test "x$PLATFORM_MAC" = "x0" ; then
51523 COND_PLATFORM_MAC_0=""
51524 fi
51525
51526 COND_PLATFORM_MAC_1="#"
51527 if test "x$PLATFORM_MAC" = "x1" ; then
51528 COND_PLATFORM_MAC_1=""
51529 fi
51530
51531 COND_PLATFORM_MSDOS_0="#"
51532 if test "x$PLATFORM_MSDOS" = "x0" ; then
51533 COND_PLATFORM_MSDOS_0=""
51534 fi
51535
51536 COND_PLATFORM_MSDOS_1="#"
51537 if test "x$PLATFORM_MSDOS" = "x1" ; then
51538 COND_PLATFORM_MSDOS_1=""
51539 fi
51540
51541 COND_PLATFORM_OS2_1="#"
51542 if test "x$PLATFORM_OS2" = "x1" ; then
51543 COND_PLATFORM_OS2_1=""
51544 fi
51545
51546 COND_PLATFORM_UNIX_0="#"
51547 if test "x$PLATFORM_UNIX" = "x0" ; then
51548 COND_PLATFORM_UNIX_0=""
51549 fi
51550
51551 COND_PLATFORM_UNIX_1="#"
51552 if test "x$PLATFORM_UNIX" = "x1" ; then
51553 COND_PLATFORM_UNIX_1=""
51554 fi
51555
51556 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51557 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51558 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51559 fi
51560
51561 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51562 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51563 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51564 fi
51565
51566 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51567 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51568 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51569 fi
51570
51571 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51572 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51573 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51574 fi
51575
51576 COND_PLATFORM_WIN32_0="#"
51577 if test "x$PLATFORM_WIN32" = "x0" ; then
51578 COND_PLATFORM_WIN32_0=""
51579 fi
51580
51581 COND_PLATFORM_WIN32_1="#"
51582 if test "x$PLATFORM_WIN32" = "x1" ; then
51583 COND_PLATFORM_WIN32_1=""
51584 fi
51585
51586 COND_PLATFORM_WIN32_1_SHARED_0="#"
51587 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51588 COND_PLATFORM_WIN32_1_SHARED_0=""
51589 fi
51590
51591 COND_SHARED_0="#"
51592 if test "x$SHARED" = "x0" ; then
51593 COND_SHARED_0=""
51594 fi
51595
51596 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51597 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51598 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
51599 fi
51600
51601 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
51602 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51603 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
51604 fi
51605
51606 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
51607 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
51608 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
51609 fi
51610
51611 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
51612 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51613 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
51614 fi
51615
51616 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51617 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51618 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51619 fi
51620
51621 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51622 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51623 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51624 fi
51625
51626 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51627 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51628 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51629 fi
51630
51631 COND_SHARED_0_USE_STC_1="#"
51632 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51633 COND_SHARED_0_USE_STC_1=""
51634 fi
51635
51636 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
51637 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
51638 COND_SHARED_0_wxUSE_EXPAT_builtin=""
51639 fi
51640
51641 COND_SHARED_0_wxUSE_REGEX_builtin="#"
51642 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
51643 COND_SHARED_0_wxUSE_REGEX_builtin=""
51644 fi
51645
51646 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
51647 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51648 COND_SHARED_0_wxUSE_ZLIB_builtin=""
51649 fi
51650
51651 COND_SHARED_1="#"
51652 if test "x$SHARED" = "x1" ; then
51653 COND_SHARED_1=""
51654 fi
51655
51656 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
51657 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51658 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
51659 fi
51660
51661 COND_TOOLKIT_="#"
51662 if test "x$TOOLKIT" = "x" ; then
51663 COND_TOOLKIT_=""
51664 fi
51665
51666 COND_TOOLKIT_COCOA="#"
51667 if test "x$TOOLKIT" = "xCOCOA" ; then
51668 COND_TOOLKIT_COCOA=""
51669 fi
51670
51671 COND_TOOLKIT_COCOA_USE_GUI_1="#"
51672 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
51673 COND_TOOLKIT_COCOA_USE_GUI_1=""
51674 fi
51675
51676 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
51677 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51678 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
51679 fi
51680
51681 COND_TOOLKIT_DFB="#"
51682 if test "x$TOOLKIT" = "xDFB" ; then
51683 COND_TOOLKIT_DFB=""
51684 fi
51685
51686 COND_TOOLKIT_DFB_USE_GUI_1="#"
51687 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
51688 COND_TOOLKIT_DFB_USE_GUI_1=""
51689 fi
51690
51691 COND_TOOLKIT_GTK="#"
51692 if test "x$TOOLKIT" = "xGTK" ; then
51693 COND_TOOLKIT_GTK=""
51694 fi
51695
51696 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
51697 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
51698 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
51699 fi
51700
51701 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
51702 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
51703 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
51704 fi
51705
51706 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
51707 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
51708 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
51709 fi
51710
51711 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
51712 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51713 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
51714 fi
51715
51716 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
51717 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
51718 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
51719 fi
51720
51721 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
51722 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51723 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
51724 fi
51725
51726 COND_TOOLKIT_GTK_USE_GUI_1="#"
51727 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
51728 COND_TOOLKIT_GTK_USE_GUI_1=""
51729 fi
51730
51731 COND_TOOLKIT_MAC="#"
51732 if test "x$TOOLKIT" = "xMAC" ; then
51733 COND_TOOLKIT_MAC=""
51734 fi
51735
51736 COND_TOOLKIT_MGL="#"
51737 if test "x$TOOLKIT" = "xMGL" ; then
51738 COND_TOOLKIT_MGL=""
51739 fi
51740
51741 COND_TOOLKIT_MGL_USE_GUI_1="#"
51742 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51743 COND_TOOLKIT_MGL_USE_GUI_1=""
51744 fi
51745
51746 COND_TOOLKIT_MOTIF="#"
51747 if test "x$TOOLKIT" = "xMOTIF" ; then
51748 COND_TOOLKIT_MOTIF=""
51749 fi
51750
51751 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
51752 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
51753 COND_TOOLKIT_MOTIF_USE_GUI_1=""
51754 fi
51755
51756 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
51757 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51758 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
51759 fi
51760
51761 COND_TOOLKIT_MSW="#"
51762 if test "x$TOOLKIT" = "xMSW" ; then
51763 COND_TOOLKIT_MSW=""
51764 fi
51765
51766 COND_TOOLKIT_MSW_USE_GUI_1="#"
51767 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
51768 COND_TOOLKIT_MSW_USE_GUI_1=""
51769 fi
51770
51771 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
51772 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51773 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
51774 fi
51775
51776 COND_TOOLKIT_MSW_WXUNIV_0="#"
51777 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51778 COND_TOOLKIT_MSW_WXUNIV_0=""
51779 fi
51780
51781 COND_TOOLKIT_OSX_CARBON="#"
51782 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
51783 COND_TOOLKIT_OSX_CARBON=""
51784 fi
51785
51786 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51787 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51788 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51789 fi
51790
51791 COND_TOOLKIT_OSX_COCOA="#"
51792 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
51793 COND_TOOLKIT_OSX_COCOA=""
51794 fi
51795
51796 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51797 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51798 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51799 fi
51800
51801 COND_TOOLKIT_OSX_IPHONE="#"
51802 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
51803 COND_TOOLKIT_OSX_IPHONE=""
51804 fi
51805
51806 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
51807 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
51808 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
51809 fi
51810
51811 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
51812 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51813 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
51814 fi
51815
51816 COND_TOOLKIT_PM="#"
51817 if test "x$TOOLKIT" = "xPM" ; then
51818 COND_TOOLKIT_PM=""
51819 fi
51820
51821 COND_TOOLKIT_PM_USE_GUI_1="#"
51822 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
51823 COND_TOOLKIT_PM_USE_GUI_1=""
51824 fi
51825
51826 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
51827 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51828 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
51829 fi
51830
51831 COND_TOOLKIT_WINCE="#"
51832 if test "x$TOOLKIT" = "xWINCE" ; then
51833 COND_TOOLKIT_WINCE=""
51834 fi
51835
51836 COND_TOOLKIT_WINCE_USE_GUI_1="#"
51837 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
51838 COND_TOOLKIT_WINCE_USE_GUI_1=""
51839 fi
51840
51841 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
51842 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51843 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
51844 fi
51845
51846 COND_TOOLKIT_WINCE_WXUNIV_0="#"
51847 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
51848 COND_TOOLKIT_WINCE_WXUNIV_0=""
51849 fi
51850
51851 COND_TOOLKIT_X11="#"
51852 if test "x$TOOLKIT" = "xX11" ; then
51853 COND_TOOLKIT_X11=""
51854 fi
51855
51856 COND_TOOLKIT_X11_USE_GUI_1="#"
51857 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
51858 COND_TOOLKIT_X11_USE_GUI_1=""
51859 fi
51860
51861 COND_UNICODE_1="#"
51862 if test "x$UNICODE" = "x1" ; then
51863 COND_UNICODE_1=""
51864 fi
51865
51866 COND_USE_CAIRO_1="#"
51867 if test "x$USE_CAIRO" = "x1" ; then
51868 COND_USE_CAIRO_1=""
51869 fi
51870
51871 COND_USE_EXCEPTIONS_0="#"
51872 if test "x$USE_EXCEPTIONS" = "x0" ; then
51873 COND_USE_EXCEPTIONS_0=""
51874 fi
51875
51876 COND_USE_EXCEPTIONS_1="#"
51877 if test "x$USE_EXCEPTIONS" = "x1" ; then
51878 COND_USE_EXCEPTIONS_1=""
51879 fi
51880
51881 COND_USE_GUI_0="#"
51882 if test "x$USE_GUI" = "x0" ; then
51883 COND_USE_GUI_0=""
51884 fi
51885
51886 COND_USE_GUI_1="#"
51887 if test "x$USE_GUI" = "x1" ; then
51888 COND_USE_GUI_1=""
51889 fi
51890
51891 COND_USE_GUI_1_USE_OPENGL_1="#"
51892 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51893 COND_USE_GUI_1_USE_OPENGL_1=""
51894 fi
51895
51896 COND_USE_GUI_1_WXUNIV_0="#"
51897 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51898 COND_USE_GUI_1_WXUNIV_0=""
51899 fi
51900
51901 COND_USE_GUI_1_WXUNIV_1="#"
51902 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
51903 COND_USE_GUI_1_WXUNIV_1=""
51904 fi
51905
51906 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51907 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51908 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51909 fi
51910
51911 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51912 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51913 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51914 fi
51915
51916 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51917 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51918 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51919 fi
51920
51921 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51922 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51923 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51924 fi
51925
51926 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51927 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51928 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51929 fi
51930
51931 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51932 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51933 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51934 fi
51935
51936 COND_USE_OPENGL_1="#"
51937 if test "x$USE_OPENGL" = "x1" ; then
51938 COND_USE_OPENGL_1=""
51939 fi
51940
51941 COND_USE_PCH_1="#"
51942 if test "x$USE_PCH" = "x1" ; then
51943 COND_USE_PCH_1=""
51944 fi
51945
51946 COND_USE_PLUGINS_0="#"
51947 if test "x$USE_PLUGINS" = "x0" ; then
51948 COND_USE_PLUGINS_0=""
51949 fi
51950
51951 COND_USE_RTTI_0="#"
51952 if test "x$USE_RTTI" = "x0" ; then
51953 COND_USE_RTTI_0=""
51954 fi
51955
51956 COND_USE_RTTI_1="#"
51957 if test "x$USE_RTTI" = "x1" ; then
51958 COND_USE_RTTI_1=""
51959 fi
51960
51961 COND_USE_SOTWOSYMLINKS_1="#"
51962 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
51963 COND_USE_SOTWOSYMLINKS_1=""
51964 fi
51965
51966 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
51967 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51968 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
51969 fi
51970
51971 COND_USE_SOVERLINUX_1="#"
51972 if test "x$USE_SOVERLINUX" = "x1" ; then
51973 COND_USE_SOVERLINUX_1=""
51974 fi
51975
51976 COND_USE_SOVERSION_0="#"
51977 if test "x$USE_SOVERSION" = "x0" ; then
51978 COND_USE_SOVERSION_0=""
51979 fi
51980
51981 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
51982 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
51983 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
51984 fi
51985
51986 COND_USE_SOVERSOLARIS_1="#"
51987 if test "x$USE_SOVERSOLARIS" = "x1" ; then
51988 COND_USE_SOVERSOLARIS_1=""
51989 fi
51990
51991 COND_USE_STC_1="#"
51992 if test "x$USE_STC" = "x1" ; then
51993 COND_USE_STC_1=""
51994 fi
51995
51996 COND_USE_THREADS_0="#"
51997 if test "x$USE_THREADS" = "x0" ; then
51998 COND_USE_THREADS_0=""
51999 fi
52000
52001 COND_USE_THREADS_1="#"
52002 if test "x$USE_THREADS" = "x1" ; then
52003 COND_USE_THREADS_1=""
52004 fi
52005
52006 COND_USE_XRC_1="#"
52007 if test "x$USE_XRC" = "x1" ; then
52008 COND_USE_XRC_1=""
52009 fi
52010
52011 COND_WINDOWS_IMPLIB_1="#"
52012 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52013 COND_WINDOWS_IMPLIB_1=""
52014 fi
52015
52016 COND_WITH_PLUGIN_SDL_1="#"
52017 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52018 COND_WITH_PLUGIN_SDL_1=""
52019 fi
52020
52021 COND_WXUNIV_0="#"
52022 if test "x$WXUNIV" = "x0" ; then
52023 COND_WXUNIV_0=""
52024 fi
52025
52026 COND_WXUNIV_1="#"
52027 if test "x$WXUNIV" = "x1" ; then
52028 COND_WXUNIV_1=""
52029 fi
52030
52031 COND_WXUSE_EXPAT_BUILTIN="#"
52032 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52033 COND_WXUSE_EXPAT_BUILTIN=""
52034 fi
52035
52036 COND_WXUSE_LIBJPEG_BUILTIN="#"
52037 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52038 COND_WXUSE_LIBJPEG_BUILTIN=""
52039 fi
52040
52041 COND_WXUSE_LIBPNG_BUILTIN="#"
52042 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52043 COND_WXUSE_LIBPNG_BUILTIN=""
52044 fi
52045
52046 COND_WXUSE_LIBTIFF_BUILTIN="#"
52047 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52048 COND_WXUSE_LIBTIFF_BUILTIN=""
52049 fi
52050
52051 COND_WXUSE_REGEX_BUILTIN="#"
52052 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52053 COND_WXUSE_REGEX_BUILTIN=""
52054 fi
52055
52056 COND_WXUSE_ZLIB_BUILTIN="#"
52057 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52058 COND_WXUSE_ZLIB_BUILTIN=""
52059 fi
52060
52061 COND_wxUSE_EXPAT_builtin="#"
52062 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52063 COND_wxUSE_EXPAT_builtin=""
52064 fi
52065
52066 COND_wxUSE_LIBJPEG_builtin="#"
52067 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52068 COND_wxUSE_LIBJPEG_builtin=""
52069 fi
52070
52071 COND_wxUSE_LIBPNG_builtin="#"
52072 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52073 COND_wxUSE_LIBPNG_builtin=""
52074 fi
52075
52076 COND_wxUSE_LIBTIFF_builtin="#"
52077 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52078 COND_wxUSE_LIBTIFF_builtin=""
52079 fi
52080
52081 COND_wxUSE_REGEX_builtin="#"
52082 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52083 COND_wxUSE_REGEX_builtin=""
52084 fi
52085
52086 COND_wxUSE_ZLIB_builtin="#"
52087 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52088 COND_wxUSE_ZLIB_builtin=""
52089 fi
52090
52091
52092
52093 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52094 { { 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
52095 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;}
52096 { (exit 1); exit 1; }; }
52097 fi
52098
52099 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52100 { { 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
52101 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;}
52102 { (exit 1); exit 1; }; }
52103 fi
52104
52105
52106 case ${INSTALL} in
52107 /* ) # Absolute
52108 ;;
52109 ?:* ) # Drive letter, considered as absolute.
52110 ;;
52111 *)
52112 INSTALL=`pwd`/${INSTALL} ;;
52113 esac
52114
52115 if test "$wxUSE_GUI" = "yes"; then
52116
52117 if test "$wxUSE_MSW" = 1 ; then
52118 if test "x$WINDRES" = "x"; then
52119 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52120 echo "$as_me: error: Required windres program not found" >&2;}
52121 { (exit 1); exit 1; }; }
52122 fi
52123
52124 RESCOMP="$WINDRES $WINDRES_CPU_DEFINE"
52125 fi
52126
52127 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
52128 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52129 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52130
52131 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52132
52133 # Extract the first word of "DeRez", so it can be a program name with args.
52134 set dummy DeRez; ac_word=$2
52135 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52137 if test "${ac_cv_prog_DEREZ+set}" = set; then
52138 echo $ECHO_N "(cached) $ECHO_C" >&6
52139 else
52140 if test -n "$DEREZ"; then
52141 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52142 else
52143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52144 for as_dir in $PATH
52145 do
52146 IFS=$as_save_IFS
52147 test -z "$as_dir" && as_dir=.
52148 for ac_exec_ext in '' $ac_executable_extensions; do
52149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52150 ac_cv_prog_DEREZ="DeRez"
52151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52152 break 2
52153 fi
52154 done
52155 done
52156 IFS=$as_save_IFS
52157
52158 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52159 fi
52160 fi
52161 DEREZ=$ac_cv_prog_DEREZ
52162 if test -n "$DEREZ"; then
52163 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52164 echo "${ECHO_T}$DEREZ" >&6; }
52165 else
52166 { echo "$as_me:$LINENO: result: no" >&5
52167 echo "${ECHO_T}no" >&6; }
52168 fi
52169
52170
52171
52172 MACSETFILE="\$(SETFILE)"
52173
52174 if test "$wxUSE_OSX_CARBON" = 1; then
52175 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52176 RESCOMP="$REZ"
52177 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52178 else
52179 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52180 RESCOMP="cat /dev/null \| $REZ"
52181 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52182 fi
52183
52184 else
52185 MACSETFILE="@true"
52186
52187 if test "$wxUSE_PM" = 1; then
52188 RESCOMP="emxbind"
52189 WXCONFIG_RESFLAGS="-ep"
52190
52191 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52192 else
52193 POSTLINK_COMMAND="@true"
52194 fi
52195 fi
52196
52197 fi
52198
52199
52200 if test $GCC_PCH = 1
52201 then
52202 if test "$wx_cv_gcc_pch_bug" = yes; then
52203 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52204 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52205 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52206 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52207 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52208 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52209 fi
52210
52211 # Our WX_PRECOMP flag does not make sense for any language except C++ because
52212 # the headers that benefit from precompilation are mostly C++ headers.
52213 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52214 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
52215 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52216 fi
52217
52218
52219 if test "$wxUSE_MAC" = 1 ; then
52220 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52221 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52222 mv temp bk-deps
52223 chmod +x bk-deps
52224 fi
52225 fi
52226
52227 if test "$wxUSE_SHARED" = "yes"; then
52228 case "${host}" in
52229 *-pc-os2_emx | *-pc-os2-emx )
52230 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52231 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52232 cp -p ${srcdir}/src/os2/dllnames.sh .
52233 cp -p ${srcdir}/src/os2/dllar.sh .
52234 ;;
52235 esac
52236 fi
52237 if test "$wxUSE_OMF" = "yes"; then
52238 case "${host}" in
52239 *-pc-os2_emx | *-pc-os2-emx )
52240 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52241 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52242 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52243 ;;
52244 esac
52245 fi
52246
52247 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52248
52249
52250 case "${host}" in
52251 *-*-solaris2* )
52252 if test "$GCC" = yes; then
52253 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52254 LIBS=`echo $LIBS | sed 's/-mt//'`
52255 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52256 fi
52257 ;;
52258
52259 *-*-linux* )
52260 if test "x$SUNCXX" = xyes; then
52261 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52262 LIBS=`echo $LIBS | sed 's/-pthread//'`
52263 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52264 fi
52265 ;;
52266 esac
52267
52268 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52269 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52270 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
52271 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
52272
52273 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52274
52275
52276
52277
52278
52279
52280
52281
52282
52283
52284
52285
52286
52287
52288
52289
52290
52291
52292
52293
52294
52295
52296
52297
52298
52299
52300
52301
52302
52303
52304
52305
52306
52307
52308
52309
52310
52311
52312
52313
52314
52315
52316
52317
52318
52319
52320
52321
52322
52323
52324
52325
52326
52327
52328
52329
52330
52331
52332
52333
52334 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52335 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52336 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52337 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52338 echo $ECHO_N "(cached) $ECHO_C" >&6
52339 else
52340 cat >conftest.make <<\_ACEOF
52341 SHELL = /bin/sh
52342 all:
52343 @echo '@@@%%%=$(MAKE)=@@@%%%'
52344 _ACEOF
52345 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52346 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52347 *@@@%%%=?*=@@@%%%*)
52348 eval ac_cv_prog_make_${ac_make}_set=yes;;
52349 *)
52350 eval ac_cv_prog_make_${ac_make}_set=no;;
52351 esac
52352 rm -f conftest.make
52353 fi
52354 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52355 { echo "$as_me:$LINENO: result: yes" >&5
52356 echo "${ECHO_T}yes" >&6; }
52357 SET_MAKE=
52358 else
52359 { echo "$as_me:$LINENO: result: no" >&5
52360 echo "${ECHO_T}no" >&6; }
52361 SET_MAKE="MAKE=${MAKE-make}"
52362 fi
52363
52364
52365
52366 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52367
52368
52369 if test "$USE_WIN32" = 1; then
52370 ac_config_commands="$ac_config_commands rcdefs.h"
52371
52372 fi
52373
52374 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52375
52376
52377 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52378
52379
52380 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
52381
52382
52383 if test "$wx_cv_version_script" = "yes"; then
52384 ac_config_files="$ac_config_files version-script"
52385
52386 fi
52387 ac_config_files="$ac_config_files Makefile"
52388
52389
52390 ac_config_commands="$ac_config_commands wx-config"
52391
52392
52393
52394 if test "$wxWITH_SUBDIRS" != "no"; then
52395 if test "$wxUSE_GUI" = "yes"; then
52396 SUBDIRS="samples demos utils"
52397 else
52398 SUBDIRS="samples utils"
52399 fi
52400
52401
52402
52403 # Check whether --with-cppunit-prefix was given.
52404 if test "${with_cppunit_prefix+set}" = set; then
52405 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52406 else
52407 cppunit_config_prefix=""
52408 fi
52409
52410
52411 # Check whether --with-cppunit-exec-prefix was given.
52412 if test "${with_cppunit_exec_prefix+set}" = set; then
52413 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52414 else
52415 cppunit_config_exec_prefix=""
52416 fi
52417
52418
52419 if test x$cppunit_config_exec_prefix != x ; then
52420 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52421 if test x${CPPUNIT_CONFIG+set} != xset ; then
52422 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52423 fi
52424 fi
52425 if test x$cppunit_config_prefix != x ; then
52426 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52427 if test x${CPPUNIT_CONFIG+set} != xset ; then
52428 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52429 fi
52430 fi
52431
52432 # Extract the first word of "cppunit-config", so it can be a program name with args.
52433 set dummy cppunit-config; ac_word=$2
52434 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52436 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52437 echo $ECHO_N "(cached) $ECHO_C" >&6
52438 else
52439 case $CPPUNIT_CONFIG in
52440 [\\/]* | ?:[\\/]*)
52441 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52442 ;;
52443 *)
52444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52445 for as_dir in $PATH
52446 do
52447 IFS=$as_save_IFS
52448 test -z "$as_dir" && as_dir=.
52449 for ac_exec_ext in '' $ac_executable_extensions; do
52450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52451 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52453 break 2
52454 fi
52455 done
52456 done
52457 IFS=$as_save_IFS
52458
52459 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52460 ;;
52461 esac
52462 fi
52463 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52464 if test -n "$CPPUNIT_CONFIG"; then
52465 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52466 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52467 else
52468 { echo "$as_me:$LINENO: result: no" >&5
52469 echo "${ECHO_T}no" >&6; }
52470 fi
52471
52472
52473 cppunit_version_min=1.8.0
52474
52475 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52476 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52477 no_cppunit=""
52478 if test "$CPPUNIT_CONFIG" = "no" ; then
52479 { echo "$as_me:$LINENO: result: no" >&5
52480 echo "${ECHO_T}no" >&6; }
52481 no_cppunit=yes
52482 else
52483 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52484 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52485 cppunit_version=`$CPPUNIT_CONFIG --version`
52486
52487 cppunit_major_version=`echo $cppunit_version | \
52488 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52489 cppunit_minor_version=`echo $cppunit_version | \
52490 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52491 cppunit_micro_version=`echo $cppunit_version | \
52492 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52493
52494 cppunit_major_min=`echo $cppunit_version_min | \
52495 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52496 cppunit_minor_min=`echo $cppunit_version_min | \
52497 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52498 cppunit_micro_min=`echo $cppunit_version_min | \
52499 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52500
52501 cppunit_version_proper=`expr \
52502 $cppunit_major_version \> $cppunit_major_min \| \
52503 $cppunit_major_version \= $cppunit_major_min \& \
52504 $cppunit_minor_version \> $cppunit_minor_min \| \
52505 $cppunit_major_version \= $cppunit_major_min \& \
52506 $cppunit_minor_version \= $cppunit_minor_min \& \
52507 $cppunit_micro_version \>= $cppunit_micro_min `
52508
52509 if test "$cppunit_version_proper" = "1" ; then
52510 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52511 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52512 else
52513 { echo "$as_me:$LINENO: result: no" >&5
52514 echo "${ECHO_T}no" >&6; }
52515 no_cppunit=yes
52516 fi
52517 fi
52518
52519 if test "x$no_cppunit" = x ; then
52520 SUBDIRS="$SUBDIRS tests"
52521 else
52522 CPPUNIT_CFLAGS=""
52523 CPPUNIT_LIBS=""
52524 :
52525 fi
52526
52527
52528
52529
52530
52531 for subdir in $SUBDIRS; do
52532 if test -d ${srcdir}/${subdir} ; then
52533 if test "$wxUSE_GUI" = "yes"; then
52534 if test ${subdir} = "samples"; then
52535 makefiles="samples/Makefile.in $makefiles"
52536 for sample in $SAMPLES_SUBDIRS; do
52537 if test -d $srcdir/samples/$sample; then
52538 makefiles="samples/$sample/Makefile.in $makefiles"
52539 fi
52540 done
52541 else
52542 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
52543 eval "disabled=\$$disabled_var"
52544 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52545 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52546 fi
52547 else
52548 if test ${subdir} = "samples"; then
52549 makefiles="samples/Makefile.in $makefiles"
52550 for sample in `echo $SAMPLES_SUBDIRS`; do
52551 if test -d $srcdir/samples/$sample; then
52552 makefiles="samples/$sample/Makefile.in $makefiles"
52553 fi
52554 done
52555 elif test ${subdir} = "utils"; then
52556 makefiles=""
52557 for util in ifacecheck ; do
52558 if test -d $srcdir/utils/$util ; then
52559 makefiles="utils/$util/src/Makefile.in \
52560 $makefiles"
52561 fi
52562 done
52563 else
52564 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
52565 fi
52566 fi
52567
52568 for mkin in $makefiles ; do
52569 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52570 ac_config_files="$ac_config_files $mk"
52571
52572 done
52573 fi
52574 done
52575 fi
52576 cat >confcache <<\_ACEOF
52577 # This file is a shell script that caches the results of configure
52578 # tests run on this system so they can be shared between configure
52579 # scripts and configure runs, see configure's option --config-cache.
52580 # It is not useful on other systems. If it contains results you don't
52581 # want to keep, you may remove or edit it.
52582 #
52583 # config.status only pays attention to the cache file if you give it
52584 # the --recheck option to rerun configure.
52585 #
52586 # `ac_cv_env_foo' variables (set or unset) will be overridden when
52587 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52588 # following values.
52589
52590 _ACEOF
52591
52592 # The following way of writing the cache mishandles newlines in values,
52593 # but we know of no workaround that is simple, portable, and efficient.
52594 # So, we kill variables containing newlines.
52595 # Ultrix sh set writes to stderr and can't be redirected directly,
52596 # and sets the high bit in the cache file unless we assign to the vars.
52597 (
52598 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52599 eval ac_val=\$$ac_var
52600 case $ac_val in #(
52601 *${as_nl}*)
52602 case $ac_var in #(
52603 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52604 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52605 esac
52606 case $ac_var in #(
52607 _ | IFS | as_nl) ;; #(
52608 *) $as_unset $ac_var ;;
52609 esac ;;
52610 esac
52611 done
52612
52613 (set) 2>&1 |
52614 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52615 *${as_nl}ac_space=\ *)
52616 # `set' does not quote correctly, so add quotes (double-quote
52617 # substitution turns \\\\ into \\, and sed turns \\ into \).
52618 sed -n \
52619 "s/'/'\\\\''/g;
52620 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52621 ;; #(
52622 *)
52623 # `set' quotes correctly as required by POSIX, so do not add quotes.
52624 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52625 ;;
52626 esac |
52627 sort
52628 ) |
52629 sed '
52630 /^ac_cv_env_/b end
52631 t clear
52632 :clear
52633 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52634 t end
52635 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52636 :end' >>confcache
52637 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
52638 if test -w "$cache_file"; then
52639 test "x$cache_file" != "x/dev/null" &&
52640 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52641 echo "$as_me: updating cache $cache_file" >&6;}
52642 cat confcache >$cache_file
52643 else
52644 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52645 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52646 fi
52647 fi
52648 rm -f confcache
52649
52650 test "x$prefix" = xNONE && prefix=$ac_default_prefix
52651 # Let make expand exec_prefix.
52652 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
52653
52654 DEFS=-DHAVE_CONFIG_H
52655
52656 ac_libobjs=
52657 ac_ltlibobjs=
52658 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
52659 # 1. Remove the extension, and $U if already installed.
52660 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
52661 ac_i=`echo "$ac_i" | sed "$ac_script"`
52662 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52663 # will be set to the directory where LIBOBJS objects are built.
52664 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52665 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52666 done
52667 LIBOBJS=$ac_libobjs
52668
52669 LTLIBOBJS=$ac_ltlibobjs
52670
52671
52672
52673 : ${CONFIG_STATUS=./config.status}
52674 ac_clean_files_save=$ac_clean_files
52675 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
52676 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52677 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52678 cat >$CONFIG_STATUS <<_ACEOF
52679 #! $SHELL
52680 # Generated by $as_me.
52681 # Run this file to recreate the current configuration.
52682 # Compiler output produced by configure, useful for debugging
52683 # configure, is in config.log if it exists.
52684
52685 debug=false
52686 ac_cs_recheck=false
52687 ac_cs_silent=false
52688 SHELL=\${CONFIG_SHELL-$SHELL}
52689 _ACEOF
52690
52691 cat >>$CONFIG_STATUS <<\_ACEOF
52692 ## --------------------- ##
52693 ## M4sh Initialization. ##
52694 ## --------------------- ##
52695
52696 # Be more Bourne compatible
52697 DUALCASE=1; export DUALCASE # for MKS sh
52698 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
52699 emulate sh
52700 NULLCMD=:
52701 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52702 # is contrary to our usage. Disable this feature.
52703 alias -g '${1+"$@"}'='"$@"'
52704 setopt NO_GLOB_SUBST
52705 else
52706 case `(set -o) 2>/dev/null` in
52707 *posix*) set -o posix ;;
52708 esac
52709
52710 fi
52711
52712
52713
52714
52715 # PATH needs CR
52716 # Avoid depending upon Character Ranges.
52717 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
52718 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52719 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
52720 as_cr_digits='0123456789'
52721 as_cr_alnum=$as_cr_Letters$as_cr_digits
52722
52723 # The user is always right.
52724 if test "${PATH_SEPARATOR+set}" != set; then
52725 echo "#! /bin/sh" >conf$$.sh
52726 echo "exit 0" >>conf$$.sh
52727 chmod +x conf$$.sh
52728 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
52729 PATH_SEPARATOR=';'
52730 else
52731 PATH_SEPARATOR=:
52732 fi
52733 rm -f conf$$.sh
52734 fi
52735
52736 # Support unset when possible.
52737 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
52738 as_unset=unset
52739 else
52740 as_unset=false
52741 fi
52742
52743
52744 # IFS
52745 # We need space, tab and new line, in precisely that order. Quoting is
52746 # there to prevent editors from complaining about space-tab.
52747 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
52748 # splitting by setting IFS to empty value.)
52749 as_nl='
52750 '
52751 IFS=" "" $as_nl"
52752
52753 # Find who we are. Look in the path if we contain no directory separator.
52754 case $0 in
52755 *[\\/]* ) as_myself=$0 ;;
52756 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52757 for as_dir in $PATH
52758 do
52759 IFS=$as_save_IFS
52760 test -z "$as_dir" && as_dir=.
52761 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
52762 done
52763 IFS=$as_save_IFS
52764
52765 ;;
52766 esac
52767 # We did not find ourselves, most probably we were run as `sh COMMAND'
52768 # in which case we are not to be found in the path.
52769 if test "x$as_myself" = x; then
52770 as_myself=$0
52771 fi
52772 if test ! -f "$as_myself"; then
52773 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
52774 { (exit 1); exit 1; }
52775 fi
52776
52777 # Work around bugs in pre-3.0 UWIN ksh.
52778 for as_var in ENV MAIL MAILPATH
52779 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52780 done
52781 PS1='$ '
52782 PS2='> '
52783 PS4='+ '
52784
52785 # NLS nuisances.
52786 for as_var in \
52787 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
52788 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
52789 LC_TELEPHONE LC_TIME
52790 do
52791 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
52792 eval $as_var=C; export $as_var
52793 else
52794 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52795 fi
52796 done
52797
52798 # Required to use basename.
52799 if expr a : '\(a\)' >/dev/null 2>&1 &&
52800 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52801 as_expr=expr
52802 else
52803 as_expr=false
52804 fi
52805
52806 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
52807 as_basename=basename
52808 else
52809 as_basename=false
52810 fi
52811
52812
52813 # Name of the executable.
52814 as_me=`$as_basename -- "$0" ||
52815 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
52816 X"$0" : 'X\(//\)$' \| \
52817 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
52818 echo X/"$0" |
52819 sed '/^.*\/\([^/][^/]*\)\/*$/{
52820 s//\1/
52821 q
52822 }
52823 /^X\/\(\/\/\)$/{
52824 s//\1/
52825 q
52826 }
52827 /^X\/\(\/\).*/{
52828 s//\1/
52829 q
52830 }
52831 s/.*/./; q'`
52832
52833 # CDPATH.
52834 $as_unset CDPATH
52835
52836
52837
52838 as_lineno_1=$LINENO
52839 as_lineno_2=$LINENO
52840 test "x$as_lineno_1" != "x$as_lineno_2" &&
52841 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
52842
52843 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
52844 # uniformly replaced by the line number. The first 'sed' inserts a
52845 # line-number line after each line using $LINENO; the second 'sed'
52846 # does the real work. The second script uses 'N' to pair each
52847 # line-number line with the line containing $LINENO, and appends
52848 # trailing '-' during substitution so that $LINENO is not a special
52849 # case at line end.
52850 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
52851 # scripts with optimization help from Paolo Bonzini. Blame Lee
52852 # E. McMahon (1931-1989) for sed's syntax. :-)
52853 sed -n '
52854 p
52855 /[$]LINENO/=
52856 ' <$as_myself |
52857 sed '
52858 s/[$]LINENO.*/&-/
52859 t lineno
52860 b
52861 :lineno
52862 N
52863 :loop
52864 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
52865 t loop
52866 s/-\n.*//
52867 ' >$as_me.lineno &&
52868 chmod +x "$as_me.lineno" ||
52869 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
52870 { (exit 1); exit 1; }; }
52871
52872 # Don't try to exec as it changes $[0], causing all sort of problems
52873 # (the dirname of $[0] is not the place where we might find the
52874 # original and so on. Autoconf is especially sensitive to this).
52875 . "./$as_me.lineno"
52876 # Exit status is that of the last command.
52877 exit
52878 }
52879
52880
52881 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
52882 as_dirname=dirname
52883 else
52884 as_dirname=false
52885 fi
52886
52887 ECHO_C= ECHO_N= ECHO_T=
52888 case `echo -n x` in
52889 -n*)
52890 case `echo 'x\c'` in
52891 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
52892 *) ECHO_C='\c';;
52893 esac;;
52894 *)
52895 ECHO_N='-n';;
52896 esac
52897
52898 if expr a : '\(a\)' >/dev/null 2>&1 &&
52899 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52900 as_expr=expr
52901 else
52902 as_expr=false
52903 fi
52904
52905 rm -f conf$$ conf$$.exe conf$$.file
52906 if test -d conf$$.dir; then
52907 rm -f conf$$.dir/conf$$.file
52908 else
52909 rm -f conf$$.dir
52910 mkdir conf$$.dir
52911 fi
52912 echo >conf$$.file
52913 if ln -s conf$$.file conf$$ 2>/dev/null; then
52914 as_ln_s='ln -s'
52915 # ... but there are two gotchas:
52916 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
52917 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
52918 # In both cases, we have to default to `cp -p'.
52919 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
52920 as_ln_s='cp -p'
52921 elif ln conf$$.file conf$$ 2>/dev/null; then
52922 as_ln_s=ln
52923 else
52924 as_ln_s='cp -p'
52925 fi
52926 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
52927 rmdir conf$$.dir 2>/dev/null
52928
52929 if mkdir -p . 2>/dev/null; then
52930 as_mkdir_p=:
52931 else
52932 test -d ./-p && rmdir ./-p
52933 as_mkdir_p=false
52934 fi
52935
52936 if test -x / >/dev/null 2>&1; then
52937 as_test_x='test -x'
52938 else
52939 if ls -dL / >/dev/null 2>&1; then
52940 as_ls_L_option=L
52941 else
52942 as_ls_L_option=
52943 fi
52944 as_test_x='
52945 eval sh -c '\''
52946 if test -d "$1"; then
52947 test -d "$1/.";
52948 else
52949 case $1 in
52950 -*)set "./$1";;
52951 esac;
52952 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
52953 ???[sx]*):;;*)false;;esac;fi
52954 '\'' sh
52955 '
52956 fi
52957 as_executable_p=$as_test_x
52958
52959 # Sed expression to map a string onto a valid CPP name.
52960 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52961
52962 # Sed expression to map a string onto a valid variable name.
52963 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52964
52965
52966 exec 6>&1
52967
52968 # Save the log message, to keep $[0] and so on meaningful, and to
52969 # report actual input values of CONFIG_FILES etc. instead of their
52970 # values after options handling.
52971 ac_log="
52972 This file was extended by wxWidgets $as_me 2.9.2, which was
52973 generated by GNU Autoconf 2.61. Invocation command line was
52974
52975 CONFIG_FILES = $CONFIG_FILES
52976 CONFIG_HEADERS = $CONFIG_HEADERS
52977 CONFIG_LINKS = $CONFIG_LINKS
52978 CONFIG_COMMANDS = $CONFIG_COMMANDS
52979 $ $0 $@
52980
52981 on `(hostname || uname -n) 2>/dev/null | sed 1q`
52982 "
52983
52984 _ACEOF
52985
52986 cat >>$CONFIG_STATUS <<_ACEOF
52987 # Files that config.status was made for.
52988 config_files="$ac_config_files"
52989 config_headers="$ac_config_headers"
52990 config_commands="$ac_config_commands"
52991
52992 _ACEOF
52993
52994 cat >>$CONFIG_STATUS <<\_ACEOF
52995 ac_cs_usage="\
52996 \`$as_me' instantiates files from templates according to the
52997 current configuration.
52998
52999 Usage: $0 [OPTIONS] [FILE]...
53000
53001 -h, --help print this help, then exit
53002 -V, --version print version number and configuration settings, then exit
53003 -q, --quiet do not print progress messages
53004 -d, --debug don't remove temporary files
53005 --recheck update $as_me by reconfiguring in the same conditions
53006 --file=FILE[:TEMPLATE]
53007 instantiate the configuration file FILE
53008 --header=FILE[:TEMPLATE]
53009 instantiate the configuration header FILE
53010
53011 Configuration files:
53012 $config_files
53013
53014 Configuration headers:
53015 $config_headers
53016
53017 Configuration commands:
53018 $config_commands
53019
53020 Report bugs to <bug-autoconf@gnu.org>."
53021
53022 _ACEOF
53023 cat >>$CONFIG_STATUS <<_ACEOF
53024 ac_cs_version="\\
53025 wxWidgets config.status 2.9.2
53026 configured by $0, generated by GNU Autoconf 2.61,
53027 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53028
53029 Copyright (C) 2006 Free Software Foundation, Inc.
53030 This config.status script is free software; the Free Software Foundation
53031 gives unlimited permission to copy, distribute and modify it."
53032
53033 ac_pwd='$ac_pwd'
53034 srcdir='$srcdir'
53035 INSTALL='$INSTALL'
53036 _ACEOF
53037
53038 cat >>$CONFIG_STATUS <<\_ACEOF
53039 # If no file are specified by the user, then we need to provide default
53040 # value. By we need to know if files were specified by the user.
53041 ac_need_defaults=:
53042 while test $# != 0
53043 do
53044 case $1 in
53045 --*=*)
53046 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53047 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53048 ac_shift=:
53049 ;;
53050 *)
53051 ac_option=$1
53052 ac_optarg=$2
53053 ac_shift=shift
53054 ;;
53055 esac
53056
53057 case $ac_option in
53058 # Handling of the options.
53059 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53060 ac_cs_recheck=: ;;
53061 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53062 echo "$ac_cs_version"; exit ;;
53063 --debug | --debu | --deb | --de | --d | -d )
53064 debug=: ;;
53065 --file | --fil | --fi | --f )
53066 $ac_shift
53067 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53068 ac_need_defaults=false;;
53069 --header | --heade | --head | --hea )
53070 $ac_shift
53071 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53072 ac_need_defaults=false;;
53073 --he | --h)
53074 # Conflict between --help and --header
53075 { echo "$as_me: error: ambiguous option: $1
53076 Try \`$0 --help' for more information." >&2
53077 { (exit 1); exit 1; }; };;
53078 --help | --hel | -h )
53079 echo "$ac_cs_usage"; exit ;;
53080 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53081 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53082 ac_cs_silent=: ;;
53083
53084 # This is an error.
53085 -*) { echo "$as_me: error: unrecognized option: $1
53086 Try \`$0 --help' for more information." >&2
53087 { (exit 1); exit 1; }; } ;;
53088
53089 *) ac_config_targets="$ac_config_targets $1"
53090 ac_need_defaults=false ;;
53091
53092 esac
53093 shift
53094 done
53095
53096 ac_configure_extra_args=
53097
53098 if $ac_cs_silent; then
53099 exec 6>/dev/null
53100 ac_configure_extra_args="$ac_configure_extra_args --silent"
53101 fi
53102
53103 _ACEOF
53104 cat >>$CONFIG_STATUS <<_ACEOF
53105 if \$ac_cs_recheck; then
53106 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53107 CONFIG_SHELL=$SHELL
53108 export CONFIG_SHELL
53109 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53110 fi
53111
53112 _ACEOF
53113 cat >>$CONFIG_STATUS <<\_ACEOF
53114 exec 5>>config.log
53115 {
53116 echo
53117 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53118 ## Running $as_me. ##
53119 _ASBOX
53120 echo "$ac_log"
53121 } >&5
53122
53123 _ACEOF
53124 cat >>$CONFIG_STATUS <<_ACEOF
53125 #
53126 # INIT-COMMANDS
53127 #
53128
53129 CPP="$CPP"
53130 infile="$srcdir/include/wx/msw/genrcdefs.h"
53131 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53132
53133
53134 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53135 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53136 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53137 LN_S="${LN_S}"
53138
53139
53140 _ACEOF
53141
53142 cat >>$CONFIG_STATUS <<\_ACEOF
53143
53144 # Handling of arguments.
53145 for ac_config_target in $ac_config_targets
53146 do
53147 case $ac_config_target in
53148 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53149 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53150 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53151 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53152 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
53153 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53154 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53155 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53156 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53157
53158 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53159 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53160 { (exit 1); exit 1; }; };;
53161 esac
53162 done
53163
53164
53165 # If the user did not use the arguments to specify the items to instantiate,
53166 # then the envvar interface is used. Set only those that are not.
53167 # We use the long form for the default assignment because of an extremely
53168 # bizarre bug on SunOS 4.1.3.
53169 if $ac_need_defaults; then
53170 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53171 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53172 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53173 fi
53174
53175 # Have a temporary directory for convenience. Make it in the build tree
53176 # simply because there is no reason against having it here, and in addition,
53177 # creating and moving files from /tmp can sometimes cause problems.
53178 # Hook for its removal unless debugging.
53179 # Note that there is a small window in which the directory will not be cleaned:
53180 # after its creation but before its name has been assigned to `$tmp'.
53181 $debug ||
53182 {
53183 tmp=
53184 trap 'exit_status=$?
53185 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53186 ' 0
53187 trap '{ (exit 1); exit 1; }' 1 2 13 15
53188 }
53189 # Create a (secure) tmp directory for tmp files.
53190
53191 {
53192 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53193 test -n "$tmp" && test -d "$tmp"
53194 } ||
53195 {
53196 tmp=./conf$$-$RANDOM
53197 (umask 077 && mkdir "$tmp")
53198 } ||
53199 {
53200 echo "$me: cannot create a temporary directory in ." >&2
53201 { (exit 1); exit 1; }
53202 }
53203
53204 #
53205 # Set up the sed scripts for CONFIG_FILES section.
53206 #
53207
53208 # No need to generate the scripts if there are no CONFIG_FILES.
53209 # This happens for instance when ./config.status config.h
53210 if test -n "$CONFIG_FILES"; then
53211
53212 _ACEOF
53213
53214
53215
53216 ac_delim='%!_!# '
53217 for ac_last_try in false false false false false :; do
53218 cat >conf$$subs.sed <<_ACEOF
53219 SHELL!$SHELL$ac_delim
53220 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53221 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53222 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53223 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53224 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53225 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53226 exec_prefix!$exec_prefix$ac_delim
53227 prefix!$prefix$ac_delim
53228 program_transform_name!$program_transform_name$ac_delim
53229 bindir!$bindir$ac_delim
53230 sbindir!$sbindir$ac_delim
53231 libexecdir!$libexecdir$ac_delim
53232 datarootdir!$datarootdir$ac_delim
53233 datadir!$datadir$ac_delim
53234 sysconfdir!$sysconfdir$ac_delim
53235 sharedstatedir!$sharedstatedir$ac_delim
53236 localstatedir!$localstatedir$ac_delim
53237 includedir!$includedir$ac_delim
53238 oldincludedir!$oldincludedir$ac_delim
53239 docdir!$docdir$ac_delim
53240 infodir!$infodir$ac_delim
53241 htmldir!$htmldir$ac_delim
53242 dvidir!$dvidir$ac_delim
53243 pdfdir!$pdfdir$ac_delim
53244 psdir!$psdir$ac_delim
53245 libdir!$libdir$ac_delim
53246 localedir!$localedir$ac_delim
53247 mandir!$mandir$ac_delim
53248 DEFS!$DEFS$ac_delim
53249 ECHO_C!$ECHO_C$ac_delim
53250 ECHO_N!$ECHO_N$ac_delim
53251 ECHO_T!$ECHO_T$ac_delim
53252 LIBS!$LIBS$ac_delim
53253 build_alias!$build_alias$ac_delim
53254 host_alias!$host_alias$ac_delim
53255 target_alias!$target_alias$ac_delim
53256 build!$build$ac_delim
53257 build_cpu!$build_cpu$ac_delim
53258 build_vendor!$build_vendor$ac_delim
53259 build_os!$build_os$ac_delim
53260 host!$host$ac_delim
53261 host_cpu!$host_cpu$ac_delim
53262 host_vendor!$host_vendor$ac_delim
53263 host_os!$host_os$ac_delim
53264 wx_top_builddir!$wx_top_builddir$ac_delim
53265 CC!$CC$ac_delim
53266 CFLAGS!$CFLAGS$ac_delim
53267 LDFLAGS!$LDFLAGS$ac_delim
53268 CPPFLAGS!$CPPFLAGS$ac_delim
53269 ac_ct_CC!$ac_ct_CC$ac_delim
53270 EXEEXT!$EXEEXT$ac_delim
53271 OBJEXT!$OBJEXT$ac_delim
53272 CPP!$CPP$ac_delim
53273 GREP!$GREP$ac_delim
53274 EGREP!$EGREP$ac_delim
53275 CXX!$CXX$ac_delim
53276 CXXFLAGS!$CXXFLAGS$ac_delim
53277 ac_ct_CXX!$ac_ct_CXX$ac_delim
53278 AR!$AR$ac_delim
53279 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
53280 CXXCPP!$CXXCPP$ac_delim
53281 subdirs!$subdirs$ac_delim
53282 PKG_CONFIG!$PKG_CONFIG$ac_delim
53283 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53284 GTK_LIBS!$GTK_LIBS$ac_delim
53285 GTK_CONFIG!$GTK_CONFIG$ac_delim
53286 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53287 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53288 XMKMF!$XMKMF$ac_delim
53289 X_CFLAGS!$X_CFLAGS$ac_delim
53290 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53291 X_LIBS!$X_LIBS$ac_delim
53292 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53293 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53294 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53295 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53296 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53297 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53298 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53299 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53300 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53301 LIBICONV!$LIBICONV$ac_delim
53302 GXX_VERSION!$GXX_VERSION$ac_delim
53303 SDL_CONFIG!$SDL_CONFIG$ac_delim
53304 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53305 SDL_LIBS!$SDL_LIBS$ac_delim
53306 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53307 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53308 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53309 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53310 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53311 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53312 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53313 HILDON_LIBS!$HILDON_LIBS$ac_delim
53314 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
53315 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
53316 _ACEOF
53317
53318 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53319 break
53320 elif $ac_last_try; then
53321 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53322 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53323 { (exit 1); exit 1; }; }
53324 else
53325 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53326 fi
53327 done
53328
53329 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53330 if test -n "$ac_eof"; then
53331 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53332 ac_eof=`expr $ac_eof + 1`
53333 fi
53334
53335 cat >>$CONFIG_STATUS <<_ACEOF
53336 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53337 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53338 _ACEOF
53339 sed '
53340 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53341 s/^/s,@/; s/!/@,|#_!!_#|/
53342 :n
53343 t n
53344 s/'"$ac_delim"'$/,g/; t
53345 s/$/\\/; p
53346 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53347 ' >>$CONFIG_STATUS <conf$$subs.sed
53348 rm -f conf$$subs.sed
53349 cat >>$CONFIG_STATUS <<_ACEOF
53350 CEOF$ac_eof
53351 _ACEOF
53352
53353
53354 ac_delim='%!_!# '
53355 for ac_last_try in false false false false false :; do
53356 cat >conf$$subs.sed <<_ACEOF
53357 PYTHON!$PYTHON$ac_delim
53358 COND_PYTHON!$COND_PYTHON$ac_delim
53359 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53360 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53361 GST_CFLAGS!$GST_CFLAGS$ac_delim
53362 GST_LIBS!$GST_LIBS$ac_delim
53363 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53364 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53365 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53366 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53367 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53368 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53369 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53370 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53371 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53372 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53373 VENDOR!$VENDOR$ac_delim
53374 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53375 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53376 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53377 WXUNIV!$WXUNIV$ac_delim
53378 MONOLITHIC!$MONOLITHIC$ac_delim
53379 USE_PLUGINS!$USE_PLUGINS$ac_delim
53380 CXXWARNINGS!$CXXWARNINGS$ac_delim
53381 EXTRALIBS!$EXTRALIBS$ac_delim
53382 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53383 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53384 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
53385 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53386 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53387 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53388 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
53389 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53390 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53391 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53392 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53393 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53394 UNICODE!$UNICODE$ac_delim
53395 DEBUG_INFO!$DEBUG_INFO$ac_delim
53396 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53397 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53398 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53399 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
53400 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
53401 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53402 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
53403 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53404 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53405 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53406 RANLIB!$RANLIB$ac_delim
53407 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53408 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53409 INSTALL_DATA!$INSTALL_DATA$ac_delim
53410 LN_S!$LN_S$ac_delim
53411 SET_MAKE!$SET_MAKE$ac_delim
53412 MAKE_SET!$MAKE_SET$ac_delim
53413 AROPTIONS!$AROPTIONS$ac_delim
53414 STRIP!$STRIP$ac_delim
53415 NM!$NM$ac_delim
53416 INSTALL_DIR!$INSTALL_DIR$ac_delim
53417 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53418 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53419 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53420 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53421 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53422 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53423 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53424 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53425 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53426 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53427 SO_SUFFIX!$SO_SUFFIX$ac_delim
53428 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53429 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53430 LIBPREFIX!$LIBPREFIX$ac_delim
53431 LIBEXT!$LIBEXT$ac_delim
53432 DLLPREFIX!$DLLPREFIX$ac_delim
53433 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53434 dlldir!$dlldir$ac_delim
53435 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53436 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53437 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53438 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53439 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53440 PIC_FLAG!$PIC_FLAG$ac_delim
53441 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53442 USE_SOVERSION!$USE_SOVERSION$ac_delim
53443 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53444 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53445 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53446 USE_MACVERSION!$USE_MACVERSION$ac_delim
53447 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
53448 SONAME_FLAG!$SONAME_FLAG$ac_delim
53449 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53450 BK_DEPS!$BK_DEPS$ac_delim
53451 WINDRES!$WINDRES$ac_delim
53452 REZ!$REZ$ac_delim
53453 SETFILE!$SETFILE$ac_delim
53454 _ACEOF
53455
53456 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53457 break
53458 elif $ac_last_try; then
53459 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53460 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53461 { (exit 1); exit 1; }; }
53462 else
53463 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53464 fi
53465 done
53466
53467 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53468 if test -n "$ac_eof"; then
53469 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53470 ac_eof=`expr $ac_eof + 1`
53471 fi
53472
53473 cat >>$CONFIG_STATUS <<_ACEOF
53474 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53475 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53476 _ACEOF
53477 sed '
53478 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53479 s/^/s,@/; s/!/@,|#_!!_#|/
53480 :n
53481 t n
53482 s/'"$ac_delim"'$/,g/; t
53483 s/$/\\/; p
53484 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53485 ' >>$CONFIG_STATUS <conf$$subs.sed
53486 rm -f conf$$subs.sed
53487 cat >>$CONFIG_STATUS <<_ACEOF
53488 CEOF$ac_eof
53489 _ACEOF
53490
53491
53492 ac_delim='%!_!# '
53493 for ac_last_try in false false false false false :; do
53494 cat >conf$$subs.sed <<_ACEOF
53495 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
53496 GCC_PCH!$GCC_PCH$ac_delim
53497 ICC_PCH!$ICC_PCH$ac_delim
53498 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
53499 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
53500 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53501 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53502 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53503 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53504 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53505 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53506 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53507 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53508 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53509 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53510 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
53511 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
53512 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
53513 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
53514 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
53515 COND_BUILD_release!$COND_BUILD_release$ac_delim
53516 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
53517 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
53518 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
53519 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
53520 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53521 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53522 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53523 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53524 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53525 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53526 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53527 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53528 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53529 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53530 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53531 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53532 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53533 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53534 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
53535 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
53536 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53537 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53538 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53539 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53540 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53541 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53542 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53543 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53544 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53545 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
53546 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
53547 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53548 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53549 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53550 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53551 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53552 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53553 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53554 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53555 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
53556 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53557 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
53558 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53559 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53560 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53561 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53562 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53563 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53564 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53565 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53566 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53567 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53568 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53569 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
53570 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
53571 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53572 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
53573 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53574 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
53575 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
53576 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
53577 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53578 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
53579 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53580 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53581 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
53582 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53583 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53584 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53585 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53586 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53587 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53588 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53589 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53590 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53591 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53592 _ACEOF
53593
53594 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53595 break
53596 elif $ac_last_try; then
53597 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53598 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53599 { (exit 1); exit 1; }; }
53600 else
53601 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53602 fi
53603 done
53604
53605 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53606 if test -n "$ac_eof"; then
53607 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53608 ac_eof=`expr $ac_eof + 1`
53609 fi
53610
53611 cat >>$CONFIG_STATUS <<_ACEOF
53612 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53613 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53614 _ACEOF
53615 sed '
53616 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53617 s/^/s,@/; s/!/@,|#_!!_#|/
53618 :n
53619 t n
53620 s/'"$ac_delim"'$/,g/; t
53621 s/$/\\/; p
53622 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53623 ' >>$CONFIG_STATUS <conf$$subs.sed
53624 rm -f conf$$subs.sed
53625 cat >>$CONFIG_STATUS <<_ACEOF
53626 CEOF$ac_eof
53627 _ACEOF
53628
53629
53630 ac_delim='%!_!# '
53631 for ac_last_try in false false false false false :; do
53632 cat >conf$$subs.sed <<_ACEOF
53633 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53634 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53635 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
53636 COND_SHARED_0!$COND_SHARED_0$ac_delim
53637 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53638 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53639 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53640 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53641 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53642 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53643 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53644 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53645 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
53646 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
53647 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
53648 COND_SHARED_1!$COND_SHARED_1$ac_delim
53649 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53650 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53651 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53652 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53653 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53654 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53655 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53656 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53657 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53658 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53659 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53660 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53661 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53662 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53663 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53664 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53665 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53666 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53667 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53668 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53669 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53670 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53671 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53672 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53673 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53674 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
53675 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53676 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
53677 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53678 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
53679 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
53680 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
53681 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53682 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53683 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53684 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53685 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53686 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53687 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53688 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53689 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53690 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53691 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
53692 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53693 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53694 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53695 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53696 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53697 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53698 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53699 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53700 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53701 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53702 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53703 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53704 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53705 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
53706 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53707 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53708 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53709 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53710 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
53711 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53712 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53713 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53714 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
53715 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53716 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53717 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53718 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53719 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53720 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53721 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53722 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53723 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53724 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53725 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53726 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53727 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53728 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53729 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53730 _ACEOF
53731
53732 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53733 break
53734 elif $ac_last_try; then
53735 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53736 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53737 { (exit 1); exit 1; }; }
53738 else
53739 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53740 fi
53741 done
53742
53743 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53744 if test -n "$ac_eof"; then
53745 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53746 ac_eof=`expr $ac_eof + 1`
53747 fi
53748
53749 cat >>$CONFIG_STATUS <<_ACEOF
53750 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
53751 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53752 _ACEOF
53753 sed '
53754 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53755 s/^/s,@/; s/!/@,|#_!!_#|/
53756 :n
53757 t n
53758 s/'"$ac_delim"'$/,g/; t
53759 s/$/\\/; p
53760 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53761 ' >>$CONFIG_STATUS <conf$$subs.sed
53762 rm -f conf$$subs.sed
53763 cat >>$CONFIG_STATUS <<_ACEOF
53764 CEOF$ac_eof
53765 _ACEOF
53766
53767
53768 ac_delim='%!_!# '
53769 for ac_last_try in false false false false false :; do
53770 cat >conf$$subs.sed <<_ACEOF
53771 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
53772 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
53773 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
53774 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
53775 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
53776 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
53777 DEREZ!$DEREZ$ac_delim
53778 SHARED!$SHARED$ac_delim
53779 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
53780 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
53781 USE_GUI!$USE_GUI$ac_delim
53782 AFMINSTALL!$AFMINSTALL$ac_delim
53783 WIN32INSTALL!$WIN32INSTALL$ac_delim
53784 TOOLKIT!$TOOLKIT$ac_delim
53785 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
53786 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
53787 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
53788 cross_compiling!$cross_compiling$ac_delim
53789 WIDGET_SET!$WIDGET_SET$ac_delim
53790 WX_RELEASE!$WX_RELEASE$ac_delim
53791 WX_VERSION!$WX_VERSION$ac_delim
53792 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
53793 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
53794 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
53795 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
53796 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
53797 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
53798 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53799 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
53800 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53801 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53802 GUIDIST!$GUIDIST$ac_delim
53803 DISTDIR!$DISTDIR$ac_delim
53804 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
53805 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
53806 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
53807 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
53808 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
53809 RESCOMP!$RESCOMP$ac_delim
53810 RESFLAGS!$RESFLAGS$ac_delim
53811 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
53812 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
53813 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
53814 LIBWXMACRES!$LIBWXMACRES$ac_delim
53815 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
53816 MACSETFILE!$MACSETFILE$ac_delim
53817 GCC!$GCC$ac_delim
53818 DLLTOOL!$DLLTOOL$ac_delim
53819 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
53820 LIBOBJS!$LIBOBJS$ac_delim
53821 LTLIBOBJS!$LTLIBOBJS$ac_delim
53822 _ACEOF
53823
53824 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
53825 break
53826 elif $ac_last_try; then
53827 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53828 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53829 { (exit 1); exit 1; }; }
53830 else
53831 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53832 fi
53833 done
53834
53835 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53836 if test -n "$ac_eof"; then
53837 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53838 ac_eof=`expr $ac_eof + 1`
53839 fi
53840
53841 cat >>$CONFIG_STATUS <<_ACEOF
53842 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
53843 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
53844 _ACEOF
53845 sed '
53846 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53847 s/^/s,@/; s/!/@,|#_!!_#|/
53848 :n
53849 t n
53850 s/'"$ac_delim"'$/,g/; t
53851 s/$/\\/; p
53852 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53853 ' >>$CONFIG_STATUS <conf$$subs.sed
53854 rm -f conf$$subs.sed
53855 cat >>$CONFIG_STATUS <<_ACEOF
53856 :end
53857 s/|#_!!_#|//g
53858 CEOF$ac_eof
53859 _ACEOF
53860
53861
53862 # VPATH may cause trouble with some makes, so we remove $(srcdir),
53863 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
53864 # trailing colons and then remove the whole line if VPATH becomes empty
53865 # (actually we leave an empty line to preserve line numbers).
53866 if test "x$srcdir" = x.; then
53867 ac_vpsub='/^[ ]*VPATH[ ]*=/{
53868 s/:*\$(srcdir):*/:/
53869 s/:*\${srcdir}:*/:/
53870 s/:*@srcdir@:*/:/
53871 s/^\([^=]*=[ ]*\):*/\1/
53872 s/:*$//
53873 s/^[^=]*=[ ]*$//
53874 }'
53875 fi
53876
53877 cat >>$CONFIG_STATUS <<\_ACEOF
53878 fi # test -n "$CONFIG_FILES"
53879
53880
53881 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
53882 do
53883 case $ac_tag in
53884 :[FHLC]) ac_mode=$ac_tag; continue;;
53885 esac
53886 case $ac_mode$ac_tag in
53887 :[FHL]*:*);;
53888 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
53889 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
53890 { (exit 1); exit 1; }; };;
53891 :[FH]-) ac_tag=-:-;;
53892 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
53893 esac
53894 ac_save_IFS=$IFS
53895 IFS=:
53896 set x $ac_tag
53897 IFS=$ac_save_IFS
53898 shift
53899 ac_file=$1
53900 shift
53901
53902 case $ac_mode in
53903 :L) ac_source=$1;;
53904 :[FH])
53905 ac_file_inputs=
53906 for ac_f
53907 do
53908 case $ac_f in
53909 -) ac_f="$tmp/stdin";;
53910 *) # Look for the file first in the build tree, then in the source tree
53911 # (if the path is not absolute). The absolute path cannot be DOS-style,
53912 # because $ac_f cannot contain `:'.
53913 test -f "$ac_f" ||
53914 case $ac_f in
53915 [\\/$]*) false;;
53916 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
53917 esac ||
53918 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
53919 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
53920 { (exit 1); exit 1; }; };;
53921 esac
53922 ac_file_inputs="$ac_file_inputs $ac_f"
53923 done
53924
53925 # Let's still pretend it is `configure' which instantiates (i.e., don't
53926 # use $as_me), people would be surprised to read:
53927 # /* config.h. Generated by config.status. */
53928 configure_input="Generated from "`IFS=:
53929 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
53930 if test x"$ac_file" != x-; then
53931 configure_input="$ac_file. $configure_input"
53932 { echo "$as_me:$LINENO: creating $ac_file" >&5
53933 echo "$as_me: creating $ac_file" >&6;}
53934 fi
53935
53936 case $ac_tag in
53937 *:-:* | *:-) cat >"$tmp/stdin";;
53938 esac
53939 ;;
53940 esac
53941
53942 ac_dir=`$as_dirname -- "$ac_file" ||
53943 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53944 X"$ac_file" : 'X\(//\)[^/]' \| \
53945 X"$ac_file" : 'X\(//\)$' \| \
53946 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
53947 echo X"$ac_file" |
53948 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53949 s//\1/
53950 q
53951 }
53952 /^X\(\/\/\)[^/].*/{
53953 s//\1/
53954 q
53955 }
53956 /^X\(\/\/\)$/{
53957 s//\1/
53958 q
53959 }
53960 /^X\(\/\).*/{
53961 s//\1/
53962 q
53963 }
53964 s/.*/./; q'`
53965 { as_dir="$ac_dir"
53966 case $as_dir in #(
53967 -*) as_dir=./$as_dir;;
53968 esac
53969 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53970 as_dirs=
53971 while :; do
53972 case $as_dir in #(
53973 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53974 *) as_qdir=$as_dir;;
53975 esac
53976 as_dirs="'$as_qdir' $as_dirs"
53977 as_dir=`$as_dirname -- "$as_dir" ||
53978 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53979 X"$as_dir" : 'X\(//\)[^/]' \| \
53980 X"$as_dir" : 'X\(//\)$' \| \
53981 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53982 echo X"$as_dir" |
53983 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53984 s//\1/
53985 q
53986 }
53987 /^X\(\/\/\)[^/].*/{
53988 s//\1/
53989 q
53990 }
53991 /^X\(\/\/\)$/{
53992 s//\1/
53993 q
53994 }
53995 /^X\(\/\).*/{
53996 s//\1/
53997 q
53998 }
53999 s/.*/./; q'`
54000 test -d "$as_dir" && break
54001 done
54002 test -z "$as_dirs" || eval "mkdir $as_dirs"
54003 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54004 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54005 { (exit 1); exit 1; }; }; }
54006 ac_builddir=.
54007
54008 case "$ac_dir" in
54009 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54010 *)
54011 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54012 # A ".." for each directory in $ac_dir_suffix.
54013 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54014 case $ac_top_builddir_sub in
54015 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54016 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54017 esac ;;
54018 esac
54019 ac_abs_top_builddir=$ac_pwd
54020 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54021 # for backward compatibility:
54022 ac_top_builddir=$ac_top_build_prefix
54023
54024 case $srcdir in
54025 .) # We are building in place.
54026 ac_srcdir=.
54027 ac_top_srcdir=$ac_top_builddir_sub
54028 ac_abs_top_srcdir=$ac_pwd ;;
54029 [\\/]* | ?:[\\/]* ) # Absolute name.
54030 ac_srcdir=$srcdir$ac_dir_suffix;
54031 ac_top_srcdir=$srcdir
54032 ac_abs_top_srcdir=$srcdir ;;
54033 *) # Relative name.
54034 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54035 ac_top_srcdir=$ac_top_build_prefix$srcdir
54036 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54037 esac
54038 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54039
54040
54041 case $ac_mode in
54042 :F)
54043 #
54044 # CONFIG_FILE
54045 #
54046
54047 case $INSTALL in
54048 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54049 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54050 esac
54051 _ACEOF
54052
54053 cat >>$CONFIG_STATUS <<\_ACEOF
54054 # If the template does not know about datarootdir, expand it.
54055 # FIXME: This hack should be removed a few years after 2.60.
54056 ac_datarootdir_hack=; ac_datarootdir_seen=
54057
54058 case `sed -n '/datarootdir/ {
54059 p
54060 q
54061 }
54062 /@datadir@/p
54063 /@docdir@/p
54064 /@infodir@/p
54065 /@localedir@/p
54066 /@mandir@/p
54067 ' $ac_file_inputs` in
54068 *datarootdir*) ac_datarootdir_seen=yes;;
54069 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54070 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54071 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54072 _ACEOF
54073 cat >>$CONFIG_STATUS <<_ACEOF
54074 ac_datarootdir_hack='
54075 s&@datadir@&$datadir&g
54076 s&@docdir@&$docdir&g
54077 s&@infodir@&$infodir&g
54078 s&@localedir@&$localedir&g
54079 s&@mandir@&$mandir&g
54080 s&\\\${datarootdir}&$datarootdir&g' ;;
54081 esac
54082 _ACEOF
54083
54084 # Neutralize VPATH when `$srcdir' = `.'.
54085 # Shell code in configure.ac might set extrasub.
54086 # FIXME: do we really want to maintain this feature?
54087 cat >>$CONFIG_STATUS <<_ACEOF
54088 sed "$ac_vpsub
54089 $extrasub
54090 _ACEOF
54091 cat >>$CONFIG_STATUS <<\_ACEOF
54092 :t
54093 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54094 s&@configure_input@&$configure_input&;t t
54095 s&@top_builddir@&$ac_top_builddir_sub&;t t
54096 s&@srcdir@&$ac_srcdir&;t t
54097 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54098 s&@top_srcdir@&$ac_top_srcdir&;t t
54099 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54100 s&@builddir@&$ac_builddir&;t t
54101 s&@abs_builddir@&$ac_abs_builddir&;t t
54102 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54103 s&@INSTALL@&$ac_INSTALL&;t t
54104 $ac_datarootdir_hack
54105 " $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
54106
54107 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54108 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54109 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54110 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54111 which seems to be undefined. Please make sure it is defined." >&5
54112 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54113 which seems to be undefined. Please make sure it is defined." >&2;}
54114
54115 rm -f "$tmp/stdin"
54116 case $ac_file in
54117 -) cat "$tmp/out"; rm -f "$tmp/out";;
54118 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54119 esac
54120 ;;
54121 :H)
54122 #
54123 # CONFIG_HEADER
54124 #
54125 _ACEOF
54126
54127 # Transform confdefs.h into a sed script `conftest.defines', that
54128 # substitutes the proper values into config.h.in to produce config.h.
54129 rm -f conftest.defines conftest.tail
54130 # First, append a space to every undef/define line, to ease matching.
54131 echo 's/$/ /' >conftest.defines
54132 # Then, protect against being on the right side of a sed subst, or in
54133 # an unquoted here document, in config.status. If some macros were
54134 # called several times there might be several #defines for the same
54135 # symbol, which is useless. But do not sort them, since the last
54136 # AC_DEFINE must be honored.
54137 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54138 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54139 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54140 # PARAMS is the parameter list in the macro definition--in most cases, it's
54141 # just an empty string.
54142 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54143 ac_dB='\\)[ (].*,\\1define\\2'
54144 ac_dC=' '
54145 ac_dD=' ,'
54146
54147 uniq confdefs.h |
54148 sed -n '
54149 t rset
54150 :rset
54151 s/^[ ]*#[ ]*define[ ][ ]*//
54152 t ok
54153 d
54154 :ok
54155 s/[\\&,]/\\&/g
54156 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54157 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54158 ' >>conftest.defines
54159
54160 # Remove the space that was appended to ease matching.
54161 # Then replace #undef with comments. This is necessary, for
54162 # example, in the case of _POSIX_SOURCE, which is predefined and required
54163 # on some systems where configure will not decide to define it.
54164 # (The regexp can be short, since the line contains either #define or #undef.)
54165 echo 's/ $//
54166 s,^[ #]*u.*,/* & */,' >>conftest.defines
54167
54168 # Break up conftest.defines:
54169 ac_max_sed_lines=50
54170
54171 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54172 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54173 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54174 # et cetera.
54175 ac_in='$ac_file_inputs'
54176 ac_out='"$tmp/out1"'
54177 ac_nxt='"$tmp/out2"'
54178
54179 while :
54180 do
54181 # Write a here document:
54182 cat >>$CONFIG_STATUS <<_ACEOF
54183 # First, check the format of the line:
54184 cat >"\$tmp/defines.sed" <<\\CEOF
54185 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54186 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54187 b
54188 :def
54189 _ACEOF
54190 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54191 echo 'CEOF
54192 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54193 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54194 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54195 grep . conftest.tail >/dev/null || break
54196 rm -f conftest.defines
54197 mv conftest.tail conftest.defines
54198 done
54199 rm -f conftest.defines conftest.tail
54200
54201 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54202 cat >>$CONFIG_STATUS <<\_ACEOF
54203 if test x"$ac_file" != x-; then
54204 echo "/* $configure_input */" >"$tmp/config.h"
54205 cat "$ac_result" >>"$tmp/config.h"
54206 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54207 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54208 echo "$as_me: $ac_file is unchanged" >&6;}
54209 else
54210 rm -f $ac_file
54211 mv "$tmp/config.h" $ac_file
54212 fi
54213 else
54214 echo "/* $configure_input */"
54215 cat "$ac_result"
54216 fi
54217 rm -f "$tmp/out12"
54218 ;;
54219
54220 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54221 echo "$as_me: executing $ac_file commands" >&6;}
54222 ;;
54223 esac
54224
54225
54226 case $ac_file$ac_mode in
54227 "rcdefs.h":C)
54228 mkdir -p $outdir &&
54229 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54230 ;;
54231 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54232 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54233 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
54234 "wx-config":C) rm -f wx-config
54235 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54236 ;;
54237
54238 esac
54239 done # for ac_tag
54240
54241
54242 { (exit 0); exit 0; }
54243 _ACEOF
54244 chmod +x $CONFIG_STATUS
54245 ac_clean_files=$ac_clean_files_save
54246
54247
54248 # configure is writing to config.log, and then calls config.status.
54249 # config.status does its own redirection, appending to config.log.
54250 # Unfortunately, on DOS this fails, as config.log is still kept open
54251 # by configure, so config.status won't be able to write to it; its
54252 # output is simply discarded. So we exec the FD to /dev/null,
54253 # effectively closing config.log, so it can be properly (re)opened and
54254 # appended to by config.status. When coming back to configure, we
54255 # need to make the FD available again.
54256 if test "$no_create" != yes; then
54257 ac_cs_success=:
54258 ac_config_status_args=
54259 test "$silent" = yes &&
54260 ac_config_status_args="$ac_config_status_args --quiet"
54261 exec 5>/dev/null
54262 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54263 exec 5>>config.log
54264 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54265 # would make configure fail if this is the last instruction.
54266 $ac_cs_success || { (exit 1); exit 1; }
54267 fi
54268
54269 #
54270 # CONFIG_SUBDIRS section.
54271 #
54272 if test "$no_recursion" != yes; then
54273
54274 # Remove --cache-file and --srcdir arguments so they do not pile up.
54275 ac_sub_configure_args=
54276 ac_prev=
54277 eval "set x $ac_configure_args"
54278 shift
54279 for ac_arg
54280 do
54281 if test -n "$ac_prev"; then
54282 ac_prev=
54283 continue
54284 fi
54285 case $ac_arg in
54286 -cache-file | --cache-file | --cache-fil | --cache-fi \
54287 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54288 ac_prev=cache_file ;;
54289 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54290 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54291 | --c=*)
54292 ;;
54293 --config-cache | -C)
54294 ;;
54295 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54296 ac_prev=srcdir ;;
54297 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54298 ;;
54299 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54300 ac_prev=prefix ;;
54301 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54302 ;;
54303 *)
54304 case $ac_arg in
54305 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54306 esac
54307 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54308 esac
54309 done
54310
54311 # Always prepend --prefix to ensure using the same prefix
54312 # in subdir configurations.
54313 ac_arg="--prefix=$prefix"
54314 case $ac_arg in
54315 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54316 esac
54317 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54318
54319 # Pass --silent
54320 if test "$silent" = yes; then
54321 ac_sub_configure_args="--silent $ac_sub_configure_args"
54322 fi
54323
54324 ac_popdir=`pwd`
54325 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54326
54327 # Do not complain, so a configure script can configure whichever
54328 # parts of a large source tree are present.
54329 test -d "$srcdir/$ac_dir" || continue
54330
54331 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54332 echo "$as_me:$LINENO: $ac_msg" >&5
54333 echo "$ac_msg" >&6
54334 { as_dir="$ac_dir"
54335 case $as_dir in #(
54336 -*) as_dir=./$as_dir;;
54337 esac
54338 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54339 as_dirs=
54340 while :; do
54341 case $as_dir in #(
54342 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54343 *) as_qdir=$as_dir;;
54344 esac
54345 as_dirs="'$as_qdir' $as_dirs"
54346 as_dir=`$as_dirname -- "$as_dir" ||
54347 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54348 X"$as_dir" : 'X\(//\)[^/]' \| \
54349 X"$as_dir" : 'X\(//\)$' \| \
54350 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54351 echo X"$as_dir" |
54352 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54353 s//\1/
54354 q
54355 }
54356 /^X\(\/\/\)[^/].*/{
54357 s//\1/
54358 q
54359 }
54360 /^X\(\/\/\)$/{
54361 s//\1/
54362 q
54363 }
54364 /^X\(\/\).*/{
54365 s//\1/
54366 q
54367 }
54368 s/.*/./; q'`
54369 test -d "$as_dir" && break
54370 done
54371 test -z "$as_dirs" || eval "mkdir $as_dirs"
54372 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54373 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54374 { (exit 1); exit 1; }; }; }
54375 ac_builddir=.
54376
54377 case "$ac_dir" in
54378 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54379 *)
54380 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54381 # A ".." for each directory in $ac_dir_suffix.
54382 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54383 case $ac_top_builddir_sub in
54384 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54385 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54386 esac ;;
54387 esac
54388 ac_abs_top_builddir=$ac_pwd
54389 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54390 # for backward compatibility:
54391 ac_top_builddir=$ac_top_build_prefix
54392
54393 case $srcdir in
54394 .) # We are building in place.
54395 ac_srcdir=.
54396 ac_top_srcdir=$ac_top_builddir_sub
54397 ac_abs_top_srcdir=$ac_pwd ;;
54398 [\\/]* | ?:[\\/]* ) # Absolute name.
54399 ac_srcdir=$srcdir$ac_dir_suffix;
54400 ac_top_srcdir=$srcdir
54401 ac_abs_top_srcdir=$srcdir ;;
54402 *) # Relative name.
54403 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54404 ac_top_srcdir=$ac_top_build_prefix$srcdir
54405 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54406 esac
54407 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54408
54409
54410 cd "$ac_dir"
54411
54412 # Check for guested configure; otherwise get Cygnus style configure.
54413 if test -f "$ac_srcdir/configure.gnu"; then
54414 ac_sub_configure=$ac_srcdir/configure.gnu
54415 elif test -f "$ac_srcdir/configure"; then
54416 ac_sub_configure=$ac_srcdir/configure
54417 elif test -f "$ac_srcdir/configure.in"; then
54418 # This should be Cygnus configure.
54419 ac_sub_configure=$ac_aux_dir/configure
54420 else
54421 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54422 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54423 ac_sub_configure=
54424 fi
54425
54426 # The recursion is here.
54427 if test -n "$ac_sub_configure"; then
54428 # Make the cache file name correct relative to the subdirectory.
54429 case $cache_file in
54430 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54431 *) # Relative name.
54432 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54433 esac
54434
54435 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54436 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54437 # The eval makes quoting arguments work.
54438 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54439 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54440 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54441 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54442 { (exit 1); exit 1; }; }
54443 fi
54444
54445 cd "$ac_popdir"
54446 done
54447 fi
54448
54449
54450 echo
54451 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54452 echo ""
54453 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54454 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54455 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54456 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54457 if test "$wxUSE_UNICODE" = "yes"; then
54458 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54459 echo " (using UTF-8)"
54460 else
54461 echo " (using wchar_t)"
54462 fi
54463 else
54464 echo
54465 fi
54466
54467 echo " What level of wxWidgets compatibility should be enabled?"
54468 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54469 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54470
54471 echo " Which libraries should wxWidgets use?"
54472 echo " STL ${wxUSE_STL}"
54473 echo " jpeg ${wxUSE_LIBJPEG-none}"
54474 echo " png ${wxUSE_LIBPNG-none}"
54475 echo " regex ${wxUSE_REGEX}"
54476 echo " tiff ${wxUSE_LIBTIFF-none}"
54477 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54478 echo " xpm ${wxUSE_LIBXPM-none}"
54479 fi
54480 echo " zlib ${wxUSE_ZLIB}"
54481 echo " expat ${wxUSE_EXPAT}"
54482 echo " libmspack ${wxUSE_LIBMSPACK}"
54483 echo " sdl ${wxUSE_LIBSDL}"
54484
54485 echo ""
54486