]> git.saurik.com Git - wxWidgets.git/blob - configure
Add wxUSE_HOTKEY support to configure.
[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.3.
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.3'
579 PACKAGE_STRING='wxWidgets 2.9.3'
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.3 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.3:";;
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 standard C++ classes for everything
1693 --enable-std_containers use standard C++ container classes
1694 --enable-std_iostreams use standard C++ stream classes
1695 --enable-std_string use standard C++ string classes
1696 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
1697 --disable-unicode compile without Unicode support
1698 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1699 --enable-utf8 use UTF-8 representation for strings (Unix only)
1700 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1701 --enable-extended_rtti use extended RTTI (XTI)
1702 --enable-omf use OMF object format
1703 --disable-optimise compile without optimisations
1704 --enable-profile create code with profiling information
1705 --enable-no_rtti create code without RTTI information
1706 --enable-no_exceptions create code without C++ exceptions handling
1707 --enable-permissive compile code disregarding strict ANSI
1708 --enable-no_deps create code without dependency information
1709 --disable-vararg_macros don't use vararg macros, even if they are supported
1710 --enable-universal_binary create universal binary with Mac PPC and i386 (and x86_64 if using Cocoa) architectures
1711 --enable-macosx_arch=ARCH build for just the specified architecture
1712 --enable-compat26 enable wxWidgets 2.6 compatibility
1713 --disable-compat28 disable wxWidgets 2.8 compatibility
1714 --disable-rpath disable use of rpath for uninstalled builds
1715 --enable-objc_uniquifying enable Objective-C class name uniquifying
1716 --disable-visibility disable use of ELF symbols visibility even if supported
1717 --disable-tls disable use of compiler TLS support
1718 --enable-intl use internationalization system
1719 --enable-xlocale use x-locale support (requires wxLocale)
1720 --enable-config use wxConfig (and derived) classes
1721 --enable-protocols use wxProtocol and derived classes
1722 --enable-ftp use wxFTP (requires wxProtocol
1723 --enable-http use wxHTTP (requires wxProtocol
1724 --enable-fileproto use wxFileProto class (requires wxProtocol
1725 --enable-sockets use socket/network classes
1726 --enable-ipv6 enable IPv6 support in wxSocket
1727 --enable-ole use OLE classes (Win32 only)
1728 --enable-dataobj use data object classes
1729 --enable-ipc use interprocess communication (wxSocket etc.)
1730 --enable-baseevtloop use event loop in console programs too
1731 --enable-epollloop use wxEpollDispatcher class (Linux only)
1732 --enable-selectloop use wxSelectDispatcher class
1733 --enable-any use wxAny class
1734 --enable-apple_ieee use the Apple IEEE codec
1735 --enable-arcstream use wxArchive streams
1736 --enable-base64 use base64 encoding/decoding functions
1737 --enable-backtrace use wxStackWalker class for getting backtraces
1738 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1739 --enable-cmdline use wxCmdLineParser class
1740 --enable-datetime use wxDateTime class
1741 --enable-debugreport use wxDebugReport class
1742 --enable-dialupman use dialup network classes
1743 --enable-dynlib use wxLibrary class for DLL loading
1744 --enable-dynamicloader use (new) wxDynamicLibrary class
1745 --enable-exceptions build exception-safe library
1746 --enable-ffile use wxFFile class
1747 --enable-file use wxFile class
1748 --enable-filehistory use wxFileHistory class
1749 --enable-filesystem use virtual file systems classes
1750 --enable-fontenum use wxFontEnumerator class
1751 --enable-fontmap use font encodings conversion classes
1752 --enable-fs_archive use virtual archive filesystems
1753 --enable-fs_inet use virtual HTTP/FTP filesystems
1754 --enable-fs_zip now replaced by fs_archive
1755 --enable-fswatcher use wxFileSystemWatcher class
1756 --enable-geometry use geometry class
1757 --enable-log use logging system
1758 --enable-longlong use wxLongLong class
1759 --enable-mimetype use wxMimeTypesManager
1760 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1761 --enable-snglinst use wxSingleInstanceChecker class
1762 --enable-sound use wxSound class
1763 --enable-stdpaths use wxStandardPaths class
1764 --enable-stopwatch use wxStopWatch class
1765 --enable-streams use wxStream etc classes
1766 --enable-sysoptions use wxSystemOptions
1767 --enable-tarstream use wxTar streams
1768 --enable-textbuf use wxTextBuffer class
1769 --enable-textfile use wxTextFile class
1770 --enable-timer use wxTimer class
1771 --enable-variant use wxVariant class
1772 --enable-zipstream use wxZip streams
1773 --enable-url use wxURL class
1774 --enable-protocol use wxProtocol class
1775 --enable-protocol-http HTTP support in wxProtocol
1776 --enable-protocol-ftp FTP support in wxProtocol
1777 --enable-protocol-file FILE support in wxProtocol
1778 --enable-threads use threads
1779 --enable-iniconf use wxIniConfig (Win32 only)
1780 --enable-regkey use wxRegKey class (Win32 only)
1781 --enable-docview use document view architecture
1782 --enable-help use help subsystem
1783 --enable-mshtmlhelp use MS HTML Help (win32)
1784 --enable-html use wxHTML sub-library
1785 --enable-htmlhelp use wxHTML-based help
1786 --enable-xrc use XRC resources sub-library
1787 --enable-aui use AUI docking library
1788 --enable-propgrid use wxPropertyGrid library
1789 --enable-ribbon use wxRibbon library
1790 --enable-stc use wxStyledTextCtrl library
1791 --enable-constraints use layout-constraints system
1792 --enable-loggui use standard GUI logger
1793 --enable-logwin use wxLogWindow
1794 --enable-logdialog use wxLogDialog
1795 --enable-mdi use multiple document interface architecture
1796 --enable-mdidoc use docview architecture with MDI
1797 --enable-mediactrl use wxMediaCtrl class
1798 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1799 --enable-webkit use wxWebKitCtrl (Mac)
1800 --enable-richtext use wxRichTextCtrl
1801 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1802 --enable-printarch use printing architecture
1803 --enable-svg use wxSVGFileDC device context
1804 --enable-graphics_ctx use graphics context 2D drawing API
1805 --enable-clipboard use wxClipboard class
1806 --enable-dnd use Drag'n'Drop classes
1807 --enable-metafile use win32 metafiles
1808 --disable-controls disable compilation of all standard controls
1809 --enable-markup support wxControl::SetLabelMarkup
1810 --enable-accel use accelerators
1811 --enable-animatectrl use wxAnimationCtrl class
1812 --enable-bannerwindow use wxBannerWindow class
1813 --enable-artstd use standard XPM icons in wxArtProvider
1814 --enable-arttango use Tango icons in wxArtProvider
1815 --enable-bmpbutton use wxBitmapButton class
1816 --enable-bmpcombobox use wxBitmapComboBox class
1817 --enable-button use wxButton class
1818 --enable-calendar use wxCalendarCtrl class
1819 --enable-caret use wxCaret class
1820 --enable-checkbox use wxCheckBox class
1821 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1822 --enable-choice use wxChoice class
1823 --enable-choicebook use wxChoicebook class
1824 --enable-collpane use wxCollapsiblePane class
1825 --enable-colourpicker use wxColourPickerCtrl class
1826 --enable-combobox use wxComboBox class
1827 --enable-comboctrl use wxComboCtrl class
1828 --enable-commandlinkbutton use wxCommmandLinkButton class
1829 --enable-dataviewctrl use wxDataViewCtrl class
1830 --enable-datepick use wxDatePickerCtrl class
1831 --enable-detect_sm use code to detect X11 session manager
1832 --enable-dirpicker use wxDirPickerCtrl class
1833 --enable-display use wxDisplay class
1834 --enable-editablebox use wxEditableListBox class
1835 --enable-filectrl use wxFileCtrl class
1836 --enable-filepicker use wxFilePickerCtrl class
1837 --enable-fontpicker use wxFontPickerCtrl class
1838 --enable-gauge use wxGauge class
1839 --enable-grid use wxGrid class
1840 --enable-headerctrl use wxHeaderCtrl class
1841 --enable-hyperlink use wxHyperlinkCtrl class
1842 --enable-imaglist use wxImageList class
1843 --enable-infobar use wxInfoBar class
1844 --enable-listbook use wxListbook class
1845 --enable-listbox use wxListBox class
1846 --enable-listctrl use wxListCtrl class
1847 --enable-notebook use wxNotebook class
1848 --enable-notifmsg use wxNotificationMessage class
1849 --enable-odcombobox use wxOwnerDrawnComboBox class
1850 --enable-popupwin use wxPopUpWindow class
1851 --enable-radiobox use wxRadioBox class
1852 --enable-radiobtn use wxRadioButton class
1853 --enable-richmsgdlg use wxRichMessageDialog class
1854 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1855 --enable-sash use wxSashWindow class
1856 --enable-scrollbar use wxScrollBar class and scrollable windows
1857 --enable-searchctrl use wxSearchCtrl class
1858 --enable-slider use wxSlider class
1859 --enable-spinbtn use wxSpinButton class
1860 --enable-spinctrl use wxSpinCtrl class
1861 --enable-splitter use wxSplitterWindow class
1862 --enable-statbmp use wxStaticBitmap class
1863 --enable-statbox use wxStaticBox class
1864 --enable-statline use wxStaticLine class
1865 --enable-stattext use wxStaticText class
1866 --enable-statusbar use wxStatusBar class
1867 --enable-taskbaricon use wxTaskBarIcon class
1868 --enable-tbarnative use native wxToolBar class
1869 --enable-textctrl use wxTextCtrl class
1870 --enable-tipwindow use wxTipWindow class
1871 --enable-togglebtn use wxToggleButton class
1872 --enable-toolbar use wxToolBar class
1873 --enable-toolbook use wxToolbook class
1874 --enable-treebook use wxTreebook class
1875 --enable-treectrl use wxTreeCtrl class
1876 --enable-treelist use wxTreeListCtrl class
1877 --enable-commondlg use all common dialogs
1878 --enable-aboutdlg use wxAboutBox
1879 --enable-choicedlg use wxChoiceDialog
1880 --enable-coldlg use wxColourDialog
1881 --enable-filedlg use wxFileDialog
1882 --enable-finddlg use wxFindReplaceDialog
1883 --enable-fontdlg use wxFontDialog
1884 --enable-dirdlg use wxDirDialog
1885 --enable-msgdlg use wxMessageDialog
1886 --enable-numberdlg use wxNumberEntryDialog
1887 --enable-splash use wxSplashScreen
1888 --enable-textdlg use wxTextDialog
1889 --enable-tipdlg use startup tips
1890 --enable-progressdlg use wxProgressDialog
1891 --enable-wizarddlg use wxWizard
1892 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1893 --enable-miniframe use wxMiniFrame class
1894 --enable-tooltips use wxToolTip class
1895 --enable-splines use spline drawing code
1896 --enable-mousewheel use mousewheel
1897 --enable-validators use wxValidator and derived classes
1898 --enable-busyinfo use wxBusyInfo
1899 --enable-hotkey use wxWindow::RegisterHotKey()
1900 --enable-joystick use wxJoystick
1901 --enable-metafiles use wxMetaFile (Win32 only)
1902 --enable-dragimage use wxDragImage
1903 --enable-accessibility enable accessibility support
1904 --enable-uiactionsim use wxUIActionSimulator (experimental)
1905 --enable-dctransform use wxDC::SetTransformMatrix and related
1906 --enable-palette use wxPalette class
1907 --enable-image use wxImage class
1908 --enable-gif use gif images (GIF file format)
1909 --enable-pcx use pcx images (PCX file format)
1910 --enable-tga use tga images (TGA file format)
1911 --enable-iff use iff images (IFF file format)
1912 --enable-pnm use pnm images (PNM file format)
1913 --enable-xpm use xpm images (XPM file format)
1914 --enable-ico_cur use Windows ICO and CUR formats
1915 --enable-dccache cache temporary wxDC objects (Win32 only)
1916 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1917 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1918 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1919 --enable-wxdib use wxDIB class (Win32 only)
1920 --enable-autoidman use automatic ids management
1921 --disable-largefile omit support for large files
1922 --disable-gtktest do not try to compile and run a test GTK+ program
1923 --disable-gtktest Do not try to compile and run a test GTK program
1924 --disable-sdltest Do not try to compile and run a test SDL program
1925 --enable-omf use OMF object format (OS/2)
1926 --disable-dependency-tracking
1927 don't use dependency tracking even if the compiler
1928 can
1929 --disable-precomp-headers
1930 don't use precompiled headers even if compiler can
1931
1932 Optional Packages:
1933 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1934 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1935 --without-subdirs don't generate makefiles for samples/demos/...
1936 --with-flavour=NAME specify a name to identify this build
1937 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1938 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1939 --with-motif use Motif/Lesstif
1940 --with-osx_carbon use Mac OS X (Carbon)
1941 --with-osx_cocoa use Mac OS X (Cocoa)
1942 --with-osx_iphone use iPhone OS X port
1943 --with-osx use Mac OS X (default port, currently Carbon)
1944 --with-carbon same as --with-osx_carbon
1945 --with-cocoa same as --with-osx_cocoa
1946 --with-iphone same as --with-osx_iphone
1947 --with-mac same as --with-osx
1948 --with-old_cocoa use old, deprecated, Cocoa port
1949 --with-wine use Wine
1950 --with-msw use MS-Windows
1951 --with-pm use OS/2 Presentation Manager
1952 --with-mgl use SciTech MGL
1953 --with-directfb use DirectFB
1954 --with-microwin use MicroWindows
1955 --with-x11 use X11
1956 --with-libpng use libpng (PNG image format)
1957 --with-libjpeg use libjpeg (JPEG file format)
1958 --with-libtiff use libtiff (TIFF file format)
1959 --with-libxpm use libxpm (XPM file format)
1960 --with-libiconv use libiconv (character conversion)
1961 --with-libmspack use libmspack (CHM help files loading)
1962 --without-gtkprint don't use GTK printing support
1963 --without-gnomeprint don't use GNOME printing libraries
1964 --with-gnomevfs use GNOME VFS for associating MIME types
1965 --with-hildon use Hildon framework for Nokia 770/800/810
1966 --with-opengl use OpenGL (or Mesa)
1967 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1968 --with-sdl use SDL for audio on Unix
1969 --with-regex enable support for wxRegEx class
1970 --with-zlib use zlib for LZW compression
1971 --with-expat enable XML support using expat parser
1972 --with-macosx-sdk=PATH use an OS X SDK at PATH
1973 --with-macosx-version-min=VER build binaries which require at least this OS X version
1974 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1975 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1976 --with-x use the X Window System
1977 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1978 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1979 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1980 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1981 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1982
1983 Some influential environment variables:
1984 CC C compiler command
1985 CFLAGS C compiler flags
1986 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1987 nonstandard directory <lib dir>
1988 LIBS libraries to pass to the linker, e.g. -l<library>
1989 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1990 you have headers in a nonstandard directory <include dir>
1991 CPP C preprocessor
1992 CXX C++ compiler command
1993 CXXFLAGS C++ compiler flags
1994 CXXCPP C++ preprocessor
1995 PKG_CONFIG path to pkg-config utility
1996 DIRECTFB_CFLAGS
1997 C compiler flags for DIRECTFB, overriding pkg-config
1998 DIRECTFB_LIBS
1999 linker flags for DIRECTFB, overriding pkg-config
2000 XMKMF Path to xmkmf, Makefile generator for X Window System
2001 PANGOX_CFLAGS
2002 C compiler flags for PANGOX, overriding pkg-config
2003 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2004 PANGOFT2_CFLAGS
2005 C compiler flags for PANGOFT2, overriding pkg-config
2006 PANGOFT2_LIBS
2007 linker flags for PANGOFT2, overriding pkg-config
2008 PANGOXFT_CFLAGS
2009 C compiler flags for PANGOXFT, overriding pkg-config
2010 PANGOXFT_LIBS
2011 linker flags for PANGOXFT, overriding pkg-config
2012 GTKPRINT_CFLAGS
2013 C compiler flags for GTKPRINT, overriding pkg-config
2014 GTKPRINT_LIBS
2015 linker flags for GTKPRINT, overriding pkg-config
2016 LIBGNOMEPRINTUI_CFLAGS
2017 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2018 LIBGNOMEPRINTUI_LIBS
2019 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2020 GNOMEVFS_CFLAGS
2021 C compiler flags for GNOMEVFS, overriding pkg-config
2022 GNOMEVFS_LIBS
2023 linker flags for GNOMEVFS, overriding pkg-config
2024 HILDON_CFLAGS
2025 C compiler flags for HILDON, overriding pkg-config
2026 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2027 HILDON2_CFLAGS
2028 C compiler flags for HILDON2, overriding pkg-config
2029 HILDON2_LIBS
2030 linker flags for HILDON2, overriding pkg-config
2031 CAIRO_CFLAGS
2032 C compiler flags for CAIRO, overriding pkg-config
2033 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2034 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2035 GST_LIBS linker flags for GST, overriding pkg-config
2036
2037 Use these variables to override the choices made by `configure' or to help
2038 it to find libraries and programs with nonstandard names/locations.
2039
2040 Report bugs to <wx-dev@lists.wxwidgets.org>.
2041 _ACEOF
2042 ac_status=$?
2043 fi
2044
2045 if test "$ac_init_help" = "recursive"; then
2046 # If there are subdirs, report their specific --help.
2047 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2048 test -d "$ac_dir" || continue
2049 ac_builddir=.
2050
2051 case "$ac_dir" in
2052 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2053 *)
2054 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2055 # A ".." for each directory in $ac_dir_suffix.
2056 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2057 case $ac_top_builddir_sub in
2058 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2059 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2060 esac ;;
2061 esac
2062 ac_abs_top_builddir=$ac_pwd
2063 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2064 # for backward compatibility:
2065 ac_top_builddir=$ac_top_build_prefix
2066
2067 case $srcdir in
2068 .) # We are building in place.
2069 ac_srcdir=.
2070 ac_top_srcdir=$ac_top_builddir_sub
2071 ac_abs_top_srcdir=$ac_pwd ;;
2072 [\\/]* | ?:[\\/]* ) # Absolute name.
2073 ac_srcdir=$srcdir$ac_dir_suffix;
2074 ac_top_srcdir=$srcdir
2075 ac_abs_top_srcdir=$srcdir ;;
2076 *) # Relative name.
2077 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2078 ac_top_srcdir=$ac_top_build_prefix$srcdir
2079 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2080 esac
2081 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2082
2083 cd "$ac_dir" || { ac_status=$?; continue; }
2084 # Check for guested configure.
2085 if test -f "$ac_srcdir/configure.gnu"; then
2086 echo &&
2087 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2088 elif test -f "$ac_srcdir/configure"; then
2089 echo &&
2090 $SHELL "$ac_srcdir/configure" --help=recursive
2091 else
2092 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2093 fi || ac_status=$?
2094 cd "$ac_pwd" || { ac_status=$?; break; }
2095 done
2096 fi
2097
2098 test -n "$ac_init_help" && exit $ac_status
2099 if $ac_init_version; then
2100 cat <<\_ACEOF
2101 wxWidgets configure 2.9.3
2102 generated by GNU Autoconf 2.61
2103
2104 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2105 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2106 This configure script is free software; the Free Software Foundation
2107 gives unlimited permission to copy, distribute and modify it.
2108 _ACEOF
2109 exit
2110 fi
2111 cat >config.log <<_ACEOF
2112 This file contains any messages produced by compilers while
2113 running configure, to aid debugging if configure makes a mistake.
2114
2115 It was created by wxWidgets $as_me 2.9.3, which was
2116 generated by GNU Autoconf 2.61. Invocation command line was
2117
2118 $ $0 $@
2119
2120 _ACEOF
2121 exec 5>>config.log
2122 {
2123 cat <<_ASUNAME
2124 ## --------- ##
2125 ## Platform. ##
2126 ## --------- ##
2127
2128 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2129 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2130 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2131 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2132 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2133
2134 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2135 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2136
2137 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2138 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2139 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2140 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2141 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2142 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2143 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2144
2145 _ASUNAME
2146
2147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2148 for as_dir in $PATH
2149 do
2150 IFS=$as_save_IFS
2151 test -z "$as_dir" && as_dir=.
2152 echo "PATH: $as_dir"
2153 done
2154 IFS=$as_save_IFS
2155
2156 } >&5
2157
2158 cat >&5 <<_ACEOF
2159
2160
2161 ## ----------- ##
2162 ## Core tests. ##
2163 ## ----------- ##
2164
2165 _ACEOF
2166
2167
2168 # Keep a trace of the command line.
2169 # Strip out --no-create and --no-recursion so they do not pile up.
2170 # Strip out --silent because we don't want to record it for future runs.
2171 # Also quote any args containing shell meta-characters.
2172 # Make two passes to allow for proper duplicate-argument suppression.
2173 ac_configure_args=
2174 ac_configure_args0=
2175 ac_configure_args1=
2176 ac_must_keep_next=false
2177 for ac_pass in 1 2
2178 do
2179 for ac_arg
2180 do
2181 case $ac_arg in
2182 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2183 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2184 | -silent | --silent | --silen | --sile | --sil)
2185 continue ;;
2186 *\'*)
2187 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2188 esac
2189 case $ac_pass in
2190 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2191 2)
2192 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2193 if test $ac_must_keep_next = true; then
2194 ac_must_keep_next=false # Got value, back to normal.
2195 else
2196 case $ac_arg in
2197 *=* | --config-cache | -C | -disable-* | --disable-* \
2198 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2199 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2200 | -with-* | --with-* | -without-* | --without-* | --x)
2201 case "$ac_configure_args0 " in
2202 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2203 esac
2204 ;;
2205 -* ) ac_must_keep_next=true ;;
2206 esac
2207 fi
2208 ac_configure_args="$ac_configure_args '$ac_arg'"
2209 ;;
2210 esac
2211 done
2212 done
2213 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2214 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2215
2216 # When interrupted or exit'd, cleanup temporary files, and complete
2217 # config.log. We remove comments because anyway the quotes in there
2218 # would cause problems or look ugly.
2219 # WARNING: Use '\'' to represent an apostrophe within the trap.
2220 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2221 trap 'exit_status=$?
2222 # Save into config.log some information that might help in debugging.
2223 {
2224 echo
2225
2226 cat <<\_ASBOX
2227 ## ---------------- ##
2228 ## Cache variables. ##
2229 ## ---------------- ##
2230 _ASBOX
2231 echo
2232 # The following way of writing the cache mishandles newlines in values,
2233 (
2234 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2235 eval ac_val=\$$ac_var
2236 case $ac_val in #(
2237 *${as_nl}*)
2238 case $ac_var in #(
2239 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2240 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2241 esac
2242 case $ac_var in #(
2243 _ | IFS | as_nl) ;; #(
2244 *) $as_unset $ac_var ;;
2245 esac ;;
2246 esac
2247 done
2248 (set) 2>&1 |
2249 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2250 *${as_nl}ac_space=\ *)
2251 sed -n \
2252 "s/'\''/'\''\\\\'\'''\''/g;
2253 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2254 ;; #(
2255 *)
2256 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2257 ;;
2258 esac |
2259 sort
2260 )
2261 echo
2262
2263 cat <<\_ASBOX
2264 ## ----------------- ##
2265 ## Output variables. ##
2266 ## ----------------- ##
2267 _ASBOX
2268 echo
2269 for ac_var in $ac_subst_vars
2270 do
2271 eval ac_val=\$$ac_var
2272 case $ac_val in
2273 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2274 esac
2275 echo "$ac_var='\''$ac_val'\''"
2276 done | sort
2277 echo
2278
2279 if test -n "$ac_subst_files"; then
2280 cat <<\_ASBOX
2281 ## ------------------- ##
2282 ## File substitutions. ##
2283 ## ------------------- ##
2284 _ASBOX
2285 echo
2286 for ac_var in $ac_subst_files
2287 do
2288 eval ac_val=\$$ac_var
2289 case $ac_val in
2290 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2291 esac
2292 echo "$ac_var='\''$ac_val'\''"
2293 done | sort
2294 echo
2295 fi
2296
2297 if test -s confdefs.h; then
2298 cat <<\_ASBOX
2299 ## ----------- ##
2300 ## confdefs.h. ##
2301 ## ----------- ##
2302 _ASBOX
2303 echo
2304 cat confdefs.h
2305 echo
2306 fi
2307 test "$ac_signal" != 0 &&
2308 echo "$as_me: caught signal $ac_signal"
2309 echo "$as_me: exit $exit_status"
2310 } >&5
2311 rm -f core *.core core.conftest.* &&
2312 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2313 exit $exit_status
2314 ' 0
2315 for ac_signal in 1 2 13 15; do
2316 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2317 done
2318 ac_signal=0
2319
2320 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2321 rm -f -r conftest* confdefs.h
2322
2323 # Predefined preprocessor variables.
2324
2325 cat >>confdefs.h <<_ACEOF
2326 #define PACKAGE_NAME "$PACKAGE_NAME"
2327 _ACEOF
2328
2329
2330 cat >>confdefs.h <<_ACEOF
2331 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2332 _ACEOF
2333
2334
2335 cat >>confdefs.h <<_ACEOF
2336 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2337 _ACEOF
2338
2339
2340 cat >>confdefs.h <<_ACEOF
2341 #define PACKAGE_STRING "$PACKAGE_STRING"
2342 _ACEOF
2343
2344
2345 cat >>confdefs.h <<_ACEOF
2346 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2347 _ACEOF
2348
2349
2350 # Let the site file select an alternate cache file if it wants to.
2351 # Prefer explicitly selected file to automatically selected ones.
2352 if test -n "$CONFIG_SITE"; then
2353 set x "$CONFIG_SITE"
2354 elif test "x$prefix" != xNONE; then
2355 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2356 else
2357 set x "$ac_default_prefix/share/config.site" \
2358 "$ac_default_prefix/etc/config.site"
2359 fi
2360 shift
2361 for ac_site_file
2362 do
2363 if test -r "$ac_site_file"; then
2364 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2365 echo "$as_me: loading site script $ac_site_file" >&6;}
2366 sed 's/^/| /' "$ac_site_file" >&5
2367 . "$ac_site_file"
2368 fi
2369 done
2370
2371 if test -r "$cache_file"; then
2372 # Some versions of bash will fail to source /dev/null (special
2373 # files actually), so we avoid doing that.
2374 if test -f "$cache_file"; then
2375 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2376 echo "$as_me: loading cache $cache_file" >&6;}
2377 case $cache_file in
2378 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2379 *) . "./$cache_file";;
2380 esac
2381 fi
2382 else
2383 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2384 echo "$as_me: creating cache $cache_file" >&6;}
2385 >$cache_file
2386 fi
2387
2388 # Check that the precious variables saved in the cache have kept the same
2389 # value.
2390 ac_cache_corrupted=false
2391 for ac_var in $ac_precious_vars; do
2392 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2393 eval ac_new_set=\$ac_env_${ac_var}_set
2394 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2395 eval ac_new_val=\$ac_env_${ac_var}_value
2396 case $ac_old_set,$ac_new_set in
2397 set,)
2398 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2399 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2400 ac_cache_corrupted=: ;;
2401 ,set)
2402 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2403 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2404 ac_cache_corrupted=: ;;
2405 ,);;
2406 *)
2407 if test "x$ac_old_val" != "x$ac_new_val"; then
2408 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2409 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2410 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2411 echo "$as_me: former value: $ac_old_val" >&2;}
2412 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2413 echo "$as_me: current value: $ac_new_val" >&2;}
2414 ac_cache_corrupted=:
2415 fi;;
2416 esac
2417 # Pass precious variables to config.status.
2418 if test "$ac_new_set" = set; then
2419 case $ac_new_val in
2420 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2421 *) ac_arg=$ac_var=$ac_new_val ;;
2422 esac
2423 case " $ac_configure_args " in
2424 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2425 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2426 esac
2427 fi
2428 done
2429 if $ac_cache_corrupted; then
2430 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2431 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2432 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2433 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2434 { (exit 1); exit 1; }; }
2435 fi
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461 ac_ext=c
2462 ac_cpp='$CPP $CPPFLAGS'
2463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2466
2467
2468
2469
2470
2471 ac_aux_dir=
2472 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2473 if test -f "$ac_dir/install-sh"; then
2474 ac_aux_dir=$ac_dir
2475 ac_install_sh="$ac_aux_dir/install-sh -c"
2476 break
2477 elif test -f "$ac_dir/install.sh"; then
2478 ac_aux_dir=$ac_dir
2479 ac_install_sh="$ac_aux_dir/install.sh -c"
2480 break
2481 elif test -f "$ac_dir/shtool"; then
2482 ac_aux_dir=$ac_dir
2483 ac_install_sh="$ac_aux_dir/shtool install -c"
2484 break
2485 fi
2486 done
2487 if test -z "$ac_aux_dir"; then
2488 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2489 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2490 { (exit 1); exit 1; }; }
2491 fi
2492
2493 # These three variables are undocumented and unsupported,
2494 # and are intended to be withdrawn in a future Autoconf release.
2495 # They can cause serious problems if a builder's source tree is in a directory
2496 # whose full name contains unusual characters.
2497 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2498 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2499 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2500
2501
2502 # Make sure we can run config.sub.
2503 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2504 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2505 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2506 { (exit 1); exit 1; }; }
2507
2508 { echo "$as_me:$LINENO: checking build system type" >&5
2509 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2510 if test "${ac_cv_build+set}" = set; then
2511 echo $ECHO_N "(cached) $ECHO_C" >&6
2512 else
2513 ac_build_alias=$build_alias
2514 test "x$ac_build_alias" = x &&
2515 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2516 test "x$ac_build_alias" = x &&
2517 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2518 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2519 { (exit 1); exit 1; }; }
2520 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2521 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2522 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2523 { (exit 1); exit 1; }; }
2524
2525 fi
2526 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2527 echo "${ECHO_T}$ac_cv_build" >&6; }
2528 case $ac_cv_build in
2529 *-*-*) ;;
2530 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2531 echo "$as_me: error: invalid value of canonical build" >&2;}
2532 { (exit 1); exit 1; }; };;
2533 esac
2534 build=$ac_cv_build
2535 ac_save_IFS=$IFS; IFS='-'
2536 set x $ac_cv_build
2537 shift
2538 build_cpu=$1
2539 build_vendor=$2
2540 shift; shift
2541 # Remember, the first character of IFS is used to create $*,
2542 # except with old shells:
2543 build_os=$*
2544 IFS=$ac_save_IFS
2545 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2546
2547
2548 { echo "$as_me:$LINENO: checking host system type" >&5
2549 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2550 if test "${ac_cv_host+set}" = set; then
2551 echo $ECHO_N "(cached) $ECHO_C" >&6
2552 else
2553 if test "x$host_alias" = x; then
2554 ac_cv_host=$ac_cv_build
2555 else
2556 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2557 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2558 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2559 { (exit 1); exit 1; }; }
2560 fi
2561
2562 fi
2563 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2564 echo "${ECHO_T}$ac_cv_host" >&6; }
2565 case $ac_cv_host in
2566 *-*-*) ;;
2567 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2568 echo "$as_me: error: invalid value of canonical host" >&2;}
2569 { (exit 1); exit 1; }; };;
2570 esac
2571 host=$ac_cv_host
2572 ac_save_IFS=$IFS; IFS='-'
2573 set x $ac_cv_host
2574 shift
2575 host_cpu=$1
2576 host_vendor=$2
2577 shift; shift
2578 # Remember, the first character of IFS is used to create $*,
2579 # except with old shells:
2580 host_os=$*
2581 IFS=$ac_save_IFS
2582 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2583
2584
2585
2586 if test "$cross_compiling" != "no"; then
2587 HOST_PREFIX="${host_alias}-"
2588 HOST_SUFFIX="-$host_alias"
2589 else
2590 HOST_PREFIX=
2591 HOST_SUFFIX=
2592 fi
2593
2594
2595 wx_major_version_number=2
2596 wx_minor_version_number=9
2597 wx_release_number=3
2598 wx_subrelease_number=0
2599
2600 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2601 WX_VERSION=$WX_RELEASE.$wx_release_number
2602 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2603
2604 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2605
2606
2607 wx_top_builddir="`pwd`"
2608
2609
2610
2611
2612 USE_UNIX=1
2613 USE_OS2=0
2614 USE_WIN32=0
2615 USE_DOS=0
2616 USE_BEOS=0
2617 USE_MAC=0
2618
2619 USE_AIX=
2620 USE_BSD= USE_DARWIN= USE_FREEBSD=
2621 USE_GNU= USE_HPUX=
2622 USE_LINUX=
2623 USE_NETBSD=
2624 USE_OPENBSD=
2625 USE_OSF= USE_SGI=
2626 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2627 USE_ULTRIX=
2628 USE_UNIXWARE=
2629
2630 USE_ALPHA=
2631
2632 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2633
2634 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2635
2636 DEFAULT_wxUSE_OLD_COCOA=0
2637 DEFAULT_wxUSE_GTK=0
2638 DEFAULT_wxUSE_OSX_CARBON=0
2639 DEFAULT_wxUSE_OSX_COCOA=0
2640 DEFAULT_wxUSE_OSX_IPHONE=0
2641 DEFAULT_wxUSE_MGL=0
2642 DEFAULT_wxUSE_MICROWIN=0
2643 DEFAULT_wxUSE_MOTIF=0
2644 DEFAULT_wxUSE_MSW=0
2645 DEFAULT_wxUSE_PM=0
2646 DEFAULT_wxUSE_X11=0
2647 DEFAULT_wxUSE_DFB=0
2648
2649 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
2650 DEFAULT_DEFAULT_wxUSE_GTK=0
2651 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2652 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2653 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
2654 DEFAULT_DEFAULT_wxUSE_MGL=0
2655 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2656 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2657 DEFAULT_DEFAULT_wxUSE_MSW=0
2658 DEFAULT_DEFAULT_wxUSE_PM=0
2659 DEFAULT_DEFAULT_wxUSE_X11=0
2660 DEFAULT_DEFAULT_wxUSE_DFB=0
2661
2662 PROGRAM_EXT=
2663 SAMPLES_RPATH_FLAG=
2664 DYLIB_RPATH_INSTALL=
2665 DYLIB_RPATH_POSTLINK=
2666
2667 DEFAULT_STD_FLAG=yes
2668
2669 case "${host}" in
2670 *-hp-hpux* )
2671 USE_HPUX=1
2672 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2673 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2674 cat >>confdefs.h <<\_ACEOF
2675 #define __HPUX__ 1
2676 _ACEOF
2677
2678
2679 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2680 ;;
2681 *-*-linux* )
2682 USE_LINUX=1
2683 cat >>confdefs.h <<\_ACEOF
2684 #define __LINUX__ 1
2685 _ACEOF
2686
2687 TMP=`uname -m`
2688 if test "x$TMP" = "xalpha"; then
2689 USE_ALPHA=1
2690 cat >>confdefs.h <<\_ACEOF
2691 #define __ALPHA__ 1
2692 _ACEOF
2693
2694 fi
2695 DEFAULT_DEFAULT_wxUSE_GTK=1
2696 ;;
2697 *-*-gnu* | *-*-k*bsd*-gnu )
2698 USE_GNU=1
2699 TMP=`uname -m`
2700 if test "x$TMP" = "xalpha"; then
2701 USE_ALPHA=1
2702 cat >>confdefs.h <<\_ACEOF
2703 #define __ALPHA__ 1
2704 _ACEOF
2705
2706 fi
2707 DEFAULT_DEFAULT_wxUSE_GTK=1
2708 ;;
2709 *-*-irix5* | *-*-irix6* )
2710 USE_SGI=1
2711 USE_SVR4=1
2712 cat >>confdefs.h <<\_ACEOF
2713 #define __SGI__ 1
2714 _ACEOF
2715
2716 cat >>confdefs.h <<\_ACEOF
2717 #define __SVR4__ 1
2718 _ACEOF
2719
2720 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2721 ;;
2722 *-*-qnx*)
2723 USE_QNX=1
2724 cat >>confdefs.h <<\_ACEOF
2725 #define __QNX__ 1
2726 _ACEOF
2727
2728 DEFAULT_DEFAULT_wxUSE_X11=1
2729 ;;
2730 *-*-solaris2* )
2731 USE_SUN=1
2732 USE_SOLARIS=1
2733 USE_SVR4=1
2734 cat >>confdefs.h <<\_ACEOF
2735 #define __SUN__ 1
2736 _ACEOF
2737
2738 cat >>confdefs.h <<\_ACEOF
2739 #define __SOLARIS__ 1
2740 _ACEOF
2741
2742 cat >>confdefs.h <<\_ACEOF
2743 #define __SVR4__ 1
2744 _ACEOF
2745
2746 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2747 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2748 ;;
2749 *-*-sunos4* )
2750 USE_SUN=1
2751 USE_SUNOS=1
2752 USE_BSD=1
2753 cat >>confdefs.h <<\_ACEOF
2754 #define __SUN__ 1
2755 _ACEOF
2756
2757 cat >>confdefs.h <<\_ACEOF
2758 #define __SUNOS__ 1
2759 _ACEOF
2760
2761 cat >>confdefs.h <<\_ACEOF
2762 #define __BSD__ 1
2763 _ACEOF
2764
2765 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2766 ;;
2767 *-*-freebsd*)
2768 USE_BSD=1
2769 USE_FREEBSD=1
2770 cat >>confdefs.h <<\_ACEOF
2771 #define __FREEBSD__ 1
2772 _ACEOF
2773
2774 cat >>confdefs.h <<\_ACEOF
2775 #define __BSD__ 1
2776 _ACEOF
2777
2778 DEFAULT_DEFAULT_wxUSE_GTK=1
2779 ;;
2780 *-*-openbsd*|*-*-mirbsd*)
2781 USE_BSD=1
2782 USE_OPENBSD=1
2783 cat >>confdefs.h <<\_ACEOF
2784 #define __OPENBSD__ 1
2785 _ACEOF
2786
2787 cat >>confdefs.h <<\_ACEOF
2788 #define __BSD__ 1
2789 _ACEOF
2790
2791 DEFAULT_DEFAULT_wxUSE_GTK=1
2792 ;;
2793 *-*-netbsd*)
2794 USE_BSD=1
2795 USE_NETBSD=1
2796 cat >>confdefs.h <<\_ACEOF
2797 #define __NETBSD__ 1
2798 _ACEOF
2799
2800 cat >>confdefs.h <<\_ACEOF
2801 #define __BSD__ 1
2802 _ACEOF
2803
2804 DEFAULT_DEFAULT_wxUSE_GTK=1
2805 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2806
2807 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2808 ;;
2809 *-*-osf* )
2810 USE_ALPHA=1
2811 USE_OSF=1
2812 cat >>confdefs.h <<\_ACEOF
2813 #define __ALPHA__ 1
2814 _ACEOF
2815
2816 cat >>confdefs.h <<\_ACEOF
2817 #define __OSF__ 1
2818 _ACEOF
2819
2820 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2821 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2822 ;;
2823 *-*-dgux5* )
2824 USE_ALPHA=1
2825 USE_SVR4=1
2826 cat >>confdefs.h <<\_ACEOF
2827 #define __ALPHA__ 1
2828 _ACEOF
2829
2830 cat >>confdefs.h <<\_ACEOF
2831 #define __SVR4__ 1
2832 _ACEOF
2833
2834 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2835 ;;
2836 *-*-sysv5* )
2837 USE_SYSV=1
2838 USE_SVR4=1
2839 cat >>confdefs.h <<\_ACEOF
2840 #define __SYSV__ 1
2841 _ACEOF
2842
2843 cat >>confdefs.h <<\_ACEOF
2844 #define __SVR4__ 1
2845 _ACEOF
2846
2847 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2848 ;;
2849 *-*-aix* )
2850 USE_AIX=1
2851 USE_SYSV=1
2852 USE_SVR4=1
2853 cat >>confdefs.h <<\_ACEOF
2854 #define __AIX__ 1
2855 _ACEOF
2856
2857 cat >>confdefs.h <<\_ACEOF
2858 #define __SYSV__ 1
2859 _ACEOF
2860
2861 cat >>confdefs.h <<\_ACEOF
2862 #define __SVR4__ 1
2863 _ACEOF
2864
2865 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2866 ;;
2867
2868 *-*-*UnixWare*)
2869 USE_SYSV=1
2870 USE_SVR4=1
2871 USE_UNIXWARE=1
2872 cat >>confdefs.h <<\_ACEOF
2873 #define __UNIXWARE__ 1
2874 _ACEOF
2875
2876 ;;
2877
2878 *-*-cygwin* | *-*-mingw32* )
2879 PROGRAM_EXT=".exe"
2880 DEFAULT_DEFAULT_wxUSE_MSW=1
2881 ;;
2882
2883 *-pc-msdosdjgpp )
2884 USE_UNIX=0
2885 USE_DOS=1
2886 cat >>confdefs.h <<\_ACEOF
2887 #define __DOS__ 1
2888 _ACEOF
2889
2890 PROGRAM_EXT=".exe"
2891 DEFAULT_DEFAULT_wxUSE_MGL=1
2892 ;;
2893
2894 *-pc-os2_emx | *-pc-os2-emx )
2895 cat >>confdefs.h <<\_ACEOF
2896 #define __EMX__ 1
2897 _ACEOF
2898
2899 USE_OS2=1
2900 cat >>confdefs.h <<\_ACEOF
2901 #define __OS2__ 1
2902 _ACEOF
2903
2904 PROGRAM_EXT=".exe"
2905 DEFAULT_DEFAULT_wxUSE_PM=1
2906 CXX=gcc
2907 LDFLAGS="$LDFLAGS -Zcrtdll"
2908 ac_executable_extensions=".exe"
2909 export ac_executable_extensions
2910 ac_save_IFS="$IFS"
2911 IFS='\\'
2912 ac_TEMP_PATH=
2913 for ac_dir in $PATH; do
2914 IFS=$ac_save_IFS
2915 if test -z "$ac_TEMP_PATH"; then
2916 ac_TEMP_PATH="$ac_dir"
2917 else
2918 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2919 fi
2920 done
2921 export PATH="$ac_TEMP_PATH"
2922 unset ac_TEMP_PATH
2923 DEFAULT_STD_FLAG=no
2924 ;;
2925
2926 arm-apple-darwin*)
2927 USE_BSD=1
2928 USE_DARWIN=1
2929 cat >>confdefs.h <<\_ACEOF
2930 #define __BSD__ 1
2931 _ACEOF
2932
2933 cat >>confdefs.h <<\_ACEOF
2934 #define __DARWIN__ 1
2935 _ACEOF
2936
2937 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
2938 ;;
2939
2940 *-*-darwin* )
2941 USE_BSD=1
2942 USE_DARWIN=1
2943 cat >>confdefs.h <<\_ACEOF
2944 #define __BSD__ 1
2945 _ACEOF
2946
2947 cat >>confdefs.h <<\_ACEOF
2948 #define __DARWIN__ 1
2949 _ACEOF
2950
2951 cat >>confdefs.h <<\_ACEOF
2952 #define TARGET_CARBON 1
2953 _ACEOF
2954
2955 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2956 ;;
2957
2958 *-*-beos* )
2959 USE_BEOS=1
2960 cat >>confdefs.h <<\_ACEOF
2961 #define __BEOS__ 1
2962 _ACEOF
2963
2964 ;;
2965
2966 *)
2967 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2968 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2969 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2970 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2971
2972 DEFAULT_DEFAULT_wxUSE_X11=1
2973 DEFAULT_wxUSE_SHARED=no
2974 esac
2975
2976
2977
2978 DEFAULT_wxUSE_ALL_FEATURES=yes
2979
2980 DEFAULT_wxUSE_STD_CONTAINERS=no
2981 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2982 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2983
2984 DEFAULT_wxUSE_DMALLOC=no
2985 DEFAULT_wxUSE_LIBGNOMEVFS=no
2986 DEFAULT_wxUSE_LIBHILDON=no
2987 DEFAULT_wxUSE_LIBHILDON2=no
2988 DEFAULT_wxUSE_LIBMSPACK=no
2989 DEFAULT_wxUSE_LIBSDL=no
2990
2991 DEFAULT_wxUSE_ACCESSIBILITY=no
2992 DEFAULT_wxUSE_IPV6=no
2993 DEFAULT_wxUSE_GSTREAMER8=no
2994
2995 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
2996 DEFAULT_wxUSE_UNICODE_UTF8=auto
2997 DEFAULT_wxUSE_OPENGL=auto
2998 DEFAULT_wxUSE_MEDIACTRL=auto
2999 DEFAULT_wxUSE_COMPILER_TLS=auto
3000 DEFAULT_wxUSE_HOTKEY=auto
3001
3002 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
3003
3004 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3005 DEFAULT_wxUSE_MAC_ARCH=no
3006
3007 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3008
3009 DEFAULT_wxUSE_GTK2=yes
3010
3011 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
3012
3013
3014
3015
3016
3017 enablestring=disable
3018 defaultval=
3019 if test -z "$defaultval"; then
3020 if test x"$enablestring" = xdisable; then
3021 defaultval=yes
3022 else
3023 defaultval=no
3024 fi
3025 fi
3026
3027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3028 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3029 # Check whether --enable-gui was given.
3030 if test "${enable_gui+set}" = set; then
3031 enableval=$enable_gui;
3032 if test "$enableval" = yes; then
3033 wx_cv_use_gui='wxUSE_GUI=yes'
3034 else
3035 wx_cv_use_gui='wxUSE_GUI=no'
3036 fi
3037
3038 else
3039
3040 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3041
3042 fi
3043
3044
3045 eval "$wx_cv_use_gui"
3046
3047 if test x"$enablestring" = xdisable; then
3048 if test $wxUSE_GUI = no; then
3049 result=yes
3050 else
3051 result=no
3052 fi
3053 else
3054 result=$wxUSE_GUI
3055 fi
3056
3057 { echo "$as_me:$LINENO: result: $result" >&5
3058 echo "${ECHO_T}$result" >&6; }
3059
3060
3061 enablestring=
3062 defaultval=
3063 if test -z "$defaultval"; then
3064 if test x"$enablestring" = xdisable; then
3065 defaultval=yes
3066 else
3067 defaultval=no
3068 fi
3069 fi
3070
3071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3072 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3073 # Check whether --enable-monolithic was given.
3074 if test "${enable_monolithic+set}" = set; then
3075 enableval=$enable_monolithic;
3076 if test "$enableval" = yes; then
3077 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3078 else
3079 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3080 fi
3081
3082 else
3083
3084 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3085
3086 fi
3087
3088
3089 eval "$wx_cv_use_monolithic"
3090
3091 if test x"$enablestring" = xdisable; then
3092 if test $wxUSE_MONOLITHIC = no; then
3093 result=yes
3094 else
3095 result=no
3096 fi
3097 else
3098 result=$wxUSE_MONOLITHIC
3099 fi
3100
3101 { echo "$as_me:$LINENO: result: $result" >&5
3102 echo "${ECHO_T}$result" >&6; }
3103
3104
3105 enablestring=
3106 defaultval=
3107 if test -z "$defaultval"; then
3108 if test x"$enablestring" = xdisable; then
3109 defaultval=yes
3110 else
3111 defaultval=no
3112 fi
3113 fi
3114
3115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3116 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3117 # Check whether --enable-plugins was given.
3118 if test "${enable_plugins+set}" = set; then
3119 enableval=$enable_plugins;
3120 if test "$enableval" = yes; then
3121 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3122 else
3123 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3124 fi
3125
3126 else
3127
3128 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3129
3130 fi
3131
3132
3133 eval "$wx_cv_use_plugins"
3134
3135 if test x"$enablestring" = xdisable; then
3136 if test $wxUSE_PLUGINS = no; then
3137 result=yes
3138 else
3139 result=no
3140 fi
3141 else
3142 result=$wxUSE_PLUGINS
3143 fi
3144
3145 { echo "$as_me:$LINENO: result: $result" >&5
3146 echo "${ECHO_T}$result" >&6; }
3147
3148
3149 withstring=without
3150 defaultval=$wxUSE_ALL_FEATURES
3151 if test -z "$defaultval"; then
3152 if test x"$withstring" = xwithout; then
3153 defaultval=yes
3154 else
3155 defaultval=no
3156 fi
3157 fi
3158 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3159 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3160
3161 # Check whether --with-subdirs was given.
3162 if test "${with_subdirs+set}" = set; then
3163 withval=$with_subdirs;
3164 if test "$withval" = yes; then
3165 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3166 else
3167 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3168 fi
3169
3170 else
3171
3172 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3173
3174 fi
3175
3176
3177 eval "$wx_cv_use_subdirs"
3178
3179 if test x"$withstring" = xwithout; then
3180 if test $wxWITH_SUBDIRS = yes; then
3181 result=no
3182 else
3183 result=yes
3184 fi
3185 else
3186 result=$wxWITH_SUBDIRS
3187 fi
3188
3189 { echo "$as_me:$LINENO: result: $result" >&5
3190 echo "${ECHO_T}$result" >&6; }
3191
3192
3193 # Check whether --with-flavour was given.
3194 if test "${with_flavour+set}" = set; then
3195 withval=$with_flavour; WX_FLAVOUR="$withval"
3196 fi
3197
3198
3199 enablestring=
3200 defaultval=
3201 if test -z "$defaultval"; then
3202 if test x"$enablestring" = xdisable; then
3203 defaultval=yes
3204 else
3205 defaultval=no
3206 fi
3207 fi
3208
3209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3210 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3211 # Check whether --enable-official_build was given.
3212 if test "${enable_official_build+set}" = set; then
3213 enableval=$enable_official_build;
3214 if test "$enableval" = yes; then
3215 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3216 else
3217 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3218 fi
3219
3220 else
3221
3222 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3223
3224 fi
3225
3226
3227 eval "$wx_cv_use_official_build"
3228
3229 if test x"$enablestring" = xdisable; then
3230 if test $wxUSE_OFFICIAL_BUILD = no; then
3231 result=yes
3232 else
3233 result=no
3234 fi
3235 else
3236 result=$wxUSE_OFFICIAL_BUILD
3237 fi
3238
3239 { echo "$as_me:$LINENO: result: $result" >&5
3240 echo "${ECHO_T}$result" >&6; }
3241
3242 # Check whether --enable-vendor was given.
3243 if test "${enable_vendor+set}" = set; then
3244 enableval=$enable_vendor; VENDOR="$enableval"
3245 fi
3246
3247 if test "x$VENDOR" = "x"; then
3248 VENDOR="custom"
3249 fi
3250
3251
3252 enablestring=disable
3253 defaultval=
3254 if test -z "$defaultval"; then
3255 if test x"$enablestring" = xdisable; then
3256 defaultval=yes
3257 else
3258 defaultval=no
3259 fi
3260 fi
3261
3262 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3263 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3264 # Check whether --enable-all-features was given.
3265 if test "${enable_all_features+set}" = set; then
3266 enableval=$enable_all_features;
3267 if test "$enableval" = yes; then
3268 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3269 else
3270 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3271 fi
3272
3273 else
3274
3275 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3276
3277 fi
3278
3279
3280 eval "$wx_cv_use_all_features"
3281
3282 if test x"$enablestring" = xdisable; then
3283 if test $wxUSE_ALL_FEATURES = no; then
3284 result=yes
3285 else
3286 result=no
3287 fi
3288 else
3289 result=$wxUSE_ALL_FEATURES
3290 fi
3291
3292 { echo "$as_me:$LINENO: result: $result" >&5
3293 echo "${ECHO_T}$result" >&6; }
3294
3295
3296 if test "$wxUSE_ALL_FEATURES" = "no"; then
3297 DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
3298 DEFAULT_wxUSE_MEDIACTRL=no
3299 fi
3300
3301
3302 if test "$wxUSE_GUI" = "yes"; then
3303
3304
3305 enablestring=
3306 defaultval=
3307 if test -z "$defaultval"; then
3308 if test x"$enablestring" = xdisable; then
3309 defaultval=yes
3310 else
3311 defaultval=no
3312 fi
3313 fi
3314
3315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3316 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3317 # Check whether --enable-universal was given.
3318 if test "${enable_universal+set}" = set; then
3319 enableval=$enable_universal;
3320 if test "$enableval" = yes; then
3321 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3322 else
3323 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3324 fi
3325
3326 else
3327
3328 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3329
3330 fi
3331
3332
3333 eval "$wx_cv_use_universal"
3334
3335 if test x"$enablestring" = xdisable; then
3336 if test $wxUSE_UNIVERSAL = no; then
3337 result=yes
3338 else
3339 result=no
3340 fi
3341 else
3342 result=$wxUSE_UNIVERSAL
3343 fi
3344
3345 { echo "$as_me:$LINENO: result: $result" >&5
3346 echo "${ECHO_T}$result" >&6; }
3347
3348 if test "$wxUSE_UNIVERSAL" = "yes"; then
3349
3350 # Check whether --with-themes was given.
3351 if test "${with_themes+set}" = set; then
3352 withval=$with_themes; wxUNIV_THEMES="$withval"
3353 fi
3354
3355 fi
3356
3357
3358 # Check whether --with-gtk was given.
3359 if test "${with_gtk+set}" = set; then
3360 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3361 fi
3362
3363
3364 # Check whether --with-motif was given.
3365 if test "${with_motif+set}" = set; then
3366 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3367 fi
3368
3369
3370 # Check whether --with-osx_carbon was given.
3371 if test "${with_osx_carbon+set}" = set; then
3372 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3373 fi
3374
3375
3376 # Check whether --with-osx_cocoa was given.
3377 if test "${with_osx_cocoa+set}" = set; then
3378 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3379 fi
3380
3381
3382 # Check whether --with-osx_iphone was given.
3383 if test "${with_osx_iphone+set}" = set; then
3384 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3385 fi
3386
3387
3388 # Check whether --with-osx was given.
3389 if test "${with_osx+set}" = set; then
3390 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3391 fi
3392
3393
3394 # Check whether --with-carbon was given.
3395 if test "${with_carbon+set}" = set; then
3396 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3397 fi
3398
3399
3400 # Check whether --with-cocoa was given.
3401 if test "${with_cocoa+set}" = set; then
3402 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3403 fi
3404
3405
3406 # Check whether --with-iphone was given.
3407 if test "${with_iphone+set}" = set; then
3408 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3409 fi
3410
3411
3412 # Check whether --with-mac was given.
3413 if test "${with_mac+set}" = set; then
3414 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3415 fi
3416
3417
3418 # Check whether --with-old_cocoa was given.
3419 if test "${with_old_cocoa+set}" = set; then
3420 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3421 fi
3422
3423
3424 # Check whether --with-wine was given.
3425 if test "${with_wine+set}" = set; then
3426 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3427 fi
3428
3429
3430 # Check whether --with-msw was given.
3431 if test "${with_msw+set}" = set; then
3432 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3433 fi
3434
3435
3436 # Check whether --with-pm was given.
3437 if test "${with_pm+set}" = set; then
3438 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3439 fi
3440
3441
3442 # Check whether --with-mgl was given.
3443 if test "${with_mgl+set}" = set; then
3444 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3445 fi
3446
3447
3448 # Check whether --with-directfb was given.
3449 if test "${with_directfb+set}" = set; then
3450 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3451 fi
3452
3453
3454 # Check whether --with-microwin was given.
3455 if test "${with_microwin+set}" = set; then
3456 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3457 fi
3458
3459
3460 # Check whether --with-x11 was given.
3461 if test "${with_x11+set}" = set; then
3462 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3463 fi
3464
3465
3466 enablestring=
3467 defaultval=
3468 if test -z "$defaultval"; then
3469 if test x"$enablestring" = xdisable; then
3470 defaultval=yes
3471 else
3472 defaultval=no
3473 fi
3474 fi
3475
3476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3477 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3478 # Check whether --enable-nanox was given.
3479 if test "${enable_nanox+set}" = set; then
3480 enableval=$enable_nanox;
3481 if test "$enableval" = yes; then
3482 wx_cv_use_nanox='wxUSE_NANOX=yes'
3483 else
3484 wx_cv_use_nanox='wxUSE_NANOX=no'
3485 fi
3486
3487 else
3488
3489 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3490
3491 fi
3492
3493
3494 eval "$wx_cv_use_nanox"
3495
3496 if test x"$enablestring" = xdisable; then
3497 if test $wxUSE_NANOX = no; then
3498 result=yes
3499 else
3500 result=no
3501 fi
3502 else
3503 result=$wxUSE_NANOX
3504 fi
3505
3506 { echo "$as_me:$LINENO: result: $result" >&5
3507 echo "${ECHO_T}$result" >&6; }
3508
3509
3510 # Check whether --enable-gtk2 was given.
3511 if test "${enable_gtk2+set}" = set; then
3512 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3513 fi
3514
3515
3516 enablestring=
3517 defaultval=
3518 if test -z "$defaultval"; then
3519 if test x"$enablestring" = xdisable; then
3520 defaultval=yes
3521 else
3522 defaultval=no
3523 fi
3524 fi
3525
3526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3527 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3528 # Check whether --enable-gpe was given.
3529 if test "${enable_gpe+set}" = set; then
3530 enableval=$enable_gpe;
3531 if test "$enableval" = yes; then
3532 wx_cv_use_gpe='wxUSE_GPE=yes'
3533 else
3534 wx_cv_use_gpe='wxUSE_GPE=no'
3535 fi
3536
3537 else
3538
3539 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3540
3541 fi
3542
3543
3544 eval "$wx_cv_use_gpe"
3545
3546 if test x"$enablestring" = xdisable; then
3547 if test $wxUSE_GPE = no; then
3548 result=yes
3549 else
3550 result=no
3551 fi
3552 else
3553 result=$wxUSE_GPE
3554 fi
3555
3556 { echo "$as_me:$LINENO: result: $result" >&5
3557 echo "${ECHO_T}$result" >&6; }
3558
3559
3560
3561 { echo "$as_me:$LINENO: checking for toolkit" >&5
3562 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3563
3564
3565
3566 # In Wine, we need to default to MSW, not GTK or MOTIF
3567 if test "$wxUSE_WINE" = "yes"; then
3568 DEFAULT_DEFAULT_wxUSE_GTK=0
3569 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3570 DEFAULT_DEFAULT_wxUSE_MSW=1
3571 wxUSE_SHARED=no
3572 CC=${CC:-winegcc}
3573 CXX=${CXX:-wineg++}
3574 fi
3575
3576
3577 if test "$wxUSE_GUI" = "yes"; then
3578
3579 if test "$USE_BEOS" = 1; then
3580 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3581 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3582 { (exit 1); exit 1; }; }
3583 fi
3584
3585 if test "$TOOLKIT_GIVEN" = 1; then
3586 for toolkit in $ALL_TOOLKITS; do
3587 var=wxUSE_$toolkit
3588 eval "value=\$${var}"
3589 if test "x$value" = "xno"; then
3590 eval "$var=0"
3591 elif test "x$value" != "x"; then
3592 eval "$var=1"
3593 fi
3594
3595 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3596 eval "wx${toolkit}_VERSION=$value"
3597 fi
3598 done
3599 else
3600 for toolkit in $ALL_TOOLKITS; do
3601 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3602 eval "wxUSE_$toolkit=\$${var}"
3603 done
3604 fi
3605
3606 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3607 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3608 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3609
3610 case "${host}" in
3611 *-pc-os2_emx | *-pc-os2-emx )
3612 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3613 esac
3614
3615 case "$NUM_TOOLKITS" in
3616 1)
3617 ;;
3618 0)
3619 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3620 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3621 { (exit 1); exit 1; }; }
3622 ;;
3623 *)
3624 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3625 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3626 { (exit 1); exit 1; }; }
3627 esac
3628
3629 # to be removed when --disable-gtk2 isn't needed
3630 if test "x$wxUSE_GTK2" = "xyes"; then
3631 wxGTK_VERSION=2
3632 wxUSE_GTK1=0
3633 elif test "x$wxUSE_GTK2" = "xno"; then
3634 wxGTK_VERSION=1
3635 wxUSE_GTK1=1
3636 fi
3637
3638 for toolkit in $ALL_TOOLKITS; do
3639 var=wxUSE_$toolkit
3640 eval "value=\$${var}"
3641 if test "$value" = 1; then
3642 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3643 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3644 echo "${ECHO_T}$toolkit_echo" >&6; }
3645 fi
3646 done
3647 else
3648 if test "x$host_alias" != "x"; then
3649 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3650 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3651 else
3652 { echo "$as_me:$LINENO: result: base only" >&5
3653 echo "${ECHO_T}base only" >&6; }
3654 fi
3655 fi
3656
3657 wxUSE_MAC=0
3658 if test "$wxUSE_OSX_CARBON" = 1 \
3659 -o "$wxUSE_OSX_COCOA" = 1 \
3660 -o "$wxUSE_OSX_IPHONE" = 1; then
3661 wxUSE_MAC=1
3662 fi
3663
3664
3665
3666 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3667 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3668
3669 # Check whether --with-libpng was given.
3670 if test "${with_libpng+set}" = set; then
3671 withval=$with_libpng;
3672 if test "$withval" = yes; then
3673 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3674 elif test "$withval" = no; then
3675 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3676 elif test "$withval" = sys; then
3677 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3678 elif test "$withval" = builtin; then
3679 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3680 else
3681 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3682 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3683 { (exit 1); exit 1; }; }
3684 fi
3685
3686 else
3687
3688 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3689
3690 fi
3691
3692
3693 eval "$wx_cv_use_libpng"
3694
3695 if test "$wxUSE_LIBPNG" = yes; then
3696 { echo "$as_me:$LINENO: result: yes" >&5
3697 echo "${ECHO_T}yes" >&6; }
3698 elif test "$wxUSE_LIBPNG" = no; then
3699 { echo "$as_me:$LINENO: result: no" >&5
3700 echo "${ECHO_T}no" >&6; }
3701 elif test "$wxUSE_LIBPNG" = sys; then
3702 { echo "$as_me:$LINENO: result: system version" >&5
3703 echo "${ECHO_T}system version" >&6; }
3704 elif test "$wxUSE_LIBPNG" = builtin; then
3705 { echo "$as_me:$LINENO: result: builtin version" >&5
3706 echo "${ECHO_T}builtin version" >&6; }
3707 else
3708 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3709 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3710 { (exit 1); exit 1; }; }
3711 fi
3712
3713
3714 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3715 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3716
3717 # Check whether --with-libjpeg was given.
3718 if test "${with_libjpeg+set}" = set; then
3719 withval=$with_libjpeg;
3720 if test "$withval" = yes; then
3721 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3722 elif test "$withval" = no; then
3723 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3724 elif test "$withval" = sys; then
3725 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3726 elif test "$withval" = builtin; then
3727 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3728 else
3729 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3730 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3731 { (exit 1); exit 1; }; }
3732 fi
3733
3734 else
3735
3736 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3737
3738 fi
3739
3740
3741 eval "$wx_cv_use_libjpeg"
3742
3743 if test "$wxUSE_LIBJPEG" = yes; then
3744 { echo "$as_me:$LINENO: result: yes" >&5
3745 echo "${ECHO_T}yes" >&6; }
3746 elif test "$wxUSE_LIBJPEG" = no; then
3747 { echo "$as_me:$LINENO: result: no" >&5
3748 echo "${ECHO_T}no" >&6; }
3749 elif test "$wxUSE_LIBJPEG" = sys; then
3750 { echo "$as_me:$LINENO: result: system version" >&5
3751 echo "${ECHO_T}system version" >&6; }
3752 elif test "$wxUSE_LIBJPEG" = builtin; then
3753 { echo "$as_me:$LINENO: result: builtin version" >&5
3754 echo "${ECHO_T}builtin version" >&6; }
3755 else
3756 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3757 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3758 { (exit 1); exit 1; }; }
3759 fi
3760
3761
3762 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3763 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3764
3765 # Check whether --with-libtiff was given.
3766 if test "${with_libtiff+set}" = set; then
3767 withval=$with_libtiff;
3768 if test "$withval" = yes; then
3769 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3770 elif test "$withval" = no; then
3771 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3772 elif test "$withval" = sys; then
3773 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3774 elif test "$withval" = builtin; then
3775 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3776 else
3777 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3778 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3779 { (exit 1); exit 1; }; }
3780 fi
3781
3782 else
3783
3784 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3785
3786 fi
3787
3788
3789 eval "$wx_cv_use_libtiff"
3790
3791 if test "$wxUSE_LIBTIFF" = yes; then
3792 { echo "$as_me:$LINENO: result: yes" >&5
3793 echo "${ECHO_T}yes" >&6; }
3794 elif test "$wxUSE_LIBTIFF" = no; then
3795 { echo "$as_me:$LINENO: result: no" >&5
3796 echo "${ECHO_T}no" >&6; }
3797 elif test "$wxUSE_LIBTIFF" = sys; then
3798 { echo "$as_me:$LINENO: result: system version" >&5
3799 echo "${ECHO_T}system version" >&6; }
3800 elif test "$wxUSE_LIBTIFF" = builtin; then
3801 { echo "$as_me:$LINENO: result: builtin version" >&5
3802 echo "${ECHO_T}builtin version" >&6; }
3803 else
3804 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3805 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3806 { (exit 1); exit 1; }; }
3807 fi
3808
3809
3810 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3811 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3812
3813 # Check whether --with-libxpm was given.
3814 if test "${with_libxpm+set}" = set; then
3815 withval=$with_libxpm;
3816 if test "$withval" = yes; then
3817 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3818 elif test "$withval" = no; then
3819 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3820 elif test "$withval" = sys; then
3821 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3822 elif test "$withval" = builtin; then
3823 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3824 else
3825 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3826 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3827 { (exit 1); exit 1; }; }
3828 fi
3829
3830 else
3831
3832 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3833
3834 fi
3835
3836
3837 eval "$wx_cv_use_libxpm"
3838
3839 if test "$wxUSE_LIBXPM" = yes; then
3840 { echo "$as_me:$LINENO: result: yes" >&5
3841 echo "${ECHO_T}yes" >&6; }
3842 elif test "$wxUSE_LIBXPM" = no; then
3843 { echo "$as_me:$LINENO: result: no" >&5
3844 echo "${ECHO_T}no" >&6; }
3845 elif test "$wxUSE_LIBXPM" = sys; then
3846 { echo "$as_me:$LINENO: result: system version" >&5
3847 echo "${ECHO_T}system version" >&6; }
3848 elif test "$wxUSE_LIBXPM" = builtin; then
3849 { echo "$as_me:$LINENO: result: builtin version" >&5
3850 echo "${ECHO_T}builtin version" >&6; }
3851 else
3852 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3853 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3854 { (exit 1); exit 1; }; }
3855 fi
3856
3857
3858 withstring=
3859 defaultval=$wxUSE_ALL_FEATURES
3860 if test -z "$defaultval"; then
3861 if test x"$withstring" = xwithout; then
3862 defaultval=yes
3863 else
3864 defaultval=no
3865 fi
3866 fi
3867 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3868 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3869
3870 # Check whether --with-libiconv was given.
3871 if test "${with_libiconv+set}" = set; then
3872 withval=$with_libiconv;
3873 if test "$withval" = yes; then
3874 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3875 else
3876 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3877 fi
3878
3879 else
3880
3881 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3882
3883 fi
3884
3885
3886 eval "$wx_cv_use_libiconv"
3887
3888 if test x"$withstring" = xwithout; then
3889 if test $wxUSE_LIBICONV = yes; then
3890 result=no
3891 else
3892 result=yes
3893 fi
3894 else
3895 result=$wxUSE_LIBICONV
3896 fi
3897
3898 { echo "$as_me:$LINENO: result: $result" >&5
3899 echo "${ECHO_T}$result" >&6; }
3900
3901
3902 withstring=
3903 defaultval=$wxUSE_ALL_FEATURES
3904 if test -z "$defaultval"; then
3905 if test x"$withstring" = xwithout; then
3906 defaultval=yes
3907 else
3908 defaultval=no
3909 fi
3910 fi
3911 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3912 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3913
3914 # Check whether --with-libmspack was given.
3915 if test "${with_libmspack+set}" = set; then
3916 withval=$with_libmspack;
3917 if test "$withval" = yes; then
3918 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3919 else
3920 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3921 fi
3922
3923 else
3924
3925 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3926
3927 fi
3928
3929
3930 eval "$wx_cv_use_libmspack"
3931
3932 if test x"$withstring" = xwithout; then
3933 if test $wxUSE_LIBMSPACK = yes; then
3934 result=no
3935 else
3936 result=yes
3937 fi
3938 else
3939 result=$wxUSE_LIBMSPACK
3940 fi
3941
3942 { echo "$as_me:$LINENO: result: $result" >&5
3943 echo "${ECHO_T}$result" >&6; }
3944
3945
3946 withstring=without
3947 defaultval=$wxUSE_ALL_FEATURES
3948 if test -z "$defaultval"; then
3949 if test x"$withstring" = xwithout; then
3950 defaultval=yes
3951 else
3952 defaultval=no
3953 fi
3954 fi
3955 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3956 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3957
3958 # Check whether --with-gtkprint was given.
3959 if test "${with_gtkprint+set}" = set; then
3960 withval=$with_gtkprint;
3961 if test "$withval" = yes; then
3962 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3963 else
3964 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3965 fi
3966
3967 else
3968
3969 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3970
3971 fi
3972
3973
3974 eval "$wx_cv_use_gtkprint"
3975
3976 if test x"$withstring" = xwithout; then
3977 if test $wxUSE_GTKPRINT = yes; then
3978 result=no
3979 else
3980 result=yes
3981 fi
3982 else
3983 result=$wxUSE_GTKPRINT
3984 fi
3985
3986 { echo "$as_me:$LINENO: result: $result" >&5
3987 echo "${ECHO_T}$result" >&6; }
3988
3989
3990 withstring=without
3991 defaultval=$wxUSE_ALL_FEATURES
3992 if test -z "$defaultval"; then
3993 if test x"$withstring" = xwithout; then
3994 defaultval=yes
3995 else
3996 defaultval=no
3997 fi
3998 fi
3999 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4000 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4001
4002 # Check whether --with-gnomeprint was given.
4003 if test "${with_gnomeprint+set}" = set; then
4004 withval=$with_gnomeprint;
4005 if test "$withval" = yes; then
4006 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4007 else
4008 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4009 fi
4010
4011 else
4012
4013 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4014
4015 fi
4016
4017
4018 eval "$wx_cv_use_gnomeprint"
4019
4020 if test x"$withstring" = xwithout; then
4021 if test $wxUSE_LIBGNOMEPRINT = yes; then
4022 result=no
4023 else
4024 result=yes
4025 fi
4026 else
4027 result=$wxUSE_LIBGNOMEPRINT
4028 fi
4029
4030 { echo "$as_me:$LINENO: result: $result" >&5
4031 echo "${ECHO_T}$result" >&6; }
4032
4033
4034 withstring=
4035 defaultval=$wxUSE_ALL_FEATURES
4036 if test -z "$defaultval"; then
4037 if test x"$withstring" = xwithout; then
4038 defaultval=yes
4039 else
4040 defaultval=no
4041 fi
4042 fi
4043 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4044 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4045
4046 # Check whether --with-gnomevfs was given.
4047 if test "${with_gnomevfs+set}" = set; then
4048 withval=$with_gnomevfs;
4049 if test "$withval" = yes; then
4050 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4051 else
4052 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4053 fi
4054
4055 else
4056
4057 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4058
4059 fi
4060
4061
4062 eval "$wx_cv_use_gnomevfs"
4063
4064 if test x"$withstring" = xwithout; then
4065 if test $wxUSE_LIBGNOMEVFS = yes; then
4066 result=no
4067 else
4068 result=yes
4069 fi
4070 else
4071 result=$wxUSE_LIBGNOMEVFS
4072 fi
4073
4074 { echo "$as_me:$LINENO: result: $result" >&5
4075 echo "${ECHO_T}$result" >&6; }
4076
4077
4078 withstring=
4079 defaultval=$wxUSE_ALL_FEATURES
4080 if test -z "$defaultval"; then
4081 if test x"$withstring" = xwithout; then
4082 defaultval=yes
4083 else
4084 defaultval=no
4085 fi
4086 fi
4087 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4088 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4089
4090 # Check whether --with-hildon was given.
4091 if test "${with_hildon+set}" = set; then
4092 withval=$with_hildon;
4093 if test "$withval" = yes; then
4094 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4095 else
4096 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4097 fi
4098
4099 else
4100
4101 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4102
4103 fi
4104
4105
4106 eval "$wx_cv_use_hildon"
4107
4108 if test x"$withstring" = xwithout; then
4109 if test $wxUSE_LIBHILDON = yes; then
4110 result=no
4111 else
4112 result=yes
4113 fi
4114 else
4115 result=$wxUSE_LIBHILDON
4116 fi
4117
4118 { echo "$as_me:$LINENO: result: $result" >&5
4119 echo "${ECHO_T}$result" >&6; }
4120
4121
4122 withstring=
4123 defaultval=$wxUSE_ALL_FEATURES
4124 if test -z "$defaultval"; then
4125 if test x"$withstring" = xwithout; then
4126 defaultval=yes
4127 else
4128 defaultval=no
4129 fi
4130 fi
4131 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4132 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4133
4134 # Check whether --with-opengl was given.
4135 if test "${with_opengl+set}" = set; then
4136 withval=$with_opengl;
4137 if test "$withval" = yes; then
4138 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4139 else
4140 wx_cv_use_opengl='wxUSE_OPENGL=no'
4141 fi
4142
4143 else
4144
4145 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4146
4147 fi
4148
4149
4150 eval "$wx_cv_use_opengl"
4151
4152 if test x"$withstring" = xwithout; then
4153 if test $wxUSE_OPENGL = yes; then
4154 result=no
4155 else
4156 result=yes
4157 fi
4158 else
4159 result=$wxUSE_OPENGL
4160 fi
4161
4162 { echo "$as_me:$LINENO: result: $result" >&5
4163 echo "${ECHO_T}$result" >&6; }
4164
4165
4166 fi
4167
4168
4169 withstring=
4170 defaultval=$wxUSE_ALL_FEATURES
4171 if test -z "$defaultval"; then
4172 if test x"$withstring" = xwithout; then
4173 defaultval=yes
4174 else
4175 defaultval=no
4176 fi
4177 fi
4178 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4179 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4180
4181 # Check whether --with-dmalloc was given.
4182 if test "${with_dmalloc+set}" = set; then
4183 withval=$with_dmalloc;
4184 if test "$withval" = yes; then
4185 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4186 else
4187 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4188 fi
4189
4190 else
4191
4192 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4193
4194 fi
4195
4196
4197 eval "$wx_cv_use_dmalloc"
4198
4199 if test x"$withstring" = xwithout; then
4200 if test $wxUSE_DMALLOC = yes; then
4201 result=no
4202 else
4203 result=yes
4204 fi
4205 else
4206 result=$wxUSE_DMALLOC
4207 fi
4208
4209 { echo "$as_me:$LINENO: result: $result" >&5
4210 echo "${ECHO_T}$result" >&6; }
4211
4212
4213 withstring=
4214 defaultval=$wxUSE_ALL_FEATURES
4215 if test -z "$defaultval"; then
4216 if test x"$withstring" = xwithout; then
4217 defaultval=yes
4218 else
4219 defaultval=no
4220 fi
4221 fi
4222 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4223 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4224
4225 # Check whether --with-sdl was given.
4226 if test "${with_sdl+set}" = set; then
4227 withval=$with_sdl;
4228 if test "$withval" = yes; then
4229 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4230 else
4231 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4232 fi
4233
4234 else
4235
4236 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4237
4238 fi
4239
4240
4241 eval "$wx_cv_use_sdl"
4242
4243 if test x"$withstring" = xwithout; then
4244 if test $wxUSE_LIBSDL = yes; then
4245 result=no
4246 else
4247 result=yes
4248 fi
4249 else
4250 result=$wxUSE_LIBSDL
4251 fi
4252
4253 { echo "$as_me:$LINENO: result: $result" >&5
4254 echo "${ECHO_T}$result" >&6; }
4255
4256
4257 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4258 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4259
4260 # Check whether --with-regex was given.
4261 if test "${with_regex+set}" = set; then
4262 withval=$with_regex;
4263 if test "$withval" = yes; then
4264 wx_cv_use_regex='wxUSE_REGEX=yes'
4265 elif test "$withval" = no; then
4266 wx_cv_use_regex='wxUSE_REGEX=no'
4267 elif test "$withval" = sys; then
4268 wx_cv_use_regex='wxUSE_REGEX=sys'
4269 elif test "$withval" = builtin; then
4270 wx_cv_use_regex='wxUSE_REGEX=builtin'
4271 else
4272 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4273 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4274 { (exit 1); exit 1; }; }
4275 fi
4276
4277 else
4278
4279 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4280
4281 fi
4282
4283
4284 eval "$wx_cv_use_regex"
4285
4286 if test "$wxUSE_REGEX" = yes; then
4287 { echo "$as_me:$LINENO: result: yes" >&5
4288 echo "${ECHO_T}yes" >&6; }
4289 elif test "$wxUSE_REGEX" = no; then
4290 { echo "$as_me:$LINENO: result: no" >&5
4291 echo "${ECHO_T}no" >&6; }
4292 elif test "$wxUSE_REGEX" = sys; then
4293 { echo "$as_me:$LINENO: result: system version" >&5
4294 echo "${ECHO_T}system version" >&6; }
4295 elif test "$wxUSE_REGEX" = builtin; then
4296 { echo "$as_me:$LINENO: result: builtin version" >&5
4297 echo "${ECHO_T}builtin version" >&6; }
4298 else
4299 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4300 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4301 { (exit 1); exit 1; }; }
4302 fi
4303
4304
4305 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4306 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4307
4308 # Check whether --with-zlib was given.
4309 if test "${with_zlib+set}" = set; then
4310 withval=$with_zlib;
4311 if test "$withval" = yes; then
4312 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4313 elif test "$withval" = no; then
4314 wx_cv_use_zlib='wxUSE_ZLIB=no'
4315 elif test "$withval" = sys; then
4316 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4317 elif test "$withval" = builtin; then
4318 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4319 else
4320 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4321 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4322 { (exit 1); exit 1; }; }
4323 fi
4324
4325 else
4326
4327 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4328
4329 fi
4330
4331
4332 eval "$wx_cv_use_zlib"
4333
4334 if test "$wxUSE_ZLIB" = yes; then
4335 { echo "$as_me:$LINENO: result: yes" >&5
4336 echo "${ECHO_T}yes" >&6; }
4337 elif test "$wxUSE_ZLIB" = no; then
4338 { echo "$as_me:$LINENO: result: no" >&5
4339 echo "${ECHO_T}no" >&6; }
4340 elif test "$wxUSE_ZLIB" = sys; then
4341 { echo "$as_me:$LINENO: result: system version" >&5
4342 echo "${ECHO_T}system version" >&6; }
4343 elif test "$wxUSE_ZLIB" = builtin; then
4344 { echo "$as_me:$LINENO: result: builtin version" >&5
4345 echo "${ECHO_T}builtin version" >&6; }
4346 else
4347 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4348 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4349 { (exit 1); exit 1; }; }
4350 fi
4351
4352
4353 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4354 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4355
4356 # Check whether --with-expat was given.
4357 if test "${with_expat+set}" = set; then
4358 withval=$with_expat;
4359 if test "$withval" = yes; then
4360 wx_cv_use_expat='wxUSE_EXPAT=yes'
4361 elif test "$withval" = no; then
4362 wx_cv_use_expat='wxUSE_EXPAT=no'
4363 elif test "$withval" = sys; then
4364 wx_cv_use_expat='wxUSE_EXPAT=sys'
4365 elif test "$withval" = builtin; then
4366 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4367 else
4368 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4369 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4370 { (exit 1); exit 1; }; }
4371 fi
4372
4373 else
4374
4375 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4376
4377 fi
4378
4379
4380 eval "$wx_cv_use_expat"
4381
4382 if test "$wxUSE_EXPAT" = yes; then
4383 { echo "$as_me:$LINENO: result: yes" >&5
4384 echo "${ECHO_T}yes" >&6; }
4385 elif test "$wxUSE_EXPAT" = no; then
4386 { echo "$as_me:$LINENO: result: no" >&5
4387 echo "${ECHO_T}no" >&6; }
4388 elif test "$wxUSE_EXPAT" = sys; then
4389 { echo "$as_me:$LINENO: result: system version" >&5
4390 echo "${ECHO_T}system version" >&6; }
4391 elif test "$wxUSE_EXPAT" = builtin; then
4392 { echo "$as_me:$LINENO: result: builtin version" >&5
4393 echo "${ECHO_T}builtin version" >&6; }
4394 else
4395 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4396 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4397 { (exit 1); exit 1; }; }
4398 fi
4399
4400
4401 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4402 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4403
4404 # Check whether --with-macosx-sdk was given.
4405 if test "${with_macosx_sdk+set}" = set; then
4406 withval=$with_macosx_sdk;
4407 wxUSE_MACOSX_SDK=$withval
4408 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4409
4410 fi
4411
4412 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4413 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4414
4415 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4416 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4417
4418 # Check whether --with-macosx-version-min was given.
4419 if test "${with_macosx_version_min+set}" = set; then
4420 withval=$with_macosx_version_min;
4421 wxUSE_MACOSX_VERSION_MIN=$withval
4422 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4423
4424 fi
4425
4426 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4427 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4428
4429
4430 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4431 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4432 # Check whether --enable-debug was given.
4433 if test "${enable_debug+set}" = set; then
4434 enableval=$enable_debug;
4435 if test "$enableval" = yes; then
4436 wxUSE_DEBUG=yes
4437 elif test "$enableval" = no; then
4438 wxUSE_DEBUG=no
4439 elif test "$enableval" = max; then
4440 wxUSE_DEBUG=yes
4441 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4442 else
4443 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4444 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4445 { (exit 1); exit 1; }; }
4446 fi
4447
4448 else
4449 wxUSE_DEBUG=default
4450
4451 fi
4452
4453
4454 case "$wxUSE_DEBUG" in
4455 yes)
4456 DEFAULT_wxUSE_DEBUG_FLAG=yes
4457 DEFAULT_wxUSE_DEBUG_INFO=yes
4458
4459 DEFAULT_wxUSE_OPTIMISE=no
4460 ;;
4461
4462 no)
4463 DEFAULT_wxUSE_DEBUG_FLAG=no
4464 DEFAULT_wxUSE_DEBUG_INFO=no
4465 ;;
4466
4467 default)
4468 DEFAULT_wxUSE_DEBUG_FLAG=yes
4469 DEFAULT_wxUSE_DEBUG_INFO=no
4470 ;;
4471 esac
4472
4473
4474 enablestring=disable
4475 defaultval=
4476 if test -z "$defaultval"; then
4477 if test x"$enablestring" = xdisable; then
4478 defaultval=yes
4479 else
4480 defaultval=no
4481 fi
4482 fi
4483
4484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4485 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4486 # Check whether --enable-debug_flag was given.
4487 if test "${enable_debug_flag+set}" = set; then
4488 enableval=$enable_debug_flag;
4489 if test "$enableval" = yes; then
4490 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4491 else
4492 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4493 fi
4494
4495 else
4496
4497 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4498
4499 fi
4500
4501
4502 eval "$wx_cv_use_debug_flag"
4503
4504 if test x"$enablestring" = xdisable; then
4505 if test $wxUSE_DEBUG_FLAG = no; then
4506 result=yes
4507 else
4508 result=no
4509 fi
4510 else
4511 result=$wxUSE_DEBUG_FLAG
4512 fi
4513
4514 { echo "$as_me:$LINENO: result: $result" >&5
4515 echo "${ECHO_T}$result" >&6; }
4516
4517
4518 enablestring=
4519 defaultval=
4520 if test -z "$defaultval"; then
4521 if test x"$enablestring" = xdisable; then
4522 defaultval=yes
4523 else
4524 defaultval=no
4525 fi
4526 fi
4527
4528 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4529 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4530 # Check whether --enable-debug_info was given.
4531 if test "${enable_debug_info+set}" = set; then
4532 enableval=$enable_debug_info;
4533 if test "$enableval" = yes; then
4534 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4535 else
4536 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4537 fi
4538
4539 else
4540
4541 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4542
4543 fi
4544
4545
4546 eval "$wx_cv_use_debug_info"
4547
4548 if test x"$enablestring" = xdisable; then
4549 if test $wxUSE_DEBUG_INFO = no; then
4550 result=yes
4551 else
4552 result=no
4553 fi
4554 else
4555 result=$wxUSE_DEBUG_INFO
4556 fi
4557
4558 { echo "$as_me:$LINENO: result: $result" >&5
4559 echo "${ECHO_T}$result" >&6; }
4560
4561
4562
4563
4564 enablestring=
4565 defaultval=
4566 if test -z "$defaultval"; then
4567 if test x"$enablestring" = xdisable; then
4568 defaultval=yes
4569 else
4570 defaultval=no
4571 fi
4572 fi
4573
4574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4575 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4576 # Check whether --enable-debug_gdb was given.
4577 if test "${enable_debug_gdb+set}" = set; then
4578 enableval=$enable_debug_gdb;
4579 if test "$enableval" = yes; then
4580 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4581 else
4582 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4583 fi
4584
4585 else
4586
4587 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4588
4589 fi
4590
4591
4592 eval "$wx_cv_use_debug_gdb"
4593
4594 if test x"$enablestring" = xdisable; then
4595 if test $wxUSE_DEBUG_GDB = no; then
4596 result=yes
4597 else
4598 result=no
4599 fi
4600 else
4601 result=$wxUSE_DEBUG_GDB
4602 fi
4603
4604 { echo "$as_me:$LINENO: result: $result" >&5
4605 echo "${ECHO_T}$result" >&6; }
4606
4607
4608 enablestring=
4609 defaultval=
4610 if test -z "$defaultval"; then
4611 if test x"$enablestring" = xdisable; then
4612 defaultval=yes
4613 else
4614 defaultval=no
4615 fi
4616 fi
4617
4618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4619 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4620 # Check whether --enable-debug_cntxt was given.
4621 if test "${enable_debug_cntxt+set}" = set; then
4622 enableval=$enable_debug_cntxt;
4623 if test "$enableval" = yes; then
4624 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4625 else
4626 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4627 fi
4628
4629 else
4630
4631 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4632
4633 fi
4634
4635
4636 eval "$wx_cv_use_debug_cntxt"
4637
4638 if test x"$enablestring" = xdisable; then
4639 if test $wxUSE_DEBUG_CONTEXT = no; then
4640 result=yes
4641 else
4642 result=no
4643 fi
4644 else
4645 result=$wxUSE_DEBUG_CONTEXT
4646 fi
4647
4648 { echo "$as_me:$LINENO: result: $result" >&5
4649 echo "${ECHO_T}$result" >&6; }
4650
4651
4652 enablestring=
4653 defaultval=
4654 if test -z "$defaultval"; then
4655 if test x"$enablestring" = xdisable; then
4656 defaultval=yes
4657 else
4658 defaultval=no
4659 fi
4660 fi
4661
4662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4663 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4664 # Check whether --enable-mem_tracing was given.
4665 if test "${enable_mem_tracing+set}" = set; then
4666 enableval=$enable_mem_tracing;
4667 if test "$enableval" = yes; then
4668 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4669 else
4670 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4671 fi
4672
4673 else
4674
4675 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4676
4677 fi
4678
4679
4680 eval "$wx_cv_use_mem_tracing"
4681
4682 if test x"$enablestring" = xdisable; then
4683 if test $wxUSE_MEM_TRACING = no; then
4684 result=yes
4685 else
4686 result=no
4687 fi
4688 else
4689 result=$wxUSE_MEM_TRACING
4690 fi
4691
4692 { echo "$as_me:$LINENO: result: $result" >&5
4693 echo "${ECHO_T}$result" >&6; }
4694
4695
4696
4697
4698 enablestring=disable
4699 defaultval=
4700 if test -z "$defaultval"; then
4701 if test x"$enablestring" = xdisable; then
4702 defaultval=yes
4703 else
4704 defaultval=no
4705 fi
4706 fi
4707
4708 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4709 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4710 # Check whether --enable-shared was given.
4711 if test "${enable_shared+set}" = set; then
4712 enableval=$enable_shared;
4713 if test "$enableval" = yes; then
4714 wx_cv_use_shared='wxUSE_SHARED=yes'
4715 else
4716 wx_cv_use_shared='wxUSE_SHARED=no'
4717 fi
4718
4719 else
4720
4721 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4722
4723 fi
4724
4725
4726 eval "$wx_cv_use_shared"
4727
4728 if test x"$enablestring" = xdisable; then
4729 if test $wxUSE_SHARED = no; then
4730 result=yes
4731 else
4732 result=no
4733 fi
4734 else
4735 result=$wxUSE_SHARED
4736 fi
4737
4738 { echo "$as_me:$LINENO: result: $result" >&5
4739 echo "${ECHO_T}$result" >&6; }
4740
4741
4742 enablestring=
4743 defaultval=
4744 if test -z "$defaultval"; then
4745 if test x"$enablestring" = xdisable; then
4746 defaultval=yes
4747 else
4748 defaultval=no
4749 fi
4750 fi
4751
4752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4753 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4754 # Check whether --enable-stl was given.
4755 if test "${enable_stl+set}" = set; then
4756 enableval=$enable_stl;
4757 if test "$enableval" = yes; then
4758 wx_cv_use_stl='wxUSE_STL=yes'
4759 else
4760 wx_cv_use_stl='wxUSE_STL=no'
4761 fi
4762
4763 else
4764
4765 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4766
4767 fi
4768
4769
4770 eval "$wx_cv_use_stl"
4771
4772 if test x"$enablestring" = xdisable; then
4773 if test $wxUSE_STL = no; then
4774 result=yes
4775 else
4776 result=no
4777 fi
4778 else
4779 result=$wxUSE_STL
4780 fi
4781
4782 { echo "$as_me:$LINENO: result: $result" >&5
4783 echo "${ECHO_T}$result" >&6; }
4784
4785 if test "$wxUSE_STL" = "yes"; then
4786 DEFAULT_wxUSE_STD_CONTAINERS=yes
4787 DEFAULT_wxUSE_STD_IOSTREAM=yes
4788 DEFAULT_wxUSE_STD_STRING=yes
4789 fi
4790
4791 enablestring=
4792 defaultval=
4793 if test -z "$defaultval"; then
4794 if test x"$enablestring" = xdisable; then
4795 defaultval=yes
4796 else
4797 defaultval=no
4798 fi
4799 fi
4800
4801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_containers" >&5
4802 echo $ECHO_N "checking for --${enablestring:-enable}-std_containers... $ECHO_C" >&6; }
4803 # Check whether --enable-std_containers was given.
4804 if test "${enable_std_containers+set}" = set; then
4805 enableval=$enable_std_containers;
4806 if test "$enableval" = yes; then
4807 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
4808 else
4809 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
4810 fi
4811
4812 else
4813
4814 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
4815
4816 fi
4817
4818
4819 eval "$wx_cv_use_std_containers"
4820
4821 if test x"$enablestring" = xdisable; then
4822 if test $wxUSE_STD_CONTAINERS = no; then
4823 result=yes
4824 else
4825 result=no
4826 fi
4827 else
4828 result=$wxUSE_STD_CONTAINERS
4829 fi
4830
4831 { echo "$as_me:$LINENO: result: $result" >&5
4832 echo "${ECHO_T}$result" >&6; }
4833
4834
4835 enablestring=
4836 defaultval=
4837 if test -z "$defaultval"; then
4838 if test x"$enablestring" = xdisable; then
4839 defaultval=yes
4840 else
4841 defaultval=no
4842 fi
4843 fi
4844
4845 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4846 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4847 # Check whether --enable-std_iostreams was given.
4848 if test "${enable_std_iostreams+set}" = set; then
4849 enableval=$enable_std_iostreams;
4850 if test "$enableval" = yes; then
4851 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4852 else
4853 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4854 fi
4855
4856 else
4857
4858 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4859
4860 fi
4861
4862
4863 eval "$wx_cv_use_std_iostreams"
4864
4865 if test x"$enablestring" = xdisable; then
4866 if test $wxUSE_STD_IOSTREAM = no; then
4867 result=yes
4868 else
4869 result=no
4870 fi
4871 else
4872 result=$wxUSE_STD_IOSTREAM
4873 fi
4874
4875 { echo "$as_me:$LINENO: result: $result" >&5
4876 echo "${ECHO_T}$result" >&6; }
4877
4878
4879 enablestring=
4880 defaultval=
4881 if test -z "$defaultval"; then
4882 if test x"$enablestring" = xdisable; then
4883 defaultval=yes
4884 else
4885 defaultval=no
4886 fi
4887 fi
4888
4889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4890 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4891 # Check whether --enable-std_string was given.
4892 if test "${enable_std_string+set}" = set; then
4893 enableval=$enable_std_string;
4894 if test "$enableval" = yes; then
4895 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4896 else
4897 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4898 fi
4899
4900 else
4901
4902 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4903
4904 fi
4905
4906
4907 eval "$wx_cv_use_std_string"
4908
4909 if test x"$enablestring" = xdisable; then
4910 if test $wxUSE_STD_STRING = no; then
4911 result=yes
4912 else
4913 result=no
4914 fi
4915 else
4916 result=$wxUSE_STD_STRING
4917 fi
4918
4919 { echo "$as_me:$LINENO: result: $result" >&5
4920 echo "${ECHO_T}$result" >&6; }
4921
4922
4923 enablestring=
4924 defaultval=
4925 if test -z "$defaultval"; then
4926 if test x"$enablestring" = xdisable; then
4927 defaultval=yes
4928 else
4929 defaultval=no
4930 fi
4931 fi
4932
4933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
4934 echo $ECHO_N "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... $ECHO_C" >&6; }
4935 # Check whether --enable-std_string_conv_in_wxstring was given.
4936 if test "${enable_std_string_conv_in_wxstring+set}" = set; then
4937 enableval=$enable_std_string_conv_in_wxstring;
4938 if test "$enableval" = yes; then
4939 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
4940 else
4941 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
4942 fi
4943
4944 else
4945
4946 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
4947
4948 fi
4949
4950
4951 eval "$wx_cv_use_std_string_conv_in_wxstring"
4952
4953 if test x"$enablestring" = xdisable; then
4954 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
4955 result=yes
4956 else
4957 result=no
4958 fi
4959 else
4960 result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
4961 fi
4962
4963 { echo "$as_me:$LINENO: result: $result" >&5
4964 echo "${ECHO_T}$result" >&6; }
4965
4966
4967 enablestring=disable
4968 defaultval=
4969 if test -z "$defaultval"; then
4970 if test x"$enablestring" = xdisable; then
4971 defaultval=yes
4972 else
4973 defaultval=no
4974 fi
4975 fi
4976
4977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4978 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4979 # Check whether --enable-unicode was given.
4980 if test "${enable_unicode+set}" = set; then
4981 enableval=$enable_unicode;
4982 if test "$enableval" = yes; then
4983 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4984 else
4985 wx_cv_use_unicode='wxUSE_UNICODE=no'
4986 fi
4987
4988 else
4989
4990 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4991
4992 fi
4993
4994
4995 eval "$wx_cv_use_unicode"
4996
4997 if test x"$enablestring" = xdisable; then
4998 if test $wxUSE_UNICODE = no; then
4999 result=yes
5000 else
5001 result=no
5002 fi
5003 else
5004 result=$wxUSE_UNICODE
5005 fi
5006
5007 { echo "$as_me:$LINENO: result: $result" >&5
5008 echo "${ECHO_T}$result" >&6; }
5009
5010
5011 enablestring=
5012 defaultval=
5013 if test -z "$defaultval"; then
5014 if test x"$enablestring" = xdisable; then
5015 defaultval=yes
5016 else
5017 defaultval=no
5018 fi
5019 fi
5020
5021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5022 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
5023 # Check whether --enable-mslu was given.
5024 if test "${enable_mslu+set}" = set; then
5025 enableval=$enable_mslu;
5026 if test "$enableval" = yes; then
5027 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5028 else
5029 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5030 fi
5031
5032 else
5033
5034 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
5035
5036 fi
5037
5038
5039 eval "$wx_cv_use_mslu"
5040
5041 if test x"$enablestring" = xdisable; then
5042 if test $wxUSE_UNICODE_MSLU = no; then
5043 result=yes
5044 else
5045 result=no
5046 fi
5047 else
5048 result=$wxUSE_UNICODE_MSLU
5049 fi
5050
5051 { echo "$as_me:$LINENO: result: $result" >&5
5052 echo "${ECHO_T}$result" >&6; }
5053
5054
5055 enablestring=
5056 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
5057 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
5058 # Check whether --enable-utf8 was given.
5059 if test "${enable_utf8+set}" = set; then
5060 enableval=$enable_utf8;
5061 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
5062
5063 else
5064
5065 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
5066
5067 fi
5068
5069
5070 eval "$wx_cv_use_utf8"
5071
5072 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
5073 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
5074
5075
5076 enablestring=
5077 defaultval=
5078 if test -z "$defaultval"; then
5079 if test x"$enablestring" = xdisable; then
5080 defaultval=yes
5081 else
5082 defaultval=no
5083 fi
5084 fi
5085
5086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
5087 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
5088 # Check whether --enable-utf8only was given.
5089 if test "${enable_utf8only+set}" = set; then
5090 enableval=$enable_utf8only;
5091 if test "$enableval" = yes; then
5092 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5093 else
5094 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5095 fi
5096
5097 else
5098
5099 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5100
5101 fi
5102
5103
5104 eval "$wx_cv_use_utf8only"
5105
5106 if test x"$enablestring" = xdisable; then
5107 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
5108 result=yes
5109 else
5110 result=no
5111 fi
5112 else
5113 result=$wxUSE_UNICODE_UTF8_LOCALE
5114 fi
5115
5116 { echo "$as_me:$LINENO: result: $result" >&5
5117 echo "${ECHO_T}$result" >&6; }
5118
5119
5120 enablestring=
5121 defaultval=
5122 if test -z "$defaultval"; then
5123 if test x"$enablestring" = xdisable; then
5124 defaultval=yes
5125 else
5126 defaultval=no
5127 fi
5128 fi
5129
5130 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5131 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5132 # Check whether --enable-extended_rtti was given.
5133 if test "${enable_extended_rtti+set}" = set; then
5134 enableval=$enable_extended_rtti;
5135 if test "$enableval" = yes; then
5136 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5137 else
5138 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5139 fi
5140
5141 else
5142
5143 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5144
5145 fi
5146
5147
5148 eval "$wx_cv_use_extended_rtti"
5149
5150 if test x"$enablestring" = xdisable; then
5151 if test $wxUSE_EXTENDED_RTTI = no; then
5152 result=yes
5153 else
5154 result=no
5155 fi
5156 else
5157 result=$wxUSE_EXTENDED_RTTI
5158 fi
5159
5160 { echo "$as_me:$LINENO: result: $result" >&5
5161 echo "${ECHO_T}$result" >&6; }
5162
5163 if test "$USE_OS2" = 1; then
5164 DEFAULT_wxUSE_OMF=no
5165
5166 enablestring=
5167 defaultval=
5168 if test -z "$defaultval"; then
5169 if test x"$enablestring" = xdisable; then
5170 defaultval=yes
5171 else
5172 defaultval=no
5173 fi
5174 fi
5175
5176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5177 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5178 # Check whether --enable-omf was given.
5179 if test "${enable_omf+set}" = set; then
5180 enableval=$enable_omf;
5181 if test "$enableval" = yes; then
5182 wx_cv_use_omf='wxUSE_OMF=yes'
5183 else
5184 wx_cv_use_omf='wxUSE_OMF=no'
5185 fi
5186
5187 else
5188
5189 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5190
5191 fi
5192
5193
5194 eval "$wx_cv_use_omf"
5195
5196 if test x"$enablestring" = xdisable; then
5197 if test $wxUSE_OMF = no; then
5198 result=yes
5199 else
5200 result=no
5201 fi
5202 else
5203 result=$wxUSE_OMF
5204 fi
5205
5206 { echo "$as_me:$LINENO: result: $result" >&5
5207 echo "${ECHO_T}$result" >&6; }
5208
5209 fi
5210
5211
5212 enablestring=disable
5213 defaultval=
5214 if test -z "$defaultval"; then
5215 if test x"$enablestring" = xdisable; then
5216 defaultval=yes
5217 else
5218 defaultval=no
5219 fi
5220 fi
5221
5222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5223 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5224 # Check whether --enable-optimise was given.
5225 if test "${enable_optimise+set}" = set; then
5226 enableval=$enable_optimise;
5227 if test "$enableval" = yes; then
5228 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5229 else
5230 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5231 fi
5232
5233 else
5234
5235 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5236
5237 fi
5238
5239
5240 eval "$wx_cv_use_optimise"
5241
5242 if test x"$enablestring" = xdisable; then
5243 if test $wxUSE_OPTIMISE = no; then
5244 result=yes
5245 else
5246 result=no
5247 fi
5248 else
5249 result=$wxUSE_OPTIMISE
5250 fi
5251
5252 { echo "$as_me:$LINENO: result: $result" >&5
5253 echo "${ECHO_T}$result" >&6; }
5254
5255
5256
5257 enablestring=
5258 defaultval=
5259 if test -z "$defaultval"; then
5260 if test x"$enablestring" = xdisable; then
5261 defaultval=yes
5262 else
5263 defaultval=no
5264 fi
5265 fi
5266
5267 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5268 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5269 # Check whether --enable-profile was given.
5270 if test "${enable_profile+set}" = set; then
5271 enableval=$enable_profile;
5272 if test "$enableval" = yes; then
5273 wx_cv_use_profile='wxUSE_PROFILE=yes'
5274 else
5275 wx_cv_use_profile='wxUSE_PROFILE=no'
5276 fi
5277
5278 else
5279
5280 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5281
5282 fi
5283
5284
5285 eval "$wx_cv_use_profile"
5286
5287 if test x"$enablestring" = xdisable; then
5288 if test $wxUSE_PROFILE = no; then
5289 result=yes
5290 else
5291 result=no
5292 fi
5293 else
5294 result=$wxUSE_PROFILE
5295 fi
5296
5297 { echo "$as_me:$LINENO: result: $result" >&5
5298 echo "${ECHO_T}$result" >&6; }
5299
5300
5301 enablestring=
5302 defaultval=
5303 if test -z "$defaultval"; then
5304 if test x"$enablestring" = xdisable; then
5305 defaultval=yes
5306 else
5307 defaultval=no
5308 fi
5309 fi
5310
5311 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5312 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5313 # Check whether --enable-no_rtti was given.
5314 if test "${enable_no_rtti+set}" = set; then
5315 enableval=$enable_no_rtti;
5316 if test "$enableval" = yes; then
5317 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5318 else
5319 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5320 fi
5321
5322 else
5323
5324 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5325
5326 fi
5327
5328
5329 eval "$wx_cv_use_no_rtti"
5330
5331 if test x"$enablestring" = xdisable; then
5332 if test $wxUSE_NO_RTTI = no; then
5333 result=yes
5334 else
5335 result=no
5336 fi
5337 else
5338 result=$wxUSE_NO_RTTI
5339 fi
5340
5341 { echo "$as_me:$LINENO: result: $result" >&5
5342 echo "${ECHO_T}$result" >&6; }
5343
5344
5345 enablestring=
5346 defaultval=
5347 if test -z "$defaultval"; then
5348 if test x"$enablestring" = xdisable; then
5349 defaultval=yes
5350 else
5351 defaultval=no
5352 fi
5353 fi
5354
5355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5356 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5357 # Check whether --enable-no_exceptions was given.
5358 if test "${enable_no_exceptions+set}" = set; then
5359 enableval=$enable_no_exceptions;
5360 if test "$enableval" = yes; then
5361 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5362 else
5363 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5364 fi
5365
5366 else
5367
5368 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5369
5370 fi
5371
5372
5373 eval "$wx_cv_use_no_exceptions"
5374
5375 if test x"$enablestring" = xdisable; then
5376 if test $wxUSE_NO_EXCEPTIONS = no; then
5377 result=yes
5378 else
5379 result=no
5380 fi
5381 else
5382 result=$wxUSE_NO_EXCEPTIONS
5383 fi
5384
5385 { echo "$as_me:$LINENO: result: $result" >&5
5386 echo "${ECHO_T}$result" >&6; }
5387
5388
5389 enablestring=
5390 defaultval=
5391 if test -z "$defaultval"; then
5392 if test x"$enablestring" = xdisable; then
5393 defaultval=yes
5394 else
5395 defaultval=no
5396 fi
5397 fi
5398
5399 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5400 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5401 # Check whether --enable-permissive was given.
5402 if test "${enable_permissive+set}" = set; then
5403 enableval=$enable_permissive;
5404 if test "$enableval" = yes; then
5405 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5406 else
5407 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5408 fi
5409
5410 else
5411
5412 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5413
5414 fi
5415
5416
5417 eval "$wx_cv_use_permissive"
5418
5419 if test x"$enablestring" = xdisable; then
5420 if test $wxUSE_PERMISSIVE = no; then
5421 result=yes
5422 else
5423 result=no
5424 fi
5425 else
5426 result=$wxUSE_PERMISSIVE
5427 fi
5428
5429 { echo "$as_me:$LINENO: result: $result" >&5
5430 echo "${ECHO_T}$result" >&6; }
5431
5432
5433 enablestring=
5434 defaultval=
5435 if test -z "$defaultval"; then
5436 if test x"$enablestring" = xdisable; then
5437 defaultval=yes
5438 else
5439 defaultval=no
5440 fi
5441 fi
5442
5443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5444 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5445 # Check whether --enable-no_deps was given.
5446 if test "${enable_no_deps+set}" = set; then
5447 enableval=$enable_no_deps;
5448 if test "$enableval" = yes; then
5449 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5450 else
5451 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5452 fi
5453
5454 else
5455
5456 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5457
5458 fi
5459
5460
5461 eval "$wx_cv_use_no_deps"
5462
5463 if test x"$enablestring" = xdisable; then
5464 if test $wxUSE_NO_DEPS = no; then
5465 result=yes
5466 else
5467 result=no
5468 fi
5469 else
5470 result=$wxUSE_NO_DEPS
5471 fi
5472
5473 { echo "$as_me:$LINENO: result: $result" >&5
5474 echo "${ECHO_T}$result" >&6; }
5475
5476
5477 enablestring=disable
5478 defaultval=
5479 if test -z "$defaultval"; then
5480 if test x"$enablestring" = xdisable; then
5481 defaultval=yes
5482 else
5483 defaultval=no
5484 fi
5485 fi
5486
5487 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5488 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5489 # Check whether --enable-vararg_macros was given.
5490 if test "${enable_vararg_macros+set}" = set; then
5491 enableval=$enable_vararg_macros;
5492 if test "$enableval" = yes; then
5493 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5494 else
5495 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5496 fi
5497
5498 else
5499
5500 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5501
5502 fi
5503
5504
5505 eval "$wx_cv_use_vararg_macros"
5506
5507 if test x"$enablestring" = xdisable; then
5508 if test $wxUSE_VARARG_MACROS = no; then
5509 result=yes
5510 else
5511 result=no
5512 fi
5513 else
5514 result=$wxUSE_VARARG_MACROS
5515 fi
5516
5517 { echo "$as_me:$LINENO: result: $result" >&5
5518 echo "${ECHO_T}$result" >&6; }
5519
5520
5521
5522 enablestring=
5523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5524 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5525 # Check whether --enable-universal_binary was given.
5526 if test "${enable_universal_binary+set}" = set; then
5527 enableval=$enable_universal_binary;
5528 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5529
5530 else
5531
5532 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5533
5534 fi
5535
5536
5537 eval "$wx_cv_use_universal_binary"
5538
5539 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5540 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5541
5542
5543 enablestring=
5544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-macosx_arch" >&5
5545 echo $ECHO_N "checking for --${enablestring:-enable}-macosx_arch... $ECHO_C" >&6; }
5546 # Check whether --enable-macosx_arch was given.
5547 if test "${enable_macosx_arch+set}" = set; then
5548 enableval=$enable_macosx_arch;
5549 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
5550
5551 else
5552
5553 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
5554
5555 fi
5556
5557
5558 eval "$wx_cv_use_macosx_arch"
5559
5560 { echo "$as_me:$LINENO: result: $wxUSE_MAC_ARCH" >&5
5561 echo "${ECHO_T}$wxUSE_MAC_ARCH" >&6; }
5562
5563
5564
5565 enablestring=
5566 defaultval=
5567 if test -z "$defaultval"; then
5568 if test x"$enablestring" = xdisable; then
5569 defaultval=yes
5570 else
5571 defaultval=no
5572 fi
5573 fi
5574
5575 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5576 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5577 # Check whether --enable-compat26 was given.
5578 if test "${enable_compat26+set}" = set; then
5579 enableval=$enable_compat26;
5580 if test "$enableval" = yes; then
5581 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5582 else
5583 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5584 fi
5585
5586 else
5587
5588 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5589
5590 fi
5591
5592
5593 eval "$wx_cv_use_compat26"
5594
5595 if test x"$enablestring" = xdisable; then
5596 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5597 result=yes
5598 else
5599 result=no
5600 fi
5601 else
5602 result=$WXWIN_COMPATIBILITY_2_6
5603 fi
5604
5605 { echo "$as_me:$LINENO: result: $result" >&5
5606 echo "${ECHO_T}$result" >&6; }
5607
5608
5609 enablestring=disable
5610 defaultval=
5611 if test -z "$defaultval"; then
5612 if test x"$enablestring" = xdisable; then
5613 defaultval=yes
5614 else
5615 defaultval=no
5616 fi
5617 fi
5618
5619 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5620 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5621 # Check whether --enable-compat28 was given.
5622 if test "${enable_compat28+set}" = set; then
5623 enableval=$enable_compat28;
5624 if test "$enableval" = yes; then
5625 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5626 else
5627 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5628 fi
5629
5630 else
5631
5632 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5633
5634 fi
5635
5636
5637 eval "$wx_cv_use_compat28"
5638
5639 if test x"$enablestring" = xdisable; then
5640 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5641 result=yes
5642 else
5643 result=no
5644 fi
5645 else
5646 result=$WXWIN_COMPATIBILITY_2_8
5647 fi
5648
5649 { echo "$as_me:$LINENO: result: $result" >&5
5650 echo "${ECHO_T}$result" >&6; }
5651
5652
5653
5654 enablestring=disable
5655 defaultval=
5656 if test -z "$defaultval"; then
5657 if test x"$enablestring" = xdisable; then
5658 defaultval=yes
5659 else
5660 defaultval=no
5661 fi
5662 fi
5663
5664 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5665 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5666 # Check whether --enable-rpath was given.
5667 if test "${enable_rpath+set}" = set; then
5668 enableval=$enable_rpath;
5669 if test "$enableval" = yes; then
5670 wx_cv_use_rpath='wxUSE_RPATH=yes'
5671 else
5672 wx_cv_use_rpath='wxUSE_RPATH=no'
5673 fi
5674
5675 else
5676
5677 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5678
5679 fi
5680
5681
5682 eval "$wx_cv_use_rpath"
5683
5684 if test x"$enablestring" = xdisable; then
5685 if test $wxUSE_RPATH = no; then
5686 result=yes
5687 else
5688 result=no
5689 fi
5690 else
5691 result=$wxUSE_RPATH
5692 fi
5693
5694 { echo "$as_me:$LINENO: result: $result" >&5
5695 echo "${ECHO_T}$result" >&6; }
5696
5697
5698
5699 enablestring=
5700 defaultval=
5701 if test -z "$defaultval"; then
5702 if test x"$enablestring" = xdisable; then
5703 defaultval=yes
5704 else
5705 defaultval=no
5706 fi
5707 fi
5708
5709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5710 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5711 # Check whether --enable-objc_uniquifying was given.
5712 if test "${enable_objc_uniquifying+set}" = set; then
5713 enableval=$enable_objc_uniquifying;
5714 if test "$enableval" = yes; then
5715 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5716 else
5717 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5718 fi
5719
5720 else
5721
5722 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5723
5724 fi
5725
5726
5727 eval "$wx_cv_use_objc_uniquifying"
5728
5729 if test x"$enablestring" = xdisable; then
5730 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5731 result=yes
5732 else
5733 result=no
5734 fi
5735 else
5736 result=$wxUSE_OBJC_UNIQUIFYING
5737 fi
5738
5739 { echo "$as_me:$LINENO: result: $result" >&5
5740 echo "${ECHO_T}$result" >&6; }
5741
5742
5743
5744 enablestring=disable
5745 defaultval=
5746 if test -z "$defaultval"; then
5747 if test x"$enablestring" = xdisable; then
5748 defaultval=yes
5749 else
5750 defaultval=no
5751 fi
5752 fi
5753
5754 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5755 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5756 # Check whether --enable-visibility was given.
5757 if test "${enable_visibility+set}" = set; then
5758 enableval=$enable_visibility;
5759 if test "$enableval" = yes; then
5760 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5761 else
5762 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5763 fi
5764
5765 else
5766
5767 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5768
5769 fi
5770
5771
5772 eval "$wx_cv_use_visibility"
5773
5774 if test x"$enablestring" = xdisable; then
5775 if test $wxUSE_VISIBILITY = no; then
5776 result=yes
5777 else
5778 result=no
5779 fi
5780 else
5781 result=$wxUSE_VISIBILITY
5782 fi
5783
5784 { echo "$as_me:$LINENO: result: $result" >&5
5785 echo "${ECHO_T}$result" >&6; }
5786
5787
5788 enablestring=disable
5789 defaultval=
5790 if test -z "$defaultval"; then
5791 if test x"$enablestring" = xdisable; then
5792 defaultval=yes
5793 else
5794 defaultval=no
5795 fi
5796 fi
5797
5798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5799 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5800 # Check whether --enable-tls was given.
5801 if test "${enable_tls+set}" = set; then
5802 enableval=$enable_tls;
5803 if test "$enableval" = yes; then
5804 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5805 else
5806 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5807 fi
5808
5809 else
5810
5811 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5812
5813 fi
5814
5815
5816 eval "$wx_cv_use_tls"
5817
5818 if test x"$enablestring" = xdisable; then
5819 if test $wxUSE_COMPILER_TLS = no; then
5820 result=yes
5821 else
5822 result=no
5823 fi
5824 else
5825 result=$wxUSE_COMPILER_TLS
5826 fi
5827
5828 { echo "$as_me:$LINENO: result: $result" >&5
5829 echo "${ECHO_T}$result" >&6; }
5830
5831
5832
5833
5834 enablestring=
5835 defaultval=$wxUSE_ALL_FEATURES
5836 if test -z "$defaultval"; then
5837 if test x"$enablestring" = xdisable; then
5838 defaultval=yes
5839 else
5840 defaultval=no
5841 fi
5842 fi
5843
5844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5845 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5846 # Check whether --enable-intl was given.
5847 if test "${enable_intl+set}" = set; then
5848 enableval=$enable_intl;
5849 if test "$enableval" = yes; then
5850 wx_cv_use_intl='wxUSE_INTL=yes'
5851 else
5852 wx_cv_use_intl='wxUSE_INTL=no'
5853 fi
5854
5855 else
5856
5857 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5858
5859 fi
5860
5861
5862 eval "$wx_cv_use_intl"
5863
5864 if test x"$enablestring" = xdisable; then
5865 if test $wxUSE_INTL = no; then
5866 result=yes
5867 else
5868 result=no
5869 fi
5870 else
5871 result=$wxUSE_INTL
5872 fi
5873
5874 { echo "$as_me:$LINENO: result: $result" >&5
5875 echo "${ECHO_T}$result" >&6; }
5876
5877
5878 enablestring=
5879 defaultval=$wxUSE_ALL_FEATURES
5880 if test -z "$defaultval"; then
5881 if test x"$enablestring" = xdisable; then
5882 defaultval=yes
5883 else
5884 defaultval=no
5885 fi
5886 fi
5887
5888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5889 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5890 # Check whether --enable-xlocale was given.
5891 if test "${enable_xlocale+set}" = set; then
5892 enableval=$enable_xlocale;
5893 if test "$enableval" = yes; then
5894 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5895 else
5896 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5897 fi
5898
5899 else
5900
5901 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5902
5903 fi
5904
5905
5906 eval "$wx_cv_use_xlocale"
5907
5908 if test x"$enablestring" = xdisable; then
5909 if test $wxUSE_XLOCALE = no; then
5910 result=yes
5911 else
5912 result=no
5913 fi
5914 else
5915 result=$wxUSE_XLOCALE
5916 fi
5917
5918 { echo "$as_me:$LINENO: result: $result" >&5
5919 echo "${ECHO_T}$result" >&6; }
5920
5921
5922 enablestring=
5923 defaultval=$wxUSE_ALL_FEATURES
5924 if test -z "$defaultval"; then
5925 if test x"$enablestring" = xdisable; then
5926 defaultval=yes
5927 else
5928 defaultval=no
5929 fi
5930 fi
5931
5932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5933 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5934 # Check whether --enable-config was given.
5935 if test "${enable_config+set}" = set; then
5936 enableval=$enable_config;
5937 if test "$enableval" = yes; then
5938 wx_cv_use_config='wxUSE_CONFIG=yes'
5939 else
5940 wx_cv_use_config='wxUSE_CONFIG=no'
5941 fi
5942
5943 else
5944
5945 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5946
5947 fi
5948
5949
5950 eval "$wx_cv_use_config"
5951
5952 if test x"$enablestring" = xdisable; then
5953 if test $wxUSE_CONFIG = no; then
5954 result=yes
5955 else
5956 result=no
5957 fi
5958 else
5959 result=$wxUSE_CONFIG
5960 fi
5961
5962 { echo "$as_me:$LINENO: result: $result" >&5
5963 echo "${ECHO_T}$result" >&6; }
5964
5965
5966
5967 enablestring=
5968 defaultval=$wxUSE_ALL_FEATURES
5969 if test -z "$defaultval"; then
5970 if test x"$enablestring" = xdisable; then
5971 defaultval=yes
5972 else
5973 defaultval=no
5974 fi
5975 fi
5976
5977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5978 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5979 # Check whether --enable-protocols was given.
5980 if test "${enable_protocols+set}" = set; then
5981 enableval=$enable_protocols;
5982 if test "$enableval" = yes; then
5983 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5984 else
5985 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5986 fi
5987
5988 else
5989
5990 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5991
5992 fi
5993
5994
5995 eval "$wx_cv_use_protocols"
5996
5997 if test x"$enablestring" = xdisable; then
5998 if test $wxUSE_PROTOCOL = no; then
5999 result=yes
6000 else
6001 result=no
6002 fi
6003 else
6004 result=$wxUSE_PROTOCOL
6005 fi
6006
6007 { echo "$as_me:$LINENO: result: $result" >&5
6008 echo "${ECHO_T}$result" >&6; }
6009
6010
6011 enablestring=
6012 defaultval=$wxUSE_ALL_FEATURES
6013 if test -z "$defaultval"; then
6014 if test x"$enablestring" = xdisable; then
6015 defaultval=yes
6016 else
6017 defaultval=no
6018 fi
6019 fi
6020
6021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6022 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6023 # Check whether --enable-ftp was given.
6024 if test "${enable_ftp+set}" = set; then
6025 enableval=$enable_ftp;
6026 if test "$enableval" = yes; then
6027 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6028 else
6029 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6030 fi
6031
6032 else
6033
6034 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6035
6036 fi
6037
6038
6039 eval "$wx_cv_use_ftp"
6040
6041 if test x"$enablestring" = xdisable; then
6042 if test $wxUSE_PROTOCOL_FTP = no; then
6043 result=yes
6044 else
6045 result=no
6046 fi
6047 else
6048 result=$wxUSE_PROTOCOL_FTP
6049 fi
6050
6051 { echo "$as_me:$LINENO: result: $result" >&5
6052 echo "${ECHO_T}$result" >&6; }
6053
6054
6055 enablestring=
6056 defaultval=$wxUSE_ALL_FEATURES
6057 if test -z "$defaultval"; then
6058 if test x"$enablestring" = xdisable; then
6059 defaultval=yes
6060 else
6061 defaultval=no
6062 fi
6063 fi
6064
6065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6066 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6067 # Check whether --enable-http was given.
6068 if test "${enable_http+set}" = set; then
6069 enableval=$enable_http;
6070 if test "$enableval" = yes; then
6071 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6072 else
6073 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6074 fi
6075
6076 else
6077
6078 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6079
6080 fi
6081
6082
6083 eval "$wx_cv_use_http"
6084
6085 if test x"$enablestring" = xdisable; then
6086 if test $wxUSE_PROTOCOL_HTTP = no; then
6087 result=yes
6088 else
6089 result=no
6090 fi
6091 else
6092 result=$wxUSE_PROTOCOL_HTTP
6093 fi
6094
6095 { echo "$as_me:$LINENO: result: $result" >&5
6096 echo "${ECHO_T}$result" >&6; }
6097
6098
6099 enablestring=
6100 defaultval=$wxUSE_ALL_FEATURES
6101 if test -z "$defaultval"; then
6102 if test x"$enablestring" = xdisable; then
6103 defaultval=yes
6104 else
6105 defaultval=no
6106 fi
6107 fi
6108
6109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6110 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6111 # Check whether --enable-fileproto was given.
6112 if test "${enable_fileproto+set}" = set; then
6113 enableval=$enable_fileproto;
6114 if test "$enableval" = yes; then
6115 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6116 else
6117 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6118 fi
6119
6120 else
6121
6122 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6123
6124 fi
6125
6126
6127 eval "$wx_cv_use_fileproto"
6128
6129 if test x"$enablestring" = xdisable; then
6130 if test $wxUSE_PROTOCOL_FILE = no; then
6131 result=yes
6132 else
6133 result=no
6134 fi
6135 else
6136 result=$wxUSE_PROTOCOL_FILE
6137 fi
6138
6139 { echo "$as_me:$LINENO: result: $result" >&5
6140 echo "${ECHO_T}$result" >&6; }
6141
6142
6143 enablestring=
6144 defaultval=$wxUSE_ALL_FEATURES
6145 if test -z "$defaultval"; then
6146 if test x"$enablestring" = xdisable; then
6147 defaultval=yes
6148 else
6149 defaultval=no
6150 fi
6151 fi
6152
6153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6154 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6155 # Check whether --enable-sockets was given.
6156 if test "${enable_sockets+set}" = set; then
6157 enableval=$enable_sockets;
6158 if test "$enableval" = yes; then
6159 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6160 else
6161 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6162 fi
6163
6164 else
6165
6166 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6167
6168 fi
6169
6170
6171 eval "$wx_cv_use_sockets"
6172
6173 if test x"$enablestring" = xdisable; then
6174 if test $wxUSE_SOCKETS = no; then
6175 result=yes
6176 else
6177 result=no
6178 fi
6179 else
6180 result=$wxUSE_SOCKETS
6181 fi
6182
6183 { echo "$as_me:$LINENO: result: $result" >&5
6184 echo "${ECHO_T}$result" >&6; }
6185
6186
6187 enablestring=
6188 defaultval=$wxUSE_ALL_FEATURES
6189 if test -z "$defaultval"; then
6190 if test x"$enablestring" = xdisable; then
6191 defaultval=yes
6192 else
6193 defaultval=no
6194 fi
6195 fi
6196
6197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6198 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6199 # Check whether --enable-ipv6 was given.
6200 if test "${enable_ipv6+set}" = set; then
6201 enableval=$enable_ipv6;
6202 if test "$enableval" = yes; then
6203 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6204 else
6205 wx_cv_use_ipv6='wxUSE_IPV6=no'
6206 fi
6207
6208 else
6209
6210 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6211
6212 fi
6213
6214
6215 eval "$wx_cv_use_ipv6"
6216
6217 if test x"$enablestring" = xdisable; then
6218 if test $wxUSE_IPV6 = no; then
6219 result=yes
6220 else
6221 result=no
6222 fi
6223 else
6224 result=$wxUSE_IPV6
6225 fi
6226
6227 { echo "$as_me:$LINENO: result: $result" >&5
6228 echo "${ECHO_T}$result" >&6; }
6229
6230
6231 enablestring=
6232 defaultval=$wxUSE_ALL_FEATURES
6233 if test -z "$defaultval"; then
6234 if test x"$enablestring" = xdisable; then
6235 defaultval=yes
6236 else
6237 defaultval=no
6238 fi
6239 fi
6240
6241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6242 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6243 # Check whether --enable-ole was given.
6244 if test "${enable_ole+set}" = set; then
6245 enableval=$enable_ole;
6246 if test "$enableval" = yes; then
6247 wx_cv_use_ole='wxUSE_OLE=yes'
6248 else
6249 wx_cv_use_ole='wxUSE_OLE=no'
6250 fi
6251
6252 else
6253
6254 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6255
6256 fi
6257
6258
6259 eval "$wx_cv_use_ole"
6260
6261 if test x"$enablestring" = xdisable; then
6262 if test $wxUSE_OLE = no; then
6263 result=yes
6264 else
6265 result=no
6266 fi
6267 else
6268 result=$wxUSE_OLE
6269 fi
6270
6271 { echo "$as_me:$LINENO: result: $result" >&5
6272 echo "${ECHO_T}$result" >&6; }
6273
6274
6275 enablestring=
6276 defaultval=$wxUSE_ALL_FEATURES
6277 if test -z "$defaultval"; then
6278 if test x"$enablestring" = xdisable; then
6279 defaultval=yes
6280 else
6281 defaultval=no
6282 fi
6283 fi
6284
6285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6286 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6287 # Check whether --enable-dataobj was given.
6288 if test "${enable_dataobj+set}" = set; then
6289 enableval=$enable_dataobj;
6290 if test "$enableval" = yes; then
6291 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6292 else
6293 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6294 fi
6295
6296 else
6297
6298 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6299
6300 fi
6301
6302
6303 eval "$wx_cv_use_dataobj"
6304
6305 if test x"$enablestring" = xdisable; then
6306 if test $wxUSE_DATAOBJ = no; then
6307 result=yes
6308 else
6309 result=no
6310 fi
6311 else
6312 result=$wxUSE_DATAOBJ
6313 fi
6314
6315 { echo "$as_me:$LINENO: result: $result" >&5
6316 echo "${ECHO_T}$result" >&6; }
6317
6318
6319
6320 enablestring=
6321 defaultval=$wxUSE_ALL_FEATURES
6322 if test -z "$defaultval"; then
6323 if test x"$enablestring" = xdisable; then
6324 defaultval=yes
6325 else
6326 defaultval=no
6327 fi
6328 fi
6329
6330 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6331 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6332 # Check whether --enable-ipc was given.
6333 if test "${enable_ipc+set}" = set; then
6334 enableval=$enable_ipc;
6335 if test "$enableval" = yes; then
6336 wx_cv_use_ipc='wxUSE_IPC=yes'
6337 else
6338 wx_cv_use_ipc='wxUSE_IPC=no'
6339 fi
6340
6341 else
6342
6343 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6344
6345 fi
6346
6347
6348 eval "$wx_cv_use_ipc"
6349
6350 if test x"$enablestring" = xdisable; then
6351 if test $wxUSE_IPC = no; then
6352 result=yes
6353 else
6354 result=no
6355 fi
6356 else
6357 result=$wxUSE_IPC
6358 fi
6359
6360 { echo "$as_me:$LINENO: result: $result" >&5
6361 echo "${ECHO_T}$result" >&6; }
6362
6363
6364
6365 enablestring=
6366 defaultval=$wxUSE_ALL_FEATURES
6367 if test -z "$defaultval"; then
6368 if test x"$enablestring" = xdisable; then
6369 defaultval=yes
6370 else
6371 defaultval=no
6372 fi
6373 fi
6374
6375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6376 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6377 # Check whether --enable-baseevtloop was given.
6378 if test "${enable_baseevtloop+set}" = set; then
6379 enableval=$enable_baseevtloop;
6380 if test "$enableval" = yes; then
6381 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6382 else
6383 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6384 fi
6385
6386 else
6387
6388 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6389
6390 fi
6391
6392
6393 eval "$wx_cv_use_baseevtloop"
6394
6395 if test x"$enablestring" = xdisable; then
6396 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6397 result=yes
6398 else
6399 result=no
6400 fi
6401 else
6402 result=$wxUSE_CONSOLE_EVENTLOOP
6403 fi
6404
6405 { echo "$as_me:$LINENO: result: $result" >&5
6406 echo "${ECHO_T}$result" >&6; }
6407
6408
6409 enablestring=
6410 defaultval=$wxUSE_ALL_FEATURES
6411 if test -z "$defaultval"; then
6412 if test x"$enablestring" = xdisable; then
6413 defaultval=yes
6414 else
6415 defaultval=no
6416 fi
6417 fi
6418
6419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6420 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6421 # Check whether --enable-epollloop was given.
6422 if test "${enable_epollloop+set}" = set; then
6423 enableval=$enable_epollloop;
6424 if test "$enableval" = yes; then
6425 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6426 else
6427 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6428 fi
6429
6430 else
6431
6432 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6433
6434 fi
6435
6436
6437 eval "$wx_cv_use_epollloop"
6438
6439 if test x"$enablestring" = xdisable; then
6440 if test $wxUSE_EPOLL_DISPATCHER = no; then
6441 result=yes
6442 else
6443 result=no
6444 fi
6445 else
6446 result=$wxUSE_EPOLL_DISPATCHER
6447 fi
6448
6449 { echo "$as_me:$LINENO: result: $result" >&5
6450 echo "${ECHO_T}$result" >&6; }
6451
6452
6453 enablestring=
6454 defaultval=$wxUSE_ALL_FEATURES
6455 if test -z "$defaultval"; then
6456 if test x"$enablestring" = xdisable; then
6457 defaultval=yes
6458 else
6459 defaultval=no
6460 fi
6461 fi
6462
6463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6464 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6465 # Check whether --enable-selectloop was given.
6466 if test "${enable_selectloop+set}" = set; then
6467 enableval=$enable_selectloop;
6468 if test "$enableval" = yes; then
6469 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6470 else
6471 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6472 fi
6473
6474 else
6475
6476 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6477
6478 fi
6479
6480
6481 eval "$wx_cv_use_selectloop"
6482
6483 if test x"$enablestring" = xdisable; then
6484 if test $wxUSE_SELECT_DISPATCHER = no; then
6485 result=yes
6486 else
6487 result=no
6488 fi
6489 else
6490 result=$wxUSE_SELECT_DISPATCHER
6491 fi
6492
6493 { echo "$as_me:$LINENO: result: $result" >&5
6494 echo "${ECHO_T}$result" >&6; }
6495
6496
6497
6498 enablestring=
6499 defaultval=$wxUSE_ALL_FEATURES
6500 if test -z "$defaultval"; then
6501 if test x"$enablestring" = xdisable; then
6502 defaultval=yes
6503 else
6504 defaultval=no
6505 fi
6506 fi
6507
6508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6509 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6510 # Check whether --enable-any was given.
6511 if test "${enable_any+set}" = set; then
6512 enableval=$enable_any;
6513 if test "$enableval" = yes; then
6514 wx_cv_use_any='wxUSE_ANY=yes'
6515 else
6516 wx_cv_use_any='wxUSE_ANY=no'
6517 fi
6518
6519 else
6520
6521 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6522
6523 fi
6524
6525
6526 eval "$wx_cv_use_any"
6527
6528 if test x"$enablestring" = xdisable; then
6529 if test $wxUSE_ANY = no; then
6530 result=yes
6531 else
6532 result=no
6533 fi
6534 else
6535 result=$wxUSE_ANY
6536 fi
6537
6538 { echo "$as_me:$LINENO: result: $result" >&5
6539 echo "${ECHO_T}$result" >&6; }
6540
6541
6542 enablestring=
6543 defaultval=$wxUSE_ALL_FEATURES
6544 if test -z "$defaultval"; then
6545 if test x"$enablestring" = xdisable; then
6546 defaultval=yes
6547 else
6548 defaultval=no
6549 fi
6550 fi
6551
6552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6553 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6554 # Check whether --enable-apple_ieee was given.
6555 if test "${enable_apple_ieee+set}" = set; then
6556 enableval=$enable_apple_ieee;
6557 if test "$enableval" = yes; then
6558 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6559 else
6560 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6561 fi
6562
6563 else
6564
6565 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6566
6567 fi
6568
6569
6570 eval "$wx_cv_use_apple_ieee"
6571
6572 if test x"$enablestring" = xdisable; then
6573 if test $wxUSE_APPLE_IEEE = no; then
6574 result=yes
6575 else
6576 result=no
6577 fi
6578 else
6579 result=$wxUSE_APPLE_IEEE
6580 fi
6581
6582 { echo "$as_me:$LINENO: result: $result" >&5
6583 echo "${ECHO_T}$result" >&6; }
6584
6585
6586 enablestring=
6587 defaultval=$wxUSE_ALL_FEATURES
6588 if test -z "$defaultval"; then
6589 if test x"$enablestring" = xdisable; then
6590 defaultval=yes
6591 else
6592 defaultval=no
6593 fi
6594 fi
6595
6596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6597 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6598 # Check whether --enable-arcstream was given.
6599 if test "${enable_arcstream+set}" = set; then
6600 enableval=$enable_arcstream;
6601 if test "$enableval" = yes; then
6602 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6603 else
6604 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6605 fi
6606
6607 else
6608
6609 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6610
6611 fi
6612
6613
6614 eval "$wx_cv_use_arcstream"
6615
6616 if test x"$enablestring" = xdisable; then
6617 if test $wxUSE_ARCHIVE_STREAMS = no; then
6618 result=yes
6619 else
6620 result=no
6621 fi
6622 else
6623 result=$wxUSE_ARCHIVE_STREAMS
6624 fi
6625
6626 { echo "$as_me:$LINENO: result: $result" >&5
6627 echo "${ECHO_T}$result" >&6; }
6628
6629
6630 enablestring=
6631 defaultval=$wxUSE_ALL_FEATURES
6632 if test -z "$defaultval"; then
6633 if test x"$enablestring" = xdisable; then
6634 defaultval=yes
6635 else
6636 defaultval=no
6637 fi
6638 fi
6639
6640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6641 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6642 # Check whether --enable-base64 was given.
6643 if test "${enable_base64+set}" = set; then
6644 enableval=$enable_base64;
6645 if test "$enableval" = yes; then
6646 wx_cv_use_base64='wxUSE_BASE64=yes'
6647 else
6648 wx_cv_use_base64='wxUSE_BASE64=no'
6649 fi
6650
6651 else
6652
6653 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6654
6655 fi
6656
6657
6658 eval "$wx_cv_use_base64"
6659
6660 if test x"$enablestring" = xdisable; then
6661 if test $wxUSE_BASE64 = no; then
6662 result=yes
6663 else
6664 result=no
6665 fi
6666 else
6667 result=$wxUSE_BASE64
6668 fi
6669
6670 { echo "$as_me:$LINENO: result: $result" >&5
6671 echo "${ECHO_T}$result" >&6; }
6672
6673
6674 enablestring=
6675 defaultval=$wxUSE_ALL_FEATURES
6676 if test -z "$defaultval"; then
6677 if test x"$enablestring" = xdisable; then
6678 defaultval=yes
6679 else
6680 defaultval=no
6681 fi
6682 fi
6683
6684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6685 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6686 # Check whether --enable-backtrace was given.
6687 if test "${enable_backtrace+set}" = set; then
6688 enableval=$enable_backtrace;
6689 if test "$enableval" = yes; then
6690 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6691 else
6692 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6693 fi
6694
6695 else
6696
6697 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6698
6699 fi
6700
6701
6702 eval "$wx_cv_use_backtrace"
6703
6704 if test x"$enablestring" = xdisable; then
6705 if test $wxUSE_STACKWALKER = no; then
6706 result=yes
6707 else
6708 result=no
6709 fi
6710 else
6711 result=$wxUSE_STACKWALKER
6712 fi
6713
6714 { echo "$as_me:$LINENO: result: $result" >&5
6715 echo "${ECHO_T}$result" >&6; }
6716
6717
6718 enablestring=
6719 defaultval=$wxUSE_ALL_FEATURES
6720 if test -z "$defaultval"; then
6721 if test x"$enablestring" = xdisable; then
6722 defaultval=yes
6723 else
6724 defaultval=no
6725 fi
6726 fi
6727
6728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6729 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6730 # Check whether --enable-catch_segvs was given.
6731 if test "${enable_catch_segvs+set}" = set; then
6732 enableval=$enable_catch_segvs;
6733 if test "$enableval" = yes; then
6734 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6735 else
6736 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6737 fi
6738
6739 else
6740
6741 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6742
6743 fi
6744
6745
6746 eval "$wx_cv_use_catch_segvs"
6747
6748 if test x"$enablestring" = xdisable; then
6749 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6750 result=yes
6751 else
6752 result=no
6753 fi
6754 else
6755 result=$wxUSE_ON_FATAL_EXCEPTION
6756 fi
6757
6758 { echo "$as_me:$LINENO: result: $result" >&5
6759 echo "${ECHO_T}$result" >&6; }
6760
6761
6762 enablestring=
6763 defaultval=$wxUSE_ALL_FEATURES
6764 if test -z "$defaultval"; then
6765 if test x"$enablestring" = xdisable; then
6766 defaultval=yes
6767 else
6768 defaultval=no
6769 fi
6770 fi
6771
6772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6773 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6774 # Check whether --enable-cmdline was given.
6775 if test "${enable_cmdline+set}" = set; then
6776 enableval=$enable_cmdline;
6777 if test "$enableval" = yes; then
6778 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6779 else
6780 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6781 fi
6782
6783 else
6784
6785 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6786
6787 fi
6788
6789
6790 eval "$wx_cv_use_cmdline"
6791
6792 if test x"$enablestring" = xdisable; then
6793 if test $wxUSE_CMDLINE_PARSER = no; then
6794 result=yes
6795 else
6796 result=no
6797 fi
6798 else
6799 result=$wxUSE_CMDLINE_PARSER
6800 fi
6801
6802 { echo "$as_me:$LINENO: result: $result" >&5
6803 echo "${ECHO_T}$result" >&6; }
6804
6805
6806 enablestring=
6807 defaultval=$wxUSE_ALL_FEATURES
6808 if test -z "$defaultval"; then
6809 if test x"$enablestring" = xdisable; then
6810 defaultval=yes
6811 else
6812 defaultval=no
6813 fi
6814 fi
6815
6816 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6817 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6818 # Check whether --enable-datetime was given.
6819 if test "${enable_datetime+set}" = set; then
6820 enableval=$enable_datetime;
6821 if test "$enableval" = yes; then
6822 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6823 else
6824 wx_cv_use_datetime='wxUSE_DATETIME=no'
6825 fi
6826
6827 else
6828
6829 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6830
6831 fi
6832
6833
6834 eval "$wx_cv_use_datetime"
6835
6836 if test x"$enablestring" = xdisable; then
6837 if test $wxUSE_DATETIME = no; then
6838 result=yes
6839 else
6840 result=no
6841 fi
6842 else
6843 result=$wxUSE_DATETIME
6844 fi
6845
6846 { echo "$as_me:$LINENO: result: $result" >&5
6847 echo "${ECHO_T}$result" >&6; }
6848
6849
6850 enablestring=
6851 defaultval=$wxUSE_ALL_FEATURES
6852 if test -z "$defaultval"; then
6853 if test x"$enablestring" = xdisable; then
6854 defaultval=yes
6855 else
6856 defaultval=no
6857 fi
6858 fi
6859
6860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6861 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6862 # Check whether --enable-debugreport was given.
6863 if test "${enable_debugreport+set}" = set; then
6864 enableval=$enable_debugreport;
6865 if test "$enableval" = yes; then
6866 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6867 else
6868 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6869 fi
6870
6871 else
6872
6873 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6874
6875 fi
6876
6877
6878 eval "$wx_cv_use_debugreport"
6879
6880 if test x"$enablestring" = xdisable; then
6881 if test $wxUSE_DEBUGREPORT = no; then
6882 result=yes
6883 else
6884 result=no
6885 fi
6886 else
6887 result=$wxUSE_DEBUGREPORT
6888 fi
6889
6890 { echo "$as_me:$LINENO: result: $result" >&5
6891 echo "${ECHO_T}$result" >&6; }
6892
6893
6894 enablestring=
6895 defaultval=$wxUSE_ALL_FEATURES
6896 if test -z "$defaultval"; then
6897 if test x"$enablestring" = xdisable; then
6898 defaultval=yes
6899 else
6900 defaultval=no
6901 fi
6902 fi
6903
6904 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6905 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6906 # Check whether --enable-dialupman was given.
6907 if test "${enable_dialupman+set}" = set; then
6908 enableval=$enable_dialupman;
6909 if test "$enableval" = yes; then
6910 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6911 else
6912 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6913 fi
6914
6915 else
6916
6917 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6918
6919 fi
6920
6921
6922 eval "$wx_cv_use_dialupman"
6923
6924 if test x"$enablestring" = xdisable; then
6925 if test $wxUSE_DIALUP_MANAGER = no; then
6926 result=yes
6927 else
6928 result=no
6929 fi
6930 else
6931 result=$wxUSE_DIALUP_MANAGER
6932 fi
6933
6934 { echo "$as_me:$LINENO: result: $result" >&5
6935 echo "${ECHO_T}$result" >&6; }
6936
6937
6938 enablestring=
6939 defaultval=$wxUSE_ALL_FEATURES
6940 if test -z "$defaultval"; then
6941 if test x"$enablestring" = xdisable; then
6942 defaultval=yes
6943 else
6944 defaultval=no
6945 fi
6946 fi
6947
6948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6949 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6950 # Check whether --enable-dynlib was given.
6951 if test "${enable_dynlib+set}" = set; then
6952 enableval=$enable_dynlib;
6953 if test "$enableval" = yes; then
6954 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6955 else
6956 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6957 fi
6958
6959 else
6960
6961 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6962
6963 fi
6964
6965
6966 eval "$wx_cv_use_dynlib"
6967
6968 if test x"$enablestring" = xdisable; then
6969 if test $wxUSE_DYNLIB_CLASS = no; then
6970 result=yes
6971 else
6972 result=no
6973 fi
6974 else
6975 result=$wxUSE_DYNLIB_CLASS
6976 fi
6977
6978 { echo "$as_me:$LINENO: result: $result" >&5
6979 echo "${ECHO_T}$result" >&6; }
6980
6981
6982 enablestring=
6983 defaultval=$wxUSE_ALL_FEATURES
6984 if test -z "$defaultval"; then
6985 if test x"$enablestring" = xdisable; then
6986 defaultval=yes
6987 else
6988 defaultval=no
6989 fi
6990 fi
6991
6992 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6993 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6994 # Check whether --enable-dynamicloader was given.
6995 if test "${enable_dynamicloader+set}" = set; then
6996 enableval=$enable_dynamicloader;
6997 if test "$enableval" = yes; then
6998 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6999 else
7000 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7001 fi
7002
7003 else
7004
7005 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7006
7007 fi
7008
7009
7010 eval "$wx_cv_use_dynamicloader"
7011
7012 if test x"$enablestring" = xdisable; then
7013 if test $wxUSE_DYNAMIC_LOADER = no; then
7014 result=yes
7015 else
7016 result=no
7017 fi
7018 else
7019 result=$wxUSE_DYNAMIC_LOADER
7020 fi
7021
7022 { echo "$as_me:$LINENO: result: $result" >&5
7023 echo "${ECHO_T}$result" >&6; }
7024
7025
7026 enablestring=
7027 defaultval=$wxUSE_ALL_FEATURES
7028 if test -z "$defaultval"; then
7029 if test x"$enablestring" = xdisable; then
7030 defaultval=yes
7031 else
7032 defaultval=no
7033 fi
7034 fi
7035
7036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7037 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7038 # Check whether --enable-exceptions was given.
7039 if test "${enable_exceptions+set}" = set; then
7040 enableval=$enable_exceptions;
7041 if test "$enableval" = yes; then
7042 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7043 else
7044 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7045 fi
7046
7047 else
7048
7049 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7050
7051 fi
7052
7053
7054 eval "$wx_cv_use_exceptions"
7055
7056 if test x"$enablestring" = xdisable; then
7057 if test $wxUSE_EXCEPTIONS = no; then
7058 result=yes
7059 else
7060 result=no
7061 fi
7062 else
7063 result=$wxUSE_EXCEPTIONS
7064 fi
7065
7066 { echo "$as_me:$LINENO: result: $result" >&5
7067 echo "${ECHO_T}$result" >&6; }
7068
7069
7070 enablestring=
7071 defaultval=$wxUSE_ALL_FEATURES
7072 if test -z "$defaultval"; then
7073 if test x"$enablestring" = xdisable; then
7074 defaultval=yes
7075 else
7076 defaultval=no
7077 fi
7078 fi
7079
7080 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7081 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7082 # Check whether --enable-ffile was given.
7083 if test "${enable_ffile+set}" = set; then
7084 enableval=$enable_ffile;
7085 if test "$enableval" = yes; then
7086 wx_cv_use_ffile='wxUSE_FFILE=yes'
7087 else
7088 wx_cv_use_ffile='wxUSE_FFILE=no'
7089 fi
7090
7091 else
7092
7093 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7094
7095 fi
7096
7097
7098 eval "$wx_cv_use_ffile"
7099
7100 if test x"$enablestring" = xdisable; then
7101 if test $wxUSE_FFILE = no; then
7102 result=yes
7103 else
7104 result=no
7105 fi
7106 else
7107 result=$wxUSE_FFILE
7108 fi
7109
7110 { echo "$as_me:$LINENO: result: $result" >&5
7111 echo "${ECHO_T}$result" >&6; }
7112
7113
7114 enablestring=
7115 defaultval=$wxUSE_ALL_FEATURES
7116 if test -z "$defaultval"; then
7117 if test x"$enablestring" = xdisable; then
7118 defaultval=yes
7119 else
7120 defaultval=no
7121 fi
7122 fi
7123
7124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7125 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7126 # Check whether --enable-file was given.
7127 if test "${enable_file+set}" = set; then
7128 enableval=$enable_file;
7129 if test "$enableval" = yes; then
7130 wx_cv_use_file='wxUSE_FILE=yes'
7131 else
7132 wx_cv_use_file='wxUSE_FILE=no'
7133 fi
7134
7135 else
7136
7137 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7138
7139 fi
7140
7141
7142 eval "$wx_cv_use_file"
7143
7144 if test x"$enablestring" = xdisable; then
7145 if test $wxUSE_FILE = no; then
7146 result=yes
7147 else
7148 result=no
7149 fi
7150 else
7151 result=$wxUSE_FILE
7152 fi
7153
7154 { echo "$as_me:$LINENO: result: $result" >&5
7155 echo "${ECHO_T}$result" >&6; }
7156
7157
7158 enablestring=
7159 defaultval=$wxUSE_ALL_FEATURES
7160 if test -z "$defaultval"; then
7161 if test x"$enablestring" = xdisable; then
7162 defaultval=yes
7163 else
7164 defaultval=no
7165 fi
7166 fi
7167
7168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7169 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7170 # Check whether --enable-filehistory was given.
7171 if test "${enable_filehistory+set}" = set; then
7172 enableval=$enable_filehistory;
7173 if test "$enableval" = yes; then
7174 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
7175 else
7176 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
7177 fi
7178
7179 else
7180
7181 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7182
7183 fi
7184
7185
7186 eval "$wx_cv_use_filehistory"
7187
7188 if test x"$enablestring" = xdisable; then
7189 if test $wxUSE_FILE_HISTORY = no; then
7190 result=yes
7191 else
7192 result=no
7193 fi
7194 else
7195 result=$wxUSE_FILE_HISTORY
7196 fi
7197
7198 { echo "$as_me:$LINENO: result: $result" >&5
7199 echo "${ECHO_T}$result" >&6; }
7200
7201
7202 enablestring=
7203 defaultval=$wxUSE_ALL_FEATURES
7204 if test -z "$defaultval"; then
7205 if test x"$enablestring" = xdisable; then
7206 defaultval=yes
7207 else
7208 defaultval=no
7209 fi
7210 fi
7211
7212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7213 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7214 # Check whether --enable-filesystem was given.
7215 if test "${enable_filesystem+set}" = set; then
7216 enableval=$enable_filesystem;
7217 if test "$enableval" = yes; then
7218 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7219 else
7220 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7221 fi
7222
7223 else
7224
7225 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7226
7227 fi
7228
7229
7230 eval "$wx_cv_use_filesystem"
7231
7232 if test x"$enablestring" = xdisable; then
7233 if test $wxUSE_FILESYSTEM = no; then
7234 result=yes
7235 else
7236 result=no
7237 fi
7238 else
7239 result=$wxUSE_FILESYSTEM
7240 fi
7241
7242 { echo "$as_me:$LINENO: result: $result" >&5
7243 echo "${ECHO_T}$result" >&6; }
7244
7245
7246 enablestring=
7247 defaultval=$wxUSE_ALL_FEATURES
7248 if test -z "$defaultval"; then
7249 if test x"$enablestring" = xdisable; then
7250 defaultval=yes
7251 else
7252 defaultval=no
7253 fi
7254 fi
7255
7256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7257 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7258 # Check whether --enable-fontenum was given.
7259 if test "${enable_fontenum+set}" = set; then
7260 enableval=$enable_fontenum;
7261 if test "$enableval" = yes; then
7262 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7263 else
7264 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7265 fi
7266
7267 else
7268
7269 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7270
7271 fi
7272
7273
7274 eval "$wx_cv_use_fontenum"
7275
7276 if test x"$enablestring" = xdisable; then
7277 if test $wxUSE_FONTENUM = no; then
7278 result=yes
7279 else
7280 result=no
7281 fi
7282 else
7283 result=$wxUSE_FONTENUM
7284 fi
7285
7286 { echo "$as_me:$LINENO: result: $result" >&5
7287 echo "${ECHO_T}$result" >&6; }
7288
7289
7290 enablestring=
7291 defaultval=$wxUSE_ALL_FEATURES
7292 if test -z "$defaultval"; then
7293 if test x"$enablestring" = xdisable; then
7294 defaultval=yes
7295 else
7296 defaultval=no
7297 fi
7298 fi
7299
7300 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7301 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7302 # Check whether --enable-fontmap was given.
7303 if test "${enable_fontmap+set}" = set; then
7304 enableval=$enable_fontmap;
7305 if test "$enableval" = yes; then
7306 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7307 else
7308 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7309 fi
7310
7311 else
7312
7313 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7314
7315 fi
7316
7317
7318 eval "$wx_cv_use_fontmap"
7319
7320 if test x"$enablestring" = xdisable; then
7321 if test $wxUSE_FONTMAP = no; then
7322 result=yes
7323 else
7324 result=no
7325 fi
7326 else
7327 result=$wxUSE_FONTMAP
7328 fi
7329
7330 { echo "$as_me:$LINENO: result: $result" >&5
7331 echo "${ECHO_T}$result" >&6; }
7332
7333
7334 enablestring=
7335 defaultval=$wxUSE_ALL_FEATURES
7336 if test -z "$defaultval"; then
7337 if test x"$enablestring" = xdisable; then
7338 defaultval=yes
7339 else
7340 defaultval=no
7341 fi
7342 fi
7343
7344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7345 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7346 # Check whether --enable-fs_archive was given.
7347 if test "${enable_fs_archive+set}" = set; then
7348 enableval=$enable_fs_archive;
7349 if test "$enableval" = yes; then
7350 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7351 else
7352 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7353 fi
7354
7355 else
7356
7357 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7358
7359 fi
7360
7361
7362 eval "$wx_cv_use_fs_archive"
7363
7364 if test x"$enablestring" = xdisable; then
7365 if test $wxUSE_FS_ARCHIVE = no; then
7366 result=yes
7367 else
7368 result=no
7369 fi
7370 else
7371 result=$wxUSE_FS_ARCHIVE
7372 fi
7373
7374 { echo "$as_me:$LINENO: result: $result" >&5
7375 echo "${ECHO_T}$result" >&6; }
7376
7377
7378 enablestring=
7379 defaultval=$wxUSE_ALL_FEATURES
7380 if test -z "$defaultval"; then
7381 if test x"$enablestring" = xdisable; then
7382 defaultval=yes
7383 else
7384 defaultval=no
7385 fi
7386 fi
7387
7388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7389 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7390 # Check whether --enable-fs_inet was given.
7391 if test "${enable_fs_inet+set}" = set; then
7392 enableval=$enable_fs_inet;
7393 if test "$enableval" = yes; then
7394 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7395 else
7396 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7397 fi
7398
7399 else
7400
7401 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7402
7403 fi
7404
7405
7406 eval "$wx_cv_use_fs_inet"
7407
7408 if test x"$enablestring" = xdisable; then
7409 if test $wxUSE_FS_INET = no; then
7410 result=yes
7411 else
7412 result=no
7413 fi
7414 else
7415 result=$wxUSE_FS_INET
7416 fi
7417
7418 { echo "$as_me:$LINENO: result: $result" >&5
7419 echo "${ECHO_T}$result" >&6; }
7420
7421
7422 enablestring=
7423 defaultval=$wxUSE_ALL_FEATURES
7424 if test -z "$defaultval"; then
7425 if test x"$enablestring" = xdisable; then
7426 defaultval=yes
7427 else
7428 defaultval=no
7429 fi
7430 fi
7431
7432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7433 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7434 # Check whether --enable-fs_zip was given.
7435 if test "${enable_fs_zip+set}" = set; then
7436 enableval=$enable_fs_zip;
7437 if test "$enableval" = yes; then
7438 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7439 else
7440 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7441 fi
7442
7443 else
7444
7445 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7446
7447 fi
7448
7449
7450 eval "$wx_cv_use_fs_zip"
7451
7452 if test x"$enablestring" = xdisable; then
7453 if test $wxUSE_FS_ZIP = no; then
7454 result=yes
7455 else
7456 result=no
7457 fi
7458 else
7459 result=$wxUSE_FS_ZIP
7460 fi
7461
7462 { echo "$as_me:$LINENO: result: $result" >&5
7463 echo "${ECHO_T}$result" >&6; }
7464
7465
7466 enablestring=
7467 defaultval=$wxUSE_ALL_FEATURES
7468 if test -z "$defaultval"; then
7469 if test x"$enablestring" = xdisable; then
7470 defaultval=yes
7471 else
7472 defaultval=no
7473 fi
7474 fi
7475
7476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7477 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7478 # Check whether --enable-fswatcher was given.
7479 if test "${enable_fswatcher+set}" = set; then
7480 enableval=$enable_fswatcher;
7481 if test "$enableval" = yes; then
7482 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7483 else
7484 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7485 fi
7486
7487 else
7488
7489 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7490
7491 fi
7492
7493
7494 eval "$wx_cv_use_fswatcher"
7495
7496 if test x"$enablestring" = xdisable; then
7497 if test $wxUSE_FSWATCHER = no; then
7498 result=yes
7499 else
7500 result=no
7501 fi
7502 else
7503 result=$wxUSE_FSWATCHER
7504 fi
7505
7506 { echo "$as_me:$LINENO: result: $result" >&5
7507 echo "${ECHO_T}$result" >&6; }
7508
7509
7510 enablestring=
7511 defaultval=$wxUSE_ALL_FEATURES
7512 if test -z "$defaultval"; then
7513 if test x"$enablestring" = xdisable; then
7514 defaultval=yes
7515 else
7516 defaultval=no
7517 fi
7518 fi
7519
7520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7521 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7522 # Check whether --enable-geometry was given.
7523 if test "${enable_geometry+set}" = set; then
7524 enableval=$enable_geometry;
7525 if test "$enableval" = yes; then
7526 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7527 else
7528 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7529 fi
7530
7531 else
7532
7533 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7534
7535 fi
7536
7537
7538 eval "$wx_cv_use_geometry"
7539
7540 if test x"$enablestring" = xdisable; then
7541 if test $wxUSE_GEOMETRY = no; then
7542 result=yes
7543 else
7544 result=no
7545 fi
7546 else
7547 result=$wxUSE_GEOMETRY
7548 fi
7549
7550 { echo "$as_me:$LINENO: result: $result" >&5
7551 echo "${ECHO_T}$result" >&6; }
7552
7553
7554 enablestring=
7555 defaultval=$wxUSE_ALL_FEATURES
7556 if test -z "$defaultval"; then
7557 if test x"$enablestring" = xdisable; then
7558 defaultval=yes
7559 else
7560 defaultval=no
7561 fi
7562 fi
7563
7564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7565 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7566 # Check whether --enable-log was given.
7567 if test "${enable_log+set}" = set; then
7568 enableval=$enable_log;
7569 if test "$enableval" = yes; then
7570 wx_cv_use_log='wxUSE_LOG=yes'
7571 else
7572 wx_cv_use_log='wxUSE_LOG=no'
7573 fi
7574
7575 else
7576
7577 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7578
7579 fi
7580
7581
7582 eval "$wx_cv_use_log"
7583
7584 if test x"$enablestring" = xdisable; then
7585 if test $wxUSE_LOG = no; then
7586 result=yes
7587 else
7588 result=no
7589 fi
7590 else
7591 result=$wxUSE_LOG
7592 fi
7593
7594 { echo "$as_me:$LINENO: result: $result" >&5
7595 echo "${ECHO_T}$result" >&6; }
7596
7597
7598 enablestring=
7599 defaultval=$wxUSE_ALL_FEATURES
7600 if test -z "$defaultval"; then
7601 if test x"$enablestring" = xdisable; then
7602 defaultval=yes
7603 else
7604 defaultval=no
7605 fi
7606 fi
7607
7608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7609 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7610 # Check whether --enable-longlong was given.
7611 if test "${enable_longlong+set}" = set; then
7612 enableval=$enable_longlong;
7613 if test "$enableval" = yes; then
7614 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7615 else
7616 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7617 fi
7618
7619 else
7620
7621 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7622
7623 fi
7624
7625
7626 eval "$wx_cv_use_longlong"
7627
7628 if test x"$enablestring" = xdisable; then
7629 if test $wxUSE_LONGLONG = no; then
7630 result=yes
7631 else
7632 result=no
7633 fi
7634 else
7635 result=$wxUSE_LONGLONG
7636 fi
7637
7638 { echo "$as_me:$LINENO: result: $result" >&5
7639 echo "${ECHO_T}$result" >&6; }
7640
7641
7642 enablestring=
7643 defaultval=$wxUSE_ALL_FEATURES
7644 if test -z "$defaultval"; then
7645 if test x"$enablestring" = xdisable; then
7646 defaultval=yes
7647 else
7648 defaultval=no
7649 fi
7650 fi
7651
7652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7653 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7654 # Check whether --enable-mimetype was given.
7655 if test "${enable_mimetype+set}" = set; then
7656 enableval=$enable_mimetype;
7657 if test "$enableval" = yes; then
7658 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7659 else
7660 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7661 fi
7662
7663 else
7664
7665 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7666
7667 fi
7668
7669
7670 eval "$wx_cv_use_mimetype"
7671
7672 if test x"$enablestring" = xdisable; then
7673 if test $wxUSE_MIMETYPE = no; then
7674 result=yes
7675 else
7676 result=no
7677 fi
7678 else
7679 result=$wxUSE_MIMETYPE
7680 fi
7681
7682 { echo "$as_me:$LINENO: result: $result" >&5
7683 echo "${ECHO_T}$result" >&6; }
7684
7685
7686 enablestring=
7687 defaultval=$wxUSE_ALL_FEATURES
7688 if test -z "$defaultval"; then
7689 if test x"$enablestring" = xdisable; then
7690 defaultval=yes
7691 else
7692 defaultval=no
7693 fi
7694 fi
7695
7696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7697 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7698 # Check whether --enable-printfposparam was given.
7699 if test "${enable_printfposparam+set}" = set; then
7700 enableval=$enable_printfposparam;
7701 if test "$enableval" = yes; then
7702 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7703 else
7704 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7705 fi
7706
7707 else
7708
7709 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7710
7711 fi
7712
7713
7714 eval "$wx_cv_use_printfposparam"
7715
7716 if test x"$enablestring" = xdisable; then
7717 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7718 result=yes
7719 else
7720 result=no
7721 fi
7722 else
7723 result=$wxUSE_PRINTF_POS_PARAMS
7724 fi
7725
7726 { echo "$as_me:$LINENO: result: $result" >&5
7727 echo "${ECHO_T}$result" >&6; }
7728
7729
7730 enablestring=
7731 defaultval=$wxUSE_ALL_FEATURES
7732 if test -z "$defaultval"; then
7733 if test x"$enablestring" = xdisable; then
7734 defaultval=yes
7735 else
7736 defaultval=no
7737 fi
7738 fi
7739
7740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7741 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7742 # Check whether --enable-snglinst was given.
7743 if test "${enable_snglinst+set}" = set; then
7744 enableval=$enable_snglinst;
7745 if test "$enableval" = yes; then
7746 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7747 else
7748 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7749 fi
7750
7751 else
7752
7753 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7754
7755 fi
7756
7757
7758 eval "$wx_cv_use_snglinst"
7759
7760 if test x"$enablestring" = xdisable; then
7761 if test $wxUSE_SNGLINST_CHECKER = no; then
7762 result=yes
7763 else
7764 result=no
7765 fi
7766 else
7767 result=$wxUSE_SNGLINST_CHECKER
7768 fi
7769
7770 { echo "$as_me:$LINENO: result: $result" >&5
7771 echo "${ECHO_T}$result" >&6; }
7772
7773
7774 enablestring=
7775 defaultval=$wxUSE_ALL_FEATURES
7776 if test -z "$defaultval"; then
7777 if test x"$enablestring" = xdisable; then
7778 defaultval=yes
7779 else
7780 defaultval=no
7781 fi
7782 fi
7783
7784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7785 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7786 # Check whether --enable-sound was given.
7787 if test "${enable_sound+set}" = set; then
7788 enableval=$enable_sound;
7789 if test "$enableval" = yes; then
7790 wx_cv_use_sound='wxUSE_SOUND=yes'
7791 else
7792 wx_cv_use_sound='wxUSE_SOUND=no'
7793 fi
7794
7795 else
7796
7797 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7798
7799 fi
7800
7801
7802 eval "$wx_cv_use_sound"
7803
7804 if test x"$enablestring" = xdisable; then
7805 if test $wxUSE_SOUND = no; then
7806 result=yes
7807 else
7808 result=no
7809 fi
7810 else
7811 result=$wxUSE_SOUND
7812 fi
7813
7814 { echo "$as_me:$LINENO: result: $result" >&5
7815 echo "${ECHO_T}$result" >&6; }
7816
7817
7818 enablestring=
7819 defaultval=$wxUSE_ALL_FEATURES
7820 if test -z "$defaultval"; then
7821 if test x"$enablestring" = xdisable; then
7822 defaultval=yes
7823 else
7824 defaultval=no
7825 fi
7826 fi
7827
7828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7829 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7830 # Check whether --enable-stdpaths was given.
7831 if test "${enable_stdpaths+set}" = set; then
7832 enableval=$enable_stdpaths;
7833 if test "$enableval" = yes; then
7834 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7835 else
7836 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7837 fi
7838
7839 else
7840
7841 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7842
7843 fi
7844
7845
7846 eval "$wx_cv_use_stdpaths"
7847
7848 if test x"$enablestring" = xdisable; then
7849 if test $wxUSE_STDPATHS = no; then
7850 result=yes
7851 else
7852 result=no
7853 fi
7854 else
7855 result=$wxUSE_STDPATHS
7856 fi
7857
7858 { echo "$as_me:$LINENO: result: $result" >&5
7859 echo "${ECHO_T}$result" >&6; }
7860
7861
7862 enablestring=
7863 defaultval=$wxUSE_ALL_FEATURES
7864 if test -z "$defaultval"; then
7865 if test x"$enablestring" = xdisable; then
7866 defaultval=yes
7867 else
7868 defaultval=no
7869 fi
7870 fi
7871
7872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7873 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7874 # Check whether --enable-stopwatch was given.
7875 if test "${enable_stopwatch+set}" = set; then
7876 enableval=$enable_stopwatch;
7877 if test "$enableval" = yes; then
7878 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7879 else
7880 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7881 fi
7882
7883 else
7884
7885 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7886
7887 fi
7888
7889
7890 eval "$wx_cv_use_stopwatch"
7891
7892 if test x"$enablestring" = xdisable; then
7893 if test $wxUSE_STOPWATCH = no; then
7894 result=yes
7895 else
7896 result=no
7897 fi
7898 else
7899 result=$wxUSE_STOPWATCH
7900 fi
7901
7902 { echo "$as_me:$LINENO: result: $result" >&5
7903 echo "${ECHO_T}$result" >&6; }
7904
7905
7906 enablestring=
7907 defaultval=$wxUSE_ALL_FEATURES
7908 if test -z "$defaultval"; then
7909 if test x"$enablestring" = xdisable; then
7910 defaultval=yes
7911 else
7912 defaultval=no
7913 fi
7914 fi
7915
7916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7917 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7918 # Check whether --enable-streams was given.
7919 if test "${enable_streams+set}" = set; then
7920 enableval=$enable_streams;
7921 if test "$enableval" = yes; then
7922 wx_cv_use_streams='wxUSE_STREAMS=yes'
7923 else
7924 wx_cv_use_streams='wxUSE_STREAMS=no'
7925 fi
7926
7927 else
7928
7929 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7930
7931 fi
7932
7933
7934 eval "$wx_cv_use_streams"
7935
7936 if test x"$enablestring" = xdisable; then
7937 if test $wxUSE_STREAMS = no; then
7938 result=yes
7939 else
7940 result=no
7941 fi
7942 else
7943 result=$wxUSE_STREAMS
7944 fi
7945
7946 { echo "$as_me:$LINENO: result: $result" >&5
7947 echo "${ECHO_T}$result" >&6; }
7948
7949
7950 enablestring=
7951 defaultval=$wxUSE_ALL_FEATURES
7952 if test -z "$defaultval"; then
7953 if test x"$enablestring" = xdisable; then
7954 defaultval=yes
7955 else
7956 defaultval=no
7957 fi
7958 fi
7959
7960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7961 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7962 # Check whether --enable-sysoptions was given.
7963 if test "${enable_sysoptions+set}" = set; then
7964 enableval=$enable_sysoptions;
7965 if test "$enableval" = yes; then
7966 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
7967 else
7968 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
7969 fi
7970
7971 else
7972
7973 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7974
7975 fi
7976
7977
7978 eval "$wx_cv_use_sysoptions"
7979
7980 if test x"$enablestring" = xdisable; then
7981 if test $wxUSE_SYSTEM_OPTIONS = no; then
7982 result=yes
7983 else
7984 result=no
7985 fi
7986 else
7987 result=$wxUSE_SYSTEM_OPTIONS
7988 fi
7989
7990 { echo "$as_me:$LINENO: result: $result" >&5
7991 echo "${ECHO_T}$result" >&6; }
7992
7993
7994 enablestring=
7995 defaultval=$wxUSE_ALL_FEATURES
7996 if test -z "$defaultval"; then
7997 if test x"$enablestring" = xdisable; then
7998 defaultval=yes
7999 else
8000 defaultval=no
8001 fi
8002 fi
8003
8004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8005 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8006 # Check whether --enable-tarstream was given.
8007 if test "${enable_tarstream+set}" = set; then
8008 enableval=$enable_tarstream;
8009 if test "$enableval" = yes; then
8010 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8011 else
8012 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8013 fi
8014
8015 else
8016
8017 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8018
8019 fi
8020
8021
8022 eval "$wx_cv_use_tarstream"
8023
8024 if test x"$enablestring" = xdisable; then
8025 if test $wxUSE_TARSTREAM = no; then
8026 result=yes
8027 else
8028 result=no
8029 fi
8030 else
8031 result=$wxUSE_TARSTREAM
8032 fi
8033
8034 { echo "$as_me:$LINENO: result: $result" >&5
8035 echo "${ECHO_T}$result" >&6; }
8036
8037
8038 enablestring=
8039 defaultval=$wxUSE_ALL_FEATURES
8040 if test -z "$defaultval"; then
8041 if test x"$enablestring" = xdisable; then
8042 defaultval=yes
8043 else
8044 defaultval=no
8045 fi
8046 fi
8047
8048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8049 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8050 # Check whether --enable-textbuf was given.
8051 if test "${enable_textbuf+set}" = set; then
8052 enableval=$enable_textbuf;
8053 if test "$enableval" = yes; then
8054 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8055 else
8056 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8057 fi
8058
8059 else
8060
8061 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8062
8063 fi
8064
8065
8066 eval "$wx_cv_use_textbuf"
8067
8068 if test x"$enablestring" = xdisable; then
8069 if test $wxUSE_TEXTBUFFER = no; then
8070 result=yes
8071 else
8072 result=no
8073 fi
8074 else
8075 result=$wxUSE_TEXTBUFFER
8076 fi
8077
8078 { echo "$as_me:$LINENO: result: $result" >&5
8079 echo "${ECHO_T}$result" >&6; }
8080
8081
8082 enablestring=
8083 defaultval=$wxUSE_ALL_FEATURES
8084 if test -z "$defaultval"; then
8085 if test x"$enablestring" = xdisable; then
8086 defaultval=yes
8087 else
8088 defaultval=no
8089 fi
8090 fi
8091
8092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8093 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8094 # Check whether --enable-textfile was given.
8095 if test "${enable_textfile+set}" = set; then
8096 enableval=$enable_textfile;
8097 if test "$enableval" = yes; then
8098 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8099 else
8100 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8101 fi
8102
8103 else
8104
8105 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8106
8107 fi
8108
8109
8110 eval "$wx_cv_use_textfile"
8111
8112 if test x"$enablestring" = xdisable; then
8113 if test $wxUSE_TEXTFILE = no; then
8114 result=yes
8115 else
8116 result=no
8117 fi
8118 else
8119 result=$wxUSE_TEXTFILE
8120 fi
8121
8122 { echo "$as_me:$LINENO: result: $result" >&5
8123 echo "${ECHO_T}$result" >&6; }
8124
8125
8126 enablestring=
8127 defaultval=$wxUSE_ALL_FEATURES
8128 if test -z "$defaultval"; then
8129 if test x"$enablestring" = xdisable; then
8130 defaultval=yes
8131 else
8132 defaultval=no
8133 fi
8134 fi
8135
8136 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8137 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8138 # Check whether --enable-timer was given.
8139 if test "${enable_timer+set}" = set; then
8140 enableval=$enable_timer;
8141 if test "$enableval" = yes; then
8142 wx_cv_use_timer='wxUSE_TIMER=yes'
8143 else
8144 wx_cv_use_timer='wxUSE_TIMER=no'
8145 fi
8146
8147 else
8148
8149 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8150
8151 fi
8152
8153
8154 eval "$wx_cv_use_timer"
8155
8156 if test x"$enablestring" = xdisable; then
8157 if test $wxUSE_TIMER = no; then
8158 result=yes
8159 else
8160 result=no
8161 fi
8162 else
8163 result=$wxUSE_TIMER
8164 fi
8165
8166 { echo "$as_me:$LINENO: result: $result" >&5
8167 echo "${ECHO_T}$result" >&6; }
8168
8169
8170 enablestring=
8171 defaultval=$wxUSE_ALL_FEATURES
8172 if test -z "$defaultval"; then
8173 if test x"$enablestring" = xdisable; then
8174 defaultval=yes
8175 else
8176 defaultval=no
8177 fi
8178 fi
8179
8180 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8181 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8182 # Check whether --enable-variant was given.
8183 if test "${enable_variant+set}" = set; then
8184 enableval=$enable_variant;
8185 if test "$enableval" = yes; then
8186 wx_cv_use_variant='wxUSE_VARIANT=yes'
8187 else
8188 wx_cv_use_variant='wxUSE_VARIANT=no'
8189 fi
8190
8191 else
8192
8193 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8194
8195 fi
8196
8197
8198 eval "$wx_cv_use_variant"
8199
8200 if test x"$enablestring" = xdisable; then
8201 if test $wxUSE_VARIANT = no; then
8202 result=yes
8203 else
8204 result=no
8205 fi
8206 else
8207 result=$wxUSE_VARIANT
8208 fi
8209
8210 { echo "$as_me:$LINENO: result: $result" >&5
8211 echo "${ECHO_T}$result" >&6; }
8212
8213
8214 enablestring=
8215 defaultval=$wxUSE_ALL_FEATURES
8216 if test -z "$defaultval"; then
8217 if test x"$enablestring" = xdisable; then
8218 defaultval=yes
8219 else
8220 defaultval=no
8221 fi
8222 fi
8223
8224 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8225 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8226 # Check whether --enable-zipstream was given.
8227 if test "${enable_zipstream+set}" = set; then
8228 enableval=$enable_zipstream;
8229 if test "$enableval" = yes; then
8230 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8231 else
8232 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8233 fi
8234
8235 else
8236
8237 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8238
8239 fi
8240
8241
8242 eval "$wx_cv_use_zipstream"
8243
8244 if test x"$enablestring" = xdisable; then
8245 if test $wxUSE_ZIPSTREAM = no; then
8246 result=yes
8247 else
8248 result=no
8249 fi
8250 else
8251 result=$wxUSE_ZIPSTREAM
8252 fi
8253
8254 { echo "$as_me:$LINENO: result: $result" >&5
8255 echo "${ECHO_T}$result" >&6; }
8256
8257
8258
8259 enablestring=
8260 defaultval=$wxUSE_ALL_FEATURES
8261 if test -z "$defaultval"; then
8262 if test x"$enablestring" = xdisable; then
8263 defaultval=yes
8264 else
8265 defaultval=no
8266 fi
8267 fi
8268
8269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8270 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8271 # Check whether --enable-url was given.
8272 if test "${enable_url+set}" = set; then
8273 enableval=$enable_url;
8274 if test "$enableval" = yes; then
8275 wx_cv_use_url='wxUSE_URL=yes'
8276 else
8277 wx_cv_use_url='wxUSE_URL=no'
8278 fi
8279
8280 else
8281
8282 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8283
8284 fi
8285
8286
8287 eval "$wx_cv_use_url"
8288
8289 if test x"$enablestring" = xdisable; then
8290 if test $wxUSE_URL = no; then
8291 result=yes
8292 else
8293 result=no
8294 fi
8295 else
8296 result=$wxUSE_URL
8297 fi
8298
8299 { echo "$as_me:$LINENO: result: $result" >&5
8300 echo "${ECHO_T}$result" >&6; }
8301
8302
8303 enablestring=
8304 defaultval=$wxUSE_ALL_FEATURES
8305 if test -z "$defaultval"; then
8306 if test x"$enablestring" = xdisable; then
8307 defaultval=yes
8308 else
8309 defaultval=no
8310 fi
8311 fi
8312
8313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8314 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8315 # Check whether --enable-protocol was given.
8316 if test "${enable_protocol+set}" = set; then
8317 enableval=$enable_protocol;
8318 if test "$enableval" = yes; then
8319 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8320 else
8321 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8322 fi
8323
8324 else
8325
8326 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8327
8328 fi
8329
8330
8331 eval "$wx_cv_use_protocol"
8332
8333 if test x"$enablestring" = xdisable; then
8334 if test $wxUSE_PROTOCOL = no; then
8335 result=yes
8336 else
8337 result=no
8338 fi
8339 else
8340 result=$wxUSE_PROTOCOL
8341 fi
8342
8343 { echo "$as_me:$LINENO: result: $result" >&5
8344 echo "${ECHO_T}$result" >&6; }
8345
8346
8347 enablestring=
8348 defaultval=$wxUSE_ALL_FEATURES
8349 if test -z "$defaultval"; then
8350 if test x"$enablestring" = xdisable; then
8351 defaultval=yes
8352 else
8353 defaultval=no
8354 fi
8355 fi
8356
8357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8358 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8359 # Check whether --enable-protocol_http was given.
8360 if test "${enable_protocol_http+set}" = set; then
8361 enableval=$enable_protocol_http;
8362 if test "$enableval" = yes; then
8363 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8364 else
8365 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8366 fi
8367
8368 else
8369
8370 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8371
8372 fi
8373
8374
8375 eval "$wx_cv_use_protocol_http"
8376
8377 if test x"$enablestring" = xdisable; then
8378 if test $wxUSE_PROTOCOL_HTTP = no; then
8379 result=yes
8380 else
8381 result=no
8382 fi
8383 else
8384 result=$wxUSE_PROTOCOL_HTTP
8385 fi
8386
8387 { echo "$as_me:$LINENO: result: $result" >&5
8388 echo "${ECHO_T}$result" >&6; }
8389
8390
8391 enablestring=
8392 defaultval=$wxUSE_ALL_FEATURES
8393 if test -z "$defaultval"; then
8394 if test x"$enablestring" = xdisable; then
8395 defaultval=yes
8396 else
8397 defaultval=no
8398 fi
8399 fi
8400
8401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8402 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8403 # Check whether --enable-protocol_ftp was given.
8404 if test "${enable_protocol_ftp+set}" = set; then
8405 enableval=$enable_protocol_ftp;
8406 if test "$enableval" = yes; then
8407 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8408 else
8409 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8410 fi
8411
8412 else
8413
8414 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8415
8416 fi
8417
8418
8419 eval "$wx_cv_use_protocol_ftp"
8420
8421 if test x"$enablestring" = xdisable; then
8422 if test $wxUSE_PROTOCOL_FTP = no; then
8423 result=yes
8424 else
8425 result=no
8426 fi
8427 else
8428 result=$wxUSE_PROTOCOL_FTP
8429 fi
8430
8431 { echo "$as_me:$LINENO: result: $result" >&5
8432 echo "${ECHO_T}$result" >&6; }
8433
8434
8435 enablestring=
8436 defaultval=$wxUSE_ALL_FEATURES
8437 if test -z "$defaultval"; then
8438 if test x"$enablestring" = xdisable; then
8439 defaultval=yes
8440 else
8441 defaultval=no
8442 fi
8443 fi
8444
8445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8446 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8447 # Check whether --enable-protocol_file was given.
8448 if test "${enable_protocol_file+set}" = set; then
8449 enableval=$enable_protocol_file;
8450 if test "$enableval" = yes; then
8451 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8452 else
8453 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8454 fi
8455
8456 else
8457
8458 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8459
8460 fi
8461
8462
8463 eval "$wx_cv_use_protocol_file"
8464
8465 if test x"$enablestring" = xdisable; then
8466 if test $wxUSE_PROTOCOL_FILE = no; then
8467 result=yes
8468 else
8469 result=no
8470 fi
8471 else
8472 result=$wxUSE_PROTOCOL_FILE
8473 fi
8474
8475 { echo "$as_me:$LINENO: result: $result" >&5
8476 echo "${ECHO_T}$result" >&6; }
8477
8478
8479
8480 enablestring=
8481 defaultval=$wxUSE_ALL_FEATURES
8482 if test -z "$defaultval"; then
8483 if test x"$enablestring" = xdisable; then
8484 defaultval=yes
8485 else
8486 defaultval=no
8487 fi
8488 fi
8489
8490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8491 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8492 # Check whether --enable-threads was given.
8493 if test "${enable_threads+set}" = set; then
8494 enableval=$enable_threads;
8495 if test "$enableval" = yes; then
8496 wx_cv_use_threads='wxUSE_THREADS=yes'
8497 else
8498 wx_cv_use_threads='wxUSE_THREADS=no'
8499 fi
8500
8501 else
8502
8503 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8504
8505 fi
8506
8507
8508 eval "$wx_cv_use_threads"
8509
8510 if test x"$enablestring" = xdisable; then
8511 if test $wxUSE_THREADS = no; then
8512 result=yes
8513 else
8514 result=no
8515 fi
8516 else
8517 result=$wxUSE_THREADS
8518 fi
8519
8520 { echo "$as_me:$LINENO: result: $result" >&5
8521 echo "${ECHO_T}$result" >&6; }
8522
8523
8524
8525 enablestring=
8526 defaultval=
8527 if test -z "$defaultval"; then
8528 if test x"$enablestring" = xdisable; then
8529 defaultval=yes
8530 else
8531 defaultval=no
8532 fi
8533 fi
8534
8535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8536 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8537 # Check whether --enable-iniconf was given.
8538 if test "${enable_iniconf+set}" = set; then
8539 enableval=$enable_iniconf;
8540 if test "$enableval" = yes; then
8541 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8542 else
8543 wx_cv_use_iniconf='wxUSE_INICONF=no'
8544 fi
8545
8546 else
8547
8548 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8549
8550 fi
8551
8552
8553 eval "$wx_cv_use_iniconf"
8554
8555 if test x"$enablestring" = xdisable; then
8556 if test $wxUSE_INICONF = no; then
8557 result=yes
8558 else
8559 result=no
8560 fi
8561 else
8562 result=$wxUSE_INICONF
8563 fi
8564
8565 { echo "$as_me:$LINENO: result: $result" >&5
8566 echo "${ECHO_T}$result" >&6; }
8567
8568
8569 enablestring=
8570 defaultval=$wxUSE_ALL_FEATURES
8571 if test -z "$defaultval"; then
8572 if test x"$enablestring" = xdisable; then
8573 defaultval=yes
8574 else
8575 defaultval=no
8576 fi
8577 fi
8578
8579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8580 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8581 # Check whether --enable-regkey was given.
8582 if test "${enable_regkey+set}" = set; then
8583 enableval=$enable_regkey;
8584 if test "$enableval" = yes; then
8585 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8586 else
8587 wx_cv_use_regkey='wxUSE_REGKEY=no'
8588 fi
8589
8590 else
8591
8592 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8593
8594 fi
8595
8596
8597 eval "$wx_cv_use_regkey"
8598
8599 if test x"$enablestring" = xdisable; then
8600 if test $wxUSE_REGKEY = no; then
8601 result=yes
8602 else
8603 result=no
8604 fi
8605 else
8606 result=$wxUSE_REGKEY
8607 fi
8608
8609 { echo "$as_me:$LINENO: result: $result" >&5
8610 echo "${ECHO_T}$result" >&6; }
8611
8612
8613 if test "$wxUSE_GUI" = "yes"; then
8614
8615
8616
8617 enablestring=
8618 defaultval=$wxUSE_ALL_FEATURES
8619 if test -z "$defaultval"; then
8620 if test x"$enablestring" = xdisable; then
8621 defaultval=yes
8622 else
8623 defaultval=no
8624 fi
8625 fi
8626
8627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8628 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8629 # Check whether --enable-docview was given.
8630 if test "${enable_docview+set}" = set; then
8631 enableval=$enable_docview;
8632 if test "$enableval" = yes; then
8633 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8634 else
8635 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8636 fi
8637
8638 else
8639
8640 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8641
8642 fi
8643
8644
8645 eval "$wx_cv_use_docview"
8646
8647 if test x"$enablestring" = xdisable; then
8648 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8649 result=yes
8650 else
8651 result=no
8652 fi
8653 else
8654 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8655 fi
8656
8657 { echo "$as_me:$LINENO: result: $result" >&5
8658 echo "${ECHO_T}$result" >&6; }
8659
8660
8661 enablestring=
8662 defaultval=$wxUSE_ALL_FEATURES
8663 if test -z "$defaultval"; then
8664 if test x"$enablestring" = xdisable; then
8665 defaultval=yes
8666 else
8667 defaultval=no
8668 fi
8669 fi
8670
8671 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8672 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8673 # Check whether --enable-help was given.
8674 if test "${enable_help+set}" = set; then
8675 enableval=$enable_help;
8676 if test "$enableval" = yes; then
8677 wx_cv_use_help='wxUSE_HELP=yes'
8678 else
8679 wx_cv_use_help='wxUSE_HELP=no'
8680 fi
8681
8682 else
8683
8684 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8685
8686 fi
8687
8688
8689 eval "$wx_cv_use_help"
8690
8691 if test x"$enablestring" = xdisable; then
8692 if test $wxUSE_HELP = no; then
8693 result=yes
8694 else
8695 result=no
8696 fi
8697 else
8698 result=$wxUSE_HELP
8699 fi
8700
8701 { echo "$as_me:$LINENO: result: $result" >&5
8702 echo "${ECHO_T}$result" >&6; }
8703
8704
8705 enablestring=
8706 defaultval=$wxUSE_ALL_FEATURES
8707 if test -z "$defaultval"; then
8708 if test x"$enablestring" = xdisable; then
8709 defaultval=yes
8710 else
8711 defaultval=no
8712 fi
8713 fi
8714
8715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8716 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8717 # Check whether --enable-mshtmlhelp was given.
8718 if test "${enable_mshtmlhelp+set}" = set; then
8719 enableval=$enable_mshtmlhelp;
8720 if test "$enableval" = yes; then
8721 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8722 else
8723 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8724 fi
8725
8726 else
8727
8728 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8729
8730 fi
8731
8732
8733 eval "$wx_cv_use_mshtmlhelp"
8734
8735 if test x"$enablestring" = xdisable; then
8736 if test $wxUSE_MS_HTML_HELP = no; then
8737 result=yes
8738 else
8739 result=no
8740 fi
8741 else
8742 result=$wxUSE_MS_HTML_HELP
8743 fi
8744
8745 { echo "$as_me:$LINENO: result: $result" >&5
8746 echo "${ECHO_T}$result" >&6; }
8747
8748
8749 enablestring=
8750 defaultval=$wxUSE_ALL_FEATURES
8751 if test -z "$defaultval"; then
8752 if test x"$enablestring" = xdisable; then
8753 defaultval=yes
8754 else
8755 defaultval=no
8756 fi
8757 fi
8758
8759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8760 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8761 # Check whether --enable-html was given.
8762 if test "${enable_html+set}" = set; then
8763 enableval=$enable_html;
8764 if test "$enableval" = yes; then
8765 wx_cv_use_html='wxUSE_HTML=yes'
8766 else
8767 wx_cv_use_html='wxUSE_HTML=no'
8768 fi
8769
8770 else
8771
8772 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8773
8774 fi
8775
8776
8777 eval "$wx_cv_use_html"
8778
8779 if test x"$enablestring" = xdisable; then
8780 if test $wxUSE_HTML = no; then
8781 result=yes
8782 else
8783 result=no
8784 fi
8785 else
8786 result=$wxUSE_HTML
8787 fi
8788
8789 { echo "$as_me:$LINENO: result: $result" >&5
8790 echo "${ECHO_T}$result" >&6; }
8791
8792
8793 enablestring=
8794 defaultval=$wxUSE_ALL_FEATURES
8795 if test -z "$defaultval"; then
8796 if test x"$enablestring" = xdisable; then
8797 defaultval=yes
8798 else
8799 defaultval=no
8800 fi
8801 fi
8802
8803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8804 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8805 # Check whether --enable-htmlhelp was given.
8806 if test "${enable_htmlhelp+set}" = set; then
8807 enableval=$enable_htmlhelp;
8808 if test "$enableval" = yes; then
8809 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8810 else
8811 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8812 fi
8813
8814 else
8815
8816 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8817
8818 fi
8819
8820
8821 eval "$wx_cv_use_htmlhelp"
8822
8823 if test x"$enablestring" = xdisable; then
8824 if test $wxUSE_WXHTML_HELP = no; then
8825 result=yes
8826 else
8827 result=no
8828 fi
8829 else
8830 result=$wxUSE_WXHTML_HELP
8831 fi
8832
8833 { echo "$as_me:$LINENO: result: $result" >&5
8834 echo "${ECHO_T}$result" >&6; }
8835
8836
8837 enablestring=
8838 defaultval=$wxUSE_ALL_FEATURES
8839 if test -z "$defaultval"; then
8840 if test x"$enablestring" = xdisable; then
8841 defaultval=yes
8842 else
8843 defaultval=no
8844 fi
8845 fi
8846
8847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8848 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8849 # Check whether --enable-xrc was given.
8850 if test "${enable_xrc+set}" = set; then
8851 enableval=$enable_xrc;
8852 if test "$enableval" = yes; then
8853 wx_cv_use_xrc='wxUSE_XRC=yes'
8854 else
8855 wx_cv_use_xrc='wxUSE_XRC=no'
8856 fi
8857
8858 else
8859
8860 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8861
8862 fi
8863
8864
8865 eval "$wx_cv_use_xrc"
8866
8867 if test x"$enablestring" = xdisable; then
8868 if test $wxUSE_XRC = no; then
8869 result=yes
8870 else
8871 result=no
8872 fi
8873 else
8874 result=$wxUSE_XRC
8875 fi
8876
8877 { echo "$as_me:$LINENO: result: $result" >&5
8878 echo "${ECHO_T}$result" >&6; }
8879
8880
8881 enablestring=
8882 defaultval=$wxUSE_ALL_FEATURES
8883 if test -z "$defaultval"; then
8884 if test x"$enablestring" = xdisable; then
8885 defaultval=yes
8886 else
8887 defaultval=no
8888 fi
8889 fi
8890
8891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8892 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8893 # Check whether --enable-aui was given.
8894 if test "${enable_aui+set}" = set; then
8895 enableval=$enable_aui;
8896 if test "$enableval" = yes; then
8897 wx_cv_use_aui='wxUSE_AUI=yes'
8898 else
8899 wx_cv_use_aui='wxUSE_AUI=no'
8900 fi
8901
8902 else
8903
8904 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8905
8906 fi
8907
8908
8909 eval "$wx_cv_use_aui"
8910
8911 if test x"$enablestring" = xdisable; then
8912 if test $wxUSE_AUI = no; then
8913 result=yes
8914 else
8915 result=no
8916 fi
8917 else
8918 result=$wxUSE_AUI
8919 fi
8920
8921 { echo "$as_me:$LINENO: result: $result" >&5
8922 echo "${ECHO_T}$result" >&6; }
8923
8924
8925 enablestring=
8926 defaultval=$wxUSE_ALL_FEATURES
8927 if test -z "$defaultval"; then
8928 if test x"$enablestring" = xdisable; then
8929 defaultval=yes
8930 else
8931 defaultval=no
8932 fi
8933 fi
8934
8935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8936 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8937 # Check whether --enable-propgrid was given.
8938 if test "${enable_propgrid+set}" = set; then
8939 enableval=$enable_propgrid;
8940 if test "$enableval" = yes; then
8941 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8942 else
8943 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8944 fi
8945
8946 else
8947
8948 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8949
8950 fi
8951
8952
8953 eval "$wx_cv_use_propgrid"
8954
8955 if test x"$enablestring" = xdisable; then
8956 if test $wxUSE_PROPGRID = no; then
8957 result=yes
8958 else
8959 result=no
8960 fi
8961 else
8962 result=$wxUSE_PROPGRID
8963 fi
8964
8965 { echo "$as_me:$LINENO: result: $result" >&5
8966 echo "${ECHO_T}$result" >&6; }
8967
8968
8969 enablestring=
8970 defaultval=$wxUSE_ALL_FEATURES
8971 if test -z "$defaultval"; then
8972 if test x"$enablestring" = xdisable; then
8973 defaultval=yes
8974 else
8975 defaultval=no
8976 fi
8977 fi
8978
8979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8980 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8981 # Check whether --enable-ribbon was given.
8982 if test "${enable_ribbon+set}" = set; then
8983 enableval=$enable_ribbon;
8984 if test "$enableval" = yes; then
8985 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8986 else
8987 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8988 fi
8989
8990 else
8991
8992 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8993
8994 fi
8995
8996
8997 eval "$wx_cv_use_ribbon"
8998
8999 if test x"$enablestring" = xdisable; then
9000 if test $wxUSE_RIBBON = no; then
9001 result=yes
9002 else
9003 result=no
9004 fi
9005 else
9006 result=$wxUSE_RIBBON
9007 fi
9008
9009 { echo "$as_me:$LINENO: result: $result" >&5
9010 echo "${ECHO_T}$result" >&6; }
9011
9012
9013 enablestring=
9014 defaultval=$wxUSE_ALL_FEATURES
9015 if test -z "$defaultval"; then
9016 if test x"$enablestring" = xdisable; then
9017 defaultval=yes
9018 else
9019 defaultval=no
9020 fi
9021 fi
9022
9023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9024 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9025 # Check whether --enable-stc was given.
9026 if test "${enable_stc+set}" = set; then
9027 enableval=$enable_stc;
9028 if test "$enableval" = yes; then
9029 wx_cv_use_stc='wxUSE_STC=yes'
9030 else
9031 wx_cv_use_stc='wxUSE_STC=no'
9032 fi
9033
9034 else
9035
9036 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9037
9038 fi
9039
9040
9041 eval "$wx_cv_use_stc"
9042
9043 if test x"$enablestring" = xdisable; then
9044 if test $wxUSE_STC = no; then
9045 result=yes
9046 else
9047 result=no
9048 fi
9049 else
9050 result=$wxUSE_STC
9051 fi
9052
9053 { echo "$as_me:$LINENO: result: $result" >&5
9054 echo "${ECHO_T}$result" >&6; }
9055
9056
9057 enablestring=
9058 defaultval=$wxUSE_ALL_FEATURES
9059 if test -z "$defaultval"; then
9060 if test x"$enablestring" = xdisable; then
9061 defaultval=yes
9062 else
9063 defaultval=no
9064 fi
9065 fi
9066
9067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9068 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9069 # Check whether --enable-constraints was given.
9070 if test "${enable_constraints+set}" = set; then
9071 enableval=$enable_constraints;
9072 if test "$enableval" = yes; then
9073 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9074 else
9075 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9076 fi
9077
9078 else
9079
9080 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9081
9082 fi
9083
9084
9085 eval "$wx_cv_use_constraints"
9086
9087 if test x"$enablestring" = xdisable; then
9088 if test $wxUSE_CONSTRAINTS = no; then
9089 result=yes
9090 else
9091 result=no
9092 fi
9093 else
9094 result=$wxUSE_CONSTRAINTS
9095 fi
9096
9097 { echo "$as_me:$LINENO: result: $result" >&5
9098 echo "${ECHO_T}$result" >&6; }
9099
9100
9101 enablestring=
9102 defaultval=$wxUSE_ALL_FEATURES
9103 if test -z "$defaultval"; then
9104 if test x"$enablestring" = xdisable; then
9105 defaultval=yes
9106 else
9107 defaultval=no
9108 fi
9109 fi
9110
9111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9112 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9113 # Check whether --enable-loggui was given.
9114 if test "${enable_loggui+set}" = set; then
9115 enableval=$enable_loggui;
9116 if test "$enableval" = yes; then
9117 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9118 else
9119 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9120 fi
9121
9122 else
9123
9124 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9125
9126 fi
9127
9128
9129 eval "$wx_cv_use_loggui"
9130
9131 if test x"$enablestring" = xdisable; then
9132 if test $wxUSE_LOGGUI = no; then
9133 result=yes
9134 else
9135 result=no
9136 fi
9137 else
9138 result=$wxUSE_LOGGUI
9139 fi
9140
9141 { echo "$as_me:$LINENO: result: $result" >&5
9142 echo "${ECHO_T}$result" >&6; }
9143
9144
9145 enablestring=
9146 defaultval=$wxUSE_ALL_FEATURES
9147 if test -z "$defaultval"; then
9148 if test x"$enablestring" = xdisable; then
9149 defaultval=yes
9150 else
9151 defaultval=no
9152 fi
9153 fi
9154
9155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9156 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9157 # Check whether --enable-logwin was given.
9158 if test "${enable_logwin+set}" = set; then
9159 enableval=$enable_logwin;
9160 if test "$enableval" = yes; then
9161 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9162 else
9163 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9164 fi
9165
9166 else
9167
9168 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9169
9170 fi
9171
9172
9173 eval "$wx_cv_use_logwin"
9174
9175 if test x"$enablestring" = xdisable; then
9176 if test $wxUSE_LOGWINDOW = no; then
9177 result=yes
9178 else
9179 result=no
9180 fi
9181 else
9182 result=$wxUSE_LOGWINDOW
9183 fi
9184
9185 { echo "$as_me:$LINENO: result: $result" >&5
9186 echo "${ECHO_T}$result" >&6; }
9187
9188
9189 enablestring=
9190 defaultval=$wxUSE_ALL_FEATURES
9191 if test -z "$defaultval"; then
9192 if test x"$enablestring" = xdisable; then
9193 defaultval=yes
9194 else
9195 defaultval=no
9196 fi
9197 fi
9198
9199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9200 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9201 # Check whether --enable-logdialog was given.
9202 if test "${enable_logdialog+set}" = set; then
9203 enableval=$enable_logdialog;
9204 if test "$enableval" = yes; then
9205 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9206 else
9207 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9208 fi
9209
9210 else
9211
9212 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9213
9214 fi
9215
9216
9217 eval "$wx_cv_use_logdialog"
9218
9219 if test x"$enablestring" = xdisable; then
9220 if test $wxUSE_LOGDIALOG = no; then
9221 result=yes
9222 else
9223 result=no
9224 fi
9225 else
9226 result=$wxUSE_LOGDIALOG
9227 fi
9228
9229 { echo "$as_me:$LINENO: result: $result" >&5
9230 echo "${ECHO_T}$result" >&6; }
9231
9232
9233 enablestring=
9234 defaultval=$wxUSE_ALL_FEATURES
9235 if test -z "$defaultval"; then
9236 if test x"$enablestring" = xdisable; then
9237 defaultval=yes
9238 else
9239 defaultval=no
9240 fi
9241 fi
9242
9243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9244 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9245 # Check whether --enable-mdi was given.
9246 if test "${enable_mdi+set}" = set; then
9247 enableval=$enable_mdi;
9248 if test "$enableval" = yes; then
9249 wx_cv_use_mdi='wxUSE_MDI=yes'
9250 else
9251 wx_cv_use_mdi='wxUSE_MDI=no'
9252 fi
9253
9254 else
9255
9256 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9257
9258 fi
9259
9260
9261 eval "$wx_cv_use_mdi"
9262
9263 if test x"$enablestring" = xdisable; then
9264 if test $wxUSE_MDI = no; then
9265 result=yes
9266 else
9267 result=no
9268 fi
9269 else
9270 result=$wxUSE_MDI
9271 fi
9272
9273 { echo "$as_me:$LINENO: result: $result" >&5
9274 echo "${ECHO_T}$result" >&6; }
9275
9276
9277 enablestring=
9278 defaultval=$wxUSE_ALL_FEATURES
9279 if test -z "$defaultval"; then
9280 if test x"$enablestring" = xdisable; then
9281 defaultval=yes
9282 else
9283 defaultval=no
9284 fi
9285 fi
9286
9287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9288 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9289 # Check whether --enable-mdidoc was given.
9290 if test "${enable_mdidoc+set}" = set; then
9291 enableval=$enable_mdidoc;
9292 if test "$enableval" = yes; then
9293 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9294 else
9295 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9296 fi
9297
9298 else
9299
9300 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9301
9302 fi
9303
9304
9305 eval "$wx_cv_use_mdidoc"
9306
9307 if test x"$enablestring" = xdisable; then
9308 if test $wxUSE_MDI_ARCHITECTURE = no; then
9309 result=yes
9310 else
9311 result=no
9312 fi
9313 else
9314 result=$wxUSE_MDI_ARCHITECTURE
9315 fi
9316
9317 { echo "$as_me:$LINENO: result: $result" >&5
9318 echo "${ECHO_T}$result" >&6; }
9319
9320
9321 enablestring=
9322 defaultval=$wxUSE_ALL_FEATURES
9323 if test -z "$defaultval"; then
9324 if test x"$enablestring" = xdisable; then
9325 defaultval=yes
9326 else
9327 defaultval=no
9328 fi
9329 fi
9330
9331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9332 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9333 # Check whether --enable-mediactrl was given.
9334 if test "${enable_mediactrl+set}" = set; then
9335 enableval=$enable_mediactrl;
9336 if test "$enableval" = yes; then
9337 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9338 else
9339 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9340 fi
9341
9342 else
9343
9344 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9345
9346 fi
9347
9348
9349 eval "$wx_cv_use_mediactrl"
9350
9351 if test x"$enablestring" = xdisable; then
9352 if test $wxUSE_MEDIACTRL = no; then
9353 result=yes
9354 else
9355 result=no
9356 fi
9357 else
9358 result=$wxUSE_MEDIACTRL
9359 fi
9360
9361 { echo "$as_me:$LINENO: result: $result" >&5
9362 echo "${ECHO_T}$result" >&6; }
9363
9364
9365 enablestring=
9366 defaultval=$wxUSE_ALL_FEATURES
9367 if test -z "$defaultval"; then
9368 if test x"$enablestring" = xdisable; then
9369 defaultval=yes
9370 else
9371 defaultval=no
9372 fi
9373 fi
9374
9375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9376 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9377 # Check whether --enable-gstreamer8 was given.
9378 if test "${enable_gstreamer8+set}" = set; then
9379 enableval=$enable_gstreamer8;
9380 if test "$enableval" = yes; then
9381 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9382 else
9383 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9384 fi
9385
9386 else
9387
9388 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9389
9390 fi
9391
9392
9393 eval "$wx_cv_use_gstreamer8"
9394
9395 if test x"$enablestring" = xdisable; then
9396 if test $wxUSE_GSTREAMER8 = no; then
9397 result=yes
9398 else
9399 result=no
9400 fi
9401 else
9402 result=$wxUSE_GSTREAMER8
9403 fi
9404
9405 { echo "$as_me:$LINENO: result: $result" >&5
9406 echo "${ECHO_T}$result" >&6; }
9407
9408
9409 enablestring=
9410 defaultval=$wxUSE_ALL_FEATURES
9411 if test -z "$defaultval"; then
9412 if test x"$enablestring" = xdisable; then
9413 defaultval=yes
9414 else
9415 defaultval=no
9416 fi
9417 fi
9418
9419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9420 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9421 # Check whether --enable-webkit was given.
9422 if test "${enable_webkit+set}" = set; then
9423 enableval=$enable_webkit;
9424 if test "$enableval" = yes; then
9425 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9426 else
9427 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9428 fi
9429
9430 else
9431
9432 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9433
9434 fi
9435
9436
9437 eval "$wx_cv_use_webkit"
9438
9439 if test x"$enablestring" = xdisable; then
9440 if test $wxUSE_WEBKIT = no; then
9441 result=yes
9442 else
9443 result=no
9444 fi
9445 else
9446 result=$wxUSE_WEBKIT
9447 fi
9448
9449 { echo "$as_me:$LINENO: result: $result" >&5
9450 echo "${ECHO_T}$result" >&6; }
9451
9452
9453 enablestring=
9454 defaultval=$wxUSE_ALL_FEATURES
9455 if test -z "$defaultval"; then
9456 if test x"$enablestring" = xdisable; then
9457 defaultval=yes
9458 else
9459 defaultval=no
9460 fi
9461 fi
9462
9463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9464 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9465 # Check whether --enable-richtext was given.
9466 if test "${enable_richtext+set}" = set; then
9467 enableval=$enable_richtext;
9468 if test "$enableval" = yes; then
9469 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9470 else
9471 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9472 fi
9473
9474 else
9475
9476 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9477
9478 fi
9479
9480
9481 eval "$wx_cv_use_richtext"
9482
9483 if test x"$enablestring" = xdisable; then
9484 if test $wxUSE_RICHTEXT = no; then
9485 result=yes
9486 else
9487 result=no
9488 fi
9489 else
9490 result=$wxUSE_RICHTEXT
9491 fi
9492
9493 { echo "$as_me:$LINENO: result: $result" >&5
9494 echo "${ECHO_T}$result" >&6; }
9495
9496
9497 enablestring=
9498 defaultval=$wxUSE_ALL_FEATURES
9499 if test -z "$defaultval"; then
9500 if test x"$enablestring" = xdisable; then
9501 defaultval=yes
9502 else
9503 defaultval=no
9504 fi
9505 fi
9506
9507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9508 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9509 # Check whether --enable-postscript was given.
9510 if test "${enable_postscript+set}" = set; then
9511 enableval=$enable_postscript;
9512 if test "$enableval" = yes; then
9513 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9514 else
9515 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9516 fi
9517
9518 else
9519
9520 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9521
9522 fi
9523
9524
9525 eval "$wx_cv_use_postscript"
9526
9527 if test x"$enablestring" = xdisable; then
9528 if test $wxUSE_POSTSCRIPT = no; then
9529 result=yes
9530 else
9531 result=no
9532 fi
9533 else
9534 result=$wxUSE_POSTSCRIPT
9535 fi
9536
9537 { echo "$as_me:$LINENO: result: $result" >&5
9538 echo "${ECHO_T}$result" >&6; }
9539
9540
9541 enablestring=
9542 defaultval=$wxUSE_ALL_FEATURES
9543 if test -z "$defaultval"; then
9544 if test x"$enablestring" = xdisable; then
9545 defaultval=yes
9546 else
9547 defaultval=no
9548 fi
9549 fi
9550
9551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9552 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9553 # Check whether --enable-printarch was given.
9554 if test "${enable_printarch+set}" = set; then
9555 enableval=$enable_printarch;
9556 if test "$enableval" = yes; then
9557 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9558 else
9559 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9560 fi
9561
9562 else
9563
9564 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9565
9566 fi
9567
9568
9569 eval "$wx_cv_use_printarch"
9570
9571 if test x"$enablestring" = xdisable; then
9572 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9573 result=yes
9574 else
9575 result=no
9576 fi
9577 else
9578 result=$wxUSE_PRINTING_ARCHITECTURE
9579 fi
9580
9581 { echo "$as_me:$LINENO: result: $result" >&5
9582 echo "${ECHO_T}$result" >&6; }
9583
9584
9585 enablestring=
9586 defaultval=$wxUSE_ALL_FEATURES
9587 if test -z "$defaultval"; then
9588 if test x"$enablestring" = xdisable; then
9589 defaultval=yes
9590 else
9591 defaultval=no
9592 fi
9593 fi
9594
9595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9596 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9597 # Check whether --enable-svg was given.
9598 if test "${enable_svg+set}" = set; then
9599 enableval=$enable_svg;
9600 if test "$enableval" = yes; then
9601 wx_cv_use_svg='wxUSE_SVG=yes'
9602 else
9603 wx_cv_use_svg='wxUSE_SVG=no'
9604 fi
9605
9606 else
9607
9608 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9609
9610 fi
9611
9612
9613 eval "$wx_cv_use_svg"
9614
9615 if test x"$enablestring" = xdisable; then
9616 if test $wxUSE_SVG = no; then
9617 result=yes
9618 else
9619 result=no
9620 fi
9621 else
9622 result=$wxUSE_SVG
9623 fi
9624
9625 { echo "$as_me:$LINENO: result: $result" >&5
9626 echo "${ECHO_T}$result" >&6; }
9627
9628
9629 if test "$wxUSE_MAC" != 1; then
9630
9631 enablestring=
9632 defaultval=$wxUSE_ALL_FEATURES
9633 if test -z "$defaultval"; then
9634 if test x"$enablestring" = xdisable; then
9635 defaultval=yes
9636 else
9637 defaultval=no
9638 fi
9639 fi
9640
9641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9642 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9643 # Check whether --enable-graphics_ctx was given.
9644 if test "${enable_graphics_ctx+set}" = set; then
9645 enableval=$enable_graphics_ctx;
9646 if test "$enableval" = yes; then
9647 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9648 else
9649 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9650 fi
9651
9652 else
9653
9654 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9655
9656 fi
9657
9658
9659 eval "$wx_cv_use_graphics_ctx"
9660
9661 if test x"$enablestring" = xdisable; then
9662 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9663 result=yes
9664 else
9665 result=no
9666 fi
9667 else
9668 result=$wxUSE_GRAPHICS_CONTEXT
9669 fi
9670
9671 { echo "$as_me:$LINENO: result: $result" >&5
9672 echo "${ECHO_T}$result" >&6; }
9673
9674 fi
9675
9676
9677
9678 enablestring=
9679 defaultval=$wxUSE_ALL_FEATURES
9680 if test -z "$defaultval"; then
9681 if test x"$enablestring" = xdisable; then
9682 defaultval=yes
9683 else
9684 defaultval=no
9685 fi
9686 fi
9687
9688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9689 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9690 # Check whether --enable-clipboard was given.
9691 if test "${enable_clipboard+set}" = set; then
9692 enableval=$enable_clipboard;
9693 if test "$enableval" = yes; then
9694 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9695 else
9696 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9697 fi
9698
9699 else
9700
9701 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9702
9703 fi
9704
9705
9706 eval "$wx_cv_use_clipboard"
9707
9708 if test x"$enablestring" = xdisable; then
9709 if test $wxUSE_CLIPBOARD = no; then
9710 result=yes
9711 else
9712 result=no
9713 fi
9714 else
9715 result=$wxUSE_CLIPBOARD
9716 fi
9717
9718 { echo "$as_me:$LINENO: result: $result" >&5
9719 echo "${ECHO_T}$result" >&6; }
9720
9721
9722 enablestring=
9723 defaultval=$wxUSE_ALL_FEATURES
9724 if test -z "$defaultval"; then
9725 if test x"$enablestring" = xdisable; then
9726 defaultval=yes
9727 else
9728 defaultval=no
9729 fi
9730 fi
9731
9732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9733 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9734 # Check whether --enable-dnd was given.
9735 if test "${enable_dnd+set}" = set; then
9736 enableval=$enable_dnd;
9737 if test "$enableval" = yes; then
9738 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9739 else
9740 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9741 fi
9742
9743 else
9744
9745 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9746
9747 fi
9748
9749
9750 eval "$wx_cv_use_dnd"
9751
9752 if test x"$enablestring" = xdisable; then
9753 if test $wxUSE_DRAG_AND_DROP = no; then
9754 result=yes
9755 else
9756 result=no
9757 fi
9758 else
9759 result=$wxUSE_DRAG_AND_DROP
9760 fi
9761
9762 { echo "$as_me:$LINENO: result: $result" >&5
9763 echo "${ECHO_T}$result" >&6; }
9764
9765
9766 enablestring=
9767 defaultval=$wxUSE_ALL_FEATURES
9768 if test -z "$defaultval"; then
9769 if test x"$enablestring" = xdisable; then
9770 defaultval=yes
9771 else
9772 defaultval=no
9773 fi
9774 fi
9775
9776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9777 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9778 # Check whether --enable-metafile was given.
9779 if test "${enable_metafile+set}" = set; then
9780 enableval=$enable_metafile;
9781 if test "$enableval" = yes; then
9782 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9783 else
9784 wx_cv_use_metafile='wxUSE_METAFILE=no'
9785 fi
9786
9787 else
9788
9789 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9790
9791 fi
9792
9793
9794 eval "$wx_cv_use_metafile"
9795
9796 if test x"$enablestring" = xdisable; then
9797 if test $wxUSE_METAFILE = no; then
9798 result=yes
9799 else
9800 result=no
9801 fi
9802 else
9803 result=$wxUSE_METAFILE
9804 fi
9805
9806 { echo "$as_me:$LINENO: result: $result" >&5
9807 echo "${ECHO_T}$result" >&6; }
9808
9809
9810
9811 DEFAULT_wxUSE_CONTROLS=none
9812
9813 enablestring=disable
9814 defaultval=
9815 if test -z "$defaultval"; then
9816 if test x"$enablestring" = xdisable; then
9817 defaultval=yes
9818 else
9819 defaultval=no
9820 fi
9821 fi
9822
9823 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9824 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9825 # Check whether --enable-controls was given.
9826 if test "${enable_controls+set}" = set; then
9827 enableval=$enable_controls;
9828 if test "$enableval" = yes; then
9829 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9830 else
9831 wx_cv_use_controls='wxUSE_CONTROLS=no'
9832 fi
9833
9834 else
9835
9836 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9837
9838 fi
9839
9840
9841 eval "$wx_cv_use_controls"
9842
9843 if test x"$enablestring" = xdisable; then
9844 if test $wxUSE_CONTROLS = no; then
9845 result=yes
9846 else
9847 result=no
9848 fi
9849 else
9850 result=$wxUSE_CONTROLS
9851 fi
9852
9853 { echo "$as_me:$LINENO: result: $result" >&5
9854 echo "${ECHO_T}$result" >&6; }
9855
9856
9857 if test "$wxUSE_CONTROLS" = "no"; then
9858 DEFAULT_wxUSE_ACCEL=no
9859 DEFAULT_wxUSE_ANIMATIONCTRL=no
9860 DEFAULT_wxUSE_BANNERWINDOW=no
9861 DEFAULT_wxUSE_BMPBUTTON=no
9862 DEFAULT_wxUSE_BUTTON=no
9863 DEFAULT_wxUSE_CALCTRL=no
9864 DEFAULT_wxUSE_CARET=no
9865 DEFAULT_wxUSE_CHECKBOX=no
9866 DEFAULT_wxUSE_CHECKLISTBOX=no
9867 DEFAULT_wxUSE_CHOICE=no
9868 DEFAULT_wxUSE_CHOICEBOOK=no
9869 DEFAULT_wxUSE_COLLPANE=no
9870 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9871 DEFAULT_wxUSE_COMBOBOX=no
9872 DEFAULT_wxUSE_COMBOBOX=no
9873 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9874 DEFAULT_wxUSE_DATAVIEWCTRL=no
9875 DEFAULT_wxUSE_DATEPICKCTRL=no
9876 DEFAULT_wxUSE_DETECT_SM=no
9877 DEFAULT_wxUSE_DIRPICKERCTRL=no
9878 DEFAULT_wxUSE_DISPLAY=no
9879 DEFAULT_wxUSE_FILECTRL=no
9880 DEFAULT_wxUSE_FILEPICKERCTRL=no
9881 DEFAULT_wxUSE_FONTPICKERCTRL=no
9882 DEFAULT_wxUSE_GAUGE=no
9883 DEFAULT_wxUSE_GRID=no
9884 DEFAULT_wxUSE_HEADERCTRL=no
9885 DEFAULT_wxUSE_HYPERLINKCTRL=no
9886 DEFAULT_wxUSE_IMAGLIST=no
9887 DEFAULT_wxUSE_LISTBOOK=no
9888 DEFAULT_wxUSE_LISTBOX=no
9889 DEFAULT_wxUSE_LISTCTRL=no
9890 DEFAULT_wxUSE_MARKUP=no
9891 DEFAULT_wxUSE_NOTEBOOK=no
9892 DEFAULT_wxUSE_POPUPWIN=no
9893 DEFAULT_wxUSE_RADIOBOX=no
9894 DEFAULT_wxUSE_RADIOBTN=no
9895 DEFAULT_wxUSE_RICHMSGDLG=no
9896 DEFAULT_wxUSE_REARRANGECTRL=no
9897 DEFAULT_wxUSE_SASH=no
9898 DEFAULT_wxUSE_SCROLLBAR=no
9899 DEFAULT_wxUSE_SEARCHCTRL=no
9900 DEFAULT_wxUSE_SLIDER=no
9901 DEFAULT_wxUSE_SPINBTN=no
9902 DEFAULT_wxUSE_SPINCTRL=no
9903 DEFAULT_wxUSE_SPLITTER=no
9904 DEFAULT_wxUSE_STATBMP=no
9905 DEFAULT_wxUSE_STATBOX=no
9906 DEFAULT_wxUSE_STATLINE=no
9907 DEFAULT_wxUSE_STATUSBAR=no
9908 DEFAULT_wxUSE_TIPWINDOW=no
9909 DEFAULT_wxUSE_TOGGLEBTN=no
9910 DEFAULT_wxUSE_TOOLBAR=no
9911 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9912 DEFAULT_wxUSE_TOOLBOOK=no
9913 DEFAULT_wxUSE_TOOLTIPS=no
9914 DEFAULT_wxUSE_TREEBOOK=no
9915 DEFAULT_wxUSE_TREECTRL=no
9916 DEFAULT_wxUSE_TREELISTCTRL=no
9917 fi
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}-markup" >&5
9931 echo $ECHO_N "checking for --${enablestring:-enable}-markup... $ECHO_C" >&6; }
9932 # Check whether --enable-markup was given.
9933 if test "${enable_markup+set}" = set; then
9934 enableval=$enable_markup;
9935 if test "$enableval" = yes; then
9936 wx_cv_use_markup='wxUSE_MARKUP=yes'
9937 else
9938 wx_cv_use_markup='wxUSE_MARKUP=no'
9939 fi
9940
9941 else
9942
9943 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
9944
9945 fi
9946
9947
9948 eval "$wx_cv_use_markup"
9949
9950 if test x"$enablestring" = xdisable; then
9951 if test $wxUSE_MARKUP = no; then
9952 result=yes
9953 else
9954 result=no
9955 fi
9956 else
9957 result=$wxUSE_MARKUP
9958 fi
9959
9960 { echo "$as_me:$LINENO: result: $result" >&5
9961 echo "${ECHO_T}$result" >&6; }
9962
9963
9964
9965 enablestring=
9966 defaultval=$wxUSE_ALL_FEATURES
9967 if test -z "$defaultval"; then
9968 if test x"$enablestring" = xdisable; then
9969 defaultval=yes
9970 else
9971 defaultval=no
9972 fi
9973 fi
9974
9975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9976 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9977 # Check whether --enable-accel was given.
9978 if test "${enable_accel+set}" = set; then
9979 enableval=$enable_accel;
9980 if test "$enableval" = yes; then
9981 wx_cv_use_accel='wxUSE_ACCEL=yes'
9982 else
9983 wx_cv_use_accel='wxUSE_ACCEL=no'
9984 fi
9985
9986 else
9987
9988 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9989
9990 fi
9991
9992
9993 eval "$wx_cv_use_accel"
9994
9995 if test x"$enablestring" = xdisable; then
9996 if test $wxUSE_ACCEL = no; then
9997 result=yes
9998 else
9999 result=no
10000 fi
10001 else
10002 result=$wxUSE_ACCEL
10003 fi
10004
10005 { echo "$as_me:$LINENO: result: $result" >&5
10006 echo "${ECHO_T}$result" >&6; }
10007
10008
10009 enablestring=
10010 defaultval=$wxUSE_ALL_FEATURES
10011 if test -z "$defaultval"; then
10012 if test x"$enablestring" = xdisable; then
10013 defaultval=yes
10014 else
10015 defaultval=no
10016 fi
10017 fi
10018
10019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10020 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10021 # Check whether --enable-animatectrl was given.
10022 if test "${enable_animatectrl+set}" = set; then
10023 enableval=$enable_animatectrl;
10024 if test "$enableval" = yes; then
10025 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10026 else
10027 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10028 fi
10029
10030 else
10031
10032 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10033
10034 fi
10035
10036
10037 eval "$wx_cv_use_animatectrl"
10038
10039 if test x"$enablestring" = xdisable; then
10040 if test $wxUSE_ANIMATIONCTRL = no; then
10041 result=yes
10042 else
10043 result=no
10044 fi
10045 else
10046 result=$wxUSE_ANIMATIONCTRL
10047 fi
10048
10049 { echo "$as_me:$LINENO: result: $result" >&5
10050 echo "${ECHO_T}$result" >&6; }
10051
10052
10053 enablestring=
10054 defaultval=$wxUSE_ALL_FEATURES
10055 if test -z "$defaultval"; then
10056 if test x"$enablestring" = xdisable; then
10057 defaultval=yes
10058 else
10059 defaultval=no
10060 fi
10061 fi
10062
10063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bannerwindow" >&5
10064 echo $ECHO_N "checking for --${enablestring:-enable}-bannerwindow... $ECHO_C" >&6; }
10065 # Check whether --enable-bannerwindow was given.
10066 if test "${enable_bannerwindow+set}" = set; then
10067 enableval=$enable_bannerwindow;
10068 if test "$enableval" = yes; then
10069 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
10070 else
10071 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
10072 fi
10073
10074 else
10075
10076 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
10077
10078 fi
10079
10080
10081 eval "$wx_cv_use_bannerwindow"
10082
10083 if test x"$enablestring" = xdisable; then
10084 if test $wxUSE_BANNERWINDOW = no; then
10085 result=yes
10086 else
10087 result=no
10088 fi
10089 else
10090 result=$wxUSE_BANNERWINDOW
10091 fi
10092
10093 { echo "$as_me:$LINENO: result: $result" >&5
10094 echo "${ECHO_T}$result" >&6; }
10095
10096
10097 enablestring=
10098 defaultval=$wxUSE_ALL_FEATURES
10099 if test -z "$defaultval"; then
10100 if test x"$enablestring" = xdisable; then
10101 defaultval=yes
10102 else
10103 defaultval=no
10104 fi
10105 fi
10106
10107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-artstd" >&5
10108 echo $ECHO_N "checking for --${enablestring:-enable}-artstd... $ECHO_C" >&6; }
10109 # Check whether --enable-artstd was given.
10110 if test "${enable_artstd+set}" = set; then
10111 enableval=$enable_artstd;
10112 if test "$enableval" = yes; then
10113 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
10114 else
10115 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
10116 fi
10117
10118 else
10119
10120 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
10121
10122 fi
10123
10124
10125 eval "$wx_cv_use_artstd"
10126
10127 if test x"$enablestring" = xdisable; then
10128 if test $wxUSE_ARTPROVIDER_STD = no; then
10129 result=yes
10130 else
10131 result=no
10132 fi
10133 else
10134 result=$wxUSE_ARTPROVIDER_STD
10135 fi
10136
10137 { echo "$as_me:$LINENO: result: $result" >&5
10138 echo "${ECHO_T}$result" >&6; }
10139
10140
10141 enablestring=
10142 defaultval=$wxUSE_ALL_FEATURES
10143 if test -z "$defaultval"; then
10144 if test x"$enablestring" = xdisable; then
10145 defaultval=yes
10146 else
10147 defaultval=no
10148 fi
10149 fi
10150
10151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arttango" >&5
10152 echo $ECHO_N "checking for --${enablestring:-enable}-arttango... $ECHO_C" >&6; }
10153 # Check whether --enable-arttango was given.
10154 if test "${enable_arttango+set}" = set; then
10155 enableval=$enable_arttango;
10156 if test "$enableval" = yes; then
10157 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
10158 else
10159 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
10160 fi
10161
10162 else
10163
10164 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
10165
10166 fi
10167
10168
10169 eval "$wx_cv_use_arttango"
10170
10171 if test x"$enablestring" = xdisable; then
10172 if test $wxUSE_ARTPROVIDER_TANGO = no; then
10173 result=yes
10174 else
10175 result=no
10176 fi
10177 else
10178 result=$wxUSE_ARTPROVIDER_TANGO
10179 fi
10180
10181 { echo "$as_me:$LINENO: result: $result" >&5
10182 echo "${ECHO_T}$result" >&6; }
10183
10184
10185 enablestring=
10186 defaultval=$wxUSE_ALL_FEATURES
10187 if test -z "$defaultval"; then
10188 if test x"$enablestring" = xdisable; then
10189 defaultval=yes
10190 else
10191 defaultval=no
10192 fi
10193 fi
10194
10195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10196 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10197 # Check whether --enable-bmpbutton was given.
10198 if test "${enable_bmpbutton+set}" = set; then
10199 enableval=$enable_bmpbutton;
10200 if test "$enableval" = yes; then
10201 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10202 else
10203 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10204 fi
10205
10206 else
10207
10208 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10209
10210 fi
10211
10212
10213 eval "$wx_cv_use_bmpbutton"
10214
10215 if test x"$enablestring" = xdisable; then
10216 if test $wxUSE_BMPBUTTON = no; then
10217 result=yes
10218 else
10219 result=no
10220 fi
10221 else
10222 result=$wxUSE_BMPBUTTON
10223 fi
10224
10225 { echo "$as_me:$LINENO: result: $result" >&5
10226 echo "${ECHO_T}$result" >&6; }
10227
10228
10229 enablestring=
10230 defaultval=$wxUSE_ALL_FEATURES
10231 if test -z "$defaultval"; then
10232 if test x"$enablestring" = xdisable; then
10233 defaultval=yes
10234 else
10235 defaultval=no
10236 fi
10237 fi
10238
10239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10240 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10241 # Check whether --enable-bmpcombobox was given.
10242 if test "${enable_bmpcombobox+set}" = set; then
10243 enableval=$enable_bmpcombobox;
10244 if test "$enableval" = yes; then
10245 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10246 else
10247 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10248 fi
10249
10250 else
10251
10252 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10253
10254 fi
10255
10256
10257 eval "$wx_cv_use_bmpcombobox"
10258
10259 if test x"$enablestring" = xdisable; then
10260 if test $wxUSE_BITMAPCOMBOBOX = no; then
10261 result=yes
10262 else
10263 result=no
10264 fi
10265 else
10266 result=$wxUSE_BITMAPCOMBOBOX
10267 fi
10268
10269 { echo "$as_me:$LINENO: result: $result" >&5
10270 echo "${ECHO_T}$result" >&6; }
10271
10272
10273 enablestring=
10274 defaultval=$wxUSE_ALL_FEATURES
10275 if test -z "$defaultval"; then
10276 if test x"$enablestring" = xdisable; then
10277 defaultval=yes
10278 else
10279 defaultval=no
10280 fi
10281 fi
10282
10283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10284 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10285 # Check whether --enable-button was given.
10286 if test "${enable_button+set}" = set; then
10287 enableval=$enable_button;
10288 if test "$enableval" = yes; then
10289 wx_cv_use_button='wxUSE_BUTTON=yes'
10290 else
10291 wx_cv_use_button='wxUSE_BUTTON=no'
10292 fi
10293
10294 else
10295
10296 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10297
10298 fi
10299
10300
10301 eval "$wx_cv_use_button"
10302
10303 if test x"$enablestring" = xdisable; then
10304 if test $wxUSE_BUTTON = no; then
10305 result=yes
10306 else
10307 result=no
10308 fi
10309 else
10310 result=$wxUSE_BUTTON
10311 fi
10312
10313 { echo "$as_me:$LINENO: result: $result" >&5
10314 echo "${ECHO_T}$result" >&6; }
10315
10316
10317 enablestring=
10318 defaultval=$wxUSE_ALL_FEATURES
10319 if test -z "$defaultval"; then
10320 if test x"$enablestring" = xdisable; then
10321 defaultval=yes
10322 else
10323 defaultval=no
10324 fi
10325 fi
10326
10327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10328 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10329 # Check whether --enable-calendar was given.
10330 if test "${enable_calendar+set}" = set; then
10331 enableval=$enable_calendar;
10332 if test "$enableval" = yes; then
10333 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10334 else
10335 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10336 fi
10337
10338 else
10339
10340 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10341
10342 fi
10343
10344
10345 eval "$wx_cv_use_calendar"
10346
10347 if test x"$enablestring" = xdisable; then
10348 if test $wxUSE_CALCTRL = no; then
10349 result=yes
10350 else
10351 result=no
10352 fi
10353 else
10354 result=$wxUSE_CALCTRL
10355 fi
10356
10357 { echo "$as_me:$LINENO: result: $result" >&5
10358 echo "${ECHO_T}$result" >&6; }
10359
10360
10361 enablestring=
10362 defaultval=$wxUSE_ALL_FEATURES
10363 if test -z "$defaultval"; then
10364 if test x"$enablestring" = xdisable; then
10365 defaultval=yes
10366 else
10367 defaultval=no
10368 fi
10369 fi
10370
10371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10372 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10373 # Check whether --enable-caret was given.
10374 if test "${enable_caret+set}" = set; then
10375 enableval=$enable_caret;
10376 if test "$enableval" = yes; then
10377 wx_cv_use_caret='wxUSE_CARET=yes'
10378 else
10379 wx_cv_use_caret='wxUSE_CARET=no'
10380 fi
10381
10382 else
10383
10384 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10385
10386 fi
10387
10388
10389 eval "$wx_cv_use_caret"
10390
10391 if test x"$enablestring" = xdisable; then
10392 if test $wxUSE_CARET = no; then
10393 result=yes
10394 else
10395 result=no
10396 fi
10397 else
10398 result=$wxUSE_CARET
10399 fi
10400
10401 { echo "$as_me:$LINENO: result: $result" >&5
10402 echo "${ECHO_T}$result" >&6; }
10403
10404
10405 enablestring=
10406 defaultval=$wxUSE_ALL_FEATURES
10407 if test -z "$defaultval"; then
10408 if test x"$enablestring" = xdisable; then
10409 defaultval=yes
10410 else
10411 defaultval=no
10412 fi
10413 fi
10414
10415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10416 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10417 # Check whether --enable-checkbox was given.
10418 if test "${enable_checkbox+set}" = set; then
10419 enableval=$enable_checkbox;
10420 if test "$enableval" = yes; then
10421 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10422 else
10423 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10424 fi
10425
10426 else
10427
10428 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10429
10430 fi
10431
10432
10433 eval "$wx_cv_use_checkbox"
10434
10435 if test x"$enablestring" = xdisable; then
10436 if test $wxUSE_CHECKBOX = no; then
10437 result=yes
10438 else
10439 result=no
10440 fi
10441 else
10442 result=$wxUSE_CHECKBOX
10443 fi
10444
10445 { echo "$as_me:$LINENO: result: $result" >&5
10446 echo "${ECHO_T}$result" >&6; }
10447
10448
10449 enablestring=
10450 defaultval=$wxUSE_ALL_FEATURES
10451 if test -z "$defaultval"; then
10452 if test x"$enablestring" = xdisable; then
10453 defaultval=yes
10454 else
10455 defaultval=no
10456 fi
10457 fi
10458
10459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10460 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10461 # Check whether --enable-checklst was given.
10462 if test "${enable_checklst+set}" = set; then
10463 enableval=$enable_checklst;
10464 if test "$enableval" = yes; then
10465 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10466 else
10467 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10468 fi
10469
10470 else
10471
10472 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10473
10474 fi
10475
10476
10477 eval "$wx_cv_use_checklst"
10478
10479 if test x"$enablestring" = xdisable; then
10480 if test $wxUSE_CHECKLST = no; then
10481 result=yes
10482 else
10483 result=no
10484 fi
10485 else
10486 result=$wxUSE_CHECKLST
10487 fi
10488
10489 { echo "$as_me:$LINENO: result: $result" >&5
10490 echo "${ECHO_T}$result" >&6; }
10491
10492
10493 enablestring=
10494 defaultval=$wxUSE_ALL_FEATURES
10495 if test -z "$defaultval"; then
10496 if test x"$enablestring" = xdisable; then
10497 defaultval=yes
10498 else
10499 defaultval=no
10500 fi
10501 fi
10502
10503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10504 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10505 # Check whether --enable-choice was given.
10506 if test "${enable_choice+set}" = set; then
10507 enableval=$enable_choice;
10508 if test "$enableval" = yes; then
10509 wx_cv_use_choice='wxUSE_CHOICE=yes'
10510 else
10511 wx_cv_use_choice='wxUSE_CHOICE=no'
10512 fi
10513
10514 else
10515
10516 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10517
10518 fi
10519
10520
10521 eval "$wx_cv_use_choice"
10522
10523 if test x"$enablestring" = xdisable; then
10524 if test $wxUSE_CHOICE = no; then
10525 result=yes
10526 else
10527 result=no
10528 fi
10529 else
10530 result=$wxUSE_CHOICE
10531 fi
10532
10533 { echo "$as_me:$LINENO: result: $result" >&5
10534 echo "${ECHO_T}$result" >&6; }
10535
10536
10537 enablestring=
10538 defaultval=$wxUSE_ALL_FEATURES
10539 if test -z "$defaultval"; then
10540 if test x"$enablestring" = xdisable; then
10541 defaultval=yes
10542 else
10543 defaultval=no
10544 fi
10545 fi
10546
10547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10548 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10549 # Check whether --enable-choicebook was given.
10550 if test "${enable_choicebook+set}" = set; then
10551 enableval=$enable_choicebook;
10552 if test "$enableval" = yes; then
10553 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10554 else
10555 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10556 fi
10557
10558 else
10559
10560 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10561
10562 fi
10563
10564
10565 eval "$wx_cv_use_choicebook"
10566
10567 if test x"$enablestring" = xdisable; then
10568 if test $wxUSE_CHOICEBOOK = no; then
10569 result=yes
10570 else
10571 result=no
10572 fi
10573 else
10574 result=$wxUSE_CHOICEBOOK
10575 fi
10576
10577 { echo "$as_me:$LINENO: result: $result" >&5
10578 echo "${ECHO_T}$result" >&6; }
10579
10580
10581 enablestring=
10582 defaultval=$wxUSE_ALL_FEATURES
10583 if test -z "$defaultval"; then
10584 if test x"$enablestring" = xdisable; then
10585 defaultval=yes
10586 else
10587 defaultval=no
10588 fi
10589 fi
10590
10591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10592 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10593 # Check whether --enable-collpane was given.
10594 if test "${enable_collpane+set}" = set; then
10595 enableval=$enable_collpane;
10596 if test "$enableval" = yes; then
10597 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10598 else
10599 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10600 fi
10601
10602 else
10603
10604 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10605
10606 fi
10607
10608
10609 eval "$wx_cv_use_collpane"
10610
10611 if test x"$enablestring" = xdisable; then
10612 if test $wxUSE_COLLPANE = no; then
10613 result=yes
10614 else
10615 result=no
10616 fi
10617 else
10618 result=$wxUSE_COLLPANE
10619 fi
10620
10621 { echo "$as_me:$LINENO: result: $result" >&5
10622 echo "${ECHO_T}$result" >&6; }
10623
10624
10625 enablestring=
10626 defaultval=$wxUSE_ALL_FEATURES
10627 if test -z "$defaultval"; then
10628 if test x"$enablestring" = xdisable; then
10629 defaultval=yes
10630 else
10631 defaultval=no
10632 fi
10633 fi
10634
10635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10636 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10637 # Check whether --enable-colourpicker was given.
10638 if test "${enable_colourpicker+set}" = set; then
10639 enableval=$enable_colourpicker;
10640 if test "$enableval" = yes; then
10641 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10642 else
10643 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10644 fi
10645
10646 else
10647
10648 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10649
10650 fi
10651
10652
10653 eval "$wx_cv_use_colourpicker"
10654
10655 if test x"$enablestring" = xdisable; then
10656 if test $wxUSE_COLOURPICKERCTRL = no; then
10657 result=yes
10658 else
10659 result=no
10660 fi
10661 else
10662 result=$wxUSE_COLOURPICKERCTRL
10663 fi
10664
10665 { echo "$as_me:$LINENO: result: $result" >&5
10666 echo "${ECHO_T}$result" >&6; }
10667
10668
10669 enablestring=
10670 defaultval=$wxUSE_ALL_FEATURES
10671 if test -z "$defaultval"; then
10672 if test x"$enablestring" = xdisable; then
10673 defaultval=yes
10674 else
10675 defaultval=no
10676 fi
10677 fi
10678
10679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10680 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10681 # Check whether --enable-combobox was given.
10682 if test "${enable_combobox+set}" = set; then
10683 enableval=$enable_combobox;
10684 if test "$enableval" = yes; then
10685 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10686 else
10687 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10688 fi
10689
10690 else
10691
10692 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10693
10694 fi
10695
10696
10697 eval "$wx_cv_use_combobox"
10698
10699 if test x"$enablestring" = xdisable; then
10700 if test $wxUSE_COMBOBOX = no; then
10701 result=yes
10702 else
10703 result=no
10704 fi
10705 else
10706 result=$wxUSE_COMBOBOX
10707 fi
10708
10709 { echo "$as_me:$LINENO: result: $result" >&5
10710 echo "${ECHO_T}$result" >&6; }
10711
10712
10713 enablestring=
10714 defaultval=$wxUSE_ALL_FEATURES
10715 if test -z "$defaultval"; then
10716 if test x"$enablestring" = xdisable; then
10717 defaultval=yes
10718 else
10719 defaultval=no
10720 fi
10721 fi
10722
10723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10724 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10725 # Check whether --enable-comboctrl was given.
10726 if test "${enable_comboctrl+set}" = set; then
10727 enableval=$enable_comboctrl;
10728 if test "$enableval" = yes; then
10729 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10730 else
10731 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10732 fi
10733
10734 else
10735
10736 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10737
10738 fi
10739
10740
10741 eval "$wx_cv_use_comboctrl"
10742
10743 if test x"$enablestring" = xdisable; then
10744 if test $wxUSE_COMBOCTRL = no; then
10745 result=yes
10746 else
10747 result=no
10748 fi
10749 else
10750 result=$wxUSE_COMBOCTRL
10751 fi
10752
10753 { echo "$as_me:$LINENO: result: $result" >&5
10754 echo "${ECHO_T}$result" >&6; }
10755
10756
10757 enablestring=
10758 defaultval=$wxUSE_ALL_FEATURES
10759 if test -z "$defaultval"; then
10760 if test x"$enablestring" = xdisable; then
10761 defaultval=yes
10762 else
10763 defaultval=no
10764 fi
10765 fi
10766
10767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commandlinkbutton" >&5
10768 echo $ECHO_N "checking for --${enablestring:-enable}-commandlinkbutton... $ECHO_C" >&6; }
10769 # Check whether --enable-commandlinkbutton was given.
10770 if test "${enable_commandlinkbutton+set}" = set; then
10771 enableval=$enable_commandlinkbutton;
10772 if test "$enableval" = yes; then
10773 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
10774 else
10775 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
10776 fi
10777
10778 else
10779
10780 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10781
10782 fi
10783
10784
10785 eval "$wx_cv_use_commandlinkbutton"
10786
10787 if test x"$enablestring" = xdisable; then
10788 if test $wxUSE_COMMANDLINKBUTTON = no; then
10789 result=yes
10790 else
10791 result=no
10792 fi
10793 else
10794 result=$wxUSE_COMMANDLINKBUTTON
10795 fi
10796
10797 { echo "$as_me:$LINENO: result: $result" >&5
10798 echo "${ECHO_T}$result" >&6; }
10799
10800
10801 enablestring=
10802 defaultval=$wxUSE_ALL_FEATURES
10803 if test -z "$defaultval"; then
10804 if test x"$enablestring" = xdisable; then
10805 defaultval=yes
10806 else
10807 defaultval=no
10808 fi
10809 fi
10810
10811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10812 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10813 # Check whether --enable-dataviewctrl was given.
10814 if test "${enable_dataviewctrl+set}" = set; then
10815 enableval=$enable_dataviewctrl;
10816 if test "$enableval" = yes; then
10817 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10818 else
10819 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10820 fi
10821
10822 else
10823
10824 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10825
10826 fi
10827
10828
10829 eval "$wx_cv_use_dataviewctrl"
10830
10831 if test x"$enablestring" = xdisable; then
10832 if test $wxUSE_DATAVIEWCTRL = no; then
10833 result=yes
10834 else
10835 result=no
10836 fi
10837 else
10838 result=$wxUSE_DATAVIEWCTRL
10839 fi
10840
10841 { echo "$as_me:$LINENO: result: $result" >&5
10842 echo "${ECHO_T}$result" >&6; }
10843
10844
10845 enablestring=
10846 defaultval=$wxUSE_ALL_FEATURES
10847 if test -z "$defaultval"; then
10848 if test x"$enablestring" = xdisable; then
10849 defaultval=yes
10850 else
10851 defaultval=no
10852 fi
10853 fi
10854
10855 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10856 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10857 # Check whether --enable-datepick was given.
10858 if test "${enable_datepick+set}" = set; then
10859 enableval=$enable_datepick;
10860 if test "$enableval" = yes; then
10861 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10862 else
10863 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10864 fi
10865
10866 else
10867
10868 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10869
10870 fi
10871
10872
10873 eval "$wx_cv_use_datepick"
10874
10875 if test x"$enablestring" = xdisable; then
10876 if test $wxUSE_DATEPICKCTRL = no; then
10877 result=yes
10878 else
10879 result=no
10880 fi
10881 else
10882 result=$wxUSE_DATEPICKCTRL
10883 fi
10884
10885 { echo "$as_me:$LINENO: result: $result" >&5
10886 echo "${ECHO_T}$result" >&6; }
10887
10888
10889 enablestring=
10890 defaultval=$wxUSE_ALL_FEATURES
10891 if test -z "$defaultval"; then
10892 if test x"$enablestring" = xdisable; then
10893 defaultval=yes
10894 else
10895 defaultval=no
10896 fi
10897 fi
10898
10899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10900 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10901 # Check whether --enable-detect_sm was given.
10902 if test "${enable_detect_sm+set}" = set; then
10903 enableval=$enable_detect_sm;
10904 if test "$enableval" = yes; then
10905 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10906 else
10907 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10908 fi
10909
10910 else
10911
10912 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10913
10914 fi
10915
10916
10917 eval "$wx_cv_use_detect_sm"
10918
10919 if test x"$enablestring" = xdisable; then
10920 if test $wxUSE_DETECT_SM = no; then
10921 result=yes
10922 else
10923 result=no
10924 fi
10925 else
10926 result=$wxUSE_DETECT_SM
10927 fi
10928
10929 { echo "$as_me:$LINENO: result: $result" >&5
10930 echo "${ECHO_T}$result" >&6; }
10931
10932
10933 enablestring=
10934 defaultval=$wxUSE_ALL_FEATURES
10935 if test -z "$defaultval"; then
10936 if test x"$enablestring" = xdisable; then
10937 defaultval=yes
10938 else
10939 defaultval=no
10940 fi
10941 fi
10942
10943 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10944 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10945 # Check whether --enable-dirpicker was given.
10946 if test "${enable_dirpicker+set}" = set; then
10947 enableval=$enable_dirpicker;
10948 if test "$enableval" = yes; then
10949 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10950 else
10951 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10952 fi
10953
10954 else
10955
10956 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10957
10958 fi
10959
10960
10961 eval "$wx_cv_use_dirpicker"
10962
10963 if test x"$enablestring" = xdisable; then
10964 if test $wxUSE_DIRPICKERCTRL = no; then
10965 result=yes
10966 else
10967 result=no
10968 fi
10969 else
10970 result=$wxUSE_DIRPICKERCTRL
10971 fi
10972
10973 { echo "$as_me:$LINENO: result: $result" >&5
10974 echo "${ECHO_T}$result" >&6; }
10975
10976
10977 enablestring=
10978 defaultval=$wxUSE_ALL_FEATURES
10979 if test -z "$defaultval"; then
10980 if test x"$enablestring" = xdisable; then
10981 defaultval=yes
10982 else
10983 defaultval=no
10984 fi
10985 fi
10986
10987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10988 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10989 # Check whether --enable-display was given.
10990 if test "${enable_display+set}" = set; then
10991 enableval=$enable_display;
10992 if test "$enableval" = yes; then
10993 wx_cv_use_display='wxUSE_DISPLAY=yes'
10994 else
10995 wx_cv_use_display='wxUSE_DISPLAY=no'
10996 fi
10997
10998 else
10999
11000 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11001
11002 fi
11003
11004
11005 eval "$wx_cv_use_display"
11006
11007 if test x"$enablestring" = xdisable; then
11008 if test $wxUSE_DISPLAY = no; then
11009 result=yes
11010 else
11011 result=no
11012 fi
11013 else
11014 result=$wxUSE_DISPLAY
11015 fi
11016
11017 { echo "$as_me:$LINENO: result: $result" >&5
11018 echo "${ECHO_T}$result" >&6; }
11019
11020
11021 enablestring=
11022 defaultval=$wxUSE_ALL_FEATURES
11023 if test -z "$defaultval"; then
11024 if test x"$enablestring" = xdisable; then
11025 defaultval=yes
11026 else
11027 defaultval=no
11028 fi
11029 fi
11030
11031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
11032 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
11033 # Check whether --enable-editablebox was given.
11034 if test "${enable_editablebox+set}" = set; then
11035 enableval=$enable_editablebox;
11036 if test "$enableval" = yes; then
11037 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11038 else
11039 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11040 fi
11041
11042 else
11043
11044 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11045
11046 fi
11047
11048
11049 eval "$wx_cv_use_editablebox"
11050
11051 if test x"$enablestring" = xdisable; then
11052 if test $wxUSE_EDITABLELISTBOX = no; then
11053 result=yes
11054 else
11055 result=no
11056 fi
11057 else
11058 result=$wxUSE_EDITABLELISTBOX
11059 fi
11060
11061 { echo "$as_me:$LINENO: result: $result" >&5
11062 echo "${ECHO_T}$result" >&6; }
11063
11064
11065 enablestring=
11066 defaultval=$wxUSE_ALL_FEATURES
11067 if test -z "$defaultval"; then
11068 if test x"$enablestring" = xdisable; then
11069 defaultval=yes
11070 else
11071 defaultval=no
11072 fi
11073 fi
11074
11075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
11076 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
11077 # Check whether --enable-filectrl was given.
11078 if test "${enable_filectrl+set}" = set; then
11079 enableval=$enable_filectrl;
11080 if test "$enableval" = yes; then
11081 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
11082 else
11083 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
11084 fi
11085
11086 else
11087
11088 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
11089
11090 fi
11091
11092
11093 eval "$wx_cv_use_filectrl"
11094
11095 if test x"$enablestring" = xdisable; then
11096 if test $wxUSE_FILECTRL = no; then
11097 result=yes
11098 else
11099 result=no
11100 fi
11101 else
11102 result=$wxUSE_FILECTRL
11103 fi
11104
11105 { echo "$as_me:$LINENO: result: $result" >&5
11106 echo "${ECHO_T}$result" >&6; }
11107
11108
11109 enablestring=
11110 defaultval=$wxUSE_ALL_FEATURES
11111 if test -z "$defaultval"; then
11112 if test x"$enablestring" = xdisable; then
11113 defaultval=yes
11114 else
11115 defaultval=no
11116 fi
11117 fi
11118
11119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11120 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11121 # Check whether --enable-filepicker was given.
11122 if test "${enable_filepicker+set}" = set; then
11123 enableval=$enable_filepicker;
11124 if test "$enableval" = yes; then
11125 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11126 else
11127 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11128 fi
11129
11130 else
11131
11132 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11133
11134 fi
11135
11136
11137 eval "$wx_cv_use_filepicker"
11138
11139 if test x"$enablestring" = xdisable; then
11140 if test $wxUSE_FILEPICKERCTRL = no; then
11141 result=yes
11142 else
11143 result=no
11144 fi
11145 else
11146 result=$wxUSE_FILEPICKERCTRL
11147 fi
11148
11149 { echo "$as_me:$LINENO: result: $result" >&5
11150 echo "${ECHO_T}$result" >&6; }
11151
11152
11153 enablestring=
11154 defaultval=$wxUSE_ALL_FEATURES
11155 if test -z "$defaultval"; then
11156 if test x"$enablestring" = xdisable; then
11157 defaultval=yes
11158 else
11159 defaultval=no
11160 fi
11161 fi
11162
11163 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11164 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11165 # Check whether --enable-fontpicker was given.
11166 if test "${enable_fontpicker+set}" = set; then
11167 enableval=$enable_fontpicker;
11168 if test "$enableval" = yes; then
11169 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11170 else
11171 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11172 fi
11173
11174 else
11175
11176 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11177
11178 fi
11179
11180
11181 eval "$wx_cv_use_fontpicker"
11182
11183 if test x"$enablestring" = xdisable; then
11184 if test $wxUSE_FONTPICKERCTRL = no; then
11185 result=yes
11186 else
11187 result=no
11188 fi
11189 else
11190 result=$wxUSE_FONTPICKERCTRL
11191 fi
11192
11193 { echo "$as_me:$LINENO: result: $result" >&5
11194 echo "${ECHO_T}$result" >&6; }
11195
11196
11197 enablestring=
11198 defaultval=$wxUSE_ALL_FEATURES
11199 if test -z "$defaultval"; then
11200 if test x"$enablestring" = xdisable; then
11201 defaultval=yes
11202 else
11203 defaultval=no
11204 fi
11205 fi
11206
11207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11208 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11209 # Check whether --enable-gauge was given.
11210 if test "${enable_gauge+set}" = set; then
11211 enableval=$enable_gauge;
11212 if test "$enableval" = yes; then
11213 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11214 else
11215 wx_cv_use_gauge='wxUSE_GAUGE=no'
11216 fi
11217
11218 else
11219
11220 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11221
11222 fi
11223
11224
11225 eval "$wx_cv_use_gauge"
11226
11227 if test x"$enablestring" = xdisable; then
11228 if test $wxUSE_GAUGE = no; then
11229 result=yes
11230 else
11231 result=no
11232 fi
11233 else
11234 result=$wxUSE_GAUGE
11235 fi
11236
11237 { echo "$as_me:$LINENO: result: $result" >&5
11238 echo "${ECHO_T}$result" >&6; }
11239
11240
11241 enablestring=
11242 defaultval=$wxUSE_ALL_FEATURES
11243 if test -z "$defaultval"; then
11244 if test x"$enablestring" = xdisable; then
11245 defaultval=yes
11246 else
11247 defaultval=no
11248 fi
11249 fi
11250
11251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11252 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11253 # Check whether --enable-grid was given.
11254 if test "${enable_grid+set}" = set; then
11255 enableval=$enable_grid;
11256 if test "$enableval" = yes; then
11257 wx_cv_use_grid='wxUSE_GRID=yes'
11258 else
11259 wx_cv_use_grid='wxUSE_GRID=no'
11260 fi
11261
11262 else
11263
11264 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11265
11266 fi
11267
11268
11269 eval "$wx_cv_use_grid"
11270
11271 if test x"$enablestring" = xdisable; then
11272 if test $wxUSE_GRID = no; then
11273 result=yes
11274 else
11275 result=no
11276 fi
11277 else
11278 result=$wxUSE_GRID
11279 fi
11280
11281 { echo "$as_me:$LINENO: result: $result" >&5
11282 echo "${ECHO_T}$result" >&6; }
11283
11284
11285 enablestring=
11286 defaultval=$wxUSE_ALL_FEATURES
11287 if test -z "$defaultval"; then
11288 if test x"$enablestring" = xdisable; then
11289 defaultval=yes
11290 else
11291 defaultval=no
11292 fi
11293 fi
11294
11295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
11296 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
11297 # Check whether --enable-headerctrl was given.
11298 if test "${enable_headerctrl+set}" = set; then
11299 enableval=$enable_headerctrl;
11300 if test "$enableval" = yes; then
11301 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
11302 else
11303 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
11304 fi
11305
11306 else
11307
11308 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11309
11310 fi
11311
11312
11313 eval "$wx_cv_use_headerctrl"
11314
11315 if test x"$enablestring" = xdisable; then
11316 if test $wxUSE_HEADERCTRL = no; then
11317 result=yes
11318 else
11319 result=no
11320 fi
11321 else
11322 result=$wxUSE_HEADERCTRL
11323 fi
11324
11325 { echo "$as_me:$LINENO: result: $result" >&5
11326 echo "${ECHO_T}$result" >&6; }
11327
11328
11329 enablestring=
11330 defaultval=$wxUSE_ALL_FEATURES
11331 if test -z "$defaultval"; then
11332 if test x"$enablestring" = xdisable; then
11333 defaultval=yes
11334 else
11335 defaultval=no
11336 fi
11337 fi
11338
11339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11340 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11341 # Check whether --enable-hyperlink was given.
11342 if test "${enable_hyperlink+set}" = set; then
11343 enableval=$enable_hyperlink;
11344 if test "$enableval" = yes; then
11345 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11346 else
11347 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11348 fi
11349
11350 else
11351
11352 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11353
11354 fi
11355
11356
11357 eval "$wx_cv_use_hyperlink"
11358
11359 if test x"$enablestring" = xdisable; then
11360 if test $wxUSE_HYPERLINKCTRL = no; then
11361 result=yes
11362 else
11363 result=no
11364 fi
11365 else
11366 result=$wxUSE_HYPERLINKCTRL
11367 fi
11368
11369 { echo "$as_me:$LINENO: result: $result" >&5
11370 echo "${ECHO_T}$result" >&6; }
11371
11372
11373 enablestring=
11374 defaultval=$wxUSE_ALL_FEATURES
11375 if test -z "$defaultval"; then
11376 if test x"$enablestring" = xdisable; then
11377 defaultval=yes
11378 else
11379 defaultval=no
11380 fi
11381 fi
11382
11383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11384 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11385 # Check whether --enable-imaglist was given.
11386 if test "${enable_imaglist+set}" = set; then
11387 enableval=$enable_imaglist;
11388 if test "$enableval" = yes; then
11389 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11390 else
11391 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11392 fi
11393
11394 else
11395
11396 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11397
11398 fi
11399
11400
11401 eval "$wx_cv_use_imaglist"
11402
11403 if test x"$enablestring" = xdisable; then
11404 if test $wxUSE_IMAGLIST = no; then
11405 result=yes
11406 else
11407 result=no
11408 fi
11409 else
11410 result=$wxUSE_IMAGLIST
11411 fi
11412
11413 { echo "$as_me:$LINENO: result: $result" >&5
11414 echo "${ECHO_T}$result" >&6; }
11415
11416
11417 enablestring=
11418 defaultval=$wxUSE_ALL_FEATURES
11419 if test -z "$defaultval"; then
11420 if test x"$enablestring" = xdisable; then
11421 defaultval=yes
11422 else
11423 defaultval=no
11424 fi
11425 fi
11426
11427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11428 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11429 # Check whether --enable-infobar was given.
11430 if test "${enable_infobar+set}" = set; then
11431 enableval=$enable_infobar;
11432 if test "$enableval" = yes; then
11433 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11434 else
11435 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11436 fi
11437
11438 else
11439
11440 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11441
11442 fi
11443
11444
11445 eval "$wx_cv_use_infobar"
11446
11447 if test x"$enablestring" = xdisable; then
11448 if test $wxUSE_INFOBAR = no; then
11449 result=yes
11450 else
11451 result=no
11452 fi
11453 else
11454 result=$wxUSE_INFOBAR
11455 fi
11456
11457 { echo "$as_me:$LINENO: result: $result" >&5
11458 echo "${ECHO_T}$result" >&6; }
11459
11460
11461 enablestring=
11462 defaultval=$wxUSE_ALL_FEATURES
11463 if test -z "$defaultval"; then
11464 if test x"$enablestring" = xdisable; then
11465 defaultval=yes
11466 else
11467 defaultval=no
11468 fi
11469 fi
11470
11471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11472 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11473 # Check whether --enable-listbook was given.
11474 if test "${enable_listbook+set}" = set; then
11475 enableval=$enable_listbook;
11476 if test "$enableval" = yes; then
11477 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11478 else
11479 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11480 fi
11481
11482 else
11483
11484 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11485
11486 fi
11487
11488
11489 eval "$wx_cv_use_listbook"
11490
11491 if test x"$enablestring" = xdisable; then
11492 if test $wxUSE_LISTBOOK = no; then
11493 result=yes
11494 else
11495 result=no
11496 fi
11497 else
11498 result=$wxUSE_LISTBOOK
11499 fi
11500
11501 { echo "$as_me:$LINENO: result: $result" >&5
11502 echo "${ECHO_T}$result" >&6; }
11503
11504
11505 enablestring=
11506 defaultval=$wxUSE_ALL_FEATURES
11507 if test -z "$defaultval"; then
11508 if test x"$enablestring" = xdisable; then
11509 defaultval=yes
11510 else
11511 defaultval=no
11512 fi
11513 fi
11514
11515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11516 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11517 # Check whether --enable-listbox was given.
11518 if test "${enable_listbox+set}" = set; then
11519 enableval=$enable_listbox;
11520 if test "$enableval" = yes; then
11521 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11522 else
11523 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11524 fi
11525
11526 else
11527
11528 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11529
11530 fi
11531
11532
11533 eval "$wx_cv_use_listbox"
11534
11535 if test x"$enablestring" = xdisable; then
11536 if test $wxUSE_LISTBOX = no; then
11537 result=yes
11538 else
11539 result=no
11540 fi
11541 else
11542 result=$wxUSE_LISTBOX
11543 fi
11544
11545 { echo "$as_me:$LINENO: result: $result" >&5
11546 echo "${ECHO_T}$result" >&6; }
11547
11548
11549 enablestring=
11550 defaultval=$wxUSE_ALL_FEATURES
11551 if test -z "$defaultval"; then
11552 if test x"$enablestring" = xdisable; then
11553 defaultval=yes
11554 else
11555 defaultval=no
11556 fi
11557 fi
11558
11559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11560 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11561 # Check whether --enable-listctrl was given.
11562 if test "${enable_listctrl+set}" = set; then
11563 enableval=$enable_listctrl;
11564 if test "$enableval" = yes; then
11565 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11566 else
11567 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11568 fi
11569
11570 else
11571
11572 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11573
11574 fi
11575
11576
11577 eval "$wx_cv_use_listctrl"
11578
11579 if test x"$enablestring" = xdisable; then
11580 if test $wxUSE_LISTCTRL = no; then
11581 result=yes
11582 else
11583 result=no
11584 fi
11585 else
11586 result=$wxUSE_LISTCTRL
11587 fi
11588
11589 { echo "$as_me:$LINENO: result: $result" >&5
11590 echo "${ECHO_T}$result" >&6; }
11591
11592
11593 enablestring=
11594 defaultval=$wxUSE_ALL_FEATURES
11595 if test -z "$defaultval"; then
11596 if test x"$enablestring" = xdisable; then
11597 defaultval=yes
11598 else
11599 defaultval=no
11600 fi
11601 fi
11602
11603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11604 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11605 # Check whether --enable-notebook was given.
11606 if test "${enable_notebook+set}" = set; then
11607 enableval=$enable_notebook;
11608 if test "$enableval" = yes; then
11609 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11610 else
11611 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11612 fi
11613
11614 else
11615
11616 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11617
11618 fi
11619
11620
11621 eval "$wx_cv_use_notebook"
11622
11623 if test x"$enablestring" = xdisable; then
11624 if test $wxUSE_NOTEBOOK = no; then
11625 result=yes
11626 else
11627 result=no
11628 fi
11629 else
11630 result=$wxUSE_NOTEBOOK
11631 fi
11632
11633 { echo "$as_me:$LINENO: result: $result" >&5
11634 echo "${ECHO_T}$result" >&6; }
11635
11636
11637 enablestring=
11638 defaultval=$wxUSE_ALL_FEATURES
11639 if test -z "$defaultval"; then
11640 if test x"$enablestring" = xdisable; then
11641 defaultval=yes
11642 else
11643 defaultval=no
11644 fi
11645 fi
11646
11647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11648 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11649 # Check whether --enable-notifmsg was given.
11650 if test "${enable_notifmsg+set}" = set; then
11651 enableval=$enable_notifmsg;
11652 if test "$enableval" = yes; then
11653 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11654 else
11655 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11656 fi
11657
11658 else
11659
11660 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11661
11662 fi
11663
11664
11665 eval "$wx_cv_use_notifmsg"
11666
11667 if test x"$enablestring" = xdisable; then
11668 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11669 result=yes
11670 else
11671 result=no
11672 fi
11673 else
11674 result=$wxUSE_NOTIFICATION_MESSAGE
11675 fi
11676
11677 { echo "$as_me:$LINENO: result: $result" >&5
11678 echo "${ECHO_T}$result" >&6; }
11679
11680
11681 enablestring=
11682 defaultval=$wxUSE_ALL_FEATURES
11683 if test -z "$defaultval"; then
11684 if test x"$enablestring" = xdisable; then
11685 defaultval=yes
11686 else
11687 defaultval=no
11688 fi
11689 fi
11690
11691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11692 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11693 # Check whether --enable-odcombobox was given.
11694 if test "${enable_odcombobox+set}" = set; then
11695 enableval=$enable_odcombobox;
11696 if test "$enableval" = yes; then
11697 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11698 else
11699 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11700 fi
11701
11702 else
11703
11704 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11705
11706 fi
11707
11708
11709 eval "$wx_cv_use_odcombobox"
11710
11711 if test x"$enablestring" = xdisable; then
11712 if test $wxUSE_ODCOMBOBOX = no; then
11713 result=yes
11714 else
11715 result=no
11716 fi
11717 else
11718 result=$wxUSE_ODCOMBOBOX
11719 fi
11720
11721 { echo "$as_me:$LINENO: result: $result" >&5
11722 echo "${ECHO_T}$result" >&6; }
11723
11724
11725 enablestring=
11726 defaultval=$wxUSE_ALL_FEATURES
11727 if test -z "$defaultval"; then
11728 if test x"$enablestring" = xdisable; then
11729 defaultval=yes
11730 else
11731 defaultval=no
11732 fi
11733 fi
11734
11735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11736 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11737 # Check whether --enable-popupwin was given.
11738 if test "${enable_popupwin+set}" = set; then
11739 enableval=$enable_popupwin;
11740 if test "$enableval" = yes; then
11741 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11742 else
11743 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11744 fi
11745
11746 else
11747
11748 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11749
11750 fi
11751
11752
11753 eval "$wx_cv_use_popupwin"
11754
11755 if test x"$enablestring" = xdisable; then
11756 if test $wxUSE_POPUPWIN = no; then
11757 result=yes
11758 else
11759 result=no
11760 fi
11761 else
11762 result=$wxUSE_POPUPWIN
11763 fi
11764
11765 { echo "$as_me:$LINENO: result: $result" >&5
11766 echo "${ECHO_T}$result" >&6; }
11767
11768
11769 enablestring=
11770 defaultval=$wxUSE_ALL_FEATURES
11771 if test -z "$defaultval"; then
11772 if test x"$enablestring" = xdisable; then
11773 defaultval=yes
11774 else
11775 defaultval=no
11776 fi
11777 fi
11778
11779 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11780 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11781 # Check whether --enable-radiobox was given.
11782 if test "${enable_radiobox+set}" = set; then
11783 enableval=$enable_radiobox;
11784 if test "$enableval" = yes; then
11785 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11786 else
11787 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11788 fi
11789
11790 else
11791
11792 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11793
11794 fi
11795
11796
11797 eval "$wx_cv_use_radiobox"
11798
11799 if test x"$enablestring" = xdisable; then
11800 if test $wxUSE_RADIOBOX = no; then
11801 result=yes
11802 else
11803 result=no
11804 fi
11805 else
11806 result=$wxUSE_RADIOBOX
11807 fi
11808
11809 { echo "$as_me:$LINENO: result: $result" >&5
11810 echo "${ECHO_T}$result" >&6; }
11811
11812
11813 enablestring=
11814 defaultval=$wxUSE_ALL_FEATURES
11815 if test -z "$defaultval"; then
11816 if test x"$enablestring" = xdisable; then
11817 defaultval=yes
11818 else
11819 defaultval=no
11820 fi
11821 fi
11822
11823 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11824 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11825 # Check whether --enable-radiobtn was given.
11826 if test "${enable_radiobtn+set}" = set; then
11827 enableval=$enable_radiobtn;
11828 if test "$enableval" = yes; then
11829 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11830 else
11831 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11832 fi
11833
11834 else
11835
11836 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11837
11838 fi
11839
11840
11841 eval "$wx_cv_use_radiobtn"
11842
11843 if test x"$enablestring" = xdisable; then
11844 if test $wxUSE_RADIOBTN = no; then
11845 result=yes
11846 else
11847 result=no
11848 fi
11849 else
11850 result=$wxUSE_RADIOBTN
11851 fi
11852
11853 { echo "$as_me:$LINENO: result: $result" >&5
11854 echo "${ECHO_T}$result" >&6; }
11855
11856
11857 enablestring=
11858 defaultval=$wxUSE_ALL_FEATURES
11859 if test -z "$defaultval"; then
11860 if test x"$enablestring" = xdisable; then
11861 defaultval=yes
11862 else
11863 defaultval=no
11864 fi
11865 fi
11866
11867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richmsgdlg" >&5
11868 echo $ECHO_N "checking for --${enablestring:-enable}-richmsgdlg... $ECHO_C" >&6; }
11869 # Check whether --enable-richmsgdlg was given.
11870 if test "${enable_richmsgdlg+set}" = set; then
11871 enableval=$enable_richmsgdlg;
11872 if test "$enableval" = yes; then
11873 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
11874 else
11875 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
11876 fi
11877
11878 else
11879
11880 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11881
11882 fi
11883
11884
11885 eval "$wx_cv_use_richmsgdlg"
11886
11887 if test x"$enablestring" = xdisable; then
11888 if test $wxUSE_RICHMSGDLG = no; then
11889 result=yes
11890 else
11891 result=no
11892 fi
11893 else
11894 result=$wxUSE_RICHMSGDLG
11895 fi
11896
11897 { echo "$as_me:$LINENO: result: $result" >&5
11898 echo "${ECHO_T}$result" >&6; }
11899
11900
11901 enablestring=
11902 defaultval=$wxUSE_ALL_FEATURES
11903 if test -z "$defaultval"; then
11904 if test x"$enablestring" = xdisable; then
11905 defaultval=yes
11906 else
11907 defaultval=no
11908 fi
11909 fi
11910
11911 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11912 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11913 # Check whether --enable-rearrangectrl was given.
11914 if test "${enable_rearrangectrl+set}" = set; then
11915 enableval=$enable_rearrangectrl;
11916 if test "$enableval" = yes; then
11917 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11918 else
11919 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11920 fi
11921
11922 else
11923
11924 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11925
11926 fi
11927
11928
11929 eval "$wx_cv_use_rearrangectrl"
11930
11931 if test x"$enablestring" = xdisable; then
11932 if test $wxUSE_REARRANGECTRL = no; then
11933 result=yes
11934 else
11935 result=no
11936 fi
11937 else
11938 result=$wxUSE_REARRANGECTRL
11939 fi
11940
11941 { echo "$as_me:$LINENO: result: $result" >&5
11942 echo "${ECHO_T}$result" >&6; }
11943
11944
11945 enablestring=
11946 defaultval=$wxUSE_ALL_FEATURES
11947 if test -z "$defaultval"; then
11948 if test x"$enablestring" = xdisable; then
11949 defaultval=yes
11950 else
11951 defaultval=no
11952 fi
11953 fi
11954
11955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11956 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11957 # Check whether --enable-sash was given.
11958 if test "${enable_sash+set}" = set; then
11959 enableval=$enable_sash;
11960 if test "$enableval" = yes; then
11961 wx_cv_use_sash='wxUSE_SASH=yes'
11962 else
11963 wx_cv_use_sash='wxUSE_SASH=no'
11964 fi
11965
11966 else
11967
11968 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11969
11970 fi
11971
11972
11973 eval "$wx_cv_use_sash"
11974
11975 if test x"$enablestring" = xdisable; then
11976 if test $wxUSE_SASH = no; then
11977 result=yes
11978 else
11979 result=no
11980 fi
11981 else
11982 result=$wxUSE_SASH
11983 fi
11984
11985 { echo "$as_me:$LINENO: result: $result" >&5
11986 echo "${ECHO_T}$result" >&6; }
11987
11988
11989 enablestring=
11990 defaultval=$wxUSE_ALL_FEATURES
11991 if test -z "$defaultval"; then
11992 if test x"$enablestring" = xdisable; then
11993 defaultval=yes
11994 else
11995 defaultval=no
11996 fi
11997 fi
11998
11999 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12000 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12001 # Check whether --enable-scrollbar was given.
12002 if test "${enable_scrollbar+set}" = set; then
12003 enableval=$enable_scrollbar;
12004 if test "$enableval" = yes; then
12005 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12006 else
12007 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12008 fi
12009
12010 else
12011
12012 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12013
12014 fi
12015
12016
12017 eval "$wx_cv_use_scrollbar"
12018
12019 if test x"$enablestring" = xdisable; then
12020 if test $wxUSE_SCROLLBAR = no; then
12021 result=yes
12022 else
12023 result=no
12024 fi
12025 else
12026 result=$wxUSE_SCROLLBAR
12027 fi
12028
12029 { echo "$as_me:$LINENO: result: $result" >&5
12030 echo "${ECHO_T}$result" >&6; }
12031
12032
12033 enablestring=
12034 defaultval=$wxUSE_ALL_FEATURES
12035 if test -z "$defaultval"; then
12036 if test x"$enablestring" = xdisable; then
12037 defaultval=yes
12038 else
12039 defaultval=no
12040 fi
12041 fi
12042
12043 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12044 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12045 # Check whether --enable-searchctrl was given.
12046 if test "${enable_searchctrl+set}" = set; then
12047 enableval=$enable_searchctrl;
12048 if test "$enableval" = yes; then
12049 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12050 else
12051 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12052 fi
12053
12054 else
12055
12056 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12057
12058 fi
12059
12060
12061 eval "$wx_cv_use_searchctrl"
12062
12063 if test x"$enablestring" = xdisable; then
12064 if test $wxUSE_SEARCHCTRL = no; then
12065 result=yes
12066 else
12067 result=no
12068 fi
12069 else
12070 result=$wxUSE_SEARCHCTRL
12071 fi
12072
12073 { echo "$as_me:$LINENO: result: $result" >&5
12074 echo "${ECHO_T}$result" >&6; }
12075
12076
12077 enablestring=
12078 defaultval=$wxUSE_ALL_FEATURES
12079 if test -z "$defaultval"; then
12080 if test x"$enablestring" = xdisable; then
12081 defaultval=yes
12082 else
12083 defaultval=no
12084 fi
12085 fi
12086
12087 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12088 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12089 # Check whether --enable-slider was given.
12090 if test "${enable_slider+set}" = set; then
12091 enableval=$enable_slider;
12092 if test "$enableval" = yes; then
12093 wx_cv_use_slider='wxUSE_SLIDER=yes'
12094 else
12095 wx_cv_use_slider='wxUSE_SLIDER=no'
12096 fi
12097
12098 else
12099
12100 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12101
12102 fi
12103
12104
12105 eval "$wx_cv_use_slider"
12106
12107 if test x"$enablestring" = xdisable; then
12108 if test $wxUSE_SLIDER = no; then
12109 result=yes
12110 else
12111 result=no
12112 fi
12113 else
12114 result=$wxUSE_SLIDER
12115 fi
12116
12117 { echo "$as_me:$LINENO: result: $result" >&5
12118 echo "${ECHO_T}$result" >&6; }
12119
12120
12121 enablestring=
12122 defaultval=$wxUSE_ALL_FEATURES
12123 if test -z "$defaultval"; then
12124 if test x"$enablestring" = xdisable; then
12125 defaultval=yes
12126 else
12127 defaultval=no
12128 fi
12129 fi
12130
12131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12132 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12133 # Check whether --enable-spinbtn was given.
12134 if test "${enable_spinbtn+set}" = set; then
12135 enableval=$enable_spinbtn;
12136 if test "$enableval" = yes; then
12137 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12138 else
12139 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12140 fi
12141
12142 else
12143
12144 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12145
12146 fi
12147
12148
12149 eval "$wx_cv_use_spinbtn"
12150
12151 if test x"$enablestring" = xdisable; then
12152 if test $wxUSE_SPINBTN = no; then
12153 result=yes
12154 else
12155 result=no
12156 fi
12157 else
12158 result=$wxUSE_SPINBTN
12159 fi
12160
12161 { echo "$as_me:$LINENO: result: $result" >&5
12162 echo "${ECHO_T}$result" >&6; }
12163
12164
12165 enablestring=
12166 defaultval=$wxUSE_ALL_FEATURES
12167 if test -z "$defaultval"; then
12168 if test x"$enablestring" = xdisable; then
12169 defaultval=yes
12170 else
12171 defaultval=no
12172 fi
12173 fi
12174
12175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12176 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12177 # Check whether --enable-spinctrl was given.
12178 if test "${enable_spinctrl+set}" = set; then
12179 enableval=$enable_spinctrl;
12180 if test "$enableval" = yes; then
12181 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12182 else
12183 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12184 fi
12185
12186 else
12187
12188 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12189
12190 fi
12191
12192
12193 eval "$wx_cv_use_spinctrl"
12194
12195 if test x"$enablestring" = xdisable; then
12196 if test $wxUSE_SPINCTRL = no; then
12197 result=yes
12198 else
12199 result=no
12200 fi
12201 else
12202 result=$wxUSE_SPINCTRL
12203 fi
12204
12205 { echo "$as_me:$LINENO: result: $result" >&5
12206 echo "${ECHO_T}$result" >&6; }
12207
12208
12209 enablestring=
12210 defaultval=$wxUSE_ALL_FEATURES
12211 if test -z "$defaultval"; then
12212 if test x"$enablestring" = xdisable; then
12213 defaultval=yes
12214 else
12215 defaultval=no
12216 fi
12217 fi
12218
12219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12220 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12221 # Check whether --enable-splitter was given.
12222 if test "${enable_splitter+set}" = set; then
12223 enableval=$enable_splitter;
12224 if test "$enableval" = yes; then
12225 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12226 else
12227 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12228 fi
12229
12230 else
12231
12232 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12233
12234 fi
12235
12236
12237 eval "$wx_cv_use_splitter"
12238
12239 if test x"$enablestring" = xdisable; then
12240 if test $wxUSE_SPLITTER = no; then
12241 result=yes
12242 else
12243 result=no
12244 fi
12245 else
12246 result=$wxUSE_SPLITTER
12247 fi
12248
12249 { echo "$as_me:$LINENO: result: $result" >&5
12250 echo "${ECHO_T}$result" >&6; }
12251
12252
12253 enablestring=
12254 defaultval=$wxUSE_ALL_FEATURES
12255 if test -z "$defaultval"; then
12256 if test x"$enablestring" = xdisable; then
12257 defaultval=yes
12258 else
12259 defaultval=no
12260 fi
12261 fi
12262
12263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12264 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12265 # Check whether --enable-statbmp was given.
12266 if test "${enable_statbmp+set}" = set; then
12267 enableval=$enable_statbmp;
12268 if test "$enableval" = yes; then
12269 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12270 else
12271 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12272 fi
12273
12274 else
12275
12276 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12277
12278 fi
12279
12280
12281 eval "$wx_cv_use_statbmp"
12282
12283 if test x"$enablestring" = xdisable; then
12284 if test $wxUSE_STATBMP = no; then
12285 result=yes
12286 else
12287 result=no
12288 fi
12289 else
12290 result=$wxUSE_STATBMP
12291 fi
12292
12293 { echo "$as_me:$LINENO: result: $result" >&5
12294 echo "${ECHO_T}$result" >&6; }
12295
12296
12297 enablestring=
12298 defaultval=$wxUSE_ALL_FEATURES
12299 if test -z "$defaultval"; then
12300 if test x"$enablestring" = xdisable; then
12301 defaultval=yes
12302 else
12303 defaultval=no
12304 fi
12305 fi
12306
12307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12308 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12309 # Check whether --enable-statbox was given.
12310 if test "${enable_statbox+set}" = set; then
12311 enableval=$enable_statbox;
12312 if test "$enableval" = yes; then
12313 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12314 else
12315 wx_cv_use_statbox='wxUSE_STATBOX=no'
12316 fi
12317
12318 else
12319
12320 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12321
12322 fi
12323
12324
12325 eval "$wx_cv_use_statbox"
12326
12327 if test x"$enablestring" = xdisable; then
12328 if test $wxUSE_STATBOX = no; then
12329 result=yes
12330 else
12331 result=no
12332 fi
12333 else
12334 result=$wxUSE_STATBOX
12335 fi
12336
12337 { echo "$as_me:$LINENO: result: $result" >&5
12338 echo "${ECHO_T}$result" >&6; }
12339
12340
12341 enablestring=
12342 defaultval=$wxUSE_ALL_FEATURES
12343 if test -z "$defaultval"; then
12344 if test x"$enablestring" = xdisable; then
12345 defaultval=yes
12346 else
12347 defaultval=no
12348 fi
12349 fi
12350
12351 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12352 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12353 # Check whether --enable-statline was given.
12354 if test "${enable_statline+set}" = set; then
12355 enableval=$enable_statline;
12356 if test "$enableval" = yes; then
12357 wx_cv_use_statline='wxUSE_STATLINE=yes'
12358 else
12359 wx_cv_use_statline='wxUSE_STATLINE=no'
12360 fi
12361
12362 else
12363
12364 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12365
12366 fi
12367
12368
12369 eval "$wx_cv_use_statline"
12370
12371 if test x"$enablestring" = xdisable; then
12372 if test $wxUSE_STATLINE = no; then
12373 result=yes
12374 else
12375 result=no
12376 fi
12377 else
12378 result=$wxUSE_STATLINE
12379 fi
12380
12381 { echo "$as_me:$LINENO: result: $result" >&5
12382 echo "${ECHO_T}$result" >&6; }
12383
12384
12385 enablestring=
12386 defaultval=$wxUSE_ALL_FEATURES
12387 if test -z "$defaultval"; then
12388 if test x"$enablestring" = xdisable; then
12389 defaultval=yes
12390 else
12391 defaultval=no
12392 fi
12393 fi
12394
12395 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12396 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12397 # Check whether --enable-stattext was given.
12398 if test "${enable_stattext+set}" = set; then
12399 enableval=$enable_stattext;
12400 if test "$enableval" = yes; then
12401 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12402 else
12403 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12404 fi
12405
12406 else
12407
12408 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12409
12410 fi
12411
12412
12413 eval "$wx_cv_use_stattext"
12414
12415 if test x"$enablestring" = xdisable; then
12416 if test $wxUSE_STATTEXT = no; then
12417 result=yes
12418 else
12419 result=no
12420 fi
12421 else
12422 result=$wxUSE_STATTEXT
12423 fi
12424
12425 { echo "$as_me:$LINENO: result: $result" >&5
12426 echo "${ECHO_T}$result" >&6; }
12427
12428
12429 enablestring=
12430 defaultval=$wxUSE_ALL_FEATURES
12431 if test -z "$defaultval"; then
12432 if test x"$enablestring" = xdisable; then
12433 defaultval=yes
12434 else
12435 defaultval=no
12436 fi
12437 fi
12438
12439 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12440 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12441 # Check whether --enable-statusbar was given.
12442 if test "${enable_statusbar+set}" = set; then
12443 enableval=$enable_statusbar;
12444 if test "$enableval" = yes; then
12445 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12446 else
12447 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12448 fi
12449
12450 else
12451
12452 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12453
12454 fi
12455
12456
12457 eval "$wx_cv_use_statusbar"
12458
12459 if test x"$enablestring" = xdisable; then
12460 if test $wxUSE_STATUSBAR = no; then
12461 result=yes
12462 else
12463 result=no
12464 fi
12465 else
12466 result=$wxUSE_STATUSBAR
12467 fi
12468
12469 { echo "$as_me:$LINENO: result: $result" >&5
12470 echo "${ECHO_T}$result" >&6; }
12471
12472
12473 enablestring=
12474 defaultval=$wxUSE_ALL_FEATURES
12475 if test -z "$defaultval"; then
12476 if test x"$enablestring" = xdisable; then
12477 defaultval=yes
12478 else
12479 defaultval=no
12480 fi
12481 fi
12482
12483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12484 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12485 # Check whether --enable-taskbaricon was given.
12486 if test "${enable_taskbaricon+set}" = set; then
12487 enableval=$enable_taskbaricon;
12488 if test "$enableval" = yes; then
12489 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12490 else
12491 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12492 fi
12493
12494 else
12495
12496 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12497
12498 fi
12499
12500
12501 eval "$wx_cv_use_taskbaricon"
12502
12503 if test x"$enablestring" = xdisable; then
12504 if test $wxUSE_TASKBARICON = no; then
12505 result=yes
12506 else
12507 result=no
12508 fi
12509 else
12510 result=$wxUSE_TASKBARICON
12511 fi
12512
12513 { echo "$as_me:$LINENO: result: $result" >&5
12514 echo "${ECHO_T}$result" >&6; }
12515
12516
12517 enablestring=
12518 defaultval=$wxUSE_ALL_FEATURES
12519 if test -z "$defaultval"; then
12520 if test x"$enablestring" = xdisable; then
12521 defaultval=yes
12522 else
12523 defaultval=no
12524 fi
12525 fi
12526
12527 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12528 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12529 # Check whether --enable-tbarnative was given.
12530 if test "${enable_tbarnative+set}" = set; then
12531 enableval=$enable_tbarnative;
12532 if test "$enableval" = yes; then
12533 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12534 else
12535 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12536 fi
12537
12538 else
12539
12540 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12541
12542 fi
12543
12544
12545 eval "$wx_cv_use_tbarnative"
12546
12547 if test x"$enablestring" = xdisable; then
12548 if test $wxUSE_TOOLBAR_NATIVE = no; then
12549 result=yes
12550 else
12551 result=no
12552 fi
12553 else
12554 result=$wxUSE_TOOLBAR_NATIVE
12555 fi
12556
12557 { echo "$as_me:$LINENO: result: $result" >&5
12558 echo "${ECHO_T}$result" >&6; }
12559
12560
12561 enablestring=
12562 defaultval=$wxUSE_ALL_FEATURES
12563 if test -z "$defaultval"; then
12564 if test x"$enablestring" = xdisable; then
12565 defaultval=yes
12566 else
12567 defaultval=no
12568 fi
12569 fi
12570
12571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12572 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12573 # Check whether --enable-textctrl was given.
12574 if test "${enable_textctrl+set}" = set; then
12575 enableval=$enable_textctrl;
12576 if test "$enableval" = yes; then
12577 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12578 else
12579 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12580 fi
12581
12582 else
12583
12584 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12585
12586 fi
12587
12588
12589 eval "$wx_cv_use_textctrl"
12590
12591 if test x"$enablestring" = xdisable; then
12592 if test $wxUSE_TEXTCTRL = no; then
12593 result=yes
12594 else
12595 result=no
12596 fi
12597 else
12598 result=$wxUSE_TEXTCTRL
12599 fi
12600
12601 { echo "$as_me:$LINENO: result: $result" >&5
12602 echo "${ECHO_T}$result" >&6; }
12603
12604
12605 enablestring=
12606 defaultval=$wxUSE_ALL_FEATURES
12607 if test -z "$defaultval"; then
12608 if test x"$enablestring" = xdisable; then
12609 defaultval=yes
12610 else
12611 defaultval=no
12612 fi
12613 fi
12614
12615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12616 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12617 # Check whether --enable-tipwindow was given.
12618 if test "${enable_tipwindow+set}" = set; then
12619 enableval=$enable_tipwindow;
12620 if test "$enableval" = yes; then
12621 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12622 else
12623 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12624 fi
12625
12626 else
12627
12628 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12629
12630 fi
12631
12632
12633 eval "$wx_cv_use_tipwindow"
12634
12635 if test x"$enablestring" = xdisable; then
12636 if test $wxUSE_TIPWINDOW = no; then
12637 result=yes
12638 else
12639 result=no
12640 fi
12641 else
12642 result=$wxUSE_TIPWINDOW
12643 fi
12644
12645 { echo "$as_me:$LINENO: result: $result" >&5
12646 echo "${ECHO_T}$result" >&6; }
12647
12648
12649 enablestring=
12650 defaultval=$wxUSE_ALL_FEATURES
12651 if test -z "$defaultval"; then
12652 if test x"$enablestring" = xdisable; then
12653 defaultval=yes
12654 else
12655 defaultval=no
12656 fi
12657 fi
12658
12659 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12660 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12661 # Check whether --enable-togglebtn was given.
12662 if test "${enable_togglebtn+set}" = set; then
12663 enableval=$enable_togglebtn;
12664 if test "$enableval" = yes; then
12665 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12666 else
12667 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12668 fi
12669
12670 else
12671
12672 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12673
12674 fi
12675
12676
12677 eval "$wx_cv_use_togglebtn"
12678
12679 if test x"$enablestring" = xdisable; then
12680 if test $wxUSE_TOGGLEBTN = no; then
12681 result=yes
12682 else
12683 result=no
12684 fi
12685 else
12686 result=$wxUSE_TOGGLEBTN
12687 fi
12688
12689 { echo "$as_me:$LINENO: result: $result" >&5
12690 echo "${ECHO_T}$result" >&6; }
12691
12692
12693 enablestring=
12694 defaultval=$wxUSE_ALL_FEATURES
12695 if test -z "$defaultval"; then
12696 if test x"$enablestring" = xdisable; then
12697 defaultval=yes
12698 else
12699 defaultval=no
12700 fi
12701 fi
12702
12703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12704 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12705 # Check whether --enable-toolbar was given.
12706 if test "${enable_toolbar+set}" = set; then
12707 enableval=$enable_toolbar;
12708 if test "$enableval" = yes; then
12709 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12710 else
12711 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12712 fi
12713
12714 else
12715
12716 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12717
12718 fi
12719
12720
12721 eval "$wx_cv_use_toolbar"
12722
12723 if test x"$enablestring" = xdisable; then
12724 if test $wxUSE_TOOLBAR = no; then
12725 result=yes
12726 else
12727 result=no
12728 fi
12729 else
12730 result=$wxUSE_TOOLBAR
12731 fi
12732
12733 { echo "$as_me:$LINENO: result: $result" >&5
12734 echo "${ECHO_T}$result" >&6; }
12735
12736
12737 enablestring=
12738 defaultval=$wxUSE_ALL_FEATURES
12739 if test -z "$defaultval"; then
12740 if test x"$enablestring" = xdisable; then
12741 defaultval=yes
12742 else
12743 defaultval=no
12744 fi
12745 fi
12746
12747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12748 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12749 # Check whether --enable-toolbook was given.
12750 if test "${enable_toolbook+set}" = set; then
12751 enableval=$enable_toolbook;
12752 if test "$enableval" = yes; then
12753 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12754 else
12755 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12756 fi
12757
12758 else
12759
12760 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12761
12762 fi
12763
12764
12765 eval "$wx_cv_use_toolbook"
12766
12767 if test x"$enablestring" = xdisable; then
12768 if test $wxUSE_TOOLBOOK = no; then
12769 result=yes
12770 else
12771 result=no
12772 fi
12773 else
12774 result=$wxUSE_TOOLBOOK
12775 fi
12776
12777 { echo "$as_me:$LINENO: result: $result" >&5
12778 echo "${ECHO_T}$result" >&6; }
12779
12780
12781 enablestring=
12782 defaultval=$wxUSE_ALL_FEATURES
12783 if test -z "$defaultval"; then
12784 if test x"$enablestring" = xdisable; then
12785 defaultval=yes
12786 else
12787 defaultval=no
12788 fi
12789 fi
12790
12791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12792 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12793 # Check whether --enable-treebook was given.
12794 if test "${enable_treebook+set}" = set; then
12795 enableval=$enable_treebook;
12796 if test "$enableval" = yes; then
12797 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12798 else
12799 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12800 fi
12801
12802 else
12803
12804 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12805
12806 fi
12807
12808
12809 eval "$wx_cv_use_treebook"
12810
12811 if test x"$enablestring" = xdisable; then
12812 if test $wxUSE_TREEBOOK = no; then
12813 result=yes
12814 else
12815 result=no
12816 fi
12817 else
12818 result=$wxUSE_TREEBOOK
12819 fi
12820
12821 { echo "$as_me:$LINENO: result: $result" >&5
12822 echo "${ECHO_T}$result" >&6; }
12823
12824
12825 enablestring=
12826 defaultval=$wxUSE_ALL_FEATURES
12827 if test -z "$defaultval"; then
12828 if test x"$enablestring" = xdisable; then
12829 defaultval=yes
12830 else
12831 defaultval=no
12832 fi
12833 fi
12834
12835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12836 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12837 # Check whether --enable-treectrl was given.
12838 if test "${enable_treectrl+set}" = set; then
12839 enableval=$enable_treectrl;
12840 if test "$enableval" = yes; then
12841 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12842 else
12843 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12844 fi
12845
12846 else
12847
12848 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12849
12850 fi
12851
12852
12853 eval "$wx_cv_use_treectrl"
12854
12855 if test x"$enablestring" = xdisable; then
12856 if test $wxUSE_TREECTRL = no; then
12857 result=yes
12858 else
12859 result=no
12860 fi
12861 else
12862 result=$wxUSE_TREECTRL
12863 fi
12864
12865 { echo "$as_me:$LINENO: result: $result" >&5
12866 echo "${ECHO_T}$result" >&6; }
12867
12868
12869 enablestring=
12870 defaultval=$wxUSE_ALL_FEATURES
12871 if test -z "$defaultval"; then
12872 if test x"$enablestring" = xdisable; then
12873 defaultval=yes
12874 else
12875 defaultval=no
12876 fi
12877 fi
12878
12879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treelist" >&5
12880 echo $ECHO_N "checking for --${enablestring:-enable}-treelist... $ECHO_C" >&6; }
12881 # Check whether --enable-treelist was given.
12882 if test "${enable_treelist+set}" = set; then
12883 enableval=$enable_treelist;
12884 if test "$enableval" = yes; then
12885 wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
12886 else
12887 wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
12888 fi
12889
12890 else
12891
12892 wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
12893
12894 fi
12895
12896
12897 eval "$wx_cv_use_treelist"
12898
12899 if test x"$enablestring" = xdisable; then
12900 if test $wxUSE_TREELISTCTRL = no; then
12901 result=yes
12902 else
12903 result=no
12904 fi
12905 else
12906 result=$wxUSE_TREELISTCTRL
12907 fi
12908
12909 { echo "$as_me:$LINENO: result: $result" >&5
12910 echo "${ECHO_T}$result" >&6; }
12911
12912
12913
12914
12915 enablestring=
12916 defaultval=$wxUSE_ALL_FEATURES
12917 if test -z "$defaultval"; then
12918 if test x"$enablestring" = xdisable; then
12919 defaultval=yes
12920 else
12921 defaultval=no
12922 fi
12923 fi
12924
12925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12926 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12927 # Check whether --enable-commondlg was given.
12928 if test "${enable_commondlg+set}" = set; then
12929 enableval=$enable_commondlg;
12930 if test "$enableval" = yes; then
12931 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12932 else
12933 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12934 fi
12935
12936 else
12937
12938 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12939
12940 fi
12941
12942
12943 eval "$wx_cv_use_commondlg"
12944
12945 if test x"$enablestring" = xdisable; then
12946 if test $wxUSE_COMMONDLGS = no; then
12947 result=yes
12948 else
12949 result=no
12950 fi
12951 else
12952 result=$wxUSE_COMMONDLGS
12953 fi
12954
12955 { echo "$as_me:$LINENO: result: $result" >&5
12956 echo "${ECHO_T}$result" >&6; }
12957
12958
12959 enablestring=
12960 defaultval=$wxUSE_ALL_FEATURES
12961 if test -z "$defaultval"; then
12962 if test x"$enablestring" = xdisable; then
12963 defaultval=yes
12964 else
12965 defaultval=no
12966 fi
12967 fi
12968
12969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12970 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12971 # Check whether --enable-aboutdlg was given.
12972 if test "${enable_aboutdlg+set}" = set; then
12973 enableval=$enable_aboutdlg;
12974 if test "$enableval" = yes; then
12975 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12976 else
12977 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12978 fi
12979
12980 else
12981
12982 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12983
12984 fi
12985
12986
12987 eval "$wx_cv_use_aboutdlg"
12988
12989 if test x"$enablestring" = xdisable; then
12990 if test $wxUSE_ABOUTDLG = no; then
12991 result=yes
12992 else
12993 result=no
12994 fi
12995 else
12996 result=$wxUSE_ABOUTDLG
12997 fi
12998
12999 { echo "$as_me:$LINENO: result: $result" >&5
13000 echo "${ECHO_T}$result" >&6; }
13001
13002
13003 enablestring=
13004 defaultval=$wxUSE_ALL_FEATURES
13005 if test -z "$defaultval"; then
13006 if test x"$enablestring" = xdisable; then
13007 defaultval=yes
13008 else
13009 defaultval=no
13010 fi
13011 fi
13012
13013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
13014 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
13015 # Check whether --enable-choicedlg was given.
13016 if test "${enable_choicedlg+set}" = set; then
13017 enableval=$enable_choicedlg;
13018 if test "$enableval" = yes; then
13019 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
13020 else
13021 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
13022 fi
13023
13024 else
13025
13026 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13027
13028 fi
13029
13030
13031 eval "$wx_cv_use_choicedlg"
13032
13033 if test x"$enablestring" = xdisable; then
13034 if test $wxUSE_CHOICEDLG = no; then
13035 result=yes
13036 else
13037 result=no
13038 fi
13039 else
13040 result=$wxUSE_CHOICEDLG
13041 fi
13042
13043 { echo "$as_me:$LINENO: result: $result" >&5
13044 echo "${ECHO_T}$result" >&6; }
13045
13046
13047 enablestring=
13048 defaultval=$wxUSE_ALL_FEATURES
13049 if test -z "$defaultval"; then
13050 if test x"$enablestring" = xdisable; then
13051 defaultval=yes
13052 else
13053 defaultval=no
13054 fi
13055 fi
13056
13057 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13058 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13059 # Check whether --enable-coldlg was given.
13060 if test "${enable_coldlg+set}" = set; then
13061 enableval=$enable_coldlg;
13062 if test "$enableval" = yes; then
13063 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13064 else
13065 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13066 fi
13067
13068 else
13069
13070 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13071
13072 fi
13073
13074
13075 eval "$wx_cv_use_coldlg"
13076
13077 if test x"$enablestring" = xdisable; then
13078 if test $wxUSE_COLOURDLG = no; then
13079 result=yes
13080 else
13081 result=no
13082 fi
13083 else
13084 result=$wxUSE_COLOURDLG
13085 fi
13086
13087 { echo "$as_me:$LINENO: result: $result" >&5
13088 echo "${ECHO_T}$result" >&6; }
13089
13090
13091 enablestring=
13092 defaultval=$wxUSE_ALL_FEATURES
13093 if test -z "$defaultval"; then
13094 if test x"$enablestring" = xdisable; then
13095 defaultval=yes
13096 else
13097 defaultval=no
13098 fi
13099 fi
13100
13101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13102 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13103 # Check whether --enable-filedlg was given.
13104 if test "${enable_filedlg+set}" = set; then
13105 enableval=$enable_filedlg;
13106 if test "$enableval" = yes; then
13107 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13108 else
13109 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13110 fi
13111
13112 else
13113
13114 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13115
13116 fi
13117
13118
13119 eval "$wx_cv_use_filedlg"
13120
13121 if test x"$enablestring" = xdisable; then
13122 if test $wxUSE_FILEDLG = no; then
13123 result=yes
13124 else
13125 result=no
13126 fi
13127 else
13128 result=$wxUSE_FILEDLG
13129 fi
13130
13131 { echo "$as_me:$LINENO: result: $result" >&5
13132 echo "${ECHO_T}$result" >&6; }
13133
13134
13135 enablestring=
13136 defaultval=$wxUSE_ALL_FEATURES
13137 if test -z "$defaultval"; then
13138 if test x"$enablestring" = xdisable; then
13139 defaultval=yes
13140 else
13141 defaultval=no
13142 fi
13143 fi
13144
13145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13146 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13147 # Check whether --enable-finddlg was given.
13148 if test "${enable_finddlg+set}" = set; then
13149 enableval=$enable_finddlg;
13150 if test "$enableval" = yes; then
13151 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13152 else
13153 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13154 fi
13155
13156 else
13157
13158 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13159
13160 fi
13161
13162
13163 eval "$wx_cv_use_finddlg"
13164
13165 if test x"$enablestring" = xdisable; then
13166 if test $wxUSE_FINDREPLDLG = no; then
13167 result=yes
13168 else
13169 result=no
13170 fi
13171 else
13172 result=$wxUSE_FINDREPLDLG
13173 fi
13174
13175 { echo "$as_me:$LINENO: result: $result" >&5
13176 echo "${ECHO_T}$result" >&6; }
13177
13178
13179 enablestring=
13180 defaultval=$wxUSE_ALL_FEATURES
13181 if test -z "$defaultval"; then
13182 if test x"$enablestring" = xdisable; then
13183 defaultval=yes
13184 else
13185 defaultval=no
13186 fi
13187 fi
13188
13189 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13190 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13191 # Check whether --enable-fontdlg was given.
13192 if test "${enable_fontdlg+set}" = set; then
13193 enableval=$enable_fontdlg;
13194 if test "$enableval" = yes; then
13195 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13196 else
13197 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13198 fi
13199
13200 else
13201
13202 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13203
13204 fi
13205
13206
13207 eval "$wx_cv_use_fontdlg"
13208
13209 if test x"$enablestring" = xdisable; then
13210 if test $wxUSE_FONTDLG = no; then
13211 result=yes
13212 else
13213 result=no
13214 fi
13215 else
13216 result=$wxUSE_FONTDLG
13217 fi
13218
13219 { echo "$as_me:$LINENO: result: $result" >&5
13220 echo "${ECHO_T}$result" >&6; }
13221
13222
13223 enablestring=
13224 defaultval=$wxUSE_ALL_FEATURES
13225 if test -z "$defaultval"; then
13226 if test x"$enablestring" = xdisable; then
13227 defaultval=yes
13228 else
13229 defaultval=no
13230 fi
13231 fi
13232
13233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13234 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13235 # Check whether --enable-dirdlg was given.
13236 if test "${enable_dirdlg+set}" = set; then
13237 enableval=$enable_dirdlg;
13238 if test "$enableval" = yes; then
13239 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13240 else
13241 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13242 fi
13243
13244 else
13245
13246 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13247
13248 fi
13249
13250
13251 eval "$wx_cv_use_dirdlg"
13252
13253 if test x"$enablestring" = xdisable; then
13254 if test $wxUSE_DIRDLG = no; then
13255 result=yes
13256 else
13257 result=no
13258 fi
13259 else
13260 result=$wxUSE_DIRDLG
13261 fi
13262
13263 { echo "$as_me:$LINENO: result: $result" >&5
13264 echo "${ECHO_T}$result" >&6; }
13265
13266
13267 enablestring=
13268 defaultval=$wxUSE_ALL_FEATURES
13269 if test -z "$defaultval"; then
13270 if test x"$enablestring" = xdisable; then
13271 defaultval=yes
13272 else
13273 defaultval=no
13274 fi
13275 fi
13276
13277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13278 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13279 # Check whether --enable-msgdlg was given.
13280 if test "${enable_msgdlg+set}" = set; then
13281 enableval=$enable_msgdlg;
13282 if test "$enableval" = yes; then
13283 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13284 else
13285 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
13286 fi
13287
13288 else
13289
13290 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13291
13292 fi
13293
13294
13295 eval "$wx_cv_use_msgdlg"
13296
13297 if test x"$enablestring" = xdisable; then
13298 if test $wxUSE_MSGDLG = no; then
13299 result=yes
13300 else
13301 result=no
13302 fi
13303 else
13304 result=$wxUSE_MSGDLG
13305 fi
13306
13307 { echo "$as_me:$LINENO: result: $result" >&5
13308 echo "${ECHO_T}$result" >&6; }
13309
13310
13311 enablestring=
13312 defaultval=$wxUSE_ALL_FEATURES
13313 if test -z "$defaultval"; then
13314 if test x"$enablestring" = xdisable; then
13315 defaultval=yes
13316 else
13317 defaultval=no
13318 fi
13319 fi
13320
13321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13322 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13323 # Check whether --enable-numberdlg was given.
13324 if test "${enable_numberdlg+set}" = set; then
13325 enableval=$enable_numberdlg;
13326 if test "$enableval" = yes; then
13327 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13328 else
13329 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13330 fi
13331
13332 else
13333
13334 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13335
13336 fi
13337
13338
13339 eval "$wx_cv_use_numberdlg"
13340
13341 if test x"$enablestring" = xdisable; then
13342 if test $wxUSE_NUMBERDLG = no; then
13343 result=yes
13344 else
13345 result=no
13346 fi
13347 else
13348 result=$wxUSE_NUMBERDLG
13349 fi
13350
13351 { echo "$as_me:$LINENO: result: $result" >&5
13352 echo "${ECHO_T}$result" >&6; }
13353
13354
13355 enablestring=
13356 defaultval=$wxUSE_ALL_FEATURES
13357 if test -z "$defaultval"; then
13358 if test x"$enablestring" = xdisable; then
13359 defaultval=yes
13360 else
13361 defaultval=no
13362 fi
13363 fi
13364
13365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13366 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13367 # Check whether --enable-splash was given.
13368 if test "${enable_splash+set}" = set; then
13369 enableval=$enable_splash;
13370 if test "$enableval" = yes; then
13371 wx_cv_use_splash='wxUSE_SPLASH=yes'
13372 else
13373 wx_cv_use_splash='wxUSE_SPLASH=no'
13374 fi
13375
13376 else
13377
13378 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13379
13380 fi
13381
13382
13383 eval "$wx_cv_use_splash"
13384
13385 if test x"$enablestring" = xdisable; then
13386 if test $wxUSE_SPLASH = no; then
13387 result=yes
13388 else
13389 result=no
13390 fi
13391 else
13392 result=$wxUSE_SPLASH
13393 fi
13394
13395 { echo "$as_me:$LINENO: result: $result" >&5
13396 echo "${ECHO_T}$result" >&6; }
13397
13398
13399 enablestring=
13400 defaultval=$wxUSE_ALL_FEATURES
13401 if test -z "$defaultval"; then
13402 if test x"$enablestring" = xdisable; then
13403 defaultval=yes
13404 else
13405 defaultval=no
13406 fi
13407 fi
13408
13409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13410 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13411 # Check whether --enable-textdlg was given.
13412 if test "${enable_textdlg+set}" = set; then
13413 enableval=$enable_textdlg;
13414 if test "$enableval" = yes; then
13415 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13416 else
13417 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
13418 fi
13419
13420 else
13421
13422 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13423
13424 fi
13425
13426
13427 eval "$wx_cv_use_textdlg"
13428
13429 if test x"$enablestring" = xdisable; then
13430 if test $wxUSE_TEXTDLG = no; then
13431 result=yes
13432 else
13433 result=no
13434 fi
13435 else
13436 result=$wxUSE_TEXTDLG
13437 fi
13438
13439 { echo "$as_me:$LINENO: result: $result" >&5
13440 echo "${ECHO_T}$result" >&6; }
13441
13442
13443 enablestring=
13444 defaultval=$wxUSE_ALL_FEATURES
13445 if test -z "$defaultval"; then
13446 if test x"$enablestring" = xdisable; then
13447 defaultval=yes
13448 else
13449 defaultval=no
13450 fi
13451 fi
13452
13453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13454 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13455 # Check whether --enable-tipdlg was given.
13456 if test "${enable_tipdlg+set}" = set; then
13457 enableval=$enable_tipdlg;
13458 if test "$enableval" = yes; then
13459 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13460 else
13461 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13462 fi
13463
13464 else
13465
13466 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13467
13468 fi
13469
13470
13471 eval "$wx_cv_use_tipdlg"
13472
13473 if test x"$enablestring" = xdisable; then
13474 if test $wxUSE_STARTUP_TIPS = no; then
13475 result=yes
13476 else
13477 result=no
13478 fi
13479 else
13480 result=$wxUSE_STARTUP_TIPS
13481 fi
13482
13483 { echo "$as_me:$LINENO: result: $result" >&5
13484 echo "${ECHO_T}$result" >&6; }
13485
13486
13487 enablestring=
13488 defaultval=$wxUSE_ALL_FEATURES
13489 if test -z "$defaultval"; then
13490 if test x"$enablestring" = xdisable; then
13491 defaultval=yes
13492 else
13493 defaultval=no
13494 fi
13495 fi
13496
13497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13498 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13499 # Check whether --enable-progressdlg was given.
13500 if test "${enable_progressdlg+set}" = set; then
13501 enableval=$enable_progressdlg;
13502 if test "$enableval" = yes; then
13503 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13504 else
13505 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13506 fi
13507
13508 else
13509
13510 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13511
13512 fi
13513
13514
13515 eval "$wx_cv_use_progressdlg"
13516
13517 if test x"$enablestring" = xdisable; then
13518 if test $wxUSE_PROGRESSDLG = no; then
13519 result=yes
13520 else
13521 result=no
13522 fi
13523 else
13524 result=$wxUSE_PROGRESSDLG
13525 fi
13526
13527 { echo "$as_me:$LINENO: result: $result" >&5
13528 echo "${ECHO_T}$result" >&6; }
13529
13530
13531 enablestring=
13532 defaultval=$wxUSE_ALL_FEATURES
13533 if test -z "$defaultval"; then
13534 if test x"$enablestring" = xdisable; then
13535 defaultval=yes
13536 else
13537 defaultval=no
13538 fi
13539 fi
13540
13541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13542 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13543 # Check whether --enable-wizarddlg was given.
13544 if test "${enable_wizarddlg+set}" = set; then
13545 enableval=$enable_wizarddlg;
13546 if test "$enableval" = yes; then
13547 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13548 else
13549 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13550 fi
13551
13552 else
13553
13554 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13555
13556 fi
13557
13558
13559 eval "$wx_cv_use_wizarddlg"
13560
13561 if test x"$enablestring" = xdisable; then
13562 if test $wxUSE_WIZARDDLG = no; then
13563 result=yes
13564 else
13565 result=no
13566 fi
13567 else
13568 result=$wxUSE_WIZARDDLG
13569 fi
13570
13571 { echo "$as_me:$LINENO: result: $result" >&5
13572 echo "${ECHO_T}$result" >&6; }
13573
13574
13575
13576
13577 enablestring=
13578 defaultval=$wxUSE_ALL_FEATURES
13579 if test -z "$defaultval"; then
13580 if test x"$enablestring" = xdisable; then
13581 defaultval=yes
13582 else
13583 defaultval=no
13584 fi
13585 fi
13586
13587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13588 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13589 # Check whether --enable-menus was given.
13590 if test "${enable_menus+set}" = set; then
13591 enableval=$enable_menus;
13592 if test "$enableval" = yes; then
13593 wx_cv_use_menus='wxUSE_MENUS=yes'
13594 else
13595 wx_cv_use_menus='wxUSE_MENUS=no'
13596 fi
13597
13598 else
13599
13600 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13601
13602 fi
13603
13604
13605 eval "$wx_cv_use_menus"
13606
13607 if test x"$enablestring" = xdisable; then
13608 if test $wxUSE_MENUS = no; then
13609 result=yes
13610 else
13611 result=no
13612 fi
13613 else
13614 result=$wxUSE_MENUS
13615 fi
13616
13617 { echo "$as_me:$LINENO: result: $result" >&5
13618 echo "${ECHO_T}$result" >&6; }
13619
13620
13621 enablestring=
13622 defaultval=$wxUSE_ALL_FEATURES
13623 if test -z "$defaultval"; then
13624 if test x"$enablestring" = xdisable; then
13625 defaultval=yes
13626 else
13627 defaultval=no
13628 fi
13629 fi
13630
13631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13632 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13633 # Check whether --enable-miniframe was given.
13634 if test "${enable_miniframe+set}" = set; then
13635 enableval=$enable_miniframe;
13636 if test "$enableval" = yes; then
13637 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13638 else
13639 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13640 fi
13641
13642 else
13643
13644 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13645
13646 fi
13647
13648
13649 eval "$wx_cv_use_miniframe"
13650
13651 if test x"$enablestring" = xdisable; then
13652 if test $wxUSE_MINIFRAME = no; then
13653 result=yes
13654 else
13655 result=no
13656 fi
13657 else
13658 result=$wxUSE_MINIFRAME
13659 fi
13660
13661 { echo "$as_me:$LINENO: result: $result" >&5
13662 echo "${ECHO_T}$result" >&6; }
13663
13664
13665 enablestring=
13666 defaultval=$wxUSE_ALL_FEATURES
13667 if test -z "$defaultval"; then
13668 if test x"$enablestring" = xdisable; then
13669 defaultval=yes
13670 else
13671 defaultval=no
13672 fi
13673 fi
13674
13675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13676 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13677 # Check whether --enable-tooltips was given.
13678 if test "${enable_tooltips+set}" = set; then
13679 enableval=$enable_tooltips;
13680 if test "$enableval" = yes; then
13681 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13682 else
13683 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13684 fi
13685
13686 else
13687
13688 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13689
13690 fi
13691
13692
13693 eval "$wx_cv_use_tooltips"
13694
13695 if test x"$enablestring" = xdisable; then
13696 if test $wxUSE_TOOLTIPS = no; then
13697 result=yes
13698 else
13699 result=no
13700 fi
13701 else
13702 result=$wxUSE_TOOLTIPS
13703 fi
13704
13705 { echo "$as_me:$LINENO: result: $result" >&5
13706 echo "${ECHO_T}$result" >&6; }
13707
13708
13709 enablestring=
13710 defaultval=$wxUSE_ALL_FEATURES
13711 if test -z "$defaultval"; then
13712 if test x"$enablestring" = xdisable; then
13713 defaultval=yes
13714 else
13715 defaultval=no
13716 fi
13717 fi
13718
13719 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13720 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13721 # Check whether --enable-splines was given.
13722 if test "${enable_splines+set}" = set; then
13723 enableval=$enable_splines;
13724 if test "$enableval" = yes; then
13725 wx_cv_use_splines='wxUSE_SPLINES=yes'
13726 else
13727 wx_cv_use_splines='wxUSE_SPLINES=no'
13728 fi
13729
13730 else
13731
13732 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13733
13734 fi
13735
13736
13737 eval "$wx_cv_use_splines"
13738
13739 if test x"$enablestring" = xdisable; then
13740 if test $wxUSE_SPLINES = no; then
13741 result=yes
13742 else
13743 result=no
13744 fi
13745 else
13746 result=$wxUSE_SPLINES
13747 fi
13748
13749 { echo "$as_me:$LINENO: result: $result" >&5
13750 echo "${ECHO_T}$result" >&6; }
13751
13752
13753 enablestring=
13754 defaultval=$wxUSE_ALL_FEATURES
13755 if test -z "$defaultval"; then
13756 if test x"$enablestring" = xdisable; then
13757 defaultval=yes
13758 else
13759 defaultval=no
13760 fi
13761 fi
13762
13763 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13764 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13765 # Check whether --enable-mousewheel was given.
13766 if test "${enable_mousewheel+set}" = set; then
13767 enableval=$enable_mousewheel;
13768 if test "$enableval" = yes; then
13769 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13770 else
13771 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13772 fi
13773
13774 else
13775
13776 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13777
13778 fi
13779
13780
13781 eval "$wx_cv_use_mousewheel"
13782
13783 if test x"$enablestring" = xdisable; then
13784 if test $wxUSE_MOUSEWHEEL = no; then
13785 result=yes
13786 else
13787 result=no
13788 fi
13789 else
13790 result=$wxUSE_MOUSEWHEEL
13791 fi
13792
13793 { echo "$as_me:$LINENO: result: $result" >&5
13794 echo "${ECHO_T}$result" >&6; }
13795
13796
13797 enablestring=
13798 defaultval=$wxUSE_ALL_FEATURES
13799 if test -z "$defaultval"; then
13800 if test x"$enablestring" = xdisable; then
13801 defaultval=yes
13802 else
13803 defaultval=no
13804 fi
13805 fi
13806
13807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13808 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13809 # Check whether --enable-validators was given.
13810 if test "${enable_validators+set}" = set; then
13811 enableval=$enable_validators;
13812 if test "$enableval" = yes; then
13813 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13814 else
13815 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13816 fi
13817
13818 else
13819
13820 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13821
13822 fi
13823
13824
13825 eval "$wx_cv_use_validators"
13826
13827 if test x"$enablestring" = xdisable; then
13828 if test $wxUSE_VALIDATORS = no; then
13829 result=yes
13830 else
13831 result=no
13832 fi
13833 else
13834 result=$wxUSE_VALIDATORS
13835 fi
13836
13837 { echo "$as_me:$LINENO: result: $result" >&5
13838 echo "${ECHO_T}$result" >&6; }
13839
13840
13841 enablestring=
13842 defaultval=$wxUSE_ALL_FEATURES
13843 if test -z "$defaultval"; then
13844 if test x"$enablestring" = xdisable; then
13845 defaultval=yes
13846 else
13847 defaultval=no
13848 fi
13849 fi
13850
13851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13852 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13853 # Check whether --enable-busyinfo was given.
13854 if test "${enable_busyinfo+set}" = set; then
13855 enableval=$enable_busyinfo;
13856 if test "$enableval" = yes; then
13857 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13858 else
13859 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13860 fi
13861
13862 else
13863
13864 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13865
13866 fi
13867
13868
13869 eval "$wx_cv_use_busyinfo"
13870
13871 if test x"$enablestring" = xdisable; then
13872 if test $wxUSE_BUSYINFO = no; then
13873 result=yes
13874 else
13875 result=no
13876 fi
13877 else
13878 result=$wxUSE_BUSYINFO
13879 fi
13880
13881 { echo "$as_me:$LINENO: result: $result" >&5
13882 echo "${ECHO_T}$result" >&6; }
13883
13884
13885 enablestring=
13886 defaultval=$wxUSE_ALL_FEATURES
13887 if test -z "$defaultval"; then
13888 if test x"$enablestring" = xdisable; then
13889 defaultval=yes
13890 else
13891 defaultval=no
13892 fi
13893 fi
13894
13895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hotkey" >&5
13896 echo $ECHO_N "checking for --${enablestring:-enable}-hotkey... $ECHO_C" >&6; }
13897 # Check whether --enable-hotkey was given.
13898 if test "${enable_hotkey+set}" = set; then
13899 enableval=$enable_hotkey;
13900 if test "$enableval" = yes; then
13901 wx_cv_use_hotkey='wxUSE_HOTKEY=yes'
13902 else
13903 wx_cv_use_hotkey='wxUSE_HOTKEY=no'
13904 fi
13905
13906 else
13907
13908 wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
13909
13910 fi
13911
13912
13913 eval "$wx_cv_use_hotkey"
13914
13915 if test x"$enablestring" = xdisable; then
13916 if test $wxUSE_HOTKEY = no; then
13917 result=yes
13918 else
13919 result=no
13920 fi
13921 else
13922 result=$wxUSE_HOTKEY
13923 fi
13924
13925 { echo "$as_me:$LINENO: result: $result" >&5
13926 echo "${ECHO_T}$result" >&6; }
13927
13928
13929 enablestring=
13930 defaultval=$wxUSE_ALL_FEATURES
13931 if test -z "$defaultval"; then
13932 if test x"$enablestring" = xdisable; then
13933 defaultval=yes
13934 else
13935 defaultval=no
13936 fi
13937 fi
13938
13939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13940 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13941 # Check whether --enable-joystick was given.
13942 if test "${enable_joystick+set}" = set; then
13943 enableval=$enable_joystick;
13944 if test "$enableval" = yes; then
13945 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13946 else
13947 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13948 fi
13949
13950 else
13951
13952 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13953
13954 fi
13955
13956
13957 eval "$wx_cv_use_joystick"
13958
13959 if test x"$enablestring" = xdisable; then
13960 if test $wxUSE_JOYSTICK = no; then
13961 result=yes
13962 else
13963 result=no
13964 fi
13965 else
13966 result=$wxUSE_JOYSTICK
13967 fi
13968
13969 { echo "$as_me:$LINENO: result: $result" >&5
13970 echo "${ECHO_T}$result" >&6; }
13971
13972
13973 enablestring=
13974 defaultval=$wxUSE_ALL_FEATURES
13975 if test -z "$defaultval"; then
13976 if test x"$enablestring" = xdisable; then
13977 defaultval=yes
13978 else
13979 defaultval=no
13980 fi
13981 fi
13982
13983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13984 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13985 # Check whether --enable-metafile was given.
13986 if test "${enable_metafile+set}" = set; then
13987 enableval=$enable_metafile;
13988 if test "$enableval" = yes; then
13989 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13990 else
13991 wx_cv_use_metafile='wxUSE_METAFILE=no'
13992 fi
13993
13994 else
13995
13996 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13997
13998 fi
13999
14000
14001 eval "$wx_cv_use_metafile"
14002
14003 if test x"$enablestring" = xdisable; then
14004 if test $wxUSE_METAFILE = no; then
14005 result=yes
14006 else
14007 result=no
14008 fi
14009 else
14010 result=$wxUSE_METAFILE
14011 fi
14012
14013 { echo "$as_me:$LINENO: result: $result" >&5
14014 echo "${ECHO_T}$result" >&6; }
14015
14016
14017 enablestring=
14018 defaultval=$wxUSE_ALL_FEATURES
14019 if test -z "$defaultval"; then
14020 if test x"$enablestring" = xdisable; then
14021 defaultval=yes
14022 else
14023 defaultval=no
14024 fi
14025 fi
14026
14027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
14028 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
14029 # Check whether --enable-dragimage was given.
14030 if test "${enable_dragimage+set}" = set; then
14031 enableval=$enable_dragimage;
14032 if test "$enableval" = yes; then
14033 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
14034 else
14035 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
14036 fi
14037
14038 else
14039
14040 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
14041
14042 fi
14043
14044
14045 eval "$wx_cv_use_dragimage"
14046
14047 if test x"$enablestring" = xdisable; then
14048 if test $wxUSE_DRAGIMAGE = no; then
14049 result=yes
14050 else
14051 result=no
14052 fi
14053 else
14054 result=$wxUSE_DRAGIMAGE
14055 fi
14056
14057 { echo "$as_me:$LINENO: result: $result" >&5
14058 echo "${ECHO_T}$result" >&6; }
14059
14060
14061 enablestring=
14062 defaultval=$wxUSE_ALL_FEATURES
14063 if test -z "$defaultval"; then
14064 if test x"$enablestring" = xdisable; then
14065 defaultval=yes
14066 else
14067 defaultval=no
14068 fi
14069 fi
14070
14071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
14072 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
14073 # Check whether --enable-accessibility was given.
14074 if test "${enable_accessibility+set}" = set; then
14075 enableval=$enable_accessibility;
14076 if test "$enableval" = yes; then
14077 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
14078 else
14079 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
14080 fi
14081
14082 else
14083
14084 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14085
14086 fi
14087
14088
14089 eval "$wx_cv_use_accessibility"
14090
14091 if test x"$enablestring" = xdisable; then
14092 if test $wxUSE_ACCESSIBILITY = no; then
14093 result=yes
14094 else
14095 result=no
14096 fi
14097 else
14098 result=$wxUSE_ACCESSIBILITY
14099 fi
14100
14101 { echo "$as_me:$LINENO: result: $result" >&5
14102 echo "${ECHO_T}$result" >&6; }
14103
14104
14105 enablestring=
14106 defaultval=$wxUSE_ALL_FEATURES
14107 if test -z "$defaultval"; then
14108 if test x"$enablestring" = xdisable; then
14109 defaultval=yes
14110 else
14111 defaultval=no
14112 fi
14113 fi
14114
14115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uiactionsim" >&5
14116 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
14117 # Check whether --enable-uiactionsim was given.
14118 if test "${enable_uiactionsim+set}" = set; then
14119 enableval=$enable_uiactionsim;
14120 if test "$enableval" = yes; then
14121 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
14122 else
14123 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
14124 fi
14125
14126 else
14127
14128 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
14129
14130 fi
14131
14132
14133 eval "$wx_cv_use_uiactionsim"
14134
14135 if test x"$enablestring" = xdisable; then
14136 if test $wxUSE_UIACTIONSIMULATOR = no; then
14137 result=yes
14138 else
14139 result=no
14140 fi
14141 else
14142 result=$wxUSE_UIACTIONSIMULATOR
14143 fi
14144
14145 { echo "$as_me:$LINENO: result: $result" >&5
14146 echo "${ECHO_T}$result" >&6; }
14147
14148
14149 enablestring=
14150 defaultval=$wxUSE_ALL_FEATURES
14151 if test -z "$defaultval"; then
14152 if test x"$enablestring" = xdisable; then
14153 defaultval=yes
14154 else
14155 defaultval=no
14156 fi
14157 fi
14158
14159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dctransform" >&5
14160 echo $ECHO_N "checking for --${enablestring:-enable}-dctransform... $ECHO_C" >&6; }
14161 # Check whether --enable-dctransform was given.
14162 if test "${enable_dctransform+set}" = set; then
14163 enableval=$enable_dctransform;
14164 if test "$enableval" = yes; then
14165 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
14166 else
14167 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
14168 fi
14169
14170 else
14171
14172 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
14173
14174 fi
14175
14176
14177 eval "$wx_cv_use_dctransform"
14178
14179 if test x"$enablestring" = xdisable; then
14180 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
14181 result=yes
14182 else
14183 result=no
14184 fi
14185 else
14186 result=$wxUSE_DC_TRANSFORM_MATRIX
14187 fi
14188
14189 { echo "$as_me:$LINENO: result: $result" >&5
14190 echo "${ECHO_T}$result" >&6; }
14191
14192
14193
14194
14195 enablestring=
14196 defaultval=$wxUSE_ALL_FEATURES
14197 if test -z "$defaultval"; then
14198 if test x"$enablestring" = xdisable; then
14199 defaultval=yes
14200 else
14201 defaultval=no
14202 fi
14203 fi
14204
14205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
14206 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
14207 # Check whether --enable-palette was given.
14208 if test "${enable_palette+set}" = set; then
14209 enableval=$enable_palette;
14210 if test "$enableval" = yes; then
14211 wx_cv_use_palette='wxUSE_PALETTE=yes'
14212 else
14213 wx_cv_use_palette='wxUSE_PALETTE=no'
14214 fi
14215
14216 else
14217
14218 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14219
14220 fi
14221
14222
14223 eval "$wx_cv_use_palette"
14224
14225 if test x"$enablestring" = xdisable; then
14226 if test $wxUSE_PALETTE = no; then
14227 result=yes
14228 else
14229 result=no
14230 fi
14231 else
14232 result=$wxUSE_PALETTE
14233 fi
14234
14235 { echo "$as_me:$LINENO: result: $result" >&5
14236 echo "${ECHO_T}$result" >&6; }
14237
14238
14239 enablestring=
14240 defaultval=$wxUSE_ALL_FEATURES
14241 if test -z "$defaultval"; then
14242 if test x"$enablestring" = xdisable; then
14243 defaultval=yes
14244 else
14245 defaultval=no
14246 fi
14247 fi
14248
14249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14250 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
14251 # Check whether --enable-image was given.
14252 if test "${enable_image+set}" = set; then
14253 enableval=$enable_image;
14254 if test "$enableval" = yes; then
14255 wx_cv_use_image='wxUSE_IMAGE=yes'
14256 else
14257 wx_cv_use_image='wxUSE_IMAGE=no'
14258 fi
14259
14260 else
14261
14262 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14263
14264 fi
14265
14266
14267 eval "$wx_cv_use_image"
14268
14269 if test x"$enablestring" = xdisable; then
14270 if test $wxUSE_IMAGE = no; then
14271 result=yes
14272 else
14273 result=no
14274 fi
14275 else
14276 result=$wxUSE_IMAGE
14277 fi
14278
14279 { echo "$as_me:$LINENO: result: $result" >&5
14280 echo "${ECHO_T}$result" >&6; }
14281
14282
14283 enablestring=
14284 defaultval=$wxUSE_ALL_FEATURES
14285 if test -z "$defaultval"; then
14286 if test x"$enablestring" = xdisable; then
14287 defaultval=yes
14288 else
14289 defaultval=no
14290 fi
14291 fi
14292
14293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14294 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
14295 # Check whether --enable-gif was given.
14296 if test "${enable_gif+set}" = set; then
14297 enableval=$enable_gif;
14298 if test "$enableval" = yes; then
14299 wx_cv_use_gif='wxUSE_GIF=yes'
14300 else
14301 wx_cv_use_gif='wxUSE_GIF=no'
14302 fi
14303
14304 else
14305
14306 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14307
14308 fi
14309
14310
14311 eval "$wx_cv_use_gif"
14312
14313 if test x"$enablestring" = xdisable; then
14314 if test $wxUSE_GIF = no; then
14315 result=yes
14316 else
14317 result=no
14318 fi
14319 else
14320 result=$wxUSE_GIF
14321 fi
14322
14323 { echo "$as_me:$LINENO: result: $result" >&5
14324 echo "${ECHO_T}$result" >&6; }
14325
14326
14327 enablestring=
14328 defaultval=$wxUSE_ALL_FEATURES
14329 if test -z "$defaultval"; then
14330 if test x"$enablestring" = xdisable; then
14331 defaultval=yes
14332 else
14333 defaultval=no
14334 fi
14335 fi
14336
14337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
14338 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
14339 # Check whether --enable-pcx was given.
14340 if test "${enable_pcx+set}" = set; then
14341 enableval=$enable_pcx;
14342 if test "$enableval" = yes; then
14343 wx_cv_use_pcx='wxUSE_PCX=yes'
14344 else
14345 wx_cv_use_pcx='wxUSE_PCX=no'
14346 fi
14347
14348 else
14349
14350 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14351
14352 fi
14353
14354
14355 eval "$wx_cv_use_pcx"
14356
14357 if test x"$enablestring" = xdisable; then
14358 if test $wxUSE_PCX = no; then
14359 result=yes
14360 else
14361 result=no
14362 fi
14363 else
14364 result=$wxUSE_PCX
14365 fi
14366
14367 { echo "$as_me:$LINENO: result: $result" >&5
14368 echo "${ECHO_T}$result" >&6; }
14369
14370
14371 enablestring=
14372 defaultval=$wxUSE_ALL_FEATURES
14373 if test -z "$defaultval"; then
14374 if test x"$enablestring" = xdisable; then
14375 defaultval=yes
14376 else
14377 defaultval=no
14378 fi
14379 fi
14380
14381 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14382 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
14383 # Check whether --enable-tga was given.
14384 if test "${enable_tga+set}" = set; then
14385 enableval=$enable_tga;
14386 if test "$enableval" = yes; then
14387 wx_cv_use_tga='wxUSE_TGA=yes'
14388 else
14389 wx_cv_use_tga='wxUSE_TGA=no'
14390 fi
14391
14392 else
14393
14394 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
14395
14396 fi
14397
14398
14399 eval "$wx_cv_use_tga"
14400
14401 if test x"$enablestring" = xdisable; then
14402 if test $wxUSE_TGA = no; then
14403 result=yes
14404 else
14405 result=no
14406 fi
14407 else
14408 result=$wxUSE_TGA
14409 fi
14410
14411 { echo "$as_me:$LINENO: result: $result" >&5
14412 echo "${ECHO_T}$result" >&6; }
14413
14414
14415 enablestring=
14416 defaultval=$wxUSE_ALL_FEATURES
14417 if test -z "$defaultval"; then
14418 if test x"$enablestring" = xdisable; then
14419 defaultval=yes
14420 else
14421 defaultval=no
14422 fi
14423 fi
14424
14425 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
14426 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
14427 # Check whether --enable-iff was given.
14428 if test "${enable_iff+set}" = set; then
14429 enableval=$enable_iff;
14430 if test "$enableval" = yes; then
14431 wx_cv_use_iff='wxUSE_IFF=yes'
14432 else
14433 wx_cv_use_iff='wxUSE_IFF=no'
14434 fi
14435
14436 else
14437
14438 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14439
14440 fi
14441
14442
14443 eval "$wx_cv_use_iff"
14444
14445 if test x"$enablestring" = xdisable; then
14446 if test $wxUSE_IFF = no; then
14447 result=yes
14448 else
14449 result=no
14450 fi
14451 else
14452 result=$wxUSE_IFF
14453 fi
14454
14455 { echo "$as_me:$LINENO: result: $result" >&5
14456 echo "${ECHO_T}$result" >&6; }
14457
14458
14459 enablestring=
14460 defaultval=$wxUSE_ALL_FEATURES
14461 if test -z "$defaultval"; then
14462 if test x"$enablestring" = xdisable; then
14463 defaultval=yes
14464 else
14465 defaultval=no
14466 fi
14467 fi
14468
14469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
14470 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
14471 # Check whether --enable-pnm was given.
14472 if test "${enable_pnm+set}" = set; then
14473 enableval=$enable_pnm;
14474 if test "$enableval" = yes; then
14475 wx_cv_use_pnm='wxUSE_PNM=yes'
14476 else
14477 wx_cv_use_pnm='wxUSE_PNM=no'
14478 fi
14479
14480 else
14481
14482 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14483
14484 fi
14485
14486
14487 eval "$wx_cv_use_pnm"
14488
14489 if test x"$enablestring" = xdisable; then
14490 if test $wxUSE_PNM = no; then
14491 result=yes
14492 else
14493 result=no
14494 fi
14495 else
14496 result=$wxUSE_PNM
14497 fi
14498
14499 { echo "$as_me:$LINENO: result: $result" >&5
14500 echo "${ECHO_T}$result" >&6; }
14501
14502
14503 enablestring=
14504 defaultval=$wxUSE_ALL_FEATURES
14505 if test -z "$defaultval"; then
14506 if test x"$enablestring" = xdisable; then
14507 defaultval=yes
14508 else
14509 defaultval=no
14510 fi
14511 fi
14512
14513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14514 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
14515 # Check whether --enable-xpm was given.
14516 if test "${enable_xpm+set}" = set; then
14517 enableval=$enable_xpm;
14518 if test "$enableval" = yes; then
14519 wx_cv_use_xpm='wxUSE_XPM=yes'
14520 else
14521 wx_cv_use_xpm='wxUSE_XPM=no'
14522 fi
14523
14524 else
14525
14526 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14527
14528 fi
14529
14530
14531 eval "$wx_cv_use_xpm"
14532
14533 if test x"$enablestring" = xdisable; then
14534 if test $wxUSE_XPM = no; then
14535 result=yes
14536 else
14537 result=no
14538 fi
14539 else
14540 result=$wxUSE_XPM
14541 fi
14542
14543 { echo "$as_me:$LINENO: result: $result" >&5
14544 echo "${ECHO_T}$result" >&6; }
14545
14546
14547 enablestring=
14548 defaultval=$wxUSE_ALL_FEATURES
14549 if test -z "$defaultval"; then
14550 if test x"$enablestring" = xdisable; then
14551 defaultval=yes
14552 else
14553 defaultval=no
14554 fi
14555 fi
14556
14557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14558 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14559 # Check whether --enable-ico_cur was given.
14560 if test "${enable_ico_cur+set}" = set; then
14561 enableval=$enable_ico_cur;
14562 if test "$enableval" = yes; then
14563 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14564 else
14565 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14566 fi
14567
14568 else
14569
14570 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14571
14572 fi
14573
14574
14575 eval "$wx_cv_use_ico_cur"
14576
14577 if test x"$enablestring" = xdisable; then
14578 if test $wxUSE_ICO_CUR = no; then
14579 result=yes
14580 else
14581 result=no
14582 fi
14583 else
14584 result=$wxUSE_ICO_CUR
14585 fi
14586
14587 { echo "$as_me:$LINENO: result: $result" >&5
14588 echo "${ECHO_T}$result" >&6; }
14589
14590
14591
14592
14593 enablestring=
14594 defaultval=$wxUSE_ALL_FEATURES
14595 if test -z "$defaultval"; then
14596 if test x"$enablestring" = xdisable; then
14597 defaultval=yes
14598 else
14599 defaultval=no
14600 fi
14601 fi
14602
14603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14604 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14605 # Check whether --enable-dccache was given.
14606 if test "${enable_dccache+set}" = set; then
14607 enableval=$enable_dccache;
14608 if test "$enableval" = yes; then
14609 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14610 else
14611 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14612 fi
14613
14614 else
14615
14616 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14617
14618 fi
14619
14620
14621 eval "$wx_cv_use_dccache"
14622
14623 if test x"$enablestring" = xdisable; then
14624 if test $wxUSE_DC_CACHEING = no; then
14625 result=yes
14626 else
14627 result=no
14628 fi
14629 else
14630 result=$wxUSE_DC_CACHEING
14631 fi
14632
14633 { echo "$as_me:$LINENO: result: $result" >&5
14634 echo "${ECHO_T}$result" >&6; }
14635
14636
14637 enablestring=
14638 defaultval=$wxUSE_ALL_FEATURES
14639 if test -z "$defaultval"; then
14640 if test x"$enablestring" = xdisable; then
14641 defaultval=yes
14642 else
14643 defaultval=no
14644 fi
14645 fi
14646
14647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14648 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14649 # Check whether --enable-ps-in-msw was given.
14650 if test "${enable_ps_in_msw+set}" = set; then
14651 enableval=$enable_ps_in_msw;
14652 if test "$enableval" = yes; then
14653 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14654 else
14655 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14656 fi
14657
14658 else
14659
14660 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14661
14662 fi
14663
14664
14665 eval "$wx_cv_use_ps_in_msw"
14666
14667 if test x"$enablestring" = xdisable; then
14668 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14669 result=yes
14670 else
14671 result=no
14672 fi
14673 else
14674 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14675 fi
14676
14677 { echo "$as_me:$LINENO: result: $result" >&5
14678 echo "${ECHO_T}$result" >&6; }
14679
14680
14681 enablestring=
14682 defaultval=$wxUSE_ALL_FEATURES
14683 if test -z "$defaultval"; then
14684 if test x"$enablestring" = xdisable; then
14685 defaultval=yes
14686 else
14687 defaultval=no
14688 fi
14689 fi
14690
14691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14692 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14693 # Check whether --enable-ownerdrawn was given.
14694 if test "${enable_ownerdrawn+set}" = set; then
14695 enableval=$enable_ownerdrawn;
14696 if test "$enableval" = yes; then
14697 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14698 else
14699 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14700 fi
14701
14702 else
14703
14704 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14705
14706 fi
14707
14708
14709 eval "$wx_cv_use_ownerdrawn"
14710
14711 if test x"$enablestring" = xdisable; then
14712 if test $wxUSE_OWNER_DRAWN = no; then
14713 result=yes
14714 else
14715 result=no
14716 fi
14717 else
14718 result=$wxUSE_OWNER_DRAWN
14719 fi
14720
14721 { echo "$as_me:$LINENO: result: $result" >&5
14722 echo "${ECHO_T}$result" >&6; }
14723
14724
14725 enablestring=
14726 defaultval=$wxUSE_ALL_FEATURES
14727 if test -z "$defaultval"; then
14728 if test x"$enablestring" = xdisable; then
14729 defaultval=yes
14730 else
14731 defaultval=no
14732 fi
14733 fi
14734
14735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14736 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14737 # Check whether --enable-uxtheme was given.
14738 if test "${enable_uxtheme+set}" = set; then
14739 enableval=$enable_uxtheme;
14740 if test "$enableval" = yes; then
14741 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14742 else
14743 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14744 fi
14745
14746 else
14747
14748 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14749
14750 fi
14751
14752
14753 eval "$wx_cv_use_uxtheme"
14754
14755 if test x"$enablestring" = xdisable; then
14756 if test $wxUSE_UXTHEME = no; then
14757 result=yes
14758 else
14759 result=no
14760 fi
14761 else
14762 result=$wxUSE_UXTHEME
14763 fi
14764
14765 { echo "$as_me:$LINENO: result: $result" >&5
14766 echo "${ECHO_T}$result" >&6; }
14767
14768
14769 enablestring=
14770 defaultval=$wxUSE_ALL_FEATURES
14771 if test -z "$defaultval"; then
14772 if test x"$enablestring" = xdisable; then
14773 defaultval=yes
14774 else
14775 defaultval=no
14776 fi
14777 fi
14778
14779 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14780 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14781 # Check whether --enable-wxdib was given.
14782 if test "${enable_wxdib+set}" = set; then
14783 enableval=$enable_wxdib;
14784 if test "$enableval" = yes; then
14785 wx_cv_use_wxdib='wxUSE_DIB=yes'
14786 else
14787 wx_cv_use_wxdib='wxUSE_DIB=no'
14788 fi
14789
14790 else
14791
14792 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14793
14794 fi
14795
14796
14797 eval "$wx_cv_use_wxdib"
14798
14799 if test x"$enablestring" = xdisable; then
14800 if test $wxUSE_DIB = no; then
14801 result=yes
14802 else
14803 result=no
14804 fi
14805 else
14806 result=$wxUSE_DIB
14807 fi
14808
14809 { echo "$as_me:$LINENO: result: $result" >&5
14810 echo "${ECHO_T}$result" >&6; }
14811
14812
14813 if test "$wxUSE_MSW" != 1; then
14814 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14815 fi
14816
14817
14818 enablestring=
14819 defaultval=$wxUSE_ALL_FEATURES
14820 if test -z "$defaultval"; then
14821 if test x"$enablestring" = xdisable; then
14822 defaultval=yes
14823 else
14824 defaultval=no
14825 fi
14826 fi
14827
14828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14829 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14830 # Check whether --enable-autoidman was given.
14831 if test "${enable_autoidman+set}" = set; then
14832 enableval=$enable_autoidman;
14833 if test "$enableval" = yes; then
14834 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14835 else
14836 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14837 fi
14838
14839 else
14840
14841 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14842
14843 fi
14844
14845
14846 eval "$wx_cv_use_autoidman"
14847
14848 if test x"$enablestring" = xdisable; then
14849 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14850 result=yes
14851 else
14852 result=no
14853 fi
14854 else
14855 result=$wxUSE_AUTOID_MANAGEMENT
14856 fi
14857
14858 { echo "$as_me:$LINENO: result: $result" >&5
14859 echo "${ECHO_T}$result" >&6; }
14860
14861
14862 fi
14863
14864
14865 cat >confcache <<\_ACEOF
14866 # This file is a shell script that caches the results of configure
14867 # tests run on this system so they can be shared between configure
14868 # scripts and configure runs, see configure's option --config-cache.
14869 # It is not useful on other systems. If it contains results you don't
14870 # want to keep, you may remove or edit it.
14871 #
14872 # config.status only pays attention to the cache file if you give it
14873 # the --recheck option to rerun configure.
14874 #
14875 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14876 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14877 # following values.
14878
14879 _ACEOF
14880
14881 # The following way of writing the cache mishandles newlines in values,
14882 # but we know of no workaround that is simple, portable, and efficient.
14883 # So, we kill variables containing newlines.
14884 # Ultrix sh set writes to stderr and can't be redirected directly,
14885 # and sets the high bit in the cache file unless we assign to the vars.
14886 (
14887 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14888 eval ac_val=\$$ac_var
14889 case $ac_val in #(
14890 *${as_nl}*)
14891 case $ac_var in #(
14892 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14893 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14894 esac
14895 case $ac_var in #(
14896 _ | IFS | as_nl) ;; #(
14897 *) $as_unset $ac_var ;;
14898 esac ;;
14899 esac
14900 done
14901
14902 (set) 2>&1 |
14903 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14904 *${as_nl}ac_space=\ *)
14905 # `set' does not quote correctly, so add quotes (double-quote
14906 # substitution turns \\\\ into \\, and sed turns \\ into \).
14907 sed -n \
14908 "s/'/'\\\\''/g;
14909 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14910 ;; #(
14911 *)
14912 # `set' quotes correctly as required by POSIX, so do not add quotes.
14913 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14914 ;;
14915 esac |
14916 sort
14917 ) |
14918 sed '
14919 /^ac_cv_env_/b end
14920 t clear
14921 :clear
14922 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14923 t end
14924 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14925 :end' >>confcache
14926 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14927 if test -w "$cache_file"; then
14928 test "x$cache_file" != "x/dev/null" &&
14929 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14930 echo "$as_me: updating cache $cache_file" >&6;}
14931 cat confcache >$cache_file
14932 else
14933 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14934 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14935 fi
14936 fi
14937 rm -f confcache
14938
14939 CFLAGS=${CFLAGS:=}
14940 ac_ext=c
14941 ac_cpp='$CPP $CPPFLAGS'
14942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14945 if test -n "$ac_tool_prefix"; then
14946 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14947 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14948 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14950 if test "${ac_cv_prog_CC+set}" = set; then
14951 echo $ECHO_N "(cached) $ECHO_C" >&6
14952 else
14953 if test -n "$CC"; then
14954 ac_cv_prog_CC="$CC" # Let the user override the test.
14955 else
14956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14957 for as_dir in $PATH
14958 do
14959 IFS=$as_save_IFS
14960 test -z "$as_dir" && as_dir=.
14961 for ac_exec_ext in '' $ac_executable_extensions; do
14962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14963 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14964 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14965 break 2
14966 fi
14967 done
14968 done
14969 IFS=$as_save_IFS
14970
14971 fi
14972 fi
14973 CC=$ac_cv_prog_CC
14974 if test -n "$CC"; then
14975 { echo "$as_me:$LINENO: result: $CC" >&5
14976 echo "${ECHO_T}$CC" >&6; }
14977 else
14978 { echo "$as_me:$LINENO: result: no" >&5
14979 echo "${ECHO_T}no" >&6; }
14980 fi
14981
14982
14983 fi
14984 if test -z "$ac_cv_prog_CC"; then
14985 ac_ct_CC=$CC
14986 # Extract the first word of "gcc", so it can be a program name with args.
14987 set dummy gcc; ac_word=$2
14988 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14990 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14991 echo $ECHO_N "(cached) $ECHO_C" >&6
14992 else
14993 if test -n "$ac_ct_CC"; then
14994 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14995 else
14996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14997 for as_dir in $PATH
14998 do
14999 IFS=$as_save_IFS
15000 test -z "$as_dir" && as_dir=.
15001 for ac_exec_ext in '' $ac_executable_extensions; do
15002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15003 ac_cv_prog_ac_ct_CC="gcc"
15004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15005 break 2
15006 fi
15007 done
15008 done
15009 IFS=$as_save_IFS
15010
15011 fi
15012 fi
15013 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15014 if test -n "$ac_ct_CC"; then
15015 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15016 echo "${ECHO_T}$ac_ct_CC" >&6; }
15017 else
15018 { echo "$as_me:$LINENO: result: no" >&5
15019 echo "${ECHO_T}no" >&6; }
15020 fi
15021
15022 if test "x$ac_ct_CC" = x; then
15023 CC=""
15024 else
15025 case $cross_compiling:$ac_tool_warned in
15026 yes:)
15027 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15028 whose name does not start with the host triplet. If you think this
15029 configuration is useful to you, please write to autoconf@gnu.org." >&5
15030 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15031 whose name does not start with the host triplet. If you think this
15032 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15033 ac_tool_warned=yes ;;
15034 esac
15035 CC=$ac_ct_CC
15036 fi
15037 else
15038 CC="$ac_cv_prog_CC"
15039 fi
15040
15041 if test -z "$CC"; then
15042 if test -n "$ac_tool_prefix"; then
15043 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15044 set dummy ${ac_tool_prefix}cc; ac_word=$2
15045 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15047 if test "${ac_cv_prog_CC+set}" = set; then
15048 echo $ECHO_N "(cached) $ECHO_C" >&6
15049 else
15050 if test -n "$CC"; then
15051 ac_cv_prog_CC="$CC" # Let the user override the test.
15052 else
15053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15054 for as_dir in $PATH
15055 do
15056 IFS=$as_save_IFS
15057 test -z "$as_dir" && as_dir=.
15058 for ac_exec_ext in '' $ac_executable_extensions; do
15059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15060 ac_cv_prog_CC="${ac_tool_prefix}cc"
15061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15062 break 2
15063 fi
15064 done
15065 done
15066 IFS=$as_save_IFS
15067
15068 fi
15069 fi
15070 CC=$ac_cv_prog_CC
15071 if test -n "$CC"; then
15072 { echo "$as_me:$LINENO: result: $CC" >&5
15073 echo "${ECHO_T}$CC" >&6; }
15074 else
15075 { echo "$as_me:$LINENO: result: no" >&5
15076 echo "${ECHO_T}no" >&6; }
15077 fi
15078
15079
15080 fi
15081 fi
15082 if test -z "$CC"; then
15083 # Extract the first word of "cc", so it can be a program name with args.
15084 set dummy cc; ac_word=$2
15085 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15087 if test "${ac_cv_prog_CC+set}" = set; then
15088 echo $ECHO_N "(cached) $ECHO_C" >&6
15089 else
15090 if test -n "$CC"; then
15091 ac_cv_prog_CC="$CC" # Let the user override the test.
15092 else
15093 ac_prog_rejected=no
15094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15095 for as_dir in $PATH
15096 do
15097 IFS=$as_save_IFS
15098 test -z "$as_dir" && as_dir=.
15099 for ac_exec_ext in '' $ac_executable_extensions; do
15100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15101 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15102 ac_prog_rejected=yes
15103 continue
15104 fi
15105 ac_cv_prog_CC="cc"
15106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15107 break 2
15108 fi
15109 done
15110 done
15111 IFS=$as_save_IFS
15112
15113 if test $ac_prog_rejected = yes; then
15114 # We found a bogon in the path, so make sure we never use it.
15115 set dummy $ac_cv_prog_CC
15116 shift
15117 if test $# != 0; then
15118 # We chose a different compiler from the bogus one.
15119 # However, it has the same basename, so the bogon will be chosen
15120 # first if we set CC to just the basename; use the full file name.
15121 shift
15122 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
15123 fi
15124 fi
15125 fi
15126 fi
15127 CC=$ac_cv_prog_CC
15128 if test -n "$CC"; then
15129 { echo "$as_me:$LINENO: result: $CC" >&5
15130 echo "${ECHO_T}$CC" >&6; }
15131 else
15132 { echo "$as_me:$LINENO: result: no" >&5
15133 echo "${ECHO_T}no" >&6; }
15134 fi
15135
15136
15137 fi
15138 if test -z "$CC"; then
15139 if test -n "$ac_tool_prefix"; then
15140 for ac_prog in cl.exe
15141 do
15142 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15143 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15146 if test "${ac_cv_prog_CC+set}" = set; then
15147 echo $ECHO_N "(cached) $ECHO_C" >&6
15148 else
15149 if test -n "$CC"; then
15150 ac_cv_prog_CC="$CC" # Let the user override the test.
15151 else
15152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15153 for as_dir in $PATH
15154 do
15155 IFS=$as_save_IFS
15156 test -z "$as_dir" && as_dir=.
15157 for ac_exec_ext in '' $ac_executable_extensions; do
15158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15159 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15161 break 2
15162 fi
15163 done
15164 done
15165 IFS=$as_save_IFS
15166
15167 fi
15168 fi
15169 CC=$ac_cv_prog_CC
15170 if test -n "$CC"; then
15171 { echo "$as_me:$LINENO: result: $CC" >&5
15172 echo "${ECHO_T}$CC" >&6; }
15173 else
15174 { echo "$as_me:$LINENO: result: no" >&5
15175 echo "${ECHO_T}no" >&6; }
15176 fi
15177
15178
15179 test -n "$CC" && break
15180 done
15181 fi
15182 if test -z "$CC"; then
15183 ac_ct_CC=$CC
15184 for ac_prog in cl.exe
15185 do
15186 # Extract the first word of "$ac_prog", so it can be a program name with args.
15187 set dummy $ac_prog; ac_word=$2
15188 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15190 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15191 echo $ECHO_N "(cached) $ECHO_C" >&6
15192 else
15193 if test -n "$ac_ct_CC"; then
15194 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15195 else
15196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15197 for as_dir in $PATH
15198 do
15199 IFS=$as_save_IFS
15200 test -z "$as_dir" && as_dir=.
15201 for ac_exec_ext in '' $ac_executable_extensions; do
15202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15203 ac_cv_prog_ac_ct_CC="$ac_prog"
15204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15205 break 2
15206 fi
15207 done
15208 done
15209 IFS=$as_save_IFS
15210
15211 fi
15212 fi
15213 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15214 if test -n "$ac_ct_CC"; then
15215 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15216 echo "${ECHO_T}$ac_ct_CC" >&6; }
15217 else
15218 { echo "$as_me:$LINENO: result: no" >&5
15219 echo "${ECHO_T}no" >&6; }
15220 fi
15221
15222
15223 test -n "$ac_ct_CC" && break
15224 done
15225
15226 if test "x$ac_ct_CC" = x; then
15227 CC=""
15228 else
15229 case $cross_compiling:$ac_tool_warned in
15230 yes:)
15231 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15232 whose name does not start with the host triplet. If you think this
15233 configuration is useful to you, please write to autoconf@gnu.org." >&5
15234 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15235 whose name does not start with the host triplet. If you think this
15236 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15237 ac_tool_warned=yes ;;
15238 esac
15239 CC=$ac_ct_CC
15240 fi
15241 fi
15242
15243 fi
15244
15245
15246 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15247 See \`config.log' for more details." >&5
15248 echo "$as_me: error: no acceptable C compiler found in \$PATH
15249 See \`config.log' for more details." >&2;}
15250 { (exit 1); exit 1; }; }
15251
15252 # Provide some information about the compiler.
15253 echo "$as_me:$LINENO: checking for C compiler version" >&5
15254 ac_compiler=`set X $ac_compile; echo $2`
15255 { (ac_try="$ac_compiler --version >&5"
15256 case "(($ac_try" in
15257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15258 *) ac_try_echo=$ac_try;;
15259 esac
15260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15261 (eval "$ac_compiler --version >&5") 2>&5
15262 ac_status=$?
15263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15264 (exit $ac_status); }
15265 { (ac_try="$ac_compiler -v >&5"
15266 case "(($ac_try" in
15267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15268 *) ac_try_echo=$ac_try;;
15269 esac
15270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15271 (eval "$ac_compiler -v >&5") 2>&5
15272 ac_status=$?
15273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15274 (exit $ac_status); }
15275 { (ac_try="$ac_compiler -V >&5"
15276 case "(($ac_try" in
15277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15278 *) ac_try_echo=$ac_try;;
15279 esac
15280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15281 (eval "$ac_compiler -V >&5") 2>&5
15282 ac_status=$?
15283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15284 (exit $ac_status); }
15285
15286 cat >conftest.$ac_ext <<_ACEOF
15287 /* confdefs.h. */
15288 _ACEOF
15289 cat confdefs.h >>conftest.$ac_ext
15290 cat >>conftest.$ac_ext <<_ACEOF
15291 /* end confdefs.h. */
15292
15293 int
15294 main ()
15295 {
15296
15297 ;
15298 return 0;
15299 }
15300 _ACEOF
15301 ac_clean_files_save=$ac_clean_files
15302 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15303 # Try to create an executable without -o first, disregard a.out.
15304 # It will help us diagnose broken compilers, and finding out an intuition
15305 # of exeext.
15306 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15307 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
15308 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
15309 #
15310 # List of possible output files, starting from the most likely.
15311 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
15312 # only as a last resort. b.out is created by i960 compilers.
15313 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
15314 #
15315 # The IRIX 6 linker writes into existing files which may not be
15316 # executable, retaining their permissions. Remove them first so a
15317 # subsequent execution test works.
15318 ac_rmfiles=
15319 for ac_file in $ac_files
15320 do
15321 case $ac_file in
15322 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15323 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
15324 esac
15325 done
15326 rm -f $ac_rmfiles
15327
15328 if { (ac_try="$ac_link_default"
15329 case "(($ac_try" in
15330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15331 *) ac_try_echo=$ac_try;;
15332 esac
15333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15334 (eval "$ac_link_default") 2>&5
15335 ac_status=$?
15336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15337 (exit $ac_status); }; then
15338 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
15339 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
15340 # in a Makefile. We should not override ac_cv_exeext if it was cached,
15341 # so that the user can short-circuit this test for compilers unknown to
15342 # Autoconf.
15343 for ac_file in $ac_files ''
15344 do
15345 test -f "$ac_file" || continue
15346 case $ac_file in
15347 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
15348 ;;
15349 [ab].out )
15350 # We found the default executable, but exeext='' is most
15351 # certainly right.
15352 break;;
15353 *.* )
15354 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
15355 then :; else
15356 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15357 fi
15358 # We set ac_cv_exeext here because the later test for it is not
15359 # safe: cross compilers may not add the suffix if given an `-o'
15360 # argument, so we may need to know it at that point already.
15361 # Even if this section looks crufty: it has the advantage of
15362 # actually working.
15363 break;;
15364 * )
15365 break;;
15366 esac
15367 done
15368 test "$ac_cv_exeext" = no && ac_cv_exeext=
15369
15370 else
15371 ac_file=''
15372 fi
15373
15374 { echo "$as_me:$LINENO: result: $ac_file" >&5
15375 echo "${ECHO_T}$ac_file" >&6; }
15376 if test -z "$ac_file"; then
15377 echo "$as_me: failed program was:" >&5
15378 sed 's/^/| /' conftest.$ac_ext >&5
15379
15380 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15381 See \`config.log' for more details." >&5
15382 echo "$as_me: error: C compiler cannot create executables
15383 See \`config.log' for more details." >&2;}
15384 { (exit 77); exit 77; }; }
15385 fi
15386
15387 ac_exeext=$ac_cv_exeext
15388
15389 # Check that the compiler produces executables we can run. If not, either
15390 # the compiler is broken, or we cross compile.
15391 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15392 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
15393 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15394 # If not cross compiling, check that we can run a simple program.
15395 if test "$cross_compiling" != yes; then
15396 if { ac_try='./$ac_file'
15397 { (case "(($ac_try" in
15398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15399 *) ac_try_echo=$ac_try;;
15400 esac
15401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15402 (eval "$ac_try") 2>&5
15403 ac_status=$?
15404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15405 (exit $ac_status); }; }; then
15406 cross_compiling=no
15407 else
15408 if test "$cross_compiling" = maybe; then
15409 cross_compiling=yes
15410 else
15411 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15412 If you meant to cross compile, use \`--host'.
15413 See \`config.log' for more details." >&5
15414 echo "$as_me: error: cannot run C compiled programs.
15415 If you meant to cross compile, use \`--host'.
15416 See \`config.log' for more details." >&2;}
15417 { (exit 1); exit 1; }; }
15418 fi
15419 fi
15420 fi
15421 { echo "$as_me:$LINENO: result: yes" >&5
15422 echo "${ECHO_T}yes" >&6; }
15423
15424 rm -f a.out a.exe conftest$ac_cv_exeext b.out
15425 ac_clean_files=$ac_clean_files_save
15426 # Check that the compiler produces executables we can run. If not, either
15427 # the compiler is broken, or we cross compile.
15428 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15429 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
15430 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
15431 echo "${ECHO_T}$cross_compiling" >&6; }
15432
15433 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
15434 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
15435 if { (ac_try="$ac_link"
15436 case "(($ac_try" in
15437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15438 *) ac_try_echo=$ac_try;;
15439 esac
15440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15441 (eval "$ac_link") 2>&5
15442 ac_status=$?
15443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15444 (exit $ac_status); }; then
15445 # If both `conftest.exe' and `conftest' are `present' (well, observable)
15446 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
15447 # work properly (i.e., refer to `conftest.exe'), while it won't with
15448 # `rm'.
15449 for ac_file in conftest.exe conftest conftest.*; do
15450 test -f "$ac_file" || continue
15451 case $ac_file in
15452 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15453 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15454 break;;
15455 * ) break;;
15456 esac
15457 done
15458 else
15459 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15460 See \`config.log' for more details." >&5
15461 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15462 See \`config.log' for more details." >&2;}
15463 { (exit 1); exit 1; }; }
15464 fi
15465
15466 rm -f conftest$ac_cv_exeext
15467 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15468 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15469
15470 rm -f conftest.$ac_ext
15471 EXEEXT=$ac_cv_exeext
15472 ac_exeext=$EXEEXT
15473 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15474 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15475 if test "${ac_cv_objext+set}" = set; then
15476 echo $ECHO_N "(cached) $ECHO_C" >&6
15477 else
15478 cat >conftest.$ac_ext <<_ACEOF
15479 /* confdefs.h. */
15480 _ACEOF
15481 cat confdefs.h >>conftest.$ac_ext
15482 cat >>conftest.$ac_ext <<_ACEOF
15483 /* end confdefs.h. */
15484
15485 int
15486 main ()
15487 {
15488
15489 ;
15490 return 0;
15491 }
15492 _ACEOF
15493 rm -f conftest.o conftest.obj
15494 if { (ac_try="$ac_compile"
15495 case "(($ac_try" in
15496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15497 *) ac_try_echo=$ac_try;;
15498 esac
15499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15500 (eval "$ac_compile") 2>&5
15501 ac_status=$?
15502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15503 (exit $ac_status); }; then
15504 for ac_file in conftest.o conftest.obj conftest.*; do
15505 test -f "$ac_file" || continue;
15506 case $ac_file in
15507 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15508 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15509 break;;
15510 esac
15511 done
15512 else
15513 echo "$as_me: failed program was:" >&5
15514 sed 's/^/| /' conftest.$ac_ext >&5
15515
15516 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15517 See \`config.log' for more details." >&5
15518 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15519 See \`config.log' for more details." >&2;}
15520 { (exit 1); exit 1; }; }
15521 fi
15522
15523 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15524 fi
15525 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
15526 echo "${ECHO_T}$ac_cv_objext" >&6; }
15527 OBJEXT=$ac_cv_objext
15528 ac_objext=$OBJEXT
15529 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
15530 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
15531 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15532 echo $ECHO_N "(cached) $ECHO_C" >&6
15533 else
15534 cat >conftest.$ac_ext <<_ACEOF
15535 /* confdefs.h. */
15536 _ACEOF
15537 cat confdefs.h >>conftest.$ac_ext
15538 cat >>conftest.$ac_ext <<_ACEOF
15539 /* end confdefs.h. */
15540
15541 int
15542 main ()
15543 {
15544 #ifndef __GNUC__
15545 choke me
15546 #endif
15547
15548 ;
15549 return 0;
15550 }
15551 _ACEOF
15552 rm -f conftest.$ac_objext
15553 if { (ac_try="$ac_compile"
15554 case "(($ac_try" in
15555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15556 *) ac_try_echo=$ac_try;;
15557 esac
15558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15559 (eval "$ac_compile") 2>conftest.er1
15560 ac_status=$?
15561 grep -v '^ *+' conftest.er1 >conftest.err
15562 rm -f conftest.er1
15563 cat conftest.err >&5
15564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15565 (exit $ac_status); } && {
15566 test -z "$ac_c_werror_flag" ||
15567 test ! -s conftest.err
15568 } && test -s conftest.$ac_objext; then
15569 ac_compiler_gnu=yes
15570 else
15571 echo "$as_me: failed program was:" >&5
15572 sed 's/^/| /' conftest.$ac_ext >&5
15573
15574 ac_compiler_gnu=no
15575 fi
15576
15577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15578 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15579
15580 fi
15581 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15582 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15583 GCC=`test $ac_compiler_gnu = yes && echo yes`
15584 ac_test_CFLAGS=${CFLAGS+set}
15585 ac_save_CFLAGS=$CFLAGS
15586 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15587 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15588 if test "${ac_cv_prog_cc_g+set}" = set; then
15589 echo $ECHO_N "(cached) $ECHO_C" >&6
15590 else
15591 ac_save_c_werror_flag=$ac_c_werror_flag
15592 ac_c_werror_flag=yes
15593 ac_cv_prog_cc_g=no
15594 CFLAGS="-g"
15595 cat >conftest.$ac_ext <<_ACEOF
15596 /* confdefs.h. */
15597 _ACEOF
15598 cat confdefs.h >>conftest.$ac_ext
15599 cat >>conftest.$ac_ext <<_ACEOF
15600 /* end confdefs.h. */
15601
15602 int
15603 main ()
15604 {
15605
15606 ;
15607 return 0;
15608 }
15609 _ACEOF
15610 rm -f conftest.$ac_objext
15611 if { (ac_try="$ac_compile"
15612 case "(($ac_try" in
15613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15614 *) ac_try_echo=$ac_try;;
15615 esac
15616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15617 (eval "$ac_compile") 2>conftest.er1
15618 ac_status=$?
15619 grep -v '^ *+' conftest.er1 >conftest.err
15620 rm -f conftest.er1
15621 cat conftest.err >&5
15622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15623 (exit $ac_status); } && {
15624 test -z "$ac_c_werror_flag" ||
15625 test ! -s conftest.err
15626 } && test -s conftest.$ac_objext; then
15627 ac_cv_prog_cc_g=yes
15628 else
15629 echo "$as_me: failed program was:" >&5
15630 sed 's/^/| /' conftest.$ac_ext >&5
15631
15632 CFLAGS=""
15633 cat >conftest.$ac_ext <<_ACEOF
15634 /* confdefs.h. */
15635 _ACEOF
15636 cat confdefs.h >>conftest.$ac_ext
15637 cat >>conftest.$ac_ext <<_ACEOF
15638 /* end confdefs.h. */
15639
15640 int
15641 main ()
15642 {
15643
15644 ;
15645 return 0;
15646 }
15647 _ACEOF
15648 rm -f conftest.$ac_objext
15649 if { (ac_try="$ac_compile"
15650 case "(($ac_try" in
15651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15652 *) ac_try_echo=$ac_try;;
15653 esac
15654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15655 (eval "$ac_compile") 2>conftest.er1
15656 ac_status=$?
15657 grep -v '^ *+' conftest.er1 >conftest.err
15658 rm -f conftest.er1
15659 cat conftest.err >&5
15660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15661 (exit $ac_status); } && {
15662 test -z "$ac_c_werror_flag" ||
15663 test ! -s conftest.err
15664 } && test -s conftest.$ac_objext; then
15665 :
15666 else
15667 echo "$as_me: failed program was:" >&5
15668 sed 's/^/| /' conftest.$ac_ext >&5
15669
15670 ac_c_werror_flag=$ac_save_c_werror_flag
15671 CFLAGS="-g"
15672 cat >conftest.$ac_ext <<_ACEOF
15673 /* confdefs.h. */
15674 _ACEOF
15675 cat confdefs.h >>conftest.$ac_ext
15676 cat >>conftest.$ac_ext <<_ACEOF
15677 /* end confdefs.h. */
15678
15679 int
15680 main ()
15681 {
15682
15683 ;
15684 return 0;
15685 }
15686 _ACEOF
15687 rm -f conftest.$ac_objext
15688 if { (ac_try="$ac_compile"
15689 case "(($ac_try" in
15690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15691 *) ac_try_echo=$ac_try;;
15692 esac
15693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15694 (eval "$ac_compile") 2>conftest.er1
15695 ac_status=$?
15696 grep -v '^ *+' conftest.er1 >conftest.err
15697 rm -f conftest.er1
15698 cat conftest.err >&5
15699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15700 (exit $ac_status); } && {
15701 test -z "$ac_c_werror_flag" ||
15702 test ! -s conftest.err
15703 } && test -s conftest.$ac_objext; then
15704 ac_cv_prog_cc_g=yes
15705 else
15706 echo "$as_me: failed program was:" >&5
15707 sed 's/^/| /' conftest.$ac_ext >&5
15708
15709
15710 fi
15711
15712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15713 fi
15714
15715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15716 fi
15717
15718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15719 ac_c_werror_flag=$ac_save_c_werror_flag
15720 fi
15721 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15722 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15723 if test "$ac_test_CFLAGS" = set; then
15724 CFLAGS=$ac_save_CFLAGS
15725 elif test $ac_cv_prog_cc_g = yes; then
15726 if test "$GCC" = yes; then
15727 CFLAGS="-g -O2"
15728 else
15729 CFLAGS="-g"
15730 fi
15731 else
15732 if test "$GCC" = yes; then
15733 CFLAGS="-O2"
15734 else
15735 CFLAGS=
15736 fi
15737 fi
15738 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15739 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15740 if test "${ac_cv_prog_cc_c89+set}" = set; then
15741 echo $ECHO_N "(cached) $ECHO_C" >&6
15742 else
15743 ac_cv_prog_cc_c89=no
15744 ac_save_CC=$CC
15745 cat >conftest.$ac_ext <<_ACEOF
15746 /* confdefs.h. */
15747 _ACEOF
15748 cat confdefs.h >>conftest.$ac_ext
15749 cat >>conftest.$ac_ext <<_ACEOF
15750 /* end confdefs.h. */
15751 #include <stdarg.h>
15752 #include <stdio.h>
15753 #include <sys/types.h>
15754 #include <sys/stat.h>
15755 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15756 struct buf { int x; };
15757 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15758 static char *e (p, i)
15759 char **p;
15760 int i;
15761 {
15762 return p[i];
15763 }
15764 static char *f (char * (*g) (char **, int), char **p, ...)
15765 {
15766 char *s;
15767 va_list v;
15768 va_start (v,p);
15769 s = g (p, va_arg (v,int));
15770 va_end (v);
15771 return s;
15772 }
15773
15774 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15775 function prototypes and stuff, but not '\xHH' hex character constants.
15776 These don't provoke an error unfortunately, instead are silently treated
15777 as 'x'. The following induces an error, until -std is added to get
15778 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15779 array size at least. It's necessary to write '\x00'==0 to get something
15780 that's true only with -std. */
15781 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15782
15783 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15784 inside strings and character constants. */
15785 #define FOO(x) 'x'
15786 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15787
15788 int test (int i, double x);
15789 struct s1 {int (*f) (int a);};
15790 struct s2 {int (*f) (double a);};
15791 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15792 int argc;
15793 char **argv;
15794 int
15795 main ()
15796 {
15797 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15798 ;
15799 return 0;
15800 }
15801 _ACEOF
15802 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15803 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15804 do
15805 CC="$ac_save_CC $ac_arg"
15806 rm -f conftest.$ac_objext
15807 if { (ac_try="$ac_compile"
15808 case "(($ac_try" in
15809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15810 *) ac_try_echo=$ac_try;;
15811 esac
15812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15813 (eval "$ac_compile") 2>conftest.er1
15814 ac_status=$?
15815 grep -v '^ *+' conftest.er1 >conftest.err
15816 rm -f conftest.er1
15817 cat conftest.err >&5
15818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15819 (exit $ac_status); } && {
15820 test -z "$ac_c_werror_flag" ||
15821 test ! -s conftest.err
15822 } && test -s conftest.$ac_objext; then
15823 ac_cv_prog_cc_c89=$ac_arg
15824 else
15825 echo "$as_me: failed program was:" >&5
15826 sed 's/^/| /' conftest.$ac_ext >&5
15827
15828
15829 fi
15830
15831 rm -f core conftest.err conftest.$ac_objext
15832 test "x$ac_cv_prog_cc_c89" != "xno" && break
15833 done
15834 rm -f conftest.$ac_ext
15835 CC=$ac_save_CC
15836
15837 fi
15838 # AC_CACHE_VAL
15839 case "x$ac_cv_prog_cc_c89" in
15840 x)
15841 { echo "$as_me:$LINENO: result: none needed" >&5
15842 echo "${ECHO_T}none needed" >&6; } ;;
15843 xno)
15844 { echo "$as_me:$LINENO: result: unsupported" >&5
15845 echo "${ECHO_T}unsupported" >&6; } ;;
15846 *)
15847 CC="$CC $ac_cv_prog_cc_c89"
15848 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15849 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15850 esac
15851
15852
15853 ac_ext=c
15854 ac_cpp='$CPP $CPPFLAGS'
15855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15858
15859
15860
15861
15862
15863
15864
15865
15866 ac_ext=c
15867 ac_cpp='$CPP $CPPFLAGS'
15868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15871
15872 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15873 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15874 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15875 echo $ECHO_N "(cached) $ECHO_C" >&6
15876 else
15877 cat >conftest.$ac_ext <<_ACEOF
15878 /* confdefs.h. */
15879 _ACEOF
15880 cat confdefs.h >>conftest.$ac_ext
15881 cat >>conftest.$ac_ext <<_ACEOF
15882 /* end confdefs.h. */
15883
15884 int
15885 main ()
15886 {
15887
15888 #ifndef __INTEL_COMPILER
15889 choke me
15890 #endif
15891
15892 ;
15893 return 0;
15894 }
15895 _ACEOF
15896 rm -f conftest.$ac_objext
15897 if { (ac_try="$ac_compile"
15898 case "(($ac_try" in
15899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15900 *) ac_try_echo=$ac_try;;
15901 esac
15902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15903 (eval "$ac_compile") 2>conftest.er1
15904 ac_status=$?
15905 grep -v '^ *+' conftest.er1 >conftest.err
15906 rm -f conftest.er1
15907 cat conftest.err >&5
15908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15909 (exit $ac_status); } && {
15910 test -z "$ac_c_werror_flag" ||
15911 test ! -s conftest.err
15912 } && test -s conftest.$ac_objext; then
15913 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15914 else
15915 echo "$as_me: failed program was:" >&5
15916 sed 's/^/| /' conftest.$ac_ext >&5
15917
15918 bakefile_cv_c_compiler___INTEL_COMPILER=no
15919
15920 fi
15921
15922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15923
15924
15925 fi
15926 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15927 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15928 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15929 :; INTELCC=yes
15930 else
15931 :;
15932 fi
15933 ac_ext=c
15934 ac_cpp='$CPP $CPPFLAGS'
15935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15938
15939
15940
15941
15942 if test "$INTELCC" = "yes"; then
15943
15944
15945 ac_ext=c
15946 ac_cpp='$CPP $CPPFLAGS'
15947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15950
15951 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15952 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15953 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15954 echo $ECHO_N "(cached) $ECHO_C" >&6
15955 else
15956 cat >conftest.$ac_ext <<_ACEOF
15957 /* confdefs.h. */
15958 _ACEOF
15959 cat confdefs.h >>conftest.$ac_ext
15960 cat >>conftest.$ac_ext <<_ACEOF
15961 /* end confdefs.h. */
15962
15963 int
15964 main ()
15965 {
15966
15967 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15968 choke me
15969 #endif
15970
15971 ;
15972 return 0;
15973 }
15974 _ACEOF
15975 rm -f conftest.$ac_objext
15976 if { (ac_try="$ac_compile"
15977 case "(($ac_try" in
15978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15979 *) ac_try_echo=$ac_try;;
15980 esac
15981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15982 (eval "$ac_compile") 2>conftest.er1
15983 ac_status=$?
15984 grep -v '^ *+' conftest.er1 >conftest.err
15985 rm -f conftest.er1
15986 cat conftest.err >&5
15987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15988 (exit $ac_status); } && {
15989 test -z "$ac_c_werror_flag" ||
15990 test ! -s conftest.err
15991 } && test -s conftest.$ac_objext; then
15992 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15993 else
15994 echo "$as_me: failed program was:" >&5
15995 sed 's/^/| /' conftest.$ac_ext >&5
15996
15997 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15998
15999 fi
16000
16001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16002
16003
16004 fi
16005 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
16006 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
16007 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
16008 :; INTELCC8=yes
16009 else
16010 :;
16011 fi
16012 ac_ext=c
16013 ac_cpp='$CPP $CPPFLAGS'
16014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16017
16018
16019
16020
16021
16022 ac_ext=c
16023 ac_cpp='$CPP $CPPFLAGS'
16024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16027
16028 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
16029 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
16030 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
16031 echo $ECHO_N "(cached) $ECHO_C" >&6
16032 else
16033 cat >conftest.$ac_ext <<_ACEOF
16034 /* confdefs.h. */
16035 _ACEOF
16036 cat confdefs.h >>conftest.$ac_ext
16037 cat >>conftest.$ac_ext <<_ACEOF
16038 /* end confdefs.h. */
16039
16040 int
16041 main ()
16042 {
16043
16044 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
16045 choke me
16046 #endif
16047
16048 ;
16049 return 0;
16050 }
16051 _ACEOF
16052 rm -f conftest.$ac_objext
16053 if { (ac_try="$ac_compile"
16054 case "(($ac_try" in
16055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16056 *) ac_try_echo=$ac_try;;
16057 esac
16058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16059 (eval "$ac_compile") 2>conftest.er1
16060 ac_status=$?
16061 grep -v '^ *+' conftest.er1 >conftest.err
16062 rm -f conftest.er1
16063 cat conftest.err >&5
16064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16065 (exit $ac_status); } && {
16066 test -z "$ac_c_werror_flag" ||
16067 test ! -s conftest.err
16068 } && test -s conftest.$ac_objext; then
16069 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
16070 else
16071 echo "$as_me: failed program was:" >&5
16072 sed 's/^/| /' conftest.$ac_ext >&5
16073
16074 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
16075
16076 fi
16077
16078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16079
16080
16081 fi
16082 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
16083 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
16084 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
16085 :; INTELCC10=yes
16086 else
16087 :;
16088 fi
16089 ac_ext=c
16090 ac_cpp='$CPP $CPPFLAGS'
16091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16094
16095
16096
16097 fi
16098
16099 if test "x$GCC" != "xyes"; then
16100 if test "xCC" = "xC"; then
16101 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16102 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16103 if test "${bakefile_cv_c_exto+set}" = set; then
16104 echo $ECHO_N "(cached) $ECHO_C" >&6
16105 else
16106 cat >conftest.$ac_ext <<_ACEOF
16107 /* confdefs.h. */
16108 _ACEOF
16109 cat confdefs.h >>conftest.$ac_ext
16110 cat >>conftest.$ac_ext <<_ACEOF
16111 /* end confdefs.h. */
16112
16113 int
16114 main ()
16115 {
16116
16117 ;
16118 return 0;
16119 }
16120 _ACEOF
16121 rm -f conftest.$ac_objext conftest.$ac_ext.o
16122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16123 (eval $ac_compile) 2>&5
16124 ac_status=$?
16125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16126 (exit $ac_status); }; then
16127 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16128 case $ac_file in
16129 conftest.$ac_ext.o)
16130 bakefile_cv_c_exto="-ext o"
16131 ;;
16132 *)
16133 ;;
16134 esac
16135 done
16136 else
16137 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16138 See \`config.log' for more details." >&5
16139 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16140 See \`config.log' for more details." >&2;}
16141 { (exit 1); exit 1; }; }
16142
16143 fi
16144
16145 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16146
16147 fi
16148 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16149 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16150 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16151 if test "c" = "c"; then
16152 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16153 fi
16154 if test "c" = "cxx"; then
16155 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16156 fi
16157 fi
16158
16159 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16160 unset ac_cv_prog_cc_g
16161 ac_test_CFLAGS=${CFLAGS+set}
16162 ac_save_CFLAGS=$CFLAGS
16163 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16164 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16165 if test "${ac_cv_prog_cc_g+set}" = set; then
16166 echo $ECHO_N "(cached) $ECHO_C" >&6
16167 else
16168 ac_save_c_werror_flag=$ac_c_werror_flag
16169 ac_c_werror_flag=yes
16170 ac_cv_prog_cc_g=no
16171 CFLAGS="-g"
16172 cat >conftest.$ac_ext <<_ACEOF
16173 /* confdefs.h. */
16174 _ACEOF
16175 cat confdefs.h >>conftest.$ac_ext
16176 cat >>conftest.$ac_ext <<_ACEOF
16177 /* end confdefs.h. */
16178
16179 int
16180 main ()
16181 {
16182
16183 ;
16184 return 0;
16185 }
16186 _ACEOF
16187 rm -f conftest.$ac_objext
16188 if { (ac_try="$ac_compile"
16189 case "(($ac_try" in
16190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16191 *) ac_try_echo=$ac_try;;
16192 esac
16193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16194 (eval "$ac_compile") 2>conftest.er1
16195 ac_status=$?
16196 grep -v '^ *+' conftest.er1 >conftest.err
16197 rm -f conftest.er1
16198 cat conftest.err >&5
16199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16200 (exit $ac_status); } && {
16201 test -z "$ac_c_werror_flag" ||
16202 test ! -s conftest.err
16203 } && test -s conftest.$ac_objext; then
16204 ac_cv_prog_cc_g=yes
16205 else
16206 echo "$as_me: failed program was:" >&5
16207 sed 's/^/| /' conftest.$ac_ext >&5
16208
16209 CFLAGS=""
16210 cat >conftest.$ac_ext <<_ACEOF
16211 /* confdefs.h. */
16212 _ACEOF
16213 cat confdefs.h >>conftest.$ac_ext
16214 cat >>conftest.$ac_ext <<_ACEOF
16215 /* end confdefs.h. */
16216
16217 int
16218 main ()
16219 {
16220
16221 ;
16222 return 0;
16223 }
16224 _ACEOF
16225 rm -f conftest.$ac_objext
16226 if { (ac_try="$ac_compile"
16227 case "(($ac_try" in
16228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16229 *) ac_try_echo=$ac_try;;
16230 esac
16231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16232 (eval "$ac_compile") 2>conftest.er1
16233 ac_status=$?
16234 grep -v '^ *+' conftest.er1 >conftest.err
16235 rm -f conftest.er1
16236 cat conftest.err >&5
16237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16238 (exit $ac_status); } && {
16239 test -z "$ac_c_werror_flag" ||
16240 test ! -s conftest.err
16241 } && test -s conftest.$ac_objext; then
16242 :
16243 else
16244 echo "$as_me: failed program was:" >&5
16245 sed 's/^/| /' conftest.$ac_ext >&5
16246
16247 ac_c_werror_flag=$ac_save_c_werror_flag
16248 CFLAGS="-g"
16249 cat >conftest.$ac_ext <<_ACEOF
16250 /* confdefs.h. */
16251 _ACEOF
16252 cat confdefs.h >>conftest.$ac_ext
16253 cat >>conftest.$ac_ext <<_ACEOF
16254 /* end confdefs.h. */
16255
16256 int
16257 main ()
16258 {
16259
16260 ;
16261 return 0;
16262 }
16263 _ACEOF
16264 rm -f conftest.$ac_objext
16265 if { (ac_try="$ac_compile"
16266 case "(($ac_try" in
16267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16268 *) ac_try_echo=$ac_try;;
16269 esac
16270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16271 (eval "$ac_compile") 2>conftest.er1
16272 ac_status=$?
16273 grep -v '^ *+' conftest.er1 >conftest.err
16274 rm -f conftest.er1
16275 cat conftest.err >&5
16276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16277 (exit $ac_status); } && {
16278 test -z "$ac_c_werror_flag" ||
16279 test ! -s conftest.err
16280 } && test -s conftest.$ac_objext; then
16281 ac_cv_prog_cc_g=yes
16282 else
16283 echo "$as_me: failed program was:" >&5
16284 sed 's/^/| /' conftest.$ac_ext >&5
16285
16286
16287 fi
16288
16289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16290 fi
16291
16292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16293 fi
16294
16295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16296 ac_c_werror_flag=$ac_save_c_werror_flag
16297 fi
16298 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16299 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16300 if test "$ac_test_CFLAGS" = set; then
16301 CFLAGS=$ac_save_CFLAGS
16302 elif test $ac_cv_prog_cc_g = yes; then
16303 if test "$GCC" = yes; then
16304 CFLAGS="-g -O2"
16305 else
16306 CFLAGS="-g"
16307 fi
16308 else
16309 if test "$GCC" = yes; then
16310 CFLAGS="-O2"
16311 else
16312 CFLAGS=
16313 fi
16314 fi
16315 fi
16316 fi
16317
16318 case `uname -s` in
16319 AIX*)
16320
16321
16322 ac_ext=c
16323 ac_cpp='$CPP $CPPFLAGS'
16324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16327
16328 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16329 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16330 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16331 echo $ECHO_N "(cached) $ECHO_C" >&6
16332 else
16333 cat >conftest.$ac_ext <<_ACEOF
16334 /* confdefs.h. */
16335 _ACEOF
16336 cat confdefs.h >>conftest.$ac_ext
16337 cat >>conftest.$ac_ext <<_ACEOF
16338 /* end confdefs.h. */
16339
16340 int
16341 main ()
16342 {
16343
16344 #ifndef __xlC__
16345 choke me
16346 #endif
16347
16348 ;
16349 return 0;
16350 }
16351 _ACEOF
16352 rm -f conftest.$ac_objext
16353 if { (ac_try="$ac_compile"
16354 case "(($ac_try" in
16355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16356 *) ac_try_echo=$ac_try;;
16357 esac
16358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16359 (eval "$ac_compile") 2>conftest.er1
16360 ac_status=$?
16361 grep -v '^ *+' conftest.er1 >conftest.err
16362 rm -f conftest.er1
16363 cat conftest.err >&5
16364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16365 (exit $ac_status); } && {
16366 test -z "$ac_c_werror_flag" ||
16367 test ! -s conftest.err
16368 } && test -s conftest.$ac_objext; then
16369 bakefile_cv_c_compiler___xlC__=yes
16370 else
16371 echo "$as_me: failed program was:" >&5
16372 sed 's/^/| /' conftest.$ac_ext >&5
16373
16374 bakefile_cv_c_compiler___xlC__=no
16375
16376 fi
16377
16378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16379
16380
16381 fi
16382 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16383 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16384 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16385 :; XLCC=yes
16386 else
16387 :;
16388 fi
16389 ac_ext=c
16390 ac_cpp='$CPP $CPPFLAGS'
16391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16394
16395
16396
16397 ;;
16398
16399 Darwin)
16400
16401
16402 ac_ext=c
16403 ac_cpp='$CPP $CPPFLAGS'
16404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16407
16408 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16409 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16410 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16411 echo $ECHO_N "(cached) $ECHO_C" >&6
16412 else
16413 cat >conftest.$ac_ext <<_ACEOF
16414 /* confdefs.h. */
16415 _ACEOF
16416 cat confdefs.h >>conftest.$ac_ext
16417 cat >>conftest.$ac_ext <<_ACEOF
16418 /* end confdefs.h. */
16419
16420 int
16421 main ()
16422 {
16423
16424 #ifndef __MWERKS__
16425 choke me
16426 #endif
16427
16428 ;
16429 return 0;
16430 }
16431 _ACEOF
16432 rm -f conftest.$ac_objext
16433 if { (ac_try="$ac_compile"
16434 case "(($ac_try" in
16435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16436 *) ac_try_echo=$ac_try;;
16437 esac
16438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16439 (eval "$ac_compile") 2>conftest.er1
16440 ac_status=$?
16441 grep -v '^ *+' conftest.er1 >conftest.err
16442 rm -f conftest.er1
16443 cat conftest.err >&5
16444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16445 (exit $ac_status); } && {
16446 test -z "$ac_c_werror_flag" ||
16447 test ! -s conftest.err
16448 } && test -s conftest.$ac_objext; then
16449 bakefile_cv_c_compiler___MWERKS__=yes
16450 else
16451 echo "$as_me: failed program was:" >&5
16452 sed 's/^/| /' conftest.$ac_ext >&5
16453
16454 bakefile_cv_c_compiler___MWERKS__=no
16455
16456 fi
16457
16458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16459
16460
16461 fi
16462 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16463 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16464 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16465 :; MWCC=yes
16466 else
16467 :;
16468 fi
16469 ac_ext=c
16470 ac_cpp='$CPP $CPPFLAGS'
16471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16474
16475
16476
16477 if test "$MWCC" != "yes"; then
16478
16479
16480 ac_ext=c
16481 ac_cpp='$CPP $CPPFLAGS'
16482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16485
16486 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16487 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16488 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16489 echo $ECHO_N "(cached) $ECHO_C" >&6
16490 else
16491 cat >conftest.$ac_ext <<_ACEOF
16492 /* confdefs.h. */
16493 _ACEOF
16494 cat confdefs.h >>conftest.$ac_ext
16495 cat >>conftest.$ac_ext <<_ACEOF
16496 /* end confdefs.h. */
16497
16498 int
16499 main ()
16500 {
16501
16502 #ifndef __xlC__
16503 choke me
16504 #endif
16505
16506 ;
16507 return 0;
16508 }
16509 _ACEOF
16510 rm -f conftest.$ac_objext
16511 if { (ac_try="$ac_compile"
16512 case "(($ac_try" in
16513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16514 *) ac_try_echo=$ac_try;;
16515 esac
16516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16517 (eval "$ac_compile") 2>conftest.er1
16518 ac_status=$?
16519 grep -v '^ *+' conftest.er1 >conftest.err
16520 rm -f conftest.er1
16521 cat conftest.err >&5
16522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16523 (exit $ac_status); } && {
16524 test -z "$ac_c_werror_flag" ||
16525 test ! -s conftest.err
16526 } && test -s conftest.$ac_objext; then
16527 bakefile_cv_c_compiler___xlC__=yes
16528 else
16529 echo "$as_me: failed program was:" >&5
16530 sed 's/^/| /' conftest.$ac_ext >&5
16531
16532 bakefile_cv_c_compiler___xlC__=no
16533
16534 fi
16535
16536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16537
16538
16539 fi
16540 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16541 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16542 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16543 :; XLCC=yes
16544 else
16545 :;
16546 fi
16547 ac_ext=c
16548 ac_cpp='$CPP $CPPFLAGS'
16549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16552
16553
16554
16555 fi
16556 ;;
16557
16558 IRIX*)
16559
16560
16561 ac_ext=c
16562 ac_cpp='$CPP $CPPFLAGS'
16563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16566
16567 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16568 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16569 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16570 echo $ECHO_N "(cached) $ECHO_C" >&6
16571 else
16572 cat >conftest.$ac_ext <<_ACEOF
16573 /* confdefs.h. */
16574 _ACEOF
16575 cat confdefs.h >>conftest.$ac_ext
16576 cat >>conftest.$ac_ext <<_ACEOF
16577 /* end confdefs.h. */
16578
16579 int
16580 main ()
16581 {
16582
16583 #ifndef _SGI_COMPILER_VERSION
16584 choke me
16585 #endif
16586
16587 ;
16588 return 0;
16589 }
16590 _ACEOF
16591 rm -f conftest.$ac_objext
16592 if { (ac_try="$ac_compile"
16593 case "(($ac_try" in
16594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16595 *) ac_try_echo=$ac_try;;
16596 esac
16597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16598 (eval "$ac_compile") 2>conftest.er1
16599 ac_status=$?
16600 grep -v '^ *+' conftest.er1 >conftest.err
16601 rm -f conftest.er1
16602 cat conftest.err >&5
16603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16604 (exit $ac_status); } && {
16605 test -z "$ac_c_werror_flag" ||
16606 test ! -s conftest.err
16607 } && test -s conftest.$ac_objext; then
16608 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16609 else
16610 echo "$as_me: failed program was:" >&5
16611 sed 's/^/| /' conftest.$ac_ext >&5
16612
16613 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16614
16615 fi
16616
16617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16618
16619
16620 fi
16621 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16622 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16623 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16624 :; SGICC=yes
16625 else
16626 :;
16627 fi
16628 ac_ext=c
16629 ac_cpp='$CPP $CPPFLAGS'
16630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16633
16634
16635
16636 ;;
16637
16638 Linux*)
16639 if test "$INTELCC" != "yes"; then
16640
16641
16642 ac_ext=c
16643 ac_cpp='$CPP $CPPFLAGS'
16644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16647
16648 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16649 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16650 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16651 echo $ECHO_N "(cached) $ECHO_C" >&6
16652 else
16653 cat >conftest.$ac_ext <<_ACEOF
16654 /* confdefs.h. */
16655 _ACEOF
16656 cat confdefs.h >>conftest.$ac_ext
16657 cat >>conftest.$ac_ext <<_ACEOF
16658 /* end confdefs.h. */
16659
16660 int
16661 main ()
16662 {
16663
16664 #ifndef __SUNPRO_C
16665 choke me
16666 #endif
16667
16668 ;
16669 return 0;
16670 }
16671 _ACEOF
16672 rm -f conftest.$ac_objext
16673 if { (ac_try="$ac_compile"
16674 case "(($ac_try" in
16675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16676 *) ac_try_echo=$ac_try;;
16677 esac
16678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16679 (eval "$ac_compile") 2>conftest.er1
16680 ac_status=$?
16681 grep -v '^ *+' conftest.er1 >conftest.err
16682 rm -f conftest.er1
16683 cat conftest.err >&5
16684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16685 (exit $ac_status); } && {
16686 test -z "$ac_c_werror_flag" ||
16687 test ! -s conftest.err
16688 } && test -s conftest.$ac_objext; then
16689 bakefile_cv_c_compiler___SUNPRO_C=yes
16690 else
16691 echo "$as_me: failed program was:" >&5
16692 sed 's/^/| /' conftest.$ac_ext >&5
16693
16694 bakefile_cv_c_compiler___SUNPRO_C=no
16695
16696 fi
16697
16698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16699
16700
16701 fi
16702 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16703 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16704 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16705 :; SUNCC=yes
16706 else
16707 :;
16708 fi
16709 ac_ext=c
16710 ac_cpp='$CPP $CPPFLAGS'
16711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16714
16715
16716
16717 fi
16718 ;;
16719
16720 HP-UX*)
16721
16722
16723 ac_ext=c
16724 ac_cpp='$CPP $CPPFLAGS'
16725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16728
16729 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16730 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16731 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16732 echo $ECHO_N "(cached) $ECHO_C" >&6
16733 else
16734 cat >conftest.$ac_ext <<_ACEOF
16735 /* confdefs.h. */
16736 _ACEOF
16737 cat confdefs.h >>conftest.$ac_ext
16738 cat >>conftest.$ac_ext <<_ACEOF
16739 /* end confdefs.h. */
16740
16741 int
16742 main ()
16743 {
16744
16745 #ifndef __HP_cc
16746 choke me
16747 #endif
16748
16749 ;
16750 return 0;
16751 }
16752 _ACEOF
16753 rm -f conftest.$ac_objext
16754 if { (ac_try="$ac_compile"
16755 case "(($ac_try" in
16756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16757 *) ac_try_echo=$ac_try;;
16758 esac
16759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16760 (eval "$ac_compile") 2>conftest.er1
16761 ac_status=$?
16762 grep -v '^ *+' conftest.er1 >conftest.err
16763 rm -f conftest.er1
16764 cat conftest.err >&5
16765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16766 (exit $ac_status); } && {
16767 test -z "$ac_c_werror_flag" ||
16768 test ! -s conftest.err
16769 } && test -s conftest.$ac_objext; then
16770 bakefile_cv_c_compiler___HP_cc=yes
16771 else
16772 echo "$as_me: failed program was:" >&5
16773 sed 's/^/| /' conftest.$ac_ext >&5
16774
16775 bakefile_cv_c_compiler___HP_cc=no
16776
16777 fi
16778
16779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16780
16781
16782 fi
16783 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16784 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16785 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16786 :; HPCC=yes
16787 else
16788 :;
16789 fi
16790 ac_ext=c
16791 ac_cpp='$CPP $CPPFLAGS'
16792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16795
16796
16797
16798 ;;
16799
16800 OSF1)
16801
16802
16803 ac_ext=c
16804 ac_cpp='$CPP $CPPFLAGS'
16805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16808
16809 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16810 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16811 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16812 echo $ECHO_N "(cached) $ECHO_C" >&6
16813 else
16814 cat >conftest.$ac_ext <<_ACEOF
16815 /* confdefs.h. */
16816 _ACEOF
16817 cat confdefs.h >>conftest.$ac_ext
16818 cat >>conftest.$ac_ext <<_ACEOF
16819 /* end confdefs.h. */
16820
16821 int
16822 main ()
16823 {
16824
16825 #ifndef __DECC
16826 choke me
16827 #endif
16828
16829 ;
16830 return 0;
16831 }
16832 _ACEOF
16833 rm -f conftest.$ac_objext
16834 if { (ac_try="$ac_compile"
16835 case "(($ac_try" in
16836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16837 *) ac_try_echo=$ac_try;;
16838 esac
16839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16840 (eval "$ac_compile") 2>conftest.er1
16841 ac_status=$?
16842 grep -v '^ *+' conftest.er1 >conftest.err
16843 rm -f conftest.er1
16844 cat conftest.err >&5
16845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16846 (exit $ac_status); } && {
16847 test -z "$ac_c_werror_flag" ||
16848 test ! -s conftest.err
16849 } && test -s conftest.$ac_objext; then
16850 bakefile_cv_c_compiler___DECC=yes
16851 else
16852 echo "$as_me: failed program was:" >&5
16853 sed 's/^/| /' conftest.$ac_ext >&5
16854
16855 bakefile_cv_c_compiler___DECC=no
16856
16857 fi
16858
16859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16860
16861
16862 fi
16863 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16864 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16865 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16866 :; COMPAQCC=yes
16867 else
16868 :;
16869 fi
16870 ac_ext=c
16871 ac_cpp='$CPP $CPPFLAGS'
16872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16875
16876
16877
16878 ;;
16879
16880 SunOS)
16881
16882
16883 ac_ext=c
16884 ac_cpp='$CPP $CPPFLAGS'
16885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16888
16889 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16890 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16891 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16892 echo $ECHO_N "(cached) $ECHO_C" >&6
16893 else
16894 cat >conftest.$ac_ext <<_ACEOF
16895 /* confdefs.h. */
16896 _ACEOF
16897 cat confdefs.h >>conftest.$ac_ext
16898 cat >>conftest.$ac_ext <<_ACEOF
16899 /* end confdefs.h. */
16900
16901 int
16902 main ()
16903 {
16904
16905 #ifndef __SUNPRO_C
16906 choke me
16907 #endif
16908
16909 ;
16910 return 0;
16911 }
16912 _ACEOF
16913 rm -f conftest.$ac_objext
16914 if { (ac_try="$ac_compile"
16915 case "(($ac_try" in
16916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16917 *) ac_try_echo=$ac_try;;
16918 esac
16919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16920 (eval "$ac_compile") 2>conftest.er1
16921 ac_status=$?
16922 grep -v '^ *+' conftest.er1 >conftest.err
16923 rm -f conftest.er1
16924 cat conftest.err >&5
16925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16926 (exit $ac_status); } && {
16927 test -z "$ac_c_werror_flag" ||
16928 test ! -s conftest.err
16929 } && test -s conftest.$ac_objext; then
16930 bakefile_cv_c_compiler___SUNPRO_C=yes
16931 else
16932 echo "$as_me: failed program was:" >&5
16933 sed 's/^/| /' conftest.$ac_ext >&5
16934
16935 bakefile_cv_c_compiler___SUNPRO_C=no
16936
16937 fi
16938
16939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16940
16941
16942 fi
16943 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16944 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16945 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16946 :; SUNCC=yes
16947 else
16948 :;
16949 fi
16950 ac_ext=c
16951 ac_cpp='$CPP $CPPFLAGS'
16952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16955
16956
16957
16958 ;;
16959 esac
16960 fi
16961
16962
16963
16964 ac_ext=c
16965 ac_cpp='$CPP $CPPFLAGS'
16966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16969 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16970 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16971 # On Suns, sometimes $CPP names a directory.
16972 if test -n "$CPP" && test -d "$CPP"; then
16973 CPP=
16974 fi
16975 if test -z "$CPP"; then
16976 if test "${ac_cv_prog_CPP+set}" = set; then
16977 echo $ECHO_N "(cached) $ECHO_C" >&6
16978 else
16979 # Double quotes because CPP needs to be expanded
16980 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16981 do
16982 ac_preproc_ok=false
16983 for ac_c_preproc_warn_flag in '' yes
16984 do
16985 # Use a header file that comes with gcc, so configuring glibc
16986 # with a fresh cross-compiler works.
16987 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16988 # <limits.h> exists even on freestanding compilers.
16989 # On the NeXT, cc -E runs the code through the compiler's parser,
16990 # not just through cpp. "Syntax error" is here to catch this case.
16991 cat >conftest.$ac_ext <<_ACEOF
16992 /* confdefs.h. */
16993 _ACEOF
16994 cat confdefs.h >>conftest.$ac_ext
16995 cat >>conftest.$ac_ext <<_ACEOF
16996 /* end confdefs.h. */
16997 #ifdef __STDC__
16998 # include <limits.h>
16999 #else
17000 # include <assert.h>
17001 #endif
17002 Syntax error
17003 _ACEOF
17004 if { (ac_try="$ac_cpp conftest.$ac_ext"
17005 case "(($ac_try" in
17006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17007 *) ac_try_echo=$ac_try;;
17008 esac
17009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17010 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17011 ac_status=$?
17012 grep -v '^ *+' conftest.er1 >conftest.err
17013 rm -f conftest.er1
17014 cat conftest.err >&5
17015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17016 (exit $ac_status); } >/dev/null && {
17017 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17018 test ! -s conftest.err
17019 }; then
17020 :
17021 else
17022 echo "$as_me: failed program was:" >&5
17023 sed 's/^/| /' conftest.$ac_ext >&5
17024
17025 # Broken: fails on valid input.
17026 continue
17027 fi
17028
17029 rm -f conftest.err conftest.$ac_ext
17030
17031 # OK, works on sane cases. Now check whether nonexistent headers
17032 # can be detected and how.
17033 cat >conftest.$ac_ext <<_ACEOF
17034 /* confdefs.h. */
17035 _ACEOF
17036 cat confdefs.h >>conftest.$ac_ext
17037 cat >>conftest.$ac_ext <<_ACEOF
17038 /* end confdefs.h. */
17039 #include <ac_nonexistent.h>
17040 _ACEOF
17041 if { (ac_try="$ac_cpp conftest.$ac_ext"
17042 case "(($ac_try" in
17043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17044 *) ac_try_echo=$ac_try;;
17045 esac
17046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17047 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17048 ac_status=$?
17049 grep -v '^ *+' conftest.er1 >conftest.err
17050 rm -f conftest.er1
17051 cat conftest.err >&5
17052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17053 (exit $ac_status); } >/dev/null && {
17054 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17055 test ! -s conftest.err
17056 }; then
17057 # Broken: success on invalid input.
17058 continue
17059 else
17060 echo "$as_me: failed program was:" >&5
17061 sed 's/^/| /' conftest.$ac_ext >&5
17062
17063 # Passes both tests.
17064 ac_preproc_ok=:
17065 break
17066 fi
17067
17068 rm -f conftest.err conftest.$ac_ext
17069
17070 done
17071 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17072 rm -f conftest.err conftest.$ac_ext
17073 if $ac_preproc_ok; then
17074 break
17075 fi
17076
17077 done
17078 ac_cv_prog_CPP=$CPP
17079
17080 fi
17081 CPP=$ac_cv_prog_CPP
17082 else
17083 ac_cv_prog_CPP=$CPP
17084 fi
17085 { echo "$as_me:$LINENO: result: $CPP" >&5
17086 echo "${ECHO_T}$CPP" >&6; }
17087 ac_preproc_ok=false
17088 for ac_c_preproc_warn_flag in '' yes
17089 do
17090 # Use a header file that comes with gcc, so configuring glibc
17091 # with a fresh cross-compiler works.
17092 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17093 # <limits.h> exists even on freestanding compilers.
17094 # On the NeXT, cc -E runs the code through the compiler's parser,
17095 # not just through cpp. "Syntax error" is here to catch this case.
17096 cat >conftest.$ac_ext <<_ACEOF
17097 /* confdefs.h. */
17098 _ACEOF
17099 cat confdefs.h >>conftest.$ac_ext
17100 cat >>conftest.$ac_ext <<_ACEOF
17101 /* end confdefs.h. */
17102 #ifdef __STDC__
17103 # include <limits.h>
17104 #else
17105 # include <assert.h>
17106 #endif
17107 Syntax error
17108 _ACEOF
17109 if { (ac_try="$ac_cpp conftest.$ac_ext"
17110 case "(($ac_try" in
17111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17112 *) ac_try_echo=$ac_try;;
17113 esac
17114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17115 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17116 ac_status=$?
17117 grep -v '^ *+' conftest.er1 >conftest.err
17118 rm -f conftest.er1
17119 cat conftest.err >&5
17120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17121 (exit $ac_status); } >/dev/null && {
17122 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17123 test ! -s conftest.err
17124 }; then
17125 :
17126 else
17127 echo "$as_me: failed program was:" >&5
17128 sed 's/^/| /' conftest.$ac_ext >&5
17129
17130 # Broken: fails on valid input.
17131 continue
17132 fi
17133
17134 rm -f conftest.err conftest.$ac_ext
17135
17136 # OK, works on sane cases. Now check whether nonexistent headers
17137 # can be detected and how.
17138 cat >conftest.$ac_ext <<_ACEOF
17139 /* confdefs.h. */
17140 _ACEOF
17141 cat confdefs.h >>conftest.$ac_ext
17142 cat >>conftest.$ac_ext <<_ACEOF
17143 /* end confdefs.h. */
17144 #include <ac_nonexistent.h>
17145 _ACEOF
17146 if { (ac_try="$ac_cpp conftest.$ac_ext"
17147 case "(($ac_try" in
17148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17149 *) ac_try_echo=$ac_try;;
17150 esac
17151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17152 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17153 ac_status=$?
17154 grep -v '^ *+' conftest.er1 >conftest.err
17155 rm -f conftest.er1
17156 cat conftest.err >&5
17157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17158 (exit $ac_status); } >/dev/null && {
17159 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17160 test ! -s conftest.err
17161 }; then
17162 # Broken: success on invalid input.
17163 continue
17164 else
17165 echo "$as_me: failed program was:" >&5
17166 sed 's/^/| /' conftest.$ac_ext >&5
17167
17168 # Passes both tests.
17169 ac_preproc_ok=:
17170 break
17171 fi
17172
17173 rm -f conftest.err conftest.$ac_ext
17174
17175 done
17176 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17177 rm -f conftest.err conftest.$ac_ext
17178 if $ac_preproc_ok; then
17179 :
17180 else
17181 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17182 See \`config.log' for more details." >&5
17183 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17184 See \`config.log' for more details." >&2;}
17185 { (exit 1); exit 1; }; }
17186 fi
17187
17188 ac_ext=c
17189 ac_cpp='$CPP $CPPFLAGS'
17190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17193
17194
17195 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17196 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17197 if test "${ac_cv_path_GREP+set}" = set; then
17198 echo $ECHO_N "(cached) $ECHO_C" >&6
17199 else
17200 # Extract the first word of "grep ggrep" to use in msg output
17201 if test -z "$GREP"; then
17202 set dummy grep ggrep; ac_prog_name=$2
17203 if test "${ac_cv_path_GREP+set}" = set; then
17204 echo $ECHO_N "(cached) $ECHO_C" >&6
17205 else
17206 ac_path_GREP_found=false
17207 # Loop through the user's path and test for each of PROGNAME-LIST
17208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17209 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17210 do
17211 IFS=$as_save_IFS
17212 test -z "$as_dir" && as_dir=.
17213 for ac_prog in grep ggrep; do
17214 for ac_exec_ext in '' $ac_executable_extensions; do
17215 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17216 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17217 # Check for GNU ac_path_GREP and select it if it is found.
17218 # Check for GNU $ac_path_GREP
17219 case `"$ac_path_GREP" --version 2>&1` in
17220 *GNU*)
17221 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17222 *)
17223 ac_count=0
17224 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17225 while :
17226 do
17227 cat "conftest.in" "conftest.in" >"conftest.tmp"
17228 mv "conftest.tmp" "conftest.in"
17229 cp "conftest.in" "conftest.nl"
17230 echo 'GREP' >> "conftest.nl"
17231 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17232 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17233 ac_count=`expr $ac_count + 1`
17234 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17235 # Best one so far, save it but keep looking for a better one
17236 ac_cv_path_GREP="$ac_path_GREP"
17237 ac_path_GREP_max=$ac_count
17238 fi
17239 # 10*(2^10) chars as input seems more than enough
17240 test $ac_count -gt 10 && break
17241 done
17242 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17243 esac
17244
17245
17246 $ac_path_GREP_found && break 3
17247 done
17248 done
17249
17250 done
17251 IFS=$as_save_IFS
17252
17253
17254 fi
17255
17256 GREP="$ac_cv_path_GREP"
17257 if test -z "$GREP"; then
17258 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17259 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17260 { (exit 1); exit 1; }; }
17261 fi
17262
17263 else
17264 ac_cv_path_GREP=$GREP
17265 fi
17266
17267
17268 fi
17269 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17270 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17271 GREP="$ac_cv_path_GREP"
17272
17273
17274 { echo "$as_me:$LINENO: checking for egrep" >&5
17275 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17276 if test "${ac_cv_path_EGREP+set}" = set; then
17277 echo $ECHO_N "(cached) $ECHO_C" >&6
17278 else
17279 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17280 then ac_cv_path_EGREP="$GREP -E"
17281 else
17282 # Extract the first word of "egrep" to use in msg output
17283 if test -z "$EGREP"; then
17284 set dummy egrep; ac_prog_name=$2
17285 if test "${ac_cv_path_EGREP+set}" = set; then
17286 echo $ECHO_N "(cached) $ECHO_C" >&6
17287 else
17288 ac_path_EGREP_found=false
17289 # Loop through the user's path and test for each of PROGNAME-LIST
17290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17291 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17292 do
17293 IFS=$as_save_IFS
17294 test -z "$as_dir" && as_dir=.
17295 for ac_prog in egrep; do
17296 for ac_exec_ext in '' $ac_executable_extensions; do
17297 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17298 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17299 # Check for GNU ac_path_EGREP and select it if it is found.
17300 # Check for GNU $ac_path_EGREP
17301 case `"$ac_path_EGREP" --version 2>&1` in
17302 *GNU*)
17303 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
17304 *)
17305 ac_count=0
17306 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17307 while :
17308 do
17309 cat "conftest.in" "conftest.in" >"conftest.tmp"
17310 mv "conftest.tmp" "conftest.in"
17311 cp "conftest.in" "conftest.nl"
17312 echo 'EGREP' >> "conftest.nl"
17313 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17314 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17315 ac_count=`expr $ac_count + 1`
17316 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17317 # Best one so far, save it but keep looking for a better one
17318 ac_cv_path_EGREP="$ac_path_EGREP"
17319 ac_path_EGREP_max=$ac_count
17320 fi
17321 # 10*(2^10) chars as input seems more than enough
17322 test $ac_count -gt 10 && break
17323 done
17324 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17325 esac
17326
17327
17328 $ac_path_EGREP_found && break 3
17329 done
17330 done
17331
17332 done
17333 IFS=$as_save_IFS
17334
17335
17336 fi
17337
17338 EGREP="$ac_cv_path_EGREP"
17339 if test -z "$EGREP"; then
17340 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17341 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17342 { (exit 1); exit 1; }; }
17343 fi
17344
17345 else
17346 ac_cv_path_EGREP=$EGREP
17347 fi
17348
17349
17350 fi
17351 fi
17352 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17353 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17354 EGREP="$ac_cv_path_EGREP"
17355
17356
17357 if test $ac_cv_c_compiler_gnu = yes; then
17358 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17359 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17360 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17361 echo $ECHO_N "(cached) $ECHO_C" >&6
17362 else
17363 ac_pattern="Autoconf.*'x'"
17364 cat >conftest.$ac_ext <<_ACEOF
17365 /* confdefs.h. */
17366 _ACEOF
17367 cat confdefs.h >>conftest.$ac_ext
17368 cat >>conftest.$ac_ext <<_ACEOF
17369 /* end confdefs.h. */
17370 #include <sgtty.h>
17371 Autoconf TIOCGETP
17372 _ACEOF
17373 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17374 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17375 ac_cv_prog_gcc_traditional=yes
17376 else
17377 ac_cv_prog_gcc_traditional=no
17378 fi
17379 rm -f conftest*
17380
17381
17382 if test $ac_cv_prog_gcc_traditional = no; then
17383 cat >conftest.$ac_ext <<_ACEOF
17384 /* confdefs.h. */
17385 _ACEOF
17386 cat confdefs.h >>conftest.$ac_ext
17387 cat >>conftest.$ac_ext <<_ACEOF
17388 /* end confdefs.h. */
17389 #include <termio.h>
17390 Autoconf TCGETA
17391 _ACEOF
17392 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17393 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17394 ac_cv_prog_gcc_traditional=yes
17395 fi
17396 rm -f conftest*
17397
17398 fi
17399 fi
17400 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17401 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17402 if test $ac_cv_prog_gcc_traditional = yes; then
17403 CC="$CC -traditional"
17404 fi
17405 fi
17406
17407
17408 CXXFLAGS=${CXXFLAGS:=}
17409 ac_ext=cpp
17410 ac_cpp='$CXXCPP $CPPFLAGS'
17411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17414 if test -z "$CXX"; then
17415 if test -n "$CCC"; then
17416 CXX=$CCC
17417 else
17418 if test -n "$ac_tool_prefix"; then
17419 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17420 do
17421 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17422 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17423 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17425 if test "${ac_cv_prog_CXX+set}" = set; then
17426 echo $ECHO_N "(cached) $ECHO_C" >&6
17427 else
17428 if test -n "$CXX"; then
17429 ac_cv_prog_CXX="$CXX" # Let the user override the test.
17430 else
17431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17432 for as_dir in $PATH
17433 do
17434 IFS=$as_save_IFS
17435 test -z "$as_dir" && as_dir=.
17436 for ac_exec_ext in '' $ac_executable_extensions; do
17437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17438 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
17439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17440 break 2
17441 fi
17442 done
17443 done
17444 IFS=$as_save_IFS
17445
17446 fi
17447 fi
17448 CXX=$ac_cv_prog_CXX
17449 if test -n "$CXX"; then
17450 { echo "$as_me:$LINENO: result: $CXX" >&5
17451 echo "${ECHO_T}$CXX" >&6; }
17452 else
17453 { echo "$as_me:$LINENO: result: no" >&5
17454 echo "${ECHO_T}no" >&6; }
17455 fi
17456
17457
17458 test -n "$CXX" && break
17459 done
17460 fi
17461 if test -z "$CXX"; then
17462 ac_ct_CXX=$CXX
17463 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17464 do
17465 # Extract the first word of "$ac_prog", so it can be a program name with args.
17466 set dummy $ac_prog; ac_word=$2
17467 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17469 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17470 echo $ECHO_N "(cached) $ECHO_C" >&6
17471 else
17472 if test -n "$ac_ct_CXX"; then
17473 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17474 else
17475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17476 for as_dir in $PATH
17477 do
17478 IFS=$as_save_IFS
17479 test -z "$as_dir" && as_dir=.
17480 for ac_exec_ext in '' $ac_executable_extensions; do
17481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17482 ac_cv_prog_ac_ct_CXX="$ac_prog"
17483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17484 break 2
17485 fi
17486 done
17487 done
17488 IFS=$as_save_IFS
17489
17490 fi
17491 fi
17492 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17493 if test -n "$ac_ct_CXX"; then
17494 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17495 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17496 else
17497 { echo "$as_me:$LINENO: result: no" >&5
17498 echo "${ECHO_T}no" >&6; }
17499 fi
17500
17501
17502 test -n "$ac_ct_CXX" && break
17503 done
17504
17505 if test "x$ac_ct_CXX" = x; then
17506 CXX="g++"
17507 else
17508 case $cross_compiling:$ac_tool_warned in
17509 yes:)
17510 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17511 whose name does not start with the host triplet. If you think this
17512 configuration is useful to you, please write to autoconf@gnu.org." >&5
17513 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17514 whose name does not start with the host triplet. If you think this
17515 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17516 ac_tool_warned=yes ;;
17517 esac
17518 CXX=$ac_ct_CXX
17519 fi
17520 fi
17521
17522 fi
17523 fi
17524 # Provide some information about the compiler.
17525 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17526 ac_compiler=`set X $ac_compile; echo $2`
17527 { (ac_try="$ac_compiler --version >&5"
17528 case "(($ac_try" in
17529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17530 *) ac_try_echo=$ac_try;;
17531 esac
17532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17533 (eval "$ac_compiler --version >&5") 2>&5
17534 ac_status=$?
17535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17536 (exit $ac_status); }
17537 { (ac_try="$ac_compiler -v >&5"
17538 case "(($ac_try" in
17539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17540 *) ac_try_echo=$ac_try;;
17541 esac
17542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17543 (eval "$ac_compiler -v >&5") 2>&5
17544 ac_status=$?
17545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17546 (exit $ac_status); }
17547 { (ac_try="$ac_compiler -V >&5"
17548 case "(($ac_try" in
17549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17550 *) ac_try_echo=$ac_try;;
17551 esac
17552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17553 (eval "$ac_compiler -V >&5") 2>&5
17554 ac_status=$?
17555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17556 (exit $ac_status); }
17557
17558 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17559 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17560 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17561 echo $ECHO_N "(cached) $ECHO_C" >&6
17562 else
17563 cat >conftest.$ac_ext <<_ACEOF
17564 /* confdefs.h. */
17565 _ACEOF
17566 cat confdefs.h >>conftest.$ac_ext
17567 cat >>conftest.$ac_ext <<_ACEOF
17568 /* end confdefs.h. */
17569
17570 int
17571 main ()
17572 {
17573 #ifndef __GNUC__
17574 choke me
17575 #endif
17576
17577 ;
17578 return 0;
17579 }
17580 _ACEOF
17581 rm -f conftest.$ac_objext
17582 if { (ac_try="$ac_compile"
17583 case "(($ac_try" in
17584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17585 *) ac_try_echo=$ac_try;;
17586 esac
17587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17588 (eval "$ac_compile") 2>conftest.er1
17589 ac_status=$?
17590 grep -v '^ *+' conftest.er1 >conftest.err
17591 rm -f conftest.er1
17592 cat conftest.err >&5
17593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17594 (exit $ac_status); } && {
17595 test -z "$ac_cxx_werror_flag" ||
17596 test ! -s conftest.err
17597 } && test -s conftest.$ac_objext; then
17598 ac_compiler_gnu=yes
17599 else
17600 echo "$as_me: failed program was:" >&5
17601 sed 's/^/| /' conftest.$ac_ext >&5
17602
17603 ac_compiler_gnu=no
17604 fi
17605
17606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17607 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17608
17609 fi
17610 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17611 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17612 GXX=`test $ac_compiler_gnu = yes && echo yes`
17613 ac_test_CXXFLAGS=${CXXFLAGS+set}
17614 ac_save_CXXFLAGS=$CXXFLAGS
17615 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17616 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17617 if test "${ac_cv_prog_cxx_g+set}" = set; then
17618 echo $ECHO_N "(cached) $ECHO_C" >&6
17619 else
17620 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17621 ac_cxx_werror_flag=yes
17622 ac_cv_prog_cxx_g=no
17623 CXXFLAGS="-g"
17624 cat >conftest.$ac_ext <<_ACEOF
17625 /* confdefs.h. */
17626 _ACEOF
17627 cat confdefs.h >>conftest.$ac_ext
17628 cat >>conftest.$ac_ext <<_ACEOF
17629 /* end confdefs.h. */
17630
17631 int
17632 main ()
17633 {
17634
17635 ;
17636 return 0;
17637 }
17638 _ACEOF
17639 rm -f conftest.$ac_objext
17640 if { (ac_try="$ac_compile"
17641 case "(($ac_try" in
17642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17643 *) ac_try_echo=$ac_try;;
17644 esac
17645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17646 (eval "$ac_compile") 2>conftest.er1
17647 ac_status=$?
17648 grep -v '^ *+' conftest.er1 >conftest.err
17649 rm -f conftest.er1
17650 cat conftest.err >&5
17651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17652 (exit $ac_status); } && {
17653 test -z "$ac_cxx_werror_flag" ||
17654 test ! -s conftest.err
17655 } && test -s conftest.$ac_objext; then
17656 ac_cv_prog_cxx_g=yes
17657 else
17658 echo "$as_me: failed program was:" >&5
17659 sed 's/^/| /' conftest.$ac_ext >&5
17660
17661 CXXFLAGS=""
17662 cat >conftest.$ac_ext <<_ACEOF
17663 /* confdefs.h. */
17664 _ACEOF
17665 cat confdefs.h >>conftest.$ac_ext
17666 cat >>conftest.$ac_ext <<_ACEOF
17667 /* end confdefs.h. */
17668
17669 int
17670 main ()
17671 {
17672
17673 ;
17674 return 0;
17675 }
17676 _ACEOF
17677 rm -f conftest.$ac_objext
17678 if { (ac_try="$ac_compile"
17679 case "(($ac_try" in
17680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17681 *) ac_try_echo=$ac_try;;
17682 esac
17683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17684 (eval "$ac_compile") 2>conftest.er1
17685 ac_status=$?
17686 grep -v '^ *+' conftest.er1 >conftest.err
17687 rm -f conftest.er1
17688 cat conftest.err >&5
17689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17690 (exit $ac_status); } && {
17691 test -z "$ac_cxx_werror_flag" ||
17692 test ! -s conftest.err
17693 } && test -s conftest.$ac_objext; then
17694 :
17695 else
17696 echo "$as_me: failed program was:" >&5
17697 sed 's/^/| /' conftest.$ac_ext >&5
17698
17699 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17700 CXXFLAGS="-g"
17701 cat >conftest.$ac_ext <<_ACEOF
17702 /* confdefs.h. */
17703 _ACEOF
17704 cat confdefs.h >>conftest.$ac_ext
17705 cat >>conftest.$ac_ext <<_ACEOF
17706 /* end confdefs.h. */
17707
17708 int
17709 main ()
17710 {
17711
17712 ;
17713 return 0;
17714 }
17715 _ACEOF
17716 rm -f conftest.$ac_objext
17717 if { (ac_try="$ac_compile"
17718 case "(($ac_try" in
17719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17720 *) ac_try_echo=$ac_try;;
17721 esac
17722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17723 (eval "$ac_compile") 2>conftest.er1
17724 ac_status=$?
17725 grep -v '^ *+' conftest.er1 >conftest.err
17726 rm -f conftest.er1
17727 cat conftest.err >&5
17728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17729 (exit $ac_status); } && {
17730 test -z "$ac_cxx_werror_flag" ||
17731 test ! -s conftest.err
17732 } && test -s conftest.$ac_objext; then
17733 ac_cv_prog_cxx_g=yes
17734 else
17735 echo "$as_me: failed program was:" >&5
17736 sed 's/^/| /' conftest.$ac_ext >&5
17737
17738
17739 fi
17740
17741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17742 fi
17743
17744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17745 fi
17746
17747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17748 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17749 fi
17750 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17751 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17752 if test "$ac_test_CXXFLAGS" = set; then
17753 CXXFLAGS=$ac_save_CXXFLAGS
17754 elif test $ac_cv_prog_cxx_g = yes; then
17755 if test "$GXX" = yes; then
17756 CXXFLAGS="-g -O2"
17757 else
17758 CXXFLAGS="-g"
17759 fi
17760 else
17761 if test "$GXX" = yes; then
17762 CXXFLAGS="-O2"
17763 else
17764 CXXFLAGS=
17765 fi
17766 fi
17767 ac_ext=c
17768 ac_cpp='$CPP $CPPFLAGS'
17769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17772
17773
17774
17775
17776
17777
17778
17779
17780 ac_ext=cpp
17781 ac_cpp='$CXXCPP $CPPFLAGS'
17782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17785
17786 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17787 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17788 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17789 echo $ECHO_N "(cached) $ECHO_C" >&6
17790 else
17791 cat >conftest.$ac_ext <<_ACEOF
17792 /* confdefs.h. */
17793 _ACEOF
17794 cat confdefs.h >>conftest.$ac_ext
17795 cat >>conftest.$ac_ext <<_ACEOF
17796 /* end confdefs.h. */
17797
17798 int
17799 main ()
17800 {
17801
17802 #ifndef __INTEL_COMPILER
17803 choke me
17804 #endif
17805
17806 ;
17807 return 0;
17808 }
17809 _ACEOF
17810 rm -f conftest.$ac_objext
17811 if { (ac_try="$ac_compile"
17812 case "(($ac_try" in
17813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17814 *) ac_try_echo=$ac_try;;
17815 esac
17816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17817 (eval "$ac_compile") 2>conftest.er1
17818 ac_status=$?
17819 grep -v '^ *+' conftest.er1 >conftest.err
17820 rm -f conftest.er1
17821 cat conftest.err >&5
17822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17823 (exit $ac_status); } && {
17824 test -z "$ac_cxx_werror_flag" ||
17825 test ! -s conftest.err
17826 } && test -s conftest.$ac_objext; then
17827 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17828 else
17829 echo "$as_me: failed program was:" >&5
17830 sed 's/^/| /' conftest.$ac_ext >&5
17831
17832 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17833
17834 fi
17835
17836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17837
17838
17839 fi
17840 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17841 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17842 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17843 :; INTELCXX=yes
17844 else
17845 :;
17846 fi
17847 ac_ext=c
17848 ac_cpp='$CPP $CPPFLAGS'
17849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17852
17853
17854
17855
17856 if test "$INTELCXX" = "yes"; then
17857
17858
17859 ac_ext=cpp
17860 ac_cpp='$CXXCPP $CPPFLAGS'
17861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17864
17865 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17866 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17867 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17868 echo $ECHO_N "(cached) $ECHO_C" >&6
17869 else
17870 cat >conftest.$ac_ext <<_ACEOF
17871 /* confdefs.h. */
17872 _ACEOF
17873 cat confdefs.h >>conftest.$ac_ext
17874 cat >>conftest.$ac_ext <<_ACEOF
17875 /* end confdefs.h. */
17876
17877 int
17878 main ()
17879 {
17880
17881 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17882 choke me
17883 #endif
17884
17885 ;
17886 return 0;
17887 }
17888 _ACEOF
17889 rm -f conftest.$ac_objext
17890 if { (ac_try="$ac_compile"
17891 case "(($ac_try" in
17892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17893 *) ac_try_echo=$ac_try;;
17894 esac
17895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17896 (eval "$ac_compile") 2>conftest.er1
17897 ac_status=$?
17898 grep -v '^ *+' conftest.er1 >conftest.err
17899 rm -f conftest.er1
17900 cat conftest.err >&5
17901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17902 (exit $ac_status); } && {
17903 test -z "$ac_cxx_werror_flag" ||
17904 test ! -s conftest.err
17905 } && test -s conftest.$ac_objext; then
17906 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17907 else
17908 echo "$as_me: failed program was:" >&5
17909 sed 's/^/| /' conftest.$ac_ext >&5
17910
17911 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17912
17913 fi
17914
17915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17916
17917
17918 fi
17919 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17920 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17921 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17922 :; INTELCXX8=yes
17923 else
17924 :;
17925 fi
17926 ac_ext=c
17927 ac_cpp='$CPP $CPPFLAGS'
17928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17931
17932
17933
17934
17935
17936 ac_ext=cpp
17937 ac_cpp='$CXXCPP $CPPFLAGS'
17938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17941
17942 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17943 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17944 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17945 echo $ECHO_N "(cached) $ECHO_C" >&6
17946 else
17947 cat >conftest.$ac_ext <<_ACEOF
17948 /* confdefs.h. */
17949 _ACEOF
17950 cat confdefs.h >>conftest.$ac_ext
17951 cat >>conftest.$ac_ext <<_ACEOF
17952 /* end confdefs.h. */
17953
17954 int
17955 main ()
17956 {
17957
17958 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17959 choke me
17960 #endif
17961
17962 ;
17963 return 0;
17964 }
17965 _ACEOF
17966 rm -f conftest.$ac_objext
17967 if { (ac_try="$ac_compile"
17968 case "(($ac_try" in
17969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17970 *) ac_try_echo=$ac_try;;
17971 esac
17972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17973 (eval "$ac_compile") 2>conftest.er1
17974 ac_status=$?
17975 grep -v '^ *+' conftest.er1 >conftest.err
17976 rm -f conftest.er1
17977 cat conftest.err >&5
17978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17979 (exit $ac_status); } && {
17980 test -z "$ac_cxx_werror_flag" ||
17981 test ! -s conftest.err
17982 } && test -s conftest.$ac_objext; then
17983 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17984 else
17985 echo "$as_me: failed program was:" >&5
17986 sed 's/^/| /' conftest.$ac_ext >&5
17987
17988 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17989
17990 fi
17991
17992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17993
17994
17995 fi
17996 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17997 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17998 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17999 :; INTELCXX10=yes
18000 else
18001 :;
18002 fi
18003 ac_ext=c
18004 ac_cpp='$CPP $CPPFLAGS'
18005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18008
18009
18010
18011 fi
18012
18013 if test "x$GCXX" != "xyes"; then
18014 if test "xCXX" = "xC"; then
18015 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18016 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
18017 if test "${bakefile_cv_c_exto+set}" = set; then
18018 echo $ECHO_N "(cached) $ECHO_C" >&6
18019 else
18020 cat >conftest.$ac_ext <<_ACEOF
18021 /* confdefs.h. */
18022 _ACEOF
18023 cat confdefs.h >>conftest.$ac_ext
18024 cat >>conftest.$ac_ext <<_ACEOF
18025 /* end confdefs.h. */
18026
18027 int
18028 main ()
18029 {
18030
18031 ;
18032 return 0;
18033 }
18034 _ACEOF
18035 rm -f conftest.$ac_objext conftest.$ac_ext.o
18036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18037 (eval $ac_compile) 2>&5
18038 ac_status=$?
18039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18040 (exit $ac_status); }; then
18041 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18042 case $ac_file in
18043 conftest.$ac_ext.o)
18044 bakefile_cv_c_exto="-ext o"
18045 ;;
18046 *)
18047 ;;
18048 esac
18049 done
18050 else
18051 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18052 See \`config.log' for more details." >&5
18053 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18054 See \`config.log' for more details." >&2;}
18055 { (exit 1); exit 1; }; }
18056
18057 fi
18058
18059 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18060
18061 fi
18062 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18063 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18064 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18065 if test "c" = "c"; then
18066 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18067 fi
18068 if test "c" = "cxx"; then
18069 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18070 fi
18071 fi
18072
18073 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18074 unset ac_cv_prog_cc_g
18075 ac_test_CFLAGS=${CFLAGS+set}
18076 ac_save_CFLAGS=$CFLAGS
18077 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18078 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18079 if test "${ac_cv_prog_cc_g+set}" = set; then
18080 echo $ECHO_N "(cached) $ECHO_C" >&6
18081 else
18082 ac_save_c_werror_flag=$ac_c_werror_flag
18083 ac_c_werror_flag=yes
18084 ac_cv_prog_cc_g=no
18085 CFLAGS="-g"
18086 cat >conftest.$ac_ext <<_ACEOF
18087 /* confdefs.h. */
18088 _ACEOF
18089 cat confdefs.h >>conftest.$ac_ext
18090 cat >>conftest.$ac_ext <<_ACEOF
18091 /* end confdefs.h. */
18092
18093 int
18094 main ()
18095 {
18096
18097 ;
18098 return 0;
18099 }
18100 _ACEOF
18101 rm -f conftest.$ac_objext
18102 if { (ac_try="$ac_compile"
18103 case "(($ac_try" in
18104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18105 *) ac_try_echo=$ac_try;;
18106 esac
18107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18108 (eval "$ac_compile") 2>conftest.er1
18109 ac_status=$?
18110 grep -v '^ *+' conftest.er1 >conftest.err
18111 rm -f conftest.er1
18112 cat conftest.err >&5
18113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18114 (exit $ac_status); } && {
18115 test -z "$ac_c_werror_flag" ||
18116 test ! -s conftest.err
18117 } && test -s conftest.$ac_objext; then
18118 ac_cv_prog_cc_g=yes
18119 else
18120 echo "$as_me: failed program was:" >&5
18121 sed 's/^/| /' conftest.$ac_ext >&5
18122
18123 CFLAGS=""
18124 cat >conftest.$ac_ext <<_ACEOF
18125 /* confdefs.h. */
18126 _ACEOF
18127 cat confdefs.h >>conftest.$ac_ext
18128 cat >>conftest.$ac_ext <<_ACEOF
18129 /* end confdefs.h. */
18130
18131 int
18132 main ()
18133 {
18134
18135 ;
18136 return 0;
18137 }
18138 _ACEOF
18139 rm -f conftest.$ac_objext
18140 if { (ac_try="$ac_compile"
18141 case "(($ac_try" in
18142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18143 *) ac_try_echo=$ac_try;;
18144 esac
18145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18146 (eval "$ac_compile") 2>conftest.er1
18147 ac_status=$?
18148 grep -v '^ *+' conftest.er1 >conftest.err
18149 rm -f conftest.er1
18150 cat conftest.err >&5
18151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18152 (exit $ac_status); } && {
18153 test -z "$ac_c_werror_flag" ||
18154 test ! -s conftest.err
18155 } && test -s conftest.$ac_objext; then
18156 :
18157 else
18158 echo "$as_me: failed program was:" >&5
18159 sed 's/^/| /' conftest.$ac_ext >&5
18160
18161 ac_c_werror_flag=$ac_save_c_werror_flag
18162 CFLAGS="-g"
18163 cat >conftest.$ac_ext <<_ACEOF
18164 /* confdefs.h. */
18165 _ACEOF
18166 cat confdefs.h >>conftest.$ac_ext
18167 cat >>conftest.$ac_ext <<_ACEOF
18168 /* end confdefs.h. */
18169
18170 int
18171 main ()
18172 {
18173
18174 ;
18175 return 0;
18176 }
18177 _ACEOF
18178 rm -f conftest.$ac_objext
18179 if { (ac_try="$ac_compile"
18180 case "(($ac_try" in
18181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18182 *) ac_try_echo=$ac_try;;
18183 esac
18184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18185 (eval "$ac_compile") 2>conftest.er1
18186 ac_status=$?
18187 grep -v '^ *+' conftest.er1 >conftest.err
18188 rm -f conftest.er1
18189 cat conftest.err >&5
18190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18191 (exit $ac_status); } && {
18192 test -z "$ac_c_werror_flag" ||
18193 test ! -s conftest.err
18194 } && test -s conftest.$ac_objext; then
18195 ac_cv_prog_cc_g=yes
18196 else
18197 echo "$as_me: failed program was:" >&5
18198 sed 's/^/| /' conftest.$ac_ext >&5
18199
18200
18201 fi
18202
18203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18204 fi
18205
18206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18207 fi
18208
18209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18210 ac_c_werror_flag=$ac_save_c_werror_flag
18211 fi
18212 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18213 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18214 if test "$ac_test_CFLAGS" = set; then
18215 CFLAGS=$ac_save_CFLAGS
18216 elif test $ac_cv_prog_cc_g = yes; then
18217 if test "$GCC" = yes; then
18218 CFLAGS="-g -O2"
18219 else
18220 CFLAGS="-g"
18221 fi
18222 else
18223 if test "$GCC" = yes; then
18224 CFLAGS="-O2"
18225 else
18226 CFLAGS=
18227 fi
18228 fi
18229 fi
18230 fi
18231
18232 case `uname -s` in
18233 AIX*)
18234
18235
18236 ac_ext=cpp
18237 ac_cpp='$CXXCPP $CPPFLAGS'
18238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18241
18242 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18243 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18244 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18245 echo $ECHO_N "(cached) $ECHO_C" >&6
18246 else
18247 cat >conftest.$ac_ext <<_ACEOF
18248 /* confdefs.h. */
18249 _ACEOF
18250 cat confdefs.h >>conftest.$ac_ext
18251 cat >>conftest.$ac_ext <<_ACEOF
18252 /* end confdefs.h. */
18253
18254 int
18255 main ()
18256 {
18257
18258 #ifndef __xlC__
18259 choke me
18260 #endif
18261
18262 ;
18263 return 0;
18264 }
18265 _ACEOF
18266 rm -f conftest.$ac_objext
18267 if { (ac_try="$ac_compile"
18268 case "(($ac_try" in
18269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18270 *) ac_try_echo=$ac_try;;
18271 esac
18272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18273 (eval "$ac_compile") 2>conftest.er1
18274 ac_status=$?
18275 grep -v '^ *+' conftest.er1 >conftest.err
18276 rm -f conftest.er1
18277 cat conftest.err >&5
18278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18279 (exit $ac_status); } && {
18280 test -z "$ac_cxx_werror_flag" ||
18281 test ! -s conftest.err
18282 } && test -s conftest.$ac_objext; then
18283 bakefile_cv_cxx_compiler___xlC__=yes
18284 else
18285 echo "$as_me: failed program was:" >&5
18286 sed 's/^/| /' conftest.$ac_ext >&5
18287
18288 bakefile_cv_cxx_compiler___xlC__=no
18289
18290 fi
18291
18292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18293
18294
18295 fi
18296 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18297 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18298 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18299 :; XLCXX=yes
18300 else
18301 :;
18302 fi
18303 ac_ext=c
18304 ac_cpp='$CPP $CPPFLAGS'
18305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18308
18309
18310
18311 ;;
18312
18313 Darwin)
18314
18315
18316 ac_ext=cpp
18317 ac_cpp='$CXXCPP $CPPFLAGS'
18318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18321
18322 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18323 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18324 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18325 echo $ECHO_N "(cached) $ECHO_C" >&6
18326 else
18327 cat >conftest.$ac_ext <<_ACEOF
18328 /* confdefs.h. */
18329 _ACEOF
18330 cat confdefs.h >>conftest.$ac_ext
18331 cat >>conftest.$ac_ext <<_ACEOF
18332 /* end confdefs.h. */
18333
18334 int
18335 main ()
18336 {
18337
18338 #ifndef __MWERKS__
18339 choke me
18340 #endif
18341
18342 ;
18343 return 0;
18344 }
18345 _ACEOF
18346 rm -f conftest.$ac_objext
18347 if { (ac_try="$ac_compile"
18348 case "(($ac_try" in
18349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18350 *) ac_try_echo=$ac_try;;
18351 esac
18352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18353 (eval "$ac_compile") 2>conftest.er1
18354 ac_status=$?
18355 grep -v '^ *+' conftest.er1 >conftest.err
18356 rm -f conftest.er1
18357 cat conftest.err >&5
18358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18359 (exit $ac_status); } && {
18360 test -z "$ac_cxx_werror_flag" ||
18361 test ! -s conftest.err
18362 } && test -s conftest.$ac_objext; then
18363 bakefile_cv_cxx_compiler___MWERKS__=yes
18364 else
18365 echo "$as_me: failed program was:" >&5
18366 sed 's/^/| /' conftest.$ac_ext >&5
18367
18368 bakefile_cv_cxx_compiler___MWERKS__=no
18369
18370 fi
18371
18372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18373
18374
18375 fi
18376 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18377 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18378 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18379 :; MWCXX=yes
18380 else
18381 :;
18382 fi
18383 ac_ext=c
18384 ac_cpp='$CPP $CPPFLAGS'
18385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18388
18389
18390
18391 if test "$MWCXX" != "yes"; then
18392
18393
18394 ac_ext=cpp
18395 ac_cpp='$CXXCPP $CPPFLAGS'
18396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18399
18400 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18401 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18402 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18403 echo $ECHO_N "(cached) $ECHO_C" >&6
18404 else
18405 cat >conftest.$ac_ext <<_ACEOF
18406 /* confdefs.h. */
18407 _ACEOF
18408 cat confdefs.h >>conftest.$ac_ext
18409 cat >>conftest.$ac_ext <<_ACEOF
18410 /* end confdefs.h. */
18411
18412 int
18413 main ()
18414 {
18415
18416 #ifndef __xlC__
18417 choke me
18418 #endif
18419
18420 ;
18421 return 0;
18422 }
18423 _ACEOF
18424 rm -f conftest.$ac_objext
18425 if { (ac_try="$ac_compile"
18426 case "(($ac_try" in
18427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18428 *) ac_try_echo=$ac_try;;
18429 esac
18430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18431 (eval "$ac_compile") 2>conftest.er1
18432 ac_status=$?
18433 grep -v '^ *+' conftest.er1 >conftest.err
18434 rm -f conftest.er1
18435 cat conftest.err >&5
18436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18437 (exit $ac_status); } && {
18438 test -z "$ac_cxx_werror_flag" ||
18439 test ! -s conftest.err
18440 } && test -s conftest.$ac_objext; then
18441 bakefile_cv_cxx_compiler___xlC__=yes
18442 else
18443 echo "$as_me: failed program was:" >&5
18444 sed 's/^/| /' conftest.$ac_ext >&5
18445
18446 bakefile_cv_cxx_compiler___xlC__=no
18447
18448 fi
18449
18450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18451
18452
18453 fi
18454 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18455 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18456 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18457 :; XLCXX=yes
18458 else
18459 :;
18460 fi
18461 ac_ext=c
18462 ac_cpp='$CPP $CPPFLAGS'
18463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18466
18467
18468
18469 fi
18470 ;;
18471
18472 IRIX*)
18473
18474
18475 ac_ext=cpp
18476 ac_cpp='$CXXCPP $CPPFLAGS'
18477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18480
18481 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18482 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18483 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18484 echo $ECHO_N "(cached) $ECHO_C" >&6
18485 else
18486 cat >conftest.$ac_ext <<_ACEOF
18487 /* confdefs.h. */
18488 _ACEOF
18489 cat confdefs.h >>conftest.$ac_ext
18490 cat >>conftest.$ac_ext <<_ACEOF
18491 /* end confdefs.h. */
18492
18493 int
18494 main ()
18495 {
18496
18497 #ifndef _SGI_COMPILER_VERSION
18498 choke me
18499 #endif
18500
18501 ;
18502 return 0;
18503 }
18504 _ACEOF
18505 rm -f conftest.$ac_objext
18506 if { (ac_try="$ac_compile"
18507 case "(($ac_try" in
18508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18509 *) ac_try_echo=$ac_try;;
18510 esac
18511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18512 (eval "$ac_compile") 2>conftest.er1
18513 ac_status=$?
18514 grep -v '^ *+' conftest.er1 >conftest.err
18515 rm -f conftest.er1
18516 cat conftest.err >&5
18517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18518 (exit $ac_status); } && {
18519 test -z "$ac_cxx_werror_flag" ||
18520 test ! -s conftest.err
18521 } && test -s conftest.$ac_objext; then
18522 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18523 else
18524 echo "$as_me: failed program was:" >&5
18525 sed 's/^/| /' conftest.$ac_ext >&5
18526
18527 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18528
18529 fi
18530
18531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18532
18533
18534 fi
18535 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18536 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18537 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18538 :; SGICXX=yes
18539 else
18540 :;
18541 fi
18542 ac_ext=c
18543 ac_cpp='$CPP $CPPFLAGS'
18544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18547
18548
18549
18550 ;;
18551
18552 Linux*)
18553 if test "$INTELCXX" != "yes"; then
18554
18555
18556 ac_ext=cpp
18557 ac_cpp='$CXXCPP $CPPFLAGS'
18558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18561
18562 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18563 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18564 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18565 echo $ECHO_N "(cached) $ECHO_C" >&6
18566 else
18567 cat >conftest.$ac_ext <<_ACEOF
18568 /* confdefs.h. */
18569 _ACEOF
18570 cat confdefs.h >>conftest.$ac_ext
18571 cat >>conftest.$ac_ext <<_ACEOF
18572 /* end confdefs.h. */
18573
18574 int
18575 main ()
18576 {
18577
18578 #ifndef __SUNPRO_CC
18579 choke me
18580 #endif
18581
18582 ;
18583 return 0;
18584 }
18585 _ACEOF
18586 rm -f conftest.$ac_objext
18587 if { (ac_try="$ac_compile"
18588 case "(($ac_try" in
18589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18590 *) ac_try_echo=$ac_try;;
18591 esac
18592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18593 (eval "$ac_compile") 2>conftest.er1
18594 ac_status=$?
18595 grep -v '^ *+' conftest.er1 >conftest.err
18596 rm -f conftest.er1
18597 cat conftest.err >&5
18598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18599 (exit $ac_status); } && {
18600 test -z "$ac_cxx_werror_flag" ||
18601 test ! -s conftest.err
18602 } && test -s conftest.$ac_objext; then
18603 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18604 else
18605 echo "$as_me: failed program was:" >&5
18606 sed 's/^/| /' conftest.$ac_ext >&5
18607
18608 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18609
18610 fi
18611
18612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18613
18614
18615 fi
18616 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18617 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18618 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18619 :; SUNCXX=yes
18620 else
18621 :;
18622 fi
18623 ac_ext=c
18624 ac_cpp='$CPP $CPPFLAGS'
18625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18628
18629
18630
18631 fi
18632 ;;
18633
18634 HP-UX*)
18635
18636
18637 ac_ext=cpp
18638 ac_cpp='$CXXCPP $CPPFLAGS'
18639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18642
18643 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18644 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18645 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18646 echo $ECHO_N "(cached) $ECHO_C" >&6
18647 else
18648 cat >conftest.$ac_ext <<_ACEOF
18649 /* confdefs.h. */
18650 _ACEOF
18651 cat confdefs.h >>conftest.$ac_ext
18652 cat >>conftest.$ac_ext <<_ACEOF
18653 /* end confdefs.h. */
18654
18655 int
18656 main ()
18657 {
18658
18659 #ifndef __HP_aCC
18660 choke me
18661 #endif
18662
18663 ;
18664 return 0;
18665 }
18666 _ACEOF
18667 rm -f conftest.$ac_objext
18668 if { (ac_try="$ac_compile"
18669 case "(($ac_try" in
18670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18671 *) ac_try_echo=$ac_try;;
18672 esac
18673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18674 (eval "$ac_compile") 2>conftest.er1
18675 ac_status=$?
18676 grep -v '^ *+' conftest.er1 >conftest.err
18677 rm -f conftest.er1
18678 cat conftest.err >&5
18679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18680 (exit $ac_status); } && {
18681 test -z "$ac_cxx_werror_flag" ||
18682 test ! -s conftest.err
18683 } && test -s conftest.$ac_objext; then
18684 bakefile_cv_cxx_compiler___HP_aCC=yes
18685 else
18686 echo "$as_me: failed program was:" >&5
18687 sed 's/^/| /' conftest.$ac_ext >&5
18688
18689 bakefile_cv_cxx_compiler___HP_aCC=no
18690
18691 fi
18692
18693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18694
18695
18696 fi
18697 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18698 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18699 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18700 :; HPCXX=yes
18701 else
18702 :;
18703 fi
18704 ac_ext=c
18705 ac_cpp='$CPP $CPPFLAGS'
18706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18709
18710
18711
18712 ;;
18713
18714 OSF1)
18715
18716
18717 ac_ext=cpp
18718 ac_cpp='$CXXCPP $CPPFLAGS'
18719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18722
18723 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18724 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18725 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18726 echo $ECHO_N "(cached) $ECHO_C" >&6
18727 else
18728 cat >conftest.$ac_ext <<_ACEOF
18729 /* confdefs.h. */
18730 _ACEOF
18731 cat confdefs.h >>conftest.$ac_ext
18732 cat >>conftest.$ac_ext <<_ACEOF
18733 /* end confdefs.h. */
18734
18735 int
18736 main ()
18737 {
18738
18739 #ifndef __DECCXX
18740 choke me
18741 #endif
18742
18743 ;
18744 return 0;
18745 }
18746 _ACEOF
18747 rm -f conftest.$ac_objext
18748 if { (ac_try="$ac_compile"
18749 case "(($ac_try" in
18750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18751 *) ac_try_echo=$ac_try;;
18752 esac
18753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18754 (eval "$ac_compile") 2>conftest.er1
18755 ac_status=$?
18756 grep -v '^ *+' conftest.er1 >conftest.err
18757 rm -f conftest.er1
18758 cat conftest.err >&5
18759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18760 (exit $ac_status); } && {
18761 test -z "$ac_cxx_werror_flag" ||
18762 test ! -s conftest.err
18763 } && test -s conftest.$ac_objext; then
18764 bakefile_cv_cxx_compiler___DECCXX=yes
18765 else
18766 echo "$as_me: failed program was:" >&5
18767 sed 's/^/| /' conftest.$ac_ext >&5
18768
18769 bakefile_cv_cxx_compiler___DECCXX=no
18770
18771 fi
18772
18773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18774
18775
18776 fi
18777 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18778 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18779 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18780 :; COMPAQCXX=yes
18781 else
18782 :;
18783 fi
18784 ac_ext=c
18785 ac_cpp='$CPP $CPPFLAGS'
18786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18789
18790
18791
18792 ;;
18793
18794 SunOS)
18795
18796
18797 ac_ext=cpp
18798 ac_cpp='$CXXCPP $CPPFLAGS'
18799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18802
18803 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18804 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18805 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18806 echo $ECHO_N "(cached) $ECHO_C" >&6
18807 else
18808 cat >conftest.$ac_ext <<_ACEOF
18809 /* confdefs.h. */
18810 _ACEOF
18811 cat confdefs.h >>conftest.$ac_ext
18812 cat >>conftest.$ac_ext <<_ACEOF
18813 /* end confdefs.h. */
18814
18815 int
18816 main ()
18817 {
18818
18819 #ifndef __SUNPRO_CC
18820 choke me
18821 #endif
18822
18823 ;
18824 return 0;
18825 }
18826 _ACEOF
18827 rm -f conftest.$ac_objext
18828 if { (ac_try="$ac_compile"
18829 case "(($ac_try" in
18830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18831 *) ac_try_echo=$ac_try;;
18832 esac
18833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18834 (eval "$ac_compile") 2>conftest.er1
18835 ac_status=$?
18836 grep -v '^ *+' conftest.er1 >conftest.err
18837 rm -f conftest.er1
18838 cat conftest.err >&5
18839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18840 (exit $ac_status); } && {
18841 test -z "$ac_cxx_werror_flag" ||
18842 test ! -s conftest.err
18843 } && test -s conftest.$ac_objext; then
18844 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18845 else
18846 echo "$as_me: failed program was:" >&5
18847 sed 's/^/| /' conftest.$ac_ext >&5
18848
18849 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18850
18851 fi
18852
18853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18854
18855
18856 fi
18857 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18858 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18859 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18860 :; SUNCXX=yes
18861 else
18862 :;
18863 fi
18864 ac_ext=c
18865 ac_cpp='$CPP $CPPFLAGS'
18866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18869
18870
18871
18872 ;;
18873 esac
18874 fi
18875
18876
18877
18878 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18879 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18880 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18881 { (exit 1); exit 1; }; }
18882 fi
18883
18884 if test "x$SUNCXX" != xyes; then
18885 if test -n "$ac_tool_prefix"; then
18886 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18887 set dummy ${ac_tool_prefix}ar; ac_word=$2
18888 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18890 if test "${ac_cv_prog_AR+set}" = set; then
18891 echo $ECHO_N "(cached) $ECHO_C" >&6
18892 else
18893 if test -n "$AR"; then
18894 ac_cv_prog_AR="$AR" # Let the user override the test.
18895 else
18896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18897 for as_dir in $PATH
18898 do
18899 IFS=$as_save_IFS
18900 test -z "$as_dir" && as_dir=.
18901 for ac_exec_ext in '' $ac_executable_extensions; do
18902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18903 ac_cv_prog_AR="${ac_tool_prefix}ar"
18904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18905 break 2
18906 fi
18907 done
18908 done
18909 IFS=$as_save_IFS
18910
18911 fi
18912 fi
18913 AR=$ac_cv_prog_AR
18914 if test -n "$AR"; then
18915 { echo "$as_me:$LINENO: result: $AR" >&5
18916 echo "${ECHO_T}$AR" >&6; }
18917 else
18918 { echo "$as_me:$LINENO: result: no" >&5
18919 echo "${ECHO_T}no" >&6; }
18920 fi
18921
18922
18923 fi
18924 if test -z "$ac_cv_prog_AR"; then
18925 ac_ct_AR=$AR
18926 # Extract the first word of "ar", so it can be a program name with args.
18927 set dummy ar; ac_word=$2
18928 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18930 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18931 echo $ECHO_N "(cached) $ECHO_C" >&6
18932 else
18933 if test -n "$ac_ct_AR"; then
18934 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18935 else
18936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18937 for as_dir in $PATH
18938 do
18939 IFS=$as_save_IFS
18940 test -z "$as_dir" && as_dir=.
18941 for ac_exec_ext in '' $ac_executable_extensions; do
18942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18943 ac_cv_prog_ac_ct_AR="ar"
18944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18945 break 2
18946 fi
18947 done
18948 done
18949 IFS=$as_save_IFS
18950
18951 fi
18952 fi
18953 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18954 if test -n "$ac_ct_AR"; then
18955 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18956 echo "${ECHO_T}$ac_ct_AR" >&6; }
18957 else
18958 { echo "$as_me:$LINENO: result: no" >&5
18959 echo "${ECHO_T}no" >&6; }
18960 fi
18961
18962 if test "x$ac_ct_AR" = x; then
18963 AR=""
18964 else
18965 case $cross_compiling:$ac_tool_warned in
18966 yes:)
18967 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18968 whose name does not start with the host triplet. If you think this
18969 configuration is useful to you, please write to autoconf@gnu.org." >&5
18970 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18971 whose name does not start with the host triplet. If you think this
18972 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18973 ac_tool_warned=yes ;;
18974 esac
18975 AR=$ac_ct_AR
18976 fi
18977 else
18978 AR="$ac_cv_prog_AR"
18979 fi
18980
18981 if test "x$AR" = "x" ; then
18982 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18983 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18984 { (exit 1); exit 1; }; }
18985 fi
18986 fi
18987
18988
18989 if test "$wxUSE_MAC" = 1; then
18990
18991 retest_macosx_linking=no
18992
18993 OSX_ARCH_OPTS=""
18994 if test "x$wxUSE_MAC_ARCH" != xno; then
18995 OSX_ARCH_OPTS="-arch $wxUSE_MAC_ARCH"
18996 fi
18997
18998 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18999 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
19000 # Implicitly turn on the new --with-macosx-sdk using the default
19001 # SDK which provides the behaviour this option has always had.
19002 if test "x$wxUSE_MACOSX_SDK" = "x"; then
19003 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
19004 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
19005 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
19006 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
19007 wxUSE_MACOSX_SDK=yes
19008 fi
19009 else
19010 # Complain to user if he specified an argument to --enable-universal_binary
19011 # and also 1) specified --with-macosx-sdk using the default (yes) or
19012 # 2) specified --with-macosx-sdk using a path or 3) specified
19013 # --without-macosx-sdk (no).
19014 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
19015 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
19016 See \`config.log' for more details." >&5
19017 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
19018 See \`config.log' for more details." >&2;}
19019 { (exit 1); exit 1; }; }
19020 else
19021 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
19022 # special-case the empty string because the below test simply
19023 # converts "no" to the empty string anyway.
19024 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
19025 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
19026 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
19027 fi
19028 fi
19029 OSX_ARCH_OPTS="-arch ppc -arch i386"
19030 if test "$wxUSE_OSX_COCOA" = 1; then
19031 OSX_ARCH_OPTS="$OSX_ARCH_OPTS -arch x86_64"
19032 fi
19033 { echo "$as_me:$LINENO: checking for universal binary architectures" >&5
19034 echo $ECHO_N "checking for universal binary architectures... $ECHO_C" >&6; }
19035 { echo "$as_me:$LINENO: result: $OSX_ARCH_OPTS" >&5
19036 echo "${ECHO_T}$OSX_ARCH_OPTS" >&6; }
19037
19038 retest_macosx_linking=yes
19039
19040 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
19041 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19042 bk_use_pch=no
19043 fi
19044
19045 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19046 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19047 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19048 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19049 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19050
19051 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19052 wxUSE_MACOSX_SDK=
19053 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19054 # TODO: Search for most recent SDK and use it.
19055 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19056 fi
19057
19058
19059 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19060 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19061 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
19062 if ! test -d "$wxUSE_MACOSX_SDK"; then
19063 { { echo "$as_me:$LINENO: error: not found
19064 See \`config.log' for more details." >&5
19065 echo "$as_me: error: not found
19066 See \`config.log' for more details." >&2;}
19067 { (exit 1); exit 1; }; }
19068 else
19069 { echo "$as_me:$LINENO: result: exists" >&5
19070 echo "${ECHO_T}exists" >&6; }
19071 fi
19072 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19073 retest_macosx_linking=yes
19074 fi
19075
19076 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19077 wxUSE_MACOSX_VERSION_MIN=
19078 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19079 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19080 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
19081 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
19082
19083 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/'`
19084
19085 # If that failed, try again with the new key
19086 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19087
19088 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/'`
19089
19090 fi
19091
19092 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19093 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19094 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19095 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
19096 else
19097 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19098 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19099 wxUSE_MACOSX_VERSION_MIN=
19100 fi
19101 else
19102 wxUSE_MACOSX_VERSION_MIN=
19103 fi
19104 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19105 for ac_prog in sw_vers
19106 do
19107 # Extract the first word of "$ac_prog", so it can be a program name with args.
19108 set dummy $ac_prog; ac_word=$2
19109 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19111 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
19112 echo $ECHO_N "(cached) $ECHO_C" >&6
19113 else
19114 if test -n "$OSX_SW_VERS"; then
19115 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
19116 else
19117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19118 for as_dir in $PATH
19119 do
19120 IFS=$as_save_IFS
19121 test -z "$as_dir" && as_dir=.
19122 for ac_exec_ext in '' $ac_executable_extensions; do
19123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19124 ac_cv_prog_OSX_SW_VERS="$ac_prog"
19125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19126 break 2
19127 fi
19128 done
19129 done
19130 IFS=$as_save_IFS
19131
19132 fi
19133 fi
19134 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
19135 if test -n "$OSX_SW_VERS"; then
19136 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
19137 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
19138 else
19139 { echo "$as_me:$LINENO: result: no" >&5
19140 echo "${ECHO_T}no" >&6; }
19141 fi
19142
19143
19144 test -n "$OSX_SW_VERS" && break
19145 done
19146
19147 if test "$OSX_SW_VERS" != ""; then
19148 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
19149 else
19150 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
19151 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
19152 OSX_VERSION="10.4"
19153 fi
19154
19155 case "$OSX_VERSION" in
19156 10.4* )
19157 wxUSE_MACOSX_VERSION_MIN=10.4
19158 ;;
19159
19160 * )
19161 if test "$wxUSE_OSX_CARBON" = 1; then
19162 # otherwise configure stops on leopard for universal_binary
19163 wxUSE_MACOSX_VERSION_MIN=10.4
19164 else
19165 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
19166 wxUSE_MACOSX_VERSION_MIN=10.5
19167 fi
19168 ;;
19169 esac
19170 fi
19171
19172 NEEDS_GCC40="no"
19173 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
19174 NEEDS_GCC40="yes"
19175 fi
19176
19177 if test "$wxUSE_OSX_CARBON" = 1; then
19178 NEEDS_GCC40="yes"
19179 fi
19180
19181 if test "x$NEEDS_GCC40" == "xyes"; then
19182 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
19183 # and wants 10.4 compatible code, then 'downgrade' to 4.0
19184 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
19185 if test "x$CC" = "xgcc"; then
19186 CCVERSION=`$CC --version | grep 4.[2-9].`
19187 if test "x$CCVERSION" != "x"; then
19188 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
19189 CC="gcc-4.0"
19190 fi
19191 fi
19192
19193 if test "x$CXX" = "xg++"; then
19194 CCVERSION=`$CXX --version | grep 4.[2-9].`
19195 if test "x$CCVERSION" != "x"; then
19196 CXX="g++-4.0"
19197 fi
19198 fi
19199 fi
19200
19201 if test "x$MACOSX_SDK_OPTS" != "x"; then
19202 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19203 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19204 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19205 fi
19206
19207 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19208 if test "$wxUSE_OSX_IPHONE" = 1; then
19209 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19210 else
19211 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19212 fi
19213 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19214 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19215 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19216 retest_macosx_linking=yes
19217 fi
19218
19219 if test "x$retest_macosx_linking" = "xyes"; then
19220 ac_ext=c
19221 ac_cpp='$CPP $CPPFLAGS'
19222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19225
19226 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
19227 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
19228 cat >conftest.$ac_ext <<_ACEOF
19229 /* confdefs.h. */
19230 _ACEOF
19231 cat confdefs.h >>conftest.$ac_ext
19232 cat >>conftest.$ac_ext <<_ACEOF
19233 /* end confdefs.h. */
19234
19235 int
19236 main ()
19237 {
19238
19239 ;
19240 return 0;
19241 }
19242 _ACEOF
19243 rm -f conftest.$ac_objext conftest$ac_exeext
19244 if { (ac_try="$ac_link"
19245 case "(($ac_try" in
19246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19247 *) ac_try_echo=$ac_try;;
19248 esac
19249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19250 (eval "$ac_link") 2>conftest.er1
19251 ac_status=$?
19252 grep -v '^ *+' conftest.er1 >conftest.err
19253 rm -f conftest.er1
19254 cat conftest.err >&5
19255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19256 (exit $ac_status); } && {
19257 test -z "$ac_c_werror_flag" ||
19258 test ! -s conftest.err
19259 } && test -s conftest$ac_exeext &&
19260 $as_test_x conftest$ac_exeext; then
19261 { echo "$as_me:$LINENO: result: yes" >&5
19262 echo "${ECHO_T}yes" >&6; }
19263 else
19264 echo "$as_me: failed program was:" >&5
19265 sed 's/^/| /' conftest.$ac_ext >&5
19266
19267 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19268 See \`config.log' for more details." >&5
19269 echo "$as_me: error: no. Try a different SDK
19270 See \`config.log' for more details." >&2;}
19271 { (exit 1); exit 1; }; }; exit 1
19272 fi
19273
19274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19275 conftest$ac_exeext conftest.$ac_ext
19276 ac_ext=c
19277 ac_cpp='$CPP $CPPFLAGS'
19278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19281
19282
19283 ac_ext=cpp
19284 ac_cpp='$CXXCPP $CPPFLAGS'
19285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19288
19289 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
19290 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
19291 cat >conftest.$ac_ext <<_ACEOF
19292 /* confdefs.h. */
19293 _ACEOF
19294 cat confdefs.h >>conftest.$ac_ext
19295 cat >>conftest.$ac_ext <<_ACEOF
19296 /* end confdefs.h. */
19297
19298 int
19299 main ()
19300 {
19301
19302 ;
19303 return 0;
19304 }
19305 _ACEOF
19306 rm -f conftest.$ac_objext conftest$ac_exeext
19307 if { (ac_try="$ac_link"
19308 case "(($ac_try" in
19309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19310 *) ac_try_echo=$ac_try;;
19311 esac
19312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19313 (eval "$ac_link") 2>conftest.er1
19314 ac_status=$?
19315 grep -v '^ *+' conftest.er1 >conftest.err
19316 rm -f conftest.er1
19317 cat conftest.err >&5
19318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19319 (exit $ac_status); } && {
19320 test -z "$ac_cxx_werror_flag" ||
19321 test ! -s conftest.err
19322 } && test -s conftest$ac_exeext &&
19323 $as_test_x conftest$ac_exeext; then
19324 { echo "$as_me:$LINENO: result: yes" >&5
19325 echo "${ECHO_T}yes" >&6; }
19326 else
19327 echo "$as_me: failed program was:" >&5
19328 sed 's/^/| /' conftest.$ac_ext >&5
19329
19330 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19331 See \`config.log' for more details." >&5
19332 echo "$as_me: error: no. Try a different SDK
19333 See \`config.log' for more details." >&2;}
19334 { (exit 1); exit 1; }; }; exit 1
19335 fi
19336
19337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19338 conftest$ac_exeext conftest.$ac_ext
19339 ac_ext=c
19340 ac_cpp='$CPP $CPPFLAGS'
19341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19344
19345 fi
19346
19347 fi
19348 case "${host}" in
19349
19350 *-*-darwin* )
19351 INSTALL_PROGRAM="cp -fp"
19352 INSTALL_DATA="cp -fp"
19353 ;;
19354 *)
19355 ;;
19356 esac
19357
19358
19359 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
19360 CXXFLAGS="-qunique $CXXFLAGS"
19361 fi
19362
19363 case "${host}" in
19364 powerpc-*-darwin* )
19365 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
19366 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
19367 cat >conftest.$ac_ext <<_ACEOF
19368 /* confdefs.h. */
19369 _ACEOF
19370 cat confdefs.h >>conftest.$ac_ext
19371 cat >>conftest.$ac_ext <<_ACEOF
19372 /* end confdefs.h. */
19373
19374 int
19375 main ()
19376 {
19377 #ifndef __POWERPC__
19378 choke me for lack of PowerPC
19379 #endif
19380
19381 ;
19382 return 0;
19383 }
19384 _ACEOF
19385 rm -f conftest.$ac_objext
19386 if { (ac_try="$ac_compile"
19387 case "(($ac_try" in
19388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19389 *) ac_try_echo=$ac_try;;
19390 esac
19391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19392 (eval "$ac_compile") 2>conftest.er1
19393 ac_status=$?
19394 grep -v '^ *+' conftest.er1 >conftest.err
19395 rm -f conftest.er1
19396 cat conftest.err >&5
19397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19398 (exit $ac_status); } && {
19399 test -z "$ac_c_werror_flag" ||
19400 test ! -s conftest.err
19401 } && test -s conftest.$ac_objext; then
19402 { echo "$as_me:$LINENO: result: yes" >&5
19403 echo "${ECHO_T}yes" >&6; }
19404 else
19405 echo "$as_me: failed program was:" >&5
19406 sed 's/^/| /' conftest.$ac_ext >&5
19407
19408 { echo "$as_me:$LINENO: result: no" >&5
19409 echo "${ECHO_T}no" >&6; }
19410 cat >>confdefs.h <<\_ACEOF
19411 #define __POWERPC__ 1
19412 _ACEOF
19413
19414
19415 fi
19416
19417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19418 ;;
19419 esac
19420
19421 case "${host}" in
19422 *-*-darwin* )
19423 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
19424 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
19425 cat >conftest.$ac_ext <<_ACEOF
19426 /* confdefs.h. */
19427 _ACEOF
19428 cat confdefs.h >>conftest.$ac_ext
19429 cat >>conftest.$ac_ext <<_ACEOF
19430 /* end confdefs.h. */
19431 #include <CoreFoundation/CFBase.h>
19432
19433 int
19434 main ()
19435 {
19436
19437 ;
19438 return 0;
19439 }
19440 _ACEOF
19441 rm -f conftest.$ac_objext
19442 if { (ac_try="$ac_compile"
19443 case "(($ac_try" in
19444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19445 *) ac_try_echo=$ac_try;;
19446 esac
19447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19448 (eval "$ac_compile") 2>conftest.er1
19449 ac_status=$?
19450 grep -v '^ *+' conftest.er1 >conftest.err
19451 rm -f conftest.er1
19452 cat conftest.err >&5
19453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19454 (exit $ac_status); } && {
19455 test -z "$ac_c_werror_flag" ||
19456 test ! -s conftest.err
19457 } && test -s conftest.$ac_objext; then
19458 { echo "$as_me:$LINENO: result: yes" >&5
19459 echo "${ECHO_T}yes" >&6; }
19460 else
19461 echo "$as_me: failed program was:" >&5
19462 sed 's/^/| /' conftest.$ac_ext >&5
19463
19464 { echo "$as_me:$LINENO: result: no" >&5
19465 echo "${ECHO_T}no" >&6; }
19466 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19467 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19468 cat >conftest.$ac_ext <<_ACEOF
19469 /* confdefs.h. */
19470 _ACEOF
19471 cat confdefs.h >>conftest.$ac_ext
19472 cat >>conftest.$ac_ext <<_ACEOF
19473 /* end confdefs.h. */
19474 #define __CF_USE_FRAMEWORK_INCLUDES__
19475 #include <CoreFoundation/CFBase.h>
19476
19477 int
19478 main ()
19479 {
19480
19481 ;
19482 return 0;
19483 }
19484 _ACEOF
19485 rm -f conftest.$ac_objext
19486 if { (ac_try="$ac_compile"
19487 case "(($ac_try" in
19488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19489 *) ac_try_echo=$ac_try;;
19490 esac
19491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19492 (eval "$ac_compile") 2>conftest.er1
19493 ac_status=$?
19494 grep -v '^ *+' conftest.er1 >conftest.err
19495 rm -f conftest.er1
19496 cat conftest.err >&5
19497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19498 (exit $ac_status); } && {
19499 test -z "$ac_c_werror_flag" ||
19500 test ! -s conftest.err
19501 } && test -s conftest.$ac_objext; then
19502 { echo "$as_me:$LINENO: result: yes" >&5
19503 echo "${ECHO_T}yes" >&6; }
19504 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19505 else
19506 echo "$as_me: failed program was:" >&5
19507 sed 's/^/| /' conftest.$ac_ext >&5
19508
19509 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19510 See \`config.log' for more details." >&5
19511 echo "$as_me: error: no. CoreFoundation not available.
19512 See \`config.log' for more details." >&2;}
19513 { (exit 1); exit 1; }; }
19514
19515 fi
19516
19517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19518
19519
19520 fi
19521
19522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19523 ;;
19524 esac
19525
19526 wants_win32=0
19527 doesnt_want_win32=0
19528 case "${host}" in
19529 *-*-cygwin*)
19530 if test "$wxUSE_MSW" = 1 ; then
19531 wants_win32=1
19532 else
19533 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
19534 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
19535 if test "${wx_cv_nocygwin+set}" = set; then
19536 echo $ECHO_N "(cached) $ECHO_C" >&6
19537 else
19538
19539 cat >conftest.$ac_ext <<_ACEOF
19540 /* confdefs.h. */
19541 _ACEOF
19542 cat confdefs.h >>conftest.$ac_ext
19543 cat >>conftest.$ac_ext <<_ACEOF
19544 /* end confdefs.h. */
19545
19546 int
19547 main ()
19548 {
19549
19550 #ifdef __MINGW32__
19551 choke me
19552 #endif
19553
19554 ;
19555 return 0;
19556 }
19557 _ACEOF
19558 rm -f conftest.$ac_objext
19559 if { (ac_try="$ac_compile"
19560 case "(($ac_try" in
19561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19562 *) ac_try_echo=$ac_try;;
19563 esac
19564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19565 (eval "$ac_compile") 2>conftest.er1
19566 ac_status=$?
19567 grep -v '^ *+' conftest.er1 >conftest.err
19568 rm -f conftest.er1
19569 cat conftest.err >&5
19570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19571 (exit $ac_status); } && {
19572 test -z "$ac_c_werror_flag" ||
19573 test ! -s conftest.err
19574 } && test -s conftest.$ac_objext; then
19575 wx_cv_nocygwin=no
19576 else
19577 echo "$as_me: failed program was:" >&5
19578 sed 's/^/| /' conftest.$ac_ext >&5
19579
19580 wx_cv_nocygwin=yes
19581
19582 fi
19583
19584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19585
19586
19587 fi
19588 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19589 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19590
19591 if test "$wx_cv_nocygwin" = "yes"; then
19592 wants_win32=1
19593 else
19594 doesnt_want_win32=1
19595 fi
19596 fi
19597 if test "$wants_win32" = 1 ; then
19598 BAKEFILE_FORCE_PLATFORM=win32
19599 fi
19600 ;;
19601 *-*-mingw*)
19602 wants_win32=1
19603 ;;
19604 esac
19605
19606 if test "$wxUSE_WINE" = "yes"; then
19607 wants_win32=1
19608 LDFLAGS_GUI="-mwindows"
19609 fi
19610
19611 if test "$wants_win32" = 1 ; then
19612 USE_UNIX=0
19613 USE_WIN32=1
19614 cat >>confdefs.h <<\_ACEOF
19615 #define __WIN32__ 1
19616 _ACEOF
19617
19618 cat >>confdefs.h <<\_ACEOF
19619 #define __WIN95__ 1
19620 _ACEOF
19621
19622 cat >>confdefs.h <<\_ACEOF
19623 #define __WINDOWS__ 1
19624 _ACEOF
19625
19626 cat >>confdefs.h <<\_ACEOF
19627 #define __GNUWIN32__ 1
19628 _ACEOF
19629
19630 cat >>confdefs.h <<\_ACEOF
19631 #define STRICT 1
19632 _ACEOF
19633
19634 fi
19635 if test "$doesnt_want_win32" = 1 ; then
19636 USE_UNIX=1
19637 USE_WIN32=0
19638 fi
19639
19640 if test "$USE_UNIX" = 1 ; then
19641 wxUSE_UNIX=yes
19642 cat >>confdefs.h <<\_ACEOF
19643 #define __UNIX__ 1
19644 _ACEOF
19645
19646 fi
19647
19648 case "${host}" in
19649 *-pc-os2_emx | *-pc-os2-emx )
19650 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19651 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19652 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
19653 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19654 echo $ECHO_N "(cached) $ECHO_C" >&6
19655 else
19656 ac_check_lib_save_LIBS=$LIBS
19657 LIBS="-lcExt $LIBS"
19658 cat >conftest.$ac_ext <<_ACEOF
19659 /* confdefs.h. */
19660 _ACEOF
19661 cat confdefs.h >>conftest.$ac_ext
19662 cat >>conftest.$ac_ext <<_ACEOF
19663 /* end confdefs.h. */
19664
19665 /* Override any GCC internal prototype to avoid an error.
19666 Use char because int might match the return type of a GCC
19667 builtin and then its argument prototype would still apply. */
19668 #ifdef __cplusplus
19669 extern "C"
19670 #endif
19671 char drand48 ();
19672 int
19673 main ()
19674 {
19675 return drand48 ();
19676 ;
19677 return 0;
19678 }
19679 _ACEOF
19680 rm -f conftest.$ac_objext conftest$ac_exeext
19681 if { (ac_try="$ac_link"
19682 case "(($ac_try" in
19683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19684 *) ac_try_echo=$ac_try;;
19685 esac
19686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19687 (eval "$ac_link") 2>conftest.er1
19688 ac_status=$?
19689 grep -v '^ *+' conftest.er1 >conftest.err
19690 rm -f conftest.er1
19691 cat conftest.err >&5
19692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19693 (exit $ac_status); } && {
19694 test -z "$ac_c_werror_flag" ||
19695 test ! -s conftest.err
19696 } && test -s conftest$ac_exeext &&
19697 $as_test_x conftest$ac_exeext; then
19698 ac_cv_lib_cExt_drand48=yes
19699 else
19700 echo "$as_me: failed program was:" >&5
19701 sed 's/^/| /' conftest.$ac_ext >&5
19702
19703 ac_cv_lib_cExt_drand48=no
19704 fi
19705
19706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19707 conftest$ac_exeext conftest.$ac_ext
19708 LIBS=$ac_check_lib_save_LIBS
19709 fi
19710 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19711 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19712 if test $ac_cv_lib_cExt_drand48 = yes; then
19713 LIBS="$LIBS -lcExt"
19714 fi
19715
19716 else
19717 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19718 fi
19719 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19720 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
19721 if test "${wx_cv_gccversion+set}" = set; then
19722 echo $ECHO_N "(cached) $ECHO_C" >&6
19723 else
19724
19725 if test "$cross_compiling" = yes; then
19726 wx_cv_gccversion="EMX2"
19727
19728 else
19729 cat >conftest.$ac_ext <<_ACEOF
19730 /* confdefs.h. */
19731 _ACEOF
19732 cat confdefs.h >>conftest.$ac_ext
19733 cat >>conftest.$ac_ext <<_ACEOF
19734 /* end confdefs.h. */
19735
19736 #include <stdio.h>
19737
19738 int main()
19739 {
19740 FILE *f=fopen("conftestval", "w");
19741 if (!f) exit(1);
19742 fprintf(f,
19743 #if (__GNUC__ < 3)
19744 "EMX2"
19745 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19746 "EMX3"
19747 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19748 "Innotek5"
19749 #else
19750 "Innotek6"
19751 #endif
19752 );
19753 exit(0);
19754 }
19755
19756 _ACEOF
19757 rm -f conftest$ac_exeext
19758 if { (ac_try="$ac_link"
19759 case "(($ac_try" in
19760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19761 *) ac_try_echo=$ac_try;;
19762 esac
19763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19764 (eval "$ac_link") 2>&5
19765 ac_status=$?
19766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19767 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19768 { (case "(($ac_try" in
19769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19770 *) ac_try_echo=$ac_try;;
19771 esac
19772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19773 (eval "$ac_try") 2>&5
19774 ac_status=$?
19775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19776 (exit $ac_status); }; }; then
19777 wx_cv_gccversion=`cat conftestval`
19778 else
19779 echo "$as_me: program exited with status $ac_status" >&5
19780 echo "$as_me: failed program was:" >&5
19781 sed 's/^/| /' conftest.$ac_ext >&5
19782
19783 ( exit $ac_status )
19784 wx_cv_gccversion="EMX2"
19785 fi
19786 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19787 fi
19788
19789
19790
19791 fi
19792 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
19793 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19794 if test "$wx_cv_gccversion" = "EMX2"; then
19795 LIBS="$LIBS -lstdcpp"
19796 LDFLAGS="$LDFLAGS -Zsysv-signals"
19797 else
19798 if test "$wx_cv_gccversion" = "EMX3"; then
19799 LIBS="$LIBS -lstdcxx -lgcc"
19800 LDFLAGS="$LDFLAGS -Zsysv-signals"
19801 else
19802 LIBS="$LIBS -lstdc++"
19803 fi
19804 fi
19805 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19806 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
19807 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19808 wxUSE_OMF=yes
19809 enable_omf=yes
19810 fi
19811 ;;
19812 *)
19813
19814 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
19815 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
19816 if test "${ac_cv_string_strcasecmp+set}" = set; then
19817 echo $ECHO_N "(cached) $ECHO_C" >&6
19818 else
19819
19820 cat >conftest.$ac_ext <<_ACEOF
19821 /* confdefs.h. */
19822 _ACEOF
19823 cat confdefs.h >>conftest.$ac_ext
19824 cat >>conftest.$ac_ext <<_ACEOF
19825 /* end confdefs.h. */
19826
19827 #include <string.h>
19828
19829 int
19830 main ()
19831 {
19832
19833 strcasecmp("foo", "bar");
19834
19835 ;
19836 return 0;
19837 }
19838 _ACEOF
19839 rm -f conftest.$ac_objext conftest$ac_exeext
19840 if { (ac_try="$ac_link"
19841 case "(($ac_try" in
19842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19843 *) ac_try_echo=$ac_try;;
19844 esac
19845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19846 (eval "$ac_link") 2>conftest.er1
19847 ac_status=$?
19848 grep -v '^ *+' conftest.er1 >conftest.err
19849 rm -f conftest.er1
19850 cat conftest.err >&5
19851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19852 (exit $ac_status); } && {
19853 test -z "$ac_c_werror_flag" ||
19854 test ! -s conftest.err
19855 } && test -s conftest$ac_exeext &&
19856 $as_test_x conftest$ac_exeext; then
19857 ac_cv_string_strcasecmp=yes
19858 else
19859 echo "$as_me: failed program was:" >&5
19860 sed 's/^/| /' conftest.$ac_ext >&5
19861
19862 ac_cv_string_strcasecmp=no
19863
19864 fi
19865
19866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19867 conftest$ac_exeext conftest.$ac_ext
19868
19869 fi
19870 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
19871 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19872
19873 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19874 cat >>confdefs.h <<\_ACEOF
19875 #define HAVE_STRCASECMP_IN_STRING_H 1
19876 _ACEOF
19877
19878 else
19879 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19880 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
19881 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19882 echo $ECHO_N "(cached) $ECHO_C" >&6
19883 else
19884
19885 cat >conftest.$ac_ext <<_ACEOF
19886 /* confdefs.h. */
19887 _ACEOF
19888 cat confdefs.h >>conftest.$ac_ext
19889 cat >>conftest.$ac_ext <<_ACEOF
19890 /* end confdefs.h. */
19891
19892 #include <strings.h>
19893
19894 int
19895 main ()
19896 {
19897
19898 strcasecmp("foo", "bar");
19899
19900 ;
19901 return 0;
19902 }
19903 _ACEOF
19904 rm -f conftest.$ac_objext conftest$ac_exeext
19905 if { (ac_try="$ac_link"
19906 case "(($ac_try" in
19907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19908 *) ac_try_echo=$ac_try;;
19909 esac
19910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19911 (eval "$ac_link") 2>conftest.er1
19912 ac_status=$?
19913 grep -v '^ *+' conftest.er1 >conftest.err
19914 rm -f conftest.er1
19915 cat conftest.err >&5
19916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19917 (exit $ac_status); } && {
19918 test -z "$ac_c_werror_flag" ||
19919 test ! -s conftest.err
19920 } && test -s conftest$ac_exeext &&
19921 $as_test_x conftest$ac_exeext; then
19922 ac_cv_strings_strcasecmp=yes
19923 else
19924 echo "$as_me: failed program was:" >&5
19925 sed 's/^/| /' conftest.$ac_ext >&5
19926
19927 ac_cv_strings_strcasecmp=no
19928
19929 fi
19930
19931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19932 conftest$ac_exeext conftest.$ac_ext
19933
19934 fi
19935 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19936 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19937
19938 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19939 cat >>confdefs.h <<\_ACEOF
19940 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19941 _ACEOF
19942
19943 else
19944 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19945 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19946 { (exit 1); exit 1; }; }
19947 fi
19948 fi
19949
19950 ;;
19951 esac
19952
19953
19954 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19955 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19956 if test "${ac_cv_header_stdc+set}" = set; then
19957 echo $ECHO_N "(cached) $ECHO_C" >&6
19958 else
19959 cat >conftest.$ac_ext <<_ACEOF
19960 /* confdefs.h. */
19961 _ACEOF
19962 cat confdefs.h >>conftest.$ac_ext
19963 cat >>conftest.$ac_ext <<_ACEOF
19964 /* end confdefs.h. */
19965 #include <stdlib.h>
19966 #include <stdarg.h>
19967 #include <string.h>
19968 #include <float.h>
19969
19970 int
19971 main ()
19972 {
19973
19974 ;
19975 return 0;
19976 }
19977 _ACEOF
19978 rm -f conftest.$ac_objext
19979 if { (ac_try="$ac_compile"
19980 case "(($ac_try" in
19981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19982 *) ac_try_echo=$ac_try;;
19983 esac
19984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19985 (eval "$ac_compile") 2>conftest.er1
19986 ac_status=$?
19987 grep -v '^ *+' conftest.er1 >conftest.err
19988 rm -f conftest.er1
19989 cat conftest.err >&5
19990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19991 (exit $ac_status); } && {
19992 test -z "$ac_c_werror_flag" ||
19993 test ! -s conftest.err
19994 } && test -s conftest.$ac_objext; then
19995 ac_cv_header_stdc=yes
19996 else
19997 echo "$as_me: failed program was:" >&5
19998 sed 's/^/| /' conftest.$ac_ext >&5
19999
20000 ac_cv_header_stdc=no
20001 fi
20002
20003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20004
20005 if test $ac_cv_header_stdc = yes; then
20006 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20007 cat >conftest.$ac_ext <<_ACEOF
20008 /* confdefs.h. */
20009 _ACEOF
20010 cat confdefs.h >>conftest.$ac_ext
20011 cat >>conftest.$ac_ext <<_ACEOF
20012 /* end confdefs.h. */
20013 #include <string.h>
20014
20015 _ACEOF
20016 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20017 $EGREP "memchr" >/dev/null 2>&1; then
20018 :
20019 else
20020 ac_cv_header_stdc=no
20021 fi
20022 rm -f conftest*
20023
20024 fi
20025
20026 if test $ac_cv_header_stdc = yes; then
20027 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20028 cat >conftest.$ac_ext <<_ACEOF
20029 /* confdefs.h. */
20030 _ACEOF
20031 cat confdefs.h >>conftest.$ac_ext
20032 cat >>conftest.$ac_ext <<_ACEOF
20033 /* end confdefs.h. */
20034 #include <stdlib.h>
20035
20036 _ACEOF
20037 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20038 $EGREP "free" >/dev/null 2>&1; then
20039 :
20040 else
20041 ac_cv_header_stdc=no
20042 fi
20043 rm -f conftest*
20044
20045 fi
20046
20047 if test $ac_cv_header_stdc = yes; then
20048 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20049 if test "$cross_compiling" = yes; then
20050 :
20051 else
20052 cat >conftest.$ac_ext <<_ACEOF
20053 /* confdefs.h. */
20054 _ACEOF
20055 cat confdefs.h >>conftest.$ac_ext
20056 cat >>conftest.$ac_ext <<_ACEOF
20057 /* end confdefs.h. */
20058 #include <ctype.h>
20059 #include <stdlib.h>
20060 #if ((' ' & 0x0FF) == 0x020)
20061 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20062 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20063 #else
20064 # define ISLOWER(c) \
20065 (('a' <= (c) && (c) <= 'i') \
20066 || ('j' <= (c) && (c) <= 'r') \
20067 || ('s' <= (c) && (c) <= 'z'))
20068 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20069 #endif
20070
20071 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20072 int
20073 main ()
20074 {
20075 int i;
20076 for (i = 0; i < 256; i++)
20077 if (XOR (islower (i), ISLOWER (i))
20078 || toupper (i) != TOUPPER (i))
20079 return 2;
20080 return 0;
20081 }
20082 _ACEOF
20083 rm -f conftest$ac_exeext
20084 if { (ac_try="$ac_link"
20085 case "(($ac_try" in
20086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20087 *) ac_try_echo=$ac_try;;
20088 esac
20089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20090 (eval "$ac_link") 2>&5
20091 ac_status=$?
20092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20093 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20094 { (case "(($ac_try" in
20095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20096 *) ac_try_echo=$ac_try;;
20097 esac
20098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20099 (eval "$ac_try") 2>&5
20100 ac_status=$?
20101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20102 (exit $ac_status); }; }; then
20103 :
20104 else
20105 echo "$as_me: program exited with status $ac_status" >&5
20106 echo "$as_me: failed program was:" >&5
20107 sed 's/^/| /' conftest.$ac_ext >&5
20108
20109 ( exit $ac_status )
20110 ac_cv_header_stdc=no
20111 fi
20112 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20113 fi
20114
20115
20116 fi
20117 fi
20118 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20119 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20120 if test $ac_cv_header_stdc = yes; then
20121
20122 cat >>confdefs.h <<\_ACEOF
20123 #define STDC_HEADERS 1
20124 _ACEOF
20125
20126 fi
20127
20128 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20129
20130
20131
20132
20133
20134
20135
20136
20137
20138 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20139 inttypes.h stdint.h unistd.h
20140 do
20141 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20142 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20143 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20144 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20145 echo $ECHO_N "(cached) $ECHO_C" >&6
20146 else
20147 cat >conftest.$ac_ext <<_ACEOF
20148 /* confdefs.h. */
20149 _ACEOF
20150 cat confdefs.h >>conftest.$ac_ext
20151 cat >>conftest.$ac_ext <<_ACEOF
20152 /* end confdefs.h. */
20153 $ac_includes_default
20154
20155 #include <$ac_header>
20156 _ACEOF
20157 rm -f conftest.$ac_objext
20158 if { (ac_try="$ac_compile"
20159 case "(($ac_try" in
20160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20161 *) ac_try_echo=$ac_try;;
20162 esac
20163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20164 (eval "$ac_compile") 2>conftest.er1
20165 ac_status=$?
20166 grep -v '^ *+' conftest.er1 >conftest.err
20167 rm -f conftest.er1
20168 cat conftest.err >&5
20169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20170 (exit $ac_status); } && {
20171 test -z "$ac_c_werror_flag" ||
20172 test ! -s conftest.err
20173 } && test -s conftest.$ac_objext; then
20174 eval "$as_ac_Header=yes"
20175 else
20176 echo "$as_me: failed program was:" >&5
20177 sed 's/^/| /' conftest.$ac_ext >&5
20178
20179 eval "$as_ac_Header=no"
20180 fi
20181
20182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20183 fi
20184 ac_res=`eval echo '${'$as_ac_Header'}'`
20185 { echo "$as_me:$LINENO: result: $ac_res" >&5
20186 echo "${ECHO_T}$ac_res" >&6; }
20187 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20188 cat >>confdefs.h <<_ACEOF
20189 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20190 _ACEOF
20191
20192 fi
20193
20194 done
20195
20196
20197
20198
20199 for ac_header in langinfo.h wchar.h
20200 do
20201 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20202 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20203 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20204 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20205 echo $ECHO_N "(cached) $ECHO_C" >&6
20206 else
20207 cat >conftest.$ac_ext <<_ACEOF
20208 /* confdefs.h. */
20209 _ACEOF
20210 cat confdefs.h >>conftest.$ac_ext
20211 cat >>conftest.$ac_ext <<_ACEOF
20212 /* end confdefs.h. */
20213 $ac_includes_default
20214
20215 #include <$ac_header>
20216 _ACEOF
20217 rm -f conftest.$ac_objext
20218 if { (ac_try="$ac_compile"
20219 case "(($ac_try" in
20220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20221 *) ac_try_echo=$ac_try;;
20222 esac
20223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20224 (eval "$ac_compile") 2>conftest.er1
20225 ac_status=$?
20226 grep -v '^ *+' conftest.er1 >conftest.err
20227 rm -f conftest.er1
20228 cat conftest.err >&5
20229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20230 (exit $ac_status); } && {
20231 test -z "$ac_c_werror_flag" ||
20232 test ! -s conftest.err
20233 } && test -s conftest.$ac_objext; then
20234 eval "$as_ac_Header=yes"
20235 else
20236 echo "$as_me: failed program was:" >&5
20237 sed 's/^/| /' conftest.$ac_ext >&5
20238
20239 eval "$as_ac_Header=no"
20240 fi
20241
20242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20243 fi
20244 ac_res=`eval echo '${'$as_ac_Header'}'`
20245 { echo "$as_me:$LINENO: result: $ac_res" >&5
20246 echo "${ECHO_T}$ac_res" >&6; }
20247 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20248 cat >>confdefs.h <<_ACEOF
20249 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20250 _ACEOF
20251
20252 fi
20253
20254 done
20255
20256
20257 if test "$ac_cv_header_wchar_h" != "yes"; then
20258
20259 for ac_header in wcstr.h
20260 do
20261 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20262 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20263 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20264 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20265 echo $ECHO_N "(cached) $ECHO_C" >&6
20266 else
20267 cat >conftest.$ac_ext <<_ACEOF
20268 /* confdefs.h. */
20269 _ACEOF
20270 cat confdefs.h >>conftest.$ac_ext
20271 cat >>conftest.$ac_ext <<_ACEOF
20272 /* end confdefs.h. */
20273 $ac_includes_default
20274
20275 #include <$ac_header>
20276 _ACEOF
20277 rm -f conftest.$ac_objext
20278 if { (ac_try="$ac_compile"
20279 case "(($ac_try" in
20280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20281 *) ac_try_echo=$ac_try;;
20282 esac
20283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20284 (eval "$ac_compile") 2>conftest.er1
20285 ac_status=$?
20286 grep -v '^ *+' conftest.er1 >conftest.err
20287 rm -f conftest.er1
20288 cat conftest.err >&5
20289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20290 (exit $ac_status); } && {
20291 test -z "$ac_c_werror_flag" ||
20292 test ! -s conftest.err
20293 } && test -s conftest.$ac_objext; then
20294 eval "$as_ac_Header=yes"
20295 else
20296 echo "$as_me: failed program was:" >&5
20297 sed 's/^/| /' conftest.$ac_ext >&5
20298
20299 eval "$as_ac_Header=no"
20300 fi
20301
20302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20303 fi
20304 ac_res=`eval echo '${'$as_ac_Header'}'`
20305 { echo "$as_me:$LINENO: result: $ac_res" >&5
20306 echo "${ECHO_T}$ac_res" >&6; }
20307 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20308 cat >>confdefs.h <<_ACEOF
20309 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20310 _ACEOF
20311
20312 fi
20313
20314 done
20315
20316 fi
20317
20318 case "${host}" in
20319 *-pc-os2_emx | *-pc-os2-emx )
20320 if test $ac_cv_header_langinfo_h = "yes" \
20321 -a \( "$wx_cv_gccversion" = "EMX2" \
20322 -o "$wx_cv_gccversion" = "EMX3" \
20323 -o "$wx_cv_gccversion" = "Innotek5" \); then
20324 LIBS="$LIBS -lintl"
20325 fi
20326 ;;
20327 esac
20328
20329 if test "$USE_UNIX" = 1 ; then
20330
20331 for ac_header in sys/select.h
20332 do
20333 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20334 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20335 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20336 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20337 echo $ECHO_N "(cached) $ECHO_C" >&6
20338 else
20339 cat >conftest.$ac_ext <<_ACEOF
20340 /* confdefs.h. */
20341 _ACEOF
20342 cat confdefs.h >>conftest.$ac_ext
20343 cat >>conftest.$ac_ext <<_ACEOF
20344 /* end confdefs.h. */
20345 $ac_includes_default
20346
20347 #include <$ac_header>
20348 _ACEOF
20349 rm -f conftest.$ac_objext
20350 if { (ac_try="$ac_compile"
20351 case "(($ac_try" in
20352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20353 *) ac_try_echo=$ac_try;;
20354 esac
20355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20356 (eval "$ac_compile") 2>conftest.er1
20357 ac_status=$?
20358 grep -v '^ *+' conftest.er1 >conftest.err
20359 rm -f conftest.er1
20360 cat conftest.err >&5
20361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20362 (exit $ac_status); } && {
20363 test -z "$ac_c_werror_flag" ||
20364 test ! -s conftest.err
20365 } && test -s conftest.$ac_objext; then
20366 eval "$as_ac_Header=yes"
20367 else
20368 echo "$as_me: failed program was:" >&5
20369 sed 's/^/| /' conftest.$ac_ext >&5
20370
20371 eval "$as_ac_Header=no"
20372 fi
20373
20374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20375 fi
20376 ac_res=`eval echo '${'$as_ac_Header'}'`
20377 { echo "$as_me:$LINENO: result: $ac_res" >&5
20378 echo "${ECHO_T}$ac_res" >&6; }
20379 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20380 cat >>confdefs.h <<_ACEOF
20381 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20382 _ACEOF
20383
20384 fi
20385
20386 done
20387
20388 fi
20389
20390
20391 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20392 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
20393 if test "${ac_cv_c_const+set}" = set; then
20394 echo $ECHO_N "(cached) $ECHO_C" >&6
20395 else
20396 cat >conftest.$ac_ext <<_ACEOF
20397 /* confdefs.h. */
20398 _ACEOF
20399 cat confdefs.h >>conftest.$ac_ext
20400 cat >>conftest.$ac_ext <<_ACEOF
20401 /* end confdefs.h. */
20402
20403 int
20404 main ()
20405 {
20406 /* FIXME: Include the comments suggested by Paul. */
20407 #ifndef __cplusplus
20408 /* Ultrix mips cc rejects this. */
20409 typedef int charset[2];
20410 const charset cs;
20411 /* SunOS 4.1.1 cc rejects this. */
20412 char const *const *pcpcc;
20413 char **ppc;
20414 /* NEC SVR4.0.2 mips cc rejects this. */
20415 struct point {int x, y;};
20416 static struct point const zero = {0,0};
20417 /* AIX XL C 1.02.0.0 rejects this.
20418 It does not let you subtract one const X* pointer from another in
20419 an arm of an if-expression whose if-part is not a constant
20420 expression */
20421 const char *g = "string";
20422 pcpcc = &g + (g ? g-g : 0);
20423 /* HPUX 7.0 cc rejects these. */
20424 ++pcpcc;
20425 ppc = (char**) pcpcc;
20426 pcpcc = (char const *const *) ppc;
20427 { /* SCO 3.2v4 cc rejects this. */
20428 char *t;
20429 char const *s = 0 ? (char *) 0 : (char const *) 0;
20430
20431 *t++ = 0;
20432 if (s) return 0;
20433 }
20434 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20435 int x[] = {25, 17};
20436 const int *foo = &x[0];
20437 ++foo;
20438 }
20439 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20440 typedef const int *iptr;
20441 iptr p = 0;
20442 ++p;
20443 }
20444 { /* AIX XL C 1.02.0.0 rejects this saying
20445 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20446 struct s { int j; const int *ap[3]; };
20447 struct s *b; b->j = 5;
20448 }
20449 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20450 const int foo = 10;
20451 if (!foo) return 0;
20452 }
20453 return !cs[0] && !zero.x;
20454 #endif
20455
20456 ;
20457 return 0;
20458 }
20459 _ACEOF
20460 rm -f conftest.$ac_objext
20461 if { (ac_try="$ac_compile"
20462 case "(($ac_try" in
20463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20464 *) ac_try_echo=$ac_try;;
20465 esac
20466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20467 (eval "$ac_compile") 2>conftest.er1
20468 ac_status=$?
20469 grep -v '^ *+' conftest.er1 >conftest.err
20470 rm -f conftest.er1
20471 cat conftest.err >&5
20472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20473 (exit $ac_status); } && {
20474 test -z "$ac_c_werror_flag" ||
20475 test ! -s conftest.err
20476 } && test -s conftest.$ac_objext; then
20477 ac_cv_c_const=yes
20478 else
20479 echo "$as_me: failed program was:" >&5
20480 sed 's/^/| /' conftest.$ac_ext >&5
20481
20482 ac_cv_c_const=no
20483 fi
20484
20485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20486 fi
20487 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20488 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20489 if test $ac_cv_c_const = no; then
20490
20491 cat >>confdefs.h <<\_ACEOF
20492 #define const
20493 _ACEOF
20494
20495 fi
20496
20497 { echo "$as_me:$LINENO: checking for inline" >&5
20498 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
20499 if test "${ac_cv_c_inline+set}" = set; then
20500 echo $ECHO_N "(cached) $ECHO_C" >&6
20501 else
20502 ac_cv_c_inline=no
20503 for ac_kw in inline __inline__ __inline; do
20504 cat >conftest.$ac_ext <<_ACEOF
20505 /* confdefs.h. */
20506 _ACEOF
20507 cat confdefs.h >>conftest.$ac_ext
20508 cat >>conftest.$ac_ext <<_ACEOF
20509 /* end confdefs.h. */
20510 #ifndef __cplusplus
20511 typedef int foo_t;
20512 static $ac_kw foo_t static_foo () {return 0; }
20513 $ac_kw foo_t foo () {return 0; }
20514 #endif
20515
20516 _ACEOF
20517 rm -f conftest.$ac_objext
20518 if { (ac_try="$ac_compile"
20519 case "(($ac_try" in
20520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20521 *) ac_try_echo=$ac_try;;
20522 esac
20523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20524 (eval "$ac_compile") 2>conftest.er1
20525 ac_status=$?
20526 grep -v '^ *+' conftest.er1 >conftest.err
20527 rm -f conftest.er1
20528 cat conftest.err >&5
20529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20530 (exit $ac_status); } && {
20531 test -z "$ac_c_werror_flag" ||
20532 test ! -s conftest.err
20533 } && test -s conftest.$ac_objext; then
20534 ac_cv_c_inline=$ac_kw
20535 else
20536 echo "$as_me: failed program was:" >&5
20537 sed 's/^/| /' conftest.$ac_ext >&5
20538
20539
20540 fi
20541
20542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20543 test "$ac_cv_c_inline" != no && break
20544 done
20545
20546 fi
20547 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20548 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20549
20550
20551 case $ac_cv_c_inline in
20552 inline | yes) ;;
20553 *)
20554 case $ac_cv_c_inline in
20555 no) ac_val=;;
20556 *) ac_val=$ac_cv_c_inline;;
20557 esac
20558 cat >>confdefs.h <<_ACEOF
20559 #ifndef __cplusplus
20560 #define inline $ac_val
20561 #endif
20562 _ACEOF
20563 ;;
20564 esac
20565
20566
20567 { echo "$as_me:$LINENO: checking for short" >&5
20568 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
20569 if test "${ac_cv_type_short+set}" = set; then
20570 echo $ECHO_N "(cached) $ECHO_C" >&6
20571 else
20572 cat >conftest.$ac_ext <<_ACEOF
20573 /* confdefs.h. */
20574 _ACEOF
20575 cat confdefs.h >>conftest.$ac_ext
20576 cat >>conftest.$ac_ext <<_ACEOF
20577 /* end confdefs.h. */
20578 $ac_includes_default
20579 typedef short ac__type_new_;
20580 int
20581 main ()
20582 {
20583 if ((ac__type_new_ *) 0)
20584 return 0;
20585 if (sizeof (ac__type_new_))
20586 return 0;
20587 ;
20588 return 0;
20589 }
20590 _ACEOF
20591 rm -f conftest.$ac_objext
20592 if { (ac_try="$ac_compile"
20593 case "(($ac_try" in
20594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20595 *) ac_try_echo=$ac_try;;
20596 esac
20597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20598 (eval "$ac_compile") 2>conftest.er1
20599 ac_status=$?
20600 grep -v '^ *+' conftest.er1 >conftest.err
20601 rm -f conftest.er1
20602 cat conftest.err >&5
20603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20604 (exit $ac_status); } && {
20605 test -z "$ac_c_werror_flag" ||
20606 test ! -s conftest.err
20607 } && test -s conftest.$ac_objext; then
20608 ac_cv_type_short=yes
20609 else
20610 echo "$as_me: failed program was:" >&5
20611 sed 's/^/| /' conftest.$ac_ext >&5
20612
20613 ac_cv_type_short=no
20614 fi
20615
20616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20617 fi
20618 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20619 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20620
20621 # The cast to long int works around a bug in the HP C Compiler
20622 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20623 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20624 # This bug is HP SR number 8606223364.
20625 { echo "$as_me:$LINENO: checking size of short" >&5
20626 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
20627 if test "${ac_cv_sizeof_short+set}" = set; then
20628 echo $ECHO_N "(cached) $ECHO_C" >&6
20629 else
20630 if test "$cross_compiling" = yes; then
20631 # Depending upon the size, compute the lo and hi bounds.
20632 cat >conftest.$ac_ext <<_ACEOF
20633 /* confdefs.h. */
20634 _ACEOF
20635 cat confdefs.h >>conftest.$ac_ext
20636 cat >>conftest.$ac_ext <<_ACEOF
20637 /* end confdefs.h. */
20638 $ac_includes_default
20639 typedef short ac__type_sizeof_;
20640 int
20641 main ()
20642 {
20643 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20644 test_array [0] = 0
20645
20646 ;
20647 return 0;
20648 }
20649 _ACEOF
20650 rm -f conftest.$ac_objext
20651 if { (ac_try="$ac_compile"
20652 case "(($ac_try" in
20653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20654 *) ac_try_echo=$ac_try;;
20655 esac
20656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20657 (eval "$ac_compile") 2>conftest.er1
20658 ac_status=$?
20659 grep -v '^ *+' conftest.er1 >conftest.err
20660 rm -f conftest.er1
20661 cat conftest.err >&5
20662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20663 (exit $ac_status); } && {
20664 test -z "$ac_c_werror_flag" ||
20665 test ! -s conftest.err
20666 } && test -s conftest.$ac_objext; then
20667 ac_lo=0 ac_mid=0
20668 while :; do
20669 cat >conftest.$ac_ext <<_ACEOF
20670 /* confdefs.h. */
20671 _ACEOF
20672 cat confdefs.h >>conftest.$ac_ext
20673 cat >>conftest.$ac_ext <<_ACEOF
20674 /* end confdefs.h. */
20675 $ac_includes_default
20676 typedef short ac__type_sizeof_;
20677 int
20678 main ()
20679 {
20680 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20681 test_array [0] = 0
20682
20683 ;
20684 return 0;
20685 }
20686 _ACEOF
20687 rm -f conftest.$ac_objext
20688 if { (ac_try="$ac_compile"
20689 case "(($ac_try" in
20690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20691 *) ac_try_echo=$ac_try;;
20692 esac
20693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20694 (eval "$ac_compile") 2>conftest.er1
20695 ac_status=$?
20696 grep -v '^ *+' conftest.er1 >conftest.err
20697 rm -f conftest.er1
20698 cat conftest.err >&5
20699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20700 (exit $ac_status); } && {
20701 test -z "$ac_c_werror_flag" ||
20702 test ! -s conftest.err
20703 } && test -s conftest.$ac_objext; then
20704 ac_hi=$ac_mid; break
20705 else
20706 echo "$as_me: failed program was:" >&5
20707 sed 's/^/| /' conftest.$ac_ext >&5
20708
20709 ac_lo=`expr $ac_mid + 1`
20710 if test $ac_lo -le $ac_mid; then
20711 ac_lo= ac_hi=
20712 break
20713 fi
20714 ac_mid=`expr 2 '*' $ac_mid + 1`
20715 fi
20716
20717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20718 done
20719 else
20720 echo "$as_me: failed program was:" >&5
20721 sed 's/^/| /' conftest.$ac_ext >&5
20722
20723 cat >conftest.$ac_ext <<_ACEOF
20724 /* confdefs.h. */
20725 _ACEOF
20726 cat confdefs.h >>conftest.$ac_ext
20727 cat >>conftest.$ac_ext <<_ACEOF
20728 /* end confdefs.h. */
20729 $ac_includes_default
20730 typedef short ac__type_sizeof_;
20731 int
20732 main ()
20733 {
20734 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20735 test_array [0] = 0
20736
20737 ;
20738 return 0;
20739 }
20740 _ACEOF
20741 rm -f conftest.$ac_objext
20742 if { (ac_try="$ac_compile"
20743 case "(($ac_try" in
20744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20745 *) ac_try_echo=$ac_try;;
20746 esac
20747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20748 (eval "$ac_compile") 2>conftest.er1
20749 ac_status=$?
20750 grep -v '^ *+' conftest.er1 >conftest.err
20751 rm -f conftest.er1
20752 cat conftest.err >&5
20753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20754 (exit $ac_status); } && {
20755 test -z "$ac_c_werror_flag" ||
20756 test ! -s conftest.err
20757 } && test -s conftest.$ac_objext; then
20758 ac_hi=-1 ac_mid=-1
20759 while :; do
20760 cat >conftest.$ac_ext <<_ACEOF
20761 /* confdefs.h. */
20762 _ACEOF
20763 cat confdefs.h >>conftest.$ac_ext
20764 cat >>conftest.$ac_ext <<_ACEOF
20765 /* end confdefs.h. */
20766 $ac_includes_default
20767 typedef short ac__type_sizeof_;
20768 int
20769 main ()
20770 {
20771 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20772 test_array [0] = 0
20773
20774 ;
20775 return 0;
20776 }
20777 _ACEOF
20778 rm -f conftest.$ac_objext
20779 if { (ac_try="$ac_compile"
20780 case "(($ac_try" in
20781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20782 *) ac_try_echo=$ac_try;;
20783 esac
20784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20785 (eval "$ac_compile") 2>conftest.er1
20786 ac_status=$?
20787 grep -v '^ *+' conftest.er1 >conftest.err
20788 rm -f conftest.er1
20789 cat conftest.err >&5
20790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20791 (exit $ac_status); } && {
20792 test -z "$ac_c_werror_flag" ||
20793 test ! -s conftest.err
20794 } && test -s conftest.$ac_objext; then
20795 ac_lo=$ac_mid; break
20796 else
20797 echo "$as_me: failed program was:" >&5
20798 sed 's/^/| /' conftest.$ac_ext >&5
20799
20800 ac_hi=`expr '(' $ac_mid ')' - 1`
20801 if test $ac_mid -le $ac_hi; then
20802 ac_lo= ac_hi=
20803 break
20804 fi
20805 ac_mid=`expr 2 '*' $ac_mid`
20806 fi
20807
20808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20809 done
20810 else
20811 echo "$as_me: failed program was:" >&5
20812 sed 's/^/| /' conftest.$ac_ext >&5
20813
20814 ac_lo= ac_hi=
20815 fi
20816
20817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20818 fi
20819
20820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20821 # Binary search between lo and hi bounds.
20822 while test "x$ac_lo" != "x$ac_hi"; do
20823 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20824 cat >conftest.$ac_ext <<_ACEOF
20825 /* confdefs.h. */
20826 _ACEOF
20827 cat confdefs.h >>conftest.$ac_ext
20828 cat >>conftest.$ac_ext <<_ACEOF
20829 /* end confdefs.h. */
20830 $ac_includes_default
20831 typedef short ac__type_sizeof_;
20832 int
20833 main ()
20834 {
20835 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20836 test_array [0] = 0
20837
20838 ;
20839 return 0;
20840 }
20841 _ACEOF
20842 rm -f conftest.$ac_objext
20843 if { (ac_try="$ac_compile"
20844 case "(($ac_try" in
20845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20846 *) ac_try_echo=$ac_try;;
20847 esac
20848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20849 (eval "$ac_compile") 2>conftest.er1
20850 ac_status=$?
20851 grep -v '^ *+' conftest.er1 >conftest.err
20852 rm -f conftest.er1
20853 cat conftest.err >&5
20854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20855 (exit $ac_status); } && {
20856 test -z "$ac_c_werror_flag" ||
20857 test ! -s conftest.err
20858 } && test -s conftest.$ac_objext; then
20859 ac_hi=$ac_mid
20860 else
20861 echo "$as_me: failed program was:" >&5
20862 sed 's/^/| /' conftest.$ac_ext >&5
20863
20864 ac_lo=`expr '(' $ac_mid ')' + 1`
20865 fi
20866
20867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20868 done
20869 case $ac_lo in
20870 ?*) ac_cv_sizeof_short=$ac_lo;;
20871 '') if test "$ac_cv_type_short" = yes; then
20872 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20873 See \`config.log' for more details." >&5
20874 echo "$as_me: error: cannot compute sizeof (short)
20875 See \`config.log' for more details." >&2;}
20876 { (exit 77); exit 77; }; }
20877 else
20878 ac_cv_sizeof_short=0
20879 fi ;;
20880 esac
20881 else
20882 cat >conftest.$ac_ext <<_ACEOF
20883 /* confdefs.h. */
20884 _ACEOF
20885 cat confdefs.h >>conftest.$ac_ext
20886 cat >>conftest.$ac_ext <<_ACEOF
20887 /* end confdefs.h. */
20888 $ac_includes_default
20889 typedef short ac__type_sizeof_;
20890 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20891 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20892 #include <stdio.h>
20893 #include <stdlib.h>
20894 int
20895 main ()
20896 {
20897
20898 FILE *f = fopen ("conftest.val", "w");
20899 if (! f)
20900 return 1;
20901 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20902 {
20903 long int i = longval ();
20904 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20905 return 1;
20906 fprintf (f, "%ld\n", i);
20907 }
20908 else
20909 {
20910 unsigned long int i = ulongval ();
20911 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20912 return 1;
20913 fprintf (f, "%lu\n", i);
20914 }
20915 return ferror (f) || fclose (f) != 0;
20916
20917 ;
20918 return 0;
20919 }
20920 _ACEOF
20921 rm -f conftest$ac_exeext
20922 if { (ac_try="$ac_link"
20923 case "(($ac_try" in
20924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20925 *) ac_try_echo=$ac_try;;
20926 esac
20927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20928 (eval "$ac_link") 2>&5
20929 ac_status=$?
20930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20931 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20932 { (case "(($ac_try" in
20933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20934 *) ac_try_echo=$ac_try;;
20935 esac
20936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20937 (eval "$ac_try") 2>&5
20938 ac_status=$?
20939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20940 (exit $ac_status); }; }; then
20941 ac_cv_sizeof_short=`cat conftest.val`
20942 else
20943 echo "$as_me: program exited with status $ac_status" >&5
20944 echo "$as_me: failed program was:" >&5
20945 sed 's/^/| /' conftest.$ac_ext >&5
20946
20947 ( exit $ac_status )
20948 if test "$ac_cv_type_short" = yes; then
20949 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20950 See \`config.log' for more details." >&5
20951 echo "$as_me: error: cannot compute sizeof (short)
20952 See \`config.log' for more details." >&2;}
20953 { (exit 77); exit 77; }; }
20954 else
20955 ac_cv_sizeof_short=0
20956 fi
20957 fi
20958 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20959 fi
20960 rm -f conftest.val
20961 fi
20962 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20963 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20964
20965
20966
20967 cat >>confdefs.h <<_ACEOF
20968 #define SIZEOF_SHORT $ac_cv_sizeof_short
20969 _ACEOF
20970
20971
20972 { echo "$as_me:$LINENO: checking for void *" >&5
20973 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20974 if test "${ac_cv_type_void_p+set}" = set; then
20975 echo $ECHO_N "(cached) $ECHO_C" >&6
20976 else
20977 cat >conftest.$ac_ext <<_ACEOF
20978 /* confdefs.h. */
20979 _ACEOF
20980 cat confdefs.h >>conftest.$ac_ext
20981 cat >>conftest.$ac_ext <<_ACEOF
20982 /* end confdefs.h. */
20983 $ac_includes_default
20984 typedef void * ac__type_new_;
20985 int
20986 main ()
20987 {
20988 if ((ac__type_new_ *) 0)
20989 return 0;
20990 if (sizeof (ac__type_new_))
20991 return 0;
20992 ;
20993 return 0;
20994 }
20995 _ACEOF
20996 rm -f conftest.$ac_objext
20997 if { (ac_try="$ac_compile"
20998 case "(($ac_try" in
20999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21000 *) ac_try_echo=$ac_try;;
21001 esac
21002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21003 (eval "$ac_compile") 2>conftest.er1
21004 ac_status=$?
21005 grep -v '^ *+' conftest.er1 >conftest.err
21006 rm -f conftest.er1
21007 cat conftest.err >&5
21008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21009 (exit $ac_status); } && {
21010 test -z "$ac_c_werror_flag" ||
21011 test ! -s conftest.err
21012 } && test -s conftest.$ac_objext; then
21013 ac_cv_type_void_p=yes
21014 else
21015 echo "$as_me: failed program was:" >&5
21016 sed 's/^/| /' conftest.$ac_ext >&5
21017
21018 ac_cv_type_void_p=no
21019 fi
21020
21021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21022 fi
21023 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
21024 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
21025
21026 # The cast to long int works around a bug in the HP C Compiler
21027 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21028 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21029 # This bug is HP SR number 8606223364.
21030 { echo "$as_me:$LINENO: checking size of void *" >&5
21031 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
21032 if test "${ac_cv_sizeof_void_p+set}" = set; then
21033 echo $ECHO_N "(cached) $ECHO_C" >&6
21034 else
21035 if test "$cross_compiling" = yes; then
21036 # Depending upon the size, compute the lo and hi bounds.
21037 cat >conftest.$ac_ext <<_ACEOF
21038 /* confdefs.h. */
21039 _ACEOF
21040 cat confdefs.h >>conftest.$ac_ext
21041 cat >>conftest.$ac_ext <<_ACEOF
21042 /* end confdefs.h. */
21043 $ac_includes_default
21044 typedef void * ac__type_sizeof_;
21045 int
21046 main ()
21047 {
21048 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21049 test_array [0] = 0
21050
21051 ;
21052 return 0;
21053 }
21054 _ACEOF
21055 rm -f conftest.$ac_objext
21056 if { (ac_try="$ac_compile"
21057 case "(($ac_try" in
21058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21059 *) ac_try_echo=$ac_try;;
21060 esac
21061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21062 (eval "$ac_compile") 2>conftest.er1
21063 ac_status=$?
21064 grep -v '^ *+' conftest.er1 >conftest.err
21065 rm -f conftest.er1
21066 cat conftest.err >&5
21067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21068 (exit $ac_status); } && {
21069 test -z "$ac_c_werror_flag" ||
21070 test ! -s conftest.err
21071 } && test -s conftest.$ac_objext; then
21072 ac_lo=0 ac_mid=0
21073 while :; do
21074 cat >conftest.$ac_ext <<_ACEOF
21075 /* confdefs.h. */
21076 _ACEOF
21077 cat confdefs.h >>conftest.$ac_ext
21078 cat >>conftest.$ac_ext <<_ACEOF
21079 /* end confdefs.h. */
21080 $ac_includes_default
21081 typedef void * ac__type_sizeof_;
21082 int
21083 main ()
21084 {
21085 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21086 test_array [0] = 0
21087
21088 ;
21089 return 0;
21090 }
21091 _ACEOF
21092 rm -f conftest.$ac_objext
21093 if { (ac_try="$ac_compile"
21094 case "(($ac_try" in
21095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21096 *) ac_try_echo=$ac_try;;
21097 esac
21098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21099 (eval "$ac_compile") 2>conftest.er1
21100 ac_status=$?
21101 grep -v '^ *+' conftest.er1 >conftest.err
21102 rm -f conftest.er1
21103 cat conftest.err >&5
21104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21105 (exit $ac_status); } && {
21106 test -z "$ac_c_werror_flag" ||
21107 test ! -s conftest.err
21108 } && test -s conftest.$ac_objext; then
21109 ac_hi=$ac_mid; break
21110 else
21111 echo "$as_me: failed program was:" >&5
21112 sed 's/^/| /' conftest.$ac_ext >&5
21113
21114 ac_lo=`expr $ac_mid + 1`
21115 if test $ac_lo -le $ac_mid; then
21116 ac_lo= ac_hi=
21117 break
21118 fi
21119 ac_mid=`expr 2 '*' $ac_mid + 1`
21120 fi
21121
21122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21123 done
21124 else
21125 echo "$as_me: failed program was:" >&5
21126 sed 's/^/| /' conftest.$ac_ext >&5
21127
21128 cat >conftest.$ac_ext <<_ACEOF
21129 /* confdefs.h. */
21130 _ACEOF
21131 cat confdefs.h >>conftest.$ac_ext
21132 cat >>conftest.$ac_ext <<_ACEOF
21133 /* end confdefs.h. */
21134 $ac_includes_default
21135 typedef void * ac__type_sizeof_;
21136 int
21137 main ()
21138 {
21139 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21140 test_array [0] = 0
21141
21142 ;
21143 return 0;
21144 }
21145 _ACEOF
21146 rm -f conftest.$ac_objext
21147 if { (ac_try="$ac_compile"
21148 case "(($ac_try" in
21149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21150 *) ac_try_echo=$ac_try;;
21151 esac
21152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21153 (eval "$ac_compile") 2>conftest.er1
21154 ac_status=$?
21155 grep -v '^ *+' conftest.er1 >conftest.err
21156 rm -f conftest.er1
21157 cat conftest.err >&5
21158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21159 (exit $ac_status); } && {
21160 test -z "$ac_c_werror_flag" ||
21161 test ! -s conftest.err
21162 } && test -s conftest.$ac_objext; then
21163 ac_hi=-1 ac_mid=-1
21164 while :; do
21165 cat >conftest.$ac_ext <<_ACEOF
21166 /* confdefs.h. */
21167 _ACEOF
21168 cat confdefs.h >>conftest.$ac_ext
21169 cat >>conftest.$ac_ext <<_ACEOF
21170 /* end confdefs.h. */
21171 $ac_includes_default
21172 typedef void * ac__type_sizeof_;
21173 int
21174 main ()
21175 {
21176 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21177 test_array [0] = 0
21178
21179 ;
21180 return 0;
21181 }
21182 _ACEOF
21183 rm -f conftest.$ac_objext
21184 if { (ac_try="$ac_compile"
21185 case "(($ac_try" in
21186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21187 *) ac_try_echo=$ac_try;;
21188 esac
21189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21190 (eval "$ac_compile") 2>conftest.er1
21191 ac_status=$?
21192 grep -v '^ *+' conftest.er1 >conftest.err
21193 rm -f conftest.er1
21194 cat conftest.err >&5
21195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21196 (exit $ac_status); } && {
21197 test -z "$ac_c_werror_flag" ||
21198 test ! -s conftest.err
21199 } && test -s conftest.$ac_objext; then
21200 ac_lo=$ac_mid; break
21201 else
21202 echo "$as_me: failed program was:" >&5
21203 sed 's/^/| /' conftest.$ac_ext >&5
21204
21205 ac_hi=`expr '(' $ac_mid ')' - 1`
21206 if test $ac_mid -le $ac_hi; then
21207 ac_lo= ac_hi=
21208 break
21209 fi
21210 ac_mid=`expr 2 '*' $ac_mid`
21211 fi
21212
21213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21214 done
21215 else
21216 echo "$as_me: failed program was:" >&5
21217 sed 's/^/| /' conftest.$ac_ext >&5
21218
21219 ac_lo= ac_hi=
21220 fi
21221
21222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21223 fi
21224
21225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21226 # Binary search between lo and hi bounds.
21227 while test "x$ac_lo" != "x$ac_hi"; do
21228 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21229 cat >conftest.$ac_ext <<_ACEOF
21230 /* confdefs.h. */
21231 _ACEOF
21232 cat confdefs.h >>conftest.$ac_ext
21233 cat >>conftest.$ac_ext <<_ACEOF
21234 /* end confdefs.h. */
21235 $ac_includes_default
21236 typedef void * ac__type_sizeof_;
21237 int
21238 main ()
21239 {
21240 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21241 test_array [0] = 0
21242
21243 ;
21244 return 0;
21245 }
21246 _ACEOF
21247 rm -f conftest.$ac_objext
21248 if { (ac_try="$ac_compile"
21249 case "(($ac_try" in
21250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21251 *) ac_try_echo=$ac_try;;
21252 esac
21253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21254 (eval "$ac_compile") 2>conftest.er1
21255 ac_status=$?
21256 grep -v '^ *+' conftest.er1 >conftest.err
21257 rm -f conftest.er1
21258 cat conftest.err >&5
21259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21260 (exit $ac_status); } && {
21261 test -z "$ac_c_werror_flag" ||
21262 test ! -s conftest.err
21263 } && test -s conftest.$ac_objext; then
21264 ac_hi=$ac_mid
21265 else
21266 echo "$as_me: failed program was:" >&5
21267 sed 's/^/| /' conftest.$ac_ext >&5
21268
21269 ac_lo=`expr '(' $ac_mid ')' + 1`
21270 fi
21271
21272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21273 done
21274 case $ac_lo in
21275 ?*) ac_cv_sizeof_void_p=$ac_lo;;
21276 '') if test "$ac_cv_type_void_p" = yes; then
21277 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21278 See \`config.log' for more details." >&5
21279 echo "$as_me: error: cannot compute sizeof (void *)
21280 See \`config.log' for more details." >&2;}
21281 { (exit 77); exit 77; }; }
21282 else
21283 ac_cv_sizeof_void_p=0
21284 fi ;;
21285 esac
21286 else
21287 cat >conftest.$ac_ext <<_ACEOF
21288 /* confdefs.h. */
21289 _ACEOF
21290 cat confdefs.h >>conftest.$ac_ext
21291 cat >>conftest.$ac_ext <<_ACEOF
21292 /* end confdefs.h. */
21293 $ac_includes_default
21294 typedef void * ac__type_sizeof_;
21295 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21296 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21297 #include <stdio.h>
21298 #include <stdlib.h>
21299 int
21300 main ()
21301 {
21302
21303 FILE *f = fopen ("conftest.val", "w");
21304 if (! f)
21305 return 1;
21306 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21307 {
21308 long int i = longval ();
21309 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21310 return 1;
21311 fprintf (f, "%ld\n", i);
21312 }
21313 else
21314 {
21315 unsigned long int i = ulongval ();
21316 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21317 return 1;
21318 fprintf (f, "%lu\n", i);
21319 }
21320 return ferror (f) || fclose (f) != 0;
21321
21322 ;
21323 return 0;
21324 }
21325 _ACEOF
21326 rm -f conftest$ac_exeext
21327 if { (ac_try="$ac_link"
21328 case "(($ac_try" in
21329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21330 *) ac_try_echo=$ac_try;;
21331 esac
21332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21333 (eval "$ac_link") 2>&5
21334 ac_status=$?
21335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21336 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21337 { (case "(($ac_try" in
21338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21339 *) ac_try_echo=$ac_try;;
21340 esac
21341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21342 (eval "$ac_try") 2>&5
21343 ac_status=$?
21344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21345 (exit $ac_status); }; }; then
21346 ac_cv_sizeof_void_p=`cat conftest.val`
21347 else
21348 echo "$as_me: program exited with status $ac_status" >&5
21349 echo "$as_me: failed program was:" >&5
21350 sed 's/^/| /' conftest.$ac_ext >&5
21351
21352 ( exit $ac_status )
21353 if test "$ac_cv_type_void_p" = yes; then
21354 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21355 See \`config.log' for more details." >&5
21356 echo "$as_me: error: cannot compute sizeof (void *)
21357 See \`config.log' for more details." >&2;}
21358 { (exit 77); exit 77; }; }
21359 else
21360 ac_cv_sizeof_void_p=0
21361 fi
21362 fi
21363 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21364 fi
21365 rm -f conftest.val
21366 fi
21367 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
21368 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
21369
21370
21371
21372 cat >>confdefs.h <<_ACEOF
21373 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
21374 _ACEOF
21375
21376
21377 { echo "$as_me:$LINENO: checking for int" >&5
21378 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
21379 if test "${ac_cv_type_int+set}" = set; then
21380 echo $ECHO_N "(cached) $ECHO_C" >&6
21381 else
21382 cat >conftest.$ac_ext <<_ACEOF
21383 /* confdefs.h. */
21384 _ACEOF
21385 cat confdefs.h >>conftest.$ac_ext
21386 cat >>conftest.$ac_ext <<_ACEOF
21387 /* end confdefs.h. */
21388 $ac_includes_default
21389 typedef int ac__type_new_;
21390 int
21391 main ()
21392 {
21393 if ((ac__type_new_ *) 0)
21394 return 0;
21395 if (sizeof (ac__type_new_))
21396 return 0;
21397 ;
21398 return 0;
21399 }
21400 _ACEOF
21401 rm -f conftest.$ac_objext
21402 if { (ac_try="$ac_compile"
21403 case "(($ac_try" in
21404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21405 *) ac_try_echo=$ac_try;;
21406 esac
21407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21408 (eval "$ac_compile") 2>conftest.er1
21409 ac_status=$?
21410 grep -v '^ *+' conftest.er1 >conftest.err
21411 rm -f conftest.er1
21412 cat conftest.err >&5
21413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21414 (exit $ac_status); } && {
21415 test -z "$ac_c_werror_flag" ||
21416 test ! -s conftest.err
21417 } && test -s conftest.$ac_objext; then
21418 ac_cv_type_int=yes
21419 else
21420 echo "$as_me: failed program was:" >&5
21421 sed 's/^/| /' conftest.$ac_ext >&5
21422
21423 ac_cv_type_int=no
21424 fi
21425
21426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21427 fi
21428 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21429 echo "${ECHO_T}$ac_cv_type_int" >&6; }
21430
21431 # The cast to long int works around a bug in the HP C Compiler
21432 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21433 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21434 # This bug is HP SR number 8606223364.
21435 { echo "$as_me:$LINENO: checking size of int" >&5
21436 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
21437 if test "${ac_cv_sizeof_int+set}" = set; then
21438 echo $ECHO_N "(cached) $ECHO_C" >&6
21439 else
21440 if test "$cross_compiling" = yes; then
21441 # Depending upon the size, compute the lo and hi bounds.
21442 cat >conftest.$ac_ext <<_ACEOF
21443 /* confdefs.h. */
21444 _ACEOF
21445 cat confdefs.h >>conftest.$ac_ext
21446 cat >>conftest.$ac_ext <<_ACEOF
21447 /* end confdefs.h. */
21448 $ac_includes_default
21449 typedef int ac__type_sizeof_;
21450 int
21451 main ()
21452 {
21453 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21454 test_array [0] = 0
21455
21456 ;
21457 return 0;
21458 }
21459 _ACEOF
21460 rm -f conftest.$ac_objext
21461 if { (ac_try="$ac_compile"
21462 case "(($ac_try" in
21463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21464 *) ac_try_echo=$ac_try;;
21465 esac
21466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21467 (eval "$ac_compile") 2>conftest.er1
21468 ac_status=$?
21469 grep -v '^ *+' conftest.er1 >conftest.err
21470 rm -f conftest.er1
21471 cat conftest.err >&5
21472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21473 (exit $ac_status); } && {
21474 test -z "$ac_c_werror_flag" ||
21475 test ! -s conftest.err
21476 } && test -s conftest.$ac_objext; then
21477 ac_lo=0 ac_mid=0
21478 while :; do
21479 cat >conftest.$ac_ext <<_ACEOF
21480 /* confdefs.h. */
21481 _ACEOF
21482 cat confdefs.h >>conftest.$ac_ext
21483 cat >>conftest.$ac_ext <<_ACEOF
21484 /* end confdefs.h. */
21485 $ac_includes_default
21486 typedef int ac__type_sizeof_;
21487 int
21488 main ()
21489 {
21490 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21491 test_array [0] = 0
21492
21493 ;
21494 return 0;
21495 }
21496 _ACEOF
21497 rm -f conftest.$ac_objext
21498 if { (ac_try="$ac_compile"
21499 case "(($ac_try" in
21500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21501 *) ac_try_echo=$ac_try;;
21502 esac
21503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21504 (eval "$ac_compile") 2>conftest.er1
21505 ac_status=$?
21506 grep -v '^ *+' conftest.er1 >conftest.err
21507 rm -f conftest.er1
21508 cat conftest.err >&5
21509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510 (exit $ac_status); } && {
21511 test -z "$ac_c_werror_flag" ||
21512 test ! -s conftest.err
21513 } && test -s conftest.$ac_objext; then
21514 ac_hi=$ac_mid; break
21515 else
21516 echo "$as_me: failed program was:" >&5
21517 sed 's/^/| /' conftest.$ac_ext >&5
21518
21519 ac_lo=`expr $ac_mid + 1`
21520 if test $ac_lo -le $ac_mid; then
21521 ac_lo= ac_hi=
21522 break
21523 fi
21524 ac_mid=`expr 2 '*' $ac_mid + 1`
21525 fi
21526
21527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21528 done
21529 else
21530 echo "$as_me: failed program was:" >&5
21531 sed 's/^/| /' conftest.$ac_ext >&5
21532
21533 cat >conftest.$ac_ext <<_ACEOF
21534 /* confdefs.h. */
21535 _ACEOF
21536 cat confdefs.h >>conftest.$ac_ext
21537 cat >>conftest.$ac_ext <<_ACEOF
21538 /* end confdefs.h. */
21539 $ac_includes_default
21540 typedef int ac__type_sizeof_;
21541 int
21542 main ()
21543 {
21544 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21545 test_array [0] = 0
21546
21547 ;
21548 return 0;
21549 }
21550 _ACEOF
21551 rm -f conftest.$ac_objext
21552 if { (ac_try="$ac_compile"
21553 case "(($ac_try" in
21554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21555 *) ac_try_echo=$ac_try;;
21556 esac
21557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21558 (eval "$ac_compile") 2>conftest.er1
21559 ac_status=$?
21560 grep -v '^ *+' conftest.er1 >conftest.err
21561 rm -f conftest.er1
21562 cat conftest.err >&5
21563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21564 (exit $ac_status); } && {
21565 test -z "$ac_c_werror_flag" ||
21566 test ! -s conftest.err
21567 } && test -s conftest.$ac_objext; then
21568 ac_hi=-1 ac_mid=-1
21569 while :; do
21570 cat >conftest.$ac_ext <<_ACEOF
21571 /* confdefs.h. */
21572 _ACEOF
21573 cat confdefs.h >>conftest.$ac_ext
21574 cat >>conftest.$ac_ext <<_ACEOF
21575 /* end confdefs.h. */
21576 $ac_includes_default
21577 typedef int ac__type_sizeof_;
21578 int
21579 main ()
21580 {
21581 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21582 test_array [0] = 0
21583
21584 ;
21585 return 0;
21586 }
21587 _ACEOF
21588 rm -f conftest.$ac_objext
21589 if { (ac_try="$ac_compile"
21590 case "(($ac_try" in
21591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21592 *) ac_try_echo=$ac_try;;
21593 esac
21594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21595 (eval "$ac_compile") 2>conftest.er1
21596 ac_status=$?
21597 grep -v '^ *+' conftest.er1 >conftest.err
21598 rm -f conftest.er1
21599 cat conftest.err >&5
21600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21601 (exit $ac_status); } && {
21602 test -z "$ac_c_werror_flag" ||
21603 test ! -s conftest.err
21604 } && test -s conftest.$ac_objext; then
21605 ac_lo=$ac_mid; break
21606 else
21607 echo "$as_me: failed program was:" >&5
21608 sed 's/^/| /' conftest.$ac_ext >&5
21609
21610 ac_hi=`expr '(' $ac_mid ')' - 1`
21611 if test $ac_mid -le $ac_hi; then
21612 ac_lo= ac_hi=
21613 break
21614 fi
21615 ac_mid=`expr 2 '*' $ac_mid`
21616 fi
21617
21618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21619 done
21620 else
21621 echo "$as_me: failed program was:" >&5
21622 sed 's/^/| /' conftest.$ac_ext >&5
21623
21624 ac_lo= ac_hi=
21625 fi
21626
21627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21628 fi
21629
21630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21631 # Binary search between lo and hi bounds.
21632 while test "x$ac_lo" != "x$ac_hi"; do
21633 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21634 cat >conftest.$ac_ext <<_ACEOF
21635 /* confdefs.h. */
21636 _ACEOF
21637 cat confdefs.h >>conftest.$ac_ext
21638 cat >>conftest.$ac_ext <<_ACEOF
21639 /* end confdefs.h. */
21640 $ac_includes_default
21641 typedef int ac__type_sizeof_;
21642 int
21643 main ()
21644 {
21645 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21646 test_array [0] = 0
21647
21648 ;
21649 return 0;
21650 }
21651 _ACEOF
21652 rm -f conftest.$ac_objext
21653 if { (ac_try="$ac_compile"
21654 case "(($ac_try" in
21655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21656 *) ac_try_echo=$ac_try;;
21657 esac
21658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21659 (eval "$ac_compile") 2>conftest.er1
21660 ac_status=$?
21661 grep -v '^ *+' conftest.er1 >conftest.err
21662 rm -f conftest.er1
21663 cat conftest.err >&5
21664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21665 (exit $ac_status); } && {
21666 test -z "$ac_c_werror_flag" ||
21667 test ! -s conftest.err
21668 } && test -s conftest.$ac_objext; then
21669 ac_hi=$ac_mid
21670 else
21671 echo "$as_me: failed program was:" >&5
21672 sed 's/^/| /' conftest.$ac_ext >&5
21673
21674 ac_lo=`expr '(' $ac_mid ')' + 1`
21675 fi
21676
21677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21678 done
21679 case $ac_lo in
21680 ?*) ac_cv_sizeof_int=$ac_lo;;
21681 '') if test "$ac_cv_type_int" = yes; then
21682 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21683 See \`config.log' for more details." >&5
21684 echo "$as_me: error: cannot compute sizeof (int)
21685 See \`config.log' for more details." >&2;}
21686 { (exit 77); exit 77; }; }
21687 else
21688 ac_cv_sizeof_int=0
21689 fi ;;
21690 esac
21691 else
21692 cat >conftest.$ac_ext <<_ACEOF
21693 /* confdefs.h. */
21694 _ACEOF
21695 cat confdefs.h >>conftest.$ac_ext
21696 cat >>conftest.$ac_ext <<_ACEOF
21697 /* end confdefs.h. */
21698 $ac_includes_default
21699 typedef int ac__type_sizeof_;
21700 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21701 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21702 #include <stdio.h>
21703 #include <stdlib.h>
21704 int
21705 main ()
21706 {
21707
21708 FILE *f = fopen ("conftest.val", "w");
21709 if (! f)
21710 return 1;
21711 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21712 {
21713 long int i = longval ();
21714 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21715 return 1;
21716 fprintf (f, "%ld\n", i);
21717 }
21718 else
21719 {
21720 unsigned long int i = ulongval ();
21721 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21722 return 1;
21723 fprintf (f, "%lu\n", i);
21724 }
21725 return ferror (f) || fclose (f) != 0;
21726
21727 ;
21728 return 0;
21729 }
21730 _ACEOF
21731 rm -f conftest$ac_exeext
21732 if { (ac_try="$ac_link"
21733 case "(($ac_try" in
21734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21735 *) ac_try_echo=$ac_try;;
21736 esac
21737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21738 (eval "$ac_link") 2>&5
21739 ac_status=$?
21740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21741 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21742 { (case "(($ac_try" in
21743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21744 *) ac_try_echo=$ac_try;;
21745 esac
21746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21747 (eval "$ac_try") 2>&5
21748 ac_status=$?
21749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21750 (exit $ac_status); }; }; then
21751 ac_cv_sizeof_int=`cat conftest.val`
21752 else
21753 echo "$as_me: program exited with status $ac_status" >&5
21754 echo "$as_me: failed program was:" >&5
21755 sed 's/^/| /' conftest.$ac_ext >&5
21756
21757 ( exit $ac_status )
21758 if test "$ac_cv_type_int" = yes; then
21759 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21760 See \`config.log' for more details." >&5
21761 echo "$as_me: error: cannot compute sizeof (int)
21762 See \`config.log' for more details." >&2;}
21763 { (exit 77); exit 77; }; }
21764 else
21765 ac_cv_sizeof_int=0
21766 fi
21767 fi
21768 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21769 fi
21770 rm -f conftest.val
21771 fi
21772 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21773 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21774
21775
21776
21777 cat >>confdefs.h <<_ACEOF
21778 #define SIZEOF_INT $ac_cv_sizeof_int
21779 _ACEOF
21780
21781
21782 { echo "$as_me:$LINENO: checking for long" >&5
21783 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21784 if test "${ac_cv_type_long+set}" = set; then
21785 echo $ECHO_N "(cached) $ECHO_C" >&6
21786 else
21787 cat >conftest.$ac_ext <<_ACEOF
21788 /* confdefs.h. */
21789 _ACEOF
21790 cat confdefs.h >>conftest.$ac_ext
21791 cat >>conftest.$ac_ext <<_ACEOF
21792 /* end confdefs.h. */
21793 $ac_includes_default
21794 typedef long ac__type_new_;
21795 int
21796 main ()
21797 {
21798 if ((ac__type_new_ *) 0)
21799 return 0;
21800 if (sizeof (ac__type_new_))
21801 return 0;
21802 ;
21803 return 0;
21804 }
21805 _ACEOF
21806 rm -f conftest.$ac_objext
21807 if { (ac_try="$ac_compile"
21808 case "(($ac_try" in
21809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21810 *) ac_try_echo=$ac_try;;
21811 esac
21812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21813 (eval "$ac_compile") 2>conftest.er1
21814 ac_status=$?
21815 grep -v '^ *+' conftest.er1 >conftest.err
21816 rm -f conftest.er1
21817 cat conftest.err >&5
21818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21819 (exit $ac_status); } && {
21820 test -z "$ac_c_werror_flag" ||
21821 test ! -s conftest.err
21822 } && test -s conftest.$ac_objext; then
21823 ac_cv_type_long=yes
21824 else
21825 echo "$as_me: failed program was:" >&5
21826 sed 's/^/| /' conftest.$ac_ext >&5
21827
21828 ac_cv_type_long=no
21829 fi
21830
21831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21832 fi
21833 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21834 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21835
21836 # The cast to long int works around a bug in the HP C Compiler
21837 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21838 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21839 # This bug is HP SR number 8606223364.
21840 { echo "$as_me:$LINENO: checking size of long" >&5
21841 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21842 if test "${ac_cv_sizeof_long+set}" = set; then
21843 echo $ECHO_N "(cached) $ECHO_C" >&6
21844 else
21845 if test "$cross_compiling" = yes; then
21846 # Depending upon the size, compute the lo and hi bounds.
21847 cat >conftest.$ac_ext <<_ACEOF
21848 /* confdefs.h. */
21849 _ACEOF
21850 cat confdefs.h >>conftest.$ac_ext
21851 cat >>conftest.$ac_ext <<_ACEOF
21852 /* end confdefs.h. */
21853 $ac_includes_default
21854 typedef long ac__type_sizeof_;
21855 int
21856 main ()
21857 {
21858 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21859 test_array [0] = 0
21860
21861 ;
21862 return 0;
21863 }
21864 _ACEOF
21865 rm -f conftest.$ac_objext
21866 if { (ac_try="$ac_compile"
21867 case "(($ac_try" in
21868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21869 *) ac_try_echo=$ac_try;;
21870 esac
21871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21872 (eval "$ac_compile") 2>conftest.er1
21873 ac_status=$?
21874 grep -v '^ *+' conftest.er1 >conftest.err
21875 rm -f conftest.er1
21876 cat conftest.err >&5
21877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21878 (exit $ac_status); } && {
21879 test -z "$ac_c_werror_flag" ||
21880 test ! -s conftest.err
21881 } && test -s conftest.$ac_objext; then
21882 ac_lo=0 ac_mid=0
21883 while :; do
21884 cat >conftest.$ac_ext <<_ACEOF
21885 /* confdefs.h. */
21886 _ACEOF
21887 cat confdefs.h >>conftest.$ac_ext
21888 cat >>conftest.$ac_ext <<_ACEOF
21889 /* end confdefs.h. */
21890 $ac_includes_default
21891 typedef long ac__type_sizeof_;
21892 int
21893 main ()
21894 {
21895 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21896 test_array [0] = 0
21897
21898 ;
21899 return 0;
21900 }
21901 _ACEOF
21902 rm -f conftest.$ac_objext
21903 if { (ac_try="$ac_compile"
21904 case "(($ac_try" in
21905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21906 *) ac_try_echo=$ac_try;;
21907 esac
21908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21909 (eval "$ac_compile") 2>conftest.er1
21910 ac_status=$?
21911 grep -v '^ *+' conftest.er1 >conftest.err
21912 rm -f conftest.er1
21913 cat conftest.err >&5
21914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21915 (exit $ac_status); } && {
21916 test -z "$ac_c_werror_flag" ||
21917 test ! -s conftest.err
21918 } && test -s conftest.$ac_objext; then
21919 ac_hi=$ac_mid; break
21920 else
21921 echo "$as_me: failed program was:" >&5
21922 sed 's/^/| /' conftest.$ac_ext >&5
21923
21924 ac_lo=`expr $ac_mid + 1`
21925 if test $ac_lo -le $ac_mid; then
21926 ac_lo= ac_hi=
21927 break
21928 fi
21929 ac_mid=`expr 2 '*' $ac_mid + 1`
21930 fi
21931
21932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21933 done
21934 else
21935 echo "$as_me: failed program was:" >&5
21936 sed 's/^/| /' conftest.$ac_ext >&5
21937
21938 cat >conftest.$ac_ext <<_ACEOF
21939 /* confdefs.h. */
21940 _ACEOF
21941 cat confdefs.h >>conftest.$ac_ext
21942 cat >>conftest.$ac_ext <<_ACEOF
21943 /* end confdefs.h. */
21944 $ac_includes_default
21945 typedef long ac__type_sizeof_;
21946 int
21947 main ()
21948 {
21949 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21950 test_array [0] = 0
21951
21952 ;
21953 return 0;
21954 }
21955 _ACEOF
21956 rm -f conftest.$ac_objext
21957 if { (ac_try="$ac_compile"
21958 case "(($ac_try" in
21959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21960 *) ac_try_echo=$ac_try;;
21961 esac
21962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21963 (eval "$ac_compile") 2>conftest.er1
21964 ac_status=$?
21965 grep -v '^ *+' conftest.er1 >conftest.err
21966 rm -f conftest.er1
21967 cat conftest.err >&5
21968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21969 (exit $ac_status); } && {
21970 test -z "$ac_c_werror_flag" ||
21971 test ! -s conftest.err
21972 } && test -s conftest.$ac_objext; then
21973 ac_hi=-1 ac_mid=-1
21974 while :; do
21975 cat >conftest.$ac_ext <<_ACEOF
21976 /* confdefs.h. */
21977 _ACEOF
21978 cat confdefs.h >>conftest.$ac_ext
21979 cat >>conftest.$ac_ext <<_ACEOF
21980 /* end confdefs.h. */
21981 $ac_includes_default
21982 typedef long ac__type_sizeof_;
21983 int
21984 main ()
21985 {
21986 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21987 test_array [0] = 0
21988
21989 ;
21990 return 0;
21991 }
21992 _ACEOF
21993 rm -f conftest.$ac_objext
21994 if { (ac_try="$ac_compile"
21995 case "(($ac_try" in
21996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21997 *) ac_try_echo=$ac_try;;
21998 esac
21999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22000 (eval "$ac_compile") 2>conftest.er1
22001 ac_status=$?
22002 grep -v '^ *+' conftest.er1 >conftest.err
22003 rm -f conftest.er1
22004 cat conftest.err >&5
22005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22006 (exit $ac_status); } && {
22007 test -z "$ac_c_werror_flag" ||
22008 test ! -s conftest.err
22009 } && test -s conftest.$ac_objext; then
22010 ac_lo=$ac_mid; break
22011 else
22012 echo "$as_me: failed program was:" >&5
22013 sed 's/^/| /' conftest.$ac_ext >&5
22014
22015 ac_hi=`expr '(' $ac_mid ')' - 1`
22016 if test $ac_mid -le $ac_hi; then
22017 ac_lo= ac_hi=
22018 break
22019 fi
22020 ac_mid=`expr 2 '*' $ac_mid`
22021 fi
22022
22023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22024 done
22025 else
22026 echo "$as_me: failed program was:" >&5
22027 sed 's/^/| /' conftest.$ac_ext >&5
22028
22029 ac_lo= ac_hi=
22030 fi
22031
22032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22033 fi
22034
22035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22036 # Binary search between lo and hi bounds.
22037 while test "x$ac_lo" != "x$ac_hi"; do
22038 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22039 cat >conftest.$ac_ext <<_ACEOF
22040 /* confdefs.h. */
22041 _ACEOF
22042 cat confdefs.h >>conftest.$ac_ext
22043 cat >>conftest.$ac_ext <<_ACEOF
22044 /* end confdefs.h. */
22045 $ac_includes_default
22046 typedef long ac__type_sizeof_;
22047 int
22048 main ()
22049 {
22050 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22051 test_array [0] = 0
22052
22053 ;
22054 return 0;
22055 }
22056 _ACEOF
22057 rm -f conftest.$ac_objext
22058 if { (ac_try="$ac_compile"
22059 case "(($ac_try" in
22060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22061 *) ac_try_echo=$ac_try;;
22062 esac
22063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22064 (eval "$ac_compile") 2>conftest.er1
22065 ac_status=$?
22066 grep -v '^ *+' conftest.er1 >conftest.err
22067 rm -f conftest.er1
22068 cat conftest.err >&5
22069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22070 (exit $ac_status); } && {
22071 test -z "$ac_c_werror_flag" ||
22072 test ! -s conftest.err
22073 } && test -s conftest.$ac_objext; then
22074 ac_hi=$ac_mid
22075 else
22076 echo "$as_me: failed program was:" >&5
22077 sed 's/^/| /' conftest.$ac_ext >&5
22078
22079 ac_lo=`expr '(' $ac_mid ')' + 1`
22080 fi
22081
22082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22083 done
22084 case $ac_lo in
22085 ?*) ac_cv_sizeof_long=$ac_lo;;
22086 '') if test "$ac_cv_type_long" = yes; then
22087 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22088 See \`config.log' for more details." >&5
22089 echo "$as_me: error: cannot compute sizeof (long)
22090 See \`config.log' for more details." >&2;}
22091 { (exit 77); exit 77; }; }
22092 else
22093 ac_cv_sizeof_long=0
22094 fi ;;
22095 esac
22096 else
22097 cat >conftest.$ac_ext <<_ACEOF
22098 /* confdefs.h. */
22099 _ACEOF
22100 cat confdefs.h >>conftest.$ac_ext
22101 cat >>conftest.$ac_ext <<_ACEOF
22102 /* end confdefs.h. */
22103 $ac_includes_default
22104 typedef long ac__type_sizeof_;
22105 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22106 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22107 #include <stdio.h>
22108 #include <stdlib.h>
22109 int
22110 main ()
22111 {
22112
22113 FILE *f = fopen ("conftest.val", "w");
22114 if (! f)
22115 return 1;
22116 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22117 {
22118 long int i = longval ();
22119 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22120 return 1;
22121 fprintf (f, "%ld\n", i);
22122 }
22123 else
22124 {
22125 unsigned long int i = ulongval ();
22126 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22127 return 1;
22128 fprintf (f, "%lu\n", i);
22129 }
22130 return ferror (f) || fclose (f) != 0;
22131
22132 ;
22133 return 0;
22134 }
22135 _ACEOF
22136 rm -f conftest$ac_exeext
22137 if { (ac_try="$ac_link"
22138 case "(($ac_try" in
22139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22140 *) ac_try_echo=$ac_try;;
22141 esac
22142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22143 (eval "$ac_link") 2>&5
22144 ac_status=$?
22145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22146 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22147 { (case "(($ac_try" in
22148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22149 *) ac_try_echo=$ac_try;;
22150 esac
22151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22152 (eval "$ac_try") 2>&5
22153 ac_status=$?
22154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22155 (exit $ac_status); }; }; then
22156 ac_cv_sizeof_long=`cat conftest.val`
22157 else
22158 echo "$as_me: program exited with status $ac_status" >&5
22159 echo "$as_me: failed program was:" >&5
22160 sed 's/^/| /' conftest.$ac_ext >&5
22161
22162 ( exit $ac_status )
22163 if test "$ac_cv_type_long" = yes; then
22164 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22165 See \`config.log' for more details." >&5
22166 echo "$as_me: error: cannot compute sizeof (long)
22167 See \`config.log' for more details." >&2;}
22168 { (exit 77); exit 77; }; }
22169 else
22170 ac_cv_sizeof_long=0
22171 fi
22172 fi
22173 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22174 fi
22175 rm -f conftest.val
22176 fi
22177 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22178 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
22179
22180
22181
22182 cat >>confdefs.h <<_ACEOF
22183 #define SIZEOF_LONG $ac_cv_sizeof_long
22184 _ACEOF
22185
22186
22187 { echo "$as_me:$LINENO: checking for size_t" >&5
22188 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22189 if test "${ac_cv_type_size_t+set}" = set; then
22190 echo $ECHO_N "(cached) $ECHO_C" >&6
22191 else
22192 cat >conftest.$ac_ext <<_ACEOF
22193 /* confdefs.h. */
22194 _ACEOF
22195 cat confdefs.h >>conftest.$ac_ext
22196 cat >>conftest.$ac_ext <<_ACEOF
22197 /* end confdefs.h. */
22198 $ac_includes_default
22199 typedef size_t ac__type_new_;
22200 int
22201 main ()
22202 {
22203 if ((ac__type_new_ *) 0)
22204 return 0;
22205 if (sizeof (ac__type_new_))
22206 return 0;
22207 ;
22208 return 0;
22209 }
22210 _ACEOF
22211 rm -f conftest.$ac_objext
22212 if { (ac_try="$ac_compile"
22213 case "(($ac_try" in
22214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22215 *) ac_try_echo=$ac_try;;
22216 esac
22217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22218 (eval "$ac_compile") 2>conftest.er1
22219 ac_status=$?
22220 grep -v '^ *+' conftest.er1 >conftest.err
22221 rm -f conftest.er1
22222 cat conftest.err >&5
22223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22224 (exit $ac_status); } && {
22225 test -z "$ac_c_werror_flag" ||
22226 test ! -s conftest.err
22227 } && test -s conftest.$ac_objext; then
22228 ac_cv_type_size_t=yes
22229 else
22230 echo "$as_me: failed program was:" >&5
22231 sed 's/^/| /' conftest.$ac_ext >&5
22232
22233 ac_cv_type_size_t=no
22234 fi
22235
22236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22237 fi
22238 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22239 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22240
22241 # The cast to long int works around a bug in the HP C Compiler
22242 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22243 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22244 # This bug is HP SR number 8606223364.
22245 { echo "$as_me:$LINENO: checking size of size_t" >&5
22246 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
22247 if test "${ac_cv_sizeof_size_t+set}" = set; then
22248 echo $ECHO_N "(cached) $ECHO_C" >&6
22249 else
22250 if test "$cross_compiling" = yes; then
22251 # Depending upon the size, compute the lo and hi bounds.
22252 cat >conftest.$ac_ext <<_ACEOF
22253 /* confdefs.h. */
22254 _ACEOF
22255 cat confdefs.h >>conftest.$ac_ext
22256 cat >>conftest.$ac_ext <<_ACEOF
22257 /* end confdefs.h. */
22258 $ac_includes_default
22259 typedef size_t ac__type_sizeof_;
22260 int
22261 main ()
22262 {
22263 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22264 test_array [0] = 0
22265
22266 ;
22267 return 0;
22268 }
22269 _ACEOF
22270 rm -f conftest.$ac_objext
22271 if { (ac_try="$ac_compile"
22272 case "(($ac_try" in
22273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22274 *) ac_try_echo=$ac_try;;
22275 esac
22276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22277 (eval "$ac_compile") 2>conftest.er1
22278 ac_status=$?
22279 grep -v '^ *+' conftest.er1 >conftest.err
22280 rm -f conftest.er1
22281 cat conftest.err >&5
22282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22283 (exit $ac_status); } && {
22284 test -z "$ac_c_werror_flag" ||
22285 test ! -s conftest.err
22286 } && test -s conftest.$ac_objext; then
22287 ac_lo=0 ac_mid=0
22288 while :; do
22289 cat >conftest.$ac_ext <<_ACEOF
22290 /* confdefs.h. */
22291 _ACEOF
22292 cat confdefs.h >>conftest.$ac_ext
22293 cat >>conftest.$ac_ext <<_ACEOF
22294 /* end confdefs.h. */
22295 $ac_includes_default
22296 typedef size_t ac__type_sizeof_;
22297 int
22298 main ()
22299 {
22300 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22301 test_array [0] = 0
22302
22303 ;
22304 return 0;
22305 }
22306 _ACEOF
22307 rm -f conftest.$ac_objext
22308 if { (ac_try="$ac_compile"
22309 case "(($ac_try" in
22310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22311 *) ac_try_echo=$ac_try;;
22312 esac
22313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22314 (eval "$ac_compile") 2>conftest.er1
22315 ac_status=$?
22316 grep -v '^ *+' conftest.er1 >conftest.err
22317 rm -f conftest.er1
22318 cat conftest.err >&5
22319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22320 (exit $ac_status); } && {
22321 test -z "$ac_c_werror_flag" ||
22322 test ! -s conftest.err
22323 } && test -s conftest.$ac_objext; then
22324 ac_hi=$ac_mid; break
22325 else
22326 echo "$as_me: failed program was:" >&5
22327 sed 's/^/| /' conftest.$ac_ext >&5
22328
22329 ac_lo=`expr $ac_mid + 1`
22330 if test $ac_lo -le $ac_mid; then
22331 ac_lo= ac_hi=
22332 break
22333 fi
22334 ac_mid=`expr 2 '*' $ac_mid + 1`
22335 fi
22336
22337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22338 done
22339 else
22340 echo "$as_me: failed program was:" >&5
22341 sed 's/^/| /' conftest.$ac_ext >&5
22342
22343 cat >conftest.$ac_ext <<_ACEOF
22344 /* confdefs.h. */
22345 _ACEOF
22346 cat confdefs.h >>conftest.$ac_ext
22347 cat >>conftest.$ac_ext <<_ACEOF
22348 /* end confdefs.h. */
22349 $ac_includes_default
22350 typedef size_t ac__type_sizeof_;
22351 int
22352 main ()
22353 {
22354 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22355 test_array [0] = 0
22356
22357 ;
22358 return 0;
22359 }
22360 _ACEOF
22361 rm -f conftest.$ac_objext
22362 if { (ac_try="$ac_compile"
22363 case "(($ac_try" in
22364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22365 *) ac_try_echo=$ac_try;;
22366 esac
22367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22368 (eval "$ac_compile") 2>conftest.er1
22369 ac_status=$?
22370 grep -v '^ *+' conftest.er1 >conftest.err
22371 rm -f conftest.er1
22372 cat conftest.err >&5
22373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22374 (exit $ac_status); } && {
22375 test -z "$ac_c_werror_flag" ||
22376 test ! -s conftest.err
22377 } && test -s conftest.$ac_objext; then
22378 ac_hi=-1 ac_mid=-1
22379 while :; do
22380 cat >conftest.$ac_ext <<_ACEOF
22381 /* confdefs.h. */
22382 _ACEOF
22383 cat confdefs.h >>conftest.$ac_ext
22384 cat >>conftest.$ac_ext <<_ACEOF
22385 /* end confdefs.h. */
22386 $ac_includes_default
22387 typedef size_t ac__type_sizeof_;
22388 int
22389 main ()
22390 {
22391 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22392 test_array [0] = 0
22393
22394 ;
22395 return 0;
22396 }
22397 _ACEOF
22398 rm -f conftest.$ac_objext
22399 if { (ac_try="$ac_compile"
22400 case "(($ac_try" in
22401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22402 *) ac_try_echo=$ac_try;;
22403 esac
22404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22405 (eval "$ac_compile") 2>conftest.er1
22406 ac_status=$?
22407 grep -v '^ *+' conftest.er1 >conftest.err
22408 rm -f conftest.er1
22409 cat conftest.err >&5
22410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22411 (exit $ac_status); } && {
22412 test -z "$ac_c_werror_flag" ||
22413 test ! -s conftest.err
22414 } && test -s conftest.$ac_objext; then
22415 ac_lo=$ac_mid; break
22416 else
22417 echo "$as_me: failed program was:" >&5
22418 sed 's/^/| /' conftest.$ac_ext >&5
22419
22420 ac_hi=`expr '(' $ac_mid ')' - 1`
22421 if test $ac_mid -le $ac_hi; then
22422 ac_lo= ac_hi=
22423 break
22424 fi
22425 ac_mid=`expr 2 '*' $ac_mid`
22426 fi
22427
22428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22429 done
22430 else
22431 echo "$as_me: failed program was:" >&5
22432 sed 's/^/| /' conftest.$ac_ext >&5
22433
22434 ac_lo= ac_hi=
22435 fi
22436
22437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22438 fi
22439
22440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22441 # Binary search between lo and hi bounds.
22442 while test "x$ac_lo" != "x$ac_hi"; do
22443 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22444 cat >conftest.$ac_ext <<_ACEOF
22445 /* confdefs.h. */
22446 _ACEOF
22447 cat confdefs.h >>conftest.$ac_ext
22448 cat >>conftest.$ac_ext <<_ACEOF
22449 /* end confdefs.h. */
22450 $ac_includes_default
22451 typedef size_t ac__type_sizeof_;
22452 int
22453 main ()
22454 {
22455 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22456 test_array [0] = 0
22457
22458 ;
22459 return 0;
22460 }
22461 _ACEOF
22462 rm -f conftest.$ac_objext
22463 if { (ac_try="$ac_compile"
22464 case "(($ac_try" in
22465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22466 *) ac_try_echo=$ac_try;;
22467 esac
22468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22469 (eval "$ac_compile") 2>conftest.er1
22470 ac_status=$?
22471 grep -v '^ *+' conftest.er1 >conftest.err
22472 rm -f conftest.er1
22473 cat conftest.err >&5
22474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22475 (exit $ac_status); } && {
22476 test -z "$ac_c_werror_flag" ||
22477 test ! -s conftest.err
22478 } && test -s conftest.$ac_objext; then
22479 ac_hi=$ac_mid
22480 else
22481 echo "$as_me: failed program was:" >&5
22482 sed 's/^/| /' conftest.$ac_ext >&5
22483
22484 ac_lo=`expr '(' $ac_mid ')' + 1`
22485 fi
22486
22487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22488 done
22489 case $ac_lo in
22490 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22491 '') if test "$ac_cv_type_size_t" = yes; then
22492 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22493 See \`config.log' for more details." >&5
22494 echo "$as_me: error: cannot compute sizeof (size_t)
22495 See \`config.log' for more details." >&2;}
22496 { (exit 77); exit 77; }; }
22497 else
22498 ac_cv_sizeof_size_t=0
22499 fi ;;
22500 esac
22501 else
22502 cat >conftest.$ac_ext <<_ACEOF
22503 /* confdefs.h. */
22504 _ACEOF
22505 cat confdefs.h >>conftest.$ac_ext
22506 cat >>conftest.$ac_ext <<_ACEOF
22507 /* end confdefs.h. */
22508 $ac_includes_default
22509 typedef size_t ac__type_sizeof_;
22510 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22511 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22512 #include <stdio.h>
22513 #include <stdlib.h>
22514 int
22515 main ()
22516 {
22517
22518 FILE *f = fopen ("conftest.val", "w");
22519 if (! f)
22520 return 1;
22521 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22522 {
22523 long int i = longval ();
22524 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22525 return 1;
22526 fprintf (f, "%ld\n", i);
22527 }
22528 else
22529 {
22530 unsigned long int i = ulongval ();
22531 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22532 return 1;
22533 fprintf (f, "%lu\n", i);
22534 }
22535 return ferror (f) || fclose (f) != 0;
22536
22537 ;
22538 return 0;
22539 }
22540 _ACEOF
22541 rm -f conftest$ac_exeext
22542 if { (ac_try="$ac_link"
22543 case "(($ac_try" in
22544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22545 *) ac_try_echo=$ac_try;;
22546 esac
22547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22548 (eval "$ac_link") 2>&5
22549 ac_status=$?
22550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22551 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22552 { (case "(($ac_try" in
22553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22554 *) ac_try_echo=$ac_try;;
22555 esac
22556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22557 (eval "$ac_try") 2>&5
22558 ac_status=$?
22559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22560 (exit $ac_status); }; }; then
22561 ac_cv_sizeof_size_t=`cat conftest.val`
22562 else
22563 echo "$as_me: program exited with status $ac_status" >&5
22564 echo "$as_me: failed program was:" >&5
22565 sed 's/^/| /' conftest.$ac_ext >&5
22566
22567 ( exit $ac_status )
22568 if test "$ac_cv_type_size_t" = yes; then
22569 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22570 See \`config.log' for more details." >&5
22571 echo "$as_me: error: cannot compute sizeof (size_t)
22572 See \`config.log' for more details." >&2;}
22573 { (exit 77); exit 77; }; }
22574 else
22575 ac_cv_sizeof_size_t=0
22576 fi
22577 fi
22578 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22579 fi
22580 rm -f conftest.val
22581 fi
22582 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22583 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22584
22585
22586
22587 cat >>confdefs.h <<_ACEOF
22588 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22589 _ACEOF
22590
22591
22592
22593 case "${host}" in
22594 arm-*-linux* )
22595 { echo "$as_me:$LINENO: checking for long long" >&5
22596 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22597 if test "${ac_cv_type_long_long+set}" = set; then
22598 echo $ECHO_N "(cached) $ECHO_C" >&6
22599 else
22600 cat >conftest.$ac_ext <<_ACEOF
22601 /* confdefs.h. */
22602 _ACEOF
22603 cat confdefs.h >>conftest.$ac_ext
22604 cat >>conftest.$ac_ext <<_ACEOF
22605 /* end confdefs.h. */
22606 $ac_includes_default
22607 typedef long long ac__type_new_;
22608 int
22609 main ()
22610 {
22611 if ((ac__type_new_ *) 0)
22612 return 0;
22613 if (sizeof (ac__type_new_))
22614 return 0;
22615 ;
22616 return 0;
22617 }
22618 _ACEOF
22619 rm -f conftest.$ac_objext
22620 if { (ac_try="$ac_compile"
22621 case "(($ac_try" in
22622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22623 *) ac_try_echo=$ac_try;;
22624 esac
22625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22626 (eval "$ac_compile") 2>conftest.er1
22627 ac_status=$?
22628 grep -v '^ *+' conftest.er1 >conftest.err
22629 rm -f conftest.er1
22630 cat conftest.err >&5
22631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22632 (exit $ac_status); } && {
22633 test -z "$ac_c_werror_flag" ||
22634 test ! -s conftest.err
22635 } && test -s conftest.$ac_objext; then
22636 ac_cv_type_long_long=yes
22637 else
22638 echo "$as_me: failed program was:" >&5
22639 sed 's/^/| /' conftest.$ac_ext >&5
22640
22641 ac_cv_type_long_long=no
22642 fi
22643
22644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22645 fi
22646 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22647 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22648
22649 # The cast to long int works around a bug in the HP C Compiler
22650 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22651 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22652 # This bug is HP SR number 8606223364.
22653 { echo "$as_me:$LINENO: checking size of long long" >&5
22654 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22655 if test "${ac_cv_sizeof_long_long+set}" = set; then
22656 echo $ECHO_N "(cached) $ECHO_C" >&6
22657 else
22658 if test "$cross_compiling" = yes; then
22659 # Depending upon the size, compute the lo and hi bounds.
22660 cat >conftest.$ac_ext <<_ACEOF
22661 /* confdefs.h. */
22662 _ACEOF
22663 cat confdefs.h >>conftest.$ac_ext
22664 cat >>conftest.$ac_ext <<_ACEOF
22665 /* end confdefs.h. */
22666 $ac_includes_default
22667 typedef long long ac__type_sizeof_;
22668 int
22669 main ()
22670 {
22671 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22672 test_array [0] = 0
22673
22674 ;
22675 return 0;
22676 }
22677 _ACEOF
22678 rm -f conftest.$ac_objext
22679 if { (ac_try="$ac_compile"
22680 case "(($ac_try" in
22681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22682 *) ac_try_echo=$ac_try;;
22683 esac
22684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22685 (eval "$ac_compile") 2>conftest.er1
22686 ac_status=$?
22687 grep -v '^ *+' conftest.er1 >conftest.err
22688 rm -f conftest.er1
22689 cat conftest.err >&5
22690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22691 (exit $ac_status); } && {
22692 test -z "$ac_c_werror_flag" ||
22693 test ! -s conftest.err
22694 } && test -s conftest.$ac_objext; then
22695 ac_lo=0 ac_mid=0
22696 while :; do
22697 cat >conftest.$ac_ext <<_ACEOF
22698 /* confdefs.h. */
22699 _ACEOF
22700 cat confdefs.h >>conftest.$ac_ext
22701 cat >>conftest.$ac_ext <<_ACEOF
22702 /* end confdefs.h. */
22703 $ac_includes_default
22704 typedef long long ac__type_sizeof_;
22705 int
22706 main ()
22707 {
22708 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22709 test_array [0] = 0
22710
22711 ;
22712 return 0;
22713 }
22714 _ACEOF
22715 rm -f conftest.$ac_objext
22716 if { (ac_try="$ac_compile"
22717 case "(($ac_try" in
22718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22719 *) ac_try_echo=$ac_try;;
22720 esac
22721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22722 (eval "$ac_compile") 2>conftest.er1
22723 ac_status=$?
22724 grep -v '^ *+' conftest.er1 >conftest.err
22725 rm -f conftest.er1
22726 cat conftest.err >&5
22727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22728 (exit $ac_status); } && {
22729 test -z "$ac_c_werror_flag" ||
22730 test ! -s conftest.err
22731 } && test -s conftest.$ac_objext; then
22732 ac_hi=$ac_mid; break
22733 else
22734 echo "$as_me: failed program was:" >&5
22735 sed 's/^/| /' conftest.$ac_ext >&5
22736
22737 ac_lo=`expr $ac_mid + 1`
22738 if test $ac_lo -le $ac_mid; then
22739 ac_lo= ac_hi=
22740 break
22741 fi
22742 ac_mid=`expr 2 '*' $ac_mid + 1`
22743 fi
22744
22745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22746 done
22747 else
22748 echo "$as_me: failed program was:" >&5
22749 sed 's/^/| /' conftest.$ac_ext >&5
22750
22751 cat >conftest.$ac_ext <<_ACEOF
22752 /* confdefs.h. */
22753 _ACEOF
22754 cat confdefs.h >>conftest.$ac_ext
22755 cat >>conftest.$ac_ext <<_ACEOF
22756 /* end confdefs.h. */
22757 $ac_includes_default
22758 typedef long long ac__type_sizeof_;
22759 int
22760 main ()
22761 {
22762 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22763 test_array [0] = 0
22764
22765 ;
22766 return 0;
22767 }
22768 _ACEOF
22769 rm -f conftest.$ac_objext
22770 if { (ac_try="$ac_compile"
22771 case "(($ac_try" in
22772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22773 *) ac_try_echo=$ac_try;;
22774 esac
22775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22776 (eval "$ac_compile") 2>conftest.er1
22777 ac_status=$?
22778 grep -v '^ *+' conftest.er1 >conftest.err
22779 rm -f conftest.er1
22780 cat conftest.err >&5
22781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782 (exit $ac_status); } && {
22783 test -z "$ac_c_werror_flag" ||
22784 test ! -s conftest.err
22785 } && test -s conftest.$ac_objext; then
22786 ac_hi=-1 ac_mid=-1
22787 while :; do
22788 cat >conftest.$ac_ext <<_ACEOF
22789 /* confdefs.h. */
22790 _ACEOF
22791 cat confdefs.h >>conftest.$ac_ext
22792 cat >>conftest.$ac_ext <<_ACEOF
22793 /* end confdefs.h. */
22794 $ac_includes_default
22795 typedef long long ac__type_sizeof_;
22796 int
22797 main ()
22798 {
22799 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22800 test_array [0] = 0
22801
22802 ;
22803 return 0;
22804 }
22805 _ACEOF
22806 rm -f conftest.$ac_objext
22807 if { (ac_try="$ac_compile"
22808 case "(($ac_try" in
22809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22810 *) ac_try_echo=$ac_try;;
22811 esac
22812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22813 (eval "$ac_compile") 2>conftest.er1
22814 ac_status=$?
22815 grep -v '^ *+' conftest.er1 >conftest.err
22816 rm -f conftest.er1
22817 cat conftest.err >&5
22818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22819 (exit $ac_status); } && {
22820 test -z "$ac_c_werror_flag" ||
22821 test ! -s conftest.err
22822 } && test -s conftest.$ac_objext; then
22823 ac_lo=$ac_mid; break
22824 else
22825 echo "$as_me: failed program was:" >&5
22826 sed 's/^/| /' conftest.$ac_ext >&5
22827
22828 ac_hi=`expr '(' $ac_mid ')' - 1`
22829 if test $ac_mid -le $ac_hi; then
22830 ac_lo= ac_hi=
22831 break
22832 fi
22833 ac_mid=`expr 2 '*' $ac_mid`
22834 fi
22835
22836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22837 done
22838 else
22839 echo "$as_me: failed program was:" >&5
22840 sed 's/^/| /' conftest.$ac_ext >&5
22841
22842 ac_lo= ac_hi=
22843 fi
22844
22845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22846 fi
22847
22848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22849 # Binary search between lo and hi bounds.
22850 while test "x$ac_lo" != "x$ac_hi"; do
22851 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22852 cat >conftest.$ac_ext <<_ACEOF
22853 /* confdefs.h. */
22854 _ACEOF
22855 cat confdefs.h >>conftest.$ac_ext
22856 cat >>conftest.$ac_ext <<_ACEOF
22857 /* end confdefs.h. */
22858 $ac_includes_default
22859 typedef long long ac__type_sizeof_;
22860 int
22861 main ()
22862 {
22863 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22864 test_array [0] = 0
22865
22866 ;
22867 return 0;
22868 }
22869 _ACEOF
22870 rm -f conftest.$ac_objext
22871 if { (ac_try="$ac_compile"
22872 case "(($ac_try" in
22873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22874 *) ac_try_echo=$ac_try;;
22875 esac
22876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22877 (eval "$ac_compile") 2>conftest.er1
22878 ac_status=$?
22879 grep -v '^ *+' conftest.er1 >conftest.err
22880 rm -f conftest.er1
22881 cat conftest.err >&5
22882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22883 (exit $ac_status); } && {
22884 test -z "$ac_c_werror_flag" ||
22885 test ! -s conftest.err
22886 } && test -s conftest.$ac_objext; then
22887 ac_hi=$ac_mid
22888 else
22889 echo "$as_me: failed program was:" >&5
22890 sed 's/^/| /' conftest.$ac_ext >&5
22891
22892 ac_lo=`expr '(' $ac_mid ')' + 1`
22893 fi
22894
22895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22896 done
22897 case $ac_lo in
22898 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22899 '') if test "$ac_cv_type_long_long" = yes; then
22900 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22901 See \`config.log' for more details." >&5
22902 echo "$as_me: error: cannot compute sizeof (long long)
22903 See \`config.log' for more details." >&2;}
22904 { (exit 77); exit 77; }; }
22905 else
22906 ac_cv_sizeof_long_long=0
22907 fi ;;
22908 esac
22909 else
22910 cat >conftest.$ac_ext <<_ACEOF
22911 /* confdefs.h. */
22912 _ACEOF
22913 cat confdefs.h >>conftest.$ac_ext
22914 cat >>conftest.$ac_ext <<_ACEOF
22915 /* end confdefs.h. */
22916 $ac_includes_default
22917 typedef long long ac__type_sizeof_;
22918 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22919 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22920 #include <stdio.h>
22921 #include <stdlib.h>
22922 int
22923 main ()
22924 {
22925
22926 FILE *f = fopen ("conftest.val", "w");
22927 if (! f)
22928 return 1;
22929 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22930 {
22931 long int i = longval ();
22932 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22933 return 1;
22934 fprintf (f, "%ld\n", i);
22935 }
22936 else
22937 {
22938 unsigned long int i = ulongval ();
22939 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22940 return 1;
22941 fprintf (f, "%lu\n", i);
22942 }
22943 return ferror (f) || fclose (f) != 0;
22944
22945 ;
22946 return 0;
22947 }
22948 _ACEOF
22949 rm -f conftest$ac_exeext
22950 if { (ac_try="$ac_link"
22951 case "(($ac_try" in
22952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22953 *) ac_try_echo=$ac_try;;
22954 esac
22955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22956 (eval "$ac_link") 2>&5
22957 ac_status=$?
22958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22959 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22960 { (case "(($ac_try" in
22961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22962 *) ac_try_echo=$ac_try;;
22963 esac
22964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22965 (eval "$ac_try") 2>&5
22966 ac_status=$?
22967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22968 (exit $ac_status); }; }; then
22969 ac_cv_sizeof_long_long=`cat conftest.val`
22970 else
22971 echo "$as_me: program exited with status $ac_status" >&5
22972 echo "$as_me: failed program was:" >&5
22973 sed 's/^/| /' conftest.$ac_ext >&5
22974
22975 ( exit $ac_status )
22976 if test "$ac_cv_type_long_long" = yes; then
22977 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22978 See \`config.log' for more details." >&5
22979 echo "$as_me: error: cannot compute sizeof (long long)
22980 See \`config.log' for more details." >&2;}
22981 { (exit 77); exit 77; }; }
22982 else
22983 ac_cv_sizeof_long_long=0
22984 fi
22985 fi
22986 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22987 fi
22988 rm -f conftest.val
22989 fi
22990 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22991 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22992
22993
22994
22995 cat >>confdefs.h <<_ACEOF
22996 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22997 _ACEOF
22998
22999
23000 ;;
23001 *-hp-hpux* )
23002 { echo "$as_me:$LINENO: checking for long long" >&5
23003 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23004 if test "${ac_cv_type_long_long+set}" = set; then
23005 echo $ECHO_N "(cached) $ECHO_C" >&6
23006 else
23007 cat >conftest.$ac_ext <<_ACEOF
23008 /* confdefs.h. */
23009 _ACEOF
23010 cat confdefs.h >>conftest.$ac_ext
23011 cat >>conftest.$ac_ext <<_ACEOF
23012 /* end confdefs.h. */
23013 $ac_includes_default
23014 typedef long long ac__type_new_;
23015 int
23016 main ()
23017 {
23018 if ((ac__type_new_ *) 0)
23019 return 0;
23020 if (sizeof (ac__type_new_))
23021 return 0;
23022 ;
23023 return 0;
23024 }
23025 _ACEOF
23026 rm -f conftest.$ac_objext
23027 if { (ac_try="$ac_compile"
23028 case "(($ac_try" in
23029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23030 *) ac_try_echo=$ac_try;;
23031 esac
23032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23033 (eval "$ac_compile") 2>conftest.er1
23034 ac_status=$?
23035 grep -v '^ *+' conftest.er1 >conftest.err
23036 rm -f conftest.er1
23037 cat conftest.err >&5
23038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23039 (exit $ac_status); } && {
23040 test -z "$ac_c_werror_flag" ||
23041 test ! -s conftest.err
23042 } && test -s conftest.$ac_objext; then
23043 ac_cv_type_long_long=yes
23044 else
23045 echo "$as_me: failed program was:" >&5
23046 sed 's/^/| /' conftest.$ac_ext >&5
23047
23048 ac_cv_type_long_long=no
23049 fi
23050
23051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23052 fi
23053 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23054 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23055
23056 # The cast to long int works around a bug in the HP C Compiler
23057 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23058 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23059 # This bug is HP SR number 8606223364.
23060 { echo "$as_me:$LINENO: checking size of long long" >&5
23061 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23062 if test "${ac_cv_sizeof_long_long+set}" = set; then
23063 echo $ECHO_N "(cached) $ECHO_C" >&6
23064 else
23065 if test "$cross_compiling" = yes; then
23066 # Depending upon the size, compute the lo and hi bounds.
23067 cat >conftest.$ac_ext <<_ACEOF
23068 /* confdefs.h. */
23069 _ACEOF
23070 cat confdefs.h >>conftest.$ac_ext
23071 cat >>conftest.$ac_ext <<_ACEOF
23072 /* end confdefs.h. */
23073 $ac_includes_default
23074 typedef long long ac__type_sizeof_;
23075 int
23076 main ()
23077 {
23078 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23079 test_array [0] = 0
23080
23081 ;
23082 return 0;
23083 }
23084 _ACEOF
23085 rm -f conftest.$ac_objext
23086 if { (ac_try="$ac_compile"
23087 case "(($ac_try" in
23088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23089 *) ac_try_echo=$ac_try;;
23090 esac
23091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23092 (eval "$ac_compile") 2>conftest.er1
23093 ac_status=$?
23094 grep -v '^ *+' conftest.er1 >conftest.err
23095 rm -f conftest.er1
23096 cat conftest.err >&5
23097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23098 (exit $ac_status); } && {
23099 test -z "$ac_c_werror_flag" ||
23100 test ! -s conftest.err
23101 } && test -s conftest.$ac_objext; then
23102 ac_lo=0 ac_mid=0
23103 while :; do
23104 cat >conftest.$ac_ext <<_ACEOF
23105 /* confdefs.h. */
23106 _ACEOF
23107 cat confdefs.h >>conftest.$ac_ext
23108 cat >>conftest.$ac_ext <<_ACEOF
23109 /* end confdefs.h. */
23110 $ac_includes_default
23111 typedef long long ac__type_sizeof_;
23112 int
23113 main ()
23114 {
23115 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23116 test_array [0] = 0
23117
23118 ;
23119 return 0;
23120 }
23121 _ACEOF
23122 rm -f conftest.$ac_objext
23123 if { (ac_try="$ac_compile"
23124 case "(($ac_try" in
23125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23126 *) ac_try_echo=$ac_try;;
23127 esac
23128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23129 (eval "$ac_compile") 2>conftest.er1
23130 ac_status=$?
23131 grep -v '^ *+' conftest.er1 >conftest.err
23132 rm -f conftest.er1
23133 cat conftest.err >&5
23134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23135 (exit $ac_status); } && {
23136 test -z "$ac_c_werror_flag" ||
23137 test ! -s conftest.err
23138 } && test -s conftest.$ac_objext; then
23139 ac_hi=$ac_mid; break
23140 else
23141 echo "$as_me: failed program was:" >&5
23142 sed 's/^/| /' conftest.$ac_ext >&5
23143
23144 ac_lo=`expr $ac_mid + 1`
23145 if test $ac_lo -le $ac_mid; then
23146 ac_lo= ac_hi=
23147 break
23148 fi
23149 ac_mid=`expr 2 '*' $ac_mid + 1`
23150 fi
23151
23152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23153 done
23154 else
23155 echo "$as_me: failed program was:" >&5
23156 sed 's/^/| /' conftest.$ac_ext >&5
23157
23158 cat >conftest.$ac_ext <<_ACEOF
23159 /* confdefs.h. */
23160 _ACEOF
23161 cat confdefs.h >>conftest.$ac_ext
23162 cat >>conftest.$ac_ext <<_ACEOF
23163 /* end confdefs.h. */
23164 $ac_includes_default
23165 typedef long long ac__type_sizeof_;
23166 int
23167 main ()
23168 {
23169 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23170 test_array [0] = 0
23171
23172 ;
23173 return 0;
23174 }
23175 _ACEOF
23176 rm -f conftest.$ac_objext
23177 if { (ac_try="$ac_compile"
23178 case "(($ac_try" in
23179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23180 *) ac_try_echo=$ac_try;;
23181 esac
23182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23183 (eval "$ac_compile") 2>conftest.er1
23184 ac_status=$?
23185 grep -v '^ *+' conftest.er1 >conftest.err
23186 rm -f conftest.er1
23187 cat conftest.err >&5
23188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23189 (exit $ac_status); } && {
23190 test -z "$ac_c_werror_flag" ||
23191 test ! -s conftest.err
23192 } && test -s conftest.$ac_objext; then
23193 ac_hi=-1 ac_mid=-1
23194 while :; do
23195 cat >conftest.$ac_ext <<_ACEOF
23196 /* confdefs.h. */
23197 _ACEOF
23198 cat confdefs.h >>conftest.$ac_ext
23199 cat >>conftest.$ac_ext <<_ACEOF
23200 /* end confdefs.h. */
23201 $ac_includes_default
23202 typedef long long ac__type_sizeof_;
23203 int
23204 main ()
23205 {
23206 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23207 test_array [0] = 0
23208
23209 ;
23210 return 0;
23211 }
23212 _ACEOF
23213 rm -f conftest.$ac_objext
23214 if { (ac_try="$ac_compile"
23215 case "(($ac_try" in
23216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23217 *) ac_try_echo=$ac_try;;
23218 esac
23219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23220 (eval "$ac_compile") 2>conftest.er1
23221 ac_status=$?
23222 grep -v '^ *+' conftest.er1 >conftest.err
23223 rm -f conftest.er1
23224 cat conftest.err >&5
23225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23226 (exit $ac_status); } && {
23227 test -z "$ac_c_werror_flag" ||
23228 test ! -s conftest.err
23229 } && test -s conftest.$ac_objext; then
23230 ac_lo=$ac_mid; break
23231 else
23232 echo "$as_me: failed program was:" >&5
23233 sed 's/^/| /' conftest.$ac_ext >&5
23234
23235 ac_hi=`expr '(' $ac_mid ')' - 1`
23236 if test $ac_mid -le $ac_hi; then
23237 ac_lo= ac_hi=
23238 break
23239 fi
23240 ac_mid=`expr 2 '*' $ac_mid`
23241 fi
23242
23243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23244 done
23245 else
23246 echo "$as_me: failed program was:" >&5
23247 sed 's/^/| /' conftest.$ac_ext >&5
23248
23249 ac_lo= ac_hi=
23250 fi
23251
23252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23253 fi
23254
23255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23256 # Binary search between lo and hi bounds.
23257 while test "x$ac_lo" != "x$ac_hi"; do
23258 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23259 cat >conftest.$ac_ext <<_ACEOF
23260 /* confdefs.h. */
23261 _ACEOF
23262 cat confdefs.h >>conftest.$ac_ext
23263 cat >>conftest.$ac_ext <<_ACEOF
23264 /* end confdefs.h. */
23265 $ac_includes_default
23266 typedef long long ac__type_sizeof_;
23267 int
23268 main ()
23269 {
23270 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23271 test_array [0] = 0
23272
23273 ;
23274 return 0;
23275 }
23276 _ACEOF
23277 rm -f conftest.$ac_objext
23278 if { (ac_try="$ac_compile"
23279 case "(($ac_try" in
23280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23281 *) ac_try_echo=$ac_try;;
23282 esac
23283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23284 (eval "$ac_compile") 2>conftest.er1
23285 ac_status=$?
23286 grep -v '^ *+' conftest.er1 >conftest.err
23287 rm -f conftest.er1
23288 cat conftest.err >&5
23289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23290 (exit $ac_status); } && {
23291 test -z "$ac_c_werror_flag" ||
23292 test ! -s conftest.err
23293 } && test -s conftest.$ac_objext; then
23294 ac_hi=$ac_mid
23295 else
23296 echo "$as_me: failed program was:" >&5
23297 sed 's/^/| /' conftest.$ac_ext >&5
23298
23299 ac_lo=`expr '(' $ac_mid ')' + 1`
23300 fi
23301
23302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23303 done
23304 case $ac_lo in
23305 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23306 '') if test "$ac_cv_type_long_long" = yes; then
23307 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23308 See \`config.log' for more details." >&5
23309 echo "$as_me: error: cannot compute sizeof (long long)
23310 See \`config.log' for more details." >&2;}
23311 { (exit 77); exit 77; }; }
23312 else
23313 ac_cv_sizeof_long_long=0
23314 fi ;;
23315 esac
23316 else
23317 cat >conftest.$ac_ext <<_ACEOF
23318 /* confdefs.h. */
23319 _ACEOF
23320 cat confdefs.h >>conftest.$ac_ext
23321 cat >>conftest.$ac_ext <<_ACEOF
23322 /* end confdefs.h. */
23323 $ac_includes_default
23324 typedef long long ac__type_sizeof_;
23325 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23326 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23327 #include <stdio.h>
23328 #include <stdlib.h>
23329 int
23330 main ()
23331 {
23332
23333 FILE *f = fopen ("conftest.val", "w");
23334 if (! f)
23335 return 1;
23336 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23337 {
23338 long int i = longval ();
23339 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23340 return 1;
23341 fprintf (f, "%ld\n", i);
23342 }
23343 else
23344 {
23345 unsigned long int i = ulongval ();
23346 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23347 return 1;
23348 fprintf (f, "%lu\n", i);
23349 }
23350 return ferror (f) || fclose (f) != 0;
23351
23352 ;
23353 return 0;
23354 }
23355 _ACEOF
23356 rm -f conftest$ac_exeext
23357 if { (ac_try="$ac_link"
23358 case "(($ac_try" in
23359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23360 *) ac_try_echo=$ac_try;;
23361 esac
23362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23363 (eval "$ac_link") 2>&5
23364 ac_status=$?
23365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23366 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23367 { (case "(($ac_try" in
23368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23369 *) ac_try_echo=$ac_try;;
23370 esac
23371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23372 (eval "$ac_try") 2>&5
23373 ac_status=$?
23374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23375 (exit $ac_status); }; }; then
23376 ac_cv_sizeof_long_long=`cat conftest.val`
23377 else
23378 echo "$as_me: program exited with status $ac_status" >&5
23379 echo "$as_me: failed program was:" >&5
23380 sed 's/^/| /' conftest.$ac_ext >&5
23381
23382 ( exit $ac_status )
23383 if test "$ac_cv_type_long_long" = yes; then
23384 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23385 See \`config.log' for more details." >&5
23386 echo "$as_me: error: cannot compute sizeof (long long)
23387 See \`config.log' for more details." >&2;}
23388 { (exit 77); exit 77; }; }
23389 else
23390 ac_cv_sizeof_long_long=0
23391 fi
23392 fi
23393 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23394 fi
23395 rm -f conftest.val
23396 fi
23397 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23398 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23399
23400
23401
23402 cat >>confdefs.h <<_ACEOF
23403 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23404 _ACEOF
23405
23406
23407 if test "$ac_cv_sizeof_long_long" != 0; then
23408 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23409 fi
23410 ;;
23411 * )
23412 { echo "$as_me:$LINENO: checking for long long" >&5
23413 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23414 if test "${ac_cv_type_long_long+set}" = set; then
23415 echo $ECHO_N "(cached) $ECHO_C" >&6
23416 else
23417 cat >conftest.$ac_ext <<_ACEOF
23418 /* confdefs.h. */
23419 _ACEOF
23420 cat confdefs.h >>conftest.$ac_ext
23421 cat >>conftest.$ac_ext <<_ACEOF
23422 /* end confdefs.h. */
23423 $ac_includes_default
23424 typedef long long ac__type_new_;
23425 int
23426 main ()
23427 {
23428 if ((ac__type_new_ *) 0)
23429 return 0;
23430 if (sizeof (ac__type_new_))
23431 return 0;
23432 ;
23433 return 0;
23434 }
23435 _ACEOF
23436 rm -f conftest.$ac_objext
23437 if { (ac_try="$ac_compile"
23438 case "(($ac_try" in
23439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23440 *) ac_try_echo=$ac_try;;
23441 esac
23442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23443 (eval "$ac_compile") 2>conftest.er1
23444 ac_status=$?
23445 grep -v '^ *+' conftest.er1 >conftest.err
23446 rm -f conftest.er1
23447 cat conftest.err >&5
23448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23449 (exit $ac_status); } && {
23450 test -z "$ac_c_werror_flag" ||
23451 test ! -s conftest.err
23452 } && test -s conftest.$ac_objext; then
23453 ac_cv_type_long_long=yes
23454 else
23455 echo "$as_me: failed program was:" >&5
23456 sed 's/^/| /' conftest.$ac_ext >&5
23457
23458 ac_cv_type_long_long=no
23459 fi
23460
23461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23462 fi
23463 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23464 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23465
23466 # The cast to long int works around a bug in the HP C Compiler
23467 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23468 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23469 # This bug is HP SR number 8606223364.
23470 { echo "$as_me:$LINENO: checking size of long long" >&5
23471 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23472 if test "${ac_cv_sizeof_long_long+set}" = set; then
23473 echo $ECHO_N "(cached) $ECHO_C" >&6
23474 else
23475 if test "$cross_compiling" = yes; then
23476 # Depending upon the size, compute the lo and hi bounds.
23477 cat >conftest.$ac_ext <<_ACEOF
23478 /* confdefs.h. */
23479 _ACEOF
23480 cat confdefs.h >>conftest.$ac_ext
23481 cat >>conftest.$ac_ext <<_ACEOF
23482 /* end confdefs.h. */
23483 $ac_includes_default
23484 typedef long long ac__type_sizeof_;
23485 int
23486 main ()
23487 {
23488 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23489 test_array [0] = 0
23490
23491 ;
23492 return 0;
23493 }
23494 _ACEOF
23495 rm -f conftest.$ac_objext
23496 if { (ac_try="$ac_compile"
23497 case "(($ac_try" in
23498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23499 *) ac_try_echo=$ac_try;;
23500 esac
23501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23502 (eval "$ac_compile") 2>conftest.er1
23503 ac_status=$?
23504 grep -v '^ *+' conftest.er1 >conftest.err
23505 rm -f conftest.er1
23506 cat conftest.err >&5
23507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23508 (exit $ac_status); } && {
23509 test -z "$ac_c_werror_flag" ||
23510 test ! -s conftest.err
23511 } && test -s conftest.$ac_objext; then
23512 ac_lo=0 ac_mid=0
23513 while :; do
23514 cat >conftest.$ac_ext <<_ACEOF
23515 /* confdefs.h. */
23516 _ACEOF
23517 cat confdefs.h >>conftest.$ac_ext
23518 cat >>conftest.$ac_ext <<_ACEOF
23519 /* end confdefs.h. */
23520 $ac_includes_default
23521 typedef long long 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 $ac_includes_default
23575 typedef long long ac__type_sizeof_;
23576 int
23577 main ()
23578 {
23579 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23580 test_array [0] = 0
23581
23582 ;
23583 return 0;
23584 }
23585 _ACEOF
23586 rm -f conftest.$ac_objext
23587 if { (ac_try="$ac_compile"
23588 case "(($ac_try" in
23589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23590 *) ac_try_echo=$ac_try;;
23591 esac
23592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23593 (eval "$ac_compile") 2>conftest.er1
23594 ac_status=$?
23595 grep -v '^ *+' conftest.er1 >conftest.err
23596 rm -f conftest.er1
23597 cat conftest.err >&5
23598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23599 (exit $ac_status); } && {
23600 test -z "$ac_c_werror_flag" ||
23601 test ! -s conftest.err
23602 } && test -s conftest.$ac_objext; then
23603 ac_hi=-1 ac_mid=-1
23604 while :; do
23605 cat >conftest.$ac_ext <<_ACEOF
23606 /* confdefs.h. */
23607 _ACEOF
23608 cat confdefs.h >>conftest.$ac_ext
23609 cat >>conftest.$ac_ext <<_ACEOF
23610 /* end confdefs.h. */
23611 $ac_includes_default
23612 typedef long long ac__type_sizeof_;
23613 int
23614 main ()
23615 {
23616 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23617 test_array [0] = 0
23618
23619 ;
23620 return 0;
23621 }
23622 _ACEOF
23623 rm -f conftest.$ac_objext
23624 if { (ac_try="$ac_compile"
23625 case "(($ac_try" in
23626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23627 *) ac_try_echo=$ac_try;;
23628 esac
23629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23630 (eval "$ac_compile") 2>conftest.er1
23631 ac_status=$?
23632 grep -v '^ *+' conftest.er1 >conftest.err
23633 rm -f conftest.er1
23634 cat conftest.err >&5
23635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23636 (exit $ac_status); } && {
23637 test -z "$ac_c_werror_flag" ||
23638 test ! -s conftest.err
23639 } && test -s conftest.$ac_objext; then
23640 ac_lo=$ac_mid; break
23641 else
23642 echo "$as_me: failed program was:" >&5
23643 sed 's/^/| /' conftest.$ac_ext >&5
23644
23645 ac_hi=`expr '(' $ac_mid ')' - 1`
23646 if test $ac_mid -le $ac_hi; then
23647 ac_lo= ac_hi=
23648 break
23649 fi
23650 ac_mid=`expr 2 '*' $ac_mid`
23651 fi
23652
23653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23654 done
23655 else
23656 echo "$as_me: failed program was:" >&5
23657 sed 's/^/| /' conftest.$ac_ext >&5
23658
23659 ac_lo= ac_hi=
23660 fi
23661
23662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23663 fi
23664
23665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23666 # Binary search between lo and hi bounds.
23667 while test "x$ac_lo" != "x$ac_hi"; do
23668 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23669 cat >conftest.$ac_ext <<_ACEOF
23670 /* confdefs.h. */
23671 _ACEOF
23672 cat confdefs.h >>conftest.$ac_ext
23673 cat >>conftest.$ac_ext <<_ACEOF
23674 /* end confdefs.h. */
23675 $ac_includes_default
23676 typedef long long ac__type_sizeof_;
23677 int
23678 main ()
23679 {
23680 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23681 test_array [0] = 0
23682
23683 ;
23684 return 0;
23685 }
23686 _ACEOF
23687 rm -f conftest.$ac_objext
23688 if { (ac_try="$ac_compile"
23689 case "(($ac_try" in
23690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23691 *) ac_try_echo=$ac_try;;
23692 esac
23693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23694 (eval "$ac_compile") 2>conftest.er1
23695 ac_status=$?
23696 grep -v '^ *+' conftest.er1 >conftest.err
23697 rm -f conftest.er1
23698 cat conftest.err >&5
23699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23700 (exit $ac_status); } && {
23701 test -z "$ac_c_werror_flag" ||
23702 test ! -s conftest.err
23703 } && test -s conftest.$ac_objext; then
23704 ac_hi=$ac_mid
23705 else
23706 echo "$as_me: failed program was:" >&5
23707 sed 's/^/| /' conftest.$ac_ext >&5
23708
23709 ac_lo=`expr '(' $ac_mid ')' + 1`
23710 fi
23711
23712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23713 done
23714 case $ac_lo in
23715 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23716 '') if test "$ac_cv_type_long_long" = yes; then
23717 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23718 See \`config.log' for more details." >&5
23719 echo "$as_me: error: cannot compute sizeof (long long)
23720 See \`config.log' for more details." >&2;}
23721 { (exit 77); exit 77; }; }
23722 else
23723 ac_cv_sizeof_long_long=0
23724 fi ;;
23725 esac
23726 else
23727 cat >conftest.$ac_ext <<_ACEOF
23728 /* confdefs.h. */
23729 _ACEOF
23730 cat confdefs.h >>conftest.$ac_ext
23731 cat >>conftest.$ac_ext <<_ACEOF
23732 /* end confdefs.h. */
23733 $ac_includes_default
23734 typedef long long ac__type_sizeof_;
23735 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23736 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23737 #include <stdio.h>
23738 #include <stdlib.h>
23739 int
23740 main ()
23741 {
23742
23743 FILE *f = fopen ("conftest.val", "w");
23744 if (! f)
23745 return 1;
23746 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23747 {
23748 long int i = longval ();
23749 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23750 return 1;
23751 fprintf (f, "%ld\n", i);
23752 }
23753 else
23754 {
23755 unsigned long int i = ulongval ();
23756 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23757 return 1;
23758 fprintf (f, "%lu\n", i);
23759 }
23760 return ferror (f) || fclose (f) != 0;
23761
23762 ;
23763 return 0;
23764 }
23765 _ACEOF
23766 rm -f conftest$ac_exeext
23767 if { (ac_try="$ac_link"
23768 case "(($ac_try" in
23769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23770 *) ac_try_echo=$ac_try;;
23771 esac
23772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23773 (eval "$ac_link") 2>&5
23774 ac_status=$?
23775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23776 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23777 { (case "(($ac_try" in
23778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23779 *) ac_try_echo=$ac_try;;
23780 esac
23781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23782 (eval "$ac_try") 2>&5
23783 ac_status=$?
23784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23785 (exit $ac_status); }; }; then
23786 ac_cv_sizeof_long_long=`cat conftest.val`
23787 else
23788 echo "$as_me: program exited with status $ac_status" >&5
23789 echo "$as_me: failed program was:" >&5
23790 sed 's/^/| /' conftest.$ac_ext >&5
23791
23792 ( exit $ac_status )
23793 if test "$ac_cv_type_long_long" = yes; then
23794 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23795 See \`config.log' for more details." >&5
23796 echo "$as_me: error: cannot compute sizeof (long long)
23797 See \`config.log' for more details." >&2;}
23798 { (exit 77); exit 77; }; }
23799 else
23800 ac_cv_sizeof_long_long=0
23801 fi
23802 fi
23803 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23804 fi
23805 rm -f conftest.val
23806 fi
23807 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23808 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23809
23810
23811
23812 cat >>confdefs.h <<_ACEOF
23813 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23814 _ACEOF
23815
23816
23817 esac
23818
23819 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23820 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23821 if test "${ac_cv_type_wchar_t+set}" = set; then
23822 echo $ECHO_N "(cached) $ECHO_C" >&6
23823 else
23824 cat >conftest.$ac_ext <<_ACEOF
23825 /* confdefs.h. */
23826 _ACEOF
23827 cat confdefs.h >>conftest.$ac_ext
23828 cat >>conftest.$ac_ext <<_ACEOF
23829 /* end confdefs.h. */
23830
23831 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23832 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23833 # error "fake wchar_t"
23834 #endif
23835 #ifdef HAVE_WCHAR_H
23836 # ifdef __CYGWIN__
23837 # include <stddef.h>
23838 # endif
23839 # include <wchar.h>
23840 #endif
23841 #ifdef HAVE_STDLIB_H
23842 # include <stdlib.h>
23843 #endif
23844 #include <stdio.h>
23845
23846
23847
23848 typedef wchar_t ac__type_new_;
23849 int
23850 main ()
23851 {
23852 if ((ac__type_new_ *) 0)
23853 return 0;
23854 if (sizeof (ac__type_new_))
23855 return 0;
23856 ;
23857 return 0;
23858 }
23859 _ACEOF
23860 rm -f conftest.$ac_objext
23861 if { (ac_try="$ac_compile"
23862 case "(($ac_try" in
23863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23864 *) ac_try_echo=$ac_try;;
23865 esac
23866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23867 (eval "$ac_compile") 2>conftest.er1
23868 ac_status=$?
23869 grep -v '^ *+' conftest.er1 >conftest.err
23870 rm -f conftest.er1
23871 cat conftest.err >&5
23872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23873 (exit $ac_status); } && {
23874 test -z "$ac_c_werror_flag" ||
23875 test ! -s conftest.err
23876 } && test -s conftest.$ac_objext; then
23877 ac_cv_type_wchar_t=yes
23878 else
23879 echo "$as_me: failed program was:" >&5
23880 sed 's/^/| /' conftest.$ac_ext >&5
23881
23882 ac_cv_type_wchar_t=no
23883 fi
23884
23885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23886 fi
23887 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23888 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23889
23890 # The cast to long int works around a bug in the HP C Compiler
23891 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23892 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23893 # This bug is HP SR number 8606223364.
23894 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23895 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23896 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23897 echo $ECHO_N "(cached) $ECHO_C" >&6
23898 else
23899 if test "$cross_compiling" = yes; then
23900 # Depending upon the size, compute the lo and hi bounds.
23901 cat >conftest.$ac_ext <<_ACEOF
23902 /* confdefs.h. */
23903 _ACEOF
23904 cat confdefs.h >>conftest.$ac_ext
23905 cat >>conftest.$ac_ext <<_ACEOF
23906 /* end confdefs.h. */
23907
23908 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23909 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23910 # error "fake wchar_t"
23911 #endif
23912 #ifdef HAVE_WCHAR_H
23913 # ifdef __CYGWIN__
23914 # include <stddef.h>
23915 # endif
23916 # include <wchar.h>
23917 #endif
23918 #ifdef HAVE_STDLIB_H
23919 # include <stdlib.h>
23920 #endif
23921 #include <stdio.h>
23922
23923
23924
23925 typedef wchar_t ac__type_sizeof_;
23926 int
23927 main ()
23928 {
23929 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23930 test_array [0] = 0
23931
23932 ;
23933 return 0;
23934 }
23935 _ACEOF
23936 rm -f conftest.$ac_objext
23937 if { (ac_try="$ac_compile"
23938 case "(($ac_try" in
23939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23940 *) ac_try_echo=$ac_try;;
23941 esac
23942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23943 (eval "$ac_compile") 2>conftest.er1
23944 ac_status=$?
23945 grep -v '^ *+' conftest.er1 >conftest.err
23946 rm -f conftest.er1
23947 cat conftest.err >&5
23948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23949 (exit $ac_status); } && {
23950 test -z "$ac_c_werror_flag" ||
23951 test ! -s conftest.err
23952 } && test -s conftest.$ac_objext; then
23953 ac_lo=0 ac_mid=0
23954 while :; do
23955 cat >conftest.$ac_ext <<_ACEOF
23956 /* confdefs.h. */
23957 _ACEOF
23958 cat confdefs.h >>conftest.$ac_ext
23959 cat >>conftest.$ac_ext <<_ACEOF
23960 /* end confdefs.h. */
23961
23962 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23963 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23964 # error "fake wchar_t"
23965 #endif
23966 #ifdef HAVE_WCHAR_H
23967 # ifdef __CYGWIN__
23968 # include <stddef.h>
23969 # endif
23970 # include <wchar.h>
23971 #endif
23972 #ifdef HAVE_STDLIB_H
23973 # include <stdlib.h>
23974 #endif
23975 #include <stdio.h>
23976
23977
23978
23979 typedef wchar_t ac__type_sizeof_;
23980 int
23981 main ()
23982 {
23983 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23984 test_array [0] = 0
23985
23986 ;
23987 return 0;
23988 }
23989 _ACEOF
23990 rm -f conftest.$ac_objext
23991 if { (ac_try="$ac_compile"
23992 case "(($ac_try" in
23993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23994 *) ac_try_echo=$ac_try;;
23995 esac
23996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23997 (eval "$ac_compile") 2>conftest.er1
23998 ac_status=$?
23999 grep -v '^ *+' conftest.er1 >conftest.err
24000 rm -f conftest.er1
24001 cat conftest.err >&5
24002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24003 (exit $ac_status); } && {
24004 test -z "$ac_c_werror_flag" ||
24005 test ! -s conftest.err
24006 } && test -s conftest.$ac_objext; then
24007 ac_hi=$ac_mid; break
24008 else
24009 echo "$as_me: failed program was:" >&5
24010 sed 's/^/| /' conftest.$ac_ext >&5
24011
24012 ac_lo=`expr $ac_mid + 1`
24013 if test $ac_lo -le $ac_mid; then
24014 ac_lo= ac_hi=
24015 break
24016 fi
24017 ac_mid=`expr 2 '*' $ac_mid + 1`
24018 fi
24019
24020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24021 done
24022 else
24023 echo "$as_me: failed program was:" >&5
24024 sed 's/^/| /' conftest.$ac_ext >&5
24025
24026 cat >conftest.$ac_ext <<_ACEOF
24027 /* confdefs.h. */
24028 _ACEOF
24029 cat confdefs.h >>conftest.$ac_ext
24030 cat >>conftest.$ac_ext <<_ACEOF
24031 /* end confdefs.h. */
24032
24033 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24034 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24035 # error "fake wchar_t"
24036 #endif
24037 #ifdef HAVE_WCHAR_H
24038 # ifdef __CYGWIN__
24039 # include <stddef.h>
24040 # endif
24041 # include <wchar.h>
24042 #endif
24043 #ifdef HAVE_STDLIB_H
24044 # include <stdlib.h>
24045 #endif
24046 #include <stdio.h>
24047
24048
24049
24050 typedef wchar_t ac__type_sizeof_;
24051 int
24052 main ()
24053 {
24054 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24055 test_array [0] = 0
24056
24057 ;
24058 return 0;
24059 }
24060 _ACEOF
24061 rm -f conftest.$ac_objext
24062 if { (ac_try="$ac_compile"
24063 case "(($ac_try" in
24064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24065 *) ac_try_echo=$ac_try;;
24066 esac
24067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24068 (eval "$ac_compile") 2>conftest.er1
24069 ac_status=$?
24070 grep -v '^ *+' conftest.er1 >conftest.err
24071 rm -f conftest.er1
24072 cat conftest.err >&5
24073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24074 (exit $ac_status); } && {
24075 test -z "$ac_c_werror_flag" ||
24076 test ! -s conftest.err
24077 } && test -s conftest.$ac_objext; then
24078 ac_hi=-1 ac_mid=-1
24079 while :; do
24080 cat >conftest.$ac_ext <<_ACEOF
24081 /* confdefs.h. */
24082 _ACEOF
24083 cat confdefs.h >>conftest.$ac_ext
24084 cat >>conftest.$ac_ext <<_ACEOF
24085 /* end confdefs.h. */
24086
24087 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24088 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24089 # error "fake wchar_t"
24090 #endif
24091 #ifdef HAVE_WCHAR_H
24092 # ifdef __CYGWIN__
24093 # include <stddef.h>
24094 # endif
24095 # include <wchar.h>
24096 #endif
24097 #ifdef HAVE_STDLIB_H
24098 # include <stdlib.h>
24099 #endif
24100 #include <stdio.h>
24101
24102
24103
24104 typedef wchar_t ac__type_sizeof_;
24105 int
24106 main ()
24107 {
24108 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24109 test_array [0] = 0
24110
24111 ;
24112 return 0;
24113 }
24114 _ACEOF
24115 rm -f conftest.$ac_objext
24116 if { (ac_try="$ac_compile"
24117 case "(($ac_try" in
24118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24119 *) ac_try_echo=$ac_try;;
24120 esac
24121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24122 (eval "$ac_compile") 2>conftest.er1
24123 ac_status=$?
24124 grep -v '^ *+' conftest.er1 >conftest.err
24125 rm -f conftest.er1
24126 cat conftest.err >&5
24127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24128 (exit $ac_status); } && {
24129 test -z "$ac_c_werror_flag" ||
24130 test ! -s conftest.err
24131 } && test -s conftest.$ac_objext; then
24132 ac_lo=$ac_mid; break
24133 else
24134 echo "$as_me: failed program was:" >&5
24135 sed 's/^/| /' conftest.$ac_ext >&5
24136
24137 ac_hi=`expr '(' $ac_mid ')' - 1`
24138 if test $ac_mid -le $ac_hi; then
24139 ac_lo= ac_hi=
24140 break
24141 fi
24142 ac_mid=`expr 2 '*' $ac_mid`
24143 fi
24144
24145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24146 done
24147 else
24148 echo "$as_me: failed program was:" >&5
24149 sed 's/^/| /' conftest.$ac_ext >&5
24150
24151 ac_lo= ac_hi=
24152 fi
24153
24154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24155 fi
24156
24157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24158 # Binary search between lo and hi bounds.
24159 while test "x$ac_lo" != "x$ac_hi"; do
24160 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24161 cat >conftest.$ac_ext <<_ACEOF
24162 /* confdefs.h. */
24163 _ACEOF
24164 cat confdefs.h >>conftest.$ac_ext
24165 cat >>conftest.$ac_ext <<_ACEOF
24166 /* end confdefs.h. */
24167
24168 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24169 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24170 # error "fake wchar_t"
24171 #endif
24172 #ifdef HAVE_WCHAR_H
24173 # ifdef __CYGWIN__
24174 # include <stddef.h>
24175 # endif
24176 # include <wchar.h>
24177 #endif
24178 #ifdef HAVE_STDLIB_H
24179 # include <stdlib.h>
24180 #endif
24181 #include <stdio.h>
24182
24183
24184
24185 typedef wchar_t ac__type_sizeof_;
24186 int
24187 main ()
24188 {
24189 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24190 test_array [0] = 0
24191
24192 ;
24193 return 0;
24194 }
24195 _ACEOF
24196 rm -f conftest.$ac_objext
24197 if { (ac_try="$ac_compile"
24198 case "(($ac_try" in
24199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24200 *) ac_try_echo=$ac_try;;
24201 esac
24202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24203 (eval "$ac_compile") 2>conftest.er1
24204 ac_status=$?
24205 grep -v '^ *+' conftest.er1 >conftest.err
24206 rm -f conftest.er1
24207 cat conftest.err >&5
24208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24209 (exit $ac_status); } && {
24210 test -z "$ac_c_werror_flag" ||
24211 test ! -s conftest.err
24212 } && test -s conftest.$ac_objext; then
24213 ac_hi=$ac_mid
24214 else
24215 echo "$as_me: failed program was:" >&5
24216 sed 's/^/| /' conftest.$ac_ext >&5
24217
24218 ac_lo=`expr '(' $ac_mid ')' + 1`
24219 fi
24220
24221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24222 done
24223 case $ac_lo in
24224 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24225 '') if test "$ac_cv_type_wchar_t" = yes; then
24226 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24227 See \`config.log' for more details." >&5
24228 echo "$as_me: error: cannot compute sizeof (wchar_t)
24229 See \`config.log' for more details." >&2;}
24230 { (exit 77); exit 77; }; }
24231 else
24232 ac_cv_sizeof_wchar_t=0
24233 fi ;;
24234 esac
24235 else
24236 cat >conftest.$ac_ext <<_ACEOF
24237 /* confdefs.h. */
24238 _ACEOF
24239 cat confdefs.h >>conftest.$ac_ext
24240 cat >>conftest.$ac_ext <<_ACEOF
24241 /* end confdefs.h. */
24242
24243 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24244 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24245 # error "fake wchar_t"
24246 #endif
24247 #ifdef HAVE_WCHAR_H
24248 # ifdef __CYGWIN__
24249 # include <stddef.h>
24250 # endif
24251 # include <wchar.h>
24252 #endif
24253 #ifdef HAVE_STDLIB_H
24254 # include <stdlib.h>
24255 #endif
24256 #include <stdio.h>
24257
24258
24259
24260 typedef wchar_t ac__type_sizeof_;
24261 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24262 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24263 #include <stdio.h>
24264 #include <stdlib.h>
24265 int
24266 main ()
24267 {
24268
24269 FILE *f = fopen ("conftest.val", "w");
24270 if (! f)
24271 return 1;
24272 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24273 {
24274 long int i = longval ();
24275 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24276 return 1;
24277 fprintf (f, "%ld\n", i);
24278 }
24279 else
24280 {
24281 unsigned long int i = ulongval ();
24282 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24283 return 1;
24284 fprintf (f, "%lu\n", i);
24285 }
24286 return ferror (f) || fclose (f) != 0;
24287
24288 ;
24289 return 0;
24290 }
24291 _ACEOF
24292 rm -f conftest$ac_exeext
24293 if { (ac_try="$ac_link"
24294 case "(($ac_try" in
24295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24296 *) ac_try_echo=$ac_try;;
24297 esac
24298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24299 (eval "$ac_link") 2>&5
24300 ac_status=$?
24301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24302 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24303 { (case "(($ac_try" in
24304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24305 *) ac_try_echo=$ac_try;;
24306 esac
24307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24308 (eval "$ac_try") 2>&5
24309 ac_status=$?
24310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24311 (exit $ac_status); }; }; then
24312 ac_cv_sizeof_wchar_t=`cat conftest.val`
24313 else
24314 echo "$as_me: program exited with status $ac_status" >&5
24315 echo "$as_me: failed program was:" >&5
24316 sed 's/^/| /' conftest.$ac_ext >&5
24317
24318 ( exit $ac_status )
24319 if test "$ac_cv_type_wchar_t" = yes; then
24320 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24321 See \`config.log' for more details." >&5
24322 echo "$as_me: error: cannot compute sizeof (wchar_t)
24323 See \`config.log' for more details." >&2;}
24324 { (exit 77); exit 77; }; }
24325 else
24326 ac_cv_sizeof_wchar_t=0
24327 fi
24328 fi
24329 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24330 fi
24331 rm -f conftest.val
24332 fi
24333 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24334 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24335
24336
24337
24338 cat >>confdefs.h <<_ACEOF
24339 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24340 _ACEOF
24341
24342
24343 if test "$ac_cv_sizeof_wchar_t" = 0; then
24344 { { echo "$as_me:$LINENO: error: wxWidgets requires wchar_t support." >&5
24345 echo "$as_me: error: wxWidgets requires wchar_t support." >&2;}
24346 { (exit 1); exit 1; }; }
24347 fi
24348 cat >>confdefs.h <<\_ACEOF
24349 #define wxUSE_WCHAR_T 1
24350 _ACEOF
24351
24352
24353 { echo "$as_me:$LINENO: checking for va_copy" >&5
24354 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
24355 if test "${wx_cv_func_va_copy+set}" = set; then
24356 echo $ECHO_N "(cached) $ECHO_C" >&6
24357 else
24358
24359 ac_ext=cpp
24360 ac_cpp='$CXXCPP $CPPFLAGS'
24361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24364
24365 cat >conftest.$ac_ext <<_ACEOF
24366
24367 #include <stdarg.h>
24368 void foo(char *f, ...)
24369 {
24370 va_list ap1, ap2;
24371 va_start(ap1, f);
24372 va_copy(ap2, ap1);
24373 va_end(ap2);
24374 va_end(ap1);
24375 }
24376 int main()
24377 {
24378 foo("hi", 17);
24379 return 0;
24380 }
24381 _ACEOF
24382 rm -f conftest.$ac_objext conftest$ac_exeext
24383 if { (ac_try="$ac_link"
24384 case "(($ac_try" in
24385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24386 *) ac_try_echo=$ac_try;;
24387 esac
24388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24389 (eval "$ac_link") 2>conftest.er1
24390 ac_status=$?
24391 grep -v '^ *+' conftest.er1 >conftest.err
24392 rm -f conftest.er1
24393 cat conftest.err >&5
24394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24395 (exit $ac_status); } && {
24396 test -z "$ac_cxx_werror_flag" ||
24397 test ! -s conftest.err
24398 } && test -s conftest$ac_exeext &&
24399 $as_test_x conftest$ac_exeext; then
24400 wx_cv_func_va_copy=yes
24401 else
24402 echo "$as_me: failed program was:" >&5
24403 sed 's/^/| /' conftest.$ac_ext >&5
24404
24405 wx_cv_func_va_copy=no
24406
24407 fi
24408
24409 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24410 conftest$ac_exeext conftest.$ac_ext
24411 ac_ext=c
24412 ac_cpp='$CPP $CPPFLAGS'
24413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24416
24417
24418
24419 fi
24420 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24421 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24422
24423 if test $wx_cv_func_va_copy = "yes"; then
24424 cat >>confdefs.h <<\_ACEOF
24425 #define HAVE_VA_COPY 1
24426 _ACEOF
24427
24428 else
24429 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24430 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24431 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24432 echo $ECHO_N "(cached) $ECHO_C" >&6
24433 else
24434
24435 if test "$cross_compiling" = yes; then
24436 wx_cv_type_va_list_lvalue=yes
24437
24438 else
24439 cat >conftest.$ac_ext <<_ACEOF
24440
24441 #include <stdarg.h>
24442 int foo(char *f, ...)
24443 {
24444 va_list ap1, ap2;
24445 va_start(ap1, f);
24446 ap2 = ap1;
24447 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24448 return 1;
24449 va_end(ap2);
24450 va_end(ap1);
24451 return 0;
24452 }
24453 int main()
24454 {
24455 return foo("hi", 17);
24456 }
24457 _ACEOF
24458 rm -f conftest$ac_exeext
24459 if { (ac_try="$ac_link"
24460 case "(($ac_try" in
24461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24462 *) ac_try_echo=$ac_try;;
24463 esac
24464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24465 (eval "$ac_link") 2>&5
24466 ac_status=$?
24467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24468 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24469 { (case "(($ac_try" in
24470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24471 *) ac_try_echo=$ac_try;;
24472 esac
24473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24474 (eval "$ac_try") 2>&5
24475 ac_status=$?
24476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24477 (exit $ac_status); }; }; then
24478 wx_cv_type_va_list_lvalue=yes
24479 else
24480 echo "$as_me: program exited with status $ac_status" >&5
24481 echo "$as_me: failed program was:" >&5
24482 sed 's/^/| /' conftest.$ac_ext >&5
24483
24484 ( exit $ac_status )
24485 wx_cv_type_va_list_lvalue=no
24486 fi
24487 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24488 fi
24489
24490
24491
24492
24493 fi
24494 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24495 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24496
24497 if test $wx_cv_type_va_list_lvalue != "yes"; then
24498 cat >>confdefs.h <<\_ACEOF
24499 #define VA_LIST_IS_ARRAY 1
24500 _ACEOF
24501
24502 fi
24503 fi
24504
24505 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24506
24507 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24508 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24509 if test "${wx_cv_have_variadic_macros+set}" = set; then
24510 echo $ECHO_N "(cached) $ECHO_C" >&6
24511 else
24512
24513 ac_ext=cpp
24514 ac_cpp='$CXXCPP $CPPFLAGS'
24515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24518
24519 cat >conftest.$ac_ext <<_ACEOF
24520 /* confdefs.h. */
24521 _ACEOF
24522 cat confdefs.h >>conftest.$ac_ext
24523 cat >>conftest.$ac_ext <<_ACEOF
24524 /* end confdefs.h. */
24525
24526 #include <stdio.h>
24527 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24528
24529 int
24530 main ()
24531 {
24532
24533 test("%s %d %p", "test", 1, 0);
24534
24535
24536 ;
24537 return 0;
24538 }
24539 _ACEOF
24540 rm -f conftest.$ac_objext
24541 if { (ac_try="$ac_compile"
24542 case "(($ac_try" in
24543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24544 *) ac_try_echo=$ac_try;;
24545 esac
24546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24547 (eval "$ac_compile") 2>conftest.er1
24548 ac_status=$?
24549 grep -v '^ *+' conftest.er1 >conftest.err
24550 rm -f conftest.er1
24551 cat conftest.err >&5
24552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24553 (exit $ac_status); } && {
24554 test -z "$ac_cxx_werror_flag" ||
24555 test ! -s conftest.err
24556 } && test -s conftest.$ac_objext; then
24557 wx_cv_have_variadic_macros=yes
24558 else
24559 echo "$as_me: failed program was:" >&5
24560 sed 's/^/| /' conftest.$ac_ext >&5
24561
24562 wx_cv_have_variadic_macros=no
24563
24564 fi
24565
24566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24567 ac_ext=c
24568 ac_cpp='$CPP $CPPFLAGS'
24569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24572
24573
24574
24575 fi
24576 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24577 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24578
24579 if test $wx_cv_have_variadic_macros = "yes"; then
24580 cat >>confdefs.h <<\_ACEOF
24581 #define HAVE_VARIADIC_MACROS 1
24582 _ACEOF
24583
24584 fi
24585
24586 fi
24587
24588 LARGEFILE_CPPFLAGS=
24589 # Check whether --enable-largefile was given.
24590 if test "${enable_largefile+set}" = set; then
24591 enableval=$enable_largefile;
24592 fi
24593
24594 if test "$enable_largefile" != no; then
24595 wx_largefile=no
24596
24597 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24598 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24599 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24600 echo $ECHO_N "(cached) $ECHO_C" >&6
24601 else
24602
24603 cat >conftest.$ac_ext <<_ACEOF
24604 /* confdefs.h. */
24605 _ACEOF
24606 cat confdefs.h >>conftest.$ac_ext
24607 cat >>conftest.$ac_ext <<_ACEOF
24608 /* end confdefs.h. */
24609 #define _FILE_OFFSET_BITS 64
24610 #include <sys/types.h>
24611 int
24612 main ()
24613 {
24614 typedef struct {
24615 unsigned int field: sizeof(off_t) == 8;
24616 } wxlf;
24617
24618 ;
24619 return 0;
24620 }
24621 _ACEOF
24622 rm -f conftest.$ac_objext
24623 if { (ac_try="$ac_compile"
24624 case "(($ac_try" in
24625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24626 *) ac_try_echo=$ac_try;;
24627 esac
24628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24629 (eval "$ac_compile") 2>conftest.er1
24630 ac_status=$?
24631 grep -v '^ *+' conftest.er1 >conftest.err
24632 rm -f conftest.er1
24633 cat conftest.err >&5
24634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24635 (exit $ac_status); } && {
24636 test -z "$ac_c_werror_flag" ||
24637 test ! -s conftest.err
24638 } && test -s conftest.$ac_objext; then
24639 ac_cv_sys_file_offset_bits=64
24640 else
24641 echo "$as_me: failed program was:" >&5
24642 sed 's/^/| /' conftest.$ac_ext >&5
24643
24644 ac_cv_sys_file_offset_bits=no
24645 fi
24646
24647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24648
24649
24650 fi
24651 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24652 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24653
24654 if test "$ac_cv_sys_file_offset_bits" != no; then
24655 wx_largefile=yes
24656 cat >>confdefs.h <<_ACEOF
24657 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24658 _ACEOF
24659
24660 fi
24661
24662 if test "x$wx_largefile" != "xyes"; then
24663
24664 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24665 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24666 if test "${ac_cv_sys_large_files+set}" = set; then
24667 echo $ECHO_N "(cached) $ECHO_C" >&6
24668 else
24669
24670 cat >conftest.$ac_ext <<_ACEOF
24671 /* confdefs.h. */
24672 _ACEOF
24673 cat confdefs.h >>conftest.$ac_ext
24674 cat >>conftest.$ac_ext <<_ACEOF
24675 /* end confdefs.h. */
24676 #define _LARGE_FILES 1
24677 #include <sys/types.h>
24678 int
24679 main ()
24680 {
24681 typedef struct {
24682 unsigned int field: sizeof(off_t) == 8;
24683 } wxlf;
24684
24685 ;
24686 return 0;
24687 }
24688 _ACEOF
24689 rm -f conftest.$ac_objext
24690 if { (ac_try="$ac_compile"
24691 case "(($ac_try" in
24692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24693 *) ac_try_echo=$ac_try;;
24694 esac
24695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24696 (eval "$ac_compile") 2>conftest.er1
24697 ac_status=$?
24698 grep -v '^ *+' conftest.er1 >conftest.err
24699 rm -f conftest.er1
24700 cat conftest.err >&5
24701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24702 (exit $ac_status); } && {
24703 test -z "$ac_c_werror_flag" ||
24704 test ! -s conftest.err
24705 } && test -s conftest.$ac_objext; then
24706 ac_cv_sys_large_files=1
24707 else
24708 echo "$as_me: failed program was:" >&5
24709 sed 's/^/| /' conftest.$ac_ext >&5
24710
24711 ac_cv_sys_large_files=no
24712 fi
24713
24714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24715
24716
24717 fi
24718 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24719 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24720
24721 if test "$ac_cv_sys_large_files" != no; then
24722 wx_largefile=yes
24723 cat >>confdefs.h <<_ACEOF
24724 #define _LARGE_FILES $ac_cv_sys_large_files
24725 _ACEOF
24726
24727 fi
24728
24729 fi
24730
24731 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24732 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24733 if test "x$wx_largefile" = "xyes"; then
24734 cat >>confdefs.h <<\_ACEOF
24735 #define HAVE_LARGEFILE_SUPPORT 1
24736 _ACEOF
24737
24738 fi
24739 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24740 echo "${ECHO_T}$wx_largefile" >&6; }
24741 fi
24742
24743 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24744 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24745 elif test "$ac_cv_sys_large_files" = 1; then
24746 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24747 fi
24748
24749 if test -n "$LARGEFILE_CPPFLAGS"; then
24750 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24751
24752 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24753 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24754 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24755 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24756 echo $ECHO_N "(cached) $ECHO_C" >&6
24757 else
24758
24759 ac_ext=cpp
24760 ac_cpp='$CXXCPP $CPPFLAGS'
24761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24764
24765 cat >conftest.$ac_ext <<_ACEOF
24766 /* confdefs.h. */
24767 _ACEOF
24768 cat confdefs.h >>conftest.$ac_ext
24769 cat >>conftest.$ac_ext <<_ACEOF
24770 /* end confdefs.h. */
24771
24772 int
24773 main ()
24774 {
24775
24776 #ifndef __STDC_EXT__
24777 choke me
24778 #endif
24779
24780 ;
24781 return 0;
24782 }
24783 _ACEOF
24784 rm -f conftest.$ac_objext
24785 if { (ac_try="$ac_compile"
24786 case "(($ac_try" in
24787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24788 *) ac_try_echo=$ac_try;;
24789 esac
24790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24791 (eval "$ac_compile") 2>conftest.er1
24792 ac_status=$?
24793 grep -v '^ *+' conftest.er1 >conftest.err
24794 rm -f conftest.er1
24795 cat conftest.err >&5
24796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24797 (exit $ac_status); } && {
24798 test -z "$ac_cxx_werror_flag" ||
24799 test ! -s conftest.err
24800 } && test -s conftest.$ac_objext; then
24801 wx_cv_STDC_EXT_required=no
24802 else
24803 echo "$as_me: failed program was:" >&5
24804 sed 's/^/| /' conftest.$ac_ext >&5
24805
24806 wx_cv_STDC_EXT_required=yes
24807
24808 fi
24809
24810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24811 ac_ext=c
24812 ac_cpp='$CPP $CPPFLAGS'
24813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24816
24817
24818
24819 fi
24820 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24821 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24822 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24823 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24824 fi
24825 fi
24826 fi
24827
24828 ac_ext=cpp
24829 ac_cpp='$CXXCPP $CPPFLAGS'
24830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24833
24834 old_CPPFLAGS="$CPPFLAGS"
24835 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24836 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24837 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24838 if test "${ac_cv_sys_largefile_source+set}" = set; then
24839 echo $ECHO_N "(cached) $ECHO_C" >&6
24840 else
24841 while :; do
24842 cat >conftest.$ac_ext <<_ACEOF
24843 /* confdefs.h. */
24844 _ACEOF
24845 cat confdefs.h >>conftest.$ac_ext
24846 cat >>conftest.$ac_ext <<_ACEOF
24847 /* end confdefs.h. */
24848 #include <sys/types.h> /* for off_t */
24849 #include <stdio.h>
24850 int
24851 main ()
24852 {
24853 int (*fp) (FILE *, off_t, int) = fseeko;
24854 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24855 ;
24856 return 0;
24857 }
24858 _ACEOF
24859 rm -f conftest.$ac_objext conftest$ac_exeext
24860 if { (ac_try="$ac_link"
24861 case "(($ac_try" in
24862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24863 *) ac_try_echo=$ac_try;;
24864 esac
24865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24866 (eval "$ac_link") 2>conftest.er1
24867 ac_status=$?
24868 grep -v '^ *+' conftest.er1 >conftest.err
24869 rm -f conftest.er1
24870 cat conftest.err >&5
24871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24872 (exit $ac_status); } && {
24873 test -z "$ac_cxx_werror_flag" ||
24874 test ! -s conftest.err
24875 } && test -s conftest$ac_exeext &&
24876 $as_test_x conftest$ac_exeext; then
24877 ac_cv_sys_largefile_source=no; break
24878 else
24879 echo "$as_me: failed program was:" >&5
24880 sed 's/^/| /' conftest.$ac_ext >&5
24881
24882
24883 fi
24884
24885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24886 conftest$ac_exeext conftest.$ac_ext
24887 cat >conftest.$ac_ext <<_ACEOF
24888 /* confdefs.h. */
24889 _ACEOF
24890 cat confdefs.h >>conftest.$ac_ext
24891 cat >>conftest.$ac_ext <<_ACEOF
24892 /* end confdefs.h. */
24893 #define _LARGEFILE_SOURCE 1
24894 #include <sys/types.h> /* for off_t */
24895 #include <stdio.h>
24896 int
24897 main ()
24898 {
24899 int (*fp) (FILE *, off_t, int) = fseeko;
24900 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24901 ;
24902 return 0;
24903 }
24904 _ACEOF
24905 rm -f conftest.$ac_objext conftest$ac_exeext
24906 if { (ac_try="$ac_link"
24907 case "(($ac_try" in
24908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24909 *) ac_try_echo=$ac_try;;
24910 esac
24911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24912 (eval "$ac_link") 2>conftest.er1
24913 ac_status=$?
24914 grep -v '^ *+' conftest.er1 >conftest.err
24915 rm -f conftest.er1
24916 cat conftest.err >&5
24917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24918 (exit $ac_status); } && {
24919 test -z "$ac_cxx_werror_flag" ||
24920 test ! -s conftest.err
24921 } && test -s conftest$ac_exeext &&
24922 $as_test_x conftest$ac_exeext; then
24923 ac_cv_sys_largefile_source=1; break
24924 else
24925 echo "$as_me: failed program was:" >&5
24926 sed 's/^/| /' conftest.$ac_ext >&5
24927
24928
24929 fi
24930
24931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24932 conftest$ac_exeext conftest.$ac_ext
24933 ac_cv_sys_largefile_source=unknown
24934 break
24935 done
24936 fi
24937 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24938 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24939 case $ac_cv_sys_largefile_source in #(
24940 no | unknown) ;;
24941 *)
24942 cat >>confdefs.h <<_ACEOF
24943 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24944 _ACEOF
24945 ;;
24946 esac
24947 rm -f conftest*
24948
24949 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24950 # in glibc 2.1.3, but that breaks too many other things.
24951 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24952 if test $ac_cv_sys_largefile_source != unknown; then
24953
24954 cat >>confdefs.h <<\_ACEOF
24955 #define HAVE_FSEEKO 1
24956 _ACEOF
24957
24958 fi
24959
24960 CPPFLAGS="$old_CPPFLAGS"
24961 ac_ext=c
24962 ac_cpp='$CPP $CPPFLAGS'
24963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24966
24967 if test "$ac_cv_sys_largefile_source" != no; then
24968 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24969 fi
24970
24971 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24972 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24973 if test "${ac_cv_c_bigendian+set}" = set; then
24974 echo $ECHO_N "(cached) $ECHO_C" >&6
24975 else
24976 ac_cv_c_bigendian=unknown
24977 # See if sys/param.h defines the BYTE_ORDER macro.
24978 cat >conftest.$ac_ext <<_ACEOF
24979 /* confdefs.h. */
24980 _ACEOF
24981 cat confdefs.h >>conftest.$ac_ext
24982 cat >>conftest.$ac_ext <<_ACEOF
24983 /* end confdefs.h. */
24984 #include <sys/types.h>
24985 #include <sys/param.h>
24986 int
24987 main ()
24988 {
24989
24990 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24991 bogus endian macros
24992 #endif
24993 ;
24994 return 0;
24995 }
24996 _ACEOF
24997 rm -f conftest.$ac_objext
24998 if { (ac_try="$ac_compile"
24999 case "(($ac_try" in
25000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25001 *) ac_try_echo=$ac_try;;
25002 esac
25003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25004 (eval "$ac_compile") 2>conftest.er1
25005 ac_status=$?
25006 grep -v '^ *+' conftest.er1 >conftest.err
25007 rm -f conftest.er1
25008 cat conftest.err >&5
25009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25010 (exit $ac_status); } && {
25011 test -z "$ac_c_werror_flag" ||
25012 test ! -s conftest.err
25013 } && test -s conftest.$ac_objext; then
25014 # It does; now see whether it defined to BIG_ENDIAN or not.
25015 cat >conftest.$ac_ext <<_ACEOF
25016 /* confdefs.h. */
25017 _ACEOF
25018 cat confdefs.h >>conftest.$ac_ext
25019 cat >>conftest.$ac_ext <<_ACEOF
25020 /* end confdefs.h. */
25021 #include <sys/types.h>
25022 #include <sys/param.h>
25023 int
25024 main ()
25025 {
25026
25027 #if BYTE_ORDER != BIG_ENDIAN
25028 not big endian
25029 #endif
25030 ;
25031 return 0;
25032 }
25033 _ACEOF
25034 rm -f conftest.$ac_objext
25035 if { (ac_try="$ac_compile"
25036 case "(($ac_try" in
25037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25038 *) ac_try_echo=$ac_try;;
25039 esac
25040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25041 (eval "$ac_compile") 2>conftest.er1
25042 ac_status=$?
25043 grep -v '^ *+' conftest.er1 >conftest.err
25044 rm -f conftest.er1
25045 cat conftest.err >&5
25046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25047 (exit $ac_status); } && {
25048 test -z "$ac_c_werror_flag" ||
25049 test ! -s conftest.err
25050 } && test -s conftest.$ac_objext; then
25051 ac_cv_c_bigendian=yes
25052 else
25053 echo "$as_me: failed program was:" >&5
25054 sed 's/^/| /' conftest.$ac_ext >&5
25055
25056 ac_cv_c_bigendian=no
25057 fi
25058
25059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25060 else
25061 echo "$as_me: failed program was:" >&5
25062 sed 's/^/| /' conftest.$ac_ext >&5
25063
25064
25065 fi
25066
25067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25068 if test $ac_cv_c_bigendian = unknown; then
25069 if test "$cross_compiling" = yes; then
25070 ac_cv_c_bigendian=unknown
25071 else
25072 cat >conftest.$ac_ext <<_ACEOF
25073 /* confdefs.h. */
25074 _ACEOF
25075 cat confdefs.h >>conftest.$ac_ext
25076 cat >>conftest.$ac_ext <<_ACEOF
25077 /* end confdefs.h. */
25078 main () {
25079 /* Are we little or big endian? From Harbison&Steele. */
25080 union
25081 {
25082 long l;
25083 char c[sizeof (long)];
25084 } u;
25085 u.l = 1;
25086 exit (u.c[sizeof (long) - 1] == 1);
25087 }
25088 _ACEOF
25089 rm -f conftest$ac_exeext
25090 if { (ac_try="$ac_link"
25091 case "(($ac_try" in
25092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25093 *) ac_try_echo=$ac_try;;
25094 esac
25095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25096 (eval "$ac_link") 2>&5
25097 ac_status=$?
25098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25099 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25100 { (case "(($ac_try" in
25101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25102 *) ac_try_echo=$ac_try;;
25103 esac
25104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25105 (eval "$ac_try") 2>&5
25106 ac_status=$?
25107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25108 (exit $ac_status); }; }; then
25109 ac_cv_c_bigendian=no
25110 else
25111 echo "$as_me: program exited with status $ac_status" >&5
25112 echo "$as_me: failed program was:" >&5
25113 sed 's/^/| /' conftest.$ac_ext >&5
25114
25115 ( exit $ac_status )
25116 ac_cv_c_bigendian=yes
25117 fi
25118 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25119 fi
25120
25121
25122 fi
25123 fi
25124 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25125 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25126 if test $ac_cv_c_bigendian = unknown; then
25127 { echo "$as_me:$LINENO: WARNING: Assuming little-endian target machine - this may be overridden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
25128 echo "$as_me: WARNING: Assuming little-endian target machine - this may be overridden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
25129 fi
25130 if test $ac_cv_c_bigendian = yes; then
25131 cat >>confdefs.h <<\_ACEOF
25132 #define WORDS_BIGENDIAN 1
25133 _ACEOF
25134
25135 fi
25136
25137
25138
25139
25140 ac_ext=cpp
25141 ac_cpp='$CXXCPP $CPPFLAGS'
25142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25145
25146
25147
25148 for ac_header in iostream
25149 do
25150 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25151 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25152 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25153 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25154 echo $ECHO_N "(cached) $ECHO_C" >&6
25155 else
25156 cat >conftest.$ac_ext <<_ACEOF
25157 /* confdefs.h. */
25158 _ACEOF
25159 cat confdefs.h >>conftest.$ac_ext
25160 cat >>conftest.$ac_ext <<_ACEOF
25161 /* end confdefs.h. */
25162
25163
25164 #include <$ac_header>
25165 _ACEOF
25166 rm -f conftest.$ac_objext
25167 if { (ac_try="$ac_compile"
25168 case "(($ac_try" in
25169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25170 *) ac_try_echo=$ac_try;;
25171 esac
25172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25173 (eval "$ac_compile") 2>conftest.er1
25174 ac_status=$?
25175 grep -v '^ *+' conftest.er1 >conftest.err
25176 rm -f conftest.er1
25177 cat conftest.err >&5
25178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25179 (exit $ac_status); } && {
25180 test -z "$ac_cxx_werror_flag" ||
25181 test ! -s conftest.err
25182 } && test -s conftest.$ac_objext; then
25183 eval "$as_ac_Header=yes"
25184 else
25185 echo "$as_me: failed program was:" >&5
25186 sed 's/^/| /' conftest.$ac_ext >&5
25187
25188 eval "$as_ac_Header=no"
25189 fi
25190
25191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25192 fi
25193 ac_res=`eval echo '${'$as_ac_Header'}'`
25194 { echo "$as_me:$LINENO: result: $ac_res" >&5
25195 echo "${ECHO_T}$ac_res" >&6; }
25196 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25197 cat >>confdefs.h <<_ACEOF
25198 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25199 _ACEOF
25200
25201 fi
25202
25203 done
25204
25205
25206 if test "$ac_cv_header_iostream" = "yes" ; then
25207 :
25208 else
25209 cat >>confdefs.h <<\_ACEOF
25210 #define wxUSE_IOSTREAMH 1
25211 _ACEOF
25212
25213 fi
25214
25215 ac_ext=c
25216 ac_cpp='$CPP $CPPFLAGS'
25217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25220
25221
25222
25223
25224 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25225 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
25226 if test "${wx_cv_explicit+set}" = set; then
25227 echo $ECHO_N "(cached) $ECHO_C" >&6
25228 else
25229
25230
25231 ac_ext=cpp
25232 ac_cpp='$CXXCPP $CPPFLAGS'
25233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25236
25237
25238 cat >conftest.$ac_ext <<_ACEOF
25239 /* confdefs.h. */
25240 _ACEOF
25241 cat confdefs.h >>conftest.$ac_ext
25242 cat >>conftest.$ac_ext <<_ACEOF
25243 /* end confdefs.h. */
25244
25245 class Foo { public: explicit Foo(int) {} };
25246
25247 int
25248 main ()
25249 {
25250
25251 return 0;
25252
25253 ;
25254 return 0;
25255 }
25256 _ACEOF
25257 rm -f conftest.$ac_objext
25258 if { (ac_try="$ac_compile"
25259 case "(($ac_try" in
25260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25261 *) ac_try_echo=$ac_try;;
25262 esac
25263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25264 (eval "$ac_compile") 2>conftest.er1
25265 ac_status=$?
25266 grep -v '^ *+' conftest.er1 >conftest.err
25267 rm -f conftest.er1
25268 cat conftest.err >&5
25269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25270 (exit $ac_status); } && {
25271 test -z "$ac_cxx_werror_flag" ||
25272 test ! -s conftest.err
25273 } && test -s conftest.$ac_objext; then
25274
25275 cat >conftest.$ac_ext <<_ACEOF
25276 /* confdefs.h. */
25277 _ACEOF
25278 cat confdefs.h >>conftest.$ac_ext
25279 cat >>conftest.$ac_ext <<_ACEOF
25280 /* end confdefs.h. */
25281
25282 class Foo { public: explicit Foo(int) {} };
25283 static void TakeFoo(const Foo& foo) { }
25284
25285 int
25286 main ()
25287 {
25288
25289 TakeFoo(17);
25290 return 0;
25291
25292 ;
25293 return 0;
25294 }
25295 _ACEOF
25296 rm -f conftest.$ac_objext
25297 if { (ac_try="$ac_compile"
25298 case "(($ac_try" in
25299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25300 *) ac_try_echo=$ac_try;;
25301 esac
25302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25303 (eval "$ac_compile") 2>conftest.er1
25304 ac_status=$?
25305 grep -v '^ *+' conftest.er1 >conftest.err
25306 rm -f conftest.er1
25307 cat conftest.err >&5
25308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25309 (exit $ac_status); } && {
25310 test -z "$ac_cxx_werror_flag" ||
25311 test ! -s conftest.err
25312 } && test -s conftest.$ac_objext; then
25313 wx_cv_explicit=no
25314 else
25315 echo "$as_me: failed program was:" >&5
25316 sed 's/^/| /' conftest.$ac_ext >&5
25317
25318 wx_cv_explicit=yes
25319
25320 fi
25321
25322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25323
25324 else
25325 echo "$as_me: failed program was:" >&5
25326 sed 's/^/| /' conftest.$ac_ext >&5
25327
25328 wx_cv_explicit=no
25329
25330 fi
25331
25332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25333
25334 ac_ext=c
25335 ac_cpp='$CPP $CPPFLAGS'
25336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25339
25340
25341 fi
25342 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25343 echo "${ECHO_T}$wx_cv_explicit" >&6; }
25344
25345 if test "$wx_cv_explicit" = "yes"; then
25346 cat >>confdefs.h <<\_ACEOF
25347 #define HAVE_EXPLICIT 1
25348 _ACEOF
25349
25350 fi
25351
25352
25353 if test "x$SUNCXX" = xyes; then
25354 CXXFLAGS="-features=tmplife $CXXFLAGS"
25355 fi
25356
25357 if test "x$SUNCC" = xyes; then
25358 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25359 fi
25360
25361 if test "x$SGICC" = "xyes"; then
25362 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
25363 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
25364 if test "${wx_cv_prog_sgicc744+set}" = set; then
25365 echo $ECHO_N "(cached) $ECHO_C" >&6
25366 else
25367
25368 cat >conftest.$ac_ext <<_ACEOF
25369 /* confdefs.h. */
25370 _ACEOF
25371 cat confdefs.h >>conftest.$ac_ext
25372 cat >>conftest.$ac_ext <<_ACEOF
25373 /* end confdefs.h. */
25374
25375 int
25376 main ()
25377 {
25378
25379 #if _SGI_COMPILER_VERSION >= 744
25380 chock me: mipsPro is 7.4.4 or later
25381 #endif
25382
25383 ;
25384 return 0;
25385 }
25386 _ACEOF
25387 rm -f conftest.$ac_objext
25388 if { (ac_try="$ac_compile"
25389 case "(($ac_try" in
25390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25391 *) ac_try_echo=$ac_try;;
25392 esac
25393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25394 (eval "$ac_compile") 2>conftest.er1
25395 ac_status=$?
25396 grep -v '^ *+' conftest.er1 >conftest.err
25397 rm -f conftest.er1
25398 cat conftest.err >&5
25399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25400 (exit $ac_status); } && {
25401 test -z "$ac_c_werror_flag" ||
25402 test ! -s conftest.err
25403 } && test -s conftest.$ac_objext; then
25404 wx_cv_prog_sgicc744=no
25405 else
25406 echo "$as_me: failed program was:" >&5
25407 sed 's/^/| /' conftest.$ac_ext >&5
25408
25409 wx_cv_prog_sgicc744=yes
25410
25411 fi
25412
25413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25414
25415
25416 fi
25417 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
25418 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
25419
25420 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
25421 CFLAGS="-woff 3970 $CFLAGS"
25422 fi
25423 fi
25424 if test "x$SGICXX" = "xyes"; then
25425 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
25426 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
25427 if test "${wx_cv_prog_sgicxx744+set}" = set; then
25428 echo $ECHO_N "(cached) $ECHO_C" >&6
25429 else
25430
25431 ac_ext=cpp
25432 ac_cpp='$CXXCPP $CPPFLAGS'
25433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25436
25437 cat >conftest.$ac_ext <<_ACEOF
25438 /* confdefs.h. */
25439 _ACEOF
25440 cat confdefs.h >>conftest.$ac_ext
25441 cat >>conftest.$ac_ext <<_ACEOF
25442 /* end confdefs.h. */
25443
25444 int
25445 main ()
25446 {
25447
25448 #if _SGI_COMPILER_VERSION >= 744
25449 chock me: mipsPro is 7.4.4 or later
25450 #endif
25451
25452 ;
25453 return 0;
25454 }
25455 _ACEOF
25456 rm -f conftest.$ac_objext
25457 if { (ac_try="$ac_compile"
25458 case "(($ac_try" in
25459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25460 *) ac_try_echo=$ac_try;;
25461 esac
25462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25463 (eval "$ac_compile") 2>conftest.er1
25464 ac_status=$?
25465 grep -v '^ *+' conftest.er1 >conftest.err
25466 rm -f conftest.er1
25467 cat conftest.err >&5
25468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25469 (exit $ac_status); } && {
25470 test -z "$ac_cxx_werror_flag" ||
25471 test ! -s conftest.err
25472 } && test -s conftest.$ac_objext; then
25473 wx_cv_prog_sgicxx744=no
25474 else
25475 echo "$as_me: failed program was:" >&5
25476 sed 's/^/| /' conftest.$ac_ext >&5
25477
25478 wx_cv_prog_sgicxx744=yes
25479
25480 fi
25481
25482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25483 ac_ext=c
25484 ac_cpp='$CPP $CPPFLAGS'
25485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25488
25489
25490
25491 fi
25492 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25493 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25494
25495 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25496 CXXFLAGS="-woff 3970 $CXXFLAGS"
25497 fi
25498 fi
25499
25500 if test "x$HPCC" = "xyes"; then
25501 CFLAGS="+W 2011,2450 $CFLAGS"
25502 fi
25503 if test "x$HPCXX" = "xyes"; then
25504 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25505 fi
25506
25507 if test "x$COMPAQCXX" = "xyes"; then
25508 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25509 fi
25510
25511 ac_ext=cpp
25512 ac_cpp='$CXXCPP $CPPFLAGS'
25513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25516
25517
25518 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25519 if test "$wxUSE_UNICODE" = "yes"; then
25520 std_string="std::wstring"
25521 char_type="wchar_t"
25522 else
25523 std_string="std::string"
25524 char_type="char"
25525 fi
25526
25527 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25528 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25529 if test "${wx_cv_class_stdstring+set}" = set; then
25530 echo $ECHO_N "(cached) $ECHO_C" >&6
25531 else
25532
25533 cat >conftest.$ac_ext <<_ACEOF
25534 /* confdefs.h. */
25535 _ACEOF
25536 cat confdefs.h >>conftest.$ac_ext
25537 cat >>conftest.$ac_ext <<_ACEOF
25538 /* end confdefs.h. */
25539 #include <string>
25540 int
25541 main ()
25542 {
25543 $std_string foo;
25544 ;
25545 return 0;
25546 }
25547 _ACEOF
25548 rm -f conftest.$ac_objext
25549 if { (ac_try="$ac_compile"
25550 case "(($ac_try" in
25551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25552 *) ac_try_echo=$ac_try;;
25553 esac
25554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25555 (eval "$ac_compile") 2>conftest.er1
25556 ac_status=$?
25557 grep -v '^ *+' conftest.er1 >conftest.err
25558 rm -f conftest.er1
25559 cat conftest.err >&5
25560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25561 (exit $ac_status); } && {
25562 test -z "$ac_cxx_werror_flag" ||
25563 test ! -s conftest.err
25564 } && test -s conftest.$ac_objext; then
25565 wx_cv_class_stdstring=yes
25566 else
25567 echo "$as_me: failed program was:" >&5
25568 sed 's/^/| /' conftest.$ac_ext >&5
25569
25570 wx_cv_class_stdstring=no
25571
25572 fi
25573
25574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25575
25576
25577 fi
25578 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25579 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25580
25581 if test "$wx_cv_class_stdstring" = yes; then
25582 if test "$wxUSE_UNICODE" = "yes"; then
25583 cat >>confdefs.h <<\_ACEOF
25584 #define HAVE_STD_WSTRING 1
25585 _ACEOF
25586
25587 fi
25588 else
25589 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25590 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25591 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25592 echo $ECHO_N "(cached) $ECHO_C" >&6
25593 else
25594
25595 cat >conftest.$ac_ext <<_ACEOF
25596 /* confdefs.h. */
25597 _ACEOF
25598 cat confdefs.h >>conftest.$ac_ext
25599 cat >>conftest.$ac_ext <<_ACEOF
25600 /* end confdefs.h. */
25601
25602 #ifdef HAVE_WCHAR_H
25603 # ifdef __CYGWIN__
25604 # include <stddef.h>
25605 # endif
25606 # include <wchar.h>
25607 #endif
25608 #ifdef HAVE_STDLIB_H
25609 # include <stdlib.h>
25610 #endif
25611 #include <stdio.h>
25612 #include <string>
25613
25614 int
25615 main ()
25616 {
25617 std::basic_string<$char_type> foo;
25618 const $char_type* dummy = foo.c_str();
25619 ;
25620 return 0;
25621 }
25622 _ACEOF
25623 rm -f conftest.$ac_objext
25624 if { (ac_try="$ac_compile"
25625 case "(($ac_try" in
25626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25627 *) ac_try_echo=$ac_try;;
25628 esac
25629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25630 (eval "$ac_compile") 2>conftest.er1
25631 ac_status=$?
25632 grep -v '^ *+' conftest.er1 >conftest.err
25633 rm -f conftest.er1
25634 cat conftest.err >&5
25635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25636 (exit $ac_status); } && {
25637 test -z "$ac_cxx_werror_flag" ||
25638 test ! -s conftest.err
25639 } && test -s conftest.$ac_objext; then
25640 wx_cv_class_stdbasicstring=yes
25641 else
25642 echo "$as_me: failed program was:" >&5
25643 sed 's/^/| /' conftest.$ac_ext >&5
25644
25645 wx_cv_class_stdbasicstring=no
25646
25647 fi
25648
25649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25650
25651
25652 fi
25653 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25654 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25655
25656 if test "$wx_cv_class_stdbasicstring" != yes; then
25657 if test "$wxUSE_STL" = "yes"; then
25658 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25659 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25660 { (exit 1); exit 1; }; }
25661 elif test "$wxUSE_STD_STRING" = "yes"; then
25662 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25663 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25664 { (exit 1); exit 1; }; }
25665 else
25666 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25667 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25668 wxUSE_STD_STRING=no
25669 fi
25670 fi
25671 fi
25672 fi
25673
25674 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25675 { echo "$as_me:$LINENO: checking for std::istream" >&5
25676 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25677 if test "${ac_cv_type_std__istream+set}" = set; then
25678 echo $ECHO_N "(cached) $ECHO_C" >&6
25679 else
25680 cat >conftest.$ac_ext <<_ACEOF
25681 /* confdefs.h. */
25682 _ACEOF
25683 cat confdefs.h >>conftest.$ac_ext
25684 cat >>conftest.$ac_ext <<_ACEOF
25685 /* end confdefs.h. */
25686 #include <iostream>
25687
25688 typedef std::istream ac__type_new_;
25689 int
25690 main ()
25691 {
25692 if ((ac__type_new_ *) 0)
25693 return 0;
25694 if (sizeof (ac__type_new_))
25695 return 0;
25696 ;
25697 return 0;
25698 }
25699 _ACEOF
25700 rm -f conftest.$ac_objext
25701 if { (ac_try="$ac_compile"
25702 case "(($ac_try" in
25703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25704 *) ac_try_echo=$ac_try;;
25705 esac
25706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25707 (eval "$ac_compile") 2>conftest.er1
25708 ac_status=$?
25709 grep -v '^ *+' conftest.er1 >conftest.err
25710 rm -f conftest.er1
25711 cat conftest.err >&5
25712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25713 (exit $ac_status); } && {
25714 test -z "$ac_cxx_werror_flag" ||
25715 test ! -s conftest.err
25716 } && test -s conftest.$ac_objext; then
25717 ac_cv_type_std__istream=yes
25718 else
25719 echo "$as_me: failed program was:" >&5
25720 sed 's/^/| /' conftest.$ac_ext >&5
25721
25722 ac_cv_type_std__istream=no
25723 fi
25724
25725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25726 fi
25727 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25728 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25729 if test $ac_cv_type_std__istream = yes; then
25730
25731 cat >>confdefs.h <<_ACEOF
25732 #define HAVE_STD__ISTREAM 1
25733 _ACEOF
25734
25735
25736 else
25737 wxUSE_STD_IOSTREAM=no
25738 fi
25739 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25740 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25741 if test "${ac_cv_type_std__ostream+set}" = set; then
25742 echo $ECHO_N "(cached) $ECHO_C" >&6
25743 else
25744 cat >conftest.$ac_ext <<_ACEOF
25745 /* confdefs.h. */
25746 _ACEOF
25747 cat confdefs.h >>conftest.$ac_ext
25748 cat >>conftest.$ac_ext <<_ACEOF
25749 /* end confdefs.h. */
25750 #include <iostream>
25751
25752 typedef std::ostream ac__type_new_;
25753 int
25754 main ()
25755 {
25756 if ((ac__type_new_ *) 0)
25757 return 0;
25758 if (sizeof (ac__type_new_))
25759 return 0;
25760 ;
25761 return 0;
25762 }
25763 _ACEOF
25764 rm -f conftest.$ac_objext
25765 if { (ac_try="$ac_compile"
25766 case "(($ac_try" in
25767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25768 *) ac_try_echo=$ac_try;;
25769 esac
25770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25771 (eval "$ac_compile") 2>conftest.er1
25772 ac_status=$?
25773 grep -v '^ *+' conftest.er1 >conftest.err
25774 rm -f conftest.er1
25775 cat conftest.err >&5
25776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25777 (exit $ac_status); } && {
25778 test -z "$ac_cxx_werror_flag" ||
25779 test ! -s conftest.err
25780 } && test -s conftest.$ac_objext; then
25781 ac_cv_type_std__ostream=yes
25782 else
25783 echo "$as_me: failed program was:" >&5
25784 sed 's/^/| /' conftest.$ac_ext >&5
25785
25786 ac_cv_type_std__ostream=no
25787 fi
25788
25789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25790 fi
25791 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25792 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25793 if test $ac_cv_type_std__ostream = yes; then
25794
25795 cat >>confdefs.h <<_ACEOF
25796 #define HAVE_STD__OSTREAM 1
25797 _ACEOF
25798
25799
25800 else
25801 wxUSE_STD_IOSTREAM=no
25802 fi
25803
25804
25805 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25806 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25807 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
25808 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25809 { (exit 1); exit 1; }; }
25810 else
25811 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25812 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25813 fi
25814 fi
25815 fi
25816
25817 if test "$wxUSE_STL" = "yes"; then
25818 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25819 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25820 if test "${wx_cv_lib_stl+set}" = set; then
25821 echo $ECHO_N "(cached) $ECHO_C" >&6
25822 else
25823 cat >conftest.$ac_ext <<_ACEOF
25824 /* confdefs.h. */
25825 _ACEOF
25826 cat confdefs.h >>conftest.$ac_ext
25827 cat >>conftest.$ac_ext <<_ACEOF
25828 /* end confdefs.h. */
25829 #include <string>
25830 #include <functional>
25831 #include <algorithm>
25832 #include <vector>
25833 #include <list>
25834 int
25835 main ()
25836 {
25837 std::vector<int> moo;
25838 std::list<int> foo;
25839 std::vector<int>::iterator it =
25840 std::find_if(moo.begin(), moo.end(),
25841 std::bind2nd(std::less<int>(), 3));
25842 ;
25843 return 0;
25844 }
25845 _ACEOF
25846 rm -f conftest.$ac_objext
25847 if { (ac_try="$ac_compile"
25848 case "(($ac_try" in
25849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25850 *) ac_try_echo=$ac_try;;
25851 esac
25852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25853 (eval "$ac_compile") 2>conftest.er1
25854 ac_status=$?
25855 grep -v '^ *+' conftest.er1 >conftest.err
25856 rm -f conftest.er1
25857 cat conftest.err >&5
25858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25859 (exit $ac_status); } && {
25860 test -z "$ac_cxx_werror_flag" ||
25861 test ! -s conftest.err
25862 } && test -s conftest.$ac_objext; then
25863 wx_cv_lib_stl=yes
25864 else
25865 echo "$as_me: failed program was:" >&5
25866 sed 's/^/| /' conftest.$ac_ext >&5
25867
25868 wx_cv_lib_stl=no
25869
25870 fi
25871
25872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25873
25874 fi
25875 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25876 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25877
25878 if test "$wx_cv_lib_stl" != yes; then
25879 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
25880 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
25881 { (exit 1); exit 1; }; }
25882 fi
25883
25884 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25885 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25886 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25887 echo $ECHO_N "(cached) $ECHO_C" >&6
25888 else
25889 cat >conftest.$ac_ext <<_ACEOF
25890 /* confdefs.h. */
25891 _ACEOF
25892 cat confdefs.h >>conftest.$ac_ext
25893 cat >>conftest.$ac_ext <<_ACEOF
25894 /* end confdefs.h. */
25895 #include <string>
25896 int
25897 main ()
25898 {
25899 std::string foo, bar;
25900 foo.compare(bar);
25901 foo.compare(1, 1, bar);
25902 foo.compare(1, 1, bar, 1, 1);
25903 foo.compare("");
25904 foo.compare(1, 1, "");
25905 foo.compare(1, 1, "", 2);
25906 ;
25907 return 0;
25908 }
25909 _ACEOF
25910 rm -f conftest.$ac_objext
25911 if { (ac_try="$ac_compile"
25912 case "(($ac_try" in
25913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25914 *) ac_try_echo=$ac_try;;
25915 esac
25916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25917 (eval "$ac_compile") 2>conftest.er1
25918 ac_status=$?
25919 grep -v '^ *+' conftest.er1 >conftest.err
25920 rm -f conftest.er1
25921 cat conftest.err >&5
25922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25923 (exit $ac_status); } && {
25924 test -z "$ac_cxx_werror_flag" ||
25925 test ! -s conftest.err
25926 } && test -s conftest.$ac_objext; then
25927 wx_cv_func_stdstring_compare=yes
25928 else
25929 echo "$as_me: failed program was:" >&5
25930 sed 's/^/| /' conftest.$ac_ext >&5
25931
25932 wx_cv_func_stdstring_compare=no
25933
25934 fi
25935
25936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25937
25938 fi
25939 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25940 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25941
25942 if test "$wx_cv_func_stdstring_compare" = yes; then
25943 cat >>confdefs.h <<\_ACEOF
25944 #define HAVE_STD_STRING_COMPARE 1
25945 _ACEOF
25946
25947 fi
25948
25949 if test "$wx_cv_class_gnuhashmapset" = yes; then
25950 cat >>confdefs.h <<\_ACEOF
25951 #define HAVE_EXT_HASH_MAP 1
25952 _ACEOF
25953
25954 cat >>confdefs.h <<\_ACEOF
25955 #define HAVE_GNU_CXX_HASH_MAP 1
25956 _ACEOF
25957
25958 fi
25959
25960 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25961 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25962 if test "${ac_cv_header_unordered_map+set}" = set; then
25963 echo $ECHO_N "(cached) $ECHO_C" >&6
25964 else
25965 cat >conftest.$ac_ext <<_ACEOF
25966 /* confdefs.h. */
25967 _ACEOF
25968 cat confdefs.h >>conftest.$ac_ext
25969 cat >>conftest.$ac_ext <<_ACEOF
25970 /* end confdefs.h. */
25971
25972
25973
25974 #include <unordered_map>
25975 _ACEOF
25976 rm -f conftest.$ac_objext
25977 if { (ac_try="$ac_compile"
25978 case "(($ac_try" in
25979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25980 *) ac_try_echo=$ac_try;;
25981 esac
25982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25983 (eval "$ac_compile") 2>conftest.er1
25984 ac_status=$?
25985 grep -v '^ *+' conftest.er1 >conftest.err
25986 rm -f conftest.er1
25987 cat conftest.err >&5
25988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25989 (exit $ac_status); } && {
25990 test -z "$ac_cxx_werror_flag" ||
25991 test ! -s conftest.err
25992 } && test -s conftest.$ac_objext; then
25993 ac_cv_header_unordered_map=yes
25994 else
25995 echo "$as_me: failed program was:" >&5
25996 sed 's/^/| /' conftest.$ac_ext >&5
25997
25998 ac_cv_header_unordered_map=no
25999 fi
26000
26001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26002 fi
26003 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
26004 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
26005 if test $ac_cv_header_unordered_map = yes; then
26006 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
26007 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
26008 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
26009 echo $ECHO_N "(cached) $ECHO_C" >&6
26010 else
26011 cat >conftest.$ac_ext <<_ACEOF
26012 /* confdefs.h. */
26013 _ACEOF
26014 cat confdefs.h >>conftest.$ac_ext
26015 cat >>conftest.$ac_ext <<_ACEOF
26016 /* end confdefs.h. */
26017 #include <unordered_map>
26018 #include <unordered_set>
26019 int
26020 main ()
26021 {
26022 std::unordered_map<double*, char*> test1;
26023 std::unordered_set<char*> test2;
26024 ;
26025 return 0;
26026 }
26027 _ACEOF
26028 rm -f conftest.$ac_objext
26029 if { (ac_try="$ac_compile"
26030 case "(($ac_try" in
26031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26032 *) ac_try_echo=$ac_try;;
26033 esac
26034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26035 (eval "$ac_compile") 2>conftest.er1
26036 ac_status=$?
26037 grep -v '^ *+' conftest.er1 >conftest.err
26038 rm -f conftest.er1
26039 cat conftest.err >&5
26040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26041 (exit $ac_status); } && {
26042 test -z "$ac_cxx_werror_flag" ||
26043 test ! -s conftest.err
26044 } && test -s conftest.$ac_objext; then
26045 wx_cv_class_stdunorderedmapset=yes
26046 else
26047 echo "$as_me: failed program was:" >&5
26048 sed 's/^/| /' conftest.$ac_ext >&5
26049
26050 wx_cv_class_stdunorderedmapset=no
26051 fi
26052
26053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26054
26055
26056 fi
26057 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
26058 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
26059 fi
26060
26061
26062
26063 if test "$wx_cv_class_stdunorderedmapset" = yes; then
26064 cat >>confdefs.h <<\_ACEOF
26065 #define HAVE_STD_UNORDERED_MAP 1
26066 _ACEOF
26067
26068 cat >>confdefs.h <<\_ACEOF
26069 #define HAVE_STD_UNORDERED_SET 1
26070 _ACEOF
26071
26072 else
26073 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
26074 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
26075 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
26076 echo $ECHO_N "(cached) $ECHO_C" >&6
26077 else
26078 cat >conftest.$ac_ext <<_ACEOF
26079 /* confdefs.h. */
26080 _ACEOF
26081 cat confdefs.h >>conftest.$ac_ext
26082 cat >>conftest.$ac_ext <<_ACEOF
26083 /* end confdefs.h. */
26084
26085
26086
26087 #include <tr1/unordered_map>
26088 _ACEOF
26089 rm -f conftest.$ac_objext
26090 if { (ac_try="$ac_compile"
26091 case "(($ac_try" in
26092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26093 *) ac_try_echo=$ac_try;;
26094 esac
26095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26096 (eval "$ac_compile") 2>conftest.er1
26097 ac_status=$?
26098 grep -v '^ *+' conftest.er1 >conftest.err
26099 rm -f conftest.er1
26100 cat conftest.err >&5
26101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26102 (exit $ac_status); } && {
26103 test -z "$ac_cxx_werror_flag" ||
26104 test ! -s conftest.err
26105 } && test -s conftest.$ac_objext; then
26106 ac_cv_header_tr1_unordered_map=yes
26107 else
26108 echo "$as_me: failed program was:" >&5
26109 sed 's/^/| /' conftest.$ac_ext >&5
26110
26111 ac_cv_header_tr1_unordered_map=no
26112 fi
26113
26114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26115 fi
26116 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
26117 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
26118 if test $ac_cv_header_tr1_unordered_map = yes; then
26119 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
26120 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
26121 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
26122 echo $ECHO_N "(cached) $ECHO_C" >&6
26123 else
26124 cat >conftest.$ac_ext <<_ACEOF
26125 /* confdefs.h. */
26126 _ACEOF
26127 cat confdefs.h >>conftest.$ac_ext
26128 cat >>conftest.$ac_ext <<_ACEOF
26129 /* end confdefs.h. */
26130 #include <tr1/unordered_map>
26131 #include <tr1/unordered_set>
26132 int
26133 main ()
26134 {
26135 std::tr1::unordered_map<double*, char*> test1;
26136 std::tr1::unordered_set<char*> test2;
26137 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
26138 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
26139 #endif
26140 ;
26141 return 0;
26142 }
26143 _ACEOF
26144 rm -f conftest.$ac_objext
26145 if { (ac_try="$ac_compile"
26146 case "(($ac_try" in
26147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26148 *) ac_try_echo=$ac_try;;
26149 esac
26150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26151 (eval "$ac_compile") 2>conftest.er1
26152 ac_status=$?
26153 grep -v '^ *+' conftest.er1 >conftest.err
26154 rm -f conftest.er1
26155 cat conftest.err >&5
26156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26157 (exit $ac_status); } && {
26158 test -z "$ac_cxx_werror_flag" ||
26159 test ! -s conftest.err
26160 } && test -s conftest.$ac_objext; then
26161 wx_cv_class_tr1unorderedmapset=yes
26162 else
26163 echo "$as_me: failed program was:" >&5
26164 sed 's/^/| /' conftest.$ac_ext >&5
26165
26166 wx_cv_class_tr1unorderedmapset=no
26167 fi
26168
26169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26170
26171
26172 fi
26173 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
26174 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
26175 fi
26176
26177
26178
26179 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
26180 cat >>confdefs.h <<\_ACEOF
26181 #define HAVE_TR1_UNORDERED_MAP 1
26182 _ACEOF
26183
26184 cat >>confdefs.h <<\_ACEOF
26185 #define HAVE_TR1_UNORDERED_SET 1
26186 _ACEOF
26187
26188 else
26189 { echo "$as_me:$LINENO: checking for hash_map" >&5
26190 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26191 if test "${ac_cv_header_hash_map+set}" = set; then
26192 echo $ECHO_N "(cached) $ECHO_C" >&6
26193 else
26194 cat >conftest.$ac_ext <<_ACEOF
26195 /* confdefs.h. */
26196 _ACEOF
26197 cat confdefs.h >>conftest.$ac_ext
26198 cat >>conftest.$ac_ext <<_ACEOF
26199 /* end confdefs.h. */
26200
26201
26202
26203 #include <hash_map>
26204 _ACEOF
26205 rm -f conftest.$ac_objext
26206 if { (ac_try="$ac_compile"
26207 case "(($ac_try" in
26208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26209 *) ac_try_echo=$ac_try;;
26210 esac
26211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26212 (eval "$ac_compile") 2>conftest.er1
26213 ac_status=$?
26214 grep -v '^ *+' conftest.er1 >conftest.err
26215 rm -f conftest.er1
26216 cat conftest.err >&5
26217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26218 (exit $ac_status); } && {
26219 test -z "$ac_cxx_werror_flag" ||
26220 test ! -s conftest.err
26221 } && test -s conftest.$ac_objext; then
26222 ac_cv_header_hash_map=yes
26223 else
26224 echo "$as_me: failed program was:" >&5
26225 sed 's/^/| /' conftest.$ac_ext >&5
26226
26227 ac_cv_header_hash_map=no
26228 fi
26229
26230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26231 fi
26232 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26233 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26234 if test $ac_cv_header_hash_map = yes; then
26235 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
26236 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
26237 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26238 echo $ECHO_N "(cached) $ECHO_C" >&6
26239 else
26240 cat >conftest.$ac_ext <<_ACEOF
26241 /* confdefs.h. */
26242 _ACEOF
26243 cat confdefs.h >>conftest.$ac_ext
26244 cat >>conftest.$ac_ext <<_ACEOF
26245 /* end confdefs.h. */
26246 #include <hash_map>
26247 #include <hash_set>
26248 int
26249 main ()
26250 {
26251 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26252 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26253 ;
26254 return 0;
26255 }
26256 _ACEOF
26257 rm -f conftest.$ac_objext
26258 if { (ac_try="$ac_compile"
26259 case "(($ac_try" in
26260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26261 *) ac_try_echo=$ac_try;;
26262 esac
26263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26264 (eval "$ac_compile") 2>conftest.er1
26265 ac_status=$?
26266 grep -v '^ *+' conftest.er1 >conftest.err
26267 rm -f conftest.er1
26268 cat conftest.err >&5
26269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26270 (exit $ac_status); } && {
26271 test -z "$ac_cxx_werror_flag" ||
26272 test ! -s conftest.err
26273 } && test -s conftest.$ac_objext; then
26274 wx_cv_class_stdhashmapset=yes
26275 else
26276 echo "$as_me: failed program was:" >&5
26277 sed 's/^/| /' conftest.$ac_ext >&5
26278
26279 wx_cv_class_stdhashmapset=no
26280 fi
26281
26282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26283
26284
26285 fi
26286 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26287 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26288 fi
26289
26290
26291
26292 if test "$wx_cv_class_stdhashmapset" = yes; then
26293 cat >>confdefs.h <<\_ACEOF
26294 #define HAVE_HASH_MAP 1
26295 _ACEOF
26296
26297 cat >>confdefs.h <<\_ACEOF
26298 #define HAVE_STD_HASH_MAP 1
26299 _ACEOF
26300
26301 fi
26302
26303 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26304 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26305 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26306 echo $ECHO_N "(cached) $ECHO_C" >&6
26307 else
26308 cat >conftest.$ac_ext <<_ACEOF
26309 /* confdefs.h. */
26310 _ACEOF
26311 cat confdefs.h >>conftest.$ac_ext
26312 cat >>conftest.$ac_ext <<_ACEOF
26313 /* end confdefs.h. */
26314
26315
26316
26317 #include <ext/hash_map>
26318 _ACEOF
26319 rm -f conftest.$ac_objext
26320 if { (ac_try="$ac_compile"
26321 case "(($ac_try" in
26322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26323 *) ac_try_echo=$ac_try;;
26324 esac
26325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26326 (eval "$ac_compile") 2>conftest.er1
26327 ac_status=$?
26328 grep -v '^ *+' conftest.er1 >conftest.err
26329 rm -f conftest.er1
26330 cat conftest.err >&5
26331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26332 (exit $ac_status); } && {
26333 test -z "$ac_cxx_werror_flag" ||
26334 test ! -s conftest.err
26335 } && test -s conftest.$ac_objext; then
26336 ac_cv_header_ext_hash_map=yes
26337 else
26338 echo "$as_me: failed program was:" >&5
26339 sed 's/^/| /' conftest.$ac_ext >&5
26340
26341 ac_cv_header_ext_hash_map=no
26342 fi
26343
26344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26345 fi
26346 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26347 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26348 if test $ac_cv_header_ext_hash_map = yes; then
26349 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26350 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26351 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26352 echo $ECHO_N "(cached) $ECHO_C" >&6
26353 else
26354 cat >conftest.$ac_ext <<_ACEOF
26355 /* confdefs.h. */
26356 _ACEOF
26357 cat confdefs.h >>conftest.$ac_ext
26358 cat >>conftest.$ac_ext <<_ACEOF
26359 /* end confdefs.h. */
26360 #include <ext/hash_map>
26361 #include <ext/hash_set>
26362 int
26363 main ()
26364 {
26365 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26366 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26367 ;
26368 return 0;
26369 }
26370 _ACEOF
26371 rm -f conftest.$ac_objext
26372 if { (ac_try="$ac_compile"
26373 case "(($ac_try" in
26374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26375 *) ac_try_echo=$ac_try;;
26376 esac
26377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26378 (eval "$ac_compile") 2>conftest.er1
26379 ac_status=$?
26380 grep -v '^ *+' conftest.er1 >conftest.err
26381 rm -f conftest.er1
26382 cat conftest.err >&5
26383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26384 (exit $ac_status); } && {
26385 test -z "$ac_cxx_werror_flag" ||
26386 test ! -s conftest.err
26387 } && test -s conftest.$ac_objext; then
26388 wx_cv_class_gnuhashmapset=yes
26389 else
26390 echo "$as_me: failed program was:" >&5
26391 sed 's/^/| /' conftest.$ac_ext >&5
26392
26393 wx_cv_class_gnuhashmapset=no
26394 fi
26395
26396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26397
26398
26399 fi
26400 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26401 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26402 fi
26403
26404
26405
26406 fi
26407 fi
26408 fi
26409
26410 ac_ext=cpp
26411 ac_cpp='$CXXCPP $CPPFLAGS'
26412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26415 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
26416 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
26417 if test -z "$CXXCPP"; then
26418 if test "${ac_cv_prog_CXXCPP+set}" = set; then
26419 echo $ECHO_N "(cached) $ECHO_C" >&6
26420 else
26421 # Double quotes because CXXCPP needs to be expanded
26422 for CXXCPP in "$CXX -E" "/lib/cpp"
26423 do
26424 ac_preproc_ok=false
26425 for ac_cxx_preproc_warn_flag in '' yes
26426 do
26427 # Use a header file that comes with gcc, so configuring glibc
26428 # with a fresh cross-compiler works.
26429 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26430 # <limits.h> exists even on freestanding compilers.
26431 # On the NeXT, cc -E runs the code through the compiler's parser,
26432 # not just through cpp. "Syntax error" is here to catch this case.
26433 cat >conftest.$ac_ext <<_ACEOF
26434 /* confdefs.h. */
26435 _ACEOF
26436 cat confdefs.h >>conftest.$ac_ext
26437 cat >>conftest.$ac_ext <<_ACEOF
26438 /* end confdefs.h. */
26439 #ifdef __STDC__
26440 # include <limits.h>
26441 #else
26442 # include <assert.h>
26443 #endif
26444 Syntax error
26445 _ACEOF
26446 if { (ac_try="$ac_cpp conftest.$ac_ext"
26447 case "(($ac_try" in
26448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26449 *) ac_try_echo=$ac_try;;
26450 esac
26451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26452 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26453 ac_status=$?
26454 grep -v '^ *+' conftest.er1 >conftest.err
26455 rm -f conftest.er1
26456 cat conftest.err >&5
26457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26458 (exit $ac_status); } >/dev/null && {
26459 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26460 test ! -s conftest.err
26461 }; then
26462 :
26463 else
26464 echo "$as_me: failed program was:" >&5
26465 sed 's/^/| /' conftest.$ac_ext >&5
26466
26467 # Broken: fails on valid input.
26468 continue
26469 fi
26470
26471 rm -f conftest.err conftest.$ac_ext
26472
26473 # OK, works on sane cases. Now check whether nonexistent headers
26474 # can be detected and how.
26475 cat >conftest.$ac_ext <<_ACEOF
26476 /* confdefs.h. */
26477 _ACEOF
26478 cat confdefs.h >>conftest.$ac_ext
26479 cat >>conftest.$ac_ext <<_ACEOF
26480 /* end confdefs.h. */
26481 #include <ac_nonexistent.h>
26482 _ACEOF
26483 if { (ac_try="$ac_cpp conftest.$ac_ext"
26484 case "(($ac_try" in
26485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26486 *) ac_try_echo=$ac_try;;
26487 esac
26488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26489 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26490 ac_status=$?
26491 grep -v '^ *+' conftest.er1 >conftest.err
26492 rm -f conftest.er1
26493 cat conftest.err >&5
26494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26495 (exit $ac_status); } >/dev/null && {
26496 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26497 test ! -s conftest.err
26498 }; then
26499 # Broken: success on invalid input.
26500 continue
26501 else
26502 echo "$as_me: failed program was:" >&5
26503 sed 's/^/| /' conftest.$ac_ext >&5
26504
26505 # Passes both tests.
26506 ac_preproc_ok=:
26507 break
26508 fi
26509
26510 rm -f conftest.err conftest.$ac_ext
26511
26512 done
26513 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26514 rm -f conftest.err conftest.$ac_ext
26515 if $ac_preproc_ok; then
26516 break
26517 fi
26518
26519 done
26520 ac_cv_prog_CXXCPP=$CXXCPP
26521
26522 fi
26523 CXXCPP=$ac_cv_prog_CXXCPP
26524 else
26525 ac_cv_prog_CXXCPP=$CXXCPP
26526 fi
26527 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26528 echo "${ECHO_T}$CXXCPP" >&6; }
26529 ac_preproc_ok=false
26530 for ac_cxx_preproc_warn_flag in '' yes
26531 do
26532 # Use a header file that comes with gcc, so configuring glibc
26533 # with a fresh cross-compiler works.
26534 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26535 # <limits.h> exists even on freestanding compilers.
26536 # On the NeXT, cc -E runs the code through the compiler's parser,
26537 # not just through cpp. "Syntax error" is here to catch this case.
26538 cat >conftest.$ac_ext <<_ACEOF
26539 /* confdefs.h. */
26540 _ACEOF
26541 cat confdefs.h >>conftest.$ac_ext
26542 cat >>conftest.$ac_ext <<_ACEOF
26543 /* end confdefs.h. */
26544 #ifdef __STDC__
26545 # include <limits.h>
26546 #else
26547 # include <assert.h>
26548 #endif
26549 Syntax error
26550 _ACEOF
26551 if { (ac_try="$ac_cpp conftest.$ac_ext"
26552 case "(($ac_try" in
26553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26554 *) ac_try_echo=$ac_try;;
26555 esac
26556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26557 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26558 ac_status=$?
26559 grep -v '^ *+' conftest.er1 >conftest.err
26560 rm -f conftest.er1
26561 cat conftest.err >&5
26562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26563 (exit $ac_status); } >/dev/null && {
26564 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26565 test ! -s conftest.err
26566 }; then
26567 :
26568 else
26569 echo "$as_me: failed program was:" >&5
26570 sed 's/^/| /' conftest.$ac_ext >&5
26571
26572 # Broken: fails on valid input.
26573 continue
26574 fi
26575
26576 rm -f conftest.err conftest.$ac_ext
26577
26578 # OK, works on sane cases. Now check whether nonexistent headers
26579 # can be detected and how.
26580 cat >conftest.$ac_ext <<_ACEOF
26581 /* confdefs.h. */
26582 _ACEOF
26583 cat confdefs.h >>conftest.$ac_ext
26584 cat >>conftest.$ac_ext <<_ACEOF
26585 /* end confdefs.h. */
26586 #include <ac_nonexistent.h>
26587 _ACEOF
26588 if { (ac_try="$ac_cpp conftest.$ac_ext"
26589 case "(($ac_try" in
26590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26591 *) ac_try_echo=$ac_try;;
26592 esac
26593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26594 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26595 ac_status=$?
26596 grep -v '^ *+' conftest.er1 >conftest.err
26597 rm -f conftest.er1
26598 cat conftest.err >&5
26599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26600 (exit $ac_status); } >/dev/null && {
26601 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26602 test ! -s conftest.err
26603 }; then
26604 # Broken: success on invalid input.
26605 continue
26606 else
26607 echo "$as_me: failed program was:" >&5
26608 sed 's/^/| /' conftest.$ac_ext >&5
26609
26610 # Passes both tests.
26611 ac_preproc_ok=:
26612 break
26613 fi
26614
26615 rm -f conftest.err conftest.$ac_ext
26616
26617 done
26618 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26619 rm -f conftest.err conftest.$ac_ext
26620 if $ac_preproc_ok; then
26621 :
26622 else
26623 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26624 See \`config.log' for more details." >&5
26625 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26626 See \`config.log' for more details." >&2;}
26627 { (exit 1); exit 1; }; }
26628 fi
26629
26630 ac_ext=cpp
26631 ac_cpp='$CXXCPP $CPPFLAGS'
26632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26635
26636
26637
26638
26639 for ac_header in type_traits tr1/type_traits
26640 do
26641 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26642 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26643 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26644 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26645 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26646 echo $ECHO_N "(cached) $ECHO_C" >&6
26647 fi
26648 ac_res=`eval echo '${'$as_ac_Header'}'`
26649 { echo "$as_me:$LINENO: result: $ac_res" >&5
26650 echo "${ECHO_T}$ac_res" >&6; }
26651 else
26652 # Is the header compilable?
26653 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26654 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26655 cat >conftest.$ac_ext <<_ACEOF
26656 /* confdefs.h. */
26657 _ACEOF
26658 cat confdefs.h >>conftest.$ac_ext
26659 cat >>conftest.$ac_ext <<_ACEOF
26660 /* end confdefs.h. */
26661 $ac_includes_default
26662 #include <$ac_header>
26663 _ACEOF
26664 rm -f conftest.$ac_objext
26665 if { (ac_try="$ac_compile"
26666 case "(($ac_try" in
26667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26668 *) ac_try_echo=$ac_try;;
26669 esac
26670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26671 (eval "$ac_compile") 2>conftest.er1
26672 ac_status=$?
26673 grep -v '^ *+' conftest.er1 >conftest.err
26674 rm -f conftest.er1
26675 cat conftest.err >&5
26676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26677 (exit $ac_status); } && {
26678 test -z "$ac_cxx_werror_flag" ||
26679 test ! -s conftest.err
26680 } && test -s conftest.$ac_objext; then
26681 ac_header_compiler=yes
26682 else
26683 echo "$as_me: failed program was:" >&5
26684 sed 's/^/| /' conftest.$ac_ext >&5
26685
26686 ac_header_compiler=no
26687 fi
26688
26689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26690 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26691 echo "${ECHO_T}$ac_header_compiler" >&6; }
26692
26693 # Is the header present?
26694 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26695 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26696 cat >conftest.$ac_ext <<_ACEOF
26697 /* confdefs.h. */
26698 _ACEOF
26699 cat confdefs.h >>conftest.$ac_ext
26700 cat >>conftest.$ac_ext <<_ACEOF
26701 /* end confdefs.h. */
26702 #include <$ac_header>
26703 _ACEOF
26704 if { (ac_try="$ac_cpp conftest.$ac_ext"
26705 case "(($ac_try" in
26706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26707 *) ac_try_echo=$ac_try;;
26708 esac
26709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26710 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26711 ac_status=$?
26712 grep -v '^ *+' conftest.er1 >conftest.err
26713 rm -f conftest.er1
26714 cat conftest.err >&5
26715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26716 (exit $ac_status); } >/dev/null && {
26717 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26718 test ! -s conftest.err
26719 }; then
26720 ac_header_preproc=yes
26721 else
26722 echo "$as_me: failed program was:" >&5
26723 sed 's/^/| /' conftest.$ac_ext >&5
26724
26725 ac_header_preproc=no
26726 fi
26727
26728 rm -f conftest.err conftest.$ac_ext
26729 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26730 echo "${ECHO_T}$ac_header_preproc" >&6; }
26731
26732 # So? What about this header?
26733 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26734 yes:no: )
26735 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26736 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26737 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26738 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26739 ac_header_preproc=yes
26740 ;;
26741 no:yes:* )
26742 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26743 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26744 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26745 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26746 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26747 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26748 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26749 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26750 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26751 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26752 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26753 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26754 ( cat <<\_ASBOX
26755 ## ----------------------------------------- ##
26756 ## Report this to wx-dev@lists.wxwidgets.org ##
26757 ## ----------------------------------------- ##
26758 _ASBOX
26759 ) | sed "s/^/$as_me: WARNING: /" >&2
26760 ;;
26761 esac
26762 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26763 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26764 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26765 echo $ECHO_N "(cached) $ECHO_C" >&6
26766 else
26767 eval "$as_ac_Header=\$ac_header_preproc"
26768 fi
26769 ac_res=`eval echo '${'$as_ac_Header'}'`
26770 { echo "$as_me:$LINENO: result: $ac_res" >&5
26771 echo "${ECHO_T}$ac_res" >&6; }
26772
26773 fi
26774 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26775 cat >>confdefs.h <<_ACEOF
26776 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26777 _ACEOF
26778
26779 fi
26780
26781 done
26782
26783
26784
26785
26786 if test -n "$GCC"; then
26787 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
26788 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
26789 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
26790 echo $ECHO_N "(cached) $ECHO_C" >&6
26791 else
26792
26793 cat >conftest.$ac_ext <<_ACEOF
26794 /* confdefs.h. */
26795 _ACEOF
26796 cat confdefs.h >>conftest.$ac_ext
26797 cat >>conftest.$ac_ext <<_ACEOF
26798 /* end confdefs.h. */
26799
26800 int
26801 main ()
26802 {
26803
26804 unsigned int value=0;
26805 /* wxAtomicInc doesn't use return value here */
26806 __sync_fetch_and_add(&value, 2);
26807 __sync_sub_and_fetch(&value, 1);
26808 /* but wxAtomicDec does, so mimic that: */
26809 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
26810
26811 ;
26812 return 0;
26813 }
26814 _ACEOF
26815 rm -f conftest.$ac_objext conftest$ac_exeext
26816 if { (ac_try="$ac_link"
26817 case "(($ac_try" in
26818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26819 *) ac_try_echo=$ac_try;;
26820 esac
26821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26822 (eval "$ac_link") 2>conftest.er1
26823 ac_status=$?
26824 grep -v '^ *+' conftest.er1 >conftest.err
26825 rm -f conftest.er1
26826 cat conftest.err >&5
26827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26828 (exit $ac_status); } && {
26829 test -z "$ac_cxx_werror_flag" ||
26830 test ! -s conftest.err
26831 } && test -s conftest$ac_exeext &&
26832 $as_test_x conftest$ac_exeext; then
26833 wx_cv_cc_gcc_atomic_builtins=yes
26834 else
26835 echo "$as_me: failed program was:" >&5
26836 sed 's/^/| /' conftest.$ac_ext >&5
26837
26838 wx_cv_cc_gcc_atomic_builtins=no
26839 fi
26840
26841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26842 conftest$ac_exeext conftest.$ac_ext
26843
26844 fi
26845
26846 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
26847 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
26848 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
26849 cat >>confdefs.h <<\_ACEOF
26850 #define HAVE_GCC_ATOMIC_BUILTINS 1
26851 _ACEOF
26852
26853 fi
26854 fi
26855
26856
26857 ac_ext=c
26858 ac_cpp='$CPP $CPPFLAGS'
26859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26862
26863
26864
26865 SEARCH_INCLUDE="\
26866 /usr/local/include \
26867 /usr/local/X11/include \
26868 /usr/local/include/X11 \
26869 /usr/local/X11R7/include \
26870 /usr/local/X11R6/include \
26871 /usr/local/include/X11R7 \
26872 /usr/local/include/X11R6 \
26873 \
26874 /usr/Motif-2.1/include \
26875 /usr/Motif-1.2/include \
26876 /usr/include/Motif1.2 \
26877 \
26878 /usr/dt/include \
26879 /usr/openwin/include \
26880 \
26881 /usr/include/Xm \
26882 \
26883 /usr/X11R7/include \
26884 /usr/X11R6/include \
26885 /usr/X11R6.4/include \
26886 \
26887 /usr/include/X11R7 \
26888 /usr/include/X11R6 \
26889 \
26890 /usr/X11/include \
26891 /usr/include/X11 \
26892 \
26893 /usr/XFree86/include/X11 \
26894 /usr/pkg/include \
26895 \
26896 /usr/local/X1R5/include \
26897 /usr/local/include/X11R5 \
26898 /usr/X11R5/include \
26899 /usr/include/X11R5 \
26900 \
26901 /usr/local/X11R4/include \
26902 /usr/local/include/X11R4 \
26903 /usr/X11R4/include \
26904 /usr/include/X11R4 \
26905 \
26906 /usr/openwin/share/include"
26907
26908 { echo "$as_me:$LINENO: checking for libraries directory" >&5
26909 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
26910
26911 case "${host}" in
26912 *-*-irix6* )
26913 if test "${wx_cv_std_libpath+set}" = set; then
26914 echo $ECHO_N "(cached) $ECHO_C" >&6
26915 else
26916
26917 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26918 for e in a so sl dylib dll.a; do
26919 libc="$d/libc.$e"
26920 if test -f $libc; then
26921 save_LIBS="$LIBS"
26922 LIBS="$libc"
26923 cat >conftest.$ac_ext <<_ACEOF
26924 int main() { return 0; }
26925 _ACEOF
26926 rm -f conftest.$ac_objext conftest$ac_exeext
26927 if { (ac_try="$ac_link"
26928 case "(($ac_try" in
26929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26930 *) ac_try_echo=$ac_try;;
26931 esac
26932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26933 (eval "$ac_link") 2>conftest.er1
26934 ac_status=$?
26935 grep -v '^ *+' conftest.er1 >conftest.err
26936 rm -f conftest.er1
26937 cat conftest.err >&5
26938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26939 (exit $ac_status); } && {
26940 test -z "$ac_c_werror_flag" ||
26941 test ! -s conftest.err
26942 } && test -s conftest$ac_exeext &&
26943 $as_test_x conftest$ac_exeext; then
26944 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
26945 else
26946 echo "$as_me: failed program was:" >&5
26947 sed 's/^/| /' conftest.$ac_ext >&5
26948
26949
26950 fi
26951
26952 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26953 conftest$ac_exeext conftest.$ac_ext
26954 LIBS="$save_LIBS"
26955 if test "x$wx_cv_std_libpath" != "x"; then
26956 break 2
26957 fi
26958 fi
26959 done
26960 done
26961 if test "x$wx_cv_std_libpath" = "x"; then
26962 wx_cv_std_libpath="lib"
26963 fi
26964
26965
26966 fi
26967
26968 ;;
26969
26970 *-*-solaris2* )
26971 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26972 wx_cv_std_libpath="lib/64"
26973 else
26974 wx_cv_std_libpath="lib"
26975 fi
26976 ;;
26977
26978 *-*-linux* )
26979 if test "$ac_cv_sizeof_void_p" = 8 -a \
26980 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26981 wx_cv_std_libpath="lib64"
26982 else
26983 wx_cv_std_libpath="lib"
26984 fi
26985 ;;
26986
26987 *)
26988 wx_cv_std_libpath="lib";
26989 ;;
26990 esac
26991
26992 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26993 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26994
26995 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26996
26997 if test "$build" != "$host" -a "$GCC" = yes; then
26998 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
26999 cross_root=`dirname $cross_root`
27000 cross_root=`dirname $cross_root`
27001
27002 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27003 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27004 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27005
27006 if test -z "$PKG_CONFIG_PATH"; then
27007 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27008 export PKG_CONFIG_PATH
27009 fi
27010
27011 if test -z "$x_includes" -o "$x_includes" = NONE; then
27012
27013 ac_find_includes=
27014 for ac_dir in $SEARCH_INCLUDE /usr/include
27015 do
27016 if test -f "$ac_dir/X11/Intrinsic.h"; then
27017 ac_find_includes=$ac_dir
27018 break
27019 fi
27020 done
27021
27022 x_includes=$ac_find_includes
27023 fi
27024 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27025
27026 ac_find_libraries=
27027 for ac_dir in $SEARCH_LIB
27028 do
27029 for ac_extension in a so sl dylib dll.a; do
27030 if test -f "$ac_dir/libXt.$ac_extension"; then
27031 ac_find_libraries=$ac_dir
27032 break 2
27033 fi
27034 done
27035 done
27036
27037 x_libraries=$ac_find_libraries
27038 fi
27039 fi
27040 fi
27041
27042
27043 cat >confcache <<\_ACEOF
27044 # This file is a shell script that caches the results of configure
27045 # tests run on this system so they can be shared between configure
27046 # scripts and configure runs, see configure's option --config-cache.
27047 # It is not useful on other systems. If it contains results you don't
27048 # want to keep, you may remove or edit it.
27049 #
27050 # config.status only pays attention to the cache file if you give it
27051 # the --recheck option to rerun configure.
27052 #
27053 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27054 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27055 # following values.
27056
27057 _ACEOF
27058
27059 # The following way of writing the cache mishandles newlines in values,
27060 # but we know of no workaround that is simple, portable, and efficient.
27061 # So, we kill variables containing newlines.
27062 # Ultrix sh set writes to stderr and can't be redirected directly,
27063 # and sets the high bit in the cache file unless we assign to the vars.
27064 (
27065 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27066 eval ac_val=\$$ac_var
27067 case $ac_val in #(
27068 *${as_nl}*)
27069 case $ac_var in #(
27070 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27071 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27072 esac
27073 case $ac_var in #(
27074 _ | IFS | as_nl) ;; #(
27075 *) $as_unset $ac_var ;;
27076 esac ;;
27077 esac
27078 done
27079
27080 (set) 2>&1 |
27081 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27082 *${as_nl}ac_space=\ *)
27083 # `set' does not quote correctly, so add quotes (double-quote
27084 # substitution turns \\\\ into \\, and sed turns \\ into \).
27085 sed -n \
27086 "s/'/'\\\\''/g;
27087 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27088 ;; #(
27089 *)
27090 # `set' quotes correctly as required by POSIX, so do not add quotes.
27091 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27092 ;;
27093 esac |
27094 sort
27095 ) |
27096 sed '
27097 /^ac_cv_env_/b end
27098 t clear
27099 :clear
27100 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27101 t end
27102 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27103 :end' >>confcache
27104 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27105 if test -w "$cache_file"; then
27106 test "x$cache_file" != "x/dev/null" &&
27107 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27108 echo "$as_me: updating cache $cache_file" >&6;}
27109 cat confcache >$cache_file
27110 else
27111 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27112 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27113 fi
27114 fi
27115 rm -f confcache
27116
27117 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27118 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27119 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27120 if test "${wx_cv_lib_glibc21+set}" = set; then
27121 echo $ECHO_N "(cached) $ECHO_C" >&6
27122 else
27123
27124 cat >conftest.$ac_ext <<_ACEOF
27125 /* confdefs.h. */
27126 _ACEOF
27127 cat confdefs.h >>conftest.$ac_ext
27128 cat >>conftest.$ac_ext <<_ACEOF
27129 /* end confdefs.h. */
27130 #include <features.h>
27131 int
27132 main ()
27133 {
27134
27135 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27136 not glibc 2.1
27137 #endif
27138
27139 ;
27140 return 0;
27141 }
27142 _ACEOF
27143 rm -f conftest.$ac_objext
27144 if { (ac_try="$ac_compile"
27145 case "(($ac_try" in
27146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27147 *) ac_try_echo=$ac_try;;
27148 esac
27149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27150 (eval "$ac_compile") 2>conftest.er1
27151 ac_status=$?
27152 grep -v '^ *+' conftest.er1 >conftest.err
27153 rm -f conftest.er1
27154 cat conftest.err >&5
27155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27156 (exit $ac_status); } && {
27157 test -z "$ac_c_werror_flag" ||
27158 test ! -s conftest.err
27159 } && test -s conftest.$ac_objext; then
27160
27161 wx_cv_lib_glibc21=yes
27162
27163 else
27164 echo "$as_me: failed program was:" >&5
27165 sed 's/^/| /' conftest.$ac_ext >&5
27166
27167
27168 wx_cv_lib_glibc21=no
27169
27170
27171 fi
27172
27173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27174
27175 fi
27176 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27177 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27178 if test "$wx_cv_lib_glibc21" = "yes"; then
27179 cat >>confdefs.h <<\_ACEOF
27180 #define wxHAVE_GLIBC2 1
27181 _ACEOF
27182
27183 fi
27184 fi
27185
27186 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27187 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27188 cat >>confdefs.h <<\_ACEOF
27189 #define _GNU_SOURCE 1
27190 _ACEOF
27191
27192 fi
27193 fi
27194
27195 have_cos=0
27196 have_floor=0
27197
27198 for ac_func in cos
27199 do
27200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27201 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27203 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27204 echo $ECHO_N "(cached) $ECHO_C" >&6
27205 else
27206 cat >conftest.$ac_ext <<_ACEOF
27207 /* confdefs.h. */
27208 _ACEOF
27209 cat confdefs.h >>conftest.$ac_ext
27210 cat >>conftest.$ac_ext <<_ACEOF
27211 /* end confdefs.h. */
27212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27214 #define $ac_func innocuous_$ac_func
27215
27216 /* System header to define __stub macros and hopefully few prototypes,
27217 which can conflict with char $ac_func (); below.
27218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27219 <limits.h> exists even on freestanding compilers. */
27220
27221 #ifdef __STDC__
27222 # include <limits.h>
27223 #else
27224 # include <assert.h>
27225 #endif
27226
27227 #undef $ac_func
27228
27229 /* Override any GCC internal prototype to avoid an error.
27230 Use char because int might match the return type of a GCC
27231 builtin and then its argument prototype would still apply. */
27232 #ifdef __cplusplus
27233 extern "C"
27234 #endif
27235 char $ac_func ();
27236 /* The GNU C library defines this for functions which it implements
27237 to always fail with ENOSYS. Some functions are actually named
27238 something starting with __ and the normal name is an alias. */
27239 #if defined __stub_$ac_func || defined __stub___$ac_func
27240 choke me
27241 #endif
27242
27243 int
27244 main ()
27245 {
27246 return $ac_func ();
27247 ;
27248 return 0;
27249 }
27250 _ACEOF
27251 rm -f conftest.$ac_objext conftest$ac_exeext
27252 if { (ac_try="$ac_link"
27253 case "(($ac_try" in
27254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27255 *) ac_try_echo=$ac_try;;
27256 esac
27257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27258 (eval "$ac_link") 2>conftest.er1
27259 ac_status=$?
27260 grep -v '^ *+' conftest.er1 >conftest.err
27261 rm -f conftest.er1
27262 cat conftest.err >&5
27263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27264 (exit $ac_status); } && {
27265 test -z "$ac_c_werror_flag" ||
27266 test ! -s conftest.err
27267 } && test -s conftest$ac_exeext &&
27268 $as_test_x conftest$ac_exeext; then
27269 eval "$as_ac_var=yes"
27270 else
27271 echo "$as_me: failed program was:" >&5
27272 sed 's/^/| /' conftest.$ac_ext >&5
27273
27274 eval "$as_ac_var=no"
27275 fi
27276
27277 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27278 conftest$ac_exeext conftest.$ac_ext
27279 fi
27280 ac_res=`eval echo '${'$as_ac_var'}'`
27281 { echo "$as_me:$LINENO: result: $ac_res" >&5
27282 echo "${ECHO_T}$ac_res" >&6; }
27283 if test `eval echo '${'$as_ac_var'}'` = yes; then
27284 cat >>confdefs.h <<_ACEOF
27285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27286 _ACEOF
27287 have_cos=1
27288 fi
27289 done
27290
27291
27292 for ac_func in floor
27293 do
27294 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27295 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27297 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27298 echo $ECHO_N "(cached) $ECHO_C" >&6
27299 else
27300 cat >conftest.$ac_ext <<_ACEOF
27301 /* confdefs.h. */
27302 _ACEOF
27303 cat confdefs.h >>conftest.$ac_ext
27304 cat >>conftest.$ac_ext <<_ACEOF
27305 /* end confdefs.h. */
27306 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27308 #define $ac_func innocuous_$ac_func
27309
27310 /* System header to define __stub macros and hopefully few prototypes,
27311 which can conflict with char $ac_func (); below.
27312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27313 <limits.h> exists even on freestanding compilers. */
27314
27315 #ifdef __STDC__
27316 # include <limits.h>
27317 #else
27318 # include <assert.h>
27319 #endif
27320
27321 #undef $ac_func
27322
27323 /* Override any GCC internal prototype to avoid an error.
27324 Use char because int might match the return type of a GCC
27325 builtin and then its argument prototype would still apply. */
27326 #ifdef __cplusplus
27327 extern "C"
27328 #endif
27329 char $ac_func ();
27330 /* The GNU C library defines this for functions which it implements
27331 to always fail with ENOSYS. Some functions are actually named
27332 something starting with __ and the normal name is an alias. */
27333 #if defined __stub_$ac_func || defined __stub___$ac_func
27334 choke me
27335 #endif
27336
27337 int
27338 main ()
27339 {
27340 return $ac_func ();
27341 ;
27342 return 0;
27343 }
27344 _ACEOF
27345 rm -f conftest.$ac_objext conftest$ac_exeext
27346 if { (ac_try="$ac_link"
27347 case "(($ac_try" in
27348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27349 *) ac_try_echo=$ac_try;;
27350 esac
27351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27352 (eval "$ac_link") 2>conftest.er1
27353 ac_status=$?
27354 grep -v '^ *+' conftest.er1 >conftest.err
27355 rm -f conftest.er1
27356 cat conftest.err >&5
27357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27358 (exit $ac_status); } && {
27359 test -z "$ac_c_werror_flag" ||
27360 test ! -s conftest.err
27361 } && test -s conftest$ac_exeext &&
27362 $as_test_x conftest$ac_exeext; then
27363 eval "$as_ac_var=yes"
27364 else
27365 echo "$as_me: failed program was:" >&5
27366 sed 's/^/| /' conftest.$ac_ext >&5
27367
27368 eval "$as_ac_var=no"
27369 fi
27370
27371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27372 conftest$ac_exeext conftest.$ac_ext
27373 fi
27374 ac_res=`eval echo '${'$as_ac_var'}'`
27375 { echo "$as_me:$LINENO: result: $ac_res" >&5
27376 echo "${ECHO_T}$ac_res" >&6; }
27377 if test `eval echo '${'$as_ac_var'}'` = yes; then
27378 cat >>confdefs.h <<_ACEOF
27379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27380 _ACEOF
27381 have_floor=1
27382 fi
27383 done
27384
27385 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27386 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27387 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27388 { echo "$as_me:$LINENO: result: yes" >&5
27389 echo "${ECHO_T}yes" >&6; }
27390 else
27391 { echo "$as_me:$LINENO: result: no" >&5
27392 echo "${ECHO_T}no" >&6; }
27393 LIBS="$LIBS -lm"
27394 # use different functions to avoid configure caching
27395 have_sin=0
27396 have_ceil=0
27397
27398 for ac_func in sin
27399 do
27400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27401 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27403 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27404 echo $ECHO_N "(cached) $ECHO_C" >&6
27405 else
27406 cat >conftest.$ac_ext <<_ACEOF
27407 /* confdefs.h. */
27408 _ACEOF
27409 cat confdefs.h >>conftest.$ac_ext
27410 cat >>conftest.$ac_ext <<_ACEOF
27411 /* end confdefs.h. */
27412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27414 #define $ac_func innocuous_$ac_func
27415
27416 /* System header to define __stub macros and hopefully few prototypes,
27417 which can conflict with char $ac_func (); below.
27418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27419 <limits.h> exists even on freestanding compilers. */
27420
27421 #ifdef __STDC__
27422 # include <limits.h>
27423 #else
27424 # include <assert.h>
27425 #endif
27426
27427 #undef $ac_func
27428
27429 /* Override any GCC internal prototype to avoid an error.
27430 Use char because int might match the return type of a GCC
27431 builtin and then its argument prototype would still apply. */
27432 #ifdef __cplusplus
27433 extern "C"
27434 #endif
27435 char $ac_func ();
27436 /* The GNU C library defines this for functions which it implements
27437 to always fail with ENOSYS. Some functions are actually named
27438 something starting with __ and the normal name is an alias. */
27439 #if defined __stub_$ac_func || defined __stub___$ac_func
27440 choke me
27441 #endif
27442
27443 int
27444 main ()
27445 {
27446 return $ac_func ();
27447 ;
27448 return 0;
27449 }
27450 _ACEOF
27451 rm -f conftest.$ac_objext conftest$ac_exeext
27452 if { (ac_try="$ac_link"
27453 case "(($ac_try" in
27454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27455 *) ac_try_echo=$ac_try;;
27456 esac
27457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27458 (eval "$ac_link") 2>conftest.er1
27459 ac_status=$?
27460 grep -v '^ *+' conftest.er1 >conftest.err
27461 rm -f conftest.er1
27462 cat conftest.err >&5
27463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27464 (exit $ac_status); } && {
27465 test -z "$ac_c_werror_flag" ||
27466 test ! -s conftest.err
27467 } && test -s conftest$ac_exeext &&
27468 $as_test_x conftest$ac_exeext; then
27469 eval "$as_ac_var=yes"
27470 else
27471 echo "$as_me: failed program was:" >&5
27472 sed 's/^/| /' conftest.$ac_ext >&5
27473
27474 eval "$as_ac_var=no"
27475 fi
27476
27477 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27478 conftest$ac_exeext conftest.$ac_ext
27479 fi
27480 ac_res=`eval echo '${'$as_ac_var'}'`
27481 { echo "$as_me:$LINENO: result: $ac_res" >&5
27482 echo "${ECHO_T}$ac_res" >&6; }
27483 if test `eval echo '${'$as_ac_var'}'` = yes; then
27484 cat >>confdefs.h <<_ACEOF
27485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27486 _ACEOF
27487 have_sin=1
27488 fi
27489 done
27490
27491
27492 for ac_func in ceil
27493 do
27494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27495 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27497 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27498 echo $ECHO_N "(cached) $ECHO_C" >&6
27499 else
27500 cat >conftest.$ac_ext <<_ACEOF
27501 /* confdefs.h. */
27502 _ACEOF
27503 cat confdefs.h >>conftest.$ac_ext
27504 cat >>conftest.$ac_ext <<_ACEOF
27505 /* end confdefs.h. */
27506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27508 #define $ac_func innocuous_$ac_func
27509
27510 /* System header to define __stub macros and hopefully few prototypes,
27511 which can conflict with char $ac_func (); below.
27512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27513 <limits.h> exists even on freestanding compilers. */
27514
27515 #ifdef __STDC__
27516 # include <limits.h>
27517 #else
27518 # include <assert.h>
27519 #endif
27520
27521 #undef $ac_func
27522
27523 /* Override any GCC internal prototype to avoid an error.
27524 Use char because int might match the return type of a GCC
27525 builtin and then its argument prototype would still apply. */
27526 #ifdef __cplusplus
27527 extern "C"
27528 #endif
27529 char $ac_func ();
27530 /* The GNU C library defines this for functions which it implements
27531 to always fail with ENOSYS. Some functions are actually named
27532 something starting with __ and the normal name is an alias. */
27533 #if defined __stub_$ac_func || defined __stub___$ac_func
27534 choke me
27535 #endif
27536
27537 int
27538 main ()
27539 {
27540 return $ac_func ();
27541 ;
27542 return 0;
27543 }
27544 _ACEOF
27545 rm -f conftest.$ac_objext conftest$ac_exeext
27546 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
27553 ac_status=$?
27554 grep -v '^ *+' conftest.er1 >conftest.err
27555 rm -f conftest.er1
27556 cat conftest.err >&5
27557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27558 (exit $ac_status); } && {
27559 test -z "$ac_c_werror_flag" ||
27560 test ! -s conftest.err
27561 } && test -s conftest$ac_exeext &&
27562 $as_test_x conftest$ac_exeext; then
27563 eval "$as_ac_var=yes"
27564 else
27565 echo "$as_me: failed program was:" >&5
27566 sed 's/^/| /' conftest.$ac_ext >&5
27567
27568 eval "$as_ac_var=no"
27569 fi
27570
27571 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27572 conftest$ac_exeext conftest.$ac_ext
27573 fi
27574 ac_res=`eval echo '${'$as_ac_var'}'`
27575 { echo "$as_me:$LINENO: result: $ac_res" >&5
27576 echo "${ECHO_T}$ac_res" >&6; }
27577 if test `eval echo '${'$as_ac_var'}'` = yes; then
27578 cat >>confdefs.h <<_ACEOF
27579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27580 _ACEOF
27581 have_ceil=1
27582 fi
27583 done
27584
27585 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27586 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27587 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27588 { echo "$as_me:$LINENO: result: yes" >&5
27589 echo "${ECHO_T}yes" >&6; }
27590 else
27591 { echo "$as_me:$LINENO: result: no" >&5
27592 echo "${ECHO_T}no" >&6; }
27593 # not sure we should warn the user, crash, etc.
27594 fi
27595 fi
27596
27597 ac_ext=cpp
27598 ac_cpp='$CXXCPP $CPPFLAGS'
27599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27602
27603 if test "wxUSE_UNICODE" = "yes"; then
27604
27605 for wx_func in wcstoull
27606 do
27607 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27608 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27609 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27610 echo $ECHO_N "(cached) $ECHO_C" >&6
27611 else
27612
27613 cat >conftest.$ac_ext <<_ACEOF
27614
27615 /* confdefs.h. */
27616 _ACEOF
27617 cat confdefs.h >>conftest.$ac_ext
27618 cat >>conftest.$ac_ext <<_ACEOF
27619 /* end confdefs.h. */
27620
27621
27622 $ac_includes_default
27623
27624 int
27625 main ()
27626 {
27627
27628 #ifndef $wx_func
27629 &$wx_func;
27630 #endif
27631
27632
27633 ;
27634 return 0;
27635 }
27636
27637 _ACEOF
27638 rm -f conftest.$ac_objext conftest$ac_exeext
27639 if { (ac_try="$ac_link"
27640 case "(($ac_try" in
27641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27642 *) ac_try_echo=$ac_try;;
27643 esac
27644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27645 (eval "$ac_link") 2>conftest.er1
27646 ac_status=$?
27647 grep -v '^ *+' conftest.er1 >conftest.err
27648 rm -f conftest.er1
27649 cat conftest.err >&5
27650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27651 (exit $ac_status); } && {
27652 test -z "$ac_cxx_werror_flag" ||
27653 test ! -s conftest.err
27654 } && test -s conftest$ac_exeext &&
27655 $as_test_x conftest$ac_exeext; then
27656 eval wx_cv_func_$wx_func=yes
27657 else
27658 echo "$as_me: failed program was:" >&5
27659 sed 's/^/| /' conftest.$ac_ext >&5
27660
27661 eval wx_cv_func_$wx_func=no
27662 fi
27663
27664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27665 conftest$ac_exeext conftest.$ac_ext
27666
27667 fi
27668 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27669 { echo "$as_me:$LINENO: result: $ac_res" >&5
27670 echo "${ECHO_T}$ac_res" >&6; }
27671
27672 if eval test \$wx_cv_func_$wx_func = yes
27673 then
27674 cat >>confdefs.h <<_ACEOF
27675 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27676 _ACEOF
27677
27678
27679 else
27680 :
27681
27682 fi
27683 done
27684
27685 else
27686
27687 for wx_func in strtoull
27688 do
27689 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27690 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27691 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27692 echo $ECHO_N "(cached) $ECHO_C" >&6
27693 else
27694
27695 cat >conftest.$ac_ext <<_ACEOF
27696
27697 /* confdefs.h. */
27698 _ACEOF
27699 cat confdefs.h >>conftest.$ac_ext
27700 cat >>conftest.$ac_ext <<_ACEOF
27701 /* end confdefs.h. */
27702
27703
27704 $ac_includes_default
27705
27706 int
27707 main ()
27708 {
27709
27710 #ifndef $wx_func
27711 &$wx_func;
27712 #endif
27713
27714
27715 ;
27716 return 0;
27717 }
27718
27719 _ACEOF
27720 rm -f conftest.$ac_objext conftest$ac_exeext
27721 if { (ac_try="$ac_link"
27722 case "(($ac_try" in
27723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27724 *) ac_try_echo=$ac_try;;
27725 esac
27726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27727 (eval "$ac_link") 2>conftest.er1
27728 ac_status=$?
27729 grep -v '^ *+' conftest.er1 >conftest.err
27730 rm -f conftest.er1
27731 cat conftest.err >&5
27732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27733 (exit $ac_status); } && {
27734 test -z "$ac_cxx_werror_flag" ||
27735 test ! -s conftest.err
27736 } && test -s conftest$ac_exeext &&
27737 $as_test_x conftest$ac_exeext; then
27738 eval wx_cv_func_$wx_func=yes
27739 else
27740 echo "$as_me: failed program was:" >&5
27741 sed 's/^/| /' conftest.$ac_ext >&5
27742
27743 eval wx_cv_func_$wx_func=no
27744 fi
27745
27746 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27747 conftest$ac_exeext conftest.$ac_ext
27748
27749 fi
27750 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27751 { echo "$as_me:$LINENO: result: $ac_res" >&5
27752 echo "${ECHO_T}$ac_res" >&6; }
27753
27754 if eval test \$wx_cv_func_$wx_func = yes
27755 then
27756 cat >>confdefs.h <<_ACEOF
27757 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27758 _ACEOF
27759
27760
27761 else
27762 :
27763
27764 fi
27765 done
27766
27767 fi
27768 ac_ext=c
27769 ac_cpp='$CPP $CPPFLAGS'
27770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27773
27774
27775
27776
27777 if test "$wxUSE_REGEX" != "no"; then
27778 cat >>confdefs.h <<\_ACEOF
27779 #define wxUSE_REGEX 1
27780 _ACEOF
27781
27782
27783 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27784 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27785 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27786 wxUSE_REGEX=builtin
27787 fi
27788
27789 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27790 { echo "$as_me:$LINENO: checking for regex.h" >&5
27791 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27792 if test "${ac_cv_header_regex_h+set}" = set; then
27793 echo $ECHO_N "(cached) $ECHO_C" >&6
27794 else
27795 cat >conftest.$ac_ext <<_ACEOF
27796 /* confdefs.h. */
27797 _ACEOF
27798 cat confdefs.h >>conftest.$ac_ext
27799 cat >>conftest.$ac_ext <<_ACEOF
27800 /* end confdefs.h. */
27801
27802
27803 #include <regex.h>
27804 _ACEOF
27805 rm -f conftest.$ac_objext
27806 if { (ac_try="$ac_compile"
27807 case "(($ac_try" in
27808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27809 *) ac_try_echo=$ac_try;;
27810 esac
27811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27812 (eval "$ac_compile") 2>conftest.er1
27813 ac_status=$?
27814 grep -v '^ *+' conftest.er1 >conftest.err
27815 rm -f conftest.er1
27816 cat conftest.err >&5
27817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27818 (exit $ac_status); } && {
27819 test -z "$ac_c_werror_flag" ||
27820 test ! -s conftest.err
27821 } && test -s conftest.$ac_objext; then
27822 ac_cv_header_regex_h=yes
27823 else
27824 echo "$as_me: failed program was:" >&5
27825 sed 's/^/| /' conftest.$ac_ext >&5
27826
27827 ac_cv_header_regex_h=no
27828 fi
27829
27830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27831 fi
27832 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27833 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
27834 if test $ac_cv_header_regex_h = yes; then
27835
27836
27837 for ac_func in regcomp re_search
27838 do
27839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27840 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27842 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27843 echo $ECHO_N "(cached) $ECHO_C" >&6
27844 else
27845 cat >conftest.$ac_ext <<_ACEOF
27846 /* confdefs.h. */
27847 _ACEOF
27848 cat confdefs.h >>conftest.$ac_ext
27849 cat >>conftest.$ac_ext <<_ACEOF
27850 /* end confdefs.h. */
27851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27853 #define $ac_func innocuous_$ac_func
27854
27855 /* System header to define __stub macros and hopefully few prototypes,
27856 which can conflict with char $ac_func (); below.
27857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27858 <limits.h> exists even on freestanding compilers. */
27859
27860 #ifdef __STDC__
27861 # include <limits.h>
27862 #else
27863 # include <assert.h>
27864 #endif
27865
27866 #undef $ac_func
27867
27868 /* Override any GCC internal prototype to avoid an error.
27869 Use char because int might match the return type of a GCC
27870 builtin and then its argument prototype would still apply. */
27871 #ifdef __cplusplus
27872 extern "C"
27873 #endif
27874 char $ac_func ();
27875 /* The GNU C library defines this for functions which it implements
27876 to always fail with ENOSYS. Some functions are actually named
27877 something starting with __ and the normal name is an alias. */
27878 #if defined __stub_$ac_func || defined __stub___$ac_func
27879 choke me
27880 #endif
27881
27882 int
27883 main ()
27884 {
27885 return $ac_func ();
27886 ;
27887 return 0;
27888 }
27889 _ACEOF
27890 rm -f conftest.$ac_objext conftest$ac_exeext
27891 if { (ac_try="$ac_link"
27892 case "(($ac_try" in
27893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27894 *) ac_try_echo=$ac_try;;
27895 esac
27896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27897 (eval "$ac_link") 2>conftest.er1
27898 ac_status=$?
27899 grep -v '^ *+' conftest.er1 >conftest.err
27900 rm -f conftest.er1
27901 cat conftest.err >&5
27902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27903 (exit $ac_status); } && {
27904 test -z "$ac_c_werror_flag" ||
27905 test ! -s conftest.err
27906 } && test -s conftest$ac_exeext &&
27907 $as_test_x conftest$ac_exeext; then
27908 eval "$as_ac_var=yes"
27909 else
27910 echo "$as_me: failed program was:" >&5
27911 sed 's/^/| /' conftest.$ac_ext >&5
27912
27913 eval "$as_ac_var=no"
27914 fi
27915
27916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27917 conftest$ac_exeext conftest.$ac_ext
27918 fi
27919 ac_res=`eval echo '${'$as_ac_var'}'`
27920 { echo "$as_me:$LINENO: result: $ac_res" >&5
27921 echo "${ECHO_T}$ac_res" >&6; }
27922 if test `eval echo '${'$as_ac_var'}'` = yes; then
27923 cat >>confdefs.h <<_ACEOF
27924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27925 _ACEOF
27926
27927 fi
27928 done
27929
27930 fi
27931
27932
27933
27934 if test "x$ac_cv_func_regcomp" != "xyes"; then
27935 if test "$wxUSE_REGEX" = "sys" ; then
27936 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27937 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27938 { (exit 1); exit 1; }; }
27939 else
27940 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27941 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27942 wxUSE_REGEX=builtin
27943 fi
27944 else
27945 wxUSE_REGEX=sys
27946 cat >>confdefs.h <<\_ACEOF
27947 #define WX_NO_REGEX_ADVANCED 1
27948 _ACEOF
27949
27950 fi
27951 fi
27952 fi
27953
27954
27955 ZLIB_LINK=
27956 if test "$wxUSE_ZLIB" != "no" ; then
27957 cat >>confdefs.h <<\_ACEOF
27958 #define wxUSE_ZLIB 1
27959 _ACEOF
27960
27961
27962 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27963 if test "$USE_DARWIN" = 1; then
27964 system_zlib_h_ok="yes"
27965 else
27966 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27967 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27968 if test "${ac_cv_header_zlib_h+set}" = set; then
27969 echo $ECHO_N "(cached) $ECHO_C" >&6
27970 else
27971 if test "$cross_compiling" = yes; then
27972 unset ac_cv_header_zlib_h
27973
27974 else
27975 cat >conftest.$ac_ext <<_ACEOF
27976 /* confdefs.h. */
27977 _ACEOF
27978 cat confdefs.h >>conftest.$ac_ext
27979 cat >>conftest.$ac_ext <<_ACEOF
27980 /* end confdefs.h. */
27981
27982 #include <zlib.h>
27983 #include <stdio.h>
27984
27985 int main()
27986 {
27987 FILE *f=fopen("conftestval", "w");
27988 if (!f) exit(1);
27989 fprintf(f, "%s",
27990 ZLIB_VERSION[0] == '1' &&
27991 (ZLIB_VERSION[2] > '1' ||
27992 (ZLIB_VERSION[2] == '1' &&
27993 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27994 exit(0);
27995 }
27996
27997 _ACEOF
27998 rm -f conftest$ac_exeext
27999 if { (ac_try="$ac_link"
28000 case "(($ac_try" in
28001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28002 *) ac_try_echo=$ac_try;;
28003 esac
28004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28005 (eval "$ac_link") 2>&5
28006 ac_status=$?
28007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28008 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28009 { (case "(($ac_try" in
28010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28011 *) ac_try_echo=$ac_try;;
28012 esac
28013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28014 (eval "$ac_try") 2>&5
28015 ac_status=$?
28016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28017 (exit $ac_status); }; }; then
28018 ac_cv_header_zlib_h=`cat conftestval`
28019 else
28020 echo "$as_me: program exited with status $ac_status" >&5
28021 echo "$as_me: failed program was:" >&5
28022 sed 's/^/| /' conftest.$ac_ext >&5
28023
28024 ( exit $ac_status )
28025 ac_cv_header_zlib_h=no
28026 fi
28027 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28028 fi
28029
28030
28031
28032 fi
28033 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28034 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28035 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28036 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28037 if test "${ac_cv_header_zlib_h+set}" = set; then
28038 echo $ECHO_N "(cached) $ECHO_C" >&6
28039 else
28040 cat >conftest.$ac_ext <<_ACEOF
28041 /* confdefs.h. */
28042 _ACEOF
28043 cat confdefs.h >>conftest.$ac_ext
28044 cat >>conftest.$ac_ext <<_ACEOF
28045 /* end confdefs.h. */
28046
28047
28048 #include <zlib.h>
28049 _ACEOF
28050 rm -f conftest.$ac_objext
28051 if { (ac_try="$ac_compile"
28052 case "(($ac_try" in
28053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28054 *) ac_try_echo=$ac_try;;
28055 esac
28056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28057 (eval "$ac_compile") 2>conftest.er1
28058 ac_status=$?
28059 grep -v '^ *+' conftest.er1 >conftest.err
28060 rm -f conftest.er1
28061 cat conftest.err >&5
28062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28063 (exit $ac_status); } && {
28064 test -z "$ac_c_werror_flag" ||
28065 test ! -s conftest.err
28066 } && test -s conftest.$ac_objext; then
28067 ac_cv_header_zlib_h=yes
28068 else
28069 echo "$as_me: failed program was:" >&5
28070 sed 's/^/| /' conftest.$ac_ext >&5
28071
28072 ac_cv_header_zlib_h=no
28073 fi
28074
28075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28076 fi
28077 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28078 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28079
28080
28081
28082 system_zlib_h_ok=$ac_cv_header_zlib_h
28083 fi
28084
28085 if test "$system_zlib_h_ok" = "yes"; then
28086 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28087 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28088 if test "${ac_cv_lib_z_deflate+set}" = set; then
28089 echo $ECHO_N "(cached) $ECHO_C" >&6
28090 else
28091 ac_check_lib_save_LIBS=$LIBS
28092 LIBS="-lz $LIBS"
28093 cat >conftest.$ac_ext <<_ACEOF
28094 /* confdefs.h. */
28095 _ACEOF
28096 cat confdefs.h >>conftest.$ac_ext
28097 cat >>conftest.$ac_ext <<_ACEOF
28098 /* end confdefs.h. */
28099
28100 /* Override any GCC internal prototype to avoid an error.
28101 Use char because int might match the return type of a GCC
28102 builtin and then its argument prototype would still apply. */
28103 #ifdef __cplusplus
28104 extern "C"
28105 #endif
28106 char deflate ();
28107 int
28108 main ()
28109 {
28110 return deflate ();
28111 ;
28112 return 0;
28113 }
28114 _ACEOF
28115 rm -f conftest.$ac_objext conftest$ac_exeext
28116 if { (ac_try="$ac_link"
28117 case "(($ac_try" in
28118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28119 *) ac_try_echo=$ac_try;;
28120 esac
28121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28122 (eval "$ac_link") 2>conftest.er1
28123 ac_status=$?
28124 grep -v '^ *+' conftest.er1 >conftest.err
28125 rm -f conftest.er1
28126 cat conftest.err >&5
28127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28128 (exit $ac_status); } && {
28129 test -z "$ac_c_werror_flag" ||
28130 test ! -s conftest.err
28131 } && test -s conftest$ac_exeext &&
28132 $as_test_x conftest$ac_exeext; then
28133 ac_cv_lib_z_deflate=yes
28134 else
28135 echo "$as_me: failed program was:" >&5
28136 sed 's/^/| /' conftest.$ac_ext >&5
28137
28138 ac_cv_lib_z_deflate=no
28139 fi
28140
28141 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28142 conftest$ac_exeext conftest.$ac_ext
28143 LIBS=$ac_check_lib_save_LIBS
28144 fi
28145 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28146 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28147 if test $ac_cv_lib_z_deflate = yes; then
28148 ZLIB_LINK=" -lz"
28149 fi
28150
28151 fi
28152
28153 if test "x$ZLIB_LINK" = "x" ; then
28154 if test "$wxUSE_ZLIB" = "sys" ; then
28155 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28156 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28157 { (exit 1); exit 1; }; }
28158 else
28159 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28160 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28161 wxUSE_ZLIB=builtin
28162 fi
28163 else
28164 wxUSE_ZLIB=sys
28165 fi
28166 fi
28167 fi
28168
28169
28170 PNG_LINK=
28171 if test "$wxUSE_LIBPNG" != "no" ; then
28172 cat >>confdefs.h <<\_ACEOF
28173 #define wxUSE_LIBPNG 1
28174 _ACEOF
28175
28176
28177 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28178 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28179 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28180 wxUSE_LIBPNG=sys
28181 fi
28182
28183 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28184 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28185 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28186 wxUSE_LIBPNG=builtin
28187 fi
28188
28189 if test "$wxUSE_MGL" != 1 ; then
28190 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28191 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28192 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28193 if test "${ac_cv_header_png_h+set}" = set; then
28194 echo $ECHO_N "(cached) $ECHO_C" >&6
28195 else
28196 if test "$cross_compiling" = yes; then
28197 unset ac_cv_header_png_h
28198
28199 else
28200 cat >conftest.$ac_ext <<_ACEOF
28201 /* confdefs.h. */
28202 _ACEOF
28203 cat confdefs.h >>conftest.$ac_ext
28204 cat >>conftest.$ac_ext <<_ACEOF
28205 /* end confdefs.h. */
28206
28207 #include <png.h>
28208 #include <stdio.h>
28209
28210 int main()
28211 {
28212 FILE *f=fopen("conftestval", "w");
28213 if (!f) exit(1);
28214 fprintf(f, "%s",
28215 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28216 exit(0);
28217 }
28218
28219 _ACEOF
28220 rm -f conftest$ac_exeext
28221 if { (ac_try="$ac_link"
28222 case "(($ac_try" in
28223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28224 *) ac_try_echo=$ac_try;;
28225 esac
28226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28227 (eval "$ac_link") 2>&5
28228 ac_status=$?
28229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28230 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28231 { (case "(($ac_try" in
28232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28233 *) ac_try_echo=$ac_try;;
28234 esac
28235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28236 (eval "$ac_try") 2>&5
28237 ac_status=$?
28238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28239 (exit $ac_status); }; }; then
28240 ac_cv_header_png_h=`cat conftestval`
28241 else
28242 echo "$as_me: program exited with status $ac_status" >&5
28243 echo "$as_me: failed program was:" >&5
28244 sed 's/^/| /' conftest.$ac_ext >&5
28245
28246 ( exit $ac_status )
28247 ac_cv_header_png_h=no
28248 fi
28249 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28250 fi
28251
28252
28253
28254 fi
28255 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28256 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28257 { echo "$as_me:$LINENO: checking for png.h" >&5
28258 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28259 if test "${ac_cv_header_png_h+set}" = set; then
28260 echo $ECHO_N "(cached) $ECHO_C" >&6
28261 else
28262 cat >conftest.$ac_ext <<_ACEOF
28263 /* confdefs.h. */
28264 _ACEOF
28265 cat confdefs.h >>conftest.$ac_ext
28266 cat >>conftest.$ac_ext <<_ACEOF
28267 /* end confdefs.h. */
28268
28269
28270 #include <png.h>
28271 _ACEOF
28272 rm -f conftest.$ac_objext
28273 if { (ac_try="$ac_compile"
28274 case "(($ac_try" in
28275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28276 *) ac_try_echo=$ac_try;;
28277 esac
28278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28279 (eval "$ac_compile") 2>conftest.er1
28280 ac_status=$?
28281 grep -v '^ *+' conftest.er1 >conftest.err
28282 rm -f conftest.er1
28283 cat conftest.err >&5
28284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28285 (exit $ac_status); } && {
28286 test -z "$ac_c_werror_flag" ||
28287 test ! -s conftest.err
28288 } && test -s conftest.$ac_objext; then
28289 ac_cv_header_png_h=yes
28290 else
28291 echo "$as_me: failed program was:" >&5
28292 sed 's/^/| /' conftest.$ac_ext >&5
28293
28294 ac_cv_header_png_h=no
28295 fi
28296
28297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28298 fi
28299 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28300 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28301
28302
28303
28304 if test "$ac_cv_header_png_h" = "yes"; then
28305 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
28306 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
28307 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
28308 echo $ECHO_N "(cached) $ECHO_C" >&6
28309 else
28310 ac_check_lib_save_LIBS=$LIBS
28311 LIBS="-lpng -lz -lm $LIBS"
28312 cat >conftest.$ac_ext <<_ACEOF
28313 /* confdefs.h. */
28314 _ACEOF
28315 cat confdefs.h >>conftest.$ac_ext
28316 cat >>conftest.$ac_ext <<_ACEOF
28317 /* end confdefs.h. */
28318
28319 /* Override any GCC internal prototype to avoid an error.
28320 Use char because int might match the return type of a GCC
28321 builtin and then its argument prototype would still apply. */
28322 #ifdef __cplusplus
28323 extern "C"
28324 #endif
28325 char png_sig_cmp ();
28326 int
28327 main ()
28328 {
28329 return png_sig_cmp ();
28330 ;
28331 return 0;
28332 }
28333 _ACEOF
28334 rm -f conftest.$ac_objext conftest$ac_exeext
28335 if { (ac_try="$ac_link"
28336 case "(($ac_try" in
28337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28338 *) ac_try_echo=$ac_try;;
28339 esac
28340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28341 (eval "$ac_link") 2>conftest.er1
28342 ac_status=$?
28343 grep -v '^ *+' conftest.er1 >conftest.err
28344 rm -f conftest.er1
28345 cat conftest.err >&5
28346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28347 (exit $ac_status); } && {
28348 test -z "$ac_c_werror_flag" ||
28349 test ! -s conftest.err
28350 } && test -s conftest$ac_exeext &&
28351 $as_test_x conftest$ac_exeext; then
28352 ac_cv_lib_png_png_sig_cmp=yes
28353 else
28354 echo "$as_me: failed program was:" >&5
28355 sed 's/^/| /' conftest.$ac_ext >&5
28356
28357 ac_cv_lib_png_png_sig_cmp=no
28358 fi
28359
28360 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28361 conftest$ac_exeext conftest.$ac_ext
28362 LIBS=$ac_check_lib_save_LIBS
28363 fi
28364 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
28365 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
28366 if test $ac_cv_lib_png_png_sig_cmp = yes; then
28367 PNG_LINK=" -lpng -lz"
28368 fi
28369
28370 fi
28371
28372 if test "x$PNG_LINK" = "x" ; then
28373 if test "$wxUSE_LIBPNG" = "sys" ; then
28374 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28375 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28376 { (exit 1); exit 1; }; }
28377 else
28378 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28379 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28380 wxUSE_LIBPNG=builtin
28381 fi
28382 else
28383 wxUSE_LIBPNG=sys
28384 fi
28385 fi
28386 fi
28387 fi
28388
28389
28390 JPEG_LINK=
28391 if test "$wxUSE_LIBJPEG" != "no" ; then
28392 cat >>confdefs.h <<\_ACEOF
28393 #define wxUSE_LIBJPEG 1
28394 _ACEOF
28395
28396
28397 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28398 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28399 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28400 wxUSE_LIBJPEG=sys
28401 fi
28402
28403 if test "$wxUSE_MGL" != 1 ; then
28404 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28405 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28406 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28407 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28408 echo $ECHO_N "(cached) $ECHO_C" >&6
28409 else
28410 cat >conftest.$ac_ext <<_ACEOF
28411 /* confdefs.h. */
28412 _ACEOF
28413 cat confdefs.h >>conftest.$ac_ext
28414 cat >>conftest.$ac_ext <<_ACEOF
28415 /* end confdefs.h. */
28416
28417 #undef HAVE_STDLIB_H
28418 #include <stdio.h>
28419 #include <jpeglib.h>
28420
28421 int
28422 main ()
28423 {
28424
28425
28426 ;
28427 return 0;
28428 }
28429 _ACEOF
28430 rm -f conftest.$ac_objext
28431 if { (ac_try="$ac_compile"
28432 case "(($ac_try" in
28433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28434 *) ac_try_echo=$ac_try;;
28435 esac
28436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28437 (eval "$ac_compile") 2>conftest.er1
28438 ac_status=$?
28439 grep -v '^ *+' conftest.er1 >conftest.err
28440 rm -f conftest.er1
28441 cat conftest.err >&5
28442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28443 (exit $ac_status); } && {
28444 test -z "$ac_c_werror_flag" ||
28445 test ! -s conftest.err
28446 } && test -s conftest.$ac_objext; then
28447 ac_cv_header_jpeglib_h=yes
28448 else
28449 echo "$as_me: failed program was:" >&5
28450 sed 's/^/| /' conftest.$ac_ext >&5
28451
28452 ac_cv_header_jpeglib_h=no
28453
28454 fi
28455
28456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28457
28458 fi
28459
28460 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28461 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28462
28463 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28464 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28465 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28466 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28467 echo $ECHO_N "(cached) $ECHO_C" >&6
28468 else
28469 ac_check_lib_save_LIBS=$LIBS
28470 LIBS="-ljpeg $LIBS"
28471 cat >conftest.$ac_ext <<_ACEOF
28472 /* confdefs.h. */
28473 _ACEOF
28474 cat confdefs.h >>conftest.$ac_ext
28475 cat >>conftest.$ac_ext <<_ACEOF
28476 /* end confdefs.h. */
28477
28478 /* Override any GCC internal prototype to avoid an error.
28479 Use char because int might match the return type of a GCC
28480 builtin and then its argument prototype would still apply. */
28481 #ifdef __cplusplus
28482 extern "C"
28483 #endif
28484 char jpeg_read_header ();
28485 int
28486 main ()
28487 {
28488 return jpeg_read_header ();
28489 ;
28490 return 0;
28491 }
28492 _ACEOF
28493 rm -f conftest.$ac_objext conftest$ac_exeext
28494 if { (ac_try="$ac_link"
28495 case "(($ac_try" in
28496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28497 *) ac_try_echo=$ac_try;;
28498 esac
28499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28500 (eval "$ac_link") 2>conftest.er1
28501 ac_status=$?
28502 grep -v '^ *+' conftest.er1 >conftest.err
28503 rm -f conftest.er1
28504 cat conftest.err >&5
28505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28506 (exit $ac_status); } && {
28507 test -z "$ac_c_werror_flag" ||
28508 test ! -s conftest.err
28509 } && test -s conftest$ac_exeext &&
28510 $as_test_x conftest$ac_exeext; then
28511 ac_cv_lib_jpeg_jpeg_read_header=yes
28512 else
28513 echo "$as_me: failed program was:" >&5
28514 sed 's/^/| /' conftest.$ac_ext >&5
28515
28516 ac_cv_lib_jpeg_jpeg_read_header=no
28517 fi
28518
28519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28520 conftest$ac_exeext conftest.$ac_ext
28521 LIBS=$ac_check_lib_save_LIBS
28522 fi
28523 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28524 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28525 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28526 JPEG_LINK=" -ljpeg"
28527 fi
28528
28529 fi
28530
28531 if test "x$JPEG_LINK" = "x" ; then
28532 if test "$wxUSE_LIBJPEG" = "sys" ; then
28533 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28534 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28535 { (exit 1); exit 1; }; }
28536 else
28537 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28538 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28539 wxUSE_LIBJPEG=builtin
28540 fi
28541 else
28542 wxUSE_LIBJPEG=sys
28543
28544 if test "$wxUSE_MSW" = 1; then
28545 { echo "$as_me:$LINENO: checking for boolean" >&5
28546 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28547 if test "${ac_cv_type_boolean+set}" = set; then
28548 echo $ECHO_N "(cached) $ECHO_C" >&6
28549 else
28550 cat >conftest.$ac_ext <<_ACEOF
28551 /* confdefs.h. */
28552 _ACEOF
28553 cat confdefs.h >>conftest.$ac_ext
28554 cat >>conftest.$ac_ext <<_ACEOF
28555 /* end confdefs.h. */
28556 #include <windows.h>
28557
28558 typedef boolean ac__type_new_;
28559 int
28560 main ()
28561 {
28562 if ((ac__type_new_ *) 0)
28563 return 0;
28564 if (sizeof (ac__type_new_))
28565 return 0;
28566 ;
28567 return 0;
28568 }
28569 _ACEOF
28570 rm -f conftest.$ac_objext
28571 if { (ac_try="$ac_compile"
28572 case "(($ac_try" in
28573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28574 *) ac_try_echo=$ac_try;;
28575 esac
28576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28577 (eval "$ac_compile") 2>conftest.er1
28578 ac_status=$?
28579 grep -v '^ *+' conftest.er1 >conftest.err
28580 rm -f conftest.er1
28581 cat conftest.err >&5
28582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28583 (exit $ac_status); } && {
28584 test -z "$ac_c_werror_flag" ||
28585 test ! -s conftest.err
28586 } && test -s conftest.$ac_objext; then
28587 ac_cv_type_boolean=yes
28588 else
28589 echo "$as_me: failed program was:" >&5
28590 sed 's/^/| /' conftest.$ac_ext >&5
28591
28592 ac_cv_type_boolean=no
28593 fi
28594
28595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28596 fi
28597 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28598 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28599 if test $ac_cv_type_boolean = yes; then
28600
28601 cat >>confdefs.h <<_ACEOF
28602 #define HAVE_BOOLEAN 1
28603 _ACEOF
28604
28605
28606 { echo "$as_me:$LINENO: checking for boolean" >&5
28607 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28608 if test "${ac_cv_type_boolean+set}" = set; then
28609 echo $ECHO_N "(cached) $ECHO_C" >&6
28610 else
28611 cat >conftest.$ac_ext <<_ACEOF
28612 /* confdefs.h. */
28613 _ACEOF
28614 cat confdefs.h >>conftest.$ac_ext
28615 cat >>conftest.$ac_ext <<_ACEOF
28616 /* end confdefs.h. */
28617
28618 #undef HAVE_BOOLEAN
28619 #include <stdio.h>
28620 #include <jpeglib.h>
28621
28622
28623 typedef boolean ac__type_new_;
28624 int
28625 main ()
28626 {
28627 if ((ac__type_new_ *) 0)
28628 return 0;
28629 if (sizeof (ac__type_new_))
28630 return 0;
28631 ;
28632 return 0;
28633 }
28634 _ACEOF
28635 rm -f conftest.$ac_objext
28636 if { (ac_try="$ac_compile"
28637 case "(($ac_try" in
28638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28639 *) ac_try_echo=$ac_try;;
28640 esac
28641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28642 (eval "$ac_compile") 2>conftest.er1
28643 ac_status=$?
28644 grep -v '^ *+' conftest.er1 >conftest.err
28645 rm -f conftest.er1
28646 cat conftest.err >&5
28647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28648 (exit $ac_status); } && {
28649 test -z "$ac_c_werror_flag" ||
28650 test ! -s conftest.err
28651 } && test -s conftest.$ac_objext; then
28652 ac_cv_type_boolean=yes
28653 else
28654 echo "$as_me: failed program was:" >&5
28655 sed 's/^/| /' conftest.$ac_ext >&5
28656
28657 ac_cv_type_boolean=no
28658 fi
28659
28660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28661 fi
28662 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28663 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28664
28665 # The cast to long int works around a bug in the HP C Compiler
28666 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28667 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28668 # This bug is HP SR number 8606223364.
28669 { echo "$as_me:$LINENO: checking size of boolean" >&5
28670 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28671 if test "${ac_cv_sizeof_boolean+set}" = set; then
28672 echo $ECHO_N "(cached) $ECHO_C" >&6
28673 else
28674 if test "$cross_compiling" = yes; then
28675 # Depending upon the size, compute the lo and hi bounds.
28676 cat >conftest.$ac_ext <<_ACEOF
28677 /* confdefs.h. */
28678 _ACEOF
28679 cat confdefs.h >>conftest.$ac_ext
28680 cat >>conftest.$ac_ext <<_ACEOF
28681 /* end confdefs.h. */
28682
28683 #undef HAVE_BOOLEAN
28684 #include <stdio.h>
28685 #include <jpeglib.h>
28686
28687
28688 typedef boolean ac__type_sizeof_;
28689 int
28690 main ()
28691 {
28692 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28693 test_array [0] = 0
28694
28695 ;
28696 return 0;
28697 }
28698 _ACEOF
28699 rm -f conftest.$ac_objext
28700 if { (ac_try="$ac_compile"
28701 case "(($ac_try" in
28702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28703 *) ac_try_echo=$ac_try;;
28704 esac
28705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28706 (eval "$ac_compile") 2>conftest.er1
28707 ac_status=$?
28708 grep -v '^ *+' conftest.er1 >conftest.err
28709 rm -f conftest.er1
28710 cat conftest.err >&5
28711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28712 (exit $ac_status); } && {
28713 test -z "$ac_c_werror_flag" ||
28714 test ! -s conftest.err
28715 } && test -s conftest.$ac_objext; then
28716 ac_lo=0 ac_mid=0
28717 while :; do
28718 cat >conftest.$ac_ext <<_ACEOF
28719 /* confdefs.h. */
28720 _ACEOF
28721 cat confdefs.h >>conftest.$ac_ext
28722 cat >>conftest.$ac_ext <<_ACEOF
28723 /* end confdefs.h. */
28724
28725 #undef HAVE_BOOLEAN
28726 #include <stdio.h>
28727 #include <jpeglib.h>
28728
28729
28730 typedef boolean ac__type_sizeof_;
28731 int
28732 main ()
28733 {
28734 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28735 test_array [0] = 0
28736
28737 ;
28738 return 0;
28739 }
28740 _ACEOF
28741 rm -f conftest.$ac_objext
28742 if { (ac_try="$ac_compile"
28743 case "(($ac_try" in
28744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28745 *) ac_try_echo=$ac_try;;
28746 esac
28747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28748 (eval "$ac_compile") 2>conftest.er1
28749 ac_status=$?
28750 grep -v '^ *+' conftest.er1 >conftest.err
28751 rm -f conftest.er1
28752 cat conftest.err >&5
28753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28754 (exit $ac_status); } && {
28755 test -z "$ac_c_werror_flag" ||
28756 test ! -s conftest.err
28757 } && test -s conftest.$ac_objext; then
28758 ac_hi=$ac_mid; break
28759 else
28760 echo "$as_me: failed program was:" >&5
28761 sed 's/^/| /' conftest.$ac_ext >&5
28762
28763 ac_lo=`expr $ac_mid + 1`
28764 if test $ac_lo -le $ac_mid; then
28765 ac_lo= ac_hi=
28766 break
28767 fi
28768 ac_mid=`expr 2 '*' $ac_mid + 1`
28769 fi
28770
28771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28772 done
28773 else
28774 echo "$as_me: failed program was:" >&5
28775 sed 's/^/| /' conftest.$ac_ext >&5
28776
28777 cat >conftest.$ac_ext <<_ACEOF
28778 /* confdefs.h. */
28779 _ACEOF
28780 cat confdefs.h >>conftest.$ac_ext
28781 cat >>conftest.$ac_ext <<_ACEOF
28782 /* end confdefs.h. */
28783
28784 #undef HAVE_BOOLEAN
28785 #include <stdio.h>
28786 #include <jpeglib.h>
28787
28788
28789 typedef boolean ac__type_sizeof_;
28790 int
28791 main ()
28792 {
28793 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28794 test_array [0] = 0
28795
28796 ;
28797 return 0;
28798 }
28799 _ACEOF
28800 rm -f conftest.$ac_objext
28801 if { (ac_try="$ac_compile"
28802 case "(($ac_try" in
28803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28804 *) ac_try_echo=$ac_try;;
28805 esac
28806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28807 (eval "$ac_compile") 2>conftest.er1
28808 ac_status=$?
28809 grep -v '^ *+' conftest.er1 >conftest.err
28810 rm -f conftest.er1
28811 cat conftest.err >&5
28812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28813 (exit $ac_status); } && {
28814 test -z "$ac_c_werror_flag" ||
28815 test ! -s conftest.err
28816 } && test -s conftest.$ac_objext; then
28817 ac_hi=-1 ac_mid=-1
28818 while :; do
28819 cat >conftest.$ac_ext <<_ACEOF
28820 /* confdefs.h. */
28821 _ACEOF
28822 cat confdefs.h >>conftest.$ac_ext
28823 cat >>conftest.$ac_ext <<_ACEOF
28824 /* end confdefs.h. */
28825
28826 #undef HAVE_BOOLEAN
28827 #include <stdio.h>
28828 #include <jpeglib.h>
28829
28830
28831 typedef boolean ac__type_sizeof_;
28832 int
28833 main ()
28834 {
28835 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28836 test_array [0] = 0
28837
28838 ;
28839 return 0;
28840 }
28841 _ACEOF
28842 rm -f conftest.$ac_objext
28843 if { (ac_try="$ac_compile"
28844 case "(($ac_try" in
28845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28846 *) ac_try_echo=$ac_try;;
28847 esac
28848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28849 (eval "$ac_compile") 2>conftest.er1
28850 ac_status=$?
28851 grep -v '^ *+' conftest.er1 >conftest.err
28852 rm -f conftest.er1
28853 cat conftest.err >&5
28854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28855 (exit $ac_status); } && {
28856 test -z "$ac_c_werror_flag" ||
28857 test ! -s conftest.err
28858 } && test -s conftest.$ac_objext; then
28859 ac_lo=$ac_mid; break
28860 else
28861 echo "$as_me: failed program was:" >&5
28862 sed 's/^/| /' conftest.$ac_ext >&5
28863
28864 ac_hi=`expr '(' $ac_mid ')' - 1`
28865 if test $ac_mid -le $ac_hi; then
28866 ac_lo= ac_hi=
28867 break
28868 fi
28869 ac_mid=`expr 2 '*' $ac_mid`
28870 fi
28871
28872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28873 done
28874 else
28875 echo "$as_me: failed program was:" >&5
28876 sed 's/^/| /' conftest.$ac_ext >&5
28877
28878 ac_lo= ac_hi=
28879 fi
28880
28881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28882 fi
28883
28884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28885 # Binary search between lo and hi bounds.
28886 while test "x$ac_lo" != "x$ac_hi"; do
28887 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28888 cat >conftest.$ac_ext <<_ACEOF
28889 /* confdefs.h. */
28890 _ACEOF
28891 cat confdefs.h >>conftest.$ac_ext
28892 cat >>conftest.$ac_ext <<_ACEOF
28893 /* end confdefs.h. */
28894
28895 #undef HAVE_BOOLEAN
28896 #include <stdio.h>
28897 #include <jpeglib.h>
28898
28899
28900 typedef boolean ac__type_sizeof_;
28901 int
28902 main ()
28903 {
28904 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28905 test_array [0] = 0
28906
28907 ;
28908 return 0;
28909 }
28910 _ACEOF
28911 rm -f conftest.$ac_objext
28912 if { (ac_try="$ac_compile"
28913 case "(($ac_try" in
28914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28915 *) ac_try_echo=$ac_try;;
28916 esac
28917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28918 (eval "$ac_compile") 2>conftest.er1
28919 ac_status=$?
28920 grep -v '^ *+' conftest.er1 >conftest.err
28921 rm -f conftest.er1
28922 cat conftest.err >&5
28923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28924 (exit $ac_status); } && {
28925 test -z "$ac_c_werror_flag" ||
28926 test ! -s conftest.err
28927 } && test -s conftest.$ac_objext; then
28928 ac_hi=$ac_mid
28929 else
28930 echo "$as_me: failed program was:" >&5
28931 sed 's/^/| /' conftest.$ac_ext >&5
28932
28933 ac_lo=`expr '(' $ac_mid ')' + 1`
28934 fi
28935
28936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28937 done
28938 case $ac_lo in
28939 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28940 '') if test "$ac_cv_type_boolean" = yes; then
28941 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28942 See \`config.log' for more details." >&5
28943 echo "$as_me: error: cannot compute sizeof (boolean)
28944 See \`config.log' for more details." >&2;}
28945 { (exit 77); exit 77; }; }
28946 else
28947 ac_cv_sizeof_boolean=0
28948 fi ;;
28949 esac
28950 else
28951 cat >conftest.$ac_ext <<_ACEOF
28952 /* confdefs.h. */
28953 _ACEOF
28954 cat confdefs.h >>conftest.$ac_ext
28955 cat >>conftest.$ac_ext <<_ACEOF
28956 /* end confdefs.h. */
28957
28958 #undef HAVE_BOOLEAN
28959 #include <stdio.h>
28960 #include <jpeglib.h>
28961
28962
28963 typedef boolean ac__type_sizeof_;
28964 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28965 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28966 #include <stdio.h>
28967 #include <stdlib.h>
28968 int
28969 main ()
28970 {
28971
28972 FILE *f = fopen ("conftest.val", "w");
28973 if (! f)
28974 return 1;
28975 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28976 {
28977 long int i = longval ();
28978 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28979 return 1;
28980 fprintf (f, "%ld\n", i);
28981 }
28982 else
28983 {
28984 unsigned long int i = ulongval ();
28985 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28986 return 1;
28987 fprintf (f, "%lu\n", i);
28988 }
28989 return ferror (f) || fclose (f) != 0;
28990
28991 ;
28992 return 0;
28993 }
28994 _ACEOF
28995 rm -f conftest$ac_exeext
28996 if { (ac_try="$ac_link"
28997 case "(($ac_try" in
28998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28999 *) ac_try_echo=$ac_try;;
29000 esac
29001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29002 (eval "$ac_link") 2>&5
29003 ac_status=$?
29004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29005 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29006 { (case "(($ac_try" in
29007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29008 *) ac_try_echo=$ac_try;;
29009 esac
29010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29011 (eval "$ac_try") 2>&5
29012 ac_status=$?
29013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29014 (exit $ac_status); }; }; then
29015 ac_cv_sizeof_boolean=`cat conftest.val`
29016 else
29017 echo "$as_me: program exited with status $ac_status" >&5
29018 echo "$as_me: failed program was:" >&5
29019 sed 's/^/| /' conftest.$ac_ext >&5
29020
29021 ( exit $ac_status )
29022 if test "$ac_cv_type_boolean" = yes; then
29023 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29024 See \`config.log' for more details." >&5
29025 echo "$as_me: error: cannot compute sizeof (boolean)
29026 See \`config.log' for more details." >&2;}
29027 { (exit 77); exit 77; }; }
29028 else
29029 ac_cv_sizeof_boolean=0
29030 fi
29031 fi
29032 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29033 fi
29034 rm -f conftest.val
29035 fi
29036 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29037 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29038
29039
29040
29041 cat >>confdefs.h <<_ACEOF
29042 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29043 _ACEOF
29044
29045
29046 cat >>confdefs.h <<_ACEOF
29047 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29048 _ACEOF
29049
29050
29051 fi
29052
29053 fi
29054 fi
29055 fi
29056 fi
29057 fi
29058
29059
29060 TIFF_LINK=
29061 TIFF_PREREQ_LINKS=-lm
29062 if test "$wxUSE_LIBTIFF" != "no" ; then
29063 cat >>confdefs.h <<\_ACEOF
29064 #define wxUSE_LIBTIFF 1
29065 _ACEOF
29066
29067
29068 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29069 if test "$wxUSE_LIBJPEG" = "sys"; then
29070 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29071 fi
29072 if test "$wxUSE_ZLIB" = "sys"; then
29073 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29074 fi
29075 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29076 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29077 if test "${ac_cv_header_tiffio_h+set}" = set; then
29078 echo $ECHO_N "(cached) $ECHO_C" >&6
29079 else
29080 cat >conftest.$ac_ext <<_ACEOF
29081 /* confdefs.h. */
29082 _ACEOF
29083 cat confdefs.h >>conftest.$ac_ext
29084 cat >>conftest.$ac_ext <<_ACEOF
29085 /* end confdefs.h. */
29086
29087
29088
29089 #include <tiffio.h>
29090 _ACEOF
29091 rm -f conftest.$ac_objext
29092 if { (ac_try="$ac_compile"
29093 case "(($ac_try" in
29094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29095 *) ac_try_echo=$ac_try;;
29096 esac
29097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29098 (eval "$ac_compile") 2>conftest.er1
29099 ac_status=$?
29100 grep -v '^ *+' conftest.er1 >conftest.err
29101 rm -f conftest.er1
29102 cat conftest.err >&5
29103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29104 (exit $ac_status); } && {
29105 test -z "$ac_c_werror_flag" ||
29106 test ! -s conftest.err
29107 } && test -s conftest.$ac_objext; then
29108 ac_cv_header_tiffio_h=yes
29109 else
29110 echo "$as_me: failed program was:" >&5
29111 sed 's/^/| /' conftest.$ac_ext >&5
29112
29113 ac_cv_header_tiffio_h=no
29114 fi
29115
29116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29117 fi
29118 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29119 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29120 if test $ac_cv_header_tiffio_h = yes; then
29121
29122 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29123 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29124 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29125 echo $ECHO_N "(cached) $ECHO_C" >&6
29126 else
29127 ac_check_lib_save_LIBS=$LIBS
29128 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29129 cat >conftest.$ac_ext <<_ACEOF
29130 /* confdefs.h. */
29131 _ACEOF
29132 cat confdefs.h >>conftest.$ac_ext
29133 cat >>conftest.$ac_ext <<_ACEOF
29134 /* end confdefs.h. */
29135
29136 /* Override any GCC internal prototype to avoid an error.
29137 Use char because int might match the return type of a GCC
29138 builtin and then its argument prototype would still apply. */
29139 #ifdef __cplusplus
29140 extern "C"
29141 #endif
29142 char TIFFError ();
29143 int
29144 main ()
29145 {
29146 return TIFFError ();
29147 ;
29148 return 0;
29149 }
29150 _ACEOF
29151 rm -f conftest.$ac_objext conftest$ac_exeext
29152 if { (ac_try="$ac_link"
29153 case "(($ac_try" in
29154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29155 *) ac_try_echo=$ac_try;;
29156 esac
29157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29158 (eval "$ac_link") 2>conftest.er1
29159 ac_status=$?
29160 grep -v '^ *+' conftest.er1 >conftest.err
29161 rm -f conftest.er1
29162 cat conftest.err >&5
29163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29164 (exit $ac_status); } && {
29165 test -z "$ac_c_werror_flag" ||
29166 test ! -s conftest.err
29167 } && test -s conftest$ac_exeext &&
29168 $as_test_x conftest$ac_exeext; then
29169 ac_cv_lib_tiff_TIFFError=yes
29170 else
29171 echo "$as_me: failed program was:" >&5
29172 sed 's/^/| /' conftest.$ac_ext >&5
29173
29174 ac_cv_lib_tiff_TIFFError=no
29175 fi
29176
29177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29178 conftest$ac_exeext conftest.$ac_ext
29179 LIBS=$ac_check_lib_save_LIBS
29180 fi
29181 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29182 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29183 if test $ac_cv_lib_tiff_TIFFError = yes; then
29184 TIFF_LINK=" -ltiff"
29185 fi
29186
29187
29188 fi
29189
29190
29191
29192 if test "x$TIFF_LINK" = "x" ; then
29193 if test "$wxUSE_LIBTIFF" = "sys" ; then
29194 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29195 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29196 { (exit 1); exit 1; }; }
29197 else
29198 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29199 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29200 wxUSE_LIBTIFF=builtin
29201 fi
29202 else
29203 wxUSE_LIBTIFF=sys
29204 fi
29205 fi
29206 if test "$wxUSE_LIBTIFF" = "builtin" ; then
29207 if test "$wxUSE_LIBJPEG" = "no"; then
29208 ac_configure_args="$ac_configure_args --disable-jpeg"
29209 fi
29210 subdirs="$subdirs src/tiff"
29211
29212 fi
29213 fi
29214
29215
29216 if test "$wxUSE_EXPAT" != "no"; then
29217 wxUSE_XML=yes
29218 cat >>confdefs.h <<\_ACEOF
29219 #define wxUSE_EXPAT 1
29220 _ACEOF
29221
29222 cat >>confdefs.h <<\_ACEOF
29223 #define wxUSE_XML 1
29224 _ACEOF
29225
29226
29227 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29228 { echo "$as_me:$LINENO: checking for expat.h" >&5
29229 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29230 if test "${ac_cv_header_expat_h+set}" = set; then
29231 echo $ECHO_N "(cached) $ECHO_C" >&6
29232 else
29233 cat >conftest.$ac_ext <<_ACEOF
29234 /* confdefs.h. */
29235 _ACEOF
29236 cat confdefs.h >>conftest.$ac_ext
29237 cat >>conftest.$ac_ext <<_ACEOF
29238 /* end confdefs.h. */
29239
29240
29241 #include <expat.h>
29242 _ACEOF
29243 rm -f conftest.$ac_objext
29244 if { (ac_try="$ac_compile"
29245 case "(($ac_try" in
29246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29247 *) ac_try_echo=$ac_try;;
29248 esac
29249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29250 (eval "$ac_compile") 2>conftest.er1
29251 ac_status=$?
29252 grep -v '^ *+' conftest.er1 >conftest.err
29253 rm -f conftest.er1
29254 cat conftest.err >&5
29255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29256 (exit $ac_status); } && {
29257 test -z "$ac_c_werror_flag" ||
29258 test ! -s conftest.err
29259 } && test -s conftest.$ac_objext; then
29260 ac_cv_header_expat_h=yes
29261 else
29262 echo "$as_me: failed program was:" >&5
29263 sed 's/^/| /' conftest.$ac_ext >&5
29264
29265 ac_cv_header_expat_h=no
29266 fi
29267
29268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29269 fi
29270 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29271 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29272 if test $ac_cv_header_expat_h = yes; then
29273 found_expat_h=1
29274 fi
29275
29276
29277 if test "x$found_expat_h" = "x1"; then
29278 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29279 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29280 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29281 echo $ECHO_N "(cached) $ECHO_C" >&6
29282 else
29283
29284 ac_ext=cpp
29285 ac_cpp='$CXXCPP $CPPFLAGS'
29286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29289
29290 cat >conftest.$ac_ext <<_ACEOF
29291 /* confdefs.h. */
29292 _ACEOF
29293 cat confdefs.h >>conftest.$ac_ext
29294 cat >>conftest.$ac_ext <<_ACEOF
29295 /* end confdefs.h. */
29296 #include <expat.h>
29297 int
29298 main ()
29299 {
29300
29301 ;
29302 return 0;
29303 }
29304 _ACEOF
29305 rm -f conftest.$ac_objext
29306 if { (ac_try="$ac_compile"
29307 case "(($ac_try" in
29308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29309 *) ac_try_echo=$ac_try;;
29310 esac
29311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29312 (eval "$ac_compile") 2>conftest.er1
29313 ac_status=$?
29314 grep -v '^ *+' conftest.er1 >conftest.err
29315 rm -f conftest.er1
29316 cat conftest.err >&5
29317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29318 (exit $ac_status); } && {
29319 test -z "$ac_cxx_werror_flag" ||
29320 test ! -s conftest.err
29321 } && test -s conftest.$ac_objext; then
29322 wx_cv_expat_is_not_broken=yes
29323 else
29324 echo "$as_me: failed program was:" >&5
29325 sed 's/^/| /' conftest.$ac_ext >&5
29326
29327 wx_cv_expat_is_not_broken=no
29328
29329 fi
29330
29331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29332 ac_ext=c
29333 ac_cpp='$CPP $CPPFLAGS'
29334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29337
29338
29339
29340 fi
29341 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29342 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29343 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29344 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29345 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29346 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29347 echo $ECHO_N "(cached) $ECHO_C" >&6
29348 else
29349 ac_check_lib_save_LIBS=$LIBS
29350 LIBS="-lexpat $LIBS"
29351 cat >conftest.$ac_ext <<_ACEOF
29352 /* confdefs.h. */
29353 _ACEOF
29354 cat confdefs.h >>conftest.$ac_ext
29355 cat >>conftest.$ac_ext <<_ACEOF
29356 /* end confdefs.h. */
29357
29358 /* Override any GCC internal prototype to avoid an error.
29359 Use char because int might match the return type of a GCC
29360 builtin and then its argument prototype would still apply. */
29361 #ifdef __cplusplus
29362 extern "C"
29363 #endif
29364 char XML_ParserCreate ();
29365 int
29366 main ()
29367 {
29368 return XML_ParserCreate ();
29369 ;
29370 return 0;
29371 }
29372 _ACEOF
29373 rm -f conftest.$ac_objext conftest$ac_exeext
29374 if { (ac_try="$ac_link"
29375 case "(($ac_try" in
29376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29377 *) ac_try_echo=$ac_try;;
29378 esac
29379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29380 (eval "$ac_link") 2>conftest.er1
29381 ac_status=$?
29382 grep -v '^ *+' conftest.er1 >conftest.err
29383 rm -f conftest.er1
29384 cat conftest.err >&5
29385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29386 (exit $ac_status); } && {
29387 test -z "$ac_c_werror_flag" ||
29388 test ! -s conftest.err
29389 } && test -s conftest$ac_exeext &&
29390 $as_test_x conftest$ac_exeext; then
29391 ac_cv_lib_expat_XML_ParserCreate=yes
29392 else
29393 echo "$as_me: failed program was:" >&5
29394 sed 's/^/| /' conftest.$ac_ext >&5
29395
29396 ac_cv_lib_expat_XML_ParserCreate=no
29397 fi
29398
29399 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29400 conftest$ac_exeext conftest.$ac_ext
29401 LIBS=$ac_check_lib_save_LIBS
29402 fi
29403 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29404 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29405 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29406 EXPAT_LINK=" -lexpat"
29407 fi
29408
29409 fi
29410 fi
29411 if test "x$EXPAT_LINK" = "x" ; then
29412 if test "$wxUSE_EXPAT" = "sys" ; then
29413 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29414 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29415 { (exit 1); exit 1; }; }
29416 else
29417 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29418 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29419 wxUSE_EXPAT=builtin
29420 fi
29421 else
29422 wxUSE_EXPAT=sys
29423 fi
29424 fi
29425 if test "$wxUSE_EXPAT" = "builtin" ; then
29426 subdirs="$subdirs src/expat"
29427
29428 fi
29429 fi
29430
29431
29432
29433 if test "$wxUSE_LIBMSPACK" != "no"; then
29434 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29435 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29436 if test "${ac_cv_header_mspack_h+set}" = set; then
29437 echo $ECHO_N "(cached) $ECHO_C" >&6
29438 else
29439 cat >conftest.$ac_ext <<_ACEOF
29440 /* confdefs.h. */
29441 _ACEOF
29442 cat confdefs.h >>conftest.$ac_ext
29443 cat >>conftest.$ac_ext <<_ACEOF
29444 /* end confdefs.h. */
29445
29446
29447 #include <mspack.h>
29448 _ACEOF
29449 rm -f conftest.$ac_objext
29450 if { (ac_try="$ac_compile"
29451 case "(($ac_try" in
29452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29453 *) ac_try_echo=$ac_try;;
29454 esac
29455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29456 (eval "$ac_compile") 2>conftest.er1
29457 ac_status=$?
29458 grep -v '^ *+' conftest.er1 >conftest.err
29459 rm -f conftest.er1
29460 cat conftest.err >&5
29461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29462 (exit $ac_status); } && {
29463 test -z "$ac_c_werror_flag" ||
29464 test ! -s conftest.err
29465 } && test -s conftest.$ac_objext; then
29466 ac_cv_header_mspack_h=yes
29467 else
29468 echo "$as_me: failed program was:" >&5
29469 sed 's/^/| /' conftest.$ac_ext >&5
29470
29471 ac_cv_header_mspack_h=no
29472 fi
29473
29474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29475 fi
29476 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29477 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29478 if test $ac_cv_header_mspack_h = yes; then
29479 found_mspack_h=1
29480 fi
29481
29482
29483 if test "x$found_mspack_h" = "x1"; then
29484 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29485 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29486 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29487 echo $ECHO_N "(cached) $ECHO_C" >&6
29488 else
29489 ac_check_lib_save_LIBS=$LIBS
29490 LIBS="-lmspack $LIBS"
29491 cat >conftest.$ac_ext <<_ACEOF
29492 /* confdefs.h. */
29493 _ACEOF
29494 cat confdefs.h >>conftest.$ac_ext
29495 cat >>conftest.$ac_ext <<_ACEOF
29496 /* end confdefs.h. */
29497
29498 /* Override any GCC internal prototype to avoid an error.
29499 Use char because int might match the return type of a GCC
29500 builtin and then its argument prototype would still apply. */
29501 #ifdef __cplusplus
29502 extern "C"
29503 #endif
29504 char mspack_create_chm_decompressor ();
29505 int
29506 main ()
29507 {
29508 return mspack_create_chm_decompressor ();
29509 ;
29510 return 0;
29511 }
29512 _ACEOF
29513 rm -f conftest.$ac_objext conftest$ac_exeext
29514 if { (ac_try="$ac_link"
29515 case "(($ac_try" in
29516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29517 *) ac_try_echo=$ac_try;;
29518 esac
29519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29520 (eval "$ac_link") 2>conftest.er1
29521 ac_status=$?
29522 grep -v '^ *+' conftest.er1 >conftest.err
29523 rm -f conftest.er1
29524 cat conftest.err >&5
29525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29526 (exit $ac_status); } && {
29527 test -z "$ac_c_werror_flag" ||
29528 test ! -s conftest.err
29529 } && test -s conftest$ac_exeext &&
29530 $as_test_x conftest$ac_exeext; then
29531 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29532 else
29533 echo "$as_me: failed program was:" >&5
29534 sed 's/^/| /' conftest.$ac_ext >&5
29535
29536 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29537 fi
29538
29539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29540 conftest$ac_exeext conftest.$ac_ext
29541 LIBS=$ac_check_lib_save_LIBS
29542 fi
29543 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29544 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29545 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29546 MSPACK_LINK=" -lmspack"
29547 fi
29548
29549 fi
29550 if test "x$MSPACK_LINK" = "x" ; then
29551 wxUSE_LIBMSPACK=no
29552 fi
29553 fi
29554
29555 if test "$wxUSE_LIBMSPACK" != "no"; then
29556 cat >>confdefs.h <<\_ACEOF
29557 #define wxUSE_LIBMSPACK 1
29558 _ACEOF
29559
29560 fi
29561
29562
29563
29564 AFMINSTALL=
29565 WIN32INSTALL=
29566
29567 TOOLKIT=
29568 TOOLKIT_INCLUDE=
29569 WIDGET_SET=
29570
29571 if test "$USE_WIN32" = 1 ; then
29572
29573 for ac_header in w32api.h
29574 do
29575 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29576 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29577 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29578 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29579 echo $ECHO_N "(cached) $ECHO_C" >&6
29580 else
29581 cat >conftest.$ac_ext <<_ACEOF
29582 /* confdefs.h. */
29583 _ACEOF
29584 cat confdefs.h >>conftest.$ac_ext
29585 cat >>conftest.$ac_ext <<_ACEOF
29586 /* end confdefs.h. */
29587
29588
29589 #include <$ac_header>
29590 _ACEOF
29591 rm -f conftest.$ac_objext
29592 if { (ac_try="$ac_compile"
29593 case "(($ac_try" in
29594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29595 *) ac_try_echo=$ac_try;;
29596 esac
29597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29598 (eval "$ac_compile") 2>conftest.er1
29599 ac_status=$?
29600 grep -v '^ *+' conftest.er1 >conftest.err
29601 rm -f conftest.er1
29602 cat conftest.err >&5
29603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29604 (exit $ac_status); } && {
29605 test -z "$ac_c_werror_flag" ||
29606 test ! -s conftest.err
29607 } && test -s conftest.$ac_objext; then
29608 eval "$as_ac_Header=yes"
29609 else
29610 echo "$as_me: failed program was:" >&5
29611 sed 's/^/| /' conftest.$ac_ext >&5
29612
29613 eval "$as_ac_Header=no"
29614 fi
29615
29616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29617 fi
29618 ac_res=`eval echo '${'$as_ac_Header'}'`
29619 { echo "$as_me:$LINENO: result: $ac_res" >&5
29620 echo "${ECHO_T}$ac_res" >&6; }
29621 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29622 cat >>confdefs.h <<_ACEOF
29623 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29624 _ACEOF
29625
29626 fi
29627
29628 done
29629
29630 { echo "$as_me:$LINENO: checking for windows.h" >&5
29631 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29632 if test "${ac_cv_header_windows_h+set}" = set; then
29633 echo $ECHO_N "(cached) $ECHO_C" >&6
29634 else
29635 cat >conftest.$ac_ext <<_ACEOF
29636 /* confdefs.h. */
29637 _ACEOF
29638 cat confdefs.h >>conftest.$ac_ext
29639 cat >>conftest.$ac_ext <<_ACEOF
29640 /* end confdefs.h. */
29641
29642
29643 #include <windows.h>
29644 _ACEOF
29645 rm -f conftest.$ac_objext
29646 if { (ac_try="$ac_compile"
29647 case "(($ac_try" in
29648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29649 *) ac_try_echo=$ac_try;;
29650 esac
29651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29652 (eval "$ac_compile") 2>conftest.er1
29653 ac_status=$?
29654 grep -v '^ *+' conftest.er1 >conftest.err
29655 rm -f conftest.er1
29656 cat conftest.err >&5
29657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29658 (exit $ac_status); } && {
29659 test -z "$ac_c_werror_flag" ||
29660 test ! -s conftest.err
29661 } && test -s conftest.$ac_objext; then
29662 ac_cv_header_windows_h=yes
29663 else
29664 echo "$as_me: failed program was:" >&5
29665 sed 's/^/| /' conftest.$ac_ext >&5
29666
29667 ac_cv_header_windows_h=no
29668 fi
29669
29670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29671 fi
29672 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29673 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29674 if test $ac_cv_header_windows_h = yes; then
29675 :
29676 else
29677
29678 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29679 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29680 { (exit 1); exit 1; }; }
29681
29682 fi
29683
29684
29685
29686 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
29687 case "${host}" in
29688 x86_64-*-mingw32* )
29689 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
29690 ;;
29691 esac
29692 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29693 LIBS="$LIBS -loleacc"
29694 fi
29695
29696 case "${host}" in
29697 *-*-cygwin* )
29698 LIBS="$LIBS -lkernel32 -luser32"
29699 esac
29700
29701 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29702 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29703
29704 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29705
29706 WIN32INSTALL=win32install
29707
29708 { echo "$as_me:$LINENO: checking for pbt.h" >&5
29709 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
29710 if test "${ac_cv_header_pbt_h+set}" = set; then
29711 echo $ECHO_N "(cached) $ECHO_C" >&6
29712 else
29713 cat >conftest.$ac_ext <<_ACEOF
29714 /* confdefs.h. */
29715 _ACEOF
29716 cat confdefs.h >>conftest.$ac_ext
29717 cat >>conftest.$ac_ext <<_ACEOF
29718 /* end confdefs.h. */
29719
29720
29721 #include <pbt.h>
29722 _ACEOF
29723 rm -f conftest.$ac_objext
29724 if { (ac_try="$ac_compile"
29725 case "(($ac_try" in
29726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29727 *) ac_try_echo=$ac_try;;
29728 esac
29729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29730 (eval "$ac_compile") 2>conftest.er1
29731 ac_status=$?
29732 grep -v '^ *+' conftest.er1 >conftest.err
29733 rm -f conftest.er1
29734 cat conftest.err >&5
29735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29736 (exit $ac_status); } && {
29737 test -z "$ac_c_werror_flag" ||
29738 test ! -s conftest.err
29739 } && test -s conftest.$ac_objext; then
29740 ac_cv_header_pbt_h=yes
29741 else
29742 echo "$as_me: failed program was:" >&5
29743 sed 's/^/| /' conftest.$ac_ext >&5
29744
29745 ac_cv_header_pbt_h=no
29746 fi
29747
29748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29749 fi
29750 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
29751 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29752 if test $ac_cv_header_pbt_h = yes; then
29753 :
29754 else
29755 cat >>confdefs.h <<\_ACEOF
29756 #define NEED_PBT_H 1
29757 _ACEOF
29758
29759 fi
29760
29761
29762 fi
29763
29764 if test "$wxUSE_GUI" = "yes"; then
29765 USE_GUI=1
29766
29767 GUI_TK_LIBRARY=
29768
29769 WXGTK12=
29770 WXGTK127=
29771 WXGTK2=
29772 WXGPE=
29773
29774 if test "$wxUSE_OLD_COCOA" = 1 ; then
29775 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29776 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29777 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29778 wxUSE_PRINTING_ARCHITECTURE=no
29779 fi
29780 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29781 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29782 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29783 wxUSE_DRAG_AND_DROP=no
29784 fi
29785 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29786 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29787 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29788 wxUSE_DRAGIMAGE=no
29789 fi
29790 fi
29791
29792 if test "$wxUSE_MSW" = 1 ; then
29793 TOOLKIT=MSW
29794 GUIDIST=MSW_DIST
29795
29796 case "${host}" in
29797 *-*-mingw32* )
29798 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29799 esac
29800 fi
29801
29802 if test "$wxUSE_GTK" = 1; then
29803 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29804 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
29805
29806 gtk_version_cached=1
29807 if test "${wx_cv_lib_gtk+set}" = set; then
29808 echo $ECHO_N "(cached) $ECHO_C" >&6
29809 else
29810
29811 gtk_version_cached=0
29812 { echo "$as_me:$LINENO: result: " >&5
29813 echo "${ECHO_T}" >&6; }
29814
29815 GTK_MODULES=
29816 if test "$wxUSE_THREADS" = "yes"; then
29817 GTK_MODULES=gthread
29818 fi
29819
29820 wx_cv_lib_gtk=
29821 if test "x$wxGTK_VERSION" != "x1"
29822 then
29823 case "${host}" in
29824 *-*-solaris2* )
29825 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29826 enable_gtktest=no
29827 fi
29828 esac
29829
29830 # Check whether --enable-gtktest was given.
29831 if test "${enable_gtktest+set}" = set; then
29832 enableval=$enable_gtktest;
29833 else
29834 enable_gtktest=yes
29835 fi
29836
29837
29838 pkg_config_args=gtk+-2.0
29839 for module in . $GTK_MODULES
29840 do
29841 case "$module" in
29842 gthread)
29843 pkg_config_args="$pkg_config_args gthread-2.0"
29844 ;;
29845 esac
29846 done
29847
29848 no_gtk=""
29849
29850 # Extract the first word of "pkg-config", so it can be a program name with args.
29851 set dummy pkg-config; ac_word=$2
29852 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29854 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29855 echo $ECHO_N "(cached) $ECHO_C" >&6
29856 else
29857 case $PKG_CONFIG in
29858 [\\/]* | ?:[\\/]*)
29859 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29860 ;;
29861 *)
29862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29863 for as_dir in $PATH
29864 do
29865 IFS=$as_save_IFS
29866 test -z "$as_dir" && as_dir=.
29867 for ac_exec_ext in '' $ac_executable_extensions; do
29868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29869 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29871 break 2
29872 fi
29873 done
29874 done
29875 IFS=$as_save_IFS
29876
29877 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29878 ;;
29879 esac
29880 fi
29881 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29882 if test -n "$PKG_CONFIG"; then
29883 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29884 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29885 else
29886 { echo "$as_me:$LINENO: result: no" >&5
29887 echo "${ECHO_T}no" >&6; }
29888 fi
29889
29890
29891
29892 if test x$PKG_CONFIG != xno ; then
29893 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29894 :
29895 else
29896 echo "*** pkg-config too old; version 0.7 or better required."
29897 no_gtk=yes
29898 PKG_CONFIG=no
29899 fi
29900 else
29901 no_gtk=yes
29902 fi
29903
29904 min_gtk_version=2.4.0
29905 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
29906 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
29907
29908 if test x$PKG_CONFIG != xno ; then
29909 ## don't try to run the test against uninstalled libtool libs
29910 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29911 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
29912 enable_gtktest=no
29913 fi
29914
29915 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29916 :
29917 else
29918 no_gtk=yes
29919 fi
29920 fi
29921
29922 if test x"$no_gtk" = x ; then
29923 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29924 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29925 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29926 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29927 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29928 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29929 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29930 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29931 if test "x$enable_gtktest" = "xyes" ; then
29932 ac_save_CFLAGS="$CFLAGS"
29933 ac_save_LIBS="$LIBS"
29934 CFLAGS="$CFLAGS $GTK_CFLAGS"
29935 LIBS="$GTK_LIBS $LIBS"
29936 rm -f conf.gtktest
29937 if test "$cross_compiling" = yes; then
29938 echo $ac_n "cross compiling; assumed OK... $ac_c"
29939 else
29940 cat >conftest.$ac_ext <<_ACEOF
29941 /* confdefs.h. */
29942 _ACEOF
29943 cat confdefs.h >>conftest.$ac_ext
29944 cat >>conftest.$ac_ext <<_ACEOF
29945 /* end confdefs.h. */
29946
29947 #include <gtk/gtk.h>
29948 #include <stdio.h>
29949 #include <stdlib.h>
29950
29951 int
29952 main ()
29953 {
29954 int major, minor, micro;
29955 char *tmp_version;
29956
29957 system ("touch conf.gtktest");
29958
29959 /* HP/UX 9 (%@#!) writes to sscanf strings */
29960 tmp_version = g_strdup("$min_gtk_version");
29961 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29962 printf("%s, bad version string\n", "$min_gtk_version");
29963 exit(1);
29964 }
29965
29966 if ((gtk_major_version != $gtk_config_major_version) ||
29967 (gtk_minor_version != $gtk_config_minor_version) ||
29968 (gtk_micro_version != $gtk_config_micro_version))
29969 {
29970 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29971 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29972 gtk_major_version, gtk_minor_version, gtk_micro_version);
29973 printf ("*** was found! If pkg-config was correct, then it is best\n");
29974 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29975 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29976 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29977 printf("*** required on your system.\n");
29978 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
29979 printf("*** to point to the correct configuration files\n");
29980 }
29981 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29982 (gtk_minor_version != GTK_MINOR_VERSION) ||
29983 (gtk_micro_version != GTK_MICRO_VERSION))
29984 {
29985 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29986 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29987 printf("*** library (version %d.%d.%d)\n",
29988 gtk_major_version, gtk_minor_version, gtk_micro_version);
29989 }
29990 else
29991 {
29992 if ((gtk_major_version > major) ||
29993 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29994 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29995 {
29996 return 0;
29997 }
29998 else
29999 {
30000 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30001 gtk_major_version, gtk_minor_version, gtk_micro_version);
30002 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30003 major, minor, micro);
30004 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30005 printf("***\n");
30006 printf("*** If you have already installed a sufficiently new version, this error\n");
30007 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30008 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30009 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30010 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30011 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30012 printf("*** so that the correct libraries are found at run-time))\n");
30013 }
30014 }
30015 return 1;
30016 }
30017
30018 _ACEOF
30019 rm -f conftest$ac_exeext
30020 if { (ac_try="$ac_link"
30021 case "(($ac_try" in
30022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30023 *) ac_try_echo=$ac_try;;
30024 esac
30025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30026 (eval "$ac_link") 2>&5
30027 ac_status=$?
30028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30029 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30030 { (case "(($ac_try" in
30031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30032 *) ac_try_echo=$ac_try;;
30033 esac
30034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30035 (eval "$ac_try") 2>&5
30036 ac_status=$?
30037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30038 (exit $ac_status); }; }; then
30039 :
30040 else
30041 echo "$as_me: program exited with status $ac_status" >&5
30042 echo "$as_me: failed program was:" >&5
30043 sed 's/^/| /' conftest.$ac_ext >&5
30044
30045 ( exit $ac_status )
30046 no_gtk=yes
30047 fi
30048 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30049 fi
30050
30051
30052 CFLAGS="$ac_save_CFLAGS"
30053 LIBS="$ac_save_LIBS"
30054 fi
30055 fi
30056 if test "x$no_gtk" = x ; then
30057 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30058 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30059 wx_cv_lib_gtk=2.0
30060 else
30061 { echo "$as_me:$LINENO: result: no" >&5
30062 echo "${ECHO_T}no" >&6; }
30063 if test "$PKG_CONFIG" = "no" ; then
30064 echo "*** A new enough version of pkg-config was not found."
30065 echo "*** See http://pkgconfig.sourceforge.net"
30066 else
30067 if test -f conf.gtktest ; then
30068 :
30069 else
30070 echo "*** Could not run GTK+ test program, checking why..."
30071 ac_save_CFLAGS="$CFLAGS"
30072 ac_save_LIBS="$LIBS"
30073 CFLAGS="$CFLAGS $GTK_CFLAGS"
30074 LIBS="$LIBS $GTK_LIBS"
30075 cat >conftest.$ac_ext <<_ACEOF
30076 /* confdefs.h. */
30077 _ACEOF
30078 cat confdefs.h >>conftest.$ac_ext
30079 cat >>conftest.$ac_ext <<_ACEOF
30080 /* end confdefs.h. */
30081
30082 #include <gtk/gtk.h>
30083 #include <stdio.h>
30084
30085 int
30086 main ()
30087 {
30088 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30089 ;
30090 return 0;
30091 }
30092 _ACEOF
30093 rm -f conftest.$ac_objext conftest$ac_exeext
30094 if { (ac_try="$ac_link"
30095 case "(($ac_try" in
30096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30097 *) ac_try_echo=$ac_try;;
30098 esac
30099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30100 (eval "$ac_link") 2>conftest.er1
30101 ac_status=$?
30102 grep -v '^ *+' conftest.er1 >conftest.err
30103 rm -f conftest.er1
30104 cat conftest.err >&5
30105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30106 (exit $ac_status); } && {
30107 test -z "$ac_c_werror_flag" ||
30108 test ! -s conftest.err
30109 } && test -s conftest$ac_exeext &&
30110 $as_test_x conftest$ac_exeext; then
30111 echo "*** The test program compiled, but did not run. This usually means"
30112 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30113 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30114 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30115 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30116 echo "*** is required on your system"
30117 echo "***"
30118 echo "*** If you have an old version installed, it is best to remove it, although"
30119 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30120 else
30121 echo "$as_me: failed program was:" >&5
30122 sed 's/^/| /' conftest.$ac_ext >&5
30123
30124 echo "*** The test program failed to compile or link. See the file config.log for the"
30125 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30126 fi
30127
30128 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30129 conftest$ac_exeext conftest.$ac_ext
30130 CFLAGS="$ac_save_CFLAGS"
30131 LIBS="$ac_save_LIBS"
30132 fi
30133 fi
30134 GTK_CFLAGS=""
30135 GTK_LIBS=""
30136 :
30137 fi
30138
30139
30140 rm -f conf.gtktest
30141
30142
30143 GTK_LIBS="$GTK_LIBS -lX11"
30144 fi
30145
30146 if test -z "$wx_cv_lib_gtk"; then
30147 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30148
30149 # Check whether --with-gtk-prefix was given.
30150 if test "${with_gtk_prefix+set}" = set; then
30151 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30152 else
30153 gtk_config_prefix=""
30154 fi
30155
30156
30157 # Check whether --with-gtk-exec-prefix was given.
30158 if test "${with_gtk_exec_prefix+set}" = set; then
30159 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30160 else
30161 gtk_config_exec_prefix=""
30162 fi
30163
30164 # Check whether --enable-gtktest was given.
30165 if test "${enable_gtktest+set}" = set; then
30166 enableval=$enable_gtktest;
30167 else
30168 enable_gtktest=yes
30169 fi
30170
30171
30172 for module in . $GTK_MODULES
30173 do
30174 case "$module" in
30175 gthread)
30176 gtk_config_args="$gtk_config_args gthread"
30177 ;;
30178 esac
30179 done
30180
30181 if test x$gtk_config_exec_prefix != x ; then
30182 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30183 if test x${GTK_CONFIG+set} != xset ; then
30184 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30185 fi
30186 fi
30187 if test x$gtk_config_prefix != x ; then
30188 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30189 if test x${GTK_CONFIG+set} != xset ; then
30190 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30191 fi
30192 fi
30193
30194 # Extract the first word of "gtk-config", so it can be a program name with args.
30195 set dummy gtk-config; ac_word=$2
30196 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30198 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30199 echo $ECHO_N "(cached) $ECHO_C" >&6
30200 else
30201 case $GTK_CONFIG in
30202 [\\/]* | ?:[\\/]*)
30203 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30204 ;;
30205 *)
30206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30207 for as_dir in $PATH
30208 do
30209 IFS=$as_save_IFS
30210 test -z "$as_dir" && as_dir=.
30211 for ac_exec_ext in '' $ac_executable_extensions; do
30212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30213 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30215 break 2
30216 fi
30217 done
30218 done
30219 IFS=$as_save_IFS
30220
30221 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30222 ;;
30223 esac
30224 fi
30225 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30226 if test -n "$GTK_CONFIG"; then
30227 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30228 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30229 else
30230 { echo "$as_me:$LINENO: result: no" >&5
30231 echo "${ECHO_T}no" >&6; }
30232 fi
30233
30234
30235 min_gtk_version=1.2.7
30236 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30237 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30238 no_gtk=""
30239 if test "$GTK_CONFIG" = "no" ; then
30240 no_gtk=yes
30241 else
30242 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30243 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30244 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30245 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30246 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30247 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30248 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30249 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30250 if test "x$enable_gtktest" = "xyes" ; then
30251 ac_save_CFLAGS="$CFLAGS"
30252 ac_save_LIBS="$LIBS"
30253 CFLAGS="$CFLAGS $GTK_CFLAGS"
30254 LIBS="$GTK_LIBS $LIBS"
30255 rm -f conf.gtktest
30256 if test "$cross_compiling" = yes; then
30257 echo $ac_n "cross compiling; assumed OK... $ac_c"
30258 else
30259 cat >conftest.$ac_ext <<_ACEOF
30260 /* confdefs.h. */
30261 _ACEOF
30262 cat confdefs.h >>conftest.$ac_ext
30263 cat >>conftest.$ac_ext <<_ACEOF
30264 /* end confdefs.h. */
30265
30266 #include <gtk/gtk.h>
30267 #include <stdio.h>
30268 #include <stdlib.h>
30269
30270 int
30271 main ()
30272 {
30273 int major, minor, micro;
30274 char *tmp_version;
30275
30276 system ("touch conf.gtktest");
30277
30278 /* HP/UX 9 (%@#!) writes to sscanf strings */
30279 tmp_version = g_strdup("$min_gtk_version");
30280 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30281 printf("%s, bad version string\n", "$min_gtk_version");
30282 exit(1);
30283 }
30284
30285 if ((gtk_major_version != $gtk_config_major_version) ||
30286 (gtk_minor_version != $gtk_config_minor_version) ||
30287 (gtk_micro_version != $gtk_config_micro_version))
30288 {
30289 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30290 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30291 gtk_major_version, gtk_minor_version, gtk_micro_version);
30292 printf ("*** was found! If gtk-config was correct, then it is best\n");
30293 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30294 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30295 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30296 printf("*** required on your system.\n");
30297 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30298 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30299 printf("*** before re-running configure\n");
30300 }
30301 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30302 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30303 (gtk_minor_version != GTK_MINOR_VERSION) ||
30304 (gtk_micro_version != GTK_MICRO_VERSION))
30305 {
30306 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30307 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30308 printf("*** library (version %d.%d.%d)\n",
30309 gtk_major_version, gtk_minor_version, gtk_micro_version);
30310 }
30311 #endif /* defined (GTK_MAJOR_VERSION) ... */
30312 else
30313 {
30314 if ((gtk_major_version > major) ||
30315 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30316 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30317 {
30318 return 0;
30319 }
30320 else
30321 {
30322 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30323 gtk_major_version, gtk_minor_version, gtk_micro_version);
30324 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30325 major, minor, micro);
30326 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30327 printf("***\n");
30328 printf("*** If you have already installed a sufficiently new version, this error\n");
30329 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30330 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30331 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30332 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30333 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30334 printf("*** so that the correct libraries are found at run-time))\n");
30335 }
30336 }
30337 return 1;
30338 }
30339
30340 _ACEOF
30341 rm -f conftest$ac_exeext
30342 if { (ac_try="$ac_link"
30343 case "(($ac_try" in
30344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30345 *) ac_try_echo=$ac_try;;
30346 esac
30347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30348 (eval "$ac_link") 2>&5
30349 ac_status=$?
30350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30351 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30352 { (case "(($ac_try" in
30353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30354 *) ac_try_echo=$ac_try;;
30355 esac
30356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30357 (eval "$ac_try") 2>&5
30358 ac_status=$?
30359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30360 (exit $ac_status); }; }; then
30361 :
30362 else
30363 echo "$as_me: program exited with status $ac_status" >&5
30364 echo "$as_me: failed program was:" >&5
30365 sed 's/^/| /' conftest.$ac_ext >&5
30366
30367 ( exit $ac_status )
30368 no_gtk=yes
30369 fi
30370 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30371 fi
30372
30373
30374 CFLAGS="$ac_save_CFLAGS"
30375 LIBS="$ac_save_LIBS"
30376 fi
30377 fi
30378 if test "x$no_gtk" = x ; then
30379 { echo "$as_me:$LINENO: result: yes" >&5
30380 echo "${ECHO_T}yes" >&6; }
30381 wx_cv_lib_gtk=1.2.7
30382 else
30383 { echo "$as_me:$LINENO: result: no" >&5
30384 echo "${ECHO_T}no" >&6; }
30385 if test "$GTK_CONFIG" = "no" ; then
30386 echo "*** The gtk-config script installed by GTK could not be found"
30387 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30388 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30389 echo "*** full path to gtk-config."
30390 else
30391 if test -f conf.gtktest ; then
30392 :
30393 else
30394 echo "*** Could not run GTK test program, checking why..."
30395 CFLAGS="$CFLAGS $GTK_CFLAGS"
30396 LIBS="$LIBS $GTK_LIBS"
30397 cat >conftest.$ac_ext <<_ACEOF
30398 /* confdefs.h. */
30399 _ACEOF
30400 cat confdefs.h >>conftest.$ac_ext
30401 cat >>conftest.$ac_ext <<_ACEOF
30402 /* end confdefs.h. */
30403
30404 #include <gtk/gtk.h>
30405 #include <stdio.h>
30406
30407 int
30408 main ()
30409 {
30410 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30411 ;
30412 return 0;
30413 }
30414 _ACEOF
30415 rm -f conftest.$ac_objext conftest$ac_exeext
30416 if { (ac_try="$ac_link"
30417 case "(($ac_try" in
30418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30419 *) ac_try_echo=$ac_try;;
30420 esac
30421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30422 (eval "$ac_link") 2>conftest.er1
30423 ac_status=$?
30424 grep -v '^ *+' conftest.er1 >conftest.err
30425 rm -f conftest.er1
30426 cat conftest.err >&5
30427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30428 (exit $ac_status); } && {
30429 test -z "$ac_c_werror_flag" ||
30430 test ! -s conftest.err
30431 } && test -s conftest$ac_exeext &&
30432 $as_test_x conftest$ac_exeext; then
30433 echo "*** The test program compiled, but did not run. This usually means"
30434 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30435 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30436 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30437 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30438 echo "*** is required on your system"
30439 echo "***"
30440 echo "*** If you have an old version installed, it is best to remove it, although"
30441 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30442 echo "***"
30443 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30444 echo "*** came with the system with the command"
30445 echo "***"
30446 echo "*** rpm --erase --nodeps gtk gtk-devel"
30447 else
30448 echo "$as_me: failed program was:" >&5
30449 sed 's/^/| /' conftest.$ac_ext >&5
30450
30451 echo "*** The test program failed to compile or link. See the file config.log for the"
30452 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30453 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30454 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30455 fi
30456
30457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30458 conftest$ac_exeext conftest.$ac_ext
30459 CFLAGS="$ac_save_CFLAGS"
30460 LIBS="$ac_save_LIBS"
30461 fi
30462 fi
30463 GTK_CFLAGS=""
30464 GTK_LIBS=""
30465 :
30466 fi
30467
30468
30469 rm -f conf.gtktest
30470
30471
30472 if test -z "$wx_cv_lib_gtk"; then
30473
30474 # Check whether --with-gtk-prefix was given.
30475 if test "${with_gtk_prefix+set}" = set; then
30476 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30477 else
30478 gtk_config_prefix=""
30479 fi
30480
30481
30482 # Check whether --with-gtk-exec-prefix was given.
30483 if test "${with_gtk_exec_prefix+set}" = set; then
30484 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30485 else
30486 gtk_config_exec_prefix=""
30487 fi
30488
30489 # Check whether --enable-gtktest was given.
30490 if test "${enable_gtktest+set}" = set; then
30491 enableval=$enable_gtktest;
30492 else
30493 enable_gtktest=yes
30494 fi
30495
30496
30497 for module in . $GTK_MODULES
30498 do
30499 case "$module" in
30500 gthread)
30501 gtk_config_args="$gtk_config_args gthread"
30502 ;;
30503 esac
30504 done
30505
30506 if test x$gtk_config_exec_prefix != x ; then
30507 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30508 if test x${GTK_CONFIG+set} != xset ; then
30509 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30510 fi
30511 fi
30512 if test x$gtk_config_prefix != x ; then
30513 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30514 if test x${GTK_CONFIG+set} != xset ; then
30515 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30516 fi
30517 fi
30518
30519 # Extract the first word of "gtk-config", so it can be a program name with args.
30520 set dummy gtk-config; ac_word=$2
30521 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30523 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30524 echo $ECHO_N "(cached) $ECHO_C" >&6
30525 else
30526 case $GTK_CONFIG in
30527 [\\/]* | ?:[\\/]*)
30528 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30529 ;;
30530 *)
30531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30532 for as_dir in $PATH
30533 do
30534 IFS=$as_save_IFS
30535 test -z "$as_dir" && as_dir=.
30536 for ac_exec_ext in '' $ac_executable_extensions; do
30537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30538 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30540 break 2
30541 fi
30542 done
30543 done
30544 IFS=$as_save_IFS
30545
30546 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30547 ;;
30548 esac
30549 fi
30550 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30551 if test -n "$GTK_CONFIG"; then
30552 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30553 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30554 else
30555 { echo "$as_me:$LINENO: result: no" >&5
30556 echo "${ECHO_T}no" >&6; }
30557 fi
30558
30559
30560 min_gtk_version=1.2.3
30561 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30562 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30563 no_gtk=""
30564 if test "$GTK_CONFIG" = "no" ; then
30565 no_gtk=yes
30566 else
30567 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30568 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30569 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30570 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30571 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30572 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30573 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30574 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30575 if test "x$enable_gtktest" = "xyes" ; then
30576 ac_save_CFLAGS="$CFLAGS"
30577 ac_save_LIBS="$LIBS"
30578 CFLAGS="$CFLAGS $GTK_CFLAGS"
30579 LIBS="$GTK_LIBS $LIBS"
30580 rm -f conf.gtktest
30581 if test "$cross_compiling" = yes; then
30582 echo $ac_n "cross compiling; assumed OK... $ac_c"
30583 else
30584 cat >conftest.$ac_ext <<_ACEOF
30585 /* confdefs.h. */
30586 _ACEOF
30587 cat confdefs.h >>conftest.$ac_ext
30588 cat >>conftest.$ac_ext <<_ACEOF
30589 /* end confdefs.h. */
30590
30591 #include <gtk/gtk.h>
30592 #include <stdio.h>
30593 #include <stdlib.h>
30594
30595 int
30596 main ()
30597 {
30598 int major, minor, micro;
30599 char *tmp_version;
30600
30601 system ("touch conf.gtktest");
30602
30603 /* HP/UX 9 (%@#!) writes to sscanf strings */
30604 tmp_version = g_strdup("$min_gtk_version");
30605 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30606 printf("%s, bad version string\n", "$min_gtk_version");
30607 exit(1);
30608 }
30609
30610 if ((gtk_major_version != $gtk_config_major_version) ||
30611 (gtk_minor_version != $gtk_config_minor_version) ||
30612 (gtk_micro_version != $gtk_config_micro_version))
30613 {
30614 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30615 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30616 gtk_major_version, gtk_minor_version, gtk_micro_version);
30617 printf ("*** was found! If gtk-config was correct, then it is best\n");
30618 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30619 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30620 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30621 printf("*** required on your system.\n");
30622 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30623 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30624 printf("*** before re-running configure\n");
30625 }
30626 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30627 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30628 (gtk_minor_version != GTK_MINOR_VERSION) ||
30629 (gtk_micro_version != GTK_MICRO_VERSION))
30630 {
30631 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30632 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30633 printf("*** library (version %d.%d.%d)\n",
30634 gtk_major_version, gtk_minor_version, gtk_micro_version);
30635 }
30636 #endif /* defined (GTK_MAJOR_VERSION) ... */
30637 else
30638 {
30639 if ((gtk_major_version > major) ||
30640 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30641 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30642 {
30643 return 0;
30644 }
30645 else
30646 {
30647 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30648 gtk_major_version, gtk_minor_version, gtk_micro_version);
30649 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30650 major, minor, micro);
30651 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30652 printf("***\n");
30653 printf("*** If you have already installed a sufficiently new version, this error\n");
30654 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30655 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30656 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30657 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30658 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30659 printf("*** so that the correct libraries are found at run-time))\n");
30660 }
30661 }
30662 return 1;
30663 }
30664
30665 _ACEOF
30666 rm -f conftest$ac_exeext
30667 if { (ac_try="$ac_link"
30668 case "(($ac_try" in
30669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30670 *) ac_try_echo=$ac_try;;
30671 esac
30672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30673 (eval "$ac_link") 2>&5
30674 ac_status=$?
30675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30676 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30677 { (case "(($ac_try" in
30678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30679 *) ac_try_echo=$ac_try;;
30680 esac
30681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30682 (eval "$ac_try") 2>&5
30683 ac_status=$?
30684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30685 (exit $ac_status); }; }; then
30686 :
30687 else
30688 echo "$as_me: program exited with status $ac_status" >&5
30689 echo "$as_me: failed program was:" >&5
30690 sed 's/^/| /' conftest.$ac_ext >&5
30691
30692 ( exit $ac_status )
30693 no_gtk=yes
30694 fi
30695 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30696 fi
30697
30698
30699 CFLAGS="$ac_save_CFLAGS"
30700 LIBS="$ac_save_LIBS"
30701 fi
30702 fi
30703 if test "x$no_gtk" = x ; then
30704 { echo "$as_me:$LINENO: result: yes" >&5
30705 echo "${ECHO_T}yes" >&6; }
30706 wx_cv_lib_gtk=1.2.3
30707 else
30708 { echo "$as_me:$LINENO: result: no" >&5
30709 echo "${ECHO_T}no" >&6; }
30710 if test "$GTK_CONFIG" = "no" ; then
30711 echo "*** The gtk-config script installed by GTK could not be found"
30712 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30713 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30714 echo "*** full path to gtk-config."
30715 else
30716 if test -f conf.gtktest ; then
30717 :
30718 else
30719 echo "*** Could not run GTK test program, checking why..."
30720 CFLAGS="$CFLAGS $GTK_CFLAGS"
30721 LIBS="$LIBS $GTK_LIBS"
30722 cat >conftest.$ac_ext <<_ACEOF
30723 /* confdefs.h. */
30724 _ACEOF
30725 cat confdefs.h >>conftest.$ac_ext
30726 cat >>conftest.$ac_ext <<_ACEOF
30727 /* end confdefs.h. */
30728
30729 #include <gtk/gtk.h>
30730 #include <stdio.h>
30731
30732 int
30733 main ()
30734 {
30735 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30736 ;
30737 return 0;
30738 }
30739 _ACEOF
30740 rm -f conftest.$ac_objext conftest$ac_exeext
30741 if { (ac_try="$ac_link"
30742 case "(($ac_try" in
30743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30744 *) ac_try_echo=$ac_try;;
30745 esac
30746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30747 (eval "$ac_link") 2>conftest.er1
30748 ac_status=$?
30749 grep -v '^ *+' conftest.er1 >conftest.err
30750 rm -f conftest.er1
30751 cat conftest.err >&5
30752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30753 (exit $ac_status); } && {
30754 test -z "$ac_c_werror_flag" ||
30755 test ! -s conftest.err
30756 } && test -s conftest$ac_exeext &&
30757 $as_test_x conftest$ac_exeext; then
30758 echo "*** The test program compiled, but did not run. This usually means"
30759 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30760 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30761 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30762 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30763 echo "*** is required on your system"
30764 echo "***"
30765 echo "*** If you have an old version installed, it is best to remove it, although"
30766 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30767 echo "***"
30768 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30769 echo "*** came with the system with the command"
30770 echo "***"
30771 echo "*** rpm --erase --nodeps gtk gtk-devel"
30772 else
30773 echo "$as_me: failed program was:" >&5
30774 sed 's/^/| /' conftest.$ac_ext >&5
30775
30776 echo "*** The test program failed to compile or link. See the file config.log for the"
30777 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30778 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30779 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30780 fi
30781
30782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30783 conftest$ac_exeext conftest.$ac_ext
30784 CFLAGS="$ac_save_CFLAGS"
30785 LIBS="$ac_save_LIBS"
30786 fi
30787 fi
30788 GTK_CFLAGS=""
30789 GTK_LIBS=""
30790 :
30791 fi
30792
30793
30794 rm -f conf.gtktest
30795
30796 fi
30797 fi
30798 fi
30799
30800 if test -z "$wx_cv_lib_gtk"; then
30801 wx_cv_lib_gtk=none
30802 else
30803 wx_cv_cflags_gtk=$GTK_CFLAGS
30804 wx_cv_libs_gtk=$GTK_LIBS
30805 fi
30806
30807
30808 fi
30809
30810
30811 if test "$gtk_version_cached" = 1; then
30812 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30813 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30814 fi
30815
30816 case "$wx_cv_lib_gtk" in
30817 2.0) WXGTK2=1
30818 TOOLKIT_VERSION=2
30819 ;;
30820 1.2.7) WXGTK127=1
30821 WXGTK12=1
30822 ;;
30823 1.2.3) WXGTK12=1
30824 ;;
30825 *) { { echo "$as_me:$LINENO: error:
30826 The development files for GTK+ were not found. For GTK+ 2, please
30827 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30828 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30829 and that the version is 1.2.3 or above. Also check that the
30830 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30831 --libs' are in the LD_LIBRARY_PATH or equivalent.
30832 " >&5
30833 echo "$as_me: error:
30834 The development files for GTK+ were not found. For GTK+ 2, please
30835 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30836 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30837 and that the version is 1.2.3 or above. Also check that the
30838 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30839 --libs' are in the LD_LIBRARY_PATH or equivalent.
30840 " >&2;}
30841 { (exit 1); exit 1; }; }
30842 ;;
30843 esac
30844
30845 if test "$WXGTK2" = 1; then
30846 save_CFLAGS="$CFLAGS"
30847 save_LIBS="$LIBS"
30848 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30849 LIBS="$LIBS $wx_cv_libs_gtk"
30850
30851 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30852 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30853 cat >conftest.$ac_ext <<_ACEOF
30854 /* confdefs.h. */
30855 _ACEOF
30856 cat confdefs.h >>conftest.$ac_ext
30857 cat >>conftest.$ac_ext <<_ACEOF
30858 /* end confdefs.h. */
30859
30860 #include <gtk/gtk.h>
30861
30862 int
30863 main ()
30864 {
30865
30866 #if !GTK_CHECK_VERSION(2,18,0)
30867 Not GTK+ 2.18
30868 #endif
30869
30870 ;
30871 return 0;
30872 }
30873 _ACEOF
30874 rm -f conftest.$ac_objext
30875 if { (ac_try="$ac_compile"
30876 case "(($ac_try" in
30877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30878 *) ac_try_echo=$ac_try;;
30879 esac
30880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30881 (eval "$ac_compile") 2>conftest.er1
30882 ac_status=$?
30883 grep -v '^ *+' conftest.er1 >conftest.err
30884 rm -f conftest.er1
30885 cat conftest.err >&5
30886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30887 (exit $ac_status); } && {
30888 test -z "$ac_c_werror_flag" ||
30889 test ! -s conftest.err
30890 } && test -s conftest.$ac_objext; then
30891
30892 cat >>confdefs.h <<\_ACEOF
30893 #define __WXGTK218__ 1
30894 _ACEOF
30895
30896 cat >>confdefs.h <<\_ACEOF
30897 #define __WXGTK210__ 1
30898 _ACEOF
30899
30900 cat >>confdefs.h <<\_ACEOF
30901 #define __WXGTK26__ 1
30902 _ACEOF
30903
30904 { echo "$as_me:$LINENO: result: yes" >&5
30905 echo "${ECHO_T}yes" >&6; }
30906 ac_wxgtk218=1
30907
30908 else
30909 echo "$as_me: failed program was:" >&5
30910 sed 's/^/| /' conftest.$ac_ext >&5
30911
30912
30913 { echo "$as_me:$LINENO: result: no" >&5
30914 echo "${ECHO_T}no" >&6; }
30915 ac_wxgtk218=0
30916
30917 fi
30918
30919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30920
30921 if test "$ac_wxgtk218" = 0; then
30922 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30923 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30924 cat >conftest.$ac_ext <<_ACEOF
30925 /* confdefs.h. */
30926 _ACEOF
30927 cat confdefs.h >>conftest.$ac_ext
30928 cat >>conftest.$ac_ext <<_ACEOF
30929 /* end confdefs.h. */
30930
30931 #include <gtk/gtk.h>
30932
30933 int
30934 main ()
30935 {
30936
30937 #if !GTK_CHECK_VERSION(2,10,0)
30938 Not GTK+ 2.10
30939 #endif
30940
30941 ;
30942 return 0;
30943 }
30944 _ACEOF
30945 rm -f conftest.$ac_objext
30946 if { (ac_try="$ac_compile"
30947 case "(($ac_try" in
30948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30949 *) ac_try_echo=$ac_try;;
30950 esac
30951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30952 (eval "$ac_compile") 2>conftest.er1
30953 ac_status=$?
30954 grep -v '^ *+' conftest.er1 >conftest.err
30955 rm -f conftest.er1
30956 cat conftest.err >&5
30957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30958 (exit $ac_status); } && {
30959 test -z "$ac_c_werror_flag" ||
30960 test ! -s conftest.err
30961 } && test -s conftest.$ac_objext; then
30962
30963 cat >>confdefs.h <<\_ACEOF
30964 #define __WXGTK210__ 1
30965 _ACEOF
30966
30967 cat >>confdefs.h <<\_ACEOF
30968 #define __WXGTK26__ 1
30969 _ACEOF
30970
30971 { echo "$as_me:$LINENO: result: yes" >&5
30972 echo "${ECHO_T}yes" >&6; }
30973 ac_wxgtk210=1
30974
30975 else
30976 echo "$as_me: failed program was:" >&5
30977 sed 's/^/| /' conftest.$ac_ext >&5
30978
30979
30980 { echo "$as_me:$LINENO: result: no" >&5
30981 echo "${ECHO_T}no" >&6; }
30982 ac_wxgtk210=0
30983
30984 fi
30985
30986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30987
30988 if test "$ac_wxgtk210" = 0; then
30989 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30990 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30991 cat >conftest.$ac_ext <<_ACEOF
30992 /* confdefs.h. */
30993 _ACEOF
30994 cat confdefs.h >>conftest.$ac_ext
30995 cat >>conftest.$ac_ext <<_ACEOF
30996 /* end confdefs.h. */
30997
30998 #include <gtk/gtk.h>
30999
31000 int
31001 main ()
31002 {
31003
31004 #if !GTK_CHECK_VERSION(2,6,0)
31005 Not GTK+ 2.6
31006 #endif
31007
31008 ;
31009 return 0;
31010 }
31011 _ACEOF
31012 rm -f conftest.$ac_objext
31013 if { (ac_try="$ac_compile"
31014 case "(($ac_try" in
31015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31016 *) ac_try_echo=$ac_try;;
31017 esac
31018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31019 (eval "$ac_compile") 2>conftest.er1
31020 ac_status=$?
31021 grep -v '^ *+' conftest.er1 >conftest.err
31022 rm -f conftest.er1
31023 cat conftest.err >&5
31024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31025 (exit $ac_status); } && {
31026 test -z "$ac_c_werror_flag" ||
31027 test ! -s conftest.err
31028 } && test -s conftest.$ac_objext; then
31029
31030 cat >>confdefs.h <<\_ACEOF
31031 #define __WXGTK26__ 1
31032 _ACEOF
31033
31034 { echo "$as_me:$LINENO: result: yes" >&5
31035 echo "${ECHO_T}yes" >&6; }
31036 ac_wxgtk26=1
31037
31038 else
31039 echo "$as_me: failed program was:" >&5
31040 sed 's/^/| /' conftest.$ac_ext >&5
31041
31042
31043 { echo "$as_me:$LINENO: result: no" >&5
31044 echo "${ECHO_T}no" >&6; }
31045 ac_wxgtk26=0
31046
31047 fi
31048
31049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31050 fi
31051 fi
31052
31053 CFLAGS="$save_CFLAGS"
31054 LIBS="$save_LIBS"
31055 else
31056 if test "$wxUSE_UNICODE" = "yes"; then
31057 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31058 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31059 wxUSE_UNICODE=no
31060 fi
31061
31062 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31063 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31064 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31065 echo $ECHO_N "(cached) $ECHO_C" >&6
31066 else
31067 ac_check_lib_save_LIBS=$LIBS
31068 LIBS="-lgdk $LIBS"
31069 cat >conftest.$ac_ext <<_ACEOF
31070 /* confdefs.h. */
31071 _ACEOF
31072 cat confdefs.h >>conftest.$ac_ext
31073 cat >>conftest.$ac_ext <<_ACEOF
31074 /* end confdefs.h. */
31075
31076 /* Override any GCC internal prototype to avoid an error.
31077 Use char because int might match the return type of a GCC
31078 builtin and then its argument prototype would still apply. */
31079 #ifdef __cplusplus
31080 extern "C"
31081 #endif
31082 char gdk_im_open ();
31083 int
31084 main ()
31085 {
31086 return gdk_im_open ();
31087 ;
31088 return 0;
31089 }
31090 _ACEOF
31091 rm -f conftest.$ac_objext conftest$ac_exeext
31092 if { (ac_try="$ac_link"
31093 case "(($ac_try" in
31094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31095 *) ac_try_echo=$ac_try;;
31096 esac
31097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31098 (eval "$ac_link") 2>conftest.er1
31099 ac_status=$?
31100 grep -v '^ *+' conftest.er1 >conftest.err
31101 rm -f conftest.er1
31102 cat conftest.err >&5
31103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31104 (exit $ac_status); } && {
31105 test -z "$ac_c_werror_flag" ||
31106 test ! -s conftest.err
31107 } && test -s conftest$ac_exeext &&
31108 $as_test_x conftest$ac_exeext; then
31109 ac_cv_lib_gdk_gdk_im_open=yes
31110 else
31111 echo "$as_me: failed program was:" >&5
31112 sed 's/^/| /' conftest.$ac_ext >&5
31113
31114 ac_cv_lib_gdk_gdk_im_open=no
31115 fi
31116
31117 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31118 conftest$ac_exeext conftest.$ac_ext
31119 LIBS=$ac_check_lib_save_LIBS
31120 fi
31121 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31122 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31123 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31124 cat >>confdefs.h <<\_ACEOF
31125 #define HAVE_XIM 1
31126 _ACEOF
31127
31128 fi
31129
31130
31131 if test "$USE_DARWIN" != 1; then
31132
31133 for ac_func in poll
31134 do
31135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31136 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31138 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31139 echo $ECHO_N "(cached) $ECHO_C" >&6
31140 else
31141 cat >conftest.$ac_ext <<_ACEOF
31142 /* confdefs.h. */
31143 _ACEOF
31144 cat confdefs.h >>conftest.$ac_ext
31145 cat >>conftest.$ac_ext <<_ACEOF
31146 /* end confdefs.h. */
31147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31149 #define $ac_func innocuous_$ac_func
31150
31151 /* System header to define __stub macros and hopefully few prototypes,
31152 which can conflict with char $ac_func (); below.
31153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31154 <limits.h> exists even on freestanding compilers. */
31155
31156 #ifdef __STDC__
31157 # include <limits.h>
31158 #else
31159 # include <assert.h>
31160 #endif
31161
31162 #undef $ac_func
31163
31164 /* Override any GCC internal prototype to avoid an error.
31165 Use char because int might match the return type of a GCC
31166 builtin and then its argument prototype would still apply. */
31167 #ifdef __cplusplus
31168 extern "C"
31169 #endif
31170 char $ac_func ();
31171 /* The GNU C library defines this for functions which it implements
31172 to always fail with ENOSYS. Some functions are actually named
31173 something starting with __ and the normal name is an alias. */
31174 #if defined __stub_$ac_func || defined __stub___$ac_func
31175 choke me
31176 #endif
31177
31178 int
31179 main ()
31180 {
31181 return $ac_func ();
31182 ;
31183 return 0;
31184 }
31185 _ACEOF
31186 rm -f conftest.$ac_objext conftest$ac_exeext
31187 if { (ac_try="$ac_link"
31188 case "(($ac_try" in
31189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31190 *) ac_try_echo=$ac_try;;
31191 esac
31192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31193 (eval "$ac_link") 2>conftest.er1
31194 ac_status=$?
31195 grep -v '^ *+' conftest.er1 >conftest.err
31196 rm -f conftest.er1
31197 cat conftest.err >&5
31198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31199 (exit $ac_status); } && {
31200 test -z "$ac_c_werror_flag" ||
31201 test ! -s conftest.err
31202 } && test -s conftest$ac_exeext &&
31203 $as_test_x conftest$ac_exeext; then
31204 eval "$as_ac_var=yes"
31205 else
31206 echo "$as_me: failed program was:" >&5
31207 sed 's/^/| /' conftest.$ac_ext >&5
31208
31209 eval "$as_ac_var=no"
31210 fi
31211
31212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31213 conftest$ac_exeext conftest.$ac_ext
31214 fi
31215 ac_res=`eval echo '${'$as_ac_var'}'`
31216 { echo "$as_me:$LINENO: result: $ac_res" >&5
31217 echo "${ECHO_T}$ac_res" >&6; }
31218 if test `eval echo '${'$as_ac_var'}'` = yes; then
31219 cat >>confdefs.h <<_ACEOF
31220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31221 _ACEOF
31222
31223 fi
31224 done
31225
31226 fi
31227 fi
31228
31229 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31230 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31231
31232 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
31233
31234 AFMINSTALL=afminstall
31235 TOOLKIT=GTK
31236 GUIDIST=GTK_DIST
31237
31238 if test "$wxUSE_GPE" = "yes"; then
31239 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31240 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31241
31242 ac_find_libraries=
31243 for ac_dir in $SEARCH_LIB
31244 do
31245 for ac_extension in a so sl dylib dll.a; do
31246 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31247 ac_find_libraries=$ac_dir
31248 break 2
31249 fi
31250 done
31251 done
31252
31253 if test "$ac_find_libraries" != "" ; then
31254
31255 if test "$ac_find_libraries" = "default location"; then
31256 ac_path_to_link=""
31257 else
31258 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31259 result=$?
31260 if test $result = 0; then
31261 ac_path_to_link=""
31262 else
31263 ac_path_to_link=" -L$ac_find_libraries"
31264 fi
31265 fi
31266
31267 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31268 WXGPE=1
31269 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31270 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31271 else
31272 { echo "$as_me:$LINENO: result: not found" >&5
31273 echo "${ECHO_T}not found" >&6; }
31274 fi
31275
31276 fi
31277 fi
31278
31279 if test "$wxUSE_MGL" = 1; then
31280 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31281 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31282 if test "x$MGL_ROOT" = x ; then
31283 { echo "$as_me:$LINENO: result: not found" >&5
31284 echo "${ECHO_T}not found" >&6; }
31285 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31286 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31287 { (exit 1); exit 1; }; }
31288 else
31289 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31290 echo "${ECHO_T}$MGL_ROOT" >&6; }
31291 fi
31292
31293 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31294 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31295 case "${host}" in
31296 *-*-linux* )
31297 if test "x$wxUSE_SHARED" = xyes ; then
31298 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31299 else
31300 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31301 fi
31302 ;;
31303 *-pc-msdosdjgpp )
31304 mgl_os_candidates="dos32/dj2"
31305 ;;
31306 *)
31307 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31308 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31309 { (exit 1); exit 1; }; }
31310 esac
31311
31312 mgl_lib_type=""
31313 mgl_os=""
31314
31315 for mgl_os_i in $mgl_os_candidates ; do
31316 if test "x$mgl_os" = x ; then
31317 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31318 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31319 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31320 mgl_lib_type=debug
31321 mgl_os=$mgl_os_i
31322 fi
31323 fi
31324 if test "x$mgl_lib_type" = x ; then
31325 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31326 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31327 mgl_lib_type=release
31328 mgl_os=$mgl_os_i
31329 fi
31330 fi
31331 fi
31332 done
31333
31334 if test "x$mgl_os" = x ; then
31335 { echo "$as_me:$LINENO: result: not found" >&5
31336 echo "${ECHO_T}not found" >&6; }
31337 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31338 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31339 { (exit 1); exit 1; }; }
31340 fi
31341 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31342 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31343
31344 wxUSE_UNIVERSAL="yes"
31345
31346 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31347 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31348
31349 AFMINSTALL=afminstall
31350 TOOLKIT=MGL
31351 GUIDIST=MGL_DIST
31352 fi
31353
31354 if test "$wxUSE_DFB" = 1; then
31355
31356
31357 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31358 if test -n "$ac_tool_prefix"; then
31359 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31360 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31361 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31362 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31363 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31364 echo $ECHO_N "(cached) $ECHO_C" >&6
31365 else
31366 case $PKG_CONFIG in
31367 [\\/]* | ?:[\\/]*)
31368 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31369 ;;
31370 *)
31371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31372 for as_dir in $PATH
31373 do
31374 IFS=$as_save_IFS
31375 test -z "$as_dir" && as_dir=.
31376 for ac_exec_ext in '' $ac_executable_extensions; do
31377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31378 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31380 break 2
31381 fi
31382 done
31383 done
31384 IFS=$as_save_IFS
31385
31386 ;;
31387 esac
31388 fi
31389 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31390 if test -n "$PKG_CONFIG"; then
31391 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31392 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31393 else
31394 { echo "$as_me:$LINENO: result: no" >&5
31395 echo "${ECHO_T}no" >&6; }
31396 fi
31397
31398
31399 fi
31400 if test -z "$ac_cv_path_PKG_CONFIG"; then
31401 ac_pt_PKG_CONFIG=$PKG_CONFIG
31402 # Extract the first word of "pkg-config", so it can be a program name with args.
31403 set dummy pkg-config; ac_word=$2
31404 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31406 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31407 echo $ECHO_N "(cached) $ECHO_C" >&6
31408 else
31409 case $ac_pt_PKG_CONFIG in
31410 [\\/]* | ?:[\\/]*)
31411 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31412 ;;
31413 *)
31414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31415 for as_dir in $PATH
31416 do
31417 IFS=$as_save_IFS
31418 test -z "$as_dir" && as_dir=.
31419 for ac_exec_ext in '' $ac_executable_extensions; do
31420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31421 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31423 break 2
31424 fi
31425 done
31426 done
31427 IFS=$as_save_IFS
31428
31429 ;;
31430 esac
31431 fi
31432 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31433 if test -n "$ac_pt_PKG_CONFIG"; then
31434 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31435 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31436 else
31437 { echo "$as_me:$LINENO: result: no" >&5
31438 echo "${ECHO_T}no" >&6; }
31439 fi
31440
31441 if test "x$ac_pt_PKG_CONFIG" = x; then
31442 PKG_CONFIG=""
31443 else
31444 case $cross_compiling:$ac_tool_warned in
31445 yes:)
31446 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31447 whose name does not start with the host triplet. If you think this
31448 configuration is useful to you, please write to autoconf@gnu.org." >&5
31449 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31450 whose name does not start with the host triplet. If you think this
31451 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31452 ac_tool_warned=yes ;;
31453 esac
31454 PKG_CONFIG=$ac_pt_PKG_CONFIG
31455 fi
31456 else
31457 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31458 fi
31459
31460 fi
31461 if test -n "$PKG_CONFIG"; then
31462 _pkg_min_version=0.9.0
31463 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31464 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31465 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31466 { echo "$as_me:$LINENO: result: yes" >&5
31467 echo "${ECHO_T}yes" >&6; }
31468 else
31469 { echo "$as_me:$LINENO: result: no" >&5
31470 echo "${ECHO_T}no" >&6; }
31471 PKG_CONFIG=""
31472 fi
31473
31474 fi
31475
31476
31477 pkg_failed=no
31478 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31479 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31480
31481 if test -n "$PKG_CONFIG"; then
31482 if test -n "$DIRECTFB_CFLAGS"; then
31483 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31484 else
31485 if test -n "$PKG_CONFIG" && \
31486 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31487 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31488 ac_status=$?
31489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31490 (exit $ac_status); }; then
31491 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31492 else
31493 pkg_failed=yes
31494 fi
31495 fi
31496 else
31497 pkg_failed=untried
31498 fi
31499 if test -n "$PKG_CONFIG"; then
31500 if test -n "$DIRECTFB_LIBS"; then
31501 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31502 else
31503 if test -n "$PKG_CONFIG" && \
31504 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31505 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31506 ac_status=$?
31507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31508 (exit $ac_status); }; then
31509 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31510 else
31511 pkg_failed=yes
31512 fi
31513 fi
31514 else
31515 pkg_failed=untried
31516 fi
31517
31518
31519
31520 if test $pkg_failed = yes; then
31521
31522 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31523 _pkg_short_errors_supported=yes
31524 else
31525 _pkg_short_errors_supported=no
31526 fi
31527 if test $_pkg_short_errors_supported = yes; then
31528 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31529 else
31530 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31531 fi
31532 # Put the nasty error message in config.log where it belongs
31533 echo "$DIRECTFB_PKG_ERRORS" >&5
31534
31535
31536 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31537 echo "$as_me: error: DirectFB not found." >&2;}
31538 { (exit 1); exit 1; }; }
31539
31540
31541 elif test $pkg_failed = untried; then
31542
31543 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31544 echo "$as_me: error: DirectFB not found." >&2;}
31545 { (exit 1); exit 1; }; }
31546
31547
31548 else
31549 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31550 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31551 { echo "$as_me:$LINENO: result: yes" >&5
31552 echo "${ECHO_T}yes" >&6; }
31553
31554 wxUSE_UNIVERSAL="yes"
31555 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31556 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31557 TOOLKIT=DFB
31558 GUIDIST=DFB_DIST
31559
31560 fi
31561 fi
31562
31563 if test "$wxUSE_MICROWIN" = 1; then
31564 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31565 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31566 if test "x$MICROWINDOWS" = x ; then
31567 { echo "$as_me:$LINENO: result: not found" >&5
31568 echo "${ECHO_T}not found" >&6; }
31569 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31570 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31571 { (exit 1); exit 1; }; }
31572 else
31573 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31574 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31575 fi
31576
31577 if test -f $MICROWINDOWS/lib/libmwin.a; then
31578 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31579 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31580 else
31581 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31582 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31583 { (exit 1); exit 1; }; }
31584 fi
31585
31586 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31587 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31588
31589 wxUSE_UNIVERSAL="yes"
31590
31591 AFMINSTALL=afminstall
31592 TOOLKIT=MICROWIN
31593 GUIDIST=MICROWIN_DIST
31594
31595 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31596 fi
31597
31598 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31599 { echo "$as_me:$LINENO: checking for X" >&5
31600 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31601
31602
31603 # Check whether --with-x was given.
31604 if test "${with_x+set}" = set; then
31605 withval=$with_x;
31606 fi
31607
31608 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31609 if test "x$with_x" = xno; then
31610 # The user explicitly disabled X.
31611 have_x=disabled
31612 else
31613 case $x_includes,$x_libraries in #(
31614 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31615 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31616 { (exit 1); exit 1; }; };; #(
31617 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31618 echo $ECHO_N "(cached) $ECHO_C" >&6
31619 else
31620 # One or both of the vars are not set, and there is no cached value.
31621 ac_x_includes=no ac_x_libraries=no
31622 rm -f -r conftest.dir
31623 if mkdir conftest.dir; then
31624 cd conftest.dir
31625 cat >Imakefile <<'_ACEOF'
31626 incroot:
31627 @echo incroot='${INCROOT}'
31628 usrlibdir:
31629 @echo usrlibdir='${USRLIBDIR}'
31630 libdir:
31631 @echo libdir='${LIBDIR}'
31632 _ACEOF
31633 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31634 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31635 for ac_var in incroot usrlibdir libdir; do
31636 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31637 done
31638 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31639 for ac_extension in a so sl; do
31640 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31641 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31642 ac_im_usrlibdir=$ac_im_libdir; break
31643 fi
31644 done
31645 # Screen out bogus values from the imake configuration. They are
31646 # bogus both because they are the default anyway, and because
31647 # using them would break gcc on systems where it needs fixed includes.
31648 case $ac_im_incroot in
31649 /usr/include) ac_x_includes= ;;
31650 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31651 esac
31652 case $ac_im_usrlibdir in
31653 /usr/lib | /lib) ;;
31654 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31655 esac
31656 fi
31657 cd ..
31658 rm -f -r conftest.dir
31659 fi
31660
31661 # Standard set of common directories for X headers.
31662 # Check X11 before X11Rn because it is often a symlink to the current release.
31663 ac_x_header_dirs='
31664 /usr/X11/include
31665 /usr/X11R6/include
31666 /usr/X11R5/include
31667 /usr/X11R4/include
31668
31669 /usr/include/X11
31670 /usr/include/X11R6
31671 /usr/include/X11R5
31672 /usr/include/X11R4
31673
31674 /usr/local/X11/include
31675 /usr/local/X11R6/include
31676 /usr/local/X11R5/include
31677 /usr/local/X11R4/include
31678
31679 /usr/local/include/X11
31680 /usr/local/include/X11R6
31681 /usr/local/include/X11R5
31682 /usr/local/include/X11R4
31683
31684 /usr/X386/include
31685 /usr/x386/include
31686 /usr/XFree86/include/X11
31687
31688 /usr/include
31689 /usr/local/include
31690 /usr/unsupported/include
31691 /usr/athena/include
31692 /usr/local/x11r5/include
31693 /usr/lpp/Xamples/include
31694
31695 /usr/openwin/include
31696 /usr/openwin/share/include'
31697
31698 if test "$ac_x_includes" = no; then
31699 # Guess where to find include files, by looking for Xlib.h.
31700 # First, try using that file with no special directory specified.
31701 cat >conftest.$ac_ext <<_ACEOF
31702 /* confdefs.h. */
31703 _ACEOF
31704 cat confdefs.h >>conftest.$ac_ext
31705 cat >>conftest.$ac_ext <<_ACEOF
31706 /* end confdefs.h. */
31707 #include <X11/Xlib.h>
31708 _ACEOF
31709 if { (ac_try="$ac_cpp conftest.$ac_ext"
31710 case "(($ac_try" in
31711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31712 *) ac_try_echo=$ac_try;;
31713 esac
31714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31715 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31716 ac_status=$?
31717 grep -v '^ *+' conftest.er1 >conftest.err
31718 rm -f conftest.er1
31719 cat conftest.err >&5
31720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31721 (exit $ac_status); } >/dev/null && {
31722 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31723 test ! -s conftest.err
31724 }; then
31725 # We can compile using X headers with no special include directory.
31726 ac_x_includes=
31727 else
31728 echo "$as_me: failed program was:" >&5
31729 sed 's/^/| /' conftest.$ac_ext >&5
31730
31731 for ac_dir in $ac_x_header_dirs; do
31732 if test -r "$ac_dir/X11/Xlib.h"; then
31733 ac_x_includes=$ac_dir
31734 break
31735 fi
31736 done
31737 fi
31738
31739 rm -f conftest.err conftest.$ac_ext
31740 fi # $ac_x_includes = no
31741
31742 if test "$ac_x_libraries" = no; then
31743 # Check for the libraries.
31744 # See if we find them without any special options.
31745 # Don't add to $LIBS permanently.
31746 ac_save_LIBS=$LIBS
31747 LIBS="-lX11 $LIBS"
31748 cat >conftest.$ac_ext <<_ACEOF
31749 /* confdefs.h. */
31750 _ACEOF
31751 cat confdefs.h >>conftest.$ac_ext
31752 cat >>conftest.$ac_ext <<_ACEOF
31753 /* end confdefs.h. */
31754 #include <X11/Xlib.h>
31755 int
31756 main ()
31757 {
31758 XrmInitialize ()
31759 ;
31760 return 0;
31761 }
31762 _ACEOF
31763 rm -f conftest.$ac_objext conftest$ac_exeext
31764 if { (ac_try="$ac_link"
31765 case "(($ac_try" in
31766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31767 *) ac_try_echo=$ac_try;;
31768 esac
31769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31770 (eval "$ac_link") 2>conftest.er1
31771 ac_status=$?
31772 grep -v '^ *+' conftest.er1 >conftest.err
31773 rm -f conftest.er1
31774 cat conftest.err >&5
31775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31776 (exit $ac_status); } && {
31777 test -z "$ac_c_werror_flag" ||
31778 test ! -s conftest.err
31779 } && test -s conftest$ac_exeext &&
31780 $as_test_x conftest$ac_exeext; then
31781 LIBS=$ac_save_LIBS
31782 # We can link X programs with no special library path.
31783 ac_x_libraries=
31784 else
31785 echo "$as_me: failed program was:" >&5
31786 sed 's/^/| /' conftest.$ac_ext >&5
31787
31788 LIBS=$ac_save_LIBS
31789 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31790 do
31791 # Don't even attempt the hair of trying to link an X program!
31792 for ac_extension in a so sl; do
31793 if test -r "$ac_dir/libX11.$ac_extension"; then
31794 ac_x_libraries=$ac_dir
31795 break 2
31796 fi
31797 done
31798 done
31799 fi
31800
31801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31802 conftest$ac_exeext conftest.$ac_ext
31803 fi # $ac_x_libraries = no
31804
31805 case $ac_x_includes,$ac_x_libraries in #(
31806 no,* | *,no | *\'*)
31807 # Didn't find X, or a directory has "'" in its name.
31808 ac_cv_have_x="have_x=no";; #(
31809 *)
31810 # Record where we found X for the cache.
31811 ac_cv_have_x="have_x=yes\
31812 ac_x_includes='$ac_x_includes'\
31813 ac_x_libraries='$ac_x_libraries'"
31814 esac
31815 fi
31816 ;; #(
31817 *) have_x=yes;;
31818 esac
31819 eval "$ac_cv_have_x"
31820 fi # $with_x != no
31821
31822 if test "$have_x" != yes; then
31823 { echo "$as_me:$LINENO: result: $have_x" >&5
31824 echo "${ECHO_T}$have_x" >&6; }
31825 no_x=yes
31826 else
31827 # If each of the values was on the command line, it overrides each guess.
31828 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31829 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31830 # Update the cache value to reflect the command line values.
31831 ac_cv_have_x="have_x=yes\
31832 ac_x_includes='$x_includes'\
31833 ac_x_libraries='$x_libraries'"
31834 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31835 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31836 fi
31837
31838 if test "$no_x" = yes; then
31839 # Not all programs may use this symbol, but it does not hurt to define it.
31840
31841 cat >>confdefs.h <<\_ACEOF
31842 #define X_DISPLAY_MISSING 1
31843 _ACEOF
31844
31845 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31846 else
31847 if test -n "$x_includes"; then
31848 X_CFLAGS="$X_CFLAGS -I$x_includes"
31849 fi
31850
31851 # It would also be nice to do this for all -L options, not just this one.
31852 if test -n "$x_libraries"; then
31853 X_LIBS="$X_LIBS -L$x_libraries"
31854 # For Solaris; some versions of Sun CC require a space after -R and
31855 # others require no space. Words are not sufficient . . . .
31856 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31857 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31858 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31859 ac_xsave_c_werror_flag=$ac_c_werror_flag
31860 ac_c_werror_flag=yes
31861 cat >conftest.$ac_ext <<_ACEOF
31862 /* confdefs.h. */
31863 _ACEOF
31864 cat confdefs.h >>conftest.$ac_ext
31865 cat >>conftest.$ac_ext <<_ACEOF
31866 /* end confdefs.h. */
31867
31868 int
31869 main ()
31870 {
31871
31872 ;
31873 return 0;
31874 }
31875 _ACEOF
31876 rm -f conftest.$ac_objext conftest$ac_exeext
31877 if { (ac_try="$ac_link"
31878 case "(($ac_try" in
31879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31880 *) ac_try_echo=$ac_try;;
31881 esac
31882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31883 (eval "$ac_link") 2>conftest.er1
31884 ac_status=$?
31885 grep -v '^ *+' conftest.er1 >conftest.err
31886 rm -f conftest.er1
31887 cat conftest.err >&5
31888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31889 (exit $ac_status); } && {
31890 test -z "$ac_c_werror_flag" ||
31891 test ! -s conftest.err
31892 } && test -s conftest$ac_exeext &&
31893 $as_test_x conftest$ac_exeext; then
31894 { echo "$as_me:$LINENO: result: no" >&5
31895 echo "${ECHO_T}no" >&6; }
31896 X_LIBS="$X_LIBS -R$x_libraries"
31897 else
31898 echo "$as_me: failed program was:" >&5
31899 sed 's/^/| /' conftest.$ac_ext >&5
31900
31901 LIBS="$ac_xsave_LIBS -R $x_libraries"
31902 cat >conftest.$ac_ext <<_ACEOF
31903 /* confdefs.h. */
31904 _ACEOF
31905 cat confdefs.h >>conftest.$ac_ext
31906 cat >>conftest.$ac_ext <<_ACEOF
31907 /* end confdefs.h. */
31908
31909 int
31910 main ()
31911 {
31912
31913 ;
31914 return 0;
31915 }
31916 _ACEOF
31917 rm -f conftest.$ac_objext conftest$ac_exeext
31918 if { (ac_try="$ac_link"
31919 case "(($ac_try" in
31920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31921 *) ac_try_echo=$ac_try;;
31922 esac
31923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31924 (eval "$ac_link") 2>conftest.er1
31925 ac_status=$?
31926 grep -v '^ *+' conftest.er1 >conftest.err
31927 rm -f conftest.er1
31928 cat conftest.err >&5
31929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31930 (exit $ac_status); } && {
31931 test -z "$ac_c_werror_flag" ||
31932 test ! -s conftest.err
31933 } && test -s conftest$ac_exeext &&
31934 $as_test_x conftest$ac_exeext; then
31935 { echo "$as_me:$LINENO: result: yes" >&5
31936 echo "${ECHO_T}yes" >&6; }
31937 X_LIBS="$X_LIBS -R $x_libraries"
31938 else
31939 echo "$as_me: failed program was:" >&5
31940 sed 's/^/| /' conftest.$ac_ext >&5
31941
31942 { echo "$as_me:$LINENO: result: neither works" >&5
31943 echo "${ECHO_T}neither works" >&6; }
31944 fi
31945
31946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31947 conftest$ac_exeext conftest.$ac_ext
31948 fi
31949
31950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31951 conftest$ac_exeext conftest.$ac_ext
31952 ac_c_werror_flag=$ac_xsave_c_werror_flag
31953 LIBS=$ac_xsave_LIBS
31954 fi
31955
31956 # Check for system-dependent libraries X programs must link with.
31957 # Do this before checking for the system-independent R6 libraries
31958 # (-lICE), since we may need -lsocket or whatever for X linking.
31959
31960 if test "$ISC" = yes; then
31961 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31962 else
31963 # Martyn Johnson says this is needed for Ultrix, if the X
31964 # libraries were built with DECnet support. And Karl Berry says
31965 # the Alpha needs dnet_stub (dnet does not exist).
31966 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31967 cat >conftest.$ac_ext <<_ACEOF
31968 /* confdefs.h. */
31969 _ACEOF
31970 cat confdefs.h >>conftest.$ac_ext
31971 cat >>conftest.$ac_ext <<_ACEOF
31972 /* end confdefs.h. */
31973
31974 /* Override any GCC internal prototype to avoid an error.
31975 Use char because int might match the return type of a GCC
31976 builtin and then its argument prototype would still apply. */
31977 #ifdef __cplusplus
31978 extern "C"
31979 #endif
31980 char XOpenDisplay ();
31981 int
31982 main ()
31983 {
31984 return XOpenDisplay ();
31985 ;
31986 return 0;
31987 }
31988 _ACEOF
31989 rm -f conftest.$ac_objext conftest$ac_exeext
31990 if { (ac_try="$ac_link"
31991 case "(($ac_try" in
31992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31993 *) ac_try_echo=$ac_try;;
31994 esac
31995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31996 (eval "$ac_link") 2>conftest.er1
31997 ac_status=$?
31998 grep -v '^ *+' conftest.er1 >conftest.err
31999 rm -f conftest.er1
32000 cat conftest.err >&5
32001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32002 (exit $ac_status); } && {
32003 test -z "$ac_c_werror_flag" ||
32004 test ! -s conftest.err
32005 } && test -s conftest$ac_exeext &&
32006 $as_test_x conftest$ac_exeext; then
32007 :
32008 else
32009 echo "$as_me: failed program was:" >&5
32010 sed 's/^/| /' conftest.$ac_ext >&5
32011
32012 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32013 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32014 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32015 echo $ECHO_N "(cached) $ECHO_C" >&6
32016 else
32017 ac_check_lib_save_LIBS=$LIBS
32018 LIBS="-ldnet $LIBS"
32019 cat >conftest.$ac_ext <<_ACEOF
32020 /* confdefs.h. */
32021 _ACEOF
32022 cat confdefs.h >>conftest.$ac_ext
32023 cat >>conftest.$ac_ext <<_ACEOF
32024 /* end confdefs.h. */
32025
32026 /* Override any GCC internal prototype to avoid an error.
32027 Use char because int might match the return type of a GCC
32028 builtin and then its argument prototype would still apply. */
32029 #ifdef __cplusplus
32030 extern "C"
32031 #endif
32032 char dnet_ntoa ();
32033 int
32034 main ()
32035 {
32036 return dnet_ntoa ();
32037 ;
32038 return 0;
32039 }
32040 _ACEOF
32041 rm -f conftest.$ac_objext conftest$ac_exeext
32042 if { (ac_try="$ac_link"
32043 case "(($ac_try" in
32044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32045 *) ac_try_echo=$ac_try;;
32046 esac
32047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32048 (eval "$ac_link") 2>conftest.er1
32049 ac_status=$?
32050 grep -v '^ *+' conftest.er1 >conftest.err
32051 rm -f conftest.er1
32052 cat conftest.err >&5
32053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32054 (exit $ac_status); } && {
32055 test -z "$ac_c_werror_flag" ||
32056 test ! -s conftest.err
32057 } && test -s conftest$ac_exeext &&
32058 $as_test_x conftest$ac_exeext; then
32059 ac_cv_lib_dnet_dnet_ntoa=yes
32060 else
32061 echo "$as_me: failed program was:" >&5
32062 sed 's/^/| /' conftest.$ac_ext >&5
32063
32064 ac_cv_lib_dnet_dnet_ntoa=no
32065 fi
32066
32067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32068 conftest$ac_exeext conftest.$ac_ext
32069 LIBS=$ac_check_lib_save_LIBS
32070 fi
32071 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32072 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32073 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32074 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32075 fi
32076
32077 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32078 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32079 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32080 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32081 echo $ECHO_N "(cached) $ECHO_C" >&6
32082 else
32083 ac_check_lib_save_LIBS=$LIBS
32084 LIBS="-ldnet_stub $LIBS"
32085 cat >conftest.$ac_ext <<_ACEOF
32086 /* confdefs.h. */
32087 _ACEOF
32088 cat confdefs.h >>conftest.$ac_ext
32089 cat >>conftest.$ac_ext <<_ACEOF
32090 /* end confdefs.h. */
32091
32092 /* Override any GCC internal prototype to avoid an error.
32093 Use char because int might match the return type of a GCC
32094 builtin and then its argument prototype would still apply. */
32095 #ifdef __cplusplus
32096 extern "C"
32097 #endif
32098 char dnet_ntoa ();
32099 int
32100 main ()
32101 {
32102 return dnet_ntoa ();
32103 ;
32104 return 0;
32105 }
32106 _ACEOF
32107 rm -f conftest.$ac_objext conftest$ac_exeext
32108 if { (ac_try="$ac_link"
32109 case "(($ac_try" in
32110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32111 *) ac_try_echo=$ac_try;;
32112 esac
32113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32114 (eval "$ac_link") 2>conftest.er1
32115 ac_status=$?
32116 grep -v '^ *+' conftest.er1 >conftest.err
32117 rm -f conftest.er1
32118 cat conftest.err >&5
32119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32120 (exit $ac_status); } && {
32121 test -z "$ac_c_werror_flag" ||
32122 test ! -s conftest.err
32123 } && test -s conftest$ac_exeext &&
32124 $as_test_x conftest$ac_exeext; then
32125 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32126 else
32127 echo "$as_me: failed program was:" >&5
32128 sed 's/^/| /' conftest.$ac_ext >&5
32129
32130 ac_cv_lib_dnet_stub_dnet_ntoa=no
32131 fi
32132
32133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32134 conftest$ac_exeext conftest.$ac_ext
32135 LIBS=$ac_check_lib_save_LIBS
32136 fi
32137 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32138 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32139 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32140 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32141 fi
32142
32143 fi
32144 fi
32145
32146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32147 conftest$ac_exeext conftest.$ac_ext
32148 LIBS="$ac_xsave_LIBS"
32149
32150 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32151 # to get the SysV transport functions.
32152 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32153 # needs -lnsl.
32154 # The nsl library prevents programs from opening the X display
32155 # on Irix 5.2, according to T.E. Dickey.
32156 # The functions gethostbyname, getservbyname, and inet_addr are
32157 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32158 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32159 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32160 if test "${ac_cv_func_gethostbyname+set}" = set; then
32161 echo $ECHO_N "(cached) $ECHO_C" >&6
32162 else
32163 cat >conftest.$ac_ext <<_ACEOF
32164 /* confdefs.h. */
32165 _ACEOF
32166 cat confdefs.h >>conftest.$ac_ext
32167 cat >>conftest.$ac_ext <<_ACEOF
32168 /* end confdefs.h. */
32169 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32171 #define gethostbyname innocuous_gethostbyname
32172
32173 /* System header to define __stub macros and hopefully few prototypes,
32174 which can conflict with char gethostbyname (); below.
32175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32176 <limits.h> exists even on freestanding compilers. */
32177
32178 #ifdef __STDC__
32179 # include <limits.h>
32180 #else
32181 # include <assert.h>
32182 #endif
32183
32184 #undef gethostbyname
32185
32186 /* Override any GCC internal prototype to avoid an error.
32187 Use char because int might match the return type of a GCC
32188 builtin and then its argument prototype would still apply. */
32189 #ifdef __cplusplus
32190 extern "C"
32191 #endif
32192 char gethostbyname ();
32193 /* The GNU C library defines this for functions which it implements
32194 to always fail with ENOSYS. Some functions are actually named
32195 something starting with __ and the normal name is an alias. */
32196 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32197 choke me
32198 #endif
32199
32200 int
32201 main ()
32202 {
32203 return gethostbyname ();
32204 ;
32205 return 0;
32206 }
32207 _ACEOF
32208 rm -f conftest.$ac_objext conftest$ac_exeext
32209 if { (ac_try="$ac_link"
32210 case "(($ac_try" in
32211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32212 *) ac_try_echo=$ac_try;;
32213 esac
32214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32215 (eval "$ac_link") 2>conftest.er1
32216 ac_status=$?
32217 grep -v '^ *+' conftest.er1 >conftest.err
32218 rm -f conftest.er1
32219 cat conftest.err >&5
32220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32221 (exit $ac_status); } && {
32222 test -z "$ac_c_werror_flag" ||
32223 test ! -s conftest.err
32224 } && test -s conftest$ac_exeext &&
32225 $as_test_x conftest$ac_exeext; then
32226 ac_cv_func_gethostbyname=yes
32227 else
32228 echo "$as_me: failed program was:" >&5
32229 sed 's/^/| /' conftest.$ac_ext >&5
32230
32231 ac_cv_func_gethostbyname=no
32232 fi
32233
32234 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32235 conftest$ac_exeext conftest.$ac_ext
32236 fi
32237 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32238 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32239
32240 if test $ac_cv_func_gethostbyname = no; then
32241 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32242 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32243 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32244 echo $ECHO_N "(cached) $ECHO_C" >&6
32245 else
32246 ac_check_lib_save_LIBS=$LIBS
32247 LIBS="-lnsl $LIBS"
32248 cat >conftest.$ac_ext <<_ACEOF
32249 /* confdefs.h. */
32250 _ACEOF
32251 cat confdefs.h >>conftest.$ac_ext
32252 cat >>conftest.$ac_ext <<_ACEOF
32253 /* end confdefs.h. */
32254
32255 /* Override any GCC internal prototype to avoid an error.
32256 Use char because int might match the return type of a GCC
32257 builtin and then its argument prototype would still apply. */
32258 #ifdef __cplusplus
32259 extern "C"
32260 #endif
32261 char gethostbyname ();
32262 int
32263 main ()
32264 {
32265 return gethostbyname ();
32266 ;
32267 return 0;
32268 }
32269 _ACEOF
32270 rm -f conftest.$ac_objext conftest$ac_exeext
32271 if { (ac_try="$ac_link"
32272 case "(($ac_try" in
32273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32274 *) ac_try_echo=$ac_try;;
32275 esac
32276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32277 (eval "$ac_link") 2>conftest.er1
32278 ac_status=$?
32279 grep -v '^ *+' conftest.er1 >conftest.err
32280 rm -f conftest.er1
32281 cat conftest.err >&5
32282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32283 (exit $ac_status); } && {
32284 test -z "$ac_c_werror_flag" ||
32285 test ! -s conftest.err
32286 } && test -s conftest$ac_exeext &&
32287 $as_test_x conftest$ac_exeext; then
32288 ac_cv_lib_nsl_gethostbyname=yes
32289 else
32290 echo "$as_me: failed program was:" >&5
32291 sed 's/^/| /' conftest.$ac_ext >&5
32292
32293 ac_cv_lib_nsl_gethostbyname=no
32294 fi
32295
32296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32297 conftest$ac_exeext conftest.$ac_ext
32298 LIBS=$ac_check_lib_save_LIBS
32299 fi
32300 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32301 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32302 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32303 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32304 fi
32305
32306 if test $ac_cv_lib_nsl_gethostbyname = no; then
32307 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32308 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32309 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32310 echo $ECHO_N "(cached) $ECHO_C" >&6
32311 else
32312 ac_check_lib_save_LIBS=$LIBS
32313 LIBS="-lbsd $LIBS"
32314 cat >conftest.$ac_ext <<_ACEOF
32315 /* confdefs.h. */
32316 _ACEOF
32317 cat confdefs.h >>conftest.$ac_ext
32318 cat >>conftest.$ac_ext <<_ACEOF
32319 /* end confdefs.h. */
32320
32321 /* Override any GCC internal prototype to avoid an error.
32322 Use char because int might match the return type of a GCC
32323 builtin and then its argument prototype would still apply. */
32324 #ifdef __cplusplus
32325 extern "C"
32326 #endif
32327 char gethostbyname ();
32328 int
32329 main ()
32330 {
32331 return gethostbyname ();
32332 ;
32333 return 0;
32334 }
32335 _ACEOF
32336 rm -f conftest.$ac_objext conftest$ac_exeext
32337 if { (ac_try="$ac_link"
32338 case "(($ac_try" in
32339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32340 *) ac_try_echo=$ac_try;;
32341 esac
32342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32343 (eval "$ac_link") 2>conftest.er1
32344 ac_status=$?
32345 grep -v '^ *+' conftest.er1 >conftest.err
32346 rm -f conftest.er1
32347 cat conftest.err >&5
32348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32349 (exit $ac_status); } && {
32350 test -z "$ac_c_werror_flag" ||
32351 test ! -s conftest.err
32352 } && test -s conftest$ac_exeext &&
32353 $as_test_x conftest$ac_exeext; then
32354 ac_cv_lib_bsd_gethostbyname=yes
32355 else
32356 echo "$as_me: failed program was:" >&5
32357 sed 's/^/| /' conftest.$ac_ext >&5
32358
32359 ac_cv_lib_bsd_gethostbyname=no
32360 fi
32361
32362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32363 conftest$ac_exeext conftest.$ac_ext
32364 LIBS=$ac_check_lib_save_LIBS
32365 fi
32366 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32367 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32368 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32369 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32370 fi
32371
32372 fi
32373 fi
32374
32375 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32376 # socket/setsockopt and other routines are undefined under SCO ODT
32377 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32378 # on later versions), says Simon Leinen: it contains gethostby*
32379 # variants that don't use the name server (or something). -lsocket
32380 # must be given before -lnsl if both are needed. We assume that
32381 # if connect needs -lnsl, so does gethostbyname.
32382 { echo "$as_me:$LINENO: checking for connect" >&5
32383 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32384 if test "${ac_cv_func_connect+set}" = set; then
32385 echo $ECHO_N "(cached) $ECHO_C" >&6
32386 else
32387 cat >conftest.$ac_ext <<_ACEOF
32388 /* confdefs.h. */
32389 _ACEOF
32390 cat confdefs.h >>conftest.$ac_ext
32391 cat >>conftest.$ac_ext <<_ACEOF
32392 /* end confdefs.h. */
32393 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32395 #define connect innocuous_connect
32396
32397 /* System header to define __stub macros and hopefully few prototypes,
32398 which can conflict with char connect (); below.
32399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32400 <limits.h> exists even on freestanding compilers. */
32401
32402 #ifdef __STDC__
32403 # include <limits.h>
32404 #else
32405 # include <assert.h>
32406 #endif
32407
32408 #undef connect
32409
32410 /* Override any GCC internal prototype to avoid an error.
32411 Use char because int might match the return type of a GCC
32412 builtin and then its argument prototype would still apply. */
32413 #ifdef __cplusplus
32414 extern "C"
32415 #endif
32416 char connect ();
32417 /* The GNU C library defines this for functions which it implements
32418 to always fail with ENOSYS. Some functions are actually named
32419 something starting with __ and the normal name is an alias. */
32420 #if defined __stub_connect || defined __stub___connect
32421 choke me
32422 #endif
32423
32424 int
32425 main ()
32426 {
32427 return connect ();
32428 ;
32429 return 0;
32430 }
32431 _ACEOF
32432 rm -f conftest.$ac_objext conftest$ac_exeext
32433 if { (ac_try="$ac_link"
32434 case "(($ac_try" in
32435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32436 *) ac_try_echo=$ac_try;;
32437 esac
32438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32439 (eval "$ac_link") 2>conftest.er1
32440 ac_status=$?
32441 grep -v '^ *+' conftest.er1 >conftest.err
32442 rm -f conftest.er1
32443 cat conftest.err >&5
32444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32445 (exit $ac_status); } && {
32446 test -z "$ac_c_werror_flag" ||
32447 test ! -s conftest.err
32448 } && test -s conftest$ac_exeext &&
32449 $as_test_x conftest$ac_exeext; then
32450 ac_cv_func_connect=yes
32451 else
32452 echo "$as_me: failed program was:" >&5
32453 sed 's/^/| /' conftest.$ac_ext >&5
32454
32455 ac_cv_func_connect=no
32456 fi
32457
32458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32459 conftest$ac_exeext conftest.$ac_ext
32460 fi
32461 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32462 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32463
32464 if test $ac_cv_func_connect = no; then
32465 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32466 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32467 if test "${ac_cv_lib_socket_connect+set}" = set; then
32468 echo $ECHO_N "(cached) $ECHO_C" >&6
32469 else
32470 ac_check_lib_save_LIBS=$LIBS
32471 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32472 cat >conftest.$ac_ext <<_ACEOF
32473 /* confdefs.h. */
32474 _ACEOF
32475 cat confdefs.h >>conftest.$ac_ext
32476 cat >>conftest.$ac_ext <<_ACEOF
32477 /* end confdefs.h. */
32478
32479 /* Override any GCC internal prototype to avoid an error.
32480 Use char because int might match the return type of a GCC
32481 builtin and then its argument prototype would still apply. */
32482 #ifdef __cplusplus
32483 extern "C"
32484 #endif
32485 char connect ();
32486 int
32487 main ()
32488 {
32489 return connect ();
32490 ;
32491 return 0;
32492 }
32493 _ACEOF
32494 rm -f conftest.$ac_objext conftest$ac_exeext
32495 if { (ac_try="$ac_link"
32496 case "(($ac_try" in
32497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32498 *) ac_try_echo=$ac_try;;
32499 esac
32500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32501 (eval "$ac_link") 2>conftest.er1
32502 ac_status=$?
32503 grep -v '^ *+' conftest.er1 >conftest.err
32504 rm -f conftest.er1
32505 cat conftest.err >&5
32506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32507 (exit $ac_status); } && {
32508 test -z "$ac_c_werror_flag" ||
32509 test ! -s conftest.err
32510 } && test -s conftest$ac_exeext &&
32511 $as_test_x conftest$ac_exeext; then
32512 ac_cv_lib_socket_connect=yes
32513 else
32514 echo "$as_me: failed program was:" >&5
32515 sed 's/^/| /' conftest.$ac_ext >&5
32516
32517 ac_cv_lib_socket_connect=no
32518 fi
32519
32520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32521 conftest$ac_exeext conftest.$ac_ext
32522 LIBS=$ac_check_lib_save_LIBS
32523 fi
32524 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32525 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32526 if test $ac_cv_lib_socket_connect = yes; then
32527 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32528 fi
32529
32530 fi
32531
32532 # Guillermo Gomez says -lposix is necessary on A/UX.
32533 { echo "$as_me:$LINENO: checking for remove" >&5
32534 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32535 if test "${ac_cv_func_remove+set}" = set; then
32536 echo $ECHO_N "(cached) $ECHO_C" >&6
32537 else
32538 cat >conftest.$ac_ext <<_ACEOF
32539 /* confdefs.h. */
32540 _ACEOF
32541 cat confdefs.h >>conftest.$ac_ext
32542 cat >>conftest.$ac_ext <<_ACEOF
32543 /* end confdefs.h. */
32544 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32546 #define remove innocuous_remove
32547
32548 /* System header to define __stub macros and hopefully few prototypes,
32549 which can conflict with char remove (); below.
32550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32551 <limits.h> exists even on freestanding compilers. */
32552
32553 #ifdef __STDC__
32554 # include <limits.h>
32555 #else
32556 # include <assert.h>
32557 #endif
32558
32559 #undef remove
32560
32561 /* Override any GCC internal prototype to avoid an error.
32562 Use char because int might match the return type of a GCC
32563 builtin and then its argument prototype would still apply. */
32564 #ifdef __cplusplus
32565 extern "C"
32566 #endif
32567 char remove ();
32568 /* The GNU C library defines this for functions which it implements
32569 to always fail with ENOSYS. Some functions are actually named
32570 something starting with __ and the normal name is an alias. */
32571 #if defined __stub_remove || defined __stub___remove
32572 choke me
32573 #endif
32574
32575 int
32576 main ()
32577 {
32578 return remove ();
32579 ;
32580 return 0;
32581 }
32582 _ACEOF
32583 rm -f conftest.$ac_objext conftest$ac_exeext
32584 if { (ac_try="$ac_link"
32585 case "(($ac_try" in
32586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32587 *) ac_try_echo=$ac_try;;
32588 esac
32589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32590 (eval "$ac_link") 2>conftest.er1
32591 ac_status=$?
32592 grep -v '^ *+' conftest.er1 >conftest.err
32593 rm -f conftest.er1
32594 cat conftest.err >&5
32595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32596 (exit $ac_status); } && {
32597 test -z "$ac_c_werror_flag" ||
32598 test ! -s conftest.err
32599 } && test -s conftest$ac_exeext &&
32600 $as_test_x conftest$ac_exeext; then
32601 ac_cv_func_remove=yes
32602 else
32603 echo "$as_me: failed program was:" >&5
32604 sed 's/^/| /' conftest.$ac_ext >&5
32605
32606 ac_cv_func_remove=no
32607 fi
32608
32609 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32610 conftest$ac_exeext conftest.$ac_ext
32611 fi
32612 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32613 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32614
32615 if test $ac_cv_func_remove = no; then
32616 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32617 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32618 if test "${ac_cv_lib_posix_remove+set}" = set; then
32619 echo $ECHO_N "(cached) $ECHO_C" >&6
32620 else
32621 ac_check_lib_save_LIBS=$LIBS
32622 LIBS="-lposix $LIBS"
32623 cat >conftest.$ac_ext <<_ACEOF
32624 /* confdefs.h. */
32625 _ACEOF
32626 cat confdefs.h >>conftest.$ac_ext
32627 cat >>conftest.$ac_ext <<_ACEOF
32628 /* end confdefs.h. */
32629
32630 /* Override any GCC internal prototype to avoid an error.
32631 Use char because int might match the return type of a GCC
32632 builtin and then its argument prototype would still apply. */
32633 #ifdef __cplusplus
32634 extern "C"
32635 #endif
32636 char remove ();
32637 int
32638 main ()
32639 {
32640 return remove ();
32641 ;
32642 return 0;
32643 }
32644 _ACEOF
32645 rm -f conftest.$ac_objext conftest$ac_exeext
32646 if { (ac_try="$ac_link"
32647 case "(($ac_try" in
32648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32649 *) ac_try_echo=$ac_try;;
32650 esac
32651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32652 (eval "$ac_link") 2>conftest.er1
32653 ac_status=$?
32654 grep -v '^ *+' conftest.er1 >conftest.err
32655 rm -f conftest.er1
32656 cat conftest.err >&5
32657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32658 (exit $ac_status); } && {
32659 test -z "$ac_c_werror_flag" ||
32660 test ! -s conftest.err
32661 } && test -s conftest$ac_exeext &&
32662 $as_test_x conftest$ac_exeext; then
32663 ac_cv_lib_posix_remove=yes
32664 else
32665 echo "$as_me: failed program was:" >&5
32666 sed 's/^/| /' conftest.$ac_ext >&5
32667
32668 ac_cv_lib_posix_remove=no
32669 fi
32670
32671 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32672 conftest$ac_exeext conftest.$ac_ext
32673 LIBS=$ac_check_lib_save_LIBS
32674 fi
32675 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32676 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32677 if test $ac_cv_lib_posix_remove = yes; then
32678 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32679 fi
32680
32681 fi
32682
32683 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32684 { echo "$as_me:$LINENO: checking for shmat" >&5
32685 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32686 if test "${ac_cv_func_shmat+set}" = set; then
32687 echo $ECHO_N "(cached) $ECHO_C" >&6
32688 else
32689 cat >conftest.$ac_ext <<_ACEOF
32690 /* confdefs.h. */
32691 _ACEOF
32692 cat confdefs.h >>conftest.$ac_ext
32693 cat >>conftest.$ac_ext <<_ACEOF
32694 /* end confdefs.h. */
32695 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32697 #define shmat innocuous_shmat
32698
32699 /* System header to define __stub macros and hopefully few prototypes,
32700 which can conflict with char shmat (); below.
32701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32702 <limits.h> exists even on freestanding compilers. */
32703
32704 #ifdef __STDC__
32705 # include <limits.h>
32706 #else
32707 # include <assert.h>
32708 #endif
32709
32710 #undef shmat
32711
32712 /* Override any GCC internal prototype to avoid an error.
32713 Use char because int might match the return type of a GCC
32714 builtin and then its argument prototype would still apply. */
32715 #ifdef __cplusplus
32716 extern "C"
32717 #endif
32718 char shmat ();
32719 /* The GNU C library defines this for functions which it implements
32720 to always fail with ENOSYS. Some functions are actually named
32721 something starting with __ and the normal name is an alias. */
32722 #if defined __stub_shmat || defined __stub___shmat
32723 choke me
32724 #endif
32725
32726 int
32727 main ()
32728 {
32729 return shmat ();
32730 ;
32731 return 0;
32732 }
32733 _ACEOF
32734 rm -f conftest.$ac_objext conftest$ac_exeext
32735 if { (ac_try="$ac_link"
32736 case "(($ac_try" in
32737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32738 *) ac_try_echo=$ac_try;;
32739 esac
32740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32741 (eval "$ac_link") 2>conftest.er1
32742 ac_status=$?
32743 grep -v '^ *+' conftest.er1 >conftest.err
32744 rm -f conftest.er1
32745 cat conftest.err >&5
32746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32747 (exit $ac_status); } && {
32748 test -z "$ac_c_werror_flag" ||
32749 test ! -s conftest.err
32750 } && test -s conftest$ac_exeext &&
32751 $as_test_x conftest$ac_exeext; then
32752 ac_cv_func_shmat=yes
32753 else
32754 echo "$as_me: failed program was:" >&5
32755 sed 's/^/| /' conftest.$ac_ext >&5
32756
32757 ac_cv_func_shmat=no
32758 fi
32759
32760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32761 conftest$ac_exeext conftest.$ac_ext
32762 fi
32763 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32764 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32765
32766 if test $ac_cv_func_shmat = no; then
32767 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32768 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32769 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32770 echo $ECHO_N "(cached) $ECHO_C" >&6
32771 else
32772 ac_check_lib_save_LIBS=$LIBS
32773 LIBS="-lipc $LIBS"
32774 cat >conftest.$ac_ext <<_ACEOF
32775 /* confdefs.h. */
32776 _ACEOF
32777 cat confdefs.h >>conftest.$ac_ext
32778 cat >>conftest.$ac_ext <<_ACEOF
32779 /* end confdefs.h. */
32780
32781 /* Override any GCC internal prototype to avoid an error.
32782 Use char because int might match the return type of a GCC
32783 builtin and then its argument prototype would still apply. */
32784 #ifdef __cplusplus
32785 extern "C"
32786 #endif
32787 char shmat ();
32788 int
32789 main ()
32790 {
32791 return shmat ();
32792 ;
32793 return 0;
32794 }
32795 _ACEOF
32796 rm -f conftest.$ac_objext conftest$ac_exeext
32797 if { (ac_try="$ac_link"
32798 case "(($ac_try" in
32799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32800 *) ac_try_echo=$ac_try;;
32801 esac
32802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32803 (eval "$ac_link") 2>conftest.er1
32804 ac_status=$?
32805 grep -v '^ *+' conftest.er1 >conftest.err
32806 rm -f conftest.er1
32807 cat conftest.err >&5
32808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32809 (exit $ac_status); } && {
32810 test -z "$ac_c_werror_flag" ||
32811 test ! -s conftest.err
32812 } && test -s conftest$ac_exeext &&
32813 $as_test_x conftest$ac_exeext; then
32814 ac_cv_lib_ipc_shmat=yes
32815 else
32816 echo "$as_me: failed program was:" >&5
32817 sed 's/^/| /' conftest.$ac_ext >&5
32818
32819 ac_cv_lib_ipc_shmat=no
32820 fi
32821
32822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32823 conftest$ac_exeext conftest.$ac_ext
32824 LIBS=$ac_check_lib_save_LIBS
32825 fi
32826 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32827 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32828 if test $ac_cv_lib_ipc_shmat = yes; then
32829 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32830 fi
32831
32832 fi
32833 fi
32834
32835 # Check for libraries that X11R6 Xt/Xaw programs need.
32836 ac_save_LDFLAGS=$LDFLAGS
32837 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32838 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32839 # check for ICE first), but we must link in the order -lSM -lICE or
32840 # we get undefined symbols. So assume we have SM if we have ICE.
32841 # These have to be linked with before -lX11, unlike the other
32842 # libraries we check for below, so use a different variable.
32843 # John Interrante, Karl Berry
32844 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32845 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32846 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32847 echo $ECHO_N "(cached) $ECHO_C" >&6
32848 else
32849 ac_check_lib_save_LIBS=$LIBS
32850 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32851 cat >conftest.$ac_ext <<_ACEOF
32852 /* confdefs.h. */
32853 _ACEOF
32854 cat confdefs.h >>conftest.$ac_ext
32855 cat >>conftest.$ac_ext <<_ACEOF
32856 /* end confdefs.h. */
32857
32858 /* Override any GCC internal prototype to avoid an error.
32859 Use char because int might match the return type of a GCC
32860 builtin and then its argument prototype would still apply. */
32861 #ifdef __cplusplus
32862 extern "C"
32863 #endif
32864 char IceConnectionNumber ();
32865 int
32866 main ()
32867 {
32868 return IceConnectionNumber ();
32869 ;
32870 return 0;
32871 }
32872 _ACEOF
32873 rm -f conftest.$ac_objext conftest$ac_exeext
32874 if { (ac_try="$ac_link"
32875 case "(($ac_try" in
32876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32877 *) ac_try_echo=$ac_try;;
32878 esac
32879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32880 (eval "$ac_link") 2>conftest.er1
32881 ac_status=$?
32882 grep -v '^ *+' conftest.er1 >conftest.err
32883 rm -f conftest.er1
32884 cat conftest.err >&5
32885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32886 (exit $ac_status); } && {
32887 test -z "$ac_c_werror_flag" ||
32888 test ! -s conftest.err
32889 } && test -s conftest$ac_exeext &&
32890 $as_test_x conftest$ac_exeext; then
32891 ac_cv_lib_ICE_IceConnectionNumber=yes
32892 else
32893 echo "$as_me: failed program was:" >&5
32894 sed 's/^/| /' conftest.$ac_ext >&5
32895
32896 ac_cv_lib_ICE_IceConnectionNumber=no
32897 fi
32898
32899 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32900 conftest$ac_exeext conftest.$ac_ext
32901 LIBS=$ac_check_lib_save_LIBS
32902 fi
32903 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32904 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32905 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32906 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
32907 fi
32908
32909 LDFLAGS=$ac_save_LDFLAGS
32910
32911 fi
32912
32913
32914 if test "$no_x" = "yes"; then
32915 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32916 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32917 { (exit 1); exit 1; }; }
32918 fi
32919
32920 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32921 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
32922 AFMINSTALL=afminstall
32923 COMPILED_X_PROGRAM=0
32924
32925 fi
32926
32927 if test "$wxUSE_X11" = 1; then
32928 if test "$wxUSE_NANOX" = "yes"; then
32929 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32930 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32931 if test "x$MICROWIN" = x ; then
32932 { echo "$as_me:$LINENO: result: not found" >&5
32933 echo "${ECHO_T}not found" >&6; }
32934 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32935 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32936 { (exit 1); exit 1; }; }
32937 else
32938 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32939 echo "${ECHO_T}$MICROWIN" >&6; }
32940 cat >>confdefs.h <<\_ACEOF
32941 #define wxUSE_NANOX 1
32942 _ACEOF
32943
32944 fi
32945 fi
32946
32947 if test "$wxUSE_UNICODE" = "yes"; then
32948
32949
32950 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32951 if test -n "$ac_tool_prefix"; then
32952 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32953 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32954 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32956 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32957 echo $ECHO_N "(cached) $ECHO_C" >&6
32958 else
32959 case $PKG_CONFIG in
32960 [\\/]* | ?:[\\/]*)
32961 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32962 ;;
32963 *)
32964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32965 for as_dir in $PATH
32966 do
32967 IFS=$as_save_IFS
32968 test -z "$as_dir" && as_dir=.
32969 for ac_exec_ext in '' $ac_executable_extensions; do
32970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32971 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32973 break 2
32974 fi
32975 done
32976 done
32977 IFS=$as_save_IFS
32978
32979 ;;
32980 esac
32981 fi
32982 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32983 if test -n "$PKG_CONFIG"; then
32984 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32985 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32986 else
32987 { echo "$as_me:$LINENO: result: no" >&5
32988 echo "${ECHO_T}no" >&6; }
32989 fi
32990
32991
32992 fi
32993 if test -z "$ac_cv_path_PKG_CONFIG"; then
32994 ac_pt_PKG_CONFIG=$PKG_CONFIG
32995 # Extract the first word of "pkg-config", so it can be a program name with args.
32996 set dummy pkg-config; ac_word=$2
32997 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32999 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33000 echo $ECHO_N "(cached) $ECHO_C" >&6
33001 else
33002 case $ac_pt_PKG_CONFIG in
33003 [\\/]* | ?:[\\/]*)
33004 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33005 ;;
33006 *)
33007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33008 for as_dir in $PATH
33009 do
33010 IFS=$as_save_IFS
33011 test -z "$as_dir" && as_dir=.
33012 for ac_exec_ext in '' $ac_executable_extensions; do
33013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33014 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33016 break 2
33017 fi
33018 done
33019 done
33020 IFS=$as_save_IFS
33021
33022 ;;
33023 esac
33024 fi
33025 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33026 if test -n "$ac_pt_PKG_CONFIG"; then
33027 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33028 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33029 else
33030 { echo "$as_me:$LINENO: result: no" >&5
33031 echo "${ECHO_T}no" >&6; }
33032 fi
33033
33034 if test "x$ac_pt_PKG_CONFIG" = x; then
33035 PKG_CONFIG=""
33036 else
33037 case $cross_compiling:$ac_tool_warned in
33038 yes:)
33039 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33040 whose name does not start with the host triplet. If you think this
33041 configuration is useful to you, please write to autoconf@gnu.org." >&5
33042 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33043 whose name does not start with the host triplet. If you think this
33044 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33045 ac_tool_warned=yes ;;
33046 esac
33047 PKG_CONFIG=$ac_pt_PKG_CONFIG
33048 fi
33049 else
33050 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33051 fi
33052
33053 fi
33054 if test -n "$PKG_CONFIG"; then
33055 _pkg_min_version=0.9.0
33056 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33057 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33058 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33059 { echo "$as_me:$LINENO: result: yes" >&5
33060 echo "${ECHO_T}yes" >&6; }
33061 else
33062 { echo "$as_me:$LINENO: result: no" >&5
33063 echo "${ECHO_T}no" >&6; }
33064 PKG_CONFIG=""
33065 fi
33066
33067 fi
33068
33069
33070 pkg_failed=no
33071 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33072 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33073
33074 if test -n "$PKG_CONFIG"; then
33075 if test -n "$PANGOX_CFLAGS"; then
33076 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33077 else
33078 if test -n "$PKG_CONFIG" && \
33079 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33080 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33081 ac_status=$?
33082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33083 (exit $ac_status); }; then
33084 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33085 else
33086 pkg_failed=yes
33087 fi
33088 fi
33089 else
33090 pkg_failed=untried
33091 fi
33092 if test -n "$PKG_CONFIG"; then
33093 if test -n "$PANGOX_LIBS"; then
33094 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33095 else
33096 if test -n "$PKG_CONFIG" && \
33097 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33098 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33099 ac_status=$?
33100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33101 (exit $ac_status); }; then
33102 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33103 else
33104 pkg_failed=yes
33105 fi
33106 fi
33107 else
33108 pkg_failed=untried
33109 fi
33110
33111
33112
33113 if test $pkg_failed = yes; then
33114
33115 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33116 _pkg_short_errors_supported=yes
33117 else
33118 _pkg_short_errors_supported=no
33119 fi
33120 if test $_pkg_short_errors_supported = yes; then
33121 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33122 else
33123 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33124 fi
33125 # Put the nasty error message in config.log where it belongs
33126 echo "$PANGOX_PKG_ERRORS" >&5
33127
33128
33129 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33130 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33131 { (exit 1); exit 1; }; }
33132
33133
33134 elif test $pkg_failed = untried; then
33135
33136 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33137 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33138 { (exit 1); exit 1; }; }
33139
33140
33141 else
33142 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33143 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33144 { echo "$as_me:$LINENO: result: yes" >&5
33145 echo "${ECHO_T}yes" >&6; }
33146
33147 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33148 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33149 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33150
33151 fi
33152
33153 pkg_failed=no
33154 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33155 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33156
33157 if test -n "$PKG_CONFIG"; then
33158 if test -n "$PANGOFT2_CFLAGS"; then
33159 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33160 else
33161 if test -n "$PKG_CONFIG" && \
33162 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33163 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33164 ac_status=$?
33165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33166 (exit $ac_status); }; then
33167 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33168 else
33169 pkg_failed=yes
33170 fi
33171 fi
33172 else
33173 pkg_failed=untried
33174 fi
33175 if test -n "$PKG_CONFIG"; then
33176 if test -n "$PANGOFT2_LIBS"; then
33177 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33178 else
33179 if test -n "$PKG_CONFIG" && \
33180 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33181 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33182 ac_status=$?
33183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33184 (exit $ac_status); }; then
33185 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33186 else
33187 pkg_failed=yes
33188 fi
33189 fi
33190 else
33191 pkg_failed=untried
33192 fi
33193
33194
33195
33196 if test $pkg_failed = yes; then
33197
33198 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33199 _pkg_short_errors_supported=yes
33200 else
33201 _pkg_short_errors_supported=no
33202 fi
33203 if test $_pkg_short_errors_supported = yes; then
33204 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33205 else
33206 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33207 fi
33208 # Put the nasty error message in config.log where it belongs
33209 echo "$PANGOFT2_PKG_ERRORS" >&5
33210
33211
33212 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33213 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33214 wxUSE_PRINTING_ARCHITECTURE="no"
33215
33216
33217 elif test $pkg_failed = untried; then
33218
33219 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33220 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33221 wxUSE_PRINTING_ARCHITECTURE="no"
33222
33223
33224 else
33225 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33226 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33227 { echo "$as_me:$LINENO: result: yes" >&5
33228 echo "${ECHO_T}yes" >&6; }
33229
33230 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33231 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33232 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33233
33234 fi
33235
33236 pkg_failed=no
33237 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33238 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33239
33240 if test -n "$PKG_CONFIG"; then
33241 if test -n "$PANGOXFT_CFLAGS"; then
33242 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33243 else
33244 if test -n "$PKG_CONFIG" && \
33245 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33246 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33247 ac_status=$?
33248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33249 (exit $ac_status); }; then
33250 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33251 else
33252 pkg_failed=yes
33253 fi
33254 fi
33255 else
33256 pkg_failed=untried
33257 fi
33258 if test -n "$PKG_CONFIG"; then
33259 if test -n "$PANGOXFT_LIBS"; then
33260 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33261 else
33262 if test -n "$PKG_CONFIG" && \
33263 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33264 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33265 ac_status=$?
33266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33267 (exit $ac_status); }; then
33268 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33269 else
33270 pkg_failed=yes
33271 fi
33272 fi
33273 else
33274 pkg_failed=untried
33275 fi
33276
33277
33278
33279 if test $pkg_failed = yes; then
33280
33281 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33282 _pkg_short_errors_supported=yes
33283 else
33284 _pkg_short_errors_supported=no
33285 fi
33286 if test $_pkg_short_errors_supported = yes; then
33287 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33288 else
33289 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33290 fi
33291 # Put the nasty error message in config.log where it belongs
33292 echo "$PANGOXFT_PKG_ERRORS" >&5
33293
33294
33295 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33296 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33297
33298
33299 elif test $pkg_failed = untried; then
33300
33301 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33302 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33303
33304
33305 else
33306 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33307 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33308 { echo "$as_me:$LINENO: result: yes" >&5
33309 echo "${ECHO_T}yes" >&6; }
33310
33311 cat >>confdefs.h <<\_ACEOF
33312 #define HAVE_PANGO_XFT 1
33313 _ACEOF
33314
33315 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33316 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33317 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33318
33319 fi
33320 save_LIBS="$LIBS"
33321 LIBS="$LIBS $PANGOX_LIBS"
33322
33323 for ac_func in pango_font_family_is_monospace
33324 do
33325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33326 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33328 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33329 echo $ECHO_N "(cached) $ECHO_C" >&6
33330 else
33331 cat >conftest.$ac_ext <<_ACEOF
33332 /* confdefs.h. */
33333 _ACEOF
33334 cat confdefs.h >>conftest.$ac_ext
33335 cat >>conftest.$ac_ext <<_ACEOF
33336 /* end confdefs.h. */
33337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33339 #define $ac_func innocuous_$ac_func
33340
33341 /* System header to define __stub macros and hopefully few prototypes,
33342 which can conflict with char $ac_func (); below.
33343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33344 <limits.h> exists even on freestanding compilers. */
33345
33346 #ifdef __STDC__
33347 # include <limits.h>
33348 #else
33349 # include <assert.h>
33350 #endif
33351
33352 #undef $ac_func
33353
33354 /* Override any GCC internal prototype to avoid an error.
33355 Use char because int might match the return type of a GCC
33356 builtin and then its argument prototype would still apply. */
33357 #ifdef __cplusplus
33358 extern "C"
33359 #endif
33360 char $ac_func ();
33361 /* The GNU C library defines this for functions which it implements
33362 to always fail with ENOSYS. Some functions are actually named
33363 something starting with __ and the normal name is an alias. */
33364 #if defined __stub_$ac_func || defined __stub___$ac_func
33365 choke me
33366 #endif
33367
33368 int
33369 main ()
33370 {
33371 return $ac_func ();
33372 ;
33373 return 0;
33374 }
33375 _ACEOF
33376 rm -f conftest.$ac_objext conftest$ac_exeext
33377 if { (ac_try="$ac_link"
33378 case "(($ac_try" in
33379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33380 *) ac_try_echo=$ac_try;;
33381 esac
33382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33383 (eval "$ac_link") 2>conftest.er1
33384 ac_status=$?
33385 grep -v '^ *+' conftest.er1 >conftest.err
33386 rm -f conftest.er1
33387 cat conftest.err >&5
33388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33389 (exit $ac_status); } && {
33390 test -z "$ac_c_werror_flag" ||
33391 test ! -s conftest.err
33392 } && test -s conftest$ac_exeext &&
33393 $as_test_x conftest$ac_exeext; then
33394 eval "$as_ac_var=yes"
33395 else
33396 echo "$as_me: failed program was:" >&5
33397 sed 's/^/| /' conftest.$ac_ext >&5
33398
33399 eval "$as_ac_var=no"
33400 fi
33401
33402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33403 conftest$ac_exeext conftest.$ac_ext
33404 fi
33405 ac_res=`eval echo '${'$as_ac_var'}'`
33406 { echo "$as_me:$LINENO: result: $ac_res" >&5
33407 echo "${ECHO_T}$ac_res" >&6; }
33408 if test `eval echo '${'$as_ac_var'}'` = yes; then
33409 cat >>confdefs.h <<_ACEOF
33410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33411 _ACEOF
33412
33413 fi
33414 done
33415
33416 LIBS="$save_LIBS"
33417 fi
33418
33419 wxUSE_UNIVERSAL="yes"
33420
33421 if test "$wxUSE_NANOX" = "yes"; then
33422 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33423 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"
33424 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33425 else
33426 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33427 fi
33428
33429 TOOLKIT=X11
33430 GUIDIST=X11_DIST
33431 fi
33432
33433 if test "$wxUSE_MOTIF" = 1; then
33434 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33435 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33436
33437 ac_find_includes=
33438 for ac_dir in $SEARCH_INCLUDE /usr/include
33439 do
33440 if test -f "$ac_dir/Xm/Xm.h"; then
33441 ac_find_includes=$ac_dir
33442 break
33443 fi
33444 done
33445
33446 if test "$ac_find_includes" != "" ; then
33447 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33448 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33449
33450 if test "x$ac_find_includes" = "x/usr/include"; then
33451 ac_path_to_include=""
33452 else
33453 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33454 result=$?
33455 if test $result = 0; then
33456 ac_path_to_include=""
33457 else
33458 ac_path_to_include=" -I$ac_find_includes"
33459 fi
33460 fi
33461
33462 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33463 else
33464 save_CFLAGS=$CFLAGS
33465 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33466
33467 cat >conftest.$ac_ext <<_ACEOF
33468 /* confdefs.h. */
33469 _ACEOF
33470 cat confdefs.h >>conftest.$ac_ext
33471 cat >>conftest.$ac_ext <<_ACEOF
33472 /* end confdefs.h. */
33473
33474 #include <Xm/Xm.h>
33475
33476 int
33477 main ()
33478 {
33479
33480 int version;
33481 version = xmUseVersion;
33482
33483 ;
33484 return 0;
33485 }
33486 _ACEOF
33487 rm -f conftest.$ac_objext
33488 if { (ac_try="$ac_compile"
33489 case "(($ac_try" in
33490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33491 *) ac_try_echo=$ac_try;;
33492 esac
33493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33494 (eval "$ac_compile") 2>conftest.er1
33495 ac_status=$?
33496 grep -v '^ *+' conftest.er1 >conftest.err
33497 rm -f conftest.er1
33498 cat conftest.err >&5
33499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33500 (exit $ac_status); } && {
33501 test -z "$ac_c_werror_flag" ||
33502 test ! -s conftest.err
33503 } && test -s conftest.$ac_objext; then
33504
33505 { echo "$as_me:$LINENO: result: found in default search path" >&5
33506 echo "${ECHO_T}found in default search path" >&6; }
33507 COMPILED_X_PROGRAM=1
33508
33509 else
33510 echo "$as_me: failed program was:" >&5
33511 sed 's/^/| /' conftest.$ac_ext >&5
33512
33513
33514 { echo "$as_me:$LINENO: result: no" >&5
33515 echo "${ECHO_T}no" >&6; }
33516 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33517 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33518 { (exit 1); exit 1; }; }
33519
33520
33521 fi
33522
33523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33524
33525 CFLAGS=$save_CFLAGS
33526 fi
33527
33528
33529 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33530 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33531
33532 ac_find_libraries=
33533 for ac_dir in $SEARCH_LIB
33534 do
33535 for ac_extension in a so sl dylib dll.a; do
33536 if test -f "$ac_dir/libXm.$ac_extension"; then
33537 ac_find_libraries=$ac_dir
33538 break 2
33539 fi
33540 done
33541 done
33542
33543
33544 if test "x$ac_find_libraries" != "x" ; then
33545 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33546 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33547
33548
33549 if test "$ac_find_libraries" = "default location"; then
33550 ac_path_to_link=""
33551 else
33552 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33553 result=$?
33554 if test $result = 0; then
33555 ac_path_to_link=""
33556 else
33557 ac_path_to_link=" -L$ac_find_libraries"
33558 fi
33559 fi
33560
33561 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33562 else
33563 save_CFLAGS=$CFLAGS
33564 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33565 save_LIBS="$LIBS"
33566 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33567
33568 cat >conftest.$ac_ext <<_ACEOF
33569 /* confdefs.h. */
33570 _ACEOF
33571 cat confdefs.h >>conftest.$ac_ext
33572 cat >>conftest.$ac_ext <<_ACEOF
33573 /* end confdefs.h. */
33574
33575 #include <Xm/Xm.h>
33576
33577 int
33578 main ()
33579 {
33580
33581 int version;
33582 version = xmUseVersion;
33583
33584 ;
33585 return 0;
33586 }
33587 _ACEOF
33588 rm -f conftest.$ac_objext conftest$ac_exeext
33589 if { (ac_try="$ac_link"
33590 case "(($ac_try" in
33591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33592 *) ac_try_echo=$ac_try;;
33593 esac
33594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33595 (eval "$ac_link") 2>conftest.er1
33596 ac_status=$?
33597 grep -v '^ *+' conftest.er1 >conftest.err
33598 rm -f conftest.er1
33599 cat conftest.err >&5
33600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33601 (exit $ac_status); } && {
33602 test -z "$ac_c_werror_flag" ||
33603 test ! -s conftest.err
33604 } && test -s conftest$ac_exeext &&
33605 $as_test_x conftest$ac_exeext; then
33606
33607 { echo "$as_me:$LINENO: result: found in default search path" >&5
33608 echo "${ECHO_T}found in default search path" >&6; }
33609 COMPILED_X_PROGRAM=1
33610
33611 else
33612 echo "$as_me: failed program was:" >&5
33613 sed 's/^/| /' conftest.$ac_ext >&5
33614
33615
33616 { echo "$as_me:$LINENO: result: no" >&5
33617 echo "${ECHO_T}no" >&6; }
33618 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33619 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33620 { (exit 1); exit 1; }; }
33621
33622
33623 fi
33624
33625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33626 conftest$ac_exeext conftest.$ac_ext
33627
33628 CFLAGS=$save_CFLAGS
33629 LIBS="$save_LIBS"
33630 fi
33631
33632 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33633 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33634 libp_link=""
33635 libsm_ice_link=""
33636 libs_found=0
33637 for libp in "" " -lXp"; do
33638 if test "$libs_found" = 0; then
33639 for libsm_ice in "" " -lSM -lICE"; do
33640 if test "$libs_found" = 0; then
33641 save_LIBS="$LIBS"
33642 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33643 save_CFLAGS=$CFLAGS
33644 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33645
33646 cat >conftest.$ac_ext <<_ACEOF
33647 /* confdefs.h. */
33648 _ACEOF
33649 cat confdefs.h >>conftest.$ac_ext
33650 cat >>conftest.$ac_ext <<_ACEOF
33651 /* end confdefs.h. */
33652
33653 #include <Xm/Xm.h>
33654 #include <Xm/List.h>
33655
33656 int
33657 main ()
33658 {
33659
33660 XmString string = NULL;
33661 Widget w = NULL;
33662 int position = 0;
33663 XmListAddItem(w, string, position);
33664
33665 ;
33666 return 0;
33667 }
33668 _ACEOF
33669 rm -f conftest.$ac_objext conftest$ac_exeext
33670 if { (ac_try="$ac_link"
33671 case "(($ac_try" in
33672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33673 *) ac_try_echo=$ac_try;;
33674 esac
33675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33676 (eval "$ac_link") 2>conftest.er1
33677 ac_status=$?
33678 grep -v '^ *+' conftest.er1 >conftest.err
33679 rm -f conftest.er1
33680 cat conftest.err >&5
33681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33682 (exit $ac_status); } && {
33683 test -z "$ac_c_werror_flag" ||
33684 test ! -s conftest.err
33685 } && test -s conftest$ac_exeext &&
33686 $as_test_x conftest$ac_exeext; then
33687
33688 libp_link="$libp"
33689 libsm_ice_link="$libsm_ice"
33690 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33691 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33692 libs_found=1
33693
33694 else
33695 echo "$as_me: failed program was:" >&5
33696 sed 's/^/| /' conftest.$ac_ext >&5
33697
33698
33699
33700 fi
33701
33702 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33703 conftest$ac_exeext conftest.$ac_ext
33704
33705 LIBS="$save_LIBS"
33706 CFLAGS=$save_CFLAGS
33707 fi
33708 done
33709 fi
33710 done
33711
33712 if test "$libs_found" = 0; then
33713 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33714 echo "${ECHO_T}can't find the right libraries" >&6; }
33715 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33716 echo "$as_me: error: can't link a simple motif program" >&2;}
33717 { (exit 1); exit 1; }; }
33718 fi
33719
33720 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33721 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33722 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33723 echo $ECHO_N "(cached) $ECHO_C" >&6
33724 else
33725 ac_check_lib_save_LIBS=$LIBS
33726 LIBS="-lSgm $LIBS"
33727 cat >conftest.$ac_ext <<_ACEOF
33728 /* confdefs.h. */
33729 _ACEOF
33730 cat confdefs.h >>conftest.$ac_ext
33731 cat >>conftest.$ac_ext <<_ACEOF
33732 /* end confdefs.h. */
33733
33734 /* Override any GCC internal prototype to avoid an error.
33735 Use char because int might match the return type of a GCC
33736 builtin and then its argument prototype would still apply. */
33737 #ifdef __cplusplus
33738 extern "C"
33739 #endif
33740 char SgCreateList ();
33741 int
33742 main ()
33743 {
33744 return SgCreateList ();
33745 ;
33746 return 0;
33747 }
33748 _ACEOF
33749 rm -f conftest.$ac_objext conftest$ac_exeext
33750 if { (ac_try="$ac_link"
33751 case "(($ac_try" in
33752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33753 *) ac_try_echo=$ac_try;;
33754 esac
33755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33756 (eval "$ac_link") 2>conftest.er1
33757 ac_status=$?
33758 grep -v '^ *+' conftest.er1 >conftest.err
33759 rm -f conftest.er1
33760 cat conftest.err >&5
33761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33762 (exit $ac_status); } && {
33763 test -z "$ac_c_werror_flag" ||
33764 test ! -s conftest.err
33765 } && test -s conftest$ac_exeext &&
33766 $as_test_x conftest$ac_exeext; then
33767 ac_cv_lib_Sgm_SgCreateList=yes
33768 else
33769 echo "$as_me: failed program was:" >&5
33770 sed 's/^/| /' conftest.$ac_ext >&5
33771
33772 ac_cv_lib_Sgm_SgCreateList=no
33773 fi
33774
33775 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33776 conftest$ac_exeext conftest.$ac_ext
33777 LIBS=$ac_check_lib_save_LIBS
33778 fi
33779 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33780 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33781 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33782 libsgm_link=" -lSgm"
33783 fi
33784
33785
33786 save_CFLAGS=$CFLAGS
33787 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33788
33789 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33790 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33791 if test "${wx_cv_lib_motif2+set}" = set; then
33792 echo $ECHO_N "(cached) $ECHO_C" >&6
33793 else
33794 cat >conftest.$ac_ext <<_ACEOF
33795 /* confdefs.h. */
33796 _ACEOF
33797 cat confdefs.h >>conftest.$ac_ext
33798 cat >>conftest.$ac_ext <<_ACEOF
33799 /* end confdefs.h. */
33800
33801 #include <Xm/Xm.h>
33802
33803 int
33804 main ()
33805 {
33806
33807 #if XmVersion < 2000
33808 Not Motif 2
33809 #endif
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_lib_motif2="yes"
33833 else
33834 echo "$as_me: failed program was:" >&5
33835 sed 's/^/| /' conftest.$ac_ext >&5
33836
33837 wx_cv_lib_motif2="no"
33838 fi
33839
33840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33841 fi
33842 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33843 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33844 if test "$wx_cv_lib_motif2" = "yes"; then
33845 cat >>confdefs.h <<\_ACEOF
33846 #define __WXMOTIF20__ 1
33847 _ACEOF
33848
33849 else
33850 cat >>confdefs.h <<\_ACEOF
33851 #define __WXMOTIF20__ 0
33852 _ACEOF
33853
33854 fi
33855
33856 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33857 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33858 if test "${wx_cv_lib_lesstif+set}" = set; then
33859 echo $ECHO_N "(cached) $ECHO_C" >&6
33860 else
33861 cat >conftest.$ac_ext <<_ACEOF
33862 /* confdefs.h. */
33863 _ACEOF
33864 cat confdefs.h >>conftest.$ac_ext
33865 cat >>conftest.$ac_ext <<_ACEOF
33866 /* end confdefs.h. */
33867
33868 #include <Xm/Xm.h>
33869
33870 int
33871 main ()
33872 {
33873
33874 #if !defined(LesstifVersion) || LesstifVersion <= 0
33875 Not Lesstif
33876 #endif
33877
33878 ;
33879 return 0;
33880 }
33881 _ACEOF
33882 rm -f conftest.$ac_objext
33883 if { (ac_try="$ac_compile"
33884 case "(($ac_try" in
33885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33886 *) ac_try_echo=$ac_try;;
33887 esac
33888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33889 (eval "$ac_compile") 2>conftest.er1
33890 ac_status=$?
33891 grep -v '^ *+' conftest.er1 >conftest.err
33892 rm -f conftest.er1
33893 cat conftest.err >&5
33894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33895 (exit $ac_status); } && {
33896 test -z "$ac_c_werror_flag" ||
33897 test ! -s conftest.err
33898 } && test -s conftest.$ac_objext; then
33899 wx_cv_lib_lesstif="yes"
33900 else
33901 echo "$as_me: failed program was:" >&5
33902 sed 's/^/| /' conftest.$ac_ext >&5
33903
33904 wx_cv_lib_lesstif="no"
33905 fi
33906
33907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33908
33909 fi
33910 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33911 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33912 if test "$wx_cv_lib_lesstif" = "yes"; then
33913 cat >>confdefs.h <<\_ACEOF
33914 #define __WXLESSTIF__ 1
33915 _ACEOF
33916
33917 else
33918 cat >>confdefs.h <<\_ACEOF
33919 #define __WXLESSTIF__ 0
33920 _ACEOF
33921
33922 fi
33923
33924 CFLAGS=$save_CFLAGS
33925
33926 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33927 TOOLKIT=MOTIF
33928 GUIDIST=MOTIF_DIST
33929 fi
33930
33931 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33932 if test "$wxUSE_LIBXPM" = "sys"; then
33933 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33934 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33935
33936 ac_find_libraries=
33937 for ac_dir in $SEARCH_LIB
33938 do
33939 for ac_extension in a so sl dylib dll.a; do
33940 if test -f "$ac_dir/libXpm.$ac_extension"; then
33941 ac_find_libraries=$ac_dir
33942 break 2
33943 fi
33944 done
33945 done
33946
33947 if test "$ac_find_libraries" != "" ; then
33948
33949 if test "$ac_find_libraries" = "default location"; then
33950 ac_path_to_link=""
33951 else
33952 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33953 result=$?
33954 if test $result = 0; then
33955 ac_path_to_link=""
33956 else
33957 ac_path_to_link=" -L$ac_find_libraries"
33958 fi
33959 fi
33960
33961 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33962 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33963 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33964
33965 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33966 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33967 if test "${wx_cv_x11_xpm_h+set}" = set; then
33968 echo $ECHO_N "(cached) $ECHO_C" >&6
33969 else
33970
33971 save_CFLAGS=$CFLAGS
33972 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33973
33974 cat >conftest.$ac_ext <<_ACEOF
33975 /* confdefs.h. */
33976 _ACEOF
33977 cat confdefs.h >>conftest.$ac_ext
33978 cat >>conftest.$ac_ext <<_ACEOF
33979 /* end confdefs.h. */
33980
33981 #include <X11/xpm.h>
33982
33983 int
33984 main ()
33985 {
33986
33987 int version;
33988 version = XpmLibraryVersion();
33989
33990 ;
33991 return 0;
33992 }
33993 _ACEOF
33994 rm -f conftest.$ac_objext
33995 if { (ac_try="$ac_compile"
33996 case "(($ac_try" in
33997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33998 *) ac_try_echo=$ac_try;;
33999 esac
34000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34001 (eval "$ac_compile") 2>conftest.er1
34002 ac_status=$?
34003 grep -v '^ *+' conftest.er1 >conftest.err
34004 rm -f conftest.er1
34005 cat conftest.err >&5
34006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34007 (exit $ac_status); } && {
34008 test -z "$ac_c_werror_flag" ||
34009 test ! -s conftest.err
34010 } && test -s conftest.$ac_objext; then
34011 wx_cv_x11_xpm_h=yes
34012 else
34013 echo "$as_me: failed program was:" >&5
34014 sed 's/^/| /' conftest.$ac_ext >&5
34015
34016 wx_cv_x11_xpm_h=no
34017
34018 fi
34019
34020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34021
34022 CFLAGS=$save_CFLAGS
34023
34024
34025 fi
34026 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34027 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34028
34029 if test $wx_cv_x11_xpm_h = "yes"; then
34030 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34031 cat >>confdefs.h <<\_ACEOF
34032 #define wxHAVE_LIB_XPM 1
34033 _ACEOF
34034
34035 else
34036 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34037 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34038 fi
34039 fi
34040
34041 fi
34042
34043 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34044 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34045 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34046 echo $ECHO_N "(cached) $ECHO_C" >&6
34047 else
34048 ac_check_lib_save_LIBS=$LIBS
34049 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34050 cat >conftest.$ac_ext <<_ACEOF
34051 /* confdefs.h. */
34052 _ACEOF
34053 cat confdefs.h >>conftest.$ac_ext
34054 cat >>conftest.$ac_ext <<_ACEOF
34055 /* end confdefs.h. */
34056
34057 /* Override any GCC internal prototype to avoid an error.
34058 Use char because int might match the return type of a GCC
34059 builtin and then its argument prototype would still apply. */
34060 #ifdef __cplusplus
34061 extern "C"
34062 #endif
34063 char XShapeQueryExtension ();
34064 int
34065 main ()
34066 {
34067 return XShapeQueryExtension ();
34068 ;
34069 return 0;
34070 }
34071 _ACEOF
34072 rm -f conftest.$ac_objext conftest$ac_exeext
34073 if { (ac_try="$ac_link"
34074 case "(($ac_try" in
34075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34076 *) ac_try_echo=$ac_try;;
34077 esac
34078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34079 (eval "$ac_link") 2>conftest.er1
34080 ac_status=$?
34081 grep -v '^ *+' conftest.er1 >conftest.err
34082 rm -f conftest.er1
34083 cat conftest.err >&5
34084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34085 (exit $ac_status); } && {
34086 test -z "$ac_c_werror_flag" ||
34087 test ! -s conftest.err
34088 } && test -s conftest$ac_exeext &&
34089 $as_test_x conftest$ac_exeext; then
34090 ac_cv_lib_Xext_XShapeQueryExtension=yes
34091 else
34092 echo "$as_me: failed program was:" >&5
34093 sed 's/^/| /' conftest.$ac_ext >&5
34094
34095 ac_cv_lib_Xext_XShapeQueryExtension=no
34096 fi
34097
34098 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34099 conftest$ac_exeext conftest.$ac_ext
34100 LIBS=$ac_check_lib_save_LIBS
34101 fi
34102 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34103 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34104 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34105
34106 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34107 wxHAVE_XEXT_LIB=1
34108
34109 fi
34110
34111
34112 if test "$wxHAVE_XEXT_LIB" = 1; then
34113 save_CFLAGS="$CFLAGS"
34114 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34115
34116 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34117 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34118 cat >conftest.$ac_ext <<_ACEOF
34119 /* confdefs.h. */
34120 _ACEOF
34121 cat confdefs.h >>conftest.$ac_ext
34122 cat >>conftest.$ac_ext <<_ACEOF
34123 /* end confdefs.h. */
34124
34125 #include <X11/Xlib.h>
34126 #include <X11/extensions/shape.h>
34127
34128 int
34129 main ()
34130 {
34131
34132 int dummy1, dummy2;
34133 XShapeQueryExtension((Display*)NULL,
34134 (int*)NULL, (int*)NULL);
34135
34136 ;
34137 return 0;
34138 }
34139 _ACEOF
34140 rm -f conftest.$ac_objext
34141 if { (ac_try="$ac_compile"
34142 case "(($ac_try" in
34143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34144 *) ac_try_echo=$ac_try;;
34145 esac
34146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34147 (eval "$ac_compile") 2>conftest.er1
34148 ac_status=$?
34149 grep -v '^ *+' conftest.er1 >conftest.err
34150 rm -f conftest.er1
34151 cat conftest.err >&5
34152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34153 (exit $ac_status); } && {
34154 test -z "$ac_c_werror_flag" ||
34155 test ! -s conftest.err
34156 } && test -s conftest.$ac_objext; then
34157
34158 cat >>confdefs.h <<\_ACEOF
34159 #define HAVE_XSHAPE 1
34160 _ACEOF
34161
34162 { echo "$as_me:$LINENO: result: found" >&5
34163 echo "${ECHO_T}found" >&6; }
34164
34165 else
34166 echo "$as_me: failed program was:" >&5
34167 sed 's/^/| /' conftest.$ac_ext >&5
34168
34169
34170 { echo "$as_me:$LINENO: result: not found" >&5
34171 echo "${ECHO_T}not found" >&6; }
34172
34173 fi
34174
34175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34176 CFLAGS="$save_CFLAGS"
34177
34178 fi
34179 fi
34180
34181 if test "$wxUSE_OSX_CARBON" = 1; then
34182 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34183 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34184 if test "$GCC" = yes; then
34185 { echo "$as_me:$LINENO: result: gcc" >&5
34186 echo "${ECHO_T}gcc" >&6; }
34187 CPPFLAGS_PASCAL="-fpascal-strings"
34188 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34189 { echo "$as_me:$LINENO: result: xlc" >&5
34190 echo "${ECHO_T}xlc" >&6; }
34191 CPPFLAGS_PASCAL="-qmacpstr"
34192 else
34193 { echo "$as_me:$LINENO: result: none" >&5
34194 echo "${ECHO_T}none" >&6; }
34195 fi
34196
34197 if test "x$wxUSE_UNIX" = "xyes"; then
34198 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34199 else
34200 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
34201 fi
34202
34203 TOOLKIT=OSX_CARBON
34204 GUIDIST=OSX_CARBON_DIST
34205 WXBASEPORT="_carbon"
34206
34207 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34208 fi
34209
34210 if test "$wxUSE_OSX_COCOA" = 1; then
34211 TOOLKIT=OSX_COCOA
34212 GUIDIST=OSX_COCOA_DIST
34213
34214 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34215 fi
34216
34217 if test "$wxUSE_OSX_IPHONE" = 1; then
34218 TOOLKIT=OSX_IPHONE
34219 fi
34220
34221 if test "$wxUSE_OLD_COCOA" = 1; then
34222 TOOLKIT=COCOA
34223 GUIDIST=COCOA_DIST
34224 fi
34225
34226 if test "$wxUSE_PM" = 1; then
34227 TOOLKIT=PM
34228 GUIDIST=PM_DIST
34229 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34230 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34231 if test "${wx_cv_spbcdata+set}" = set; then
34232 echo $ECHO_N "(cached) $ECHO_C" >&6
34233 else
34234
34235 cat >conftest.$ac_ext <<_ACEOF
34236 /* confdefs.h. */
34237 _ACEOF
34238 cat confdefs.h >>conftest.$ac_ext
34239 cat >>conftest.$ac_ext <<_ACEOF
34240 /* end confdefs.h. */
34241
34242 #define INCL_PM
34243 #include <os2.h>
34244
34245 int
34246 main ()
34247 {
34248
34249 SPBCDATA test;
34250
34251 ;
34252 return 0;
34253 }
34254 _ACEOF
34255 rm -f conftest.$ac_objext
34256 if { (ac_try="$ac_compile"
34257 case "(($ac_try" in
34258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34259 *) ac_try_echo=$ac_try;;
34260 esac
34261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34262 (eval "$ac_compile") 2>conftest.er1
34263 ac_status=$?
34264 grep -v '^ *+' conftest.er1 >conftest.err
34265 rm -f conftest.er1
34266 cat conftest.err >&5
34267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34268 (exit $ac_status); } && {
34269 test -z "$ac_c_werror_flag" ||
34270 test ! -s conftest.err
34271 } && test -s conftest.$ac_objext; then
34272 wx_cv_spbcdata=yes
34273 else
34274 echo "$as_me: failed program was:" >&5
34275 sed 's/^/| /' conftest.$ac_ext >&5
34276
34277 wx_cv_spbcdata=no
34278
34279 fi
34280
34281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34282
34283
34284 fi
34285 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34286 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34287
34288 if test $wx_cv_spbcdata = "yes"; then
34289 cat >>confdefs.h <<\_ACEOF
34290 #define HAVE_SPBCDATA 1
34291 _ACEOF
34292
34293 fi
34294 fi
34295
34296 if test "$TOOLKIT" = "PM" ; then
34297 TOOLKIT_DIR="os2"
34298 else
34299 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
34300 fi
34301
34302 if test "$wxUSE_UNIVERSAL" = "yes"; then
34303 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34304 WIDGET_SET=univ
34305 fi
34306
34307 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34308 DISTDIR="wx\$(TOOLKIT)"
34309 else
34310 USE_GUI=0
34311
34312 TOOLKIT_DIR="base"
34313
34314 if test "$USE_WIN32" = 1 ; then
34315 TOOLKIT="MSW"
34316 fi
34317
34318 GUIDIST="BASE_DIST"
34319 DISTDIR="wxBase"
34320 fi
34321
34322
34323
34324 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34325 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
34326 wxUSE_UNICODE_UTF8=yes
34327 elif test "$USE_OS2" = 1 ; then
34328 wxUSE_UNICODE_UTF8=yes
34329 else
34330 wxUSE_UNICODE_UTF8=no
34331 fi
34332 fi
34333
34334
34335 if test "$wxUSE_GUI" = "yes"; then
34336 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34337
34338 for ac_header in X11/Xlib.h
34339 do
34340 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34341 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34342 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34343 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34344 echo $ECHO_N "(cached) $ECHO_C" >&6
34345 else
34346 cat >conftest.$ac_ext <<_ACEOF
34347 /* confdefs.h. */
34348 _ACEOF
34349 cat confdefs.h >>conftest.$ac_ext
34350 cat >>conftest.$ac_ext <<_ACEOF
34351 /* end confdefs.h. */
34352
34353
34354 #include <$ac_header>
34355 _ACEOF
34356 rm -f conftest.$ac_objext
34357 if { (ac_try="$ac_compile"
34358 case "(($ac_try" in
34359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34360 *) ac_try_echo=$ac_try;;
34361 esac
34362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34363 (eval "$ac_compile") 2>conftest.er1
34364 ac_status=$?
34365 grep -v '^ *+' conftest.er1 >conftest.err
34366 rm -f conftest.er1
34367 cat conftest.err >&5
34368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34369 (exit $ac_status); } && {
34370 test -z "$ac_c_werror_flag" ||
34371 test ! -s conftest.err
34372 } && test -s conftest.$ac_objext; then
34373 eval "$as_ac_Header=yes"
34374 else
34375 echo "$as_me: failed program was:" >&5
34376 sed 's/^/| /' conftest.$ac_ext >&5
34377
34378 eval "$as_ac_Header=no"
34379 fi
34380
34381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34382 fi
34383 ac_res=`eval echo '${'$as_ac_Header'}'`
34384 { echo "$as_me:$LINENO: result: $ac_res" >&5
34385 echo "${ECHO_T}$ac_res" >&6; }
34386 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34387 cat >>confdefs.h <<_ACEOF
34388 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34389 _ACEOF
34390
34391 fi
34392
34393 done
34394
34395
34396 for ac_header in X11/XKBlib.h
34397 do
34398 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34399 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34400 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34401 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34402 echo $ECHO_N "(cached) $ECHO_C" >&6
34403 else
34404 cat >conftest.$ac_ext <<_ACEOF
34405 /* confdefs.h. */
34406 _ACEOF
34407 cat confdefs.h >>conftest.$ac_ext
34408 cat >>conftest.$ac_ext <<_ACEOF
34409 /* end confdefs.h. */
34410
34411 #if HAVE_X11_XLIB_H
34412 #include <X11/Xlib.h>
34413 #endif
34414
34415
34416 #include <$ac_header>
34417 _ACEOF
34418 rm -f conftest.$ac_objext
34419 if { (ac_try="$ac_compile"
34420 case "(($ac_try" in
34421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34422 *) ac_try_echo=$ac_try;;
34423 esac
34424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34425 (eval "$ac_compile") 2>conftest.er1
34426 ac_status=$?
34427 grep -v '^ *+' conftest.er1 >conftest.err
34428 rm -f conftest.er1
34429 cat conftest.err >&5
34430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34431 (exit $ac_status); } && {
34432 test -z "$ac_c_werror_flag" ||
34433 test ! -s conftest.err
34434 } && test -s conftest.$ac_objext; then
34435 eval "$as_ac_Header=yes"
34436 else
34437 echo "$as_me: failed program was:" >&5
34438 sed 's/^/| /' conftest.$ac_ext >&5
34439
34440 eval "$as_ac_Header=no"
34441 fi
34442
34443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34444 fi
34445 ac_res=`eval echo '${'$as_ac_Header'}'`
34446 { echo "$as_me:$LINENO: result: $ac_res" >&5
34447 echo "${ECHO_T}$ac_res" >&6; }
34448 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34449 cat >>confdefs.h <<_ACEOF
34450 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34451 _ACEOF
34452
34453 fi
34454
34455 done
34456
34457 fi
34458 fi
34459
34460
34461
34462 USE_XINERAMA=0
34463 if test "$wxUSE_DISPLAY" = "yes"; then
34464 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34465 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34466 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34467
34468 ac_find_libraries=
34469 for ac_dir in $SEARCH_LIB
34470 do
34471 for ac_extension in a so sl dylib dll.a; do
34472 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34473 ac_find_libraries=$ac_dir
34474 break 2
34475 fi
34476 done
34477 done
34478
34479 if test "$ac_find_libraries" != "" ; then
34480
34481 if test "$ac_find_libraries" = "default location"; then
34482 ac_path_to_link=""
34483 else
34484 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34485 result=$?
34486 if test $result = 0; then
34487 ac_path_to_link=""
34488 else
34489 ac_path_to_link=" -L$ac_find_libraries"
34490 fi
34491 fi
34492
34493 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34494 LDFLAGS="$LDFLAGS $ac_path_to_link"
34495 fi
34496 USE_XINERAMA=1
34497 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34498 { echo "$as_me:$LINENO: result: yes" >&5
34499 echo "${ECHO_T}yes" >&6; }
34500 else
34501 { echo "$as_me:$LINENO: result: no" >&5
34502 echo "${ECHO_T}no" >&6; }
34503 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34504 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34505 wxUSE_DISPLAY="no"
34506 fi
34507 elif test "$wxUSE_MSW" = 1; then
34508 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
34509 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
34510 if test "${ac_cv_header_ddraw_h+set}" = set; then
34511 echo $ECHO_N "(cached) $ECHO_C" >&6
34512 else
34513 cat >conftest.$ac_ext <<_ACEOF
34514 /* confdefs.h. */
34515 _ACEOF
34516 cat confdefs.h >>conftest.$ac_ext
34517 cat >>conftest.$ac_ext <<_ACEOF
34518 /* end confdefs.h. */
34519 #include <windows.h>
34520
34521 #include <ddraw.h>
34522 _ACEOF
34523 rm -f conftest.$ac_objext
34524 if { (ac_try="$ac_compile"
34525 case "(($ac_try" in
34526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34527 *) ac_try_echo=$ac_try;;
34528 esac
34529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34530 (eval "$ac_compile") 2>conftest.er1
34531 ac_status=$?
34532 grep -v '^ *+' conftest.er1 >conftest.err
34533 rm -f conftest.er1
34534 cat conftest.err >&5
34535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34536 (exit $ac_status); } && {
34537 test -z "$ac_c_werror_flag" ||
34538 test ! -s conftest.err
34539 } && test -s conftest.$ac_objext; then
34540 ac_cv_header_ddraw_h=yes
34541 else
34542 echo "$as_me: failed program was:" >&5
34543 sed 's/^/| /' conftest.$ac_ext >&5
34544
34545 ac_cv_header_ddraw_h=no
34546 fi
34547
34548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34549 fi
34550 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34551 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34552
34553
34554 fi
34555 fi
34556
34557 if test "$wxUSE_DISPLAY" = "yes"; then
34558 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34559 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34560 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
34561
34562 ac_find_libraries=
34563 for ac_dir in $SEARCH_LIB
34564 do
34565 for ac_extension in a so sl dylib dll.a; do
34566 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34567 ac_find_libraries=$ac_dir
34568 break 2
34569 fi
34570 done
34571 done
34572
34573 if test "$ac_find_libraries" != "" ; then
34574 { echo "$as_me:$LINENO: result: yes" >&5
34575 echo "${ECHO_T}yes" >&6; }
34576
34577 for ac_header in X11/extensions/xf86vmode.h
34578 do
34579 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34580 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34581 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34582 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34583 echo $ECHO_N "(cached) $ECHO_C" >&6
34584 else
34585 cat >conftest.$ac_ext <<_ACEOF
34586 /* confdefs.h. */
34587 _ACEOF
34588 cat confdefs.h >>conftest.$ac_ext
34589 cat >>conftest.$ac_ext <<_ACEOF
34590 /* end confdefs.h. */
34591
34592 #if HAVE_X11_XLIB_H
34593 #include <X11/Xlib.h>
34594 #endif
34595
34596
34597 #include <$ac_header>
34598 _ACEOF
34599 rm -f conftest.$ac_objext
34600 if { (ac_try="$ac_compile"
34601 case "(($ac_try" in
34602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34603 *) ac_try_echo=$ac_try;;
34604 esac
34605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34606 (eval "$ac_compile") 2>conftest.er1
34607 ac_status=$?
34608 grep -v '^ *+' conftest.er1 >conftest.err
34609 rm -f conftest.er1
34610 cat conftest.err >&5
34611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34612 (exit $ac_status); } && {
34613 test -z "$ac_c_werror_flag" ||
34614 test ! -s conftest.err
34615 } && test -s conftest.$ac_objext; then
34616 eval "$as_ac_Header=yes"
34617 else
34618 echo "$as_me: failed program was:" >&5
34619 sed 's/^/| /' conftest.$ac_ext >&5
34620
34621 eval "$as_ac_Header=no"
34622 fi
34623
34624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34625 fi
34626 ac_res=`eval echo '${'$as_ac_Header'}'`
34627 { echo "$as_me:$LINENO: result: $ac_res" >&5
34628 echo "${ECHO_T}$ac_res" >&6; }
34629 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34630 cat >>confdefs.h <<_ACEOF
34631 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34632 _ACEOF
34633
34634 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34635
34636 fi
34637
34638 done
34639
34640 else
34641 { echo "$as_me:$LINENO: result: no" >&5
34642 echo "${ECHO_T}no" >&6; }
34643 fi
34644 fi
34645 fi
34646
34647 if test "$wxUSE_DETECT_SM" = "yes"; then
34648 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
34649 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34650 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34651
34652 ac_find_libraries=
34653 for ac_dir in $SEARCH_LIB
34654 do
34655 for ac_extension in a so sl dylib dll.a; do
34656 if test -f "$ac_dir/libSM.$ac_extension"; then
34657 ac_find_libraries=$ac_dir
34658 break 2
34659 fi
34660 done
34661 done
34662
34663 if test "$ac_find_libraries" != "" ; then
34664
34665 if test "$ac_find_libraries" = "default location"; then
34666 ac_path_to_link=""
34667 else
34668 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34669 result=$?
34670 if test $result = 0; then
34671 ac_path_to_link=""
34672 else
34673 ac_path_to_link=" -L$ac_find_libraries"
34674 fi
34675 fi
34676
34677 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34678 LDFLAGS="$LDFLAGS $ac_path_to_link"
34679 fi
34680 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34681 { echo "$as_me:$LINENO: result: yes" >&5
34682 echo "${ECHO_T}yes" >&6; }
34683 else
34684 { echo "$as_me:$LINENO: result: no" >&5
34685 echo "${ECHO_T}no" >&6; }
34686 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34687 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34688 wxUSE_DETECT_SM="no"
34689 fi
34690 else
34691 wxUSE_DETECT_SM="no"
34692 fi
34693 fi
34694
34695
34696
34697 USE_OPENGL=0
34698 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
34699
34700
34701 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34702 OPENGL_LIBS="-framework OpenGL -framework AGL"
34703 elif test "$wxUSE_MSW" = 1; then
34704 OPENGL_LIBS="-lopengl32 -lglu32"
34705 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
34706
34707 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34708 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34709
34710 ac_find_includes=
34711 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
34712 do
34713 if test -f "$ac_dir/GL/gl.h"; then
34714 ac_find_includes=$ac_dir
34715 break
34716 fi
34717 done
34718
34719 if test "$ac_find_includes" != "" ; then
34720 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34721 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34722
34723 if test "x$ac_find_includes" = "x/usr/include"; then
34724 ac_path_to_include=""
34725 else
34726 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34727 result=$?
34728 if test $result = 0; then
34729 ac_path_to_include=""
34730 else
34731 ac_path_to_include=" -I$ac_find_includes"
34732 fi
34733 fi
34734
34735 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34736 else
34737 { echo "$as_me:$LINENO: result: not found" >&5
34738 echo "${ECHO_T}not found" >&6; }
34739 fi
34740
34741 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34742 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34743 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34744 echo $ECHO_N "(cached) $ECHO_C" >&6
34745 else
34746 cat >conftest.$ac_ext <<_ACEOF
34747 /* confdefs.h. */
34748 _ACEOF
34749 cat confdefs.h >>conftest.$ac_ext
34750 cat >>conftest.$ac_ext <<_ACEOF
34751 /* end confdefs.h. */
34752
34753
34754 #include <GL/gl.h>
34755 _ACEOF
34756 rm -f conftest.$ac_objext
34757 if { (ac_try="$ac_compile"
34758 case "(($ac_try" in
34759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34760 *) ac_try_echo=$ac_try;;
34761 esac
34762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34763 (eval "$ac_compile") 2>conftest.er1
34764 ac_status=$?
34765 grep -v '^ *+' conftest.er1 >conftest.err
34766 rm -f conftest.er1
34767 cat conftest.err >&5
34768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34769 (exit $ac_status); } && {
34770 test -z "$ac_c_werror_flag" ||
34771 test ! -s conftest.err
34772 } && test -s conftest.$ac_objext; then
34773 ac_cv_header_GL_gl_h=yes
34774 else
34775 echo "$as_me: failed program was:" >&5
34776 sed 's/^/| /' conftest.$ac_ext >&5
34777
34778 ac_cv_header_GL_gl_h=no
34779 fi
34780
34781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34782 fi
34783 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34784 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34785 if test $ac_cv_header_GL_gl_h = yes; then
34786
34787 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34788 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34789 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34790 echo $ECHO_N "(cached) $ECHO_C" >&6
34791 else
34792 cat >conftest.$ac_ext <<_ACEOF
34793 /* confdefs.h. */
34794 _ACEOF
34795 cat confdefs.h >>conftest.$ac_ext
34796 cat >>conftest.$ac_ext <<_ACEOF
34797 /* end confdefs.h. */
34798
34799
34800 #include <GL/glu.h>
34801 _ACEOF
34802 rm -f conftest.$ac_objext
34803 if { (ac_try="$ac_compile"
34804 case "(($ac_try" in
34805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34806 *) ac_try_echo=$ac_try;;
34807 esac
34808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34809 (eval "$ac_compile") 2>conftest.er1
34810 ac_status=$?
34811 grep -v '^ *+' conftest.er1 >conftest.err
34812 rm -f conftest.er1
34813 cat conftest.err >&5
34814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34815 (exit $ac_status); } && {
34816 test -z "$ac_c_werror_flag" ||
34817 test ! -s conftest.err
34818 } && test -s conftest.$ac_objext; then
34819 ac_cv_header_GL_glu_h=yes
34820 else
34821 echo "$as_me: failed program was:" >&5
34822 sed 's/^/| /' conftest.$ac_ext >&5
34823
34824 ac_cv_header_GL_glu_h=no
34825 fi
34826
34827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34828 fi
34829 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34830 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34831 if test $ac_cv_header_GL_glu_h = yes; then
34832
34833 found_gl=0
34834
34835 { echo "$as_me:$LINENO: checking for -lGL" >&5
34836 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
34837
34838 ac_find_libraries=
34839 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib
34840 do
34841 for ac_extension in a so sl dylib dll.a; do
34842 if test -f "$ac_dir/libGL.$ac_extension"; then
34843 ac_find_libraries=$ac_dir
34844 break 2
34845 fi
34846 done
34847 done
34848
34849 if test "$ac_find_libraries" != "" ; then
34850 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34851 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34852
34853
34854 if test "$ac_find_libraries" = "default location"; then
34855 ac_path_to_link=""
34856 else
34857 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34858 result=$?
34859 if test $result = 0; then
34860 ac_path_to_link=""
34861 else
34862 ac_path_to_link=" -L$ac_find_libraries"
34863 fi
34864 fi
34865
34866 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34867 LDFLAGS_GL="$ac_path_to_link"
34868 fi
34869
34870 { echo "$as_me:$LINENO: checking for -lGLU" >&5
34871 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
34872
34873 ac_find_libraries=
34874 for ac_dir in $SEARCH_LIB
34875 do
34876 for ac_extension in a so sl dylib dll.a; do
34877 if test -f "$ac_dir/libGLU.$ac_extension"; then
34878 ac_find_libraries=$ac_dir
34879 break 2
34880 fi
34881 done
34882 done
34883
34884 if test "$ac_find_libraries" != "" ; then
34885
34886 if test "$ac_find_libraries" = "default location"; then
34887 ac_path_to_link=""
34888 else
34889 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34890 result=$?
34891 if test $result = 0; then
34892 ac_path_to_link=""
34893 else
34894 ac_path_to_link=" -L$ac_find_libraries"
34895 fi
34896 fi
34897
34898 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34899 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34900 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34901 fi
34902
34903 found_gl=1
34904 OPENGL_LIBS="-lGL -lGLU"
34905 { echo "$as_me:$LINENO: result: yes" >&5
34906 echo "${ECHO_T}yes" >&6; }
34907 else
34908 { echo "$as_me:$LINENO: result: no" >&5
34909 echo "${ECHO_T}no" >&6; }
34910 fi
34911 else
34912 { echo "$as_me:$LINENO: result: no" >&5
34913 echo "${ECHO_T}no" >&6; }
34914 fi
34915
34916 if test "$found_gl" != 1; then
34917 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34918 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
34919
34920 ac_find_libraries=
34921 for ac_dir in $SEARCH_LIB
34922 do
34923 for ac_extension in a so sl dylib dll.a; do
34924 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34925 ac_find_libraries=$ac_dir
34926 break 2
34927 fi
34928 done
34929 done
34930
34931 if test "$ac_find_libraries" != "" ; then
34932
34933 if test "$ac_find_libraries" = "default location"; then
34934 ac_path_to_link=""
34935 else
34936 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34937 result=$?
34938 if test $result = 0; then
34939 ac_path_to_link=""
34940 else
34941 ac_path_to_link=" -L$ac_find_libraries"
34942 fi
34943 fi
34944
34945 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34946 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34947 { echo "$as_me:$LINENO: result: yes" >&5
34948 echo "${ECHO_T}yes" >&6; }
34949 else
34950 { echo "$as_me:$LINENO: result: no" >&5
34951 echo "${ECHO_T}no" >&6; }
34952 fi
34953 fi
34954
34955 fi
34956
34957
34958
34959 fi
34960
34961
34962
34963 if test "x$OPENGL_LIBS" = "x"; then
34964 if test "$wxUSE_OPENGL" = "yes"; then
34965 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34966 echo "$as_me: error: OpenGL libraries not available" >&2;}
34967 { (exit 1); exit 1; }; }
34968 else
34969 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
34970 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
34971 wxUSE_OPENGL=no
34972 USE_OPENGL=0
34973 fi
34974 fi
34975 else
34976 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34977 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34978 wxUSE_OPENGL="no"
34979 fi
34980
34981 if test "$wxUSE_OPENGL" = "auto"; then
34982 wxUSE_OPENGL=yes
34983 fi
34984
34985 if test "$wxUSE_OPENGL" = "yes"; then
34986 USE_OPENGL=1
34987 cat >>confdefs.h <<\_ACEOF
34988 #define wxUSE_OPENGL 1
34989 _ACEOF
34990
34991 cat >>confdefs.h <<\_ACEOF
34992 #define wxUSE_GLCANVAS 1
34993 _ACEOF
34994
34995 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34996 fi
34997 fi
34998
34999
35000 if test -n "$TOOLKIT" ; then
35001 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35002 fi
35003
35004
35005
35006 if test "$wxUSE_SHARED" = "yes"; then
35007 case "${host}" in
35008 *-pc-msdosdjgpp )
35009 wxUSE_SHARED=no
35010 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35011 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35012 ;;
35013 esac
35014 fi
35015
35016 if test "$wxUSE_SHARED" = "yes"; then
35017
35018
35019 case "${host}" in
35020 *-*-cygwin* | *-*-mingw* )
35021 wx_cv_version_script=no
35022 ;;
35023
35024 *)
35025 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35026 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35027 if test "${wx_cv_version_script+set}" = set; then
35028 echo $ECHO_N "(cached) $ECHO_C" >&6
35029 else
35030
35031 echo "VER_1 { *; };" >conftest.sym
35032 echo "int main() { return 0; }" >conftest.cpp
35033
35034 if { ac_try='
35035 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35036 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35038 (eval $ac_try) 2>&5
35039 ac_status=$?
35040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35041 (exit $ac_status); }; } ; then
35042 if test -s conftest.stderr ; then
35043 wx_cv_version_script=no
35044 else
35045 wx_cv_version_script=yes
35046 fi
35047 else
35048 wx_cv_version_script=no
35049 fi
35050
35051 if test $wx_cv_version_script = yes
35052 then
35053 echo "struct B { virtual ~B() { } }; \
35054 struct D : public B { }; \
35055 void F() { D d; }" > conftest.cpp
35056
35057 if { ac_try='
35058 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35059 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35061 (eval $ac_try) 2>&5
35062 ac_status=$?
35063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35064 (exit $ac_status); }; } &&
35065 { ac_try='
35066 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35067 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35069 (eval $ac_try) 2>&5
35070 ac_status=$?
35071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35072 (exit $ac_status); }; }
35073 then
35074 if { ac_try='
35075 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35076 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35078 (eval $ac_try) 2>&5
35079 ac_status=$?
35080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35081 (exit $ac_status); }; }
35082 then
35083 wx_cv_version_script=yes
35084 else
35085 wx_cv_version_script=no
35086 fi
35087 fi
35088 fi
35089
35090 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35091 rm -f conftest1.output conftest2.output conftest3.output
35092
35093 fi
35094 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35095 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35096
35097 if test $wx_cv_version_script = yes ; then
35098 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35099 fi
35100 ;;
35101 esac
35102
35103
35104 if test "$wxUSE_VISIBILITY" != "no"; then
35105
35106
35107 if test -n "$GCC"; then
35108 CFLAGS_VISIBILITY="-fvisibility=hidden"
35109 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
35110 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35111 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
35112 if test "${wx_cv_cc_visibility+set}" = set; then
35113 echo $ECHO_N "(cached) $ECHO_C" >&6
35114 else
35115
35116 wx_save_CXXFLAGS="$CXXFLAGS"
35117 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35118 ac_ext=cpp
35119 ac_cpp='$CXXCPP $CPPFLAGS'
35120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35123
35124 cat >conftest.$ac_ext <<_ACEOF
35125 /* confdefs.h. */
35126 _ACEOF
35127 cat confdefs.h >>conftest.$ac_ext
35128 cat >>conftest.$ac_ext <<_ACEOF
35129 /* end confdefs.h. */
35130
35131 /* we need gcc >= 4.0, older versions with visibility support
35132 didn't have class visibility: */
35133 #if defined(__GNUC__) && __GNUC__ < 4
35134 error this gcc is too old;
35135 #endif
35136
35137 /* visibility only makes sense for ELF shared libs: */
35138 #if !defined(__ELF__) && !defined(__APPLE__)
35139 error this platform has no visibility;
35140 #endif
35141
35142 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
35143 #if defined(__clang__)
35144 clang compiler is still broken w.r.t. visibility;
35145 #endif
35146
35147 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35148 extern __attribute__((__visibility__("default"))) int exportedvar;
35149 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35150 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35151 class __attribute__((__visibility__("default"))) Foo {
35152 Foo() {}
35153 };
35154
35155 int
35156 main ()
35157 {
35158
35159 ;
35160 return 0;
35161 }
35162 _ACEOF
35163 rm -f conftest.$ac_objext
35164 if { (ac_try="$ac_compile"
35165 case "(($ac_try" in
35166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35167 *) ac_try_echo=$ac_try;;
35168 esac
35169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35170 (eval "$ac_compile") 2>conftest.er1
35171 ac_status=$?
35172 grep -v '^ *+' conftest.er1 >conftest.err
35173 rm -f conftest.er1
35174 cat conftest.err >&5
35175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35176 (exit $ac_status); } && {
35177 test -z "$ac_cxx_werror_flag" ||
35178 test ! -s conftest.err
35179 } && test -s conftest.$ac_objext; then
35180 wx_cv_cc_visibility=yes
35181 else
35182 echo "$as_me: failed program was:" >&5
35183 sed 's/^/| /' conftest.$ac_ext >&5
35184
35185 wx_cv_cc_visibility=no
35186 fi
35187
35188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35189 ac_ext=c
35190 ac_cpp='$CPP $CPPFLAGS'
35191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35194
35195 CXXFLAGS="$wx_save_CXXFLAGS"
35196 fi
35197
35198 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35199 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35200 if test $wx_cv_cc_visibility = yes; then
35201 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
35202 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
35203 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
35204 echo $ECHO_N "(cached) $ECHO_C" >&6
35205 else
35206
35207 wx_save_CXXFLAGS="$CXXFLAGS"
35208 wx_save_LDFLAGS="$LDFLAGS"
35209 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35210 LDFLAGS="$LDFLAGS -shared -fPIC"
35211 ac_ext=cpp
35212 ac_cpp='$CXXCPP $CPPFLAGS'
35213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35216
35217 cat >conftest.$ac_ext <<_ACEOF
35218 /* confdefs.h. */
35219 _ACEOF
35220 cat confdefs.h >>conftest.$ac_ext
35221 cat >>conftest.$ac_ext <<_ACEOF
35222 /* end confdefs.h. */
35223
35224 #include <string>
35225
35226 int
35227 main ()
35228 {
35229
35230 std::string s("hello");
35231 return s.length();
35232
35233 ;
35234 return 0;
35235 }
35236 _ACEOF
35237 rm -f conftest.$ac_objext conftest$ac_exeext
35238 if { (ac_try="$ac_link"
35239 case "(($ac_try" in
35240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35241 *) ac_try_echo=$ac_try;;
35242 esac
35243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35244 (eval "$ac_link") 2>conftest.er1
35245 ac_status=$?
35246 grep -v '^ *+' conftest.er1 >conftest.err
35247 rm -f conftest.er1
35248 cat conftest.err >&5
35249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35250 (exit $ac_status); } && {
35251 test -z "$ac_cxx_werror_flag" ||
35252 test ! -s conftest.err
35253 } && test -s conftest$ac_exeext &&
35254 $as_test_x conftest$ac_exeext; then
35255 wx_cv_cc_broken_libstdcxx_visibility=no
35256 else
35257 echo "$as_me: failed program was:" >&5
35258 sed 's/^/| /' conftest.$ac_ext >&5
35259
35260 wx_cv_cc_broken_libstdcxx_visibility=yes
35261 fi
35262
35263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35264 conftest$ac_exeext conftest.$ac_ext
35265 ac_ext=c
35266 ac_cpp='$CPP $CPPFLAGS'
35267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35270
35271 CXXFLAGS="$wx_save_CXXFLAGS"
35272 LDFLAGS="$wx_save_LDFLAGS"
35273 fi
35274
35275 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
35276 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
35277
35278 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35279 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
35280 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
35281 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
35282 echo $ECHO_N "(cached) $ECHO_C" >&6
35283 else
35284
35285 ac_ext=cpp
35286 ac_cpp='$CXXCPP $CPPFLAGS'
35287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35290
35291 cat >conftest.$ac_ext <<_ACEOF
35292 /* confdefs.h. */
35293 _ACEOF
35294 cat confdefs.h >>conftest.$ac_ext
35295 cat >>conftest.$ac_ext <<_ACEOF
35296 /* end confdefs.h. */
35297
35298 #pragma GCC visibility push(default)
35299 #include <string>
35300 #pragma GCC visibility pop
35301
35302 int
35303 main ()
35304 {
35305
35306 std::string s("hello");
35307 return s.length();
35308
35309 ;
35310 return 0;
35311 }
35312 _ACEOF
35313 rm -f conftest.$ac_objext conftest$ac_exeext
35314 if { (ac_try="$ac_link"
35315 case "(($ac_try" in
35316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35317 *) ac_try_echo=$ac_try;;
35318 esac
35319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35320 (eval "$ac_link") 2>conftest.er1
35321 ac_status=$?
35322 grep -v '^ *+' conftest.er1 >conftest.err
35323 rm -f conftest.er1
35324 cat conftest.err >&5
35325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35326 (exit $ac_status); } && {
35327 test -z "$ac_cxx_werror_flag" ||
35328 test ! -s conftest.err
35329 } && test -s conftest$ac_exeext &&
35330 $as_test_x conftest$ac_exeext; then
35331 wx_cv_cc_visibility_workaround=no
35332 else
35333 echo "$as_me: failed program was:" >&5
35334 sed 's/^/| /' conftest.$ac_ext >&5
35335
35336 wx_cv_cc_visibility_workaround=yes
35337 fi
35338
35339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35340 conftest$ac_exeext conftest.$ac_ext
35341 ac_ext=c
35342 ac_cpp='$CPP $CPPFLAGS'
35343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35346
35347
35348 fi
35349
35350 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
35351 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
35352
35353 if test $wx_cv_cc_visibility_workaround = no; then
35354 wx_cv_cc_visibility=no
35355 fi
35356 fi
35357 fi
35358
35359 if test $wx_cv_cc_visibility = yes; then
35360 cat >>confdefs.h <<\_ACEOF
35361 #define HAVE_VISIBILITY 1
35362 _ACEOF
35363
35364 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35365 cat >>confdefs.h <<\_ACEOF
35366 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
35367 _ACEOF
35368
35369 fi
35370 else
35371 CFLAGS_VISIBILITY=""
35372 CXXFLAGS_VISIBILITY=""
35373 fi
35374
35375
35376 fi
35377
35378 fi
35379
35380 if test "x$SUNCXX" = xyes; then
35381 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
35382 WXCONFIG_RPATH="-R\$libdir"
35383 else
35384 case "${host}" in
35385 *-*-linux* | *-*-gnu* )
35386 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35387 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35388 ;;
35389
35390 *-*-solaris2* )
35391
35392 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
35393
35394 saveLdflags="$LDFLAGS"
35395 LDFLAGS="$saveLdflags -Wl,-rpath,/"
35396 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35397 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35398 cat >conftest.$ac_ext <<_ACEOF
35399 /* confdefs.h. */
35400 _ACEOF
35401 cat confdefs.h >>conftest.$ac_ext
35402 cat >>conftest.$ac_ext <<_ACEOF
35403 /* end confdefs.h. */
35404
35405 int
35406 main ()
35407 {
35408
35409 ;
35410 return 0;
35411 }
35412 _ACEOF
35413 rm -f conftest.$ac_objext conftest$ac_exeext
35414 if { (ac_try="$ac_link"
35415 case "(($ac_try" in
35416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35417 *) ac_try_echo=$ac_try;;
35418 esac
35419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35420 (eval "$ac_link") 2>conftest.er1
35421 ac_status=$?
35422 grep -v '^ *+' conftest.er1 >conftest.err
35423 rm -f conftest.er1
35424 cat conftest.err >&5
35425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35426 (exit $ac_status); } && {
35427 test -z "$ac_c_werror_flag" ||
35428 test ! -s conftest.err
35429 } && test -s conftest$ac_exeext &&
35430 $as_test_x conftest$ac_exeext; then
35431
35432 { echo "$as_me:$LINENO: result: yes" >&5
35433 echo "${ECHO_T}yes" >&6; }
35434 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35435 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35436
35437 else
35438 echo "$as_me: failed program was:" >&5
35439 sed 's/^/| /' conftest.$ac_ext >&5
35440
35441
35442 { echo "$as_me:$LINENO: result: no" >&5
35443 echo "${ECHO_T}no" >&6; }
35444 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35445 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35446 LDFLAGS="$saveLdflags -Wl,-R,/"
35447 cat >conftest.$ac_ext <<_ACEOF
35448 /* confdefs.h. */
35449 _ACEOF
35450 cat confdefs.h >>conftest.$ac_ext
35451 cat >>conftest.$ac_ext <<_ACEOF
35452 /* end confdefs.h. */
35453
35454 int
35455 main ()
35456 {
35457
35458 ;
35459 return 0;
35460 }
35461 _ACEOF
35462 rm -f conftest.$ac_objext conftest$ac_exeext
35463 if { (ac_try="$ac_link"
35464 case "(($ac_try" in
35465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35466 *) ac_try_echo=$ac_try;;
35467 esac
35468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35469 (eval "$ac_link") 2>conftest.er1
35470 ac_status=$?
35471 grep -v '^ *+' conftest.er1 >conftest.err
35472 rm -f conftest.er1
35473 cat conftest.err >&5
35474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35475 (exit $ac_status); } && {
35476 test -z "$ac_c_werror_flag" ||
35477 test ! -s conftest.err
35478 } && test -s conftest$ac_exeext &&
35479 $as_test_x conftest$ac_exeext; then
35480
35481 { echo "$as_me:$LINENO: result: yes" >&5
35482 echo "${ECHO_T}yes" >&6; }
35483 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
35484 WXCONFIG_RPATH="-Wl,-R,\$libdir"
35485
35486 else
35487 echo "$as_me: failed program was:" >&5
35488 sed 's/^/| /' conftest.$ac_ext >&5
35489
35490
35491 { echo "$as_me:$LINENO: result: no" >&5
35492 echo "${ECHO_T}no" >&6; }
35493
35494 fi
35495
35496 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35497 conftest$ac_exeext conftest.$ac_ext
35498
35499 fi
35500
35501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35502 conftest$ac_exeext conftest.$ac_ext
35503 LDFLAGS="$saveLdflags"
35504 ;;
35505
35506 *-*-darwin* )
35507 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
35508 if test "$install_name_tool" -a -x "$install_name_tool"; then
35509 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
35510 cat <<EOF >change-install-names
35511 #!/bin/sh
35512 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35513 for i in \${libnames} ; do
35514 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
35515 for dep in \${libnames} ; do
35516 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
35517 done
35518 done
35519 EOF
35520 chmod +x change-install-names
35521 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
35522 fi
35523
35524 HEADER_PAD_OPTION="-headerpad_max_install_names"
35525 ;;
35526
35527 *-*-cygwin* | *-*-mingw32* )
35528 ;;
35529
35530 *-*-hpux* )
35531 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
35532 WXCONFIG_RPATH="-Wl,+b,\$libdir"
35533 ;;
35534
35535 esac
35536 fi
35537
35538 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35539
35540 if test $wxUSE_RPATH = "no"; then
35541 SAMPLES_RPATH_FLAG=''
35542 DYLIB_PATH_POSTLINK=''
35543 WXCONFIG_RPATH=''
35544 fi
35545
35546 SHARED=1
35547
35548 else
35549
35550 config_linkage_component="-static"
35551 SHARED=0
35552
35553 fi
35554
35555
35556 UNICODE=0
35557 lib_unicode_suffix=
35558 WX_CHARTYPE="ansi"
35559 if test "$wxUSE_UNICODE" = "yes"; then
35560 lib_unicode_suffix=u
35561 WX_CHARTYPE="unicode"
35562 UNICODE=1
35563 fi
35564
35565 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
35566 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
35567
35568 DEBUG_INFO=0
35569 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35570 DEBUG_INFO=1
35571 fi
35572
35573 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
35574
35575 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
35576
35577 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35578
35579
35580 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35581 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35582 else
35583 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35584 fi
35585 if test "${TOOLKIT_DIR}" = "os2"; then
35586 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35587 else
35588 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35589 fi
35590
35591
35592
35593 if test "$wxUSE_OLD_COCOA" = 1; then
35594
35595 ac_ext=c
35596 ac_cpp='$CPP $CPPFLAGS'
35597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35600
35601 ac_ext=m
35602
35603 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35604 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35605 cat >conftest.$ac_ext <<_ACEOF
35606 /* confdefs.h. */
35607 _ACEOF
35608 cat confdefs.h >>conftest.$ac_ext
35609 cat >>conftest.$ac_ext <<_ACEOF
35610 /* end confdefs.h. */
35611 #include <AppKit/NSEvent.h>
35612 #include <CoreFoundation/CoreFoundation.h>
35613
35614 int
35615 main ()
35616 {
35617
35618 ;
35619 return 0;
35620 }
35621 _ACEOF
35622 rm -f conftest.$ac_objext
35623 if { (ac_try="$ac_compile"
35624 case "(($ac_try" in
35625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35626 *) ac_try_echo=$ac_try;;
35627 esac
35628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35629 (eval "$ac_compile") 2>conftest.er1
35630 ac_status=$?
35631 grep -v '^ *+' conftest.er1 >conftest.err
35632 rm -f conftest.er1
35633 cat conftest.err >&5
35634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35635 (exit $ac_status); } && {
35636 test -z "$ac_c_werror_flag" ||
35637 test ! -s conftest.err
35638 } && test -s conftest.$ac_objext; then
35639 { echo "$as_me:$LINENO: result: no" >&5
35640 echo "${ECHO_T}no" >&6; }
35641 else
35642 echo "$as_me: failed program was:" >&5
35643 sed 's/^/| /' conftest.$ac_ext >&5
35644
35645 { echo "$as_me:$LINENO: result: yes" >&5
35646 echo "${ECHO_T}yes" >&6; }
35647 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35648 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35649 cat >conftest.$ac_ext <<_ACEOF
35650 /* confdefs.h. */
35651 _ACEOF
35652 cat confdefs.h >>conftest.$ac_ext
35653 cat >>conftest.$ac_ext <<_ACEOF
35654 /* end confdefs.h. */
35655 #define __Point__ 1
35656 #include <AppKit/NSEvent.h>
35657 #include <CoreFoundation/CoreFoundation.h>
35658
35659 int
35660 main ()
35661 {
35662
35663 ;
35664 return 0;
35665 }
35666 _ACEOF
35667 rm -f conftest.$ac_objext
35668 if { (ac_try="$ac_compile"
35669 case "(($ac_try" in
35670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35671 *) ac_try_echo=$ac_try;;
35672 esac
35673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35674 (eval "$ac_compile") 2>conftest.er1
35675 ac_status=$?
35676 grep -v '^ *+' conftest.er1 >conftest.err
35677 rm -f conftest.er1
35678 cat conftest.err >&5
35679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35680 (exit $ac_status); } && {
35681 test -z "$ac_c_werror_flag" ||
35682 test ! -s conftest.err
35683 } && test -s conftest.$ac_objext; then
35684 { echo "$as_me:$LINENO: result: yes" >&5
35685 echo "${ECHO_T}yes" >&6; }
35686 cat >>confdefs.h <<\_ACEOF
35687 #define __Point__ 1
35688 _ACEOF
35689
35690
35691 else
35692 echo "$as_me: failed program was:" >&5
35693 sed 's/^/| /' conftest.$ac_ext >&5
35694
35695 { { echo "$as_me:$LINENO: error: no
35696 See \`config.log' for more details." >&5
35697 echo "$as_me: error: no
35698 See \`config.log' for more details." >&2;}
35699 { (exit 1); exit 1; }; }
35700
35701 fi
35702
35703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35704
35705 fi
35706
35707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35708 ac_ext=c
35709 ac_cpp='$CPP $CPPFLAGS'
35710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35713
35714 fi
35715
35716
35717 { echo "$as_me:$LINENO: checking for mode_t" >&5
35718 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35719 if test "${ac_cv_type_mode_t+set}" = set; then
35720 echo $ECHO_N "(cached) $ECHO_C" >&6
35721 else
35722 cat >conftest.$ac_ext <<_ACEOF
35723 /* confdefs.h. */
35724 _ACEOF
35725 cat confdefs.h >>conftest.$ac_ext
35726 cat >>conftest.$ac_ext <<_ACEOF
35727 /* end confdefs.h. */
35728 $ac_includes_default
35729 typedef mode_t ac__type_new_;
35730 int
35731 main ()
35732 {
35733 if ((ac__type_new_ *) 0)
35734 return 0;
35735 if (sizeof (ac__type_new_))
35736 return 0;
35737 ;
35738 return 0;
35739 }
35740 _ACEOF
35741 rm -f conftest.$ac_objext
35742 if { (ac_try="$ac_compile"
35743 case "(($ac_try" in
35744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35745 *) ac_try_echo=$ac_try;;
35746 esac
35747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35748 (eval "$ac_compile") 2>conftest.er1
35749 ac_status=$?
35750 grep -v '^ *+' conftest.er1 >conftest.err
35751 rm -f conftest.er1
35752 cat conftest.err >&5
35753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35754 (exit $ac_status); } && {
35755 test -z "$ac_c_werror_flag" ||
35756 test ! -s conftest.err
35757 } && test -s conftest.$ac_objext; then
35758 ac_cv_type_mode_t=yes
35759 else
35760 echo "$as_me: failed program was:" >&5
35761 sed 's/^/| /' conftest.$ac_ext >&5
35762
35763 ac_cv_type_mode_t=no
35764 fi
35765
35766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35767 fi
35768 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35769 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35770 if test $ac_cv_type_mode_t = yes; then
35771 :
35772 else
35773
35774 cat >>confdefs.h <<_ACEOF
35775 #define mode_t int
35776 _ACEOF
35777
35778 fi
35779
35780 { echo "$as_me:$LINENO: checking for off_t" >&5
35781 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35782 if test "${ac_cv_type_off_t+set}" = set; then
35783 echo $ECHO_N "(cached) $ECHO_C" >&6
35784 else
35785 cat >conftest.$ac_ext <<_ACEOF
35786 /* confdefs.h. */
35787 _ACEOF
35788 cat confdefs.h >>conftest.$ac_ext
35789 cat >>conftest.$ac_ext <<_ACEOF
35790 /* end confdefs.h. */
35791 $ac_includes_default
35792 typedef off_t ac__type_new_;
35793 int
35794 main ()
35795 {
35796 if ((ac__type_new_ *) 0)
35797 return 0;
35798 if (sizeof (ac__type_new_))
35799 return 0;
35800 ;
35801 return 0;
35802 }
35803 _ACEOF
35804 rm -f conftest.$ac_objext
35805 if { (ac_try="$ac_compile"
35806 case "(($ac_try" in
35807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35808 *) ac_try_echo=$ac_try;;
35809 esac
35810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35811 (eval "$ac_compile") 2>conftest.er1
35812 ac_status=$?
35813 grep -v '^ *+' conftest.er1 >conftest.err
35814 rm -f conftest.er1
35815 cat conftest.err >&5
35816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35817 (exit $ac_status); } && {
35818 test -z "$ac_c_werror_flag" ||
35819 test ! -s conftest.err
35820 } && test -s conftest.$ac_objext; then
35821 ac_cv_type_off_t=yes
35822 else
35823 echo "$as_me: failed program was:" >&5
35824 sed 's/^/| /' conftest.$ac_ext >&5
35825
35826 ac_cv_type_off_t=no
35827 fi
35828
35829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35830 fi
35831 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35832 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
35833 if test $ac_cv_type_off_t = yes; then
35834 :
35835 else
35836
35837 cat >>confdefs.h <<_ACEOF
35838 #define off_t long int
35839 _ACEOF
35840
35841 fi
35842
35843 { echo "$as_me:$LINENO: checking for pid_t" >&5
35844 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
35845 if test "${ac_cv_type_pid_t+set}" = set; then
35846 echo $ECHO_N "(cached) $ECHO_C" >&6
35847 else
35848 cat >conftest.$ac_ext <<_ACEOF
35849 /* confdefs.h. */
35850 _ACEOF
35851 cat confdefs.h >>conftest.$ac_ext
35852 cat >>conftest.$ac_ext <<_ACEOF
35853 /* end confdefs.h. */
35854 $ac_includes_default
35855 typedef pid_t ac__type_new_;
35856 int
35857 main ()
35858 {
35859 if ((ac__type_new_ *) 0)
35860 return 0;
35861 if (sizeof (ac__type_new_))
35862 return 0;
35863 ;
35864 return 0;
35865 }
35866 _ACEOF
35867 rm -f conftest.$ac_objext
35868 if { (ac_try="$ac_compile"
35869 case "(($ac_try" in
35870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35871 *) ac_try_echo=$ac_try;;
35872 esac
35873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35874 (eval "$ac_compile") 2>conftest.er1
35875 ac_status=$?
35876 grep -v '^ *+' conftest.er1 >conftest.err
35877 rm -f conftest.er1
35878 cat conftest.err >&5
35879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35880 (exit $ac_status); } && {
35881 test -z "$ac_c_werror_flag" ||
35882 test ! -s conftest.err
35883 } && test -s conftest.$ac_objext; then
35884 ac_cv_type_pid_t=yes
35885 else
35886 echo "$as_me: failed program was:" >&5
35887 sed 's/^/| /' conftest.$ac_ext >&5
35888
35889 ac_cv_type_pid_t=no
35890 fi
35891
35892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35893 fi
35894 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35895 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
35896 if test $ac_cv_type_pid_t = yes; then
35897 :
35898 else
35899
35900 cat >>confdefs.h <<_ACEOF
35901 #define pid_t int
35902 _ACEOF
35903
35904 fi
35905
35906 { echo "$as_me:$LINENO: checking for size_t" >&5
35907 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
35908 if test "${ac_cv_type_size_t+set}" = set; then
35909 echo $ECHO_N "(cached) $ECHO_C" >&6
35910 else
35911 cat >conftest.$ac_ext <<_ACEOF
35912 /* confdefs.h. */
35913 _ACEOF
35914 cat confdefs.h >>conftest.$ac_ext
35915 cat >>conftest.$ac_ext <<_ACEOF
35916 /* end confdefs.h. */
35917 $ac_includes_default
35918 typedef size_t ac__type_new_;
35919 int
35920 main ()
35921 {
35922 if ((ac__type_new_ *) 0)
35923 return 0;
35924 if (sizeof (ac__type_new_))
35925 return 0;
35926 ;
35927 return 0;
35928 }
35929 _ACEOF
35930 rm -f conftest.$ac_objext
35931 if { (ac_try="$ac_compile"
35932 case "(($ac_try" in
35933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35934 *) ac_try_echo=$ac_try;;
35935 esac
35936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35937 (eval "$ac_compile") 2>conftest.er1
35938 ac_status=$?
35939 grep -v '^ *+' conftest.er1 >conftest.err
35940 rm -f conftest.er1
35941 cat conftest.err >&5
35942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35943 (exit $ac_status); } && {
35944 test -z "$ac_c_werror_flag" ||
35945 test ! -s conftest.err
35946 } && test -s conftest.$ac_objext; then
35947 ac_cv_type_size_t=yes
35948 else
35949 echo "$as_me: failed program was:" >&5
35950 sed 's/^/| /' conftest.$ac_ext >&5
35951
35952 ac_cv_type_size_t=no
35953 fi
35954
35955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35956 fi
35957 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35958 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35959 if test $ac_cv_type_size_t = yes; then
35960 :
35961 else
35962
35963 cat >>confdefs.h <<_ACEOF
35964 #define size_t unsigned int
35965 _ACEOF
35966
35967 fi
35968
35969
35970 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35971 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35972 if test "${ac_cv_type_ssize_t+set}" = set; then
35973 echo $ECHO_N "(cached) $ECHO_C" >&6
35974 else
35975 cat >conftest.$ac_ext <<_ACEOF
35976 /* confdefs.h. */
35977 _ACEOF
35978 cat confdefs.h >>conftest.$ac_ext
35979 cat >>conftest.$ac_ext <<_ACEOF
35980 /* end confdefs.h. */
35981 $ac_includes_default
35982 typedef ssize_t ac__type_new_;
35983 int
35984 main ()
35985 {
35986 if ((ac__type_new_ *) 0)
35987 return 0;
35988 if (sizeof (ac__type_new_))
35989 return 0;
35990 ;
35991 return 0;
35992 }
35993 _ACEOF
35994 rm -f conftest.$ac_objext
35995 if { (ac_try="$ac_compile"
35996 case "(($ac_try" in
35997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35998 *) ac_try_echo=$ac_try;;
35999 esac
36000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36001 (eval "$ac_compile") 2>conftest.er1
36002 ac_status=$?
36003 grep -v '^ *+' conftest.er1 >conftest.err
36004 rm -f conftest.er1
36005 cat conftest.err >&5
36006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36007 (exit $ac_status); } && {
36008 test -z "$ac_c_werror_flag" ||
36009 test ! -s conftest.err
36010 } && test -s conftest.$ac_objext; then
36011 ac_cv_type_ssize_t=yes
36012 else
36013 echo "$as_me: failed program was:" >&5
36014 sed 's/^/| /' conftest.$ac_ext >&5
36015
36016 ac_cv_type_ssize_t=no
36017 fi
36018
36019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36020 fi
36021 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
36022 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36023 if test $ac_cv_type_ssize_t = yes; then
36024
36025 cat >>confdefs.h <<_ACEOF
36026 #define HAVE_SSIZE_T 1
36027 _ACEOF
36028
36029
36030 fi
36031
36032
36033 ac_ext=cpp
36034 ac_cpp='$CXXCPP $CPPFLAGS'
36035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36038 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
36039 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
36040 if test "${wx_cv_size_t_is_uint+set}" = set; then
36041 echo $ECHO_N "(cached) $ECHO_C" >&6
36042 else
36043
36044 cat >conftest.$ac_ext <<_ACEOF
36045 /* confdefs.h. */
36046 _ACEOF
36047 cat confdefs.h >>conftest.$ac_ext
36048 cat >>conftest.$ac_ext <<_ACEOF
36049 /* end confdefs.h. */
36050 #include <stddef.h>
36051 int
36052 main ()
36053 {
36054
36055 return 0; }
36056
36057 struct Foo { void foo(size_t); void foo(unsigned int); };
36058
36059 int bar() {
36060
36061 ;
36062 return 0;
36063 }
36064 _ACEOF
36065 rm -f conftest.$ac_objext
36066 if { (ac_try="$ac_compile"
36067 case "(($ac_try" in
36068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36069 *) ac_try_echo=$ac_try;;
36070 esac
36071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36072 (eval "$ac_compile") 2>conftest.er1
36073 ac_status=$?
36074 grep -v '^ *+' conftest.er1 >conftest.err
36075 rm -f conftest.er1
36076 cat conftest.err >&5
36077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36078 (exit $ac_status); } && {
36079 test -z "$ac_cxx_werror_flag" ||
36080 test ! -s conftest.err
36081 } && test -s conftest.$ac_objext; then
36082 wx_cv_size_t_is_uint=no
36083 else
36084 echo "$as_me: failed program was:" >&5
36085 sed 's/^/| /' conftest.$ac_ext >&5
36086
36087 wx_cv_size_t_is_uint=yes
36088
36089 fi
36090
36091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36092
36093
36094 fi
36095 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
36096 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
36097
36098 if test "$wx_cv_size_t_is_uint" = "yes"; then
36099 cat >>confdefs.h <<\_ACEOF
36100 #define wxSIZE_T_IS_UINT 1
36101 _ACEOF
36102
36103 else
36104 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
36105 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
36106 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36107 echo $ECHO_N "(cached) $ECHO_C" >&6
36108 else
36109 cat >conftest.$ac_ext <<_ACEOF
36110 /* confdefs.h. */
36111 _ACEOF
36112 cat confdefs.h >>conftest.$ac_ext
36113 cat >>conftest.$ac_ext <<_ACEOF
36114 /* end confdefs.h. */
36115 #include <stddef.h>
36116 int
36117 main ()
36118 {
36119
36120 return 0; }
36121
36122 struct Foo { void foo(size_t); void foo(unsigned long); };
36123
36124 int bar() {
36125
36126 ;
36127 return 0;
36128 }
36129 _ACEOF
36130 rm -f conftest.$ac_objext
36131 if { (ac_try="$ac_compile"
36132 case "(($ac_try" in
36133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36134 *) ac_try_echo=$ac_try;;
36135 esac
36136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36137 (eval "$ac_compile") 2>conftest.er1
36138 ac_status=$?
36139 grep -v '^ *+' conftest.er1 >conftest.err
36140 rm -f conftest.er1
36141 cat conftest.err >&5
36142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36143 (exit $ac_status); } && {
36144 test -z "$ac_cxx_werror_flag" ||
36145 test ! -s conftest.err
36146 } && test -s conftest.$ac_objext; then
36147 wx_cv_size_t_is_ulong=no
36148 else
36149 echo "$as_me: failed program was:" >&5
36150 sed 's/^/| /' conftest.$ac_ext >&5
36151
36152 wx_cv_size_t_is_ulong=yes
36153
36154 fi
36155
36156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36157
36158 fi
36159 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
36160 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
36161
36162 if test "$wx_cv_size_t_is_ulong" = "yes"; then
36163 cat >>confdefs.h <<\_ACEOF
36164 #define wxSIZE_T_IS_ULONG 1
36165 _ACEOF
36166
36167 fi
36168 fi
36169
36170 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
36171 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
36172 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
36173 echo $ECHO_N "(cached) $ECHO_C" >&6
36174 else
36175 cat >conftest.$ac_ext <<_ACEOF
36176 /* confdefs.h. */
36177 _ACEOF
36178 cat confdefs.h >>conftest.$ac_ext
36179 cat >>conftest.$ac_ext <<_ACEOF
36180 /* end confdefs.h. */
36181 #include <wchar.h>
36182 int
36183 main ()
36184 {
36185
36186 return 0; }
36187
36188 struct Foo { void foo(wchar_t);
36189 void foo(unsigned short);
36190 void foo(unsigned int);
36191 void foo(unsigned long); };
36192
36193 int bar() {
36194
36195 ;
36196 return 0;
36197 }
36198 _ACEOF
36199 rm -f conftest.$ac_objext
36200 if { (ac_try="$ac_compile"
36201 case "(($ac_try" in
36202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36203 *) ac_try_echo=$ac_try;;
36204 esac
36205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36206 (eval "$ac_compile") 2>conftest.er1
36207 ac_status=$?
36208 grep -v '^ *+' conftest.er1 >conftest.err
36209 rm -f conftest.er1
36210 cat conftest.err >&5
36211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36212 (exit $ac_status); } && {
36213 test -z "$ac_cxx_werror_flag" ||
36214 test ! -s conftest.err
36215 } && test -s conftest.$ac_objext; then
36216 wx_cv_wchar_t_is_separate_type=yes
36217 else
36218 echo "$as_me: failed program was:" >&5
36219 sed 's/^/| /' conftest.$ac_ext >&5
36220
36221 wx_cv_wchar_t_is_separate_type=no
36222
36223 fi
36224
36225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36226
36227 fi
36228 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
36229 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
36230
36231 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
36232 cat >>confdefs.h <<\_ACEOF
36233 #define wxWCHAR_T_IS_REAL_TYPE 1
36234 _ACEOF
36235
36236 else
36237 cat >>confdefs.h <<\_ACEOF
36238 #define wxWCHAR_T_IS_REAL_TYPE 0
36239 _ACEOF
36240
36241 fi
36242
36243 ac_ext=c
36244 ac_cpp='$CPP $CPPFLAGS'
36245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36248
36249
36250 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
36251 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
36252 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36253 echo $ECHO_N "(cached) $ECHO_C" >&6
36254 else
36255
36256 cat >conftest.$ac_ext <<_ACEOF
36257 /* confdefs.h. */
36258 _ACEOF
36259 cat confdefs.h >>conftest.$ac_ext
36260 cat >>conftest.$ac_ext <<_ACEOF
36261 /* end confdefs.h. */
36262 #include <pwd.h>
36263 int
36264 main ()
36265 {
36266
36267 char *p;
36268 struct passwd *pw;
36269 p = pw->pw_gecos;
36270
36271 ;
36272 return 0;
36273 }
36274 _ACEOF
36275 rm -f conftest.$ac_objext
36276 if { (ac_try="$ac_compile"
36277 case "(($ac_try" in
36278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36279 *) ac_try_echo=$ac_try;;
36280 esac
36281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36282 (eval "$ac_compile") 2>conftest.er1
36283 ac_status=$?
36284 grep -v '^ *+' conftest.er1 >conftest.err
36285 rm -f conftest.er1
36286 cat conftest.err >&5
36287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36288 (exit $ac_status); } && {
36289 test -z "$ac_c_werror_flag" ||
36290 test ! -s conftest.err
36291 } && test -s conftest.$ac_objext; then
36292
36293 wx_cv_struct_pw_gecos=yes
36294
36295 else
36296 echo "$as_me: failed program was:" >&5
36297 sed 's/^/| /' conftest.$ac_ext >&5
36298
36299
36300 wx_cv_struct_pw_gecos=no
36301
36302
36303 fi
36304
36305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36306
36307
36308 fi
36309 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
36310 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
36311
36312 if test "$wx_cv_struct_pw_gecos" = "yes"; then
36313 cat >>confdefs.h <<\_ACEOF
36314 #define HAVE_PW_GECOS 1
36315 _ACEOF
36316
36317 fi
36318
36319
36320 WCSLEN_FOUND=0
36321 WCHAR_LINK=
36322
36323 for ac_func in wcslen
36324 do
36325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36326 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36328 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36329 echo $ECHO_N "(cached) $ECHO_C" >&6
36330 else
36331 cat >conftest.$ac_ext <<_ACEOF
36332 /* confdefs.h. */
36333 _ACEOF
36334 cat confdefs.h >>conftest.$ac_ext
36335 cat >>conftest.$ac_ext <<_ACEOF
36336 /* end confdefs.h. */
36337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36339 #define $ac_func innocuous_$ac_func
36340
36341 /* System header to define __stub macros and hopefully few prototypes,
36342 which can conflict with char $ac_func (); below.
36343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36344 <limits.h> exists even on freestanding compilers. */
36345
36346 #ifdef __STDC__
36347 # include <limits.h>
36348 #else
36349 # include <assert.h>
36350 #endif
36351
36352 #undef $ac_func
36353
36354 /* Override any GCC internal prototype to avoid an error.
36355 Use char because int might match the return type of a GCC
36356 builtin and then its argument prototype would still apply. */
36357 #ifdef __cplusplus
36358 extern "C"
36359 #endif
36360 char $ac_func ();
36361 /* The GNU C library defines this for functions which it implements
36362 to always fail with ENOSYS. Some functions are actually named
36363 something starting with __ and the normal name is an alias. */
36364 #if defined __stub_$ac_func || defined __stub___$ac_func
36365 choke me
36366 #endif
36367
36368 int
36369 main ()
36370 {
36371 return $ac_func ();
36372 ;
36373 return 0;
36374 }
36375 _ACEOF
36376 rm -f conftest.$ac_objext conftest$ac_exeext
36377 if { (ac_try="$ac_link"
36378 case "(($ac_try" in
36379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36380 *) ac_try_echo=$ac_try;;
36381 esac
36382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36383 (eval "$ac_link") 2>conftest.er1
36384 ac_status=$?
36385 grep -v '^ *+' conftest.er1 >conftest.err
36386 rm -f conftest.er1
36387 cat conftest.err >&5
36388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36389 (exit $ac_status); } && {
36390 test -z "$ac_c_werror_flag" ||
36391 test ! -s conftest.err
36392 } && test -s conftest$ac_exeext &&
36393 $as_test_x conftest$ac_exeext; then
36394 eval "$as_ac_var=yes"
36395 else
36396 echo "$as_me: failed program was:" >&5
36397 sed 's/^/| /' conftest.$ac_ext >&5
36398
36399 eval "$as_ac_var=no"
36400 fi
36401
36402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36403 conftest$ac_exeext conftest.$ac_ext
36404 fi
36405 ac_res=`eval echo '${'$as_ac_var'}'`
36406 { echo "$as_me:$LINENO: result: $ac_res" >&5
36407 echo "${ECHO_T}$ac_res" >&6; }
36408 if test `eval echo '${'$as_ac_var'}'` = yes; then
36409 cat >>confdefs.h <<_ACEOF
36410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36411 _ACEOF
36412 WCSLEN_FOUND=1
36413 fi
36414 done
36415
36416
36417 if test "$WCSLEN_FOUND" = 0; then
36418 if test "$TOOLKIT" = "MSW"; then
36419 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
36420 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
36421 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
36422 echo $ECHO_N "(cached) $ECHO_C" >&6
36423 else
36424 ac_check_lib_save_LIBS=$LIBS
36425 LIBS="-lmsvcrt $LIBS"
36426 cat >conftest.$ac_ext <<_ACEOF
36427 /* confdefs.h. */
36428 _ACEOF
36429 cat confdefs.h >>conftest.$ac_ext
36430 cat >>conftest.$ac_ext <<_ACEOF
36431 /* end confdefs.h. */
36432
36433 /* Override any GCC internal prototype to avoid an error.
36434 Use char because int might match the return type of a GCC
36435 builtin and then its argument prototype would still apply. */
36436 #ifdef __cplusplus
36437 extern "C"
36438 #endif
36439 char wcslen ();
36440 int
36441 main ()
36442 {
36443 return wcslen ();
36444 ;
36445 return 0;
36446 }
36447 _ACEOF
36448 rm -f conftest.$ac_objext conftest$ac_exeext
36449 if { (ac_try="$ac_link"
36450 case "(($ac_try" in
36451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36452 *) ac_try_echo=$ac_try;;
36453 esac
36454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36455 (eval "$ac_link") 2>conftest.er1
36456 ac_status=$?
36457 grep -v '^ *+' conftest.er1 >conftest.err
36458 rm -f conftest.er1
36459 cat conftest.err >&5
36460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36461 (exit $ac_status); } && {
36462 test -z "$ac_c_werror_flag" ||
36463 test ! -s conftest.err
36464 } && test -s conftest$ac_exeext &&
36465 $as_test_x conftest$ac_exeext; then
36466 ac_cv_lib_msvcrt_wcslen=yes
36467 else
36468 echo "$as_me: failed program was:" >&5
36469 sed 's/^/| /' conftest.$ac_ext >&5
36470
36471 ac_cv_lib_msvcrt_wcslen=no
36472 fi
36473
36474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36475 conftest$ac_exeext conftest.$ac_ext
36476 LIBS=$ac_check_lib_save_LIBS
36477 fi
36478 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
36479 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
36480 if test $ac_cv_lib_msvcrt_wcslen = yes; then
36481 WCHAR_OK=1
36482 fi
36483
36484 else
36485 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
36486 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
36487 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36488 echo $ECHO_N "(cached) $ECHO_C" >&6
36489 else
36490 ac_check_lib_save_LIBS=$LIBS
36491 LIBS="-lw $LIBS"
36492 cat >conftest.$ac_ext <<_ACEOF
36493 /* confdefs.h. */
36494 _ACEOF
36495 cat confdefs.h >>conftest.$ac_ext
36496 cat >>conftest.$ac_ext <<_ACEOF
36497 /* end confdefs.h. */
36498
36499 /* Override any GCC internal prototype to avoid an error.
36500 Use char because int might match the return type of a GCC
36501 builtin and then its argument prototype would still apply. */
36502 #ifdef __cplusplus
36503 extern "C"
36504 #endif
36505 char wcslen ();
36506 int
36507 main ()
36508 {
36509 return wcslen ();
36510 ;
36511 return 0;
36512 }
36513 _ACEOF
36514 rm -f conftest.$ac_objext conftest$ac_exeext
36515 if { (ac_try="$ac_link"
36516 case "(($ac_try" in
36517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36518 *) ac_try_echo=$ac_try;;
36519 esac
36520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36521 (eval "$ac_link") 2>conftest.er1
36522 ac_status=$?
36523 grep -v '^ *+' conftest.er1 >conftest.err
36524 rm -f conftest.er1
36525 cat conftest.err >&5
36526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36527 (exit $ac_status); } && {
36528 test -z "$ac_c_werror_flag" ||
36529 test ! -s conftest.err
36530 } && test -s conftest$ac_exeext &&
36531 $as_test_x conftest$ac_exeext; then
36532 ac_cv_lib_w_wcslen=yes
36533 else
36534 echo "$as_me: failed program was:" >&5
36535 sed 's/^/| /' conftest.$ac_ext >&5
36536
36537 ac_cv_lib_w_wcslen=no
36538 fi
36539
36540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36541 conftest$ac_exeext conftest.$ac_ext
36542 LIBS=$ac_check_lib_save_LIBS
36543 fi
36544 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36545 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36546 if test $ac_cv_lib_w_wcslen = yes; then
36547
36548 WCHAR_LINK=" -lw"
36549 WCSLEN_FOUND=1
36550
36551 fi
36552
36553 fi
36554 fi
36555
36556 if test "$WCSLEN_FOUND" = 1; then
36557 cat >>confdefs.h <<\_ACEOF
36558 #define HAVE_WCSLEN 1
36559 _ACEOF
36560
36561 fi
36562
36563
36564
36565
36566
36567
36568
36569 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
36570 do
36571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36572 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36574 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36575 echo $ECHO_N "(cached) $ECHO_C" >&6
36576 else
36577 cat >conftest.$ac_ext <<_ACEOF
36578 /* confdefs.h. */
36579 _ACEOF
36580 cat confdefs.h >>conftest.$ac_ext
36581 cat >>conftest.$ac_ext <<_ACEOF
36582 /* end confdefs.h. */
36583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36585 #define $ac_func innocuous_$ac_func
36586
36587 /* System header to define __stub macros and hopefully few prototypes,
36588 which can conflict with char $ac_func (); below.
36589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36590 <limits.h> exists even on freestanding compilers. */
36591
36592 #ifdef __STDC__
36593 # include <limits.h>
36594 #else
36595 # include <assert.h>
36596 #endif
36597
36598 #undef $ac_func
36599
36600 /* Override any GCC internal prototype to avoid an error.
36601 Use char because int might match the return type of a GCC
36602 builtin and then its argument prototype would still apply. */
36603 #ifdef __cplusplus
36604 extern "C"
36605 #endif
36606 char $ac_func ();
36607 /* The GNU C library defines this for functions which it implements
36608 to always fail with ENOSYS. Some functions are actually named
36609 something starting with __ and the normal name is an alias. */
36610 #if defined __stub_$ac_func || defined __stub___$ac_func
36611 choke me
36612 #endif
36613
36614 int
36615 main ()
36616 {
36617 return $ac_func ();
36618 ;
36619 return 0;
36620 }
36621 _ACEOF
36622 rm -f conftest.$ac_objext conftest$ac_exeext
36623 if { (ac_try="$ac_link"
36624 case "(($ac_try" in
36625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36626 *) ac_try_echo=$ac_try;;
36627 esac
36628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36629 (eval "$ac_link") 2>conftest.er1
36630 ac_status=$?
36631 grep -v '^ *+' conftest.er1 >conftest.err
36632 rm -f conftest.er1
36633 cat conftest.err >&5
36634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36635 (exit $ac_status); } && {
36636 test -z "$ac_c_werror_flag" ||
36637 test ! -s conftest.err
36638 } && test -s conftest$ac_exeext &&
36639 $as_test_x conftest$ac_exeext; then
36640 eval "$as_ac_var=yes"
36641 else
36642 echo "$as_me: failed program was:" >&5
36643 sed 's/^/| /' conftest.$ac_ext >&5
36644
36645 eval "$as_ac_var=no"
36646 fi
36647
36648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36649 conftest$ac_exeext conftest.$ac_ext
36650 fi
36651 ac_res=`eval echo '${'$as_ac_var'}'`
36652 { echo "$as_me:$LINENO: result: $ac_res" >&5
36653 echo "${ECHO_T}$ac_res" >&6; }
36654 if test `eval echo '${'$as_ac_var'}'` = yes; then
36655 cat >>confdefs.h <<_ACEOF
36656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36657 _ACEOF
36658
36659 fi
36660 done
36661
36662
36663 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36664 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36665 fi
36666
36667 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36668 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36669 if test "${ac_cv_type_mbstate_t+set}" = set; then
36670 echo $ECHO_N "(cached) $ECHO_C" >&6
36671 else
36672 cat >conftest.$ac_ext <<_ACEOF
36673 /* confdefs.h. */
36674 _ACEOF
36675 cat confdefs.h >>conftest.$ac_ext
36676 cat >>conftest.$ac_ext <<_ACEOF
36677 /* end confdefs.h. */
36678 #include <wchar.h>
36679
36680 typedef mbstate_t ac__type_new_;
36681 int
36682 main ()
36683 {
36684 if ((ac__type_new_ *) 0)
36685 return 0;
36686 if (sizeof (ac__type_new_))
36687 return 0;
36688 ;
36689 return 0;
36690 }
36691 _ACEOF
36692 rm -f conftest.$ac_objext
36693 if { (ac_try="$ac_compile"
36694 case "(($ac_try" in
36695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36696 *) ac_try_echo=$ac_try;;
36697 esac
36698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36699 (eval "$ac_compile") 2>conftest.er1
36700 ac_status=$?
36701 grep -v '^ *+' conftest.er1 >conftest.err
36702 rm -f conftest.er1
36703 cat conftest.err >&5
36704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36705 (exit $ac_status); } && {
36706 test -z "$ac_c_werror_flag" ||
36707 test ! -s conftest.err
36708 } && test -s conftest.$ac_objext; then
36709 ac_cv_type_mbstate_t=yes
36710 else
36711 echo "$as_me: failed program was:" >&5
36712 sed 's/^/| /' conftest.$ac_ext >&5
36713
36714 ac_cv_type_mbstate_t=no
36715 fi
36716
36717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36718 fi
36719 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36720 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36721 if test $ac_cv_type_mbstate_t = yes; then
36722
36723 cat >>confdefs.h <<_ACEOF
36724 #define HAVE_MBSTATE_T 1
36725 _ACEOF
36726
36727
36728 for ac_func in wcsrtombs
36729 do
36730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36731 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36733 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36734 echo $ECHO_N "(cached) $ECHO_C" >&6
36735 else
36736 cat >conftest.$ac_ext <<_ACEOF
36737 /* confdefs.h. */
36738 _ACEOF
36739 cat confdefs.h >>conftest.$ac_ext
36740 cat >>conftest.$ac_ext <<_ACEOF
36741 /* end confdefs.h. */
36742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36744 #define $ac_func innocuous_$ac_func
36745
36746 /* System header to define __stub macros and hopefully few prototypes,
36747 which can conflict with char $ac_func (); below.
36748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36749 <limits.h> exists even on freestanding compilers. */
36750
36751 #ifdef __STDC__
36752 # include <limits.h>
36753 #else
36754 # include <assert.h>
36755 #endif
36756
36757 #undef $ac_func
36758
36759 /* Override any GCC internal prototype to avoid an error.
36760 Use char because int might match the return type of a GCC
36761 builtin and then its argument prototype would still apply. */
36762 #ifdef __cplusplus
36763 extern "C"
36764 #endif
36765 char $ac_func ();
36766 /* The GNU C library defines this for functions which it implements
36767 to always fail with ENOSYS. Some functions are actually named
36768 something starting with __ and the normal name is an alias. */
36769 #if defined __stub_$ac_func || defined __stub___$ac_func
36770 choke me
36771 #endif
36772
36773 int
36774 main ()
36775 {
36776 return $ac_func ();
36777 ;
36778 return 0;
36779 }
36780 _ACEOF
36781 rm -f conftest.$ac_objext conftest$ac_exeext
36782 if { (ac_try="$ac_link"
36783 case "(($ac_try" in
36784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36785 *) ac_try_echo=$ac_try;;
36786 esac
36787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36788 (eval "$ac_link") 2>conftest.er1
36789 ac_status=$?
36790 grep -v '^ *+' conftest.er1 >conftest.err
36791 rm -f conftest.er1
36792 cat conftest.err >&5
36793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36794 (exit $ac_status); } && {
36795 test -z "$ac_c_werror_flag" ||
36796 test ! -s conftest.err
36797 } && test -s conftest$ac_exeext &&
36798 $as_test_x conftest$ac_exeext; then
36799 eval "$as_ac_var=yes"
36800 else
36801 echo "$as_me: failed program was:" >&5
36802 sed 's/^/| /' conftest.$ac_ext >&5
36803
36804 eval "$as_ac_var=no"
36805 fi
36806
36807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36808 conftest$ac_exeext conftest.$ac_ext
36809 fi
36810 ac_res=`eval echo '${'$as_ac_var'}'`
36811 { echo "$as_me:$LINENO: result: $ac_res" >&5
36812 echo "${ECHO_T}$ac_res" >&6; }
36813 if test `eval echo '${'$as_ac_var'}'` = yes; then
36814 cat >>confdefs.h <<_ACEOF
36815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36816 _ACEOF
36817
36818 fi
36819 done
36820
36821 fi
36822
36823
36824
36825
36826
36827 for ac_func in snprintf vsnprintf vsscanf
36828 do
36829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36830 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36832 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36833 echo $ECHO_N "(cached) $ECHO_C" >&6
36834 else
36835 cat >conftest.$ac_ext <<_ACEOF
36836 /* confdefs.h. */
36837 _ACEOF
36838 cat confdefs.h >>conftest.$ac_ext
36839 cat >>conftest.$ac_ext <<_ACEOF
36840 /* end confdefs.h. */
36841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36843 #define $ac_func innocuous_$ac_func
36844
36845 /* System header to define __stub macros and hopefully few prototypes,
36846 which can conflict with char $ac_func (); below.
36847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36848 <limits.h> exists even on freestanding compilers. */
36849
36850 #ifdef __STDC__
36851 # include <limits.h>
36852 #else
36853 # include <assert.h>
36854 #endif
36855
36856 #undef $ac_func
36857
36858 /* Override any GCC internal prototype to avoid an error.
36859 Use char because int might match the return type of a GCC
36860 builtin and then its argument prototype would still apply. */
36861 #ifdef __cplusplus
36862 extern "C"
36863 #endif
36864 char $ac_func ();
36865 /* The GNU C library defines this for functions which it implements
36866 to always fail with ENOSYS. Some functions are actually named
36867 something starting with __ and the normal name is an alias. */
36868 #if defined __stub_$ac_func || defined __stub___$ac_func
36869 choke me
36870 #endif
36871
36872 int
36873 main ()
36874 {
36875 return $ac_func ();
36876 ;
36877 return 0;
36878 }
36879 _ACEOF
36880 rm -f conftest.$ac_objext conftest$ac_exeext
36881 if { (ac_try="$ac_link"
36882 case "(($ac_try" in
36883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36884 *) ac_try_echo=$ac_try;;
36885 esac
36886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36887 (eval "$ac_link") 2>conftest.er1
36888 ac_status=$?
36889 grep -v '^ *+' conftest.er1 >conftest.err
36890 rm -f conftest.er1
36891 cat conftest.err >&5
36892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36893 (exit $ac_status); } && {
36894 test -z "$ac_c_werror_flag" ||
36895 test ! -s conftest.err
36896 } && test -s conftest$ac_exeext &&
36897 $as_test_x conftest$ac_exeext; then
36898 eval "$as_ac_var=yes"
36899 else
36900 echo "$as_me: failed program was:" >&5
36901 sed 's/^/| /' conftest.$ac_ext >&5
36902
36903 eval "$as_ac_var=no"
36904 fi
36905
36906 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36907 conftest$ac_exeext conftest.$ac_ext
36908 fi
36909 ac_res=`eval echo '${'$as_ac_var'}'`
36910 { echo "$as_me:$LINENO: result: $ac_res" >&5
36911 echo "${ECHO_T}$ac_res" >&6; }
36912 if test `eval echo '${'$as_ac_var'}'` = yes; then
36913 cat >>confdefs.h <<_ACEOF
36914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36915 _ACEOF
36916
36917 fi
36918 done
36919
36920
36921 ac_ext=cpp
36922 ac_cpp='$CXXCPP $CPPFLAGS'
36923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36926
36927 if test "$ac_cv_func_vsnprintf" = "yes"; then
36928 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36929 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36930 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36931 echo $ECHO_N "(cached) $ECHO_C" >&6
36932 else
36933
36934 cat >conftest.$ac_ext <<_ACEOF
36935 /* confdefs.h. */
36936 _ACEOF
36937 cat confdefs.h >>conftest.$ac_ext
36938 cat >>conftest.$ac_ext <<_ACEOF
36939 /* end confdefs.h. */
36940
36941 #include <stdio.h>
36942 #include <stdarg.h>
36943 #ifdef __MSL__
36944 #if __MSL__ >= 0x6000
36945 namespace std {}
36946 using namespace std;
36947 #endif
36948 #endif
36949
36950 int
36951 main ()
36952 {
36953
36954 char *buf;
36955 va_list ap;
36956 vsnprintf(buf, 10u, "%s", ap);
36957
36958 ;
36959 return 0;
36960 }
36961 _ACEOF
36962 rm -f conftest.$ac_objext
36963 if { (ac_try="$ac_compile"
36964 case "(($ac_try" in
36965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36966 *) ac_try_echo=$ac_try;;
36967 esac
36968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36969 (eval "$ac_compile") 2>conftest.er1
36970 ac_status=$?
36971 grep -v '^ *+' conftest.er1 >conftest.err
36972 rm -f conftest.er1
36973 cat conftest.err >&5
36974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36975 (exit $ac_status); } && {
36976 test -z "$ac_cxx_werror_flag" ||
36977 test ! -s conftest.err
36978 } && test -s conftest.$ac_objext; then
36979 wx_cv_func_vsnprintf_decl=yes
36980 else
36981 echo "$as_me: failed program was:" >&5
36982 sed 's/^/| /' conftest.$ac_ext >&5
36983
36984 wx_cv_func_vsnprintf_decl=no
36985
36986 fi
36987
36988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36989
36990
36991 fi
36992 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36993 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36994
36995 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36996 cat >>confdefs.h <<\_ACEOF
36997 #define HAVE_VSNPRINTF_DECL 1
36998 _ACEOF
36999
37000
37001 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37002 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
37003 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37004 echo $ECHO_N "(cached) $ECHO_C" >&6
37005 else
37006
37007 cat >conftest.$ac_ext <<_ACEOF
37008 /* confdefs.h. */
37009 _ACEOF
37010 cat confdefs.h >>conftest.$ac_ext
37011 cat >>conftest.$ac_ext <<_ACEOF
37012 /* end confdefs.h. */
37013
37014 #include <stdio.h>
37015 #include <stdarg.h>
37016 #ifdef __MSL__
37017 #if __MSL__ >= 0x6000
37018 namespace std {}
37019 using namespace std;
37020 #endif
37021 #endif
37022
37023 int
37024 main ()
37025 {
37026
37027 char *buf;
37028 va_list ap;
37029 const char *fmt = "%s";
37030 vsnprintf(buf, 10u, fmt, ap);
37031
37032 ;
37033 return 0;
37034 }
37035 _ACEOF
37036 rm -f conftest.$ac_objext
37037 if { (ac_try="$ac_compile"
37038 case "(($ac_try" in
37039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37040 *) ac_try_echo=$ac_try;;
37041 esac
37042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37043 (eval "$ac_compile") 2>conftest.er1
37044 ac_status=$?
37045 grep -v '^ *+' conftest.er1 >conftest.err
37046 rm -f conftest.er1
37047 cat conftest.err >&5
37048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37049 (exit $ac_status); } && {
37050 test -z "$ac_cxx_werror_flag" ||
37051 test ! -s conftest.err
37052 } && test -s conftest.$ac_objext; then
37053 wx_cv_func_broken_vsnprintf_decl=no
37054 else
37055 echo "$as_me: failed program was:" >&5
37056 sed 's/^/| /' conftest.$ac_ext >&5
37057
37058 wx_cv_func_broken_vsnprintf_decl=yes
37059
37060 fi
37061
37062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37063
37064
37065 fi
37066 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
37067 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
37068
37069 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37070 cat >>confdefs.h <<\_ACEOF
37071 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37072 _ACEOF
37073
37074 fi
37075 fi
37076 fi
37077
37078 if test "$ac_cv_func_snprintf" = "yes"; then
37079 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
37080 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
37081 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37082 echo $ECHO_N "(cached) $ECHO_C" >&6
37083 else
37084
37085 cat >conftest.$ac_ext <<_ACEOF
37086 /* confdefs.h. */
37087 _ACEOF
37088 cat confdefs.h >>conftest.$ac_ext
37089 cat >>conftest.$ac_ext <<_ACEOF
37090 /* end confdefs.h. */
37091
37092 #include <stdio.h>
37093 #include <stdarg.h>
37094 #ifdef __MSL__
37095 #if __MSL__ >= 0x6000
37096 namespace std {}
37097 using namespace std;
37098 #endif
37099 #endif
37100
37101 int
37102 main ()
37103 {
37104
37105 char *buf;
37106 snprintf(buf, 10u, "%s", "wx");
37107
37108 ;
37109 return 0;
37110 }
37111 _ACEOF
37112 rm -f conftest.$ac_objext
37113 if { (ac_try="$ac_compile"
37114 case "(($ac_try" in
37115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37116 *) ac_try_echo=$ac_try;;
37117 esac
37118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37119 (eval "$ac_compile") 2>conftest.er1
37120 ac_status=$?
37121 grep -v '^ *+' conftest.er1 >conftest.err
37122 rm -f conftest.er1
37123 cat conftest.err >&5
37124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37125 (exit $ac_status); } && {
37126 test -z "$ac_cxx_werror_flag" ||
37127 test ! -s conftest.err
37128 } && test -s conftest.$ac_objext; then
37129 wx_cv_func_snprintf_decl=yes
37130 else
37131 echo "$as_me: failed program was:" >&5
37132 sed 's/^/| /' conftest.$ac_ext >&5
37133
37134 wx_cv_func_snprintf_decl=no
37135
37136 fi
37137
37138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37139
37140
37141 fi
37142 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
37143 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
37144
37145 if test "$wx_cv_func_snprintf_decl" = "yes"; then
37146 cat >>confdefs.h <<\_ACEOF
37147 #define HAVE_SNPRINTF_DECL 1
37148 _ACEOF
37149
37150 fi
37151
37152 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37153
37154 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
37155 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
37156 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37157 echo $ECHO_N "(cached) $ECHO_C" >&6
37158 else
37159
37160 if test "$cross_compiling" = yes; then
37161
37162 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
37163 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
37164 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
37165 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
37166 wx_cv_func_snprintf_pos_params=no
37167
37168
37169 else
37170 cat >conftest.$ac_ext <<_ACEOF
37171 /* confdefs.h. */
37172 _ACEOF
37173 cat confdefs.h >>conftest.$ac_ext
37174 cat >>conftest.$ac_ext <<_ACEOF
37175 /* end confdefs.h. */
37176
37177 #include <stdio.h>
37178
37179 int main (void)
37180 {
37181 char buffer[128];
37182 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37183 if (strcmp ("2 3 1", buffer) == 0)
37184 exit (0);
37185 exit (1);
37186 }
37187
37188 _ACEOF
37189 rm -f conftest$ac_exeext
37190 if { (ac_try="$ac_link"
37191 case "(($ac_try" in
37192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37193 *) ac_try_echo=$ac_try;;
37194 esac
37195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37196 (eval "$ac_link") 2>&5
37197 ac_status=$?
37198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37199 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37200 { (case "(($ac_try" in
37201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37202 *) ac_try_echo=$ac_try;;
37203 esac
37204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37205 (eval "$ac_try") 2>&5
37206 ac_status=$?
37207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37208 (exit $ac_status); }; }; then
37209 wx_cv_func_snprintf_pos_params=no
37210 else
37211 echo "$as_me: program exited with status $ac_status" >&5
37212 echo "$as_me: failed program was:" >&5
37213 sed 's/^/| /' conftest.$ac_ext >&5
37214
37215 ( exit $ac_status )
37216 wx_cv_func_snprintf_pos_params=yes
37217 fi
37218 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37219 fi
37220
37221
37222
37223
37224 fi
37225 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
37226 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
37227
37228 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
37229 cat >>confdefs.h <<\_ACEOF
37230 #define HAVE_UNIX98_PRINTF 1
37231 _ACEOF
37232
37233 fi
37234 fi
37235 fi
37236
37237 if test "$ac_cv_func_vsscanf" = "yes"; then
37238 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
37239 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
37240 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
37241 echo $ECHO_N "(cached) $ECHO_C" >&6
37242 else
37243
37244 cat >conftest.$ac_ext <<_ACEOF
37245 /* confdefs.h. */
37246 _ACEOF
37247 cat confdefs.h >>conftest.$ac_ext
37248 cat >>conftest.$ac_ext <<_ACEOF
37249 /* end confdefs.h. */
37250
37251 #include <stdio.h>
37252 #include <stdarg.h>
37253 #ifdef __MSL__
37254 #if __MSL__ >= 0x6000
37255 namespace std {}
37256 using namespace std;
37257 #endif
37258 #endif
37259
37260 int
37261 main ()
37262 {
37263
37264 char *buf;
37265 va_list args;
37266 vsscanf(buf, "%s", args);
37267
37268 ;
37269 return 0;
37270 }
37271 _ACEOF
37272 rm -f conftest.$ac_objext
37273 if { (ac_try="$ac_compile"
37274 case "(($ac_try" in
37275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37276 *) ac_try_echo=$ac_try;;
37277 esac
37278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37279 (eval "$ac_compile") 2>conftest.er1
37280 ac_status=$?
37281 grep -v '^ *+' conftest.er1 >conftest.err
37282 rm -f conftest.er1
37283 cat conftest.err >&5
37284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37285 (exit $ac_status); } && {
37286 test -z "$ac_cxx_werror_flag" ||
37287 test ! -s conftest.err
37288 } && test -s conftest.$ac_objext; then
37289 wx_cv_func_vsscanf_decl=yes
37290 else
37291 echo "$as_me: failed program was:" >&5
37292 sed 's/^/| /' conftest.$ac_ext >&5
37293
37294 wx_cv_func_vsscanf_decl=no
37295
37296 fi
37297
37298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37299
37300
37301 fi
37302 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
37303 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
37304
37305 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
37306 cat >>confdefs.h <<\_ACEOF
37307 #define HAVE_VSSCANF_DECL 1
37308 _ACEOF
37309
37310 fi
37311 fi
37312 ac_ext=c
37313 ac_cpp='$CPP $CPPFLAGS'
37314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37317
37318
37319 if test "$wxUSE_UNICODE" = yes; then
37320
37321 wchar_headers="#include <stdio.h>
37322 #include <wchar.h>"
37323 case "${host}" in
37324 *-*-solaris2* )
37325
37326 for ac_header in widec.h
37327 do
37328 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37329 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37331 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37332 echo $ECHO_N "(cached) $ECHO_C" >&6
37333 else
37334 cat >conftest.$ac_ext <<_ACEOF
37335 /* confdefs.h. */
37336 _ACEOF
37337 cat confdefs.h >>conftest.$ac_ext
37338 cat >>conftest.$ac_ext <<_ACEOF
37339 /* end confdefs.h. */
37340 $ac_includes_default
37341
37342 #include <$ac_header>
37343 _ACEOF
37344 rm -f conftest.$ac_objext
37345 if { (ac_try="$ac_compile"
37346 case "(($ac_try" in
37347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37348 *) ac_try_echo=$ac_try;;
37349 esac
37350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37351 (eval "$ac_compile") 2>conftest.er1
37352 ac_status=$?
37353 grep -v '^ *+' conftest.er1 >conftest.err
37354 rm -f conftest.er1
37355 cat conftest.err >&5
37356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37357 (exit $ac_status); } && {
37358 test -z "$ac_c_werror_flag" ||
37359 test ! -s conftest.err
37360 } && test -s conftest.$ac_objext; then
37361 eval "$as_ac_Header=yes"
37362 else
37363 echo "$as_me: failed program was:" >&5
37364 sed 's/^/| /' conftest.$ac_ext >&5
37365
37366 eval "$as_ac_Header=no"
37367 fi
37368
37369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37370 fi
37371 ac_res=`eval echo '${'$as_ac_Header'}'`
37372 { echo "$as_me:$LINENO: result: $ac_res" >&5
37373 echo "${ECHO_T}$ac_res" >&6; }
37374 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37375 cat >>confdefs.h <<_ACEOF
37376 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37377 _ACEOF
37378
37379 fi
37380
37381 done
37382
37383 if test "$ac_cv_header_widec_h" = "yes"; then
37384 wchar_headers="$wchar_headers
37385 #include <widec.h>"
37386 fi
37387 esac
37388
37389
37390 for wx_func in putws fputws wprintf vswprintf vswscanf
37391 do
37392 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37393 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37394 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37395 echo $ECHO_N "(cached) $ECHO_C" >&6
37396 else
37397
37398 cat >conftest.$ac_ext <<_ACEOF
37399
37400 /* confdefs.h. */
37401 _ACEOF
37402 cat confdefs.h >>conftest.$ac_ext
37403 cat >>conftest.$ac_ext <<_ACEOF
37404 /* end confdefs.h. */
37405
37406 $wchar_headers
37407 $ac_includes_default
37408
37409 int
37410 main ()
37411 {
37412
37413 #ifndef $wx_func
37414 &$wx_func;
37415 #endif
37416
37417
37418 ;
37419 return 0;
37420 }
37421
37422 _ACEOF
37423 rm -f conftest.$ac_objext conftest$ac_exeext
37424 if { (ac_try="$ac_link"
37425 case "(($ac_try" in
37426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37427 *) ac_try_echo=$ac_try;;
37428 esac
37429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37430 (eval "$ac_link") 2>conftest.er1
37431 ac_status=$?
37432 grep -v '^ *+' conftest.er1 >conftest.err
37433 rm -f conftest.er1
37434 cat conftest.err >&5
37435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37436 (exit $ac_status); } && {
37437 test -z "$ac_c_werror_flag" ||
37438 test ! -s conftest.err
37439 } && test -s conftest$ac_exeext &&
37440 $as_test_x conftest$ac_exeext; then
37441 eval wx_cv_func_$wx_func=yes
37442 else
37443 echo "$as_me: failed program was:" >&5
37444 sed 's/^/| /' conftest.$ac_ext >&5
37445
37446 eval wx_cv_func_$wx_func=no
37447 fi
37448
37449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37450 conftest$ac_exeext conftest.$ac_ext
37451
37452 fi
37453 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37454 { echo "$as_me:$LINENO: result: $ac_res" >&5
37455 echo "${ECHO_T}$ac_res" >&6; }
37456
37457 if eval test \$wx_cv_func_$wx_func = yes
37458 then
37459 cat >>confdefs.h <<_ACEOF
37460 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37461 _ACEOF
37462
37463
37464 else
37465 :
37466
37467 fi
37468 done
37469
37470
37471 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37472 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
37473 cat >conftest.$ac_ext <<_ACEOF
37474 /* confdefs.h. */
37475 _ACEOF
37476 cat confdefs.h >>conftest.$ac_ext
37477 cat >>conftest.$ac_ext <<_ACEOF
37478 /* end confdefs.h. */
37479 #include <wchar.h>
37480 int
37481 main ()
37482 {
37483 &_vsnwprintf;
37484 ;
37485 return 0;
37486 }
37487 _ACEOF
37488 rm -f conftest.$ac_objext
37489 if { (ac_try="$ac_compile"
37490 case "(($ac_try" in
37491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37492 *) ac_try_echo=$ac_try;;
37493 esac
37494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37495 (eval "$ac_compile") 2>conftest.er1
37496 ac_status=$?
37497 grep -v '^ *+' conftest.er1 >conftest.err
37498 rm -f conftest.er1
37499 cat conftest.err >&5
37500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37501 (exit $ac_status); } && {
37502 test -z "$ac_c_werror_flag" ||
37503 test ! -s conftest.err
37504 } && test -s conftest.$ac_objext; then
37505 { echo "$as_me:$LINENO: result: yes" >&5
37506 echo "${ECHO_T}yes" >&6; }
37507 cat >>confdefs.h <<\_ACEOF
37508 #define HAVE__VSNWPRINTF 1
37509 _ACEOF
37510
37511 else
37512 echo "$as_me: failed program was:" >&5
37513 sed 's/^/| /' conftest.$ac_ext >&5
37514
37515 { echo "$as_me:$LINENO: result: no" >&5
37516 echo "${ECHO_T}no" >&6; }
37517 fi
37518
37519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
37520 fi
37521
37522 if test "$wxUSE_FILE" = "yes"; then
37523
37524 for wx_func in fsync
37525 do
37526 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37527 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37528 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37529 echo $ECHO_N "(cached) $ECHO_C" >&6
37530 else
37531
37532 cat >conftest.$ac_ext <<_ACEOF
37533
37534 /* confdefs.h. */
37535 _ACEOF
37536 cat confdefs.h >>conftest.$ac_ext
37537 cat >>conftest.$ac_ext <<_ACEOF
37538 /* end confdefs.h. */
37539
37540
37541 $ac_includes_default
37542
37543 int
37544 main ()
37545 {
37546
37547 #ifndef $wx_func
37548 &$wx_func;
37549 #endif
37550
37551
37552 ;
37553 return 0;
37554 }
37555
37556 _ACEOF
37557 rm -f conftest.$ac_objext conftest$ac_exeext
37558 if { (ac_try="$ac_link"
37559 case "(($ac_try" in
37560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37561 *) ac_try_echo=$ac_try;;
37562 esac
37563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37564 (eval "$ac_link") 2>conftest.er1
37565 ac_status=$?
37566 grep -v '^ *+' conftest.er1 >conftest.err
37567 rm -f conftest.er1
37568 cat conftest.err >&5
37569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37570 (exit $ac_status); } && {
37571 test -z "$ac_c_werror_flag" ||
37572 test ! -s conftest.err
37573 } && test -s conftest$ac_exeext &&
37574 $as_test_x conftest$ac_exeext; then
37575 eval wx_cv_func_$wx_func=yes
37576 else
37577 echo "$as_me: failed program was:" >&5
37578 sed 's/^/| /' conftest.$ac_ext >&5
37579
37580 eval wx_cv_func_$wx_func=no
37581 fi
37582
37583 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37584 conftest$ac_exeext conftest.$ac_ext
37585
37586 fi
37587 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37588 { echo "$as_me:$LINENO: result: $ac_res" >&5
37589 echo "${ECHO_T}$ac_res" >&6; }
37590
37591 if eval test \$wx_cv_func_$wx_func = yes
37592 then
37593 cat >>confdefs.h <<_ACEOF
37594 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37595 _ACEOF
37596
37597
37598 else
37599 :
37600
37601 fi
37602 done
37603
37604 fi
37605
37606 ac_ext=cpp
37607 ac_cpp='$CXXCPP $CPPFLAGS'
37608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37611
37612
37613 for wx_func in round
37614 do
37615 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37616 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37617 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37618 echo $ECHO_N "(cached) $ECHO_C" >&6
37619 else
37620
37621 cat >conftest.$ac_ext <<_ACEOF
37622
37623 /* confdefs.h. */
37624 _ACEOF
37625 cat confdefs.h >>conftest.$ac_ext
37626 cat >>conftest.$ac_ext <<_ACEOF
37627 /* end confdefs.h. */
37628
37629 #include <math.h>
37630 $ac_includes_default
37631
37632 int
37633 main ()
37634 {
37635
37636 #ifndef $wx_func
37637 &$wx_func;
37638 #endif
37639
37640
37641 ;
37642 return 0;
37643 }
37644
37645 _ACEOF
37646 rm -f conftest.$ac_objext conftest$ac_exeext
37647 if { (ac_try="$ac_link"
37648 case "(($ac_try" in
37649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37650 *) ac_try_echo=$ac_try;;
37651 esac
37652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37653 (eval "$ac_link") 2>conftest.er1
37654 ac_status=$?
37655 grep -v '^ *+' conftest.er1 >conftest.err
37656 rm -f conftest.er1
37657 cat conftest.err >&5
37658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37659 (exit $ac_status); } && {
37660 test -z "$ac_cxx_werror_flag" ||
37661 test ! -s conftest.err
37662 } && test -s conftest$ac_exeext &&
37663 $as_test_x conftest$ac_exeext; then
37664 eval wx_cv_func_$wx_func=yes
37665 else
37666 echo "$as_me: failed program was:" >&5
37667 sed 's/^/| /' conftest.$ac_ext >&5
37668
37669 eval wx_cv_func_$wx_func=no
37670 fi
37671
37672 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37673 conftest$ac_exeext conftest.$ac_ext
37674
37675 fi
37676 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37677 { echo "$as_me:$LINENO: result: $ac_res" >&5
37678 echo "${ECHO_T}$ac_res" >&6; }
37679
37680 if eval test \$wx_cv_func_$wx_func = yes
37681 then
37682 cat >>confdefs.h <<_ACEOF
37683 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37684 _ACEOF
37685
37686
37687 else
37688 :
37689
37690 fi
37691 done
37692
37693 ac_ext=c
37694 ac_cpp='$CPP $CPPFLAGS'
37695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37698
37699
37700 if test "$TOOLKIT" != "MSW"; then
37701
37702 if test "$wxUSE_LIBICONV" != "no" ; then
37703
37704
37705
37706 # Check whether --with-libiconv-prefix was given.
37707 if test "${with_libiconv_prefix+set}" = set; then
37708 withval=$with_libiconv_prefix;
37709 for dir in `echo "$withval" | tr : ' '`; do
37710 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37711 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37712 done
37713
37714 fi
37715
37716
37717 { echo "$as_me:$LINENO: checking for iconv" >&5
37718 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37719 if test "${am_cv_func_iconv+set}" = set; then
37720 echo $ECHO_N "(cached) $ECHO_C" >&6
37721 else
37722
37723 am_cv_func_iconv="no, consider installing GNU libiconv"
37724 am_cv_lib_iconv=no
37725 cat >conftest.$ac_ext <<_ACEOF
37726 /* confdefs.h. */
37727 _ACEOF
37728 cat confdefs.h >>conftest.$ac_ext
37729 cat >>conftest.$ac_ext <<_ACEOF
37730 /* end confdefs.h. */
37731 #include <stdlib.h>
37732 #include <iconv.h>
37733 int
37734 main ()
37735 {
37736 iconv_t cd = iconv_open("","");
37737 iconv(cd,NULL,NULL,NULL,NULL);
37738 iconv_close(cd);
37739 ;
37740 return 0;
37741 }
37742 _ACEOF
37743 rm -f conftest.$ac_objext conftest$ac_exeext
37744 if { (ac_try="$ac_link"
37745 case "(($ac_try" in
37746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37747 *) ac_try_echo=$ac_try;;
37748 esac
37749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37750 (eval "$ac_link") 2>conftest.er1
37751 ac_status=$?
37752 grep -v '^ *+' conftest.er1 >conftest.err
37753 rm -f conftest.er1
37754 cat conftest.err >&5
37755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37756 (exit $ac_status); } && {
37757 test -z "$ac_c_werror_flag" ||
37758 test ! -s conftest.err
37759 } && test -s conftest$ac_exeext &&
37760 $as_test_x conftest$ac_exeext; then
37761 am_cv_func_iconv=yes
37762 else
37763 echo "$as_me: failed program was:" >&5
37764 sed 's/^/| /' conftest.$ac_ext >&5
37765
37766
37767 fi
37768
37769 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37770 conftest$ac_exeext conftest.$ac_ext
37771 if test "$am_cv_func_iconv" != yes; then
37772 am_save_LIBS="$LIBS"
37773 LIBS="$LIBS -liconv"
37774 cat >conftest.$ac_ext <<_ACEOF
37775 /* confdefs.h. */
37776 _ACEOF
37777 cat confdefs.h >>conftest.$ac_ext
37778 cat >>conftest.$ac_ext <<_ACEOF
37779 /* end confdefs.h. */
37780 #include <stdlib.h>
37781 #include <iconv.h>
37782 int
37783 main ()
37784 {
37785 iconv_t cd = iconv_open("","");
37786 iconv(cd,NULL,NULL,NULL,NULL);
37787 iconv_close(cd);
37788 ;
37789 return 0;
37790 }
37791 _ACEOF
37792 rm -f conftest.$ac_objext conftest$ac_exeext
37793 if { (ac_try="$ac_link"
37794 case "(($ac_try" in
37795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37796 *) ac_try_echo=$ac_try;;
37797 esac
37798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37799 (eval "$ac_link") 2>conftest.er1
37800 ac_status=$?
37801 grep -v '^ *+' conftest.er1 >conftest.err
37802 rm -f conftest.er1
37803 cat conftest.err >&5
37804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37805 (exit $ac_status); } && {
37806 test -z "$ac_c_werror_flag" ||
37807 test ! -s conftest.err
37808 } && test -s conftest$ac_exeext &&
37809 $as_test_x conftest$ac_exeext; then
37810 am_cv_lib_iconv=yes
37811 am_cv_func_iconv=yes
37812 else
37813 echo "$as_me: failed program was:" >&5
37814 sed 's/^/| /' conftest.$ac_ext >&5
37815
37816
37817 fi
37818
37819 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37820 conftest$ac_exeext conftest.$ac_ext
37821 LIBS="$am_save_LIBS"
37822 fi
37823
37824 fi
37825 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37826 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
37827 if test "$am_cv_func_iconv" = yes; then
37828
37829 cat >>confdefs.h <<\_ACEOF
37830 #define HAVE_ICONV 1
37831 _ACEOF
37832
37833 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
37834 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
37835 if test "${wx_cv_func_iconv_const+set}" = set; then
37836 echo $ECHO_N "(cached) $ECHO_C" >&6
37837 else
37838 cat >conftest.$ac_ext <<_ACEOF
37839 /* confdefs.h. */
37840 _ACEOF
37841 cat confdefs.h >>conftest.$ac_ext
37842 cat >>conftest.$ac_ext <<_ACEOF
37843 /* end confdefs.h. */
37844
37845 #include <stdlib.h>
37846 #include <iconv.h>
37847 extern
37848 #ifdef __cplusplus
37849 "C"
37850 #endif
37851 #if defined(__STDC__) || defined(__cplusplus)
37852 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37853 #else
37854 size_t iconv();
37855 #endif
37856
37857 int
37858 main ()
37859 {
37860
37861 ;
37862 return 0;
37863 }
37864 _ACEOF
37865 rm -f conftest.$ac_objext
37866 if { (ac_try="$ac_compile"
37867 case "(($ac_try" in
37868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37869 *) ac_try_echo=$ac_try;;
37870 esac
37871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37872 (eval "$ac_compile") 2>conftest.er1
37873 ac_status=$?
37874 grep -v '^ *+' conftest.er1 >conftest.err
37875 rm -f conftest.er1
37876 cat conftest.err >&5
37877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37878 (exit $ac_status); } && {
37879 test -z "$ac_c_werror_flag" ||
37880 test ! -s conftest.err
37881 } && test -s conftest.$ac_objext; then
37882 wx_cv_func_iconv_const="no"
37883 else
37884 echo "$as_me: failed program was:" >&5
37885 sed 's/^/| /' conftest.$ac_ext >&5
37886
37887 wx_cv_func_iconv_const="yes"
37888
37889 fi
37890
37891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37892
37893 fi
37894 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37895 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
37896
37897 iconv_const=
37898 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37899 iconv_const="const"
37900 fi
37901
37902
37903 cat >>confdefs.h <<_ACEOF
37904 #define ICONV_CONST $iconv_const
37905 _ACEOF
37906
37907 fi
37908 LIBICONV=
37909 if test "$am_cv_lib_iconv" = yes; then
37910 LIBICONV="-liconv"
37911 fi
37912
37913
37914 LIBS="$LIBICONV $LIBS"
37915 fi
37916
37917 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37918
37919 for ac_func in sigaction
37920 do
37921 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37922 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37924 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37925 echo $ECHO_N "(cached) $ECHO_C" >&6
37926 else
37927 cat >conftest.$ac_ext <<_ACEOF
37928 /* confdefs.h. */
37929 _ACEOF
37930 cat confdefs.h >>conftest.$ac_ext
37931 cat >>conftest.$ac_ext <<_ACEOF
37932 /* end confdefs.h. */
37933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37935 #define $ac_func innocuous_$ac_func
37936
37937 /* System header to define __stub macros and hopefully few prototypes,
37938 which can conflict with char $ac_func (); below.
37939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37940 <limits.h> exists even on freestanding compilers. */
37941
37942 #ifdef __STDC__
37943 # include <limits.h>
37944 #else
37945 # include <assert.h>
37946 #endif
37947
37948 #undef $ac_func
37949
37950 /* Override any GCC internal prototype to avoid an error.
37951 Use char because int might match the return type of a GCC
37952 builtin and then its argument prototype would still apply. */
37953 #ifdef __cplusplus
37954 extern "C"
37955 #endif
37956 char $ac_func ();
37957 /* The GNU C library defines this for functions which it implements
37958 to always fail with ENOSYS. Some functions are actually named
37959 something starting with __ and the normal name is an alias. */
37960 #if defined __stub_$ac_func || defined __stub___$ac_func
37961 choke me
37962 #endif
37963
37964 int
37965 main ()
37966 {
37967 return $ac_func ();
37968 ;
37969 return 0;
37970 }
37971 _ACEOF
37972 rm -f conftest.$ac_objext conftest$ac_exeext
37973 if { (ac_try="$ac_link"
37974 case "(($ac_try" in
37975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37976 *) ac_try_echo=$ac_try;;
37977 esac
37978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37979 (eval "$ac_link") 2>conftest.er1
37980 ac_status=$?
37981 grep -v '^ *+' conftest.er1 >conftest.err
37982 rm -f conftest.er1
37983 cat conftest.err >&5
37984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37985 (exit $ac_status); } && {
37986 test -z "$ac_c_werror_flag" ||
37987 test ! -s conftest.err
37988 } && test -s conftest$ac_exeext &&
37989 $as_test_x conftest$ac_exeext; then
37990 eval "$as_ac_var=yes"
37991 else
37992 echo "$as_me: failed program was:" >&5
37993 sed 's/^/| /' conftest.$ac_ext >&5
37994
37995 eval "$as_ac_var=no"
37996 fi
37997
37998 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37999 conftest$ac_exeext conftest.$ac_ext
38000 fi
38001 ac_res=`eval echo '${'$as_ac_var'}'`
38002 { echo "$as_me:$LINENO: result: $ac_res" >&5
38003 echo "${ECHO_T}$ac_res" >&6; }
38004 if test `eval echo '${'$as_ac_var'}'` = yes; then
38005 cat >>confdefs.h <<_ACEOF
38006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38007 _ACEOF
38008
38009 fi
38010 done
38011
38012
38013 if test "$ac_cv_func_sigaction" = "no"; then
38014 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
38015 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
38016 wxUSE_ON_FATAL_EXCEPTION=no
38017 fi
38018
38019 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38020 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
38021 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
38022 if test "${wx_cv_type_sa_handler+set}" = set; then
38023 echo $ECHO_N "(cached) $ECHO_C" >&6
38024 else
38025
38026 ac_ext=cpp
38027 ac_cpp='$CXXCPP $CPPFLAGS'
38028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38031
38032 cat >conftest.$ac_ext <<_ACEOF
38033 /* confdefs.h. */
38034 _ACEOF
38035 cat confdefs.h >>conftest.$ac_ext
38036 cat >>conftest.$ac_ext <<_ACEOF
38037 /* end confdefs.h. */
38038 #include <signal.h>
38039 int
38040 main ()
38041 {
38042
38043 extern void testSigHandler(int);
38044
38045 struct sigaction sa;
38046 sa.sa_handler = testSigHandler;
38047
38048 ;
38049 return 0;
38050 }
38051 _ACEOF
38052 rm -f conftest.$ac_objext
38053 if { (ac_try="$ac_compile"
38054 case "(($ac_try" in
38055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38056 *) ac_try_echo=$ac_try;;
38057 esac
38058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38059 (eval "$ac_compile") 2>conftest.er1
38060 ac_status=$?
38061 grep -v '^ *+' conftest.er1 >conftest.err
38062 rm -f conftest.er1
38063 cat conftest.err >&5
38064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38065 (exit $ac_status); } && {
38066 test -z "$ac_cxx_werror_flag" ||
38067 test ! -s conftest.err
38068 } && test -s conftest.$ac_objext; then
38069
38070 wx_cv_type_sa_handler=int
38071
38072 else
38073 echo "$as_me: failed program was:" >&5
38074 sed 's/^/| /' conftest.$ac_ext >&5
38075
38076
38077 wx_cv_type_sa_handler=void
38078
38079 fi
38080
38081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38082 ac_ext=c
38083 ac_cpp='$CPP $CPPFLAGS'
38084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38087
38088
38089 fi
38090 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
38091 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
38092
38093 cat >>confdefs.h <<_ACEOF
38094 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
38095 _ACEOF
38096
38097 fi
38098 fi
38099
38100 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38101 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
38102 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
38103 if test "${wx_cv_func_backtrace+set}" = set; then
38104 echo $ECHO_N "(cached) $ECHO_C" >&6
38105 else
38106
38107 ac_ext=cpp
38108 ac_cpp='$CXXCPP $CPPFLAGS'
38109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38112
38113 cat >conftest.$ac_ext <<_ACEOF
38114 /* confdefs.h. */
38115 _ACEOF
38116 cat confdefs.h >>conftest.$ac_ext
38117 cat >>conftest.$ac_ext <<_ACEOF
38118 /* end confdefs.h. */
38119 #include <execinfo.h>
38120 int
38121 main ()
38122 {
38123
38124 void *trace[1];
38125 char **messages;
38126
38127 backtrace(trace, 1);
38128 messages = backtrace_symbols(trace, 1);
38129
38130 ;
38131 return 0;
38132 }
38133 _ACEOF
38134 rm -f conftest.$ac_objext
38135 if { (ac_try="$ac_compile"
38136 case "(($ac_try" in
38137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38138 *) ac_try_echo=$ac_try;;
38139 esac
38140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38141 (eval "$ac_compile") 2>conftest.er1
38142 ac_status=$?
38143 grep -v '^ *+' conftest.er1 >conftest.err
38144 rm -f conftest.er1
38145 cat conftest.err >&5
38146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38147 (exit $ac_status); } && {
38148 test -z "$ac_cxx_werror_flag" ||
38149 test ! -s conftest.err
38150 } && test -s conftest.$ac_objext; then
38151 wx_cv_func_backtrace=yes
38152 else
38153 echo "$as_me: failed program was:" >&5
38154 sed 's/^/| /' conftest.$ac_ext >&5
38155
38156 wx_cv_func_backtrace=no
38157
38158 fi
38159
38160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38161 ac_ext=c
38162 ac_cpp='$CPP $CPPFLAGS'
38163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38166
38167
38168
38169 fi
38170 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
38171 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
38172
38173
38174 if test "$wx_cv_func_backtrace" = "no"; then
38175 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
38176 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
38177 wxUSE_STACKWALKER=no
38178 else
38179 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
38180 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
38181 if test "${wx_cv_func_cxa_demangle+set}" = set; then
38182 echo $ECHO_N "(cached) $ECHO_C" >&6
38183 else
38184
38185 ac_ext=cpp
38186 ac_cpp='$CXXCPP $CPPFLAGS'
38187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38190
38191 cat >conftest.$ac_ext <<_ACEOF
38192 /* confdefs.h. */
38193 _ACEOF
38194 cat confdefs.h >>conftest.$ac_ext
38195 cat >>conftest.$ac_ext <<_ACEOF
38196 /* end confdefs.h. */
38197 #include <cxxabi.h>
38198 int
38199 main ()
38200 {
38201
38202 int rc;
38203 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
38204
38205 ;
38206 return 0;
38207 }
38208 _ACEOF
38209 rm -f conftest.$ac_objext conftest$ac_exeext
38210 if { (ac_try="$ac_link"
38211 case "(($ac_try" in
38212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38213 *) ac_try_echo=$ac_try;;
38214 esac
38215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38216 (eval "$ac_link") 2>conftest.er1
38217 ac_status=$?
38218 grep -v '^ *+' conftest.er1 >conftest.err
38219 rm -f conftest.er1
38220 cat conftest.err >&5
38221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38222 (exit $ac_status); } && {
38223 test -z "$ac_cxx_werror_flag" ||
38224 test ! -s conftest.err
38225 } && test -s conftest$ac_exeext &&
38226 $as_test_x conftest$ac_exeext; then
38227 wx_cv_func_cxa_demangle=yes
38228 else
38229 echo "$as_me: failed program was:" >&5
38230 sed 's/^/| /' conftest.$ac_ext >&5
38231
38232 wx_cv_func_cxa_demangle=no
38233
38234 fi
38235
38236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38237 conftest$ac_exeext conftest.$ac_ext
38238 ac_ext=c
38239 ac_cpp='$CPP $CPPFLAGS'
38240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38243
38244
38245
38246 fi
38247 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
38248 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
38249
38250 if test "$wx_cv_func_cxa_demangle" = "yes"; then
38251 cat >>confdefs.h <<\_ACEOF
38252 #define HAVE_CXA_DEMANGLE 1
38253 _ACEOF
38254
38255 fi
38256 fi
38257 fi
38258
38259 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
38260 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
38261 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
38262 wxUSE_STACKWALKER=no
38263 fi
38264
38265
38266
38267
38268 for ac_func in mkstemp mktemp
38269 do
38270 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38271 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38272 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38273 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38274 echo $ECHO_N "(cached) $ECHO_C" >&6
38275 else
38276 cat >conftest.$ac_ext <<_ACEOF
38277 /* confdefs.h. */
38278 _ACEOF
38279 cat confdefs.h >>conftest.$ac_ext
38280 cat >>conftest.$ac_ext <<_ACEOF
38281 /* end confdefs.h. */
38282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38284 #define $ac_func innocuous_$ac_func
38285
38286 /* System header to define __stub macros and hopefully few prototypes,
38287 which can conflict with char $ac_func (); below.
38288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38289 <limits.h> exists even on freestanding compilers. */
38290
38291 #ifdef __STDC__
38292 # include <limits.h>
38293 #else
38294 # include <assert.h>
38295 #endif
38296
38297 #undef $ac_func
38298
38299 /* Override any GCC internal prototype to avoid an error.
38300 Use char because int might match the return type of a GCC
38301 builtin and then its argument prototype would still apply. */
38302 #ifdef __cplusplus
38303 extern "C"
38304 #endif
38305 char $ac_func ();
38306 /* The GNU C library defines this for functions which it implements
38307 to always fail with ENOSYS. Some functions are actually named
38308 something starting with __ and the normal name is an alias. */
38309 #if defined __stub_$ac_func || defined __stub___$ac_func
38310 choke me
38311 #endif
38312
38313 int
38314 main ()
38315 {
38316 return $ac_func ();
38317 ;
38318 return 0;
38319 }
38320 _ACEOF
38321 rm -f conftest.$ac_objext conftest$ac_exeext
38322 if { (ac_try="$ac_link"
38323 case "(($ac_try" in
38324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38325 *) ac_try_echo=$ac_try;;
38326 esac
38327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38328 (eval "$ac_link") 2>conftest.er1
38329 ac_status=$?
38330 grep -v '^ *+' conftest.er1 >conftest.err
38331 rm -f conftest.er1
38332 cat conftest.err >&5
38333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38334 (exit $ac_status); } && {
38335 test -z "$ac_c_werror_flag" ||
38336 test ! -s conftest.err
38337 } && test -s conftest$ac_exeext &&
38338 $as_test_x conftest$ac_exeext; then
38339 eval "$as_ac_var=yes"
38340 else
38341 echo "$as_me: failed program was:" >&5
38342 sed 's/^/| /' conftest.$ac_ext >&5
38343
38344 eval "$as_ac_var=no"
38345 fi
38346
38347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38348 conftest$ac_exeext conftest.$ac_ext
38349 fi
38350 ac_res=`eval echo '${'$as_ac_var'}'`
38351 { echo "$as_me:$LINENO: result: $ac_res" >&5
38352 echo "${ECHO_T}$ac_res" >&6; }
38353 if test `eval echo '${'$as_ac_var'}'` = yes; then
38354 cat >>confdefs.h <<_ACEOF
38355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38356 _ACEOF
38357 break
38358 fi
38359 done
38360
38361
38362 { echo "$as_me:$LINENO: checking for statfs" >&5
38363 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
38364 if test "${wx_cv_func_statfs+set}" = set; then
38365 echo $ECHO_N "(cached) $ECHO_C" >&6
38366 else
38367 cat >conftest.$ac_ext <<_ACEOF
38368 /* confdefs.h. */
38369 _ACEOF
38370 cat confdefs.h >>conftest.$ac_ext
38371 cat >>conftest.$ac_ext <<_ACEOF
38372 /* end confdefs.h. */
38373
38374 #if defined(__BSD__)
38375 #include <sys/param.h>
38376 #include <sys/mount.h>
38377 #else
38378 #include <sys/vfs.h>
38379 #endif
38380
38381 int
38382 main ()
38383 {
38384
38385 long l;
38386 struct statfs fs;
38387 statfs("/", &fs);
38388 l = fs.f_bsize;
38389 l += fs.f_blocks;
38390 l += fs.f_bavail;
38391
38392 ;
38393 return 0;
38394 }
38395 _ACEOF
38396 rm -f conftest.$ac_objext
38397 if { (ac_try="$ac_compile"
38398 case "(($ac_try" in
38399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38400 *) ac_try_echo=$ac_try;;
38401 esac
38402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38403 (eval "$ac_compile") 2>conftest.er1
38404 ac_status=$?
38405 grep -v '^ *+' conftest.er1 >conftest.err
38406 rm -f conftest.er1
38407 cat conftest.err >&5
38408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38409 (exit $ac_status); } && {
38410 test -z "$ac_c_werror_flag" ||
38411 test ! -s conftest.err
38412 } && test -s conftest.$ac_objext; then
38413 wx_cv_func_statfs=yes
38414 else
38415 echo "$as_me: failed program was:" >&5
38416 sed 's/^/| /' conftest.$ac_ext >&5
38417
38418 wx_cv_func_statfs=no
38419
38420 fi
38421
38422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38423
38424 fi
38425 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
38426 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
38427
38428 if test "$wx_cv_func_statfs" = "yes"; then
38429 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
38430 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
38431 if test "${wx_cv_func_statfs_decl+set}" = set; then
38432 echo $ECHO_N "(cached) $ECHO_C" >&6
38433 else
38434 ac_ext=cpp
38435 ac_cpp='$CXXCPP $CPPFLAGS'
38436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38439
38440 cat >conftest.$ac_ext <<_ACEOF
38441 /* confdefs.h. */
38442 _ACEOF
38443 cat confdefs.h >>conftest.$ac_ext
38444 cat >>conftest.$ac_ext <<_ACEOF
38445 /* end confdefs.h. */
38446
38447 #if defined(__BSD__)
38448 #include <sys/param.h>
38449 #include <sys/mount.h>
38450 #else
38451 #include <sys/vfs.h>
38452 #endif
38453
38454 int
38455 main ()
38456 {
38457
38458 struct statfs fs;
38459 statfs("", &fs);
38460
38461 ;
38462 return 0;
38463 }
38464 _ACEOF
38465 rm -f conftest.$ac_objext
38466 if { (ac_try="$ac_compile"
38467 case "(($ac_try" in
38468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38469 *) ac_try_echo=$ac_try;;
38470 esac
38471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38472 (eval "$ac_compile") 2>conftest.er1
38473 ac_status=$?
38474 grep -v '^ *+' conftest.er1 >conftest.err
38475 rm -f conftest.er1
38476 cat conftest.err >&5
38477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38478 (exit $ac_status); } && {
38479 test -z "$ac_cxx_werror_flag" ||
38480 test ! -s conftest.err
38481 } && test -s conftest.$ac_objext; then
38482 wx_cv_func_statfs_decl=yes
38483 else
38484 echo "$as_me: failed program was:" >&5
38485 sed 's/^/| /' conftest.$ac_ext >&5
38486
38487 wx_cv_func_statfs_decl=no
38488
38489 fi
38490
38491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38492 ac_ext=c
38493 ac_cpp='$CPP $CPPFLAGS'
38494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38497
38498
38499 fi
38500 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38501 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
38502
38503 if test "$wx_cv_func_statfs_decl" = "yes"; then
38504 cat >>confdefs.h <<\_ACEOF
38505 #define HAVE_STATFS_DECL 1
38506 _ACEOF
38507
38508 fi
38509
38510 wx_cv_type_statvfs_t="struct statfs"
38511 cat >>confdefs.h <<\_ACEOF
38512 #define HAVE_STATFS 1
38513 _ACEOF
38514
38515 else
38516 { echo "$as_me:$LINENO: checking for statvfs" >&5
38517 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
38518 if test "${wx_cv_func_statvfs+set}" = set; then
38519 echo $ECHO_N "(cached) $ECHO_C" >&6
38520 else
38521 cat >conftest.$ac_ext <<_ACEOF
38522 /* confdefs.h. */
38523 _ACEOF
38524 cat confdefs.h >>conftest.$ac_ext
38525 cat >>conftest.$ac_ext <<_ACEOF
38526 /* end confdefs.h. */
38527
38528 #include <stddef.h>
38529 #include <sys/statvfs.h>
38530
38531 int
38532 main ()
38533 {
38534
38535 statvfs("/", NULL);
38536
38537 ;
38538 return 0;
38539 }
38540 _ACEOF
38541 rm -f conftest.$ac_objext
38542 if { (ac_try="$ac_compile"
38543 case "(($ac_try" in
38544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38545 *) ac_try_echo=$ac_try;;
38546 esac
38547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38548 (eval "$ac_compile") 2>conftest.er1
38549 ac_status=$?
38550 grep -v '^ *+' conftest.er1 >conftest.err
38551 rm -f conftest.er1
38552 cat conftest.err >&5
38553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38554 (exit $ac_status); } && {
38555 test -z "$ac_c_werror_flag" ||
38556 test ! -s conftest.err
38557 } && test -s conftest.$ac_objext; then
38558 wx_cv_func_statvfs=yes
38559 else
38560 echo "$as_me: failed program was:" >&5
38561 sed 's/^/| /' conftest.$ac_ext >&5
38562
38563 wx_cv_func_statvfs=no
38564
38565 fi
38566
38567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38568
38569 fi
38570 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38571 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38572
38573 if test "$wx_cv_func_statvfs" = "yes"; then
38574 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38575 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38576 if test "${wx_cv_type_statvfs_t+set}" = set; then
38577 echo $ECHO_N "(cached) $ECHO_C" >&6
38578 else
38579 ac_ext=cpp
38580 ac_cpp='$CXXCPP $CPPFLAGS'
38581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38584
38585 cat >conftest.$ac_ext <<_ACEOF
38586 /* confdefs.h. */
38587 _ACEOF
38588 cat confdefs.h >>conftest.$ac_ext
38589 cat >>conftest.$ac_ext <<_ACEOF
38590 /* end confdefs.h. */
38591
38592 #include <sys/statvfs.h>
38593
38594 int
38595 main ()
38596 {
38597
38598 long l;
38599 statvfs_t fs;
38600 statvfs("/", &fs);
38601 l = fs.f_bsize;
38602 l += fs.f_blocks;
38603 l += fs.f_bavail;
38604
38605 ;
38606 return 0;
38607 }
38608 _ACEOF
38609 rm -f conftest.$ac_objext
38610 if { (ac_try="$ac_compile"
38611 case "(($ac_try" in
38612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38613 *) ac_try_echo=$ac_try;;
38614 esac
38615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38616 (eval "$ac_compile") 2>conftest.er1
38617 ac_status=$?
38618 grep -v '^ *+' conftest.er1 >conftest.err
38619 rm -f conftest.er1
38620 cat conftest.err >&5
38621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38622 (exit $ac_status); } && {
38623 test -z "$ac_cxx_werror_flag" ||
38624 test ! -s conftest.err
38625 } && test -s conftest.$ac_objext; then
38626 wx_cv_type_statvfs_t=statvfs_t
38627 else
38628 echo "$as_me: failed program was:" >&5
38629 sed 's/^/| /' conftest.$ac_ext >&5
38630
38631
38632 cat >conftest.$ac_ext <<_ACEOF
38633 /* confdefs.h. */
38634 _ACEOF
38635 cat confdefs.h >>conftest.$ac_ext
38636 cat >>conftest.$ac_ext <<_ACEOF
38637 /* end confdefs.h. */
38638
38639 #include <sys/statvfs.h>
38640
38641 int
38642 main ()
38643 {
38644
38645 long l;
38646 struct statvfs fs;
38647 statvfs("/", &fs);
38648 l = fs.f_bsize;
38649 l += fs.f_blocks;
38650 l += fs.f_bavail;
38651
38652 ;
38653 return 0;
38654 }
38655 _ACEOF
38656 rm -f conftest.$ac_objext
38657 if { (ac_try="$ac_compile"
38658 case "(($ac_try" in
38659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38660 *) ac_try_echo=$ac_try;;
38661 esac
38662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38663 (eval "$ac_compile") 2>conftest.er1
38664 ac_status=$?
38665 grep -v '^ *+' conftest.er1 >conftest.err
38666 rm -f conftest.er1
38667 cat conftest.err >&5
38668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38669 (exit $ac_status); } && {
38670 test -z "$ac_cxx_werror_flag" ||
38671 test ! -s conftest.err
38672 } && test -s conftest.$ac_objext; then
38673 wx_cv_type_statvfs_t="struct statvfs"
38674 else
38675 echo "$as_me: failed program was:" >&5
38676 sed 's/^/| /' conftest.$ac_ext >&5
38677
38678 wx_cv_type_statvfs_t="unknown"
38679
38680 fi
38681
38682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38683
38684
38685 fi
38686
38687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38688 ac_ext=c
38689 ac_cpp='$CPP $CPPFLAGS'
38690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38693
38694
38695 fi
38696 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38697 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38698
38699 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38700 cat >>confdefs.h <<\_ACEOF
38701 #define HAVE_STATVFS 1
38702 _ACEOF
38703
38704 fi
38705 else
38706 wx_cv_type_statvfs_t="unknown"
38707 fi
38708 fi
38709
38710 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38711 cat >>confdefs.h <<_ACEOF
38712 #define WX_STATFS_T $wx_cv_type_statvfs_t
38713 _ACEOF
38714
38715 else
38716 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38717 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38718 fi
38719
38720 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38721
38722
38723 for ac_func in fcntl flock
38724 do
38725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38726 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38728 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38729 echo $ECHO_N "(cached) $ECHO_C" >&6
38730 else
38731 cat >conftest.$ac_ext <<_ACEOF
38732 /* confdefs.h. */
38733 _ACEOF
38734 cat confdefs.h >>conftest.$ac_ext
38735 cat >>conftest.$ac_ext <<_ACEOF
38736 /* end confdefs.h. */
38737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38739 #define $ac_func innocuous_$ac_func
38740
38741 /* System header to define __stub macros and hopefully few prototypes,
38742 which can conflict with char $ac_func (); below.
38743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38744 <limits.h> exists even on freestanding compilers. */
38745
38746 #ifdef __STDC__
38747 # include <limits.h>
38748 #else
38749 # include <assert.h>
38750 #endif
38751
38752 #undef $ac_func
38753
38754 /* Override any GCC internal prototype to avoid an error.
38755 Use char because int might match the return type of a GCC
38756 builtin and then its argument prototype would still apply. */
38757 #ifdef __cplusplus
38758 extern "C"
38759 #endif
38760 char $ac_func ();
38761 /* The GNU C library defines this for functions which it implements
38762 to always fail with ENOSYS. Some functions are actually named
38763 something starting with __ and the normal name is an alias. */
38764 #if defined __stub_$ac_func || defined __stub___$ac_func
38765 choke me
38766 #endif
38767
38768 int
38769 main ()
38770 {
38771 return $ac_func ();
38772 ;
38773 return 0;
38774 }
38775 _ACEOF
38776 rm -f conftest.$ac_objext conftest$ac_exeext
38777 if { (ac_try="$ac_link"
38778 case "(($ac_try" in
38779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38780 *) ac_try_echo=$ac_try;;
38781 esac
38782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38783 (eval "$ac_link") 2>conftest.er1
38784 ac_status=$?
38785 grep -v '^ *+' conftest.er1 >conftest.err
38786 rm -f conftest.er1
38787 cat conftest.err >&5
38788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38789 (exit $ac_status); } && {
38790 test -z "$ac_c_werror_flag" ||
38791 test ! -s conftest.err
38792 } && test -s conftest$ac_exeext &&
38793 $as_test_x conftest$ac_exeext; then
38794 eval "$as_ac_var=yes"
38795 else
38796 echo "$as_me: failed program was:" >&5
38797 sed 's/^/| /' conftest.$ac_ext >&5
38798
38799 eval "$as_ac_var=no"
38800 fi
38801
38802 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38803 conftest$ac_exeext conftest.$ac_ext
38804 fi
38805 ac_res=`eval echo '${'$as_ac_var'}'`
38806 { echo "$as_me:$LINENO: result: $ac_res" >&5
38807 echo "${ECHO_T}$ac_res" >&6; }
38808 if test `eval echo '${'$as_ac_var'}'` = yes; then
38809 cat >>confdefs.h <<_ACEOF
38810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38811 _ACEOF
38812 break
38813 fi
38814 done
38815
38816
38817 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38818 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38819 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38820 wxUSE_SNGLINST_CHECKER=no
38821 fi
38822 fi
38823
38824
38825
38826 for ac_func in setenv putenv
38827 do
38828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38829 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38831 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38832 echo $ECHO_N "(cached) $ECHO_C" >&6
38833 else
38834 cat >conftest.$ac_ext <<_ACEOF
38835 /* confdefs.h. */
38836 _ACEOF
38837 cat confdefs.h >>conftest.$ac_ext
38838 cat >>conftest.$ac_ext <<_ACEOF
38839 /* end confdefs.h. */
38840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38842 #define $ac_func innocuous_$ac_func
38843
38844 /* System header to define __stub macros and hopefully few prototypes,
38845 which can conflict with char $ac_func (); below.
38846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38847 <limits.h> exists even on freestanding compilers. */
38848
38849 #ifdef __STDC__
38850 # include <limits.h>
38851 #else
38852 # include <assert.h>
38853 #endif
38854
38855 #undef $ac_func
38856
38857 /* Override any GCC internal prototype to avoid an error.
38858 Use char because int might match the return type of a GCC
38859 builtin and then its argument prototype would still apply. */
38860 #ifdef __cplusplus
38861 extern "C"
38862 #endif
38863 char $ac_func ();
38864 /* The GNU C library defines this for functions which it implements
38865 to always fail with ENOSYS. Some functions are actually named
38866 something starting with __ and the normal name is an alias. */
38867 #if defined __stub_$ac_func || defined __stub___$ac_func
38868 choke me
38869 #endif
38870
38871 int
38872 main ()
38873 {
38874 return $ac_func ();
38875 ;
38876 return 0;
38877 }
38878 _ACEOF
38879 rm -f conftest.$ac_objext conftest$ac_exeext
38880 if { (ac_try="$ac_link"
38881 case "(($ac_try" in
38882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38883 *) ac_try_echo=$ac_try;;
38884 esac
38885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38886 (eval "$ac_link") 2>conftest.er1
38887 ac_status=$?
38888 grep -v '^ *+' conftest.er1 >conftest.err
38889 rm -f conftest.er1
38890 cat conftest.err >&5
38891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38892 (exit $ac_status); } && {
38893 test -z "$ac_c_werror_flag" ||
38894 test ! -s conftest.err
38895 } && test -s conftest$ac_exeext &&
38896 $as_test_x conftest$ac_exeext; then
38897 eval "$as_ac_var=yes"
38898 else
38899 echo "$as_me: failed program was:" >&5
38900 sed 's/^/| /' conftest.$ac_ext >&5
38901
38902 eval "$as_ac_var=no"
38903 fi
38904
38905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38906 conftest$ac_exeext conftest.$ac_ext
38907 fi
38908 ac_res=`eval echo '${'$as_ac_var'}'`
38909 { echo "$as_me:$LINENO: result: $ac_res" >&5
38910 echo "${ECHO_T}$ac_res" >&6; }
38911 if test `eval echo '${'$as_ac_var'}'` = yes; then
38912 cat >>confdefs.h <<_ACEOF
38913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38914 _ACEOF
38915 break
38916 fi
38917 done
38918
38919 if test "$ac_cv_func_setenv" = "yes"; then
38920
38921 for ac_func in unsetenv
38922 do
38923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38924 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38926 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38927 echo $ECHO_N "(cached) $ECHO_C" >&6
38928 else
38929 cat >conftest.$ac_ext <<_ACEOF
38930 /* confdefs.h. */
38931 _ACEOF
38932 cat confdefs.h >>conftest.$ac_ext
38933 cat >>conftest.$ac_ext <<_ACEOF
38934 /* end confdefs.h. */
38935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38937 #define $ac_func innocuous_$ac_func
38938
38939 /* System header to define __stub macros and hopefully few prototypes,
38940 which can conflict with char $ac_func (); below.
38941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38942 <limits.h> exists even on freestanding compilers. */
38943
38944 #ifdef __STDC__
38945 # include <limits.h>
38946 #else
38947 # include <assert.h>
38948 #endif
38949
38950 #undef $ac_func
38951
38952 /* Override any GCC internal prototype to avoid an error.
38953 Use char because int might match the return type of a GCC
38954 builtin and then its argument prototype would still apply. */
38955 #ifdef __cplusplus
38956 extern "C"
38957 #endif
38958 char $ac_func ();
38959 /* The GNU C library defines this for functions which it implements
38960 to always fail with ENOSYS. Some functions are actually named
38961 something starting with __ and the normal name is an alias. */
38962 #if defined __stub_$ac_func || defined __stub___$ac_func
38963 choke me
38964 #endif
38965
38966 int
38967 main ()
38968 {
38969 return $ac_func ();
38970 ;
38971 return 0;
38972 }
38973 _ACEOF
38974 rm -f conftest.$ac_objext conftest$ac_exeext
38975 if { (ac_try="$ac_link"
38976 case "(($ac_try" in
38977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38978 *) ac_try_echo=$ac_try;;
38979 esac
38980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38981 (eval "$ac_link") 2>conftest.er1
38982 ac_status=$?
38983 grep -v '^ *+' conftest.er1 >conftest.err
38984 rm -f conftest.er1
38985 cat conftest.err >&5
38986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38987 (exit $ac_status); } && {
38988 test -z "$ac_c_werror_flag" ||
38989 test ! -s conftest.err
38990 } && test -s conftest$ac_exeext &&
38991 $as_test_x conftest$ac_exeext; then
38992 eval "$as_ac_var=yes"
38993 else
38994 echo "$as_me: failed program was:" >&5
38995 sed 's/^/| /' conftest.$ac_ext >&5
38996
38997 eval "$as_ac_var=no"
38998 fi
38999
39000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39001 conftest$ac_exeext conftest.$ac_ext
39002 fi
39003 ac_res=`eval echo '${'$as_ac_var'}'`
39004 { echo "$as_me:$LINENO: result: $ac_res" >&5
39005 echo "${ECHO_T}$ac_res" >&6; }
39006 if test `eval echo '${'$as_ac_var'}'` = yes; then
39007 cat >>confdefs.h <<_ACEOF
39008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39009 _ACEOF
39010
39011 fi
39012 done
39013
39014 fi
39015
39016 HAVE_SOME_SLEEP_FUNC=0
39017 if test "$USE_BEOS" = 1; then
39018 cat >>confdefs.h <<\_ACEOF
39019 #define HAVE_SLEEP 1
39020 _ACEOF
39021
39022 HAVE_SOME_SLEEP_FUNC=1
39023 fi
39024
39025 if test "$USE_DARWIN" = 1; then
39026 cat >>confdefs.h <<\_ACEOF
39027 #define HAVE_USLEEP 1
39028 _ACEOF
39029
39030 HAVE_SOME_SLEEP_FUNC=1
39031 fi
39032
39033 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
39034 POSIX4_LINK=
39035
39036 for ac_func in nanosleep
39037 do
39038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39039 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39041 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39042 echo $ECHO_N "(cached) $ECHO_C" >&6
39043 else
39044 cat >conftest.$ac_ext <<_ACEOF
39045 /* confdefs.h. */
39046 _ACEOF
39047 cat confdefs.h >>conftest.$ac_ext
39048 cat >>conftest.$ac_ext <<_ACEOF
39049 /* end confdefs.h. */
39050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39052 #define $ac_func innocuous_$ac_func
39053
39054 /* System header to define __stub macros and hopefully few prototypes,
39055 which can conflict with char $ac_func (); below.
39056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39057 <limits.h> exists even on freestanding compilers. */
39058
39059 #ifdef __STDC__
39060 # include <limits.h>
39061 #else
39062 # include <assert.h>
39063 #endif
39064
39065 #undef $ac_func
39066
39067 /* Override any GCC internal prototype to avoid an error.
39068 Use char because int might match the return type of a GCC
39069 builtin and then its argument prototype would still apply. */
39070 #ifdef __cplusplus
39071 extern "C"
39072 #endif
39073 char $ac_func ();
39074 /* The GNU C library defines this for functions which it implements
39075 to always fail with ENOSYS. Some functions are actually named
39076 something starting with __ and the normal name is an alias. */
39077 #if defined __stub_$ac_func || defined __stub___$ac_func
39078 choke me
39079 #endif
39080
39081 int
39082 main ()
39083 {
39084 return $ac_func ();
39085 ;
39086 return 0;
39087 }
39088 _ACEOF
39089 rm -f conftest.$ac_objext conftest$ac_exeext
39090 if { (ac_try="$ac_link"
39091 case "(($ac_try" in
39092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39093 *) ac_try_echo=$ac_try;;
39094 esac
39095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39096 (eval "$ac_link") 2>conftest.er1
39097 ac_status=$?
39098 grep -v '^ *+' conftest.er1 >conftest.err
39099 rm -f conftest.er1
39100 cat conftest.err >&5
39101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39102 (exit $ac_status); } && {
39103 test -z "$ac_c_werror_flag" ||
39104 test ! -s conftest.err
39105 } && test -s conftest$ac_exeext &&
39106 $as_test_x conftest$ac_exeext; then
39107 eval "$as_ac_var=yes"
39108 else
39109 echo "$as_me: failed program was:" >&5
39110 sed 's/^/| /' conftest.$ac_ext >&5
39111
39112 eval "$as_ac_var=no"
39113 fi
39114
39115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39116 conftest$ac_exeext conftest.$ac_ext
39117 fi
39118 ac_res=`eval echo '${'$as_ac_var'}'`
39119 { echo "$as_me:$LINENO: result: $ac_res" >&5
39120 echo "${ECHO_T}$ac_res" >&6; }
39121 if test `eval echo '${'$as_ac_var'}'` = yes; then
39122 cat >>confdefs.h <<_ACEOF
39123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39124 _ACEOF
39125 cat >>confdefs.h <<\_ACEOF
39126 #define HAVE_NANOSLEEP 1
39127 _ACEOF
39128
39129 else
39130
39131 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
39132 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
39133 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
39134 echo $ECHO_N "(cached) $ECHO_C" >&6
39135 else
39136 ac_check_lib_save_LIBS=$LIBS
39137 LIBS="-lposix4 $LIBS"
39138 cat >conftest.$ac_ext <<_ACEOF
39139 /* confdefs.h. */
39140 _ACEOF
39141 cat confdefs.h >>conftest.$ac_ext
39142 cat >>conftest.$ac_ext <<_ACEOF
39143 /* end confdefs.h. */
39144
39145 /* Override any GCC internal prototype to avoid an error.
39146 Use char because int might match the return type of a GCC
39147 builtin and then its argument prototype would still apply. */
39148 #ifdef __cplusplus
39149 extern "C"
39150 #endif
39151 char nanosleep ();
39152 int
39153 main ()
39154 {
39155 return nanosleep ();
39156 ;
39157 return 0;
39158 }
39159 _ACEOF
39160 rm -f conftest.$ac_objext conftest$ac_exeext
39161 if { (ac_try="$ac_link"
39162 case "(($ac_try" in
39163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39164 *) ac_try_echo=$ac_try;;
39165 esac
39166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39167 (eval "$ac_link") 2>conftest.er1
39168 ac_status=$?
39169 grep -v '^ *+' conftest.er1 >conftest.err
39170 rm -f conftest.er1
39171 cat conftest.err >&5
39172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39173 (exit $ac_status); } && {
39174 test -z "$ac_c_werror_flag" ||
39175 test ! -s conftest.err
39176 } && test -s conftest$ac_exeext &&
39177 $as_test_x conftest$ac_exeext; then
39178 ac_cv_lib_posix4_nanosleep=yes
39179 else
39180 echo "$as_me: failed program was:" >&5
39181 sed 's/^/| /' conftest.$ac_ext >&5
39182
39183 ac_cv_lib_posix4_nanosleep=no
39184 fi
39185
39186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39187 conftest$ac_exeext conftest.$ac_ext
39188 LIBS=$ac_check_lib_save_LIBS
39189 fi
39190 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
39191 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
39192 if test $ac_cv_lib_posix4_nanosleep = yes; then
39193
39194 cat >>confdefs.h <<\_ACEOF
39195 #define HAVE_NANOSLEEP 1
39196 _ACEOF
39197
39198 POSIX4_LINK=" -lposix4"
39199
39200 else
39201
39202
39203 for wx_func in usleep
39204 do
39205 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39206 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39207 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39208 echo $ECHO_N "(cached) $ECHO_C" >&6
39209 else
39210
39211 cat >conftest.$ac_ext <<_ACEOF
39212
39213 /* confdefs.h. */
39214 _ACEOF
39215 cat confdefs.h >>conftest.$ac_ext
39216 cat >>conftest.$ac_ext <<_ACEOF
39217 /* end confdefs.h. */
39218
39219
39220 $ac_includes_default
39221
39222 int
39223 main ()
39224 {
39225
39226 #ifndef $wx_func
39227 &$wx_func;
39228 #endif
39229
39230
39231 ;
39232 return 0;
39233 }
39234
39235 _ACEOF
39236 rm -f conftest.$ac_objext conftest$ac_exeext
39237 if { (ac_try="$ac_link"
39238 case "(($ac_try" in
39239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39240 *) ac_try_echo=$ac_try;;
39241 esac
39242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39243 (eval "$ac_link") 2>conftest.er1
39244 ac_status=$?
39245 grep -v '^ *+' conftest.er1 >conftest.err
39246 rm -f conftest.er1
39247 cat conftest.err >&5
39248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39249 (exit $ac_status); } && {
39250 test -z "$ac_c_werror_flag" ||
39251 test ! -s conftest.err
39252 } && test -s conftest$ac_exeext &&
39253 $as_test_x conftest$ac_exeext; then
39254 eval wx_cv_func_$wx_func=yes
39255 else
39256 echo "$as_me: failed program was:" >&5
39257 sed 's/^/| /' conftest.$ac_ext >&5
39258
39259 eval wx_cv_func_$wx_func=no
39260 fi
39261
39262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39263 conftest$ac_exeext conftest.$ac_ext
39264
39265 fi
39266 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39267 { echo "$as_me:$LINENO: result: $ac_res" >&5
39268 echo "${ECHO_T}$ac_res" >&6; }
39269
39270 if eval test \$wx_cv_func_$wx_func = yes
39271 then
39272 cat >>confdefs.h <<_ACEOF
39273 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39274 _ACEOF
39275
39276
39277 else
39278 :
39279 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
39280 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
39281
39282 fi
39283 done
39284
39285
39286
39287 fi
39288
39289
39290
39291 fi
39292 done
39293
39294 fi
39295
39296
39297 for wx_func in uname
39298 do
39299 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39300 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39301 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39302 echo $ECHO_N "(cached) $ECHO_C" >&6
39303 else
39304
39305 cat >conftest.$ac_ext <<_ACEOF
39306
39307 /* confdefs.h. */
39308 _ACEOF
39309 cat confdefs.h >>conftest.$ac_ext
39310 cat >>conftest.$ac_ext <<_ACEOF
39311 /* end confdefs.h. */
39312
39313 #include <sys/utsname.h>
39314 $ac_includes_default
39315
39316 int
39317 main ()
39318 {
39319
39320 #ifndef $wx_func
39321 &$wx_func;
39322 #endif
39323
39324
39325 ;
39326 return 0;
39327 }
39328
39329 _ACEOF
39330 rm -f conftest.$ac_objext conftest$ac_exeext
39331 if { (ac_try="$ac_link"
39332 case "(($ac_try" in
39333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39334 *) ac_try_echo=$ac_try;;
39335 esac
39336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39337 (eval "$ac_link") 2>conftest.er1
39338 ac_status=$?
39339 grep -v '^ *+' conftest.er1 >conftest.err
39340 rm -f conftest.er1
39341 cat conftest.err >&5
39342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39343 (exit $ac_status); } && {
39344 test -z "$ac_c_werror_flag" ||
39345 test ! -s conftest.err
39346 } && test -s conftest$ac_exeext &&
39347 $as_test_x conftest$ac_exeext; then
39348 eval wx_cv_func_$wx_func=yes
39349 else
39350 echo "$as_me: failed program was:" >&5
39351 sed 's/^/| /' conftest.$ac_ext >&5
39352
39353 eval wx_cv_func_$wx_func=no
39354 fi
39355
39356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39357 conftest$ac_exeext conftest.$ac_ext
39358
39359 fi
39360 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39361 { echo "$as_me:$LINENO: result: $ac_res" >&5
39362 echo "${ECHO_T}$ac_res" >&6; }
39363
39364 if eval test \$wx_cv_func_$wx_func = yes
39365 then
39366 cat >>confdefs.h <<_ACEOF
39367 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39368 _ACEOF
39369
39370
39371 else
39372 :
39373
39374 fi
39375 done
39376
39377 if test "$wx_cv_func_uname" != yes; then
39378
39379 for wx_func in gethostname
39380 do
39381 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39382 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39383 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39384 echo $ECHO_N "(cached) $ECHO_C" >&6
39385 else
39386
39387 cat >conftest.$ac_ext <<_ACEOF
39388
39389 /* confdefs.h. */
39390 _ACEOF
39391 cat confdefs.h >>conftest.$ac_ext
39392 cat >>conftest.$ac_ext <<_ACEOF
39393 /* end confdefs.h. */
39394
39395
39396 $ac_includes_default
39397
39398 int
39399 main ()
39400 {
39401
39402 #ifndef $wx_func
39403 &$wx_func;
39404 #endif
39405
39406
39407 ;
39408 return 0;
39409 }
39410
39411 _ACEOF
39412 rm -f conftest.$ac_objext conftest$ac_exeext
39413 if { (ac_try="$ac_link"
39414 case "(($ac_try" in
39415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39416 *) ac_try_echo=$ac_try;;
39417 esac
39418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39419 (eval "$ac_link") 2>conftest.er1
39420 ac_status=$?
39421 grep -v '^ *+' conftest.er1 >conftest.err
39422 rm -f conftest.er1
39423 cat conftest.err >&5
39424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39425 (exit $ac_status); } && {
39426 test -z "$ac_c_werror_flag" ||
39427 test ! -s conftest.err
39428 } && test -s conftest$ac_exeext &&
39429 $as_test_x conftest$ac_exeext; then
39430 eval wx_cv_func_$wx_func=yes
39431 else
39432 echo "$as_me: failed program was:" >&5
39433 sed 's/^/| /' conftest.$ac_ext >&5
39434
39435 eval wx_cv_func_$wx_func=no
39436 fi
39437
39438 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39439 conftest$ac_exeext conftest.$ac_ext
39440
39441 fi
39442 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39443 { echo "$as_me:$LINENO: result: $ac_res" >&5
39444 echo "${ECHO_T}$ac_res" >&6; }
39445
39446 if eval test \$wx_cv_func_$wx_func = yes
39447 then
39448 cat >>confdefs.h <<_ACEOF
39449 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39450 _ACEOF
39451
39452
39453 else
39454 :
39455
39456 fi
39457 done
39458
39459 fi
39460
39461
39462 for wx_func in strtok_r
39463 do
39464 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39465 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39466 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39467 echo $ECHO_N "(cached) $ECHO_C" >&6
39468 else
39469
39470 cat >conftest.$ac_ext <<_ACEOF
39471
39472 /* confdefs.h. */
39473 _ACEOF
39474 cat confdefs.h >>conftest.$ac_ext
39475 cat >>conftest.$ac_ext <<_ACEOF
39476 /* end confdefs.h. */
39477
39478 #define _REENTRANT
39479 $ac_includes_default
39480
39481 int
39482 main ()
39483 {
39484
39485 #ifndef $wx_func
39486 &$wx_func;
39487 #endif
39488
39489
39490 ;
39491 return 0;
39492 }
39493
39494 _ACEOF
39495 rm -f conftest.$ac_objext conftest$ac_exeext
39496 if { (ac_try="$ac_link"
39497 case "(($ac_try" in
39498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39499 *) ac_try_echo=$ac_try;;
39500 esac
39501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39502 (eval "$ac_link") 2>conftest.er1
39503 ac_status=$?
39504 grep -v '^ *+' conftest.er1 >conftest.err
39505 rm -f conftest.er1
39506 cat conftest.err >&5
39507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39508 (exit $ac_status); } && {
39509 test -z "$ac_c_werror_flag" ||
39510 test ! -s conftest.err
39511 } && test -s conftest$ac_exeext &&
39512 $as_test_x conftest$ac_exeext; then
39513 eval wx_cv_func_$wx_func=yes
39514 else
39515 echo "$as_me: failed program was:" >&5
39516 sed 's/^/| /' conftest.$ac_ext >&5
39517
39518 eval wx_cv_func_$wx_func=no
39519 fi
39520
39521 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39522 conftest$ac_exeext conftest.$ac_ext
39523
39524 fi
39525 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39526 { echo "$as_me:$LINENO: result: $ac_res" >&5
39527 echo "${ECHO_T}$ac_res" >&6; }
39528
39529 if eval test \$wx_cv_func_$wx_func = yes
39530 then
39531 cat >>confdefs.h <<_ACEOF
39532 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39533 _ACEOF
39534
39535
39536 else
39537 :
39538
39539 fi
39540 done
39541
39542
39543 INET_LINK=
39544
39545 for ac_func in inet_addr
39546 do
39547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39548 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39550 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39551 echo $ECHO_N "(cached) $ECHO_C" >&6
39552 else
39553 cat >conftest.$ac_ext <<_ACEOF
39554 /* confdefs.h. */
39555 _ACEOF
39556 cat confdefs.h >>conftest.$ac_ext
39557 cat >>conftest.$ac_ext <<_ACEOF
39558 /* end confdefs.h. */
39559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39561 #define $ac_func innocuous_$ac_func
39562
39563 /* System header to define __stub macros and hopefully few prototypes,
39564 which can conflict with char $ac_func (); below.
39565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39566 <limits.h> exists even on freestanding compilers. */
39567
39568 #ifdef __STDC__
39569 # include <limits.h>
39570 #else
39571 # include <assert.h>
39572 #endif
39573
39574 #undef $ac_func
39575
39576 /* Override any GCC internal prototype to avoid an error.
39577 Use char because int might match the return type of a GCC
39578 builtin and then its argument prototype would still apply. */
39579 #ifdef __cplusplus
39580 extern "C"
39581 #endif
39582 char $ac_func ();
39583 /* The GNU C library defines this for functions which it implements
39584 to always fail with ENOSYS. Some functions are actually named
39585 something starting with __ and the normal name is an alias. */
39586 #if defined __stub_$ac_func || defined __stub___$ac_func
39587 choke me
39588 #endif
39589
39590 int
39591 main ()
39592 {
39593 return $ac_func ();
39594 ;
39595 return 0;
39596 }
39597 _ACEOF
39598 rm -f conftest.$ac_objext conftest$ac_exeext
39599 if { (ac_try="$ac_link"
39600 case "(($ac_try" in
39601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39602 *) ac_try_echo=$ac_try;;
39603 esac
39604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39605 (eval "$ac_link") 2>conftest.er1
39606 ac_status=$?
39607 grep -v '^ *+' conftest.er1 >conftest.err
39608 rm -f conftest.er1
39609 cat conftest.err >&5
39610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39611 (exit $ac_status); } && {
39612 test -z "$ac_c_werror_flag" ||
39613 test ! -s conftest.err
39614 } && test -s conftest$ac_exeext &&
39615 $as_test_x conftest$ac_exeext; then
39616 eval "$as_ac_var=yes"
39617 else
39618 echo "$as_me: failed program was:" >&5
39619 sed 's/^/| /' conftest.$ac_ext >&5
39620
39621 eval "$as_ac_var=no"
39622 fi
39623
39624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39625 conftest$ac_exeext conftest.$ac_ext
39626 fi
39627 ac_res=`eval echo '${'$as_ac_var'}'`
39628 { echo "$as_me:$LINENO: result: $ac_res" >&5
39629 echo "${ECHO_T}$ac_res" >&6; }
39630 if test `eval echo '${'$as_ac_var'}'` = yes; then
39631 cat >>confdefs.h <<_ACEOF
39632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39633 _ACEOF
39634 cat >>confdefs.h <<\_ACEOF
39635 #define HAVE_INET_ADDR 1
39636 _ACEOF
39637
39638 else
39639
39640 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39641 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39642 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39643 echo $ECHO_N "(cached) $ECHO_C" >&6
39644 else
39645 ac_check_lib_save_LIBS=$LIBS
39646 LIBS="-lnsl $LIBS"
39647 cat >conftest.$ac_ext <<_ACEOF
39648 /* confdefs.h. */
39649 _ACEOF
39650 cat confdefs.h >>conftest.$ac_ext
39651 cat >>conftest.$ac_ext <<_ACEOF
39652 /* end confdefs.h. */
39653
39654 /* Override any GCC internal prototype to avoid an error.
39655 Use char because int might match the return type of a GCC
39656 builtin and then its argument prototype would still apply. */
39657 #ifdef __cplusplus
39658 extern "C"
39659 #endif
39660 char inet_addr ();
39661 int
39662 main ()
39663 {
39664 return inet_addr ();
39665 ;
39666 return 0;
39667 }
39668 _ACEOF
39669 rm -f conftest.$ac_objext conftest$ac_exeext
39670 if { (ac_try="$ac_link"
39671 case "(($ac_try" in
39672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39673 *) ac_try_echo=$ac_try;;
39674 esac
39675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39676 (eval "$ac_link") 2>conftest.er1
39677 ac_status=$?
39678 grep -v '^ *+' conftest.er1 >conftest.err
39679 rm -f conftest.er1
39680 cat conftest.err >&5
39681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39682 (exit $ac_status); } && {
39683 test -z "$ac_c_werror_flag" ||
39684 test ! -s conftest.err
39685 } && test -s conftest$ac_exeext &&
39686 $as_test_x conftest$ac_exeext; then
39687 ac_cv_lib_nsl_inet_addr=yes
39688 else
39689 echo "$as_me: failed program was:" >&5
39690 sed 's/^/| /' conftest.$ac_ext >&5
39691
39692 ac_cv_lib_nsl_inet_addr=no
39693 fi
39694
39695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39696 conftest$ac_exeext conftest.$ac_ext
39697 LIBS=$ac_check_lib_save_LIBS
39698 fi
39699 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39700 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39701 if test $ac_cv_lib_nsl_inet_addr = yes; then
39702 INET_LINK="nsl"
39703 else
39704
39705 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39706 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39707 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39708 echo $ECHO_N "(cached) $ECHO_C" >&6
39709 else
39710 ac_check_lib_save_LIBS=$LIBS
39711 LIBS="-lresolv $LIBS"
39712 cat >conftest.$ac_ext <<_ACEOF
39713 /* confdefs.h. */
39714 _ACEOF
39715 cat confdefs.h >>conftest.$ac_ext
39716 cat >>conftest.$ac_ext <<_ACEOF
39717 /* end confdefs.h. */
39718
39719 /* Override any GCC internal prototype to avoid an error.
39720 Use char because int might match the return type of a GCC
39721 builtin and then its argument prototype would still apply. */
39722 #ifdef __cplusplus
39723 extern "C"
39724 #endif
39725 char inet_addr ();
39726 int
39727 main ()
39728 {
39729 return inet_addr ();
39730 ;
39731 return 0;
39732 }
39733 _ACEOF
39734 rm -f conftest.$ac_objext conftest$ac_exeext
39735 if { (ac_try="$ac_link"
39736 case "(($ac_try" in
39737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39738 *) ac_try_echo=$ac_try;;
39739 esac
39740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39741 (eval "$ac_link") 2>conftest.er1
39742 ac_status=$?
39743 grep -v '^ *+' conftest.er1 >conftest.err
39744 rm -f conftest.er1
39745 cat conftest.err >&5
39746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39747 (exit $ac_status); } && {
39748 test -z "$ac_c_werror_flag" ||
39749 test ! -s conftest.err
39750 } && test -s conftest$ac_exeext &&
39751 $as_test_x conftest$ac_exeext; then
39752 ac_cv_lib_resolv_inet_addr=yes
39753 else
39754 echo "$as_me: failed program was:" >&5
39755 sed 's/^/| /' conftest.$ac_ext >&5
39756
39757 ac_cv_lib_resolv_inet_addr=no
39758 fi
39759
39760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39761 conftest$ac_exeext conftest.$ac_ext
39762 LIBS=$ac_check_lib_save_LIBS
39763 fi
39764 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39765 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39766 if test $ac_cv_lib_resolv_inet_addr = yes; then
39767 INET_LINK="resolv"
39768 else
39769
39770 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39771 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39772 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39773 echo $ECHO_N "(cached) $ECHO_C" >&6
39774 else
39775 ac_check_lib_save_LIBS=$LIBS
39776 LIBS="-lsocket $LIBS"
39777 cat >conftest.$ac_ext <<_ACEOF
39778 /* confdefs.h. */
39779 _ACEOF
39780 cat confdefs.h >>conftest.$ac_ext
39781 cat >>conftest.$ac_ext <<_ACEOF
39782 /* end confdefs.h. */
39783
39784 /* Override any GCC internal prototype to avoid an error.
39785 Use char because int might match the return type of a GCC
39786 builtin and then its argument prototype would still apply. */
39787 #ifdef __cplusplus
39788 extern "C"
39789 #endif
39790 char inet_addr ();
39791 int
39792 main ()
39793 {
39794 return inet_addr ();
39795 ;
39796 return 0;
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 ac_cv_lib_socket_inet_addr=yes
39818 else
39819 echo "$as_me: failed program was:" >&5
39820 sed 's/^/| /' conftest.$ac_ext >&5
39821
39822 ac_cv_lib_socket_inet_addr=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 LIBS=$ac_check_lib_save_LIBS
39828 fi
39829 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39830 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
39831 if test $ac_cv_lib_socket_inet_addr = yes; then
39832 INET_LINK="socket"
39833
39834 fi
39835
39836
39837
39838 fi
39839
39840
39841
39842 fi
39843
39844
39845
39846 fi
39847 done
39848
39849
39850
39851 for ac_func in inet_aton
39852 do
39853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39854 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39856 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39857 echo $ECHO_N "(cached) $ECHO_C" >&6
39858 else
39859 cat >conftest.$ac_ext <<_ACEOF
39860 /* confdefs.h. */
39861 _ACEOF
39862 cat confdefs.h >>conftest.$ac_ext
39863 cat >>conftest.$ac_ext <<_ACEOF
39864 /* end confdefs.h. */
39865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39867 #define $ac_func innocuous_$ac_func
39868
39869 /* System header to define __stub macros and hopefully few prototypes,
39870 which can conflict with char $ac_func (); below.
39871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39872 <limits.h> exists even on freestanding compilers. */
39873
39874 #ifdef __STDC__
39875 # include <limits.h>
39876 #else
39877 # include <assert.h>
39878 #endif
39879
39880 #undef $ac_func
39881
39882 /* Override any GCC internal prototype to avoid an error.
39883 Use char because int might match the return type of a GCC
39884 builtin and then its argument prototype would still apply. */
39885 #ifdef __cplusplus
39886 extern "C"
39887 #endif
39888 char $ac_func ();
39889 /* The GNU C library defines this for functions which it implements
39890 to always fail with ENOSYS. Some functions are actually named
39891 something starting with __ and the normal name is an alias. */
39892 #if defined __stub_$ac_func || defined __stub___$ac_func
39893 choke me
39894 #endif
39895
39896 int
39897 main ()
39898 {
39899 return $ac_func ();
39900 ;
39901 return 0;
39902 }
39903 _ACEOF
39904 rm -f conftest.$ac_objext conftest$ac_exeext
39905 if { (ac_try="$ac_link"
39906 case "(($ac_try" in
39907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39908 *) ac_try_echo=$ac_try;;
39909 esac
39910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39911 (eval "$ac_link") 2>conftest.er1
39912 ac_status=$?
39913 grep -v '^ *+' conftest.er1 >conftest.err
39914 rm -f conftest.er1
39915 cat conftest.err >&5
39916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39917 (exit $ac_status); } && {
39918 test -z "$ac_c_werror_flag" ||
39919 test ! -s conftest.err
39920 } && test -s conftest$ac_exeext &&
39921 $as_test_x conftest$ac_exeext; then
39922 eval "$as_ac_var=yes"
39923 else
39924 echo "$as_me: failed program was:" >&5
39925 sed 's/^/| /' conftest.$ac_ext >&5
39926
39927 eval "$as_ac_var=no"
39928 fi
39929
39930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39931 conftest$ac_exeext conftest.$ac_ext
39932 fi
39933 ac_res=`eval echo '${'$as_ac_var'}'`
39934 { echo "$as_me:$LINENO: result: $ac_res" >&5
39935 echo "${ECHO_T}$ac_res" >&6; }
39936 if test `eval echo '${'$as_ac_var'}'` = yes; then
39937 cat >>confdefs.h <<_ACEOF
39938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39939 _ACEOF
39940 cat >>confdefs.h <<\_ACEOF
39941 #define HAVE_INET_ATON 1
39942 _ACEOF
39943
39944 else
39945
39946 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39947 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39948 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39949 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39950 echo $ECHO_N "(cached) $ECHO_C" >&6
39951 else
39952 ac_check_lib_save_LIBS=$LIBS
39953 LIBS="-l$INET_LINK $LIBS"
39954 cat >conftest.$ac_ext <<_ACEOF
39955 /* confdefs.h. */
39956 _ACEOF
39957 cat confdefs.h >>conftest.$ac_ext
39958 cat >>conftest.$ac_ext <<_ACEOF
39959 /* end confdefs.h. */
39960
39961 /* Override any GCC internal prototype to avoid an error.
39962 Use char because int might match the return type of a GCC
39963 builtin and then its argument prototype would still apply. */
39964 #ifdef __cplusplus
39965 extern "C"
39966 #endif
39967 char inet_aton ();
39968 int
39969 main ()
39970 {
39971 return inet_aton ();
39972 ;
39973 return 0;
39974 }
39975 _ACEOF
39976 rm -f conftest.$ac_objext conftest$ac_exeext
39977 if { (ac_try="$ac_link"
39978 case "(($ac_try" in
39979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39980 *) ac_try_echo=$ac_try;;
39981 esac
39982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39983 (eval "$ac_link") 2>conftest.er1
39984 ac_status=$?
39985 grep -v '^ *+' conftest.er1 >conftest.err
39986 rm -f conftest.er1
39987 cat conftest.err >&5
39988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39989 (exit $ac_status); } && {
39990 test -z "$ac_c_werror_flag" ||
39991 test ! -s conftest.err
39992 } && test -s conftest$ac_exeext &&
39993 $as_test_x conftest$ac_exeext; then
39994 eval "$as_ac_Lib=yes"
39995 else
39996 echo "$as_me: failed program was:" >&5
39997 sed 's/^/| /' conftest.$ac_ext >&5
39998
39999 eval "$as_ac_Lib=no"
40000 fi
40001
40002 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40003 conftest$ac_exeext conftest.$ac_ext
40004 LIBS=$ac_check_lib_save_LIBS
40005 fi
40006 ac_res=`eval echo '${'$as_ac_Lib'}'`
40007 { echo "$as_me:$LINENO: result: $ac_res" >&5
40008 echo "${ECHO_T}$ac_res" >&6; }
40009 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
40010 cat >>confdefs.h <<\_ACEOF
40011 #define HAVE_INET_ATON 1
40012 _ACEOF
40013
40014 fi
40015
40016
40017 fi
40018 done
40019
40020
40021 if test "x$INET_LINK" != "x"; then
40022 cat >>confdefs.h <<\_ACEOF
40023 #define HAVE_INET_ADDR 1
40024 _ACEOF
40025
40026 INET_LINK=" -l$INET_LINK"
40027 fi
40028
40029
40030 for wx_func in fdopen
40031 do
40032 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40033 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40034 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40035 echo $ECHO_N "(cached) $ECHO_C" >&6
40036 else
40037
40038 cat >conftest.$ac_ext <<_ACEOF
40039
40040 /* confdefs.h. */
40041 _ACEOF
40042 cat confdefs.h >>conftest.$ac_ext
40043 cat >>conftest.$ac_ext <<_ACEOF
40044 /* end confdefs.h. */
40045
40046
40047 $ac_includes_default
40048
40049 int
40050 main ()
40051 {
40052
40053 #ifndef $wx_func
40054 &$wx_func;
40055 #endif
40056
40057
40058 ;
40059 return 0;
40060 }
40061
40062 _ACEOF
40063 rm -f conftest.$ac_objext conftest$ac_exeext
40064 if { (ac_try="$ac_link"
40065 case "(($ac_try" in
40066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40067 *) ac_try_echo=$ac_try;;
40068 esac
40069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40070 (eval "$ac_link") 2>conftest.er1
40071 ac_status=$?
40072 grep -v '^ *+' conftest.er1 >conftest.err
40073 rm -f conftest.er1
40074 cat conftest.err >&5
40075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40076 (exit $ac_status); } && {
40077 test -z "$ac_c_werror_flag" ||
40078 test ! -s conftest.err
40079 } && test -s conftest$ac_exeext &&
40080 $as_test_x conftest$ac_exeext; then
40081 eval wx_cv_func_$wx_func=yes
40082 else
40083 echo "$as_me: failed program was:" >&5
40084 sed 's/^/| /' conftest.$ac_ext >&5
40085
40086 eval wx_cv_func_$wx_func=no
40087 fi
40088
40089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40090 conftest$ac_exeext conftest.$ac_ext
40091
40092 fi
40093 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40094 { echo "$as_me:$LINENO: result: $ac_res" >&5
40095 echo "${ECHO_T}$ac_res" >&6; }
40096
40097 if eval test \$wx_cv_func_$wx_func = yes
40098 then
40099 cat >>confdefs.h <<_ACEOF
40100 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40101 _ACEOF
40102
40103
40104 else
40105 :
40106
40107 fi
40108 done
40109
40110
40111 if test "$wxUSE_TARSTREAM" = "yes"; then
40112
40113 for wx_func in sysconf
40114 do
40115 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40116 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40117 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40118 echo $ECHO_N "(cached) $ECHO_C" >&6
40119 else
40120
40121 cat >conftest.$ac_ext <<_ACEOF
40122
40123 /* confdefs.h. */
40124 _ACEOF
40125 cat confdefs.h >>conftest.$ac_ext
40126 cat >>conftest.$ac_ext <<_ACEOF
40127 /* end confdefs.h. */
40128
40129
40130 $ac_includes_default
40131
40132 int
40133 main ()
40134 {
40135
40136 #ifndef $wx_func
40137 &$wx_func;
40138 #endif
40139
40140
40141 ;
40142 return 0;
40143 }
40144
40145 _ACEOF
40146 rm -f conftest.$ac_objext conftest$ac_exeext
40147 if { (ac_try="$ac_link"
40148 case "(($ac_try" in
40149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40150 *) ac_try_echo=$ac_try;;
40151 esac
40152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40153 (eval "$ac_link") 2>conftest.er1
40154 ac_status=$?
40155 grep -v '^ *+' conftest.er1 >conftest.err
40156 rm -f conftest.er1
40157 cat conftest.err >&5
40158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40159 (exit $ac_status); } && {
40160 test -z "$ac_c_werror_flag" ||
40161 test ! -s conftest.err
40162 } && test -s conftest$ac_exeext &&
40163 $as_test_x conftest$ac_exeext; then
40164 eval wx_cv_func_$wx_func=yes
40165 else
40166 echo "$as_me: failed program was:" >&5
40167 sed 's/^/| /' conftest.$ac_ext >&5
40168
40169 eval wx_cv_func_$wx_func=no
40170 fi
40171
40172 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40173 conftest$ac_exeext conftest.$ac_ext
40174
40175 fi
40176 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40177 { echo "$as_me:$LINENO: result: $ac_res" >&5
40178 echo "${ECHO_T}$ac_res" >&6; }
40179
40180 if eval test \$wx_cv_func_$wx_func = yes
40181 then
40182 cat >>confdefs.h <<_ACEOF
40183 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40184 _ACEOF
40185
40186
40187 else
40188 :
40189
40190 fi
40191 done
40192
40193
40194
40195 for wx_func in getpwuid_r
40196 do
40197 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40198 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40199 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40200 echo $ECHO_N "(cached) $ECHO_C" >&6
40201 else
40202
40203 cat >conftest.$ac_ext <<_ACEOF
40204
40205 /* confdefs.h. */
40206 _ACEOF
40207 cat confdefs.h >>conftest.$ac_ext
40208 cat >>conftest.$ac_ext <<_ACEOF
40209 /* end confdefs.h. */
40210
40211
40212 #define _REENTRANT
40213 #include <pwd.h>
40214
40215 $ac_includes_default
40216
40217 int
40218 main ()
40219 {
40220
40221 #ifndef $wx_func
40222 &$wx_func;
40223 #endif
40224
40225 struct passwd pw, *ppw;
40226 char buf[1024];
40227 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
40228
40229
40230 ;
40231 return 0;
40232 }
40233
40234 _ACEOF
40235 rm -f conftest.$ac_objext conftest$ac_exeext
40236 if { (ac_try="$ac_link"
40237 case "(($ac_try" in
40238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40239 *) ac_try_echo=$ac_try;;
40240 esac
40241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40242 (eval "$ac_link") 2>conftest.er1
40243 ac_status=$?
40244 grep -v '^ *+' conftest.er1 >conftest.err
40245 rm -f conftest.er1
40246 cat conftest.err >&5
40247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40248 (exit $ac_status); } && {
40249 test -z "$ac_c_werror_flag" ||
40250 test ! -s conftest.err
40251 } && test -s conftest$ac_exeext &&
40252 $as_test_x conftest$ac_exeext; then
40253 eval wx_cv_func_$wx_func=yes
40254 else
40255 echo "$as_me: failed program was:" >&5
40256 sed 's/^/| /' conftest.$ac_ext >&5
40257
40258 eval wx_cv_func_$wx_func=no
40259 fi
40260
40261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40262 conftest$ac_exeext conftest.$ac_ext
40263
40264 fi
40265 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40266 { echo "$as_me:$LINENO: result: $ac_res" >&5
40267 echo "${ECHO_T}$ac_res" >&6; }
40268
40269 if eval test \$wx_cv_func_$wx_func = yes
40270 then
40271 cat >>confdefs.h <<_ACEOF
40272 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40273 _ACEOF
40274
40275
40276 else
40277 :
40278
40279 fi
40280 done
40281
40282
40283
40284 for wx_func in getgrgid_r
40285 do
40286 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40287 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40288 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40289 echo $ECHO_N "(cached) $ECHO_C" >&6
40290 else
40291
40292 cat >conftest.$ac_ext <<_ACEOF
40293
40294 /* confdefs.h. */
40295 _ACEOF
40296 cat confdefs.h >>conftest.$ac_ext
40297 cat >>conftest.$ac_ext <<_ACEOF
40298 /* end confdefs.h. */
40299
40300
40301 #define _REENTRANT
40302 #include <grp.h>
40303
40304 $ac_includes_default
40305
40306 int
40307 main ()
40308 {
40309
40310 #ifndef $wx_func
40311 &$wx_func;
40312 #endif
40313
40314 struct group grp, *pgrp;
40315 char buf[1024];
40316 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
40317
40318
40319 ;
40320 return 0;
40321 }
40322
40323 _ACEOF
40324 rm -f conftest.$ac_objext conftest$ac_exeext
40325 if { (ac_try="$ac_link"
40326 case "(($ac_try" in
40327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40328 *) ac_try_echo=$ac_try;;
40329 esac
40330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40331 (eval "$ac_link") 2>conftest.er1
40332 ac_status=$?
40333 grep -v '^ *+' conftest.er1 >conftest.err
40334 rm -f conftest.er1
40335 cat conftest.err >&5
40336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40337 (exit $ac_status); } && {
40338 test -z "$ac_c_werror_flag" ||
40339 test ! -s conftest.err
40340 } && test -s conftest$ac_exeext &&
40341 $as_test_x conftest$ac_exeext; then
40342 eval wx_cv_func_$wx_func=yes
40343 else
40344 echo "$as_me: failed program was:" >&5
40345 sed 's/^/| /' conftest.$ac_ext >&5
40346
40347 eval wx_cv_func_$wx_func=no
40348 fi
40349
40350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40351 conftest$ac_exeext conftest.$ac_ext
40352
40353 fi
40354 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40355 { echo "$as_me:$LINENO: result: $ac_res" >&5
40356 echo "${ECHO_T}$ac_res" >&6; }
40357
40358 if eval test \$wx_cv_func_$wx_func = yes
40359 then
40360 cat >>confdefs.h <<_ACEOF
40361 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40362 _ACEOF
40363
40364
40365 else
40366 :
40367
40368 fi
40369 done
40370
40371 fi
40372
40373 fi
40374
40375
40376
40377 cat >confcache <<\_ACEOF
40378 # This file is a shell script that caches the results of configure
40379 # tests run on this system so they can be shared between configure
40380 # scripts and configure runs, see configure's option --config-cache.
40381 # It is not useful on other systems. If it contains results you don't
40382 # want to keep, you may remove or edit it.
40383 #
40384 # config.status only pays attention to the cache file if you give it
40385 # the --recheck option to rerun configure.
40386 #
40387 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40388 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40389 # following values.
40390
40391 _ACEOF
40392
40393 # The following way of writing the cache mishandles newlines in values,
40394 # but we know of no workaround that is simple, portable, and efficient.
40395 # So, we kill variables containing newlines.
40396 # Ultrix sh set writes to stderr and can't be redirected directly,
40397 # and sets the high bit in the cache file unless we assign to the vars.
40398 (
40399 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
40400 eval ac_val=\$$ac_var
40401 case $ac_val in #(
40402 *${as_nl}*)
40403 case $ac_var in #(
40404 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
40405 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
40406 esac
40407 case $ac_var in #(
40408 _ | IFS | as_nl) ;; #(
40409 *) $as_unset $ac_var ;;
40410 esac ;;
40411 esac
40412 done
40413
40414 (set) 2>&1 |
40415 case $as_nl`(ac_space=' '; set) 2>&1` in #(
40416 *${as_nl}ac_space=\ *)
40417 # `set' does not quote correctly, so add quotes (double-quote
40418 # substitution turns \\\\ into \\, and sed turns \\ into \).
40419 sed -n \
40420 "s/'/'\\\\''/g;
40421 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40422 ;; #(
40423 *)
40424 # `set' quotes correctly as required by POSIX, so do not add quotes.
40425 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
40426 ;;
40427 esac |
40428 sort
40429 ) |
40430 sed '
40431 /^ac_cv_env_/b end
40432 t clear
40433 :clear
40434 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40435 t end
40436 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40437 :end' >>confcache
40438 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
40439 if test -w "$cache_file"; then
40440 test "x$cache_file" != "x/dev/null" &&
40441 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
40442 echo "$as_me: updating cache $cache_file" >&6;}
40443 cat confcache >$cache_file
40444 else
40445 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
40446 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40447 fi
40448 fi
40449 rm -f confcache
40450
40451
40452 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40453
40454
40455 THREADS_LINK=
40456 THREADS_CFLAGS=
40457
40458 if test "$wxUSE_THREADS" = "yes" ; then
40459 if test "$USE_BEOS" = 1; then
40460 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40461 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40462 wxUSE_THREADS="no"
40463 fi
40464 fi
40465
40466 if test "$wxUSE_THREADS" = "yes" ; then
40467
40468
40469 THREAD_OPTS="-pthread"
40470 if test "x$SUNCXX" = xyes; then
40471 THREAD_OPTS="-mt lthread $THREAD_OPTS"
40472 fi
40473
40474 case "${host}" in
40475 *-*-solaris2* | *-*-sunos4* )
40476 if test "x$GCC" = "xyes"; then
40477 THREAD_OPTS="-pthreads $THREAD_OPTS"
40478 fi
40479 ;;
40480 *-*-freebsd*)
40481 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
40482 ;;
40483 *-*-darwin* | *-*-cygwin* )
40484 THREAD_OPTS=""
40485 ;;
40486 *-*-aix*)
40487 THREAD_OPTS="pthreads"
40488 ;;
40489 *-hp-hpux* )
40490 if test "x$GCC" = "xyes"; then
40491 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
40492 THREAD_OPTS=""
40493 else
40494 THREAD_OPTS="-mt"
40495 fi
40496 ;;
40497
40498 *-*-irix* )
40499 if test "x$GCC" = "xyes"; then
40500 THREAD_OPTS=""
40501 fi
40502 ;;
40503
40504 *-*-qnx*)
40505 THREAD_OPTS=""
40506 ;;
40507
40508 *-*-*UnixWare*)
40509 if test "x$GCC" != "xyes"; then
40510 THREAD_OPTS="-Ethread"
40511 fi
40512 ;;
40513 esac
40514
40515 case "${host}" in
40516 *-*-qnx*)
40517 THREAD_OPTS="none pthread"
40518 ;;
40519
40520 *)
40521 THREAD_OPTS="$THREAD_OPTS pthread none"
40522 ;;
40523 esac
40524
40525 THREADS_OK=no
40526 for flag in $THREAD_OPTS; do
40527 case $flag in
40528 none)
40529 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40530 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
40531 ;;
40532
40533 -*)
40534 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40535 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40536 THREADS_CFLAGS="$flag"
40537 ;;
40538
40539 *)
40540 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40541 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40542 THREADS_LINK="-l$flag"
40543 ;;
40544 esac
40545
40546 save_LIBS="$LIBS"
40547 save_CFLAGS="$CFLAGS"
40548 LIBS="$THREADS_LINK $LIBS"
40549 CFLAGS="$THREADS_CFLAGS $CFLAGS"
40550
40551 cat >conftest.$ac_ext <<_ACEOF
40552 /* confdefs.h. */
40553 _ACEOF
40554 cat confdefs.h >>conftest.$ac_ext
40555 cat >>conftest.$ac_ext <<_ACEOF
40556 /* end confdefs.h. */
40557 #include <pthread.h>
40558 int
40559 main ()
40560 {
40561 pthread_create(0,0,0,0);
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 THREADS_OK=yes
40585 else
40586 echo "$as_me: failed program was:" >&5
40587 sed 's/^/| /' conftest.$ac_ext >&5
40588
40589
40590 fi
40591
40592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40593 conftest$ac_exeext conftest.$ac_ext
40594
40595 LIBS="$save_LIBS"
40596 CFLAGS="$save_CFLAGS"
40597
40598 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40599 echo "${ECHO_T}$THREADS_OK" >&6; }
40600 if test "x$THREADS_OK" = "xyes"; then
40601 break;
40602 fi
40603
40604 THREADS_LINK=""
40605 THREADS_CFLAGS=""
40606 done
40607
40608 if test "x$THREADS_OK" != "xyes"; then
40609 wxUSE_THREADS=no
40610 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40611 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40612 else
40613 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40614 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
40615 LIBS="$THREADS_LINK $LIBS"
40616
40617 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40618 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40619 flag=no
40620 case "${host}" in
40621 *-aix*)
40622 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40623 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
40624 flag="-D_THREAD_SAFE"
40625 ;;
40626 *-freebsd*)
40627 flag="-D_THREAD_SAFE"
40628 ;;
40629 *-hp-hpux* )
40630 flag="-D_REENTRANT"
40631 if test "x$GCC" != "xyes"; then
40632 flag="$flag -D_RWSTD_MULTI_THREAD"
40633 fi
40634 ;;
40635 *solaris* | alpha*-osf*)
40636 flag="-D_REENTRANT"
40637 ;;
40638 esac
40639 { echo "$as_me:$LINENO: result: ${flag}" >&5
40640 echo "${ECHO_T}${flag}" >&6; }
40641 if test "x$flag" != xno; then
40642 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40643 fi
40644
40645 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40646 fi
40647 fi
40648
40649 if test "$wxUSE_THREADS" = "yes" ; then
40650
40651 for ac_func in thr_setconcurrency
40652 do
40653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40654 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40656 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40657 echo $ECHO_N "(cached) $ECHO_C" >&6
40658 else
40659 cat >conftest.$ac_ext <<_ACEOF
40660 /* confdefs.h. */
40661 _ACEOF
40662 cat confdefs.h >>conftest.$ac_ext
40663 cat >>conftest.$ac_ext <<_ACEOF
40664 /* end confdefs.h. */
40665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40667 #define $ac_func innocuous_$ac_func
40668
40669 /* System header to define __stub macros and hopefully few prototypes,
40670 which can conflict with char $ac_func (); below.
40671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40672 <limits.h> exists even on freestanding compilers. */
40673
40674 #ifdef __STDC__
40675 # include <limits.h>
40676 #else
40677 # include <assert.h>
40678 #endif
40679
40680 #undef $ac_func
40681
40682 /* Override any GCC internal prototype to avoid an error.
40683 Use char because int might match the return type of a GCC
40684 builtin and then its argument prototype would still apply. */
40685 #ifdef __cplusplus
40686 extern "C"
40687 #endif
40688 char $ac_func ();
40689 /* The GNU C library defines this for functions which it implements
40690 to always fail with ENOSYS. Some functions are actually named
40691 something starting with __ and the normal name is an alias. */
40692 #if defined __stub_$ac_func || defined __stub___$ac_func
40693 choke me
40694 #endif
40695
40696 int
40697 main ()
40698 {
40699 return $ac_func ();
40700 ;
40701 return 0;
40702 }
40703 _ACEOF
40704 rm -f conftest.$ac_objext conftest$ac_exeext
40705 if { (ac_try="$ac_link"
40706 case "(($ac_try" in
40707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40708 *) ac_try_echo=$ac_try;;
40709 esac
40710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40711 (eval "$ac_link") 2>conftest.er1
40712 ac_status=$?
40713 grep -v '^ *+' conftest.er1 >conftest.err
40714 rm -f conftest.er1
40715 cat conftest.err >&5
40716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40717 (exit $ac_status); } && {
40718 test -z "$ac_c_werror_flag" ||
40719 test ! -s conftest.err
40720 } && test -s conftest$ac_exeext &&
40721 $as_test_x conftest$ac_exeext; then
40722 eval "$as_ac_var=yes"
40723 else
40724 echo "$as_me: failed program was:" >&5
40725 sed 's/^/| /' conftest.$ac_ext >&5
40726
40727 eval "$as_ac_var=no"
40728 fi
40729
40730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40731 conftest$ac_exeext conftest.$ac_ext
40732 fi
40733 ac_res=`eval echo '${'$as_ac_var'}'`
40734 { echo "$as_me:$LINENO: result: $ac_res" >&5
40735 echo "${ECHO_T}$ac_res" >&6; }
40736 if test `eval echo '${'$as_ac_var'}'` = yes; then
40737 cat >>confdefs.h <<_ACEOF
40738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40739 _ACEOF
40740
40741 fi
40742 done
40743
40744
40745 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40746 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40747 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40748 echo $ECHO_N "(cached) $ECHO_C" >&6
40749 else
40750
40751 ac_ext=cpp
40752 ac_cpp='$CXXCPP $CPPFLAGS'
40753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40756
40757 cat >conftest.$ac_ext <<_ACEOF
40758 /* confdefs.h. */
40759 _ACEOF
40760 cat confdefs.h >>conftest.$ac_ext
40761 cat >>conftest.$ac_ext <<_ACEOF
40762 /* end confdefs.h. */
40763 #include <pthread.h>
40764 void ThreadCleanupFunc(void *p);
40765
40766 int
40767 main ()
40768 {
40769
40770 void *p;
40771 pthread_cleanup_push(ThreadCleanupFunc, p);
40772 pthread_cleanup_pop(0);
40773
40774 ;
40775 return 0;
40776 }
40777 _ACEOF
40778 rm -f conftest.$ac_objext
40779 if { (ac_try="$ac_compile"
40780 case "(($ac_try" in
40781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40782 *) ac_try_echo=$ac_try;;
40783 esac
40784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40785 (eval "$ac_compile") 2>conftest.er1
40786 ac_status=$?
40787 grep -v '^ *+' conftest.er1 >conftest.err
40788 rm -f conftest.er1
40789 cat conftest.err >&5
40790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40791 (exit $ac_status); } && {
40792 test -z "$ac_cxx_werror_flag" ||
40793 test ! -s conftest.err
40794 } && test -s conftest.$ac_objext; then
40795
40796 wx_cv_func_pthread_cleanup=yes
40797
40798 else
40799 echo "$as_me: failed program was:" >&5
40800 sed 's/^/| /' conftest.$ac_ext >&5
40801
40802
40803 wx_cv_func_pthread_cleanup=no
40804
40805
40806 fi
40807
40808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40809 ac_ext=c
40810 ac_cpp='$CPP $CPPFLAGS'
40811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40814
40815
40816 fi
40817 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40818 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
40819 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40820 cat >>confdefs.h <<\_ACEOF
40821 #define wxHAVE_PTHREAD_CLEANUP 1
40822 _ACEOF
40823
40824 fi
40825
40826
40827 for ac_header in sched.h
40828 do
40829 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40830 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40831 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40832 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40833 echo $ECHO_N "(cached) $ECHO_C" >&6
40834 else
40835 cat >conftest.$ac_ext <<_ACEOF
40836 /* confdefs.h. */
40837 _ACEOF
40838 cat confdefs.h >>conftest.$ac_ext
40839 cat >>conftest.$ac_ext <<_ACEOF
40840 /* end confdefs.h. */
40841 $ac_includes_default
40842
40843 #include <$ac_header>
40844 _ACEOF
40845 rm -f conftest.$ac_objext
40846 if { (ac_try="$ac_compile"
40847 case "(($ac_try" in
40848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40849 *) ac_try_echo=$ac_try;;
40850 esac
40851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40852 (eval "$ac_compile") 2>conftest.er1
40853 ac_status=$?
40854 grep -v '^ *+' conftest.er1 >conftest.err
40855 rm -f conftest.er1
40856 cat conftest.err >&5
40857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40858 (exit $ac_status); } && {
40859 test -z "$ac_c_werror_flag" ||
40860 test ! -s conftest.err
40861 } && test -s conftest.$ac_objext; then
40862 eval "$as_ac_Header=yes"
40863 else
40864 echo "$as_me: failed program was:" >&5
40865 sed 's/^/| /' conftest.$ac_ext >&5
40866
40867 eval "$as_ac_Header=no"
40868 fi
40869
40870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40871 fi
40872 ac_res=`eval echo '${'$as_ac_Header'}'`
40873 { echo "$as_me:$LINENO: result: $ac_res" >&5
40874 echo "${ECHO_T}$ac_res" >&6; }
40875 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40876 cat >>confdefs.h <<_ACEOF
40877 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40878 _ACEOF
40879
40880 fi
40881
40882 done
40883
40884 if test "$ac_cv_header_sched_h" = "yes"; then
40885 { echo "$as_me:$LINENO: checking for sched_yield" >&5
40886 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
40887 if test "${ac_cv_func_sched_yield+set}" = set; then
40888 echo $ECHO_N "(cached) $ECHO_C" >&6
40889 else
40890 cat >conftest.$ac_ext <<_ACEOF
40891 /* confdefs.h. */
40892 _ACEOF
40893 cat confdefs.h >>conftest.$ac_ext
40894 cat >>conftest.$ac_ext <<_ACEOF
40895 /* end confdefs.h. */
40896 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40898 #define sched_yield innocuous_sched_yield
40899
40900 /* System header to define __stub macros and hopefully few prototypes,
40901 which can conflict with char sched_yield (); below.
40902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40903 <limits.h> exists even on freestanding compilers. */
40904
40905 #ifdef __STDC__
40906 # include <limits.h>
40907 #else
40908 # include <assert.h>
40909 #endif
40910
40911 #undef sched_yield
40912
40913 /* Override any GCC internal prototype to avoid an error.
40914 Use char because int might match the return type of a GCC
40915 builtin and then its argument prototype would still apply. */
40916 #ifdef __cplusplus
40917 extern "C"
40918 #endif
40919 char sched_yield ();
40920 /* The GNU C library defines this for functions which it implements
40921 to always fail with ENOSYS. Some functions are actually named
40922 something starting with __ and the normal name is an alias. */
40923 #if defined __stub_sched_yield || defined __stub___sched_yield
40924 choke me
40925 #endif
40926
40927 int
40928 main ()
40929 {
40930 return sched_yield ();
40931 ;
40932 return 0;
40933 }
40934 _ACEOF
40935 rm -f conftest.$ac_objext conftest$ac_exeext
40936 if { (ac_try="$ac_link"
40937 case "(($ac_try" in
40938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40939 *) ac_try_echo=$ac_try;;
40940 esac
40941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40942 (eval "$ac_link") 2>conftest.er1
40943 ac_status=$?
40944 grep -v '^ *+' conftest.er1 >conftest.err
40945 rm -f conftest.er1
40946 cat conftest.err >&5
40947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40948 (exit $ac_status); } && {
40949 test -z "$ac_c_werror_flag" ||
40950 test ! -s conftest.err
40951 } && test -s conftest$ac_exeext &&
40952 $as_test_x conftest$ac_exeext; then
40953 ac_cv_func_sched_yield=yes
40954 else
40955 echo "$as_me: failed program was:" >&5
40956 sed 's/^/| /' conftest.$ac_ext >&5
40957
40958 ac_cv_func_sched_yield=no
40959 fi
40960
40961 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40962 conftest$ac_exeext conftest.$ac_ext
40963 fi
40964 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40965 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40966 if test $ac_cv_func_sched_yield = yes; then
40967 cat >>confdefs.h <<\_ACEOF
40968 #define HAVE_SCHED_YIELD 1
40969 _ACEOF
40970
40971 else
40972
40973 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40974 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40975 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40976 echo $ECHO_N "(cached) $ECHO_C" >&6
40977 else
40978 ac_check_lib_save_LIBS=$LIBS
40979 LIBS="-lposix4 $LIBS"
40980 cat >conftest.$ac_ext <<_ACEOF
40981 /* confdefs.h. */
40982 _ACEOF
40983 cat confdefs.h >>conftest.$ac_ext
40984 cat >>conftest.$ac_ext <<_ACEOF
40985 /* end confdefs.h. */
40986
40987 /* Override any GCC internal prototype to avoid an error.
40988 Use char because int might match the return type of a GCC
40989 builtin and then its argument prototype would still apply. */
40990 #ifdef __cplusplus
40991 extern "C"
40992 #endif
40993 char sched_yield ();
40994 int
40995 main ()
40996 {
40997 return sched_yield ();
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_lib_posix4_sched_yield=yes
41021 else
41022 echo "$as_me: failed program was:" >&5
41023 sed 's/^/| /' conftest.$ac_ext >&5
41024
41025 ac_cv_lib_posix4_sched_yield=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 LIBS=$ac_check_lib_save_LIBS
41031 fi
41032 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41033 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41034 if test $ac_cv_lib_posix4_sched_yield = yes; then
41035 cat >>confdefs.h <<\_ACEOF
41036 #define HAVE_SCHED_YIELD 1
41037 _ACEOF
41038 POSIX4_LINK=" -lposix4"
41039 else
41040 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41041 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41042
41043 fi
41044
41045
41046
41047 fi
41048
41049 fi
41050
41051 HAVE_PRIOR_FUNCS=0
41052 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41053 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41054 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41055 echo $ECHO_N "(cached) $ECHO_C" >&6
41056 else
41057 cat >conftest.$ac_ext <<_ACEOF
41058 /* confdefs.h. */
41059 _ACEOF
41060 cat confdefs.h >>conftest.$ac_ext
41061 cat >>conftest.$ac_ext <<_ACEOF
41062 /* end confdefs.h. */
41063 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41065 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41066
41067 /* System header to define __stub macros and hopefully few prototypes,
41068 which can conflict with char pthread_attr_getschedpolicy (); below.
41069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41070 <limits.h> exists even on freestanding compilers. */
41071
41072 #ifdef __STDC__
41073 # include <limits.h>
41074 #else
41075 # include <assert.h>
41076 #endif
41077
41078 #undef pthread_attr_getschedpolicy
41079
41080 /* Override any GCC internal prototype to avoid an error.
41081 Use char because int might match the return type of a GCC
41082 builtin and then its argument prototype would still apply. */
41083 #ifdef __cplusplus
41084 extern "C"
41085 #endif
41086 char pthread_attr_getschedpolicy ();
41087 /* The GNU C library defines this for functions which it implements
41088 to always fail with ENOSYS. Some functions are actually named
41089 something starting with __ and the normal name is an alias. */
41090 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41091 choke me
41092 #endif
41093
41094 int
41095 main ()
41096 {
41097 return pthread_attr_getschedpolicy ();
41098 ;
41099 return 0;
41100 }
41101 _ACEOF
41102 rm -f conftest.$ac_objext conftest$ac_exeext
41103 if { (ac_try="$ac_link"
41104 case "(($ac_try" in
41105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41106 *) ac_try_echo=$ac_try;;
41107 esac
41108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41109 (eval "$ac_link") 2>conftest.er1
41110 ac_status=$?
41111 grep -v '^ *+' conftest.er1 >conftest.err
41112 rm -f conftest.er1
41113 cat conftest.err >&5
41114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41115 (exit $ac_status); } && {
41116 test -z "$ac_c_werror_flag" ||
41117 test ! -s conftest.err
41118 } && test -s conftest$ac_exeext &&
41119 $as_test_x conftest$ac_exeext; then
41120 ac_cv_func_pthread_attr_getschedpolicy=yes
41121 else
41122 echo "$as_me: failed program was:" >&5
41123 sed 's/^/| /' conftest.$ac_ext >&5
41124
41125 ac_cv_func_pthread_attr_getschedpolicy=no
41126 fi
41127
41128 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41129 conftest$ac_exeext conftest.$ac_ext
41130 fi
41131 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41132 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41133 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41134 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41135 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41136 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41137 echo $ECHO_N "(cached) $ECHO_C" >&6
41138 else
41139 cat >conftest.$ac_ext <<_ACEOF
41140 /* confdefs.h. */
41141 _ACEOF
41142 cat confdefs.h >>conftest.$ac_ext
41143 cat >>conftest.$ac_ext <<_ACEOF
41144 /* end confdefs.h. */
41145 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41146 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41147 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41148
41149 /* System header to define __stub macros and hopefully few prototypes,
41150 which can conflict with char pthread_attr_setschedparam (); below.
41151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41152 <limits.h> exists even on freestanding compilers. */
41153
41154 #ifdef __STDC__
41155 # include <limits.h>
41156 #else
41157 # include <assert.h>
41158 #endif
41159
41160 #undef pthread_attr_setschedparam
41161
41162 /* Override any GCC internal prototype to avoid an error.
41163 Use char because int might match the return type of a GCC
41164 builtin and then its argument prototype would still apply. */
41165 #ifdef __cplusplus
41166 extern "C"
41167 #endif
41168 char pthread_attr_setschedparam ();
41169 /* The GNU C library defines this for functions which it implements
41170 to always fail with ENOSYS. Some functions are actually named
41171 something starting with __ and the normal name is an alias. */
41172 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41173 choke me
41174 #endif
41175
41176 int
41177 main ()
41178 {
41179 return pthread_attr_setschedparam ();
41180 ;
41181 return 0;
41182 }
41183 _ACEOF
41184 rm -f conftest.$ac_objext conftest$ac_exeext
41185 if { (ac_try="$ac_link"
41186 case "(($ac_try" in
41187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41188 *) ac_try_echo=$ac_try;;
41189 esac
41190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41191 (eval "$ac_link") 2>conftest.er1
41192 ac_status=$?
41193 grep -v '^ *+' conftest.er1 >conftest.err
41194 rm -f conftest.er1
41195 cat conftest.err >&5
41196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41197 (exit $ac_status); } && {
41198 test -z "$ac_c_werror_flag" ||
41199 test ! -s conftest.err
41200 } && test -s conftest$ac_exeext &&
41201 $as_test_x conftest$ac_exeext; then
41202 ac_cv_func_pthread_attr_setschedparam=yes
41203 else
41204 echo "$as_me: failed program was:" >&5
41205 sed 's/^/| /' conftest.$ac_ext >&5
41206
41207 ac_cv_func_pthread_attr_setschedparam=no
41208 fi
41209
41210 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41211 conftest$ac_exeext conftest.$ac_ext
41212 fi
41213 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41214 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41215 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41216 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41217 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41218 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41219 echo $ECHO_N "(cached) $ECHO_C" >&6
41220 else
41221 cat >conftest.$ac_ext <<_ACEOF
41222 /* confdefs.h. */
41223 _ACEOF
41224 cat confdefs.h >>conftest.$ac_ext
41225 cat >>conftest.$ac_ext <<_ACEOF
41226 /* end confdefs.h. */
41227 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41228 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41229 #define sched_get_priority_max innocuous_sched_get_priority_max
41230
41231 /* System header to define __stub macros and hopefully few prototypes,
41232 which can conflict with char sched_get_priority_max (); below.
41233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41234 <limits.h> exists even on freestanding compilers. */
41235
41236 #ifdef __STDC__
41237 # include <limits.h>
41238 #else
41239 # include <assert.h>
41240 #endif
41241
41242 #undef sched_get_priority_max
41243
41244 /* Override any GCC internal prototype to avoid an error.
41245 Use char because int might match the return type of a GCC
41246 builtin and then its argument prototype would still apply. */
41247 #ifdef __cplusplus
41248 extern "C"
41249 #endif
41250 char sched_get_priority_max ();
41251 /* The GNU C library defines this for functions which it implements
41252 to always fail with ENOSYS. Some functions are actually named
41253 something starting with __ and the normal name is an alias. */
41254 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41255 choke me
41256 #endif
41257
41258 int
41259 main ()
41260 {
41261 return sched_get_priority_max ();
41262 ;
41263 return 0;
41264 }
41265 _ACEOF
41266 rm -f conftest.$ac_objext conftest$ac_exeext
41267 if { (ac_try="$ac_link"
41268 case "(($ac_try" in
41269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41270 *) ac_try_echo=$ac_try;;
41271 esac
41272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41273 (eval "$ac_link") 2>conftest.er1
41274 ac_status=$?
41275 grep -v '^ *+' conftest.er1 >conftest.err
41276 rm -f conftest.er1
41277 cat conftest.err >&5
41278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41279 (exit $ac_status); } && {
41280 test -z "$ac_c_werror_flag" ||
41281 test ! -s conftest.err
41282 } && test -s conftest$ac_exeext &&
41283 $as_test_x conftest$ac_exeext; then
41284 ac_cv_func_sched_get_priority_max=yes
41285 else
41286 echo "$as_me: failed program was:" >&5
41287 sed 's/^/| /' conftest.$ac_ext >&5
41288
41289 ac_cv_func_sched_get_priority_max=no
41290 fi
41291
41292 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41293 conftest$ac_exeext conftest.$ac_ext
41294 fi
41295 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41296 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41297 if test $ac_cv_func_sched_get_priority_max = yes; then
41298 HAVE_PRIOR_FUNCS=1
41299 else
41300 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41301 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41302 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41303 echo $ECHO_N "(cached) $ECHO_C" >&6
41304 else
41305 ac_check_lib_save_LIBS=$LIBS
41306 LIBS="-lposix4 $LIBS"
41307 cat >conftest.$ac_ext <<_ACEOF
41308 /* confdefs.h. */
41309 _ACEOF
41310 cat confdefs.h >>conftest.$ac_ext
41311 cat >>conftest.$ac_ext <<_ACEOF
41312 /* end confdefs.h. */
41313
41314 /* Override any GCC internal prototype to avoid an error.
41315 Use char because int might match the return type of a GCC
41316 builtin and then its argument prototype would still apply. */
41317 #ifdef __cplusplus
41318 extern "C"
41319 #endif
41320 char sched_get_priority_max ();
41321 int
41322 main ()
41323 {
41324 return sched_get_priority_max ();
41325 ;
41326 return 0;
41327 }
41328 _ACEOF
41329 rm -f conftest.$ac_objext conftest$ac_exeext
41330 if { (ac_try="$ac_link"
41331 case "(($ac_try" in
41332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41333 *) ac_try_echo=$ac_try;;
41334 esac
41335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41336 (eval "$ac_link") 2>conftest.er1
41337 ac_status=$?
41338 grep -v '^ *+' conftest.er1 >conftest.err
41339 rm -f conftest.er1
41340 cat conftest.err >&5
41341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41342 (exit $ac_status); } && {
41343 test -z "$ac_c_werror_flag" ||
41344 test ! -s conftest.err
41345 } && test -s conftest$ac_exeext &&
41346 $as_test_x conftest$ac_exeext; then
41347 ac_cv_lib_posix4_sched_get_priority_max=yes
41348 else
41349 echo "$as_me: failed program was:" >&5
41350 sed 's/^/| /' conftest.$ac_ext >&5
41351
41352 ac_cv_lib_posix4_sched_get_priority_max=no
41353 fi
41354
41355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41356 conftest$ac_exeext conftest.$ac_ext
41357 LIBS=$ac_check_lib_save_LIBS
41358 fi
41359 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41360 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
41361 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41362
41363 HAVE_PRIOR_FUNCS=1
41364 POSIX4_LINK=" -lposix4"
41365
41366 fi
41367
41368
41369 fi
41370
41371
41372 fi
41373
41374
41375 fi
41376
41377
41378 if test "$HAVE_PRIOR_FUNCS" = 1; then
41379 cat >>confdefs.h <<\_ACEOF
41380 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41381 _ACEOF
41382
41383 else
41384 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41385 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41386 fi
41387
41388 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41389 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
41390 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41391 echo $ECHO_N "(cached) $ECHO_C" >&6
41392 else
41393 cat >conftest.$ac_ext <<_ACEOF
41394 /* confdefs.h. */
41395 _ACEOF
41396 cat confdefs.h >>conftest.$ac_ext
41397 cat >>conftest.$ac_ext <<_ACEOF
41398 /* end confdefs.h. */
41399 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41401 #define pthread_cancel innocuous_pthread_cancel
41402
41403 /* System header to define __stub macros and hopefully few prototypes,
41404 which can conflict with char pthread_cancel (); below.
41405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41406 <limits.h> exists even on freestanding compilers. */
41407
41408 #ifdef __STDC__
41409 # include <limits.h>
41410 #else
41411 # include <assert.h>
41412 #endif
41413
41414 #undef pthread_cancel
41415
41416 /* Override any GCC internal prototype to avoid an error.
41417 Use char because int might match the return type of a GCC
41418 builtin and then its argument prototype would still apply. */
41419 #ifdef __cplusplus
41420 extern "C"
41421 #endif
41422 char pthread_cancel ();
41423 /* The GNU C library defines this for functions which it implements
41424 to always fail with ENOSYS. Some functions are actually named
41425 something starting with __ and the normal name is an alias. */
41426 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
41427 choke me
41428 #endif
41429
41430 int
41431 main ()
41432 {
41433 return pthread_cancel ();
41434 ;
41435 return 0;
41436 }
41437 _ACEOF
41438 rm -f conftest.$ac_objext conftest$ac_exeext
41439 if { (ac_try="$ac_link"
41440 case "(($ac_try" in
41441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41442 *) ac_try_echo=$ac_try;;
41443 esac
41444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41445 (eval "$ac_link") 2>conftest.er1
41446 ac_status=$?
41447 grep -v '^ *+' conftest.er1 >conftest.err
41448 rm -f conftest.er1
41449 cat conftest.err >&5
41450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41451 (exit $ac_status); } && {
41452 test -z "$ac_c_werror_flag" ||
41453 test ! -s conftest.err
41454 } && test -s conftest$ac_exeext &&
41455 $as_test_x conftest$ac_exeext; then
41456 ac_cv_func_pthread_cancel=yes
41457 else
41458 echo "$as_me: failed program was:" >&5
41459 sed 's/^/| /' conftest.$ac_ext >&5
41460
41461 ac_cv_func_pthread_cancel=no
41462 fi
41463
41464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41465 conftest$ac_exeext conftest.$ac_ext
41466 fi
41467 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41468 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
41469 if test $ac_cv_func_pthread_cancel = yes; then
41470 cat >>confdefs.h <<\_ACEOF
41471 #define HAVE_PTHREAD_CANCEL 1
41472 _ACEOF
41473
41474 else
41475 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41476 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41477 fi
41478
41479
41480 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
41481 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
41482 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
41483 echo $ECHO_N "(cached) $ECHO_C" >&6
41484 else
41485 cat >conftest.$ac_ext <<_ACEOF
41486 /* confdefs.h. */
41487 _ACEOF
41488 cat confdefs.h >>conftest.$ac_ext
41489 cat >>conftest.$ac_ext <<_ACEOF
41490 /* end confdefs.h. */
41491 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
41492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41493 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
41494
41495 /* System header to define __stub macros and hopefully few prototypes,
41496 which can conflict with char pthread_mutex_timedlock (); below.
41497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41498 <limits.h> exists even on freestanding compilers. */
41499
41500 #ifdef __STDC__
41501 # include <limits.h>
41502 #else
41503 # include <assert.h>
41504 #endif
41505
41506 #undef pthread_mutex_timedlock
41507
41508 /* Override any GCC internal prototype to avoid an error.
41509 Use char because int might match the return type of a GCC
41510 builtin and then its argument prototype would still apply. */
41511 #ifdef __cplusplus
41512 extern "C"
41513 #endif
41514 char pthread_mutex_timedlock ();
41515 /* The GNU C library defines this for functions which it implements
41516 to always fail with ENOSYS. Some functions are actually named
41517 something starting with __ and the normal name is an alias. */
41518 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
41519 choke me
41520 #endif
41521
41522 int
41523 main ()
41524 {
41525 return pthread_mutex_timedlock ();
41526 ;
41527 return 0;
41528 }
41529 _ACEOF
41530 rm -f conftest.$ac_objext conftest$ac_exeext
41531 if { (ac_try="$ac_link"
41532 case "(($ac_try" in
41533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41534 *) ac_try_echo=$ac_try;;
41535 esac
41536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41537 (eval "$ac_link") 2>conftest.er1
41538 ac_status=$?
41539 grep -v '^ *+' conftest.er1 >conftest.err
41540 rm -f conftest.er1
41541 cat conftest.err >&5
41542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41543 (exit $ac_status); } && {
41544 test -z "$ac_c_werror_flag" ||
41545 test ! -s conftest.err
41546 } && test -s conftest$ac_exeext &&
41547 $as_test_x conftest$ac_exeext; then
41548 ac_cv_func_pthread_mutex_timedlock=yes
41549 else
41550 echo "$as_me: failed program was:" >&5
41551 sed 's/^/| /' conftest.$ac_ext >&5
41552
41553 ac_cv_func_pthread_mutex_timedlock=no
41554 fi
41555
41556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41557 conftest$ac_exeext conftest.$ac_ext
41558 fi
41559 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41560 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
41561 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41562 cat >>confdefs.h <<\_ACEOF
41563 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41564 _ACEOF
41565
41566 else
41567 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41568 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41569 fi
41570
41571
41572 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41573 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41574 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41575 echo $ECHO_N "(cached) $ECHO_C" >&6
41576 else
41577 cat >conftest.$ac_ext <<_ACEOF
41578 /* confdefs.h. */
41579 _ACEOF
41580 cat confdefs.h >>conftest.$ac_ext
41581 cat >>conftest.$ac_ext <<_ACEOF
41582 /* end confdefs.h. */
41583 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41585 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41586
41587 /* System header to define __stub macros and hopefully few prototypes,
41588 which can conflict with char pthread_attr_setstacksize (); below.
41589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41590 <limits.h> exists even on freestanding compilers. */
41591
41592 #ifdef __STDC__
41593 # include <limits.h>
41594 #else
41595 # include <assert.h>
41596 #endif
41597
41598 #undef pthread_attr_setstacksize
41599
41600 /* Override any GCC internal prototype to avoid an error.
41601 Use char because int might match the return type of a GCC
41602 builtin and then its argument prototype would still apply. */
41603 #ifdef __cplusplus
41604 extern "C"
41605 #endif
41606 char pthread_attr_setstacksize ();
41607 /* The GNU C library defines this for functions which it implements
41608 to always fail with ENOSYS. Some functions are actually named
41609 something starting with __ and the normal name is an alias. */
41610 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41611 choke me
41612 #endif
41613
41614 int
41615 main ()
41616 {
41617 return pthread_attr_setstacksize ();
41618 ;
41619 return 0;
41620 }
41621 _ACEOF
41622 rm -f conftest.$ac_objext conftest$ac_exeext
41623 if { (ac_try="$ac_link"
41624 case "(($ac_try" in
41625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41626 *) ac_try_echo=$ac_try;;
41627 esac
41628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41629 (eval "$ac_link") 2>conftest.er1
41630 ac_status=$?
41631 grep -v '^ *+' conftest.er1 >conftest.err
41632 rm -f conftest.er1
41633 cat conftest.err >&5
41634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41635 (exit $ac_status); } && {
41636 test -z "$ac_c_werror_flag" ||
41637 test ! -s conftest.err
41638 } && test -s conftest$ac_exeext &&
41639 $as_test_x conftest$ac_exeext; then
41640 ac_cv_func_pthread_attr_setstacksize=yes
41641 else
41642 echo "$as_me: failed program was:" >&5
41643 sed 's/^/| /' conftest.$ac_ext >&5
41644
41645 ac_cv_func_pthread_attr_setstacksize=no
41646 fi
41647
41648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41649 conftest$ac_exeext conftest.$ac_ext
41650 fi
41651 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41652 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41653 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41654 cat >>confdefs.h <<\_ACEOF
41655 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41656 _ACEOF
41657
41658 fi
41659
41660
41661
41662 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41663 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41664 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41665 echo $ECHO_N "(cached) $ECHO_C" >&6
41666 else
41667
41668 cat >conftest.$ac_ext <<_ACEOF
41669 /* confdefs.h. */
41670 _ACEOF
41671 cat confdefs.h >>conftest.$ac_ext
41672 cat >>conftest.$ac_ext <<_ACEOF
41673 /* end confdefs.h. */
41674 #include <pthread.h>
41675 int
41676 main ()
41677 {
41678
41679 pthread_mutexattr_t attr;
41680 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41681
41682 ;
41683 return 0;
41684 }
41685 _ACEOF
41686 rm -f conftest.$ac_objext
41687 if { (ac_try="$ac_compile"
41688 case "(($ac_try" in
41689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41690 *) ac_try_echo=$ac_try;;
41691 esac
41692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41693 (eval "$ac_compile") 2>conftest.er1
41694 ac_status=$?
41695 grep -v '^ *+' conftest.er1 >conftest.err
41696 rm -f conftest.er1
41697 cat conftest.err >&5
41698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41699 (exit $ac_status); } && {
41700 test -z "$ac_c_werror_flag" ||
41701 test ! -s conftest.err
41702 } && test -s conftest.$ac_objext; then
41703 wx_cv_type_pthread_mutexattr_t=yes
41704 else
41705 echo "$as_me: failed program was:" >&5
41706 sed 's/^/| /' conftest.$ac_ext >&5
41707
41708 wx_cv_type_pthread_mutexattr_t=no
41709
41710 fi
41711
41712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41713
41714 fi
41715 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41716 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41717
41718 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41719 cat >>confdefs.h <<\_ACEOF
41720 #define HAVE_PTHREAD_MUTEXATTR_T 1
41721 _ACEOF
41722
41723
41724 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41725 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41726 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41727 echo $ECHO_N "(cached) $ECHO_C" >&6
41728 else
41729
41730 cat >conftest.$ac_ext <<_ACEOF
41731 /* confdefs.h. */
41732 _ACEOF
41733 cat confdefs.h >>conftest.$ac_ext
41734 cat >>conftest.$ac_ext <<_ACEOF
41735 /* end confdefs.h. */
41736 #include <pthread.h>
41737 int
41738 main ()
41739 {
41740
41741 pthread_mutexattr_t attr;
41742 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41743
41744 ;
41745 return 0;
41746 }
41747 _ACEOF
41748 rm -f conftest.$ac_objext
41749 if { (ac_try="$ac_compile"
41750 case "(($ac_try" in
41751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41752 *) ac_try_echo=$ac_try;;
41753 esac
41754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41755 (eval "$ac_compile") 2>conftest.er1
41756 ac_status=$?
41757 grep -v '^ *+' conftest.er1 >conftest.err
41758 rm -f conftest.er1
41759 cat conftest.err >&5
41760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41761 (exit $ac_status); } && {
41762 test -z "$ac_c_werror_flag" ||
41763 test ! -s conftest.err
41764 } && test -s conftest.$ac_objext; then
41765 wx_cv_func_pthread_mutexattr_settype_decl=yes
41766 else
41767 echo "$as_me: failed program was:" >&5
41768 sed 's/^/| /' conftest.$ac_ext >&5
41769
41770 wx_cv_func_pthread_mutexattr_settype_decl=no
41771
41772 fi
41773
41774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41775
41776 fi
41777 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41778 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41779 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41780 cat >>confdefs.h <<\_ACEOF
41781 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41782 _ACEOF
41783
41784 fi
41785 else
41786 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41787 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41788 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41789 echo $ECHO_N "(cached) $ECHO_C" >&6
41790 else
41791
41792 cat >conftest.$ac_ext <<_ACEOF
41793 /* confdefs.h. */
41794 _ACEOF
41795 cat confdefs.h >>conftest.$ac_ext
41796 cat >>conftest.$ac_ext <<_ACEOF
41797 /* end confdefs.h. */
41798 #include <pthread.h>
41799 int
41800 main ()
41801 {
41802
41803 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41804
41805 ;
41806 return 0;
41807 }
41808 _ACEOF
41809 rm -f conftest.$ac_objext
41810 if { (ac_try="$ac_compile"
41811 case "(($ac_try" in
41812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41813 *) ac_try_echo=$ac_try;;
41814 esac
41815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41816 (eval "$ac_compile") 2>conftest.er1
41817 ac_status=$?
41818 grep -v '^ *+' conftest.er1 >conftest.err
41819 rm -f conftest.er1
41820 cat conftest.err >&5
41821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41822 (exit $ac_status); } && {
41823 test -z "$ac_c_werror_flag" ||
41824 test ! -s conftest.err
41825 } && test -s conftest.$ac_objext; then
41826
41827 wx_cv_type_pthread_rec_mutex_init=yes
41828
41829 else
41830 echo "$as_me: failed program was:" >&5
41831 sed 's/^/| /' conftest.$ac_ext >&5
41832
41833
41834 wx_cv_type_pthread_rec_mutex_init=no
41835
41836
41837 fi
41838
41839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41840
41841 fi
41842 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41843 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
41844 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41845 cat >>confdefs.h <<\_ACEOF
41846 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41847 _ACEOF
41848
41849 else
41850 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41851 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41852 fi
41853 fi
41854
41855 if test "$wxUSE_COMPILER_TLS" = "auto"; then
41856 if test "$USE_NETBSD" = 1; then
41857 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
41858 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
41859 wxUSE_COMPILER_TLS=no
41860 else
41861 wxUSE_COMPILER_TLS=yes
41862 fi
41863 fi
41864
41865 if test "$wxUSE_COMPILER_TLS" = "yes"; then
41866 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
41867 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
41868 if test "${wx_cv_cc___thread+set}" = set; then
41869 echo $ECHO_N "(cached) $ECHO_C" >&6
41870 else
41871
41872 cat >conftest.$ac_ext <<_ACEOF
41873 /* confdefs.h. */
41874 _ACEOF
41875 cat confdefs.h >>conftest.$ac_ext
41876 cat >>conftest.$ac_ext <<_ACEOF
41877 /* end confdefs.h. */
41878 #include <pthread.h>
41879 int
41880 main ()
41881 {
41882
41883 static __thread int n = 0;
41884 static __thread int *p = 0;
41885
41886 ;
41887 return 0;
41888 }
41889 _ACEOF
41890 rm -f conftest.$ac_objext
41891 if { (ac_try="$ac_compile"
41892 case "(($ac_try" in
41893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41894 *) ac_try_echo=$ac_try;;
41895 esac
41896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41897 (eval "$ac_compile") 2>conftest.er1
41898 ac_status=$?
41899 grep -v '^ *+' conftest.er1 >conftest.err
41900 rm -f conftest.er1
41901 cat conftest.err >&5
41902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41903 (exit $ac_status); } && {
41904 test -z "$ac_c_werror_flag" ||
41905 test ! -s conftest.err
41906 } && test -s conftest.$ac_objext; then
41907 wx_cv_cc___thread=yes
41908 else
41909 echo "$as_me: failed program was:" >&5
41910 sed 's/^/| /' conftest.$ac_ext >&5
41911
41912 wx_cv_cc___thread=no
41913
41914 fi
41915
41916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41917
41918
41919 fi
41920 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
41921 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
41922
41923 if test "$wx_cv_cc___thread" = "yes"; then
41924
41925 GXX_VERSION=""
41926
41927
41928
41929 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
41930 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
41931
41932 if test "x$GCC" = "xyes" ; then
41933
41934 if test -z "" ; then
41935
41936 ax_gcc_option_test="int main()
41937 {
41938 return 0;
41939 }"
41940
41941 else
41942
41943 ax_gcc_option_test=""
41944
41945 fi
41946
41947
41948 # Dump the test program to file
41949 cat <<EOF > conftest.c
41950 $ax_gcc_option_test
41951 EOF
41952
41953 # Dump back the file to the log, useful for debugging purposes
41954 { ac_try='cat conftest.c 1>&5'
41955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41956 (eval $ac_try) 2>&5
41957 ac_status=$?
41958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41959 (exit $ac_status); }; }
41960
41961 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
41962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41963 (eval $ac_try) 2>&5
41964 ac_status=$?
41965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41966 (exit $ac_status); }; } ; then
41967
41968 { echo "$as_me:$LINENO: result: yes" >&5
41969 echo "${ECHO_T}yes" >&6; }
41970
41971 ax_gcc_version_option=yes
41972
41973
41974 else
41975
41976 { echo "$as_me:$LINENO: result: no" >&5
41977 echo "${ECHO_T}no" >&6; }
41978
41979 ax_gcc_version_option=no
41980
41981
41982 fi
41983
41984
41985 else
41986
41987 { echo "$as_me:$LINENO: result: no gcc available" >&5
41988 echo "${ECHO_T}no gcc available" >&6; }
41989
41990 fi
41991
41992
41993 if test "x$GXX" = "xyes"; then
41994
41995 if test "x$ax_gxx_version_option" != "no"; then
41996
41997 { echo "$as_me:$LINENO: checking gxx version" >&5
41998 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
41999 if test "${ax_cv_gxx_version+set}" = set; then
42000 echo $ECHO_N "(cached) $ECHO_C" >&6
42001 else
42002
42003 ax_cv_gxx_version="`$CXX -dumpversion`"
42004 if test "x$ax_cv_gxx_version" = "x"; then
42005
42006 ax_cv_gxx_version=""
42007
42008 fi
42009
42010
42011 fi
42012 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
42013 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
42014 GXX_VERSION=$ax_cv_gxx_version
42015
42016 fi
42017
42018
42019 fi
42020
42021
42022
42023 if test -n "$ax_cv_gxx_version"; then
42024 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
42025 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
42026 case "$ax_cv_gxx_version" in
42027 1.* | 2.* | 3.* )
42028 { echo "$as_me:$LINENO: result: no, it's broken" >&5
42029 echo "${ECHO_T}no, it's broken" >&6; }
42030 wx_cv_cc___thread=no
42031 ;;
42032 *)
42033 { echo "$as_me:$LINENO: result: yes, it works" >&5
42034 echo "${ECHO_T}yes, it works" >&6; }
42035 ;;
42036 esac
42037 fi
42038 fi
42039
42040 if test "$wx_cv_cc___thread" = "yes"; then
42041 cat >>confdefs.h <<\_ACEOF
42042 #define HAVE___THREAD_KEYWORD 1
42043 _ACEOF
42044
42045 fi
42046 fi
42047 fi
42048
42049 else
42050 if test "$wxUSE_THREADS" = "yes" ; then
42051 case "${host}" in
42052 x86_64-*-mingw32* )
42053 ;;
42054 *-*-mingw32* )
42055 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42056 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42057 if test "${wx_cv_cflags_mthread+set}" = set; then
42058 echo $ECHO_N "(cached) $ECHO_C" >&6
42059 else
42060
42061 CFLAGS_OLD="$CFLAGS"
42062 CFLAGS="-mthreads $CFLAGS"
42063 cat >conftest.$ac_ext <<_ACEOF
42064 /* confdefs.h. */
42065 _ACEOF
42066 cat confdefs.h >>conftest.$ac_ext
42067 cat >>conftest.$ac_ext <<_ACEOF
42068 /* end confdefs.h. */
42069
42070 int
42071 main ()
42072 {
42073
42074 ;
42075 return 0;
42076 }
42077 _ACEOF
42078 rm -f conftest.$ac_objext
42079 if { (ac_try="$ac_compile"
42080 case "(($ac_try" in
42081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42082 *) ac_try_echo=$ac_try;;
42083 esac
42084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42085 (eval "$ac_compile") 2>conftest.er1
42086 ac_status=$?
42087 grep -v '^ *+' conftest.er1 >conftest.err
42088 rm -f conftest.er1
42089 cat conftest.err >&5
42090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42091 (exit $ac_status); } && {
42092 test -z "$ac_c_werror_flag" ||
42093 test ! -s conftest.err
42094 } && test -s conftest.$ac_objext; then
42095 wx_cv_cflags_mthread=yes
42096 else
42097 echo "$as_me: failed program was:" >&5
42098 sed 's/^/| /' conftest.$ac_ext >&5
42099
42100 wx_cv_cflags_mthread=no
42101
42102 fi
42103
42104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42105
42106
42107 fi
42108 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42109 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42110
42111 if test "$wx_cv_cflags_mthread" = "yes"; then
42112 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42113 LDFLAGS="$LDFLAGS -mthreads"
42114 else
42115 CFLAGS="$CFLAGS_OLD"
42116 fi
42117 ;;
42118 *-pc-os2*emx )
42119 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42120 LDFLAGS="$LDFLAGS -Zmt"
42121 ;;
42122 esac
42123 fi
42124 fi
42125
42126 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42127 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42128 if test "${ac_cv_func_localtime_r+set}" = set; then
42129 echo $ECHO_N "(cached) $ECHO_C" >&6
42130 else
42131 cat >conftest.$ac_ext <<_ACEOF
42132 /* confdefs.h. */
42133 _ACEOF
42134 cat confdefs.h >>conftest.$ac_ext
42135 cat >>conftest.$ac_ext <<_ACEOF
42136 /* end confdefs.h. */
42137 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42139 #define localtime_r innocuous_localtime_r
42140
42141 /* System header to define __stub macros and hopefully few prototypes,
42142 which can conflict with char localtime_r (); below.
42143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42144 <limits.h> exists even on freestanding compilers. */
42145
42146 #ifdef __STDC__
42147 # include <limits.h>
42148 #else
42149 # include <assert.h>
42150 #endif
42151
42152 #undef localtime_r
42153
42154 /* Override any GCC internal prototype to avoid an error.
42155 Use char because int might match the return type of a GCC
42156 builtin and then its argument prototype would still apply. */
42157 #ifdef __cplusplus
42158 extern "C"
42159 #endif
42160 char localtime_r ();
42161 /* The GNU C library defines this for functions which it implements
42162 to always fail with ENOSYS. Some functions are actually named
42163 something starting with __ and the normal name is an alias. */
42164 #if defined __stub_localtime_r || defined __stub___localtime_r
42165 choke me
42166 #endif
42167
42168 int
42169 main ()
42170 {
42171 return localtime_r ();
42172 ;
42173 return 0;
42174 }
42175 _ACEOF
42176 rm -f conftest.$ac_objext conftest$ac_exeext
42177 if { (ac_try="$ac_link"
42178 case "(($ac_try" in
42179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42180 *) ac_try_echo=$ac_try;;
42181 esac
42182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42183 (eval "$ac_link") 2>conftest.er1
42184 ac_status=$?
42185 grep -v '^ *+' conftest.er1 >conftest.err
42186 rm -f conftest.er1
42187 cat conftest.err >&5
42188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42189 (exit $ac_status); } && {
42190 test -z "$ac_c_werror_flag" ||
42191 test ! -s conftest.err
42192 } && test -s conftest$ac_exeext &&
42193 $as_test_x conftest$ac_exeext; then
42194 ac_cv_func_localtime_r=yes
42195 else
42196 echo "$as_me: failed program was:" >&5
42197 sed 's/^/| /' conftest.$ac_ext >&5
42198
42199 ac_cv_func_localtime_r=no
42200 fi
42201
42202 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42203 conftest$ac_exeext conftest.$ac_ext
42204 fi
42205 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42206 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42207 if test $ac_cv_func_localtime_r = yes; then
42208 cat >>confdefs.h <<\_ACEOF
42209 #define HAVE_LOCALTIME_R 1
42210 _ACEOF
42211
42212 fi
42213
42214 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42215 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42216 if test "${ac_cv_func_gmtime_r+set}" = set; then
42217 echo $ECHO_N "(cached) $ECHO_C" >&6
42218 else
42219 cat >conftest.$ac_ext <<_ACEOF
42220 /* confdefs.h. */
42221 _ACEOF
42222 cat confdefs.h >>conftest.$ac_ext
42223 cat >>conftest.$ac_ext <<_ACEOF
42224 /* end confdefs.h. */
42225 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42227 #define gmtime_r innocuous_gmtime_r
42228
42229 /* System header to define __stub macros and hopefully few prototypes,
42230 which can conflict with char gmtime_r (); below.
42231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42232 <limits.h> exists even on freestanding compilers. */
42233
42234 #ifdef __STDC__
42235 # include <limits.h>
42236 #else
42237 # include <assert.h>
42238 #endif
42239
42240 #undef gmtime_r
42241
42242 /* Override any GCC internal prototype to avoid an error.
42243 Use char because int might match the return type of a GCC
42244 builtin and then its argument prototype would still apply. */
42245 #ifdef __cplusplus
42246 extern "C"
42247 #endif
42248 char gmtime_r ();
42249 /* The GNU C library defines this for functions which it implements
42250 to always fail with ENOSYS. Some functions are actually named
42251 something starting with __ and the normal name is an alias. */
42252 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42253 choke me
42254 #endif
42255
42256 int
42257 main ()
42258 {
42259 return gmtime_r ();
42260 ;
42261 return 0;
42262 }
42263 _ACEOF
42264 rm -f conftest.$ac_objext conftest$ac_exeext
42265 if { (ac_try="$ac_link"
42266 case "(($ac_try" in
42267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42268 *) ac_try_echo=$ac_try;;
42269 esac
42270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42271 (eval "$ac_link") 2>conftest.er1
42272 ac_status=$?
42273 grep -v '^ *+' conftest.er1 >conftest.err
42274 rm -f conftest.er1
42275 cat conftest.err >&5
42276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42277 (exit $ac_status); } && {
42278 test -z "$ac_c_werror_flag" ||
42279 test ! -s conftest.err
42280 } && test -s conftest$ac_exeext &&
42281 $as_test_x conftest$ac_exeext; then
42282 ac_cv_func_gmtime_r=yes
42283 else
42284 echo "$as_me: failed program was:" >&5
42285 sed 's/^/| /' conftest.$ac_ext >&5
42286
42287 ac_cv_func_gmtime_r=no
42288 fi
42289
42290 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42291 conftest$ac_exeext conftest.$ac_ext
42292 fi
42293 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42294 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42295 if test $ac_cv_func_gmtime_r = yes; then
42296 cat >>confdefs.h <<\_ACEOF
42297 #define HAVE_GMTIME_R 1
42298 _ACEOF
42299
42300 fi
42301
42302
42303
42304
42305 ac_ext=c
42306 ac_cpp='$CPP $CPPFLAGS'
42307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42310
42311 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42312 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42313
42314 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42315 echo $ECHO_N "(cached) $ECHO_C" >&6
42316 else
42317
42318
42319 ################################################################
42320
42321 ac_cv_func_which_gethostbyname_r=unknown
42322
42323 #
42324 # ONE ARGUMENT (sanity check)
42325 #
42326
42327 # This should fail, as there is no variant of gethostbyname_r() that takes
42328 # a single argument. If it actually compiles, then we can assume that
42329 # netdb.h is not declaring the function, and the compiler is thereby
42330 # assuming an implicit prototype. In which case, we're out of luck.
42331 #
42332 cat >conftest.$ac_ext <<_ACEOF
42333 /* confdefs.h. */
42334 _ACEOF
42335 cat confdefs.h >>conftest.$ac_ext
42336 cat >>conftest.$ac_ext <<_ACEOF
42337 /* end confdefs.h. */
42338 #include <netdb.h>
42339 int
42340 main ()
42341 {
42342
42343 char *name = "www.gnu.org";
42344 (void)gethostbyname_r(name) /* ; */
42345
42346 ;
42347 return 0;
42348 }
42349 _ACEOF
42350 rm -f conftest.$ac_objext
42351 if { (ac_try="$ac_compile"
42352 case "(($ac_try" in
42353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42354 *) ac_try_echo=$ac_try;;
42355 esac
42356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42357 (eval "$ac_compile") 2>conftest.er1
42358 ac_status=$?
42359 grep -v '^ *+' conftest.er1 >conftest.err
42360 rm -f conftest.er1
42361 cat conftest.err >&5
42362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42363 (exit $ac_status); } && {
42364 test -z "$ac_c_werror_flag" ||
42365 test ! -s conftest.err
42366 } && test -s conftest.$ac_objext; then
42367 ac_cv_func_which_gethostbyname_r=no
42368 else
42369 echo "$as_me: failed program was:" >&5
42370 sed 's/^/| /' conftest.$ac_ext >&5
42371
42372
42373 fi
42374
42375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42376
42377 #
42378 # SIX ARGUMENTS
42379 # (e.g. Linux)
42380 #
42381
42382 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42383
42384 cat >conftest.$ac_ext <<_ACEOF
42385 /* confdefs.h. */
42386 _ACEOF
42387 cat confdefs.h >>conftest.$ac_ext
42388 cat >>conftest.$ac_ext <<_ACEOF
42389 /* end confdefs.h. */
42390 #include <netdb.h>
42391 int
42392 main ()
42393 {
42394
42395 char *name = "www.gnu.org";
42396 struct hostent ret, *retp;
42397 char buf[1024];
42398 int buflen = 1024;
42399 int my_h_errno;
42400 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42401
42402 ;
42403 return 0;
42404 }
42405 _ACEOF
42406 rm -f conftest.$ac_objext
42407 if { (ac_try="$ac_compile"
42408 case "(($ac_try" in
42409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42410 *) ac_try_echo=$ac_try;;
42411 esac
42412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42413 (eval "$ac_compile") 2>conftest.er1
42414 ac_status=$?
42415 grep -v '^ *+' conftest.er1 >conftest.err
42416 rm -f conftest.er1
42417 cat conftest.err >&5
42418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42419 (exit $ac_status); } && {
42420 test -z "$ac_c_werror_flag" ||
42421 test ! -s conftest.err
42422 } && test -s conftest.$ac_objext; then
42423 ac_cv_func_which_gethostbyname_r=six
42424 else
42425 echo "$as_me: failed program was:" >&5
42426 sed 's/^/| /' conftest.$ac_ext >&5
42427
42428
42429 fi
42430
42431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42432
42433 fi
42434
42435 #
42436 # FIVE ARGUMENTS
42437 # (e.g. Solaris)
42438 #
42439
42440 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42441
42442 cat >conftest.$ac_ext <<_ACEOF
42443 /* confdefs.h. */
42444 _ACEOF
42445 cat confdefs.h >>conftest.$ac_ext
42446 cat >>conftest.$ac_ext <<_ACEOF
42447 /* end confdefs.h. */
42448 #include <netdb.h>
42449 int
42450 main ()
42451 {
42452
42453 char *name = "www.gnu.org";
42454 struct hostent ret;
42455 char buf[1024];
42456 int buflen = 1024;
42457 int my_h_errno;
42458 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42459
42460 ;
42461 return 0;
42462 }
42463 _ACEOF
42464 rm -f conftest.$ac_objext
42465 if { (ac_try="$ac_compile"
42466 case "(($ac_try" in
42467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42468 *) ac_try_echo=$ac_try;;
42469 esac
42470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42471 (eval "$ac_compile") 2>conftest.er1
42472 ac_status=$?
42473 grep -v '^ *+' conftest.er1 >conftest.err
42474 rm -f conftest.er1
42475 cat conftest.err >&5
42476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42477 (exit $ac_status); } && {
42478 test -z "$ac_c_werror_flag" ||
42479 test ! -s conftest.err
42480 } && test -s conftest.$ac_objext; then
42481 ac_cv_func_which_gethostbyname_r=five
42482 else
42483 echo "$as_me: failed program was:" >&5
42484 sed 's/^/| /' conftest.$ac_ext >&5
42485
42486
42487 fi
42488
42489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42490
42491 fi
42492
42493 #
42494 # THREE ARGUMENTS
42495 # (e.g. AIX, HP-UX, Tru64)
42496 #
42497
42498 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42499
42500 cat >conftest.$ac_ext <<_ACEOF
42501 /* confdefs.h. */
42502 _ACEOF
42503 cat confdefs.h >>conftest.$ac_ext
42504 cat >>conftest.$ac_ext <<_ACEOF
42505 /* end confdefs.h. */
42506 #include <netdb.h>
42507 int
42508 main ()
42509 {
42510
42511 char *name = "www.gnu.org";
42512 struct hostent ret;
42513 struct hostent_data data;
42514 (void)gethostbyname_r(name, &ret, &data) /* ; */
42515
42516 ;
42517 return 0;
42518 }
42519 _ACEOF
42520 rm -f conftest.$ac_objext
42521 if { (ac_try="$ac_compile"
42522 case "(($ac_try" in
42523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42524 *) ac_try_echo=$ac_try;;
42525 esac
42526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42527 (eval "$ac_compile") 2>conftest.er1
42528 ac_status=$?
42529 grep -v '^ *+' conftest.er1 >conftest.err
42530 rm -f conftest.er1
42531 cat conftest.err >&5
42532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42533 (exit $ac_status); } && {
42534 test -z "$ac_c_werror_flag" ||
42535 test ! -s conftest.err
42536 } && test -s conftest.$ac_objext; then
42537 ac_cv_func_which_gethostbyname_r=three
42538 else
42539 echo "$as_me: failed program was:" >&5
42540 sed 's/^/| /' conftest.$ac_ext >&5
42541
42542
42543 fi
42544
42545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42546
42547 fi
42548
42549 ################################################################
42550
42551
42552 fi
42553
42554 case "$ac_cv_func_which_gethostbyname_r" in
42555 three)
42556 { echo "$as_me:$LINENO: result: three" >&5
42557 echo "${ECHO_T}three" >&6; }
42558 cat >>confdefs.h <<\_ACEOF
42559 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42560 _ACEOF
42561
42562 ;;
42563
42564 five)
42565 { echo "$as_me:$LINENO: result: five" >&5
42566 echo "${ECHO_T}five" >&6; }
42567 cat >>confdefs.h <<\_ACEOF
42568 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42569 _ACEOF
42570
42571 ;;
42572
42573 six)
42574 { echo "$as_me:$LINENO: result: six" >&5
42575 echo "${ECHO_T}six" >&6; }
42576 cat >>confdefs.h <<\_ACEOF
42577 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42578 _ACEOF
42579
42580 ;;
42581
42582 no)
42583 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42584 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42585 ;;
42586
42587 unknown)
42588 { echo "$as_me:$LINENO: result: can't tell" >&5
42589 echo "${ECHO_T}can't tell" >&6; }
42590 ;;
42591
42592 *)
42593 { { echo "$as_me:$LINENO: error: internal error" >&5
42594 echo "$as_me: error: internal error" >&2;}
42595 { (exit 1); exit 1; }; }
42596 ;;
42597 esac
42598
42599 ac_ext=c
42600 ac_cpp='$CPP $CPPFLAGS'
42601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42604
42605
42606
42607 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42608 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42609 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42610 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42611 if test "${ac_cv_func_gethostbyname+set}" = set; then
42612 echo $ECHO_N "(cached) $ECHO_C" >&6
42613 else
42614 cat >conftest.$ac_ext <<_ACEOF
42615 /* confdefs.h. */
42616 _ACEOF
42617 cat confdefs.h >>conftest.$ac_ext
42618 cat >>conftest.$ac_ext <<_ACEOF
42619 /* end confdefs.h. */
42620 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42621 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42622 #define gethostbyname innocuous_gethostbyname
42623
42624 /* System header to define __stub macros and hopefully few prototypes,
42625 which can conflict with char gethostbyname (); below.
42626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42627 <limits.h> exists even on freestanding compilers. */
42628
42629 #ifdef __STDC__
42630 # include <limits.h>
42631 #else
42632 # include <assert.h>
42633 #endif
42634
42635 #undef gethostbyname
42636
42637 /* Override any GCC internal prototype to avoid an error.
42638 Use char because int might match the return type of a GCC
42639 builtin and then its argument prototype would still apply. */
42640 #ifdef __cplusplus
42641 extern "C"
42642 #endif
42643 char gethostbyname ();
42644 /* The GNU C library defines this for functions which it implements
42645 to always fail with ENOSYS. Some functions are actually named
42646 something starting with __ and the normal name is an alias. */
42647 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42648 choke me
42649 #endif
42650
42651 int
42652 main ()
42653 {
42654 return gethostbyname ();
42655 ;
42656 return 0;
42657 }
42658 _ACEOF
42659 rm -f conftest.$ac_objext conftest$ac_exeext
42660 if { (ac_try="$ac_link"
42661 case "(($ac_try" in
42662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42663 *) ac_try_echo=$ac_try;;
42664 esac
42665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42666 (eval "$ac_link") 2>conftest.er1
42667 ac_status=$?
42668 grep -v '^ *+' conftest.er1 >conftest.err
42669 rm -f conftest.er1
42670 cat conftest.err >&5
42671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42672 (exit $ac_status); } && {
42673 test -z "$ac_c_werror_flag" ||
42674 test ! -s conftest.err
42675 } && test -s conftest$ac_exeext &&
42676 $as_test_x conftest$ac_exeext; then
42677 ac_cv_func_gethostbyname=yes
42678 else
42679 echo "$as_me: failed program was:" >&5
42680 sed 's/^/| /' conftest.$ac_ext >&5
42681
42682 ac_cv_func_gethostbyname=no
42683 fi
42684
42685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42686 conftest$ac_exeext conftest.$ac_ext
42687 fi
42688 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42689 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42690 if test $ac_cv_func_gethostbyname = yes; then
42691 cat >>confdefs.h <<\_ACEOF
42692 #define HAVE_GETHOSTBYNAME 1
42693 _ACEOF
42694
42695 fi
42696
42697 fi
42698
42699 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42700 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42701 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42702 echo $ECHO_N "(cached) $ECHO_C" >&6
42703 else
42704
42705 ac_ext=cpp
42706 ac_cpp='$CXXCPP $CPPFLAGS'
42707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42710
42711
42712 cat >conftest.$ac_ext <<_ACEOF
42713 /* confdefs.h. */
42714 _ACEOF
42715 cat confdefs.h >>conftest.$ac_ext
42716 cat >>conftest.$ac_ext <<_ACEOF
42717 /* end confdefs.h. */
42718 #include <netdb.h>
42719 int
42720 main ()
42721 {
42722
42723 char *name;
42724 char *proto;
42725 struct servent *se, *res;
42726 char buffer[2048];
42727 int buflen = 2048;
42728 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42729
42730 ;
42731 return 0;
42732 }
42733 _ACEOF
42734 rm -f conftest.$ac_objext
42735 if { (ac_try="$ac_compile"
42736 case "(($ac_try" in
42737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42738 *) ac_try_echo=$ac_try;;
42739 esac
42740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42741 (eval "$ac_compile") 2>conftest.er1
42742 ac_status=$?
42743 grep -v '^ *+' conftest.er1 >conftest.err
42744 rm -f conftest.er1
42745 cat conftest.err >&5
42746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42747 (exit $ac_status); } && {
42748 test -z "$ac_cxx_werror_flag" ||
42749 test ! -s conftest.err
42750 } && test -s conftest.$ac_objext; then
42751 ac_cv_func_which_getservbyname_r=six
42752 else
42753 echo "$as_me: failed program was:" >&5
42754 sed 's/^/| /' conftest.$ac_ext >&5
42755
42756
42757 cat >conftest.$ac_ext <<_ACEOF
42758 /* confdefs.h. */
42759 _ACEOF
42760 cat confdefs.h >>conftest.$ac_ext
42761 cat >>conftest.$ac_ext <<_ACEOF
42762 /* end confdefs.h. */
42763 #include <netdb.h>
42764 int
42765 main ()
42766 {
42767
42768 char *name;
42769 char *proto;
42770 struct servent *se;
42771 char buffer[2048];
42772 int buflen = 2048;
42773 (void) getservbyname_r(name, proto, se, buffer, buflen)
42774
42775 ;
42776 return 0;
42777 }
42778 _ACEOF
42779 rm -f conftest.$ac_objext
42780 if { (ac_try="$ac_compile"
42781 case "(($ac_try" in
42782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42783 *) ac_try_echo=$ac_try;;
42784 esac
42785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42786 (eval "$ac_compile") 2>conftest.er1
42787 ac_status=$?
42788 grep -v '^ *+' conftest.er1 >conftest.err
42789 rm -f conftest.er1
42790 cat conftest.err >&5
42791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42792 (exit $ac_status); } && {
42793 test -z "$ac_cxx_werror_flag" ||
42794 test ! -s conftest.err
42795 } && test -s conftest.$ac_objext; then
42796 ac_cv_func_which_getservbyname_r=five
42797 else
42798 echo "$as_me: failed program was:" >&5
42799 sed 's/^/| /' conftest.$ac_ext >&5
42800
42801
42802 cat >conftest.$ac_ext <<_ACEOF
42803 /* confdefs.h. */
42804 _ACEOF
42805 cat confdefs.h >>conftest.$ac_ext
42806 cat >>conftest.$ac_ext <<_ACEOF
42807 /* end confdefs.h. */
42808 #include <netdb.h>
42809 int
42810 main ()
42811 {
42812
42813 char *name;
42814 char *proto;
42815 struct servent *se;
42816 struct servent_data data;
42817 (void) getservbyname_r(name, proto, se, &data);
42818
42819 ;
42820 return 0;
42821 }
42822 _ACEOF
42823 rm -f conftest.$ac_objext
42824 if { (ac_try="$ac_compile"
42825 case "(($ac_try" in
42826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42827 *) ac_try_echo=$ac_try;;
42828 esac
42829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42830 (eval "$ac_compile") 2>conftest.er1
42831 ac_status=$?
42832 grep -v '^ *+' conftest.er1 >conftest.err
42833 rm -f conftest.er1
42834 cat conftest.err >&5
42835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42836 (exit $ac_status); } && {
42837 test -z "$ac_cxx_werror_flag" ||
42838 test ! -s conftest.err
42839 } && test -s conftest.$ac_objext; then
42840 ac_cv_func_which_getservbyname_r=four
42841 else
42842 echo "$as_me: failed program was:" >&5
42843 sed 's/^/| /' conftest.$ac_ext >&5
42844
42845 ac_cv_func_which_getservbyname_r=no
42846
42847 fi
42848
42849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42850
42851
42852 fi
42853
42854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42855
42856
42857 fi
42858
42859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42860 ac_ext=c
42861 ac_cpp='$CPP $CPPFLAGS'
42862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42865
42866
42867
42868 fi
42869 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42870 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
42871
42872 if test $ac_cv_func_which_getservbyname_r = six; then
42873 cat >>confdefs.h <<\_ACEOF
42874 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42875 _ACEOF
42876
42877 elif test $ac_cv_func_which_getservbyname_r = five; then
42878 cat >>confdefs.h <<\_ACEOF
42879 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42880 _ACEOF
42881
42882 elif test $ac_cv_func_which_getservbyname_r = four; then
42883 cat >>confdefs.h <<\_ACEOF
42884 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42885 _ACEOF
42886
42887 fi
42888
42889
42890 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42891 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42892
42893 for ac_func in getservbyname
42894 do
42895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42896 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42898 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42899 echo $ECHO_N "(cached) $ECHO_C" >&6
42900 else
42901 cat >conftest.$ac_ext <<_ACEOF
42902 /* confdefs.h. */
42903 _ACEOF
42904 cat confdefs.h >>conftest.$ac_ext
42905 cat >>conftest.$ac_ext <<_ACEOF
42906 /* end confdefs.h. */
42907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42909 #define $ac_func innocuous_$ac_func
42910
42911 /* System header to define __stub macros and hopefully few prototypes,
42912 which can conflict with char $ac_func (); below.
42913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42914 <limits.h> exists even on freestanding compilers. */
42915
42916 #ifdef __STDC__
42917 # include <limits.h>
42918 #else
42919 # include <assert.h>
42920 #endif
42921
42922 #undef $ac_func
42923
42924 /* Override any GCC internal prototype to avoid an error.
42925 Use char because int might match the return type of a GCC
42926 builtin and then its argument prototype would still apply. */
42927 #ifdef __cplusplus
42928 extern "C"
42929 #endif
42930 char $ac_func ();
42931 /* The GNU C library defines this for functions which it implements
42932 to always fail with ENOSYS. Some functions are actually named
42933 something starting with __ and the normal name is an alias. */
42934 #if defined __stub_$ac_func || defined __stub___$ac_func
42935 choke me
42936 #endif
42937
42938 int
42939 main ()
42940 {
42941 return $ac_func ();
42942 ;
42943 return 0;
42944 }
42945 _ACEOF
42946 rm -f conftest.$ac_objext conftest$ac_exeext
42947 if { (ac_try="$ac_link"
42948 case "(($ac_try" in
42949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42950 *) ac_try_echo=$ac_try;;
42951 esac
42952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42953 (eval "$ac_link") 2>conftest.er1
42954 ac_status=$?
42955 grep -v '^ *+' conftest.er1 >conftest.err
42956 rm -f conftest.er1
42957 cat conftest.err >&5
42958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42959 (exit $ac_status); } && {
42960 test -z "$ac_c_werror_flag" ||
42961 test ! -s conftest.err
42962 } && test -s conftest$ac_exeext &&
42963 $as_test_x conftest$ac_exeext; then
42964 eval "$as_ac_var=yes"
42965 else
42966 echo "$as_me: failed program was:" >&5
42967 sed 's/^/| /' conftest.$ac_ext >&5
42968
42969 eval "$as_ac_var=no"
42970 fi
42971
42972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42973 conftest$ac_exeext conftest.$ac_ext
42974 fi
42975 ac_res=`eval echo '${'$as_ac_var'}'`
42976 { echo "$as_me:$LINENO: result: $ac_res" >&5
42977 echo "${ECHO_T}$ac_res" >&6; }
42978 if test `eval echo '${'$as_ac_var'}'` = yes; then
42979 cat >>confdefs.h <<_ACEOF
42980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42981 _ACEOF
42982 cat >>confdefs.h <<\_ACEOF
42983 #define HAVE_GETSERVBYNAME 1
42984 _ACEOF
42985
42986 fi
42987 done
42988
42989 fi
42990
42991 if test "$wxUSE_THREADS" = "yes"; then
42992 cat >>confdefs.h <<\_ACEOF
42993 #define wxUSE_THREADS 1
42994 _ACEOF
42995
42996
42997 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42998 else
42999 if test "$wx_cv_func_strtok_r" = "yes"; then
43000 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43001 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43002 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43003 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43004 { echo "$as_me:$LINENO: result: yes" >&5
43005 echo "${ECHO_T}yes" >&6; }
43006 else
43007 { echo "$as_me:$LINENO: result: no" >&5
43008 echo "${ECHO_T}no" >&6; }
43009 fi
43010 fi
43011 fi
43012
43013 if test "$WXGTK2" = 1 ; then
43014 cat >>confdefs.h <<_ACEOF
43015 #define __WXGTK20__ $WXGTK2
43016 _ACEOF
43017
43018 WXGTK12=1
43019 fi
43020
43021 if test "$WXGTK12" = 1 ; then
43022 cat >>confdefs.h <<_ACEOF
43023 #define __WXGTK12__ $WXGTK12
43024 _ACEOF
43025
43026 fi
43027
43028 if test "$WXGTK127" = 1 ; then
43029 cat >>confdefs.h <<_ACEOF
43030 #define __WXGTK127__ $WXGTK127
43031 _ACEOF
43032
43033 fi
43034
43035 if test "$WXGPE" = 1 ; then
43036 cat >>confdefs.h <<_ACEOF
43037 #define __WXGPE__ $WXGPE
43038 _ACEOF
43039
43040 fi
43041
43042 DEBUG_CFLAGS=
43043 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
43044 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
43045 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
43046 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
43047 DEBUG_CFLAGS="-g"
43048 fi
43049
43050 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43051 wxUSE_DEBUG_INFO=yes
43052 if test "$GCC" = yes; then
43053 DEBUG_CFLAGS="-ggdb"
43054 fi
43055 fi
43056
43057 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
43058 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
43059
43060 if test "$wxUSE_GTK" = 1 ; then
43061 if test "x$wxGTK_VERSION" = "x1" ; then
43062 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43063 fi
43064 fi
43065 fi
43066
43067 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43068 cat >>confdefs.h <<\_ACEOF
43069 #define wxUSE_MEMORY_TRACING 1
43070 _ACEOF
43071
43072 cat >>confdefs.h <<\_ACEOF
43073 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43074 _ACEOF
43075
43076 cat >>confdefs.h <<\_ACEOF
43077 #define wxUSE_DEBUG_NEW_ALWAYS 1
43078 _ACEOF
43079
43080 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43081 fi
43082
43083 if test "$wxUSE_DMALLOC" = "yes" ; then
43084 DMALLOC_LIBS="-ldmallocthcxx"
43085 fi
43086
43087 PROFILE_FLAGS=
43088 if test "$wxUSE_PROFILE" = "yes" ; then
43089 PROFILE_FLAGS=" -pg"
43090 fi
43091
43092 if test "$GCC" = "yes" ; then
43093 if test "$wxUSE_NO_RTTI" = "yes" ; then
43094 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
43095 fi
43096 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43097 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43098 fi
43099 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43100 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43101 fi
43102
43103 case "${host}" in
43104 powerpc*-*-aix* )
43105 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43106 ;;
43107 *-hppa* )
43108 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43109 ;;
43110 esac
43111 fi
43112
43113 OPTIMISE_CFLAGS=
43114 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
43115 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
43116 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
43117 else
43118 if test "$wxUSE_OPTIMISE" = "no" ; then
43119 if test "$GCC" = yes ; then
43120 OPTIMISE_CFLAGS="-O0"
43121 fi
43122 else
43123 if test "$GCC" = yes ; then
43124 case "${host}" in
43125 *-pc-os2_emx | *-pc-os2-emx )
43126 OPTIMISE_CFLAGS="-O2"
43127 ;;
43128 *)
43129 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43130 ;;
43131 esac
43132 else
43133 OPTIMISE_CFLAGS="-O"
43134 fi
43135 fi
43136 fi
43137
43138
43139 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43140 cat >>confdefs.h <<\_ACEOF
43141 #define WXWIN_COMPATIBILITY_2_6 1
43142 _ACEOF
43143
43144
43145 WXWIN_COMPATIBILITY_2_8="yes"
43146 fi
43147
43148 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43149 cat >>confdefs.h <<\_ACEOF
43150 #define WXWIN_COMPATIBILITY_2_8 1
43151 _ACEOF
43152
43153 fi
43154
43155
43156 if test "$wxUSE_GUI" = "yes"; then
43157 cat >>confdefs.h <<\_ACEOF
43158 #define wxUSE_GUI 1
43159 _ACEOF
43160
43161
43162 fi
43163
43164
43165 if test "$wxUSE_UNIX" = "yes"; then
43166 cat >>confdefs.h <<\_ACEOF
43167 #define wxUSE_UNIX 1
43168 _ACEOF
43169
43170 fi
43171
43172
43173 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43174
43175 HAVE_DL_FUNCS=0
43176 HAVE_SHL_FUNCS=0
43177 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43178 if test "$USE_DOS" = 1; then
43179 HAVE_DL_FUNCS=0
43180 else
43181
43182 for ac_func in dlopen
43183 do
43184 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43185 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43187 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43188 echo $ECHO_N "(cached) $ECHO_C" >&6
43189 else
43190 cat >conftest.$ac_ext <<_ACEOF
43191 /* confdefs.h. */
43192 _ACEOF
43193 cat confdefs.h >>conftest.$ac_ext
43194 cat >>conftest.$ac_ext <<_ACEOF
43195 /* end confdefs.h. */
43196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43198 #define $ac_func innocuous_$ac_func
43199
43200 /* System header to define __stub macros and hopefully few prototypes,
43201 which can conflict with char $ac_func (); below.
43202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43203 <limits.h> exists even on freestanding compilers. */
43204
43205 #ifdef __STDC__
43206 # include <limits.h>
43207 #else
43208 # include <assert.h>
43209 #endif
43210
43211 #undef $ac_func
43212
43213 /* Override any GCC internal prototype to avoid an error.
43214 Use char because int might match the return type of a GCC
43215 builtin and then its argument prototype would still apply. */
43216 #ifdef __cplusplus
43217 extern "C"
43218 #endif
43219 char $ac_func ();
43220 /* The GNU C library defines this for functions which it implements
43221 to always fail with ENOSYS. Some functions are actually named
43222 something starting with __ and the normal name is an alias. */
43223 #if defined __stub_$ac_func || defined __stub___$ac_func
43224 choke me
43225 #endif
43226
43227 int
43228 main ()
43229 {
43230 return $ac_func ();
43231 ;
43232 return 0;
43233 }
43234 _ACEOF
43235 rm -f conftest.$ac_objext conftest$ac_exeext
43236 if { (ac_try="$ac_link"
43237 case "(($ac_try" in
43238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43239 *) ac_try_echo=$ac_try;;
43240 esac
43241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43242 (eval "$ac_link") 2>conftest.er1
43243 ac_status=$?
43244 grep -v '^ *+' conftest.er1 >conftest.err
43245 rm -f conftest.er1
43246 cat conftest.err >&5
43247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43248 (exit $ac_status); } && {
43249 test -z "$ac_c_werror_flag" ||
43250 test ! -s conftest.err
43251 } && test -s conftest$ac_exeext &&
43252 $as_test_x conftest$ac_exeext; then
43253 eval "$as_ac_var=yes"
43254 else
43255 echo "$as_me: failed program was:" >&5
43256 sed 's/^/| /' conftest.$ac_ext >&5
43257
43258 eval "$as_ac_var=no"
43259 fi
43260
43261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43262 conftest$ac_exeext conftest.$ac_ext
43263 fi
43264 ac_res=`eval echo '${'$as_ac_var'}'`
43265 { echo "$as_me:$LINENO: result: $ac_res" >&5
43266 echo "${ECHO_T}$ac_res" >&6; }
43267 if test `eval echo '${'$as_ac_var'}'` = yes; then
43268 cat >>confdefs.h <<_ACEOF
43269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43270 _ACEOF
43271
43272 cat >>confdefs.h <<\_ACEOF
43273 #define HAVE_DLOPEN 1
43274 _ACEOF
43275
43276 HAVE_DL_FUNCS=1
43277
43278 else
43279
43280 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43281 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43282 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43283 echo $ECHO_N "(cached) $ECHO_C" >&6
43284 else
43285 ac_check_lib_save_LIBS=$LIBS
43286 LIBS="-ldl $LIBS"
43287 cat >conftest.$ac_ext <<_ACEOF
43288 /* confdefs.h. */
43289 _ACEOF
43290 cat confdefs.h >>conftest.$ac_ext
43291 cat >>conftest.$ac_ext <<_ACEOF
43292 /* end confdefs.h. */
43293
43294 /* Override any GCC internal prototype to avoid an error.
43295 Use char because int might match the return type of a GCC
43296 builtin and then its argument prototype would still apply. */
43297 #ifdef __cplusplus
43298 extern "C"
43299 #endif
43300 char dlopen ();
43301 int
43302 main ()
43303 {
43304 return dlopen ();
43305 ;
43306 return 0;
43307 }
43308 _ACEOF
43309 rm -f conftest.$ac_objext conftest$ac_exeext
43310 if { (ac_try="$ac_link"
43311 case "(($ac_try" in
43312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43313 *) ac_try_echo=$ac_try;;
43314 esac
43315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43316 (eval "$ac_link") 2>conftest.er1
43317 ac_status=$?
43318 grep -v '^ *+' conftest.er1 >conftest.err
43319 rm -f conftest.er1
43320 cat conftest.err >&5
43321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43322 (exit $ac_status); } && {
43323 test -z "$ac_c_werror_flag" ||
43324 test ! -s conftest.err
43325 } && test -s conftest$ac_exeext &&
43326 $as_test_x conftest$ac_exeext; then
43327 ac_cv_lib_dl_dlopen=yes
43328 else
43329 echo "$as_me: failed program was:" >&5
43330 sed 's/^/| /' conftest.$ac_ext >&5
43331
43332 ac_cv_lib_dl_dlopen=no
43333 fi
43334
43335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43336 conftest$ac_exeext conftest.$ac_ext
43337 LIBS=$ac_check_lib_save_LIBS
43338 fi
43339 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43340 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43341 if test $ac_cv_lib_dl_dlopen = yes; then
43342
43343 cat >>confdefs.h <<\_ACEOF
43344 #define HAVE_DLOPEN 1
43345 _ACEOF
43346
43347 HAVE_DL_FUNCS=1
43348 DL_LINK=" -ldl$DL_LINK"
43349
43350 else
43351
43352
43353 for ac_func in shl_load
43354 do
43355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43356 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43358 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43359 echo $ECHO_N "(cached) $ECHO_C" >&6
43360 else
43361 cat >conftest.$ac_ext <<_ACEOF
43362 /* confdefs.h. */
43363 _ACEOF
43364 cat confdefs.h >>conftest.$ac_ext
43365 cat >>conftest.$ac_ext <<_ACEOF
43366 /* end confdefs.h. */
43367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43369 #define $ac_func innocuous_$ac_func
43370
43371 /* System header to define __stub macros and hopefully few prototypes,
43372 which can conflict with char $ac_func (); below.
43373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43374 <limits.h> exists even on freestanding compilers. */
43375
43376 #ifdef __STDC__
43377 # include <limits.h>
43378 #else
43379 # include <assert.h>
43380 #endif
43381
43382 #undef $ac_func
43383
43384 /* Override any GCC internal prototype to avoid an error.
43385 Use char because int might match the return type of a GCC
43386 builtin and then its argument prototype would still apply. */
43387 #ifdef __cplusplus
43388 extern "C"
43389 #endif
43390 char $ac_func ();
43391 /* The GNU C library defines this for functions which it implements
43392 to always fail with ENOSYS. Some functions are actually named
43393 something starting with __ and the normal name is an alias. */
43394 #if defined __stub_$ac_func || defined __stub___$ac_func
43395 choke me
43396 #endif
43397
43398 int
43399 main ()
43400 {
43401 return $ac_func ();
43402 ;
43403 return 0;
43404 }
43405 _ACEOF
43406 rm -f conftest.$ac_objext conftest$ac_exeext
43407 if { (ac_try="$ac_link"
43408 case "(($ac_try" in
43409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43410 *) ac_try_echo=$ac_try;;
43411 esac
43412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43413 (eval "$ac_link") 2>conftest.er1
43414 ac_status=$?
43415 grep -v '^ *+' conftest.er1 >conftest.err
43416 rm -f conftest.er1
43417 cat conftest.err >&5
43418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43419 (exit $ac_status); } && {
43420 test -z "$ac_c_werror_flag" ||
43421 test ! -s conftest.err
43422 } && test -s conftest$ac_exeext &&
43423 $as_test_x conftest$ac_exeext; then
43424 eval "$as_ac_var=yes"
43425 else
43426 echo "$as_me: failed program was:" >&5
43427 sed 's/^/| /' conftest.$ac_ext >&5
43428
43429 eval "$as_ac_var=no"
43430 fi
43431
43432 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43433 conftest$ac_exeext conftest.$ac_ext
43434 fi
43435 ac_res=`eval echo '${'$as_ac_var'}'`
43436 { echo "$as_me:$LINENO: result: $ac_res" >&5
43437 echo "${ECHO_T}$ac_res" >&6; }
43438 if test `eval echo '${'$as_ac_var'}'` = yes; then
43439 cat >>confdefs.h <<_ACEOF
43440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43441 _ACEOF
43442
43443 cat >>confdefs.h <<\_ACEOF
43444 #define HAVE_SHL_LOAD 1
43445 _ACEOF
43446
43447 HAVE_SHL_FUNCS=1
43448
43449 else
43450
43451 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43452 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43453 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43454 echo $ECHO_N "(cached) $ECHO_C" >&6
43455 else
43456 ac_check_lib_save_LIBS=$LIBS
43457 LIBS="-lshl_load $LIBS"
43458 cat >conftest.$ac_ext <<_ACEOF
43459 /* confdefs.h. */
43460 _ACEOF
43461 cat confdefs.h >>conftest.$ac_ext
43462 cat >>conftest.$ac_ext <<_ACEOF
43463 /* end confdefs.h. */
43464
43465 /* Override any GCC internal prototype to avoid an error.
43466 Use char because int might match the return type of a GCC
43467 builtin and then its argument prototype would still apply. */
43468 #ifdef __cplusplus
43469 extern "C"
43470 #endif
43471 char dld ();
43472 int
43473 main ()
43474 {
43475 return dld ();
43476 ;
43477 return 0;
43478 }
43479 _ACEOF
43480 rm -f conftest.$ac_objext conftest$ac_exeext
43481 if { (ac_try="$ac_link"
43482 case "(($ac_try" in
43483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43484 *) ac_try_echo=$ac_try;;
43485 esac
43486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43487 (eval "$ac_link") 2>conftest.er1
43488 ac_status=$?
43489 grep -v '^ *+' conftest.er1 >conftest.err
43490 rm -f conftest.er1
43491 cat conftest.err >&5
43492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43493 (exit $ac_status); } && {
43494 test -z "$ac_c_werror_flag" ||
43495 test ! -s conftest.err
43496 } && test -s conftest$ac_exeext &&
43497 $as_test_x conftest$ac_exeext; then
43498 ac_cv_lib_shl_load_dld=yes
43499 else
43500 echo "$as_me: failed program was:" >&5
43501 sed 's/^/| /' conftest.$ac_ext >&5
43502
43503 ac_cv_lib_shl_load_dld=no
43504 fi
43505
43506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43507 conftest$ac_exeext conftest.$ac_ext
43508 LIBS=$ac_check_lib_save_LIBS
43509 fi
43510 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43511 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43512 if test $ac_cv_lib_shl_load_dld = yes; then
43513
43514 HAVE_SHL_FUNCS=1
43515 DL_LINK=" -ldld$DL_LINK"
43516
43517 fi
43518
43519
43520 fi
43521 done
43522
43523
43524 fi
43525
43526
43527 fi
43528 done
43529
43530
43531 if test "$HAVE_DL_FUNCS" = 1; then
43532
43533 for ac_func in dlerror
43534 do
43535 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43536 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43538 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43539 echo $ECHO_N "(cached) $ECHO_C" >&6
43540 else
43541 cat >conftest.$ac_ext <<_ACEOF
43542 /* confdefs.h. */
43543 _ACEOF
43544 cat confdefs.h >>conftest.$ac_ext
43545 cat >>conftest.$ac_ext <<_ACEOF
43546 /* end confdefs.h. */
43547 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43549 #define $ac_func innocuous_$ac_func
43550
43551 /* System header to define __stub macros and hopefully few prototypes,
43552 which can conflict with char $ac_func (); below.
43553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43554 <limits.h> exists even on freestanding compilers. */
43555
43556 #ifdef __STDC__
43557 # include <limits.h>
43558 #else
43559 # include <assert.h>
43560 #endif
43561
43562 #undef $ac_func
43563
43564 /* Override any GCC internal prototype to avoid an error.
43565 Use char because int might match the return type of a GCC
43566 builtin and then its argument prototype would still apply. */
43567 #ifdef __cplusplus
43568 extern "C"
43569 #endif
43570 char $ac_func ();
43571 /* The GNU C library defines this for functions which it implements
43572 to always fail with ENOSYS. Some functions are actually named
43573 something starting with __ and the normal name is an alias. */
43574 #if defined __stub_$ac_func || defined __stub___$ac_func
43575 choke me
43576 #endif
43577
43578 int
43579 main ()
43580 {
43581 return $ac_func ();
43582 ;
43583 return 0;
43584 }
43585 _ACEOF
43586 rm -f conftest.$ac_objext conftest$ac_exeext
43587 if { (ac_try="$ac_link"
43588 case "(($ac_try" in
43589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43590 *) ac_try_echo=$ac_try;;
43591 esac
43592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43593 (eval "$ac_link") 2>conftest.er1
43594 ac_status=$?
43595 grep -v '^ *+' conftest.er1 >conftest.err
43596 rm -f conftest.er1
43597 cat conftest.err >&5
43598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43599 (exit $ac_status); } && {
43600 test -z "$ac_c_werror_flag" ||
43601 test ! -s conftest.err
43602 } && test -s conftest$ac_exeext &&
43603 $as_test_x conftest$ac_exeext; then
43604 eval "$as_ac_var=yes"
43605 else
43606 echo "$as_me: failed program was:" >&5
43607 sed 's/^/| /' conftest.$ac_ext >&5
43608
43609 eval "$as_ac_var=no"
43610 fi
43611
43612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43613 conftest$ac_exeext conftest.$ac_ext
43614 fi
43615 ac_res=`eval echo '${'$as_ac_var'}'`
43616 { echo "$as_me:$LINENO: result: $ac_res" >&5
43617 echo "${ECHO_T}$ac_res" >&6; }
43618 if test `eval echo '${'$as_ac_var'}'` = yes; then
43619 cat >>confdefs.h <<_ACEOF
43620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43621 _ACEOF
43622 cat >>confdefs.h <<\_ACEOF
43623 #define HAVE_DLERROR 1
43624 _ACEOF
43625
43626 else
43627
43628 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43629 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43630 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43631 echo $ECHO_N "(cached) $ECHO_C" >&6
43632 else
43633 ac_check_lib_save_LIBS=$LIBS
43634 LIBS="-ldl $LIBS"
43635 cat >conftest.$ac_ext <<_ACEOF
43636 /* confdefs.h. */
43637 _ACEOF
43638 cat confdefs.h >>conftest.$ac_ext
43639 cat >>conftest.$ac_ext <<_ACEOF
43640 /* end confdefs.h. */
43641
43642 /* Override any GCC internal prototype to avoid an error.
43643 Use char because int might match the return type of a GCC
43644 builtin and then its argument prototype would still apply. */
43645 #ifdef __cplusplus
43646 extern "C"
43647 #endif
43648 char dlerror ();
43649 int
43650 main ()
43651 {
43652 return dlerror ();
43653 ;
43654 return 0;
43655 }
43656 _ACEOF
43657 rm -f conftest.$ac_objext conftest$ac_exeext
43658 if { (ac_try="$ac_link"
43659 case "(($ac_try" in
43660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43661 *) ac_try_echo=$ac_try;;
43662 esac
43663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43664 (eval "$ac_link") 2>conftest.er1
43665 ac_status=$?
43666 grep -v '^ *+' conftest.er1 >conftest.err
43667 rm -f conftest.er1
43668 cat conftest.err >&5
43669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43670 (exit $ac_status); } && {
43671 test -z "$ac_c_werror_flag" ||
43672 test ! -s conftest.err
43673 } && test -s conftest$ac_exeext &&
43674 $as_test_x conftest$ac_exeext; then
43675 ac_cv_lib_dl_dlerror=yes
43676 else
43677 echo "$as_me: failed program was:" >&5
43678 sed 's/^/| /' conftest.$ac_ext >&5
43679
43680 ac_cv_lib_dl_dlerror=no
43681 fi
43682
43683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43684 conftest$ac_exeext conftest.$ac_ext
43685 LIBS=$ac_check_lib_save_LIBS
43686 fi
43687 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43688 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43689 if test $ac_cv_lib_dl_dlerror = yes; then
43690 cat >>confdefs.h <<\_ACEOF
43691 #define HAVE_DLERROR 1
43692 _ACEOF
43693
43694 fi
43695
43696
43697
43698 fi
43699 done
43700
43701 fi
43702 fi
43703
43704 if test "$USE_DARWIN" = 1; then
43705 HAVE_DL_FUNCS=1
43706 fi
43707
43708 if test "$HAVE_DL_FUNCS" = 0; then
43709 if test "$HAVE_SHL_FUNCS" = 0; then
43710 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43711 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43712 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43713 wxUSE_DYNAMIC_LOADER=no
43714 wxUSE_DYNLIB_CLASS=no
43715 else
43716 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43717 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43718 fi
43719 fi
43720 fi
43721 fi
43722 fi
43723
43724 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43725 cat >>confdefs.h <<\_ACEOF
43726 #define wxUSE_DYNAMIC_LOADER 1
43727 _ACEOF
43728
43729 fi
43730 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43731 cat >>confdefs.h <<\_ACEOF
43732 #define wxUSE_DYNLIB_CLASS 1
43733 _ACEOF
43734
43735 fi
43736
43737
43738
43739 if test "$wxUSE_PLUGINS" = "yes" ; then
43740 if test "$wxUSE_SHARED" = "no" ; then
43741 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43742 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43743 wxUSE_PLUGINS=no
43744 fi
43745 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43746 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43747 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43748 wxUSE_PLUGINS=no
43749 fi
43750 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43751 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43752 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43753 wxUSE_PLUGINS=no
43754 fi
43755 if test "$wxUSE_PLUGINS" = "yes" ; then
43756 cat >>confdefs.h <<\_ACEOF
43757 #define wxUSE_PLUGINS 1
43758 _ACEOF
43759
43760 fi
43761 fi
43762
43763
43764 if test "$wxUSE_FSWATCHER" = "yes"; then
43765 if test "$wxUSE_MSW" != "1"; then
43766 if test "$wxUSE_UNIX" = "yes"; then
43767
43768 for ac_header in sys/inotify.h
43769 do
43770 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43771 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43772 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43773 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43774 echo $ECHO_N "(cached) $ECHO_C" >&6
43775 else
43776 cat >conftest.$ac_ext <<_ACEOF
43777 /* confdefs.h. */
43778 _ACEOF
43779 cat confdefs.h >>conftest.$ac_ext
43780 cat >>conftest.$ac_ext <<_ACEOF
43781 /* end confdefs.h. */
43782 $ac_includes_default
43783
43784 #include <$ac_header>
43785 _ACEOF
43786 rm -f conftest.$ac_objext
43787 if { (ac_try="$ac_compile"
43788 case "(($ac_try" in
43789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43790 *) ac_try_echo=$ac_try;;
43791 esac
43792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43793 (eval "$ac_compile") 2>conftest.er1
43794 ac_status=$?
43795 grep -v '^ *+' conftest.er1 >conftest.err
43796 rm -f conftest.er1
43797 cat conftest.err >&5
43798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43799 (exit $ac_status); } && {
43800 test -z "$ac_c_werror_flag" ||
43801 test ! -s conftest.err
43802 } && test -s conftest.$ac_objext; then
43803 eval "$as_ac_Header=yes"
43804 else
43805 echo "$as_me: failed program was:" >&5
43806 sed 's/^/| /' conftest.$ac_ext >&5
43807
43808 eval "$as_ac_Header=no"
43809 fi
43810
43811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43812 fi
43813 ac_res=`eval echo '${'$as_ac_Header'}'`
43814 { echo "$as_me:$LINENO: result: $ac_res" >&5
43815 echo "${ECHO_T}$ac_res" >&6; }
43816 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43817 cat >>confdefs.h <<_ACEOF
43818 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43819 _ACEOF
43820
43821 fi
43822
43823 done
43824
43825 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
43826 cat >>confdefs.h <<\_ACEOF
43827 #define wxHAS_INOTIFY 1
43828 _ACEOF
43829
43830 else
43831
43832 for ac_header in sys/event.h
43833 do
43834 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43835 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43836 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43837 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43838 echo $ECHO_N "(cached) $ECHO_C" >&6
43839 else
43840 cat >conftest.$ac_ext <<_ACEOF
43841 /* confdefs.h. */
43842 _ACEOF
43843 cat confdefs.h >>conftest.$ac_ext
43844 cat >>conftest.$ac_ext <<_ACEOF
43845 /* end confdefs.h. */
43846 $ac_includes_default
43847
43848 #include <$ac_header>
43849 _ACEOF
43850 rm -f conftest.$ac_objext
43851 if { (ac_try="$ac_compile"
43852 case "(($ac_try" in
43853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43854 *) ac_try_echo=$ac_try;;
43855 esac
43856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43857 (eval "$ac_compile") 2>conftest.er1
43858 ac_status=$?
43859 grep -v '^ *+' conftest.er1 >conftest.err
43860 rm -f conftest.er1
43861 cat conftest.err >&5
43862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43863 (exit $ac_status); } && {
43864 test -z "$ac_c_werror_flag" ||
43865 test ! -s conftest.err
43866 } && test -s conftest.$ac_objext; then
43867 eval "$as_ac_Header=yes"
43868 else
43869 echo "$as_me: failed program was:" >&5
43870 sed 's/^/| /' conftest.$ac_ext >&5
43871
43872 eval "$as_ac_Header=no"
43873 fi
43874
43875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43876 fi
43877 ac_res=`eval echo '${'$as_ac_Header'}'`
43878 { echo "$as_me:$LINENO: result: $ac_res" >&5
43879 echo "${ECHO_T}$ac_res" >&6; }
43880 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43881 cat >>confdefs.h <<_ACEOF
43882 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43883 _ACEOF
43884
43885 fi
43886
43887 done
43888
43889 if test "$ac_cv_header_sys_event_h" = "yes"; then
43890 cat >>confdefs.h <<\_ACEOF
43891 #define wxHAS_KQUEUE 1
43892 _ACEOF
43893
43894 else
43895 wxUSE_FSWATCHER=no
43896 fi
43897 fi
43898 else
43899 wxUSE_FSWATCHER=no
43900 fi
43901 else
43902 if test "$wxUSE_THREADS" != "yes"; then
43903 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
43904 echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
43905 wxUSE_FSWATCHER=no
43906 fi
43907 fi
43908
43909 if test "$wxUSE_FSWATCHER" = "yes"; then
43910 cat >>confdefs.h <<\_ACEOF
43911 #define wxUSE_FSWATCHER 1
43912 _ACEOF
43913
43914 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
43915 else
43916 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
43917 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
43918 fi
43919 fi
43920
43921
43922 if test "$wxUSE_STL" = "yes"; then
43923 cat >>confdefs.h <<\_ACEOF
43924 #define wxUSE_STL 1
43925 _ACEOF
43926
43927 fi
43928
43929 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43930 cat >>confdefs.h <<\_ACEOF
43931 #define wxUSE_EXTENDED_RTTI 1
43932 _ACEOF
43933
43934 fi
43935
43936 if test "$wxUSE_ANY" = "yes"; then
43937 cat >>confdefs.h <<\_ACEOF
43938 #define wxUSE_ANY 1
43939 _ACEOF
43940
43941 fi
43942
43943 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43944 cat >>confdefs.h <<\_ACEOF
43945 #define wxUSE_APPLE_IEEE 1
43946 _ACEOF
43947
43948 fi
43949
43950 if test "$wxUSE_TIMER" = "yes"; then
43951 cat >>confdefs.h <<\_ACEOF
43952 #define wxUSE_TIMER 1
43953 _ACEOF
43954
43955 fi
43956
43957 if test "$USE_UNIX" = 1 ; then
43958 if test "$wxUSE_MGL" != 1; then
43959 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43960 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43961 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43962 echo $ECHO_N "(cached) $ECHO_C" >&6
43963 else
43964
43965 cat >conftest.$ac_ext <<_ACEOF
43966 /* confdefs.h. */
43967 _ACEOF
43968 cat confdefs.h >>conftest.$ac_ext
43969 cat >>conftest.$ac_ext <<_ACEOF
43970 /* end confdefs.h. */
43971
43972 #include <sys/ioctl.h>
43973 #include <sys/soundcard.h>
43974
43975 int
43976 main ()
43977 {
43978
43979 ioctl(0, SNDCTL_DSP_SPEED, 0);
43980
43981 ;
43982 return 0;
43983 }
43984 _ACEOF
43985 rm -f conftest.$ac_objext conftest$ac_exeext
43986 if { (ac_try="$ac_link"
43987 case "(($ac_try" in
43988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43989 *) ac_try_echo=$ac_try;;
43990 esac
43991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43992 (eval "$ac_link") 2>conftest.er1
43993 ac_status=$?
43994 grep -v '^ *+' conftest.er1 >conftest.err
43995 rm -f conftest.er1
43996 cat conftest.err >&5
43997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43998 (exit $ac_status); } && {
43999 test -z "$ac_c_werror_flag" ||
44000 test ! -s conftest.err
44001 } && test -s conftest$ac_exeext &&
44002 $as_test_x conftest$ac_exeext; then
44003 ac_cv_header_sys_soundcard=yes
44004 else
44005 echo "$as_me: failed program was:" >&5
44006 sed 's/^/| /' conftest.$ac_ext >&5
44007
44008
44009 saveLibs="$LIBS"
44010 LIBS="$saveLibs -lossaudio"
44011 cat >conftest.$ac_ext <<_ACEOF
44012 /* confdefs.h. */
44013 _ACEOF
44014 cat confdefs.h >>conftest.$ac_ext
44015 cat >>conftest.$ac_ext <<_ACEOF
44016 /* end confdefs.h. */
44017
44018 #include <sys/ioctl.h>
44019 #include <sys/soundcard.h>
44020
44021 int
44022 main ()
44023 {
44024
44025 ioctl(0, SNDCTL_DSP_SPEED, 0);
44026
44027 ;
44028 return 0;
44029 }
44030 _ACEOF
44031 rm -f conftest.$ac_objext conftest$ac_exeext
44032 if { (ac_try="$ac_link"
44033 case "(($ac_try" in
44034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44035 *) ac_try_echo=$ac_try;;
44036 esac
44037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44038 (eval "$ac_link") 2>conftest.er1
44039 ac_status=$?
44040 grep -v '^ *+' conftest.er1 >conftest.err
44041 rm -f conftest.er1
44042 cat conftest.err >&5
44043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44044 (exit $ac_status); } && {
44045 test -z "$ac_c_werror_flag" ||
44046 test ! -s conftest.err
44047 } && test -s conftest$ac_exeext &&
44048 $as_test_x conftest$ac_exeext; then
44049 ac_cv_header_sys_soundcard=yes
44050 else
44051 echo "$as_me: failed program was:" >&5
44052 sed 's/^/| /' conftest.$ac_ext >&5
44053
44054
44055 LIBS="$saveLibs"
44056 ac_cv_header_sys_soundcard=no
44057
44058
44059 fi
44060
44061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44062 conftest$ac_exeext conftest.$ac_ext
44063
44064
44065 fi
44066
44067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44068 conftest$ac_exeext conftest.$ac_ext
44069
44070 fi
44071 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44072 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44073 fi
44074
44075 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44076 cat >>confdefs.h <<\_ACEOF
44077 #define HAVE_SYS_SOUNDCARD_H 1
44078 _ACEOF
44079
44080 fi
44081 fi
44082
44083 WITH_PLUGIN_SDL=0
44084 if test "$wxUSE_SOUND" = "yes"; then
44085 if test "$USE_UNIX" = 1 ; then
44086 if test "$wxUSE_LIBSDL" != "no"; then
44087
44088 # Check whether --with-sdl-prefix was given.
44089 if test "${with_sdl_prefix+set}" = set; then
44090 withval=$with_sdl_prefix; sdl_prefix="$withval"
44091 else
44092 sdl_prefix=""
44093 fi
44094
44095
44096 # Check whether --with-sdl-exec-prefix was given.
44097 if test "${with_sdl_exec_prefix+set}" = set; then
44098 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44099 else
44100 sdl_exec_prefix=""
44101 fi
44102
44103 # Check whether --enable-sdltest was given.
44104 if test "${enable_sdltest+set}" = set; then
44105 enableval=$enable_sdltest;
44106 else
44107 enable_sdltest=yes
44108 fi
44109
44110
44111 if test x$sdl_exec_prefix != x ; then
44112 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44113 if test x${SDL_CONFIG+set} != xset ; then
44114 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44115 fi
44116 fi
44117 if test x$sdl_prefix != x ; then
44118 sdl_args="$sdl_args --prefix=$sdl_prefix"
44119 if test x${SDL_CONFIG+set} != xset ; then
44120 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44121 fi
44122 fi
44123
44124 if test "x$prefix" != xNONE; then
44125 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44126 fi
44127 # Extract the first word of "sdl-config", so it can be a program name with args.
44128 set dummy sdl-config; ac_word=$2
44129 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44131 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44132 echo $ECHO_N "(cached) $ECHO_C" >&6
44133 else
44134 case $SDL_CONFIG in
44135 [\\/]* | ?:[\\/]*)
44136 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44137 ;;
44138 *)
44139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44140 for as_dir in $PATH
44141 do
44142 IFS=$as_save_IFS
44143 test -z "$as_dir" && as_dir=.
44144 for ac_exec_ext in '' $ac_executable_extensions; do
44145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44146 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44148 break 2
44149 fi
44150 done
44151 done
44152 IFS=$as_save_IFS
44153
44154 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44155 ;;
44156 esac
44157 fi
44158 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44159 if test -n "$SDL_CONFIG"; then
44160 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44161 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44162 else
44163 { echo "$as_me:$LINENO: result: no" >&5
44164 echo "${ECHO_T}no" >&6; }
44165 fi
44166
44167
44168 min_sdl_version=1.2.0
44169 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44170 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44171 no_sdl=""
44172 if test "$SDL_CONFIG" = "no" ; then
44173 no_sdl=yes
44174 else
44175 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44176 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44177
44178 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44179 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44180 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44181 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44182 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44183 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44184 if test "x$enable_sdltest" = "xyes" ; then
44185 ac_save_CFLAGS="$CFLAGS"
44186 ac_save_CXXFLAGS="$CXXFLAGS"
44187 ac_save_LIBS="$LIBS"
44188 CFLAGS="$CFLAGS $SDL_CFLAGS"
44189 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44190 LIBS="$LIBS $SDL_LIBS"
44191 rm -f conf.sdltest
44192 if test "$cross_compiling" = yes; then
44193 echo $ac_n "cross compiling; assumed OK... $ac_c"
44194 else
44195 cat >conftest.$ac_ext <<_ACEOF
44196 /* confdefs.h. */
44197 _ACEOF
44198 cat confdefs.h >>conftest.$ac_ext
44199 cat >>conftest.$ac_ext <<_ACEOF
44200 /* end confdefs.h. */
44201
44202 #include <stdio.h>
44203 #include <stdlib.h>
44204 #include <string.h>
44205 #include "SDL.h"
44206
44207 char*
44208 my_strdup (char *str)
44209 {
44210 char *new_str;
44211
44212 if (str)
44213 {
44214 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44215 strcpy (new_str, str);
44216 }
44217 else
44218 new_str = NULL;
44219
44220 return new_str;
44221 }
44222
44223 int main (int argc, char *argv[])
44224 {
44225 int major, minor, micro;
44226 char *tmp_version;
44227
44228 /* This hangs on some systems (?)
44229 system ("touch conf.sdltest");
44230 */
44231 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44232
44233 /* HP/UX 9 (%@#!) writes to sscanf strings */
44234 tmp_version = my_strdup("$min_sdl_version");
44235 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
44236 printf("%s, bad version string\n", "$min_sdl_version");
44237 exit(1);
44238 }
44239
44240 if (($sdl_major_version > major) ||
44241 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44242 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44243 {
44244 return 0;
44245 }
44246 else
44247 {
44248 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44249 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44250 printf("*** best to upgrade to the required version.\n");
44251 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44252 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44253 printf("*** config.cache before re-running configure\n");
44254 return 1;
44255 }
44256 }
44257
44258
44259 _ACEOF
44260 rm -f conftest$ac_exeext
44261 if { (ac_try="$ac_link"
44262 case "(($ac_try" in
44263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44264 *) ac_try_echo=$ac_try;;
44265 esac
44266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44267 (eval "$ac_link") 2>&5
44268 ac_status=$?
44269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44270 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44271 { (case "(($ac_try" in
44272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44273 *) ac_try_echo=$ac_try;;
44274 esac
44275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44276 (eval "$ac_try") 2>&5
44277 ac_status=$?
44278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44279 (exit $ac_status); }; }; then
44280 :
44281 else
44282 echo "$as_me: program exited with status $ac_status" >&5
44283 echo "$as_me: failed program was:" >&5
44284 sed 's/^/| /' conftest.$ac_ext >&5
44285
44286 ( exit $ac_status )
44287 no_sdl=yes
44288 fi
44289 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44290 fi
44291
44292
44293 CFLAGS="$ac_save_CFLAGS"
44294 CXXFLAGS="$ac_save_CXXFLAGS"
44295 LIBS="$ac_save_LIBS"
44296 fi
44297 fi
44298 if test "x$no_sdl" = x ; then
44299 { echo "$as_me:$LINENO: result: yes" >&5
44300 echo "${ECHO_T}yes" >&6; }
44301
44302 EXTRALIBS_SDL="$SDL_LIBS"
44303 CFLAGS="$SDL_CFLAGS $CFLAGS"
44304 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44305 cat >>confdefs.h <<\_ACEOF
44306 #define wxUSE_LIBSDL 1
44307 _ACEOF
44308
44309
44310 else
44311 { echo "$as_me:$LINENO: result: no" >&5
44312 echo "${ECHO_T}no" >&6; }
44313 if test "$SDL_CONFIG" = "no" ; then
44314 echo "*** The sdl-config script installed by SDL could not be found"
44315 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44316 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44317 echo "*** full path to sdl-config."
44318 else
44319 if test -f conf.sdltest ; then
44320 :
44321 else
44322 echo "*** Could not run SDL test program, checking why..."
44323 CFLAGS="$CFLAGS $SDL_CFLAGS"
44324 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44325 LIBS="$LIBS $SDL_LIBS"
44326 cat >conftest.$ac_ext <<_ACEOF
44327 /* confdefs.h. */
44328 _ACEOF
44329 cat confdefs.h >>conftest.$ac_ext
44330 cat >>conftest.$ac_ext <<_ACEOF
44331 /* end confdefs.h. */
44332
44333 #include <stdio.h>
44334 #include "SDL.h"
44335
44336 int main(int argc, char *argv[])
44337 { return 0; }
44338 #undef main
44339 #define main K_and_R_C_main
44340
44341 int
44342 main ()
44343 {
44344 return 0;
44345 ;
44346 return 0;
44347 }
44348 _ACEOF
44349 rm -f conftest.$ac_objext conftest$ac_exeext
44350 if { (ac_try="$ac_link"
44351 case "(($ac_try" in
44352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44353 *) ac_try_echo=$ac_try;;
44354 esac
44355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44356 (eval "$ac_link") 2>conftest.er1
44357 ac_status=$?
44358 grep -v '^ *+' conftest.er1 >conftest.err
44359 rm -f conftest.er1
44360 cat conftest.err >&5
44361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44362 (exit $ac_status); } && {
44363 test -z "$ac_c_werror_flag" ||
44364 test ! -s conftest.err
44365 } && test -s conftest$ac_exeext &&
44366 $as_test_x conftest$ac_exeext; then
44367 echo "*** The test program compiled, but did not run. This usually means"
44368 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44369 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44370 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44371 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44372 echo "*** is required on your system"
44373 echo "***"
44374 echo "*** If you have an old version installed, it is best to remove it, although"
44375 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44376 else
44377 echo "$as_me: failed program was:" >&5
44378 sed 's/^/| /' conftest.$ac_ext >&5
44379
44380 echo "*** The test program failed to compile or link. See the file config.log for the"
44381 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44382 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44383 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44384 fi
44385
44386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44387 conftest$ac_exeext conftest.$ac_ext
44388 CFLAGS="$ac_save_CFLAGS"
44389 CXXFLAGS="$ac_save_CXXFLAGS"
44390 LIBS="$ac_save_LIBS"
44391 fi
44392 fi
44393 SDL_CFLAGS=""
44394 SDL_LIBS=""
44395 wxUSE_LIBSDL="no"
44396 fi
44397
44398
44399 rm -f conf.sdltest
44400
44401 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44402 WITH_PLUGIN_SDL=1
44403 fi
44404 fi
44405 else
44406 if test "$wxUSE_MGL" = 1; then
44407 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44408 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44409 wxUSE_SOUND="no"
44410 fi
44411 fi
44412 fi
44413
44414 if test "$wxUSE_SOUND" = "yes"; then
44415 cat >>confdefs.h <<\_ACEOF
44416 #define wxUSE_SOUND 1
44417 _ACEOF
44418
44419 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44420 fi
44421
44422 if test "$WXGTK2" = 1; then
44423
44424
44425 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44426 if test -n "$ac_tool_prefix"; then
44427 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44428 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44429 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44431 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44432 echo $ECHO_N "(cached) $ECHO_C" >&6
44433 else
44434 case $PKG_CONFIG in
44435 [\\/]* | ?:[\\/]*)
44436 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44437 ;;
44438 *)
44439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44440 for as_dir in $PATH
44441 do
44442 IFS=$as_save_IFS
44443 test -z "$as_dir" && as_dir=.
44444 for ac_exec_ext in '' $ac_executable_extensions; do
44445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44446 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44448 break 2
44449 fi
44450 done
44451 done
44452 IFS=$as_save_IFS
44453
44454 ;;
44455 esac
44456 fi
44457 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44458 if test -n "$PKG_CONFIG"; then
44459 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44460 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44461 else
44462 { echo "$as_me:$LINENO: result: no" >&5
44463 echo "${ECHO_T}no" >&6; }
44464 fi
44465
44466
44467 fi
44468 if test -z "$ac_cv_path_PKG_CONFIG"; then
44469 ac_pt_PKG_CONFIG=$PKG_CONFIG
44470 # Extract the first word of "pkg-config", so it can be a program name with args.
44471 set dummy pkg-config; ac_word=$2
44472 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44474 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44475 echo $ECHO_N "(cached) $ECHO_C" >&6
44476 else
44477 case $ac_pt_PKG_CONFIG in
44478 [\\/]* | ?:[\\/]*)
44479 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44480 ;;
44481 *)
44482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44483 for as_dir in $PATH
44484 do
44485 IFS=$as_save_IFS
44486 test -z "$as_dir" && as_dir=.
44487 for ac_exec_ext in '' $ac_executable_extensions; do
44488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44489 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44490 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44491 break 2
44492 fi
44493 done
44494 done
44495 IFS=$as_save_IFS
44496
44497 ;;
44498 esac
44499 fi
44500 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44501 if test -n "$ac_pt_PKG_CONFIG"; then
44502 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44503 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44504 else
44505 { echo "$as_me:$LINENO: result: no" >&5
44506 echo "${ECHO_T}no" >&6; }
44507 fi
44508
44509 if test "x$ac_pt_PKG_CONFIG" = x; then
44510 PKG_CONFIG=""
44511 else
44512 case $cross_compiling:$ac_tool_warned in
44513 yes:)
44514 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44515 whose name does not start with the host triplet. If you think this
44516 configuration is useful to you, please write to autoconf@gnu.org." >&5
44517 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44518 whose name does not start with the host triplet. If you think this
44519 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44520 ac_tool_warned=yes ;;
44521 esac
44522 PKG_CONFIG=$ac_pt_PKG_CONFIG
44523 fi
44524 else
44525 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44526 fi
44527
44528 fi
44529 if test -n "$PKG_CONFIG"; then
44530 _pkg_min_version=0.9.0
44531 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44532 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44533 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44534 { echo "$as_me:$LINENO: result: yes" >&5
44535 echo "${ECHO_T}yes" >&6; }
44536 else
44537 { echo "$as_me:$LINENO: result: no" >&5
44538 echo "${ECHO_T}no" >&6; }
44539 PKG_CONFIG=""
44540 fi
44541
44542 fi
44543
44544 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44545
44546 if test "$wxUSE_GTKPRINT" = "yes" ; then
44547
44548
44549 pkg_failed=no
44550 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44551 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44552
44553 if test -n "$PKG_CONFIG"; then
44554 if test -n "$GTKPRINT_CFLAGS"; then
44555 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44556 else
44557 if test -n "$PKG_CONFIG" && \
44558 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44559 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44560 ac_status=$?
44561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44562 (exit $ac_status); }; then
44563 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44564 else
44565 pkg_failed=yes
44566 fi
44567 fi
44568 else
44569 pkg_failed=untried
44570 fi
44571 if test -n "$PKG_CONFIG"; then
44572 if test -n "$GTKPRINT_LIBS"; then
44573 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
44574 else
44575 if test -n "$PKG_CONFIG" && \
44576 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44577 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44578 ac_status=$?
44579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44580 (exit $ac_status); }; then
44581 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44582 else
44583 pkg_failed=yes
44584 fi
44585 fi
44586 else
44587 pkg_failed=untried
44588 fi
44589
44590
44591
44592 if test $pkg_failed = yes; then
44593
44594 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44595 _pkg_short_errors_supported=yes
44596 else
44597 _pkg_short_errors_supported=no
44598 fi
44599 if test $_pkg_short_errors_supported = yes; then
44600 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44601 else
44602 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44603 fi
44604 # Put the nasty error message in config.log where it belongs
44605 echo "$GTKPRINT_PKG_ERRORS" >&5
44606
44607
44608 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44609 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44610 wxUSE_GTKPRINT="no"
44611
44612
44613 elif test $pkg_failed = untried; then
44614
44615 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44616 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44617 wxUSE_GTKPRINT="no"
44618
44619
44620 else
44621 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
44622 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
44623 { echo "$as_me:$LINENO: result: yes" >&5
44624 echo "${ECHO_T}yes" >&6; }
44625
44626 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
44627 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
44628 cat >>confdefs.h <<\_ACEOF
44629 #define wxUSE_GTKPRINT 1
44630 _ACEOF
44631
44632
44633 fi
44634 fi
44635
44636 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44637
44638
44639 pkg_failed=no
44640 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44641 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44642
44643 if test -n "$PKG_CONFIG"; then
44644 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44645 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44646 else
44647 if test -n "$PKG_CONFIG" && \
44648 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44649 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44650 ac_status=$?
44651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44652 (exit $ac_status); }; then
44653 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44654 else
44655 pkg_failed=yes
44656 fi
44657 fi
44658 else
44659 pkg_failed=untried
44660 fi
44661 if test -n "$PKG_CONFIG"; then
44662 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44663 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44664 else
44665 if test -n "$PKG_CONFIG" && \
44666 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44667 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44668 ac_status=$?
44669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44670 (exit $ac_status); }; then
44671 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44672 else
44673 pkg_failed=yes
44674 fi
44675 fi
44676 else
44677 pkg_failed=untried
44678 fi
44679
44680
44681
44682 if test $pkg_failed = yes; then
44683
44684 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44685 _pkg_short_errors_supported=yes
44686 else
44687 _pkg_short_errors_supported=no
44688 fi
44689 if test $_pkg_short_errors_supported = yes; then
44690 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44691 else
44692 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44693 fi
44694 # Put the nasty error message in config.log where it belongs
44695 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44696
44697
44698 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44699 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44700 wxUSE_LIBGNOMEPRINT="no"
44701
44702
44703 elif test $pkg_failed = untried; then
44704
44705 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44706 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44707 wxUSE_LIBGNOMEPRINT="no"
44708
44709
44710 else
44711 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44712 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44713 { echo "$as_me:$LINENO: result: yes" >&5
44714 echo "${ECHO_T}yes" >&6; }
44715
44716 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44717 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44718 cat >>confdefs.h <<\_ACEOF
44719 #define wxUSE_LIBGNOMEPRINT 1
44720 _ACEOF
44721
44722
44723 fi
44724 fi
44725 fi
44726
44727 if test "$wxUSE_MIMETYPE" = "yes" ; then
44728 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44729
44730
44731 pkg_failed=no
44732 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44733 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44734
44735 if test -n "$PKG_CONFIG"; then
44736 if test -n "$GNOMEVFS_CFLAGS"; then
44737 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44738 else
44739 if test -n "$PKG_CONFIG" && \
44740 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44741 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44742 ac_status=$?
44743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44744 (exit $ac_status); }; then
44745 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44746 else
44747 pkg_failed=yes
44748 fi
44749 fi
44750 else
44751 pkg_failed=untried
44752 fi
44753 if test -n "$PKG_CONFIG"; then
44754 if test -n "$GNOMEVFS_LIBS"; then
44755 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
44756 else
44757 if test -n "$PKG_CONFIG" && \
44758 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44759 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44760 ac_status=$?
44761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44762 (exit $ac_status); }; then
44763 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44764 else
44765 pkg_failed=yes
44766 fi
44767 fi
44768 else
44769 pkg_failed=untried
44770 fi
44771
44772
44773
44774 if test $pkg_failed = yes; then
44775
44776 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44777 _pkg_short_errors_supported=yes
44778 else
44779 _pkg_short_errors_supported=no
44780 fi
44781 if test $_pkg_short_errors_supported = yes; then
44782 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44783 else
44784 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44785 fi
44786 # Put the nasty error message in config.log where it belongs
44787 echo "$GNOMEVFS_PKG_ERRORS" >&5
44788
44789
44790 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44791 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44792 wxUSE_LIBGNOMEVFS="no"
44793
44794
44795 elif test $pkg_failed = untried; then
44796
44797 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44798 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44799 wxUSE_LIBGNOMEVFS="no"
44800
44801
44802 else
44803 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
44804 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
44805 { echo "$as_me:$LINENO: result: yes" >&5
44806 echo "${ECHO_T}yes" >&6; }
44807
44808 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
44809 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
44810 cat >>confdefs.h <<\_ACEOF
44811 #define wxUSE_LIBGNOMEVFS 1
44812 _ACEOF
44813
44814
44815 fi
44816 fi
44817 fi
44818
44819 if test "$wxUSE_LIBHILDON" = "yes" ; then
44820
44821 pkg_failed=no
44822 { echo "$as_me:$LINENO: checking for HILDON" >&5
44823 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44824
44825 if test -n "$PKG_CONFIG"; then
44826 if test -n "$HILDON_CFLAGS"; then
44827 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
44828 else
44829 if test -n "$PKG_CONFIG" && \
44830 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44831 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44832 ac_status=$?
44833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44834 (exit $ac_status); }; then
44835 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44836 else
44837 pkg_failed=yes
44838 fi
44839 fi
44840 else
44841 pkg_failed=untried
44842 fi
44843 if test -n "$PKG_CONFIG"; then
44844 if test -n "$HILDON_LIBS"; then
44845 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
44846 else
44847 if test -n "$PKG_CONFIG" && \
44848 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44849 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44850 ac_status=$?
44851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44852 (exit $ac_status); }; then
44853 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44854 else
44855 pkg_failed=yes
44856 fi
44857 fi
44858 else
44859 pkg_failed=untried
44860 fi
44861
44862
44863
44864 if test $pkg_failed = yes; then
44865
44866 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44867 _pkg_short_errors_supported=yes
44868 else
44869 _pkg_short_errors_supported=no
44870 fi
44871 if test $_pkg_short_errors_supported = yes; then
44872 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44873 else
44874 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44875 fi
44876 # Put the nasty error message in config.log where it belongs
44877 echo "$HILDON_PKG_ERRORS" >&5
44878
44879
44880 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44881 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44882 wxUSE_LIBHILDON="no"
44883 ac_hildon_lgpl=0
44884
44885
44886 elif test $pkg_failed = untried; then
44887
44888 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44889 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44890 wxUSE_LIBHILDON="no"
44891 ac_hildon_lgpl=0
44892
44893
44894 else
44895 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
44896 HILDON_LIBS=$pkg_cv_HILDON_LIBS
44897 { echo "$as_me:$LINENO: result: yes" >&5
44898 echo "${ECHO_T}yes" >&6; }
44899
44900 EXTRALIBS_HILDON="$HILDON_LIBS"
44901 CFLAGS="$CFLAGS $HILDON_CFLAGS"
44902 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
44903 cat >>confdefs.h <<\_ACEOF
44904 #define wxUSE_LIBHILDON 1
44905 _ACEOF
44906
44907 ac_hildon_lgpl=1
44908
44909 fi
44910
44911 if test "$ac_hildon_lgpl" = 0 ; then
44912
44913 pkg_failed=no
44914 { echo "$as_me:$LINENO: checking for HILDON2" >&5
44915 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
44916
44917 if test -n "$PKG_CONFIG"; then
44918 if test -n "$HILDON2_CFLAGS"; then
44919 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
44920 else
44921 if test -n "$PKG_CONFIG" && \
44922 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44923 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44924 ac_status=$?
44925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44926 (exit $ac_status); }; then
44927 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
44928 else
44929 pkg_failed=yes
44930 fi
44931 fi
44932 else
44933 pkg_failed=untried
44934 fi
44935 if test -n "$PKG_CONFIG"; then
44936 if test -n "$HILDON2_LIBS"; then
44937 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
44938 else
44939 if test -n "$PKG_CONFIG" && \
44940 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44941 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44942 ac_status=$?
44943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44944 (exit $ac_status); }; then
44945 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
44946 else
44947 pkg_failed=yes
44948 fi
44949 fi
44950 else
44951 pkg_failed=untried
44952 fi
44953
44954
44955
44956 if test $pkg_failed = yes; then
44957
44958 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44959 _pkg_short_errors_supported=yes
44960 else
44961 _pkg_short_errors_supported=no
44962 fi
44963 if test $_pkg_short_errors_supported = yes; then
44964 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44965 else
44966 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44967 fi
44968 # Put the nasty error message in config.log where it belongs
44969 echo "$HILDON2_PKG_ERRORS" >&5
44970
44971
44972 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44973 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44974 wxUSE_LIBHILDON2="no"
44975
44976
44977 elif test $pkg_failed = untried; then
44978
44979 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44980 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44981 wxUSE_LIBHILDON2="no"
44982
44983
44984 else
44985 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
44986 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
44987 { echo "$as_me:$LINENO: result: yes" >&5
44988 echo "${ECHO_T}yes" >&6; }
44989
44990 EXTRALIBS_HILDON="$HILDON2_LIBS"
44991 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
44992 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
44993 cat >>confdefs.h <<\_ACEOF
44994 #define wxUSE_LIBHILDON2 1
44995 _ACEOF
44996
44997
44998 fi
44999 fi
45000 fi
45001 fi
45002
45003 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45004 cat >>confdefs.h <<\_ACEOF
45005 #define wxUSE_CMDLINE_PARSER 1
45006 _ACEOF
45007
45008 fi
45009
45010 if test "$wxUSE_STOPWATCH" = "yes"; then
45011 cat >>confdefs.h <<\_ACEOF
45012 #define wxUSE_STOPWATCH 1
45013 _ACEOF
45014
45015 fi
45016
45017 if test "$wxUSE_DATETIME" = "yes"; then
45018 cat >>confdefs.h <<\_ACEOF
45019 #define wxUSE_DATETIME 1
45020 _ACEOF
45021
45022 fi
45023
45024 if test "$wxUSE_FILE" = "yes"; then
45025 cat >>confdefs.h <<\_ACEOF
45026 #define wxUSE_FILE 1
45027 _ACEOF
45028
45029 fi
45030
45031 if test "$wxUSE_FFILE" = "yes"; then
45032 cat >>confdefs.h <<\_ACEOF
45033 #define wxUSE_FFILE 1
45034 _ACEOF
45035
45036 fi
45037
45038 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45039 if test "$wxUSE_STREAMS" != yes; then
45040 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45041 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45042 wxUSE_ARCHIVE_STREAMS=no
45043 else
45044 cat >>confdefs.h <<\_ACEOF
45045 #define wxUSE_ARCHIVE_STREAMS 1
45046 _ACEOF
45047
45048 fi
45049 fi
45050
45051 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45052 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45053 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45054 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45055 elif test "$wxUSE_ZLIB" = "no"; then
45056 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45057 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45058 else
45059 cat >>confdefs.h <<\_ACEOF
45060 #define wxUSE_ZIPSTREAM 1
45061 _ACEOF
45062
45063 fi
45064 fi
45065
45066 if test "$wxUSE_TARSTREAM" = "yes"; then
45067 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45068 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45069 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45070 else
45071 cat >>confdefs.h <<\_ACEOF
45072 #define wxUSE_TARSTREAM 1
45073 _ACEOF
45074
45075 fi
45076 fi
45077
45078 if test "$wxUSE_FILE_HISTORY" = "yes"; then
45079 cat >>confdefs.h <<\_ACEOF
45080 #define wxUSE_FILE_HISTORY 1
45081 _ACEOF
45082
45083 fi
45084
45085 if test "$wxUSE_FILESYSTEM" = "yes"; then
45086 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45087 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45088 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45089 wxUSE_FILESYSTEM=no
45090 else
45091 cat >>confdefs.h <<\_ACEOF
45092 #define wxUSE_FILESYSTEM 1
45093 _ACEOF
45094
45095 fi
45096 fi
45097
45098 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45099 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45100 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45101 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45102 else
45103 cat >>confdefs.h <<\_ACEOF
45104 #define wxUSE_FS_ARCHIVE 1
45105 _ACEOF
45106
45107 fi
45108 fi
45109
45110 if test "$wxUSE_FS_ZIP" = "yes"; then
45111 if test "$wxUSE_FS_ARCHIVE" != yes; then
45112 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45113 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45114 else
45115 cat >>confdefs.h <<\_ACEOF
45116 #define wxUSE_FS_ZIP 1
45117 _ACEOF
45118
45119 fi
45120 fi
45121
45122 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45123 if test "$USE_UNIX" != 1; then
45124 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45125 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45126 wxUSE_ON_FATAL_EXCEPTION=no
45127 else
45128 cat >>confdefs.h <<\_ACEOF
45129 #define wxUSE_ON_FATAL_EXCEPTION 1
45130 _ACEOF
45131
45132 fi
45133 fi
45134
45135 if test "$wxUSE_STACKWALKER" = "yes"; then
45136 cat >>confdefs.h <<\_ACEOF
45137 #define wxUSE_STACKWALKER 1
45138 _ACEOF
45139
45140 fi
45141
45142 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45143 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
45144 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45145 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45146 wxUSE_DEBUGREPORT=no
45147 else
45148 cat >>confdefs.h <<\_ACEOF
45149 #define wxUSE_DEBUGREPORT 1
45150 _ACEOF
45151
45152 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45153 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45154 fi
45155 fi
45156 fi
45157
45158 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45159 cat >>confdefs.h <<\_ACEOF
45160 #define wxUSE_SNGLINST_CHECKER 1
45161 _ACEOF
45162
45163 fi
45164
45165 if test "$wxUSE_BUSYINFO" = "yes"; then
45166 cat >>confdefs.h <<\_ACEOF
45167 #define wxUSE_BUSYINFO 1
45168 _ACEOF
45169
45170 fi
45171
45172 if test "$wxUSE_HOTKEY" = "yes"; then
45173 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
45174 { echo "$as_me:$LINENO: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
45175 echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
45176 wxUSE_HOTKEY=no
45177 fi
45178 elif test "$wxUSE_HOTKEY" = "auto"; then
45179 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
45180 wxUSE_HOTKEY=yes
45181 fi
45182 fi
45183 if test "$wxUSE_HOTKEY" = "yes"; then
45184 cat >>confdefs.h <<\_ACEOF
45185 #define wxUSE_HOTKEY 1
45186 _ACEOF
45187
45188 fi
45189
45190 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
45191 cat >>confdefs.h <<\_ACEOF
45192 #define wxUSE_STD_CONTAINERS 1
45193 _ACEOF
45194
45195 fi
45196
45197 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45198 cat >>confdefs.h <<\_ACEOF
45199 #define wxUSE_STD_IOSTREAM 1
45200 _ACEOF
45201
45202 fi
45203
45204 if test "$wxUSE_STD_STRING" = "yes"; then
45205 cat >>confdefs.h <<\_ACEOF
45206 #define wxUSE_STD_STRING 1
45207 _ACEOF
45208
45209 fi
45210
45211 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
45212 cat >>confdefs.h <<\_ACEOF
45213 #define wxUSE_STD_STRING_CONV_IN_WXSTRING 1
45214 _ACEOF
45215
45216 fi
45217
45218 if test "$wxUSE_STDPATHS" = "yes"; then
45219 cat >>confdefs.h <<\_ACEOF
45220 #define wxUSE_STDPATHS 1
45221 _ACEOF
45222
45223 fi
45224
45225 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45226 cat >>confdefs.h <<\_ACEOF
45227 #define wxUSE_TEXTBUFFER 1
45228 _ACEOF
45229
45230 fi
45231
45232 if test "$wxUSE_TEXTFILE" = "yes"; then
45233 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45234 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45235 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45236 else
45237 cat >>confdefs.h <<\_ACEOF
45238 #define wxUSE_TEXTFILE 1
45239 _ACEOF
45240
45241 fi
45242 fi
45243
45244 if test "$wxUSE_CONFIG" = "yes" ; then
45245 if test "$wxUSE_TEXTFILE" != "yes"; then
45246 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45247 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45248 else
45249 cat >>confdefs.h <<\_ACEOF
45250 #define wxUSE_CONFIG 1
45251 _ACEOF
45252
45253 cat >>confdefs.h <<\_ACEOF
45254 #define wxUSE_CONFIG_NATIVE 1
45255 _ACEOF
45256
45257 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45258 fi
45259 fi
45260
45261 if test "$wxUSE_INTL" = "yes" ; then
45262 if test "$wxUSE_FILE" != "yes"; then
45263 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45264 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45265 else
45266 cat >>confdefs.h <<\_ACEOF
45267 #define wxUSE_INTL 1
45268 _ACEOF
45269
45270 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45271 GUIDIST="$GUIDIST INTL_DIST"
45272 fi
45273 fi
45274
45275 if test "$wxUSE_XLOCALE" = "yes" ; then
45276 cat >>confdefs.h <<\_ACEOF
45277 #define wxUSE_XLOCALE 1
45278 _ACEOF
45279
45280 { echo "$as_me:$LINENO: checking for locale_t" >&5
45281 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
45282 if test "${ac_cv_type_locale_t+set}" = set; then
45283 echo $ECHO_N "(cached) $ECHO_C" >&6
45284 else
45285 cat >conftest.$ac_ext <<_ACEOF
45286 /* confdefs.h. */
45287 _ACEOF
45288 cat confdefs.h >>conftest.$ac_ext
45289 cat >>conftest.$ac_ext <<_ACEOF
45290 /* end confdefs.h. */
45291 #include <xlocale.h>
45292 #include <locale.h>
45293
45294 typedef locale_t ac__type_new_;
45295 int
45296 main ()
45297 {
45298 if ((ac__type_new_ *) 0)
45299 return 0;
45300 if (sizeof (ac__type_new_))
45301 return 0;
45302 ;
45303 return 0;
45304 }
45305 _ACEOF
45306 rm -f conftest.$ac_objext
45307 if { (ac_try="$ac_compile"
45308 case "(($ac_try" in
45309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45310 *) ac_try_echo=$ac_try;;
45311 esac
45312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45313 (eval "$ac_compile") 2>conftest.er1
45314 ac_status=$?
45315 grep -v '^ *+' conftest.er1 >conftest.err
45316 rm -f conftest.er1
45317 cat conftest.err >&5
45318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45319 (exit $ac_status); } && {
45320 test -z "$ac_c_werror_flag" ||
45321 test ! -s conftest.err
45322 } && test -s conftest.$ac_objext; then
45323 ac_cv_type_locale_t=yes
45324 else
45325 echo "$as_me: failed program was:" >&5
45326 sed 's/^/| /' conftest.$ac_ext >&5
45327
45328 ac_cv_type_locale_t=no
45329 fi
45330
45331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45332 fi
45333 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
45334 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
45335 if test $ac_cv_type_locale_t = yes; then
45336
45337 cat >>confdefs.h <<_ACEOF
45338 #define HAVE_LOCALE_T 1
45339 _ACEOF
45340
45341
45342 fi
45343
45344 fi
45345
45346 if test "$wxUSE_LOG" = "yes"; then
45347 cat >>confdefs.h <<\_ACEOF
45348 #define wxUSE_LOG 1
45349 _ACEOF
45350
45351
45352 if test "$wxUSE_LOGGUI" = "yes"; then
45353 cat >>confdefs.h <<\_ACEOF
45354 #define wxUSE_LOGGUI 1
45355 _ACEOF
45356
45357 fi
45358
45359 if test "$wxUSE_LOGWINDOW" = "yes"; then
45360 cat >>confdefs.h <<\_ACEOF
45361 #define wxUSE_LOGWINDOW 1
45362 _ACEOF
45363
45364 fi
45365
45366 if test "$wxUSE_LOGDIALOG" = "yes"; then
45367 cat >>confdefs.h <<\_ACEOF
45368 #define wxUSE_LOG_DIALOG 1
45369 _ACEOF
45370
45371 fi
45372
45373 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45374 fi
45375
45376 if test "$wxUSE_LONGLONG" = "yes"; then
45377 cat >>confdefs.h <<\_ACEOF
45378 #define wxUSE_LONGLONG 1
45379 _ACEOF
45380
45381 fi
45382
45383 if test "$wxUSE_GEOMETRY" = "yes"; then
45384 cat >>confdefs.h <<\_ACEOF
45385 #define wxUSE_GEOMETRY 1
45386 _ACEOF
45387
45388 fi
45389
45390 if test "$wxUSE_BASE64" = "yes"; then
45391 cat >>confdefs.h <<\_ACEOF
45392 #define wxUSE_BASE64 1
45393 _ACEOF
45394
45395 fi
45396
45397 if test "$wxUSE_STREAMS" = "yes" ; then
45398 cat >>confdefs.h <<\_ACEOF
45399 #define wxUSE_STREAMS 1
45400 _ACEOF
45401
45402 fi
45403
45404 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45405 cat >>confdefs.h <<\_ACEOF
45406 #define wxUSE_PRINTF_POS_PARAMS 1
45407 _ACEOF
45408
45409 fi
45410
45411 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45412 cat >>confdefs.h <<\_ACEOF
45413 #define wxUSE_OBJC_UNIQUIFYING 1
45414 _ACEOF
45415
45416 fi
45417
45418
45419 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45420 cat >>confdefs.h <<\_ACEOF
45421 #define wxUSE_CONSOLE_EVENTLOOP 1
45422 _ACEOF
45423
45424
45425 if test "$wxUSE_UNIX" = "yes"; then
45426 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45427 cat >>confdefs.h <<\_ACEOF
45428 #define wxUSE_SELECT_DISPATCHER 1
45429 _ACEOF
45430
45431 fi
45432
45433 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45434
45435 for ac_header in sys/epoll.h
45436 do
45437 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45438 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45439 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45440 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45441 echo $ECHO_N "(cached) $ECHO_C" >&6
45442 else
45443 cat >conftest.$ac_ext <<_ACEOF
45444 /* confdefs.h. */
45445 _ACEOF
45446 cat confdefs.h >>conftest.$ac_ext
45447 cat >>conftest.$ac_ext <<_ACEOF
45448 /* end confdefs.h. */
45449 $ac_includes_default
45450
45451 #include <$ac_header>
45452 _ACEOF
45453 rm -f conftest.$ac_objext
45454 if { (ac_try="$ac_compile"
45455 case "(($ac_try" in
45456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45457 *) ac_try_echo=$ac_try;;
45458 esac
45459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45460 (eval "$ac_compile") 2>conftest.er1
45461 ac_status=$?
45462 grep -v '^ *+' conftest.er1 >conftest.err
45463 rm -f conftest.er1
45464 cat conftest.err >&5
45465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45466 (exit $ac_status); } && {
45467 test -z "$ac_c_werror_flag" ||
45468 test ! -s conftest.err
45469 } && test -s conftest.$ac_objext; then
45470 eval "$as_ac_Header=yes"
45471 else
45472 echo "$as_me: failed program was:" >&5
45473 sed 's/^/| /' conftest.$ac_ext >&5
45474
45475 eval "$as_ac_Header=no"
45476 fi
45477
45478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45479 fi
45480 ac_res=`eval echo '${'$as_ac_Header'}'`
45481 { echo "$as_me:$LINENO: result: $ac_res" >&5
45482 echo "${ECHO_T}$ac_res" >&6; }
45483 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45484 cat >>confdefs.h <<_ACEOF
45485 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45486 _ACEOF
45487
45488 fi
45489
45490 done
45491
45492 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45493 cat >>confdefs.h <<\_ACEOF
45494 #define wxUSE_EPOLL_DISPATCHER 1
45495 _ACEOF
45496
45497 else
45498 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45499 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45500 fi
45501 fi
45502 fi
45503 fi
45504
45505
45506
45507
45508 for ac_func in gettimeofday ftime
45509 do
45510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45511 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45513 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45514 echo $ECHO_N "(cached) $ECHO_C" >&6
45515 else
45516 cat >conftest.$ac_ext <<_ACEOF
45517 /* confdefs.h. */
45518 _ACEOF
45519 cat confdefs.h >>conftest.$ac_ext
45520 cat >>conftest.$ac_ext <<_ACEOF
45521 /* end confdefs.h. */
45522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45524 #define $ac_func innocuous_$ac_func
45525
45526 /* System header to define __stub macros and hopefully few prototypes,
45527 which can conflict with char $ac_func (); below.
45528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45529 <limits.h> exists even on freestanding compilers. */
45530
45531 #ifdef __STDC__
45532 # include <limits.h>
45533 #else
45534 # include <assert.h>
45535 #endif
45536
45537 #undef $ac_func
45538
45539 /* Override any GCC internal prototype to avoid an error.
45540 Use char because int might match the return type of a GCC
45541 builtin and then its argument prototype would still apply. */
45542 #ifdef __cplusplus
45543 extern "C"
45544 #endif
45545 char $ac_func ();
45546 /* The GNU C library defines this for functions which it implements
45547 to always fail with ENOSYS. Some functions are actually named
45548 something starting with __ and the normal name is an alias. */
45549 #if defined __stub_$ac_func || defined __stub___$ac_func
45550 choke me
45551 #endif
45552
45553 int
45554 main ()
45555 {
45556 return $ac_func ();
45557 ;
45558 return 0;
45559 }
45560 _ACEOF
45561 rm -f conftest.$ac_objext conftest$ac_exeext
45562 if { (ac_try="$ac_link"
45563 case "(($ac_try" in
45564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45565 *) ac_try_echo=$ac_try;;
45566 esac
45567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45568 (eval "$ac_link") 2>conftest.er1
45569 ac_status=$?
45570 grep -v '^ *+' conftest.er1 >conftest.err
45571 rm -f conftest.er1
45572 cat conftest.err >&5
45573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45574 (exit $ac_status); } && {
45575 test -z "$ac_c_werror_flag" ||
45576 test ! -s conftest.err
45577 } && test -s conftest$ac_exeext &&
45578 $as_test_x conftest$ac_exeext; then
45579 eval "$as_ac_var=yes"
45580 else
45581 echo "$as_me: failed program was:" >&5
45582 sed 's/^/| /' conftest.$ac_ext >&5
45583
45584 eval "$as_ac_var=no"
45585 fi
45586
45587 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45588 conftest$ac_exeext conftest.$ac_ext
45589 fi
45590 ac_res=`eval echo '${'$as_ac_var'}'`
45591 { echo "$as_me:$LINENO: result: $ac_res" >&5
45592 echo "${ECHO_T}$ac_res" >&6; }
45593 if test `eval echo '${'$as_ac_var'}'` = yes; then
45594 cat >>confdefs.h <<_ACEOF
45595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45596 _ACEOF
45597 break
45598 fi
45599 done
45600
45601
45602 if test "$ac_cv_func_gettimeofday" = "yes"; then
45603 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45604 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45605 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45606 echo $ECHO_N "(cached) $ECHO_C" >&6
45607 else
45608
45609 cat >conftest.$ac_ext <<_ACEOF
45610 /* confdefs.h. */
45611 _ACEOF
45612 cat confdefs.h >>conftest.$ac_ext
45613 cat >>conftest.$ac_ext <<_ACEOF
45614 /* end confdefs.h. */
45615
45616 #include <sys/time.h>
45617 #include <unistd.h>
45618
45619 int
45620 main ()
45621 {
45622
45623 struct timeval tv;
45624 gettimeofday(&tv, NULL);
45625
45626 ;
45627 return 0;
45628 }
45629 _ACEOF
45630 rm -f conftest.$ac_objext
45631 if { (ac_try="$ac_compile"
45632 case "(($ac_try" in
45633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45634 *) ac_try_echo=$ac_try;;
45635 esac
45636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45637 (eval "$ac_compile") 2>conftest.er1
45638 ac_status=$?
45639 grep -v '^ *+' conftest.er1 >conftest.err
45640 rm -f conftest.er1
45641 cat conftest.err >&5
45642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45643 (exit $ac_status); } && {
45644 test -z "$ac_c_werror_flag" ||
45645 test ! -s conftest.err
45646 } && test -s conftest.$ac_objext; then
45647 wx_cv_func_gettimeofday_has_2_args=yes
45648 else
45649 echo "$as_me: failed program was:" >&5
45650 sed 's/^/| /' conftest.$ac_ext >&5
45651
45652 cat >conftest.$ac_ext <<_ACEOF
45653 /* confdefs.h. */
45654 _ACEOF
45655 cat confdefs.h >>conftest.$ac_ext
45656 cat >>conftest.$ac_ext <<_ACEOF
45657 /* end confdefs.h. */
45658
45659 #include <sys/time.h>
45660 #include <unistd.h>
45661
45662 int
45663 main ()
45664 {
45665
45666 struct timeval tv;
45667 gettimeofday(&tv);
45668
45669 ;
45670 return 0;
45671 }
45672 _ACEOF
45673 rm -f conftest.$ac_objext
45674 if { (ac_try="$ac_compile"
45675 case "(($ac_try" in
45676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45677 *) ac_try_echo=$ac_try;;
45678 esac
45679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45680 (eval "$ac_compile") 2>conftest.er1
45681 ac_status=$?
45682 grep -v '^ *+' conftest.er1 >conftest.err
45683 rm -f conftest.er1
45684 cat conftest.err >&5
45685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45686 (exit $ac_status); } && {
45687 test -z "$ac_c_werror_flag" ||
45688 test ! -s conftest.err
45689 } && test -s conftest.$ac_objext; then
45690 wx_cv_func_gettimeofday_has_2_args=no
45691 else
45692 echo "$as_me: failed program was:" >&5
45693 sed 's/^/| /' conftest.$ac_ext >&5
45694
45695
45696 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45697 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45698 wx_cv_func_gettimeofday_has_2_args=unknown
45699
45700
45701 fi
45702
45703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45704
45705 fi
45706
45707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45708
45709 fi
45710 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45711 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45712
45713 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45714 cat >>confdefs.h <<\_ACEOF
45715 #define WX_GETTIMEOFDAY_NO_TZ 1
45716 _ACEOF
45717
45718 fi
45719 fi
45720
45721 if test "$wxUSE_DATETIME" = "yes"; then
45722 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45723 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45724 if test "${wx_cv_var_timezone+set}" = set; then
45725 echo $ECHO_N "(cached) $ECHO_C" >&6
45726 else
45727
45728 ac_ext=cpp
45729 ac_cpp='$CXXCPP $CPPFLAGS'
45730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45733
45734 cat >conftest.$ac_ext <<_ACEOF
45735 /* confdefs.h. */
45736 _ACEOF
45737 cat confdefs.h >>conftest.$ac_ext
45738 cat >>conftest.$ac_ext <<_ACEOF
45739 /* end confdefs.h. */
45740
45741 #include <time.h>
45742
45743 int
45744 main ()
45745 {
45746
45747 int tz;
45748 tz = timezone;
45749
45750 ;
45751 return 0;
45752 }
45753 _ACEOF
45754 rm -f conftest.$ac_objext
45755 if { (ac_try="$ac_compile"
45756 case "(($ac_try" in
45757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45758 *) ac_try_echo=$ac_try;;
45759 esac
45760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45761 (eval "$ac_compile") 2>conftest.er1
45762 ac_status=$?
45763 grep -v '^ *+' conftest.er1 >conftest.err
45764 rm -f conftest.er1
45765 cat conftest.err >&5
45766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45767 (exit $ac_status); } && {
45768 test -z "$ac_cxx_werror_flag" ||
45769 test ! -s conftest.err
45770 } && test -s conftest.$ac_objext; then
45771
45772 wx_cv_var_timezone=timezone
45773
45774 else
45775 echo "$as_me: failed program was:" >&5
45776 sed 's/^/| /' conftest.$ac_ext >&5
45777
45778
45779 cat >conftest.$ac_ext <<_ACEOF
45780 /* confdefs.h. */
45781 _ACEOF
45782 cat confdefs.h >>conftest.$ac_ext
45783 cat >>conftest.$ac_ext <<_ACEOF
45784 /* end confdefs.h. */
45785
45786 #include <time.h>
45787
45788 int
45789 main ()
45790 {
45791
45792 int tz;
45793 tz = _timezone;
45794
45795 ;
45796 return 0;
45797 }
45798 _ACEOF
45799 rm -f conftest.$ac_objext
45800 if { (ac_try="$ac_compile"
45801 case "(($ac_try" in
45802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45803 *) ac_try_echo=$ac_try;;
45804 esac
45805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45806 (eval "$ac_compile") 2>conftest.er1
45807 ac_status=$?
45808 grep -v '^ *+' conftest.er1 >conftest.err
45809 rm -f conftest.er1
45810 cat conftest.err >&5
45811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45812 (exit $ac_status); } && {
45813 test -z "$ac_cxx_werror_flag" ||
45814 test ! -s conftest.err
45815 } && test -s conftest.$ac_objext; then
45816
45817 wx_cv_var_timezone=_timezone
45818
45819 else
45820 echo "$as_me: failed program was:" >&5
45821 sed 's/^/| /' conftest.$ac_ext >&5
45822
45823
45824 cat >conftest.$ac_ext <<_ACEOF
45825 /* confdefs.h. */
45826 _ACEOF
45827 cat confdefs.h >>conftest.$ac_ext
45828 cat >>conftest.$ac_ext <<_ACEOF
45829 /* end confdefs.h. */
45830
45831 #include <time.h>
45832
45833 int
45834 main ()
45835 {
45836
45837 int tz;
45838 tz = __timezone;
45839
45840 ;
45841 return 0;
45842 }
45843 _ACEOF
45844 rm -f conftest.$ac_objext
45845 if { (ac_try="$ac_compile"
45846 case "(($ac_try" in
45847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45848 *) ac_try_echo=$ac_try;;
45849 esac
45850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45851 (eval "$ac_compile") 2>conftest.er1
45852 ac_status=$?
45853 grep -v '^ *+' conftest.er1 >conftest.err
45854 rm -f conftest.er1
45855 cat conftest.err >&5
45856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45857 (exit $ac_status); } && {
45858 test -z "$ac_cxx_werror_flag" ||
45859 test ! -s conftest.err
45860 } && test -s conftest.$ac_objext; then
45861
45862 wx_cv_var_timezone=__timezone
45863
45864 else
45865 echo "$as_me: failed program was:" >&5
45866 sed 's/^/| /' conftest.$ac_ext >&5
45867
45868
45869 if test "$USE_DOS" = 0 ; then
45870 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45871 echo "$as_me: WARNING: no timezone variable" >&2;}
45872 fi
45873
45874
45875 fi
45876
45877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45878
45879
45880 fi
45881
45882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45883
45884
45885 fi
45886
45887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45888 ac_ext=c
45889 ac_cpp='$CPP $CPPFLAGS'
45890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45893
45894
45895
45896 fi
45897 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45898 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
45899
45900 if test "x$wx_cv_var_timezone" != x ; then
45901 cat >>confdefs.h <<_ACEOF
45902 #define WX_TIMEZONE $wx_cv_var_timezone
45903 _ACEOF
45904
45905 fi
45906
45907
45908 for ac_func in localtime
45909 do
45910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45911 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45913 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45914 echo $ECHO_N "(cached) $ECHO_C" >&6
45915 else
45916 cat >conftest.$ac_ext <<_ACEOF
45917 /* confdefs.h. */
45918 _ACEOF
45919 cat confdefs.h >>conftest.$ac_ext
45920 cat >>conftest.$ac_ext <<_ACEOF
45921 /* end confdefs.h. */
45922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45924 #define $ac_func innocuous_$ac_func
45925
45926 /* System header to define __stub macros and hopefully few prototypes,
45927 which can conflict with char $ac_func (); below.
45928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45929 <limits.h> exists even on freestanding compilers. */
45930
45931 #ifdef __STDC__
45932 # include <limits.h>
45933 #else
45934 # include <assert.h>
45935 #endif
45936
45937 #undef $ac_func
45938
45939 /* Override any GCC internal prototype to avoid an error.
45940 Use char because int might match the return type of a GCC
45941 builtin and then its argument prototype would still apply. */
45942 #ifdef __cplusplus
45943 extern "C"
45944 #endif
45945 char $ac_func ();
45946 /* The GNU C library defines this for functions which it implements
45947 to always fail with ENOSYS. Some functions are actually named
45948 something starting with __ and the normal name is an alias. */
45949 #if defined __stub_$ac_func || defined __stub___$ac_func
45950 choke me
45951 #endif
45952
45953 int
45954 main ()
45955 {
45956 return $ac_func ();
45957 ;
45958 return 0;
45959 }
45960 _ACEOF
45961 rm -f conftest.$ac_objext conftest$ac_exeext
45962 if { (ac_try="$ac_link"
45963 case "(($ac_try" in
45964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45965 *) ac_try_echo=$ac_try;;
45966 esac
45967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45968 (eval "$ac_link") 2>conftest.er1
45969 ac_status=$?
45970 grep -v '^ *+' conftest.er1 >conftest.err
45971 rm -f conftest.er1
45972 cat conftest.err >&5
45973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45974 (exit $ac_status); } && {
45975 test -z "$ac_c_werror_flag" ||
45976 test ! -s conftest.err
45977 } && test -s conftest$ac_exeext &&
45978 $as_test_x conftest$ac_exeext; then
45979 eval "$as_ac_var=yes"
45980 else
45981 echo "$as_me: failed program was:" >&5
45982 sed 's/^/| /' conftest.$ac_ext >&5
45983
45984 eval "$as_ac_var=no"
45985 fi
45986
45987 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45988 conftest$ac_exeext conftest.$ac_ext
45989 fi
45990 ac_res=`eval echo '${'$as_ac_var'}'`
45991 { echo "$as_me:$LINENO: result: $ac_res" >&5
45992 echo "${ECHO_T}$ac_res" >&6; }
45993 if test `eval echo '${'$as_ac_var'}'` = yes; then
45994 cat >>confdefs.h <<_ACEOF
45995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45996 _ACEOF
45997
45998 fi
45999 done
46000
46001
46002 if test "$ac_cv_func_localtime" = "yes"; then
46003 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46004 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46005 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46006 echo $ECHO_N "(cached) $ECHO_C" >&6
46007 else
46008
46009 cat >conftest.$ac_ext <<_ACEOF
46010 /* confdefs.h. */
46011 _ACEOF
46012 cat confdefs.h >>conftest.$ac_ext
46013 cat >>conftest.$ac_ext <<_ACEOF
46014 /* end confdefs.h. */
46015
46016 #include <time.h>
46017
46018 int
46019 main ()
46020 {
46021
46022 struct tm tm;
46023 tm.tm_gmtoff++;
46024
46025 ;
46026 return 0;
46027 }
46028 _ACEOF
46029 rm -f conftest.$ac_objext
46030 if { (ac_try="$ac_compile"
46031 case "(($ac_try" in
46032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46033 *) ac_try_echo=$ac_try;;
46034 esac
46035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46036 (eval "$ac_compile") 2>conftest.er1
46037 ac_status=$?
46038 grep -v '^ *+' conftest.er1 >conftest.err
46039 rm -f conftest.er1
46040 cat conftest.err >&5
46041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46042 (exit $ac_status); } && {
46043 test -z "$ac_c_werror_flag" ||
46044 test ! -s conftest.err
46045 } && test -s conftest.$ac_objext; then
46046
46047 wx_cv_struct_tm_has_gmtoff=yes
46048
46049 else
46050 echo "$as_me: failed program was:" >&5
46051 sed 's/^/| /' conftest.$ac_ext >&5
46052
46053 wx_cv_struct_tm_has_gmtoff=no
46054
46055 fi
46056
46057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46058
46059 fi
46060 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46061 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46062 fi
46063
46064 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46065 cat >>confdefs.h <<\_ACEOF
46066 #define WX_GMTOFF_IN_TM 1
46067 _ACEOF
46068
46069 fi
46070
46071 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46072 fi
46073
46074
46075 if test "$wxUSE_SOCKETS" = "yes"; then
46076 if test "$wxUSE_MGL" = 1; then
46077 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46078 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46079 wxUSE_SOCKETS="no"
46080 fi
46081 fi
46082
46083 if test "$wxUSE_SOCKETS" = "yes"; then
46084 if test "$TOOLKIT" != "MSW"; then
46085 { echo "$as_me:$LINENO: checking for socket" >&5
46086 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46087 if test "${ac_cv_func_socket+set}" = set; then
46088 echo $ECHO_N "(cached) $ECHO_C" >&6
46089 else
46090 cat >conftest.$ac_ext <<_ACEOF
46091 /* confdefs.h. */
46092 _ACEOF
46093 cat confdefs.h >>conftest.$ac_ext
46094 cat >>conftest.$ac_ext <<_ACEOF
46095 /* end confdefs.h. */
46096 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46098 #define socket innocuous_socket
46099
46100 /* System header to define __stub macros and hopefully few prototypes,
46101 which can conflict with char socket (); below.
46102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46103 <limits.h> exists even on freestanding compilers. */
46104
46105 #ifdef __STDC__
46106 # include <limits.h>
46107 #else
46108 # include <assert.h>
46109 #endif
46110
46111 #undef socket
46112
46113 /* Override any GCC internal prototype to avoid an error.
46114 Use char because int might match the return type of a GCC
46115 builtin and then its argument prototype would still apply. */
46116 #ifdef __cplusplus
46117 extern "C"
46118 #endif
46119 char socket ();
46120 /* The GNU C library defines this for functions which it implements
46121 to always fail with ENOSYS. Some functions are actually named
46122 something starting with __ and the normal name is an alias. */
46123 #if defined __stub_socket || defined __stub___socket
46124 choke me
46125 #endif
46126
46127 int
46128 main ()
46129 {
46130 return socket ();
46131 ;
46132 return 0;
46133 }
46134 _ACEOF
46135 rm -f conftest.$ac_objext conftest$ac_exeext
46136 if { (ac_try="$ac_link"
46137 case "(($ac_try" in
46138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46139 *) ac_try_echo=$ac_try;;
46140 esac
46141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46142 (eval "$ac_link") 2>conftest.er1
46143 ac_status=$?
46144 grep -v '^ *+' conftest.er1 >conftest.err
46145 rm -f conftest.er1
46146 cat conftest.err >&5
46147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46148 (exit $ac_status); } && {
46149 test -z "$ac_c_werror_flag" ||
46150 test ! -s conftest.err
46151 } && test -s conftest$ac_exeext &&
46152 $as_test_x conftest$ac_exeext; then
46153 ac_cv_func_socket=yes
46154 else
46155 echo "$as_me: failed program was:" >&5
46156 sed 's/^/| /' conftest.$ac_ext >&5
46157
46158 ac_cv_func_socket=no
46159 fi
46160
46161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46162 conftest$ac_exeext conftest.$ac_ext
46163 fi
46164 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46165 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46166 if test $ac_cv_func_socket = yes; then
46167 :
46168 else
46169
46170 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46171 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46172 if test "${ac_cv_lib_socket_socket+set}" = set; then
46173 echo $ECHO_N "(cached) $ECHO_C" >&6
46174 else
46175 ac_check_lib_save_LIBS=$LIBS
46176 LIBS="-lsocket $LIBS"
46177 cat >conftest.$ac_ext <<_ACEOF
46178 /* confdefs.h. */
46179 _ACEOF
46180 cat confdefs.h >>conftest.$ac_ext
46181 cat >>conftest.$ac_ext <<_ACEOF
46182 /* end confdefs.h. */
46183
46184 /* Override any GCC internal prototype to avoid an error.
46185 Use char because int might match the return type of a GCC
46186 builtin and then its argument prototype would still apply. */
46187 #ifdef __cplusplus
46188 extern "C"
46189 #endif
46190 char socket ();
46191 int
46192 main ()
46193 {
46194 return socket ();
46195 ;
46196 return 0;
46197 }
46198 _ACEOF
46199 rm -f conftest.$ac_objext conftest$ac_exeext
46200 if { (ac_try="$ac_link"
46201 case "(($ac_try" in
46202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46203 *) ac_try_echo=$ac_try;;
46204 esac
46205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46206 (eval "$ac_link") 2>conftest.er1
46207 ac_status=$?
46208 grep -v '^ *+' conftest.er1 >conftest.err
46209 rm -f conftest.er1
46210 cat conftest.err >&5
46211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46212 (exit $ac_status); } && {
46213 test -z "$ac_c_werror_flag" ||
46214 test ! -s conftest.err
46215 } && test -s conftest$ac_exeext &&
46216 $as_test_x conftest$ac_exeext; then
46217 ac_cv_lib_socket_socket=yes
46218 else
46219 echo "$as_me: failed program was:" >&5
46220 sed 's/^/| /' conftest.$ac_ext >&5
46221
46222 ac_cv_lib_socket_socket=no
46223 fi
46224
46225 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46226 conftest$ac_exeext conftest.$ac_ext
46227 LIBS=$ac_check_lib_save_LIBS
46228 fi
46229 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46230 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46231 if test $ac_cv_lib_socket_socket = yes; then
46232 if test "$INET_LINK" != " -lsocket"; then
46233 INET_LINK="$INET_LINK -lsocket"
46234 fi
46235 else
46236
46237 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46238 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46239 wxUSE_SOCKETS=no
46240
46241
46242 fi
46243
46244
46245
46246 fi
46247
46248 fi
46249 fi
46250
46251 if test "$wxUSE_SOCKETS" = "yes" ; then
46252 if test "$TOOLKIT" != "MSW"; then
46253 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46254 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46255 if test "${wx_cv_type_getsockname3+set}" = set; then
46256 echo $ECHO_N "(cached) $ECHO_C" >&6
46257 else
46258
46259 ac_ext=cpp
46260 ac_cpp='$CXXCPP $CPPFLAGS'
46261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46264
46265 cat >conftest.$ac_ext <<_ACEOF
46266 /* confdefs.h. */
46267 _ACEOF
46268 cat confdefs.h >>conftest.$ac_ext
46269 cat >>conftest.$ac_ext <<_ACEOF
46270 /* end confdefs.h. */
46271
46272 #include <sys/types.h>
46273 #include <sys/socket.h>
46274
46275 int
46276 main ()
46277 {
46278
46279 socklen_t len;
46280 getsockname(0, 0, &len);
46281
46282 ;
46283 return 0;
46284 }
46285 _ACEOF
46286 rm -f conftest.$ac_objext
46287 if { (ac_try="$ac_compile"
46288 case "(($ac_try" in
46289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46290 *) ac_try_echo=$ac_try;;
46291 esac
46292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46293 (eval "$ac_compile") 2>conftest.er1
46294 ac_status=$?
46295 grep -v '^ *+' conftest.er1 >conftest.err
46296 rm -f conftest.er1
46297 cat conftest.err >&5
46298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46299 (exit $ac_status); } && {
46300 test -z "$ac_cxx_werror_flag" ||
46301 test ! -s conftest.err
46302 } && test -s conftest.$ac_objext; then
46303 wx_cv_type_getsockname3=socklen_t
46304 else
46305 echo "$as_me: failed program was:" >&5
46306 sed 's/^/| /' conftest.$ac_ext >&5
46307
46308
46309 CFLAGS_OLD="$CFLAGS"
46310 if test "$GCC" = yes ; then
46311 CFLAGS="-Werror $CFLAGS"
46312 fi
46313
46314 cat >conftest.$ac_ext <<_ACEOF
46315 /* confdefs.h. */
46316 _ACEOF
46317 cat confdefs.h >>conftest.$ac_ext
46318 cat >>conftest.$ac_ext <<_ACEOF
46319 /* end confdefs.h. */
46320
46321 #include <sys/types.h>
46322 #include <sys/socket.h>
46323
46324 int
46325 main ()
46326 {
46327
46328 size_t len;
46329 getsockname(0, 0, &len);
46330
46331 ;
46332 return 0;
46333 }
46334 _ACEOF
46335 rm -f conftest.$ac_objext
46336 if { (ac_try="$ac_compile"
46337 case "(($ac_try" in
46338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46339 *) ac_try_echo=$ac_try;;
46340 esac
46341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46342 (eval "$ac_compile") 2>conftest.er1
46343 ac_status=$?
46344 grep -v '^ *+' conftest.er1 >conftest.err
46345 rm -f conftest.er1
46346 cat conftest.err >&5
46347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46348 (exit $ac_status); } && {
46349 test -z "$ac_cxx_werror_flag" ||
46350 test ! -s conftest.err
46351 } && test -s conftest.$ac_objext; then
46352 wx_cv_type_getsockname3=size_t
46353 else
46354 echo "$as_me: failed program was:" >&5
46355 sed 's/^/| /' conftest.$ac_ext >&5
46356
46357 cat >conftest.$ac_ext <<_ACEOF
46358 /* confdefs.h. */
46359 _ACEOF
46360 cat confdefs.h >>conftest.$ac_ext
46361 cat >>conftest.$ac_ext <<_ACEOF
46362 /* end confdefs.h. */
46363
46364 #include <sys/types.h>
46365 #include <sys/socket.h>
46366
46367 int
46368 main ()
46369 {
46370
46371 int len;
46372 getsockname(0, 0, &len);
46373
46374 ;
46375 return 0;
46376 }
46377 _ACEOF
46378 rm -f conftest.$ac_objext
46379 if { (ac_try="$ac_compile"
46380 case "(($ac_try" in
46381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46382 *) ac_try_echo=$ac_try;;
46383 esac
46384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46385 (eval "$ac_compile") 2>conftest.er1
46386 ac_status=$?
46387 grep -v '^ *+' conftest.er1 >conftest.err
46388 rm -f conftest.er1
46389 cat conftest.err >&5
46390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46391 (exit $ac_status); } && {
46392 test -z "$ac_cxx_werror_flag" ||
46393 test ! -s conftest.err
46394 } && test -s conftest.$ac_objext; then
46395 wx_cv_type_getsockname3=int
46396 else
46397 echo "$as_me: failed program was:" >&5
46398 sed 's/^/| /' conftest.$ac_ext >&5
46399
46400 wx_cv_type_getsockname3=unknown
46401
46402 fi
46403
46404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46405
46406 fi
46407
46408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46409
46410 CFLAGS="$CFLAGS_OLD"
46411
46412
46413 fi
46414
46415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46416 ac_ext=c
46417 ac_cpp='$CPP $CPPFLAGS'
46418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46421
46422
46423 fi
46424 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46425 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46426
46427 if test "$wx_cv_type_getsockname3" = "unknown"; then
46428 wxUSE_SOCKETS=no
46429 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46430 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46431 else
46432 cat >>confdefs.h <<_ACEOF
46433 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46434 _ACEOF
46435
46436 fi
46437 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46438 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46439 if test "${wx_cv_type_getsockopt5+set}" = set; then
46440 echo $ECHO_N "(cached) $ECHO_C" >&6
46441 else
46442
46443 ac_ext=cpp
46444 ac_cpp='$CXXCPP $CPPFLAGS'
46445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46448
46449 cat >conftest.$ac_ext <<_ACEOF
46450 /* confdefs.h. */
46451 _ACEOF
46452 cat confdefs.h >>conftest.$ac_ext
46453 cat >>conftest.$ac_ext <<_ACEOF
46454 /* end confdefs.h. */
46455
46456 #include <sys/types.h>
46457 #include <sys/socket.h>
46458
46459 int
46460 main ()
46461 {
46462
46463 socklen_t len;
46464 getsockopt(0, 0, 0, 0, &len);
46465
46466 ;
46467 return 0;
46468 }
46469 _ACEOF
46470 rm -f conftest.$ac_objext
46471 if { (ac_try="$ac_compile"
46472 case "(($ac_try" in
46473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46474 *) ac_try_echo=$ac_try;;
46475 esac
46476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46477 (eval "$ac_compile") 2>conftest.er1
46478 ac_status=$?
46479 grep -v '^ *+' conftest.er1 >conftest.err
46480 rm -f conftest.er1
46481 cat conftest.err >&5
46482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46483 (exit $ac_status); } && {
46484 test -z "$ac_cxx_werror_flag" ||
46485 test ! -s conftest.err
46486 } && test -s conftest.$ac_objext; then
46487 wx_cv_type_getsockopt5=socklen_t
46488 else
46489 echo "$as_me: failed program was:" >&5
46490 sed 's/^/| /' conftest.$ac_ext >&5
46491
46492
46493 cat >conftest.$ac_ext <<_ACEOF
46494 /* confdefs.h. */
46495 _ACEOF
46496 cat confdefs.h >>conftest.$ac_ext
46497 cat >>conftest.$ac_ext <<_ACEOF
46498 /* end confdefs.h. */
46499
46500 #include <sys/types.h>
46501 #include <sys/socket.h>
46502
46503 int
46504 main ()
46505 {
46506
46507 size_t len;
46508 getsockopt(0, 0, 0, 0, &len);
46509
46510 ;
46511 return 0;
46512 }
46513 _ACEOF
46514 rm -f conftest.$ac_objext
46515 if { (ac_try="$ac_compile"
46516 case "(($ac_try" in
46517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46518 *) ac_try_echo=$ac_try;;
46519 esac
46520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46521 (eval "$ac_compile") 2>conftest.er1
46522 ac_status=$?
46523 grep -v '^ *+' conftest.er1 >conftest.err
46524 rm -f conftest.er1
46525 cat conftest.err >&5
46526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46527 (exit $ac_status); } && {
46528 test -z "$ac_cxx_werror_flag" ||
46529 test ! -s conftest.err
46530 } && test -s conftest.$ac_objext; then
46531 wx_cv_type_getsockopt5=size_t
46532 else
46533 echo "$as_me: failed program was:" >&5
46534 sed 's/^/| /' conftest.$ac_ext >&5
46535
46536 cat >conftest.$ac_ext <<_ACEOF
46537 /* confdefs.h. */
46538 _ACEOF
46539 cat confdefs.h >>conftest.$ac_ext
46540 cat >>conftest.$ac_ext <<_ACEOF
46541 /* end confdefs.h. */
46542
46543 #include <sys/types.h>
46544 #include <sys/socket.h>
46545
46546 int
46547 main ()
46548 {
46549
46550 int len;
46551 getsockopt(0, 0, 0, 0, &len);
46552
46553 ;
46554 return 0;
46555 }
46556 _ACEOF
46557 rm -f conftest.$ac_objext
46558 if { (ac_try="$ac_compile"
46559 case "(($ac_try" in
46560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46561 *) ac_try_echo=$ac_try;;
46562 esac
46563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46564 (eval "$ac_compile") 2>conftest.er1
46565 ac_status=$?
46566 grep -v '^ *+' conftest.er1 >conftest.err
46567 rm -f conftest.er1
46568 cat conftest.err >&5
46569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46570 (exit $ac_status); } && {
46571 test -z "$ac_cxx_werror_flag" ||
46572 test ! -s conftest.err
46573 } && test -s conftest.$ac_objext; then
46574 wx_cv_type_getsockopt5=int
46575 else
46576 echo "$as_me: failed program was:" >&5
46577 sed 's/^/| /' conftest.$ac_ext >&5
46578
46579 wx_cv_type_getsockopt5=unknown
46580
46581 fi
46582
46583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46584
46585 fi
46586
46587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46588
46589
46590 fi
46591
46592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46593 ac_ext=c
46594 ac_cpp='$CPP $CPPFLAGS'
46595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46598
46599
46600 fi
46601 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46602 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46603
46604 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46605 wxUSE_SOCKETS=no
46606 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46607 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46608 else
46609 cat >>confdefs.h <<_ACEOF
46610 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46611 _ACEOF
46612
46613 fi
46614 fi
46615 fi
46616
46617 if test "$wxUSE_SOCKETS" = "yes" ; then
46618 if test "$wxUSE_IPV6" = "yes"; then
46619 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
46620 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
46621 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
46622 echo $ECHO_N "(cached) $ECHO_C" >&6
46623 else
46624
46625 cat >conftest.$ac_ext <<_ACEOF
46626 /* confdefs.h. */
46627 _ACEOF
46628 cat confdefs.h >>conftest.$ac_ext
46629 cat >>conftest.$ac_ext <<_ACEOF
46630 /* end confdefs.h. */
46631
46632 #include <sys/types.h>
46633 #include <sys/socket.h>
46634 #include <netinet/in.h>
46635
46636 int
46637 main ()
46638 {
46639
46640 struct sockaddr_in6 sa6;
46641
46642 ;
46643 return 0;
46644 }
46645 _ACEOF
46646 rm -f conftest.$ac_objext
46647 if { (ac_try="$ac_compile"
46648 case "(($ac_try" in
46649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46650 *) ac_try_echo=$ac_try;;
46651 esac
46652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46653 (eval "$ac_compile") 2>conftest.er1
46654 ac_status=$?
46655 grep -v '^ *+' conftest.er1 >conftest.err
46656 rm -f conftest.er1
46657 cat conftest.err >&5
46658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46659 (exit $ac_status); } && {
46660 test -z "$ac_c_werror_flag" ||
46661 test ! -s conftest.err
46662 } && test -s conftest.$ac_objext; then
46663 wx_cv_type_sockaddr_in6=yes
46664 else
46665 echo "$as_me: failed program was:" >&5
46666 sed 's/^/| /' conftest.$ac_ext >&5
46667
46668 wx_cv_type_sockaddr_in6=no
46669
46670 fi
46671
46672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46673
46674
46675 fi
46676 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
46677 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
46678
46679 if test "$wx_cv_type_sockaddr_in6"="yes"; then
46680 cat >>confdefs.h <<\_ACEOF
46681 #define wxUSE_IPV6 1
46682 _ACEOF
46683
46684 else
46685 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
46686 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
46687 fi
46688 fi
46689
46690 cat >>confdefs.h <<\_ACEOF
46691 #define wxUSE_SOCKETS 1
46692 _ACEOF
46693
46694 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46695 fi
46696
46697 if test "$wxUSE_PROTOCOL" = "yes"; then
46698 if test "$wxUSE_SOCKETS" != "yes"; then
46699 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46700 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46701 wxUSE_PROTOCOL=no
46702 fi
46703 fi
46704
46705 if test "$wxUSE_PROTOCOL" = "yes"; then
46706 cat >>confdefs.h <<\_ACEOF
46707 #define wxUSE_PROTOCOL 1
46708 _ACEOF
46709
46710
46711 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46712 cat >>confdefs.h <<\_ACEOF
46713 #define wxUSE_PROTOCOL_HTTP 1
46714 _ACEOF
46715
46716 fi
46717 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46718 cat >>confdefs.h <<\_ACEOF
46719 #define wxUSE_PROTOCOL_FTP 1
46720 _ACEOF
46721
46722 fi
46723 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46724 cat >>confdefs.h <<\_ACEOF
46725 #define wxUSE_PROTOCOL_FILE 1
46726 _ACEOF
46727
46728 fi
46729 else
46730 if test "$wxUSE_FS_INET" = "yes"; then
46731 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46732 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46733 wxUSE_FS_INET="no"
46734 fi
46735 fi
46736
46737 if test "$wxUSE_URL" = "yes"; then
46738 if test "$wxUSE_PROTOCOL" != "yes"; then
46739 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46740 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46741 wxUSE_URL=no
46742 fi
46743 if test "$wxUSE_URL" = "yes"; then
46744 cat >>confdefs.h <<\_ACEOF
46745 #define wxUSE_URL 1
46746 _ACEOF
46747
46748 fi
46749 fi
46750
46751 if test "$wxUSE_VARIANT" = "yes"; then
46752 cat >>confdefs.h <<\_ACEOF
46753 #define wxUSE_VARIANT 1
46754 _ACEOF
46755
46756 fi
46757
46758 if test "$wxUSE_FS_INET" = "yes"; then
46759 cat >>confdefs.h <<\_ACEOF
46760 #define wxUSE_FS_INET 1
46761 _ACEOF
46762
46763 fi
46764
46765
46766 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46767 wxUSE_JOYSTICK=no
46768
46769 if test "$TOOLKIT" = "MSW"; then
46770 wxUSE_JOYSTICK=yes
46771
46772 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
46773 if test "$USE_DARWIN" = 1; then
46774 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46775 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46776 ac_ext=cpp
46777 ac_cpp='$CXXCPP $CPPFLAGS'
46778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46781
46782 cat >conftest.$ac_ext <<_ACEOF
46783 /* confdefs.h. */
46784 _ACEOF
46785 cat confdefs.h >>conftest.$ac_ext
46786 cat >>conftest.$ac_ext <<_ACEOF
46787 /* end confdefs.h. */
46788 #include <IOKit/hid/IOHIDLib.h>
46789 int
46790 main ()
46791 {
46792 IOHIDQueueInterface *qi = NULL;
46793 IOHIDCallbackFunction cb = NULL;
46794 qi->setEventCallout(NULL, cb, NULL, NULL);
46795 ;
46796 return 0;
46797 }
46798 _ACEOF
46799 rm -f conftest.$ac_objext
46800 if { (ac_try="$ac_compile"
46801 case "(($ac_try" in
46802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46803 *) ac_try_echo=$ac_try;;
46804 esac
46805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46806 (eval "$ac_compile") 2>conftest.er1
46807 ac_status=$?
46808 grep -v '^ *+' conftest.er1 >conftest.err
46809 rm -f conftest.er1
46810 cat conftest.err >&5
46811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46812 (exit $ac_status); } && {
46813 test -z "$ac_cxx_werror_flag" ||
46814 test ! -s conftest.err
46815 } && test -s conftest.$ac_objext; then
46816 wxUSE_JOYSTICK=yes
46817
46818 else
46819 echo "$as_me: failed program was:" >&5
46820 sed 's/^/| /' conftest.$ac_ext >&5
46821
46822
46823 fi
46824
46825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46826 ac_ext=c
46827 ac_cpp='$CPP $CPPFLAGS'
46828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46831
46832 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46833 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46834 fi
46835
46836 else
46837 if test "$wxUSE_MGL" != 1; then
46838
46839 for ac_header in linux/joystick.h
46840 do
46841 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46842 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46843 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46844 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46845 echo $ECHO_N "(cached) $ECHO_C" >&6
46846 else
46847 cat >conftest.$ac_ext <<_ACEOF
46848 /* confdefs.h. */
46849 _ACEOF
46850 cat confdefs.h >>conftest.$ac_ext
46851 cat >>conftest.$ac_ext <<_ACEOF
46852 /* end confdefs.h. */
46853 $ac_includes_default
46854
46855 #include <$ac_header>
46856 _ACEOF
46857 rm -f conftest.$ac_objext
46858 if { (ac_try="$ac_compile"
46859 case "(($ac_try" in
46860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46861 *) ac_try_echo=$ac_try;;
46862 esac
46863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46864 (eval "$ac_compile") 2>conftest.er1
46865 ac_status=$?
46866 grep -v '^ *+' conftest.er1 >conftest.err
46867 rm -f conftest.er1
46868 cat conftest.err >&5
46869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46870 (exit $ac_status); } && {
46871 test -z "$ac_c_werror_flag" ||
46872 test ! -s conftest.err
46873 } && test -s conftest.$ac_objext; then
46874 eval "$as_ac_Header=yes"
46875 else
46876 echo "$as_me: failed program was:" >&5
46877 sed 's/^/| /' conftest.$ac_ext >&5
46878
46879 eval "$as_ac_Header=no"
46880 fi
46881
46882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46883 fi
46884 ac_res=`eval echo '${'$as_ac_Header'}'`
46885 { echo "$as_me:$LINENO: result: $ac_res" >&5
46886 echo "${ECHO_T}$ac_res" >&6; }
46887 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46888 cat >>confdefs.h <<_ACEOF
46889 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46890 _ACEOF
46891 wxUSE_JOYSTICK=yes
46892 fi
46893
46894 done
46895
46896 fi
46897 fi
46898
46899 if test "$wxUSE_JOYSTICK" = "yes"; then
46900 cat >>confdefs.h <<\_ACEOF
46901 #define wxUSE_JOYSTICK 1
46902 _ACEOF
46903
46904 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46905 else
46906 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46907 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46908 fi
46909 fi
46910
46911
46912
46913 if test "$wxUSE_FONTENUM" = "yes" ; then
46914 cat >>confdefs.h <<\_ACEOF
46915 #define wxUSE_FONTENUM 1
46916 _ACEOF
46917
46918 fi
46919
46920 if test "$wxUSE_FONTMAP" = "yes" ; then
46921 cat >>confdefs.h <<\_ACEOF
46922 #define wxUSE_FONTMAP 1
46923 _ACEOF
46924
46925 fi
46926
46927 if test "$wxUSE_UNICODE" = "yes" ; then
46928 cat >>confdefs.h <<\_ACEOF
46929 #define wxUSE_UNICODE 1
46930 _ACEOF
46931
46932
46933 if test "$USE_WIN32" != 1; then
46934 wxUSE_UNICODE_MSLU=no
46935 fi
46936
46937 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46938 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46939 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
46940 if test "${ac_cv_lib_unicows_main+set}" = set; then
46941 echo $ECHO_N "(cached) $ECHO_C" >&6
46942 else
46943 ac_check_lib_save_LIBS=$LIBS
46944 LIBS="-lunicows $LIBS"
46945 cat >conftest.$ac_ext <<_ACEOF
46946 /* confdefs.h. */
46947 _ACEOF
46948 cat confdefs.h >>conftest.$ac_ext
46949 cat >>conftest.$ac_ext <<_ACEOF
46950 /* end confdefs.h. */
46951
46952
46953 int
46954 main ()
46955 {
46956 return main ();
46957 ;
46958 return 0;
46959 }
46960 _ACEOF
46961 rm -f conftest.$ac_objext conftest$ac_exeext
46962 if { (ac_try="$ac_link"
46963 case "(($ac_try" in
46964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46965 *) ac_try_echo=$ac_try;;
46966 esac
46967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46968 (eval "$ac_link") 2>conftest.er1
46969 ac_status=$?
46970 grep -v '^ *+' conftest.er1 >conftest.err
46971 rm -f conftest.er1
46972 cat conftest.err >&5
46973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46974 (exit $ac_status); } && {
46975 test -z "$ac_c_werror_flag" ||
46976 test ! -s conftest.err
46977 } && test -s conftest$ac_exeext &&
46978 $as_test_x conftest$ac_exeext; then
46979 ac_cv_lib_unicows_main=yes
46980 else
46981 echo "$as_me: failed program was:" >&5
46982 sed 's/^/| /' conftest.$ac_ext >&5
46983
46984 ac_cv_lib_unicows_main=no
46985 fi
46986
46987 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46988 conftest$ac_exeext conftest.$ac_ext
46989 LIBS=$ac_check_lib_save_LIBS
46990 fi
46991 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46992 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46993 if test $ac_cv_lib_unicows_main = yes; then
46994
46995 cat >>confdefs.h <<\_ACEOF
46996 #define wxUSE_UNICODE_MSLU 1
46997 _ACEOF
46998
46999
47000 else
47001
47002 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47003 Applications will only run on Windows NT/2000/XP!" >&5
47004 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47005 Applications will only run on Windows NT/2000/XP!" >&2;}
47006 wxUSE_UNICODE_MSLU=no
47007
47008 fi
47009
47010 fi
47011 fi
47012
47013 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47014 cat >>confdefs.h <<\_ACEOF
47015 #define wxUSE_UNICODE_UTF8 1
47016 _ACEOF
47017
47018
47019 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47020 cat >>confdefs.h <<\_ACEOF
47021 #define wxUSE_UTF8_LOCALE_ONLY 1
47022 _ACEOF
47023
47024 fi
47025 fi
47026
47027
47028 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47029 cat >>confdefs.h <<\_ACEOF
47030 #define wxUSE_CONSTRAINTS 1
47031 _ACEOF
47032
47033 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47034 fi
47035
47036 if test "$wxUSE_MDI" = "yes"; then
47037 cat >>confdefs.h <<\_ACEOF
47038 #define wxUSE_MDI 1
47039 _ACEOF
47040
47041
47042 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47043 cat >>confdefs.h <<\_ACEOF
47044 #define wxUSE_MDI_ARCHITECTURE 1
47045 _ACEOF
47046
47047 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47048 fi
47049 fi
47050
47051 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47052 cat >>confdefs.h <<\_ACEOF
47053 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47054 _ACEOF
47055
47056 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47057 fi
47058
47059 if test "$wxUSE_HELP" = "yes"; then
47060 cat >>confdefs.h <<\_ACEOF
47061 #define wxUSE_HELP 1
47062 _ACEOF
47063
47064 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47065
47066 if test "$wxUSE_MSW" = 1; then
47067 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47068 cat >>confdefs.h <<\_ACEOF
47069 #define wxUSE_MS_HTML_HELP 1
47070 _ACEOF
47071
47072 fi
47073 fi
47074
47075 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47076 if test "$wxUSE_HTML" = "yes"; then
47077 cat >>confdefs.h <<\_ACEOF
47078 #define wxUSE_WXHTML_HELP 1
47079 _ACEOF
47080
47081 else
47082 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47083 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47084 wxUSE_WXHTML_HELP=no
47085 fi
47086 fi
47087 fi
47088
47089 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47090 cat >>confdefs.h <<\_ACEOF
47091 #define wxUSE_PRINTING_ARCHITECTURE 1
47092 _ACEOF
47093
47094 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47095 fi
47096
47097 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47098 cat >>confdefs.h <<\_ACEOF
47099 #define wxUSE_POSTSCRIPT 1
47100 _ACEOF
47101
47102 fi
47103
47104 cat >>confdefs.h <<\_ACEOF
47105 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47106 _ACEOF
47107
47108
47109 if test "$wxUSE_SVG" = "yes"; then
47110 cat >>confdefs.h <<\_ACEOF
47111 #define wxUSE_SVG 1
47112 _ACEOF
47113
47114 fi
47115
47116
47117 if test "$wxUSE_METAFILE" = "yes"; then
47118 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47119 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47120 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47121 wxUSE_METAFILE=no
47122 fi
47123 fi
47124
47125
47126 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47127 -o "$wxUSE_CLIPBOARD" = "yes" \
47128 -o "$wxUSE_OLE" = "yes" \
47129 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47130 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47131 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47132 if test "${ac_cv_header_ole2_h+set}" = set; then
47133 echo $ECHO_N "(cached) $ECHO_C" >&6
47134 else
47135 cat >conftest.$ac_ext <<_ACEOF
47136 /* confdefs.h. */
47137 _ACEOF
47138 cat confdefs.h >>conftest.$ac_ext
47139 cat >>conftest.$ac_ext <<_ACEOF
47140 /* end confdefs.h. */
47141
47142
47143 #include <ole2.h>
47144 _ACEOF
47145 rm -f conftest.$ac_objext
47146 if { (ac_try="$ac_compile"
47147 case "(($ac_try" in
47148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47149 *) ac_try_echo=$ac_try;;
47150 esac
47151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47152 (eval "$ac_compile") 2>conftest.er1
47153 ac_status=$?
47154 grep -v '^ *+' conftest.er1 >conftest.err
47155 rm -f conftest.er1
47156 cat conftest.err >&5
47157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47158 (exit $ac_status); } && {
47159 test -z "$ac_c_werror_flag" ||
47160 test ! -s conftest.err
47161 } && test -s conftest.$ac_objext; then
47162 ac_cv_header_ole2_h=yes
47163 else
47164 echo "$as_me: failed program was:" >&5
47165 sed 's/^/| /' conftest.$ac_ext >&5
47166
47167 ac_cv_header_ole2_h=no
47168 fi
47169
47170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47171 fi
47172 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47173 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47174
47175
47176
47177 if test "$ac_cv_header_ole2_h" = "yes" ; then
47178 if test "$GCC" = yes ; then
47179 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47180 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47181 cat >conftest.$ac_ext <<_ACEOF
47182 /* confdefs.h. */
47183 _ACEOF
47184 cat confdefs.h >>conftest.$ac_ext
47185 cat >>conftest.$ac_ext <<_ACEOF
47186 /* end confdefs.h. */
47187 #include <windows.h>
47188 #include <ole2.h>
47189 int
47190 main ()
47191 {
47192
47193 ;
47194 return 0;
47195 }
47196 _ACEOF
47197 rm -f conftest.$ac_objext
47198 if { (ac_try="$ac_compile"
47199 case "(($ac_try" in
47200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47201 *) ac_try_echo=$ac_try;;
47202 esac
47203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47204 (eval "$ac_compile") 2>conftest.er1
47205 ac_status=$?
47206 grep -v '^ *+' conftest.er1 >conftest.err
47207 rm -f conftest.er1
47208 cat conftest.err >&5
47209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47210 (exit $ac_status); } && {
47211 test -z "$ac_c_werror_flag" ||
47212 test ! -s conftest.err
47213 } && test -s conftest.$ac_objext; then
47214 { echo "$as_me:$LINENO: result: no" >&5
47215 echo "${ECHO_T}no" >&6; }
47216 else
47217 echo "$as_me: failed program was:" >&5
47218 sed 's/^/| /' conftest.$ac_ext >&5
47219
47220 { echo "$as_me:$LINENO: result: yes" >&5
47221 echo "${ECHO_T}yes" >&6; }
47222 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47223 fi
47224
47225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47226 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47227 if test "$wxUSE_OLE" = "yes" ; then
47228 cat >>confdefs.h <<\_ACEOF
47229 #define wxUSE_OLE 1
47230 _ACEOF
47231
47232 cat >>confdefs.h <<\_ACEOF
47233 #define wxUSE_OLE_AUTOMATION 1
47234 _ACEOF
47235
47236 cat >>confdefs.h <<\_ACEOF
47237 #define wxUSE_ACTIVEX 1
47238 _ACEOF
47239
47240 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47241 fi
47242 fi
47243
47244 if test "$wxUSE_DATAOBJ" = "yes" ; then
47245 cat >>confdefs.h <<\_ACEOF
47246 #define wxUSE_DATAOBJ 1
47247 _ACEOF
47248
47249 fi
47250 else
47251 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47252 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47253
47254 wxUSE_CLIPBOARD=no
47255 wxUSE_DRAG_AND_DROP=no
47256 wxUSE_DATAOBJ=no
47257 wxUSE_OLE=no
47258 fi
47259
47260 if test "$wxUSE_METAFILE" = "yes"; then
47261 cat >>confdefs.h <<\_ACEOF
47262 #define wxUSE_METAFILE 1
47263 _ACEOF
47264
47265
47266 cat >>confdefs.h <<\_ACEOF
47267 #define wxUSE_ENH_METAFILE 1
47268 _ACEOF
47269
47270 fi
47271 fi
47272
47273 if test "$wxUSE_IPC" = "yes"; then
47274 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47275 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47276 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47277 wxUSE_IPC=no
47278 fi
47279
47280 if test "$wxUSE_IPC" = "yes"; then
47281 cat >>confdefs.h <<\_ACEOF
47282 #define wxUSE_IPC 1
47283 _ACEOF
47284
47285 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47286 fi
47287 fi
47288
47289 if test "$wxUSE_DATAOBJ" = "yes"; then
47290 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47291 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47292 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47293 wxUSE_DATAOBJ=no
47294 else
47295 cat >>confdefs.h <<\_ACEOF
47296 #define wxUSE_DATAOBJ 1
47297 _ACEOF
47298
47299 fi
47300 else
47301 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47302 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47303 wxUSE_CLIPBOARD=no
47304 wxUSE_DRAG_AND_DROP=no
47305 fi
47306
47307 if test "$wxUSE_CLIPBOARD" = "yes"; then
47308 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47309 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47310 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47311 wxUSE_CLIPBOARD=no
47312 fi
47313
47314 if test "$wxUSE_CLIPBOARD" = "yes"; then
47315 cat >>confdefs.h <<\_ACEOF
47316 #define wxUSE_CLIPBOARD 1
47317 _ACEOF
47318
47319 fi
47320 fi
47321
47322 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47323 if test "$wxUSE_GTK" = 1; then
47324 if test "$WXGTK12" != 1; then
47325 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47326 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47327 wxUSE_DRAG_AND_DROP=no
47328 fi
47329 fi
47330
47331 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47332 "$wxUSE_DFB" = 1; then
47333 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47334 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47335 wxUSE_DRAG_AND_DROP=no
47336 fi
47337
47338 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47339 cat >>confdefs.h <<\_ACEOF
47340 #define wxUSE_DRAG_AND_DROP 1
47341 _ACEOF
47342
47343 fi
47344
47345 fi
47346
47347 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47348 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47349 fi
47350
47351 if test "$wxUSE_CLIPBOARD" = "yes"; then
47352 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
47353 fi
47354
47355 if test "$wxUSE_SPLINES" = "yes" ; then
47356 cat >>confdefs.h <<\_ACEOF
47357 #define wxUSE_SPLINES 1
47358 _ACEOF
47359
47360 fi
47361
47362 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47363 cat >>confdefs.h <<\_ACEOF
47364 #define wxUSE_MOUSEWHEEL 1
47365 _ACEOF
47366
47367 fi
47368
47369 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
47370 cat >>confdefs.h <<\_ACEOF
47371 #define wxUSE_UIACTIONSIMULATOR 1
47372 _ACEOF
47373
47374 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
47375 fi
47376
47377 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
47378 cat >>confdefs.h <<\_ACEOF
47379 #define wxUSE_DC_TRANSFORM_MATRIX 1
47380 _ACEOF
47381
47382 fi
47383
47384
47385 USES_CONTROLS=0
47386 if test "$wxUSE_CONTROLS" = "yes"; then
47387 USES_CONTROLS=1
47388 fi
47389
47390 if test "$wxUSE_MARKUP" = "yes"; then
47391 cat >>confdefs.h <<\_ACEOF
47392 #define wxUSE_MARKUP 1
47393 _ACEOF
47394
47395 fi
47396
47397 if test "$wxUSE_ACCEL" = "yes"; then
47398 cat >>confdefs.h <<\_ACEOF
47399 #define wxUSE_ACCEL 1
47400 _ACEOF
47401
47402 USES_CONTROLS=1
47403 fi
47404
47405 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47406 cat >>confdefs.h <<\_ACEOF
47407 #define wxUSE_ANIMATIONCTRL 1
47408 _ACEOF
47409
47410 USES_CONTROLS=1
47411 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47412 fi
47413
47414 if test "$wxUSE_BANNERWINDOW" = "yes"; then
47415 cat >>confdefs.h <<\_ACEOF
47416 #define wxUSE_BANNERWINDOW 1
47417 _ACEOF
47418
47419 fi
47420
47421 if test "$wxUSE_BUTTON" = "yes"; then
47422 cat >>confdefs.h <<\_ACEOF
47423 #define wxUSE_BUTTON 1
47424 _ACEOF
47425
47426 USES_CONTROLS=1
47427 fi
47428
47429 if test "$wxUSE_BMPBUTTON" = "yes"; then
47430 cat >>confdefs.h <<\_ACEOF
47431 #define wxUSE_BMPBUTTON 1
47432 _ACEOF
47433
47434 USES_CONTROLS=1
47435 fi
47436
47437 if test "$wxUSE_CALCTRL" = "yes"; then
47438 cat >>confdefs.h <<\_ACEOF
47439 #define wxUSE_CALENDARCTRL 1
47440 _ACEOF
47441
47442 USES_CONTROLS=1
47443 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47444 fi
47445
47446 if test "$wxUSE_CARET" = "yes"; then
47447 cat >>confdefs.h <<\_ACEOF
47448 #define wxUSE_CARET 1
47449 _ACEOF
47450
47451 USES_CONTROLS=1
47452 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47453 fi
47454
47455 if test "$wxUSE_COLLPANE" = "yes"; then
47456 cat >>confdefs.h <<\_ACEOF
47457 #define wxUSE_COLLPANE 1
47458 _ACEOF
47459
47460 USES_CONTROLS=1
47461 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47462 fi
47463
47464 if test "$wxUSE_COMBOBOX" = "yes"; then
47465 cat >>confdefs.h <<\_ACEOF
47466 #define wxUSE_COMBOBOX 1
47467 _ACEOF
47468
47469 USES_CONTROLS=1
47470 fi
47471
47472 if test "$wxUSE_COMBOCTRL" = "yes"; then
47473 cat >>confdefs.h <<\_ACEOF
47474 #define wxUSE_COMBOCTRL 1
47475 _ACEOF
47476
47477 USES_CONTROLS=1
47478 fi
47479
47480 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
47481 cat >>confdefs.h <<\_ACEOF
47482 #define wxUSE_COMMANDLINKBUTTON 1
47483 _ACEOF
47484
47485 USES_CONTROLS=1
47486 fi
47487
47488 if test "$wxUSE_CHOICE" = "yes"; then
47489 cat >>confdefs.h <<\_ACEOF
47490 #define wxUSE_CHOICE 1
47491 _ACEOF
47492
47493 USES_CONTROLS=1
47494 fi
47495
47496 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47497 cat >>confdefs.h <<\_ACEOF
47498 #define wxUSE_CHOICEBOOK 1
47499 _ACEOF
47500
47501 USES_CONTROLS=1
47502 fi
47503
47504 if test "$wxUSE_CHECKBOX" = "yes"; then
47505 cat >>confdefs.h <<\_ACEOF
47506 #define wxUSE_CHECKBOX 1
47507 _ACEOF
47508
47509 USES_CONTROLS=1
47510 fi
47511
47512 if test "$wxUSE_CHECKLST" = "yes"; then
47513 cat >>confdefs.h <<\_ACEOF
47514 #define wxUSE_CHECKLISTBOX 1
47515 _ACEOF
47516
47517 USES_CONTROLS=1
47518 fi
47519
47520 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47521 cat >>confdefs.h <<\_ACEOF
47522 #define wxUSE_COLOURPICKERCTRL 1
47523 _ACEOF
47524
47525 USES_CONTROLS=1
47526 fi
47527
47528 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47529 cat >>confdefs.h <<\_ACEOF
47530 #define wxUSE_DATEPICKCTRL 1
47531 _ACEOF
47532
47533 USES_CONTROLS=1
47534 fi
47535
47536 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47537 cat >>confdefs.h <<\_ACEOF
47538 #define wxUSE_DIRPICKERCTRL 1
47539 _ACEOF
47540
47541 USES_CONTROLS=1
47542 fi
47543
47544 if test "$wxUSE_FILECTRL" = "yes"; then
47545 cat >>confdefs.h <<\_ACEOF
47546 #define wxUSE_FILECTRL 1
47547 _ACEOF
47548
47549 USES_CONTROLS=1
47550 fi
47551
47552 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47553 cat >>confdefs.h <<\_ACEOF
47554 #define wxUSE_FILEPICKERCTRL 1
47555 _ACEOF
47556
47557 USES_CONTROLS=1
47558 fi
47559
47560 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47561 cat >>confdefs.h <<\_ACEOF
47562 #define wxUSE_FONTPICKERCTRL 1
47563 _ACEOF
47564
47565 USES_CONTROLS=1
47566 fi
47567
47568 if test "$wxUSE_DISPLAY" = "yes"; then
47569 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47570 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47571 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47572 wxUSE_DISPLAY=no
47573 else
47574 cat >>confdefs.h <<\_ACEOF
47575 #define wxUSE_DISPLAY 1
47576 _ACEOF
47577
47578 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
47579 fi
47580 fi
47581
47582 if test "$wxUSE_DETECT_SM" = "yes"; then
47583 cat >>confdefs.h <<\_ACEOF
47584 #define wxUSE_DETECT_SM 1
47585 _ACEOF
47586
47587 fi
47588
47589 if test "$wxUSE_GAUGE" = "yes"; then
47590 cat >>confdefs.h <<\_ACEOF
47591 #define wxUSE_GAUGE 1
47592 _ACEOF
47593
47594 USES_CONTROLS=1
47595 fi
47596
47597 if test "$wxUSE_GRID" = "yes"; then
47598 cat >>confdefs.h <<\_ACEOF
47599 #define wxUSE_GRID 1
47600 _ACEOF
47601
47602 USES_CONTROLS=1
47603 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47604 fi
47605
47606 if test "$wxUSE_HEADERCTRL" = "yes"; then
47607 cat >>confdefs.h <<\_ACEOF
47608 #define wxUSE_HEADERCTRL 1
47609 _ACEOF
47610
47611 USES_CONTROLS=1
47612 fi
47613
47614 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47615 cat >>confdefs.h <<\_ACEOF
47616 #define wxUSE_HYPERLINKCTRL 1
47617 _ACEOF
47618
47619 USES_CONTROLS=1
47620 fi
47621
47622 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47623 cat >>confdefs.h <<\_ACEOF
47624 #define wxUSE_BITMAPCOMBOBOX 1
47625 _ACEOF
47626
47627 USES_CONTROLS=1
47628 fi
47629
47630 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47631 cat >>confdefs.h <<\_ACEOF
47632 #define wxUSE_DATAVIEWCTRL 1
47633 _ACEOF
47634
47635 USES_CONTROLS=1
47636 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47637 fi
47638
47639 if test "$wxUSE_IMAGLIST" = "yes"; then
47640 cat >>confdefs.h <<\_ACEOF
47641 #define wxUSE_IMAGLIST 1
47642 _ACEOF
47643
47644 fi
47645
47646 if test "$wxUSE_INFOBAR" = "yes"; then
47647 cat >>confdefs.h <<\_ACEOF
47648 #define wxUSE_INFOBAR 1
47649 _ACEOF
47650
47651 fi
47652
47653 if test "$wxUSE_LISTBOOK" = "yes"; then
47654 cat >>confdefs.h <<\_ACEOF
47655 #define wxUSE_LISTBOOK 1
47656 _ACEOF
47657
47658 USES_CONTROLS=1
47659 fi
47660
47661 if test "$wxUSE_LISTBOX" = "yes"; then
47662 cat >>confdefs.h <<\_ACEOF
47663 #define wxUSE_LISTBOX 1
47664 _ACEOF
47665
47666 USES_CONTROLS=1
47667 fi
47668
47669 if test "$wxUSE_LISTCTRL" = "yes"; then
47670 if test "$wxUSE_IMAGLIST" = "yes"; then
47671 cat >>confdefs.h <<\_ACEOF
47672 #define wxUSE_LISTCTRL 1
47673 _ACEOF
47674
47675 USES_CONTROLS=1
47676 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47677 else
47678 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47679 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47680 fi
47681 fi
47682
47683 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47684 cat >>confdefs.h <<\_ACEOF
47685 #define wxUSE_EDITABLELISTBOX 1
47686 _ACEOF
47687
47688 USES_CONTROLS=1
47689 fi
47690
47691 if test "$wxUSE_NOTEBOOK" = "yes"; then
47692 cat >>confdefs.h <<\_ACEOF
47693 #define wxUSE_NOTEBOOK 1
47694 _ACEOF
47695
47696 USES_CONTROLS=1
47697 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47698 fi
47699
47700 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
47701 cat >>confdefs.h <<\_ACEOF
47702 #define wxUSE_NOTIFICATION_MESSAGE 1
47703 _ACEOF
47704
47705 fi
47706
47707 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47708 cat >>confdefs.h <<\_ACEOF
47709 #define wxUSE_ODCOMBOBOX 1
47710 _ACEOF
47711
47712 USES_CONTROLS=1
47713 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47714 fi
47715
47716 if test "$wxUSE_RADIOBOX" = "yes"; then
47717 cat >>confdefs.h <<\_ACEOF
47718 #define wxUSE_RADIOBOX 1
47719 _ACEOF
47720
47721 USES_CONTROLS=1
47722 fi
47723
47724 if test "$wxUSE_RADIOBTN" = "yes"; then
47725 cat >>confdefs.h <<\_ACEOF
47726 #define wxUSE_RADIOBTN 1
47727 _ACEOF
47728
47729 USES_CONTROLS=1
47730 fi
47731
47732 if test "$wxUSE_REARRANGECTRL" = "yes"; then
47733 cat >>confdefs.h <<\_ACEOF
47734 #define wxUSE_REARRANGECTRL 1
47735 _ACEOF
47736
47737 fi
47738
47739 if test "$wxUSE_RICHMSGDLG" = "yes"; then
47740 cat >>confdefs.h <<\_ACEOF
47741 #define wxUSE_RICHMSGDLG 1
47742 _ACEOF
47743
47744 fi
47745
47746 if test "$wxUSE_SASH" = "yes"; then
47747 cat >>confdefs.h <<\_ACEOF
47748 #define wxUSE_SASH 1
47749 _ACEOF
47750
47751 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47752 fi
47753
47754 if test "$wxUSE_SCROLLBAR" = "yes"; then
47755 cat >>confdefs.h <<\_ACEOF
47756 #define wxUSE_SCROLLBAR 1
47757 _ACEOF
47758
47759 USES_CONTROLS=1
47760 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
47761 fi
47762
47763 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47764 cat >>confdefs.h <<\_ACEOF
47765 #define wxUSE_SEARCHCTRL 1
47766 _ACEOF
47767
47768 USES_CONTROLS=1
47769 fi
47770
47771 if test "$wxUSE_SLIDER" = "yes"; then
47772 cat >>confdefs.h <<\_ACEOF
47773 #define wxUSE_SLIDER 1
47774 _ACEOF
47775
47776 USES_CONTROLS=1
47777 fi
47778
47779 if test "$wxUSE_SPINBTN" = "yes"; then
47780 cat >>confdefs.h <<\_ACEOF
47781 #define wxUSE_SPINBTN 1
47782 _ACEOF
47783
47784 USES_CONTROLS=1
47785 fi
47786
47787 if test "$wxUSE_SPINCTRL" = "yes"; then
47788 cat >>confdefs.h <<\_ACEOF
47789 #define wxUSE_SPINCTRL 1
47790 _ACEOF
47791
47792 USES_CONTROLS=1
47793 fi
47794
47795 if test "$wxUSE_SPLITTER" = "yes"; then
47796 cat >>confdefs.h <<\_ACEOF
47797 #define wxUSE_SPLITTER 1
47798 _ACEOF
47799
47800 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
47801 fi
47802
47803 if test "$wxUSE_STATBMP" = "yes"; then
47804 cat >>confdefs.h <<\_ACEOF
47805 #define wxUSE_STATBMP 1
47806 _ACEOF
47807
47808 USES_CONTROLS=1
47809 fi
47810
47811 if test "$wxUSE_STATBOX" = "yes"; then
47812 cat >>confdefs.h <<\_ACEOF
47813 #define wxUSE_STATBOX 1
47814 _ACEOF
47815
47816 USES_CONTROLS=1
47817 fi
47818
47819 if test "$wxUSE_STATTEXT" = "yes"; then
47820 cat >>confdefs.h <<\_ACEOF
47821 #define wxUSE_STATTEXT 1
47822 _ACEOF
47823
47824 USES_CONTROLS=1
47825 fi
47826
47827 if test "$wxUSE_STATLINE" = "yes"; then
47828 cat >>confdefs.h <<\_ACEOF
47829 #define wxUSE_STATLINE 1
47830 _ACEOF
47831
47832 USES_CONTROLS=1
47833 fi
47834
47835 if test "$wxUSE_STATUSBAR" = "yes"; then
47836 cat >>confdefs.h <<\_ACEOF
47837 #define wxUSE_NATIVE_STATUSBAR 1
47838 _ACEOF
47839
47840 cat >>confdefs.h <<\_ACEOF
47841 #define wxUSE_STATUSBAR 1
47842 _ACEOF
47843
47844 USES_CONTROLS=1
47845
47846 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
47847 fi
47848
47849 if test "$wxUSE_TEXTCTRL" = "yes"; then
47850 cat >>confdefs.h <<\_ACEOF
47851 #define wxUSE_TEXTCTRL 1
47852 _ACEOF
47853
47854 USES_CONTROLS=1
47855 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
47856
47857 cat >>confdefs.h <<\_ACEOF
47858 #define wxUSE_RICHEDIT 1
47859 _ACEOF
47860
47861 cat >>confdefs.h <<\_ACEOF
47862 #define wxUSE_RICHEDIT2 1
47863 _ACEOF
47864
47865 fi
47866
47867 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47868 if test "$wxUSE_OLD_COCOA" = 1 ; then
47869 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47870 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47871 wxUSE_TOGGLEBTN=no
47872 fi
47873
47874 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47875 cat >>confdefs.h <<\_ACEOF
47876 #define wxUSE_TOGGLEBTN 1
47877 _ACEOF
47878
47879 USES_CONTROLS=1
47880 fi
47881 fi
47882
47883 if test "$wxUSE_TOOLBAR" = "yes"; then
47884 cat >>confdefs.h <<\_ACEOF
47885 #define wxUSE_TOOLBAR 1
47886 _ACEOF
47887
47888 USES_CONTROLS=1
47889
47890 if test "$wxUSE_UNIVERSAL" = "yes"; then
47891 wxUSE_TOOLBAR_NATIVE="no"
47892 else
47893 wxUSE_TOOLBAR_NATIVE="yes"
47894 cat >>confdefs.h <<\_ACEOF
47895 #define wxUSE_TOOLBAR_NATIVE 1
47896 _ACEOF
47897
47898 fi
47899
47900 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
47901 fi
47902
47903 if test "$wxUSE_TOOLTIPS" = "yes"; then
47904 if test "$wxUSE_MOTIF" = 1; then
47905 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47906 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47907 else
47908 if test "$wxUSE_UNIVERSAL" = "yes"; then
47909 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47910 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47911 else
47912 cat >>confdefs.h <<\_ACEOF
47913 #define wxUSE_TOOLTIPS 1
47914 _ACEOF
47915
47916 fi
47917 fi
47918 fi
47919
47920 if test "$wxUSE_TREEBOOK" = "yes"; then
47921 cat >>confdefs.h <<\_ACEOF
47922 #define wxUSE_TREEBOOK 1
47923 _ACEOF
47924
47925 USES_CONTROLS=1
47926 fi
47927
47928 if test "$wxUSE_TOOLBOOK" = "yes"; then
47929 cat >>confdefs.h <<\_ACEOF
47930 #define wxUSE_TOOLBOOK 1
47931 _ACEOF
47932
47933 USES_CONTROLS=1
47934 fi
47935
47936 if test "$wxUSE_TREECTRL" = "yes"; then
47937 if test "$wxUSE_IMAGLIST" = "yes"; then
47938 cat >>confdefs.h <<\_ACEOF
47939 #define wxUSE_TREECTRL 1
47940 _ACEOF
47941
47942 USES_CONTROLS=1
47943 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
47944 else
47945 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47946 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47947 fi
47948 fi
47949
47950 if test "$wxUSE_TREECTRL" = "yes"; then
47951 cat >>confdefs.h <<\_ACEOF
47952 #define wxUSE_TREELISTCTRL 1
47953 _ACEOF
47954
47955 USES_CONTROLS=1
47956 fi
47957
47958 if test "$wxUSE_POPUPWIN" = "yes"; then
47959 if test "$wxUSE_OLD_COCOA" = 1 ; then
47960 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47961 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47962 else
47963 if test "$wxUSE_PM" = 1; then
47964 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47965 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47966 else
47967 cat >>confdefs.h <<\_ACEOF
47968 #define wxUSE_POPUPWIN 1
47969 _ACEOF
47970
47971 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
47972
47973 USES_CONTROLS=1
47974 fi
47975 fi
47976 fi
47977
47978 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47979 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47980 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47981 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47982 else
47983 cat >>confdefs.h <<\_ACEOF
47984 #define wxUSE_DIALUP_MANAGER 1
47985 _ACEOF
47986
47987 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
47988 fi
47989 fi
47990
47991 if test "$wxUSE_TIPWINDOW" = "yes"; then
47992 if test "$wxUSE_PM" = 1; then
47993 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47994 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47995 else
47996 cat >>confdefs.h <<\_ACEOF
47997 #define wxUSE_TIPWINDOW 1
47998 _ACEOF
47999
48000 fi
48001 fi
48002
48003 if test "$USES_CONTROLS" = 1; then
48004 cat >>confdefs.h <<\_ACEOF
48005 #define wxUSE_CONTROLS 1
48006 _ACEOF
48007
48008 fi
48009
48010
48011 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48012 cat >>confdefs.h <<\_ACEOF
48013 #define wxUSE_ACCESSIBILITY 1
48014 _ACEOF
48015
48016 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48017 fi
48018
48019 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
48020 cat >>confdefs.h <<\_ACEOF
48021 #define wxUSE_ARTPROVIDER_STD 1
48022 _ACEOF
48023
48024 fi
48025
48026 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
48027 if test "$wxUSE_GTK" != 1; then
48028 if test "$wxUSE_LIBPNG" != no -a \
48029 "$wxUSE_IMAGE" = yes -a \
48030 "$wxUSE_STREAMS" = yes; then
48031 wxUSE_ARTPROVIDER_TANGO="yes"
48032 fi
48033 fi
48034 fi
48035
48036 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
48037 cat >>confdefs.h <<\_ACEOF
48038 #define wxUSE_ARTPROVIDER_TANGO 1
48039 _ACEOF
48040
48041 fi
48042
48043 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48044 cat >>confdefs.h <<\_ACEOF
48045 #define wxUSE_DRAGIMAGE 1
48046 _ACEOF
48047
48048 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48049 fi
48050
48051 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48052 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48053 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48054 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48055 else
48056 cat >>confdefs.h <<\_ACEOF
48057 #define wxUSE_EXCEPTIONS 1
48058 _ACEOF
48059
48060 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48061 fi
48062 fi
48063
48064 USE_HTML=0
48065 if test "$wxUSE_HTML" = "yes"; then
48066 cat >>confdefs.h <<\_ACEOF
48067 #define wxUSE_HTML 1
48068 _ACEOF
48069
48070 USE_HTML=1
48071 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48072 fi
48073 if test "$wxUSE_WEBKIT" = "yes"; then
48074 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48075 old_CPPFLAGS="$CPPFLAGS"
48076 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48077 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48078 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48079 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48080 echo $ECHO_N "(cached) $ECHO_C" >&6
48081 else
48082 cat >conftest.$ac_ext <<_ACEOF
48083 /* confdefs.h. */
48084 _ACEOF
48085 cat confdefs.h >>conftest.$ac_ext
48086 cat >>conftest.$ac_ext <<_ACEOF
48087 /* end confdefs.h. */
48088
48089 #include <Carbon/Carbon.h>
48090 #include <WebKit/WebKit.h>
48091
48092
48093 #include <WebKit/HIWebView.h>
48094 _ACEOF
48095 rm -f conftest.$ac_objext
48096 if { (ac_try="$ac_compile"
48097 case "(($ac_try" in
48098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48099 *) ac_try_echo=$ac_try;;
48100 esac
48101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48102 (eval "$ac_compile") 2>conftest.er1
48103 ac_status=$?
48104 grep -v '^ *+' conftest.er1 >conftest.err
48105 rm -f conftest.er1
48106 cat conftest.err >&5
48107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48108 (exit $ac_status); } && {
48109 test -z "$ac_c_werror_flag" ||
48110 test ! -s conftest.err
48111 } && test -s conftest.$ac_objext; then
48112 ac_cv_header_WebKit_HIWebView_h=yes
48113 else
48114 echo "$as_me: failed program was:" >&5
48115 sed 's/^/| /' conftest.$ac_ext >&5
48116
48117 ac_cv_header_WebKit_HIWebView_h=no
48118 fi
48119
48120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48121 fi
48122 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48123 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48124 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48125
48126 cat >>confdefs.h <<\_ACEOF
48127 #define wxUSE_WEBKIT 1
48128 _ACEOF
48129
48130 WEBKIT_LINK="-framework WebKit"
48131
48132 else
48133
48134 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48135 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48136 wxUSE_WEBKIT=no
48137
48138 fi
48139
48140
48141 CPPFLAGS="$old_CPPFLAGS"
48142 elif test "$wxUSE_OLD_COCOA" = 1; then
48143 cat >>confdefs.h <<\_ACEOF
48144 #define wxUSE_WEBKIT 1
48145 _ACEOF
48146
48147 else
48148 wxUSE_WEBKIT=no
48149 fi
48150 if test "$wxUSE_WEBKIT" = "yes"; then
48151 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48152 fi
48153 fi
48154
48155 USE_XRC=0
48156 if test "$wxUSE_XRC" = "yes"; then
48157 if test "$wxUSE_XML" != "yes"; then
48158 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48159 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48160 wxUSE_XRC=no
48161 else
48162 cat >>confdefs.h <<\_ACEOF
48163 #define wxUSE_XRC 1
48164 _ACEOF
48165
48166 USE_XRC=1
48167 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48168 fi
48169 fi
48170
48171 USE_AUI=0
48172 if test "$wxUSE_AUI" = "yes"; then
48173 cat >>confdefs.h <<\_ACEOF
48174 #define wxUSE_AUI 1
48175 _ACEOF
48176
48177 USE_AUI=1
48178 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48179 fi
48180
48181 USE_PROPGRID=0
48182 if test "$wxUSE_PROPGRID" = "yes"; then
48183 cat >>confdefs.h <<\_ACEOF
48184 #define wxUSE_PROPGRID 1
48185 _ACEOF
48186
48187 USE_PROPGRID=1
48188 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
48189 fi
48190
48191 USE_RIBBON=0
48192 if test "$wxUSE_RIBBON" = "yes"; then
48193 cat >>confdefs.h <<\_ACEOF
48194 #define wxUSE_RIBBON 1
48195 _ACEOF
48196
48197 USE_RIBBON=1
48198 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
48199 fi
48200
48201 USE_STC=0
48202 if test "$wxUSE_STC" = "yes"; then
48203 cat >>confdefs.h <<\_ACEOF
48204 #define wxUSE_STC 1
48205 _ACEOF
48206
48207 USE_STC=1
48208 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48209
48210 # Extract the first word of "python", so it can be a program name with args.
48211 set dummy python; ac_word=$2
48212 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48214 if test "${ac_cv_path_PYTHON+set}" = set; then
48215 echo $ECHO_N "(cached) $ECHO_C" >&6
48216 else
48217 case $PYTHON in
48218 [\\/]* | ?:[\\/]*)
48219 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
48220 ;;
48221 *)
48222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48223 for as_dir in $PATH
48224 do
48225 IFS=$as_save_IFS
48226 test -z "$as_dir" && as_dir=.
48227 for ac_exec_ext in '' $ac_executable_extensions; do
48228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48229 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
48230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48231 break 2
48232 fi
48233 done
48234 done
48235 IFS=$as_save_IFS
48236
48237 ;;
48238 esac
48239 fi
48240 PYTHON=$ac_cv_path_PYTHON
48241 if test -n "$PYTHON"; then
48242 { echo "$as_me:$LINENO: result: $PYTHON" >&5
48243 echo "${ECHO_T}$PYTHON" >&6; }
48244 else
48245 { echo "$as_me:$LINENO: result: no" >&5
48246 echo "${ECHO_T}no" >&6; }
48247 fi
48248
48249
48250 if test "x$PYTHON" = "x"; then
48251 COND_PYTHON="#"
48252 fi
48253
48254 fi
48255
48256 if test "$wxUSE_MENUS" = "yes"; then
48257 cat >>confdefs.h <<\_ACEOF
48258 #define wxUSE_MENUS 1
48259 _ACEOF
48260
48261 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48262 fi
48263
48264 if test "$wxUSE_METAFILE" = "yes"; then
48265 cat >>confdefs.h <<\_ACEOF
48266 #define wxUSE_METAFILE 1
48267 _ACEOF
48268
48269 fi
48270
48271 if test "$wxUSE_MIMETYPE" = "yes"; then
48272 cat >>confdefs.h <<\_ACEOF
48273 #define wxUSE_MIMETYPE 1
48274 _ACEOF
48275
48276 fi
48277
48278 if test "$wxUSE_MINIFRAME" = "yes"; then
48279 cat >>confdefs.h <<\_ACEOF
48280 #define wxUSE_MINIFRAME 1
48281 _ACEOF
48282
48283 fi
48284
48285 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48286 cat >>confdefs.h <<\_ACEOF
48287 #define wxUSE_SYSTEM_OPTIONS 1
48288 _ACEOF
48289
48290 fi
48291
48292 if test "$wxUSE_TASKBARICON" = "yes"; then
48293 cat >>confdefs.h <<\_ACEOF
48294 #define wxUSE_TASKBARICON 1
48295 _ACEOF
48296
48297 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48298 fi
48299
48300
48301 if test "$wxUSE_VALIDATORS" = "yes"; then
48302 cat >>confdefs.h <<\_ACEOF
48303 #define wxUSE_VALIDATORS 1
48304 _ACEOF
48305
48306 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48307 fi
48308
48309 if test "$wxUSE_PALETTE" = "yes" ; then
48310 if test "$wxUSE_DFB" = 1; then
48311 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48312 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48313 wxUSE_PALETTE=no
48314 else
48315 cat >>confdefs.h <<\_ACEOF
48316 #define wxUSE_PALETTE 1
48317 _ACEOF
48318
48319 fi
48320 fi
48321
48322 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48323 LIBS=" -lunicows $LIBS"
48324 fi
48325
48326 USE_RICHTEXT=0
48327 if test "$wxUSE_RICHTEXT" = "yes"; then
48328 cat >>confdefs.h <<\_ACEOF
48329 #define wxUSE_RICHTEXT 1
48330 _ACEOF
48331
48332 USE_RICHTEXT=1
48333 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48334 fi
48335
48336
48337 if test "$wxUSE_IMAGE" = "yes" ; then
48338 cat >>confdefs.h <<\_ACEOF
48339 #define wxUSE_IMAGE 1
48340 _ACEOF
48341
48342
48343 if test "$wxUSE_GIF" = "yes" ; then
48344 cat >>confdefs.h <<\_ACEOF
48345 #define wxUSE_GIF 1
48346 _ACEOF
48347
48348 fi
48349
48350 if test "$wxUSE_PCX" = "yes" ; then
48351 cat >>confdefs.h <<\_ACEOF
48352 #define wxUSE_PCX 1
48353 _ACEOF
48354
48355 fi
48356
48357 if test "$wxUSE_TGA" = "yes" ; then
48358 cat >>confdefs.h <<\_ACEOF
48359 #define wxUSE_TGA 1
48360 _ACEOF
48361
48362 fi
48363
48364 if test "$wxUSE_IFF" = "yes" ; then
48365 cat >>confdefs.h <<\_ACEOF
48366 #define wxUSE_IFF 1
48367 _ACEOF
48368
48369 fi
48370
48371 if test "$wxUSE_PNM" = "yes" ; then
48372 cat >>confdefs.h <<\_ACEOF
48373 #define wxUSE_PNM 1
48374 _ACEOF
48375
48376 fi
48377
48378 if test "$wxUSE_XPM" = "yes" ; then
48379 cat >>confdefs.h <<\_ACEOF
48380 #define wxUSE_XPM 1
48381 _ACEOF
48382
48383 fi
48384
48385 if test "$wxUSE_ICO_CUR" = "yes" ; then
48386 cat >>confdefs.h <<\_ACEOF
48387 #define wxUSE_ICO_CUR 1
48388 _ACEOF
48389
48390 fi
48391 fi
48392
48393
48394 if test "$wxUSE_ABOUTDLG" = "yes"; then
48395 cat >>confdefs.h <<\_ACEOF
48396 #define wxUSE_ABOUTDLG 1
48397 _ACEOF
48398
48399 fi
48400
48401 if test "$wxUSE_CHOICEDLG" = "yes"; then
48402 cat >>confdefs.h <<\_ACEOF
48403 #define wxUSE_CHOICEDLG 1
48404 _ACEOF
48405
48406 fi
48407
48408 if test "$wxUSE_COLOURDLG" = "yes"; then
48409 cat >>confdefs.h <<\_ACEOF
48410 #define wxUSE_COLOURDLG 1
48411 _ACEOF
48412
48413 fi
48414
48415 if test "$wxUSE_FILEDLG" = "yes"; then
48416 cat >>confdefs.h <<\_ACEOF
48417 #define wxUSE_FILEDLG 1
48418 _ACEOF
48419
48420 fi
48421
48422 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48423 cat >>confdefs.h <<\_ACEOF
48424 #define wxUSE_FINDREPLDLG 1
48425 _ACEOF
48426
48427 fi
48428
48429 if test "$wxUSE_FONTDLG" = "yes"; then
48430 cat >>confdefs.h <<\_ACEOF
48431 #define wxUSE_FONTDLG 1
48432 _ACEOF
48433
48434 fi
48435
48436 if test "$wxUSE_DIRDLG" = "yes"; then
48437 if test "$wxUSE_TREECTRL" != "yes"; then
48438 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48439 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48440 else
48441 cat >>confdefs.h <<\_ACEOF
48442 #define wxUSE_DIRDLG 1
48443 _ACEOF
48444
48445 fi
48446 fi
48447
48448 if test "$wxUSE_MSGDLG" = "yes"; then
48449 cat >>confdefs.h <<\_ACEOF
48450 #define wxUSE_MSGDLG 1
48451 _ACEOF
48452
48453 fi
48454
48455 if test "$wxUSE_NUMBERDLG" = "yes"; then
48456 cat >>confdefs.h <<\_ACEOF
48457 #define wxUSE_NUMBERDLG 1
48458 _ACEOF
48459
48460 fi
48461
48462 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48463 cat >>confdefs.h <<\_ACEOF
48464 #define wxUSE_PROGRESSDLG 1
48465 _ACEOF
48466
48467 fi
48468
48469 if test "$wxUSE_SPLASH" = "yes"; then
48470 cat >>confdefs.h <<\_ACEOF
48471 #define wxUSE_SPLASH 1
48472 _ACEOF
48473
48474 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48475 fi
48476
48477 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48478 cat >>confdefs.h <<\_ACEOF
48479 #define wxUSE_STARTUP_TIPS 1
48480 _ACEOF
48481
48482 fi
48483
48484 if test "$wxUSE_TEXTDLG" = "yes"; then
48485 cat >>confdefs.h <<\_ACEOF
48486 #define wxUSE_TEXTDLG 1
48487 _ACEOF
48488
48489 fi
48490
48491 if test "$wxUSE_WIZARDDLG" = "yes"; then
48492 cat >>confdefs.h <<\_ACEOF
48493 #define wxUSE_WIZARDDLG 1
48494 _ACEOF
48495
48496 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48497 fi
48498
48499
48500 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
48501 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48502 cat >>confdefs.h <<\_ACEOF
48503 #define wxUSE_OWNER_DRAWN 1
48504 _ACEOF
48505
48506 fi
48507 fi
48508
48509
48510 if test "$wxUSE_MSW" = 1 ; then
48511
48512 if test "$wxUSE_DC_CACHEING" = "yes"; then
48513 cat >>confdefs.h <<\_ACEOF
48514 #define wxUSE_DC_CACHEING 1
48515 _ACEOF
48516
48517 fi
48518
48519 if test "$wxUSE_DIB" = "yes"; then
48520 cat >>confdefs.h <<\_ACEOF
48521 #define wxUSE_WXDIB 1
48522 _ACEOF
48523
48524 fi
48525
48526 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48527 cat >>confdefs.h <<\_ACEOF
48528 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48529 _ACEOF
48530
48531 fi
48532
48533 if test "$wxUSE_UXTHEME" = "yes"; then
48534 cat >>confdefs.h <<\_ACEOF
48535 #define wxUSE_UXTHEME 1
48536 _ACEOF
48537
48538 fi
48539
48540 fi
48541
48542 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
48543 cat >>confdefs.h <<\_ACEOF
48544 #define wxUSE_AUTOID_MANAGEMENT 1
48545 _ACEOF
48546
48547 fi
48548
48549 if test "$USE_WIN32" = 1 ; then
48550 if test "$wxUSE_INICONF" = "yes"; then
48551 cat >>confdefs.h <<\_ACEOF
48552 #define wxUSE_INICONF 1
48553 _ACEOF
48554
48555 fi
48556
48557 if test "$wxUSE_REGKEY" = "yes"; then
48558 cat >>confdefs.h <<\_ACEOF
48559 #define wxUSE_REGKEY 1
48560 _ACEOF
48561
48562 fi
48563 fi
48564
48565
48566 if test "$wxUSE_MAC" = 1; then
48567 wxUSE_GRAPHICS_CONTEXT="yes"
48568 fi
48569
48570 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48571 wx_has_graphics=0
48572 if test "$wxUSE_MSW" = 1; then
48573 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
48574 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
48575 if test "${wx_cv_lib_gdiplus+set}" = set; then
48576 echo $ECHO_N "(cached) $ECHO_C" >&6
48577 else
48578
48579 ac_ext=cpp
48580 ac_cpp='$CXXCPP $CPPFLAGS'
48581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48584
48585 cat >conftest.$ac_ext <<_ACEOF
48586 /* confdefs.h. */
48587 _ACEOF
48588 cat confdefs.h >>conftest.$ac_ext
48589 cat >>conftest.$ac_ext <<_ACEOF
48590 /* end confdefs.h. */
48591 #include <windows.h>
48592 #include <gdiplus.h>
48593 int
48594 main ()
48595 {
48596
48597 using namespace Gdiplus;
48598
48599 ;
48600 return 0;
48601 }
48602 _ACEOF
48603 rm -f conftest.$ac_objext
48604 if { (ac_try="$ac_compile"
48605 case "(($ac_try" in
48606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48607 *) ac_try_echo=$ac_try;;
48608 esac
48609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48610 (eval "$ac_compile") 2>conftest.er1
48611 ac_status=$?
48612 grep -v '^ *+' conftest.er1 >conftest.err
48613 rm -f conftest.er1
48614 cat conftest.err >&5
48615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48616 (exit $ac_status); } && {
48617 test -z "$ac_cxx_werror_flag" ||
48618 test ! -s conftest.err
48619 } && test -s conftest.$ac_objext; then
48620 wx_cv_lib_gdiplus=yes
48621 else
48622 echo "$as_me: failed program was:" >&5
48623 sed 's/^/| /' conftest.$ac_ext >&5
48624
48625 wx_cv_lib_gdiplus=no
48626
48627 fi
48628
48629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48630 ac_ext=c
48631 ac_cpp='$CPP $CPPFLAGS'
48632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48635
48636
48637
48638 fi
48639 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
48640 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
48641 if test "$wx_cv_lib_gdiplus" = "yes"; then
48642 wx_has_graphics=1
48643 fi
48644 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
48645
48646 pkg_failed=no
48647 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48648 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48649
48650 if test -n "$PKG_CONFIG"; then
48651 if test -n "$CAIRO_CFLAGS"; then
48652 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48653 else
48654 if test -n "$PKG_CONFIG" && \
48655 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48656 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48657 ac_status=$?
48658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48659 (exit $ac_status); }; then
48660 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48661 else
48662 pkg_failed=yes
48663 fi
48664 fi
48665 else
48666 pkg_failed=untried
48667 fi
48668 if test -n "$PKG_CONFIG"; then
48669 if test -n "$CAIRO_LIBS"; then
48670 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48671 else
48672 if test -n "$PKG_CONFIG" && \
48673 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48674 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48675 ac_status=$?
48676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48677 (exit $ac_status); }; then
48678 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48679 else
48680 pkg_failed=yes
48681 fi
48682 fi
48683 else
48684 pkg_failed=untried
48685 fi
48686
48687
48688
48689 if test $pkg_failed = yes; then
48690
48691 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48692 _pkg_short_errors_supported=yes
48693 else
48694 _pkg_short_errors_supported=no
48695 fi
48696 if test $_pkg_short_errors_supported = yes; then
48697 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48698 else
48699 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48700 fi
48701 # Put the nasty error message in config.log where it belongs
48702 echo "$CAIRO_PKG_ERRORS" >&5
48703
48704 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48705 echo "$as_me: WARNING: Cairo library not found" >&2;}
48706
48707 elif test $pkg_failed = untried; then
48708 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48709 echo "$as_me: WARNING: Cairo library not found" >&2;}
48710
48711 else
48712 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48713 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48714 { echo "$as_me:$LINENO: result: yes" >&5
48715 echo "${ECHO_T}yes" >&6; }
48716 wx_has_graphics=1
48717 fi
48718 if test "$wx_has_graphics" = 1; then
48719 save_LIBS="$LIBS"
48720 LIBS="$LIBS $CAIRO_LIBS"
48721
48722 for ac_func in cairo_push_group
48723 do
48724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48725 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48727 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48728 echo $ECHO_N "(cached) $ECHO_C" >&6
48729 else
48730 cat >conftest.$ac_ext <<_ACEOF
48731 /* confdefs.h. */
48732 _ACEOF
48733 cat confdefs.h >>conftest.$ac_ext
48734 cat >>conftest.$ac_ext <<_ACEOF
48735 /* end confdefs.h. */
48736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48738 #define $ac_func innocuous_$ac_func
48739
48740 /* System header to define __stub macros and hopefully few prototypes,
48741 which can conflict with char $ac_func (); below.
48742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48743 <limits.h> exists even on freestanding compilers. */
48744
48745 #ifdef __STDC__
48746 # include <limits.h>
48747 #else
48748 # include <assert.h>
48749 #endif
48750
48751 #undef $ac_func
48752
48753 /* Override any GCC internal prototype to avoid an error.
48754 Use char because int might match the return type of a GCC
48755 builtin and then its argument prototype would still apply. */
48756 #ifdef __cplusplus
48757 extern "C"
48758 #endif
48759 char $ac_func ();
48760 /* The GNU C library defines this for functions which it implements
48761 to always fail with ENOSYS. Some functions are actually named
48762 something starting with __ and the normal name is an alias. */
48763 #if defined __stub_$ac_func || defined __stub___$ac_func
48764 choke me
48765 #endif
48766
48767 int
48768 main ()
48769 {
48770 return $ac_func ();
48771 ;
48772 return 0;
48773 }
48774 _ACEOF
48775 rm -f conftest.$ac_objext conftest$ac_exeext
48776 if { (ac_try="$ac_link"
48777 case "(($ac_try" in
48778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48779 *) ac_try_echo=$ac_try;;
48780 esac
48781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48782 (eval "$ac_link") 2>conftest.er1
48783 ac_status=$?
48784 grep -v '^ *+' conftest.er1 >conftest.err
48785 rm -f conftest.er1
48786 cat conftest.err >&5
48787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48788 (exit $ac_status); } && {
48789 test -z "$ac_c_werror_flag" ||
48790 test ! -s conftest.err
48791 } && test -s conftest$ac_exeext &&
48792 $as_test_x conftest$ac_exeext; then
48793 eval "$as_ac_var=yes"
48794 else
48795 echo "$as_me: failed program was:" >&5
48796 sed 's/^/| /' conftest.$ac_ext >&5
48797
48798 eval "$as_ac_var=no"
48799 fi
48800
48801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48802 conftest$ac_exeext conftest.$ac_ext
48803 fi
48804 ac_res=`eval echo '${'$as_ac_var'}'`
48805 { echo "$as_me:$LINENO: result: $ac_res" >&5
48806 echo "${ECHO_T}$ac_res" >&6; }
48807 if test `eval echo '${'$as_ac_var'}'` = yes; then
48808 cat >>confdefs.h <<_ACEOF
48809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48810 _ACEOF
48811
48812 fi
48813 done
48814
48815 LIBS="$save_LIBS"
48816 if test "$ac_cv_func_cairo_push_group" = "no"; then
48817 wx_has_graphics=0
48818 { echo "$as_me:$LINENO: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
48819 echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
48820 else
48821 cat >>confdefs.h <<\_ACEOF
48822 #define wxUSE_CAIRO 1
48823 _ACEOF
48824
48825
48826 if test "$wxUSE_GTK" != 1; then
48827 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
48828 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
48829 fi
48830 fi
48831 fi
48832 else
48833 wx_has_graphics=1
48834 fi
48835
48836 if test "$wx_has_graphics" = 1; then
48837 cat >>confdefs.h <<\_ACEOF
48838 #define wxUSE_GRAPHICS_CONTEXT 1
48839 _ACEOF
48840
48841 else
48842 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
48843 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
48844 fi
48845 fi
48846
48847
48848 USE_MEDIA=0
48849
48850 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
48851 USE_MEDIA=1
48852
48853 if test "$wxUSE_GTK" = 1; then
48854 wxUSE_GSTREAMER="no"
48855
48856 GST_VERSION_MAJOR=0
48857 GST_VERSION_MINOR=10
48858 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48859
48860 if test "$wxUSE_GSTREAMER8" = "no"; then
48861
48862 pkg_failed=no
48863 { echo "$as_me:$LINENO: checking for GST" >&5
48864 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48865
48866 if test -n "$PKG_CONFIG"; then
48867 if test -n "$GST_CFLAGS"; then
48868 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48869 else
48870 if test -n "$PKG_CONFIG" && \
48871 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48872 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48873 ac_status=$?
48874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48875 (exit $ac_status); }; then
48876 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48877 else
48878 pkg_failed=yes
48879 fi
48880 fi
48881 else
48882 pkg_failed=untried
48883 fi
48884 if test -n "$PKG_CONFIG"; then
48885 if test -n "$GST_LIBS"; then
48886 pkg_cv_GST_LIBS="$GST_LIBS"
48887 else
48888 if test -n "$PKG_CONFIG" && \
48889 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48890 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48891 ac_status=$?
48892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48893 (exit $ac_status); }; then
48894 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48895 else
48896 pkg_failed=yes
48897 fi
48898 fi
48899 else
48900 pkg_failed=untried
48901 fi
48902
48903
48904
48905 if test $pkg_failed = yes; then
48906
48907 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48908 _pkg_short_errors_supported=yes
48909 else
48910 _pkg_short_errors_supported=no
48911 fi
48912 if test $_pkg_short_errors_supported = yes; then
48913 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48914 else
48915 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48916 fi
48917 # Put the nasty error message in config.log where it belongs
48918 echo "$GST_PKG_ERRORS" >&5
48919
48920
48921 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48922 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48923 GST_VERSION_MINOR=8
48924
48925
48926 elif test $pkg_failed = untried; then
48927
48928 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48929 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48930 GST_VERSION_MINOR=8
48931
48932
48933 else
48934 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48935 GST_LIBS=$pkg_cv_GST_LIBS
48936 { echo "$as_me:$LINENO: result: yes" >&5
48937 echo "${ECHO_T}yes" >&6; }
48938
48939 wxUSE_GSTREAMER="yes"
48940 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48941
48942 fi
48943 else
48944 GST_VERSION_MINOR=8
48945 fi
48946
48947 if test $GST_VERSION_MINOR = "8"; then
48948 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48949
48950 pkg_failed=no
48951 { echo "$as_me:$LINENO: checking for GST" >&5
48952 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48953
48954 if test -n "$PKG_CONFIG"; then
48955 if test -n "$GST_CFLAGS"; then
48956 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48957 else
48958 if test -n "$PKG_CONFIG" && \
48959 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48960 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48961 ac_status=$?
48962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48963 (exit $ac_status); }; then
48964 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48965 else
48966 pkg_failed=yes
48967 fi
48968 fi
48969 else
48970 pkg_failed=untried
48971 fi
48972 if test -n "$PKG_CONFIG"; then
48973 if test -n "$GST_LIBS"; then
48974 pkg_cv_GST_LIBS="$GST_LIBS"
48975 else
48976 if test -n "$PKG_CONFIG" && \
48977 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48978 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48979 ac_status=$?
48980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48981 (exit $ac_status); }; then
48982 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48983 else
48984 pkg_failed=yes
48985 fi
48986 fi
48987 else
48988 pkg_failed=untried
48989 fi
48990
48991
48992
48993 if test $pkg_failed = yes; then
48994
48995 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48996 _pkg_short_errors_supported=yes
48997 else
48998 _pkg_short_errors_supported=no
48999 fi
49000 if test $_pkg_short_errors_supported = yes; then
49001 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49002 else
49003 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49004 fi
49005 # Put the nasty error message in config.log where it belongs
49006 echo "$GST_PKG_ERRORS" >&5
49007
49008
49009 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49010 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49011
49012 elif test $pkg_failed = untried; then
49013
49014 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49015 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49016
49017 else
49018 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49019 GST_LIBS=$pkg_cv_GST_LIBS
49020 { echo "$as_me:$LINENO: result: yes" >&5
49021 echo "${ECHO_T}yes" >&6; }
49022 wxUSE_GSTREAMER="yes"
49023 fi
49024 fi
49025
49026
49027 if test "$wxUSE_GSTREAMER" = "yes"; then
49028 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
49029 EXTRALIBS_MEDIA="$GST_LIBS"
49030
49031 cat >>confdefs.h <<\_ACEOF
49032 #define wxUSE_GSTREAMER 1
49033 _ACEOF
49034
49035 else
49036 USE_MEDIA=0
49037 fi
49038 fi
49039
49040 if test $USE_MEDIA = 1; then
49041 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
49042 cat >>confdefs.h <<\_ACEOF
49043 #define wxUSE_MEDIACTRL 1
49044 _ACEOF
49045
49046 else
49047 if test "$wxUSE_MEDIACTRL" = "yes"; then
49048 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
49049 echo "$as_me: error: GStreamer not available" >&2;}
49050 { (exit 1); exit 1; }; }
49051 else
49052 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
49053 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
49054 fi
49055 fi
49056 fi
49057
49058
49059 if test "$cross_compiling" != "no"; then
49060 OSINFO="\"$host\""
49061 else
49062 OSINFO=`uname -s -r -m`
49063 OSINFO="\"$OSINFO\""
49064 fi
49065
49066 cat >>confdefs.h <<_ACEOF
49067 #define WXWIN_OS_DESCRIPTION $OSINFO
49068 _ACEOF
49069
49070
49071
49072 if test "x$prefix" != "xNONE"; then
49073 wxPREFIX=$prefix
49074 else
49075 wxPREFIX=$ac_default_prefix
49076 fi
49077
49078 cat >>confdefs.h <<_ACEOF
49079 #define wxINSTALL_PREFIX "$wxPREFIX"
49080 _ACEOF
49081
49082
49083
49084
49085 STD_BASE_LIBS="base"
49086 STD_GUI_LIBS=""
49087 BUILT_WX_LIBS="base"
49088 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
49089
49090 if test "$wxUSE_SOCKETS" = "yes" ; then
49091 STD_BASE_LIBS="net $STD_BASE_LIBS"
49092 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
49093 fi
49094 if test "$wxUSE_XML" = "yes" ; then
49095 STD_BASE_LIBS="xml $STD_BASE_LIBS"
49096 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
49097 fi
49098
49099 if test "$wxUSE_GUI" = "yes"; then
49100 STD_GUI_LIBS="adv core"
49101 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49102
49103 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49104 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49105 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49106 fi
49107 if test "$wxUSE_HTML" = "yes" ; then
49108 STD_GUI_LIBS="html $STD_GUI_LIBS"
49109 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49110 fi
49111 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49112 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49113 fi
49114 if test "$wxUSE_OPENGL" = "yes" ; then
49115 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49116 fi
49117 if test "$wxUSE_AUI" = "yes" ; then
49118 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49119 fi
49120 if test "$wxUSE_PROPGRID" = "yes" ; then
49121 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
49122 fi
49123 if test "$wxUSE_RIBBON" = "yes" ; then
49124 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
49125 fi
49126 if test "$wxUSE_RICHTEXT" = "yes" ; then
49127 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
49128 fi
49129 if test "$wxUSE_STC" = "yes" ; then
49130 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49131 fi
49132 if test "$wxUSE_XRC" = "yes" ; then
49133 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49134 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49135 fi
49136 fi
49137
49138
49139
49140
49141
49142
49143
49144 EXTRA_FRAMEWORKS=
49145 if test "$wxUSE_MAC" = 1 ; then
49146 if test "$USE_DARWIN" = 1; then
49147 if test "$wxUSE_OSX_IPHONE" = 1; then
49148 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
49149 else
49150 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
49151 fi
49152 fi
49153 fi
49154 if test "$wxUSE_OLD_COCOA" = 1 ; then
49155 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
49156 if test "$wxUSE_MEDIACTRL" = "yes"; then
49157 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
49158 fi
49159 fi
49160 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
49161 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49162 fi
49163
49164 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
49165 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
49166
49167 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49168
49169 if test "$wxUSE_GUI" = "yes"; then
49170
49171
49172 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49173 erase event exec font image minimal render \
49174 shaped svg taborder vscroll widgets wrapsizer"
49175
49176 if test "$wxUSE_MONOLITHIC" != "yes"; then
49177 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49178 fi
49179 if test "$TOOLKIT" = "MSW"; then
49180 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49181 if test "$wxUSE_UNIVERSAL" != "yes"; then
49182 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
49183 fi
49184 fi
49185 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49186 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49187 fi
49188 else
49189 SAMPLES_SUBDIRS="console"
49190 if test "$wxUSE_SOCKETS" = "yes" ; then
49191 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
49192 fi
49193 if test "$wxUSE_IPC" = "yes" ; then
49194 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
49195 fi
49196 fi
49197
49198
49199 if test "x$INTELCC" = "xyes" ; then
49200 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
49201 elif test "$GCC" = yes ; then
49202 CWARNINGS="-Wall -Wundef"
49203 fi
49204
49205 if test "x$INTELCXX" = "xyes" ; then
49206 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
49207 elif test "$GXX" = yes ; then
49208 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
49209 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
49210 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
49211 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
49212 echo $ECHO_N "(cached) $ECHO_C" >&6
49213 else
49214 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
49215
49216 ac_ext=cpp
49217 ac_cpp='$CXXCPP $CPPFLAGS'
49218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49221
49222 ac_save_CXXFLAGS="$CXXFLAGS"
49223 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
49224 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
49225 cat >conftest.$ac_ext <<_ACEOF
49226 /* confdefs.h. */
49227 _ACEOF
49228 cat confdefs.h >>conftest.$ac_ext
49229 cat >>conftest.$ac_ext <<_ACEOF
49230 /* end confdefs.h. */
49231
49232 int
49233 main ()
49234 {
49235 return 0;
49236 ;
49237 return 0;
49238 }
49239 _ACEOF
49240 rm -f conftest.$ac_objext
49241 if { (ac_try="$ac_compile"
49242 case "(($ac_try" in
49243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49244 *) ac_try_echo=$ac_try;;
49245 esac
49246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49247 (eval "$ac_compile") 2>conftest.er1
49248 ac_status=$?
49249 grep -v '^ *+' conftest.er1 >conftest.err
49250 rm -f conftest.er1
49251 cat conftest.err >&5
49252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49253 (exit $ac_status); } && {
49254 test -z "$ac_cxx_werror_flag" ||
49255 test ! -s conftest.err
49256 } && test -s conftest.$ac_objext; then
49257 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
49258 else
49259 echo "$as_me: failed program was:" >&5
49260 sed 's/^/| /' conftest.$ac_ext >&5
49261
49262
49263 fi
49264
49265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49266 done
49267 CXXFLAGS="$ac_save_CXXFLAGS"
49268 ac_ext=c
49269 ac_cpp='$CPP $CPPFLAGS'
49270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49273
49274
49275 fi
49276 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
49277 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
49278 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
49279 .ok|.ok,*) ;;
49280 .|.no|.no,*) ;;
49281 *)
49282 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
49283 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
49284 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
49285 ac_status=$?
49286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49287 (exit $ac_status); }
49288 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
49289 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
49290 ac_status=$?
49291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49292 (exit $ac_status); }
49293 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
49294 fi
49295 ;;
49296 esac
49297
49298
49299 if test "$wxUSE_MAC" = 1 ; then
49300 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
49301 fi
49302 fi
49303
49304
49305 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49306 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49307
49308
49309 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49310 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49311 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49312 $CPPFLAGS `
49313
49314 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49315 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49316 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49317 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
49318 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
49319
49320 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49321
49322
49323 if test "x$MWCC" = "xyes"; then
49324
49325 CC="$CC -cwd source -I-"
49326 CXX="$CXX -cwd source -I-"
49327 fi
49328
49329
49330 LIBS=`echo $LIBS`
49331 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49332 EXTRALIBS_XML="$EXPAT_LINK"
49333 EXTRALIBS_HTML="$MSPACK_LINK"
49334 EXTRALIBS_MEDIA="$GST_LIBS"
49335 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49336 if test "$wxUSE_GUI" = "yes"; then
49337 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49338 fi
49339 if test "$wxUSE_OPENGL" = "yes"; then
49340 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49341 fi
49342
49343 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49344
49345 WXCONFIG_LIBS="$LIBS"
49346
49347 if test "$wxUSE_REGEX" = "builtin" ; then
49348 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49349 fi
49350 if test "$wxUSE_EXPAT" = "builtin" ; then
49351 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49352 fi
49353 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49354 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49355 fi
49356 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49357 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49358 fi
49359 if test "$wxUSE_LIBPNG" = "builtin" ; then
49360 wxconfig_3rdparty="png $wxconfig_3rdparty"
49361 fi
49362 if test "$wxUSE_ZLIB" = "builtin" ; then
49363 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49364 fi
49365
49366 for i in $wxconfig_3rdparty ; do
49367 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49368 done
49369
49370
49371 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49372 WXUNIV=1
49373
49374 case "$wxUNIV_THEMES" in
49375 ''|all)
49376 cat >>confdefs.h <<\_ACEOF
49377 #define wxUSE_ALL_THEMES 1
49378 _ACEOF
49379
49380 ;;
49381
49382 *)
49383 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
49384 cat >>confdefs.h <<_ACEOF
49385 #define wxUSE_THEME_$t 1
49386 _ACEOF
49387
49388 done
49389 esac
49390 else
49391 WXUNIV=0
49392 fi
49393
49394
49395
49396
49397
49398
49399
49400
49401 if test $wxUSE_MONOLITHIC = "yes" ; then
49402 MONOLITHIC=1
49403 else
49404 MONOLITHIC=0
49405 fi
49406
49407 if test $wxUSE_PLUGINS = "yes" ; then
49408 USE_PLUGINS=1
49409 else
49410 USE_PLUGINS=0
49411 fi
49412
49413 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49414 USE_QA=1
49415 else
49416 USE_QA=0
49417 fi
49418
49419 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49420 OFFICIAL_BUILD=1
49421 else
49422 OFFICIAL_BUILD=0
49423 fi
49424
49425
49426
49427
49428
49429
49430
49431
49432
49433
49434
49435
49436
49437
49438
49439
49440
49441
49442
49443
49444
49445
49446
49447
49448
49449
49450
49451 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
49452
49453
49454
49455
49456
49457
49458
49459
49460
49461
49462 case "$TOOLKIT" in
49463 GTK)
49464 TOOLKIT_DESC="GTK+"
49465 if test "$WXGTK2" = 1; then
49466 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49467 if test "$wxUSE_GTKPRINT" = "yes" ; then
49468 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
49469 fi
49470 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49471 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49472 fi
49473 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49474 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49475 fi
49476 if test "$wxUSE_LIBHILDON" = "yes"; then
49477 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49478 fi
49479 if test "$wxUSE_LIBHILDON2" = "yes"; then
49480 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49481 fi
49482
49483 if test "$TOOLKIT_EXTRA" != ""; then
49484 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49485 fi
49486 fi
49487 ;;
49488
49489 ?*)
49490 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49491 ;;
49492
49493 *)
49494 TOOLKIT_DESC="base only"
49495 ;;
49496 esac
49497
49498 if test "$wxUSE_WINE" = "yes"; then
49499 BAKEFILE_FORCE_PLATFORM=win32
49500 fi
49501
49502 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49503 then
49504 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49505 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49506 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49507 echo $ECHO_N "(cached) $ECHO_C" >&6
49508 else
49509
49510 echo '#include <stdio.h>
49511 const wchar_t test_var[] = L"awidetest";' > conftest.h
49512
49513 echo '#include "conftest.h"
49514 int main()
49515 {
49516 printf("%ls", test_var);
49517 return 0;
49518 }' > conftest.cpp
49519
49520 wx_cv_gcc_pch_bug="pch not supported"
49521
49522 if $CXX conftest.h >/dev/null 2>&1
49523 then
49524 wx_cv_gcc_pch_bug=
49525
49526 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49527 then
49528 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49529 grep awidetest >/dev/null
49530 then
49531 wx_cv_gcc_pch_bug=no
49532 else
49533 wx_cv_gcc_pch_bug=yes
49534 fi
49535 fi
49536 fi
49537
49538 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49539
49540 fi
49541 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49542 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49543
49544 if test "$wx_cv_gcc_pch_bug" = yes; then
49545 bk_use_pch=no
49546 fi
49547 fi
49548
49549
49550
49551
49552
49553
49554
49555 if test "x$BAKEFILE_HOST" = "x"; then
49556 if test "x${host}" = "x" ; then
49557 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49558 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49559 { (exit 1); exit 1; }; }
49560 fi
49561
49562 BAKEFILE_HOST="${host}"
49563 fi
49564
49565 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49566
49567 if test -n "$ac_tool_prefix"; then
49568 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49569 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49570 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49572 if test "${ac_cv_prog_RANLIB+set}" = set; then
49573 echo $ECHO_N "(cached) $ECHO_C" >&6
49574 else
49575 if test -n "$RANLIB"; then
49576 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49577 else
49578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49579 for as_dir in $PATH
49580 do
49581 IFS=$as_save_IFS
49582 test -z "$as_dir" && as_dir=.
49583 for ac_exec_ext in '' $ac_executable_extensions; do
49584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49585 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49587 break 2
49588 fi
49589 done
49590 done
49591 IFS=$as_save_IFS
49592
49593 fi
49594 fi
49595 RANLIB=$ac_cv_prog_RANLIB
49596 if test -n "$RANLIB"; then
49597 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49598 echo "${ECHO_T}$RANLIB" >&6; }
49599 else
49600 { echo "$as_me:$LINENO: result: no" >&5
49601 echo "${ECHO_T}no" >&6; }
49602 fi
49603
49604
49605 fi
49606 if test -z "$ac_cv_prog_RANLIB"; then
49607 ac_ct_RANLIB=$RANLIB
49608 # Extract the first word of "ranlib", so it can be a program name with args.
49609 set dummy ranlib; ac_word=$2
49610 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49611 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49612 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49613 echo $ECHO_N "(cached) $ECHO_C" >&6
49614 else
49615 if test -n "$ac_ct_RANLIB"; then
49616 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49617 else
49618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49619 for as_dir in $PATH
49620 do
49621 IFS=$as_save_IFS
49622 test -z "$as_dir" && as_dir=.
49623 for ac_exec_ext in '' $ac_executable_extensions; do
49624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49625 ac_cv_prog_ac_ct_RANLIB="ranlib"
49626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49627 break 2
49628 fi
49629 done
49630 done
49631 IFS=$as_save_IFS
49632
49633 fi
49634 fi
49635 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49636 if test -n "$ac_ct_RANLIB"; then
49637 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49638 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49639 else
49640 { echo "$as_me:$LINENO: result: no" >&5
49641 echo "${ECHO_T}no" >&6; }
49642 fi
49643
49644 if test "x$ac_ct_RANLIB" = x; then
49645 RANLIB=":"
49646 else
49647 case $cross_compiling:$ac_tool_warned in
49648 yes:)
49649 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49650 whose name does not start with the host triplet. If you think this
49651 configuration is useful to you, please write to autoconf@gnu.org." >&5
49652 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49653 whose name does not start with the host triplet. If you think this
49654 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49655 ac_tool_warned=yes ;;
49656 esac
49657 RANLIB=$ac_ct_RANLIB
49658 fi
49659 else
49660 RANLIB="$ac_cv_prog_RANLIB"
49661 fi
49662
49663 # Find a good install program. We prefer a C program (faster),
49664 # so one script is as good as another. But avoid the broken or
49665 # incompatible versions:
49666 # SysV /etc/install, /usr/sbin/install
49667 # SunOS /usr/etc/install
49668 # IRIX /sbin/install
49669 # AIX /bin/install
49670 # AmigaOS /C/install, which installs bootblocks on floppy discs
49671 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49672 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49673 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49674 # OS/2's system install, which has a completely different semantic
49675 # ./install, which can be erroneously created by make from ./install.sh.
49676 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49677 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49678 if test -z "$INSTALL"; then
49679 if test "${ac_cv_path_install+set}" = set; then
49680 echo $ECHO_N "(cached) $ECHO_C" >&6
49681 else
49682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49683 for as_dir in $PATH
49684 do
49685 IFS=$as_save_IFS
49686 test -z "$as_dir" && as_dir=.
49687 # Account for people who put trailing slashes in PATH elements.
49688 case $as_dir/ in
49689 ./ | .// | /cC/* | \
49690 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49691 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49692 /usr/ucb/* ) ;;
49693 *)
49694 # OSF1 and SCO ODT 3.0 have their own names for install.
49695 # Don't use installbsd from OSF since it installs stuff as root
49696 # by default.
49697 for ac_prog in ginstall scoinst install; do
49698 for ac_exec_ext in '' $ac_executable_extensions; do
49699 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49700 if test $ac_prog = install &&
49701 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49702 # AIX install. It has an incompatible calling convention.
49703 :
49704 elif test $ac_prog = install &&
49705 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49706 # program-specific install script used by HP pwplus--don't use.
49707 :
49708 else
49709 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49710 break 3
49711 fi
49712 fi
49713 done
49714 done
49715 ;;
49716 esac
49717 done
49718 IFS=$as_save_IFS
49719
49720
49721 fi
49722 if test "${ac_cv_path_install+set}" = set; then
49723 INSTALL=$ac_cv_path_install
49724 else
49725 # As a last resort, use the slow shell script. Don't cache a
49726 # value for INSTALL within a source directory, because that will
49727 # break other packages using the cache if that directory is
49728 # removed, or if the value is a relative name.
49729 INSTALL=$ac_install_sh
49730 fi
49731 fi
49732 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49733 echo "${ECHO_T}$INSTALL" >&6; }
49734
49735 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49736 # It thinks the first close brace ends the variable substitution.
49737 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49738
49739 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49740
49741 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49742
49743 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49744 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49745 LN_S=$as_ln_s
49746 if test "$LN_S" = "ln -s"; then
49747 { echo "$as_me:$LINENO: result: yes" >&5
49748 echo "${ECHO_T}yes" >&6; }
49749 else
49750 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49751 echo "${ECHO_T}no, using $LN_S" >&6; }
49752 fi
49753
49754
49755 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49756 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49757 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49758 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49759 echo $ECHO_N "(cached) $ECHO_C" >&6
49760 else
49761 cat >conftest.make <<\_ACEOF
49762 SHELL = /bin/sh
49763 all:
49764 @echo '@@@%%%=$(MAKE)=@@@%%%'
49765 _ACEOF
49766 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49767 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49768 *@@@%%%=?*=@@@%%%*)
49769 eval ac_cv_prog_make_${ac_make}_set=yes;;
49770 *)
49771 eval ac_cv_prog_make_${ac_make}_set=no;;
49772 esac
49773 rm -f conftest.make
49774 fi
49775 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49776 { echo "$as_me:$LINENO: result: yes" >&5
49777 echo "${ECHO_T}yes" >&6; }
49778 SET_MAKE=
49779 else
49780 { echo "$as_me:$LINENO: result: no" >&5
49781 echo "${ECHO_T}no" >&6; }
49782 SET_MAKE="MAKE=${MAKE-make}"
49783 fi
49784
49785
49786
49787 if test "x$SUNCXX" = "xyes"; then
49788 AR=$CXX
49789 AROPTIONS="-xar -o"
49790
49791 elif test "x$SGICC" = "xyes"; then
49792 AR=$CXX
49793 AROPTIONS="-ar -o"
49794
49795 else
49796 if test -n "$ac_tool_prefix"; then
49797 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49798 set dummy ${ac_tool_prefix}ar; ac_word=$2
49799 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49801 if test "${ac_cv_prog_AR+set}" = set; then
49802 echo $ECHO_N "(cached) $ECHO_C" >&6
49803 else
49804 if test -n "$AR"; then
49805 ac_cv_prog_AR="$AR" # Let the user override the test.
49806 else
49807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49808 for as_dir in $PATH
49809 do
49810 IFS=$as_save_IFS
49811 test -z "$as_dir" && as_dir=.
49812 for ac_exec_ext in '' $ac_executable_extensions; do
49813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49814 ac_cv_prog_AR="${ac_tool_prefix}ar"
49815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49816 break 2
49817 fi
49818 done
49819 done
49820 IFS=$as_save_IFS
49821
49822 fi
49823 fi
49824 AR=$ac_cv_prog_AR
49825 if test -n "$AR"; then
49826 { echo "$as_me:$LINENO: result: $AR" >&5
49827 echo "${ECHO_T}$AR" >&6; }
49828 else
49829 { echo "$as_me:$LINENO: result: no" >&5
49830 echo "${ECHO_T}no" >&6; }
49831 fi
49832
49833
49834 fi
49835 if test -z "$ac_cv_prog_AR"; then
49836 ac_ct_AR=$AR
49837 # Extract the first word of "ar", so it can be a program name with args.
49838 set dummy ar; ac_word=$2
49839 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49841 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49842 echo $ECHO_N "(cached) $ECHO_C" >&6
49843 else
49844 if test -n "$ac_ct_AR"; then
49845 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49846 else
49847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49848 for as_dir in $PATH
49849 do
49850 IFS=$as_save_IFS
49851 test -z "$as_dir" && as_dir=.
49852 for ac_exec_ext in '' $ac_executable_extensions; do
49853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49854 ac_cv_prog_ac_ct_AR="ar"
49855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49856 break 2
49857 fi
49858 done
49859 done
49860 IFS=$as_save_IFS
49861
49862 fi
49863 fi
49864 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49865 if test -n "$ac_ct_AR"; then
49866 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49867 echo "${ECHO_T}$ac_ct_AR" >&6; }
49868 else
49869 { echo "$as_me:$LINENO: result: no" >&5
49870 echo "${ECHO_T}no" >&6; }
49871 fi
49872
49873 if test "x$ac_ct_AR" = x; then
49874 AR="ar"
49875 else
49876 case $cross_compiling:$ac_tool_warned in
49877 yes:)
49878 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49879 whose name does not start with the host triplet. If you think this
49880 configuration is useful to you, please write to autoconf@gnu.org." >&5
49881 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49882 whose name does not start with the host triplet. If you think this
49883 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49884 ac_tool_warned=yes ;;
49885 esac
49886 AR=$ac_ct_AR
49887 fi
49888 else
49889 AR="$ac_cv_prog_AR"
49890 fi
49891
49892 AROPTIONS=rcu
49893 fi
49894
49895
49896 if test -n "$ac_tool_prefix"; then
49897 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49898 set dummy ${ac_tool_prefix}strip; ac_word=$2
49899 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49900 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49901 if test "${ac_cv_prog_STRIP+set}" = set; then
49902 echo $ECHO_N "(cached) $ECHO_C" >&6
49903 else
49904 if test -n "$STRIP"; then
49905 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49906 else
49907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49908 for as_dir in $PATH
49909 do
49910 IFS=$as_save_IFS
49911 test -z "$as_dir" && as_dir=.
49912 for ac_exec_ext in '' $ac_executable_extensions; do
49913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49914 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49916 break 2
49917 fi
49918 done
49919 done
49920 IFS=$as_save_IFS
49921
49922 fi
49923 fi
49924 STRIP=$ac_cv_prog_STRIP
49925 if test -n "$STRIP"; then
49926 { echo "$as_me:$LINENO: result: $STRIP" >&5
49927 echo "${ECHO_T}$STRIP" >&6; }
49928 else
49929 { echo "$as_me:$LINENO: result: no" >&5
49930 echo "${ECHO_T}no" >&6; }
49931 fi
49932
49933
49934 fi
49935 if test -z "$ac_cv_prog_STRIP"; then
49936 ac_ct_STRIP=$STRIP
49937 # Extract the first word of "strip", so it can be a program name with args.
49938 set dummy strip; ac_word=$2
49939 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49941 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49942 echo $ECHO_N "(cached) $ECHO_C" >&6
49943 else
49944 if test -n "$ac_ct_STRIP"; then
49945 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49946 else
49947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49948 for as_dir in $PATH
49949 do
49950 IFS=$as_save_IFS
49951 test -z "$as_dir" && as_dir=.
49952 for ac_exec_ext in '' $ac_executable_extensions; do
49953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49954 ac_cv_prog_ac_ct_STRIP="strip"
49955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49956 break 2
49957 fi
49958 done
49959 done
49960 IFS=$as_save_IFS
49961
49962 fi
49963 fi
49964 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49965 if test -n "$ac_ct_STRIP"; then
49966 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49967 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49968 else
49969 { echo "$as_me:$LINENO: result: no" >&5
49970 echo "${ECHO_T}no" >&6; }
49971 fi
49972
49973 if test "x$ac_ct_STRIP" = x; then
49974 STRIP=":"
49975 else
49976 case $cross_compiling:$ac_tool_warned in
49977 yes:)
49978 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49979 whose name does not start with the host triplet. If you think this
49980 configuration is useful to you, please write to autoconf@gnu.org." >&5
49981 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49982 whose name does not start with the host triplet. If you think this
49983 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49984 ac_tool_warned=yes ;;
49985 esac
49986 STRIP=$ac_ct_STRIP
49987 fi
49988 else
49989 STRIP="$ac_cv_prog_STRIP"
49990 fi
49991
49992 if test -n "$ac_tool_prefix"; then
49993 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49994 set dummy ${ac_tool_prefix}nm; ac_word=$2
49995 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49997 if test "${ac_cv_prog_NM+set}" = set; then
49998 echo $ECHO_N "(cached) $ECHO_C" >&6
49999 else
50000 if test -n "$NM"; then
50001 ac_cv_prog_NM="$NM" # Let the user override the test.
50002 else
50003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50004 for as_dir in $PATH
50005 do
50006 IFS=$as_save_IFS
50007 test -z "$as_dir" && as_dir=.
50008 for ac_exec_ext in '' $ac_executable_extensions; do
50009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50010 ac_cv_prog_NM="${ac_tool_prefix}nm"
50011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50012 break 2
50013 fi
50014 done
50015 done
50016 IFS=$as_save_IFS
50017
50018 fi
50019 fi
50020 NM=$ac_cv_prog_NM
50021 if test -n "$NM"; then
50022 { echo "$as_me:$LINENO: result: $NM" >&5
50023 echo "${ECHO_T}$NM" >&6; }
50024 else
50025 { echo "$as_me:$LINENO: result: no" >&5
50026 echo "${ECHO_T}no" >&6; }
50027 fi
50028
50029
50030 fi
50031 if test -z "$ac_cv_prog_NM"; then
50032 ac_ct_NM=$NM
50033 # Extract the first word of "nm", so it can be a program name with args.
50034 set dummy nm; ac_word=$2
50035 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50037 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
50038 echo $ECHO_N "(cached) $ECHO_C" >&6
50039 else
50040 if test -n "$ac_ct_NM"; then
50041 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
50042 else
50043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50044 for as_dir in $PATH
50045 do
50046 IFS=$as_save_IFS
50047 test -z "$as_dir" && as_dir=.
50048 for ac_exec_ext in '' $ac_executable_extensions; do
50049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50050 ac_cv_prog_ac_ct_NM="nm"
50051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50052 break 2
50053 fi
50054 done
50055 done
50056 IFS=$as_save_IFS
50057
50058 fi
50059 fi
50060 ac_ct_NM=$ac_cv_prog_ac_ct_NM
50061 if test -n "$ac_ct_NM"; then
50062 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
50063 echo "${ECHO_T}$ac_ct_NM" >&6; }
50064 else
50065 { echo "$as_me:$LINENO: result: no" >&5
50066 echo "${ECHO_T}no" >&6; }
50067 fi
50068
50069 if test "x$ac_ct_NM" = x; then
50070 NM=":"
50071 else
50072 case $cross_compiling:$ac_tool_warned in
50073 yes:)
50074 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50075 whose name does not start with the host triplet. If you think this
50076 configuration is useful to you, please write to autoconf@gnu.org." >&5
50077 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50078 whose name does not start with the host triplet. If you think this
50079 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50080 ac_tool_warned=yes ;;
50081 esac
50082 NM=$ac_ct_NM
50083 fi
50084 else
50085 NM="$ac_cv_prog_NM"
50086 fi
50087
50088
50089 { echo "$as_me:$LINENO: checking for command to install directories" >&5
50090 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
50091 INSTALL_TEST_DIR=acbftest$$
50092 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
50093 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
50094 rmdir $INSTALL_TEST_DIR
50095 INSTALL_DIR='$(INSTALL) -d'
50096 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
50097 echo "${ECHO_T}$INSTALL -d" >&6; }
50098 else
50099 INSTALL_DIR="mkdir -p"
50100 { echo "$as_me:$LINENO: result: mkdir -p" >&5
50101 echo "${ECHO_T}mkdir -p" >&6; }
50102 fi
50103
50104
50105 LDFLAGS_GUI=
50106 case ${BAKEFILE_HOST} in
50107 *-*-cygwin* | *-*-mingw32* )
50108 LDFLAGS_GUI="-mwindows"
50109 esac
50110
50111
50112 fi
50113
50114 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
50115 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
50116 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50117 echo $ECHO_N "(cached) $ECHO_C" >&6
50118 else
50119
50120 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
50121 egrep -s GNU > /dev/null); then
50122 bakefile_cv_prog_makeisgnu="yes"
50123 else
50124 bakefile_cv_prog_makeisgnu="no"
50125 fi
50126
50127 fi
50128 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50129 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50130
50131 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50132 IF_GNU_MAKE=""
50133 else
50134 IF_GNU_MAKE="#"
50135 fi
50136
50137
50138
50139 PLATFORM_UNIX=0
50140 PLATFORM_WIN32=0
50141 PLATFORM_MSDOS=0
50142 PLATFORM_MAC=0
50143 PLATFORM_MACOS=0
50144 PLATFORM_MACOSX=0
50145 PLATFORM_OS2=0
50146 PLATFORM_BEOS=0
50147
50148 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50149 case "${BAKEFILE_HOST}" in
50150 *-*-mingw32* )
50151 PLATFORM_WIN32=1
50152 ;;
50153 *-pc-msdosdjgpp )
50154 PLATFORM_MSDOS=1
50155 ;;
50156 *-pc-os2_emx | *-pc-os2-emx )
50157 PLATFORM_OS2=1
50158 ;;
50159 *-*-darwin* )
50160 PLATFORM_MAC=1
50161 PLATFORM_MACOSX=1
50162 ;;
50163 *-*-beos* )
50164 PLATFORM_BEOS=1
50165 ;;
50166 powerpc-apple-macos* )
50167 PLATFORM_MAC=1
50168 PLATFORM_MACOS=1
50169 ;;
50170 * )
50171 PLATFORM_UNIX=1
50172 ;;
50173 esac
50174 else
50175 case "$BAKEFILE_FORCE_PLATFORM" in
50176 win32 )
50177 PLATFORM_WIN32=1
50178 ;;
50179 msdos )
50180 PLATFORM_MSDOS=1
50181 ;;
50182 os2 )
50183 PLATFORM_OS2=1
50184 ;;
50185 darwin )
50186 PLATFORM_MAC=1
50187 PLATFORM_MACOSX=1
50188 ;;
50189 unix )
50190 PLATFORM_UNIX=1
50191 ;;
50192 beos )
50193 PLATFORM_BEOS=1
50194 ;;
50195 * )
50196 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
50197 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
50198 { (exit 1); exit 1; }; }
50199 ;;
50200 esac
50201 fi
50202
50203
50204
50205
50206
50207
50208
50209
50210
50211
50212
50213 # Check whether --enable-omf was given.
50214 if test "${enable_omf+set}" = set; then
50215 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50216 fi
50217
50218
50219 case "${BAKEFILE_HOST}" in
50220 *-*-darwin* )
50221 if test "x$GCC" = "xyes"; then
50222 CFLAGS="$CFLAGS -fno-common"
50223 CXXFLAGS="$CXXFLAGS -fno-common"
50224 fi
50225 if test "x$XLCC" = "xyes"; then
50226 CFLAGS="$CFLAGS -qnocommon"
50227 CXXFLAGS="$CXXFLAGS -qnocommon"
50228 fi
50229 ;;
50230
50231 *-pc-os2_emx | *-pc-os2-emx )
50232 if test "x$bk_os2_use_omf" = "xyes" ; then
50233 AR=emxomfar
50234 RANLIB=:
50235 LDFLAGS="-Zomf $LDFLAGS"
50236 CFLAGS="-Zomf $CFLAGS"
50237 CXXFLAGS="-Zomf $CXXFLAGS"
50238 OS2_LIBEXT="lib"
50239 else
50240 OS2_LIBEXT="a"
50241 fi
50242 ;;
50243
50244 i*86-*-beos* )
50245 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50246 ;;
50247 esac
50248
50249
50250 SO_SUFFIX="so"
50251 SO_SUFFIX_MODULE="so"
50252 EXEEXT=""
50253 LIBPREFIX="lib"
50254 LIBEXT=".a"
50255 DLLPREFIX="lib"
50256 DLLPREFIX_MODULE=""
50257 DLLIMP_SUFFIX=""
50258 dlldir="$libdir"
50259
50260 case "${BAKEFILE_HOST}" in
50261 ia64-hp-hpux* )
50262 ;;
50263 *-hp-hpux* )
50264 SO_SUFFIX="sl"
50265 SO_SUFFIX_MODULE="sl"
50266 ;;
50267 *-*-aix* )
50268 SO_SUFFIX="a"
50269 SO_SUFFIX_MODULE="a"
50270 ;;
50271 *-*-cygwin* )
50272 SO_SUFFIX="dll"
50273 SO_SUFFIX_MODULE="dll"
50274 DLLIMP_SUFFIX="dll.a"
50275 EXEEXT=".exe"
50276 DLLPREFIX="cyg"
50277 dlldir="$bindir"
50278 ;;
50279 *-*-mingw32* )
50280 SO_SUFFIX="dll"
50281 SO_SUFFIX_MODULE="dll"
50282 DLLIMP_SUFFIX="dll.a"
50283 EXEEXT=".exe"
50284 DLLPREFIX=""
50285 dlldir="$bindir"
50286 ;;
50287 *-pc-msdosdjgpp )
50288 EXEEXT=".exe"
50289 DLLPREFIX=""
50290 dlldir="$bindir"
50291 ;;
50292 *-pc-os2_emx | *-pc-os2-emx )
50293 SO_SUFFIX="dll"
50294 SO_SUFFIX_MODULE="dll"
50295 DLLIMP_SUFFIX=$OS2_LIBEXT
50296 EXEEXT=".exe"
50297 DLLPREFIX=""
50298 LIBPREFIX=""
50299 LIBEXT=".$OS2_LIBEXT"
50300 dlldir="$bindir"
50301 ;;
50302 *-*-darwin* )
50303 SO_SUFFIX="dylib"
50304 SO_SUFFIX_MODULE="bundle"
50305 ;;
50306 esac
50307
50308 if test "x$DLLIMP_SUFFIX" = "x" ; then
50309 DLLIMP_SUFFIX="$SO_SUFFIX"
50310 fi
50311
50312
50313
50314
50315
50316
50317
50318
50319
50320
50321
50322
50323 PIC_FLAG=""
50324 if test "x$GCC" = "xyes"; then
50325 PIC_FLAG="-fPIC"
50326 fi
50327
50328 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50329 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50330 WINDOWS_IMPLIB=0
50331
50332 case "${BAKEFILE_HOST}" in
50333 *-hp-hpux* )
50334 if test "x$GCC" != "xyes"; then
50335 LDFLAGS="$LDFLAGS -L/usr/lib"
50336
50337 SHARED_LD_CC="${CC} -b -o"
50338 SHARED_LD_CXX="${CXX} -b -o"
50339 PIC_FLAG="+Z"
50340 fi
50341 ;;
50342
50343 *-*-linux* )
50344 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
50345 PIC_FLAG="-KPIC"
50346 elif test "x$SUNCXX" = "xyes"; then
50347 SHARED_LD_CC="${CC} -G -o"
50348 SHARED_LD_CXX="${CXX} -G -o"
50349 PIC_FLAG="-KPIC"
50350 fi
50351 ;;
50352
50353 *-*-solaris2* )
50354 if test "x$SUNCXX" = xyes ; then
50355 SHARED_LD_CC="${CC} -G -o"
50356 SHARED_LD_CXX="${CXX} -G -o"
50357 PIC_FLAG="-KPIC"
50358 fi
50359 ;;
50360
50361 *-*-darwin* )
50362
50363 D='$'
50364 cat <<EOF >shared-ld-sh
50365 #!/bin/sh
50366 #-----------------------------------------------------------------------------
50367 #-- Name: distrib/mac/shared-ld-sh
50368 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50369 #-- Author: Gilles Depeyrot
50370 #-- Copyright: (c) 2002 Gilles Depeyrot
50371 #-- Licence: any use permitted
50372 #-----------------------------------------------------------------------------
50373
50374 verbose=0
50375 args=""
50376 objects=""
50377 linking_flag="-dynamiclib"
50378 ldargs="-r -keep_private_externs -nostdlib"
50379
50380 if test "x${D}CXX" = "x"; then
50381 CXX="c++"
50382 fi
50383
50384 while test ${D}# -gt 0; do
50385 case ${D}1 in
50386
50387 -v)
50388 verbose=1
50389 ;;
50390
50391 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50392 # collect these options and values
50393 args="${D}{args} ${D}1 ${D}2"
50394 shift
50395 ;;
50396
50397 -arch|-isysroot)
50398 # collect these options and values
50399 ldargs="${D}{ldargs} ${D}1 ${D}2"
50400 shift
50401 ;;
50402
50403 -s|-Wl,*)
50404 # collect these load args
50405 ldargs="${D}{ldargs} ${D}1"
50406 ;;
50407
50408 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50409 # collect these options
50410 args="${D}{args} ${D}1"
50411 ;;
50412
50413 -dynamiclib|-bundle)
50414 linking_flag="${D}1"
50415 ;;
50416
50417 -*)
50418 echo "shared-ld: unhandled option '${D}1'"
50419 exit 1
50420 ;;
50421
50422 *.o | *.a | *.dylib)
50423 # collect object files
50424 objects="${D}{objects} ${D}1"
50425 ;;
50426
50427 *)
50428 echo "shared-ld: unhandled argument '${D}1'"
50429 exit 1
50430 ;;
50431
50432 esac
50433 shift
50434 done
50435
50436 status=0
50437
50438 #
50439 # Link one module containing all the others
50440 #
50441 if test ${D}{verbose} = 1; then
50442 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50443 fi
50444 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50445 status=${D}?
50446
50447 #
50448 # Link the shared library from the single module created, but only if the
50449 # previous command didn't fail:
50450 #
50451 if test ${D}{status} = 0; then
50452 if test ${D}{verbose} = 1; then
50453 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50454 fi
50455 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50456 status=${D}?
50457 fi
50458
50459 #
50460 # Remove intermediate module
50461 #
50462 rm -f master.${D}${D}.o
50463
50464 exit ${D}status
50465 EOF
50466
50467 chmod +x shared-ld-sh
50468
50469 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50470 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
50471
50472
50473 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50474 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50475 if test "${bakefile_cv_gcc31+set}" = set; then
50476 echo $ECHO_N "(cached) $ECHO_C" >&6
50477 else
50478
50479 cat >conftest.$ac_ext <<_ACEOF
50480 /* confdefs.h. */
50481 _ACEOF
50482 cat confdefs.h >>conftest.$ac_ext
50483 cat >>conftest.$ac_ext <<_ACEOF
50484 /* end confdefs.h. */
50485
50486 int
50487 main ()
50488 {
50489
50490 #if (__GNUC__ < 3) || \
50491 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50492 This is old gcc
50493 #endif
50494
50495 ;
50496 return 0;
50497 }
50498 _ACEOF
50499 rm -f conftest.$ac_objext
50500 if { (ac_try="$ac_compile"
50501 case "(($ac_try" in
50502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50503 *) ac_try_echo=$ac_try;;
50504 esac
50505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50506 (eval "$ac_compile") 2>conftest.er1
50507 ac_status=$?
50508 grep -v '^ *+' conftest.er1 >conftest.err
50509 rm -f conftest.er1
50510 cat conftest.err >&5
50511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50512 (exit $ac_status); } && {
50513 test -z "$ac_c_werror_flag" ||
50514 test ! -s conftest.err
50515 } && test -s conftest.$ac_objext; then
50516
50517 bakefile_cv_gcc31=yes
50518
50519 else
50520 echo "$as_me: failed program was:" >&5
50521 sed 's/^/| /' conftest.$ac_ext >&5
50522
50523
50524 bakefile_cv_gcc31=no
50525
50526
50527 fi
50528
50529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50530
50531 fi
50532 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50533 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50534 if test "$bakefile_cv_gcc31" = "no"; then
50535 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50536 SHARED_LD_CXX="$SHARED_LD_CC"
50537 else
50538 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50539 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50540 fi
50541
50542 if test "x$GCC" == "xyes"; then
50543 PIC_FLAG="-dynamic -fPIC"
50544 fi
50545 if test "x$XLCC" = "xyes"; then
50546 PIC_FLAG="-dynamic -DPIC"
50547 fi
50548 ;;
50549
50550 *-*-aix* )
50551 if test "x$GCC" = "xyes"; then
50552 PIC_FLAG=""
50553
50554 case "${BAKEFILE_HOST}" in
50555 *-*-aix5* )
50556 LD_EXPFULL="-Wl,-bexpfull"
50557 ;;
50558 esac
50559
50560 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50561 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50562 else
50563 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50564 set dummy makeC++SharedLib; ac_word=$2
50565 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50567 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50568 echo $ECHO_N "(cached) $ECHO_C" >&6
50569 else
50570 if test -n "$AIX_CXX_LD"; then
50571 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50572 else
50573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50574 for as_dir in $PATH
50575 do
50576 IFS=$as_save_IFS
50577 test -z "$as_dir" && as_dir=.
50578 for ac_exec_ext in '' $ac_executable_extensions; do
50579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50580 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50582 break 2
50583 fi
50584 done
50585 done
50586 IFS=$as_save_IFS
50587
50588 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50589 fi
50590 fi
50591 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50592 if test -n "$AIX_CXX_LD"; then
50593 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50594 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50595 else
50596 { echo "$as_me:$LINENO: result: no" >&5
50597 echo "${ECHO_T}no" >&6; }
50598 fi
50599
50600
50601 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50602 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50603 fi
50604 ;;
50605
50606 *-*-beos* )
50607 SHARED_LD_CC="${LD} -nostart -o"
50608 SHARED_LD_CXX="${LD} -nostart -o"
50609 ;;
50610
50611 *-*-irix* )
50612 if test "x$GCC" != "xyes"; then
50613 PIC_FLAG="-KPIC"
50614 fi
50615 ;;
50616
50617 *-*-cygwin* | *-*-mingw32* )
50618 PIC_FLAG=""
50619 SHARED_LD_CC="\$(CC) -shared -o"
50620 SHARED_LD_CXX="\$(CXX) -shared -o"
50621 WINDOWS_IMPLIB=1
50622 ;;
50623
50624 *-pc-os2_emx | *-pc-os2-emx )
50625 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50626 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50627 PIC_FLAG=""
50628
50629 D='$'
50630 cat <<EOF >dllar.sh
50631 #!/bin/sh
50632 #
50633 # dllar - a tool to build both a .dll and an .a file
50634 # from a set of object (.o) files for EMX/OS2.
50635 #
50636 # Written by Andrew Zabolotny, bit@freya.etu.ru
50637 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50638 #
50639 # This script will accept a set of files on the command line.
50640 # All the public symbols from the .o files will be exported into
50641 # a .DEF file, then linker will be run (through gcc) against them to
50642 # build a shared library consisting of all given .o files. All libraries
50643 # (.a) will be first decompressed into component .o files then act as
50644 # described above. You can optionally give a description (-d "description")
50645 # which will be put into .DLL. To see the list of accepted options (as well
50646 # as command-line format) simply run this program without options. The .DLL
50647 # is built to be imported by name (there is no guarantee that new versions
50648 # of the library you build will have same ordinals for same symbols).
50649 #
50650 # dllar is free software; you can redistribute it and/or modify
50651 # it under the terms of the GNU General Public License as published by
50652 # the Free Software Foundation; either version 2, or (at your option)
50653 # any later version.
50654 #
50655 # dllar is distributed in the hope that it will be useful,
50656 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50657 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50658 # GNU General Public License for more details.
50659 #
50660 # You should have received a copy of the GNU General Public License
50661 # along with dllar; see the file COPYING. If not, write to the Free
50662 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50663 # 02111-1307, USA.
50664
50665 # To successfuly run this program you will need:
50666 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50667 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50668 # - gcc
50669 # (used to build the .dll)
50670 # - emxexp
50671 # (used to create .def file from .o files)
50672 # - emximp
50673 # (used to create .a file from .def file)
50674 # - GNU text utilites (cat, sort, uniq)
50675 # used to process emxexp output
50676 # - GNU file utilities (mv, rm)
50677 # - GNU sed
50678 # - lxlite (optional, see flag below)
50679 # (used for general .dll cleanup)
50680 #
50681
50682 flag_USE_LXLITE=1;
50683
50684 #
50685 # helper functions
50686 # basnam, variant of basename, which does _not_ remove the path, _iff_
50687 # second argument (suffix to remove) is given
50688 basnam(){
50689 case ${D}# in
50690 1)
50691 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50692 ;;
50693 2)
50694 echo ${D}1 | sed 's/'${D}2'${D}//'
50695 ;;
50696 *)
50697 echo "error in basnam ${D}*"
50698 exit 8
50699 ;;
50700 esac
50701 }
50702
50703 # Cleanup temporary files and output
50704 CleanUp() {
50705 cd ${D}curDir
50706 for i in ${D}inputFiles ; do
50707 case ${D}i in
50708 *!)
50709 rm -rf \`basnam ${D}i !\`
50710 ;;
50711 *)
50712 ;;
50713 esac
50714 done
50715
50716 # Kill result in case of failure as there is just to many stupid make/nmake
50717 # things out there which doesn't do this.
50718 if [ ${D}# -eq 0 ]; then
50719 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50720 fi
50721 }
50722
50723 # Print usage and exit script with rc=1.
50724 PrintHelp() {
50725 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50726 echo ' [-name-mangler-script script.sh]'
50727 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50728 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50729 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50730 echo ' [*.o] [*.a]'
50731 echo '*> "output_file" should have no extension.'
50732 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50733 echo ' The import library name is derived from this and is set to "name".a,'
50734 echo ' unless overridden by -import'
50735 echo '*> "importlib_name" should have no extension.'
50736 echo ' If it has the .o, or .a extension, it is automatically removed.'
50737 echo ' This name is used as the import library name and may be longer and'
50738 echo ' more descriptive than the DLL name which has to follow the old '
50739 echo ' 8.3 convention of FAT.'
50740 echo '*> "script.sh may be given to override the output_file name by a'
50741 echo ' different name. It is mainly useful if the regular make process'
50742 echo ' of some package does not take into account OS/2 restriction of'
50743 echo ' DLL name lengths. It takes the importlib name as input and is'
50744 echo ' supposed to procude a shorter name as output. The script should'
50745 echo ' expect to get importlib_name without extension and should produce'
50746 echo ' a (max.) 8 letter name without extension.'
50747 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50748 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50749 echo ' These flags will be put at the start of GCC command line.'
50750 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50751 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50752 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50753 echo ' If the last character of a symbol is "*", all symbols beginning'
50754 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50755 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50756 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50757 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50758 echo ' C runtime DLLs.'
50759 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50760 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50761 echo ' unchanged to GCC at the end of command line.'
50762 echo '*> If you create a DLL from a library and you do not specify -o,'
50763 echo ' the basename for DLL and import library will be set to library name,'
50764 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50765 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50766 echo ' library will be renamed into gcc_s.a.'
50767 echo '--------'
50768 echo 'Example:'
50769 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50770 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50771 CleanUp
50772 exit 1
50773 }
50774
50775 # Execute a command.
50776 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50777 # @Uses Whatever CleanUp() uses.
50778 doCommand() {
50779 echo "${D}*"
50780 eval ${D}*
50781 rcCmd=${D}?
50782
50783 if [ ${D}rcCmd -ne 0 ]; then
50784 echo "command failed, exit code="${D}rcCmd
50785 CleanUp
50786 exit ${D}rcCmd
50787 fi
50788 }
50789
50790 # main routine
50791 # setup globals
50792 cmdLine=${D}*
50793 outFile=""
50794 outimpFile=""
50795 inputFiles=""
50796 renameScript=""
50797 description=""
50798 CC=gcc.exe
50799 CFLAGS="-s -Zcrtdll"
50800 EXTRA_CFLAGS=""
50801 EXPORT_BY_ORDINALS=0
50802 exclude_symbols=""
50803 library_flags=""
50804 curDir=\`pwd\`
50805 curDirS=curDir
50806 case ${D}curDirS in
50807 */)
50808 ;;
50809 *)
50810 curDirS=${D}{curDirS}"/"
50811 ;;
50812 esac
50813 # Parse commandline
50814 libsToLink=0
50815 omfLinking=0
50816 while [ ${D}1 ]; do
50817 case ${D}1 in
50818 -ord*)
50819 EXPORT_BY_ORDINALS=1;
50820 ;;
50821 -o*)
50822 shift
50823 outFile=${D}1
50824 ;;
50825 -i*)
50826 shift
50827 outimpFile=${D}1
50828 ;;
50829 -name-mangler-script)
50830 shift
50831 renameScript=${D}1
50832 ;;
50833 -d*)
50834 shift
50835 description=${D}1
50836 ;;
50837 -f*)
50838 shift
50839 CFLAGS=${D}1
50840 ;;
50841 -c*)
50842 shift
50843 CC=${D}1
50844 ;;
50845 -h*)
50846 PrintHelp
50847 ;;
50848 -ex*)
50849 shift
50850 exclude_symbols=${D}{exclude_symbols}${D}1" "
50851 ;;
50852 -libf*)
50853 shift
50854 library_flags=${D}{library_flags}${D}1" "
50855 ;;
50856 -nocrt*)
50857 CFLAGS="-s"
50858 ;;
50859 -nolxl*)
50860 flag_USE_LXLITE=0
50861 ;;
50862 -* | /*)
50863 case ${D}1 in
50864 -L* | -l*)
50865 libsToLink=1
50866 ;;
50867 -Zomf)
50868 omfLinking=1
50869 ;;
50870 *)
50871 ;;
50872 esac
50873 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50874 ;;
50875 *.dll)
50876 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50877 if [ ${D}omfLinking -eq 1 ]; then
50878 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50879 else
50880 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50881 fi
50882 ;;
50883 *)
50884 found=0;
50885 if [ ${D}libsToLink -ne 0 ]; then
50886 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50887 else
50888 for file in ${D}1 ; do
50889 if [ -f ${D}file ]; then
50890 inputFiles="${D}{inputFiles} ${D}file"
50891 found=1
50892 fi
50893 done
50894 if [ ${D}found -eq 0 ]; then
50895 echo "ERROR: No file(s) found: "${D}1
50896 exit 8
50897 fi
50898 fi
50899 ;;
50900 esac
50901 shift
50902 done # iterate cmdline words
50903
50904 #
50905 if [ -z "${D}inputFiles" ]; then
50906 echo "dllar: no input files"
50907 PrintHelp
50908 fi
50909
50910 # Now extract all .o files from .a files
50911 newInputFiles=""
50912 for file in ${D}inputFiles ; do
50913 case ${D}file in
50914 *.a | *.lib)
50915 case ${D}file in
50916 *.a)
50917 suffix=".a"
50918 AR="ar"
50919 ;;
50920 *.lib)
50921 suffix=".lib"
50922 AR="emxomfar"
50923 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50924 ;;
50925 *)
50926 ;;
50927 esac
50928 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50929 mkdir ${D}dirname
50930 if [ ${D}? -ne 0 ]; then
50931 echo "Failed to create subdirectory ./${D}dirname"
50932 CleanUp
50933 exit 8;
50934 fi
50935 # Append '!' to indicate archive
50936 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50937 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50938 cd ${D}curDir
50939 found=0;
50940 for subfile in ${D}dirname/*.o* ; do
50941 if [ -f ${D}subfile ]; then
50942 found=1
50943 if [ -s ${D}subfile ]; then
50944 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50945 newInputFiles="${D}newInputFiles ${D}subfile"
50946 fi
50947 fi
50948 done
50949 if [ ${D}found -eq 0 ]; then
50950 echo "WARNING: there are no files in archive \\'${D}file\\'"
50951 fi
50952 ;;
50953 *)
50954 newInputFiles="${D}{newInputFiles} ${D}file"
50955 ;;
50956 esac
50957 done
50958 inputFiles="${D}newInputFiles"
50959
50960 # Output filename(s).
50961 do_backup=0;
50962 if [ -z ${D}outFile ]; then
50963 do_backup=1;
50964 set outFile ${D}inputFiles; outFile=${D}2
50965 fi
50966
50967 # If it is an archive, remove the '!' and the '_%' suffixes
50968 case ${D}outFile in
50969 *_%!)
50970 outFile=\`basnam ${D}outFile _%!\`
50971 ;;
50972 *)
50973 ;;
50974 esac
50975 case ${D}outFile in
50976 *.dll)
50977 outFile=\`basnam ${D}outFile .dll\`
50978 ;;
50979 *.DLL)
50980 outFile=\`basnam ${D}outFile .DLL\`
50981 ;;
50982 *.o)
50983 outFile=\`basnam ${D}outFile .o\`
50984 ;;
50985 *.obj)
50986 outFile=\`basnam ${D}outFile .obj\`
50987 ;;
50988 *.a)
50989 outFile=\`basnam ${D}outFile .a\`
50990 ;;
50991 *.lib)
50992 outFile=\`basnam ${D}outFile .lib\`
50993 ;;
50994 *)
50995 ;;
50996 esac
50997 case ${D}outimpFile in
50998 *.a)
50999 outimpFile=\`basnam ${D}outimpFile .a\`
51000 ;;
51001 *.lib)
51002 outimpFile=\`basnam ${D}outimpFile .lib\`
51003 ;;
51004 *)
51005 ;;
51006 esac
51007 if [ -z ${D}outimpFile ]; then
51008 outimpFile=${D}outFile
51009 fi
51010 defFile="${D}{outFile}.def"
51011 arcFile="${D}{outimpFile}.a"
51012 arcFile2="${D}{outimpFile}.lib"
51013
51014 #create ${D}dllFile as something matching 8.3 restrictions,
51015 if [ -z ${D}renameScript ] ; then
51016 dllFile="${D}outFile"
51017 else
51018 dllFile=\`${D}renameScript ${D}outimpFile\`
51019 fi
51020
51021 if [ ${D}do_backup -ne 0 ] ; then
51022 if [ -f ${D}arcFile ] ; then
51023 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
51024 fi
51025 if [ -f ${D}arcFile2 ] ; then
51026 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
51027 fi
51028 fi
51029
51030 # Extract public symbols from all the object files.
51031 tmpdefFile=${D}{defFile}_%
51032 rm -f ${D}tmpdefFile
51033 for file in ${D}inputFiles ; do
51034 case ${D}file in
51035 *!)
51036 ;;
51037 *)
51038 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
51039 ;;
51040 esac
51041 done
51042
51043 # Create the def file.
51044 rm -f ${D}defFile
51045 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
51046 dllFile="${D}{dllFile}.dll"
51047 if [ ! -z ${D}description ]; then
51048 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
51049 fi
51050 echo "EXPORTS" >> ${D}defFile
51051
51052 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
51053 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
51054
51055 # Checks if the export is ok or not.
51056 for word in ${D}exclude_symbols; do
51057 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
51058 mv ${D}{tmpdefFile}% ${D}tmpdefFile
51059 done
51060
51061
51062 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51063 sed "=" < ${D}tmpdefFile | \\
51064 sed '
51065 N
51066 : loop
51067 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
51068 t loop
51069 ' > ${D}{tmpdefFile}%
51070 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
51071 else
51072 rm -f ${D}{tmpdefFile}%
51073 fi
51074 cat ${D}tmpdefFile >> ${D}defFile
51075 rm -f ${D}tmpdefFile
51076
51077 # Do linking, create implib, and apply lxlite.
51078 gccCmdl="";
51079 for file in ${D}inputFiles ; do
51080 case ${D}file in
51081 *!)
51082 ;;
51083 *)
51084 gccCmdl="${D}gccCmdl ${D}file"
51085 ;;
51086 esac
51087 done
51088 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
51089 touch "${D}{outFile}.dll"
51090
51091 doCommand "emximp -o ${D}arcFile ${D}defFile"
51092 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
51093 add_flags="";
51094 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51095 add_flags="-ynd"
51096 fi
51097 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
51098 fi
51099 doCommand "emxomf -s -l ${D}arcFile"
51100
51101 # Successful exit.
51102 CleanUp 1
51103 exit 0
51104 EOF
51105
51106 chmod +x dllar.sh
51107 ;;
51108
51109 powerpc-apple-macos* | \
51110 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
51111 *-*-mirbsd* | \
51112 *-*-sunos4* | \
51113 *-*-osf* | \
51114 *-*-dgux5* | \
51115 *-*-sysv5* | \
51116 *-pc-msdosdjgpp )
51117 ;;
51118
51119 *)
51120 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51121 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51122 { (exit 1); exit 1; }; }
51123 esac
51124
51125 if test "x$PIC_FLAG" != "x" ; then
51126 PIC_FLAG="$PIC_FLAG -DPIC"
51127 fi
51128
51129 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51130 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
51131 fi
51132 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51133 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
51134 fi
51135
51136
51137
51138
51139
51140
51141
51142
51143
51144 USE_SOVERSION=0
51145 USE_SOVERLINUX=0
51146 USE_SOVERSOLARIS=0
51147 USE_SOVERCYGWIN=0
51148 USE_SOTWOSYMLINKS=0
51149 USE_MACVERSION=0
51150 SONAME_FLAG=
51151
51152 case "${BAKEFILE_HOST}" in
51153 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
51154 *-*-k*bsd*-gnu | *-*-mirbsd* )
51155 if test "x$SUNCXX" = "xyes"; then
51156 SONAME_FLAG="-h "
51157 else
51158 SONAME_FLAG="-Wl,-soname,"
51159 fi
51160 USE_SOVERSION=1
51161 USE_SOVERLINUX=1
51162 USE_SOTWOSYMLINKS=1
51163 ;;
51164
51165 *-*-solaris2* )
51166 SONAME_FLAG="-h "
51167 USE_SOVERSION=1
51168 USE_SOVERSOLARIS=1
51169 ;;
51170
51171 *-*-darwin* )
51172 USE_MACVERSION=1
51173 USE_SOVERSION=1
51174 USE_SOTWOSYMLINKS=1
51175 ;;
51176
51177 *-*-cygwin* )
51178 USE_SOVERSION=1
51179 USE_SOVERCYGWIN=1
51180 ;;
51181 esac
51182
51183
51184
51185
51186
51187
51188
51189
51190
51191
51192 # Check whether --enable-dependency-tracking was given.
51193 if test "${enable_dependency_tracking+set}" = set; then
51194 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51195 fi
51196
51197
51198 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51199 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51200
51201 BK_DEPS=""
51202 if test "x$bk_use_trackdeps" = "xno" ; then
51203 DEPS_TRACKING=0
51204 { echo "$as_me:$LINENO: result: disabled" >&5
51205 echo "${ECHO_T}disabled" >&6; }
51206 else
51207 DEPS_TRACKING=1
51208
51209 if test "x$GCC" = "xyes"; then
51210 DEPSMODE=gcc
51211 case "${BAKEFILE_HOST}" in
51212 *-*-darwin* )
51213 DEPSFLAG="-no-cpp-precomp -MMD"
51214 ;;
51215 * )
51216 DEPSFLAG="-MMD"
51217 ;;
51218 esac
51219 { echo "$as_me:$LINENO: result: gcc" >&5
51220 echo "${ECHO_T}gcc" >&6; }
51221 elif test "x$MWCC" = "xyes"; then
51222 DEPSMODE=mwcc
51223 DEPSFLAG="-MM"
51224 { echo "$as_me:$LINENO: result: mwcc" >&5
51225 echo "${ECHO_T}mwcc" >&6; }
51226 elif test "x$SUNCC" = "xyes"; then
51227 DEPSMODE=unixcc
51228 DEPSFLAG="-xM1"
51229 { echo "$as_me:$LINENO: result: Sun cc" >&5
51230 echo "${ECHO_T}Sun cc" >&6; }
51231 elif test "x$SGICC" = "xyes"; then
51232 DEPSMODE=unixcc
51233 DEPSFLAG="-M"
51234 { echo "$as_me:$LINENO: result: SGI cc" >&5
51235 echo "${ECHO_T}SGI cc" >&6; }
51236 elif test "x$HPCC" = "xyes"; then
51237 DEPSMODE=unixcc
51238 DEPSFLAG="+make"
51239 { echo "$as_me:$LINENO: result: HP cc" >&5
51240 echo "${ECHO_T}HP cc" >&6; }
51241 elif test "x$COMPAQCC" = "xyes"; then
51242 DEPSMODE=gcc
51243 DEPSFLAG="-MD"
51244 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51245 echo "${ECHO_T}Compaq cc" >&6; }
51246 else
51247 DEPS_TRACKING=0
51248 { echo "$as_me:$LINENO: result: none" >&5
51249 echo "${ECHO_T}none" >&6; }
51250 fi
51251
51252 if test $DEPS_TRACKING = 1 ; then
51253
51254 D='$'
51255 cat <<EOF >bk-deps
51256 #!/bin/sh
51257
51258 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51259 # script. It is used to track C/C++ files dependencies in portable way.
51260 #
51261 # Permission is given to use this file in any way.
51262
51263 DEPSMODE=${DEPSMODE}
51264 DEPSFLAG="${DEPSFLAG}"
51265 DEPSDIRBASE=.deps
51266
51267 if test ${D}DEPSMODE = gcc ; then
51268 ${D}* ${D}{DEPSFLAG}
51269 status=${D}?
51270
51271 # determine location of created files:
51272 while test ${D}# -gt 0; do
51273 case "${D}1" in
51274 -o )
51275 shift
51276 objfile=${D}1
51277 ;;
51278 -* )
51279 ;;
51280 * )
51281 srcfile=${D}1
51282 ;;
51283 esac
51284 shift
51285 done
51286 objfilebase=\`basename ${D}objfile\`
51287 builddir=\`dirname ${D}objfile\`
51288 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51289 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51290 depsdir=${D}builddir/${D}DEPSDIRBASE
51291 mkdir -p ${D}depsdir
51292
51293 # if the compiler failed, we're done:
51294 if test ${D}{status} != 0 ; then
51295 rm -f ${D}depfile
51296 exit ${D}{status}
51297 fi
51298
51299 # move created file to the location we want it in:
51300 if test -f ${D}depfile ; then
51301 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51302 rm -f ${D}depfile
51303 else
51304 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51305 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
51306 if test ! -f ${D}depfile ; then
51307 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51308 depfile="${D}objfile.d"
51309 fi
51310 if test -f ${D}depfile ; then
51311 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51312 rm -f ${D}depfile
51313 fi
51314 fi
51315 exit 0
51316
51317 elif test ${D}DEPSMODE = mwcc ; then
51318 ${D}* || exit ${D}?
51319 # Run mwcc again with -MM and redirect into the dep file we want
51320 # NOTE: We can't use shift here because we need ${D}* to be valid
51321 prevarg=
51322 for arg in ${D}* ; do
51323 if test "${D}prevarg" = "-o"; then
51324 objfile=${D}arg
51325 else
51326 case "${D}arg" in
51327 -* )
51328 ;;
51329 * )
51330 srcfile=${D}arg
51331 ;;
51332 esac
51333 fi
51334 prevarg="${D}arg"
51335 done
51336
51337 objfilebase=\`basename ${D}objfile\`
51338 builddir=\`dirname ${D}objfile\`
51339 depsdir=${D}builddir/${D}DEPSDIRBASE
51340 mkdir -p ${D}depsdir
51341
51342 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
51343 exit 0
51344
51345 elif test ${D}DEPSMODE = unixcc; then
51346 ${D}* || exit ${D}?
51347 # Run compiler again with deps flag and redirect into the dep file.
51348 # It doesn't work if the '-o FILE' option is used, but without it the
51349 # dependency file will contain the wrong name for the object. So it is
51350 # removed from the command line, and the dep file is fixed with sed.
51351 cmd=""
51352 while test ${D}# -gt 0; do
51353 case "${D}1" in
51354 -o )
51355 shift
51356 objfile=${D}1
51357 ;;
51358 * )
51359 eval arg${D}#=\\${D}1
51360 cmd="${D}cmd \\${D}arg${D}#"
51361 ;;
51362 esac
51363 shift
51364 done
51365
51366 objfilebase=\`basename ${D}objfile\`
51367 builddir=\`dirname ${D}objfile\`
51368 depsdir=${D}builddir/${D}DEPSDIRBASE
51369 mkdir -p ${D}depsdir
51370
51371 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
51372 exit 0
51373
51374 else
51375 ${D}*
51376 exit ${D}?
51377 fi
51378 EOF
51379
51380 chmod +x bk-deps
51381 BK_DEPS="`pwd`/bk-deps"
51382 fi
51383 fi
51384
51385
51386
51387
51388
51389 case ${BAKEFILE_HOST} in
51390 *-*-cygwin* | *-*-mingw32* )
51391 if test -n "$ac_tool_prefix"; then
51392 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51393 set dummy ${ac_tool_prefix}windres; ac_word=$2
51394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51396 if test "${ac_cv_prog_WINDRES+set}" = set; then
51397 echo $ECHO_N "(cached) $ECHO_C" >&6
51398 else
51399 if test -n "$WINDRES"; then
51400 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51401 else
51402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51403 for as_dir in $PATH
51404 do
51405 IFS=$as_save_IFS
51406 test -z "$as_dir" && as_dir=.
51407 for ac_exec_ext in '' $ac_executable_extensions; do
51408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51409 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51411 break 2
51412 fi
51413 done
51414 done
51415 IFS=$as_save_IFS
51416
51417 fi
51418 fi
51419 WINDRES=$ac_cv_prog_WINDRES
51420 if test -n "$WINDRES"; then
51421 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51422 echo "${ECHO_T}$WINDRES" >&6; }
51423 else
51424 { echo "$as_me:$LINENO: result: no" >&5
51425 echo "${ECHO_T}no" >&6; }
51426 fi
51427
51428
51429 fi
51430 if test -z "$ac_cv_prog_WINDRES"; then
51431 ac_ct_WINDRES=$WINDRES
51432 # Extract the first word of "windres", so it can be a program name with args.
51433 set dummy windres; ac_word=$2
51434 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51436 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51437 echo $ECHO_N "(cached) $ECHO_C" >&6
51438 else
51439 if test -n "$ac_ct_WINDRES"; then
51440 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51441 else
51442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51443 for as_dir in $PATH
51444 do
51445 IFS=$as_save_IFS
51446 test -z "$as_dir" && as_dir=.
51447 for ac_exec_ext in '' $ac_executable_extensions; do
51448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51449 ac_cv_prog_ac_ct_WINDRES="windres"
51450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51451 break 2
51452 fi
51453 done
51454 done
51455 IFS=$as_save_IFS
51456
51457 fi
51458 fi
51459 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51460 if test -n "$ac_ct_WINDRES"; then
51461 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51462 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51463 else
51464 { echo "$as_me:$LINENO: result: no" >&5
51465 echo "${ECHO_T}no" >&6; }
51466 fi
51467
51468 if test "x$ac_ct_WINDRES" = x; then
51469 WINDRES=""
51470 else
51471 case $cross_compiling:$ac_tool_warned in
51472 yes:)
51473 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51474 whose name does not start with the host triplet. If you think this
51475 configuration is useful to you, please write to autoconf@gnu.org." >&5
51476 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51477 whose name does not start with the host triplet. If you think this
51478 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51479 ac_tool_warned=yes ;;
51480 esac
51481 WINDRES=$ac_ct_WINDRES
51482 fi
51483 else
51484 WINDRES="$ac_cv_prog_WINDRES"
51485 fi
51486
51487 ;;
51488
51489 *-*-darwin* | powerpc-apple-macos* )
51490 # Extract the first word of "Rez", so it can be a program name with args.
51491 set dummy Rez; ac_word=$2
51492 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51494 if test "${ac_cv_prog_REZ+set}" = set; then
51495 echo $ECHO_N "(cached) $ECHO_C" >&6
51496 else
51497 if test -n "$REZ"; then
51498 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51499 else
51500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51501 for as_dir in $PATH
51502 do
51503 IFS=$as_save_IFS
51504 test -z "$as_dir" && as_dir=.
51505 for ac_exec_ext in '' $ac_executable_extensions; do
51506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51507 ac_cv_prog_REZ="Rez"
51508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51509 break 2
51510 fi
51511 done
51512 done
51513 IFS=$as_save_IFS
51514
51515 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51516 fi
51517 fi
51518 REZ=$ac_cv_prog_REZ
51519 if test -n "$REZ"; then
51520 { echo "$as_me:$LINENO: result: $REZ" >&5
51521 echo "${ECHO_T}$REZ" >&6; }
51522 else
51523 { echo "$as_me:$LINENO: result: no" >&5
51524 echo "${ECHO_T}no" >&6; }
51525 fi
51526
51527
51528 # Extract the first word of "SetFile", so it can be a program name with args.
51529 set dummy SetFile; ac_word=$2
51530 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51532 if test "${ac_cv_prog_SETFILE+set}" = set; then
51533 echo $ECHO_N "(cached) $ECHO_C" >&6
51534 else
51535 if test -n "$SETFILE"; then
51536 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51537 else
51538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51539 for as_dir in $PATH
51540 do
51541 IFS=$as_save_IFS
51542 test -z "$as_dir" && as_dir=.
51543 for ac_exec_ext in '' $ac_executable_extensions; do
51544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51545 ac_cv_prog_SETFILE="SetFile"
51546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51547 break 2
51548 fi
51549 done
51550 done
51551 IFS=$as_save_IFS
51552
51553 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51554 fi
51555 fi
51556 SETFILE=$ac_cv_prog_SETFILE
51557 if test -n "$SETFILE"; then
51558 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51559 echo "${ECHO_T}$SETFILE" >&6; }
51560 else
51561 { echo "$as_me:$LINENO: result: no" >&5
51562 echo "${ECHO_T}no" >&6; }
51563 fi
51564
51565
51566 ;;
51567 esac
51568
51569
51570
51571
51572
51573
51574
51575
51576
51577 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
51578
51579
51580 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
51581
51582
51583
51584 # Check whether --enable-precomp-headers was given.
51585 if test "${enable_precomp_headers+set}" = set; then
51586 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51587 fi
51588
51589
51590 GCC_PCH=0
51591 ICC_PCH=0
51592 USE_PCH=0
51593 BK_MAKE_PCH=""
51594
51595 case ${BAKEFILE_HOST} in
51596 *-*-cygwin* )
51597 bk_use_pch="no"
51598 ;;
51599 esac
51600
51601 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51602 if test "x$GCC" = "xyes"; then
51603 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51604 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51605 cat >conftest.$ac_ext <<_ACEOF
51606 /* confdefs.h. */
51607 _ACEOF
51608 cat confdefs.h >>conftest.$ac_ext
51609 cat >>conftest.$ac_ext <<_ACEOF
51610 /* end confdefs.h. */
51611
51612 int
51613 main ()
51614 {
51615
51616 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51617 There is no PCH support
51618 #endif
51619 #if (__GNUC__ < 3)
51620 There is no PCH support
51621 #endif
51622 #if (__GNUC__ == 3) && \
51623 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51624 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51625 ( defined(__INTEL_COMPILER) )
51626 There is no PCH support
51627 #endif
51628
51629 ;
51630 return 0;
51631 }
51632 _ACEOF
51633 rm -f conftest.$ac_objext
51634 if { (ac_try="$ac_compile"
51635 case "(($ac_try" in
51636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51637 *) ac_try_echo=$ac_try;;
51638 esac
51639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51640 (eval "$ac_compile") 2>conftest.er1
51641 ac_status=$?
51642 grep -v '^ *+' conftest.er1 >conftest.err
51643 rm -f conftest.er1
51644 cat conftest.err >&5
51645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51646 (exit $ac_status); } && {
51647 test -z "$ac_c_werror_flag" ||
51648 test ! -s conftest.err
51649 } && test -s conftest.$ac_objext; then
51650
51651 { echo "$as_me:$LINENO: result: yes" >&5
51652 echo "${ECHO_T}yes" >&6; }
51653 GCC_PCH=1
51654
51655 else
51656 echo "$as_me: failed program was:" >&5
51657 sed 's/^/| /' conftest.$ac_ext >&5
51658
51659
51660 if test "$INTELCXX8" = "yes"; then
51661 { echo "$as_me:$LINENO: result: yes" >&5
51662 echo "${ECHO_T}yes" >&6; }
51663 ICC_PCH=1
51664 if test "$INTELCXX10" = "yes"; then
51665 ICC_PCH_CREATE_SWITCH="-pch-create"
51666 ICC_PCH_USE_SWITCH="-pch-use"
51667 else
51668 ICC_PCH_CREATE_SWITCH="-create-pch"
51669 ICC_PCH_USE_SWITCH="-use-pch"
51670 fi
51671 else
51672 { echo "$as_me:$LINENO: result: no" >&5
51673 echo "${ECHO_T}no" >&6; }
51674 fi
51675
51676 fi
51677
51678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51679 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51680 USE_PCH=1
51681
51682 D='$'
51683 cat <<EOF >bk-make-pch
51684 #!/bin/sh
51685
51686 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51687 # script. It is used to generated precompiled headers.
51688 #
51689 # Permission is given to use this file in any way.
51690
51691 outfile="${D}{1}"
51692 header="${D}{2}"
51693 shift
51694 shift
51695
51696 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
51697
51698 compiler=""
51699 headerfile=""
51700
51701 while test ${D}{#} -gt 0; do
51702 add_to_cmdline=1
51703 case "${D}{1}" in
51704 -I* )
51705 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51706 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51707 headerfile="${D}{incdir}/${D}{header}"
51708 fi
51709 ;;
51710 -use-pch|-use_pch|-pch-use )
51711 shift
51712 add_to_cmdline=0
51713 ;;
51714 esac
51715 if test ${D}add_to_cmdline = 1 ; then
51716 compiler="${D}{compiler} ${D}{1}"
51717 fi
51718 shift
51719 done
51720
51721 if test "x${D}{headerfile}" = "x" ; then
51722 echo "error: can't find header ${D}{header} in include paths" >&2
51723 else
51724 if test -f ${D}{outfile} ; then
51725 rm -f ${D}{outfile}
51726 else
51727 mkdir -p \`dirname ${D}{outfile}\`
51728 fi
51729 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51730 mkdir -p ${D}{builddir}/.deps
51731 if test "x${GCC_PCH}" = "x1" ; then
51732 # can do this because gcc is >= 3.4:
51733 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51734 elif test "x${ICC_PCH}" = "x1" ; then
51735 filename=pch_gen-${D}${D}
51736 file=${D}{filename}.c
51737 dfile=${D}{filename}.d
51738 cat > ${D}file <<EOT
51739 #include "${D}header"
51740 EOT
51741 # using -MF icc complains about differing command lines in creation/use
51742 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
51743 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51744 rm -f ${D}file ${D}dfile ${D}{filename}.o
51745 fi
51746 exit ${D}{?}
51747 fi
51748 EOF
51749
51750 chmod +x bk-make-pch
51751 BK_MAKE_PCH="`pwd`/bk-make-pch"
51752 fi
51753 fi
51754 fi
51755
51756
51757
51758
51759
51760
51761
51762 COND_BUILD_DEBUG="#"
51763 if test "x$BUILD" = "xdebug" ; then
51764 COND_BUILD_DEBUG=""
51765 fi
51766
51767 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51768 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51769 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51770 fi
51771
51772 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51773 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51774 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51775 fi
51776
51777 COND_BUILD_DEBUG_UNICODE_0="#"
51778 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51779 COND_BUILD_DEBUG_UNICODE_0=""
51780 fi
51781
51782 COND_BUILD_DEBUG_UNICODE_1="#"
51783 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51784 COND_BUILD_DEBUG_UNICODE_1=""
51785 fi
51786
51787 COND_BUILD_RELEASE="#"
51788 if test "x$BUILD" = "xrelease" ; then
51789 COND_BUILD_RELEASE=""
51790 fi
51791
51792 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51793 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51794 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51795 fi
51796
51797 COND_BUILD_RELEASE_UNICODE_0="#"
51798 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51799 COND_BUILD_RELEASE_UNICODE_0=""
51800 fi
51801
51802 COND_BUILD_RELEASE_UNICODE_1="#"
51803 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51804 COND_BUILD_RELEASE_UNICODE_1=""
51805 fi
51806
51807 COND_BUILD_debug="#"
51808 if test "x$BUILD" = "xdebug" ; then
51809 COND_BUILD_debug=""
51810 fi
51811
51812 COND_BUILD_debug_DEBUG_FLAG_default="#"
51813 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51814 COND_BUILD_debug_DEBUG_FLAG_default=""
51815 fi
51816
51817 COND_BUILD_debug_DEBUG_INFO_default="#"
51818 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51819 COND_BUILD_debug_DEBUG_INFO_default=""
51820 fi
51821
51822 COND_BUILD_debug_UNICODE_0="#"
51823 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51824 COND_BUILD_debug_UNICODE_0=""
51825 fi
51826
51827 COND_BUILD_debug_UNICODE_1="#"
51828 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51829 COND_BUILD_debug_UNICODE_1=""
51830 fi
51831
51832 COND_BUILD_release="#"
51833 if test "x$BUILD" = "xrelease" ; then
51834 COND_BUILD_release=""
51835 fi
51836
51837 COND_BUILD_release_DEBUG_INFO_default="#"
51838 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51839 COND_BUILD_release_DEBUG_INFO_default=""
51840 fi
51841
51842 COND_BUILD_release_UNICODE_0="#"
51843 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51844 COND_BUILD_release_UNICODE_0=""
51845 fi
51846
51847 COND_BUILD_release_UNICODE_1="#"
51848 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51849 COND_BUILD_release_UNICODE_1=""
51850 fi
51851
51852 COND_DEBUG_FLAG_0="#"
51853 if test "x$DEBUG_FLAG" = "x0" ; then
51854 COND_DEBUG_FLAG_0=""
51855 fi
51856
51857 COND_DEBUG_FLAG_1="#"
51858 if test "x$DEBUG_FLAG" = "x1" ; then
51859 COND_DEBUG_FLAG_1=""
51860 fi
51861
51862 COND_DEBUG_INFO_0="#"
51863 if test "x$DEBUG_INFO" = "x0" ; then
51864 COND_DEBUG_INFO_0=""
51865 fi
51866
51867 COND_DEBUG_INFO_1="#"
51868 if test "x$DEBUG_INFO" = "x1" ; then
51869 COND_DEBUG_INFO_1=""
51870 fi
51871
51872 COND_DEPS_TRACKING_0="#"
51873 if test "x$DEPS_TRACKING" = "x0" ; then
51874 COND_DEPS_TRACKING_0=""
51875 fi
51876
51877 COND_DEPS_TRACKING_1="#"
51878 if test "x$DEPS_TRACKING" = "x1" ; then
51879 COND_DEPS_TRACKING_1=""
51880 fi
51881
51882 COND_GCC_PCH_1="#"
51883 if test "x$GCC_PCH" = "x1" ; then
51884 COND_GCC_PCH_1=""
51885 fi
51886
51887 COND_ICC_PCH_1="#"
51888 if test "x$ICC_PCH" = "x1" ; then
51889 COND_ICC_PCH_1=""
51890 fi
51891
51892 COND_MONOLITHIC_0="#"
51893 if test "x$MONOLITHIC" = "x0" ; then
51894 COND_MONOLITHIC_0=""
51895 fi
51896
51897 COND_MONOLITHIC_0_SHARED_0="#"
51898 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51899 COND_MONOLITHIC_0_SHARED_0=""
51900 fi
51901
51902 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51903 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51904 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51905 fi
51906
51907 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51908 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51909 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51910 fi
51911
51912 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51913 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51914 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51915 fi
51916
51917 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51918 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51919 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51920 fi
51921
51922 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51923 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51924 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51925 fi
51926
51927 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
51928 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51929 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
51930 fi
51931
51932 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
51933 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51934 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
51935 fi
51936
51937 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51938 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51939 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51940 fi
51941
51942 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51943 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51944 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51945 fi
51946
51947 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51948 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51949 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51950 fi
51951
51952 COND_MONOLITHIC_0_SHARED_1="#"
51953 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51954 COND_MONOLITHIC_0_SHARED_1=""
51955 fi
51956
51957 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51958 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51959 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51960 fi
51961
51962 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51963 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51964 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51965 fi
51966
51967 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51968 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51969 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51970 fi
51971
51972 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51973 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51974 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51975 fi
51976
51977 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51978 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51979 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51980 fi
51981
51982 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
51983 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
51984 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
51985 fi
51986
51987 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
51988 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
51989 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
51990 fi
51991
51992 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51993 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51994 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51995 fi
51996
51997 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51998 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51999 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
52000 fi
52001
52002 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
52003 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52004 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
52005 fi
52006
52007 COND_MONOLITHIC_0_USE_AUI_1="#"
52008 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
52009 COND_MONOLITHIC_0_USE_AUI_1=""
52010 fi
52011
52012 COND_MONOLITHIC_0_USE_GUI_1="#"
52013 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
52014 COND_MONOLITHIC_0_USE_GUI_1=""
52015 fi
52016
52017 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
52018 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52019 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
52020 fi
52021
52022 COND_MONOLITHIC_0_USE_HTML_1="#"
52023 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
52024 COND_MONOLITHIC_0_USE_HTML_1=""
52025 fi
52026
52027 COND_MONOLITHIC_0_USE_MEDIA_1="#"
52028 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
52029 COND_MONOLITHIC_0_USE_MEDIA_1=""
52030 fi
52031
52032 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
52033 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
52034 COND_MONOLITHIC_0_USE_PROPGRID_1=""
52035 fi
52036
52037 COND_MONOLITHIC_0_USE_QA_1="#"
52038 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
52039 COND_MONOLITHIC_0_USE_QA_1=""
52040 fi
52041
52042 COND_MONOLITHIC_0_USE_RIBBON_1="#"
52043 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
52044 COND_MONOLITHIC_0_USE_RIBBON_1=""
52045 fi
52046
52047 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
52048 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52049 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
52050 fi
52051
52052 COND_MONOLITHIC_0_USE_STC_1="#"
52053 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
52054 COND_MONOLITHIC_0_USE_STC_1=""
52055 fi
52056
52057 COND_MONOLITHIC_0_USE_XRC_1="#"
52058 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
52059 COND_MONOLITHIC_0_USE_XRC_1=""
52060 fi
52061
52062 COND_MONOLITHIC_1="#"
52063 if test "x$MONOLITHIC" = "x1" ; then
52064 COND_MONOLITHIC_1=""
52065 fi
52066
52067 COND_MONOLITHIC_1_SHARED_0="#"
52068 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
52069 COND_MONOLITHIC_1_SHARED_0=""
52070 fi
52071
52072 COND_MONOLITHIC_1_SHARED_1="#"
52073 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
52074 COND_MONOLITHIC_1_SHARED_1=""
52075 fi
52076
52077 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
52078 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
52079 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
52080 fi
52081
52082 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
52083 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
52084 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
52085 fi
52086
52087 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
52088 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52089 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
52090 fi
52091
52092 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
52093 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52094 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
52095 fi
52096
52097 COND_PLATFORM_MACOSX_1="#"
52098 if test "x$PLATFORM_MACOSX" = "x1" ; then
52099 COND_PLATFORM_MACOSX_1=""
52100 fi
52101
52102 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
52103 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
52104 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
52105 fi
52106
52107 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
52108 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
52109 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
52110 fi
52111
52112 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
52113 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
52114 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
52115 fi
52116
52117 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
52118 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52119 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
52120 fi
52121
52122 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
52123 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
52124 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
52125 fi
52126
52127 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
52128 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52129 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
52130 fi
52131
52132 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
52133 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
52134 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
52135 fi
52136
52137 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
52138 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52139 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
52140 fi
52141
52142 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
52143 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
52144 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
52145 fi
52146
52147 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
52148 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52149 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
52150 fi
52151
52152 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
52153 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52154 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
52155 fi
52156
52157 COND_PLATFORM_MACOS_1="#"
52158 if test "x$PLATFORM_MACOS" = "x1" ; then
52159 COND_PLATFORM_MACOS_1=""
52160 fi
52161
52162 COND_PLATFORM_MAC_0="#"
52163 if test "x$PLATFORM_MAC" = "x0" ; then
52164 COND_PLATFORM_MAC_0=""
52165 fi
52166
52167 COND_PLATFORM_MAC_1="#"
52168 if test "x$PLATFORM_MAC" = "x1" ; then
52169 COND_PLATFORM_MAC_1=""
52170 fi
52171
52172 COND_PLATFORM_MSDOS_0="#"
52173 if test "x$PLATFORM_MSDOS" = "x0" ; then
52174 COND_PLATFORM_MSDOS_0=""
52175 fi
52176
52177 COND_PLATFORM_MSDOS_1="#"
52178 if test "x$PLATFORM_MSDOS" = "x1" ; then
52179 COND_PLATFORM_MSDOS_1=""
52180 fi
52181
52182 COND_PLATFORM_OS2_1="#"
52183 if test "x$PLATFORM_OS2" = "x1" ; then
52184 COND_PLATFORM_OS2_1=""
52185 fi
52186
52187 COND_PLATFORM_UNIX_0="#"
52188 if test "x$PLATFORM_UNIX" = "x0" ; then
52189 COND_PLATFORM_UNIX_0=""
52190 fi
52191
52192 COND_PLATFORM_UNIX_1="#"
52193 if test "x$PLATFORM_UNIX" = "x1" ; then
52194 COND_PLATFORM_UNIX_1=""
52195 fi
52196
52197 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52198 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52199 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52200 fi
52201
52202 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52203 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52204 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52205 fi
52206
52207 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52208 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52209 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52210 fi
52211
52212 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52213 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52214 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52215 fi
52216
52217 COND_PLATFORM_WIN32_0="#"
52218 if test "x$PLATFORM_WIN32" = "x0" ; then
52219 COND_PLATFORM_WIN32_0=""
52220 fi
52221
52222 COND_PLATFORM_WIN32_1="#"
52223 if test "x$PLATFORM_WIN32" = "x1" ; then
52224 COND_PLATFORM_WIN32_1=""
52225 fi
52226
52227 COND_PLATFORM_WIN32_1_SHARED_0="#"
52228 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
52229 COND_PLATFORM_WIN32_1_SHARED_0=""
52230 fi
52231
52232 COND_SHARED_0="#"
52233 if test "x$SHARED" = "x0" ; then
52234 COND_SHARED_0=""
52235 fi
52236
52237 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52238 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52239 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52240 fi
52241
52242 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52243 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52244 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52245 fi
52246
52247 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52248 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52249 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52250 fi
52251
52252 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52253 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52254 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52255 fi
52256
52257 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
52258 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52259 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
52260 fi
52261
52262 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
52263 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52264 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
52265 fi
52266
52267 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
52268 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52269 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
52270 fi
52271
52272 COND_SHARED_0_USE_STC_1="#"
52273 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52274 COND_SHARED_0_USE_STC_1=""
52275 fi
52276
52277 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
52278 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52279 COND_SHARED_0_wxUSE_EXPAT_builtin=""
52280 fi
52281
52282 COND_SHARED_0_wxUSE_REGEX_builtin="#"
52283 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52284 COND_SHARED_0_wxUSE_REGEX_builtin=""
52285 fi
52286
52287 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
52288 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52289 COND_SHARED_0_wxUSE_ZLIB_builtin=""
52290 fi
52291
52292 COND_SHARED_1="#"
52293 if test "x$SHARED" = "x1" ; then
52294 COND_SHARED_1=""
52295 fi
52296
52297 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52298 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52299 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52300 fi
52301
52302 COND_TOOLKIT_="#"
52303 if test "x$TOOLKIT" = "x" ; then
52304 COND_TOOLKIT_=""
52305 fi
52306
52307 COND_TOOLKIT_COCOA="#"
52308 if test "x$TOOLKIT" = "xCOCOA" ; then
52309 COND_TOOLKIT_COCOA=""
52310 fi
52311
52312 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52313 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52314 COND_TOOLKIT_COCOA_USE_GUI_1=""
52315 fi
52316
52317 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52318 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52319 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52320 fi
52321
52322 COND_TOOLKIT_DFB="#"
52323 if test "x$TOOLKIT" = "xDFB" ; then
52324 COND_TOOLKIT_DFB=""
52325 fi
52326
52327 COND_TOOLKIT_DFB_USE_GUI_1="#"
52328 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52329 COND_TOOLKIT_DFB_USE_GUI_1=""
52330 fi
52331
52332 COND_TOOLKIT_GTK="#"
52333 if test "x$TOOLKIT" = "xGTK" ; then
52334 COND_TOOLKIT_GTK=""
52335 fi
52336
52337 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52338 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52339 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52340 fi
52341
52342 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52343 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52344 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52345 fi
52346
52347 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52348 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52349 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52350 fi
52351
52352 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52353 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52354 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52355 fi
52356
52357 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52358 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52359 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52360 fi
52361
52362 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52363 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52364 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52365 fi
52366
52367 COND_TOOLKIT_GTK_USE_GUI_1="#"
52368 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52369 COND_TOOLKIT_GTK_USE_GUI_1=""
52370 fi
52371
52372 COND_TOOLKIT_MAC="#"
52373 if test "x$TOOLKIT" = "xMAC" ; then
52374 COND_TOOLKIT_MAC=""
52375 fi
52376
52377 COND_TOOLKIT_MGL="#"
52378 if test "x$TOOLKIT" = "xMGL" ; then
52379 COND_TOOLKIT_MGL=""
52380 fi
52381
52382 COND_TOOLKIT_MGL_USE_GUI_1="#"
52383 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52384 COND_TOOLKIT_MGL_USE_GUI_1=""
52385 fi
52386
52387 COND_TOOLKIT_MOTIF="#"
52388 if test "x$TOOLKIT" = "xMOTIF" ; then
52389 COND_TOOLKIT_MOTIF=""
52390 fi
52391
52392 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52393 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52394 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52395 fi
52396
52397 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52398 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52399 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52400 fi
52401
52402 COND_TOOLKIT_MSW="#"
52403 if test "x$TOOLKIT" = "xMSW" ; then
52404 COND_TOOLKIT_MSW=""
52405 fi
52406
52407 COND_TOOLKIT_MSW_USE_GUI_1="#"
52408 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52409 COND_TOOLKIT_MSW_USE_GUI_1=""
52410 fi
52411
52412 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52413 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52414 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52415 fi
52416
52417 COND_TOOLKIT_MSW_WXUNIV_0="#"
52418 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52419 COND_TOOLKIT_MSW_WXUNIV_0=""
52420 fi
52421
52422 COND_TOOLKIT_OSX_CARBON="#"
52423 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
52424 COND_TOOLKIT_OSX_CARBON=""
52425 fi
52426
52427 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
52428 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
52429 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
52430 fi
52431
52432 COND_TOOLKIT_OSX_COCOA="#"
52433 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
52434 COND_TOOLKIT_OSX_COCOA=""
52435 fi
52436
52437 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
52438 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
52439 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
52440 fi
52441
52442 COND_TOOLKIT_OSX_IPHONE="#"
52443 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
52444 COND_TOOLKIT_OSX_IPHONE=""
52445 fi
52446
52447 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
52448 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
52449 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
52450 fi
52451
52452 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
52453 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52454 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
52455 fi
52456
52457 COND_TOOLKIT_PM="#"
52458 if test "x$TOOLKIT" = "xPM" ; then
52459 COND_TOOLKIT_PM=""
52460 fi
52461
52462 COND_TOOLKIT_PM_USE_GUI_1="#"
52463 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52464 COND_TOOLKIT_PM_USE_GUI_1=""
52465 fi
52466
52467 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52468 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52469 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52470 fi
52471
52472 COND_TOOLKIT_WINCE="#"
52473 if test "x$TOOLKIT" = "xWINCE" ; then
52474 COND_TOOLKIT_WINCE=""
52475 fi
52476
52477 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52478 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52479 COND_TOOLKIT_WINCE_USE_GUI_1=""
52480 fi
52481
52482 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52483 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52484 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52485 fi
52486
52487 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52488 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52489 COND_TOOLKIT_WINCE_WXUNIV_0=""
52490 fi
52491
52492 COND_TOOLKIT_X11="#"
52493 if test "x$TOOLKIT" = "xX11" ; then
52494 COND_TOOLKIT_X11=""
52495 fi
52496
52497 COND_TOOLKIT_X11_USE_GUI_1="#"
52498 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52499 COND_TOOLKIT_X11_USE_GUI_1=""
52500 fi
52501
52502 COND_UNICODE_1="#"
52503 if test "x$UNICODE" = "x1" ; then
52504 COND_UNICODE_1=""
52505 fi
52506
52507 COND_USE_CAIRO_1="#"
52508 if test "x$USE_CAIRO" = "x1" ; then
52509 COND_USE_CAIRO_1=""
52510 fi
52511
52512 COND_USE_EXCEPTIONS_0="#"
52513 if test "x$USE_EXCEPTIONS" = "x0" ; then
52514 COND_USE_EXCEPTIONS_0=""
52515 fi
52516
52517 COND_USE_EXCEPTIONS_1="#"
52518 if test "x$USE_EXCEPTIONS" = "x1" ; then
52519 COND_USE_EXCEPTIONS_1=""
52520 fi
52521
52522 COND_USE_GUI_0="#"
52523 if test "x$USE_GUI" = "x0" ; then
52524 COND_USE_GUI_0=""
52525 fi
52526
52527 COND_USE_GUI_1="#"
52528 if test "x$USE_GUI" = "x1" ; then
52529 COND_USE_GUI_1=""
52530 fi
52531
52532 COND_USE_GUI_1_USE_OPENGL_1="#"
52533 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52534 COND_USE_GUI_1_USE_OPENGL_1=""
52535 fi
52536
52537 COND_USE_GUI_1_WXUNIV_0="#"
52538 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52539 COND_USE_GUI_1_WXUNIV_0=""
52540 fi
52541
52542 COND_USE_GUI_1_WXUNIV_1="#"
52543 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52544 COND_USE_GUI_1_WXUNIV_1=""
52545 fi
52546
52547 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52548 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52549 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52550 fi
52551
52552 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52553 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52554 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52555 fi
52556
52557 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52558 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52559 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52560 fi
52561
52562 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
52563 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52564 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
52565 fi
52566
52567 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
52568 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52569 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
52570 fi
52571
52572 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
52573 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52574 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
52575 fi
52576
52577 COND_USE_OPENGL_1="#"
52578 if test "x$USE_OPENGL" = "x1" ; then
52579 COND_USE_OPENGL_1=""
52580 fi
52581
52582 COND_USE_PCH_1="#"
52583 if test "x$USE_PCH" = "x1" ; then
52584 COND_USE_PCH_1=""
52585 fi
52586
52587 COND_USE_PLUGINS_0="#"
52588 if test "x$USE_PLUGINS" = "x0" ; then
52589 COND_USE_PLUGINS_0=""
52590 fi
52591
52592 COND_USE_RTTI_0="#"
52593 if test "x$USE_RTTI" = "x0" ; then
52594 COND_USE_RTTI_0=""
52595 fi
52596
52597 COND_USE_RTTI_1="#"
52598 if test "x$USE_RTTI" = "x1" ; then
52599 COND_USE_RTTI_1=""
52600 fi
52601
52602 COND_USE_SOTWOSYMLINKS_1="#"
52603 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
52604 COND_USE_SOTWOSYMLINKS_1=""
52605 fi
52606
52607 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52608 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52609 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52610 fi
52611
52612 COND_USE_SOVERLINUX_1="#"
52613 if test "x$USE_SOVERLINUX" = "x1" ; then
52614 COND_USE_SOVERLINUX_1=""
52615 fi
52616
52617 COND_USE_SOVERSION_0="#"
52618 if test "x$USE_SOVERSION" = "x0" ; then
52619 COND_USE_SOVERSION_0=""
52620 fi
52621
52622 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
52623 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
52624 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
52625 fi
52626
52627 COND_USE_SOVERSOLARIS_1="#"
52628 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52629 COND_USE_SOVERSOLARIS_1=""
52630 fi
52631
52632 COND_USE_STC_1="#"
52633 if test "x$USE_STC" = "x1" ; then
52634 COND_USE_STC_1=""
52635 fi
52636
52637 COND_USE_THREADS_0="#"
52638 if test "x$USE_THREADS" = "x0" ; then
52639 COND_USE_THREADS_0=""
52640 fi
52641
52642 COND_USE_THREADS_1="#"
52643 if test "x$USE_THREADS" = "x1" ; then
52644 COND_USE_THREADS_1=""
52645 fi
52646
52647 COND_USE_XRC_1="#"
52648 if test "x$USE_XRC" = "x1" ; then
52649 COND_USE_XRC_1=""
52650 fi
52651
52652 COND_WINDOWS_IMPLIB_1="#"
52653 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52654 COND_WINDOWS_IMPLIB_1=""
52655 fi
52656
52657 COND_WITH_PLUGIN_SDL_1="#"
52658 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52659 COND_WITH_PLUGIN_SDL_1=""
52660 fi
52661
52662 COND_WXUNIV_0="#"
52663 if test "x$WXUNIV" = "x0" ; then
52664 COND_WXUNIV_0=""
52665 fi
52666
52667 COND_WXUNIV_1="#"
52668 if test "x$WXUNIV" = "x1" ; then
52669 COND_WXUNIV_1=""
52670 fi
52671
52672 COND_WXUSE_EXPAT_BUILTIN="#"
52673 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52674 COND_WXUSE_EXPAT_BUILTIN=""
52675 fi
52676
52677 COND_WXUSE_LIBJPEG_BUILTIN="#"
52678 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52679 COND_WXUSE_LIBJPEG_BUILTIN=""
52680 fi
52681
52682 COND_WXUSE_LIBPNG_BUILTIN="#"
52683 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52684 COND_WXUSE_LIBPNG_BUILTIN=""
52685 fi
52686
52687 COND_WXUSE_LIBTIFF_BUILTIN="#"
52688 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52689 COND_WXUSE_LIBTIFF_BUILTIN=""
52690 fi
52691
52692 COND_WXUSE_REGEX_BUILTIN="#"
52693 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52694 COND_WXUSE_REGEX_BUILTIN=""
52695 fi
52696
52697 COND_WXUSE_ZLIB_BUILTIN="#"
52698 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52699 COND_WXUSE_ZLIB_BUILTIN=""
52700 fi
52701
52702 COND_wxUSE_EXPAT_builtin="#"
52703 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52704 COND_wxUSE_EXPAT_builtin=""
52705 fi
52706
52707 COND_wxUSE_LIBJPEG_builtin="#"
52708 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52709 COND_wxUSE_LIBJPEG_builtin=""
52710 fi
52711
52712 COND_wxUSE_LIBPNG_builtin="#"
52713 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52714 COND_wxUSE_LIBPNG_builtin=""
52715 fi
52716
52717 COND_wxUSE_LIBTIFF_builtin="#"
52718 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52719 COND_wxUSE_LIBTIFF_builtin=""
52720 fi
52721
52722 COND_wxUSE_REGEX_builtin="#"
52723 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52724 COND_wxUSE_REGEX_builtin=""
52725 fi
52726
52727 COND_wxUSE_ZLIB_builtin="#"
52728 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52729 COND_wxUSE_ZLIB_builtin=""
52730 fi
52731
52732
52733
52734 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52735 { { 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
52736 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;}
52737 { (exit 1); exit 1; }; }
52738 fi
52739
52740 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52741 { { 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
52742 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;}
52743 { (exit 1); exit 1; }; }
52744 fi
52745
52746
52747 case ${INSTALL} in
52748 /* ) # Absolute
52749 ;;
52750 ?:* ) # Drive letter, considered as absolute.
52751 ;;
52752 *)
52753 INSTALL=`pwd`/${INSTALL} ;;
52754 esac
52755
52756 if test "$wxUSE_GUI" = "yes"; then
52757
52758 if test "$wxUSE_MSW" = 1 ; then
52759 if test "x$WINDRES" = "x"; then
52760 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52761 echo "$as_me: error: Required windres program not found" >&2;}
52762 { (exit 1); exit 1; }; }
52763 fi
52764
52765 RESCOMP="$WINDRES"
52766 fi
52767
52768 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
52769 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52770 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52771
52772 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52773
52774 # Extract the first word of "DeRez", so it can be a program name with args.
52775 set dummy DeRez; ac_word=$2
52776 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52778 if test "${ac_cv_prog_DEREZ+set}" = set; then
52779 echo $ECHO_N "(cached) $ECHO_C" >&6
52780 else
52781 if test -n "$DEREZ"; then
52782 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52783 else
52784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52785 for as_dir in $PATH
52786 do
52787 IFS=$as_save_IFS
52788 test -z "$as_dir" && as_dir=.
52789 for ac_exec_ext in '' $ac_executable_extensions; do
52790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52791 ac_cv_prog_DEREZ="DeRez"
52792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52793 break 2
52794 fi
52795 done
52796 done
52797 IFS=$as_save_IFS
52798
52799 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52800 fi
52801 fi
52802 DEREZ=$ac_cv_prog_DEREZ
52803 if test -n "$DEREZ"; then
52804 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52805 echo "${ECHO_T}$DEREZ" >&6; }
52806 else
52807 { echo "$as_me:$LINENO: result: no" >&5
52808 echo "${ECHO_T}no" >&6; }
52809 fi
52810
52811
52812
52813 MACSETFILE="\$(SETFILE)"
52814
52815 if test "$wxUSE_OSX_CARBON" = 1; then
52816 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52817 RESCOMP="$REZ"
52818 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52819 else
52820 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52821 RESCOMP="cat /dev/null \| $REZ"
52822 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52823 fi
52824
52825 else
52826 MACSETFILE="@true"
52827
52828 if test "$wxUSE_PM" = 1; then
52829 RESCOMP="emxbind"
52830 WXCONFIG_RESFLAGS="-ep"
52831
52832 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52833 else
52834 POSTLINK_COMMAND="@true"
52835 fi
52836 fi
52837
52838 fi
52839
52840
52841 if test $GCC_PCH = 1
52842 then
52843 if test "$wx_cv_gcc_pch_bug" = yes; then
52844 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52845 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52846 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52847 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52848 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52849 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52850 fi
52851
52852 # Our WX_PRECOMP flag does not make sense for any language except C++ because
52853 # the headers that benefit from precompilation are mostly C++ headers.
52854 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52855 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
52856 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52857 fi
52858
52859
52860 if test "$wxUSE_MAC" = 1 ; then
52861 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52862 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52863 mv temp bk-deps
52864 chmod +x bk-deps
52865 fi
52866 fi
52867
52868 if test "$wxUSE_SHARED" = "yes"; then
52869 case "${host}" in
52870 *-pc-os2_emx | *-pc-os2-emx )
52871 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52872 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52873 cp -p ${srcdir}/src/os2/dllnames.sh .
52874 cp -p ${srcdir}/src/os2/dllar.sh .
52875 ;;
52876 esac
52877 fi
52878 if test "$wxUSE_OMF" = "yes"; then
52879 case "${host}" in
52880 *-pc-os2_emx | *-pc-os2-emx )
52881 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52882 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52883 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52884 ;;
52885 esac
52886 fi
52887
52888 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52889
52890
52891 case "${host}" in
52892 *-*-solaris2* )
52893 if test "$GCC" = yes; then
52894 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52895 LIBS=`echo $LIBS | sed 's/-mt//'`
52896 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52897 fi
52898 ;;
52899
52900 *-*-linux* )
52901 if test "x$SUNCXX" = xyes; then
52902 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52903 LIBS=`echo $LIBS | sed 's/-pthread//'`
52904 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52905 fi
52906 ;;
52907 esac
52908
52909 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52910 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52911 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
52912 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
52913
52914 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52915
52916
52917
52918
52919
52920
52921
52922
52923
52924
52925
52926
52927
52928
52929
52930
52931
52932
52933
52934
52935
52936
52937
52938
52939
52940
52941
52942
52943
52944
52945
52946
52947
52948
52949
52950
52951
52952
52953
52954
52955
52956
52957
52958
52959
52960
52961
52962
52963
52964
52965
52966
52967
52968
52969
52970
52971
52972
52973
52974
52975 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52976 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52977 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52978 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52979 echo $ECHO_N "(cached) $ECHO_C" >&6
52980 else
52981 cat >conftest.make <<\_ACEOF
52982 SHELL = /bin/sh
52983 all:
52984 @echo '@@@%%%=$(MAKE)=@@@%%%'
52985 _ACEOF
52986 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52987 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52988 *@@@%%%=?*=@@@%%%*)
52989 eval ac_cv_prog_make_${ac_make}_set=yes;;
52990 *)
52991 eval ac_cv_prog_make_${ac_make}_set=no;;
52992 esac
52993 rm -f conftest.make
52994 fi
52995 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52996 { echo "$as_me:$LINENO: result: yes" >&5
52997 echo "${ECHO_T}yes" >&6; }
52998 SET_MAKE=
52999 else
53000 { echo "$as_me:$LINENO: result: no" >&5
53001 echo "${ECHO_T}no" >&6; }
53002 SET_MAKE="MAKE=${MAKE-make}"
53003 fi
53004
53005
53006
53007 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
53008
53009
53010 if test "$USE_WIN32" = 1; then
53011 ac_config_commands="$ac_config_commands rcdefs.h"
53012
53013 fi
53014
53015 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
53016
53017
53018 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
53019
53020
53021 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
53022
53023
53024 if test "$wx_cv_version_script" = "yes"; then
53025 ac_config_files="$ac_config_files version-script"
53026
53027 fi
53028 ac_config_files="$ac_config_files Makefile"
53029
53030
53031 ac_config_commands="$ac_config_commands wx-config"
53032
53033
53034
53035 if test "$wxWITH_SUBDIRS" != "no"; then
53036 if test "$wxUSE_GUI" = "yes"; then
53037 SUBDIRS="samples demos utils"
53038 else
53039 SUBDIRS="samples utils"
53040 fi
53041
53042
53043
53044 # Check whether --with-cppunit-prefix was given.
53045 if test "${with_cppunit_prefix+set}" = set; then
53046 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
53047 else
53048 cppunit_config_prefix=""
53049 fi
53050
53051
53052 # Check whether --with-cppunit-exec-prefix was given.
53053 if test "${with_cppunit_exec_prefix+set}" = set; then
53054 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
53055 else
53056 cppunit_config_exec_prefix=""
53057 fi
53058
53059
53060 if test x$cppunit_config_exec_prefix != x ; then
53061 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
53062 if test x${CPPUNIT_CONFIG+set} != xset ; then
53063 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
53064 fi
53065 fi
53066 if test x$cppunit_config_prefix != x ; then
53067 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
53068 if test x${CPPUNIT_CONFIG+set} != xset ; then
53069 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
53070 fi
53071 fi
53072
53073 # Extract the first word of "cppunit-config", so it can be a program name with args.
53074 set dummy cppunit-config; ac_word=$2
53075 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53077 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
53078 echo $ECHO_N "(cached) $ECHO_C" >&6
53079 else
53080 case $CPPUNIT_CONFIG in
53081 [\\/]* | ?:[\\/]*)
53082 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
53083 ;;
53084 *)
53085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53086 for as_dir in $PATH
53087 do
53088 IFS=$as_save_IFS
53089 test -z "$as_dir" && as_dir=.
53090 for ac_exec_ext in '' $ac_executable_extensions; do
53091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53092 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
53093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53094 break 2
53095 fi
53096 done
53097 done
53098 IFS=$as_save_IFS
53099
53100 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
53101 ;;
53102 esac
53103 fi
53104 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
53105 if test -n "$CPPUNIT_CONFIG"; then
53106 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
53107 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
53108 else
53109 { echo "$as_me:$LINENO: result: no" >&5
53110 echo "${ECHO_T}no" >&6; }
53111 fi
53112
53113
53114 cppunit_version_min=1.8.0
53115
53116 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
53117 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
53118 no_cppunit=""
53119 if test "$CPPUNIT_CONFIG" = "no" ; then
53120 { echo "$as_me:$LINENO: result: no" >&5
53121 echo "${ECHO_T}no" >&6; }
53122 no_cppunit=yes
53123 else
53124 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
53125 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
53126 cppunit_version=`$CPPUNIT_CONFIG --version`
53127
53128 cppunit_major_version=`echo $cppunit_version | \
53129 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53130 cppunit_minor_version=`echo $cppunit_version | \
53131 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53132 cppunit_micro_version=`echo $cppunit_version | \
53133 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53134
53135 cppunit_major_min=`echo $cppunit_version_min | \
53136 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53137 cppunit_minor_min=`echo $cppunit_version_min | \
53138 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53139 cppunit_micro_min=`echo $cppunit_version_min | \
53140 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53141
53142 cppunit_version_proper=`expr \
53143 $cppunit_major_version \> $cppunit_major_min \| \
53144 $cppunit_major_version \= $cppunit_major_min \& \
53145 $cppunit_minor_version \> $cppunit_minor_min \| \
53146 $cppunit_major_version \= $cppunit_major_min \& \
53147 $cppunit_minor_version \= $cppunit_minor_min \& \
53148 $cppunit_micro_version \>= $cppunit_micro_min `
53149
53150 if test "$cppunit_version_proper" = "1" ; then
53151 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
53152 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
53153 else
53154 { echo "$as_me:$LINENO: result: no" >&5
53155 echo "${ECHO_T}no" >&6; }
53156 no_cppunit=yes
53157 fi
53158 fi
53159
53160 if test "x$no_cppunit" = x ; then
53161 SUBDIRS="$SUBDIRS tests"
53162 else
53163 CPPUNIT_CFLAGS=""
53164 CPPUNIT_LIBS=""
53165 :
53166 fi
53167
53168
53169
53170
53171
53172 for subdir in $SUBDIRS; do
53173 if test -d ${srcdir}/${subdir} ; then
53174 if test "$wxUSE_GUI" = "yes"; then
53175 if test ${subdir} = "samples"; then
53176 makefiles="samples/Makefile.in $makefiles"
53177 for sample in $SAMPLES_SUBDIRS; do
53178 if test -d $srcdir/samples/$sample; then
53179 makefiles="samples/$sample/Makefile.in $makefiles"
53180 fi
53181 done
53182 else
53183 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
53184 eval "disabled=\$$disabled_var"
53185 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
53186 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
53187 fi
53188 else
53189 if test ${subdir} = "samples"; then
53190 makefiles="samples/Makefile.in $makefiles"
53191 for sample in `echo $SAMPLES_SUBDIRS`; do
53192 if test -d $srcdir/samples/$sample; then
53193 makefiles="samples/$sample/Makefile.in $makefiles"
53194 fi
53195 done
53196 elif test ${subdir} = "utils"; then
53197 makefiles=""
53198 for util in ifacecheck ; do
53199 if test -d $srcdir/utils/$util ; then
53200 makefiles="utils/$util/src/Makefile.in \
53201 $makefiles"
53202 fi
53203 done
53204 else
53205 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
53206 fi
53207 fi
53208
53209 for mkin in $makefiles ; do
53210 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
53211 ac_config_files="$ac_config_files $mk"
53212
53213 done
53214 fi
53215 done
53216 fi
53217 cat >confcache <<\_ACEOF
53218 # This file is a shell script that caches the results of configure
53219 # tests run on this system so they can be shared between configure
53220 # scripts and configure runs, see configure's option --config-cache.
53221 # It is not useful on other systems. If it contains results you don't
53222 # want to keep, you may remove or edit it.
53223 #
53224 # config.status only pays attention to the cache file if you give it
53225 # the --recheck option to rerun configure.
53226 #
53227 # `ac_cv_env_foo' variables (set or unset) will be overridden when
53228 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53229 # following values.
53230
53231 _ACEOF
53232
53233 # The following way of writing the cache mishandles newlines in values,
53234 # but we know of no workaround that is simple, portable, and efficient.
53235 # So, we kill variables containing newlines.
53236 # Ultrix sh set writes to stderr and can't be redirected directly,
53237 # and sets the high bit in the cache file unless we assign to the vars.
53238 (
53239 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53240 eval ac_val=\$$ac_var
53241 case $ac_val in #(
53242 *${as_nl}*)
53243 case $ac_var in #(
53244 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53245 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53246 esac
53247 case $ac_var in #(
53248 _ | IFS | as_nl) ;; #(
53249 *) $as_unset $ac_var ;;
53250 esac ;;
53251 esac
53252 done
53253
53254 (set) 2>&1 |
53255 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53256 *${as_nl}ac_space=\ *)
53257 # `set' does not quote correctly, so add quotes (double-quote
53258 # substitution turns \\\\ into \\, and sed turns \\ into \).
53259 sed -n \
53260 "s/'/'\\\\''/g;
53261 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53262 ;; #(
53263 *)
53264 # `set' quotes correctly as required by POSIX, so do not add quotes.
53265 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53266 ;;
53267 esac |
53268 sort
53269 ) |
53270 sed '
53271 /^ac_cv_env_/b end
53272 t clear
53273 :clear
53274 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53275 t end
53276 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53277 :end' >>confcache
53278 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
53279 if test -w "$cache_file"; then
53280 test "x$cache_file" != "x/dev/null" &&
53281 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53282 echo "$as_me: updating cache $cache_file" >&6;}
53283 cat confcache >$cache_file
53284 else
53285 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53286 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53287 fi
53288 fi
53289 rm -f confcache
53290
53291 test "x$prefix" = xNONE && prefix=$ac_default_prefix
53292 # Let make expand exec_prefix.
53293 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
53294
53295 DEFS=-DHAVE_CONFIG_H
53296
53297 ac_libobjs=
53298 ac_ltlibobjs=
53299 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
53300 # 1. Remove the extension, and $U if already installed.
53301 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
53302 ac_i=`echo "$ac_i" | sed "$ac_script"`
53303 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53304 # will be set to the directory where LIBOBJS objects are built.
53305 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53306 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53307 done
53308 LIBOBJS=$ac_libobjs
53309
53310 LTLIBOBJS=$ac_ltlibobjs
53311
53312
53313
53314 : ${CONFIG_STATUS=./config.status}
53315 ac_clean_files_save=$ac_clean_files
53316 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
53317 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53318 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53319 cat >$CONFIG_STATUS <<_ACEOF
53320 #! $SHELL
53321 # Generated by $as_me.
53322 # Run this file to recreate the current configuration.
53323 # Compiler output produced by configure, useful for debugging
53324 # configure, is in config.log if it exists.
53325
53326 debug=false
53327 ac_cs_recheck=false
53328 ac_cs_silent=false
53329 SHELL=\${CONFIG_SHELL-$SHELL}
53330 _ACEOF
53331
53332 cat >>$CONFIG_STATUS <<\_ACEOF
53333 ## --------------------- ##
53334 ## M4sh Initialization. ##
53335 ## --------------------- ##
53336
53337 # Be more Bourne compatible
53338 DUALCASE=1; export DUALCASE # for MKS sh
53339 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53340 emulate sh
53341 NULLCMD=:
53342 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53343 # is contrary to our usage. Disable this feature.
53344 alias -g '${1+"$@"}'='"$@"'
53345 setopt NO_GLOB_SUBST
53346 else
53347 case `(set -o) 2>/dev/null` in
53348 *posix*) set -o posix ;;
53349 esac
53350
53351 fi
53352
53353
53354
53355
53356 # PATH needs CR
53357 # Avoid depending upon Character Ranges.
53358 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53359 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53360 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53361 as_cr_digits='0123456789'
53362 as_cr_alnum=$as_cr_Letters$as_cr_digits
53363
53364 # The user is always right.
53365 if test "${PATH_SEPARATOR+set}" != set; then
53366 echo "#! /bin/sh" >conf$$.sh
53367 echo "exit 0" >>conf$$.sh
53368 chmod +x conf$$.sh
53369 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53370 PATH_SEPARATOR=';'
53371 else
53372 PATH_SEPARATOR=:
53373 fi
53374 rm -f conf$$.sh
53375 fi
53376
53377 # Support unset when possible.
53378 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53379 as_unset=unset
53380 else
53381 as_unset=false
53382 fi
53383
53384
53385 # IFS
53386 # We need space, tab and new line, in precisely that order. Quoting is
53387 # there to prevent editors from complaining about space-tab.
53388 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53389 # splitting by setting IFS to empty value.)
53390 as_nl='
53391 '
53392 IFS=" "" $as_nl"
53393
53394 # Find who we are. Look in the path if we contain no directory separator.
53395 case $0 in
53396 *[\\/]* ) as_myself=$0 ;;
53397 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53398 for as_dir in $PATH
53399 do
53400 IFS=$as_save_IFS
53401 test -z "$as_dir" && as_dir=.
53402 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53403 done
53404 IFS=$as_save_IFS
53405
53406 ;;
53407 esac
53408 # We did not find ourselves, most probably we were run as `sh COMMAND'
53409 # in which case we are not to be found in the path.
53410 if test "x$as_myself" = x; then
53411 as_myself=$0
53412 fi
53413 if test ! -f "$as_myself"; then
53414 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53415 { (exit 1); exit 1; }
53416 fi
53417
53418 # Work around bugs in pre-3.0 UWIN ksh.
53419 for as_var in ENV MAIL MAILPATH
53420 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53421 done
53422 PS1='$ '
53423 PS2='> '
53424 PS4='+ '
53425
53426 # NLS nuisances.
53427 for as_var in \
53428 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53429 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53430 LC_TELEPHONE LC_TIME
53431 do
53432 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53433 eval $as_var=C; export $as_var
53434 else
53435 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53436 fi
53437 done
53438
53439 # Required to use basename.
53440 if expr a : '\(a\)' >/dev/null 2>&1 &&
53441 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53442 as_expr=expr
53443 else
53444 as_expr=false
53445 fi
53446
53447 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53448 as_basename=basename
53449 else
53450 as_basename=false
53451 fi
53452
53453
53454 # Name of the executable.
53455 as_me=`$as_basename -- "$0" ||
53456 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53457 X"$0" : 'X\(//\)$' \| \
53458 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53459 echo X/"$0" |
53460 sed '/^.*\/\([^/][^/]*\)\/*$/{
53461 s//\1/
53462 q
53463 }
53464 /^X\/\(\/\/\)$/{
53465 s//\1/
53466 q
53467 }
53468 /^X\/\(\/\).*/{
53469 s//\1/
53470 q
53471 }
53472 s/.*/./; q'`
53473
53474 # CDPATH.
53475 $as_unset CDPATH
53476
53477
53478
53479 as_lineno_1=$LINENO
53480 as_lineno_2=$LINENO
53481 test "x$as_lineno_1" != "x$as_lineno_2" &&
53482 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53483
53484 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53485 # uniformly replaced by the line number. The first 'sed' inserts a
53486 # line-number line after each line using $LINENO; the second 'sed'
53487 # does the real work. The second script uses 'N' to pair each
53488 # line-number line with the line containing $LINENO, and appends
53489 # trailing '-' during substitution so that $LINENO is not a special
53490 # case at line end.
53491 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53492 # scripts with optimization help from Paolo Bonzini. Blame Lee
53493 # E. McMahon (1931-1989) for sed's syntax. :-)
53494 sed -n '
53495 p
53496 /[$]LINENO/=
53497 ' <$as_myself |
53498 sed '
53499 s/[$]LINENO.*/&-/
53500 t lineno
53501 b
53502 :lineno
53503 N
53504 :loop
53505 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53506 t loop
53507 s/-\n.*//
53508 ' >$as_me.lineno &&
53509 chmod +x "$as_me.lineno" ||
53510 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53511 { (exit 1); exit 1; }; }
53512
53513 # Don't try to exec as it changes $[0], causing all sort of problems
53514 # (the dirname of $[0] is not the place where we might find the
53515 # original and so on. Autoconf is especially sensitive to this).
53516 . "./$as_me.lineno"
53517 # Exit status is that of the last command.
53518 exit
53519 }
53520
53521
53522 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53523 as_dirname=dirname
53524 else
53525 as_dirname=false
53526 fi
53527
53528 ECHO_C= ECHO_N= ECHO_T=
53529 case `echo -n x` in
53530 -n*)
53531 case `echo 'x\c'` in
53532 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53533 *) ECHO_C='\c';;
53534 esac;;
53535 *)
53536 ECHO_N='-n';;
53537 esac
53538
53539 if expr a : '\(a\)' >/dev/null 2>&1 &&
53540 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53541 as_expr=expr
53542 else
53543 as_expr=false
53544 fi
53545
53546 rm -f conf$$ conf$$.exe conf$$.file
53547 if test -d conf$$.dir; then
53548 rm -f conf$$.dir/conf$$.file
53549 else
53550 rm -f conf$$.dir
53551 mkdir conf$$.dir
53552 fi
53553 echo >conf$$.file
53554 if ln -s conf$$.file conf$$ 2>/dev/null; then
53555 as_ln_s='ln -s'
53556 # ... but there are two gotchas:
53557 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53558 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53559 # In both cases, we have to default to `cp -p'.
53560 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53561 as_ln_s='cp -p'
53562 elif ln conf$$.file conf$$ 2>/dev/null; then
53563 as_ln_s=ln
53564 else
53565 as_ln_s='cp -p'
53566 fi
53567 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53568 rmdir conf$$.dir 2>/dev/null
53569
53570 if mkdir -p . 2>/dev/null; then
53571 as_mkdir_p=:
53572 else
53573 test -d ./-p && rmdir ./-p
53574 as_mkdir_p=false
53575 fi
53576
53577 if test -x / >/dev/null 2>&1; then
53578 as_test_x='test -x'
53579 else
53580 if ls -dL / >/dev/null 2>&1; then
53581 as_ls_L_option=L
53582 else
53583 as_ls_L_option=
53584 fi
53585 as_test_x='
53586 eval sh -c '\''
53587 if test -d "$1"; then
53588 test -d "$1/.";
53589 else
53590 case $1 in
53591 -*)set "./$1";;
53592 esac;
53593 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53594 ???[sx]*):;;*)false;;esac;fi
53595 '\'' sh
53596 '
53597 fi
53598 as_executable_p=$as_test_x
53599
53600 # Sed expression to map a string onto a valid CPP name.
53601 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53602
53603 # Sed expression to map a string onto a valid variable name.
53604 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53605
53606
53607 exec 6>&1
53608
53609 # Save the log message, to keep $[0] and so on meaningful, and to
53610 # report actual input values of CONFIG_FILES etc. instead of their
53611 # values after options handling.
53612 ac_log="
53613 This file was extended by wxWidgets $as_me 2.9.3, which was
53614 generated by GNU Autoconf 2.61. Invocation command line was
53615
53616 CONFIG_FILES = $CONFIG_FILES
53617 CONFIG_HEADERS = $CONFIG_HEADERS
53618 CONFIG_LINKS = $CONFIG_LINKS
53619 CONFIG_COMMANDS = $CONFIG_COMMANDS
53620 $ $0 $@
53621
53622 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53623 "
53624
53625 _ACEOF
53626
53627 cat >>$CONFIG_STATUS <<_ACEOF
53628 # Files that config.status was made for.
53629 config_files="$ac_config_files"
53630 config_headers="$ac_config_headers"
53631 config_commands="$ac_config_commands"
53632
53633 _ACEOF
53634
53635 cat >>$CONFIG_STATUS <<\_ACEOF
53636 ac_cs_usage="\
53637 \`$as_me' instantiates files from templates according to the
53638 current configuration.
53639
53640 Usage: $0 [OPTIONS] [FILE]...
53641
53642 -h, --help print this help, then exit
53643 -V, --version print version number and configuration settings, then exit
53644 -q, --quiet do not print progress messages
53645 -d, --debug don't remove temporary files
53646 --recheck update $as_me by reconfiguring in the same conditions
53647 --file=FILE[:TEMPLATE]
53648 instantiate the configuration file FILE
53649 --header=FILE[:TEMPLATE]
53650 instantiate the configuration header FILE
53651
53652 Configuration files:
53653 $config_files
53654
53655 Configuration headers:
53656 $config_headers
53657
53658 Configuration commands:
53659 $config_commands
53660
53661 Report bugs to <bug-autoconf@gnu.org>."
53662
53663 _ACEOF
53664 cat >>$CONFIG_STATUS <<_ACEOF
53665 ac_cs_version="\\
53666 wxWidgets config.status 2.9.3
53667 configured by $0, generated by GNU Autoconf 2.61,
53668 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53669
53670 Copyright (C) 2006 Free Software Foundation, Inc.
53671 This config.status script is free software; the Free Software Foundation
53672 gives unlimited permission to copy, distribute and modify it."
53673
53674 ac_pwd='$ac_pwd'
53675 srcdir='$srcdir'
53676 INSTALL='$INSTALL'
53677 _ACEOF
53678
53679 cat >>$CONFIG_STATUS <<\_ACEOF
53680 # If no file are specified by the user, then we need to provide default
53681 # value. By we need to know if files were specified by the user.
53682 ac_need_defaults=:
53683 while test $# != 0
53684 do
53685 case $1 in
53686 --*=*)
53687 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53688 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53689 ac_shift=:
53690 ;;
53691 *)
53692 ac_option=$1
53693 ac_optarg=$2
53694 ac_shift=shift
53695 ;;
53696 esac
53697
53698 case $ac_option in
53699 # Handling of the options.
53700 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53701 ac_cs_recheck=: ;;
53702 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53703 echo "$ac_cs_version"; exit ;;
53704 --debug | --debu | --deb | --de | --d | -d )
53705 debug=: ;;
53706 --file | --fil | --fi | --f )
53707 $ac_shift
53708 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53709 ac_need_defaults=false;;
53710 --header | --heade | --head | --hea )
53711 $ac_shift
53712 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53713 ac_need_defaults=false;;
53714 --he | --h)
53715 # Conflict between --help and --header
53716 { echo "$as_me: error: ambiguous option: $1
53717 Try \`$0 --help' for more information." >&2
53718 { (exit 1); exit 1; }; };;
53719 --help | --hel | -h )
53720 echo "$ac_cs_usage"; exit ;;
53721 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53722 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53723 ac_cs_silent=: ;;
53724
53725 # This is an error.
53726 -*) { echo "$as_me: error: unrecognized option: $1
53727 Try \`$0 --help' for more information." >&2
53728 { (exit 1); exit 1; }; } ;;
53729
53730 *) ac_config_targets="$ac_config_targets $1"
53731 ac_need_defaults=false ;;
53732
53733 esac
53734 shift
53735 done
53736
53737 ac_configure_extra_args=
53738
53739 if $ac_cs_silent; then
53740 exec 6>/dev/null
53741 ac_configure_extra_args="$ac_configure_extra_args --silent"
53742 fi
53743
53744 _ACEOF
53745 cat >>$CONFIG_STATUS <<_ACEOF
53746 if \$ac_cs_recheck; then
53747 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53748 CONFIG_SHELL=$SHELL
53749 export CONFIG_SHELL
53750 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53751 fi
53752
53753 _ACEOF
53754 cat >>$CONFIG_STATUS <<\_ACEOF
53755 exec 5>>config.log
53756 {
53757 echo
53758 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53759 ## Running $as_me. ##
53760 _ASBOX
53761 echo "$ac_log"
53762 } >&5
53763
53764 _ACEOF
53765 cat >>$CONFIG_STATUS <<_ACEOF
53766 #
53767 # INIT-COMMANDS
53768 #
53769
53770 CPP="$CPP"
53771 infile="$srcdir/include/wx/msw/genrcdefs.h"
53772 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53773
53774
53775 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53776 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53777 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53778 LN_S="${LN_S}"
53779
53780
53781 _ACEOF
53782
53783 cat >>$CONFIG_STATUS <<\_ACEOF
53784
53785 # Handling of arguments.
53786 for ac_config_target in $ac_config_targets
53787 do
53788 case $ac_config_target in
53789 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53790 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53791 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53792 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53793 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
53794 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53795 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53796 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53797 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53798
53799 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53800 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53801 { (exit 1); exit 1; }; };;
53802 esac
53803 done
53804
53805
53806 # If the user did not use the arguments to specify the items to instantiate,
53807 # then the envvar interface is used. Set only those that are not.
53808 # We use the long form for the default assignment because of an extremely
53809 # bizarre bug on SunOS 4.1.3.
53810 if $ac_need_defaults; then
53811 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53812 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53813 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53814 fi
53815
53816 # Have a temporary directory for convenience. Make it in the build tree
53817 # simply because there is no reason against having it here, and in addition,
53818 # creating and moving files from /tmp can sometimes cause problems.
53819 # Hook for its removal unless debugging.
53820 # Note that there is a small window in which the directory will not be cleaned:
53821 # after its creation but before its name has been assigned to `$tmp'.
53822 $debug ||
53823 {
53824 tmp=
53825 trap 'exit_status=$?
53826 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53827 ' 0
53828 trap '{ (exit 1); exit 1; }' 1 2 13 15
53829 }
53830 # Create a (secure) tmp directory for tmp files.
53831
53832 {
53833 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53834 test -n "$tmp" && test -d "$tmp"
53835 } ||
53836 {
53837 tmp=./conf$$-$RANDOM
53838 (umask 077 && mkdir "$tmp")
53839 } ||
53840 {
53841 echo "$me: cannot create a temporary directory in ." >&2
53842 { (exit 1); exit 1; }
53843 }
53844
53845 #
53846 # Set up the sed scripts for CONFIG_FILES section.
53847 #
53848
53849 # No need to generate the scripts if there are no CONFIG_FILES.
53850 # This happens for instance when ./config.status config.h
53851 if test -n "$CONFIG_FILES"; then
53852
53853 _ACEOF
53854
53855
53856
53857 ac_delim='%!_!# '
53858 for ac_last_try in false false false false false :; do
53859 cat >conf$$subs.sed <<_ACEOF
53860 SHELL!$SHELL$ac_delim
53861 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53862 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53863 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53864 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53865 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53866 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53867 exec_prefix!$exec_prefix$ac_delim
53868 prefix!$prefix$ac_delim
53869 program_transform_name!$program_transform_name$ac_delim
53870 bindir!$bindir$ac_delim
53871 sbindir!$sbindir$ac_delim
53872 libexecdir!$libexecdir$ac_delim
53873 datarootdir!$datarootdir$ac_delim
53874 datadir!$datadir$ac_delim
53875 sysconfdir!$sysconfdir$ac_delim
53876 sharedstatedir!$sharedstatedir$ac_delim
53877 localstatedir!$localstatedir$ac_delim
53878 includedir!$includedir$ac_delim
53879 oldincludedir!$oldincludedir$ac_delim
53880 docdir!$docdir$ac_delim
53881 infodir!$infodir$ac_delim
53882 htmldir!$htmldir$ac_delim
53883 dvidir!$dvidir$ac_delim
53884 pdfdir!$pdfdir$ac_delim
53885 psdir!$psdir$ac_delim
53886 libdir!$libdir$ac_delim
53887 localedir!$localedir$ac_delim
53888 mandir!$mandir$ac_delim
53889 DEFS!$DEFS$ac_delim
53890 ECHO_C!$ECHO_C$ac_delim
53891 ECHO_N!$ECHO_N$ac_delim
53892 ECHO_T!$ECHO_T$ac_delim
53893 LIBS!$LIBS$ac_delim
53894 build_alias!$build_alias$ac_delim
53895 host_alias!$host_alias$ac_delim
53896 target_alias!$target_alias$ac_delim
53897 build!$build$ac_delim
53898 build_cpu!$build_cpu$ac_delim
53899 build_vendor!$build_vendor$ac_delim
53900 build_os!$build_os$ac_delim
53901 host!$host$ac_delim
53902 host_cpu!$host_cpu$ac_delim
53903 host_vendor!$host_vendor$ac_delim
53904 host_os!$host_os$ac_delim
53905 wx_top_builddir!$wx_top_builddir$ac_delim
53906 CC!$CC$ac_delim
53907 CFLAGS!$CFLAGS$ac_delim
53908 LDFLAGS!$LDFLAGS$ac_delim
53909 CPPFLAGS!$CPPFLAGS$ac_delim
53910 ac_ct_CC!$ac_ct_CC$ac_delim
53911 EXEEXT!$EXEEXT$ac_delim
53912 OBJEXT!$OBJEXT$ac_delim
53913 CPP!$CPP$ac_delim
53914 GREP!$GREP$ac_delim
53915 EGREP!$EGREP$ac_delim
53916 CXX!$CXX$ac_delim
53917 CXXFLAGS!$CXXFLAGS$ac_delim
53918 ac_ct_CXX!$ac_ct_CXX$ac_delim
53919 AR!$AR$ac_delim
53920 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
53921 CXXCPP!$CXXCPP$ac_delim
53922 subdirs!$subdirs$ac_delim
53923 PKG_CONFIG!$PKG_CONFIG$ac_delim
53924 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53925 GTK_LIBS!$GTK_LIBS$ac_delim
53926 GTK_CONFIG!$GTK_CONFIG$ac_delim
53927 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53928 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53929 XMKMF!$XMKMF$ac_delim
53930 X_CFLAGS!$X_CFLAGS$ac_delim
53931 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53932 X_LIBS!$X_LIBS$ac_delim
53933 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53934 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53935 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53936 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53937 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53938 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53939 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53940 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53941 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53942 LIBICONV!$LIBICONV$ac_delim
53943 GXX_VERSION!$GXX_VERSION$ac_delim
53944 SDL_CONFIG!$SDL_CONFIG$ac_delim
53945 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53946 SDL_LIBS!$SDL_LIBS$ac_delim
53947 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53948 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53949 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53950 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53951 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53952 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53953 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53954 HILDON_LIBS!$HILDON_LIBS$ac_delim
53955 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
53956 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
53957 _ACEOF
53958
53959 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53960 break
53961 elif $ac_last_try; then
53962 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53963 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53964 { (exit 1); exit 1; }; }
53965 else
53966 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53967 fi
53968 done
53969
53970 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53971 if test -n "$ac_eof"; then
53972 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53973 ac_eof=`expr $ac_eof + 1`
53974 fi
53975
53976 cat >>$CONFIG_STATUS <<_ACEOF
53977 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53978 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53979 _ACEOF
53980 sed '
53981 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53982 s/^/s,@/; s/!/@,|#_!!_#|/
53983 :n
53984 t n
53985 s/'"$ac_delim"'$/,g/; t
53986 s/$/\\/; p
53987 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53988 ' >>$CONFIG_STATUS <conf$$subs.sed
53989 rm -f conf$$subs.sed
53990 cat >>$CONFIG_STATUS <<_ACEOF
53991 CEOF$ac_eof
53992 _ACEOF
53993
53994
53995 ac_delim='%!_!# '
53996 for ac_last_try in false false false false false :; do
53997 cat >conf$$subs.sed <<_ACEOF
53998 PYTHON!$PYTHON$ac_delim
53999 COND_PYTHON!$COND_PYTHON$ac_delim
54000 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
54001 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
54002 GST_CFLAGS!$GST_CFLAGS$ac_delim
54003 GST_LIBS!$GST_LIBS$ac_delim
54004 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
54005 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
54006 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
54007 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
54008 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
54009 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
54010 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
54011 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
54012 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
54013 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
54014 VENDOR!$VENDOR$ac_delim
54015 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
54016 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
54017 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
54018 WXUNIV!$WXUNIV$ac_delim
54019 MONOLITHIC!$MONOLITHIC$ac_delim
54020 USE_PLUGINS!$USE_PLUGINS$ac_delim
54021 CXXWARNINGS!$CXXWARNINGS$ac_delim
54022 EXTRALIBS!$EXTRALIBS$ac_delim
54023 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
54024 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
54025 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
54026 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
54027 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
54028 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
54029 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
54030 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
54031 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
54032 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
54033 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
54034 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
54035 UNICODE!$UNICODE$ac_delim
54036 DEBUG_INFO!$DEBUG_INFO$ac_delim
54037 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
54038 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
54039 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
54040 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
54041 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
54042 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
54043 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
54044 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
54045 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
54046 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
54047 RANLIB!$RANLIB$ac_delim
54048 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
54049 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
54050 INSTALL_DATA!$INSTALL_DATA$ac_delim
54051 LN_S!$LN_S$ac_delim
54052 SET_MAKE!$SET_MAKE$ac_delim
54053 MAKE_SET!$MAKE_SET$ac_delim
54054 AROPTIONS!$AROPTIONS$ac_delim
54055 STRIP!$STRIP$ac_delim
54056 NM!$NM$ac_delim
54057 INSTALL_DIR!$INSTALL_DIR$ac_delim
54058 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
54059 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
54060 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
54061 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
54062 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
54063 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
54064 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
54065 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
54066 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
54067 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
54068 SO_SUFFIX!$SO_SUFFIX$ac_delim
54069 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
54070 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
54071 LIBPREFIX!$LIBPREFIX$ac_delim
54072 LIBEXT!$LIBEXT$ac_delim
54073 DLLPREFIX!$DLLPREFIX$ac_delim
54074 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
54075 dlldir!$dlldir$ac_delim
54076 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
54077 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
54078 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
54079 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
54080 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
54081 PIC_FLAG!$PIC_FLAG$ac_delim
54082 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
54083 USE_SOVERSION!$USE_SOVERSION$ac_delim
54084 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
54085 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
54086 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
54087 USE_MACVERSION!$USE_MACVERSION$ac_delim
54088 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
54089 SONAME_FLAG!$SONAME_FLAG$ac_delim
54090 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
54091 BK_DEPS!$BK_DEPS$ac_delim
54092 WINDRES!$WINDRES$ac_delim
54093 REZ!$REZ$ac_delim
54094 SETFILE!$SETFILE$ac_delim
54095 _ACEOF
54096
54097 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54098 break
54099 elif $ac_last_try; then
54100 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54101 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54102 { (exit 1); exit 1; }; }
54103 else
54104 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54105 fi
54106 done
54107
54108 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54109 if test -n "$ac_eof"; then
54110 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54111 ac_eof=`expr $ac_eof + 1`
54112 fi
54113
54114 cat >>$CONFIG_STATUS <<_ACEOF
54115 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
54116 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54117 _ACEOF
54118 sed '
54119 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54120 s/^/s,@/; s/!/@,|#_!!_#|/
54121 :n
54122 t n
54123 s/'"$ac_delim"'$/,g/; t
54124 s/$/\\/; p
54125 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54126 ' >>$CONFIG_STATUS <conf$$subs.sed
54127 rm -f conf$$subs.sed
54128 cat >>$CONFIG_STATUS <<_ACEOF
54129 CEOF$ac_eof
54130 _ACEOF
54131
54132
54133 ac_delim='%!_!# '
54134 for ac_last_try in false false false false false :; do
54135 cat >conf$$subs.sed <<_ACEOF
54136 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
54137 GCC_PCH!$GCC_PCH$ac_delim
54138 ICC_PCH!$ICC_PCH$ac_delim
54139 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
54140 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
54141 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
54142 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
54143 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
54144 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
54145 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
54146 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
54147 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
54148 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
54149 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
54150 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
54151 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
54152 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
54153 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
54154 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
54155 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
54156 COND_BUILD_release!$COND_BUILD_release$ac_delim
54157 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
54158 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
54159 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
54160 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
54161 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
54162 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
54163 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
54164 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
54165 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
54166 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
54167 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
54168 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
54169 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
54170 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
54171 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
54172 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
54173 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54174 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
54175 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
54176 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
54177 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
54178 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
54179 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
54180 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
54181 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
54182 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
54183 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
54184 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
54185 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
54186 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
54187 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
54188 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
54189 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
54190 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
54191 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
54192 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
54193 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54194 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
54195 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
54196 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
54197 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
54198 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
54199 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
54200 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
54201 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
54202 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
54203 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
54204 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
54205 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
54206 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
54207 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
54208 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
54209 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
54210 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
54211 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
54212 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
54213 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
54214 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
54215 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
54216 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
54217 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
54218 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
54219 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
54220 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
54221 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
54222 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
54223 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
54224 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
54225 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
54226 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
54227 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
54228 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
54229 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
54230 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
54231 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
54232 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
54233 _ACEOF
54234
54235 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54236 break
54237 elif $ac_last_try; then
54238 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54239 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54240 { (exit 1); exit 1; }; }
54241 else
54242 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54243 fi
54244 done
54245
54246 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54247 if test -n "$ac_eof"; then
54248 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54249 ac_eof=`expr $ac_eof + 1`
54250 fi
54251
54252 cat >>$CONFIG_STATUS <<_ACEOF
54253 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54254 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54255 _ACEOF
54256 sed '
54257 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54258 s/^/s,@/; s/!/@,|#_!!_#|/
54259 :n
54260 t n
54261 s/'"$ac_delim"'$/,g/; t
54262 s/$/\\/; p
54263 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54264 ' >>$CONFIG_STATUS <conf$$subs.sed
54265 rm -f conf$$subs.sed
54266 cat >>$CONFIG_STATUS <<_ACEOF
54267 CEOF$ac_eof
54268 _ACEOF
54269
54270
54271 ac_delim='%!_!# '
54272 for ac_last_try in false false false false false :; do
54273 cat >conf$$subs.sed <<_ACEOF
54274 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54275 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54276 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
54277 COND_SHARED_0!$COND_SHARED_0$ac_delim
54278 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54279 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54280 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54281 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54282 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54283 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54284 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54285 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54286 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
54287 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
54288 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
54289 COND_SHARED_1!$COND_SHARED_1$ac_delim
54290 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54291 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54292 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54293 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54294 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54295 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54296 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54297 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54298 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54299 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54300 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54301 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54302 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54303 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54304 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54305 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54306 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54307 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54308 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54309 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54310 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54311 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54312 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54313 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54314 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54315 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
54316 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
54317 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
54318 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
54319 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
54320 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
54321 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
54322 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54323 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54324 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54325 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54326 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54327 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54328 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54329 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54330 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54331 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54332 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
54333 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54334 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54335 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54336 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54337 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54338 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54339 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54340 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54341 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54342 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54343 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54344 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54345 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54346 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54347 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54348 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54349 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54350 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54351 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
54352 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54353 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54354 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54355 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
54356 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54357 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54358 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54359 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54360 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54361 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54362 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54363 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54364 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54365 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54366 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54367 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54368 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54369 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54370 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54371 _ACEOF
54372
54373 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54374 break
54375 elif $ac_last_try; then
54376 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54377 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54378 { (exit 1); exit 1; }; }
54379 else
54380 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54381 fi
54382 done
54383
54384 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54385 if test -n "$ac_eof"; then
54386 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54387 ac_eof=`expr $ac_eof + 1`
54388 fi
54389
54390 cat >>$CONFIG_STATUS <<_ACEOF
54391 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54392 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54393 _ACEOF
54394 sed '
54395 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54396 s/^/s,@/; s/!/@,|#_!!_#|/
54397 :n
54398 t n
54399 s/'"$ac_delim"'$/,g/; t
54400 s/$/\\/; p
54401 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54402 ' >>$CONFIG_STATUS <conf$$subs.sed
54403 rm -f conf$$subs.sed
54404 cat >>$CONFIG_STATUS <<_ACEOF
54405 CEOF$ac_eof
54406 _ACEOF
54407
54408
54409 ac_delim='%!_!# '
54410 for ac_last_try in false false false false false :; do
54411 cat >conf$$subs.sed <<_ACEOF
54412 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
54413 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
54414 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
54415 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
54416 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
54417 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
54418 DEREZ!$DEREZ$ac_delim
54419 SHARED!$SHARED$ac_delim
54420 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54421 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54422 USE_GUI!$USE_GUI$ac_delim
54423 AFMINSTALL!$AFMINSTALL$ac_delim
54424 WIN32INSTALL!$WIN32INSTALL$ac_delim
54425 TOOLKIT!$TOOLKIT$ac_delim
54426 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54427 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54428 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54429 cross_compiling!$cross_compiling$ac_delim
54430 WIDGET_SET!$WIDGET_SET$ac_delim
54431 WX_RELEASE!$WX_RELEASE$ac_delim
54432 WX_VERSION!$WX_VERSION$ac_delim
54433 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54434 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54435 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54436 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54437 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54438 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54439 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54440 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
54441 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54442 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54443 GUIDIST!$GUIDIST$ac_delim
54444 DISTDIR!$DISTDIR$ac_delim
54445 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54446 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54447 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54448 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54449 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54450 RESCOMP!$RESCOMP$ac_delim
54451 RESFLAGS!$RESFLAGS$ac_delim
54452 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54453 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54454 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54455 LIBWXMACRES!$LIBWXMACRES$ac_delim
54456 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54457 MACSETFILE!$MACSETFILE$ac_delim
54458 GCC!$GCC$ac_delim
54459 DLLTOOL!$DLLTOOL$ac_delim
54460 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54461 LIBOBJS!$LIBOBJS$ac_delim
54462 LTLIBOBJS!$LTLIBOBJS$ac_delim
54463 _ACEOF
54464
54465 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
54466 break
54467 elif $ac_last_try; then
54468 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54469 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54470 { (exit 1); exit 1; }; }
54471 else
54472 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54473 fi
54474 done
54475
54476 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54477 if test -n "$ac_eof"; then
54478 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54479 ac_eof=`expr $ac_eof + 1`
54480 fi
54481
54482 cat >>$CONFIG_STATUS <<_ACEOF
54483 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54484 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54485 _ACEOF
54486 sed '
54487 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54488 s/^/s,@/; s/!/@,|#_!!_#|/
54489 :n
54490 t n
54491 s/'"$ac_delim"'$/,g/; t
54492 s/$/\\/; p
54493 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54494 ' >>$CONFIG_STATUS <conf$$subs.sed
54495 rm -f conf$$subs.sed
54496 cat >>$CONFIG_STATUS <<_ACEOF
54497 :end
54498 s/|#_!!_#|//g
54499 CEOF$ac_eof
54500 _ACEOF
54501
54502
54503 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54504 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54505 # trailing colons and then remove the whole line if VPATH becomes empty
54506 # (actually we leave an empty line to preserve line numbers).
54507 if test "x$srcdir" = x.; then
54508 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54509 s/:*\$(srcdir):*/:/
54510 s/:*\${srcdir}:*/:/
54511 s/:*@srcdir@:*/:/
54512 s/^\([^=]*=[ ]*\):*/\1/
54513 s/:*$//
54514 s/^[^=]*=[ ]*$//
54515 }'
54516 fi
54517
54518 cat >>$CONFIG_STATUS <<\_ACEOF
54519 fi # test -n "$CONFIG_FILES"
54520
54521
54522 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54523 do
54524 case $ac_tag in
54525 :[FHLC]) ac_mode=$ac_tag; continue;;
54526 esac
54527 case $ac_mode$ac_tag in
54528 :[FHL]*:*);;
54529 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54530 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54531 { (exit 1); exit 1; }; };;
54532 :[FH]-) ac_tag=-:-;;
54533 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54534 esac
54535 ac_save_IFS=$IFS
54536 IFS=:
54537 set x $ac_tag
54538 IFS=$ac_save_IFS
54539 shift
54540 ac_file=$1
54541 shift
54542
54543 case $ac_mode in
54544 :L) ac_source=$1;;
54545 :[FH])
54546 ac_file_inputs=
54547 for ac_f
54548 do
54549 case $ac_f in
54550 -) ac_f="$tmp/stdin";;
54551 *) # Look for the file first in the build tree, then in the source tree
54552 # (if the path is not absolute). The absolute path cannot be DOS-style,
54553 # because $ac_f cannot contain `:'.
54554 test -f "$ac_f" ||
54555 case $ac_f in
54556 [\\/$]*) false;;
54557 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54558 esac ||
54559 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54560 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54561 { (exit 1); exit 1; }; };;
54562 esac
54563 ac_file_inputs="$ac_file_inputs $ac_f"
54564 done
54565
54566 # Let's still pretend it is `configure' which instantiates (i.e., don't
54567 # use $as_me), people would be surprised to read:
54568 # /* config.h. Generated by config.status. */
54569 configure_input="Generated from "`IFS=:
54570 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54571 if test x"$ac_file" != x-; then
54572 configure_input="$ac_file. $configure_input"
54573 { echo "$as_me:$LINENO: creating $ac_file" >&5
54574 echo "$as_me: creating $ac_file" >&6;}
54575 fi
54576
54577 case $ac_tag in
54578 *:-:* | *:-) cat >"$tmp/stdin";;
54579 esac
54580 ;;
54581 esac
54582
54583 ac_dir=`$as_dirname -- "$ac_file" ||
54584 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54585 X"$ac_file" : 'X\(//\)[^/]' \| \
54586 X"$ac_file" : 'X\(//\)$' \| \
54587 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54588 echo X"$ac_file" |
54589 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54590 s//\1/
54591 q
54592 }
54593 /^X\(\/\/\)[^/].*/{
54594 s//\1/
54595 q
54596 }
54597 /^X\(\/\/\)$/{
54598 s//\1/
54599 q
54600 }
54601 /^X\(\/\).*/{
54602 s//\1/
54603 q
54604 }
54605 s/.*/./; q'`
54606 { as_dir="$ac_dir"
54607 case $as_dir in #(
54608 -*) as_dir=./$as_dir;;
54609 esac
54610 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54611 as_dirs=
54612 while :; do
54613 case $as_dir in #(
54614 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54615 *) as_qdir=$as_dir;;
54616 esac
54617 as_dirs="'$as_qdir' $as_dirs"
54618 as_dir=`$as_dirname -- "$as_dir" ||
54619 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54620 X"$as_dir" : 'X\(//\)[^/]' \| \
54621 X"$as_dir" : 'X\(//\)$' \| \
54622 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54623 echo X"$as_dir" |
54624 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54625 s//\1/
54626 q
54627 }
54628 /^X\(\/\/\)[^/].*/{
54629 s//\1/
54630 q
54631 }
54632 /^X\(\/\/\)$/{
54633 s//\1/
54634 q
54635 }
54636 /^X\(\/\).*/{
54637 s//\1/
54638 q
54639 }
54640 s/.*/./; q'`
54641 test -d "$as_dir" && break
54642 done
54643 test -z "$as_dirs" || eval "mkdir $as_dirs"
54644 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54645 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54646 { (exit 1); exit 1; }; }; }
54647 ac_builddir=.
54648
54649 case "$ac_dir" in
54650 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54651 *)
54652 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54653 # A ".." for each directory in $ac_dir_suffix.
54654 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54655 case $ac_top_builddir_sub in
54656 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54657 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54658 esac ;;
54659 esac
54660 ac_abs_top_builddir=$ac_pwd
54661 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54662 # for backward compatibility:
54663 ac_top_builddir=$ac_top_build_prefix
54664
54665 case $srcdir in
54666 .) # We are building in place.
54667 ac_srcdir=.
54668 ac_top_srcdir=$ac_top_builddir_sub
54669 ac_abs_top_srcdir=$ac_pwd ;;
54670 [\\/]* | ?:[\\/]* ) # Absolute name.
54671 ac_srcdir=$srcdir$ac_dir_suffix;
54672 ac_top_srcdir=$srcdir
54673 ac_abs_top_srcdir=$srcdir ;;
54674 *) # Relative name.
54675 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54676 ac_top_srcdir=$ac_top_build_prefix$srcdir
54677 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54678 esac
54679 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54680
54681
54682 case $ac_mode in
54683 :F)
54684 #
54685 # CONFIG_FILE
54686 #
54687
54688 case $INSTALL in
54689 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54690 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54691 esac
54692 _ACEOF
54693
54694 cat >>$CONFIG_STATUS <<\_ACEOF
54695 # If the template does not know about datarootdir, expand it.
54696 # FIXME: This hack should be removed a few years after 2.60.
54697 ac_datarootdir_hack=; ac_datarootdir_seen=
54698
54699 case `sed -n '/datarootdir/ {
54700 p
54701 q
54702 }
54703 /@datadir@/p
54704 /@docdir@/p
54705 /@infodir@/p
54706 /@localedir@/p
54707 /@mandir@/p
54708 ' $ac_file_inputs` in
54709 *datarootdir*) ac_datarootdir_seen=yes;;
54710 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54711 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54712 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54713 _ACEOF
54714 cat >>$CONFIG_STATUS <<_ACEOF
54715 ac_datarootdir_hack='
54716 s&@datadir@&$datadir&g
54717 s&@docdir@&$docdir&g
54718 s&@infodir@&$infodir&g
54719 s&@localedir@&$localedir&g
54720 s&@mandir@&$mandir&g
54721 s&\\\${datarootdir}&$datarootdir&g' ;;
54722 esac
54723 _ACEOF
54724
54725 # Neutralize VPATH when `$srcdir' = `.'.
54726 # Shell code in configure.ac might set extrasub.
54727 # FIXME: do we really want to maintain this feature?
54728 cat >>$CONFIG_STATUS <<_ACEOF
54729 sed "$ac_vpsub
54730 $extrasub
54731 _ACEOF
54732 cat >>$CONFIG_STATUS <<\_ACEOF
54733 :t
54734 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54735 s&@configure_input@&$configure_input&;t t
54736 s&@top_builddir@&$ac_top_builddir_sub&;t t
54737 s&@srcdir@&$ac_srcdir&;t t
54738 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54739 s&@top_srcdir@&$ac_top_srcdir&;t t
54740 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54741 s&@builddir@&$ac_builddir&;t t
54742 s&@abs_builddir@&$ac_abs_builddir&;t t
54743 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54744 s&@INSTALL@&$ac_INSTALL&;t t
54745 $ac_datarootdir_hack
54746 " $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
54747
54748 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54749 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54750 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54751 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54752 which seems to be undefined. Please make sure it is defined." >&5
54753 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54754 which seems to be undefined. Please make sure it is defined." >&2;}
54755
54756 rm -f "$tmp/stdin"
54757 case $ac_file in
54758 -) cat "$tmp/out"; rm -f "$tmp/out";;
54759 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54760 esac
54761 ;;
54762 :H)
54763 #
54764 # CONFIG_HEADER
54765 #
54766 _ACEOF
54767
54768 # Transform confdefs.h into a sed script `conftest.defines', that
54769 # substitutes the proper values into config.h.in to produce config.h.
54770 rm -f conftest.defines conftest.tail
54771 # First, append a space to every undef/define line, to ease matching.
54772 echo 's/$/ /' >conftest.defines
54773 # Then, protect against being on the right side of a sed subst, or in
54774 # an unquoted here document, in config.status. If some macros were
54775 # called several times there might be several #defines for the same
54776 # symbol, which is useless. But do not sort them, since the last
54777 # AC_DEFINE must be honored.
54778 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54779 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54780 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54781 # PARAMS is the parameter list in the macro definition--in most cases, it's
54782 # just an empty string.
54783 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54784 ac_dB='\\)[ (].*,\\1define\\2'
54785 ac_dC=' '
54786 ac_dD=' ,'
54787
54788 uniq confdefs.h |
54789 sed -n '
54790 t rset
54791 :rset
54792 s/^[ ]*#[ ]*define[ ][ ]*//
54793 t ok
54794 d
54795 :ok
54796 s/[\\&,]/\\&/g
54797 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54798 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54799 ' >>conftest.defines
54800
54801 # Remove the space that was appended to ease matching.
54802 # Then replace #undef with comments. This is necessary, for
54803 # example, in the case of _POSIX_SOURCE, which is predefined and required
54804 # on some systems where configure will not decide to define it.
54805 # (The regexp can be short, since the line contains either #define or #undef.)
54806 echo 's/ $//
54807 s,^[ #]*u.*,/* & */,' >>conftest.defines
54808
54809 # Break up conftest.defines:
54810 ac_max_sed_lines=50
54811
54812 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54813 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54814 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54815 # et cetera.
54816 ac_in='$ac_file_inputs'
54817 ac_out='"$tmp/out1"'
54818 ac_nxt='"$tmp/out2"'
54819
54820 while :
54821 do
54822 # Write a here document:
54823 cat >>$CONFIG_STATUS <<_ACEOF
54824 # First, check the format of the line:
54825 cat >"\$tmp/defines.sed" <<\\CEOF
54826 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54827 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54828 b
54829 :def
54830 _ACEOF
54831 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54832 echo 'CEOF
54833 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54834 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54835 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54836 grep . conftest.tail >/dev/null || break
54837 rm -f conftest.defines
54838 mv conftest.tail conftest.defines
54839 done
54840 rm -f conftest.defines conftest.tail
54841
54842 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54843 cat >>$CONFIG_STATUS <<\_ACEOF
54844 if test x"$ac_file" != x-; then
54845 echo "/* $configure_input */" >"$tmp/config.h"
54846 cat "$ac_result" >>"$tmp/config.h"
54847 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54848 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54849 echo "$as_me: $ac_file is unchanged" >&6;}
54850 else
54851 rm -f $ac_file
54852 mv "$tmp/config.h" $ac_file
54853 fi
54854 else
54855 echo "/* $configure_input */"
54856 cat "$ac_result"
54857 fi
54858 rm -f "$tmp/out12"
54859 ;;
54860
54861 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54862 echo "$as_me: executing $ac_file commands" >&6;}
54863 ;;
54864 esac
54865
54866
54867 case $ac_file$ac_mode in
54868 "rcdefs.h":C)
54869 mkdir -p $outdir &&
54870 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54871 ;;
54872 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54873 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54874 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
54875 "wx-config":C) rm -f wx-config
54876 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54877 ;;
54878
54879 esac
54880 done # for ac_tag
54881
54882
54883 { (exit 0); exit 0; }
54884 _ACEOF
54885 chmod +x $CONFIG_STATUS
54886 ac_clean_files=$ac_clean_files_save
54887
54888
54889 # configure is writing to config.log, and then calls config.status.
54890 # config.status does its own redirection, appending to config.log.
54891 # Unfortunately, on DOS this fails, as config.log is still kept open
54892 # by configure, so config.status won't be able to write to it; its
54893 # output is simply discarded. So we exec the FD to /dev/null,
54894 # effectively closing config.log, so it can be properly (re)opened and
54895 # appended to by config.status. When coming back to configure, we
54896 # need to make the FD available again.
54897 if test "$no_create" != yes; then
54898 ac_cs_success=:
54899 ac_config_status_args=
54900 test "$silent" = yes &&
54901 ac_config_status_args="$ac_config_status_args --quiet"
54902 exec 5>/dev/null
54903 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54904 exec 5>>config.log
54905 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54906 # would make configure fail if this is the last instruction.
54907 $ac_cs_success || { (exit 1); exit 1; }
54908 fi
54909
54910 #
54911 # CONFIG_SUBDIRS section.
54912 #
54913 if test "$no_recursion" != yes; then
54914
54915 # Remove --cache-file and --srcdir arguments so they do not pile up.
54916 ac_sub_configure_args=
54917 ac_prev=
54918 eval "set x $ac_configure_args"
54919 shift
54920 for ac_arg
54921 do
54922 if test -n "$ac_prev"; then
54923 ac_prev=
54924 continue
54925 fi
54926 case $ac_arg in
54927 -cache-file | --cache-file | --cache-fil | --cache-fi \
54928 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54929 ac_prev=cache_file ;;
54930 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54931 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54932 | --c=*)
54933 ;;
54934 --config-cache | -C)
54935 ;;
54936 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54937 ac_prev=srcdir ;;
54938 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54939 ;;
54940 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54941 ac_prev=prefix ;;
54942 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54943 ;;
54944 *)
54945 case $ac_arg in
54946 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54947 esac
54948 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54949 esac
54950 done
54951
54952 # Always prepend --prefix to ensure using the same prefix
54953 # in subdir configurations.
54954 ac_arg="--prefix=$prefix"
54955 case $ac_arg in
54956 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54957 esac
54958 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54959
54960 # Pass --silent
54961 if test "$silent" = yes; then
54962 ac_sub_configure_args="--silent $ac_sub_configure_args"
54963 fi
54964
54965 ac_popdir=`pwd`
54966 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54967
54968 # Do not complain, so a configure script can configure whichever
54969 # parts of a large source tree are present.
54970 test -d "$srcdir/$ac_dir" || continue
54971
54972 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54973 echo "$as_me:$LINENO: $ac_msg" >&5
54974 echo "$ac_msg" >&6
54975 { as_dir="$ac_dir"
54976 case $as_dir in #(
54977 -*) as_dir=./$as_dir;;
54978 esac
54979 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54980 as_dirs=
54981 while :; do
54982 case $as_dir in #(
54983 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54984 *) as_qdir=$as_dir;;
54985 esac
54986 as_dirs="'$as_qdir' $as_dirs"
54987 as_dir=`$as_dirname -- "$as_dir" ||
54988 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54989 X"$as_dir" : 'X\(//\)[^/]' \| \
54990 X"$as_dir" : 'X\(//\)$' \| \
54991 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54992 echo X"$as_dir" |
54993 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54994 s//\1/
54995 q
54996 }
54997 /^X\(\/\/\)[^/].*/{
54998 s//\1/
54999 q
55000 }
55001 /^X\(\/\/\)$/{
55002 s//\1/
55003 q
55004 }
55005 /^X\(\/\).*/{
55006 s//\1/
55007 q
55008 }
55009 s/.*/./; q'`
55010 test -d "$as_dir" && break
55011 done
55012 test -z "$as_dirs" || eval "mkdir $as_dirs"
55013 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
55014 echo "$as_me: error: cannot create directory $as_dir" >&2;}
55015 { (exit 1); exit 1; }; }; }
55016 ac_builddir=.
55017
55018 case "$ac_dir" in
55019 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
55020 *)
55021 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
55022 # A ".." for each directory in $ac_dir_suffix.
55023 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
55024 case $ac_top_builddir_sub in
55025 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
55026 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
55027 esac ;;
55028 esac
55029 ac_abs_top_builddir=$ac_pwd
55030 ac_abs_builddir=$ac_pwd$ac_dir_suffix
55031 # for backward compatibility:
55032 ac_top_builddir=$ac_top_build_prefix
55033
55034 case $srcdir in
55035 .) # We are building in place.
55036 ac_srcdir=.
55037 ac_top_srcdir=$ac_top_builddir_sub
55038 ac_abs_top_srcdir=$ac_pwd ;;
55039 [\\/]* | ?:[\\/]* ) # Absolute name.
55040 ac_srcdir=$srcdir$ac_dir_suffix;
55041 ac_top_srcdir=$srcdir
55042 ac_abs_top_srcdir=$srcdir ;;
55043 *) # Relative name.
55044 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
55045 ac_top_srcdir=$ac_top_build_prefix$srcdir
55046 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
55047 esac
55048 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
55049
55050
55051 cd "$ac_dir"
55052
55053 # Check for guested configure; otherwise get Cygnus style configure.
55054 if test -f "$ac_srcdir/configure.gnu"; then
55055 ac_sub_configure=$ac_srcdir/configure.gnu
55056 elif test -f "$ac_srcdir/configure"; then
55057 ac_sub_configure=$ac_srcdir/configure
55058 elif test -f "$ac_srcdir/configure.in"; then
55059 # This should be Cygnus configure.
55060 ac_sub_configure=$ac_aux_dir/configure
55061 else
55062 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
55063 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
55064 ac_sub_configure=
55065 fi
55066
55067 # The recursion is here.
55068 if test -n "$ac_sub_configure"; then
55069 # Make the cache file name correct relative to the subdirectory.
55070 case $cache_file in
55071 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
55072 *) # Relative name.
55073 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
55074 esac
55075
55076 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
55077 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
55078 # The eval makes quoting arguments work.
55079 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
55080 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
55081 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
55082 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
55083 { (exit 1); exit 1; }; }
55084 fi
55085
55086 cd "$ac_popdir"
55087 done
55088 fi
55089
55090
55091 echo
55092 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
55093 echo ""
55094 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
55095 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
55096 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
55097 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
55098 if test "$wxUSE_UNICODE" = "yes"; then
55099 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
55100 echo " (using UTF-8)"
55101 else
55102 echo " (using wchar_t)"
55103 fi
55104 else
55105 echo
55106 fi
55107
55108 echo " What level of wxWidgets compatibility should be enabled?"
55109 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
55110 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
55111
55112 echo " Which libraries should wxWidgets use?"
55113 echo " STL ${wxUSE_STL}"
55114 echo " jpeg ${wxUSE_LIBJPEG-none}"
55115 echo " png ${wxUSE_LIBPNG-none}"
55116 echo " regex ${wxUSE_REGEX}"
55117 echo " tiff ${wxUSE_LIBTIFF-none}"
55118 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
55119 echo " xpm ${wxUSE_LIBXPM-none}"
55120 fi
55121 echo " zlib ${wxUSE_ZLIB}"
55122 echo " expat ${wxUSE_EXPAT}"
55123 echo " libmspack ${wxUSE_LIBMSPACK}"
55124 echo " sdl ${wxUSE_LIBSDL}"
55125
55126 echo ""
55127