]> git.saurik.com Git - wxWidgets.git/blob - configure
Refactored a very confusing condition in wxPGComboBox item paint code
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.1.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.1'
579 PACKAGE_STRING='wxWidgets 2.9.1'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 wx_top_builddir
665 CC
666 CFLAGS
667 LDFLAGS
668 CPPFLAGS
669 ac_ct_CC
670 EXEEXT
671 OBJEXT
672 CPP
673 GREP
674 EGREP
675 CXX
676 CXXFLAGS
677 ac_ct_CXX
678 AR
679 OSX_SW_VERS
680 subdirs
681 PKG_CONFIG
682 GTK_CFLAGS
683 GTK_LIBS
684 GTK_CONFIG
685 DIRECTFB_CFLAGS
686 DIRECTFB_LIBS
687 XMKMF
688 X_CFLAGS
689 X_PRE_LIBS
690 X_LIBS
691 X_EXTRA_LIBS
692 PANGOX_CFLAGS
693 PANGOX_LIBS
694 PANGOFT2_CFLAGS
695 PANGOFT2_LIBS
696 PANGOXFT_CFLAGS
697 PANGOXFT_LIBS
698 CFLAGS_VISIBILITY
699 CXXFLAGS_VISIBILITY
700 LIBICONV
701 GXX_VERSION
702 SDL_CONFIG
703 SDL_CFLAGS
704 SDL_LIBS
705 GTKPRINT_CFLAGS
706 GTKPRINT_LIBS
707 LIBGNOMEPRINTUI_CFLAGS
708 LIBGNOMEPRINTUI_LIBS
709 GNOMEVFS_CFLAGS
710 GNOMEVFS_LIBS
711 HILDON_CFLAGS
712 HILDON_LIBS
713 HILDON2_CFLAGS
714 HILDON2_LIBS
715 PYTHON
716 COND_PYTHON
717 CAIRO_CFLAGS
718 CAIRO_LIBS
719 GST_CFLAGS
720 GST_LIBS
721 ALL_WX_LIBS
722 BUILT_WX_LIBS
723 STD_BASE_LIBS
724 STD_GUI_LIBS
725 wxUSE_ZLIB
726 wxUSE_REGEX
727 wxUSE_EXPAT
728 wxUSE_LIBJPEG
729 wxUSE_LIBPNG
730 wxUSE_LIBTIFF
731 VENDOR
732 OFFICIAL_BUILD
733 WX_FLAVOUR
734 WX_LIB_FLAVOUR
735 WXUNIV
736 MONOLITHIC
737 USE_PLUGINS
738 CXXWARNINGS
739 EXTRALIBS
740 EXTRALIBS_XML
741 EXTRALIBS_HTML
742 EXTRALIBS_MEDIA
743 EXTRALIBS_GUI
744 EXTRALIBS_OPENGL
745 EXTRALIBS_SDL
746 EXTRALIBS_STC
747 WITH_PLUGIN_SDL
748 EXTRALIBS_GTKPRINT
749 EXTRALIBS_GNOMEPRINT
750 EXTRALIBS_GNOMEVFS
751 EXTRALIBS_HILDON
752 UNICODE
753 DEBUG_INFO
754 DEBUG_FLAG
755 TOOLKIT_LOWERCASE
756 TOOLKIT_VERSION
757 DYLIB_RPATH_INSTALL
758 DYLIB_RPATH_POSTLINK
759 SAMPLES_RPATH_FLAG
760 HEADER_PAD_OPTION
761 HOST_SUFFIX
762 CPPUNIT_CFLAGS
763 CPPUNIT_LIBS
764 RANLIB
765 INSTALL_PROGRAM
766 INSTALL_SCRIPT
767 INSTALL_DATA
768 LN_S
769 SET_MAKE
770 MAKE_SET
771 AROPTIONS
772 STRIP
773 NM
774 INSTALL_DIR
775 LDFLAGS_GUI
776 IF_GNU_MAKE
777 PLATFORM_UNIX
778 PLATFORM_WIN32
779 PLATFORM_MSDOS
780 PLATFORM_MAC
781 PLATFORM_MACOS
782 PLATFORM_MACOSX
783 PLATFORM_OS2
784 PLATFORM_BEOS
785 SO_SUFFIX
786 SO_SUFFIX_MODULE
787 DLLIMP_SUFFIX
788 LIBPREFIX
789 LIBEXT
790 DLLPREFIX
791 DLLPREFIX_MODULE
792 dlldir
793 AIX_CXX_LD
794 SHARED_LD_CC
795 SHARED_LD_CXX
796 SHARED_LD_MODULE_CC
797 SHARED_LD_MODULE_CXX
798 PIC_FLAG
799 WINDOWS_IMPLIB
800 USE_SOVERSION
801 USE_SOVERLINUX
802 USE_SOVERSOLARIS
803 USE_SOVERCYGWIN
804 USE_MACVERSION
805 USE_SOTWOSYMLINKS
806 SONAME_FLAG
807 DEPS_TRACKING
808 BK_DEPS
809 WINDRES
810 REZ
811 SETFILE
812 OBJCXXFLAGS
813 GCC_PCH
814 ICC_PCH
815 ICC_PCH_CREATE_SWITCH
816 ICC_PCH_USE_SWITCH
817 BK_MAKE_PCH
818 COND_BUILD_DEBUG
819 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
820 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
821 COND_BUILD_DEBUG_UNICODE_0
822 COND_BUILD_DEBUG_UNICODE_1
823 COND_BUILD_RELEASE
824 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
825 COND_BUILD_RELEASE_UNICODE_0
826 COND_BUILD_RELEASE_UNICODE_1
827 COND_BUILD_debug
828 COND_BUILD_debug_DEBUG_FLAG_default
829 COND_BUILD_debug_DEBUG_INFO_default
830 COND_BUILD_debug_UNICODE_0
831 COND_BUILD_debug_UNICODE_1
832 COND_BUILD_release
833 COND_BUILD_release_DEBUG_INFO_default
834 COND_BUILD_release_UNICODE_0
835 COND_BUILD_release_UNICODE_1
836 COND_DEBUG_FLAG_0
837 COND_DEBUG_FLAG_1
838 COND_DEBUG_INFO_0
839 COND_DEBUG_INFO_1
840 COND_DEPS_TRACKING_0
841 COND_DEPS_TRACKING_1
842 COND_GCC_PCH_1
843 COND_ICC_PCH_1
844 COND_MONOLITHIC_0
845 COND_MONOLITHIC_0_SHARED_0
846 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
850 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
851 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
852 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
853 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
854 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
855 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
856 COND_MONOLITHIC_0_SHARED_1
857 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
858 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
861 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
862 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
863 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
864 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
865 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
866 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
867 COND_MONOLITHIC_0_USE_AUI_1
868 COND_MONOLITHIC_0_USE_GUI_1
869 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
870 COND_MONOLITHIC_0_USE_HTML_1
871 COND_MONOLITHIC_0_USE_MEDIA_1
872 COND_MONOLITHIC_0_USE_PROPGRID_1
873 COND_MONOLITHIC_0_USE_QA_1
874 COND_MONOLITHIC_0_USE_RIBBON_1
875 COND_MONOLITHIC_0_USE_RICHTEXT_1
876 COND_MONOLITHIC_0_USE_STC_1
877 COND_MONOLITHIC_0_USE_XRC_1
878 COND_MONOLITHIC_1
879 COND_MONOLITHIC_1_SHARED_0
880 COND_MONOLITHIC_1_SHARED_1
881 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
882 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
883 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
884 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
885 COND_PLATFORM_MACOSX_1
886 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
887 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
888 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
889 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
890 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
891 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
892 COND_PLATFORM_MACOSX_1_USE_GUI_1
893 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
894 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
895 COND_PLATFORM_MACOS_1
896 COND_PLATFORM_MAC_0
897 COND_PLATFORM_MAC_1
898 COND_PLATFORM_MSDOS_0
899 COND_PLATFORM_MSDOS_1
900 COND_PLATFORM_OS2_1
901 COND_PLATFORM_UNIX_0
902 COND_PLATFORM_UNIX_1
903 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
904 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
905 COND_PLATFORM_UNIX_1_USE_GUI_1
906 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
907 COND_PLATFORM_WIN32_0
908 COND_PLATFORM_WIN32_1
909 COND_PLATFORM_WIN32_1_SHARED_0
910 COND_SHARED_0
911 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
912 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
913 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
914 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
915 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
916 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
917 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
918 COND_SHARED_0_USE_STC_1
919 COND_SHARED_0_wxUSE_EXPAT_builtin
920 COND_SHARED_0_wxUSE_REGEX_builtin
921 COND_SHARED_0_wxUSE_ZLIB_builtin
922 COND_SHARED_1
923 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
924 COND_TOOLKIT_
925 COND_TOOLKIT_COCOA
926 COND_TOOLKIT_COCOA_USE_GUI_1
927 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
928 COND_TOOLKIT_DFB
929 COND_TOOLKIT_DFB_USE_GUI_1
930 COND_TOOLKIT_GTK
931 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
932 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
933 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
934 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
935 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
936 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
937 COND_TOOLKIT_GTK_USE_GUI_1
938 COND_TOOLKIT_MAC
939 COND_TOOLKIT_MGL
940 COND_TOOLKIT_MGL_USE_GUI_1
941 COND_TOOLKIT_MOTIF
942 COND_TOOLKIT_MOTIF_USE_GUI_1
943 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
944 COND_TOOLKIT_MSW
945 COND_TOOLKIT_MSW_USE_GUI_1
946 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
947 COND_TOOLKIT_MSW_WXUNIV_0
948 COND_TOOLKIT_OSX_CARBON
949 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
950 COND_TOOLKIT_OSX_COCOA
951 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
952 COND_TOOLKIT_OSX_IPHONE
953 COND_TOOLKIT_PM
954 COND_TOOLKIT_PM_USE_GUI_1
955 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
956 COND_TOOLKIT_WINCE
957 COND_TOOLKIT_WINCE_USE_GUI_1
958 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
959 COND_TOOLKIT_WINCE_WXUNIV_0
960 COND_TOOLKIT_X11
961 COND_TOOLKIT_X11_USE_GUI_1
962 COND_UNICODE_1
963 COND_USE_CAIRO_1
964 COND_USE_EXCEPTIONS_0
965 COND_USE_EXCEPTIONS_1
966 COND_USE_GUI_0
967 COND_USE_GUI_1
968 COND_USE_GUI_1_USE_OPENGL_1
969 COND_USE_GUI_1_WXUNIV_0
970 COND_USE_GUI_1_WXUNIV_1
971 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
972 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
973 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
974 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
975 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
976 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
977 COND_USE_OPENGL_1
978 COND_USE_PCH_1
979 COND_USE_PLUGINS_0
980 COND_USE_RTTI_0
981 COND_USE_RTTI_1
982 COND_USE_SOTWOSYMLINKS_1
983 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
984 COND_USE_SOVERLINUX_1
985 COND_USE_SOVERSION_0
986 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
987 COND_USE_SOVERSOLARIS_1
988 COND_USE_STC_1
989 COND_USE_THREADS_0
990 COND_USE_THREADS_1
991 COND_USE_XRC_1
992 COND_WINDOWS_IMPLIB_1
993 COND_WITH_PLUGIN_SDL_1
994 COND_WXUNIV_0
995 COND_WXUNIV_1
996 COND_WXUSE_EXPAT_BUILTIN
997 COND_WXUSE_LIBJPEG_BUILTIN
998 COND_WXUSE_LIBPNG_BUILTIN
999 COND_WXUSE_LIBTIFF_BUILTIN
1000 COND_WXUSE_REGEX_BUILTIN
1001 COND_WXUSE_ZLIB_BUILTIN
1002 COND_wxUSE_EXPAT_builtin
1003 COND_wxUSE_LIBJPEG_builtin
1004 COND_wxUSE_LIBPNG_builtin
1005 COND_wxUSE_LIBTIFF_builtin
1006 COND_wxUSE_REGEX_builtin
1007 COND_wxUSE_ZLIB_builtin
1008 DEREZ
1009 SHARED
1010 WX_LIBRARY_BASENAME_NOGUI
1011 WX_LIBRARY_BASENAME_GUI
1012 USE_GUI
1013 AFMINSTALL
1014 WIN32INSTALL
1015 TOOLKIT
1016 TOOLKIT_DIR
1017 TOOLCHAIN_NAME
1018 TOOLCHAIN_FULLNAME
1019 cross_compiling
1020 WIDGET_SET
1021 WX_RELEASE
1022 WX_VERSION
1023 WX_SUBVERSION
1024 WX_CHARTYPE
1025 WXCONFIG_CPPFLAGS
1026 WXCONFIG_CFLAGS
1027 WXCONFIG_CXXFLAGS
1028 WXCONFIG_LIBS
1029 WXCONFIG_RPATH
1030 WXCONFIG_LDFLAGS
1031 WXCONFIG_LDFLAGS_GUI
1032 WXCONFIG_RESFLAGS
1033 GUIDIST
1034 DISTDIR
1035 SAMPLES_SUBDIRS
1036 LDFLAGS_GL
1037 OPENGL_LIBS
1038 DMALLOC_LIBS
1039 WX_VERSION_TAG
1040 RESCOMP
1041 RESFLAGS
1042 RESPROGRAMOBJ
1043 WX_RESOURCES_MACOSX_ASCII
1044 WX_RESOURCES_MACOSX_DATA
1045 LIBWXMACRES
1046 POSTLINK_COMMAND
1047 MACSETFILE
1048 GCC
1049 DLLTOOL
1050 CPPUNIT_CONFIG
1051 LIBOBJS
1052 LTLIBOBJS'
1053 ac_subst_files=''
1054 ac_precious_vars='build_alias
1055 host_alias
1056 target_alias
1057 CC
1058 CFLAGS
1059 LDFLAGS
1060 LIBS
1061 CPPFLAGS
1062 CPP
1063 CXX
1064 CXXFLAGS
1065 CCC
1066 PKG_CONFIG
1067 DIRECTFB_CFLAGS
1068 DIRECTFB_LIBS
1069 XMKMF
1070 PANGOX_CFLAGS
1071 PANGOX_LIBS
1072 PANGOFT2_CFLAGS
1073 PANGOFT2_LIBS
1074 PANGOXFT_CFLAGS
1075 PANGOXFT_LIBS
1076 GTKPRINT_CFLAGS
1077 GTKPRINT_LIBS
1078 LIBGNOMEPRINTUI_CFLAGS
1079 LIBGNOMEPRINTUI_LIBS
1080 GNOMEVFS_CFLAGS
1081 GNOMEVFS_LIBS
1082 HILDON_CFLAGS
1083 HILDON_LIBS
1084 HILDON2_CFLAGS
1085 HILDON2_LIBS
1086 CAIRO_CFLAGS
1087 CAIRO_LIBS
1088 GST_CFLAGS
1089 GST_LIBS'
1090 ac_subdirs_all='src/tiff
1091 src/expat'
1092
1093 # Initialize some variables set by options.
1094 ac_init_help=
1095 ac_init_version=false
1096 # The variables have the same names as the options, with
1097 # dashes changed to underlines.
1098 cache_file=/dev/null
1099 exec_prefix=NONE
1100 no_create=
1101 no_recursion=
1102 prefix=NONE
1103 program_prefix=NONE
1104 program_suffix=NONE
1105 program_transform_name=s,x,x,
1106 silent=
1107 site=
1108 srcdir=
1109 verbose=
1110 x_includes=NONE
1111 x_libraries=NONE
1112
1113 # Installation directory options.
1114 # These are left unexpanded so users can "make install exec_prefix=/foo"
1115 # and all the variables that are supposed to be based on exec_prefix
1116 # by default will actually change.
1117 # Use braces instead of parens because sh, perl, etc. also accept them.
1118 # (The list follows the same order as the GNU Coding Standards.)
1119 bindir='${exec_prefix}/bin'
1120 sbindir='${exec_prefix}/sbin'
1121 libexecdir='${exec_prefix}/libexec'
1122 datarootdir='${prefix}/share'
1123 datadir='${datarootdir}'
1124 sysconfdir='${prefix}/etc'
1125 sharedstatedir='${prefix}/com'
1126 localstatedir='${prefix}/var'
1127 includedir='${prefix}/include'
1128 oldincludedir='/usr/include'
1129 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1130 infodir='${datarootdir}/info'
1131 htmldir='${docdir}'
1132 dvidir='${docdir}'
1133 pdfdir='${docdir}'
1134 psdir='${docdir}'
1135 libdir='${exec_prefix}/lib'
1136 localedir='${datarootdir}/locale'
1137 mandir='${datarootdir}/man'
1138
1139 ac_prev=
1140 ac_dashdash=
1141 for ac_option
1142 do
1143 # If the previous option needs an argument, assign it.
1144 if test -n "$ac_prev"; then
1145 eval $ac_prev=\$ac_option
1146 ac_prev=
1147 continue
1148 fi
1149
1150 case $ac_option in
1151 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1152 *) ac_optarg=yes ;;
1153 esac
1154
1155 # Accept the important Cygnus configure options, so we can diagnose typos.
1156
1157 case $ac_dashdash$ac_option in
1158 --)
1159 ac_dashdash=yes ;;
1160
1161 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1162 ac_prev=bindir ;;
1163 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1164 bindir=$ac_optarg ;;
1165
1166 -build | --build | --buil | --bui | --bu)
1167 ac_prev=build_alias ;;
1168 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1169 build_alias=$ac_optarg ;;
1170
1171 -cache-file | --cache-file | --cache-fil | --cache-fi \
1172 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1173 ac_prev=cache_file ;;
1174 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1175 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1176 cache_file=$ac_optarg ;;
1177
1178 --config-cache | -C)
1179 cache_file=config.cache ;;
1180
1181 -datadir | --datadir | --datadi | --datad)
1182 ac_prev=datadir ;;
1183 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1184 datadir=$ac_optarg ;;
1185
1186 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1187 | --dataroo | --dataro | --datar)
1188 ac_prev=datarootdir ;;
1189 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1190 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1191 datarootdir=$ac_optarg ;;
1192
1193 -disable-* | --disable-*)
1194 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1195 # Reject names that are not valid shell variable names.
1196 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1197 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1198 { (exit 1); exit 1; }; }
1199 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1200 eval enable_$ac_feature=no ;;
1201
1202 -docdir | --docdir | --docdi | --doc | --do)
1203 ac_prev=docdir ;;
1204 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1205 docdir=$ac_optarg ;;
1206
1207 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1208 ac_prev=dvidir ;;
1209 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1210 dvidir=$ac_optarg ;;
1211
1212 -enable-* | --enable-*)
1213 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1214 # Reject names that are not valid shell variable names.
1215 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1216 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1217 { (exit 1); exit 1; }; }
1218 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1219 eval enable_$ac_feature=\$ac_optarg ;;
1220
1221 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1222 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1223 | --exec | --exe | --ex)
1224 ac_prev=exec_prefix ;;
1225 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1226 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1227 | --exec=* | --exe=* | --ex=*)
1228 exec_prefix=$ac_optarg ;;
1229
1230 -gas | --gas | --ga | --g)
1231 # Obsolete; use --with-gas.
1232 with_gas=yes ;;
1233
1234 -help | --help | --hel | --he | -h)
1235 ac_init_help=long ;;
1236 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1237 ac_init_help=recursive ;;
1238 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1239 ac_init_help=short ;;
1240
1241 -host | --host | --hos | --ho)
1242 ac_prev=host_alias ;;
1243 -host=* | --host=* | --hos=* | --ho=*)
1244 host_alias=$ac_optarg ;;
1245
1246 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1247 ac_prev=htmldir ;;
1248 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1249 | --ht=*)
1250 htmldir=$ac_optarg ;;
1251
1252 -includedir | --includedir | --includedi | --included | --include \
1253 | --includ | --inclu | --incl | --inc)
1254 ac_prev=includedir ;;
1255 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1256 | --includ=* | --inclu=* | --incl=* | --inc=*)
1257 includedir=$ac_optarg ;;
1258
1259 -infodir | --infodir | --infodi | --infod | --info | --inf)
1260 ac_prev=infodir ;;
1261 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1262 infodir=$ac_optarg ;;
1263
1264 -libdir | --libdir | --libdi | --libd)
1265 ac_prev=libdir ;;
1266 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1267 libdir=$ac_optarg ;;
1268
1269 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1270 | --libexe | --libex | --libe)
1271 ac_prev=libexecdir ;;
1272 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1273 | --libexe=* | --libex=* | --libe=*)
1274 libexecdir=$ac_optarg ;;
1275
1276 -localedir | --localedir | --localedi | --localed | --locale)
1277 ac_prev=localedir ;;
1278 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1279 localedir=$ac_optarg ;;
1280
1281 -localstatedir | --localstatedir | --localstatedi | --localstated \
1282 | --localstate | --localstat | --localsta | --localst | --locals)
1283 ac_prev=localstatedir ;;
1284 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1285 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1286 localstatedir=$ac_optarg ;;
1287
1288 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1289 ac_prev=mandir ;;
1290 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1291 mandir=$ac_optarg ;;
1292
1293 -nfp | --nfp | --nf)
1294 # Obsolete; use --without-fp.
1295 with_fp=no ;;
1296
1297 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1298 | --no-cr | --no-c | -n)
1299 no_create=yes ;;
1300
1301 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1302 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1303 no_recursion=yes ;;
1304
1305 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1306 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1307 | --oldin | --oldi | --old | --ol | --o)
1308 ac_prev=oldincludedir ;;
1309 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1310 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1311 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1312 oldincludedir=$ac_optarg ;;
1313
1314 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1315 ac_prev=prefix ;;
1316 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1317 prefix=$ac_optarg ;;
1318
1319 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1320 | --program-pre | --program-pr | --program-p)
1321 ac_prev=program_prefix ;;
1322 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1323 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1324 program_prefix=$ac_optarg ;;
1325
1326 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1327 | --program-suf | --program-su | --program-s)
1328 ac_prev=program_suffix ;;
1329 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1330 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1331 program_suffix=$ac_optarg ;;
1332
1333 -program-transform-name | --program-transform-name \
1334 | --program-transform-nam | --program-transform-na \
1335 | --program-transform-n | --program-transform- \
1336 | --program-transform | --program-transfor \
1337 | --program-transfo | --program-transf \
1338 | --program-trans | --program-tran \
1339 | --progr-tra | --program-tr | --program-t)
1340 ac_prev=program_transform_name ;;
1341 -program-transform-name=* | --program-transform-name=* \
1342 | --program-transform-nam=* | --program-transform-na=* \
1343 | --program-transform-n=* | --program-transform-=* \
1344 | --program-transform=* | --program-transfor=* \
1345 | --program-transfo=* | --program-transf=* \
1346 | --program-trans=* | --program-tran=* \
1347 | --progr-tra=* | --program-tr=* | --program-t=*)
1348 program_transform_name=$ac_optarg ;;
1349
1350 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1351 ac_prev=pdfdir ;;
1352 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1353 pdfdir=$ac_optarg ;;
1354
1355 -psdir | --psdir | --psdi | --psd | --ps)
1356 ac_prev=psdir ;;
1357 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1358 psdir=$ac_optarg ;;
1359
1360 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1361 | -silent | --silent | --silen | --sile | --sil)
1362 silent=yes ;;
1363
1364 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1365 ac_prev=sbindir ;;
1366 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1367 | --sbi=* | --sb=*)
1368 sbindir=$ac_optarg ;;
1369
1370 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1371 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1372 | --sharedst | --shareds | --shared | --share | --shar \
1373 | --sha | --sh)
1374 ac_prev=sharedstatedir ;;
1375 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1376 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1377 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1378 | --sha=* | --sh=*)
1379 sharedstatedir=$ac_optarg ;;
1380
1381 -site | --site | --sit)
1382 ac_prev=site ;;
1383 -site=* | --site=* | --sit=*)
1384 site=$ac_optarg ;;
1385
1386 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1387 ac_prev=srcdir ;;
1388 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1389 srcdir=$ac_optarg ;;
1390
1391 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1392 | --syscon | --sysco | --sysc | --sys | --sy)
1393 ac_prev=sysconfdir ;;
1394 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1395 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1396 sysconfdir=$ac_optarg ;;
1397
1398 -target | --target | --targe | --targ | --tar | --ta | --t)
1399 ac_prev=target_alias ;;
1400 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1401 target_alias=$ac_optarg ;;
1402
1403 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1404 verbose=yes ;;
1405
1406 -version | --version | --versio | --versi | --vers | -V)
1407 ac_init_version=: ;;
1408
1409 -with-* | --with-*)
1410 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1411 # Reject names that are not valid shell variable names.
1412 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1413 { echo "$as_me: error: invalid package name: $ac_package" >&2
1414 { (exit 1); exit 1; }; }
1415 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1416 eval with_$ac_package=\$ac_optarg ;;
1417
1418 -without-* | --without-*)
1419 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1420 # Reject names that are not valid shell variable names.
1421 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1422 { echo "$as_me: error: invalid package name: $ac_package" >&2
1423 { (exit 1); exit 1; }; }
1424 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1425 eval with_$ac_package=no ;;
1426
1427 --x)
1428 # Obsolete; use --with-x.
1429 with_x=yes ;;
1430
1431 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1432 | --x-incl | --x-inc | --x-in | --x-i)
1433 ac_prev=x_includes ;;
1434 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1435 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1436 x_includes=$ac_optarg ;;
1437
1438 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1439 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1440 ac_prev=x_libraries ;;
1441 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1442 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1443 x_libraries=$ac_optarg ;;
1444
1445 -*) { echo "$as_me: error: unrecognized option: $ac_option
1446 Try \`$0 --help' for more information." >&2
1447 { (exit 1); exit 1; }; }
1448 ;;
1449
1450 *=*)
1451 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1452 # Reject names that are not valid shell variable names.
1453 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1454 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1455 { (exit 1); exit 1; }; }
1456 eval $ac_envvar=\$ac_optarg
1457 export $ac_envvar ;;
1458
1459 *)
1460 # FIXME: should be removed in autoconf 3.0.
1461 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1462 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1463 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1464 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1465 ;;
1466
1467 esac
1468 done
1469
1470 if test -n "$ac_prev"; then
1471 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1472 { echo "$as_me: error: missing argument to $ac_option" >&2
1473 { (exit 1); exit 1; }; }
1474 fi
1475
1476 # Be sure to have absolute directory names.
1477 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1478 datadir sysconfdir sharedstatedir localstatedir includedir \
1479 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1480 libdir localedir mandir
1481 do
1482 eval ac_val=\$$ac_var
1483 case $ac_val in
1484 [\\/$]* | ?:[\\/]* ) continue;;
1485 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1486 esac
1487 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1488 { (exit 1); exit 1; }; }
1489 done
1490
1491 # There might be people who depend on the old broken behavior: `$host'
1492 # used to hold the argument of --host etc.
1493 # FIXME: To remove some day.
1494 build=$build_alias
1495 host=$host_alias
1496 target=$target_alias
1497
1498 # FIXME: To remove some day.
1499 if test "x$host_alias" != x; then
1500 if test "x$build_alias" = x; then
1501 cross_compiling=maybe
1502 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1503 If a cross compiler is detected then cross compile mode will be used." >&2
1504 elif test "x$build_alias" != "x$host_alias"; then
1505 cross_compiling=yes
1506 fi
1507 fi
1508
1509 ac_tool_prefix=
1510 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1511
1512 test "$silent" = yes && exec 6>/dev/null
1513
1514
1515 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1516 ac_ls_di=`ls -di .` &&
1517 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1518 { echo "$as_me: error: Working directory cannot be determined" >&2
1519 { (exit 1); exit 1; }; }
1520 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1521 { echo "$as_me: error: pwd does not report name of working directory" >&2
1522 { (exit 1); exit 1; }; }
1523
1524
1525 # Find the source files, if location was not specified.
1526 if test -z "$srcdir"; then
1527 ac_srcdir_defaulted=yes
1528 # Try the directory containing this script, then the parent directory.
1529 ac_confdir=`$as_dirname -- "$0" ||
1530 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1531 X"$0" : 'X\(//\)[^/]' \| \
1532 X"$0" : 'X\(//\)$' \| \
1533 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1534 echo X"$0" |
1535 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1536 s//\1/
1537 q
1538 }
1539 /^X\(\/\/\)[^/].*/{
1540 s//\1/
1541 q
1542 }
1543 /^X\(\/\/\)$/{
1544 s//\1/
1545 q
1546 }
1547 /^X\(\/\).*/{
1548 s//\1/
1549 q
1550 }
1551 s/.*/./; q'`
1552 srcdir=$ac_confdir
1553 if test ! -r "$srcdir/$ac_unique_file"; then
1554 srcdir=..
1555 fi
1556 else
1557 ac_srcdir_defaulted=no
1558 fi
1559 if test ! -r "$srcdir/$ac_unique_file"; then
1560 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1561 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1562 { (exit 1); exit 1; }; }
1563 fi
1564 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1565 ac_abs_confdir=`(
1566 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1567 { (exit 1); exit 1; }; }
1568 pwd)`
1569 # When building in place, set srcdir=.
1570 if test "$ac_abs_confdir" = "$ac_pwd"; then
1571 srcdir=.
1572 fi
1573 # Remove unnecessary trailing slashes from srcdir.
1574 # Double slashes in file names in object file debugging info
1575 # mess up M-x gdb in Emacs.
1576 case $srcdir in
1577 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1578 esac
1579 for ac_var in $ac_precious_vars; do
1580 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1581 eval ac_env_${ac_var}_value=\$${ac_var}
1582 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1583 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1584 done
1585
1586 #
1587 # Report the --help message.
1588 #
1589 if test "$ac_init_help" = "long"; then
1590 # Omit some internal or obsolete options to make the list less imposing.
1591 # This message is too long to be a string in the A/UX 3.1 sh.
1592 cat <<_ACEOF
1593 \`configure' configures wxWidgets 2.9.1 to adapt to many kinds of systems.
1594
1595 Usage: $0 [OPTION]... [VAR=VALUE]...
1596
1597 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1598 VAR=VALUE. See below for descriptions of some of the useful variables.
1599
1600 Defaults for the options are specified in brackets.
1601
1602 Configuration:
1603 -h, --help display this help and exit
1604 --help=short display options specific to this package
1605 --help=recursive display the short help of all the included packages
1606 -V, --version display version information and exit
1607 -q, --quiet, --silent do not print \`checking...' messages
1608 --cache-file=FILE cache test results in FILE [disabled]
1609 -C, --config-cache alias for \`--cache-file=config.cache'
1610 -n, --no-create do not create output files
1611 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1612
1613 Installation directories:
1614 --prefix=PREFIX install architecture-independent files in PREFIX
1615 [$ac_default_prefix]
1616 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1617 [PREFIX]
1618
1619 By default, \`make install' will install all the files in
1620 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1621 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1622 for instance \`--prefix=\$HOME'.
1623
1624 For better control, use the options below.
1625
1626 Fine tuning of the installation directories:
1627 --bindir=DIR user executables [EPREFIX/bin]
1628 --sbindir=DIR system admin executables [EPREFIX/sbin]
1629 --libexecdir=DIR program executables [EPREFIX/libexec]
1630 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1631 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1632 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1633 --libdir=DIR object code libraries [EPREFIX/lib]
1634 --includedir=DIR C header files [PREFIX/include]
1635 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1636 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1637 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1638 --infodir=DIR info documentation [DATAROOTDIR/info]
1639 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1640 --mandir=DIR man documentation [DATAROOTDIR/man]
1641 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1642 --htmldir=DIR html documentation [DOCDIR]
1643 --dvidir=DIR dvi documentation [DOCDIR]
1644 --pdfdir=DIR pdf documentation [DOCDIR]
1645 --psdir=DIR ps documentation [DOCDIR]
1646 _ACEOF
1647
1648 cat <<\_ACEOF
1649
1650 X features:
1651 --x-includes=DIR X include files are in DIR
1652 --x-libraries=DIR X library files are in DIR
1653
1654 System types:
1655 --build=BUILD configure for building on BUILD [guessed]
1656 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1657 _ACEOF
1658 fi
1659
1660 if test -n "$ac_init_help"; then
1661 case $ac_init_help in
1662 short | recursive ) echo "Configuration of wxWidgets 2.9.1:";;
1663 esac
1664 cat <<\_ACEOF
1665
1666 Optional Features:
1667 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1668 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1669 --disable-gui don't build GUI parts of the library
1670 --enable-monolithic build wxWidgets as single library
1671 --enable-plugins build parts of wxWidgets as loadable components
1672 --enable-official_build official build of wxWidgets (win32 DLL only)
1673 --enable-vendor=VENDOR vendor name (win32 DLL only)
1674 --disable-all-features disable all optional features to build minimal library
1675 --enable-universal use wxWidgets GUI controls instead of native ones
1676 --enable-nanox use NanoX
1677 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1678 --enable-gpe use GNOME PDA Environment features if possible
1679 --enable-debug build library for debugging
1680 --disable-debug_flag disable all debugging support
1681 --enable-debug_info generate debug information
1682 --enable-debug_gdb create code with extra GDB debugging information
1683 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
1684 --enable-mem_tracing obsolete, don't use: create code with memory tracing
1685 --disable-shared create static library instead of shared
1686 --enable-stl use STL for containers
1687 --enable-std_iostreams use standard C++ stream classes
1688 --enable-std_string use standard C++ string classes
1689 --disable-unicode compile without Unicode support
1690 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1691 --enable-utf8 use UTF-8 representation for strings (Unix only)
1692 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1693 --enable-extended_rtti use extended RTTI (XTI)
1694 --enable-omf use OMF object format
1695 --disable-optimise compile without optimisations
1696 --enable-profile create code with profiling information
1697 --enable-no_rtti create code without RTTI information
1698 --enable-no_exceptions create code without C++ exceptions handling
1699 --enable-permissive compile code disregarding strict ANSI
1700 --enable-no_deps create code without dependency information
1701 --disable-vararg_macros don't use vararg macros, even if they are supported
1702 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1703 --enable-compat26 enable wxWidgets 2.6 compatibility
1704 --disable-compat28 disable wxWidgets 2.8 compatibility
1705 --disable-rpath disable use of rpath for uninstalled builds
1706 --enable-objc_uniquifying enable Objective-C class name uniquifying
1707 --disable-visibility disable use of ELF symbols visibility even if supported
1708 --disable-tls disable use of compiler TLS support
1709 --enable-intl use internationalization system
1710 --enable-xlocale use x-locale support (requires wxLocale)
1711 --enable-config use wxConfig (and derived) classes
1712 --enable-protocols use wxProtocol and derived classes
1713 --enable-ftp use wxFTP (requires wxProtocol
1714 --enable-http use wxHTTP (requires wxProtocol
1715 --enable-fileproto use wxFileProto class (requires wxProtocol
1716 --enable-sockets use socket/network classes
1717 --enable-ipv6 enable IPv6 support in wxSocket
1718 --enable-ole use OLE classes (Win32 only)
1719 --enable-dataobj use data object classes
1720 --enable-ipc use interprocess communication (wxSocket etc.)
1721 --enable-baseevtloop use event loop in console programs too
1722 --enable-epollloop use wxEpollDispatcher class (Linux only)
1723 --enable-selectloop use wxSelectDispatcher class
1724 --enable-any use wxAny class
1725 --enable-apple_ieee use the Apple IEEE codec
1726 --enable-arcstream use wxArchive streams
1727 --enable-base64 use base64 encoding/decoding functions
1728 --enable-backtrace use wxStackWalker class for getting backtraces
1729 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1730 --enable-cmdline use wxCmdLineParser class
1731 --enable-datetime use wxDateTime class
1732 --enable-debugreport use wxDebugReport class
1733 --enable-dialupman use dialup network classes
1734 --enable-dynlib use wxLibrary class for DLL loading
1735 --enable-dynamicloader use (new) wxDynamicLibrary class
1736 --enable-exceptions build exception-safe library
1737 --enable-ffile use wxFFile class
1738 --enable-file use wxFile class
1739 --enable-filesystem use virtual file systems classes
1740 --enable-fontenum use wxFontEnumerator class
1741 --enable-fontmap use font encodings conversion classes
1742 --enable-fs_archive use virtual archive filesystems
1743 --enable-fs_inet use virtual HTTP/FTP filesystems
1744 --enable-fs_zip now replaced by fs_archive
1745 --enable-fswatcher use wxFileSystemWatcher class
1746 --enable-geometry use geometry class
1747 --enable-log use logging system
1748 --enable-longlong use wxLongLong class
1749 --enable-mimetype use wxMimeTypesManager
1750 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1751 --enable-snglinst use wxSingleInstanceChecker class
1752 --enable-sound use wxSound class
1753 --enable-stdpaths use wxStandardPaths class
1754 --enable-stopwatch use wxStopWatch class
1755 --enable-streams use wxStream etc classes
1756 --enable-sysoptions use wxSystemOptions
1757 --enable-tarstream use wxTar streams
1758 --enable-textbuf use wxTextBuffer class
1759 --enable-textfile use wxTextFile class
1760 --enable-timer use wxTimer class
1761 --enable-variant use wxVariant class
1762 --enable-zipstream use wxZip streams
1763 --enable-url use wxURL class
1764 --enable-protocol use wxProtocol class
1765 --enable-protocol-http HTTP support in wxProtocol
1766 --enable-protocol-ftp FTP support in wxProtocol
1767 --enable-protocol-file FILE support in wxProtocol
1768 --enable-threads use threads
1769 --enable-iniconf use wxIniConfig (Win32 only)
1770 --enable-regkey use wxRegKey class (Win32 only)
1771 --enable-docview use document view architecture
1772 --enable-help use help subsystem
1773 --enable-mshtmlhelp use MS HTML Help (win32)
1774 --enable-html use wxHTML sub-library
1775 --enable-htmlhelp use wxHTML-based help
1776 --enable-xrc use XRC resources sub-library
1777 --enable-aui use AUI docking library
1778 --enable-propgrid use wxPropertyGrid library
1779 --enable-ribbon use wxRibbon library
1780 --enable-stc use wxStyledTextCtrl library
1781 --enable-constraints use layout-constraints system
1782 --enable-loggui use standard GUI logger
1783 --enable-logwin use wxLogWindow
1784 --enable-logdialog use wxLogDialog
1785 --enable-mdi use multiple document interface architecture
1786 --enable-mdidoc use docview architecture with MDI
1787 --enable-mediactrl use wxMediaCtrl class
1788 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1789 --enable-webkit use wxWebKitCtrl (Mac)
1790 --enable-richtext use wxRichTextCtrl
1791 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1792 --enable-printarch use printing architecture
1793 --enable-svg use wxSVGFileDC device context
1794 --enable-graphics_ctx use graphics context 2D drawing API
1795 --enable-clipboard use wxClipboard class
1796 --enable-dnd use Drag'n'Drop classes
1797 --enable-metafile use win32 metafiles
1798 --disable-controls disable compilation of all standard controls
1799 --enable-accel use accelerators
1800 --enable-animatectrl use wxAnimationCtrl class
1801 --enable-bmpbutton use wxBitmapButton class
1802 --enable-bmpcombobox use wxBitmapComboBox class
1803 --enable-button use wxButton class
1804 --enable-calendar use wxCalendarCtrl class
1805 --enable-caret use wxCaret class
1806 --enable-checkbox use wxCheckBox class
1807 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1808 --enable-choice use wxChoice class
1809 --enable-choicebook use wxChoicebook class
1810 --enable-collpane use wxCollapsiblePane class
1811 --enable-colourpicker use wxColourPickerCtrl class
1812 --enable-combobox use wxComboBox class
1813 --enable-comboctrl use wxComboCtrl class
1814 --enable-dataviewctrl use wxDataViewCtrl class
1815 --enable-datepick use wxDatePickerCtrl class
1816 --enable-detect_sm use code to detect X11 session manager
1817 --enable-dirpicker use wxDirPickerCtrl class
1818 --enable-display use wxDisplay class
1819 --enable-editablebox use wxEditableListBox class
1820 --enable-filectrl use wxFileCtrl class
1821 --enable-filepicker use wxFilePickerCtrl class
1822 --enable-fontpicker use wxFontPickerCtrl class
1823 --enable-gauge use wxGauge class
1824 --enable-grid use wxGrid class
1825 --enable-headerctrl use wxHeaderCtrl class
1826 --enable-hyperlink use wxHyperlinkCtrl class
1827 --enable-imaglist use wxImageList class
1828 --enable-infobar use wxInfoBar class
1829 --enable-listbook use wxListbook class
1830 --enable-listbox use wxListBox class
1831 --enable-listctrl use wxListCtrl class
1832 --enable-notebook use wxNotebook class
1833 --enable-notifmsg use wxNotificationMessage class
1834 --enable-odcombobox use wxOwnerDrawnComboBox class
1835 --enable-popupwin use wxPopUpWindow class
1836 --enable-radiobox use wxRadioBox class
1837 --enable-radiobtn use wxRadioButton class
1838 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1839 --enable-sash use wxSashWindow class
1840 --enable-scrollbar use wxScrollBar class and scrollable windows
1841 --enable-searchctrl use wxSearchCtrl class
1842 --enable-slider use wxSlider class
1843 --enable-spinbtn use wxSpinButton class
1844 --enable-spinctrl use wxSpinCtrl class
1845 --enable-splitter use wxSplitterWindow class
1846 --enable-statbmp use wxStaticBitmap class
1847 --enable-statbox use wxStaticBox class
1848 --enable-statline use wxStaticLine class
1849 --enable-stattext use wxStaticText class
1850 --enable-statusbar use wxStatusBar class
1851 --enable-taskbaricon use wxTaskBarIcon class
1852 --enable-tbarnative use native wxToolBar class
1853 --enable-textctrl use wxTextCtrl class
1854 --enable-tipwindow use wxTipWindow class
1855 --enable-togglebtn use wxToggleButton class
1856 --enable-toolbar use wxToolBar class
1857 --enable-toolbook use wxToolbook class
1858 --enable-treebook use wxTreebook class
1859 --enable-treectrl use wxTreeCtrl class
1860 --enable-commondlg use all common dialogs
1861 --enable-aboutdlg use wxAboutBox
1862 --enable-choicedlg use wxChoiceDialog
1863 --enable-coldlg use wxColourDialog
1864 --enable-filedlg use wxFileDialog
1865 --enable-finddlg use wxFindReplaceDialog
1866 --enable-fontdlg use wxFontDialog
1867 --enable-dirdlg use wxDirDialog
1868 --enable-msgdlg use wxMessageDialog
1869 --enable-numberdlg use wxNumberEntryDialog
1870 --enable-splash use wxSplashScreen
1871 --enable-textdlg use wxTextDialog
1872 --enable-tipdlg use startup tips
1873 --enable-progressdlg use wxProgressDialog
1874 --enable-wizarddlg use wxWizard
1875 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1876 --enable-miniframe use wxMiniFrame class
1877 --enable-tooltips use wxToolTip class
1878 --enable-splines use spline drawing code
1879 --enable-mousewheel use mousewheel
1880 --enable-validators use wxValidator and derived classes
1881 --enable-busyinfo use wxBusyInfo
1882 --enable-joystick use wxJoystick
1883 --enable-metafiles use wxMetaFile (Win32 only)
1884 --enable-dragimage use wxDragImage
1885 --enable-accessibility enable accessibility support
1886 --enable-palette use wxPalette class
1887 --enable-image use wxImage class
1888 --enable-gif use gif images (GIF file format)
1889 --enable-pcx use pcx images (PCX file format)
1890 --enable-tga use tga images (TGA file format)
1891 --enable-iff use iff images (IFF file format)
1892 --enable-pnm use pnm images (PNM file format)
1893 --enable-xpm use xpm images (XPM file format)
1894 --enable-ico_cur use Windows ICO and CUR formats
1895 --enable-dccache cache temporary wxDC objects (Win32 only)
1896 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1897 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1898 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1899 --enable-wxdib use wxDIB class (Win32 only)
1900 --enable-autoidman use automatic ids management
1901 --disable-largefile omit support for large files
1902 --disable-gtktest do not try to compile and run a test GTK+ program
1903 --disable-gtktest Do not try to compile and run a test GTK program
1904 --disable-sdltest Do not try to compile and run a test SDL program
1905 --enable-omf use OMF object format (OS/2)
1906 --disable-dependency-tracking
1907 don't use dependency tracking even if the compiler
1908 can
1909 --disable-precomp-headers
1910 don't use precompiled headers even if compiler can
1911
1912 Optional Packages:
1913 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1914 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1915 --without-subdirs don't generate makefiles for samples/demos/...
1916 --with-flavour=NAME specify a name to identify this build
1917 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1918 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1919 --with-motif use Motif/Lesstif
1920 --with-osx_carbon use Mac OS X (Carbon)
1921 --with-osx_cocoa use Mac OS X (Cocoa)
1922 --with-osx_iphone use iPhone OS X port
1923 --with-osx use Mac OS X (default port, currently Carbon)
1924 --with-carbon same as --with-osx_carbon
1925 --with-cocoa same as --with-osx_cocoa
1926 --with-iphone same as --with-osx_iphone
1927 --with-mac same as --with-osx
1928 --with-old_cocoa use old, deprecated, Cocoa port
1929 --with-wine use Wine
1930 --with-msw use MS-Windows
1931 --with-pm use OS/2 Presentation Manager
1932 --with-mgl use SciTech MGL
1933 --with-directfb use DirectFB
1934 --with-microwin use MicroWindows
1935 --with-x11 use X11
1936 --with-libpng use libpng (PNG image format)
1937 --with-libjpeg use libjpeg (JPEG file format)
1938 --with-libtiff use libtiff (TIFF file format)
1939 --with-libxpm use libxpm (XPM file format)
1940 --with-libiconv use libiconv (character conversion)
1941 --with-libmspack use libmspack (CHM help files loading)
1942 --without-gtkprint don't use GTK printing support
1943 --without-gnomeprint don't use GNOME printing libraries
1944 --with-gnomevfs use GNOME VFS for associating MIME types
1945 --with-hildon use Hildon framework for Nokia 770/800/810
1946 --with-opengl use OpenGL (or Mesa)
1947 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1948 --with-sdl use SDL for audio on Unix
1949 --with-regex enable support for wxRegEx class
1950 --with-zlib use zlib for LZW compression
1951 --with-expat enable XML support using expat parser
1952 --with-macosx-sdk=PATH use an OS X SDK at PATH
1953 --with-macosx-version-min=VER build binaries which require at least this OS X version
1954 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1955 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1956 --with-x use the X Window System
1957 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1958 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1959 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1960 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1961 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1962
1963 Some influential environment variables:
1964 CC C compiler command
1965 CFLAGS C compiler flags
1966 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1967 nonstandard directory <lib dir>
1968 LIBS libraries to pass to the linker, e.g. -l<library>
1969 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1970 you have headers in a nonstandard directory <include dir>
1971 CPP C preprocessor
1972 CXX C++ compiler command
1973 CXXFLAGS C++ compiler flags
1974 PKG_CONFIG path to pkg-config utility
1975 DIRECTFB_CFLAGS
1976 C compiler flags for DIRECTFB, overriding pkg-config
1977 DIRECTFB_LIBS
1978 linker flags for DIRECTFB, overriding pkg-config
1979 XMKMF Path to xmkmf, Makefile generator for X Window System
1980 PANGOX_CFLAGS
1981 C compiler flags for PANGOX, overriding pkg-config
1982 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1983 PANGOFT2_CFLAGS
1984 C compiler flags for PANGOFT2, overriding pkg-config
1985 PANGOFT2_LIBS
1986 linker flags for PANGOFT2, overriding pkg-config
1987 PANGOXFT_CFLAGS
1988 C compiler flags for PANGOXFT, overriding pkg-config
1989 PANGOXFT_LIBS
1990 linker flags for PANGOXFT, overriding pkg-config
1991 GTKPRINT_CFLAGS
1992 C compiler flags for GTKPRINT, overriding pkg-config
1993 GTKPRINT_LIBS
1994 linker flags for GTKPRINT, overriding pkg-config
1995 LIBGNOMEPRINTUI_CFLAGS
1996 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1997 LIBGNOMEPRINTUI_LIBS
1998 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1999 GNOMEVFS_CFLAGS
2000 C compiler flags for GNOMEVFS, overriding pkg-config
2001 GNOMEVFS_LIBS
2002 linker flags for GNOMEVFS, overriding pkg-config
2003 HILDON_CFLAGS
2004 C compiler flags for HILDON, overriding pkg-config
2005 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2006 HILDON2_CFLAGS
2007 C compiler flags for HILDON2, overriding pkg-config
2008 HILDON2_LIBS
2009 linker flags for HILDON2, overriding pkg-config
2010 CAIRO_CFLAGS
2011 C compiler flags for CAIRO, overriding pkg-config
2012 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2013 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2014 GST_LIBS linker flags for GST, overriding pkg-config
2015
2016 Use these variables to override the choices made by `configure' or to help
2017 it to find libraries and programs with nonstandard names/locations.
2018
2019 Report bugs to <wx-dev@lists.wxwidgets.org>.
2020 _ACEOF
2021 ac_status=$?
2022 fi
2023
2024 if test "$ac_init_help" = "recursive"; then
2025 # If there are subdirs, report their specific --help.
2026 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2027 test -d "$ac_dir" || continue
2028 ac_builddir=.
2029
2030 case "$ac_dir" in
2031 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2032 *)
2033 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2034 # A ".." for each directory in $ac_dir_suffix.
2035 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2036 case $ac_top_builddir_sub in
2037 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2038 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2039 esac ;;
2040 esac
2041 ac_abs_top_builddir=$ac_pwd
2042 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2043 # for backward compatibility:
2044 ac_top_builddir=$ac_top_build_prefix
2045
2046 case $srcdir in
2047 .) # We are building in place.
2048 ac_srcdir=.
2049 ac_top_srcdir=$ac_top_builddir_sub
2050 ac_abs_top_srcdir=$ac_pwd ;;
2051 [\\/]* | ?:[\\/]* ) # Absolute name.
2052 ac_srcdir=$srcdir$ac_dir_suffix;
2053 ac_top_srcdir=$srcdir
2054 ac_abs_top_srcdir=$srcdir ;;
2055 *) # Relative name.
2056 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2057 ac_top_srcdir=$ac_top_build_prefix$srcdir
2058 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2059 esac
2060 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2061
2062 cd "$ac_dir" || { ac_status=$?; continue; }
2063 # Check for guested configure.
2064 if test -f "$ac_srcdir/configure.gnu"; then
2065 echo &&
2066 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2067 elif test -f "$ac_srcdir/configure"; then
2068 echo &&
2069 $SHELL "$ac_srcdir/configure" --help=recursive
2070 else
2071 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2072 fi || ac_status=$?
2073 cd "$ac_pwd" || { ac_status=$?; break; }
2074 done
2075 fi
2076
2077 test -n "$ac_init_help" && exit $ac_status
2078 if $ac_init_version; then
2079 cat <<\_ACEOF
2080 wxWidgets configure 2.9.1
2081 generated by GNU Autoconf 2.61
2082
2083 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2084 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2085 This configure script is free software; the Free Software Foundation
2086 gives unlimited permission to copy, distribute and modify it.
2087 _ACEOF
2088 exit
2089 fi
2090 cat >config.log <<_ACEOF
2091 This file contains any messages produced by compilers while
2092 running configure, to aid debugging if configure makes a mistake.
2093
2094 It was created by wxWidgets $as_me 2.9.1, which was
2095 generated by GNU Autoconf 2.61. Invocation command line was
2096
2097 $ $0 $@
2098
2099 _ACEOF
2100 exec 5>>config.log
2101 {
2102 cat <<_ASUNAME
2103 ## --------- ##
2104 ## Platform. ##
2105 ## --------- ##
2106
2107 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2108 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2109 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2110 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2111 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2112
2113 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2114 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2115
2116 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2117 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2118 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2119 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2120 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2121 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2122 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2123
2124 _ASUNAME
2125
2126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2127 for as_dir in $PATH
2128 do
2129 IFS=$as_save_IFS
2130 test -z "$as_dir" && as_dir=.
2131 echo "PATH: $as_dir"
2132 done
2133 IFS=$as_save_IFS
2134
2135 } >&5
2136
2137 cat >&5 <<_ACEOF
2138
2139
2140 ## ----------- ##
2141 ## Core tests. ##
2142 ## ----------- ##
2143
2144 _ACEOF
2145
2146
2147 # Keep a trace of the command line.
2148 # Strip out --no-create and --no-recursion so they do not pile up.
2149 # Strip out --silent because we don't want to record it for future runs.
2150 # Also quote any args containing shell meta-characters.
2151 # Make two passes to allow for proper duplicate-argument suppression.
2152 ac_configure_args=
2153 ac_configure_args0=
2154 ac_configure_args1=
2155 ac_must_keep_next=false
2156 for ac_pass in 1 2
2157 do
2158 for ac_arg
2159 do
2160 case $ac_arg in
2161 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2162 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2163 | -silent | --silent | --silen | --sile | --sil)
2164 continue ;;
2165 *\'*)
2166 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2167 esac
2168 case $ac_pass in
2169 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2170 2)
2171 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2172 if test $ac_must_keep_next = true; then
2173 ac_must_keep_next=false # Got value, back to normal.
2174 else
2175 case $ac_arg in
2176 *=* | --config-cache | -C | -disable-* | --disable-* \
2177 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2178 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2179 | -with-* | --with-* | -without-* | --without-* | --x)
2180 case "$ac_configure_args0 " in
2181 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2182 esac
2183 ;;
2184 -* ) ac_must_keep_next=true ;;
2185 esac
2186 fi
2187 ac_configure_args="$ac_configure_args '$ac_arg'"
2188 ;;
2189 esac
2190 done
2191 done
2192 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2193 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2194
2195 # When interrupted or exit'd, cleanup temporary files, and complete
2196 # config.log. We remove comments because anyway the quotes in there
2197 # would cause problems or look ugly.
2198 # WARNING: Use '\'' to represent an apostrophe within the trap.
2199 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2200 trap 'exit_status=$?
2201 # Save into config.log some information that might help in debugging.
2202 {
2203 echo
2204
2205 cat <<\_ASBOX
2206 ## ---------------- ##
2207 ## Cache variables. ##
2208 ## ---------------- ##
2209 _ASBOX
2210 echo
2211 # The following way of writing the cache mishandles newlines in values,
2212 (
2213 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2214 eval ac_val=\$$ac_var
2215 case $ac_val in #(
2216 *${as_nl}*)
2217 case $ac_var in #(
2218 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2219 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2220 esac
2221 case $ac_var in #(
2222 _ | IFS | as_nl) ;; #(
2223 *) $as_unset $ac_var ;;
2224 esac ;;
2225 esac
2226 done
2227 (set) 2>&1 |
2228 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2229 *${as_nl}ac_space=\ *)
2230 sed -n \
2231 "s/'\''/'\''\\\\'\'''\''/g;
2232 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2233 ;; #(
2234 *)
2235 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2236 ;;
2237 esac |
2238 sort
2239 )
2240 echo
2241
2242 cat <<\_ASBOX
2243 ## ----------------- ##
2244 ## Output variables. ##
2245 ## ----------------- ##
2246 _ASBOX
2247 echo
2248 for ac_var in $ac_subst_vars
2249 do
2250 eval ac_val=\$$ac_var
2251 case $ac_val in
2252 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2253 esac
2254 echo "$ac_var='\''$ac_val'\''"
2255 done | sort
2256 echo
2257
2258 if test -n "$ac_subst_files"; then
2259 cat <<\_ASBOX
2260 ## ------------------- ##
2261 ## File substitutions. ##
2262 ## ------------------- ##
2263 _ASBOX
2264 echo
2265 for ac_var in $ac_subst_files
2266 do
2267 eval ac_val=\$$ac_var
2268 case $ac_val in
2269 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2270 esac
2271 echo "$ac_var='\''$ac_val'\''"
2272 done | sort
2273 echo
2274 fi
2275
2276 if test -s confdefs.h; then
2277 cat <<\_ASBOX
2278 ## ----------- ##
2279 ## confdefs.h. ##
2280 ## ----------- ##
2281 _ASBOX
2282 echo
2283 cat confdefs.h
2284 echo
2285 fi
2286 test "$ac_signal" != 0 &&
2287 echo "$as_me: caught signal $ac_signal"
2288 echo "$as_me: exit $exit_status"
2289 } >&5
2290 rm -f core *.core core.conftest.* &&
2291 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2292 exit $exit_status
2293 ' 0
2294 for ac_signal in 1 2 13 15; do
2295 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2296 done
2297 ac_signal=0
2298
2299 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2300 rm -f -r conftest* confdefs.h
2301
2302 # Predefined preprocessor variables.
2303
2304 cat >>confdefs.h <<_ACEOF
2305 #define PACKAGE_NAME "$PACKAGE_NAME"
2306 _ACEOF
2307
2308
2309 cat >>confdefs.h <<_ACEOF
2310 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2311 _ACEOF
2312
2313
2314 cat >>confdefs.h <<_ACEOF
2315 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2316 _ACEOF
2317
2318
2319 cat >>confdefs.h <<_ACEOF
2320 #define PACKAGE_STRING "$PACKAGE_STRING"
2321 _ACEOF
2322
2323
2324 cat >>confdefs.h <<_ACEOF
2325 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2326 _ACEOF
2327
2328
2329 # Let the site file select an alternate cache file if it wants to.
2330 # Prefer explicitly selected file to automatically selected ones.
2331 if test -n "$CONFIG_SITE"; then
2332 set x "$CONFIG_SITE"
2333 elif test "x$prefix" != xNONE; then
2334 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2335 else
2336 set x "$ac_default_prefix/share/config.site" \
2337 "$ac_default_prefix/etc/config.site"
2338 fi
2339 shift
2340 for ac_site_file
2341 do
2342 if test -r "$ac_site_file"; then
2343 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2344 echo "$as_me: loading site script $ac_site_file" >&6;}
2345 sed 's/^/| /' "$ac_site_file" >&5
2346 . "$ac_site_file"
2347 fi
2348 done
2349
2350 if test -r "$cache_file"; then
2351 # Some versions of bash will fail to source /dev/null (special
2352 # files actually), so we avoid doing that.
2353 if test -f "$cache_file"; then
2354 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2355 echo "$as_me: loading cache $cache_file" >&6;}
2356 case $cache_file in
2357 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2358 *) . "./$cache_file";;
2359 esac
2360 fi
2361 else
2362 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2363 echo "$as_me: creating cache $cache_file" >&6;}
2364 >$cache_file
2365 fi
2366
2367 # Check that the precious variables saved in the cache have kept the same
2368 # value.
2369 ac_cache_corrupted=false
2370 for ac_var in $ac_precious_vars; do
2371 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2372 eval ac_new_set=\$ac_env_${ac_var}_set
2373 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2374 eval ac_new_val=\$ac_env_${ac_var}_value
2375 case $ac_old_set,$ac_new_set in
2376 set,)
2377 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2378 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2379 ac_cache_corrupted=: ;;
2380 ,set)
2381 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2382 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2383 ac_cache_corrupted=: ;;
2384 ,);;
2385 *)
2386 if test "x$ac_old_val" != "x$ac_new_val"; then
2387 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2388 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2389 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2390 echo "$as_me: former value: $ac_old_val" >&2;}
2391 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2392 echo "$as_me: current value: $ac_new_val" >&2;}
2393 ac_cache_corrupted=:
2394 fi;;
2395 esac
2396 # Pass precious variables to config.status.
2397 if test "$ac_new_set" = set; then
2398 case $ac_new_val in
2399 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2400 *) ac_arg=$ac_var=$ac_new_val ;;
2401 esac
2402 case " $ac_configure_args " in
2403 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2404 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2405 esac
2406 fi
2407 done
2408 if $ac_cache_corrupted; then
2409 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2410 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2411 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2412 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2413 { (exit 1); exit 1; }; }
2414 fi
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440 ac_ext=c
2441 ac_cpp='$CPP $CPPFLAGS'
2442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2445
2446
2447
2448
2449
2450 ac_aux_dir=
2451 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2452 if test -f "$ac_dir/install-sh"; then
2453 ac_aux_dir=$ac_dir
2454 ac_install_sh="$ac_aux_dir/install-sh -c"
2455 break
2456 elif test -f "$ac_dir/install.sh"; then
2457 ac_aux_dir=$ac_dir
2458 ac_install_sh="$ac_aux_dir/install.sh -c"
2459 break
2460 elif test -f "$ac_dir/shtool"; then
2461 ac_aux_dir=$ac_dir
2462 ac_install_sh="$ac_aux_dir/shtool install -c"
2463 break
2464 fi
2465 done
2466 if test -z "$ac_aux_dir"; then
2467 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2468 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2469 { (exit 1); exit 1; }; }
2470 fi
2471
2472 # These three variables are undocumented and unsupported,
2473 # and are intended to be withdrawn in a future Autoconf release.
2474 # They can cause serious problems if a builder's source tree is in a directory
2475 # whose full name contains unusual characters.
2476 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2477 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2478 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2479
2480
2481 # Make sure we can run config.sub.
2482 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2483 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2484 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2485 { (exit 1); exit 1; }; }
2486
2487 { echo "$as_me:$LINENO: checking build system type" >&5
2488 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2489 if test "${ac_cv_build+set}" = set; then
2490 echo $ECHO_N "(cached) $ECHO_C" >&6
2491 else
2492 ac_build_alias=$build_alias
2493 test "x$ac_build_alias" = x &&
2494 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2495 test "x$ac_build_alias" = x &&
2496 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2497 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2498 { (exit 1); exit 1; }; }
2499 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2500 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2501 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2502 { (exit 1); exit 1; }; }
2503
2504 fi
2505 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2506 echo "${ECHO_T}$ac_cv_build" >&6; }
2507 case $ac_cv_build in
2508 *-*-*) ;;
2509 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2510 echo "$as_me: error: invalid value of canonical build" >&2;}
2511 { (exit 1); exit 1; }; };;
2512 esac
2513 build=$ac_cv_build
2514 ac_save_IFS=$IFS; IFS='-'
2515 set x $ac_cv_build
2516 shift
2517 build_cpu=$1
2518 build_vendor=$2
2519 shift; shift
2520 # Remember, the first character of IFS is used to create $*,
2521 # except with old shells:
2522 build_os=$*
2523 IFS=$ac_save_IFS
2524 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2525
2526
2527 { echo "$as_me:$LINENO: checking host system type" >&5
2528 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2529 if test "${ac_cv_host+set}" = set; then
2530 echo $ECHO_N "(cached) $ECHO_C" >&6
2531 else
2532 if test "x$host_alias" = x; then
2533 ac_cv_host=$ac_cv_build
2534 else
2535 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2536 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2537 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2538 { (exit 1); exit 1; }; }
2539 fi
2540
2541 fi
2542 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2543 echo "${ECHO_T}$ac_cv_host" >&6; }
2544 case $ac_cv_host in
2545 *-*-*) ;;
2546 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2547 echo "$as_me: error: invalid value of canonical host" >&2;}
2548 { (exit 1); exit 1; }; };;
2549 esac
2550 host=$ac_cv_host
2551 ac_save_IFS=$IFS; IFS='-'
2552 set x $ac_cv_host
2553 shift
2554 host_cpu=$1
2555 host_vendor=$2
2556 shift; shift
2557 # Remember, the first character of IFS is used to create $*,
2558 # except with old shells:
2559 host_os=$*
2560 IFS=$ac_save_IFS
2561 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2562
2563
2564
2565 if test "$cross_compiling" != "no"; then
2566 HOST_PREFIX="${host_alias}-"
2567 HOST_SUFFIX="-$host_alias"
2568 else
2569 HOST_PREFIX=
2570 HOST_SUFFIX=
2571 fi
2572
2573
2574 wx_major_version_number=2
2575 wx_minor_version_number=9
2576 wx_release_number=1
2577 wx_subrelease_number=0
2578
2579 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2580 WX_VERSION=$WX_RELEASE.$wx_release_number
2581 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2582
2583 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2584
2585
2586 wx_top_builddir="`pwd`"
2587
2588
2589
2590
2591 USE_UNIX=1
2592 USE_OS2=0
2593 USE_WIN32=0
2594 USE_DOS=0
2595 USE_BEOS=0
2596 USE_MAC=0
2597
2598 USE_AIX=
2599 USE_BSD= USE_DARWIN= USE_FREEBSD=
2600 USE_GNU= USE_HPUX=
2601 USE_LINUX=
2602 USE_NETBSD=
2603 USE_OPENBSD=
2604 USE_OSF= USE_SGI=
2605 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2606 USE_ULTRIX=
2607 USE_UNIXWARE=
2608
2609 USE_ALPHA=
2610
2611 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2612
2613 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2614
2615 DEFAULT_wxUSE_OLD_COCOA=0
2616 DEFAULT_wxUSE_GTK=0
2617 DEFAULT_wxUSE_OSX_CARBON=0
2618 DEFAULT_wxUSE_OSX_COCOA=0
2619 DEFAULT_wxUSE_OSX_IPHONE=0
2620 DEFAULT_wxUSE_MGL=0
2621 DEFAULT_wxUSE_MICROWIN=0
2622 DEFAULT_wxUSE_MOTIF=0
2623 DEFAULT_wxUSE_MSW=0
2624 DEFAULT_wxUSE_PM=0
2625 DEFAULT_wxUSE_X11=0
2626 DEFAULT_wxUSE_DFB=0
2627
2628 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
2629 DEFAULT_DEFAULT_wxUSE_GTK=0
2630 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2631 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2632 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
2633 DEFAULT_DEFAULT_wxUSE_MGL=0
2634 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2635 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2636 DEFAULT_DEFAULT_wxUSE_MSW=0
2637 DEFAULT_DEFAULT_wxUSE_PM=0
2638 DEFAULT_DEFAULT_wxUSE_X11=0
2639 DEFAULT_DEFAULT_wxUSE_DFB=0
2640
2641 PROGRAM_EXT=
2642 SAMPLES_RPATH_FLAG=
2643 DYLIB_RPATH_INSTALL=
2644 DYLIB_RPATH_POSTLINK=
2645
2646 DEFAULT_STD_FLAG=yes
2647
2648 case "${host}" in
2649 *-hp-hpux* )
2650 USE_HPUX=1
2651 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2652 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2653 cat >>confdefs.h <<\_ACEOF
2654 #define __HPUX__ 1
2655 _ACEOF
2656
2657
2658 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2659 ;;
2660 *-*-linux* )
2661 USE_LINUX=1
2662 cat >>confdefs.h <<\_ACEOF
2663 #define __LINUX__ 1
2664 _ACEOF
2665
2666 TMP=`uname -m`
2667 if test "x$TMP" = "xalpha"; then
2668 USE_ALPHA=1
2669 cat >>confdefs.h <<\_ACEOF
2670 #define __ALPHA__ 1
2671 _ACEOF
2672
2673 fi
2674 DEFAULT_DEFAULT_wxUSE_GTK=1
2675 ;;
2676 *-*-gnu* | *-*-k*bsd*-gnu )
2677 USE_GNU=1
2678 TMP=`uname -m`
2679 if test "x$TMP" = "xalpha"; then
2680 USE_ALPHA=1
2681 cat >>confdefs.h <<\_ACEOF
2682 #define __ALPHA__ 1
2683 _ACEOF
2684
2685 fi
2686 DEFAULT_DEFAULT_wxUSE_GTK=1
2687 ;;
2688 *-*-irix5* | *-*-irix6* )
2689 USE_SGI=1
2690 USE_SVR4=1
2691 cat >>confdefs.h <<\_ACEOF
2692 #define __SGI__ 1
2693 _ACEOF
2694
2695 cat >>confdefs.h <<\_ACEOF
2696 #define __SVR4__ 1
2697 _ACEOF
2698
2699 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2700 ;;
2701 *-*-solaris2* )
2702 USE_SUN=1
2703 USE_SOLARIS=1
2704 USE_SVR4=1
2705 cat >>confdefs.h <<\_ACEOF
2706 #define __SUN__ 1
2707 _ACEOF
2708
2709 cat >>confdefs.h <<\_ACEOF
2710 #define __SOLARIS__ 1
2711 _ACEOF
2712
2713 cat >>confdefs.h <<\_ACEOF
2714 #define __SVR4__ 1
2715 _ACEOF
2716
2717 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2718 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2719 ;;
2720 *-*-sunos4* )
2721 USE_SUN=1
2722 USE_SUNOS=1
2723 USE_BSD=1
2724 cat >>confdefs.h <<\_ACEOF
2725 #define __SUN__ 1
2726 _ACEOF
2727
2728 cat >>confdefs.h <<\_ACEOF
2729 #define __SUNOS__ 1
2730 _ACEOF
2731
2732 cat >>confdefs.h <<\_ACEOF
2733 #define __BSD__ 1
2734 _ACEOF
2735
2736 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2737 ;;
2738 *-*-freebsd*)
2739 USE_BSD=1
2740 USE_FREEBSD=1
2741 cat >>confdefs.h <<\_ACEOF
2742 #define __FREEBSD__ 1
2743 _ACEOF
2744
2745 cat >>confdefs.h <<\_ACEOF
2746 #define __BSD__ 1
2747 _ACEOF
2748
2749 DEFAULT_DEFAULT_wxUSE_GTK=1
2750 ;;
2751 *-*-openbsd*|*-*-mirbsd*)
2752 USE_BSD=1
2753 USE_OPENBSD=1
2754 cat >>confdefs.h <<\_ACEOF
2755 #define __OPENBSD__ 1
2756 _ACEOF
2757
2758 cat >>confdefs.h <<\_ACEOF
2759 #define __BSD__ 1
2760 _ACEOF
2761
2762 DEFAULT_DEFAULT_wxUSE_GTK=1
2763 ;;
2764 *-*-netbsd*)
2765 USE_BSD=1
2766 USE_NETBSD=1
2767 cat >>confdefs.h <<\_ACEOF
2768 #define __NETBSD__ 1
2769 _ACEOF
2770
2771 cat >>confdefs.h <<\_ACEOF
2772 #define __BSD__ 1
2773 _ACEOF
2774
2775 DEFAULT_DEFAULT_wxUSE_GTK=1
2776 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2777
2778 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2779 ;;
2780 *-*-osf* )
2781 USE_ALPHA=1
2782 USE_OSF=1
2783 cat >>confdefs.h <<\_ACEOF
2784 #define __ALPHA__ 1
2785 _ACEOF
2786
2787 cat >>confdefs.h <<\_ACEOF
2788 #define __OSF__ 1
2789 _ACEOF
2790
2791 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2792 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2793 ;;
2794 *-*-dgux5* )
2795 USE_ALPHA=1
2796 USE_SVR4=1
2797 cat >>confdefs.h <<\_ACEOF
2798 #define __ALPHA__ 1
2799 _ACEOF
2800
2801 cat >>confdefs.h <<\_ACEOF
2802 #define __SVR4__ 1
2803 _ACEOF
2804
2805 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2806 ;;
2807 *-*-sysv5* )
2808 USE_SYSV=1
2809 USE_SVR4=1
2810 cat >>confdefs.h <<\_ACEOF
2811 #define __SYSV__ 1
2812 _ACEOF
2813
2814 cat >>confdefs.h <<\_ACEOF
2815 #define __SVR4__ 1
2816 _ACEOF
2817
2818 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2819 ;;
2820 *-*-aix* )
2821 USE_AIX=1
2822 USE_SYSV=1
2823 USE_SVR4=1
2824 cat >>confdefs.h <<\_ACEOF
2825 #define __AIX__ 1
2826 _ACEOF
2827
2828 cat >>confdefs.h <<\_ACEOF
2829 #define __SYSV__ 1
2830 _ACEOF
2831
2832 cat >>confdefs.h <<\_ACEOF
2833 #define __SVR4__ 1
2834 _ACEOF
2835
2836 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2837 ;;
2838
2839 *-*-*UnixWare*)
2840 USE_SYSV=1
2841 USE_SVR4=1
2842 USE_UNIXWARE=1
2843 cat >>confdefs.h <<\_ACEOF
2844 #define __UNIXWARE__ 1
2845 _ACEOF
2846
2847 ;;
2848
2849 *-*-cygwin* | *-*-mingw32* )
2850 PROGRAM_EXT=".exe"
2851 DEFAULT_DEFAULT_wxUSE_MSW=1
2852 ;;
2853
2854 *-pc-msdosdjgpp )
2855 USE_UNIX=0
2856 USE_DOS=1
2857 cat >>confdefs.h <<\_ACEOF
2858 #define __DOS__ 1
2859 _ACEOF
2860
2861 PROGRAM_EXT=".exe"
2862 DEFAULT_DEFAULT_wxUSE_MGL=1
2863 ;;
2864
2865 *-pc-os2_emx | *-pc-os2-emx )
2866 cat >>confdefs.h <<\_ACEOF
2867 #define __EMX__ 1
2868 _ACEOF
2869
2870 USE_OS2=1
2871 cat >>confdefs.h <<\_ACEOF
2872 #define __OS2__ 1
2873 _ACEOF
2874
2875 PROGRAM_EXT=".exe"
2876 DEFAULT_DEFAULT_wxUSE_PM=1
2877 CXX=gcc
2878 LDFLAGS="$LDFLAGS -Zcrtdll"
2879 ac_executable_extensions=".exe"
2880 export ac_executable_extensions
2881 ac_save_IFS="$IFS"
2882 IFS='\\'
2883 ac_TEMP_PATH=
2884 for ac_dir in $PATH; do
2885 IFS=$ac_save_IFS
2886 if test -z "$ac_TEMP_PATH"; then
2887 ac_TEMP_PATH="$ac_dir"
2888 else
2889 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2890 fi
2891 done
2892 export PATH="$ac_TEMP_PATH"
2893 unset ac_TEMP_PATH
2894 DEFAULT_STD_FLAG=no
2895 ;;
2896
2897 arm-apple-darwin*)
2898 USE_BSD=1
2899 USE_DARWIN=1
2900 cat >>confdefs.h <<\_ACEOF
2901 #define __BSD__ 1
2902 _ACEOF
2903
2904 cat >>confdefs.h <<\_ACEOF
2905 #define __DARWIN__ 1
2906 _ACEOF
2907
2908 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
2909 ;;
2910
2911 *-*-darwin* )
2912 USE_BSD=1
2913 USE_DARWIN=1
2914 cat >>confdefs.h <<\_ACEOF
2915 #define __BSD__ 1
2916 _ACEOF
2917
2918 cat >>confdefs.h <<\_ACEOF
2919 #define __DARWIN__ 1
2920 _ACEOF
2921
2922 cat >>confdefs.h <<\_ACEOF
2923 #define TARGET_CARBON 1
2924 _ACEOF
2925
2926 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2927 ;;
2928
2929 *-*-beos* )
2930 USE_BEOS=1
2931 cat >>confdefs.h <<\_ACEOF
2932 #define __BEOS__ 1
2933 _ACEOF
2934
2935 ;;
2936
2937 *)
2938 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2939 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2940 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2941 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2942
2943 DEFAULT_DEFAULT_wxUSE_X11=1
2944 DEFAULT_wxUSE_SHARED=no
2945 esac
2946
2947
2948
2949 DEFAULT_wxUSE_ALL_FEATURES=yes
2950
2951 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2952 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2953
2954 DEFAULT_wxUSE_DMALLOC=no
2955 DEFAULT_wxUSE_LIBGNOMEVFS=no
2956 DEFAULT_wxUSE_LIBHILDON=no
2957 DEFAULT_wxUSE_LIBHILDON2=no
2958 DEFAULT_wxUSE_LIBMSPACK=no
2959 DEFAULT_wxUSE_LIBSDL=no
2960
2961 DEFAULT_wxUSE_ACCESSIBILITY=no
2962 DEFAULT_wxUSE_IPV6=no
2963 DEFAULT_wxUSE_GSTREAMER8=no
2964
2965 DEFAULT_wxUSE_UNICODE_UTF8=auto
2966 DEFAULT_wxUSE_OPENGL=auto
2967 DEFAULT_wxUSE_MEDIACTRL=auto
2968 DEFAULT_wxUSE_COMPILER_TLS=auto
2969
2970 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2971
2972 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2973
2974 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2975
2976 DEFAULT_wxUSE_GTK2=yes
2977
2978 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2979
2980
2981
2982
2983
2984 enablestring=disable
2985 defaultval=
2986 if test -z "$defaultval"; then
2987 if test x"$enablestring" = xdisable; then
2988 defaultval=yes
2989 else
2990 defaultval=no
2991 fi
2992 fi
2993
2994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2995 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2996 # Check whether --enable-gui was given.
2997 if test "${enable_gui+set}" = set; then
2998 enableval=$enable_gui;
2999 if test "$enableval" = yes; then
3000 wx_cv_use_gui='wxUSE_GUI=yes'
3001 else
3002 wx_cv_use_gui='wxUSE_GUI=no'
3003 fi
3004
3005 else
3006
3007 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3008
3009 fi
3010
3011
3012 eval "$wx_cv_use_gui"
3013
3014 if test x"$enablestring" = xdisable; then
3015 if test $wxUSE_GUI = no; then
3016 result=yes
3017 else
3018 result=no
3019 fi
3020 else
3021 result=$wxUSE_GUI
3022 fi
3023
3024 { echo "$as_me:$LINENO: result: $result" >&5
3025 echo "${ECHO_T}$result" >&6; }
3026
3027
3028 enablestring=
3029 defaultval=
3030 if test -z "$defaultval"; then
3031 if test x"$enablestring" = xdisable; then
3032 defaultval=yes
3033 else
3034 defaultval=no
3035 fi
3036 fi
3037
3038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3039 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3040 # Check whether --enable-monolithic was given.
3041 if test "${enable_monolithic+set}" = set; then
3042 enableval=$enable_monolithic;
3043 if test "$enableval" = yes; then
3044 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3045 else
3046 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3047 fi
3048
3049 else
3050
3051 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3052
3053 fi
3054
3055
3056 eval "$wx_cv_use_monolithic"
3057
3058 if test x"$enablestring" = xdisable; then
3059 if test $wxUSE_MONOLITHIC = no; then
3060 result=yes
3061 else
3062 result=no
3063 fi
3064 else
3065 result=$wxUSE_MONOLITHIC
3066 fi
3067
3068 { echo "$as_me:$LINENO: result: $result" >&5
3069 echo "${ECHO_T}$result" >&6; }
3070
3071
3072 enablestring=
3073 defaultval=
3074 if test -z "$defaultval"; then
3075 if test x"$enablestring" = xdisable; then
3076 defaultval=yes
3077 else
3078 defaultval=no
3079 fi
3080 fi
3081
3082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3083 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3084 # Check whether --enable-plugins was given.
3085 if test "${enable_plugins+set}" = set; then
3086 enableval=$enable_plugins;
3087 if test "$enableval" = yes; then
3088 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3089 else
3090 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3091 fi
3092
3093 else
3094
3095 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3096
3097 fi
3098
3099
3100 eval "$wx_cv_use_plugins"
3101
3102 if test x"$enablestring" = xdisable; then
3103 if test $wxUSE_PLUGINS = no; then
3104 result=yes
3105 else
3106 result=no
3107 fi
3108 else
3109 result=$wxUSE_PLUGINS
3110 fi
3111
3112 { echo "$as_me:$LINENO: result: $result" >&5
3113 echo "${ECHO_T}$result" >&6; }
3114
3115
3116 withstring=without
3117 defaultval=$wxUSE_ALL_FEATURES
3118 if test -z "$defaultval"; then
3119 if test x"$withstring" = xwithout; then
3120 defaultval=yes
3121 else
3122 defaultval=no
3123 fi
3124 fi
3125 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3126 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3127
3128 # Check whether --with-subdirs was given.
3129 if test "${with_subdirs+set}" = set; then
3130 withval=$with_subdirs;
3131 if test "$withval" = yes; then
3132 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3133 else
3134 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3135 fi
3136
3137 else
3138
3139 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3140
3141 fi
3142
3143
3144 eval "$wx_cv_use_subdirs"
3145
3146 if test x"$withstring" = xwithout; then
3147 if test $wxWITH_SUBDIRS = yes; then
3148 result=no
3149 else
3150 result=yes
3151 fi
3152 else
3153 result=$wxWITH_SUBDIRS
3154 fi
3155
3156 { echo "$as_me:$LINENO: result: $result" >&5
3157 echo "${ECHO_T}$result" >&6; }
3158
3159
3160 # Check whether --with-flavour was given.
3161 if test "${with_flavour+set}" = set; then
3162 withval=$with_flavour; WX_FLAVOUR="$withval"
3163 fi
3164
3165
3166 enablestring=
3167 defaultval=
3168 if test -z "$defaultval"; then
3169 if test x"$enablestring" = xdisable; then
3170 defaultval=yes
3171 else
3172 defaultval=no
3173 fi
3174 fi
3175
3176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3177 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3178 # Check whether --enable-official_build was given.
3179 if test "${enable_official_build+set}" = set; then
3180 enableval=$enable_official_build;
3181 if test "$enableval" = yes; then
3182 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3183 else
3184 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3185 fi
3186
3187 else
3188
3189 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3190
3191 fi
3192
3193
3194 eval "$wx_cv_use_official_build"
3195
3196 if test x"$enablestring" = xdisable; then
3197 if test $wxUSE_OFFICIAL_BUILD = no; then
3198 result=yes
3199 else
3200 result=no
3201 fi
3202 else
3203 result=$wxUSE_OFFICIAL_BUILD
3204 fi
3205
3206 { echo "$as_me:$LINENO: result: $result" >&5
3207 echo "${ECHO_T}$result" >&6; }
3208
3209 # Check whether --enable-vendor was given.
3210 if test "${enable_vendor+set}" = set; then
3211 enableval=$enable_vendor; VENDOR="$enableval"
3212 fi
3213
3214 if test "x$VENDOR" = "x"; then
3215 VENDOR="custom"
3216 fi
3217
3218
3219 enablestring=disable
3220 defaultval=
3221 if test -z "$defaultval"; then
3222 if test x"$enablestring" = xdisable; then
3223 defaultval=yes
3224 else
3225 defaultval=no
3226 fi
3227 fi
3228
3229 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3230 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3231 # Check whether --enable-all-features was given.
3232 if test "${enable_all_features+set}" = set; then
3233 enableval=$enable_all_features;
3234 if test "$enableval" = yes; then
3235 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3236 else
3237 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3238 fi
3239
3240 else
3241
3242 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3243
3244 fi
3245
3246
3247 eval "$wx_cv_use_all_features"
3248
3249 if test x"$enablestring" = xdisable; then
3250 if test $wxUSE_ALL_FEATURES = no; then
3251 result=yes
3252 else
3253 result=no
3254 fi
3255 else
3256 result=$wxUSE_ALL_FEATURES
3257 fi
3258
3259 { echo "$as_me:$LINENO: result: $result" >&5
3260 echo "${ECHO_T}$result" >&6; }
3261
3262
3263 if test "$wxUSE_ALL_FEATURES" = "no"; then
3264 DEFAULT_wxUSE_MEDIACTRL=no
3265 fi
3266
3267
3268 if test "$wxUSE_GUI" = "yes"; then
3269
3270
3271 enablestring=
3272 defaultval=
3273 if test -z "$defaultval"; then
3274 if test x"$enablestring" = xdisable; then
3275 defaultval=yes
3276 else
3277 defaultval=no
3278 fi
3279 fi
3280
3281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3282 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3283 # Check whether --enable-universal was given.
3284 if test "${enable_universal+set}" = set; then
3285 enableval=$enable_universal;
3286 if test "$enableval" = yes; then
3287 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3288 else
3289 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3290 fi
3291
3292 else
3293
3294 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3295
3296 fi
3297
3298
3299 eval "$wx_cv_use_universal"
3300
3301 if test x"$enablestring" = xdisable; then
3302 if test $wxUSE_UNIVERSAL = no; then
3303 result=yes
3304 else
3305 result=no
3306 fi
3307 else
3308 result=$wxUSE_UNIVERSAL
3309 fi
3310
3311 { echo "$as_me:$LINENO: result: $result" >&5
3312 echo "${ECHO_T}$result" >&6; }
3313
3314 if test "$wxUSE_UNIVERSAL" = "yes"; then
3315
3316 # Check whether --with-themes was given.
3317 if test "${with_themes+set}" = set; then
3318 withval=$with_themes; wxUNIV_THEMES="$withval"
3319 fi
3320
3321 fi
3322
3323
3324 # Check whether --with-gtk was given.
3325 if test "${with_gtk+set}" = set; then
3326 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3327 fi
3328
3329
3330 # Check whether --with-motif was given.
3331 if test "${with_motif+set}" = set; then
3332 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3333 fi
3334
3335
3336 # Check whether --with-osx_carbon was given.
3337 if test "${with_osx_carbon+set}" = set; then
3338 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3339 fi
3340
3341
3342 # Check whether --with-osx_cocoa was given.
3343 if test "${with_osx_cocoa+set}" = set; then
3344 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3345 fi
3346
3347
3348 # Check whether --with-osx_iphone was given.
3349 if test "${with_osx_iphone+set}" = set; then
3350 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3351 fi
3352
3353
3354 # Check whether --with-osx was given.
3355 if test "${with_osx+set}" = set; then
3356 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3357 fi
3358
3359
3360 # Check whether --with-carbon was given.
3361 if test "${with_carbon+set}" = set; then
3362 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3363 fi
3364
3365
3366 # Check whether --with-cocoa was given.
3367 if test "${with_cocoa+set}" = set; then
3368 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3369 fi
3370
3371
3372 # Check whether --with-iphone was given.
3373 if test "${with_iphone+set}" = set; then
3374 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3375 fi
3376
3377
3378 # Check whether --with-mac was given.
3379 if test "${with_mac+set}" = set; then
3380 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3381 fi
3382
3383
3384 # Check whether --with-old_cocoa was given.
3385 if test "${with_old_cocoa+set}" = set; then
3386 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3387 fi
3388
3389
3390 # Check whether --with-wine was given.
3391 if test "${with_wine+set}" = set; then
3392 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3393 fi
3394
3395
3396 # Check whether --with-msw was given.
3397 if test "${with_msw+set}" = set; then
3398 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3399 fi
3400
3401
3402 # Check whether --with-pm was given.
3403 if test "${with_pm+set}" = set; then
3404 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3405 fi
3406
3407
3408 # Check whether --with-mgl was given.
3409 if test "${with_mgl+set}" = set; then
3410 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3411 fi
3412
3413
3414 # Check whether --with-directfb was given.
3415 if test "${with_directfb+set}" = set; then
3416 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3417 fi
3418
3419
3420 # Check whether --with-microwin was given.
3421 if test "${with_microwin+set}" = set; then
3422 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3423 fi
3424
3425
3426 # Check whether --with-x11 was given.
3427 if test "${with_x11+set}" = set; then
3428 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3429 fi
3430
3431
3432 enablestring=
3433 defaultval=
3434 if test -z "$defaultval"; then
3435 if test x"$enablestring" = xdisable; then
3436 defaultval=yes
3437 else
3438 defaultval=no
3439 fi
3440 fi
3441
3442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3443 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3444 # Check whether --enable-nanox was given.
3445 if test "${enable_nanox+set}" = set; then
3446 enableval=$enable_nanox;
3447 if test "$enableval" = yes; then
3448 wx_cv_use_nanox='wxUSE_NANOX=yes'
3449 else
3450 wx_cv_use_nanox='wxUSE_NANOX=no'
3451 fi
3452
3453 else
3454
3455 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3456
3457 fi
3458
3459
3460 eval "$wx_cv_use_nanox"
3461
3462 if test x"$enablestring" = xdisable; then
3463 if test $wxUSE_NANOX = no; then
3464 result=yes
3465 else
3466 result=no
3467 fi
3468 else
3469 result=$wxUSE_NANOX
3470 fi
3471
3472 { echo "$as_me:$LINENO: result: $result" >&5
3473 echo "${ECHO_T}$result" >&6; }
3474
3475
3476 # Check whether --enable-gtk2 was given.
3477 if test "${enable_gtk2+set}" = set; then
3478 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3479 fi
3480
3481
3482 enablestring=
3483 defaultval=
3484 if test -z "$defaultval"; then
3485 if test x"$enablestring" = xdisable; then
3486 defaultval=yes
3487 else
3488 defaultval=no
3489 fi
3490 fi
3491
3492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3493 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3494 # Check whether --enable-gpe was given.
3495 if test "${enable_gpe+set}" = set; then
3496 enableval=$enable_gpe;
3497 if test "$enableval" = yes; then
3498 wx_cv_use_gpe='wxUSE_GPE=yes'
3499 else
3500 wx_cv_use_gpe='wxUSE_GPE=no'
3501 fi
3502
3503 else
3504
3505 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3506
3507 fi
3508
3509
3510 eval "$wx_cv_use_gpe"
3511
3512 if test x"$enablestring" = xdisable; then
3513 if test $wxUSE_GPE = no; then
3514 result=yes
3515 else
3516 result=no
3517 fi
3518 else
3519 result=$wxUSE_GPE
3520 fi
3521
3522 { echo "$as_me:$LINENO: result: $result" >&5
3523 echo "${ECHO_T}$result" >&6; }
3524
3525
3526
3527 { echo "$as_me:$LINENO: checking for toolkit" >&5
3528 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3529
3530
3531
3532 # In Wine, we need to default to MSW, not GTK or MOTIF
3533 if test "$wxUSE_WINE" = "yes"; then
3534 DEFAULT_DEFAULT_wxUSE_GTK=0
3535 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3536 DEFAULT_DEFAULT_wxUSE_MSW=1
3537 wxUSE_SHARED=no
3538 CC=${CC:-winegcc}
3539 CXX=${CXX:-wineg++}
3540 fi
3541
3542
3543 if test "$wxUSE_GUI" = "yes"; then
3544
3545 if test "$USE_BEOS" = 1; then
3546 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3547 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3548 { (exit 1); exit 1; }; }
3549 fi
3550
3551 if test "$TOOLKIT_GIVEN" = 1; then
3552 for toolkit in $ALL_TOOLKITS; do
3553 var=wxUSE_$toolkit
3554 eval "value=\$${var}"
3555 if test "x$value" = "xno"; then
3556 eval "$var=0"
3557 elif test "x$value" != "x"; then
3558 eval "$var=1"
3559 fi
3560
3561 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3562 eval "wx${toolkit}_VERSION=$value"
3563 fi
3564 done
3565 else
3566 for toolkit in $ALL_TOOLKITS; do
3567 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3568 eval "wxUSE_$toolkit=\$${var}"
3569 done
3570 fi
3571
3572 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3573 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3574 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3575
3576 case "${host}" in
3577 *-pc-os2_emx | *-pc-os2-emx )
3578 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3579 esac
3580
3581 case "$NUM_TOOLKITS" in
3582 1)
3583 ;;
3584 0)
3585 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3586 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3587 { (exit 1); exit 1; }; }
3588 ;;
3589 *)
3590 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3591 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3592 { (exit 1); exit 1; }; }
3593 esac
3594
3595 # to be removed when --disable-gtk2 isn't needed
3596 if test "x$wxUSE_GTK2" = "xyes"; then
3597 wxGTK_VERSION=2
3598 elif test "x$wxUSE_GTK2" = "xno"; then
3599 wxGTK_VERSION=1
3600 fi
3601
3602 for toolkit in $ALL_TOOLKITS; do
3603 var=wxUSE_$toolkit
3604 eval "value=\$${var}"
3605 if test "$value" = 1; then
3606 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3607 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3608 echo "${ECHO_T}$toolkit_echo" >&6; }
3609 fi
3610 done
3611 else
3612 if test "x$host_alias" != "x"; then
3613 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3614 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3615 else
3616 { echo "$as_me:$LINENO: result: base only" >&5
3617 echo "${ECHO_T}base only" >&6; }
3618 fi
3619 fi
3620
3621 wxUSE_MAC=0
3622 if test "$wxUSE_OSX_CARBON" = 1 \
3623 -o "$wxUSE_OSX_COCOA" = 1 \
3624 -o "$wxUSE_OSX_IPHONE" = 1; then
3625 wxUSE_MAC=1
3626 fi
3627
3628
3629
3630 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3631 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3632
3633 # Check whether --with-libpng was given.
3634 if test "${with_libpng+set}" = set; then
3635 withval=$with_libpng;
3636 if test "$withval" = yes; then
3637 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3638 elif test "$withval" = no; then
3639 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3640 elif test "$withval" = sys; then
3641 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3642 elif test "$withval" = builtin; then
3643 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3644 else
3645 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3646 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3647 { (exit 1); exit 1; }; }
3648 fi
3649
3650 else
3651
3652 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3653
3654 fi
3655
3656
3657 eval "$wx_cv_use_libpng"
3658
3659 if test "$wxUSE_LIBPNG" = yes; then
3660 { echo "$as_me:$LINENO: result: yes" >&5
3661 echo "${ECHO_T}yes" >&6; }
3662 elif test "$wxUSE_LIBPNG" = no; then
3663 { echo "$as_me:$LINENO: result: no" >&5
3664 echo "${ECHO_T}no" >&6; }
3665 elif test "$wxUSE_LIBPNG" = sys; then
3666 { echo "$as_me:$LINENO: result: system version" >&5
3667 echo "${ECHO_T}system version" >&6; }
3668 elif test "$wxUSE_LIBPNG" = builtin; then
3669 { echo "$as_me:$LINENO: result: builtin version" >&5
3670 echo "${ECHO_T}builtin version" >&6; }
3671 else
3672 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3673 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3674 { (exit 1); exit 1; }; }
3675 fi
3676
3677
3678 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3679 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3680
3681 # Check whether --with-libjpeg was given.
3682 if test "${with_libjpeg+set}" = set; then
3683 withval=$with_libjpeg;
3684 if test "$withval" = yes; then
3685 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3686 elif test "$withval" = no; then
3687 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3688 elif test "$withval" = sys; then
3689 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3690 elif test "$withval" = builtin; then
3691 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3692 else
3693 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3694 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3695 { (exit 1); exit 1; }; }
3696 fi
3697
3698 else
3699
3700 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3701
3702 fi
3703
3704
3705 eval "$wx_cv_use_libjpeg"
3706
3707 if test "$wxUSE_LIBJPEG" = yes; then
3708 { echo "$as_me:$LINENO: result: yes" >&5
3709 echo "${ECHO_T}yes" >&6; }
3710 elif test "$wxUSE_LIBJPEG" = no; then
3711 { echo "$as_me:$LINENO: result: no" >&5
3712 echo "${ECHO_T}no" >&6; }
3713 elif test "$wxUSE_LIBJPEG" = sys; then
3714 { echo "$as_me:$LINENO: result: system version" >&5
3715 echo "${ECHO_T}system version" >&6; }
3716 elif test "$wxUSE_LIBJPEG" = builtin; then
3717 { echo "$as_me:$LINENO: result: builtin version" >&5
3718 echo "${ECHO_T}builtin version" >&6; }
3719 else
3720 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3721 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3722 { (exit 1); exit 1; }; }
3723 fi
3724
3725
3726 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3727 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3728
3729 # Check whether --with-libtiff was given.
3730 if test "${with_libtiff+set}" = set; then
3731 withval=$with_libtiff;
3732 if test "$withval" = yes; then
3733 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3734 elif test "$withval" = no; then
3735 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3736 elif test "$withval" = sys; then
3737 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3738 elif test "$withval" = builtin; then
3739 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3740 else
3741 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3742 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3743 { (exit 1); exit 1; }; }
3744 fi
3745
3746 else
3747
3748 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3749
3750 fi
3751
3752
3753 eval "$wx_cv_use_libtiff"
3754
3755 if test "$wxUSE_LIBTIFF" = yes; then
3756 { echo "$as_me:$LINENO: result: yes" >&5
3757 echo "${ECHO_T}yes" >&6; }
3758 elif test "$wxUSE_LIBTIFF" = no; then
3759 { echo "$as_me:$LINENO: result: no" >&5
3760 echo "${ECHO_T}no" >&6; }
3761 elif test "$wxUSE_LIBTIFF" = sys; then
3762 { echo "$as_me:$LINENO: result: system version" >&5
3763 echo "${ECHO_T}system version" >&6; }
3764 elif test "$wxUSE_LIBTIFF" = builtin; then
3765 { echo "$as_me:$LINENO: result: builtin version" >&5
3766 echo "${ECHO_T}builtin version" >&6; }
3767 else
3768 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3769 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3770 { (exit 1); exit 1; }; }
3771 fi
3772
3773
3774 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3775 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3776
3777 # Check whether --with-libxpm was given.
3778 if test "${with_libxpm+set}" = set; then
3779 withval=$with_libxpm;
3780 if test "$withval" = yes; then
3781 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3782 elif test "$withval" = no; then
3783 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3784 elif test "$withval" = sys; then
3785 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3786 elif test "$withval" = builtin; then
3787 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3788 else
3789 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3790 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3791 { (exit 1); exit 1; }; }
3792 fi
3793
3794 else
3795
3796 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3797
3798 fi
3799
3800
3801 eval "$wx_cv_use_libxpm"
3802
3803 if test "$wxUSE_LIBXPM" = yes; then
3804 { echo "$as_me:$LINENO: result: yes" >&5
3805 echo "${ECHO_T}yes" >&6; }
3806 elif test "$wxUSE_LIBXPM" = no; then
3807 { echo "$as_me:$LINENO: result: no" >&5
3808 echo "${ECHO_T}no" >&6; }
3809 elif test "$wxUSE_LIBXPM" = sys; then
3810 { echo "$as_me:$LINENO: result: system version" >&5
3811 echo "${ECHO_T}system version" >&6; }
3812 elif test "$wxUSE_LIBXPM" = builtin; then
3813 { echo "$as_me:$LINENO: result: builtin version" >&5
3814 echo "${ECHO_T}builtin version" >&6; }
3815 else
3816 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3817 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3818 { (exit 1); exit 1; }; }
3819 fi
3820
3821
3822 withstring=
3823 defaultval=$wxUSE_ALL_FEATURES
3824 if test -z "$defaultval"; then
3825 if test x"$withstring" = xwithout; then
3826 defaultval=yes
3827 else
3828 defaultval=no
3829 fi
3830 fi
3831 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3832 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3833
3834 # Check whether --with-libiconv was given.
3835 if test "${with_libiconv+set}" = set; then
3836 withval=$with_libiconv;
3837 if test "$withval" = yes; then
3838 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3839 else
3840 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3841 fi
3842
3843 else
3844
3845 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3846
3847 fi
3848
3849
3850 eval "$wx_cv_use_libiconv"
3851
3852 if test x"$withstring" = xwithout; then
3853 if test $wxUSE_LIBICONV = yes; then
3854 result=no
3855 else
3856 result=yes
3857 fi
3858 else
3859 result=$wxUSE_LIBICONV
3860 fi
3861
3862 { echo "$as_me:$LINENO: result: $result" >&5
3863 echo "${ECHO_T}$result" >&6; }
3864
3865
3866 withstring=
3867 defaultval=$wxUSE_ALL_FEATURES
3868 if test -z "$defaultval"; then
3869 if test x"$withstring" = xwithout; then
3870 defaultval=yes
3871 else
3872 defaultval=no
3873 fi
3874 fi
3875 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3876 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3877
3878 # Check whether --with-libmspack was given.
3879 if test "${with_libmspack+set}" = set; then
3880 withval=$with_libmspack;
3881 if test "$withval" = yes; then
3882 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3883 else
3884 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3885 fi
3886
3887 else
3888
3889 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3890
3891 fi
3892
3893
3894 eval "$wx_cv_use_libmspack"
3895
3896 if test x"$withstring" = xwithout; then
3897 if test $wxUSE_LIBMSPACK = yes; then
3898 result=no
3899 else
3900 result=yes
3901 fi
3902 else
3903 result=$wxUSE_LIBMSPACK
3904 fi
3905
3906 { echo "$as_me:$LINENO: result: $result" >&5
3907 echo "${ECHO_T}$result" >&6; }
3908
3909
3910 withstring=without
3911 defaultval=$wxUSE_ALL_FEATURES
3912 if test -z "$defaultval"; then
3913 if test x"$withstring" = xwithout; then
3914 defaultval=yes
3915 else
3916 defaultval=no
3917 fi
3918 fi
3919 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3920 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3921
3922 # Check whether --with-gtkprint was given.
3923 if test "${with_gtkprint+set}" = set; then
3924 withval=$with_gtkprint;
3925 if test "$withval" = yes; then
3926 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3927 else
3928 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3929 fi
3930
3931 else
3932
3933 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3934
3935 fi
3936
3937
3938 eval "$wx_cv_use_gtkprint"
3939
3940 if test x"$withstring" = xwithout; then
3941 if test $wxUSE_GTKPRINT = yes; then
3942 result=no
3943 else
3944 result=yes
3945 fi
3946 else
3947 result=$wxUSE_GTKPRINT
3948 fi
3949
3950 { echo "$as_me:$LINENO: result: $result" >&5
3951 echo "${ECHO_T}$result" >&6; }
3952
3953
3954 withstring=without
3955 defaultval=$wxUSE_ALL_FEATURES
3956 if test -z "$defaultval"; then
3957 if test x"$withstring" = xwithout; then
3958 defaultval=yes
3959 else
3960 defaultval=no
3961 fi
3962 fi
3963 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3964 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3965
3966 # Check whether --with-gnomeprint was given.
3967 if test "${with_gnomeprint+set}" = set; then
3968 withval=$with_gnomeprint;
3969 if test "$withval" = yes; then
3970 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3971 else
3972 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3973 fi
3974
3975 else
3976
3977 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3978
3979 fi
3980
3981
3982 eval "$wx_cv_use_gnomeprint"
3983
3984 if test x"$withstring" = xwithout; then
3985 if test $wxUSE_LIBGNOMEPRINT = yes; then
3986 result=no
3987 else
3988 result=yes
3989 fi
3990 else
3991 result=$wxUSE_LIBGNOMEPRINT
3992 fi
3993
3994 { echo "$as_me:$LINENO: result: $result" >&5
3995 echo "${ECHO_T}$result" >&6; }
3996
3997
3998 withstring=
3999 defaultval=$wxUSE_ALL_FEATURES
4000 if test -z "$defaultval"; then
4001 if test x"$withstring" = xwithout; then
4002 defaultval=yes
4003 else
4004 defaultval=no
4005 fi
4006 fi
4007 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4008 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4009
4010 # Check whether --with-gnomevfs was given.
4011 if test "${with_gnomevfs+set}" = set; then
4012 withval=$with_gnomevfs;
4013 if test "$withval" = yes; then
4014 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4015 else
4016 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4017 fi
4018
4019 else
4020
4021 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4022
4023 fi
4024
4025
4026 eval "$wx_cv_use_gnomevfs"
4027
4028 if test x"$withstring" = xwithout; then
4029 if test $wxUSE_LIBGNOMEVFS = yes; then
4030 result=no
4031 else
4032 result=yes
4033 fi
4034 else
4035 result=$wxUSE_LIBGNOMEVFS
4036 fi
4037
4038 { echo "$as_me:$LINENO: result: $result" >&5
4039 echo "${ECHO_T}$result" >&6; }
4040
4041
4042 withstring=
4043 defaultval=$wxUSE_ALL_FEATURES
4044 if test -z "$defaultval"; then
4045 if test x"$withstring" = xwithout; then
4046 defaultval=yes
4047 else
4048 defaultval=no
4049 fi
4050 fi
4051 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4052 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4053
4054 # Check whether --with-hildon was given.
4055 if test "${with_hildon+set}" = set; then
4056 withval=$with_hildon;
4057 if test "$withval" = yes; then
4058 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4059 else
4060 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4061 fi
4062
4063 else
4064
4065 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4066
4067 fi
4068
4069
4070 eval "$wx_cv_use_hildon"
4071
4072 if test x"$withstring" = xwithout; then
4073 if test $wxUSE_LIBHILDON = yes; then
4074 result=no
4075 else
4076 result=yes
4077 fi
4078 else
4079 result=$wxUSE_LIBHILDON
4080 fi
4081
4082 { echo "$as_me:$LINENO: result: $result" >&5
4083 echo "${ECHO_T}$result" >&6; }
4084
4085
4086 withstring=
4087 defaultval=$wxUSE_ALL_FEATURES
4088 if test -z "$defaultval"; then
4089 if test x"$withstring" = xwithout; then
4090 defaultval=yes
4091 else
4092 defaultval=no
4093 fi
4094 fi
4095 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4096 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4097
4098 # Check whether --with-opengl was given.
4099 if test "${with_opengl+set}" = set; then
4100 withval=$with_opengl;
4101 if test "$withval" = yes; then
4102 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4103 else
4104 wx_cv_use_opengl='wxUSE_OPENGL=no'
4105 fi
4106
4107 else
4108
4109 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4110
4111 fi
4112
4113
4114 eval "$wx_cv_use_opengl"
4115
4116 if test x"$withstring" = xwithout; then
4117 if test $wxUSE_OPENGL = yes; then
4118 result=no
4119 else
4120 result=yes
4121 fi
4122 else
4123 result=$wxUSE_OPENGL
4124 fi
4125
4126 { echo "$as_me:$LINENO: result: $result" >&5
4127 echo "${ECHO_T}$result" >&6; }
4128
4129
4130 fi
4131
4132
4133 withstring=
4134 defaultval=$wxUSE_ALL_FEATURES
4135 if test -z "$defaultval"; then
4136 if test x"$withstring" = xwithout; then
4137 defaultval=yes
4138 else
4139 defaultval=no
4140 fi
4141 fi
4142 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4143 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4144
4145 # Check whether --with-dmalloc was given.
4146 if test "${with_dmalloc+set}" = set; then
4147 withval=$with_dmalloc;
4148 if test "$withval" = yes; then
4149 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4150 else
4151 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4152 fi
4153
4154 else
4155
4156 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4157
4158 fi
4159
4160
4161 eval "$wx_cv_use_dmalloc"
4162
4163 if test x"$withstring" = xwithout; then
4164 if test $wxUSE_DMALLOC = yes; then
4165 result=no
4166 else
4167 result=yes
4168 fi
4169 else
4170 result=$wxUSE_DMALLOC
4171 fi
4172
4173 { echo "$as_me:$LINENO: result: $result" >&5
4174 echo "${ECHO_T}$result" >&6; }
4175
4176
4177 withstring=
4178 defaultval=$wxUSE_ALL_FEATURES
4179 if test -z "$defaultval"; then
4180 if test x"$withstring" = xwithout; then
4181 defaultval=yes
4182 else
4183 defaultval=no
4184 fi
4185 fi
4186 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4187 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4188
4189 # Check whether --with-sdl was given.
4190 if test "${with_sdl+set}" = set; then
4191 withval=$with_sdl;
4192 if test "$withval" = yes; then
4193 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4194 else
4195 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4196 fi
4197
4198 else
4199
4200 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4201
4202 fi
4203
4204
4205 eval "$wx_cv_use_sdl"
4206
4207 if test x"$withstring" = xwithout; then
4208 if test $wxUSE_LIBSDL = yes; then
4209 result=no
4210 else
4211 result=yes
4212 fi
4213 else
4214 result=$wxUSE_LIBSDL
4215 fi
4216
4217 { echo "$as_me:$LINENO: result: $result" >&5
4218 echo "${ECHO_T}$result" >&6; }
4219
4220
4221 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4222 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4223
4224 # Check whether --with-regex was given.
4225 if test "${with_regex+set}" = set; then
4226 withval=$with_regex;
4227 if test "$withval" = yes; then
4228 wx_cv_use_regex='wxUSE_REGEX=yes'
4229 elif test "$withval" = no; then
4230 wx_cv_use_regex='wxUSE_REGEX=no'
4231 elif test "$withval" = sys; then
4232 wx_cv_use_regex='wxUSE_REGEX=sys'
4233 elif test "$withval" = builtin; then
4234 wx_cv_use_regex='wxUSE_REGEX=builtin'
4235 else
4236 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4237 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4238 { (exit 1); exit 1; }; }
4239 fi
4240
4241 else
4242
4243 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4244
4245 fi
4246
4247
4248 eval "$wx_cv_use_regex"
4249
4250 if test "$wxUSE_REGEX" = yes; then
4251 { echo "$as_me:$LINENO: result: yes" >&5
4252 echo "${ECHO_T}yes" >&6; }
4253 elif test "$wxUSE_REGEX" = no; then
4254 { echo "$as_me:$LINENO: result: no" >&5
4255 echo "${ECHO_T}no" >&6; }
4256 elif test "$wxUSE_REGEX" = sys; then
4257 { echo "$as_me:$LINENO: result: system version" >&5
4258 echo "${ECHO_T}system version" >&6; }
4259 elif test "$wxUSE_REGEX" = builtin; then
4260 { echo "$as_me:$LINENO: result: builtin version" >&5
4261 echo "${ECHO_T}builtin version" >&6; }
4262 else
4263 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4264 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4265 { (exit 1); exit 1; }; }
4266 fi
4267
4268
4269 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4270 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4271
4272 # Check whether --with-zlib was given.
4273 if test "${with_zlib+set}" = set; then
4274 withval=$with_zlib;
4275 if test "$withval" = yes; then
4276 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4277 elif test "$withval" = no; then
4278 wx_cv_use_zlib='wxUSE_ZLIB=no'
4279 elif test "$withval" = sys; then
4280 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4281 elif test "$withval" = builtin; then
4282 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4283 else
4284 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4285 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4286 { (exit 1); exit 1; }; }
4287 fi
4288
4289 else
4290
4291 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4292
4293 fi
4294
4295
4296 eval "$wx_cv_use_zlib"
4297
4298 if test "$wxUSE_ZLIB" = yes; then
4299 { echo "$as_me:$LINENO: result: yes" >&5
4300 echo "${ECHO_T}yes" >&6; }
4301 elif test "$wxUSE_ZLIB" = no; then
4302 { echo "$as_me:$LINENO: result: no" >&5
4303 echo "${ECHO_T}no" >&6; }
4304 elif test "$wxUSE_ZLIB" = sys; then
4305 { echo "$as_me:$LINENO: result: system version" >&5
4306 echo "${ECHO_T}system version" >&6; }
4307 elif test "$wxUSE_ZLIB" = builtin; then
4308 { echo "$as_me:$LINENO: result: builtin version" >&5
4309 echo "${ECHO_T}builtin version" >&6; }
4310 else
4311 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4312 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4313 { (exit 1); exit 1; }; }
4314 fi
4315
4316
4317 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4318 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4319
4320 # Check whether --with-expat was given.
4321 if test "${with_expat+set}" = set; then
4322 withval=$with_expat;
4323 if test "$withval" = yes; then
4324 wx_cv_use_expat='wxUSE_EXPAT=yes'
4325 elif test "$withval" = no; then
4326 wx_cv_use_expat='wxUSE_EXPAT=no'
4327 elif test "$withval" = sys; then
4328 wx_cv_use_expat='wxUSE_EXPAT=sys'
4329 elif test "$withval" = builtin; then
4330 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4331 else
4332 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4333 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4334 { (exit 1); exit 1; }; }
4335 fi
4336
4337 else
4338
4339 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4340
4341 fi
4342
4343
4344 eval "$wx_cv_use_expat"
4345
4346 if test "$wxUSE_EXPAT" = yes; then
4347 { echo "$as_me:$LINENO: result: yes" >&5
4348 echo "${ECHO_T}yes" >&6; }
4349 elif test "$wxUSE_EXPAT" = no; then
4350 { echo "$as_me:$LINENO: result: no" >&5
4351 echo "${ECHO_T}no" >&6; }
4352 elif test "$wxUSE_EXPAT" = sys; then
4353 { echo "$as_me:$LINENO: result: system version" >&5
4354 echo "${ECHO_T}system version" >&6; }
4355 elif test "$wxUSE_EXPAT" = builtin; then
4356 { echo "$as_me:$LINENO: result: builtin version" >&5
4357 echo "${ECHO_T}builtin version" >&6; }
4358 else
4359 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4360 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4361 { (exit 1); exit 1; }; }
4362 fi
4363
4364
4365 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4366 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4367
4368 # Check whether --with-macosx-sdk was given.
4369 if test "${with_macosx_sdk+set}" = set; then
4370 withval=$with_macosx_sdk;
4371 wxUSE_MACOSX_SDK=$withval
4372 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4373
4374 fi
4375
4376 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4377 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4378
4379 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4380 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4381
4382 # Check whether --with-macosx-version-min was given.
4383 if test "${with_macosx_version_min+set}" = set; then
4384 withval=$with_macosx_version_min;
4385 wxUSE_MACOSX_VERSION_MIN=$withval
4386 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4387
4388 fi
4389
4390 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4391 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4392
4393
4394 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4395 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4396 # Check whether --enable-debug was given.
4397 if test "${enable_debug+set}" = set; then
4398 enableval=$enable_debug;
4399 if test "$enableval" = yes; then
4400 wxUSE_DEBUG=yes
4401 elif test "$enableval" = no; then
4402 wxUSE_DEBUG=no
4403 elif test "$enableval" = max; then
4404 wxUSE_DEBUG=yes
4405 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4406 else
4407 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4408 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4409 { (exit 1); exit 1; }; }
4410 fi
4411
4412 else
4413 wxUSE_DEBUG=default
4414
4415 fi
4416
4417
4418 case "$wxUSE_DEBUG" in
4419 yes)
4420 DEFAULT_wxUSE_DEBUG_FLAG=yes
4421 DEFAULT_wxUSE_DEBUG_INFO=yes
4422
4423 DEFAULT_wxUSE_OPTIMISE=no
4424 ;;
4425
4426 no)
4427 DEFAULT_wxUSE_DEBUG_FLAG=no
4428 DEFAULT_wxUSE_DEBUG_INFO=no
4429 ;;
4430
4431 default)
4432 DEFAULT_wxUSE_DEBUG_FLAG=yes
4433 DEFAULT_wxUSE_DEBUG_INFO=no
4434 ;;
4435 esac
4436
4437
4438 enablestring=disable
4439 defaultval=
4440 if test -z "$defaultval"; then
4441 if test x"$enablestring" = xdisable; then
4442 defaultval=yes
4443 else
4444 defaultval=no
4445 fi
4446 fi
4447
4448 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4449 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4450 # Check whether --enable-debug_flag was given.
4451 if test "${enable_debug_flag+set}" = set; then
4452 enableval=$enable_debug_flag;
4453 if test "$enableval" = yes; then
4454 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4455 else
4456 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4457 fi
4458
4459 else
4460
4461 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4462
4463 fi
4464
4465
4466 eval "$wx_cv_use_debug_flag"
4467
4468 if test x"$enablestring" = xdisable; then
4469 if test $wxUSE_DEBUG_FLAG = no; then
4470 result=yes
4471 else
4472 result=no
4473 fi
4474 else
4475 result=$wxUSE_DEBUG_FLAG
4476 fi
4477
4478 { echo "$as_me:$LINENO: result: $result" >&5
4479 echo "${ECHO_T}$result" >&6; }
4480
4481
4482 enablestring=
4483 defaultval=
4484 if test -z "$defaultval"; then
4485 if test x"$enablestring" = xdisable; then
4486 defaultval=yes
4487 else
4488 defaultval=no
4489 fi
4490 fi
4491
4492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4493 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4494 # Check whether --enable-debug_info was given.
4495 if test "${enable_debug_info+set}" = set; then
4496 enableval=$enable_debug_info;
4497 if test "$enableval" = yes; then
4498 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4499 else
4500 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4501 fi
4502
4503 else
4504
4505 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4506
4507 fi
4508
4509
4510 eval "$wx_cv_use_debug_info"
4511
4512 if test x"$enablestring" = xdisable; then
4513 if test $wxUSE_DEBUG_INFO = no; then
4514 result=yes
4515 else
4516 result=no
4517 fi
4518 else
4519 result=$wxUSE_DEBUG_INFO
4520 fi
4521
4522 { echo "$as_me:$LINENO: result: $result" >&5
4523 echo "${ECHO_T}$result" >&6; }
4524
4525
4526
4527
4528 enablestring=
4529 defaultval=
4530 if test -z "$defaultval"; then
4531 if test x"$enablestring" = xdisable; then
4532 defaultval=yes
4533 else
4534 defaultval=no
4535 fi
4536 fi
4537
4538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4539 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4540 # Check whether --enable-debug_gdb was given.
4541 if test "${enable_debug_gdb+set}" = set; then
4542 enableval=$enable_debug_gdb;
4543 if test "$enableval" = yes; then
4544 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4545 else
4546 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4547 fi
4548
4549 else
4550
4551 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4552
4553 fi
4554
4555
4556 eval "$wx_cv_use_debug_gdb"
4557
4558 if test x"$enablestring" = xdisable; then
4559 if test $wxUSE_DEBUG_GDB = no; then
4560 result=yes
4561 else
4562 result=no
4563 fi
4564 else
4565 result=$wxUSE_DEBUG_GDB
4566 fi
4567
4568 { echo "$as_me:$LINENO: result: $result" >&5
4569 echo "${ECHO_T}$result" >&6; }
4570
4571
4572 enablestring=
4573 defaultval=
4574 if test -z "$defaultval"; then
4575 if test x"$enablestring" = xdisable; then
4576 defaultval=yes
4577 else
4578 defaultval=no
4579 fi
4580 fi
4581
4582 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4583 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4584 # Check whether --enable-debug_cntxt was given.
4585 if test "${enable_debug_cntxt+set}" = set; then
4586 enableval=$enable_debug_cntxt;
4587 if test "$enableval" = yes; then
4588 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4589 else
4590 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4591 fi
4592
4593 else
4594
4595 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4596
4597 fi
4598
4599
4600 eval "$wx_cv_use_debug_cntxt"
4601
4602 if test x"$enablestring" = xdisable; then
4603 if test $wxUSE_DEBUG_CONTEXT = no; then
4604 result=yes
4605 else
4606 result=no
4607 fi
4608 else
4609 result=$wxUSE_DEBUG_CONTEXT
4610 fi
4611
4612 { echo "$as_me:$LINENO: result: $result" >&5
4613 echo "${ECHO_T}$result" >&6; }
4614
4615
4616 enablestring=
4617 defaultval=
4618 if test -z "$defaultval"; then
4619 if test x"$enablestring" = xdisable; then
4620 defaultval=yes
4621 else
4622 defaultval=no
4623 fi
4624 fi
4625
4626 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4627 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4628 # Check whether --enable-mem_tracing was given.
4629 if test "${enable_mem_tracing+set}" = set; then
4630 enableval=$enable_mem_tracing;
4631 if test "$enableval" = yes; then
4632 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4633 else
4634 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4635 fi
4636
4637 else
4638
4639 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4640
4641 fi
4642
4643
4644 eval "$wx_cv_use_mem_tracing"
4645
4646 if test x"$enablestring" = xdisable; then
4647 if test $wxUSE_MEM_TRACING = no; then
4648 result=yes
4649 else
4650 result=no
4651 fi
4652 else
4653 result=$wxUSE_MEM_TRACING
4654 fi
4655
4656 { echo "$as_me:$LINENO: result: $result" >&5
4657 echo "${ECHO_T}$result" >&6; }
4658
4659
4660
4661
4662 enablestring=disable
4663 defaultval=
4664 if test -z "$defaultval"; then
4665 if test x"$enablestring" = xdisable; then
4666 defaultval=yes
4667 else
4668 defaultval=no
4669 fi
4670 fi
4671
4672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4673 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4674 # Check whether --enable-shared was given.
4675 if test "${enable_shared+set}" = set; then
4676 enableval=$enable_shared;
4677 if test "$enableval" = yes; then
4678 wx_cv_use_shared='wxUSE_SHARED=yes'
4679 else
4680 wx_cv_use_shared='wxUSE_SHARED=no'
4681 fi
4682
4683 else
4684
4685 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4686
4687 fi
4688
4689
4690 eval "$wx_cv_use_shared"
4691
4692 if test x"$enablestring" = xdisable; then
4693 if test $wxUSE_SHARED = no; then
4694 result=yes
4695 else
4696 result=no
4697 fi
4698 else
4699 result=$wxUSE_SHARED
4700 fi
4701
4702 { echo "$as_me:$LINENO: result: $result" >&5
4703 echo "${ECHO_T}$result" >&6; }
4704
4705
4706 enablestring=
4707 defaultval=
4708 if test -z "$defaultval"; then
4709 if test x"$enablestring" = xdisable; then
4710 defaultval=yes
4711 else
4712 defaultval=no
4713 fi
4714 fi
4715
4716 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4717 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4718 # Check whether --enable-stl was given.
4719 if test "${enable_stl+set}" = set; then
4720 enableval=$enable_stl;
4721 if test "$enableval" = yes; then
4722 wx_cv_use_stl='wxUSE_STL=yes'
4723 else
4724 wx_cv_use_stl='wxUSE_STL=no'
4725 fi
4726
4727 else
4728
4729 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4730
4731 fi
4732
4733
4734 eval "$wx_cv_use_stl"
4735
4736 if test x"$enablestring" = xdisable; then
4737 if test $wxUSE_STL = no; then
4738 result=yes
4739 else
4740 result=no
4741 fi
4742 else
4743 result=$wxUSE_STL
4744 fi
4745
4746 { echo "$as_me:$LINENO: result: $result" >&5
4747 echo "${ECHO_T}$result" >&6; }
4748
4749
4750 enablestring=
4751 defaultval=
4752 if test -z "$defaultval"; then
4753 if test x"$enablestring" = xdisable; then
4754 defaultval=yes
4755 else
4756 defaultval=no
4757 fi
4758 fi
4759
4760 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4761 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4762 # Check whether --enable-std_iostreams was given.
4763 if test "${enable_std_iostreams+set}" = set; then
4764 enableval=$enable_std_iostreams;
4765 if test "$enableval" = yes; then
4766 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4767 else
4768 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4769 fi
4770
4771 else
4772
4773 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4774
4775 fi
4776
4777
4778 eval "$wx_cv_use_std_iostreams"
4779
4780 if test x"$enablestring" = xdisable; then
4781 if test $wxUSE_STD_IOSTREAM = no; then
4782 result=yes
4783 else
4784 result=no
4785 fi
4786 else
4787 result=$wxUSE_STD_IOSTREAM
4788 fi
4789
4790 { echo "$as_me:$LINENO: result: $result" >&5
4791 echo "${ECHO_T}$result" >&6; }
4792
4793
4794 enablestring=
4795 defaultval=
4796 if test -z "$defaultval"; then
4797 if test x"$enablestring" = xdisable; then
4798 defaultval=yes
4799 else
4800 defaultval=no
4801 fi
4802 fi
4803
4804 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4805 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4806 # Check whether --enable-std_string was given.
4807 if test "${enable_std_string+set}" = set; then
4808 enableval=$enable_std_string;
4809 if test "$enableval" = yes; then
4810 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4811 else
4812 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4813 fi
4814
4815 else
4816
4817 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4818
4819 fi
4820
4821
4822 eval "$wx_cv_use_std_string"
4823
4824 if test x"$enablestring" = xdisable; then
4825 if test $wxUSE_STD_STRING = no; then
4826 result=yes
4827 else
4828 result=no
4829 fi
4830 else
4831 result=$wxUSE_STD_STRING
4832 fi
4833
4834 { echo "$as_me:$LINENO: result: $result" >&5
4835 echo "${ECHO_T}$result" >&6; }
4836
4837
4838 enablestring=disable
4839 defaultval=
4840 if test -z "$defaultval"; then
4841 if test x"$enablestring" = xdisable; then
4842 defaultval=yes
4843 else
4844 defaultval=no
4845 fi
4846 fi
4847
4848 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4849 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4850 # Check whether --enable-unicode was given.
4851 if test "${enable_unicode+set}" = set; then
4852 enableval=$enable_unicode;
4853 if test "$enableval" = yes; then
4854 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4855 else
4856 wx_cv_use_unicode='wxUSE_UNICODE=no'
4857 fi
4858
4859 else
4860
4861 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4862
4863 fi
4864
4865
4866 eval "$wx_cv_use_unicode"
4867
4868 if test x"$enablestring" = xdisable; then
4869 if test $wxUSE_UNICODE = no; then
4870 result=yes
4871 else
4872 result=no
4873 fi
4874 else
4875 result=$wxUSE_UNICODE
4876 fi
4877
4878 { echo "$as_me:$LINENO: result: $result" >&5
4879 echo "${ECHO_T}$result" >&6; }
4880
4881
4882 enablestring=
4883 defaultval=
4884 if test -z "$defaultval"; then
4885 if test x"$enablestring" = xdisable; then
4886 defaultval=yes
4887 else
4888 defaultval=no
4889 fi
4890 fi
4891
4892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4893 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4894 # Check whether --enable-mslu was given.
4895 if test "${enable_mslu+set}" = set; then
4896 enableval=$enable_mslu;
4897 if test "$enableval" = yes; then
4898 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4899 else
4900 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4901 fi
4902
4903 else
4904
4905 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4906
4907 fi
4908
4909
4910 eval "$wx_cv_use_mslu"
4911
4912 if test x"$enablestring" = xdisable; then
4913 if test $wxUSE_UNICODE_MSLU = no; then
4914 result=yes
4915 else
4916 result=no
4917 fi
4918 else
4919 result=$wxUSE_UNICODE_MSLU
4920 fi
4921
4922 { echo "$as_me:$LINENO: result: $result" >&5
4923 echo "${ECHO_T}$result" >&6; }
4924
4925
4926 enablestring=
4927 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4928 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4929 # Check whether --enable-utf8 was given.
4930 if test "${enable_utf8+set}" = set; then
4931 enableval=$enable_utf8;
4932 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4933
4934 else
4935
4936 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4937
4938 fi
4939
4940
4941 eval "$wx_cv_use_utf8"
4942
4943 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4944 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4945
4946
4947 enablestring=
4948 defaultval=
4949 if test -z "$defaultval"; then
4950 if test x"$enablestring" = xdisable; then
4951 defaultval=yes
4952 else
4953 defaultval=no
4954 fi
4955 fi
4956
4957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4958 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4959 # Check whether --enable-utf8only was given.
4960 if test "${enable_utf8only+set}" = set; then
4961 enableval=$enable_utf8only;
4962 if test "$enableval" = yes; then
4963 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4964 else
4965 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4966 fi
4967
4968 else
4969
4970 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4971
4972 fi
4973
4974
4975 eval "$wx_cv_use_utf8only"
4976
4977 if test x"$enablestring" = xdisable; then
4978 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
4979 result=yes
4980 else
4981 result=no
4982 fi
4983 else
4984 result=$wxUSE_UNICODE_UTF8_LOCALE
4985 fi
4986
4987 { echo "$as_me:$LINENO: result: $result" >&5
4988 echo "${ECHO_T}$result" >&6; }
4989
4990
4991 enablestring=
4992 defaultval=
4993 if test -z "$defaultval"; then
4994 if test x"$enablestring" = xdisable; then
4995 defaultval=yes
4996 else
4997 defaultval=no
4998 fi
4999 fi
5000
5001 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5002 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5003 # Check whether --enable-extended_rtti was given.
5004 if test "${enable_extended_rtti+set}" = set; then
5005 enableval=$enable_extended_rtti;
5006 if test "$enableval" = yes; then
5007 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5008 else
5009 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5010 fi
5011
5012 else
5013
5014 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5015
5016 fi
5017
5018
5019 eval "$wx_cv_use_extended_rtti"
5020
5021 if test x"$enablestring" = xdisable; then
5022 if test $wxUSE_EXTENDED_RTTI = no; then
5023 result=yes
5024 else
5025 result=no
5026 fi
5027 else
5028 result=$wxUSE_EXTENDED_RTTI
5029 fi
5030
5031 { echo "$as_me:$LINENO: result: $result" >&5
5032 echo "${ECHO_T}$result" >&6; }
5033
5034 if test "$USE_OS2" = 1; then
5035 DEFAULT_wxUSE_OMF=no
5036
5037 enablestring=
5038 defaultval=
5039 if test -z "$defaultval"; then
5040 if test x"$enablestring" = xdisable; then
5041 defaultval=yes
5042 else
5043 defaultval=no
5044 fi
5045 fi
5046
5047 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5048 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5049 # Check whether --enable-omf was given.
5050 if test "${enable_omf+set}" = set; then
5051 enableval=$enable_omf;
5052 if test "$enableval" = yes; then
5053 wx_cv_use_omf='wxUSE_OMF=yes'
5054 else
5055 wx_cv_use_omf='wxUSE_OMF=no'
5056 fi
5057
5058 else
5059
5060 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5061
5062 fi
5063
5064
5065 eval "$wx_cv_use_omf"
5066
5067 if test x"$enablestring" = xdisable; then
5068 if test $wxUSE_OMF = no; then
5069 result=yes
5070 else
5071 result=no
5072 fi
5073 else
5074 result=$wxUSE_OMF
5075 fi
5076
5077 { echo "$as_me:$LINENO: result: $result" >&5
5078 echo "${ECHO_T}$result" >&6; }
5079
5080 fi
5081
5082
5083 enablestring=disable
5084 defaultval=
5085 if test -z "$defaultval"; then
5086 if test x"$enablestring" = xdisable; then
5087 defaultval=yes
5088 else
5089 defaultval=no
5090 fi
5091 fi
5092
5093 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5094 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5095 # Check whether --enable-optimise was given.
5096 if test "${enable_optimise+set}" = set; then
5097 enableval=$enable_optimise;
5098 if test "$enableval" = yes; then
5099 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5100 else
5101 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5102 fi
5103
5104 else
5105
5106 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5107
5108 fi
5109
5110
5111 eval "$wx_cv_use_optimise"
5112
5113 if test x"$enablestring" = xdisable; then
5114 if test $wxUSE_OPTIMISE = no; then
5115 result=yes
5116 else
5117 result=no
5118 fi
5119 else
5120 result=$wxUSE_OPTIMISE
5121 fi
5122
5123 { echo "$as_me:$LINENO: result: $result" >&5
5124 echo "${ECHO_T}$result" >&6; }
5125
5126
5127
5128 enablestring=
5129 defaultval=
5130 if test -z "$defaultval"; then
5131 if test x"$enablestring" = xdisable; then
5132 defaultval=yes
5133 else
5134 defaultval=no
5135 fi
5136 fi
5137
5138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5139 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5140 # Check whether --enable-profile was given.
5141 if test "${enable_profile+set}" = set; then
5142 enableval=$enable_profile;
5143 if test "$enableval" = yes; then
5144 wx_cv_use_profile='wxUSE_PROFILE=yes'
5145 else
5146 wx_cv_use_profile='wxUSE_PROFILE=no'
5147 fi
5148
5149 else
5150
5151 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5152
5153 fi
5154
5155
5156 eval "$wx_cv_use_profile"
5157
5158 if test x"$enablestring" = xdisable; then
5159 if test $wxUSE_PROFILE = no; then
5160 result=yes
5161 else
5162 result=no
5163 fi
5164 else
5165 result=$wxUSE_PROFILE
5166 fi
5167
5168 { echo "$as_me:$LINENO: result: $result" >&5
5169 echo "${ECHO_T}$result" >&6; }
5170
5171
5172 enablestring=
5173 defaultval=
5174 if test -z "$defaultval"; then
5175 if test x"$enablestring" = xdisable; then
5176 defaultval=yes
5177 else
5178 defaultval=no
5179 fi
5180 fi
5181
5182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5183 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5184 # Check whether --enable-no_rtti was given.
5185 if test "${enable_no_rtti+set}" = set; then
5186 enableval=$enable_no_rtti;
5187 if test "$enableval" = yes; then
5188 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5189 else
5190 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5191 fi
5192
5193 else
5194
5195 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5196
5197 fi
5198
5199
5200 eval "$wx_cv_use_no_rtti"
5201
5202 if test x"$enablestring" = xdisable; then
5203 if test $wxUSE_NO_RTTI = no; then
5204 result=yes
5205 else
5206 result=no
5207 fi
5208 else
5209 result=$wxUSE_NO_RTTI
5210 fi
5211
5212 { echo "$as_me:$LINENO: result: $result" >&5
5213 echo "${ECHO_T}$result" >&6; }
5214
5215
5216 enablestring=
5217 defaultval=
5218 if test -z "$defaultval"; then
5219 if test x"$enablestring" = xdisable; then
5220 defaultval=yes
5221 else
5222 defaultval=no
5223 fi
5224 fi
5225
5226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5227 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5228 # Check whether --enable-no_exceptions was given.
5229 if test "${enable_no_exceptions+set}" = set; then
5230 enableval=$enable_no_exceptions;
5231 if test "$enableval" = yes; then
5232 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5233 else
5234 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5235 fi
5236
5237 else
5238
5239 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5240
5241 fi
5242
5243
5244 eval "$wx_cv_use_no_exceptions"
5245
5246 if test x"$enablestring" = xdisable; then
5247 if test $wxUSE_NO_EXCEPTIONS = no; then
5248 result=yes
5249 else
5250 result=no
5251 fi
5252 else
5253 result=$wxUSE_NO_EXCEPTIONS
5254 fi
5255
5256 { echo "$as_me:$LINENO: result: $result" >&5
5257 echo "${ECHO_T}$result" >&6; }
5258
5259
5260 enablestring=
5261 defaultval=
5262 if test -z "$defaultval"; then
5263 if test x"$enablestring" = xdisable; then
5264 defaultval=yes
5265 else
5266 defaultval=no
5267 fi
5268 fi
5269
5270 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5271 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5272 # Check whether --enable-permissive was given.
5273 if test "${enable_permissive+set}" = set; then
5274 enableval=$enable_permissive;
5275 if test "$enableval" = yes; then
5276 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5277 else
5278 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5279 fi
5280
5281 else
5282
5283 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5284
5285 fi
5286
5287
5288 eval "$wx_cv_use_permissive"
5289
5290 if test x"$enablestring" = xdisable; then
5291 if test $wxUSE_PERMISSIVE = no; then
5292 result=yes
5293 else
5294 result=no
5295 fi
5296 else
5297 result=$wxUSE_PERMISSIVE
5298 fi
5299
5300 { echo "$as_me:$LINENO: result: $result" >&5
5301 echo "${ECHO_T}$result" >&6; }
5302
5303
5304 enablestring=
5305 defaultval=
5306 if test -z "$defaultval"; then
5307 if test x"$enablestring" = xdisable; then
5308 defaultval=yes
5309 else
5310 defaultval=no
5311 fi
5312 fi
5313
5314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5315 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5316 # Check whether --enable-no_deps was given.
5317 if test "${enable_no_deps+set}" = set; then
5318 enableval=$enable_no_deps;
5319 if test "$enableval" = yes; then
5320 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5321 else
5322 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5323 fi
5324
5325 else
5326
5327 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5328
5329 fi
5330
5331
5332 eval "$wx_cv_use_no_deps"
5333
5334 if test x"$enablestring" = xdisable; then
5335 if test $wxUSE_NO_DEPS = no; then
5336 result=yes
5337 else
5338 result=no
5339 fi
5340 else
5341 result=$wxUSE_NO_DEPS
5342 fi
5343
5344 { echo "$as_me:$LINENO: result: $result" >&5
5345 echo "${ECHO_T}$result" >&6; }
5346
5347
5348 enablestring=disable
5349 defaultval=
5350 if test -z "$defaultval"; then
5351 if test x"$enablestring" = xdisable; then
5352 defaultval=yes
5353 else
5354 defaultval=no
5355 fi
5356 fi
5357
5358 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5359 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5360 # Check whether --enable-vararg_macros was given.
5361 if test "${enable_vararg_macros+set}" = set; then
5362 enableval=$enable_vararg_macros;
5363 if test "$enableval" = yes; then
5364 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5365 else
5366 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5367 fi
5368
5369 else
5370
5371 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5372
5373 fi
5374
5375
5376 eval "$wx_cv_use_vararg_macros"
5377
5378 if test x"$enablestring" = xdisable; then
5379 if test $wxUSE_VARARG_MACROS = no; then
5380 result=yes
5381 else
5382 result=no
5383 fi
5384 else
5385 result=$wxUSE_VARARG_MACROS
5386 fi
5387
5388 { echo "$as_me:$LINENO: result: $result" >&5
5389 echo "${ECHO_T}$result" >&6; }
5390
5391
5392 enablestring=
5393 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5394 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5395 # Check whether --enable-universal_binary was given.
5396 if test "${enable_universal_binary+set}" = set; then
5397 enableval=$enable_universal_binary;
5398 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5399
5400 else
5401
5402 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5403
5404 fi
5405
5406
5407 eval "$wx_cv_use_universal_binary"
5408
5409 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5410 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5411
5412
5413
5414 enablestring=
5415 defaultval=
5416 if test -z "$defaultval"; then
5417 if test x"$enablestring" = xdisable; then
5418 defaultval=yes
5419 else
5420 defaultval=no
5421 fi
5422 fi
5423
5424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5425 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5426 # Check whether --enable-compat26 was given.
5427 if test "${enable_compat26+set}" = set; then
5428 enableval=$enable_compat26;
5429 if test "$enableval" = yes; then
5430 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5431 else
5432 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5433 fi
5434
5435 else
5436
5437 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5438
5439 fi
5440
5441
5442 eval "$wx_cv_use_compat26"
5443
5444 if test x"$enablestring" = xdisable; then
5445 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5446 result=yes
5447 else
5448 result=no
5449 fi
5450 else
5451 result=$WXWIN_COMPATIBILITY_2_6
5452 fi
5453
5454 { echo "$as_me:$LINENO: result: $result" >&5
5455 echo "${ECHO_T}$result" >&6; }
5456
5457
5458 enablestring=disable
5459 defaultval=
5460 if test -z "$defaultval"; then
5461 if test x"$enablestring" = xdisable; then
5462 defaultval=yes
5463 else
5464 defaultval=no
5465 fi
5466 fi
5467
5468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5469 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5470 # Check whether --enable-compat28 was given.
5471 if test "${enable_compat28+set}" = set; then
5472 enableval=$enable_compat28;
5473 if test "$enableval" = yes; then
5474 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5475 else
5476 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5477 fi
5478
5479 else
5480
5481 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5482
5483 fi
5484
5485
5486 eval "$wx_cv_use_compat28"
5487
5488 if test x"$enablestring" = xdisable; then
5489 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5490 result=yes
5491 else
5492 result=no
5493 fi
5494 else
5495 result=$WXWIN_COMPATIBILITY_2_8
5496 fi
5497
5498 { echo "$as_me:$LINENO: result: $result" >&5
5499 echo "${ECHO_T}$result" >&6; }
5500
5501
5502
5503 enablestring=disable
5504 defaultval=
5505 if test -z "$defaultval"; then
5506 if test x"$enablestring" = xdisable; then
5507 defaultval=yes
5508 else
5509 defaultval=no
5510 fi
5511 fi
5512
5513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5514 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5515 # Check whether --enable-rpath was given.
5516 if test "${enable_rpath+set}" = set; then
5517 enableval=$enable_rpath;
5518 if test "$enableval" = yes; then
5519 wx_cv_use_rpath='wxUSE_RPATH=yes'
5520 else
5521 wx_cv_use_rpath='wxUSE_RPATH=no'
5522 fi
5523
5524 else
5525
5526 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5527
5528 fi
5529
5530
5531 eval "$wx_cv_use_rpath"
5532
5533 if test x"$enablestring" = xdisable; then
5534 if test $wxUSE_RPATH = no; then
5535 result=yes
5536 else
5537 result=no
5538 fi
5539 else
5540 result=$wxUSE_RPATH
5541 fi
5542
5543 { echo "$as_me:$LINENO: result: $result" >&5
5544 echo "${ECHO_T}$result" >&6; }
5545
5546
5547
5548 enablestring=
5549 defaultval=
5550 if test -z "$defaultval"; then
5551 if test x"$enablestring" = xdisable; then
5552 defaultval=yes
5553 else
5554 defaultval=no
5555 fi
5556 fi
5557
5558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5559 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5560 # Check whether --enable-objc_uniquifying was given.
5561 if test "${enable_objc_uniquifying+set}" = set; then
5562 enableval=$enable_objc_uniquifying;
5563 if test "$enableval" = yes; then
5564 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5565 else
5566 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5567 fi
5568
5569 else
5570
5571 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5572
5573 fi
5574
5575
5576 eval "$wx_cv_use_objc_uniquifying"
5577
5578 if test x"$enablestring" = xdisable; then
5579 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5580 result=yes
5581 else
5582 result=no
5583 fi
5584 else
5585 result=$wxUSE_OBJC_UNIQUIFYING
5586 fi
5587
5588 { echo "$as_me:$LINENO: result: $result" >&5
5589 echo "${ECHO_T}$result" >&6; }
5590
5591
5592
5593 enablestring=disable
5594 defaultval=
5595 if test -z "$defaultval"; then
5596 if test x"$enablestring" = xdisable; then
5597 defaultval=yes
5598 else
5599 defaultval=no
5600 fi
5601 fi
5602
5603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5604 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5605 # Check whether --enable-visibility was given.
5606 if test "${enable_visibility+set}" = set; then
5607 enableval=$enable_visibility;
5608 if test "$enableval" = yes; then
5609 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5610 else
5611 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5612 fi
5613
5614 else
5615
5616 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5617
5618 fi
5619
5620
5621 eval "$wx_cv_use_visibility"
5622
5623 if test x"$enablestring" = xdisable; then
5624 if test $wxUSE_VISIBILITY = no; then
5625 result=yes
5626 else
5627 result=no
5628 fi
5629 else
5630 result=$wxUSE_VISIBILITY
5631 fi
5632
5633 { echo "$as_me:$LINENO: result: $result" >&5
5634 echo "${ECHO_T}$result" >&6; }
5635
5636
5637 enablestring=disable
5638 defaultval=
5639 if test -z "$defaultval"; then
5640 if test x"$enablestring" = xdisable; then
5641 defaultval=yes
5642 else
5643 defaultval=no
5644 fi
5645 fi
5646
5647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5648 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5649 # Check whether --enable-tls was given.
5650 if test "${enable_tls+set}" = set; then
5651 enableval=$enable_tls;
5652 if test "$enableval" = yes; then
5653 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5654 else
5655 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5656 fi
5657
5658 else
5659
5660 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5661
5662 fi
5663
5664
5665 eval "$wx_cv_use_tls"
5666
5667 if test x"$enablestring" = xdisable; then
5668 if test $wxUSE_COMPILER_TLS = no; then
5669 result=yes
5670 else
5671 result=no
5672 fi
5673 else
5674 result=$wxUSE_COMPILER_TLS
5675 fi
5676
5677 { echo "$as_me:$LINENO: result: $result" >&5
5678 echo "${ECHO_T}$result" >&6; }
5679
5680
5681
5682
5683 enablestring=
5684 defaultval=$wxUSE_ALL_FEATURES
5685 if test -z "$defaultval"; then
5686 if test x"$enablestring" = xdisable; then
5687 defaultval=yes
5688 else
5689 defaultval=no
5690 fi
5691 fi
5692
5693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5694 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5695 # Check whether --enable-intl was given.
5696 if test "${enable_intl+set}" = set; then
5697 enableval=$enable_intl;
5698 if test "$enableval" = yes; then
5699 wx_cv_use_intl='wxUSE_INTL=yes'
5700 else
5701 wx_cv_use_intl='wxUSE_INTL=no'
5702 fi
5703
5704 else
5705
5706 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5707
5708 fi
5709
5710
5711 eval "$wx_cv_use_intl"
5712
5713 if test x"$enablestring" = xdisable; then
5714 if test $wxUSE_INTL = no; then
5715 result=yes
5716 else
5717 result=no
5718 fi
5719 else
5720 result=$wxUSE_INTL
5721 fi
5722
5723 { echo "$as_me:$LINENO: result: $result" >&5
5724 echo "${ECHO_T}$result" >&6; }
5725
5726
5727 enablestring=
5728 defaultval=$wxUSE_ALL_FEATURES
5729 if test -z "$defaultval"; then
5730 if test x"$enablestring" = xdisable; then
5731 defaultval=yes
5732 else
5733 defaultval=no
5734 fi
5735 fi
5736
5737 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5738 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5739 # Check whether --enable-xlocale was given.
5740 if test "${enable_xlocale+set}" = set; then
5741 enableval=$enable_xlocale;
5742 if test "$enableval" = yes; then
5743 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5744 else
5745 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5746 fi
5747
5748 else
5749
5750 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5751
5752 fi
5753
5754
5755 eval "$wx_cv_use_xlocale"
5756
5757 if test x"$enablestring" = xdisable; then
5758 if test $wxUSE_XLOCALE = no; then
5759 result=yes
5760 else
5761 result=no
5762 fi
5763 else
5764 result=$wxUSE_XLOCALE
5765 fi
5766
5767 { echo "$as_me:$LINENO: result: $result" >&5
5768 echo "${ECHO_T}$result" >&6; }
5769
5770
5771 enablestring=
5772 defaultval=$wxUSE_ALL_FEATURES
5773 if test -z "$defaultval"; then
5774 if test x"$enablestring" = xdisable; then
5775 defaultval=yes
5776 else
5777 defaultval=no
5778 fi
5779 fi
5780
5781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5782 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5783 # Check whether --enable-config was given.
5784 if test "${enable_config+set}" = set; then
5785 enableval=$enable_config;
5786 if test "$enableval" = yes; then
5787 wx_cv_use_config='wxUSE_CONFIG=yes'
5788 else
5789 wx_cv_use_config='wxUSE_CONFIG=no'
5790 fi
5791
5792 else
5793
5794 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5795
5796 fi
5797
5798
5799 eval "$wx_cv_use_config"
5800
5801 if test x"$enablestring" = xdisable; then
5802 if test $wxUSE_CONFIG = no; then
5803 result=yes
5804 else
5805 result=no
5806 fi
5807 else
5808 result=$wxUSE_CONFIG
5809 fi
5810
5811 { echo "$as_me:$LINENO: result: $result" >&5
5812 echo "${ECHO_T}$result" >&6; }
5813
5814
5815
5816 enablestring=
5817 defaultval=$wxUSE_ALL_FEATURES
5818 if test -z "$defaultval"; then
5819 if test x"$enablestring" = xdisable; then
5820 defaultval=yes
5821 else
5822 defaultval=no
5823 fi
5824 fi
5825
5826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5827 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5828 # Check whether --enable-protocols was given.
5829 if test "${enable_protocols+set}" = set; then
5830 enableval=$enable_protocols;
5831 if test "$enableval" = yes; then
5832 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5833 else
5834 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5835 fi
5836
5837 else
5838
5839 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5840
5841 fi
5842
5843
5844 eval "$wx_cv_use_protocols"
5845
5846 if test x"$enablestring" = xdisable; then
5847 if test $wxUSE_PROTOCOL = no; then
5848 result=yes
5849 else
5850 result=no
5851 fi
5852 else
5853 result=$wxUSE_PROTOCOL
5854 fi
5855
5856 { echo "$as_me:$LINENO: result: $result" >&5
5857 echo "${ECHO_T}$result" >&6; }
5858
5859
5860 enablestring=
5861 defaultval=$wxUSE_ALL_FEATURES
5862 if test -z "$defaultval"; then
5863 if test x"$enablestring" = xdisable; then
5864 defaultval=yes
5865 else
5866 defaultval=no
5867 fi
5868 fi
5869
5870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5871 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5872 # Check whether --enable-ftp was given.
5873 if test "${enable_ftp+set}" = set; then
5874 enableval=$enable_ftp;
5875 if test "$enableval" = yes; then
5876 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5877 else
5878 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5879 fi
5880
5881 else
5882
5883 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5884
5885 fi
5886
5887
5888 eval "$wx_cv_use_ftp"
5889
5890 if test x"$enablestring" = xdisable; then
5891 if test $wxUSE_PROTOCOL_FTP = no; then
5892 result=yes
5893 else
5894 result=no
5895 fi
5896 else
5897 result=$wxUSE_PROTOCOL_FTP
5898 fi
5899
5900 { echo "$as_me:$LINENO: result: $result" >&5
5901 echo "${ECHO_T}$result" >&6; }
5902
5903
5904 enablestring=
5905 defaultval=$wxUSE_ALL_FEATURES
5906 if test -z "$defaultval"; then
5907 if test x"$enablestring" = xdisable; then
5908 defaultval=yes
5909 else
5910 defaultval=no
5911 fi
5912 fi
5913
5914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5915 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5916 # Check whether --enable-http was given.
5917 if test "${enable_http+set}" = set; then
5918 enableval=$enable_http;
5919 if test "$enableval" = yes; then
5920 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5921 else
5922 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5923 fi
5924
5925 else
5926
5927 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5928
5929 fi
5930
5931
5932 eval "$wx_cv_use_http"
5933
5934 if test x"$enablestring" = xdisable; then
5935 if test $wxUSE_PROTOCOL_HTTP = no; then
5936 result=yes
5937 else
5938 result=no
5939 fi
5940 else
5941 result=$wxUSE_PROTOCOL_HTTP
5942 fi
5943
5944 { echo "$as_me:$LINENO: result: $result" >&5
5945 echo "${ECHO_T}$result" >&6; }
5946
5947
5948 enablestring=
5949 defaultval=$wxUSE_ALL_FEATURES
5950 if test -z "$defaultval"; then
5951 if test x"$enablestring" = xdisable; then
5952 defaultval=yes
5953 else
5954 defaultval=no
5955 fi
5956 fi
5957
5958 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5959 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5960 # Check whether --enable-fileproto was given.
5961 if test "${enable_fileproto+set}" = set; then
5962 enableval=$enable_fileproto;
5963 if test "$enableval" = yes; then
5964 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5965 else
5966 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5967 fi
5968
5969 else
5970
5971 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5972
5973 fi
5974
5975
5976 eval "$wx_cv_use_fileproto"
5977
5978 if test x"$enablestring" = xdisable; then
5979 if test $wxUSE_PROTOCOL_FILE = no; then
5980 result=yes
5981 else
5982 result=no
5983 fi
5984 else
5985 result=$wxUSE_PROTOCOL_FILE
5986 fi
5987
5988 { echo "$as_me:$LINENO: result: $result" >&5
5989 echo "${ECHO_T}$result" >&6; }
5990
5991
5992 enablestring=
5993 defaultval=$wxUSE_ALL_FEATURES
5994 if test -z "$defaultval"; then
5995 if test x"$enablestring" = xdisable; then
5996 defaultval=yes
5997 else
5998 defaultval=no
5999 fi
6000 fi
6001
6002 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6003 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6004 # Check whether --enable-sockets was given.
6005 if test "${enable_sockets+set}" = set; then
6006 enableval=$enable_sockets;
6007 if test "$enableval" = yes; then
6008 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6009 else
6010 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6011 fi
6012
6013 else
6014
6015 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6016
6017 fi
6018
6019
6020 eval "$wx_cv_use_sockets"
6021
6022 if test x"$enablestring" = xdisable; then
6023 if test $wxUSE_SOCKETS = no; then
6024 result=yes
6025 else
6026 result=no
6027 fi
6028 else
6029 result=$wxUSE_SOCKETS
6030 fi
6031
6032 { echo "$as_me:$LINENO: result: $result" >&5
6033 echo "${ECHO_T}$result" >&6; }
6034
6035
6036 enablestring=
6037 defaultval=$wxUSE_ALL_FEATURES
6038 if test -z "$defaultval"; then
6039 if test x"$enablestring" = xdisable; then
6040 defaultval=yes
6041 else
6042 defaultval=no
6043 fi
6044 fi
6045
6046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6047 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6048 # Check whether --enable-ipv6 was given.
6049 if test "${enable_ipv6+set}" = set; then
6050 enableval=$enable_ipv6;
6051 if test "$enableval" = yes; then
6052 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6053 else
6054 wx_cv_use_ipv6='wxUSE_IPV6=no'
6055 fi
6056
6057 else
6058
6059 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6060
6061 fi
6062
6063
6064 eval "$wx_cv_use_ipv6"
6065
6066 if test x"$enablestring" = xdisable; then
6067 if test $wxUSE_IPV6 = no; then
6068 result=yes
6069 else
6070 result=no
6071 fi
6072 else
6073 result=$wxUSE_IPV6
6074 fi
6075
6076 { echo "$as_me:$LINENO: result: $result" >&5
6077 echo "${ECHO_T}$result" >&6; }
6078
6079
6080 enablestring=
6081 defaultval=$wxUSE_ALL_FEATURES
6082 if test -z "$defaultval"; then
6083 if test x"$enablestring" = xdisable; then
6084 defaultval=yes
6085 else
6086 defaultval=no
6087 fi
6088 fi
6089
6090 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6091 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6092 # Check whether --enable-ole was given.
6093 if test "${enable_ole+set}" = set; then
6094 enableval=$enable_ole;
6095 if test "$enableval" = yes; then
6096 wx_cv_use_ole='wxUSE_OLE=yes'
6097 else
6098 wx_cv_use_ole='wxUSE_OLE=no'
6099 fi
6100
6101 else
6102
6103 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6104
6105 fi
6106
6107
6108 eval "$wx_cv_use_ole"
6109
6110 if test x"$enablestring" = xdisable; then
6111 if test $wxUSE_OLE = no; then
6112 result=yes
6113 else
6114 result=no
6115 fi
6116 else
6117 result=$wxUSE_OLE
6118 fi
6119
6120 { echo "$as_me:$LINENO: result: $result" >&5
6121 echo "${ECHO_T}$result" >&6; }
6122
6123
6124 enablestring=
6125 defaultval=$wxUSE_ALL_FEATURES
6126 if test -z "$defaultval"; then
6127 if test x"$enablestring" = xdisable; then
6128 defaultval=yes
6129 else
6130 defaultval=no
6131 fi
6132 fi
6133
6134 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6135 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6136 # Check whether --enable-dataobj was given.
6137 if test "${enable_dataobj+set}" = set; then
6138 enableval=$enable_dataobj;
6139 if test "$enableval" = yes; then
6140 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6141 else
6142 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6143 fi
6144
6145 else
6146
6147 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6148
6149 fi
6150
6151
6152 eval "$wx_cv_use_dataobj"
6153
6154 if test x"$enablestring" = xdisable; then
6155 if test $wxUSE_DATAOBJ = no; then
6156 result=yes
6157 else
6158 result=no
6159 fi
6160 else
6161 result=$wxUSE_DATAOBJ
6162 fi
6163
6164 { echo "$as_me:$LINENO: result: $result" >&5
6165 echo "${ECHO_T}$result" >&6; }
6166
6167
6168
6169 enablestring=
6170 defaultval=$wxUSE_ALL_FEATURES
6171 if test -z "$defaultval"; then
6172 if test x"$enablestring" = xdisable; then
6173 defaultval=yes
6174 else
6175 defaultval=no
6176 fi
6177 fi
6178
6179 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6180 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6181 # Check whether --enable-ipc was given.
6182 if test "${enable_ipc+set}" = set; then
6183 enableval=$enable_ipc;
6184 if test "$enableval" = yes; then
6185 wx_cv_use_ipc='wxUSE_IPC=yes'
6186 else
6187 wx_cv_use_ipc='wxUSE_IPC=no'
6188 fi
6189
6190 else
6191
6192 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6193
6194 fi
6195
6196
6197 eval "$wx_cv_use_ipc"
6198
6199 if test x"$enablestring" = xdisable; then
6200 if test $wxUSE_IPC = no; then
6201 result=yes
6202 else
6203 result=no
6204 fi
6205 else
6206 result=$wxUSE_IPC
6207 fi
6208
6209 { echo "$as_me:$LINENO: result: $result" >&5
6210 echo "${ECHO_T}$result" >&6; }
6211
6212
6213
6214 enablestring=
6215 defaultval=$wxUSE_ALL_FEATURES
6216 if test -z "$defaultval"; then
6217 if test x"$enablestring" = xdisable; then
6218 defaultval=yes
6219 else
6220 defaultval=no
6221 fi
6222 fi
6223
6224 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6225 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6226 # Check whether --enable-baseevtloop was given.
6227 if test "${enable_baseevtloop+set}" = set; then
6228 enableval=$enable_baseevtloop;
6229 if test "$enableval" = yes; then
6230 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6231 else
6232 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6233 fi
6234
6235 else
6236
6237 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6238
6239 fi
6240
6241
6242 eval "$wx_cv_use_baseevtloop"
6243
6244 if test x"$enablestring" = xdisable; then
6245 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6246 result=yes
6247 else
6248 result=no
6249 fi
6250 else
6251 result=$wxUSE_CONSOLE_EVENTLOOP
6252 fi
6253
6254 { echo "$as_me:$LINENO: result: $result" >&5
6255 echo "${ECHO_T}$result" >&6; }
6256
6257
6258 enablestring=
6259 defaultval=$wxUSE_ALL_FEATURES
6260 if test -z "$defaultval"; then
6261 if test x"$enablestring" = xdisable; then
6262 defaultval=yes
6263 else
6264 defaultval=no
6265 fi
6266 fi
6267
6268 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6269 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6270 # Check whether --enable-epollloop was given.
6271 if test "${enable_epollloop+set}" = set; then
6272 enableval=$enable_epollloop;
6273 if test "$enableval" = yes; then
6274 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6275 else
6276 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6277 fi
6278
6279 else
6280
6281 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6282
6283 fi
6284
6285
6286 eval "$wx_cv_use_epollloop"
6287
6288 if test x"$enablestring" = xdisable; then
6289 if test $wxUSE_EPOLL_DISPATCHER = no; then
6290 result=yes
6291 else
6292 result=no
6293 fi
6294 else
6295 result=$wxUSE_EPOLL_DISPATCHER
6296 fi
6297
6298 { echo "$as_me:$LINENO: result: $result" >&5
6299 echo "${ECHO_T}$result" >&6; }
6300
6301
6302 enablestring=
6303 defaultval=$wxUSE_ALL_FEATURES
6304 if test -z "$defaultval"; then
6305 if test x"$enablestring" = xdisable; then
6306 defaultval=yes
6307 else
6308 defaultval=no
6309 fi
6310 fi
6311
6312 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6313 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6314 # Check whether --enable-selectloop was given.
6315 if test "${enable_selectloop+set}" = set; then
6316 enableval=$enable_selectloop;
6317 if test "$enableval" = yes; then
6318 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6319 else
6320 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6321 fi
6322
6323 else
6324
6325 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6326
6327 fi
6328
6329
6330 eval "$wx_cv_use_selectloop"
6331
6332 if test x"$enablestring" = xdisable; then
6333 if test $wxUSE_SELECT_DISPATCHER = no; then
6334 result=yes
6335 else
6336 result=no
6337 fi
6338 else
6339 result=$wxUSE_SELECT_DISPATCHER
6340 fi
6341
6342 { echo "$as_me:$LINENO: result: $result" >&5
6343 echo "${ECHO_T}$result" >&6; }
6344
6345
6346
6347 enablestring=
6348 defaultval=$wxUSE_ALL_FEATURES
6349 if test -z "$defaultval"; then
6350 if test x"$enablestring" = xdisable; then
6351 defaultval=yes
6352 else
6353 defaultval=no
6354 fi
6355 fi
6356
6357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6358 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6359 # Check whether --enable-any was given.
6360 if test "${enable_any+set}" = set; then
6361 enableval=$enable_any;
6362 if test "$enableval" = yes; then
6363 wx_cv_use_any='wxUSE_ANY=yes'
6364 else
6365 wx_cv_use_any='wxUSE_ANY=no'
6366 fi
6367
6368 else
6369
6370 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6371
6372 fi
6373
6374
6375 eval "$wx_cv_use_any"
6376
6377 if test x"$enablestring" = xdisable; then
6378 if test $wxUSE_ANY = no; then
6379 result=yes
6380 else
6381 result=no
6382 fi
6383 else
6384 result=$wxUSE_ANY
6385 fi
6386
6387 { echo "$as_me:$LINENO: result: $result" >&5
6388 echo "${ECHO_T}$result" >&6; }
6389
6390
6391 enablestring=
6392 defaultval=$wxUSE_ALL_FEATURES
6393 if test -z "$defaultval"; then
6394 if test x"$enablestring" = xdisable; then
6395 defaultval=yes
6396 else
6397 defaultval=no
6398 fi
6399 fi
6400
6401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6402 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6403 # Check whether --enable-apple_ieee was given.
6404 if test "${enable_apple_ieee+set}" = set; then
6405 enableval=$enable_apple_ieee;
6406 if test "$enableval" = yes; then
6407 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6408 else
6409 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6410 fi
6411
6412 else
6413
6414 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6415
6416 fi
6417
6418
6419 eval "$wx_cv_use_apple_ieee"
6420
6421 if test x"$enablestring" = xdisable; then
6422 if test $wxUSE_APPLE_IEEE = no; then
6423 result=yes
6424 else
6425 result=no
6426 fi
6427 else
6428 result=$wxUSE_APPLE_IEEE
6429 fi
6430
6431 { echo "$as_me:$LINENO: result: $result" >&5
6432 echo "${ECHO_T}$result" >&6; }
6433
6434
6435 enablestring=
6436 defaultval=$wxUSE_ALL_FEATURES
6437 if test -z "$defaultval"; then
6438 if test x"$enablestring" = xdisable; then
6439 defaultval=yes
6440 else
6441 defaultval=no
6442 fi
6443 fi
6444
6445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6446 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6447 # Check whether --enable-arcstream was given.
6448 if test "${enable_arcstream+set}" = set; then
6449 enableval=$enable_arcstream;
6450 if test "$enableval" = yes; then
6451 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6452 else
6453 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6454 fi
6455
6456 else
6457
6458 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6459
6460 fi
6461
6462
6463 eval "$wx_cv_use_arcstream"
6464
6465 if test x"$enablestring" = xdisable; then
6466 if test $wxUSE_ARCHIVE_STREAMS = no; then
6467 result=yes
6468 else
6469 result=no
6470 fi
6471 else
6472 result=$wxUSE_ARCHIVE_STREAMS
6473 fi
6474
6475 { echo "$as_me:$LINENO: result: $result" >&5
6476 echo "${ECHO_T}$result" >&6; }
6477
6478
6479 enablestring=
6480 defaultval=$wxUSE_ALL_FEATURES
6481 if test -z "$defaultval"; then
6482 if test x"$enablestring" = xdisable; then
6483 defaultval=yes
6484 else
6485 defaultval=no
6486 fi
6487 fi
6488
6489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6490 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6491 # Check whether --enable-base64 was given.
6492 if test "${enable_base64+set}" = set; then
6493 enableval=$enable_base64;
6494 if test "$enableval" = yes; then
6495 wx_cv_use_base64='wxUSE_BASE64=yes'
6496 else
6497 wx_cv_use_base64='wxUSE_BASE64=no'
6498 fi
6499
6500 else
6501
6502 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6503
6504 fi
6505
6506
6507 eval "$wx_cv_use_base64"
6508
6509 if test x"$enablestring" = xdisable; then
6510 if test $wxUSE_BASE64 = no; then
6511 result=yes
6512 else
6513 result=no
6514 fi
6515 else
6516 result=$wxUSE_BASE64
6517 fi
6518
6519 { echo "$as_me:$LINENO: result: $result" >&5
6520 echo "${ECHO_T}$result" >&6; }
6521
6522
6523 enablestring=
6524 defaultval=$wxUSE_ALL_FEATURES
6525 if test -z "$defaultval"; then
6526 if test x"$enablestring" = xdisable; then
6527 defaultval=yes
6528 else
6529 defaultval=no
6530 fi
6531 fi
6532
6533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6534 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6535 # Check whether --enable-backtrace was given.
6536 if test "${enable_backtrace+set}" = set; then
6537 enableval=$enable_backtrace;
6538 if test "$enableval" = yes; then
6539 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6540 else
6541 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6542 fi
6543
6544 else
6545
6546 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6547
6548 fi
6549
6550
6551 eval "$wx_cv_use_backtrace"
6552
6553 if test x"$enablestring" = xdisable; then
6554 if test $wxUSE_STACKWALKER = no; then
6555 result=yes
6556 else
6557 result=no
6558 fi
6559 else
6560 result=$wxUSE_STACKWALKER
6561 fi
6562
6563 { echo "$as_me:$LINENO: result: $result" >&5
6564 echo "${ECHO_T}$result" >&6; }
6565
6566
6567 enablestring=
6568 defaultval=$wxUSE_ALL_FEATURES
6569 if test -z "$defaultval"; then
6570 if test x"$enablestring" = xdisable; then
6571 defaultval=yes
6572 else
6573 defaultval=no
6574 fi
6575 fi
6576
6577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6578 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6579 # Check whether --enable-catch_segvs was given.
6580 if test "${enable_catch_segvs+set}" = set; then
6581 enableval=$enable_catch_segvs;
6582 if test "$enableval" = yes; then
6583 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6584 else
6585 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6586 fi
6587
6588 else
6589
6590 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6591
6592 fi
6593
6594
6595 eval "$wx_cv_use_catch_segvs"
6596
6597 if test x"$enablestring" = xdisable; then
6598 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6599 result=yes
6600 else
6601 result=no
6602 fi
6603 else
6604 result=$wxUSE_ON_FATAL_EXCEPTION
6605 fi
6606
6607 { echo "$as_me:$LINENO: result: $result" >&5
6608 echo "${ECHO_T}$result" >&6; }
6609
6610
6611 enablestring=
6612 defaultval=$wxUSE_ALL_FEATURES
6613 if test -z "$defaultval"; then
6614 if test x"$enablestring" = xdisable; then
6615 defaultval=yes
6616 else
6617 defaultval=no
6618 fi
6619 fi
6620
6621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6622 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6623 # Check whether --enable-cmdline was given.
6624 if test "${enable_cmdline+set}" = set; then
6625 enableval=$enable_cmdline;
6626 if test "$enableval" = yes; then
6627 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6628 else
6629 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6630 fi
6631
6632 else
6633
6634 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6635
6636 fi
6637
6638
6639 eval "$wx_cv_use_cmdline"
6640
6641 if test x"$enablestring" = xdisable; then
6642 if test $wxUSE_CMDLINE_PARSER = no; then
6643 result=yes
6644 else
6645 result=no
6646 fi
6647 else
6648 result=$wxUSE_CMDLINE_PARSER
6649 fi
6650
6651 { echo "$as_me:$LINENO: result: $result" >&5
6652 echo "${ECHO_T}$result" >&6; }
6653
6654
6655 enablestring=
6656 defaultval=$wxUSE_ALL_FEATURES
6657 if test -z "$defaultval"; then
6658 if test x"$enablestring" = xdisable; then
6659 defaultval=yes
6660 else
6661 defaultval=no
6662 fi
6663 fi
6664
6665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6666 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6667 # Check whether --enable-datetime was given.
6668 if test "${enable_datetime+set}" = set; then
6669 enableval=$enable_datetime;
6670 if test "$enableval" = yes; then
6671 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6672 else
6673 wx_cv_use_datetime='wxUSE_DATETIME=no'
6674 fi
6675
6676 else
6677
6678 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6679
6680 fi
6681
6682
6683 eval "$wx_cv_use_datetime"
6684
6685 if test x"$enablestring" = xdisable; then
6686 if test $wxUSE_DATETIME = no; then
6687 result=yes
6688 else
6689 result=no
6690 fi
6691 else
6692 result=$wxUSE_DATETIME
6693 fi
6694
6695 { echo "$as_me:$LINENO: result: $result" >&5
6696 echo "${ECHO_T}$result" >&6; }
6697
6698
6699 enablestring=
6700 defaultval=$wxUSE_ALL_FEATURES
6701 if test -z "$defaultval"; then
6702 if test x"$enablestring" = xdisable; then
6703 defaultval=yes
6704 else
6705 defaultval=no
6706 fi
6707 fi
6708
6709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6710 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6711 # Check whether --enable-debugreport was given.
6712 if test "${enable_debugreport+set}" = set; then
6713 enableval=$enable_debugreport;
6714 if test "$enableval" = yes; then
6715 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6716 else
6717 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6718 fi
6719
6720 else
6721
6722 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6723
6724 fi
6725
6726
6727 eval "$wx_cv_use_debugreport"
6728
6729 if test x"$enablestring" = xdisable; then
6730 if test $wxUSE_DEBUGREPORT = no; then
6731 result=yes
6732 else
6733 result=no
6734 fi
6735 else
6736 result=$wxUSE_DEBUGREPORT
6737 fi
6738
6739 { echo "$as_me:$LINENO: result: $result" >&5
6740 echo "${ECHO_T}$result" >&6; }
6741
6742
6743 enablestring=
6744 defaultval=$wxUSE_ALL_FEATURES
6745 if test -z "$defaultval"; then
6746 if test x"$enablestring" = xdisable; then
6747 defaultval=yes
6748 else
6749 defaultval=no
6750 fi
6751 fi
6752
6753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6754 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6755 # Check whether --enable-dialupman was given.
6756 if test "${enable_dialupman+set}" = set; then
6757 enableval=$enable_dialupman;
6758 if test "$enableval" = yes; then
6759 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6760 else
6761 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6762 fi
6763
6764 else
6765
6766 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6767
6768 fi
6769
6770
6771 eval "$wx_cv_use_dialupman"
6772
6773 if test x"$enablestring" = xdisable; then
6774 if test $wxUSE_DIALUP_MANAGER = no; then
6775 result=yes
6776 else
6777 result=no
6778 fi
6779 else
6780 result=$wxUSE_DIALUP_MANAGER
6781 fi
6782
6783 { echo "$as_me:$LINENO: result: $result" >&5
6784 echo "${ECHO_T}$result" >&6; }
6785
6786
6787 enablestring=
6788 defaultval=$wxUSE_ALL_FEATURES
6789 if test -z "$defaultval"; then
6790 if test x"$enablestring" = xdisable; then
6791 defaultval=yes
6792 else
6793 defaultval=no
6794 fi
6795 fi
6796
6797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6798 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6799 # Check whether --enable-dynlib was given.
6800 if test "${enable_dynlib+set}" = set; then
6801 enableval=$enable_dynlib;
6802 if test "$enableval" = yes; then
6803 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6804 else
6805 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6806 fi
6807
6808 else
6809
6810 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6811
6812 fi
6813
6814
6815 eval "$wx_cv_use_dynlib"
6816
6817 if test x"$enablestring" = xdisable; then
6818 if test $wxUSE_DYNLIB_CLASS = no; then
6819 result=yes
6820 else
6821 result=no
6822 fi
6823 else
6824 result=$wxUSE_DYNLIB_CLASS
6825 fi
6826
6827 { echo "$as_me:$LINENO: result: $result" >&5
6828 echo "${ECHO_T}$result" >&6; }
6829
6830
6831 enablestring=
6832 defaultval=$wxUSE_ALL_FEATURES
6833 if test -z "$defaultval"; then
6834 if test x"$enablestring" = xdisable; then
6835 defaultval=yes
6836 else
6837 defaultval=no
6838 fi
6839 fi
6840
6841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6842 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6843 # Check whether --enable-dynamicloader was given.
6844 if test "${enable_dynamicloader+set}" = set; then
6845 enableval=$enable_dynamicloader;
6846 if test "$enableval" = yes; then
6847 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6848 else
6849 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6850 fi
6851
6852 else
6853
6854 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6855
6856 fi
6857
6858
6859 eval "$wx_cv_use_dynamicloader"
6860
6861 if test x"$enablestring" = xdisable; then
6862 if test $wxUSE_DYNAMIC_LOADER = no; then
6863 result=yes
6864 else
6865 result=no
6866 fi
6867 else
6868 result=$wxUSE_DYNAMIC_LOADER
6869 fi
6870
6871 { echo "$as_me:$LINENO: result: $result" >&5
6872 echo "${ECHO_T}$result" >&6; }
6873
6874
6875 enablestring=
6876 defaultval=$wxUSE_ALL_FEATURES
6877 if test -z "$defaultval"; then
6878 if test x"$enablestring" = xdisable; then
6879 defaultval=yes
6880 else
6881 defaultval=no
6882 fi
6883 fi
6884
6885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6886 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6887 # Check whether --enable-exceptions was given.
6888 if test "${enable_exceptions+set}" = set; then
6889 enableval=$enable_exceptions;
6890 if test "$enableval" = yes; then
6891 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6892 else
6893 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6894 fi
6895
6896 else
6897
6898 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6899
6900 fi
6901
6902
6903 eval "$wx_cv_use_exceptions"
6904
6905 if test x"$enablestring" = xdisable; then
6906 if test $wxUSE_EXCEPTIONS = no; then
6907 result=yes
6908 else
6909 result=no
6910 fi
6911 else
6912 result=$wxUSE_EXCEPTIONS
6913 fi
6914
6915 { echo "$as_me:$LINENO: result: $result" >&5
6916 echo "${ECHO_T}$result" >&6; }
6917
6918
6919 enablestring=
6920 defaultval=$wxUSE_ALL_FEATURES
6921 if test -z "$defaultval"; then
6922 if test x"$enablestring" = xdisable; then
6923 defaultval=yes
6924 else
6925 defaultval=no
6926 fi
6927 fi
6928
6929 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6930 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6931 # Check whether --enable-ffile was given.
6932 if test "${enable_ffile+set}" = set; then
6933 enableval=$enable_ffile;
6934 if test "$enableval" = yes; then
6935 wx_cv_use_ffile='wxUSE_FFILE=yes'
6936 else
6937 wx_cv_use_ffile='wxUSE_FFILE=no'
6938 fi
6939
6940 else
6941
6942 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6943
6944 fi
6945
6946
6947 eval "$wx_cv_use_ffile"
6948
6949 if test x"$enablestring" = xdisable; then
6950 if test $wxUSE_FFILE = no; then
6951 result=yes
6952 else
6953 result=no
6954 fi
6955 else
6956 result=$wxUSE_FFILE
6957 fi
6958
6959 { echo "$as_me:$LINENO: result: $result" >&5
6960 echo "${ECHO_T}$result" >&6; }
6961
6962
6963 enablestring=
6964 defaultval=$wxUSE_ALL_FEATURES
6965 if test -z "$defaultval"; then
6966 if test x"$enablestring" = xdisable; then
6967 defaultval=yes
6968 else
6969 defaultval=no
6970 fi
6971 fi
6972
6973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6974 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6975 # Check whether --enable-file was given.
6976 if test "${enable_file+set}" = set; then
6977 enableval=$enable_file;
6978 if test "$enableval" = yes; then
6979 wx_cv_use_file='wxUSE_FILE=yes'
6980 else
6981 wx_cv_use_file='wxUSE_FILE=no'
6982 fi
6983
6984 else
6985
6986 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6987
6988 fi
6989
6990
6991 eval "$wx_cv_use_file"
6992
6993 if test x"$enablestring" = xdisable; then
6994 if test $wxUSE_FILE = no; then
6995 result=yes
6996 else
6997 result=no
6998 fi
6999 else
7000 result=$wxUSE_FILE
7001 fi
7002
7003 { echo "$as_me:$LINENO: result: $result" >&5
7004 echo "${ECHO_T}$result" >&6; }
7005
7006
7007 enablestring=
7008 defaultval=$wxUSE_ALL_FEATURES
7009 if test -z "$defaultval"; then
7010 if test x"$enablestring" = xdisable; then
7011 defaultval=yes
7012 else
7013 defaultval=no
7014 fi
7015 fi
7016
7017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7018 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7019 # Check whether --enable-filesystem was given.
7020 if test "${enable_filesystem+set}" = set; then
7021 enableval=$enable_filesystem;
7022 if test "$enableval" = yes; then
7023 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7024 else
7025 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7026 fi
7027
7028 else
7029
7030 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7031
7032 fi
7033
7034
7035 eval "$wx_cv_use_filesystem"
7036
7037 if test x"$enablestring" = xdisable; then
7038 if test $wxUSE_FILESYSTEM = no; then
7039 result=yes
7040 else
7041 result=no
7042 fi
7043 else
7044 result=$wxUSE_FILESYSTEM
7045 fi
7046
7047 { echo "$as_me:$LINENO: result: $result" >&5
7048 echo "${ECHO_T}$result" >&6; }
7049
7050
7051 enablestring=
7052 defaultval=$wxUSE_ALL_FEATURES
7053 if test -z "$defaultval"; then
7054 if test x"$enablestring" = xdisable; then
7055 defaultval=yes
7056 else
7057 defaultval=no
7058 fi
7059 fi
7060
7061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7062 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7063 # Check whether --enable-fontenum was given.
7064 if test "${enable_fontenum+set}" = set; then
7065 enableval=$enable_fontenum;
7066 if test "$enableval" = yes; then
7067 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7068 else
7069 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7070 fi
7071
7072 else
7073
7074 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7075
7076 fi
7077
7078
7079 eval "$wx_cv_use_fontenum"
7080
7081 if test x"$enablestring" = xdisable; then
7082 if test $wxUSE_FONTENUM = no; then
7083 result=yes
7084 else
7085 result=no
7086 fi
7087 else
7088 result=$wxUSE_FONTENUM
7089 fi
7090
7091 { echo "$as_me:$LINENO: result: $result" >&5
7092 echo "${ECHO_T}$result" >&6; }
7093
7094
7095 enablestring=
7096 defaultval=$wxUSE_ALL_FEATURES
7097 if test -z "$defaultval"; then
7098 if test x"$enablestring" = xdisable; then
7099 defaultval=yes
7100 else
7101 defaultval=no
7102 fi
7103 fi
7104
7105 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7106 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7107 # Check whether --enable-fontmap was given.
7108 if test "${enable_fontmap+set}" = set; then
7109 enableval=$enable_fontmap;
7110 if test "$enableval" = yes; then
7111 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7112 else
7113 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7114 fi
7115
7116 else
7117
7118 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7119
7120 fi
7121
7122
7123 eval "$wx_cv_use_fontmap"
7124
7125 if test x"$enablestring" = xdisable; then
7126 if test $wxUSE_FONTMAP = no; then
7127 result=yes
7128 else
7129 result=no
7130 fi
7131 else
7132 result=$wxUSE_FONTMAP
7133 fi
7134
7135 { echo "$as_me:$LINENO: result: $result" >&5
7136 echo "${ECHO_T}$result" >&6; }
7137
7138
7139 enablestring=
7140 defaultval=$wxUSE_ALL_FEATURES
7141 if test -z "$defaultval"; then
7142 if test x"$enablestring" = xdisable; then
7143 defaultval=yes
7144 else
7145 defaultval=no
7146 fi
7147 fi
7148
7149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7150 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7151 # Check whether --enable-fs_archive was given.
7152 if test "${enable_fs_archive+set}" = set; then
7153 enableval=$enable_fs_archive;
7154 if test "$enableval" = yes; then
7155 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7156 else
7157 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7158 fi
7159
7160 else
7161
7162 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7163
7164 fi
7165
7166
7167 eval "$wx_cv_use_fs_archive"
7168
7169 if test x"$enablestring" = xdisable; then
7170 if test $wxUSE_FS_ARCHIVE = no; then
7171 result=yes
7172 else
7173 result=no
7174 fi
7175 else
7176 result=$wxUSE_FS_ARCHIVE
7177 fi
7178
7179 { echo "$as_me:$LINENO: result: $result" >&5
7180 echo "${ECHO_T}$result" >&6; }
7181
7182
7183 enablestring=
7184 defaultval=$wxUSE_ALL_FEATURES
7185 if test -z "$defaultval"; then
7186 if test x"$enablestring" = xdisable; then
7187 defaultval=yes
7188 else
7189 defaultval=no
7190 fi
7191 fi
7192
7193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7194 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7195 # Check whether --enable-fs_inet was given.
7196 if test "${enable_fs_inet+set}" = set; then
7197 enableval=$enable_fs_inet;
7198 if test "$enableval" = yes; then
7199 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7200 else
7201 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7202 fi
7203
7204 else
7205
7206 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7207
7208 fi
7209
7210
7211 eval "$wx_cv_use_fs_inet"
7212
7213 if test x"$enablestring" = xdisable; then
7214 if test $wxUSE_FS_INET = no; then
7215 result=yes
7216 else
7217 result=no
7218 fi
7219 else
7220 result=$wxUSE_FS_INET
7221 fi
7222
7223 { echo "$as_me:$LINENO: result: $result" >&5
7224 echo "${ECHO_T}$result" >&6; }
7225
7226
7227 enablestring=
7228 defaultval=$wxUSE_ALL_FEATURES
7229 if test -z "$defaultval"; then
7230 if test x"$enablestring" = xdisable; then
7231 defaultval=yes
7232 else
7233 defaultval=no
7234 fi
7235 fi
7236
7237 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7238 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7239 # Check whether --enable-fs_zip was given.
7240 if test "${enable_fs_zip+set}" = set; then
7241 enableval=$enable_fs_zip;
7242 if test "$enableval" = yes; then
7243 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7244 else
7245 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7246 fi
7247
7248 else
7249
7250 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7251
7252 fi
7253
7254
7255 eval "$wx_cv_use_fs_zip"
7256
7257 if test x"$enablestring" = xdisable; then
7258 if test $wxUSE_FS_ZIP = no; then
7259 result=yes
7260 else
7261 result=no
7262 fi
7263 else
7264 result=$wxUSE_FS_ZIP
7265 fi
7266
7267 { echo "$as_me:$LINENO: result: $result" >&5
7268 echo "${ECHO_T}$result" >&6; }
7269
7270
7271 enablestring=
7272 defaultval=$wxUSE_ALL_FEATURES
7273 if test -z "$defaultval"; then
7274 if test x"$enablestring" = xdisable; then
7275 defaultval=yes
7276 else
7277 defaultval=no
7278 fi
7279 fi
7280
7281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7282 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7283 # Check whether --enable-fswatcher was given.
7284 if test "${enable_fswatcher+set}" = set; then
7285 enableval=$enable_fswatcher;
7286 if test "$enableval" = yes; then
7287 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7288 else
7289 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7290 fi
7291
7292 else
7293
7294 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7295
7296 fi
7297
7298
7299 eval "$wx_cv_use_fswatcher"
7300
7301 if test x"$enablestring" = xdisable; then
7302 if test $wxUSE_FSWATCHER = no; then
7303 result=yes
7304 else
7305 result=no
7306 fi
7307 else
7308 result=$wxUSE_FSWATCHER
7309 fi
7310
7311 { echo "$as_me:$LINENO: result: $result" >&5
7312 echo "${ECHO_T}$result" >&6; }
7313
7314
7315 enablestring=
7316 defaultval=$wxUSE_ALL_FEATURES
7317 if test -z "$defaultval"; then
7318 if test x"$enablestring" = xdisable; then
7319 defaultval=yes
7320 else
7321 defaultval=no
7322 fi
7323 fi
7324
7325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7326 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7327 # Check whether --enable-geometry was given.
7328 if test "${enable_geometry+set}" = set; then
7329 enableval=$enable_geometry;
7330 if test "$enableval" = yes; then
7331 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7332 else
7333 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7334 fi
7335
7336 else
7337
7338 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7339
7340 fi
7341
7342
7343 eval "$wx_cv_use_geometry"
7344
7345 if test x"$enablestring" = xdisable; then
7346 if test $wxUSE_GEOMETRY = no; then
7347 result=yes
7348 else
7349 result=no
7350 fi
7351 else
7352 result=$wxUSE_GEOMETRY
7353 fi
7354
7355 { echo "$as_me:$LINENO: result: $result" >&5
7356 echo "${ECHO_T}$result" >&6; }
7357
7358
7359 enablestring=
7360 defaultval=$wxUSE_ALL_FEATURES
7361 if test -z "$defaultval"; then
7362 if test x"$enablestring" = xdisable; then
7363 defaultval=yes
7364 else
7365 defaultval=no
7366 fi
7367 fi
7368
7369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7370 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7371 # Check whether --enable-log was given.
7372 if test "${enable_log+set}" = set; then
7373 enableval=$enable_log;
7374 if test "$enableval" = yes; then
7375 wx_cv_use_log='wxUSE_LOG=yes'
7376 else
7377 wx_cv_use_log='wxUSE_LOG=no'
7378 fi
7379
7380 else
7381
7382 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7383
7384 fi
7385
7386
7387 eval "$wx_cv_use_log"
7388
7389 if test x"$enablestring" = xdisable; then
7390 if test $wxUSE_LOG = no; then
7391 result=yes
7392 else
7393 result=no
7394 fi
7395 else
7396 result=$wxUSE_LOG
7397 fi
7398
7399 { echo "$as_me:$LINENO: result: $result" >&5
7400 echo "${ECHO_T}$result" >&6; }
7401
7402
7403 enablestring=
7404 defaultval=$wxUSE_ALL_FEATURES
7405 if test -z "$defaultval"; then
7406 if test x"$enablestring" = xdisable; then
7407 defaultval=yes
7408 else
7409 defaultval=no
7410 fi
7411 fi
7412
7413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7414 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7415 # Check whether --enable-longlong was given.
7416 if test "${enable_longlong+set}" = set; then
7417 enableval=$enable_longlong;
7418 if test "$enableval" = yes; then
7419 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7420 else
7421 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7422 fi
7423
7424 else
7425
7426 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7427
7428 fi
7429
7430
7431 eval "$wx_cv_use_longlong"
7432
7433 if test x"$enablestring" = xdisable; then
7434 if test $wxUSE_LONGLONG = no; then
7435 result=yes
7436 else
7437 result=no
7438 fi
7439 else
7440 result=$wxUSE_LONGLONG
7441 fi
7442
7443 { echo "$as_me:$LINENO: result: $result" >&5
7444 echo "${ECHO_T}$result" >&6; }
7445
7446
7447 enablestring=
7448 defaultval=$wxUSE_ALL_FEATURES
7449 if test -z "$defaultval"; then
7450 if test x"$enablestring" = xdisable; then
7451 defaultval=yes
7452 else
7453 defaultval=no
7454 fi
7455 fi
7456
7457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7458 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7459 # Check whether --enable-mimetype was given.
7460 if test "${enable_mimetype+set}" = set; then
7461 enableval=$enable_mimetype;
7462 if test "$enableval" = yes; then
7463 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7464 else
7465 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7466 fi
7467
7468 else
7469
7470 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7471
7472 fi
7473
7474
7475 eval "$wx_cv_use_mimetype"
7476
7477 if test x"$enablestring" = xdisable; then
7478 if test $wxUSE_MIMETYPE = no; then
7479 result=yes
7480 else
7481 result=no
7482 fi
7483 else
7484 result=$wxUSE_MIMETYPE
7485 fi
7486
7487 { echo "$as_me:$LINENO: result: $result" >&5
7488 echo "${ECHO_T}$result" >&6; }
7489
7490
7491 enablestring=
7492 defaultval=$wxUSE_ALL_FEATURES
7493 if test -z "$defaultval"; then
7494 if test x"$enablestring" = xdisable; then
7495 defaultval=yes
7496 else
7497 defaultval=no
7498 fi
7499 fi
7500
7501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7502 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7503 # Check whether --enable-printfposparam was given.
7504 if test "${enable_printfposparam+set}" = set; then
7505 enableval=$enable_printfposparam;
7506 if test "$enableval" = yes; then
7507 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7508 else
7509 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7510 fi
7511
7512 else
7513
7514 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7515
7516 fi
7517
7518
7519 eval "$wx_cv_use_printfposparam"
7520
7521 if test x"$enablestring" = xdisable; then
7522 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7523 result=yes
7524 else
7525 result=no
7526 fi
7527 else
7528 result=$wxUSE_PRINTF_POS_PARAMS
7529 fi
7530
7531 { echo "$as_me:$LINENO: result: $result" >&5
7532 echo "${ECHO_T}$result" >&6; }
7533
7534
7535 enablestring=
7536 defaultval=$wxUSE_ALL_FEATURES
7537 if test -z "$defaultval"; then
7538 if test x"$enablestring" = xdisable; then
7539 defaultval=yes
7540 else
7541 defaultval=no
7542 fi
7543 fi
7544
7545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7546 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7547 # Check whether --enable-snglinst was given.
7548 if test "${enable_snglinst+set}" = set; then
7549 enableval=$enable_snglinst;
7550 if test "$enableval" = yes; then
7551 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7552 else
7553 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7554 fi
7555
7556 else
7557
7558 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7559
7560 fi
7561
7562
7563 eval "$wx_cv_use_snglinst"
7564
7565 if test x"$enablestring" = xdisable; then
7566 if test $wxUSE_SNGLINST_CHECKER = no; then
7567 result=yes
7568 else
7569 result=no
7570 fi
7571 else
7572 result=$wxUSE_SNGLINST_CHECKER
7573 fi
7574
7575 { echo "$as_me:$LINENO: result: $result" >&5
7576 echo "${ECHO_T}$result" >&6; }
7577
7578
7579 enablestring=
7580 defaultval=$wxUSE_ALL_FEATURES
7581 if test -z "$defaultval"; then
7582 if test x"$enablestring" = xdisable; then
7583 defaultval=yes
7584 else
7585 defaultval=no
7586 fi
7587 fi
7588
7589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7590 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7591 # Check whether --enable-sound was given.
7592 if test "${enable_sound+set}" = set; then
7593 enableval=$enable_sound;
7594 if test "$enableval" = yes; then
7595 wx_cv_use_sound='wxUSE_SOUND=yes'
7596 else
7597 wx_cv_use_sound='wxUSE_SOUND=no'
7598 fi
7599
7600 else
7601
7602 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7603
7604 fi
7605
7606
7607 eval "$wx_cv_use_sound"
7608
7609 if test x"$enablestring" = xdisable; then
7610 if test $wxUSE_SOUND = no; then
7611 result=yes
7612 else
7613 result=no
7614 fi
7615 else
7616 result=$wxUSE_SOUND
7617 fi
7618
7619 { echo "$as_me:$LINENO: result: $result" >&5
7620 echo "${ECHO_T}$result" >&6; }
7621
7622
7623 enablestring=
7624 defaultval=$wxUSE_ALL_FEATURES
7625 if test -z "$defaultval"; then
7626 if test x"$enablestring" = xdisable; then
7627 defaultval=yes
7628 else
7629 defaultval=no
7630 fi
7631 fi
7632
7633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7634 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7635 # Check whether --enable-stdpaths was given.
7636 if test "${enable_stdpaths+set}" = set; then
7637 enableval=$enable_stdpaths;
7638 if test "$enableval" = yes; then
7639 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7640 else
7641 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7642 fi
7643
7644 else
7645
7646 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7647
7648 fi
7649
7650
7651 eval "$wx_cv_use_stdpaths"
7652
7653 if test x"$enablestring" = xdisable; then
7654 if test $wxUSE_STDPATHS = no; then
7655 result=yes
7656 else
7657 result=no
7658 fi
7659 else
7660 result=$wxUSE_STDPATHS
7661 fi
7662
7663 { echo "$as_me:$LINENO: result: $result" >&5
7664 echo "${ECHO_T}$result" >&6; }
7665
7666
7667 enablestring=
7668 defaultval=$wxUSE_ALL_FEATURES
7669 if test -z "$defaultval"; then
7670 if test x"$enablestring" = xdisable; then
7671 defaultval=yes
7672 else
7673 defaultval=no
7674 fi
7675 fi
7676
7677 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7678 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7679 # Check whether --enable-stopwatch was given.
7680 if test "${enable_stopwatch+set}" = set; then
7681 enableval=$enable_stopwatch;
7682 if test "$enableval" = yes; then
7683 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7684 else
7685 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7686 fi
7687
7688 else
7689
7690 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7691
7692 fi
7693
7694
7695 eval "$wx_cv_use_stopwatch"
7696
7697 if test x"$enablestring" = xdisable; then
7698 if test $wxUSE_STOPWATCH = no; then
7699 result=yes
7700 else
7701 result=no
7702 fi
7703 else
7704 result=$wxUSE_STOPWATCH
7705 fi
7706
7707 { echo "$as_me:$LINENO: result: $result" >&5
7708 echo "${ECHO_T}$result" >&6; }
7709
7710
7711 enablestring=
7712 defaultval=$wxUSE_ALL_FEATURES
7713 if test -z "$defaultval"; then
7714 if test x"$enablestring" = xdisable; then
7715 defaultval=yes
7716 else
7717 defaultval=no
7718 fi
7719 fi
7720
7721 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7722 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7723 # Check whether --enable-streams was given.
7724 if test "${enable_streams+set}" = set; then
7725 enableval=$enable_streams;
7726 if test "$enableval" = yes; then
7727 wx_cv_use_streams='wxUSE_STREAMS=yes'
7728 else
7729 wx_cv_use_streams='wxUSE_STREAMS=no'
7730 fi
7731
7732 else
7733
7734 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7735
7736 fi
7737
7738
7739 eval "$wx_cv_use_streams"
7740
7741 if test x"$enablestring" = xdisable; then
7742 if test $wxUSE_STREAMS = no; then
7743 result=yes
7744 else
7745 result=no
7746 fi
7747 else
7748 result=$wxUSE_STREAMS
7749 fi
7750
7751 { echo "$as_me:$LINENO: result: $result" >&5
7752 echo "${ECHO_T}$result" >&6; }
7753
7754
7755 enablestring=
7756 defaultval=$wxUSE_ALL_FEATURES
7757 if test -z "$defaultval"; then
7758 if test x"$enablestring" = xdisable; then
7759 defaultval=yes
7760 else
7761 defaultval=no
7762 fi
7763 fi
7764
7765 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7766 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7767 # Check whether --enable-sysoptions was given.
7768 if test "${enable_sysoptions+set}" = set; then
7769 enableval=$enable_sysoptions;
7770 if test "$enableval" = yes; then
7771 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
7772 else
7773 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
7774 fi
7775
7776 else
7777
7778 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7779
7780 fi
7781
7782
7783 eval "$wx_cv_use_sysoptions"
7784
7785 if test x"$enablestring" = xdisable; then
7786 if test $wxUSE_SYSTEM_OPTIONS = no; then
7787 result=yes
7788 else
7789 result=no
7790 fi
7791 else
7792 result=$wxUSE_SYSTEM_OPTIONS
7793 fi
7794
7795 { echo "$as_me:$LINENO: result: $result" >&5
7796 echo "${ECHO_T}$result" >&6; }
7797
7798
7799 enablestring=
7800 defaultval=$wxUSE_ALL_FEATURES
7801 if test -z "$defaultval"; then
7802 if test x"$enablestring" = xdisable; then
7803 defaultval=yes
7804 else
7805 defaultval=no
7806 fi
7807 fi
7808
7809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7810 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7811 # Check whether --enable-tarstream was given.
7812 if test "${enable_tarstream+set}" = set; then
7813 enableval=$enable_tarstream;
7814 if test "$enableval" = yes; then
7815 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7816 else
7817 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7818 fi
7819
7820 else
7821
7822 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7823
7824 fi
7825
7826
7827 eval "$wx_cv_use_tarstream"
7828
7829 if test x"$enablestring" = xdisable; then
7830 if test $wxUSE_TARSTREAM = no; then
7831 result=yes
7832 else
7833 result=no
7834 fi
7835 else
7836 result=$wxUSE_TARSTREAM
7837 fi
7838
7839 { echo "$as_me:$LINENO: result: $result" >&5
7840 echo "${ECHO_T}$result" >&6; }
7841
7842
7843 enablestring=
7844 defaultval=$wxUSE_ALL_FEATURES
7845 if test -z "$defaultval"; then
7846 if test x"$enablestring" = xdisable; then
7847 defaultval=yes
7848 else
7849 defaultval=no
7850 fi
7851 fi
7852
7853 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7854 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7855 # Check whether --enable-textbuf was given.
7856 if test "${enable_textbuf+set}" = set; then
7857 enableval=$enable_textbuf;
7858 if test "$enableval" = yes; then
7859 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7860 else
7861 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7862 fi
7863
7864 else
7865
7866 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7867
7868 fi
7869
7870
7871 eval "$wx_cv_use_textbuf"
7872
7873 if test x"$enablestring" = xdisable; then
7874 if test $wxUSE_TEXTBUFFER = no; then
7875 result=yes
7876 else
7877 result=no
7878 fi
7879 else
7880 result=$wxUSE_TEXTBUFFER
7881 fi
7882
7883 { echo "$as_me:$LINENO: result: $result" >&5
7884 echo "${ECHO_T}$result" >&6; }
7885
7886
7887 enablestring=
7888 defaultval=$wxUSE_ALL_FEATURES
7889 if test -z "$defaultval"; then
7890 if test x"$enablestring" = xdisable; then
7891 defaultval=yes
7892 else
7893 defaultval=no
7894 fi
7895 fi
7896
7897 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7898 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7899 # Check whether --enable-textfile was given.
7900 if test "${enable_textfile+set}" = set; then
7901 enableval=$enable_textfile;
7902 if test "$enableval" = yes; then
7903 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7904 else
7905 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7906 fi
7907
7908 else
7909
7910 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7911
7912 fi
7913
7914
7915 eval "$wx_cv_use_textfile"
7916
7917 if test x"$enablestring" = xdisable; then
7918 if test $wxUSE_TEXTFILE = no; then
7919 result=yes
7920 else
7921 result=no
7922 fi
7923 else
7924 result=$wxUSE_TEXTFILE
7925 fi
7926
7927 { echo "$as_me:$LINENO: result: $result" >&5
7928 echo "${ECHO_T}$result" >&6; }
7929
7930
7931 enablestring=
7932 defaultval=$wxUSE_ALL_FEATURES
7933 if test -z "$defaultval"; then
7934 if test x"$enablestring" = xdisable; then
7935 defaultval=yes
7936 else
7937 defaultval=no
7938 fi
7939 fi
7940
7941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7942 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7943 # Check whether --enable-timer was given.
7944 if test "${enable_timer+set}" = set; then
7945 enableval=$enable_timer;
7946 if test "$enableval" = yes; then
7947 wx_cv_use_timer='wxUSE_TIMER=yes'
7948 else
7949 wx_cv_use_timer='wxUSE_TIMER=no'
7950 fi
7951
7952 else
7953
7954 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7955
7956 fi
7957
7958
7959 eval "$wx_cv_use_timer"
7960
7961 if test x"$enablestring" = xdisable; then
7962 if test $wxUSE_TIMER = no; then
7963 result=yes
7964 else
7965 result=no
7966 fi
7967 else
7968 result=$wxUSE_TIMER
7969 fi
7970
7971 { echo "$as_me:$LINENO: result: $result" >&5
7972 echo "${ECHO_T}$result" >&6; }
7973
7974
7975 enablestring=
7976 defaultval=$wxUSE_ALL_FEATURES
7977 if test -z "$defaultval"; then
7978 if test x"$enablestring" = xdisable; then
7979 defaultval=yes
7980 else
7981 defaultval=no
7982 fi
7983 fi
7984
7985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7986 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7987 # Check whether --enable-variant was given.
7988 if test "${enable_variant+set}" = set; then
7989 enableval=$enable_variant;
7990 if test "$enableval" = yes; then
7991 wx_cv_use_variant='wxUSE_VARIANT=yes'
7992 else
7993 wx_cv_use_variant='wxUSE_VARIANT=no'
7994 fi
7995
7996 else
7997
7998 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7999
8000 fi
8001
8002
8003 eval "$wx_cv_use_variant"
8004
8005 if test x"$enablestring" = xdisable; then
8006 if test $wxUSE_VARIANT = no; then
8007 result=yes
8008 else
8009 result=no
8010 fi
8011 else
8012 result=$wxUSE_VARIANT
8013 fi
8014
8015 { echo "$as_me:$LINENO: result: $result" >&5
8016 echo "${ECHO_T}$result" >&6; }
8017
8018
8019 enablestring=
8020 defaultval=$wxUSE_ALL_FEATURES
8021 if test -z "$defaultval"; then
8022 if test x"$enablestring" = xdisable; then
8023 defaultval=yes
8024 else
8025 defaultval=no
8026 fi
8027 fi
8028
8029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8030 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8031 # Check whether --enable-zipstream was given.
8032 if test "${enable_zipstream+set}" = set; then
8033 enableval=$enable_zipstream;
8034 if test "$enableval" = yes; then
8035 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8036 else
8037 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8038 fi
8039
8040 else
8041
8042 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8043
8044 fi
8045
8046
8047 eval "$wx_cv_use_zipstream"
8048
8049 if test x"$enablestring" = xdisable; then
8050 if test $wxUSE_ZIPSTREAM = no; then
8051 result=yes
8052 else
8053 result=no
8054 fi
8055 else
8056 result=$wxUSE_ZIPSTREAM
8057 fi
8058
8059 { echo "$as_me:$LINENO: result: $result" >&5
8060 echo "${ECHO_T}$result" >&6; }
8061
8062
8063
8064 enablestring=
8065 defaultval=$wxUSE_ALL_FEATURES
8066 if test -z "$defaultval"; then
8067 if test x"$enablestring" = xdisable; then
8068 defaultval=yes
8069 else
8070 defaultval=no
8071 fi
8072 fi
8073
8074 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8075 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8076 # Check whether --enable-url was given.
8077 if test "${enable_url+set}" = set; then
8078 enableval=$enable_url;
8079 if test "$enableval" = yes; then
8080 wx_cv_use_url='wxUSE_URL=yes'
8081 else
8082 wx_cv_use_url='wxUSE_URL=no'
8083 fi
8084
8085 else
8086
8087 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8088
8089 fi
8090
8091
8092 eval "$wx_cv_use_url"
8093
8094 if test x"$enablestring" = xdisable; then
8095 if test $wxUSE_URL = no; then
8096 result=yes
8097 else
8098 result=no
8099 fi
8100 else
8101 result=$wxUSE_URL
8102 fi
8103
8104 { echo "$as_me:$LINENO: result: $result" >&5
8105 echo "${ECHO_T}$result" >&6; }
8106
8107
8108 enablestring=
8109 defaultval=$wxUSE_ALL_FEATURES
8110 if test -z "$defaultval"; then
8111 if test x"$enablestring" = xdisable; then
8112 defaultval=yes
8113 else
8114 defaultval=no
8115 fi
8116 fi
8117
8118 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8119 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8120 # Check whether --enable-protocol was given.
8121 if test "${enable_protocol+set}" = set; then
8122 enableval=$enable_protocol;
8123 if test "$enableval" = yes; then
8124 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8125 else
8126 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8127 fi
8128
8129 else
8130
8131 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8132
8133 fi
8134
8135
8136 eval "$wx_cv_use_protocol"
8137
8138 if test x"$enablestring" = xdisable; then
8139 if test $wxUSE_PROTOCOL = no; then
8140 result=yes
8141 else
8142 result=no
8143 fi
8144 else
8145 result=$wxUSE_PROTOCOL
8146 fi
8147
8148 { echo "$as_me:$LINENO: result: $result" >&5
8149 echo "${ECHO_T}$result" >&6; }
8150
8151
8152 enablestring=
8153 defaultval=$wxUSE_ALL_FEATURES
8154 if test -z "$defaultval"; then
8155 if test x"$enablestring" = xdisable; then
8156 defaultval=yes
8157 else
8158 defaultval=no
8159 fi
8160 fi
8161
8162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8163 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8164 # Check whether --enable-protocol_http was given.
8165 if test "${enable_protocol_http+set}" = set; then
8166 enableval=$enable_protocol_http;
8167 if test "$enableval" = yes; then
8168 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8169 else
8170 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8171 fi
8172
8173 else
8174
8175 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8176
8177 fi
8178
8179
8180 eval "$wx_cv_use_protocol_http"
8181
8182 if test x"$enablestring" = xdisable; then
8183 if test $wxUSE_PROTOCOL_HTTP = no; then
8184 result=yes
8185 else
8186 result=no
8187 fi
8188 else
8189 result=$wxUSE_PROTOCOL_HTTP
8190 fi
8191
8192 { echo "$as_me:$LINENO: result: $result" >&5
8193 echo "${ECHO_T}$result" >&6; }
8194
8195
8196 enablestring=
8197 defaultval=$wxUSE_ALL_FEATURES
8198 if test -z "$defaultval"; then
8199 if test x"$enablestring" = xdisable; then
8200 defaultval=yes
8201 else
8202 defaultval=no
8203 fi
8204 fi
8205
8206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8207 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8208 # Check whether --enable-protocol_ftp was given.
8209 if test "${enable_protocol_ftp+set}" = set; then
8210 enableval=$enable_protocol_ftp;
8211 if test "$enableval" = yes; then
8212 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8213 else
8214 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8215 fi
8216
8217 else
8218
8219 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8220
8221 fi
8222
8223
8224 eval "$wx_cv_use_protocol_ftp"
8225
8226 if test x"$enablestring" = xdisable; then
8227 if test $wxUSE_PROTOCOL_FTP = no; then
8228 result=yes
8229 else
8230 result=no
8231 fi
8232 else
8233 result=$wxUSE_PROTOCOL_FTP
8234 fi
8235
8236 { echo "$as_me:$LINENO: result: $result" >&5
8237 echo "${ECHO_T}$result" >&6; }
8238
8239
8240 enablestring=
8241 defaultval=$wxUSE_ALL_FEATURES
8242 if test -z "$defaultval"; then
8243 if test x"$enablestring" = xdisable; then
8244 defaultval=yes
8245 else
8246 defaultval=no
8247 fi
8248 fi
8249
8250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8251 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8252 # Check whether --enable-protocol_file was given.
8253 if test "${enable_protocol_file+set}" = set; then
8254 enableval=$enable_protocol_file;
8255 if test "$enableval" = yes; then
8256 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8257 else
8258 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8259 fi
8260
8261 else
8262
8263 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8264
8265 fi
8266
8267
8268 eval "$wx_cv_use_protocol_file"
8269
8270 if test x"$enablestring" = xdisable; then
8271 if test $wxUSE_PROTOCOL_FILE = no; then
8272 result=yes
8273 else
8274 result=no
8275 fi
8276 else
8277 result=$wxUSE_PROTOCOL_FILE
8278 fi
8279
8280 { echo "$as_me:$LINENO: result: $result" >&5
8281 echo "${ECHO_T}$result" >&6; }
8282
8283
8284
8285 enablestring=
8286 defaultval=$wxUSE_ALL_FEATURES
8287 if test -z "$defaultval"; then
8288 if test x"$enablestring" = xdisable; then
8289 defaultval=yes
8290 else
8291 defaultval=no
8292 fi
8293 fi
8294
8295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8296 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8297 # Check whether --enable-threads was given.
8298 if test "${enable_threads+set}" = set; then
8299 enableval=$enable_threads;
8300 if test "$enableval" = yes; then
8301 wx_cv_use_threads='wxUSE_THREADS=yes'
8302 else
8303 wx_cv_use_threads='wxUSE_THREADS=no'
8304 fi
8305
8306 else
8307
8308 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8309
8310 fi
8311
8312
8313 eval "$wx_cv_use_threads"
8314
8315 if test x"$enablestring" = xdisable; then
8316 if test $wxUSE_THREADS = no; then
8317 result=yes
8318 else
8319 result=no
8320 fi
8321 else
8322 result=$wxUSE_THREADS
8323 fi
8324
8325 { echo "$as_me:$LINENO: result: $result" >&5
8326 echo "${ECHO_T}$result" >&6; }
8327
8328
8329
8330 enablestring=
8331 defaultval=
8332 if test -z "$defaultval"; then
8333 if test x"$enablestring" = xdisable; then
8334 defaultval=yes
8335 else
8336 defaultval=no
8337 fi
8338 fi
8339
8340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8341 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8342 # Check whether --enable-iniconf was given.
8343 if test "${enable_iniconf+set}" = set; then
8344 enableval=$enable_iniconf;
8345 if test "$enableval" = yes; then
8346 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8347 else
8348 wx_cv_use_iniconf='wxUSE_INICONF=no'
8349 fi
8350
8351 else
8352
8353 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8354
8355 fi
8356
8357
8358 eval "$wx_cv_use_iniconf"
8359
8360 if test x"$enablestring" = xdisable; then
8361 if test $wxUSE_INICONF = no; then
8362 result=yes
8363 else
8364 result=no
8365 fi
8366 else
8367 result=$wxUSE_INICONF
8368 fi
8369
8370 { echo "$as_me:$LINENO: result: $result" >&5
8371 echo "${ECHO_T}$result" >&6; }
8372
8373
8374 enablestring=
8375 defaultval=$wxUSE_ALL_FEATURES
8376 if test -z "$defaultval"; then
8377 if test x"$enablestring" = xdisable; then
8378 defaultval=yes
8379 else
8380 defaultval=no
8381 fi
8382 fi
8383
8384 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8385 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8386 # Check whether --enable-regkey was given.
8387 if test "${enable_regkey+set}" = set; then
8388 enableval=$enable_regkey;
8389 if test "$enableval" = yes; then
8390 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8391 else
8392 wx_cv_use_regkey='wxUSE_REGKEY=no'
8393 fi
8394
8395 else
8396
8397 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8398
8399 fi
8400
8401
8402 eval "$wx_cv_use_regkey"
8403
8404 if test x"$enablestring" = xdisable; then
8405 if test $wxUSE_REGKEY = no; then
8406 result=yes
8407 else
8408 result=no
8409 fi
8410 else
8411 result=$wxUSE_REGKEY
8412 fi
8413
8414 { echo "$as_me:$LINENO: result: $result" >&5
8415 echo "${ECHO_T}$result" >&6; }
8416
8417
8418 if test "$wxUSE_GUI" = "yes"; then
8419
8420
8421
8422 enablestring=
8423 defaultval=$wxUSE_ALL_FEATURES
8424 if test -z "$defaultval"; then
8425 if test x"$enablestring" = xdisable; then
8426 defaultval=yes
8427 else
8428 defaultval=no
8429 fi
8430 fi
8431
8432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8433 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8434 # Check whether --enable-docview was given.
8435 if test "${enable_docview+set}" = set; then
8436 enableval=$enable_docview;
8437 if test "$enableval" = yes; then
8438 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8439 else
8440 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8441 fi
8442
8443 else
8444
8445 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8446
8447 fi
8448
8449
8450 eval "$wx_cv_use_docview"
8451
8452 if test x"$enablestring" = xdisable; then
8453 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8454 result=yes
8455 else
8456 result=no
8457 fi
8458 else
8459 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8460 fi
8461
8462 { echo "$as_me:$LINENO: result: $result" >&5
8463 echo "${ECHO_T}$result" >&6; }
8464
8465
8466 enablestring=
8467 defaultval=$wxUSE_ALL_FEATURES
8468 if test -z "$defaultval"; then
8469 if test x"$enablestring" = xdisable; then
8470 defaultval=yes
8471 else
8472 defaultval=no
8473 fi
8474 fi
8475
8476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8477 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8478 # Check whether --enable-help was given.
8479 if test "${enable_help+set}" = set; then
8480 enableval=$enable_help;
8481 if test "$enableval" = yes; then
8482 wx_cv_use_help='wxUSE_HELP=yes'
8483 else
8484 wx_cv_use_help='wxUSE_HELP=no'
8485 fi
8486
8487 else
8488
8489 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8490
8491 fi
8492
8493
8494 eval "$wx_cv_use_help"
8495
8496 if test x"$enablestring" = xdisable; then
8497 if test $wxUSE_HELP = no; then
8498 result=yes
8499 else
8500 result=no
8501 fi
8502 else
8503 result=$wxUSE_HELP
8504 fi
8505
8506 { echo "$as_me:$LINENO: result: $result" >&5
8507 echo "${ECHO_T}$result" >&6; }
8508
8509
8510 enablestring=
8511 defaultval=$wxUSE_ALL_FEATURES
8512 if test -z "$defaultval"; then
8513 if test x"$enablestring" = xdisable; then
8514 defaultval=yes
8515 else
8516 defaultval=no
8517 fi
8518 fi
8519
8520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8521 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8522 # Check whether --enable-mshtmlhelp was given.
8523 if test "${enable_mshtmlhelp+set}" = set; then
8524 enableval=$enable_mshtmlhelp;
8525 if test "$enableval" = yes; then
8526 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8527 else
8528 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8529 fi
8530
8531 else
8532
8533 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8534
8535 fi
8536
8537
8538 eval "$wx_cv_use_mshtmlhelp"
8539
8540 if test x"$enablestring" = xdisable; then
8541 if test $wxUSE_MS_HTML_HELP = no; then
8542 result=yes
8543 else
8544 result=no
8545 fi
8546 else
8547 result=$wxUSE_MS_HTML_HELP
8548 fi
8549
8550 { echo "$as_me:$LINENO: result: $result" >&5
8551 echo "${ECHO_T}$result" >&6; }
8552
8553
8554 enablestring=
8555 defaultval=$wxUSE_ALL_FEATURES
8556 if test -z "$defaultval"; then
8557 if test x"$enablestring" = xdisable; then
8558 defaultval=yes
8559 else
8560 defaultval=no
8561 fi
8562 fi
8563
8564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8565 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8566 # Check whether --enable-html was given.
8567 if test "${enable_html+set}" = set; then
8568 enableval=$enable_html;
8569 if test "$enableval" = yes; then
8570 wx_cv_use_html='wxUSE_HTML=yes'
8571 else
8572 wx_cv_use_html='wxUSE_HTML=no'
8573 fi
8574
8575 else
8576
8577 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8578
8579 fi
8580
8581
8582 eval "$wx_cv_use_html"
8583
8584 if test x"$enablestring" = xdisable; then
8585 if test $wxUSE_HTML = no; then
8586 result=yes
8587 else
8588 result=no
8589 fi
8590 else
8591 result=$wxUSE_HTML
8592 fi
8593
8594 { echo "$as_me:$LINENO: result: $result" >&5
8595 echo "${ECHO_T}$result" >&6; }
8596
8597
8598 enablestring=
8599 defaultval=$wxUSE_ALL_FEATURES
8600 if test -z "$defaultval"; then
8601 if test x"$enablestring" = xdisable; then
8602 defaultval=yes
8603 else
8604 defaultval=no
8605 fi
8606 fi
8607
8608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8609 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8610 # Check whether --enable-htmlhelp was given.
8611 if test "${enable_htmlhelp+set}" = set; then
8612 enableval=$enable_htmlhelp;
8613 if test "$enableval" = yes; then
8614 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8615 else
8616 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8617 fi
8618
8619 else
8620
8621 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8622
8623 fi
8624
8625
8626 eval "$wx_cv_use_htmlhelp"
8627
8628 if test x"$enablestring" = xdisable; then
8629 if test $wxUSE_WXHTML_HELP = no; then
8630 result=yes
8631 else
8632 result=no
8633 fi
8634 else
8635 result=$wxUSE_WXHTML_HELP
8636 fi
8637
8638 { echo "$as_me:$LINENO: result: $result" >&5
8639 echo "${ECHO_T}$result" >&6; }
8640
8641
8642 enablestring=
8643 defaultval=$wxUSE_ALL_FEATURES
8644 if test -z "$defaultval"; then
8645 if test x"$enablestring" = xdisable; then
8646 defaultval=yes
8647 else
8648 defaultval=no
8649 fi
8650 fi
8651
8652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8653 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8654 # Check whether --enable-xrc was given.
8655 if test "${enable_xrc+set}" = set; then
8656 enableval=$enable_xrc;
8657 if test "$enableval" = yes; then
8658 wx_cv_use_xrc='wxUSE_XRC=yes'
8659 else
8660 wx_cv_use_xrc='wxUSE_XRC=no'
8661 fi
8662
8663 else
8664
8665 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8666
8667 fi
8668
8669
8670 eval "$wx_cv_use_xrc"
8671
8672 if test x"$enablestring" = xdisable; then
8673 if test $wxUSE_XRC = no; then
8674 result=yes
8675 else
8676 result=no
8677 fi
8678 else
8679 result=$wxUSE_XRC
8680 fi
8681
8682 { echo "$as_me:$LINENO: result: $result" >&5
8683 echo "${ECHO_T}$result" >&6; }
8684
8685
8686 enablestring=
8687 defaultval=$wxUSE_ALL_FEATURES
8688 if test -z "$defaultval"; then
8689 if test x"$enablestring" = xdisable; then
8690 defaultval=yes
8691 else
8692 defaultval=no
8693 fi
8694 fi
8695
8696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8697 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8698 # Check whether --enable-aui was given.
8699 if test "${enable_aui+set}" = set; then
8700 enableval=$enable_aui;
8701 if test "$enableval" = yes; then
8702 wx_cv_use_aui='wxUSE_AUI=yes'
8703 else
8704 wx_cv_use_aui='wxUSE_AUI=no'
8705 fi
8706
8707 else
8708
8709 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8710
8711 fi
8712
8713
8714 eval "$wx_cv_use_aui"
8715
8716 if test x"$enablestring" = xdisable; then
8717 if test $wxUSE_AUI = no; then
8718 result=yes
8719 else
8720 result=no
8721 fi
8722 else
8723 result=$wxUSE_AUI
8724 fi
8725
8726 { echo "$as_me:$LINENO: result: $result" >&5
8727 echo "${ECHO_T}$result" >&6; }
8728
8729
8730 enablestring=
8731 defaultval=$wxUSE_ALL_FEATURES
8732 if test -z "$defaultval"; then
8733 if test x"$enablestring" = xdisable; then
8734 defaultval=yes
8735 else
8736 defaultval=no
8737 fi
8738 fi
8739
8740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8741 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8742 # Check whether --enable-propgrid was given.
8743 if test "${enable_propgrid+set}" = set; then
8744 enableval=$enable_propgrid;
8745 if test "$enableval" = yes; then
8746 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8747 else
8748 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8749 fi
8750
8751 else
8752
8753 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8754
8755 fi
8756
8757
8758 eval "$wx_cv_use_propgrid"
8759
8760 if test x"$enablestring" = xdisable; then
8761 if test $wxUSE_PROPGRID = no; then
8762 result=yes
8763 else
8764 result=no
8765 fi
8766 else
8767 result=$wxUSE_PROPGRID
8768 fi
8769
8770 { echo "$as_me:$LINENO: result: $result" >&5
8771 echo "${ECHO_T}$result" >&6; }
8772
8773
8774 enablestring=
8775 defaultval=$wxUSE_ALL_FEATURES
8776 if test -z "$defaultval"; then
8777 if test x"$enablestring" = xdisable; then
8778 defaultval=yes
8779 else
8780 defaultval=no
8781 fi
8782 fi
8783
8784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8785 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8786 # Check whether --enable-ribbon was given.
8787 if test "${enable_ribbon+set}" = set; then
8788 enableval=$enable_ribbon;
8789 if test "$enableval" = yes; then
8790 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8791 else
8792 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8793 fi
8794
8795 else
8796
8797 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8798
8799 fi
8800
8801
8802 eval "$wx_cv_use_ribbon"
8803
8804 if test x"$enablestring" = xdisable; then
8805 if test $wxUSE_RIBBON = no; then
8806 result=yes
8807 else
8808 result=no
8809 fi
8810 else
8811 result=$wxUSE_RIBBON
8812 fi
8813
8814 { echo "$as_me:$LINENO: result: $result" >&5
8815 echo "${ECHO_T}$result" >&6; }
8816
8817
8818 enablestring=
8819 defaultval=$wxUSE_ALL_FEATURES
8820 if test -z "$defaultval"; then
8821 if test x"$enablestring" = xdisable; then
8822 defaultval=yes
8823 else
8824 defaultval=no
8825 fi
8826 fi
8827
8828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8829 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8830 # Check whether --enable-stc was given.
8831 if test "${enable_stc+set}" = set; then
8832 enableval=$enable_stc;
8833 if test "$enableval" = yes; then
8834 wx_cv_use_stc='wxUSE_STC=yes'
8835 else
8836 wx_cv_use_stc='wxUSE_STC=no'
8837 fi
8838
8839 else
8840
8841 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8842
8843 fi
8844
8845
8846 eval "$wx_cv_use_stc"
8847
8848 if test x"$enablestring" = xdisable; then
8849 if test $wxUSE_STC = no; then
8850 result=yes
8851 else
8852 result=no
8853 fi
8854 else
8855 result=$wxUSE_STC
8856 fi
8857
8858 { echo "$as_me:$LINENO: result: $result" >&5
8859 echo "${ECHO_T}$result" >&6; }
8860
8861
8862 enablestring=
8863 defaultval=$wxUSE_ALL_FEATURES
8864 if test -z "$defaultval"; then
8865 if test x"$enablestring" = xdisable; then
8866 defaultval=yes
8867 else
8868 defaultval=no
8869 fi
8870 fi
8871
8872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8873 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8874 # Check whether --enable-constraints was given.
8875 if test "${enable_constraints+set}" = set; then
8876 enableval=$enable_constraints;
8877 if test "$enableval" = yes; then
8878 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8879 else
8880 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8881 fi
8882
8883 else
8884
8885 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8886
8887 fi
8888
8889
8890 eval "$wx_cv_use_constraints"
8891
8892 if test x"$enablestring" = xdisable; then
8893 if test $wxUSE_CONSTRAINTS = no; then
8894 result=yes
8895 else
8896 result=no
8897 fi
8898 else
8899 result=$wxUSE_CONSTRAINTS
8900 fi
8901
8902 { echo "$as_me:$LINENO: result: $result" >&5
8903 echo "${ECHO_T}$result" >&6; }
8904
8905
8906 enablestring=
8907 defaultval=$wxUSE_ALL_FEATURES
8908 if test -z "$defaultval"; then
8909 if test x"$enablestring" = xdisable; then
8910 defaultval=yes
8911 else
8912 defaultval=no
8913 fi
8914 fi
8915
8916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8917 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8918 # Check whether --enable-loggui was given.
8919 if test "${enable_loggui+set}" = set; then
8920 enableval=$enable_loggui;
8921 if test "$enableval" = yes; then
8922 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8923 else
8924 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8925 fi
8926
8927 else
8928
8929 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8930
8931 fi
8932
8933
8934 eval "$wx_cv_use_loggui"
8935
8936 if test x"$enablestring" = xdisable; then
8937 if test $wxUSE_LOGGUI = no; then
8938 result=yes
8939 else
8940 result=no
8941 fi
8942 else
8943 result=$wxUSE_LOGGUI
8944 fi
8945
8946 { echo "$as_me:$LINENO: result: $result" >&5
8947 echo "${ECHO_T}$result" >&6; }
8948
8949
8950 enablestring=
8951 defaultval=$wxUSE_ALL_FEATURES
8952 if test -z "$defaultval"; then
8953 if test x"$enablestring" = xdisable; then
8954 defaultval=yes
8955 else
8956 defaultval=no
8957 fi
8958 fi
8959
8960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8961 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8962 # Check whether --enable-logwin was given.
8963 if test "${enable_logwin+set}" = set; then
8964 enableval=$enable_logwin;
8965 if test "$enableval" = yes; then
8966 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8967 else
8968 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8969 fi
8970
8971 else
8972
8973 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8974
8975 fi
8976
8977
8978 eval "$wx_cv_use_logwin"
8979
8980 if test x"$enablestring" = xdisable; then
8981 if test $wxUSE_LOGWINDOW = no; then
8982 result=yes
8983 else
8984 result=no
8985 fi
8986 else
8987 result=$wxUSE_LOGWINDOW
8988 fi
8989
8990 { echo "$as_me:$LINENO: result: $result" >&5
8991 echo "${ECHO_T}$result" >&6; }
8992
8993
8994 enablestring=
8995 defaultval=$wxUSE_ALL_FEATURES
8996 if test -z "$defaultval"; then
8997 if test x"$enablestring" = xdisable; then
8998 defaultval=yes
8999 else
9000 defaultval=no
9001 fi
9002 fi
9003
9004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9005 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9006 # Check whether --enable-logdialog was given.
9007 if test "${enable_logdialog+set}" = set; then
9008 enableval=$enable_logdialog;
9009 if test "$enableval" = yes; then
9010 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9011 else
9012 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9013 fi
9014
9015 else
9016
9017 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9018
9019 fi
9020
9021
9022 eval "$wx_cv_use_logdialog"
9023
9024 if test x"$enablestring" = xdisable; then
9025 if test $wxUSE_LOGDIALOG = no; then
9026 result=yes
9027 else
9028 result=no
9029 fi
9030 else
9031 result=$wxUSE_LOGDIALOG
9032 fi
9033
9034 { echo "$as_me:$LINENO: result: $result" >&5
9035 echo "${ECHO_T}$result" >&6; }
9036
9037
9038 enablestring=
9039 defaultval=$wxUSE_ALL_FEATURES
9040 if test -z "$defaultval"; then
9041 if test x"$enablestring" = xdisable; then
9042 defaultval=yes
9043 else
9044 defaultval=no
9045 fi
9046 fi
9047
9048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9049 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9050 # Check whether --enable-mdi was given.
9051 if test "${enable_mdi+set}" = set; then
9052 enableval=$enable_mdi;
9053 if test "$enableval" = yes; then
9054 wx_cv_use_mdi='wxUSE_MDI=yes'
9055 else
9056 wx_cv_use_mdi='wxUSE_MDI=no'
9057 fi
9058
9059 else
9060
9061 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9062
9063 fi
9064
9065
9066 eval "$wx_cv_use_mdi"
9067
9068 if test x"$enablestring" = xdisable; then
9069 if test $wxUSE_MDI = no; then
9070 result=yes
9071 else
9072 result=no
9073 fi
9074 else
9075 result=$wxUSE_MDI
9076 fi
9077
9078 { echo "$as_me:$LINENO: result: $result" >&5
9079 echo "${ECHO_T}$result" >&6; }
9080
9081
9082 enablestring=
9083 defaultval=$wxUSE_ALL_FEATURES
9084 if test -z "$defaultval"; then
9085 if test x"$enablestring" = xdisable; then
9086 defaultval=yes
9087 else
9088 defaultval=no
9089 fi
9090 fi
9091
9092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9093 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9094 # Check whether --enable-mdidoc was given.
9095 if test "${enable_mdidoc+set}" = set; then
9096 enableval=$enable_mdidoc;
9097 if test "$enableval" = yes; then
9098 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9099 else
9100 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9101 fi
9102
9103 else
9104
9105 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9106
9107 fi
9108
9109
9110 eval "$wx_cv_use_mdidoc"
9111
9112 if test x"$enablestring" = xdisable; then
9113 if test $wxUSE_MDI_ARCHITECTURE = no; then
9114 result=yes
9115 else
9116 result=no
9117 fi
9118 else
9119 result=$wxUSE_MDI_ARCHITECTURE
9120 fi
9121
9122 { echo "$as_me:$LINENO: result: $result" >&5
9123 echo "${ECHO_T}$result" >&6; }
9124
9125
9126 enablestring=
9127 defaultval=$wxUSE_ALL_FEATURES
9128 if test -z "$defaultval"; then
9129 if test x"$enablestring" = xdisable; then
9130 defaultval=yes
9131 else
9132 defaultval=no
9133 fi
9134 fi
9135
9136 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9137 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9138 # Check whether --enable-mediactrl was given.
9139 if test "${enable_mediactrl+set}" = set; then
9140 enableval=$enable_mediactrl;
9141 if test "$enableval" = yes; then
9142 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9143 else
9144 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9145 fi
9146
9147 else
9148
9149 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9150
9151 fi
9152
9153
9154 eval "$wx_cv_use_mediactrl"
9155
9156 if test x"$enablestring" = xdisable; then
9157 if test $wxUSE_MEDIACTRL = no; then
9158 result=yes
9159 else
9160 result=no
9161 fi
9162 else
9163 result=$wxUSE_MEDIACTRL
9164 fi
9165
9166 { echo "$as_me:$LINENO: result: $result" >&5
9167 echo "${ECHO_T}$result" >&6; }
9168
9169
9170 enablestring=
9171 defaultval=$wxUSE_ALL_FEATURES
9172 if test -z "$defaultval"; then
9173 if test x"$enablestring" = xdisable; then
9174 defaultval=yes
9175 else
9176 defaultval=no
9177 fi
9178 fi
9179
9180 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9181 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9182 # Check whether --enable-gstreamer8 was given.
9183 if test "${enable_gstreamer8+set}" = set; then
9184 enableval=$enable_gstreamer8;
9185 if test "$enableval" = yes; then
9186 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9187 else
9188 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9189 fi
9190
9191 else
9192
9193 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9194
9195 fi
9196
9197
9198 eval "$wx_cv_use_gstreamer8"
9199
9200 if test x"$enablestring" = xdisable; then
9201 if test $wxUSE_GSTREAMER8 = no; then
9202 result=yes
9203 else
9204 result=no
9205 fi
9206 else
9207 result=$wxUSE_GSTREAMER8
9208 fi
9209
9210 { echo "$as_me:$LINENO: result: $result" >&5
9211 echo "${ECHO_T}$result" >&6; }
9212
9213
9214 enablestring=
9215 defaultval=$wxUSE_ALL_FEATURES
9216 if test -z "$defaultval"; then
9217 if test x"$enablestring" = xdisable; then
9218 defaultval=yes
9219 else
9220 defaultval=no
9221 fi
9222 fi
9223
9224 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9225 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9226 # Check whether --enable-webkit was given.
9227 if test "${enable_webkit+set}" = set; then
9228 enableval=$enable_webkit;
9229 if test "$enableval" = yes; then
9230 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9231 else
9232 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9233 fi
9234
9235 else
9236
9237 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9238
9239 fi
9240
9241
9242 eval "$wx_cv_use_webkit"
9243
9244 if test x"$enablestring" = xdisable; then
9245 if test $wxUSE_WEBKIT = no; then
9246 result=yes
9247 else
9248 result=no
9249 fi
9250 else
9251 result=$wxUSE_WEBKIT
9252 fi
9253
9254 { echo "$as_me:$LINENO: result: $result" >&5
9255 echo "${ECHO_T}$result" >&6; }
9256
9257
9258 enablestring=
9259 defaultval=$wxUSE_ALL_FEATURES
9260 if test -z "$defaultval"; then
9261 if test x"$enablestring" = xdisable; then
9262 defaultval=yes
9263 else
9264 defaultval=no
9265 fi
9266 fi
9267
9268 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9269 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9270 # Check whether --enable-richtext was given.
9271 if test "${enable_richtext+set}" = set; then
9272 enableval=$enable_richtext;
9273 if test "$enableval" = yes; then
9274 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9275 else
9276 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9277 fi
9278
9279 else
9280
9281 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9282
9283 fi
9284
9285
9286 eval "$wx_cv_use_richtext"
9287
9288 if test x"$enablestring" = xdisable; then
9289 if test $wxUSE_RICHTEXT = no; then
9290 result=yes
9291 else
9292 result=no
9293 fi
9294 else
9295 result=$wxUSE_RICHTEXT
9296 fi
9297
9298 { echo "$as_me:$LINENO: result: $result" >&5
9299 echo "${ECHO_T}$result" >&6; }
9300
9301
9302 enablestring=
9303 defaultval=$wxUSE_ALL_FEATURES
9304 if test -z "$defaultval"; then
9305 if test x"$enablestring" = xdisable; then
9306 defaultval=yes
9307 else
9308 defaultval=no
9309 fi
9310 fi
9311
9312 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9313 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9314 # Check whether --enable-postscript was given.
9315 if test "${enable_postscript+set}" = set; then
9316 enableval=$enable_postscript;
9317 if test "$enableval" = yes; then
9318 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9319 else
9320 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9321 fi
9322
9323 else
9324
9325 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9326
9327 fi
9328
9329
9330 eval "$wx_cv_use_postscript"
9331
9332 if test x"$enablestring" = xdisable; then
9333 if test $wxUSE_POSTSCRIPT = no; then
9334 result=yes
9335 else
9336 result=no
9337 fi
9338 else
9339 result=$wxUSE_POSTSCRIPT
9340 fi
9341
9342 { echo "$as_me:$LINENO: result: $result" >&5
9343 echo "${ECHO_T}$result" >&6; }
9344
9345
9346 enablestring=
9347 defaultval=$wxUSE_ALL_FEATURES
9348 if test -z "$defaultval"; then
9349 if test x"$enablestring" = xdisable; then
9350 defaultval=yes
9351 else
9352 defaultval=no
9353 fi
9354 fi
9355
9356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9357 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9358 # Check whether --enable-printarch was given.
9359 if test "${enable_printarch+set}" = set; then
9360 enableval=$enable_printarch;
9361 if test "$enableval" = yes; then
9362 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9363 else
9364 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9365 fi
9366
9367 else
9368
9369 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9370
9371 fi
9372
9373
9374 eval "$wx_cv_use_printarch"
9375
9376 if test x"$enablestring" = xdisable; then
9377 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9378 result=yes
9379 else
9380 result=no
9381 fi
9382 else
9383 result=$wxUSE_PRINTING_ARCHITECTURE
9384 fi
9385
9386 { echo "$as_me:$LINENO: result: $result" >&5
9387 echo "${ECHO_T}$result" >&6; }
9388
9389
9390 enablestring=
9391 defaultval=$wxUSE_ALL_FEATURES
9392 if test -z "$defaultval"; then
9393 if test x"$enablestring" = xdisable; then
9394 defaultval=yes
9395 else
9396 defaultval=no
9397 fi
9398 fi
9399
9400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9401 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9402 # Check whether --enable-svg was given.
9403 if test "${enable_svg+set}" = set; then
9404 enableval=$enable_svg;
9405 if test "$enableval" = yes; then
9406 wx_cv_use_svg='wxUSE_SVG=yes'
9407 else
9408 wx_cv_use_svg='wxUSE_SVG=no'
9409 fi
9410
9411 else
9412
9413 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9414
9415 fi
9416
9417
9418 eval "$wx_cv_use_svg"
9419
9420 if test x"$enablestring" = xdisable; then
9421 if test $wxUSE_SVG = no; then
9422 result=yes
9423 else
9424 result=no
9425 fi
9426 else
9427 result=$wxUSE_SVG
9428 fi
9429
9430 { echo "$as_me:$LINENO: result: $result" >&5
9431 echo "${ECHO_T}$result" >&6; }
9432
9433
9434 if test "$wxUSE_MAC" != 1; then
9435
9436 enablestring=
9437 defaultval=$wxUSE_ALL_FEATURES
9438 if test -z "$defaultval"; then
9439 if test x"$enablestring" = xdisable; then
9440 defaultval=yes
9441 else
9442 defaultval=no
9443 fi
9444 fi
9445
9446 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9447 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9448 # Check whether --enable-graphics_ctx was given.
9449 if test "${enable_graphics_ctx+set}" = set; then
9450 enableval=$enable_graphics_ctx;
9451 if test "$enableval" = yes; then
9452 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9453 else
9454 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9455 fi
9456
9457 else
9458
9459 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9460
9461 fi
9462
9463
9464 eval "$wx_cv_use_graphics_ctx"
9465
9466 if test x"$enablestring" = xdisable; then
9467 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9468 result=yes
9469 else
9470 result=no
9471 fi
9472 else
9473 result=$wxUSE_GRAPHICS_CONTEXT
9474 fi
9475
9476 { echo "$as_me:$LINENO: result: $result" >&5
9477 echo "${ECHO_T}$result" >&6; }
9478
9479 fi
9480
9481
9482
9483 enablestring=
9484 defaultval=$wxUSE_ALL_FEATURES
9485 if test -z "$defaultval"; then
9486 if test x"$enablestring" = xdisable; then
9487 defaultval=yes
9488 else
9489 defaultval=no
9490 fi
9491 fi
9492
9493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9494 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9495 # Check whether --enable-clipboard was given.
9496 if test "${enable_clipboard+set}" = set; then
9497 enableval=$enable_clipboard;
9498 if test "$enableval" = yes; then
9499 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9500 else
9501 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9502 fi
9503
9504 else
9505
9506 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9507
9508 fi
9509
9510
9511 eval "$wx_cv_use_clipboard"
9512
9513 if test x"$enablestring" = xdisable; then
9514 if test $wxUSE_CLIPBOARD = no; then
9515 result=yes
9516 else
9517 result=no
9518 fi
9519 else
9520 result=$wxUSE_CLIPBOARD
9521 fi
9522
9523 { echo "$as_me:$LINENO: result: $result" >&5
9524 echo "${ECHO_T}$result" >&6; }
9525
9526
9527 enablestring=
9528 defaultval=$wxUSE_ALL_FEATURES
9529 if test -z "$defaultval"; then
9530 if test x"$enablestring" = xdisable; then
9531 defaultval=yes
9532 else
9533 defaultval=no
9534 fi
9535 fi
9536
9537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9538 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9539 # Check whether --enable-dnd was given.
9540 if test "${enable_dnd+set}" = set; then
9541 enableval=$enable_dnd;
9542 if test "$enableval" = yes; then
9543 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9544 else
9545 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9546 fi
9547
9548 else
9549
9550 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9551
9552 fi
9553
9554
9555 eval "$wx_cv_use_dnd"
9556
9557 if test x"$enablestring" = xdisable; then
9558 if test $wxUSE_DRAG_AND_DROP = no; then
9559 result=yes
9560 else
9561 result=no
9562 fi
9563 else
9564 result=$wxUSE_DRAG_AND_DROP
9565 fi
9566
9567 { echo "$as_me:$LINENO: result: $result" >&5
9568 echo "${ECHO_T}$result" >&6; }
9569
9570
9571 enablestring=
9572 defaultval=$wxUSE_ALL_FEATURES
9573 if test -z "$defaultval"; then
9574 if test x"$enablestring" = xdisable; then
9575 defaultval=yes
9576 else
9577 defaultval=no
9578 fi
9579 fi
9580
9581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9582 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9583 # Check whether --enable-metafile was given.
9584 if test "${enable_metafile+set}" = set; then
9585 enableval=$enable_metafile;
9586 if test "$enableval" = yes; then
9587 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9588 else
9589 wx_cv_use_metafile='wxUSE_METAFILE=no'
9590 fi
9591
9592 else
9593
9594 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9595
9596 fi
9597
9598
9599 eval "$wx_cv_use_metafile"
9600
9601 if test x"$enablestring" = xdisable; then
9602 if test $wxUSE_METAFILE = no; then
9603 result=yes
9604 else
9605 result=no
9606 fi
9607 else
9608 result=$wxUSE_METAFILE
9609 fi
9610
9611 { echo "$as_me:$LINENO: result: $result" >&5
9612 echo "${ECHO_T}$result" >&6; }
9613
9614
9615
9616 DEFAULT_wxUSE_CONTROLS=none
9617
9618 enablestring=disable
9619 defaultval=
9620 if test -z "$defaultval"; then
9621 if test x"$enablestring" = xdisable; then
9622 defaultval=yes
9623 else
9624 defaultval=no
9625 fi
9626 fi
9627
9628 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9629 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9630 # Check whether --enable-controls was given.
9631 if test "${enable_controls+set}" = set; then
9632 enableval=$enable_controls;
9633 if test "$enableval" = yes; then
9634 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9635 else
9636 wx_cv_use_controls='wxUSE_CONTROLS=no'
9637 fi
9638
9639 else
9640
9641 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9642
9643 fi
9644
9645
9646 eval "$wx_cv_use_controls"
9647
9648 if test x"$enablestring" = xdisable; then
9649 if test $wxUSE_CONTROLS = no; then
9650 result=yes
9651 else
9652 result=no
9653 fi
9654 else
9655 result=$wxUSE_CONTROLS
9656 fi
9657
9658 { echo "$as_me:$LINENO: result: $result" >&5
9659 echo "${ECHO_T}$result" >&6; }
9660
9661
9662 if test "$wxUSE_CONTROLS" = "no"; then
9663 DEFAULT_wxUSE_ACCEL=no
9664 DEFAULT_wxUSE_ANIMATIONCTRL=no
9665 DEFAULT_wxUSE_BMPBUTTON=no
9666 DEFAULT_wxUSE_BUTTON=no
9667 DEFAULT_wxUSE_CALCTRL=no
9668 DEFAULT_wxUSE_CARET=no
9669 DEFAULT_wxUSE_CHECKBOX=no
9670 DEFAULT_wxUSE_CHECKLISTBOX=no
9671 DEFAULT_wxUSE_CHOICE=no
9672 DEFAULT_wxUSE_CHOICEBOOK=no
9673 DEFAULT_wxUSE_COLLPANE=no
9674 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9675 DEFAULT_wxUSE_COMBOBOX=no
9676 DEFAULT_wxUSE_COMBOBOX=no
9677 DEFAULT_wxUSE_DATAVIEWCTRL=no
9678 DEFAULT_wxUSE_DATEPICKCTRL=no
9679 DEFAULT_wxUSE_DETECT_SM=no
9680 DEFAULT_wxUSE_DIRPICKERCTRL=no
9681 DEFAULT_wxUSE_DISPLAY=no
9682 DEFAULT_wxUSE_FILECTRL=no
9683 DEFAULT_wxUSE_FILEPICKERCTRL=no
9684 DEFAULT_wxUSE_FONTPICKERCTRL=no
9685 DEFAULT_wxUSE_GAUGE=no
9686 DEFAULT_wxUSE_GRID=no
9687 DEFAULT_wxUSE_HEADERCTRL=no
9688 DEFAULT_wxUSE_HYPERLINKCTRL=no
9689 DEFAULT_wxUSE_IMAGLIST=no
9690 DEFAULT_wxUSE_LISTBOOK=no
9691 DEFAULT_wxUSE_LISTBOX=no
9692 DEFAULT_wxUSE_LISTCTRL=no
9693 DEFAULT_wxUSE_NOTEBOOK=no
9694 DEFAULT_wxUSE_POPUPWIN=no
9695 DEFAULT_wxUSE_RADIOBOX=no
9696 DEFAULT_wxUSE_RADIOBTN=no
9697 DEFAULT_wxUSE_REARRANGECTRL=no
9698 DEFAULT_wxUSE_SASH=no
9699 DEFAULT_wxUSE_SCROLLBAR=no
9700 DEFAULT_wxUSE_SEARCHCTRL=no
9701 DEFAULT_wxUSE_SLIDER=no
9702 DEFAULT_wxUSE_SPINBTN=no
9703 DEFAULT_wxUSE_SPINCTRL=no
9704 DEFAULT_wxUSE_SPLITTER=no
9705 DEFAULT_wxUSE_STATBMP=no
9706 DEFAULT_wxUSE_STATBOX=no
9707 DEFAULT_wxUSE_STATLINE=no
9708 DEFAULT_wxUSE_STATUSBAR=no
9709 DEFAULT_wxUSE_TIPWINDOW=no
9710 DEFAULT_wxUSE_TOGGLEBTN=no
9711 DEFAULT_wxUSE_TOOLBAR=no
9712 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9713 DEFAULT_wxUSE_TOOLBOOK=no
9714 DEFAULT_wxUSE_TOOLTIPS=no
9715 DEFAULT_wxUSE_TREEBOOK=no
9716 DEFAULT_wxUSE_TREECTRL=no
9717 fi
9718
9719
9720 enablestring=
9721 defaultval=$wxUSE_ALL_FEATURES
9722 if test -z "$defaultval"; then
9723 if test x"$enablestring" = xdisable; then
9724 defaultval=yes
9725 else
9726 defaultval=no
9727 fi
9728 fi
9729
9730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9731 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9732 # Check whether --enable-accel was given.
9733 if test "${enable_accel+set}" = set; then
9734 enableval=$enable_accel;
9735 if test "$enableval" = yes; then
9736 wx_cv_use_accel='wxUSE_ACCEL=yes'
9737 else
9738 wx_cv_use_accel='wxUSE_ACCEL=no'
9739 fi
9740
9741 else
9742
9743 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9744
9745 fi
9746
9747
9748 eval "$wx_cv_use_accel"
9749
9750 if test x"$enablestring" = xdisable; then
9751 if test $wxUSE_ACCEL = no; then
9752 result=yes
9753 else
9754 result=no
9755 fi
9756 else
9757 result=$wxUSE_ACCEL
9758 fi
9759
9760 { echo "$as_me:$LINENO: result: $result" >&5
9761 echo "${ECHO_T}$result" >&6; }
9762
9763
9764 enablestring=
9765 defaultval=$wxUSE_ALL_FEATURES
9766 if test -z "$defaultval"; then
9767 if test x"$enablestring" = xdisable; then
9768 defaultval=yes
9769 else
9770 defaultval=no
9771 fi
9772 fi
9773
9774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9775 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9776 # Check whether --enable-animatectrl was given.
9777 if test "${enable_animatectrl+set}" = set; then
9778 enableval=$enable_animatectrl;
9779 if test "$enableval" = yes; then
9780 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9781 else
9782 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9783 fi
9784
9785 else
9786
9787 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9788
9789 fi
9790
9791
9792 eval "$wx_cv_use_animatectrl"
9793
9794 if test x"$enablestring" = xdisable; then
9795 if test $wxUSE_ANIMATIONCTRL = no; then
9796 result=yes
9797 else
9798 result=no
9799 fi
9800 else
9801 result=$wxUSE_ANIMATIONCTRL
9802 fi
9803
9804 { echo "$as_me:$LINENO: result: $result" >&5
9805 echo "${ECHO_T}$result" >&6; }
9806
9807
9808 enablestring=
9809 defaultval=$wxUSE_ALL_FEATURES
9810 if test -z "$defaultval"; then
9811 if test x"$enablestring" = xdisable; then
9812 defaultval=yes
9813 else
9814 defaultval=no
9815 fi
9816 fi
9817
9818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9819 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9820 # Check whether --enable-bmpbutton was given.
9821 if test "${enable_bmpbutton+set}" = set; then
9822 enableval=$enable_bmpbutton;
9823 if test "$enableval" = yes; then
9824 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9825 else
9826 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9827 fi
9828
9829 else
9830
9831 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9832
9833 fi
9834
9835
9836 eval "$wx_cv_use_bmpbutton"
9837
9838 if test x"$enablestring" = xdisable; then
9839 if test $wxUSE_BMPBUTTON = no; then
9840 result=yes
9841 else
9842 result=no
9843 fi
9844 else
9845 result=$wxUSE_BMPBUTTON
9846 fi
9847
9848 { echo "$as_me:$LINENO: result: $result" >&5
9849 echo "${ECHO_T}$result" >&6; }
9850
9851
9852 enablestring=
9853 defaultval=$wxUSE_ALL_FEATURES
9854 if test -z "$defaultval"; then
9855 if test x"$enablestring" = xdisable; then
9856 defaultval=yes
9857 else
9858 defaultval=no
9859 fi
9860 fi
9861
9862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9863 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9864 # Check whether --enable-bmpcombobox was given.
9865 if test "${enable_bmpcombobox+set}" = set; then
9866 enableval=$enable_bmpcombobox;
9867 if test "$enableval" = yes; then
9868 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9869 else
9870 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9871 fi
9872
9873 else
9874
9875 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9876
9877 fi
9878
9879
9880 eval "$wx_cv_use_bmpcombobox"
9881
9882 if test x"$enablestring" = xdisable; then
9883 if test $wxUSE_BITMAPCOMBOBOX = no; then
9884 result=yes
9885 else
9886 result=no
9887 fi
9888 else
9889 result=$wxUSE_BITMAPCOMBOBOX
9890 fi
9891
9892 { echo "$as_me:$LINENO: result: $result" >&5
9893 echo "${ECHO_T}$result" >&6; }
9894
9895
9896 enablestring=
9897 defaultval=$wxUSE_ALL_FEATURES
9898 if test -z "$defaultval"; then
9899 if test x"$enablestring" = xdisable; then
9900 defaultval=yes
9901 else
9902 defaultval=no
9903 fi
9904 fi
9905
9906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9907 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9908 # Check whether --enable-button was given.
9909 if test "${enable_button+set}" = set; then
9910 enableval=$enable_button;
9911 if test "$enableval" = yes; then
9912 wx_cv_use_button='wxUSE_BUTTON=yes'
9913 else
9914 wx_cv_use_button='wxUSE_BUTTON=no'
9915 fi
9916
9917 else
9918
9919 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9920
9921 fi
9922
9923
9924 eval "$wx_cv_use_button"
9925
9926 if test x"$enablestring" = xdisable; then
9927 if test $wxUSE_BUTTON = no; then
9928 result=yes
9929 else
9930 result=no
9931 fi
9932 else
9933 result=$wxUSE_BUTTON
9934 fi
9935
9936 { echo "$as_me:$LINENO: result: $result" >&5
9937 echo "${ECHO_T}$result" >&6; }
9938
9939
9940 enablestring=
9941 defaultval=$wxUSE_ALL_FEATURES
9942 if test -z "$defaultval"; then
9943 if test x"$enablestring" = xdisable; then
9944 defaultval=yes
9945 else
9946 defaultval=no
9947 fi
9948 fi
9949
9950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9951 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9952 # Check whether --enable-calendar was given.
9953 if test "${enable_calendar+set}" = set; then
9954 enableval=$enable_calendar;
9955 if test "$enableval" = yes; then
9956 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9957 else
9958 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9959 fi
9960
9961 else
9962
9963 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9964
9965 fi
9966
9967
9968 eval "$wx_cv_use_calendar"
9969
9970 if test x"$enablestring" = xdisable; then
9971 if test $wxUSE_CALCTRL = no; then
9972 result=yes
9973 else
9974 result=no
9975 fi
9976 else
9977 result=$wxUSE_CALCTRL
9978 fi
9979
9980 { echo "$as_me:$LINENO: result: $result" >&5
9981 echo "${ECHO_T}$result" >&6; }
9982
9983
9984 enablestring=
9985 defaultval=$wxUSE_ALL_FEATURES
9986 if test -z "$defaultval"; then
9987 if test x"$enablestring" = xdisable; then
9988 defaultval=yes
9989 else
9990 defaultval=no
9991 fi
9992 fi
9993
9994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9995 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9996 # Check whether --enable-caret was given.
9997 if test "${enable_caret+set}" = set; then
9998 enableval=$enable_caret;
9999 if test "$enableval" = yes; then
10000 wx_cv_use_caret='wxUSE_CARET=yes'
10001 else
10002 wx_cv_use_caret='wxUSE_CARET=no'
10003 fi
10004
10005 else
10006
10007 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10008
10009 fi
10010
10011
10012 eval "$wx_cv_use_caret"
10013
10014 if test x"$enablestring" = xdisable; then
10015 if test $wxUSE_CARET = no; then
10016 result=yes
10017 else
10018 result=no
10019 fi
10020 else
10021 result=$wxUSE_CARET
10022 fi
10023
10024 { echo "$as_me:$LINENO: result: $result" >&5
10025 echo "${ECHO_T}$result" >&6; }
10026
10027
10028 enablestring=
10029 defaultval=$wxUSE_ALL_FEATURES
10030 if test -z "$defaultval"; then
10031 if test x"$enablestring" = xdisable; then
10032 defaultval=yes
10033 else
10034 defaultval=no
10035 fi
10036 fi
10037
10038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10039 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10040 # Check whether --enable-checkbox was given.
10041 if test "${enable_checkbox+set}" = set; then
10042 enableval=$enable_checkbox;
10043 if test "$enableval" = yes; then
10044 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10045 else
10046 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10047 fi
10048
10049 else
10050
10051 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10052
10053 fi
10054
10055
10056 eval "$wx_cv_use_checkbox"
10057
10058 if test x"$enablestring" = xdisable; then
10059 if test $wxUSE_CHECKBOX = no; then
10060 result=yes
10061 else
10062 result=no
10063 fi
10064 else
10065 result=$wxUSE_CHECKBOX
10066 fi
10067
10068 { echo "$as_me:$LINENO: result: $result" >&5
10069 echo "${ECHO_T}$result" >&6; }
10070
10071
10072 enablestring=
10073 defaultval=$wxUSE_ALL_FEATURES
10074 if test -z "$defaultval"; then
10075 if test x"$enablestring" = xdisable; then
10076 defaultval=yes
10077 else
10078 defaultval=no
10079 fi
10080 fi
10081
10082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10083 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10084 # Check whether --enable-checklst was given.
10085 if test "${enable_checklst+set}" = set; then
10086 enableval=$enable_checklst;
10087 if test "$enableval" = yes; then
10088 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10089 else
10090 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10091 fi
10092
10093 else
10094
10095 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10096
10097 fi
10098
10099
10100 eval "$wx_cv_use_checklst"
10101
10102 if test x"$enablestring" = xdisable; then
10103 if test $wxUSE_CHECKLST = no; then
10104 result=yes
10105 else
10106 result=no
10107 fi
10108 else
10109 result=$wxUSE_CHECKLST
10110 fi
10111
10112 { echo "$as_me:$LINENO: result: $result" >&5
10113 echo "${ECHO_T}$result" >&6; }
10114
10115
10116 enablestring=
10117 defaultval=$wxUSE_ALL_FEATURES
10118 if test -z "$defaultval"; then
10119 if test x"$enablestring" = xdisable; then
10120 defaultval=yes
10121 else
10122 defaultval=no
10123 fi
10124 fi
10125
10126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10127 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10128 # Check whether --enable-choice was given.
10129 if test "${enable_choice+set}" = set; then
10130 enableval=$enable_choice;
10131 if test "$enableval" = yes; then
10132 wx_cv_use_choice='wxUSE_CHOICE=yes'
10133 else
10134 wx_cv_use_choice='wxUSE_CHOICE=no'
10135 fi
10136
10137 else
10138
10139 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10140
10141 fi
10142
10143
10144 eval "$wx_cv_use_choice"
10145
10146 if test x"$enablestring" = xdisable; then
10147 if test $wxUSE_CHOICE = no; then
10148 result=yes
10149 else
10150 result=no
10151 fi
10152 else
10153 result=$wxUSE_CHOICE
10154 fi
10155
10156 { echo "$as_me:$LINENO: result: $result" >&5
10157 echo "${ECHO_T}$result" >&6; }
10158
10159
10160 enablestring=
10161 defaultval=$wxUSE_ALL_FEATURES
10162 if test -z "$defaultval"; then
10163 if test x"$enablestring" = xdisable; then
10164 defaultval=yes
10165 else
10166 defaultval=no
10167 fi
10168 fi
10169
10170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10171 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10172 # Check whether --enable-choicebook was given.
10173 if test "${enable_choicebook+set}" = set; then
10174 enableval=$enable_choicebook;
10175 if test "$enableval" = yes; then
10176 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10177 else
10178 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10179 fi
10180
10181 else
10182
10183 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10184
10185 fi
10186
10187
10188 eval "$wx_cv_use_choicebook"
10189
10190 if test x"$enablestring" = xdisable; then
10191 if test $wxUSE_CHOICEBOOK = no; then
10192 result=yes
10193 else
10194 result=no
10195 fi
10196 else
10197 result=$wxUSE_CHOICEBOOK
10198 fi
10199
10200 { echo "$as_me:$LINENO: result: $result" >&5
10201 echo "${ECHO_T}$result" >&6; }
10202
10203
10204 enablestring=
10205 defaultval=$wxUSE_ALL_FEATURES
10206 if test -z "$defaultval"; then
10207 if test x"$enablestring" = xdisable; then
10208 defaultval=yes
10209 else
10210 defaultval=no
10211 fi
10212 fi
10213
10214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10215 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10216 # Check whether --enable-collpane was given.
10217 if test "${enable_collpane+set}" = set; then
10218 enableval=$enable_collpane;
10219 if test "$enableval" = yes; then
10220 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10221 else
10222 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10223 fi
10224
10225 else
10226
10227 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10228
10229 fi
10230
10231
10232 eval "$wx_cv_use_collpane"
10233
10234 if test x"$enablestring" = xdisable; then
10235 if test $wxUSE_COLLPANE = no; then
10236 result=yes
10237 else
10238 result=no
10239 fi
10240 else
10241 result=$wxUSE_COLLPANE
10242 fi
10243
10244 { echo "$as_me:$LINENO: result: $result" >&5
10245 echo "${ECHO_T}$result" >&6; }
10246
10247
10248 enablestring=
10249 defaultval=$wxUSE_ALL_FEATURES
10250 if test -z "$defaultval"; then
10251 if test x"$enablestring" = xdisable; then
10252 defaultval=yes
10253 else
10254 defaultval=no
10255 fi
10256 fi
10257
10258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10259 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10260 # Check whether --enable-colourpicker was given.
10261 if test "${enable_colourpicker+set}" = set; then
10262 enableval=$enable_colourpicker;
10263 if test "$enableval" = yes; then
10264 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10265 else
10266 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10267 fi
10268
10269 else
10270
10271 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10272
10273 fi
10274
10275
10276 eval "$wx_cv_use_colourpicker"
10277
10278 if test x"$enablestring" = xdisable; then
10279 if test $wxUSE_COLOURPICKERCTRL = no; then
10280 result=yes
10281 else
10282 result=no
10283 fi
10284 else
10285 result=$wxUSE_COLOURPICKERCTRL
10286 fi
10287
10288 { echo "$as_me:$LINENO: result: $result" >&5
10289 echo "${ECHO_T}$result" >&6; }
10290
10291
10292 enablestring=
10293 defaultval=$wxUSE_ALL_FEATURES
10294 if test -z "$defaultval"; then
10295 if test x"$enablestring" = xdisable; then
10296 defaultval=yes
10297 else
10298 defaultval=no
10299 fi
10300 fi
10301
10302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10303 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10304 # Check whether --enable-combobox was given.
10305 if test "${enable_combobox+set}" = set; then
10306 enableval=$enable_combobox;
10307 if test "$enableval" = yes; then
10308 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10309 else
10310 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10311 fi
10312
10313 else
10314
10315 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10316
10317 fi
10318
10319
10320 eval "$wx_cv_use_combobox"
10321
10322 if test x"$enablestring" = xdisable; then
10323 if test $wxUSE_COMBOBOX = no; then
10324 result=yes
10325 else
10326 result=no
10327 fi
10328 else
10329 result=$wxUSE_COMBOBOX
10330 fi
10331
10332 { echo "$as_me:$LINENO: result: $result" >&5
10333 echo "${ECHO_T}$result" >&6; }
10334
10335
10336 enablestring=
10337 defaultval=$wxUSE_ALL_FEATURES
10338 if test -z "$defaultval"; then
10339 if test x"$enablestring" = xdisable; then
10340 defaultval=yes
10341 else
10342 defaultval=no
10343 fi
10344 fi
10345
10346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10347 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10348 # Check whether --enable-comboctrl was given.
10349 if test "${enable_comboctrl+set}" = set; then
10350 enableval=$enable_comboctrl;
10351 if test "$enableval" = yes; then
10352 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10353 else
10354 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10355 fi
10356
10357 else
10358
10359 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10360
10361 fi
10362
10363
10364 eval "$wx_cv_use_comboctrl"
10365
10366 if test x"$enablestring" = xdisable; then
10367 if test $wxUSE_COMBOCTRL = no; then
10368 result=yes
10369 else
10370 result=no
10371 fi
10372 else
10373 result=$wxUSE_COMBOCTRL
10374 fi
10375
10376 { echo "$as_me:$LINENO: result: $result" >&5
10377 echo "${ECHO_T}$result" >&6; }
10378
10379
10380 enablestring=
10381 defaultval=$wxUSE_ALL_FEATURES
10382 if test -z "$defaultval"; then
10383 if test x"$enablestring" = xdisable; then
10384 defaultval=yes
10385 else
10386 defaultval=no
10387 fi
10388 fi
10389
10390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10391 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10392 # Check whether --enable-dataviewctrl was given.
10393 if test "${enable_dataviewctrl+set}" = set; then
10394 enableval=$enable_dataviewctrl;
10395 if test "$enableval" = yes; then
10396 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10397 else
10398 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10399 fi
10400
10401 else
10402
10403 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10404
10405 fi
10406
10407
10408 eval "$wx_cv_use_dataviewctrl"
10409
10410 if test x"$enablestring" = xdisable; then
10411 if test $wxUSE_DATAVIEWCTRL = no; then
10412 result=yes
10413 else
10414 result=no
10415 fi
10416 else
10417 result=$wxUSE_DATAVIEWCTRL
10418 fi
10419
10420 { echo "$as_me:$LINENO: result: $result" >&5
10421 echo "${ECHO_T}$result" >&6; }
10422
10423
10424 enablestring=
10425 defaultval=$wxUSE_ALL_FEATURES
10426 if test -z "$defaultval"; then
10427 if test x"$enablestring" = xdisable; then
10428 defaultval=yes
10429 else
10430 defaultval=no
10431 fi
10432 fi
10433
10434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10435 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10436 # Check whether --enable-datepick was given.
10437 if test "${enable_datepick+set}" = set; then
10438 enableval=$enable_datepick;
10439 if test "$enableval" = yes; then
10440 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10441 else
10442 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10443 fi
10444
10445 else
10446
10447 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10448
10449 fi
10450
10451
10452 eval "$wx_cv_use_datepick"
10453
10454 if test x"$enablestring" = xdisable; then
10455 if test $wxUSE_DATEPICKCTRL = no; then
10456 result=yes
10457 else
10458 result=no
10459 fi
10460 else
10461 result=$wxUSE_DATEPICKCTRL
10462 fi
10463
10464 { echo "$as_me:$LINENO: result: $result" >&5
10465 echo "${ECHO_T}$result" >&6; }
10466
10467
10468 enablestring=
10469 defaultval=$wxUSE_ALL_FEATURES
10470 if test -z "$defaultval"; then
10471 if test x"$enablestring" = xdisable; then
10472 defaultval=yes
10473 else
10474 defaultval=no
10475 fi
10476 fi
10477
10478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10479 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10480 # Check whether --enable-detect_sm was given.
10481 if test "${enable_detect_sm+set}" = set; then
10482 enableval=$enable_detect_sm;
10483 if test "$enableval" = yes; then
10484 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10485 else
10486 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10487 fi
10488
10489 else
10490
10491 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10492
10493 fi
10494
10495
10496 eval "$wx_cv_use_detect_sm"
10497
10498 if test x"$enablestring" = xdisable; then
10499 if test $wxUSE_DETECT_SM = no; then
10500 result=yes
10501 else
10502 result=no
10503 fi
10504 else
10505 result=$wxUSE_DETECT_SM
10506 fi
10507
10508 { echo "$as_me:$LINENO: result: $result" >&5
10509 echo "${ECHO_T}$result" >&6; }
10510
10511
10512 enablestring=
10513 defaultval=$wxUSE_ALL_FEATURES
10514 if test -z "$defaultval"; then
10515 if test x"$enablestring" = xdisable; then
10516 defaultval=yes
10517 else
10518 defaultval=no
10519 fi
10520 fi
10521
10522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10523 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10524 # Check whether --enable-dirpicker was given.
10525 if test "${enable_dirpicker+set}" = set; then
10526 enableval=$enable_dirpicker;
10527 if test "$enableval" = yes; then
10528 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10529 else
10530 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10531 fi
10532
10533 else
10534
10535 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10536
10537 fi
10538
10539
10540 eval "$wx_cv_use_dirpicker"
10541
10542 if test x"$enablestring" = xdisable; then
10543 if test $wxUSE_DIRPICKERCTRL = no; then
10544 result=yes
10545 else
10546 result=no
10547 fi
10548 else
10549 result=$wxUSE_DIRPICKERCTRL
10550 fi
10551
10552 { echo "$as_me:$LINENO: result: $result" >&5
10553 echo "${ECHO_T}$result" >&6; }
10554
10555
10556 enablestring=
10557 defaultval=$wxUSE_ALL_FEATURES
10558 if test -z "$defaultval"; then
10559 if test x"$enablestring" = xdisable; then
10560 defaultval=yes
10561 else
10562 defaultval=no
10563 fi
10564 fi
10565
10566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10567 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10568 # Check whether --enable-display was given.
10569 if test "${enable_display+set}" = set; then
10570 enableval=$enable_display;
10571 if test "$enableval" = yes; then
10572 wx_cv_use_display='wxUSE_DISPLAY=yes'
10573 else
10574 wx_cv_use_display='wxUSE_DISPLAY=no'
10575 fi
10576
10577 else
10578
10579 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10580
10581 fi
10582
10583
10584 eval "$wx_cv_use_display"
10585
10586 if test x"$enablestring" = xdisable; then
10587 if test $wxUSE_DISPLAY = no; then
10588 result=yes
10589 else
10590 result=no
10591 fi
10592 else
10593 result=$wxUSE_DISPLAY
10594 fi
10595
10596 { echo "$as_me:$LINENO: result: $result" >&5
10597 echo "${ECHO_T}$result" >&6; }
10598
10599
10600 enablestring=
10601 defaultval=$wxUSE_ALL_FEATURES
10602 if test -z "$defaultval"; then
10603 if test x"$enablestring" = xdisable; then
10604 defaultval=yes
10605 else
10606 defaultval=no
10607 fi
10608 fi
10609
10610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10611 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10612 # Check whether --enable-editablebox was given.
10613 if test "${enable_editablebox+set}" = set; then
10614 enableval=$enable_editablebox;
10615 if test "$enableval" = yes; then
10616 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10617 else
10618 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10619 fi
10620
10621 else
10622
10623 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10624
10625 fi
10626
10627
10628 eval "$wx_cv_use_editablebox"
10629
10630 if test x"$enablestring" = xdisable; then
10631 if test $wxUSE_EDITABLELISTBOX = no; then
10632 result=yes
10633 else
10634 result=no
10635 fi
10636 else
10637 result=$wxUSE_EDITABLELISTBOX
10638 fi
10639
10640 { echo "$as_me:$LINENO: result: $result" >&5
10641 echo "${ECHO_T}$result" >&6; }
10642
10643
10644 enablestring=
10645 defaultval=$wxUSE_ALL_FEATURES
10646 if test -z "$defaultval"; then
10647 if test x"$enablestring" = xdisable; then
10648 defaultval=yes
10649 else
10650 defaultval=no
10651 fi
10652 fi
10653
10654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10655 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10656 # Check whether --enable-filectrl was given.
10657 if test "${enable_filectrl+set}" = set; then
10658 enableval=$enable_filectrl;
10659 if test "$enableval" = yes; then
10660 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10661 else
10662 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10663 fi
10664
10665 else
10666
10667 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10668
10669 fi
10670
10671
10672 eval "$wx_cv_use_filectrl"
10673
10674 if test x"$enablestring" = xdisable; then
10675 if test $wxUSE_FILECTRL = no; then
10676 result=yes
10677 else
10678 result=no
10679 fi
10680 else
10681 result=$wxUSE_FILECTRL
10682 fi
10683
10684 { echo "$as_me:$LINENO: result: $result" >&5
10685 echo "${ECHO_T}$result" >&6; }
10686
10687
10688 enablestring=
10689 defaultval=$wxUSE_ALL_FEATURES
10690 if test -z "$defaultval"; then
10691 if test x"$enablestring" = xdisable; then
10692 defaultval=yes
10693 else
10694 defaultval=no
10695 fi
10696 fi
10697
10698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10699 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10700 # Check whether --enable-filepicker was given.
10701 if test "${enable_filepicker+set}" = set; then
10702 enableval=$enable_filepicker;
10703 if test "$enableval" = yes; then
10704 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10705 else
10706 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10707 fi
10708
10709 else
10710
10711 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10712
10713 fi
10714
10715
10716 eval "$wx_cv_use_filepicker"
10717
10718 if test x"$enablestring" = xdisable; then
10719 if test $wxUSE_FILEPICKERCTRL = no; then
10720 result=yes
10721 else
10722 result=no
10723 fi
10724 else
10725 result=$wxUSE_FILEPICKERCTRL
10726 fi
10727
10728 { echo "$as_me:$LINENO: result: $result" >&5
10729 echo "${ECHO_T}$result" >&6; }
10730
10731
10732 enablestring=
10733 defaultval=$wxUSE_ALL_FEATURES
10734 if test -z "$defaultval"; then
10735 if test x"$enablestring" = xdisable; then
10736 defaultval=yes
10737 else
10738 defaultval=no
10739 fi
10740 fi
10741
10742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10743 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10744 # Check whether --enable-fontpicker was given.
10745 if test "${enable_fontpicker+set}" = set; then
10746 enableval=$enable_fontpicker;
10747 if test "$enableval" = yes; then
10748 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10749 else
10750 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10751 fi
10752
10753 else
10754
10755 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10756
10757 fi
10758
10759
10760 eval "$wx_cv_use_fontpicker"
10761
10762 if test x"$enablestring" = xdisable; then
10763 if test $wxUSE_FONTPICKERCTRL = no; then
10764 result=yes
10765 else
10766 result=no
10767 fi
10768 else
10769 result=$wxUSE_FONTPICKERCTRL
10770 fi
10771
10772 { echo "$as_me:$LINENO: result: $result" >&5
10773 echo "${ECHO_T}$result" >&6; }
10774
10775
10776 enablestring=
10777 defaultval=$wxUSE_ALL_FEATURES
10778 if test -z "$defaultval"; then
10779 if test x"$enablestring" = xdisable; then
10780 defaultval=yes
10781 else
10782 defaultval=no
10783 fi
10784 fi
10785
10786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10787 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10788 # Check whether --enable-gauge was given.
10789 if test "${enable_gauge+set}" = set; then
10790 enableval=$enable_gauge;
10791 if test "$enableval" = yes; then
10792 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10793 else
10794 wx_cv_use_gauge='wxUSE_GAUGE=no'
10795 fi
10796
10797 else
10798
10799 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10800
10801 fi
10802
10803
10804 eval "$wx_cv_use_gauge"
10805
10806 if test x"$enablestring" = xdisable; then
10807 if test $wxUSE_GAUGE = no; then
10808 result=yes
10809 else
10810 result=no
10811 fi
10812 else
10813 result=$wxUSE_GAUGE
10814 fi
10815
10816 { echo "$as_me:$LINENO: result: $result" >&5
10817 echo "${ECHO_T}$result" >&6; }
10818
10819
10820 enablestring=
10821 defaultval=$wxUSE_ALL_FEATURES
10822 if test -z "$defaultval"; then
10823 if test x"$enablestring" = xdisable; then
10824 defaultval=yes
10825 else
10826 defaultval=no
10827 fi
10828 fi
10829
10830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10831 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10832 # Check whether --enable-grid was given.
10833 if test "${enable_grid+set}" = set; then
10834 enableval=$enable_grid;
10835 if test "$enableval" = yes; then
10836 wx_cv_use_grid='wxUSE_GRID=yes'
10837 else
10838 wx_cv_use_grid='wxUSE_GRID=no'
10839 fi
10840
10841 else
10842
10843 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10844
10845 fi
10846
10847
10848 eval "$wx_cv_use_grid"
10849
10850 if test x"$enablestring" = xdisable; then
10851 if test $wxUSE_GRID = no; then
10852 result=yes
10853 else
10854 result=no
10855 fi
10856 else
10857 result=$wxUSE_GRID
10858 fi
10859
10860 { echo "$as_me:$LINENO: result: $result" >&5
10861 echo "${ECHO_T}$result" >&6; }
10862
10863
10864 enablestring=
10865 defaultval=$wxUSE_ALL_FEATURES
10866 if test -z "$defaultval"; then
10867 if test x"$enablestring" = xdisable; then
10868 defaultval=yes
10869 else
10870 defaultval=no
10871 fi
10872 fi
10873
10874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10875 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10876 # Check whether --enable-headerctrl was given.
10877 if test "${enable_headerctrl+set}" = set; then
10878 enableval=$enable_headerctrl;
10879 if test "$enableval" = yes; then
10880 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
10881 else
10882 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
10883 fi
10884
10885 else
10886
10887 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10888
10889 fi
10890
10891
10892 eval "$wx_cv_use_headerctrl"
10893
10894 if test x"$enablestring" = xdisable; then
10895 if test $wxUSE_HEADERCTRL = no; then
10896 result=yes
10897 else
10898 result=no
10899 fi
10900 else
10901 result=$wxUSE_HEADERCTRL
10902 fi
10903
10904 { echo "$as_me:$LINENO: result: $result" >&5
10905 echo "${ECHO_T}$result" >&6; }
10906
10907
10908 enablestring=
10909 defaultval=$wxUSE_ALL_FEATURES
10910 if test -z "$defaultval"; then
10911 if test x"$enablestring" = xdisable; then
10912 defaultval=yes
10913 else
10914 defaultval=no
10915 fi
10916 fi
10917
10918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10919 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10920 # Check whether --enable-hyperlink was given.
10921 if test "${enable_hyperlink+set}" = set; then
10922 enableval=$enable_hyperlink;
10923 if test "$enableval" = yes; then
10924 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10925 else
10926 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10927 fi
10928
10929 else
10930
10931 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10932
10933 fi
10934
10935
10936 eval "$wx_cv_use_hyperlink"
10937
10938 if test x"$enablestring" = xdisable; then
10939 if test $wxUSE_HYPERLINKCTRL = no; then
10940 result=yes
10941 else
10942 result=no
10943 fi
10944 else
10945 result=$wxUSE_HYPERLINKCTRL
10946 fi
10947
10948 { echo "$as_me:$LINENO: result: $result" >&5
10949 echo "${ECHO_T}$result" >&6; }
10950
10951
10952 enablestring=
10953 defaultval=$wxUSE_ALL_FEATURES
10954 if test -z "$defaultval"; then
10955 if test x"$enablestring" = xdisable; then
10956 defaultval=yes
10957 else
10958 defaultval=no
10959 fi
10960 fi
10961
10962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10963 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10964 # Check whether --enable-imaglist was given.
10965 if test "${enable_imaglist+set}" = set; then
10966 enableval=$enable_imaglist;
10967 if test "$enableval" = yes; then
10968 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10969 else
10970 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10971 fi
10972
10973 else
10974
10975 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10976
10977 fi
10978
10979
10980 eval "$wx_cv_use_imaglist"
10981
10982 if test x"$enablestring" = xdisable; then
10983 if test $wxUSE_IMAGLIST = no; then
10984 result=yes
10985 else
10986 result=no
10987 fi
10988 else
10989 result=$wxUSE_IMAGLIST
10990 fi
10991
10992 { echo "$as_me:$LINENO: result: $result" >&5
10993 echo "${ECHO_T}$result" >&6; }
10994
10995
10996 enablestring=
10997 defaultval=$wxUSE_ALL_FEATURES
10998 if test -z "$defaultval"; then
10999 if test x"$enablestring" = xdisable; then
11000 defaultval=yes
11001 else
11002 defaultval=no
11003 fi
11004 fi
11005
11006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11007 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11008 # Check whether --enable-infobar was given.
11009 if test "${enable_infobar+set}" = set; then
11010 enableval=$enable_infobar;
11011 if test "$enableval" = yes; then
11012 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11013 else
11014 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11015 fi
11016
11017 else
11018
11019 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11020
11021 fi
11022
11023
11024 eval "$wx_cv_use_infobar"
11025
11026 if test x"$enablestring" = xdisable; then
11027 if test $wxUSE_INFOBAR = no; then
11028 result=yes
11029 else
11030 result=no
11031 fi
11032 else
11033 result=$wxUSE_INFOBAR
11034 fi
11035
11036 { echo "$as_me:$LINENO: result: $result" >&5
11037 echo "${ECHO_T}$result" >&6; }
11038
11039
11040 enablestring=
11041 defaultval=$wxUSE_ALL_FEATURES
11042 if test -z "$defaultval"; then
11043 if test x"$enablestring" = xdisable; then
11044 defaultval=yes
11045 else
11046 defaultval=no
11047 fi
11048 fi
11049
11050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11051 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11052 # Check whether --enable-listbook was given.
11053 if test "${enable_listbook+set}" = set; then
11054 enableval=$enable_listbook;
11055 if test "$enableval" = yes; then
11056 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11057 else
11058 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11059 fi
11060
11061 else
11062
11063 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11064
11065 fi
11066
11067
11068 eval "$wx_cv_use_listbook"
11069
11070 if test x"$enablestring" = xdisable; then
11071 if test $wxUSE_LISTBOOK = no; then
11072 result=yes
11073 else
11074 result=no
11075 fi
11076 else
11077 result=$wxUSE_LISTBOOK
11078 fi
11079
11080 { echo "$as_me:$LINENO: result: $result" >&5
11081 echo "${ECHO_T}$result" >&6; }
11082
11083
11084 enablestring=
11085 defaultval=$wxUSE_ALL_FEATURES
11086 if test -z "$defaultval"; then
11087 if test x"$enablestring" = xdisable; then
11088 defaultval=yes
11089 else
11090 defaultval=no
11091 fi
11092 fi
11093
11094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11095 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11096 # Check whether --enable-listbox was given.
11097 if test "${enable_listbox+set}" = set; then
11098 enableval=$enable_listbox;
11099 if test "$enableval" = yes; then
11100 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11101 else
11102 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11103 fi
11104
11105 else
11106
11107 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11108
11109 fi
11110
11111
11112 eval "$wx_cv_use_listbox"
11113
11114 if test x"$enablestring" = xdisable; then
11115 if test $wxUSE_LISTBOX = no; then
11116 result=yes
11117 else
11118 result=no
11119 fi
11120 else
11121 result=$wxUSE_LISTBOX
11122 fi
11123
11124 { echo "$as_me:$LINENO: result: $result" >&5
11125 echo "${ECHO_T}$result" >&6; }
11126
11127
11128 enablestring=
11129 defaultval=$wxUSE_ALL_FEATURES
11130 if test -z "$defaultval"; then
11131 if test x"$enablestring" = xdisable; then
11132 defaultval=yes
11133 else
11134 defaultval=no
11135 fi
11136 fi
11137
11138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11139 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11140 # Check whether --enable-listctrl was given.
11141 if test "${enable_listctrl+set}" = set; then
11142 enableval=$enable_listctrl;
11143 if test "$enableval" = yes; then
11144 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11145 else
11146 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11147 fi
11148
11149 else
11150
11151 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11152
11153 fi
11154
11155
11156 eval "$wx_cv_use_listctrl"
11157
11158 if test x"$enablestring" = xdisable; then
11159 if test $wxUSE_LISTCTRL = no; then
11160 result=yes
11161 else
11162 result=no
11163 fi
11164 else
11165 result=$wxUSE_LISTCTRL
11166 fi
11167
11168 { echo "$as_me:$LINENO: result: $result" >&5
11169 echo "${ECHO_T}$result" >&6; }
11170
11171
11172 enablestring=
11173 defaultval=$wxUSE_ALL_FEATURES
11174 if test -z "$defaultval"; then
11175 if test x"$enablestring" = xdisable; then
11176 defaultval=yes
11177 else
11178 defaultval=no
11179 fi
11180 fi
11181
11182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11183 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11184 # Check whether --enable-notebook was given.
11185 if test "${enable_notebook+set}" = set; then
11186 enableval=$enable_notebook;
11187 if test "$enableval" = yes; then
11188 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11189 else
11190 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11191 fi
11192
11193 else
11194
11195 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11196
11197 fi
11198
11199
11200 eval "$wx_cv_use_notebook"
11201
11202 if test x"$enablestring" = xdisable; then
11203 if test $wxUSE_NOTEBOOK = no; then
11204 result=yes
11205 else
11206 result=no
11207 fi
11208 else
11209 result=$wxUSE_NOTEBOOK
11210 fi
11211
11212 { echo "$as_me:$LINENO: result: $result" >&5
11213 echo "${ECHO_T}$result" >&6; }
11214
11215
11216 enablestring=
11217 defaultval=$wxUSE_ALL_FEATURES
11218 if test -z "$defaultval"; then
11219 if test x"$enablestring" = xdisable; then
11220 defaultval=yes
11221 else
11222 defaultval=no
11223 fi
11224 fi
11225
11226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11227 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11228 # Check whether --enable-notifmsg was given.
11229 if test "${enable_notifmsg+set}" = set; then
11230 enableval=$enable_notifmsg;
11231 if test "$enableval" = yes; then
11232 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11233 else
11234 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11235 fi
11236
11237 else
11238
11239 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11240
11241 fi
11242
11243
11244 eval "$wx_cv_use_notifmsg"
11245
11246 if test x"$enablestring" = xdisable; then
11247 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11248 result=yes
11249 else
11250 result=no
11251 fi
11252 else
11253 result=$wxUSE_NOTIFICATION_MESSAGE
11254 fi
11255
11256 { echo "$as_me:$LINENO: result: $result" >&5
11257 echo "${ECHO_T}$result" >&6; }
11258
11259
11260 enablestring=
11261 defaultval=$wxUSE_ALL_FEATURES
11262 if test -z "$defaultval"; then
11263 if test x"$enablestring" = xdisable; then
11264 defaultval=yes
11265 else
11266 defaultval=no
11267 fi
11268 fi
11269
11270 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11271 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11272 # Check whether --enable-odcombobox was given.
11273 if test "${enable_odcombobox+set}" = set; then
11274 enableval=$enable_odcombobox;
11275 if test "$enableval" = yes; then
11276 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11277 else
11278 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11279 fi
11280
11281 else
11282
11283 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11284
11285 fi
11286
11287
11288 eval "$wx_cv_use_odcombobox"
11289
11290 if test x"$enablestring" = xdisable; then
11291 if test $wxUSE_ODCOMBOBOX = no; then
11292 result=yes
11293 else
11294 result=no
11295 fi
11296 else
11297 result=$wxUSE_ODCOMBOBOX
11298 fi
11299
11300 { echo "$as_me:$LINENO: result: $result" >&5
11301 echo "${ECHO_T}$result" >&6; }
11302
11303
11304 enablestring=
11305 defaultval=$wxUSE_ALL_FEATURES
11306 if test -z "$defaultval"; then
11307 if test x"$enablestring" = xdisable; then
11308 defaultval=yes
11309 else
11310 defaultval=no
11311 fi
11312 fi
11313
11314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11315 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11316 # Check whether --enable-popupwin was given.
11317 if test "${enable_popupwin+set}" = set; then
11318 enableval=$enable_popupwin;
11319 if test "$enableval" = yes; then
11320 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11321 else
11322 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11323 fi
11324
11325 else
11326
11327 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11328
11329 fi
11330
11331
11332 eval "$wx_cv_use_popupwin"
11333
11334 if test x"$enablestring" = xdisable; then
11335 if test $wxUSE_POPUPWIN = no; then
11336 result=yes
11337 else
11338 result=no
11339 fi
11340 else
11341 result=$wxUSE_POPUPWIN
11342 fi
11343
11344 { echo "$as_me:$LINENO: result: $result" >&5
11345 echo "${ECHO_T}$result" >&6; }
11346
11347
11348 enablestring=
11349 defaultval=$wxUSE_ALL_FEATURES
11350 if test -z "$defaultval"; then
11351 if test x"$enablestring" = xdisable; then
11352 defaultval=yes
11353 else
11354 defaultval=no
11355 fi
11356 fi
11357
11358 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11359 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11360 # Check whether --enable-radiobox was given.
11361 if test "${enable_radiobox+set}" = set; then
11362 enableval=$enable_radiobox;
11363 if test "$enableval" = yes; then
11364 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11365 else
11366 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11367 fi
11368
11369 else
11370
11371 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11372
11373 fi
11374
11375
11376 eval "$wx_cv_use_radiobox"
11377
11378 if test x"$enablestring" = xdisable; then
11379 if test $wxUSE_RADIOBOX = no; then
11380 result=yes
11381 else
11382 result=no
11383 fi
11384 else
11385 result=$wxUSE_RADIOBOX
11386 fi
11387
11388 { echo "$as_me:$LINENO: result: $result" >&5
11389 echo "${ECHO_T}$result" >&6; }
11390
11391
11392 enablestring=
11393 defaultval=$wxUSE_ALL_FEATURES
11394 if test -z "$defaultval"; then
11395 if test x"$enablestring" = xdisable; then
11396 defaultval=yes
11397 else
11398 defaultval=no
11399 fi
11400 fi
11401
11402 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11403 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11404 # Check whether --enable-radiobtn was given.
11405 if test "${enable_radiobtn+set}" = set; then
11406 enableval=$enable_radiobtn;
11407 if test "$enableval" = yes; then
11408 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11409 else
11410 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11411 fi
11412
11413 else
11414
11415 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11416
11417 fi
11418
11419
11420 eval "$wx_cv_use_radiobtn"
11421
11422 if test x"$enablestring" = xdisable; then
11423 if test $wxUSE_RADIOBTN = no; then
11424 result=yes
11425 else
11426 result=no
11427 fi
11428 else
11429 result=$wxUSE_RADIOBTN
11430 fi
11431
11432 { echo "$as_me:$LINENO: result: $result" >&5
11433 echo "${ECHO_T}$result" >&6; }
11434
11435
11436 enablestring=
11437 defaultval=$wxUSE_ALL_FEATURES
11438 if test -z "$defaultval"; then
11439 if test x"$enablestring" = xdisable; then
11440 defaultval=yes
11441 else
11442 defaultval=no
11443 fi
11444 fi
11445
11446 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11447 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11448 # Check whether --enable-rearrangectrl was given.
11449 if test "${enable_rearrangectrl+set}" = set; then
11450 enableval=$enable_rearrangectrl;
11451 if test "$enableval" = yes; then
11452 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11453 else
11454 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11455 fi
11456
11457 else
11458
11459 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11460
11461 fi
11462
11463
11464 eval "$wx_cv_use_rearrangectrl"
11465
11466 if test x"$enablestring" = xdisable; then
11467 if test $wxUSE_REARRANGECTRL = no; then
11468 result=yes
11469 else
11470 result=no
11471 fi
11472 else
11473 result=$wxUSE_REARRANGECTRL
11474 fi
11475
11476 { echo "$as_me:$LINENO: result: $result" >&5
11477 echo "${ECHO_T}$result" >&6; }
11478
11479
11480 enablestring=
11481 defaultval=$wxUSE_ALL_FEATURES
11482 if test -z "$defaultval"; then
11483 if test x"$enablestring" = xdisable; then
11484 defaultval=yes
11485 else
11486 defaultval=no
11487 fi
11488 fi
11489
11490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11491 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11492 # Check whether --enable-sash was given.
11493 if test "${enable_sash+set}" = set; then
11494 enableval=$enable_sash;
11495 if test "$enableval" = yes; then
11496 wx_cv_use_sash='wxUSE_SASH=yes'
11497 else
11498 wx_cv_use_sash='wxUSE_SASH=no'
11499 fi
11500
11501 else
11502
11503 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11504
11505 fi
11506
11507
11508 eval "$wx_cv_use_sash"
11509
11510 if test x"$enablestring" = xdisable; then
11511 if test $wxUSE_SASH = no; then
11512 result=yes
11513 else
11514 result=no
11515 fi
11516 else
11517 result=$wxUSE_SASH
11518 fi
11519
11520 { echo "$as_me:$LINENO: result: $result" >&5
11521 echo "${ECHO_T}$result" >&6; }
11522
11523
11524 enablestring=
11525 defaultval=$wxUSE_ALL_FEATURES
11526 if test -z "$defaultval"; then
11527 if test x"$enablestring" = xdisable; then
11528 defaultval=yes
11529 else
11530 defaultval=no
11531 fi
11532 fi
11533
11534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11535 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11536 # Check whether --enable-scrollbar was given.
11537 if test "${enable_scrollbar+set}" = set; then
11538 enableval=$enable_scrollbar;
11539 if test "$enableval" = yes; then
11540 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11541 else
11542 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11543 fi
11544
11545 else
11546
11547 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11548
11549 fi
11550
11551
11552 eval "$wx_cv_use_scrollbar"
11553
11554 if test x"$enablestring" = xdisable; then
11555 if test $wxUSE_SCROLLBAR = no; then
11556 result=yes
11557 else
11558 result=no
11559 fi
11560 else
11561 result=$wxUSE_SCROLLBAR
11562 fi
11563
11564 { echo "$as_me:$LINENO: result: $result" >&5
11565 echo "${ECHO_T}$result" >&6; }
11566
11567
11568 enablestring=
11569 defaultval=$wxUSE_ALL_FEATURES
11570 if test -z "$defaultval"; then
11571 if test x"$enablestring" = xdisable; then
11572 defaultval=yes
11573 else
11574 defaultval=no
11575 fi
11576 fi
11577
11578 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11579 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11580 # Check whether --enable-searchctrl was given.
11581 if test "${enable_searchctrl+set}" = set; then
11582 enableval=$enable_searchctrl;
11583 if test "$enableval" = yes; then
11584 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11585 else
11586 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11587 fi
11588
11589 else
11590
11591 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11592
11593 fi
11594
11595
11596 eval "$wx_cv_use_searchctrl"
11597
11598 if test x"$enablestring" = xdisable; then
11599 if test $wxUSE_SEARCHCTRL = no; then
11600 result=yes
11601 else
11602 result=no
11603 fi
11604 else
11605 result=$wxUSE_SEARCHCTRL
11606 fi
11607
11608 { echo "$as_me:$LINENO: result: $result" >&5
11609 echo "${ECHO_T}$result" >&6; }
11610
11611
11612 enablestring=
11613 defaultval=$wxUSE_ALL_FEATURES
11614 if test -z "$defaultval"; then
11615 if test x"$enablestring" = xdisable; then
11616 defaultval=yes
11617 else
11618 defaultval=no
11619 fi
11620 fi
11621
11622 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11623 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11624 # Check whether --enable-slider was given.
11625 if test "${enable_slider+set}" = set; then
11626 enableval=$enable_slider;
11627 if test "$enableval" = yes; then
11628 wx_cv_use_slider='wxUSE_SLIDER=yes'
11629 else
11630 wx_cv_use_slider='wxUSE_SLIDER=no'
11631 fi
11632
11633 else
11634
11635 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11636
11637 fi
11638
11639
11640 eval "$wx_cv_use_slider"
11641
11642 if test x"$enablestring" = xdisable; then
11643 if test $wxUSE_SLIDER = no; then
11644 result=yes
11645 else
11646 result=no
11647 fi
11648 else
11649 result=$wxUSE_SLIDER
11650 fi
11651
11652 { echo "$as_me:$LINENO: result: $result" >&5
11653 echo "${ECHO_T}$result" >&6; }
11654
11655
11656 enablestring=
11657 defaultval=$wxUSE_ALL_FEATURES
11658 if test -z "$defaultval"; then
11659 if test x"$enablestring" = xdisable; then
11660 defaultval=yes
11661 else
11662 defaultval=no
11663 fi
11664 fi
11665
11666 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11667 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11668 # Check whether --enable-spinbtn was given.
11669 if test "${enable_spinbtn+set}" = set; then
11670 enableval=$enable_spinbtn;
11671 if test "$enableval" = yes; then
11672 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11673 else
11674 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11675 fi
11676
11677 else
11678
11679 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11680
11681 fi
11682
11683
11684 eval "$wx_cv_use_spinbtn"
11685
11686 if test x"$enablestring" = xdisable; then
11687 if test $wxUSE_SPINBTN = no; then
11688 result=yes
11689 else
11690 result=no
11691 fi
11692 else
11693 result=$wxUSE_SPINBTN
11694 fi
11695
11696 { echo "$as_me:$LINENO: result: $result" >&5
11697 echo "${ECHO_T}$result" >&6; }
11698
11699
11700 enablestring=
11701 defaultval=$wxUSE_ALL_FEATURES
11702 if test -z "$defaultval"; then
11703 if test x"$enablestring" = xdisable; then
11704 defaultval=yes
11705 else
11706 defaultval=no
11707 fi
11708 fi
11709
11710 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11711 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11712 # Check whether --enable-spinctrl was given.
11713 if test "${enable_spinctrl+set}" = set; then
11714 enableval=$enable_spinctrl;
11715 if test "$enableval" = yes; then
11716 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11717 else
11718 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11719 fi
11720
11721 else
11722
11723 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11724
11725 fi
11726
11727
11728 eval "$wx_cv_use_spinctrl"
11729
11730 if test x"$enablestring" = xdisable; then
11731 if test $wxUSE_SPINCTRL = no; then
11732 result=yes
11733 else
11734 result=no
11735 fi
11736 else
11737 result=$wxUSE_SPINCTRL
11738 fi
11739
11740 { echo "$as_me:$LINENO: result: $result" >&5
11741 echo "${ECHO_T}$result" >&6; }
11742
11743
11744 enablestring=
11745 defaultval=$wxUSE_ALL_FEATURES
11746 if test -z "$defaultval"; then
11747 if test x"$enablestring" = xdisable; then
11748 defaultval=yes
11749 else
11750 defaultval=no
11751 fi
11752 fi
11753
11754 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11755 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11756 # Check whether --enable-splitter was given.
11757 if test "${enable_splitter+set}" = set; then
11758 enableval=$enable_splitter;
11759 if test "$enableval" = yes; then
11760 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11761 else
11762 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11763 fi
11764
11765 else
11766
11767 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11768
11769 fi
11770
11771
11772 eval "$wx_cv_use_splitter"
11773
11774 if test x"$enablestring" = xdisable; then
11775 if test $wxUSE_SPLITTER = no; then
11776 result=yes
11777 else
11778 result=no
11779 fi
11780 else
11781 result=$wxUSE_SPLITTER
11782 fi
11783
11784 { echo "$as_me:$LINENO: result: $result" >&5
11785 echo "${ECHO_T}$result" >&6; }
11786
11787
11788 enablestring=
11789 defaultval=$wxUSE_ALL_FEATURES
11790 if test -z "$defaultval"; then
11791 if test x"$enablestring" = xdisable; then
11792 defaultval=yes
11793 else
11794 defaultval=no
11795 fi
11796 fi
11797
11798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11799 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11800 # Check whether --enable-statbmp was given.
11801 if test "${enable_statbmp+set}" = set; then
11802 enableval=$enable_statbmp;
11803 if test "$enableval" = yes; then
11804 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11805 else
11806 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11807 fi
11808
11809 else
11810
11811 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11812
11813 fi
11814
11815
11816 eval "$wx_cv_use_statbmp"
11817
11818 if test x"$enablestring" = xdisable; then
11819 if test $wxUSE_STATBMP = no; then
11820 result=yes
11821 else
11822 result=no
11823 fi
11824 else
11825 result=$wxUSE_STATBMP
11826 fi
11827
11828 { echo "$as_me:$LINENO: result: $result" >&5
11829 echo "${ECHO_T}$result" >&6; }
11830
11831
11832 enablestring=
11833 defaultval=$wxUSE_ALL_FEATURES
11834 if test -z "$defaultval"; then
11835 if test x"$enablestring" = xdisable; then
11836 defaultval=yes
11837 else
11838 defaultval=no
11839 fi
11840 fi
11841
11842 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11843 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11844 # Check whether --enable-statbox was given.
11845 if test "${enable_statbox+set}" = set; then
11846 enableval=$enable_statbox;
11847 if test "$enableval" = yes; then
11848 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11849 else
11850 wx_cv_use_statbox='wxUSE_STATBOX=no'
11851 fi
11852
11853 else
11854
11855 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11856
11857 fi
11858
11859
11860 eval "$wx_cv_use_statbox"
11861
11862 if test x"$enablestring" = xdisable; then
11863 if test $wxUSE_STATBOX = no; then
11864 result=yes
11865 else
11866 result=no
11867 fi
11868 else
11869 result=$wxUSE_STATBOX
11870 fi
11871
11872 { echo "$as_me:$LINENO: result: $result" >&5
11873 echo "${ECHO_T}$result" >&6; }
11874
11875
11876 enablestring=
11877 defaultval=$wxUSE_ALL_FEATURES
11878 if test -z "$defaultval"; then
11879 if test x"$enablestring" = xdisable; then
11880 defaultval=yes
11881 else
11882 defaultval=no
11883 fi
11884 fi
11885
11886 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11887 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11888 # Check whether --enable-statline was given.
11889 if test "${enable_statline+set}" = set; then
11890 enableval=$enable_statline;
11891 if test "$enableval" = yes; then
11892 wx_cv_use_statline='wxUSE_STATLINE=yes'
11893 else
11894 wx_cv_use_statline='wxUSE_STATLINE=no'
11895 fi
11896
11897 else
11898
11899 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11900
11901 fi
11902
11903
11904 eval "$wx_cv_use_statline"
11905
11906 if test x"$enablestring" = xdisable; then
11907 if test $wxUSE_STATLINE = no; then
11908 result=yes
11909 else
11910 result=no
11911 fi
11912 else
11913 result=$wxUSE_STATLINE
11914 fi
11915
11916 { echo "$as_me:$LINENO: result: $result" >&5
11917 echo "${ECHO_T}$result" >&6; }
11918
11919
11920 enablestring=
11921 defaultval=$wxUSE_ALL_FEATURES
11922 if test -z "$defaultval"; then
11923 if test x"$enablestring" = xdisable; then
11924 defaultval=yes
11925 else
11926 defaultval=no
11927 fi
11928 fi
11929
11930 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11931 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11932 # Check whether --enable-stattext was given.
11933 if test "${enable_stattext+set}" = set; then
11934 enableval=$enable_stattext;
11935 if test "$enableval" = yes; then
11936 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11937 else
11938 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11939 fi
11940
11941 else
11942
11943 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11944
11945 fi
11946
11947
11948 eval "$wx_cv_use_stattext"
11949
11950 if test x"$enablestring" = xdisable; then
11951 if test $wxUSE_STATTEXT = no; then
11952 result=yes
11953 else
11954 result=no
11955 fi
11956 else
11957 result=$wxUSE_STATTEXT
11958 fi
11959
11960 { echo "$as_me:$LINENO: result: $result" >&5
11961 echo "${ECHO_T}$result" >&6; }
11962
11963
11964 enablestring=
11965 defaultval=$wxUSE_ALL_FEATURES
11966 if test -z "$defaultval"; then
11967 if test x"$enablestring" = xdisable; then
11968 defaultval=yes
11969 else
11970 defaultval=no
11971 fi
11972 fi
11973
11974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11975 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11976 # Check whether --enable-statusbar was given.
11977 if test "${enable_statusbar+set}" = set; then
11978 enableval=$enable_statusbar;
11979 if test "$enableval" = yes; then
11980 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11981 else
11982 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11983 fi
11984
11985 else
11986
11987 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11988
11989 fi
11990
11991
11992 eval "$wx_cv_use_statusbar"
11993
11994 if test x"$enablestring" = xdisable; then
11995 if test $wxUSE_STATUSBAR = no; then
11996 result=yes
11997 else
11998 result=no
11999 fi
12000 else
12001 result=$wxUSE_STATUSBAR
12002 fi
12003
12004 { echo "$as_me:$LINENO: result: $result" >&5
12005 echo "${ECHO_T}$result" >&6; }
12006
12007
12008 enablestring=
12009 defaultval=$wxUSE_ALL_FEATURES
12010 if test -z "$defaultval"; then
12011 if test x"$enablestring" = xdisable; then
12012 defaultval=yes
12013 else
12014 defaultval=no
12015 fi
12016 fi
12017
12018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12019 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12020 # Check whether --enable-taskbaricon was given.
12021 if test "${enable_taskbaricon+set}" = set; then
12022 enableval=$enable_taskbaricon;
12023 if test "$enableval" = yes; then
12024 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12025 else
12026 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12027 fi
12028
12029 else
12030
12031 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12032
12033 fi
12034
12035
12036 eval "$wx_cv_use_taskbaricon"
12037
12038 if test x"$enablestring" = xdisable; then
12039 if test $wxUSE_TASKBARICON = no; then
12040 result=yes
12041 else
12042 result=no
12043 fi
12044 else
12045 result=$wxUSE_TASKBARICON
12046 fi
12047
12048 { echo "$as_me:$LINENO: result: $result" >&5
12049 echo "${ECHO_T}$result" >&6; }
12050
12051
12052 enablestring=
12053 defaultval=$wxUSE_ALL_FEATURES
12054 if test -z "$defaultval"; then
12055 if test x"$enablestring" = xdisable; then
12056 defaultval=yes
12057 else
12058 defaultval=no
12059 fi
12060 fi
12061
12062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12063 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12064 # Check whether --enable-tbarnative was given.
12065 if test "${enable_tbarnative+set}" = set; then
12066 enableval=$enable_tbarnative;
12067 if test "$enableval" = yes; then
12068 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12069 else
12070 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12071 fi
12072
12073 else
12074
12075 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12076
12077 fi
12078
12079
12080 eval "$wx_cv_use_tbarnative"
12081
12082 if test x"$enablestring" = xdisable; then
12083 if test $wxUSE_TOOLBAR_NATIVE = no; then
12084 result=yes
12085 else
12086 result=no
12087 fi
12088 else
12089 result=$wxUSE_TOOLBAR_NATIVE
12090 fi
12091
12092 { echo "$as_me:$LINENO: result: $result" >&5
12093 echo "${ECHO_T}$result" >&6; }
12094
12095
12096 enablestring=
12097 defaultval=$wxUSE_ALL_FEATURES
12098 if test -z "$defaultval"; then
12099 if test x"$enablestring" = xdisable; then
12100 defaultval=yes
12101 else
12102 defaultval=no
12103 fi
12104 fi
12105
12106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12107 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12108 # Check whether --enable-textctrl was given.
12109 if test "${enable_textctrl+set}" = set; then
12110 enableval=$enable_textctrl;
12111 if test "$enableval" = yes; then
12112 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12113 else
12114 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12115 fi
12116
12117 else
12118
12119 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12120
12121 fi
12122
12123
12124 eval "$wx_cv_use_textctrl"
12125
12126 if test x"$enablestring" = xdisable; then
12127 if test $wxUSE_TEXTCTRL = no; then
12128 result=yes
12129 else
12130 result=no
12131 fi
12132 else
12133 result=$wxUSE_TEXTCTRL
12134 fi
12135
12136 { echo "$as_me:$LINENO: result: $result" >&5
12137 echo "${ECHO_T}$result" >&6; }
12138
12139
12140 enablestring=
12141 defaultval=$wxUSE_ALL_FEATURES
12142 if test -z "$defaultval"; then
12143 if test x"$enablestring" = xdisable; then
12144 defaultval=yes
12145 else
12146 defaultval=no
12147 fi
12148 fi
12149
12150 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12151 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12152 # Check whether --enable-tipwindow was given.
12153 if test "${enable_tipwindow+set}" = set; then
12154 enableval=$enable_tipwindow;
12155 if test "$enableval" = yes; then
12156 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12157 else
12158 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12159 fi
12160
12161 else
12162
12163 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12164
12165 fi
12166
12167
12168 eval "$wx_cv_use_tipwindow"
12169
12170 if test x"$enablestring" = xdisable; then
12171 if test $wxUSE_TIPWINDOW = no; then
12172 result=yes
12173 else
12174 result=no
12175 fi
12176 else
12177 result=$wxUSE_TIPWINDOW
12178 fi
12179
12180 { echo "$as_me:$LINENO: result: $result" >&5
12181 echo "${ECHO_T}$result" >&6; }
12182
12183
12184 enablestring=
12185 defaultval=$wxUSE_ALL_FEATURES
12186 if test -z "$defaultval"; then
12187 if test x"$enablestring" = xdisable; then
12188 defaultval=yes
12189 else
12190 defaultval=no
12191 fi
12192 fi
12193
12194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12195 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12196 # Check whether --enable-togglebtn was given.
12197 if test "${enable_togglebtn+set}" = set; then
12198 enableval=$enable_togglebtn;
12199 if test "$enableval" = yes; then
12200 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12201 else
12202 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12203 fi
12204
12205 else
12206
12207 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12208
12209 fi
12210
12211
12212 eval "$wx_cv_use_togglebtn"
12213
12214 if test x"$enablestring" = xdisable; then
12215 if test $wxUSE_TOGGLEBTN = no; then
12216 result=yes
12217 else
12218 result=no
12219 fi
12220 else
12221 result=$wxUSE_TOGGLEBTN
12222 fi
12223
12224 { echo "$as_me:$LINENO: result: $result" >&5
12225 echo "${ECHO_T}$result" >&6; }
12226
12227
12228 enablestring=
12229 defaultval=$wxUSE_ALL_FEATURES
12230 if test -z "$defaultval"; then
12231 if test x"$enablestring" = xdisable; then
12232 defaultval=yes
12233 else
12234 defaultval=no
12235 fi
12236 fi
12237
12238 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12239 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12240 # Check whether --enable-toolbar was given.
12241 if test "${enable_toolbar+set}" = set; then
12242 enableval=$enable_toolbar;
12243 if test "$enableval" = yes; then
12244 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12245 else
12246 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12247 fi
12248
12249 else
12250
12251 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12252
12253 fi
12254
12255
12256 eval "$wx_cv_use_toolbar"
12257
12258 if test x"$enablestring" = xdisable; then
12259 if test $wxUSE_TOOLBAR = no; then
12260 result=yes
12261 else
12262 result=no
12263 fi
12264 else
12265 result=$wxUSE_TOOLBAR
12266 fi
12267
12268 { echo "$as_me:$LINENO: result: $result" >&5
12269 echo "${ECHO_T}$result" >&6; }
12270
12271
12272 enablestring=
12273 defaultval=$wxUSE_ALL_FEATURES
12274 if test -z "$defaultval"; then
12275 if test x"$enablestring" = xdisable; then
12276 defaultval=yes
12277 else
12278 defaultval=no
12279 fi
12280 fi
12281
12282 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12283 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12284 # Check whether --enable-toolbook was given.
12285 if test "${enable_toolbook+set}" = set; then
12286 enableval=$enable_toolbook;
12287 if test "$enableval" = yes; then
12288 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12289 else
12290 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12291 fi
12292
12293 else
12294
12295 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12296
12297 fi
12298
12299
12300 eval "$wx_cv_use_toolbook"
12301
12302 if test x"$enablestring" = xdisable; then
12303 if test $wxUSE_TOOLBOOK = no; then
12304 result=yes
12305 else
12306 result=no
12307 fi
12308 else
12309 result=$wxUSE_TOOLBOOK
12310 fi
12311
12312 { echo "$as_me:$LINENO: result: $result" >&5
12313 echo "${ECHO_T}$result" >&6; }
12314
12315
12316 enablestring=
12317 defaultval=$wxUSE_ALL_FEATURES
12318 if test -z "$defaultval"; then
12319 if test x"$enablestring" = xdisable; then
12320 defaultval=yes
12321 else
12322 defaultval=no
12323 fi
12324 fi
12325
12326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12327 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12328 # Check whether --enable-treebook was given.
12329 if test "${enable_treebook+set}" = set; then
12330 enableval=$enable_treebook;
12331 if test "$enableval" = yes; then
12332 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12333 else
12334 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12335 fi
12336
12337 else
12338
12339 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12340
12341 fi
12342
12343
12344 eval "$wx_cv_use_treebook"
12345
12346 if test x"$enablestring" = xdisable; then
12347 if test $wxUSE_TREEBOOK = no; then
12348 result=yes
12349 else
12350 result=no
12351 fi
12352 else
12353 result=$wxUSE_TREEBOOK
12354 fi
12355
12356 { echo "$as_me:$LINENO: result: $result" >&5
12357 echo "${ECHO_T}$result" >&6; }
12358
12359
12360 enablestring=
12361 defaultval=$wxUSE_ALL_FEATURES
12362 if test -z "$defaultval"; then
12363 if test x"$enablestring" = xdisable; then
12364 defaultval=yes
12365 else
12366 defaultval=no
12367 fi
12368 fi
12369
12370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12371 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12372 # Check whether --enable-treectrl was given.
12373 if test "${enable_treectrl+set}" = set; then
12374 enableval=$enable_treectrl;
12375 if test "$enableval" = yes; then
12376 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12377 else
12378 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12379 fi
12380
12381 else
12382
12383 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12384
12385 fi
12386
12387
12388 eval "$wx_cv_use_treectrl"
12389
12390 if test x"$enablestring" = xdisable; then
12391 if test $wxUSE_TREECTRL = no; then
12392 result=yes
12393 else
12394 result=no
12395 fi
12396 else
12397 result=$wxUSE_TREECTRL
12398 fi
12399
12400 { echo "$as_me:$LINENO: result: $result" >&5
12401 echo "${ECHO_T}$result" >&6; }
12402
12403
12404
12405
12406 enablestring=
12407 defaultval=$wxUSE_ALL_FEATURES
12408 if test -z "$defaultval"; then
12409 if test x"$enablestring" = xdisable; then
12410 defaultval=yes
12411 else
12412 defaultval=no
12413 fi
12414 fi
12415
12416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12417 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12418 # Check whether --enable-commondlg was given.
12419 if test "${enable_commondlg+set}" = set; then
12420 enableval=$enable_commondlg;
12421 if test "$enableval" = yes; then
12422 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12423 else
12424 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12425 fi
12426
12427 else
12428
12429 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12430
12431 fi
12432
12433
12434 eval "$wx_cv_use_commondlg"
12435
12436 if test x"$enablestring" = xdisable; then
12437 if test $wxUSE_COMMONDLGS = no; then
12438 result=yes
12439 else
12440 result=no
12441 fi
12442 else
12443 result=$wxUSE_COMMONDLGS
12444 fi
12445
12446 { echo "$as_me:$LINENO: result: $result" >&5
12447 echo "${ECHO_T}$result" >&6; }
12448
12449
12450 enablestring=
12451 defaultval=$wxUSE_ALL_FEATURES
12452 if test -z "$defaultval"; then
12453 if test x"$enablestring" = xdisable; then
12454 defaultval=yes
12455 else
12456 defaultval=no
12457 fi
12458 fi
12459
12460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12461 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12462 # Check whether --enable-aboutdlg was given.
12463 if test "${enable_aboutdlg+set}" = set; then
12464 enableval=$enable_aboutdlg;
12465 if test "$enableval" = yes; then
12466 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12467 else
12468 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12469 fi
12470
12471 else
12472
12473 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12474
12475 fi
12476
12477
12478 eval "$wx_cv_use_aboutdlg"
12479
12480 if test x"$enablestring" = xdisable; then
12481 if test $wxUSE_ABOUTDLG = no; then
12482 result=yes
12483 else
12484 result=no
12485 fi
12486 else
12487 result=$wxUSE_ABOUTDLG
12488 fi
12489
12490 { echo "$as_me:$LINENO: result: $result" >&5
12491 echo "${ECHO_T}$result" >&6; }
12492
12493
12494 enablestring=
12495 defaultval=$wxUSE_ALL_FEATURES
12496 if test -z "$defaultval"; then
12497 if test x"$enablestring" = xdisable; then
12498 defaultval=yes
12499 else
12500 defaultval=no
12501 fi
12502 fi
12503
12504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12505 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12506 # Check whether --enable-choicedlg was given.
12507 if test "${enable_choicedlg+set}" = set; then
12508 enableval=$enable_choicedlg;
12509 if test "$enableval" = yes; then
12510 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12511 else
12512 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12513 fi
12514
12515 else
12516
12517 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12518
12519 fi
12520
12521
12522 eval "$wx_cv_use_choicedlg"
12523
12524 if test x"$enablestring" = xdisable; then
12525 if test $wxUSE_CHOICEDLG = no; then
12526 result=yes
12527 else
12528 result=no
12529 fi
12530 else
12531 result=$wxUSE_CHOICEDLG
12532 fi
12533
12534 { echo "$as_me:$LINENO: result: $result" >&5
12535 echo "${ECHO_T}$result" >&6; }
12536
12537
12538 enablestring=
12539 defaultval=$wxUSE_ALL_FEATURES
12540 if test -z "$defaultval"; then
12541 if test x"$enablestring" = xdisable; then
12542 defaultval=yes
12543 else
12544 defaultval=no
12545 fi
12546 fi
12547
12548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12549 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12550 # Check whether --enable-coldlg was given.
12551 if test "${enable_coldlg+set}" = set; then
12552 enableval=$enable_coldlg;
12553 if test "$enableval" = yes; then
12554 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12555 else
12556 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12557 fi
12558
12559 else
12560
12561 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12562
12563 fi
12564
12565
12566 eval "$wx_cv_use_coldlg"
12567
12568 if test x"$enablestring" = xdisable; then
12569 if test $wxUSE_COLOURDLG = no; then
12570 result=yes
12571 else
12572 result=no
12573 fi
12574 else
12575 result=$wxUSE_COLOURDLG
12576 fi
12577
12578 { echo "$as_me:$LINENO: result: $result" >&5
12579 echo "${ECHO_T}$result" >&6; }
12580
12581
12582 enablestring=
12583 defaultval=$wxUSE_ALL_FEATURES
12584 if test -z "$defaultval"; then
12585 if test x"$enablestring" = xdisable; then
12586 defaultval=yes
12587 else
12588 defaultval=no
12589 fi
12590 fi
12591
12592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12593 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12594 # Check whether --enable-filedlg was given.
12595 if test "${enable_filedlg+set}" = set; then
12596 enableval=$enable_filedlg;
12597 if test "$enableval" = yes; then
12598 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12599 else
12600 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12601 fi
12602
12603 else
12604
12605 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12606
12607 fi
12608
12609
12610 eval "$wx_cv_use_filedlg"
12611
12612 if test x"$enablestring" = xdisable; then
12613 if test $wxUSE_FILEDLG = no; then
12614 result=yes
12615 else
12616 result=no
12617 fi
12618 else
12619 result=$wxUSE_FILEDLG
12620 fi
12621
12622 { echo "$as_me:$LINENO: result: $result" >&5
12623 echo "${ECHO_T}$result" >&6; }
12624
12625
12626 enablestring=
12627 defaultval=$wxUSE_ALL_FEATURES
12628 if test -z "$defaultval"; then
12629 if test x"$enablestring" = xdisable; then
12630 defaultval=yes
12631 else
12632 defaultval=no
12633 fi
12634 fi
12635
12636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12637 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12638 # Check whether --enable-finddlg was given.
12639 if test "${enable_finddlg+set}" = set; then
12640 enableval=$enable_finddlg;
12641 if test "$enableval" = yes; then
12642 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12643 else
12644 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12645 fi
12646
12647 else
12648
12649 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12650
12651 fi
12652
12653
12654 eval "$wx_cv_use_finddlg"
12655
12656 if test x"$enablestring" = xdisable; then
12657 if test $wxUSE_FINDREPLDLG = no; then
12658 result=yes
12659 else
12660 result=no
12661 fi
12662 else
12663 result=$wxUSE_FINDREPLDLG
12664 fi
12665
12666 { echo "$as_me:$LINENO: result: $result" >&5
12667 echo "${ECHO_T}$result" >&6; }
12668
12669
12670 enablestring=
12671 defaultval=$wxUSE_ALL_FEATURES
12672 if test -z "$defaultval"; then
12673 if test x"$enablestring" = xdisable; then
12674 defaultval=yes
12675 else
12676 defaultval=no
12677 fi
12678 fi
12679
12680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12681 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12682 # Check whether --enable-fontdlg was given.
12683 if test "${enable_fontdlg+set}" = set; then
12684 enableval=$enable_fontdlg;
12685 if test "$enableval" = yes; then
12686 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12687 else
12688 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12689 fi
12690
12691 else
12692
12693 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12694
12695 fi
12696
12697
12698 eval "$wx_cv_use_fontdlg"
12699
12700 if test x"$enablestring" = xdisable; then
12701 if test $wxUSE_FONTDLG = no; then
12702 result=yes
12703 else
12704 result=no
12705 fi
12706 else
12707 result=$wxUSE_FONTDLG
12708 fi
12709
12710 { echo "$as_me:$LINENO: result: $result" >&5
12711 echo "${ECHO_T}$result" >&6; }
12712
12713
12714 enablestring=
12715 defaultval=$wxUSE_ALL_FEATURES
12716 if test -z "$defaultval"; then
12717 if test x"$enablestring" = xdisable; then
12718 defaultval=yes
12719 else
12720 defaultval=no
12721 fi
12722 fi
12723
12724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12725 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12726 # Check whether --enable-dirdlg was given.
12727 if test "${enable_dirdlg+set}" = set; then
12728 enableval=$enable_dirdlg;
12729 if test "$enableval" = yes; then
12730 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12731 else
12732 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12733 fi
12734
12735 else
12736
12737 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12738
12739 fi
12740
12741
12742 eval "$wx_cv_use_dirdlg"
12743
12744 if test x"$enablestring" = xdisable; then
12745 if test $wxUSE_DIRDLG = no; then
12746 result=yes
12747 else
12748 result=no
12749 fi
12750 else
12751 result=$wxUSE_DIRDLG
12752 fi
12753
12754 { echo "$as_me:$LINENO: result: $result" >&5
12755 echo "${ECHO_T}$result" >&6; }
12756
12757
12758 enablestring=
12759 defaultval=$wxUSE_ALL_FEATURES
12760 if test -z "$defaultval"; then
12761 if test x"$enablestring" = xdisable; then
12762 defaultval=yes
12763 else
12764 defaultval=no
12765 fi
12766 fi
12767
12768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12769 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12770 # Check whether --enable-msgdlg was given.
12771 if test "${enable_msgdlg+set}" = set; then
12772 enableval=$enable_msgdlg;
12773 if test "$enableval" = yes; then
12774 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12775 else
12776 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12777 fi
12778
12779 else
12780
12781 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12782
12783 fi
12784
12785
12786 eval "$wx_cv_use_msgdlg"
12787
12788 if test x"$enablestring" = xdisable; then
12789 if test $wxUSE_MSGDLG = no; then
12790 result=yes
12791 else
12792 result=no
12793 fi
12794 else
12795 result=$wxUSE_MSGDLG
12796 fi
12797
12798 { echo "$as_me:$LINENO: result: $result" >&5
12799 echo "${ECHO_T}$result" >&6; }
12800
12801
12802 enablestring=
12803 defaultval=$wxUSE_ALL_FEATURES
12804 if test -z "$defaultval"; then
12805 if test x"$enablestring" = xdisable; then
12806 defaultval=yes
12807 else
12808 defaultval=no
12809 fi
12810 fi
12811
12812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12813 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12814 # Check whether --enable-numberdlg was given.
12815 if test "${enable_numberdlg+set}" = set; then
12816 enableval=$enable_numberdlg;
12817 if test "$enableval" = yes; then
12818 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12819 else
12820 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12821 fi
12822
12823 else
12824
12825 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12826
12827 fi
12828
12829
12830 eval "$wx_cv_use_numberdlg"
12831
12832 if test x"$enablestring" = xdisable; then
12833 if test $wxUSE_NUMBERDLG = no; then
12834 result=yes
12835 else
12836 result=no
12837 fi
12838 else
12839 result=$wxUSE_NUMBERDLG
12840 fi
12841
12842 { echo "$as_me:$LINENO: result: $result" >&5
12843 echo "${ECHO_T}$result" >&6; }
12844
12845
12846 enablestring=
12847 defaultval=$wxUSE_ALL_FEATURES
12848 if test -z "$defaultval"; then
12849 if test x"$enablestring" = xdisable; then
12850 defaultval=yes
12851 else
12852 defaultval=no
12853 fi
12854 fi
12855
12856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12857 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12858 # Check whether --enable-splash was given.
12859 if test "${enable_splash+set}" = set; then
12860 enableval=$enable_splash;
12861 if test "$enableval" = yes; then
12862 wx_cv_use_splash='wxUSE_SPLASH=yes'
12863 else
12864 wx_cv_use_splash='wxUSE_SPLASH=no'
12865 fi
12866
12867 else
12868
12869 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12870
12871 fi
12872
12873
12874 eval "$wx_cv_use_splash"
12875
12876 if test x"$enablestring" = xdisable; then
12877 if test $wxUSE_SPLASH = no; then
12878 result=yes
12879 else
12880 result=no
12881 fi
12882 else
12883 result=$wxUSE_SPLASH
12884 fi
12885
12886 { echo "$as_me:$LINENO: result: $result" >&5
12887 echo "${ECHO_T}$result" >&6; }
12888
12889
12890 enablestring=
12891 defaultval=$wxUSE_ALL_FEATURES
12892 if test -z "$defaultval"; then
12893 if test x"$enablestring" = xdisable; then
12894 defaultval=yes
12895 else
12896 defaultval=no
12897 fi
12898 fi
12899
12900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12901 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12902 # Check whether --enable-textdlg was given.
12903 if test "${enable_textdlg+set}" = set; then
12904 enableval=$enable_textdlg;
12905 if test "$enableval" = yes; then
12906 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12907 else
12908 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12909 fi
12910
12911 else
12912
12913 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12914
12915 fi
12916
12917
12918 eval "$wx_cv_use_textdlg"
12919
12920 if test x"$enablestring" = xdisable; then
12921 if test $wxUSE_TEXTDLG = no; then
12922 result=yes
12923 else
12924 result=no
12925 fi
12926 else
12927 result=$wxUSE_TEXTDLG
12928 fi
12929
12930 { echo "$as_me:$LINENO: result: $result" >&5
12931 echo "${ECHO_T}$result" >&6; }
12932
12933
12934 enablestring=
12935 defaultval=$wxUSE_ALL_FEATURES
12936 if test -z "$defaultval"; then
12937 if test x"$enablestring" = xdisable; then
12938 defaultval=yes
12939 else
12940 defaultval=no
12941 fi
12942 fi
12943
12944 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12945 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12946 # Check whether --enable-tipdlg was given.
12947 if test "${enable_tipdlg+set}" = set; then
12948 enableval=$enable_tipdlg;
12949 if test "$enableval" = yes; then
12950 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12951 else
12952 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12953 fi
12954
12955 else
12956
12957 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12958
12959 fi
12960
12961
12962 eval "$wx_cv_use_tipdlg"
12963
12964 if test x"$enablestring" = xdisable; then
12965 if test $wxUSE_STARTUP_TIPS = no; then
12966 result=yes
12967 else
12968 result=no
12969 fi
12970 else
12971 result=$wxUSE_STARTUP_TIPS
12972 fi
12973
12974 { echo "$as_me:$LINENO: result: $result" >&5
12975 echo "${ECHO_T}$result" >&6; }
12976
12977
12978 enablestring=
12979 defaultval=$wxUSE_ALL_FEATURES
12980 if test -z "$defaultval"; then
12981 if test x"$enablestring" = xdisable; then
12982 defaultval=yes
12983 else
12984 defaultval=no
12985 fi
12986 fi
12987
12988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12989 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12990 # Check whether --enable-progressdlg was given.
12991 if test "${enable_progressdlg+set}" = set; then
12992 enableval=$enable_progressdlg;
12993 if test "$enableval" = yes; then
12994 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12995 else
12996 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12997 fi
12998
12999 else
13000
13001 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13002
13003 fi
13004
13005
13006 eval "$wx_cv_use_progressdlg"
13007
13008 if test x"$enablestring" = xdisable; then
13009 if test $wxUSE_PROGRESSDLG = no; then
13010 result=yes
13011 else
13012 result=no
13013 fi
13014 else
13015 result=$wxUSE_PROGRESSDLG
13016 fi
13017
13018 { echo "$as_me:$LINENO: result: $result" >&5
13019 echo "${ECHO_T}$result" >&6; }
13020
13021
13022 enablestring=
13023 defaultval=$wxUSE_ALL_FEATURES
13024 if test -z "$defaultval"; then
13025 if test x"$enablestring" = xdisable; then
13026 defaultval=yes
13027 else
13028 defaultval=no
13029 fi
13030 fi
13031
13032 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13033 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13034 # Check whether --enable-wizarddlg was given.
13035 if test "${enable_wizarddlg+set}" = set; then
13036 enableval=$enable_wizarddlg;
13037 if test "$enableval" = yes; then
13038 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13039 else
13040 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13041 fi
13042
13043 else
13044
13045 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13046
13047 fi
13048
13049
13050 eval "$wx_cv_use_wizarddlg"
13051
13052 if test x"$enablestring" = xdisable; then
13053 if test $wxUSE_WIZARDDLG = no; then
13054 result=yes
13055 else
13056 result=no
13057 fi
13058 else
13059 result=$wxUSE_WIZARDDLG
13060 fi
13061
13062 { echo "$as_me:$LINENO: result: $result" >&5
13063 echo "${ECHO_T}$result" >&6; }
13064
13065
13066
13067
13068 enablestring=
13069 defaultval=$wxUSE_ALL_FEATURES
13070 if test -z "$defaultval"; then
13071 if test x"$enablestring" = xdisable; then
13072 defaultval=yes
13073 else
13074 defaultval=no
13075 fi
13076 fi
13077
13078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13079 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13080 # Check whether --enable-menus was given.
13081 if test "${enable_menus+set}" = set; then
13082 enableval=$enable_menus;
13083 if test "$enableval" = yes; then
13084 wx_cv_use_menus='wxUSE_MENUS=yes'
13085 else
13086 wx_cv_use_menus='wxUSE_MENUS=no'
13087 fi
13088
13089 else
13090
13091 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13092
13093 fi
13094
13095
13096 eval "$wx_cv_use_menus"
13097
13098 if test x"$enablestring" = xdisable; then
13099 if test $wxUSE_MENUS = no; then
13100 result=yes
13101 else
13102 result=no
13103 fi
13104 else
13105 result=$wxUSE_MENUS
13106 fi
13107
13108 { echo "$as_me:$LINENO: result: $result" >&5
13109 echo "${ECHO_T}$result" >&6; }
13110
13111
13112 enablestring=
13113 defaultval=$wxUSE_ALL_FEATURES
13114 if test -z "$defaultval"; then
13115 if test x"$enablestring" = xdisable; then
13116 defaultval=yes
13117 else
13118 defaultval=no
13119 fi
13120 fi
13121
13122 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13123 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13124 # Check whether --enable-miniframe was given.
13125 if test "${enable_miniframe+set}" = set; then
13126 enableval=$enable_miniframe;
13127 if test "$enableval" = yes; then
13128 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13129 else
13130 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13131 fi
13132
13133 else
13134
13135 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13136
13137 fi
13138
13139
13140 eval "$wx_cv_use_miniframe"
13141
13142 if test x"$enablestring" = xdisable; then
13143 if test $wxUSE_MINIFRAME = no; then
13144 result=yes
13145 else
13146 result=no
13147 fi
13148 else
13149 result=$wxUSE_MINIFRAME
13150 fi
13151
13152 { echo "$as_me:$LINENO: result: $result" >&5
13153 echo "${ECHO_T}$result" >&6; }
13154
13155
13156 enablestring=
13157 defaultval=$wxUSE_ALL_FEATURES
13158 if test -z "$defaultval"; then
13159 if test x"$enablestring" = xdisable; then
13160 defaultval=yes
13161 else
13162 defaultval=no
13163 fi
13164 fi
13165
13166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13167 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13168 # Check whether --enable-tooltips was given.
13169 if test "${enable_tooltips+set}" = set; then
13170 enableval=$enable_tooltips;
13171 if test "$enableval" = yes; then
13172 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13173 else
13174 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13175 fi
13176
13177 else
13178
13179 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13180
13181 fi
13182
13183
13184 eval "$wx_cv_use_tooltips"
13185
13186 if test x"$enablestring" = xdisable; then
13187 if test $wxUSE_TOOLTIPS = no; then
13188 result=yes
13189 else
13190 result=no
13191 fi
13192 else
13193 result=$wxUSE_TOOLTIPS
13194 fi
13195
13196 { echo "$as_me:$LINENO: result: $result" >&5
13197 echo "${ECHO_T}$result" >&6; }
13198
13199
13200 enablestring=
13201 defaultval=$wxUSE_ALL_FEATURES
13202 if test -z "$defaultval"; then
13203 if test x"$enablestring" = xdisable; then
13204 defaultval=yes
13205 else
13206 defaultval=no
13207 fi
13208 fi
13209
13210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13211 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13212 # Check whether --enable-splines was given.
13213 if test "${enable_splines+set}" = set; then
13214 enableval=$enable_splines;
13215 if test "$enableval" = yes; then
13216 wx_cv_use_splines='wxUSE_SPLINES=yes'
13217 else
13218 wx_cv_use_splines='wxUSE_SPLINES=no'
13219 fi
13220
13221 else
13222
13223 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13224
13225 fi
13226
13227
13228 eval "$wx_cv_use_splines"
13229
13230 if test x"$enablestring" = xdisable; then
13231 if test $wxUSE_SPLINES = no; then
13232 result=yes
13233 else
13234 result=no
13235 fi
13236 else
13237 result=$wxUSE_SPLINES
13238 fi
13239
13240 { echo "$as_me:$LINENO: result: $result" >&5
13241 echo "${ECHO_T}$result" >&6; }
13242
13243
13244 enablestring=
13245 defaultval=$wxUSE_ALL_FEATURES
13246 if test -z "$defaultval"; then
13247 if test x"$enablestring" = xdisable; then
13248 defaultval=yes
13249 else
13250 defaultval=no
13251 fi
13252 fi
13253
13254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13255 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13256 # Check whether --enable-mousewheel was given.
13257 if test "${enable_mousewheel+set}" = set; then
13258 enableval=$enable_mousewheel;
13259 if test "$enableval" = yes; then
13260 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13261 else
13262 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13263 fi
13264
13265 else
13266
13267 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13268
13269 fi
13270
13271
13272 eval "$wx_cv_use_mousewheel"
13273
13274 if test x"$enablestring" = xdisable; then
13275 if test $wxUSE_MOUSEWHEEL = no; then
13276 result=yes
13277 else
13278 result=no
13279 fi
13280 else
13281 result=$wxUSE_MOUSEWHEEL
13282 fi
13283
13284 { echo "$as_me:$LINENO: result: $result" >&5
13285 echo "${ECHO_T}$result" >&6; }
13286
13287
13288 enablestring=
13289 defaultval=$wxUSE_ALL_FEATURES
13290 if test -z "$defaultval"; then
13291 if test x"$enablestring" = xdisable; then
13292 defaultval=yes
13293 else
13294 defaultval=no
13295 fi
13296 fi
13297
13298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13299 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13300 # Check whether --enable-validators was given.
13301 if test "${enable_validators+set}" = set; then
13302 enableval=$enable_validators;
13303 if test "$enableval" = yes; then
13304 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13305 else
13306 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13307 fi
13308
13309 else
13310
13311 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13312
13313 fi
13314
13315
13316 eval "$wx_cv_use_validators"
13317
13318 if test x"$enablestring" = xdisable; then
13319 if test $wxUSE_VALIDATORS = no; then
13320 result=yes
13321 else
13322 result=no
13323 fi
13324 else
13325 result=$wxUSE_VALIDATORS
13326 fi
13327
13328 { echo "$as_me:$LINENO: result: $result" >&5
13329 echo "${ECHO_T}$result" >&6; }
13330
13331
13332 enablestring=
13333 defaultval=$wxUSE_ALL_FEATURES
13334 if test -z "$defaultval"; then
13335 if test x"$enablestring" = xdisable; then
13336 defaultval=yes
13337 else
13338 defaultval=no
13339 fi
13340 fi
13341
13342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13343 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13344 # Check whether --enable-busyinfo was given.
13345 if test "${enable_busyinfo+set}" = set; then
13346 enableval=$enable_busyinfo;
13347 if test "$enableval" = yes; then
13348 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13349 else
13350 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13351 fi
13352
13353 else
13354
13355 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13356
13357 fi
13358
13359
13360 eval "$wx_cv_use_busyinfo"
13361
13362 if test x"$enablestring" = xdisable; then
13363 if test $wxUSE_BUSYINFO = no; then
13364 result=yes
13365 else
13366 result=no
13367 fi
13368 else
13369 result=$wxUSE_BUSYINFO
13370 fi
13371
13372 { echo "$as_me:$LINENO: result: $result" >&5
13373 echo "${ECHO_T}$result" >&6; }
13374
13375
13376 enablestring=
13377 defaultval=$wxUSE_ALL_FEATURES
13378 if test -z "$defaultval"; then
13379 if test x"$enablestring" = xdisable; then
13380 defaultval=yes
13381 else
13382 defaultval=no
13383 fi
13384 fi
13385
13386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13387 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13388 # Check whether --enable-joystick was given.
13389 if test "${enable_joystick+set}" = set; then
13390 enableval=$enable_joystick;
13391 if test "$enableval" = yes; then
13392 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13393 else
13394 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13395 fi
13396
13397 else
13398
13399 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13400
13401 fi
13402
13403
13404 eval "$wx_cv_use_joystick"
13405
13406 if test x"$enablestring" = xdisable; then
13407 if test $wxUSE_JOYSTICK = no; then
13408 result=yes
13409 else
13410 result=no
13411 fi
13412 else
13413 result=$wxUSE_JOYSTICK
13414 fi
13415
13416 { echo "$as_me:$LINENO: result: $result" >&5
13417 echo "${ECHO_T}$result" >&6; }
13418
13419
13420 enablestring=
13421 defaultval=$wxUSE_ALL_FEATURES
13422 if test -z "$defaultval"; then
13423 if test x"$enablestring" = xdisable; then
13424 defaultval=yes
13425 else
13426 defaultval=no
13427 fi
13428 fi
13429
13430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13431 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13432 # Check whether --enable-metafile was given.
13433 if test "${enable_metafile+set}" = set; then
13434 enableval=$enable_metafile;
13435 if test "$enableval" = yes; then
13436 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13437 else
13438 wx_cv_use_metafile='wxUSE_METAFILE=no'
13439 fi
13440
13441 else
13442
13443 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13444
13445 fi
13446
13447
13448 eval "$wx_cv_use_metafile"
13449
13450 if test x"$enablestring" = xdisable; then
13451 if test $wxUSE_METAFILE = no; then
13452 result=yes
13453 else
13454 result=no
13455 fi
13456 else
13457 result=$wxUSE_METAFILE
13458 fi
13459
13460 { echo "$as_me:$LINENO: result: $result" >&5
13461 echo "${ECHO_T}$result" >&6; }
13462
13463
13464 enablestring=
13465 defaultval=$wxUSE_ALL_FEATURES
13466 if test -z "$defaultval"; then
13467 if test x"$enablestring" = xdisable; then
13468 defaultval=yes
13469 else
13470 defaultval=no
13471 fi
13472 fi
13473
13474 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13475 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13476 # Check whether --enable-dragimage was given.
13477 if test "${enable_dragimage+set}" = set; then
13478 enableval=$enable_dragimage;
13479 if test "$enableval" = yes; then
13480 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13481 else
13482 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13483 fi
13484
13485 else
13486
13487 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13488
13489 fi
13490
13491
13492 eval "$wx_cv_use_dragimage"
13493
13494 if test x"$enablestring" = xdisable; then
13495 if test $wxUSE_DRAGIMAGE = no; then
13496 result=yes
13497 else
13498 result=no
13499 fi
13500 else
13501 result=$wxUSE_DRAGIMAGE
13502 fi
13503
13504 { echo "$as_me:$LINENO: result: $result" >&5
13505 echo "${ECHO_T}$result" >&6; }
13506
13507
13508 enablestring=
13509 defaultval=$wxUSE_ALL_FEATURES
13510 if test -z "$defaultval"; then
13511 if test x"$enablestring" = xdisable; then
13512 defaultval=yes
13513 else
13514 defaultval=no
13515 fi
13516 fi
13517
13518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13519 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13520 # Check whether --enable-accessibility was given.
13521 if test "${enable_accessibility+set}" = set; then
13522 enableval=$enable_accessibility;
13523 if test "$enableval" = yes; then
13524 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13525 else
13526 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13527 fi
13528
13529 else
13530
13531 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13532
13533 fi
13534
13535
13536 eval "$wx_cv_use_accessibility"
13537
13538 if test x"$enablestring" = xdisable; then
13539 if test $wxUSE_ACCESSIBILITY = no; then
13540 result=yes
13541 else
13542 result=no
13543 fi
13544 else
13545 result=$wxUSE_ACCESSIBILITY
13546 fi
13547
13548 { echo "$as_me:$LINENO: result: $result" >&5
13549 echo "${ECHO_T}$result" >&6; }
13550
13551
13552
13553
13554 enablestring=
13555 defaultval=$wxUSE_ALL_FEATURES
13556 if test -z "$defaultval"; then
13557 if test x"$enablestring" = xdisable; then
13558 defaultval=yes
13559 else
13560 defaultval=no
13561 fi
13562 fi
13563
13564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13565 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13566 # Check whether --enable-palette was given.
13567 if test "${enable_palette+set}" = set; then
13568 enableval=$enable_palette;
13569 if test "$enableval" = yes; then
13570 wx_cv_use_palette='wxUSE_PALETTE=yes'
13571 else
13572 wx_cv_use_palette='wxUSE_PALETTE=no'
13573 fi
13574
13575 else
13576
13577 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13578
13579 fi
13580
13581
13582 eval "$wx_cv_use_palette"
13583
13584 if test x"$enablestring" = xdisable; then
13585 if test $wxUSE_PALETTE = no; then
13586 result=yes
13587 else
13588 result=no
13589 fi
13590 else
13591 result=$wxUSE_PALETTE
13592 fi
13593
13594 { echo "$as_me:$LINENO: result: $result" >&5
13595 echo "${ECHO_T}$result" >&6; }
13596
13597
13598 enablestring=
13599 defaultval=$wxUSE_ALL_FEATURES
13600 if test -z "$defaultval"; then
13601 if test x"$enablestring" = xdisable; then
13602 defaultval=yes
13603 else
13604 defaultval=no
13605 fi
13606 fi
13607
13608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13609 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13610 # Check whether --enable-image was given.
13611 if test "${enable_image+set}" = set; then
13612 enableval=$enable_image;
13613 if test "$enableval" = yes; then
13614 wx_cv_use_image='wxUSE_IMAGE=yes'
13615 else
13616 wx_cv_use_image='wxUSE_IMAGE=no'
13617 fi
13618
13619 else
13620
13621 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13622
13623 fi
13624
13625
13626 eval "$wx_cv_use_image"
13627
13628 if test x"$enablestring" = xdisable; then
13629 if test $wxUSE_IMAGE = no; then
13630 result=yes
13631 else
13632 result=no
13633 fi
13634 else
13635 result=$wxUSE_IMAGE
13636 fi
13637
13638 { echo "$as_me:$LINENO: result: $result" >&5
13639 echo "${ECHO_T}$result" >&6; }
13640
13641
13642 enablestring=
13643 defaultval=$wxUSE_ALL_FEATURES
13644 if test -z "$defaultval"; then
13645 if test x"$enablestring" = xdisable; then
13646 defaultval=yes
13647 else
13648 defaultval=no
13649 fi
13650 fi
13651
13652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13653 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13654 # Check whether --enable-gif was given.
13655 if test "${enable_gif+set}" = set; then
13656 enableval=$enable_gif;
13657 if test "$enableval" = yes; then
13658 wx_cv_use_gif='wxUSE_GIF=yes'
13659 else
13660 wx_cv_use_gif='wxUSE_GIF=no'
13661 fi
13662
13663 else
13664
13665 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13666
13667 fi
13668
13669
13670 eval "$wx_cv_use_gif"
13671
13672 if test x"$enablestring" = xdisable; then
13673 if test $wxUSE_GIF = no; then
13674 result=yes
13675 else
13676 result=no
13677 fi
13678 else
13679 result=$wxUSE_GIF
13680 fi
13681
13682 { echo "$as_me:$LINENO: result: $result" >&5
13683 echo "${ECHO_T}$result" >&6; }
13684
13685
13686 enablestring=
13687 defaultval=$wxUSE_ALL_FEATURES
13688 if test -z "$defaultval"; then
13689 if test x"$enablestring" = xdisable; then
13690 defaultval=yes
13691 else
13692 defaultval=no
13693 fi
13694 fi
13695
13696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13697 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13698 # Check whether --enable-pcx was given.
13699 if test "${enable_pcx+set}" = set; then
13700 enableval=$enable_pcx;
13701 if test "$enableval" = yes; then
13702 wx_cv_use_pcx='wxUSE_PCX=yes'
13703 else
13704 wx_cv_use_pcx='wxUSE_PCX=no'
13705 fi
13706
13707 else
13708
13709 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13710
13711 fi
13712
13713
13714 eval "$wx_cv_use_pcx"
13715
13716 if test x"$enablestring" = xdisable; then
13717 if test $wxUSE_PCX = no; then
13718 result=yes
13719 else
13720 result=no
13721 fi
13722 else
13723 result=$wxUSE_PCX
13724 fi
13725
13726 { echo "$as_me:$LINENO: result: $result" >&5
13727 echo "${ECHO_T}$result" >&6; }
13728
13729
13730 enablestring=
13731 defaultval=$wxUSE_ALL_FEATURES
13732 if test -z "$defaultval"; then
13733 if test x"$enablestring" = xdisable; then
13734 defaultval=yes
13735 else
13736 defaultval=no
13737 fi
13738 fi
13739
13740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13741 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13742 # Check whether --enable-tga was given.
13743 if test "${enable_tga+set}" = set; then
13744 enableval=$enable_tga;
13745 if test "$enableval" = yes; then
13746 wx_cv_use_tga='wxUSE_TGA=yes'
13747 else
13748 wx_cv_use_tga='wxUSE_TGA=no'
13749 fi
13750
13751 else
13752
13753 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13754
13755 fi
13756
13757
13758 eval "$wx_cv_use_tga"
13759
13760 if test x"$enablestring" = xdisable; then
13761 if test $wxUSE_TGA = no; then
13762 result=yes
13763 else
13764 result=no
13765 fi
13766 else
13767 result=$wxUSE_TGA
13768 fi
13769
13770 { echo "$as_me:$LINENO: result: $result" >&5
13771 echo "${ECHO_T}$result" >&6; }
13772
13773
13774 enablestring=
13775 defaultval=$wxUSE_ALL_FEATURES
13776 if test -z "$defaultval"; then
13777 if test x"$enablestring" = xdisable; then
13778 defaultval=yes
13779 else
13780 defaultval=no
13781 fi
13782 fi
13783
13784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13785 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13786 # Check whether --enable-iff was given.
13787 if test "${enable_iff+set}" = set; then
13788 enableval=$enable_iff;
13789 if test "$enableval" = yes; then
13790 wx_cv_use_iff='wxUSE_IFF=yes'
13791 else
13792 wx_cv_use_iff='wxUSE_IFF=no'
13793 fi
13794
13795 else
13796
13797 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13798
13799 fi
13800
13801
13802 eval "$wx_cv_use_iff"
13803
13804 if test x"$enablestring" = xdisable; then
13805 if test $wxUSE_IFF = no; then
13806 result=yes
13807 else
13808 result=no
13809 fi
13810 else
13811 result=$wxUSE_IFF
13812 fi
13813
13814 { echo "$as_me:$LINENO: result: $result" >&5
13815 echo "${ECHO_T}$result" >&6; }
13816
13817
13818 enablestring=
13819 defaultval=$wxUSE_ALL_FEATURES
13820 if test -z "$defaultval"; then
13821 if test x"$enablestring" = xdisable; then
13822 defaultval=yes
13823 else
13824 defaultval=no
13825 fi
13826 fi
13827
13828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13829 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13830 # Check whether --enable-pnm was given.
13831 if test "${enable_pnm+set}" = set; then
13832 enableval=$enable_pnm;
13833 if test "$enableval" = yes; then
13834 wx_cv_use_pnm='wxUSE_PNM=yes'
13835 else
13836 wx_cv_use_pnm='wxUSE_PNM=no'
13837 fi
13838
13839 else
13840
13841 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13842
13843 fi
13844
13845
13846 eval "$wx_cv_use_pnm"
13847
13848 if test x"$enablestring" = xdisable; then
13849 if test $wxUSE_PNM = no; then
13850 result=yes
13851 else
13852 result=no
13853 fi
13854 else
13855 result=$wxUSE_PNM
13856 fi
13857
13858 { echo "$as_me:$LINENO: result: $result" >&5
13859 echo "${ECHO_T}$result" >&6; }
13860
13861
13862 enablestring=
13863 defaultval=$wxUSE_ALL_FEATURES
13864 if test -z "$defaultval"; then
13865 if test x"$enablestring" = xdisable; then
13866 defaultval=yes
13867 else
13868 defaultval=no
13869 fi
13870 fi
13871
13872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13873 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13874 # Check whether --enable-xpm was given.
13875 if test "${enable_xpm+set}" = set; then
13876 enableval=$enable_xpm;
13877 if test "$enableval" = yes; then
13878 wx_cv_use_xpm='wxUSE_XPM=yes'
13879 else
13880 wx_cv_use_xpm='wxUSE_XPM=no'
13881 fi
13882
13883 else
13884
13885 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13886
13887 fi
13888
13889
13890 eval "$wx_cv_use_xpm"
13891
13892 if test x"$enablestring" = xdisable; then
13893 if test $wxUSE_XPM = no; then
13894 result=yes
13895 else
13896 result=no
13897 fi
13898 else
13899 result=$wxUSE_XPM
13900 fi
13901
13902 { echo "$as_me:$LINENO: result: $result" >&5
13903 echo "${ECHO_T}$result" >&6; }
13904
13905
13906 enablestring=
13907 defaultval=$wxUSE_ALL_FEATURES
13908 if test -z "$defaultval"; then
13909 if test x"$enablestring" = xdisable; then
13910 defaultval=yes
13911 else
13912 defaultval=no
13913 fi
13914 fi
13915
13916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13917 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13918 # Check whether --enable-ico_cur was given.
13919 if test "${enable_ico_cur+set}" = set; then
13920 enableval=$enable_ico_cur;
13921 if test "$enableval" = yes; then
13922 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13923 else
13924 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13925 fi
13926
13927 else
13928
13929 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13930
13931 fi
13932
13933
13934 eval "$wx_cv_use_ico_cur"
13935
13936 if test x"$enablestring" = xdisable; then
13937 if test $wxUSE_ICO_CUR = no; then
13938 result=yes
13939 else
13940 result=no
13941 fi
13942 else
13943 result=$wxUSE_ICO_CUR
13944 fi
13945
13946 { echo "$as_me:$LINENO: result: $result" >&5
13947 echo "${ECHO_T}$result" >&6; }
13948
13949
13950
13951
13952 enablestring=
13953 defaultval=$wxUSE_ALL_FEATURES
13954 if test -z "$defaultval"; then
13955 if test x"$enablestring" = xdisable; then
13956 defaultval=yes
13957 else
13958 defaultval=no
13959 fi
13960 fi
13961
13962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13963 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13964 # Check whether --enable-dccache was given.
13965 if test "${enable_dccache+set}" = set; then
13966 enableval=$enable_dccache;
13967 if test "$enableval" = yes; then
13968 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13969 else
13970 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13971 fi
13972
13973 else
13974
13975 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13976
13977 fi
13978
13979
13980 eval "$wx_cv_use_dccache"
13981
13982 if test x"$enablestring" = xdisable; then
13983 if test $wxUSE_DC_CACHEING = no; then
13984 result=yes
13985 else
13986 result=no
13987 fi
13988 else
13989 result=$wxUSE_DC_CACHEING
13990 fi
13991
13992 { echo "$as_me:$LINENO: result: $result" >&5
13993 echo "${ECHO_T}$result" >&6; }
13994
13995
13996 enablestring=
13997 defaultval=$wxUSE_ALL_FEATURES
13998 if test -z "$defaultval"; then
13999 if test x"$enablestring" = xdisable; then
14000 defaultval=yes
14001 else
14002 defaultval=no
14003 fi
14004 fi
14005
14006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14007 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14008 # Check whether --enable-ps-in-msw was given.
14009 if test "${enable_ps_in_msw+set}" = set; then
14010 enableval=$enable_ps_in_msw;
14011 if test "$enableval" = yes; then
14012 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14013 else
14014 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14015 fi
14016
14017 else
14018
14019 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14020
14021 fi
14022
14023
14024 eval "$wx_cv_use_ps_in_msw"
14025
14026 if test x"$enablestring" = xdisable; then
14027 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14028 result=yes
14029 else
14030 result=no
14031 fi
14032 else
14033 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14034 fi
14035
14036 { echo "$as_me:$LINENO: result: $result" >&5
14037 echo "${ECHO_T}$result" >&6; }
14038
14039
14040 enablestring=
14041 defaultval=$wxUSE_ALL_FEATURES
14042 if test -z "$defaultval"; then
14043 if test x"$enablestring" = xdisable; then
14044 defaultval=yes
14045 else
14046 defaultval=no
14047 fi
14048 fi
14049
14050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14051 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14052 # Check whether --enable-ownerdrawn was given.
14053 if test "${enable_ownerdrawn+set}" = set; then
14054 enableval=$enable_ownerdrawn;
14055 if test "$enableval" = yes; then
14056 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14057 else
14058 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14059 fi
14060
14061 else
14062
14063 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14064
14065 fi
14066
14067
14068 eval "$wx_cv_use_ownerdrawn"
14069
14070 if test x"$enablestring" = xdisable; then
14071 if test $wxUSE_OWNER_DRAWN = no; then
14072 result=yes
14073 else
14074 result=no
14075 fi
14076 else
14077 result=$wxUSE_OWNER_DRAWN
14078 fi
14079
14080 { echo "$as_me:$LINENO: result: $result" >&5
14081 echo "${ECHO_T}$result" >&6; }
14082
14083
14084 enablestring=
14085 defaultval=$wxUSE_ALL_FEATURES
14086 if test -z "$defaultval"; then
14087 if test x"$enablestring" = xdisable; then
14088 defaultval=yes
14089 else
14090 defaultval=no
14091 fi
14092 fi
14093
14094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14095 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14096 # Check whether --enable-uxtheme was given.
14097 if test "${enable_uxtheme+set}" = set; then
14098 enableval=$enable_uxtheme;
14099 if test "$enableval" = yes; then
14100 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14101 else
14102 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14103 fi
14104
14105 else
14106
14107 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14108
14109 fi
14110
14111
14112 eval "$wx_cv_use_uxtheme"
14113
14114 if test x"$enablestring" = xdisable; then
14115 if test $wxUSE_UXTHEME = no; then
14116 result=yes
14117 else
14118 result=no
14119 fi
14120 else
14121 result=$wxUSE_UXTHEME
14122 fi
14123
14124 { echo "$as_me:$LINENO: result: $result" >&5
14125 echo "${ECHO_T}$result" >&6; }
14126
14127
14128 enablestring=
14129 defaultval=$wxUSE_ALL_FEATURES
14130 if test -z "$defaultval"; then
14131 if test x"$enablestring" = xdisable; then
14132 defaultval=yes
14133 else
14134 defaultval=no
14135 fi
14136 fi
14137
14138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14139 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14140 # Check whether --enable-wxdib was given.
14141 if test "${enable_wxdib+set}" = set; then
14142 enableval=$enable_wxdib;
14143 if test "$enableval" = yes; then
14144 wx_cv_use_wxdib='wxUSE_DIB=yes'
14145 else
14146 wx_cv_use_wxdib='wxUSE_DIB=no'
14147 fi
14148
14149 else
14150
14151 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14152
14153 fi
14154
14155
14156 eval "$wx_cv_use_wxdib"
14157
14158 if test x"$enablestring" = xdisable; then
14159 if test $wxUSE_DIB = no; then
14160 result=yes
14161 else
14162 result=no
14163 fi
14164 else
14165 result=$wxUSE_DIB
14166 fi
14167
14168 { echo "$as_me:$LINENO: result: $result" >&5
14169 echo "${ECHO_T}$result" >&6; }
14170
14171
14172 if test "$wxUSE_MSW" != 1; then
14173 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14174 fi
14175
14176
14177 enablestring=
14178 defaultval=$wxUSE_ALL_FEATURES
14179 if test -z "$defaultval"; then
14180 if test x"$enablestring" = xdisable; then
14181 defaultval=yes
14182 else
14183 defaultval=no
14184 fi
14185 fi
14186
14187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14188 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14189 # Check whether --enable-autoidman was given.
14190 if test "${enable_autoidman+set}" = set; then
14191 enableval=$enable_autoidman;
14192 if test "$enableval" = yes; then
14193 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14194 else
14195 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14196 fi
14197
14198 else
14199
14200 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14201
14202 fi
14203
14204
14205 eval "$wx_cv_use_autoidman"
14206
14207 if test x"$enablestring" = xdisable; then
14208 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14209 result=yes
14210 else
14211 result=no
14212 fi
14213 else
14214 result=$wxUSE_AUTOID_MANAGEMENT
14215 fi
14216
14217 { echo "$as_me:$LINENO: result: $result" >&5
14218 echo "${ECHO_T}$result" >&6; }
14219
14220
14221 fi
14222
14223
14224 cat >confcache <<\_ACEOF
14225 # This file is a shell script that caches the results of configure
14226 # tests run on this system so they can be shared between configure
14227 # scripts and configure runs, see configure's option --config-cache.
14228 # It is not useful on other systems. If it contains results you don't
14229 # want to keep, you may remove or edit it.
14230 #
14231 # config.status only pays attention to the cache file if you give it
14232 # the --recheck option to rerun configure.
14233 #
14234 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14235 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14236 # following values.
14237
14238 _ACEOF
14239
14240 # The following way of writing the cache mishandles newlines in values,
14241 # but we know of no workaround that is simple, portable, and efficient.
14242 # So, we kill variables containing newlines.
14243 # Ultrix sh set writes to stderr and can't be redirected directly,
14244 # and sets the high bit in the cache file unless we assign to the vars.
14245 (
14246 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14247 eval ac_val=\$$ac_var
14248 case $ac_val in #(
14249 *${as_nl}*)
14250 case $ac_var in #(
14251 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14252 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14253 esac
14254 case $ac_var in #(
14255 _ | IFS | as_nl) ;; #(
14256 *) $as_unset $ac_var ;;
14257 esac ;;
14258 esac
14259 done
14260
14261 (set) 2>&1 |
14262 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14263 *${as_nl}ac_space=\ *)
14264 # `set' does not quote correctly, so add quotes (double-quote
14265 # substitution turns \\\\ into \\, and sed turns \\ into \).
14266 sed -n \
14267 "s/'/'\\\\''/g;
14268 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14269 ;; #(
14270 *)
14271 # `set' quotes correctly as required by POSIX, so do not add quotes.
14272 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14273 ;;
14274 esac |
14275 sort
14276 ) |
14277 sed '
14278 /^ac_cv_env_/b end
14279 t clear
14280 :clear
14281 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14282 t end
14283 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14284 :end' >>confcache
14285 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14286 if test -w "$cache_file"; then
14287 test "x$cache_file" != "x/dev/null" &&
14288 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14289 echo "$as_me: updating cache $cache_file" >&6;}
14290 cat confcache >$cache_file
14291 else
14292 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14293 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14294 fi
14295 fi
14296 rm -f confcache
14297
14298 CFLAGS=${CFLAGS:=}
14299
14300
14301
14302 ac_ext=c
14303 ac_cpp='$CPP $CPPFLAGS'
14304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14307 if test -n "$ac_tool_prefix"; then
14308 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14309 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14310 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14312 if test "${ac_cv_prog_CC+set}" = set; then
14313 echo $ECHO_N "(cached) $ECHO_C" >&6
14314 else
14315 if test -n "$CC"; then
14316 ac_cv_prog_CC="$CC" # Let the user override the test.
14317 else
14318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14319 for as_dir in $PATH
14320 do
14321 IFS=$as_save_IFS
14322 test -z "$as_dir" && as_dir=.
14323 for ac_exec_ext in '' $ac_executable_extensions; do
14324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14325 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14327 break 2
14328 fi
14329 done
14330 done
14331 IFS=$as_save_IFS
14332
14333 fi
14334 fi
14335 CC=$ac_cv_prog_CC
14336 if test -n "$CC"; then
14337 { echo "$as_me:$LINENO: result: $CC" >&5
14338 echo "${ECHO_T}$CC" >&6; }
14339 else
14340 { echo "$as_me:$LINENO: result: no" >&5
14341 echo "${ECHO_T}no" >&6; }
14342 fi
14343
14344
14345 fi
14346 if test -z "$ac_cv_prog_CC"; then
14347 ac_ct_CC=$CC
14348 # Extract the first word of "gcc", so it can be a program name with args.
14349 set dummy gcc; ac_word=$2
14350 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14352 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14353 echo $ECHO_N "(cached) $ECHO_C" >&6
14354 else
14355 if test -n "$ac_ct_CC"; then
14356 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14357 else
14358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14359 for as_dir in $PATH
14360 do
14361 IFS=$as_save_IFS
14362 test -z "$as_dir" && as_dir=.
14363 for ac_exec_ext in '' $ac_executable_extensions; do
14364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14365 ac_cv_prog_ac_ct_CC="gcc"
14366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14367 break 2
14368 fi
14369 done
14370 done
14371 IFS=$as_save_IFS
14372
14373 fi
14374 fi
14375 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14376 if test -n "$ac_ct_CC"; then
14377 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14378 echo "${ECHO_T}$ac_ct_CC" >&6; }
14379 else
14380 { echo "$as_me:$LINENO: result: no" >&5
14381 echo "${ECHO_T}no" >&6; }
14382 fi
14383
14384 if test "x$ac_ct_CC" = x; then
14385 CC=""
14386 else
14387 case $cross_compiling:$ac_tool_warned in
14388 yes:)
14389 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14390 whose name does not start with the host triplet. If you think this
14391 configuration is useful to you, please write to autoconf@gnu.org." >&5
14392 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14393 whose name does not start with the host triplet. If you think this
14394 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14395 ac_tool_warned=yes ;;
14396 esac
14397 CC=$ac_ct_CC
14398 fi
14399 else
14400 CC="$ac_cv_prog_CC"
14401 fi
14402
14403 if test -z "$CC"; then
14404 if test -n "$ac_tool_prefix"; then
14405 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14406 set dummy ${ac_tool_prefix}cc; ac_word=$2
14407 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14409 if test "${ac_cv_prog_CC+set}" = set; then
14410 echo $ECHO_N "(cached) $ECHO_C" >&6
14411 else
14412 if test -n "$CC"; then
14413 ac_cv_prog_CC="$CC" # Let the user override the test.
14414 else
14415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14416 for as_dir in $PATH
14417 do
14418 IFS=$as_save_IFS
14419 test -z "$as_dir" && as_dir=.
14420 for ac_exec_ext in '' $ac_executable_extensions; do
14421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14422 ac_cv_prog_CC="${ac_tool_prefix}cc"
14423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14424 break 2
14425 fi
14426 done
14427 done
14428 IFS=$as_save_IFS
14429
14430 fi
14431 fi
14432 CC=$ac_cv_prog_CC
14433 if test -n "$CC"; then
14434 { echo "$as_me:$LINENO: result: $CC" >&5
14435 echo "${ECHO_T}$CC" >&6; }
14436 else
14437 { echo "$as_me:$LINENO: result: no" >&5
14438 echo "${ECHO_T}no" >&6; }
14439 fi
14440
14441
14442 fi
14443 fi
14444 if test -z "$CC"; then
14445 # Extract the first word of "cc", so it can be a program name with args.
14446 set dummy cc; ac_word=$2
14447 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14449 if test "${ac_cv_prog_CC+set}" = set; then
14450 echo $ECHO_N "(cached) $ECHO_C" >&6
14451 else
14452 if test -n "$CC"; then
14453 ac_cv_prog_CC="$CC" # Let the user override the test.
14454 else
14455 ac_prog_rejected=no
14456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14457 for as_dir in $PATH
14458 do
14459 IFS=$as_save_IFS
14460 test -z "$as_dir" && as_dir=.
14461 for ac_exec_ext in '' $ac_executable_extensions; do
14462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14463 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14464 ac_prog_rejected=yes
14465 continue
14466 fi
14467 ac_cv_prog_CC="cc"
14468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14469 break 2
14470 fi
14471 done
14472 done
14473 IFS=$as_save_IFS
14474
14475 if test $ac_prog_rejected = yes; then
14476 # We found a bogon in the path, so make sure we never use it.
14477 set dummy $ac_cv_prog_CC
14478 shift
14479 if test $# != 0; then
14480 # We chose a different compiler from the bogus one.
14481 # However, it has the same basename, so the bogon will be chosen
14482 # first if we set CC to just the basename; use the full file name.
14483 shift
14484 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14485 fi
14486 fi
14487 fi
14488 fi
14489 CC=$ac_cv_prog_CC
14490 if test -n "$CC"; then
14491 { echo "$as_me:$LINENO: result: $CC" >&5
14492 echo "${ECHO_T}$CC" >&6; }
14493 else
14494 { echo "$as_me:$LINENO: result: no" >&5
14495 echo "${ECHO_T}no" >&6; }
14496 fi
14497
14498
14499 fi
14500 if test -z "$CC"; then
14501 if test -n "$ac_tool_prefix"; then
14502 for ac_prog in cl.exe
14503 do
14504 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14505 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14506 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14508 if test "${ac_cv_prog_CC+set}" = set; then
14509 echo $ECHO_N "(cached) $ECHO_C" >&6
14510 else
14511 if test -n "$CC"; then
14512 ac_cv_prog_CC="$CC" # Let the user override the test.
14513 else
14514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14515 for as_dir in $PATH
14516 do
14517 IFS=$as_save_IFS
14518 test -z "$as_dir" && as_dir=.
14519 for ac_exec_ext in '' $ac_executable_extensions; do
14520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14521 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14523 break 2
14524 fi
14525 done
14526 done
14527 IFS=$as_save_IFS
14528
14529 fi
14530 fi
14531 CC=$ac_cv_prog_CC
14532 if test -n "$CC"; then
14533 { echo "$as_me:$LINENO: result: $CC" >&5
14534 echo "${ECHO_T}$CC" >&6; }
14535 else
14536 { echo "$as_me:$LINENO: result: no" >&5
14537 echo "${ECHO_T}no" >&6; }
14538 fi
14539
14540
14541 test -n "$CC" && break
14542 done
14543 fi
14544 if test -z "$CC"; then
14545 ac_ct_CC=$CC
14546 for ac_prog in cl.exe
14547 do
14548 # Extract the first word of "$ac_prog", so it can be a program name with args.
14549 set dummy $ac_prog; ac_word=$2
14550 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14552 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14553 echo $ECHO_N "(cached) $ECHO_C" >&6
14554 else
14555 if test -n "$ac_ct_CC"; then
14556 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14557 else
14558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14559 for as_dir in $PATH
14560 do
14561 IFS=$as_save_IFS
14562 test -z "$as_dir" && as_dir=.
14563 for ac_exec_ext in '' $ac_executable_extensions; do
14564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14565 ac_cv_prog_ac_ct_CC="$ac_prog"
14566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14567 break 2
14568 fi
14569 done
14570 done
14571 IFS=$as_save_IFS
14572
14573 fi
14574 fi
14575 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14576 if test -n "$ac_ct_CC"; then
14577 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14578 echo "${ECHO_T}$ac_ct_CC" >&6; }
14579 else
14580 { echo "$as_me:$LINENO: result: no" >&5
14581 echo "${ECHO_T}no" >&6; }
14582 fi
14583
14584
14585 test -n "$ac_ct_CC" && break
14586 done
14587
14588 if test "x$ac_ct_CC" = x; then
14589 CC=""
14590 else
14591 case $cross_compiling:$ac_tool_warned in
14592 yes:)
14593 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14594 whose name does not start with the host triplet. If you think this
14595 configuration is useful to you, please write to autoconf@gnu.org." >&5
14596 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14597 whose name does not start with the host triplet. If you think this
14598 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14599 ac_tool_warned=yes ;;
14600 esac
14601 CC=$ac_ct_CC
14602 fi
14603 fi
14604
14605 fi
14606
14607
14608 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14609 See \`config.log' for more details." >&5
14610 echo "$as_me: error: no acceptable C compiler found in \$PATH
14611 See \`config.log' for more details." >&2;}
14612 { (exit 1); exit 1; }; }
14613
14614 # Provide some information about the compiler.
14615 echo "$as_me:$LINENO: checking for C compiler version" >&5
14616 ac_compiler=`set X $ac_compile; echo $2`
14617 { (ac_try="$ac_compiler --version >&5"
14618 case "(($ac_try" in
14619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14620 *) ac_try_echo=$ac_try;;
14621 esac
14622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14623 (eval "$ac_compiler --version >&5") 2>&5
14624 ac_status=$?
14625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14626 (exit $ac_status); }
14627 { (ac_try="$ac_compiler -v >&5"
14628 case "(($ac_try" in
14629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14630 *) ac_try_echo=$ac_try;;
14631 esac
14632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14633 (eval "$ac_compiler -v >&5") 2>&5
14634 ac_status=$?
14635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14636 (exit $ac_status); }
14637 { (ac_try="$ac_compiler -V >&5"
14638 case "(($ac_try" in
14639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14640 *) ac_try_echo=$ac_try;;
14641 esac
14642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14643 (eval "$ac_compiler -V >&5") 2>&5
14644 ac_status=$?
14645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14646 (exit $ac_status); }
14647
14648 cat >conftest.$ac_ext <<_ACEOF
14649 /* confdefs.h. */
14650 _ACEOF
14651 cat confdefs.h >>conftest.$ac_ext
14652 cat >>conftest.$ac_ext <<_ACEOF
14653 /* end confdefs.h. */
14654
14655 int
14656 main ()
14657 {
14658
14659 ;
14660 return 0;
14661 }
14662 _ACEOF
14663 ac_clean_files_save=$ac_clean_files
14664 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14665 # Try to create an executable without -o first, disregard a.out.
14666 # It will help us diagnose broken compilers, and finding out an intuition
14667 # of exeext.
14668 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14669 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14670 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14671 #
14672 # List of possible output files, starting from the most likely.
14673 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14674 # only as a last resort. b.out is created by i960 compilers.
14675 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14676 #
14677 # The IRIX 6 linker writes into existing files which may not be
14678 # executable, retaining their permissions. Remove them first so a
14679 # subsequent execution test works.
14680 ac_rmfiles=
14681 for ac_file in $ac_files
14682 do
14683 case $ac_file in
14684 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14685 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14686 esac
14687 done
14688 rm -f $ac_rmfiles
14689
14690 if { (ac_try="$ac_link_default"
14691 case "(($ac_try" in
14692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14693 *) ac_try_echo=$ac_try;;
14694 esac
14695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14696 (eval "$ac_link_default") 2>&5
14697 ac_status=$?
14698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14699 (exit $ac_status); }; then
14700 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14701 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14702 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14703 # so that the user can short-circuit this test for compilers unknown to
14704 # Autoconf.
14705 for ac_file in $ac_files ''
14706 do
14707 test -f "$ac_file" || continue
14708 case $ac_file in
14709 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14710 ;;
14711 [ab].out )
14712 # We found the default executable, but exeext='' is most
14713 # certainly right.
14714 break;;
14715 *.* )
14716 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14717 then :; else
14718 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14719 fi
14720 # We set ac_cv_exeext here because the later test for it is not
14721 # safe: cross compilers may not add the suffix if given an `-o'
14722 # argument, so we may need to know it at that point already.
14723 # Even if this section looks crufty: it has the advantage of
14724 # actually working.
14725 break;;
14726 * )
14727 break;;
14728 esac
14729 done
14730 test "$ac_cv_exeext" = no && ac_cv_exeext=
14731
14732 else
14733 ac_file=''
14734 fi
14735
14736 { echo "$as_me:$LINENO: result: $ac_file" >&5
14737 echo "${ECHO_T}$ac_file" >&6; }
14738 if test -z "$ac_file"; then
14739 echo "$as_me: failed program was:" >&5
14740 sed 's/^/| /' conftest.$ac_ext >&5
14741
14742 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14743 See \`config.log' for more details." >&5
14744 echo "$as_me: error: C compiler cannot create executables
14745 See \`config.log' for more details." >&2;}
14746 { (exit 77); exit 77; }; }
14747 fi
14748
14749 ac_exeext=$ac_cv_exeext
14750
14751 # Check that the compiler produces executables we can run. If not, either
14752 # the compiler is broken, or we cross compile.
14753 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14754 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14755 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14756 # If not cross compiling, check that we can run a simple program.
14757 if test "$cross_compiling" != yes; then
14758 if { ac_try='./$ac_file'
14759 { (case "(($ac_try" in
14760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14761 *) ac_try_echo=$ac_try;;
14762 esac
14763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14764 (eval "$ac_try") 2>&5
14765 ac_status=$?
14766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14767 (exit $ac_status); }; }; then
14768 cross_compiling=no
14769 else
14770 if test "$cross_compiling" = maybe; then
14771 cross_compiling=yes
14772 else
14773 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14774 If you meant to cross compile, use \`--host'.
14775 See \`config.log' for more details." >&5
14776 echo "$as_me: error: cannot run C compiled programs.
14777 If you meant to cross compile, use \`--host'.
14778 See \`config.log' for more details." >&2;}
14779 { (exit 1); exit 1; }; }
14780 fi
14781 fi
14782 fi
14783 { echo "$as_me:$LINENO: result: yes" >&5
14784 echo "${ECHO_T}yes" >&6; }
14785
14786 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14787 ac_clean_files=$ac_clean_files_save
14788 # Check that the compiler produces executables we can run. If not, either
14789 # the compiler is broken, or we cross compile.
14790 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14791 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14792 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14793 echo "${ECHO_T}$cross_compiling" >&6; }
14794
14795 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14796 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14797 if { (ac_try="$ac_link"
14798 case "(($ac_try" in
14799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14800 *) ac_try_echo=$ac_try;;
14801 esac
14802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14803 (eval "$ac_link") 2>&5
14804 ac_status=$?
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); }; then
14807 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14808 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14809 # work properly (i.e., refer to `conftest.exe'), while it won't with
14810 # `rm'.
14811 for ac_file in conftest.exe conftest conftest.*; do
14812 test -f "$ac_file" || continue
14813 case $ac_file in
14814 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14815 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14816 break;;
14817 * ) break;;
14818 esac
14819 done
14820 else
14821 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14822 See \`config.log' for more details." >&5
14823 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14824 See \`config.log' for more details." >&2;}
14825 { (exit 1); exit 1; }; }
14826 fi
14827
14828 rm -f conftest$ac_cv_exeext
14829 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14830 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14831
14832 rm -f conftest.$ac_ext
14833 EXEEXT=$ac_cv_exeext
14834 ac_exeext=$EXEEXT
14835 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14836 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14837 if test "${ac_cv_objext+set}" = set; then
14838 echo $ECHO_N "(cached) $ECHO_C" >&6
14839 else
14840 cat >conftest.$ac_ext <<_ACEOF
14841 /* confdefs.h. */
14842 _ACEOF
14843 cat confdefs.h >>conftest.$ac_ext
14844 cat >>conftest.$ac_ext <<_ACEOF
14845 /* end confdefs.h. */
14846
14847 int
14848 main ()
14849 {
14850
14851 ;
14852 return 0;
14853 }
14854 _ACEOF
14855 rm -f conftest.o conftest.obj
14856 if { (ac_try="$ac_compile"
14857 case "(($ac_try" in
14858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14859 *) ac_try_echo=$ac_try;;
14860 esac
14861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14862 (eval "$ac_compile") 2>&5
14863 ac_status=$?
14864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14865 (exit $ac_status); }; then
14866 for ac_file in conftest.o conftest.obj conftest.*; do
14867 test -f "$ac_file" || continue;
14868 case $ac_file in
14869 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14870 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14871 break;;
14872 esac
14873 done
14874 else
14875 echo "$as_me: failed program was:" >&5
14876 sed 's/^/| /' conftest.$ac_ext >&5
14877
14878 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14879 See \`config.log' for more details." >&5
14880 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14881 See \`config.log' for more details." >&2;}
14882 { (exit 1); exit 1; }; }
14883 fi
14884
14885 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14886 fi
14887 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14888 echo "${ECHO_T}$ac_cv_objext" >&6; }
14889 OBJEXT=$ac_cv_objext
14890 ac_objext=$OBJEXT
14891 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14892 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14893 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14894 echo $ECHO_N "(cached) $ECHO_C" >&6
14895 else
14896 cat >conftest.$ac_ext <<_ACEOF
14897 /* confdefs.h. */
14898 _ACEOF
14899 cat confdefs.h >>conftest.$ac_ext
14900 cat >>conftest.$ac_ext <<_ACEOF
14901 /* end confdefs.h. */
14902
14903 int
14904 main ()
14905 {
14906 #ifndef __GNUC__
14907 choke me
14908 #endif
14909
14910 ;
14911 return 0;
14912 }
14913 _ACEOF
14914 rm -f conftest.$ac_objext
14915 if { (ac_try="$ac_compile"
14916 case "(($ac_try" in
14917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14918 *) ac_try_echo=$ac_try;;
14919 esac
14920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14921 (eval "$ac_compile") 2>conftest.er1
14922 ac_status=$?
14923 grep -v '^ *+' conftest.er1 >conftest.err
14924 rm -f conftest.er1
14925 cat conftest.err >&5
14926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14927 (exit $ac_status); } && {
14928 test -z "$ac_c_werror_flag" ||
14929 test ! -s conftest.err
14930 } && test -s conftest.$ac_objext; then
14931 ac_compiler_gnu=yes
14932 else
14933 echo "$as_me: failed program was:" >&5
14934 sed 's/^/| /' conftest.$ac_ext >&5
14935
14936 ac_compiler_gnu=no
14937 fi
14938
14939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14940 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14941
14942 fi
14943 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14944 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14945 GCC=`test $ac_compiler_gnu = yes && echo yes`
14946 ac_test_CFLAGS=${CFLAGS+set}
14947 ac_save_CFLAGS=$CFLAGS
14948 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14949 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14950 if test "${ac_cv_prog_cc_g+set}" = set; then
14951 echo $ECHO_N "(cached) $ECHO_C" >&6
14952 else
14953 ac_save_c_werror_flag=$ac_c_werror_flag
14954 ac_c_werror_flag=yes
14955 ac_cv_prog_cc_g=no
14956 CFLAGS="-g"
14957 cat >conftest.$ac_ext <<_ACEOF
14958 /* confdefs.h. */
14959 _ACEOF
14960 cat confdefs.h >>conftest.$ac_ext
14961 cat >>conftest.$ac_ext <<_ACEOF
14962 /* end confdefs.h. */
14963
14964 int
14965 main ()
14966 {
14967
14968 ;
14969 return 0;
14970 }
14971 _ACEOF
14972 rm -f conftest.$ac_objext
14973 if { (ac_try="$ac_compile"
14974 case "(($ac_try" in
14975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14976 *) ac_try_echo=$ac_try;;
14977 esac
14978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14979 (eval "$ac_compile") 2>conftest.er1
14980 ac_status=$?
14981 grep -v '^ *+' conftest.er1 >conftest.err
14982 rm -f conftest.er1
14983 cat conftest.err >&5
14984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14985 (exit $ac_status); } && {
14986 test -z "$ac_c_werror_flag" ||
14987 test ! -s conftest.err
14988 } && test -s conftest.$ac_objext; then
14989 ac_cv_prog_cc_g=yes
14990 else
14991 echo "$as_me: failed program was:" >&5
14992 sed 's/^/| /' conftest.$ac_ext >&5
14993
14994 CFLAGS=""
14995 cat >conftest.$ac_ext <<_ACEOF
14996 /* confdefs.h. */
14997 _ACEOF
14998 cat confdefs.h >>conftest.$ac_ext
14999 cat >>conftest.$ac_ext <<_ACEOF
15000 /* end confdefs.h. */
15001
15002 int
15003 main ()
15004 {
15005
15006 ;
15007 return 0;
15008 }
15009 _ACEOF
15010 rm -f conftest.$ac_objext
15011 if { (ac_try="$ac_compile"
15012 case "(($ac_try" in
15013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15014 *) ac_try_echo=$ac_try;;
15015 esac
15016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15017 (eval "$ac_compile") 2>conftest.er1
15018 ac_status=$?
15019 grep -v '^ *+' conftest.er1 >conftest.err
15020 rm -f conftest.er1
15021 cat conftest.err >&5
15022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15023 (exit $ac_status); } && {
15024 test -z "$ac_c_werror_flag" ||
15025 test ! -s conftest.err
15026 } && test -s conftest.$ac_objext; then
15027 :
15028 else
15029 echo "$as_me: failed program was:" >&5
15030 sed 's/^/| /' conftest.$ac_ext >&5
15031
15032 ac_c_werror_flag=$ac_save_c_werror_flag
15033 CFLAGS="-g"
15034 cat >conftest.$ac_ext <<_ACEOF
15035 /* confdefs.h. */
15036 _ACEOF
15037 cat confdefs.h >>conftest.$ac_ext
15038 cat >>conftest.$ac_ext <<_ACEOF
15039 /* end confdefs.h. */
15040
15041 int
15042 main ()
15043 {
15044
15045 ;
15046 return 0;
15047 }
15048 _ACEOF
15049 rm -f conftest.$ac_objext
15050 if { (ac_try="$ac_compile"
15051 case "(($ac_try" in
15052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15053 *) ac_try_echo=$ac_try;;
15054 esac
15055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15056 (eval "$ac_compile") 2>conftest.er1
15057 ac_status=$?
15058 grep -v '^ *+' conftest.er1 >conftest.err
15059 rm -f conftest.er1
15060 cat conftest.err >&5
15061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15062 (exit $ac_status); } && {
15063 test -z "$ac_c_werror_flag" ||
15064 test ! -s conftest.err
15065 } && test -s conftest.$ac_objext; then
15066 ac_cv_prog_cc_g=yes
15067 else
15068 echo "$as_me: failed program was:" >&5
15069 sed 's/^/| /' conftest.$ac_ext >&5
15070
15071
15072 fi
15073
15074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15075 fi
15076
15077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15078 fi
15079
15080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15081 ac_c_werror_flag=$ac_save_c_werror_flag
15082 fi
15083 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15084 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15085 if test "$ac_test_CFLAGS" = set; then
15086 CFLAGS=$ac_save_CFLAGS
15087 elif test $ac_cv_prog_cc_g = yes; then
15088 if test "$GCC" = yes; then
15089 CFLAGS="-g -O2"
15090 else
15091 CFLAGS="-g"
15092 fi
15093 else
15094 if test "$GCC" = yes; then
15095 CFLAGS="-O2"
15096 else
15097 CFLAGS=
15098 fi
15099 fi
15100 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15101 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15102 if test "${ac_cv_prog_cc_c89+set}" = set; then
15103 echo $ECHO_N "(cached) $ECHO_C" >&6
15104 else
15105 ac_cv_prog_cc_c89=no
15106 ac_save_CC=$CC
15107 cat >conftest.$ac_ext <<_ACEOF
15108 /* confdefs.h. */
15109 _ACEOF
15110 cat confdefs.h >>conftest.$ac_ext
15111 cat >>conftest.$ac_ext <<_ACEOF
15112 /* end confdefs.h. */
15113 #include <stdarg.h>
15114 #include <stdio.h>
15115 #include <sys/types.h>
15116 #include <sys/stat.h>
15117 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15118 struct buf { int x; };
15119 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15120 static char *e (p, i)
15121 char **p;
15122 int i;
15123 {
15124 return p[i];
15125 }
15126 static char *f (char * (*g) (char **, int), char **p, ...)
15127 {
15128 char *s;
15129 va_list v;
15130 va_start (v,p);
15131 s = g (p, va_arg (v,int));
15132 va_end (v);
15133 return s;
15134 }
15135
15136 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15137 function prototypes and stuff, but not '\xHH' hex character constants.
15138 These don't provoke an error unfortunately, instead are silently treated
15139 as 'x'. The following induces an error, until -std is added to get
15140 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15141 array size at least. It's necessary to write '\x00'==0 to get something
15142 that's true only with -std. */
15143 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15144
15145 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15146 inside strings and character constants. */
15147 #define FOO(x) 'x'
15148 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15149
15150 int test (int i, double x);
15151 struct s1 {int (*f) (int a);};
15152 struct s2 {int (*f) (double a);};
15153 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15154 int argc;
15155 char **argv;
15156 int
15157 main ()
15158 {
15159 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15160 ;
15161 return 0;
15162 }
15163 _ACEOF
15164 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15165 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15166 do
15167 CC="$ac_save_CC $ac_arg"
15168 rm -f conftest.$ac_objext
15169 if { (ac_try="$ac_compile"
15170 case "(($ac_try" in
15171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15172 *) ac_try_echo=$ac_try;;
15173 esac
15174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15175 (eval "$ac_compile") 2>conftest.er1
15176 ac_status=$?
15177 grep -v '^ *+' conftest.er1 >conftest.err
15178 rm -f conftest.er1
15179 cat conftest.err >&5
15180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15181 (exit $ac_status); } && {
15182 test -z "$ac_c_werror_flag" ||
15183 test ! -s conftest.err
15184 } && test -s conftest.$ac_objext; then
15185 ac_cv_prog_cc_c89=$ac_arg
15186 else
15187 echo "$as_me: failed program was:" >&5
15188 sed 's/^/| /' conftest.$ac_ext >&5
15189
15190
15191 fi
15192
15193 rm -f core conftest.err conftest.$ac_objext
15194 test "x$ac_cv_prog_cc_c89" != "xno" && break
15195 done
15196 rm -f conftest.$ac_ext
15197 CC=$ac_save_CC
15198
15199 fi
15200 # AC_CACHE_VAL
15201 case "x$ac_cv_prog_cc_c89" in
15202 x)
15203 { echo "$as_me:$LINENO: result: none needed" >&5
15204 echo "${ECHO_T}none needed" >&6; } ;;
15205 xno)
15206 { echo "$as_me:$LINENO: result: unsupported" >&5
15207 echo "${ECHO_T}unsupported" >&6; } ;;
15208 *)
15209 CC="$CC $ac_cv_prog_cc_c89"
15210 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15211 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15212 esac
15213
15214
15215 ac_ext=c
15216 ac_cpp='$CPP $CPPFLAGS'
15217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15220
15221
15222
15223
15224 ac_ext=c
15225 ac_cpp='$CPP $CPPFLAGS'
15226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15229
15230 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15231 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15232 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15233 echo $ECHO_N "(cached) $ECHO_C" >&6
15234 else
15235 cat >conftest.$ac_ext <<_ACEOF
15236 /* confdefs.h. */
15237 _ACEOF
15238 cat confdefs.h >>conftest.$ac_ext
15239 cat >>conftest.$ac_ext <<_ACEOF
15240 /* end confdefs.h. */
15241
15242 int
15243 main ()
15244 {
15245
15246 #ifndef __INTEL_COMPILER
15247 choke me
15248 #endif
15249
15250 ;
15251 return 0;
15252 }
15253 _ACEOF
15254 rm -f conftest.$ac_objext
15255 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
15262 ac_status=$?
15263 grep -v '^ *+' conftest.er1 >conftest.err
15264 rm -f conftest.er1
15265 cat conftest.err >&5
15266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15267 (exit $ac_status); } && {
15268 test -z "$ac_c_werror_flag" ||
15269 test ! -s conftest.err
15270 } && test -s conftest.$ac_objext; then
15271 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15272 else
15273 echo "$as_me: failed program was:" >&5
15274 sed 's/^/| /' conftest.$ac_ext >&5
15275
15276 bakefile_cv_c_compiler___INTEL_COMPILER=no
15277
15278 fi
15279
15280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15281
15282
15283 fi
15284 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15285 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15286 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15287 :; INTELCC=yes
15288 else
15289 :;
15290 fi
15291 ac_ext=c
15292 ac_cpp='$CPP $CPPFLAGS'
15293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15296
15297
15298
15299
15300 if test "$INTELCC" = "yes"; then
15301
15302
15303 ac_ext=c
15304 ac_cpp='$CPP $CPPFLAGS'
15305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15308
15309 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15310 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15311 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15312 echo $ECHO_N "(cached) $ECHO_C" >&6
15313 else
15314 cat >conftest.$ac_ext <<_ACEOF
15315 /* confdefs.h. */
15316 _ACEOF
15317 cat confdefs.h >>conftest.$ac_ext
15318 cat >>conftest.$ac_ext <<_ACEOF
15319 /* end confdefs.h. */
15320
15321 int
15322 main ()
15323 {
15324
15325 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15326 choke me
15327 #endif
15328
15329 ;
15330 return 0;
15331 }
15332 _ACEOF
15333 rm -f conftest.$ac_objext
15334 if { (ac_try="$ac_compile"
15335 case "(($ac_try" in
15336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15337 *) ac_try_echo=$ac_try;;
15338 esac
15339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15340 (eval "$ac_compile") 2>conftest.er1
15341 ac_status=$?
15342 grep -v '^ *+' conftest.er1 >conftest.err
15343 rm -f conftest.er1
15344 cat conftest.err >&5
15345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15346 (exit $ac_status); } && {
15347 test -z "$ac_c_werror_flag" ||
15348 test ! -s conftest.err
15349 } && test -s conftest.$ac_objext; then
15350 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15351 else
15352 echo "$as_me: failed program was:" >&5
15353 sed 's/^/| /' conftest.$ac_ext >&5
15354
15355 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15356
15357 fi
15358
15359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15360
15361
15362 fi
15363 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15364 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15365 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15366 :; INTELCC8=yes
15367 else
15368 :;
15369 fi
15370 ac_ext=c
15371 ac_cpp='$CPP $CPPFLAGS'
15372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15375
15376
15377
15378
15379
15380 ac_ext=c
15381 ac_cpp='$CPP $CPPFLAGS'
15382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15385
15386 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15387 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15388 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15389 echo $ECHO_N "(cached) $ECHO_C" >&6
15390 else
15391 cat >conftest.$ac_ext <<_ACEOF
15392 /* confdefs.h. */
15393 _ACEOF
15394 cat confdefs.h >>conftest.$ac_ext
15395 cat >>conftest.$ac_ext <<_ACEOF
15396 /* end confdefs.h. */
15397
15398 int
15399 main ()
15400 {
15401
15402 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15403 choke me
15404 #endif
15405
15406 ;
15407 return 0;
15408 }
15409 _ACEOF
15410 rm -f conftest.$ac_objext
15411 if { (ac_try="$ac_compile"
15412 case "(($ac_try" in
15413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15414 *) ac_try_echo=$ac_try;;
15415 esac
15416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15417 (eval "$ac_compile") 2>conftest.er1
15418 ac_status=$?
15419 grep -v '^ *+' conftest.er1 >conftest.err
15420 rm -f conftest.er1
15421 cat conftest.err >&5
15422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15423 (exit $ac_status); } && {
15424 test -z "$ac_c_werror_flag" ||
15425 test ! -s conftest.err
15426 } && test -s conftest.$ac_objext; then
15427 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15428 else
15429 echo "$as_me: failed program was:" >&5
15430 sed 's/^/| /' conftest.$ac_ext >&5
15431
15432 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15433
15434 fi
15435
15436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15437
15438
15439 fi
15440 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15441 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15442 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15443 :; INTELCC10=yes
15444 else
15445 :;
15446 fi
15447 ac_ext=c
15448 ac_cpp='$CPP $CPPFLAGS'
15449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15452
15453
15454
15455 fi
15456
15457 if test "x$GCC" != "xyes"; then
15458 if test "xCC" = "xC"; then
15459 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15460 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15461 if test "${bakefile_cv_c_exto+set}" = set; then
15462 echo $ECHO_N "(cached) $ECHO_C" >&6
15463 else
15464 cat >conftest.$ac_ext <<_ACEOF
15465 /* confdefs.h. */
15466 _ACEOF
15467 cat confdefs.h >>conftest.$ac_ext
15468 cat >>conftest.$ac_ext <<_ACEOF
15469 /* end confdefs.h. */
15470
15471 int
15472 main ()
15473 {
15474
15475 ;
15476 return 0;
15477 }
15478 _ACEOF
15479 rm -f conftest.$ac_objext conftest.$ac_ext.o
15480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15481 (eval $ac_compile) 2>&5
15482 ac_status=$?
15483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15484 (exit $ac_status); }; then
15485 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15486 case $ac_file in
15487 conftest.$ac_ext.o)
15488 bakefile_cv_c_exto="-ext o"
15489 ;;
15490 *)
15491 ;;
15492 esac
15493 done
15494 else
15495 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15496 See \`config.log' for more details." >&5
15497 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15498 See \`config.log' for more details." >&2;}
15499 { (exit 1); exit 1; }; }
15500
15501 fi
15502
15503 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15504
15505 fi
15506 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15507 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15508 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15509 if test "c" = "c"; then
15510 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15511 fi
15512 if test "c" = "cxx"; then
15513 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15514 fi
15515 fi
15516
15517 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15518 unset ac_cv_prog_cc_g
15519 ac_test_CFLAGS=${CFLAGS+set}
15520 ac_save_CFLAGS=$CFLAGS
15521 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15522 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15523 if test "${ac_cv_prog_cc_g+set}" = set; then
15524 echo $ECHO_N "(cached) $ECHO_C" >&6
15525 else
15526 ac_save_c_werror_flag=$ac_c_werror_flag
15527 ac_c_werror_flag=yes
15528 ac_cv_prog_cc_g=no
15529 CFLAGS="-g"
15530 cat >conftest.$ac_ext <<_ACEOF
15531 /* confdefs.h. */
15532 _ACEOF
15533 cat confdefs.h >>conftest.$ac_ext
15534 cat >>conftest.$ac_ext <<_ACEOF
15535 /* end confdefs.h. */
15536
15537 int
15538 main ()
15539 {
15540
15541 ;
15542 return 0;
15543 }
15544 _ACEOF
15545 rm -f conftest.$ac_objext
15546 if { (ac_try="$ac_compile"
15547 case "(($ac_try" in
15548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15549 *) ac_try_echo=$ac_try;;
15550 esac
15551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15552 (eval "$ac_compile") 2>conftest.er1
15553 ac_status=$?
15554 grep -v '^ *+' conftest.er1 >conftest.err
15555 rm -f conftest.er1
15556 cat conftest.err >&5
15557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15558 (exit $ac_status); } && {
15559 test -z "$ac_c_werror_flag" ||
15560 test ! -s conftest.err
15561 } && test -s conftest.$ac_objext; then
15562 ac_cv_prog_cc_g=yes
15563 else
15564 echo "$as_me: failed program was:" >&5
15565 sed 's/^/| /' conftest.$ac_ext >&5
15566
15567 CFLAGS=""
15568 cat >conftest.$ac_ext <<_ACEOF
15569 /* confdefs.h. */
15570 _ACEOF
15571 cat confdefs.h >>conftest.$ac_ext
15572 cat >>conftest.$ac_ext <<_ACEOF
15573 /* end confdefs.h. */
15574
15575 int
15576 main ()
15577 {
15578
15579 ;
15580 return 0;
15581 }
15582 _ACEOF
15583 rm -f conftest.$ac_objext
15584 if { (ac_try="$ac_compile"
15585 case "(($ac_try" in
15586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15587 *) ac_try_echo=$ac_try;;
15588 esac
15589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15590 (eval "$ac_compile") 2>conftest.er1
15591 ac_status=$?
15592 grep -v '^ *+' conftest.er1 >conftest.err
15593 rm -f conftest.er1
15594 cat conftest.err >&5
15595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15596 (exit $ac_status); } && {
15597 test -z "$ac_c_werror_flag" ||
15598 test ! -s conftest.err
15599 } && test -s conftest.$ac_objext; then
15600 :
15601 else
15602 echo "$as_me: failed program was:" >&5
15603 sed 's/^/| /' conftest.$ac_ext >&5
15604
15605 ac_c_werror_flag=$ac_save_c_werror_flag
15606 CFLAGS="-g"
15607 cat >conftest.$ac_ext <<_ACEOF
15608 /* confdefs.h. */
15609 _ACEOF
15610 cat confdefs.h >>conftest.$ac_ext
15611 cat >>conftest.$ac_ext <<_ACEOF
15612 /* end confdefs.h. */
15613
15614 int
15615 main ()
15616 {
15617
15618 ;
15619 return 0;
15620 }
15621 _ACEOF
15622 rm -f conftest.$ac_objext
15623 if { (ac_try="$ac_compile"
15624 case "(($ac_try" in
15625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15626 *) ac_try_echo=$ac_try;;
15627 esac
15628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15629 (eval "$ac_compile") 2>conftest.er1
15630 ac_status=$?
15631 grep -v '^ *+' conftest.er1 >conftest.err
15632 rm -f conftest.er1
15633 cat conftest.err >&5
15634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15635 (exit $ac_status); } && {
15636 test -z "$ac_c_werror_flag" ||
15637 test ! -s conftest.err
15638 } && test -s conftest.$ac_objext; then
15639 ac_cv_prog_cc_g=yes
15640 else
15641 echo "$as_me: failed program was:" >&5
15642 sed 's/^/| /' conftest.$ac_ext >&5
15643
15644
15645 fi
15646
15647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15648 fi
15649
15650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15651 fi
15652
15653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15654 ac_c_werror_flag=$ac_save_c_werror_flag
15655 fi
15656 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15657 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15658 if test "$ac_test_CFLAGS" = set; then
15659 CFLAGS=$ac_save_CFLAGS
15660 elif test $ac_cv_prog_cc_g = yes; then
15661 if test "$GCC" = yes; then
15662 CFLAGS="-g -O2"
15663 else
15664 CFLAGS="-g"
15665 fi
15666 else
15667 if test "$GCC" = yes; then
15668 CFLAGS="-O2"
15669 else
15670 CFLAGS=
15671 fi
15672 fi
15673 fi
15674 fi
15675
15676 case `uname -s` in
15677 AIX*)
15678
15679
15680 ac_ext=c
15681 ac_cpp='$CPP $CPPFLAGS'
15682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15685
15686 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15687 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15688 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15689 echo $ECHO_N "(cached) $ECHO_C" >&6
15690 else
15691 cat >conftest.$ac_ext <<_ACEOF
15692 /* confdefs.h. */
15693 _ACEOF
15694 cat confdefs.h >>conftest.$ac_ext
15695 cat >>conftest.$ac_ext <<_ACEOF
15696 /* end confdefs.h. */
15697
15698 int
15699 main ()
15700 {
15701
15702 #ifndef __xlC__
15703 choke me
15704 #endif
15705
15706 ;
15707 return 0;
15708 }
15709 _ACEOF
15710 rm -f conftest.$ac_objext
15711 if { (ac_try="$ac_compile"
15712 case "(($ac_try" in
15713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15714 *) ac_try_echo=$ac_try;;
15715 esac
15716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15717 (eval "$ac_compile") 2>conftest.er1
15718 ac_status=$?
15719 grep -v '^ *+' conftest.er1 >conftest.err
15720 rm -f conftest.er1
15721 cat conftest.err >&5
15722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15723 (exit $ac_status); } && {
15724 test -z "$ac_c_werror_flag" ||
15725 test ! -s conftest.err
15726 } && test -s conftest.$ac_objext; then
15727 bakefile_cv_c_compiler___xlC__=yes
15728 else
15729 echo "$as_me: failed program was:" >&5
15730 sed 's/^/| /' conftest.$ac_ext >&5
15731
15732 bakefile_cv_c_compiler___xlC__=no
15733
15734 fi
15735
15736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15737
15738
15739 fi
15740 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15741 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15742 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15743 :; XLCC=yes
15744 else
15745 :;
15746 fi
15747 ac_ext=c
15748 ac_cpp='$CPP $CPPFLAGS'
15749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15752
15753
15754
15755 ;;
15756
15757 Darwin)
15758
15759
15760 ac_ext=c
15761 ac_cpp='$CPP $CPPFLAGS'
15762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15765
15766 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15767 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15768 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15769 echo $ECHO_N "(cached) $ECHO_C" >&6
15770 else
15771 cat >conftest.$ac_ext <<_ACEOF
15772 /* confdefs.h. */
15773 _ACEOF
15774 cat confdefs.h >>conftest.$ac_ext
15775 cat >>conftest.$ac_ext <<_ACEOF
15776 /* end confdefs.h. */
15777
15778 int
15779 main ()
15780 {
15781
15782 #ifndef __MWERKS__
15783 choke me
15784 #endif
15785
15786 ;
15787 return 0;
15788 }
15789 _ACEOF
15790 rm -f conftest.$ac_objext
15791 if { (ac_try="$ac_compile"
15792 case "(($ac_try" in
15793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15794 *) ac_try_echo=$ac_try;;
15795 esac
15796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15797 (eval "$ac_compile") 2>conftest.er1
15798 ac_status=$?
15799 grep -v '^ *+' conftest.er1 >conftest.err
15800 rm -f conftest.er1
15801 cat conftest.err >&5
15802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15803 (exit $ac_status); } && {
15804 test -z "$ac_c_werror_flag" ||
15805 test ! -s conftest.err
15806 } && test -s conftest.$ac_objext; then
15807 bakefile_cv_c_compiler___MWERKS__=yes
15808 else
15809 echo "$as_me: failed program was:" >&5
15810 sed 's/^/| /' conftest.$ac_ext >&5
15811
15812 bakefile_cv_c_compiler___MWERKS__=no
15813
15814 fi
15815
15816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15817
15818
15819 fi
15820 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15821 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15822 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15823 :; MWCC=yes
15824 else
15825 :;
15826 fi
15827 ac_ext=c
15828 ac_cpp='$CPP $CPPFLAGS'
15829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15832
15833
15834
15835 if test "$MWCC" != "yes"; then
15836
15837
15838 ac_ext=c
15839 ac_cpp='$CPP $CPPFLAGS'
15840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15843
15844 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15845 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15846 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15847 echo $ECHO_N "(cached) $ECHO_C" >&6
15848 else
15849 cat >conftest.$ac_ext <<_ACEOF
15850 /* confdefs.h. */
15851 _ACEOF
15852 cat confdefs.h >>conftest.$ac_ext
15853 cat >>conftest.$ac_ext <<_ACEOF
15854 /* end confdefs.h. */
15855
15856 int
15857 main ()
15858 {
15859
15860 #ifndef __xlC__
15861 choke me
15862 #endif
15863
15864 ;
15865 return 0;
15866 }
15867 _ACEOF
15868 rm -f conftest.$ac_objext
15869 if { (ac_try="$ac_compile"
15870 case "(($ac_try" in
15871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15872 *) ac_try_echo=$ac_try;;
15873 esac
15874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15875 (eval "$ac_compile") 2>conftest.er1
15876 ac_status=$?
15877 grep -v '^ *+' conftest.er1 >conftest.err
15878 rm -f conftest.er1
15879 cat conftest.err >&5
15880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15881 (exit $ac_status); } && {
15882 test -z "$ac_c_werror_flag" ||
15883 test ! -s conftest.err
15884 } && test -s conftest.$ac_objext; then
15885 bakefile_cv_c_compiler___xlC__=yes
15886 else
15887 echo "$as_me: failed program was:" >&5
15888 sed 's/^/| /' conftest.$ac_ext >&5
15889
15890 bakefile_cv_c_compiler___xlC__=no
15891
15892 fi
15893
15894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15895
15896
15897 fi
15898 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15899 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15900 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15901 :; XLCC=yes
15902 else
15903 :;
15904 fi
15905 ac_ext=c
15906 ac_cpp='$CPP $CPPFLAGS'
15907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15910
15911
15912
15913 fi
15914 ;;
15915
15916 IRIX*)
15917
15918
15919 ac_ext=c
15920 ac_cpp='$CPP $CPPFLAGS'
15921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15924
15925 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15926 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15927 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15928 echo $ECHO_N "(cached) $ECHO_C" >&6
15929 else
15930 cat >conftest.$ac_ext <<_ACEOF
15931 /* confdefs.h. */
15932 _ACEOF
15933 cat confdefs.h >>conftest.$ac_ext
15934 cat >>conftest.$ac_ext <<_ACEOF
15935 /* end confdefs.h. */
15936
15937 int
15938 main ()
15939 {
15940
15941 #ifndef _SGI_COMPILER_VERSION
15942 choke me
15943 #endif
15944
15945 ;
15946 return 0;
15947 }
15948 _ACEOF
15949 rm -f conftest.$ac_objext
15950 if { (ac_try="$ac_compile"
15951 case "(($ac_try" in
15952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15953 *) ac_try_echo=$ac_try;;
15954 esac
15955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15956 (eval "$ac_compile") 2>conftest.er1
15957 ac_status=$?
15958 grep -v '^ *+' conftest.er1 >conftest.err
15959 rm -f conftest.er1
15960 cat conftest.err >&5
15961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15962 (exit $ac_status); } && {
15963 test -z "$ac_c_werror_flag" ||
15964 test ! -s conftest.err
15965 } && test -s conftest.$ac_objext; then
15966 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15967 else
15968 echo "$as_me: failed program was:" >&5
15969 sed 's/^/| /' conftest.$ac_ext >&5
15970
15971 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15972
15973 fi
15974
15975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15976
15977
15978 fi
15979 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15980 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15981 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15982 :; SGICC=yes
15983 else
15984 :;
15985 fi
15986 ac_ext=c
15987 ac_cpp='$CPP $CPPFLAGS'
15988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15991
15992
15993
15994 ;;
15995
15996 Linux*)
15997 if test "$INTELCC" != "yes"; then
15998
15999
16000 ac_ext=c
16001 ac_cpp='$CPP $CPPFLAGS'
16002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16005
16006 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16007 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16008 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16009 echo $ECHO_N "(cached) $ECHO_C" >&6
16010 else
16011 cat >conftest.$ac_ext <<_ACEOF
16012 /* confdefs.h. */
16013 _ACEOF
16014 cat confdefs.h >>conftest.$ac_ext
16015 cat >>conftest.$ac_ext <<_ACEOF
16016 /* end confdefs.h. */
16017
16018 int
16019 main ()
16020 {
16021
16022 #ifndef __SUNPRO_C
16023 choke me
16024 #endif
16025
16026 ;
16027 return 0;
16028 }
16029 _ACEOF
16030 rm -f conftest.$ac_objext
16031 if { (ac_try="$ac_compile"
16032 case "(($ac_try" in
16033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16034 *) ac_try_echo=$ac_try;;
16035 esac
16036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16037 (eval "$ac_compile") 2>conftest.er1
16038 ac_status=$?
16039 grep -v '^ *+' conftest.er1 >conftest.err
16040 rm -f conftest.er1
16041 cat conftest.err >&5
16042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16043 (exit $ac_status); } && {
16044 test -z "$ac_c_werror_flag" ||
16045 test ! -s conftest.err
16046 } && test -s conftest.$ac_objext; then
16047 bakefile_cv_c_compiler___SUNPRO_C=yes
16048 else
16049 echo "$as_me: failed program was:" >&5
16050 sed 's/^/| /' conftest.$ac_ext >&5
16051
16052 bakefile_cv_c_compiler___SUNPRO_C=no
16053
16054 fi
16055
16056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16057
16058
16059 fi
16060 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16061 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16062 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16063 :; SUNCC=yes
16064 else
16065 :;
16066 fi
16067 ac_ext=c
16068 ac_cpp='$CPP $CPPFLAGS'
16069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16072
16073
16074
16075 fi
16076 ;;
16077
16078 HP-UX*)
16079
16080
16081 ac_ext=c
16082 ac_cpp='$CPP $CPPFLAGS'
16083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16086
16087 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16088 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16089 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16090 echo $ECHO_N "(cached) $ECHO_C" >&6
16091 else
16092 cat >conftest.$ac_ext <<_ACEOF
16093 /* confdefs.h. */
16094 _ACEOF
16095 cat confdefs.h >>conftest.$ac_ext
16096 cat >>conftest.$ac_ext <<_ACEOF
16097 /* end confdefs.h. */
16098
16099 int
16100 main ()
16101 {
16102
16103 #ifndef __HP_cc
16104 choke me
16105 #endif
16106
16107 ;
16108 return 0;
16109 }
16110 _ACEOF
16111 rm -f conftest.$ac_objext
16112 if { (ac_try="$ac_compile"
16113 case "(($ac_try" in
16114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16115 *) ac_try_echo=$ac_try;;
16116 esac
16117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16118 (eval "$ac_compile") 2>conftest.er1
16119 ac_status=$?
16120 grep -v '^ *+' conftest.er1 >conftest.err
16121 rm -f conftest.er1
16122 cat conftest.err >&5
16123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16124 (exit $ac_status); } && {
16125 test -z "$ac_c_werror_flag" ||
16126 test ! -s conftest.err
16127 } && test -s conftest.$ac_objext; then
16128 bakefile_cv_c_compiler___HP_cc=yes
16129 else
16130 echo "$as_me: failed program was:" >&5
16131 sed 's/^/| /' conftest.$ac_ext >&5
16132
16133 bakefile_cv_c_compiler___HP_cc=no
16134
16135 fi
16136
16137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16138
16139
16140 fi
16141 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16142 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16143 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16144 :; HPCC=yes
16145 else
16146 :;
16147 fi
16148 ac_ext=c
16149 ac_cpp='$CPP $CPPFLAGS'
16150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16153
16154
16155
16156 ;;
16157
16158 OSF1)
16159
16160
16161 ac_ext=c
16162 ac_cpp='$CPP $CPPFLAGS'
16163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16166
16167 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16168 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16169 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16170 echo $ECHO_N "(cached) $ECHO_C" >&6
16171 else
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 #ifndef __DECC
16184 choke me
16185 #endif
16186
16187 ;
16188 return 0;
16189 }
16190 _ACEOF
16191 rm -f conftest.$ac_objext
16192 if { (ac_try="$ac_compile"
16193 case "(($ac_try" in
16194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16195 *) ac_try_echo=$ac_try;;
16196 esac
16197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16198 (eval "$ac_compile") 2>conftest.er1
16199 ac_status=$?
16200 grep -v '^ *+' conftest.er1 >conftest.err
16201 rm -f conftest.er1
16202 cat conftest.err >&5
16203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16204 (exit $ac_status); } && {
16205 test -z "$ac_c_werror_flag" ||
16206 test ! -s conftest.err
16207 } && test -s conftest.$ac_objext; then
16208 bakefile_cv_c_compiler___DECC=yes
16209 else
16210 echo "$as_me: failed program was:" >&5
16211 sed 's/^/| /' conftest.$ac_ext >&5
16212
16213 bakefile_cv_c_compiler___DECC=no
16214
16215 fi
16216
16217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16218
16219
16220 fi
16221 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16222 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16223 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16224 :; COMPAQCC=yes
16225 else
16226 :;
16227 fi
16228 ac_ext=c
16229 ac_cpp='$CPP $CPPFLAGS'
16230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16233
16234
16235
16236 ;;
16237
16238 SunOS)
16239
16240
16241 ac_ext=c
16242 ac_cpp='$CPP $CPPFLAGS'
16243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16246
16247 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16248 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16249 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16250 echo $ECHO_N "(cached) $ECHO_C" >&6
16251 else
16252 cat >conftest.$ac_ext <<_ACEOF
16253 /* confdefs.h. */
16254 _ACEOF
16255 cat confdefs.h >>conftest.$ac_ext
16256 cat >>conftest.$ac_ext <<_ACEOF
16257 /* end confdefs.h. */
16258
16259 int
16260 main ()
16261 {
16262
16263 #ifndef __SUNPRO_C
16264 choke me
16265 #endif
16266
16267 ;
16268 return 0;
16269 }
16270 _ACEOF
16271 rm -f conftest.$ac_objext
16272 if { (ac_try="$ac_compile"
16273 case "(($ac_try" in
16274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16275 *) ac_try_echo=$ac_try;;
16276 esac
16277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16278 (eval "$ac_compile") 2>conftest.er1
16279 ac_status=$?
16280 grep -v '^ *+' conftest.er1 >conftest.err
16281 rm -f conftest.er1
16282 cat conftest.err >&5
16283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16284 (exit $ac_status); } && {
16285 test -z "$ac_c_werror_flag" ||
16286 test ! -s conftest.err
16287 } && test -s conftest.$ac_objext; then
16288 bakefile_cv_c_compiler___SUNPRO_C=yes
16289 else
16290 echo "$as_me: failed program was:" >&5
16291 sed 's/^/| /' conftest.$ac_ext >&5
16292
16293 bakefile_cv_c_compiler___SUNPRO_C=no
16294
16295 fi
16296
16297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16298
16299
16300 fi
16301 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16302 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16303 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16304 :; SUNCC=yes
16305 else
16306 :;
16307 fi
16308 ac_ext=c
16309 ac_cpp='$CPP $CPPFLAGS'
16310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16313
16314
16315
16316 ;;
16317 esac
16318 fi
16319
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 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16328 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16329 # On Suns, sometimes $CPP names a directory.
16330 if test -n "$CPP" && test -d "$CPP"; then
16331 CPP=
16332 fi
16333 if test -z "$CPP"; then
16334 if test "${ac_cv_prog_CPP+set}" = set; then
16335 echo $ECHO_N "(cached) $ECHO_C" >&6
16336 else
16337 # Double quotes because CPP needs to be expanded
16338 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16339 do
16340 ac_preproc_ok=false
16341 for ac_c_preproc_warn_flag in '' yes
16342 do
16343 # Use a header file that comes with gcc, so configuring glibc
16344 # with a fresh cross-compiler works.
16345 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16346 # <limits.h> exists even on freestanding compilers.
16347 # On the NeXT, cc -E runs the code through the compiler's parser,
16348 # not just through cpp. "Syntax error" is here to catch this case.
16349 cat >conftest.$ac_ext <<_ACEOF
16350 /* confdefs.h. */
16351 _ACEOF
16352 cat confdefs.h >>conftest.$ac_ext
16353 cat >>conftest.$ac_ext <<_ACEOF
16354 /* end confdefs.h. */
16355 #ifdef __STDC__
16356 # include <limits.h>
16357 #else
16358 # include <assert.h>
16359 #endif
16360 Syntax error
16361 _ACEOF
16362 if { (ac_try="$ac_cpp conftest.$ac_ext"
16363 case "(($ac_try" in
16364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16365 *) ac_try_echo=$ac_try;;
16366 esac
16367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16368 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16369 ac_status=$?
16370 grep -v '^ *+' conftest.er1 >conftest.err
16371 rm -f conftest.er1
16372 cat conftest.err >&5
16373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16374 (exit $ac_status); } >/dev/null && {
16375 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16376 test ! -s conftest.err
16377 }; then
16378 :
16379 else
16380 echo "$as_me: failed program was:" >&5
16381 sed 's/^/| /' conftest.$ac_ext >&5
16382
16383 # Broken: fails on valid input.
16384 continue
16385 fi
16386
16387 rm -f conftest.err conftest.$ac_ext
16388
16389 # OK, works on sane cases. Now check whether nonexistent headers
16390 # can be detected and how.
16391 cat >conftest.$ac_ext <<_ACEOF
16392 /* confdefs.h. */
16393 _ACEOF
16394 cat confdefs.h >>conftest.$ac_ext
16395 cat >>conftest.$ac_ext <<_ACEOF
16396 /* end confdefs.h. */
16397 #include <ac_nonexistent.h>
16398 _ACEOF
16399 if { (ac_try="$ac_cpp conftest.$ac_ext"
16400 case "(($ac_try" in
16401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16402 *) ac_try_echo=$ac_try;;
16403 esac
16404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16405 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16406 ac_status=$?
16407 grep -v '^ *+' conftest.er1 >conftest.err
16408 rm -f conftest.er1
16409 cat conftest.err >&5
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 (exit $ac_status); } >/dev/null && {
16412 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16413 test ! -s conftest.err
16414 }; then
16415 # Broken: success on invalid input.
16416 continue
16417 else
16418 echo "$as_me: failed program was:" >&5
16419 sed 's/^/| /' conftest.$ac_ext >&5
16420
16421 # Passes both tests.
16422 ac_preproc_ok=:
16423 break
16424 fi
16425
16426 rm -f conftest.err conftest.$ac_ext
16427
16428 done
16429 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16430 rm -f conftest.err conftest.$ac_ext
16431 if $ac_preproc_ok; then
16432 break
16433 fi
16434
16435 done
16436 ac_cv_prog_CPP=$CPP
16437
16438 fi
16439 CPP=$ac_cv_prog_CPP
16440 else
16441 ac_cv_prog_CPP=$CPP
16442 fi
16443 { echo "$as_me:$LINENO: result: $CPP" >&5
16444 echo "${ECHO_T}$CPP" >&6; }
16445 ac_preproc_ok=false
16446 for ac_c_preproc_warn_flag in '' yes
16447 do
16448 # Use a header file that comes with gcc, so configuring glibc
16449 # with a fresh cross-compiler works.
16450 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16451 # <limits.h> exists even on freestanding compilers.
16452 # On the NeXT, cc -E runs the code through the compiler's parser,
16453 # not just through cpp. "Syntax error" is here to catch this case.
16454 cat >conftest.$ac_ext <<_ACEOF
16455 /* confdefs.h. */
16456 _ACEOF
16457 cat confdefs.h >>conftest.$ac_ext
16458 cat >>conftest.$ac_ext <<_ACEOF
16459 /* end confdefs.h. */
16460 #ifdef __STDC__
16461 # include <limits.h>
16462 #else
16463 # include <assert.h>
16464 #endif
16465 Syntax error
16466 _ACEOF
16467 if { (ac_try="$ac_cpp conftest.$ac_ext"
16468 case "(($ac_try" in
16469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16470 *) ac_try_echo=$ac_try;;
16471 esac
16472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16473 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16474 ac_status=$?
16475 grep -v '^ *+' conftest.er1 >conftest.err
16476 rm -f conftest.er1
16477 cat conftest.err >&5
16478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16479 (exit $ac_status); } >/dev/null && {
16480 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16481 test ! -s conftest.err
16482 }; then
16483 :
16484 else
16485 echo "$as_me: failed program was:" >&5
16486 sed 's/^/| /' conftest.$ac_ext >&5
16487
16488 # Broken: fails on valid input.
16489 continue
16490 fi
16491
16492 rm -f conftest.err conftest.$ac_ext
16493
16494 # OK, works on sane cases. Now check whether nonexistent headers
16495 # can be detected and how.
16496 cat >conftest.$ac_ext <<_ACEOF
16497 /* confdefs.h. */
16498 _ACEOF
16499 cat confdefs.h >>conftest.$ac_ext
16500 cat >>conftest.$ac_ext <<_ACEOF
16501 /* end confdefs.h. */
16502 #include <ac_nonexistent.h>
16503 _ACEOF
16504 if { (ac_try="$ac_cpp conftest.$ac_ext"
16505 case "(($ac_try" in
16506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16507 *) ac_try_echo=$ac_try;;
16508 esac
16509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16510 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16511 ac_status=$?
16512 grep -v '^ *+' conftest.er1 >conftest.err
16513 rm -f conftest.er1
16514 cat conftest.err >&5
16515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16516 (exit $ac_status); } >/dev/null && {
16517 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16518 test ! -s conftest.err
16519 }; then
16520 # Broken: success on invalid input.
16521 continue
16522 else
16523 echo "$as_me: failed program was:" >&5
16524 sed 's/^/| /' conftest.$ac_ext >&5
16525
16526 # Passes both tests.
16527 ac_preproc_ok=:
16528 break
16529 fi
16530
16531 rm -f conftest.err conftest.$ac_ext
16532
16533 done
16534 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16535 rm -f conftest.err conftest.$ac_ext
16536 if $ac_preproc_ok; then
16537 :
16538 else
16539 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16540 See \`config.log' for more details." >&5
16541 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16542 See \`config.log' for more details." >&2;}
16543 { (exit 1); exit 1; }; }
16544 fi
16545
16546 ac_ext=c
16547 ac_cpp='$CPP $CPPFLAGS'
16548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16551
16552
16553 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16554 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16555 if test "${ac_cv_path_GREP+set}" = set; then
16556 echo $ECHO_N "(cached) $ECHO_C" >&6
16557 else
16558 # Extract the first word of "grep ggrep" to use in msg output
16559 if test -z "$GREP"; then
16560 set dummy grep ggrep; ac_prog_name=$2
16561 if test "${ac_cv_path_GREP+set}" = set; then
16562 echo $ECHO_N "(cached) $ECHO_C" >&6
16563 else
16564 ac_path_GREP_found=false
16565 # Loop through the user's path and test for each of PROGNAME-LIST
16566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16567 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16568 do
16569 IFS=$as_save_IFS
16570 test -z "$as_dir" && as_dir=.
16571 for ac_prog in grep ggrep; do
16572 for ac_exec_ext in '' $ac_executable_extensions; do
16573 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16574 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16575 # Check for GNU ac_path_GREP and select it if it is found.
16576 # Check for GNU $ac_path_GREP
16577 case `"$ac_path_GREP" --version 2>&1` in
16578 *GNU*)
16579 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16580 *)
16581 ac_count=0
16582 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16583 while :
16584 do
16585 cat "conftest.in" "conftest.in" >"conftest.tmp"
16586 mv "conftest.tmp" "conftest.in"
16587 cp "conftest.in" "conftest.nl"
16588 echo 'GREP' >> "conftest.nl"
16589 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16590 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16591 ac_count=`expr $ac_count + 1`
16592 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16593 # Best one so far, save it but keep looking for a better one
16594 ac_cv_path_GREP="$ac_path_GREP"
16595 ac_path_GREP_max=$ac_count
16596 fi
16597 # 10*(2^10) chars as input seems more than enough
16598 test $ac_count -gt 10 && break
16599 done
16600 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16601 esac
16602
16603
16604 $ac_path_GREP_found && break 3
16605 done
16606 done
16607
16608 done
16609 IFS=$as_save_IFS
16610
16611
16612 fi
16613
16614 GREP="$ac_cv_path_GREP"
16615 if test -z "$GREP"; then
16616 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16617 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16618 { (exit 1); exit 1; }; }
16619 fi
16620
16621 else
16622 ac_cv_path_GREP=$GREP
16623 fi
16624
16625
16626 fi
16627 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16628 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16629 GREP="$ac_cv_path_GREP"
16630
16631
16632 { echo "$as_me:$LINENO: checking for egrep" >&5
16633 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16634 if test "${ac_cv_path_EGREP+set}" = set; then
16635 echo $ECHO_N "(cached) $ECHO_C" >&6
16636 else
16637 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16638 then ac_cv_path_EGREP="$GREP -E"
16639 else
16640 # Extract the first word of "egrep" to use in msg output
16641 if test -z "$EGREP"; then
16642 set dummy egrep; ac_prog_name=$2
16643 if test "${ac_cv_path_EGREP+set}" = set; then
16644 echo $ECHO_N "(cached) $ECHO_C" >&6
16645 else
16646 ac_path_EGREP_found=false
16647 # Loop through the user's path and test for each of PROGNAME-LIST
16648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16649 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16650 do
16651 IFS=$as_save_IFS
16652 test -z "$as_dir" && as_dir=.
16653 for ac_prog in egrep; do
16654 for ac_exec_ext in '' $ac_executable_extensions; do
16655 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16656 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16657 # Check for GNU ac_path_EGREP and select it if it is found.
16658 # Check for GNU $ac_path_EGREP
16659 case `"$ac_path_EGREP" --version 2>&1` in
16660 *GNU*)
16661 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16662 *)
16663 ac_count=0
16664 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16665 while :
16666 do
16667 cat "conftest.in" "conftest.in" >"conftest.tmp"
16668 mv "conftest.tmp" "conftest.in"
16669 cp "conftest.in" "conftest.nl"
16670 echo 'EGREP' >> "conftest.nl"
16671 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16672 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16673 ac_count=`expr $ac_count + 1`
16674 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16675 # Best one so far, save it but keep looking for a better one
16676 ac_cv_path_EGREP="$ac_path_EGREP"
16677 ac_path_EGREP_max=$ac_count
16678 fi
16679 # 10*(2^10) chars as input seems more than enough
16680 test $ac_count -gt 10 && break
16681 done
16682 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16683 esac
16684
16685
16686 $ac_path_EGREP_found && break 3
16687 done
16688 done
16689
16690 done
16691 IFS=$as_save_IFS
16692
16693
16694 fi
16695
16696 EGREP="$ac_cv_path_EGREP"
16697 if test -z "$EGREP"; then
16698 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16699 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16700 { (exit 1); exit 1; }; }
16701 fi
16702
16703 else
16704 ac_cv_path_EGREP=$EGREP
16705 fi
16706
16707
16708 fi
16709 fi
16710 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16711 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16712 EGREP="$ac_cv_path_EGREP"
16713
16714
16715 if test $ac_cv_c_compiler_gnu = yes; then
16716 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16717 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16718 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16719 echo $ECHO_N "(cached) $ECHO_C" >&6
16720 else
16721 ac_pattern="Autoconf.*'x'"
16722 cat >conftest.$ac_ext <<_ACEOF
16723 /* confdefs.h. */
16724 _ACEOF
16725 cat confdefs.h >>conftest.$ac_ext
16726 cat >>conftest.$ac_ext <<_ACEOF
16727 /* end confdefs.h. */
16728 #include <sgtty.h>
16729 Autoconf TIOCGETP
16730 _ACEOF
16731 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16732 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16733 ac_cv_prog_gcc_traditional=yes
16734 else
16735 ac_cv_prog_gcc_traditional=no
16736 fi
16737 rm -f conftest*
16738
16739
16740 if test $ac_cv_prog_gcc_traditional = no; then
16741 cat >conftest.$ac_ext <<_ACEOF
16742 /* confdefs.h. */
16743 _ACEOF
16744 cat confdefs.h >>conftest.$ac_ext
16745 cat >>conftest.$ac_ext <<_ACEOF
16746 /* end confdefs.h. */
16747 #include <termio.h>
16748 Autoconf TCGETA
16749 _ACEOF
16750 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16751 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16752 ac_cv_prog_gcc_traditional=yes
16753 fi
16754 rm -f conftest*
16755
16756 fi
16757 fi
16758 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16759 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16760 if test $ac_cv_prog_gcc_traditional = yes; then
16761 CC="$CC -traditional"
16762 fi
16763 fi
16764
16765
16766 CXXFLAGS=${CXXFLAGS:=}
16767
16768
16769
16770 ac_ext=cpp
16771 ac_cpp='$CXXCPP $CPPFLAGS'
16772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16775 if test -z "$CXX"; then
16776 if test -n "$CCC"; then
16777 CXX=$CCC
16778 else
16779 if test -n "$ac_tool_prefix"; then
16780 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16781 do
16782 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16783 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16784 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16786 if test "${ac_cv_prog_CXX+set}" = set; then
16787 echo $ECHO_N "(cached) $ECHO_C" >&6
16788 else
16789 if test -n "$CXX"; then
16790 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16791 else
16792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16793 for as_dir in $PATH
16794 do
16795 IFS=$as_save_IFS
16796 test -z "$as_dir" && as_dir=.
16797 for ac_exec_ext in '' $ac_executable_extensions; do
16798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16799 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16801 break 2
16802 fi
16803 done
16804 done
16805 IFS=$as_save_IFS
16806
16807 fi
16808 fi
16809 CXX=$ac_cv_prog_CXX
16810 if test -n "$CXX"; then
16811 { echo "$as_me:$LINENO: result: $CXX" >&5
16812 echo "${ECHO_T}$CXX" >&6; }
16813 else
16814 { echo "$as_me:$LINENO: result: no" >&5
16815 echo "${ECHO_T}no" >&6; }
16816 fi
16817
16818
16819 test -n "$CXX" && break
16820 done
16821 fi
16822 if test -z "$CXX"; then
16823 ac_ct_CXX=$CXX
16824 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16825 do
16826 # Extract the first word of "$ac_prog", so it can be a program name with args.
16827 set dummy $ac_prog; ac_word=$2
16828 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16830 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16831 echo $ECHO_N "(cached) $ECHO_C" >&6
16832 else
16833 if test -n "$ac_ct_CXX"; then
16834 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16835 else
16836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16837 for as_dir in $PATH
16838 do
16839 IFS=$as_save_IFS
16840 test -z "$as_dir" && as_dir=.
16841 for ac_exec_ext in '' $ac_executable_extensions; do
16842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16843 ac_cv_prog_ac_ct_CXX="$ac_prog"
16844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16845 break 2
16846 fi
16847 done
16848 done
16849 IFS=$as_save_IFS
16850
16851 fi
16852 fi
16853 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16854 if test -n "$ac_ct_CXX"; then
16855 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16856 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16857 else
16858 { echo "$as_me:$LINENO: result: no" >&5
16859 echo "${ECHO_T}no" >&6; }
16860 fi
16861
16862
16863 test -n "$ac_ct_CXX" && break
16864 done
16865
16866 if test "x$ac_ct_CXX" = x; then
16867 CXX="g++"
16868 else
16869 case $cross_compiling:$ac_tool_warned in
16870 yes:)
16871 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16872 whose name does not start with the host triplet. If you think this
16873 configuration is useful to you, please write to autoconf@gnu.org." >&5
16874 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16875 whose name does not start with the host triplet. If you think this
16876 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16877 ac_tool_warned=yes ;;
16878 esac
16879 CXX=$ac_ct_CXX
16880 fi
16881 fi
16882
16883 fi
16884 fi
16885 # Provide some information about the compiler.
16886 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16887 ac_compiler=`set X $ac_compile; echo $2`
16888 { (ac_try="$ac_compiler --version >&5"
16889 case "(($ac_try" in
16890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16891 *) ac_try_echo=$ac_try;;
16892 esac
16893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16894 (eval "$ac_compiler --version >&5") 2>&5
16895 ac_status=$?
16896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16897 (exit $ac_status); }
16898 { (ac_try="$ac_compiler -v >&5"
16899 case "(($ac_try" in
16900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16901 *) ac_try_echo=$ac_try;;
16902 esac
16903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16904 (eval "$ac_compiler -v >&5") 2>&5
16905 ac_status=$?
16906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16907 (exit $ac_status); }
16908 { (ac_try="$ac_compiler -V >&5"
16909 case "(($ac_try" in
16910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16911 *) ac_try_echo=$ac_try;;
16912 esac
16913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16914 (eval "$ac_compiler -V >&5") 2>&5
16915 ac_status=$?
16916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16917 (exit $ac_status); }
16918
16919 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16920 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16921 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16922 echo $ECHO_N "(cached) $ECHO_C" >&6
16923 else
16924 cat >conftest.$ac_ext <<_ACEOF
16925 /* confdefs.h. */
16926 _ACEOF
16927 cat confdefs.h >>conftest.$ac_ext
16928 cat >>conftest.$ac_ext <<_ACEOF
16929 /* end confdefs.h. */
16930
16931 int
16932 main ()
16933 {
16934 #ifndef __GNUC__
16935 choke me
16936 #endif
16937
16938 ;
16939 return 0;
16940 }
16941 _ACEOF
16942 rm -f conftest.$ac_objext
16943 if { (ac_try="$ac_compile"
16944 case "(($ac_try" in
16945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16946 *) ac_try_echo=$ac_try;;
16947 esac
16948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16949 (eval "$ac_compile") 2>conftest.er1
16950 ac_status=$?
16951 grep -v '^ *+' conftest.er1 >conftest.err
16952 rm -f conftest.er1
16953 cat conftest.err >&5
16954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16955 (exit $ac_status); } && {
16956 test -z "$ac_cxx_werror_flag" ||
16957 test ! -s conftest.err
16958 } && test -s conftest.$ac_objext; then
16959 ac_compiler_gnu=yes
16960 else
16961 echo "$as_me: failed program was:" >&5
16962 sed 's/^/| /' conftest.$ac_ext >&5
16963
16964 ac_compiler_gnu=no
16965 fi
16966
16967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16968 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16969
16970 fi
16971 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16972 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16973 GXX=`test $ac_compiler_gnu = yes && echo yes`
16974 ac_test_CXXFLAGS=${CXXFLAGS+set}
16975 ac_save_CXXFLAGS=$CXXFLAGS
16976 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16977 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16978 if test "${ac_cv_prog_cxx_g+set}" = set; then
16979 echo $ECHO_N "(cached) $ECHO_C" >&6
16980 else
16981 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16982 ac_cxx_werror_flag=yes
16983 ac_cv_prog_cxx_g=no
16984 CXXFLAGS="-g"
16985 cat >conftest.$ac_ext <<_ACEOF
16986 /* confdefs.h. */
16987 _ACEOF
16988 cat confdefs.h >>conftest.$ac_ext
16989 cat >>conftest.$ac_ext <<_ACEOF
16990 /* end confdefs.h. */
16991
16992 int
16993 main ()
16994 {
16995
16996 ;
16997 return 0;
16998 }
16999 _ACEOF
17000 rm -f conftest.$ac_objext
17001 if { (ac_try="$ac_compile"
17002 case "(($ac_try" in
17003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17004 *) ac_try_echo=$ac_try;;
17005 esac
17006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17007 (eval "$ac_compile") 2>conftest.er1
17008 ac_status=$?
17009 grep -v '^ *+' conftest.er1 >conftest.err
17010 rm -f conftest.er1
17011 cat conftest.err >&5
17012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17013 (exit $ac_status); } && {
17014 test -z "$ac_cxx_werror_flag" ||
17015 test ! -s conftest.err
17016 } && test -s conftest.$ac_objext; then
17017 ac_cv_prog_cxx_g=yes
17018 else
17019 echo "$as_me: failed program was:" >&5
17020 sed 's/^/| /' conftest.$ac_ext >&5
17021
17022 CXXFLAGS=""
17023 cat >conftest.$ac_ext <<_ACEOF
17024 /* confdefs.h. */
17025 _ACEOF
17026 cat confdefs.h >>conftest.$ac_ext
17027 cat >>conftest.$ac_ext <<_ACEOF
17028 /* end confdefs.h. */
17029
17030 int
17031 main ()
17032 {
17033
17034 ;
17035 return 0;
17036 }
17037 _ACEOF
17038 rm -f conftest.$ac_objext
17039 if { (ac_try="$ac_compile"
17040 case "(($ac_try" in
17041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17042 *) ac_try_echo=$ac_try;;
17043 esac
17044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17045 (eval "$ac_compile") 2>conftest.er1
17046 ac_status=$?
17047 grep -v '^ *+' conftest.er1 >conftest.err
17048 rm -f conftest.er1
17049 cat conftest.err >&5
17050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17051 (exit $ac_status); } && {
17052 test -z "$ac_cxx_werror_flag" ||
17053 test ! -s conftest.err
17054 } && test -s conftest.$ac_objext; then
17055 :
17056 else
17057 echo "$as_me: failed program was:" >&5
17058 sed 's/^/| /' conftest.$ac_ext >&5
17059
17060 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17061 CXXFLAGS="-g"
17062 cat >conftest.$ac_ext <<_ACEOF
17063 /* confdefs.h. */
17064 _ACEOF
17065 cat confdefs.h >>conftest.$ac_ext
17066 cat >>conftest.$ac_ext <<_ACEOF
17067 /* end confdefs.h. */
17068
17069 int
17070 main ()
17071 {
17072
17073 ;
17074 return 0;
17075 }
17076 _ACEOF
17077 rm -f conftest.$ac_objext
17078 if { (ac_try="$ac_compile"
17079 case "(($ac_try" in
17080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17081 *) ac_try_echo=$ac_try;;
17082 esac
17083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17084 (eval "$ac_compile") 2>conftest.er1
17085 ac_status=$?
17086 grep -v '^ *+' conftest.er1 >conftest.err
17087 rm -f conftest.er1
17088 cat conftest.err >&5
17089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17090 (exit $ac_status); } && {
17091 test -z "$ac_cxx_werror_flag" ||
17092 test ! -s conftest.err
17093 } && test -s conftest.$ac_objext; then
17094 ac_cv_prog_cxx_g=yes
17095 else
17096 echo "$as_me: failed program was:" >&5
17097 sed 's/^/| /' conftest.$ac_ext >&5
17098
17099
17100 fi
17101
17102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17103 fi
17104
17105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17106 fi
17107
17108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17109 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17110 fi
17111 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17112 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17113 if test "$ac_test_CXXFLAGS" = set; then
17114 CXXFLAGS=$ac_save_CXXFLAGS
17115 elif test $ac_cv_prog_cxx_g = yes; then
17116 if test "$GXX" = yes; then
17117 CXXFLAGS="-g -O2"
17118 else
17119 CXXFLAGS="-g"
17120 fi
17121 else
17122 if test "$GXX" = yes; then
17123 CXXFLAGS="-O2"
17124 else
17125 CXXFLAGS=
17126 fi
17127 fi
17128 ac_ext=c
17129 ac_cpp='$CPP $CPPFLAGS'
17130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17133
17134
17135
17136
17137 ac_ext=cpp
17138 ac_cpp='$CXXCPP $CPPFLAGS'
17139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17142
17143 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17144 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17145 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17146 echo $ECHO_N "(cached) $ECHO_C" >&6
17147 else
17148 cat >conftest.$ac_ext <<_ACEOF
17149 /* confdefs.h. */
17150 _ACEOF
17151 cat confdefs.h >>conftest.$ac_ext
17152 cat >>conftest.$ac_ext <<_ACEOF
17153 /* end confdefs.h. */
17154
17155 int
17156 main ()
17157 {
17158
17159 #ifndef __INTEL_COMPILER
17160 choke me
17161 #endif
17162
17163 ;
17164 return 0;
17165 }
17166 _ACEOF
17167 rm -f conftest.$ac_objext
17168 if { (ac_try="$ac_compile"
17169 case "(($ac_try" in
17170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17171 *) ac_try_echo=$ac_try;;
17172 esac
17173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17174 (eval "$ac_compile") 2>conftest.er1
17175 ac_status=$?
17176 grep -v '^ *+' conftest.er1 >conftest.err
17177 rm -f conftest.er1
17178 cat conftest.err >&5
17179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17180 (exit $ac_status); } && {
17181 test -z "$ac_cxx_werror_flag" ||
17182 test ! -s conftest.err
17183 } && test -s conftest.$ac_objext; then
17184 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17185 else
17186 echo "$as_me: failed program was:" >&5
17187 sed 's/^/| /' conftest.$ac_ext >&5
17188
17189 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17190
17191 fi
17192
17193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17194
17195
17196 fi
17197 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17198 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17199 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17200 :; INTELCXX=yes
17201 else
17202 :;
17203 fi
17204 ac_ext=c
17205 ac_cpp='$CPP $CPPFLAGS'
17206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17209
17210
17211
17212
17213 if test "$INTELCXX" = "yes"; then
17214
17215
17216 ac_ext=cpp
17217 ac_cpp='$CXXCPP $CPPFLAGS'
17218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17221
17222 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17223 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17224 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17225 echo $ECHO_N "(cached) $ECHO_C" >&6
17226 else
17227 cat >conftest.$ac_ext <<_ACEOF
17228 /* confdefs.h. */
17229 _ACEOF
17230 cat confdefs.h >>conftest.$ac_ext
17231 cat >>conftest.$ac_ext <<_ACEOF
17232 /* end confdefs.h. */
17233
17234 int
17235 main ()
17236 {
17237
17238 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17239 choke me
17240 #endif
17241
17242 ;
17243 return 0;
17244 }
17245 _ACEOF
17246 rm -f conftest.$ac_objext
17247 if { (ac_try="$ac_compile"
17248 case "(($ac_try" in
17249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17250 *) ac_try_echo=$ac_try;;
17251 esac
17252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17253 (eval "$ac_compile") 2>conftest.er1
17254 ac_status=$?
17255 grep -v '^ *+' conftest.er1 >conftest.err
17256 rm -f conftest.er1
17257 cat conftest.err >&5
17258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17259 (exit $ac_status); } && {
17260 test -z "$ac_cxx_werror_flag" ||
17261 test ! -s conftest.err
17262 } && test -s conftest.$ac_objext; then
17263 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17264 else
17265 echo "$as_me: failed program was:" >&5
17266 sed 's/^/| /' conftest.$ac_ext >&5
17267
17268 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17269
17270 fi
17271
17272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17273
17274
17275 fi
17276 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17277 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17278 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17279 :; INTELCXX8=yes
17280 else
17281 :;
17282 fi
17283 ac_ext=c
17284 ac_cpp='$CPP $CPPFLAGS'
17285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17288
17289
17290
17291
17292
17293 ac_ext=cpp
17294 ac_cpp='$CXXCPP $CPPFLAGS'
17295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17298
17299 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17300 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17301 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17302 echo $ECHO_N "(cached) $ECHO_C" >&6
17303 else
17304 cat >conftest.$ac_ext <<_ACEOF
17305 /* confdefs.h. */
17306 _ACEOF
17307 cat confdefs.h >>conftest.$ac_ext
17308 cat >>conftest.$ac_ext <<_ACEOF
17309 /* end confdefs.h. */
17310
17311 int
17312 main ()
17313 {
17314
17315 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17316 choke me
17317 #endif
17318
17319 ;
17320 return 0;
17321 }
17322 _ACEOF
17323 rm -f conftest.$ac_objext
17324 if { (ac_try="$ac_compile"
17325 case "(($ac_try" in
17326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17327 *) ac_try_echo=$ac_try;;
17328 esac
17329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17330 (eval "$ac_compile") 2>conftest.er1
17331 ac_status=$?
17332 grep -v '^ *+' conftest.er1 >conftest.err
17333 rm -f conftest.er1
17334 cat conftest.err >&5
17335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17336 (exit $ac_status); } && {
17337 test -z "$ac_cxx_werror_flag" ||
17338 test ! -s conftest.err
17339 } && test -s conftest.$ac_objext; then
17340 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17341 else
17342 echo "$as_me: failed program was:" >&5
17343 sed 's/^/| /' conftest.$ac_ext >&5
17344
17345 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17346
17347 fi
17348
17349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17350
17351
17352 fi
17353 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17354 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17355 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17356 :; INTELCXX10=yes
17357 else
17358 :;
17359 fi
17360 ac_ext=c
17361 ac_cpp='$CPP $CPPFLAGS'
17362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17365
17366
17367
17368 fi
17369
17370 if test "x$GCXX" != "xyes"; then
17371 if test "xCXX" = "xC"; then
17372 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17373 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17374 if test "${bakefile_cv_c_exto+set}" = set; then
17375 echo $ECHO_N "(cached) $ECHO_C" >&6
17376 else
17377 cat >conftest.$ac_ext <<_ACEOF
17378 /* confdefs.h. */
17379 _ACEOF
17380 cat confdefs.h >>conftest.$ac_ext
17381 cat >>conftest.$ac_ext <<_ACEOF
17382 /* end confdefs.h. */
17383
17384 int
17385 main ()
17386 {
17387
17388 ;
17389 return 0;
17390 }
17391 _ACEOF
17392 rm -f conftest.$ac_objext conftest.$ac_ext.o
17393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17394 (eval $ac_compile) 2>&5
17395 ac_status=$?
17396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17397 (exit $ac_status); }; then
17398 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17399 case $ac_file in
17400 conftest.$ac_ext.o)
17401 bakefile_cv_c_exto="-ext o"
17402 ;;
17403 *)
17404 ;;
17405 esac
17406 done
17407 else
17408 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17409 See \`config.log' for more details." >&5
17410 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17411 See \`config.log' for more details." >&2;}
17412 { (exit 1); exit 1; }; }
17413
17414 fi
17415
17416 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17417
17418 fi
17419 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17420 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17421 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17422 if test "c" = "c"; then
17423 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17424 fi
17425 if test "c" = "cxx"; then
17426 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17427 fi
17428 fi
17429
17430 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17431 unset ac_cv_prog_cc_g
17432 ac_test_CFLAGS=${CFLAGS+set}
17433 ac_save_CFLAGS=$CFLAGS
17434 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17435 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17436 if test "${ac_cv_prog_cc_g+set}" = set; then
17437 echo $ECHO_N "(cached) $ECHO_C" >&6
17438 else
17439 ac_save_c_werror_flag=$ac_c_werror_flag
17440 ac_c_werror_flag=yes
17441 ac_cv_prog_cc_g=no
17442 CFLAGS="-g"
17443 cat >conftest.$ac_ext <<_ACEOF
17444 /* confdefs.h. */
17445 _ACEOF
17446 cat confdefs.h >>conftest.$ac_ext
17447 cat >>conftest.$ac_ext <<_ACEOF
17448 /* end confdefs.h. */
17449
17450 int
17451 main ()
17452 {
17453
17454 ;
17455 return 0;
17456 }
17457 _ACEOF
17458 rm -f conftest.$ac_objext
17459 if { (ac_try="$ac_compile"
17460 case "(($ac_try" in
17461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17462 *) ac_try_echo=$ac_try;;
17463 esac
17464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17465 (eval "$ac_compile") 2>conftest.er1
17466 ac_status=$?
17467 grep -v '^ *+' conftest.er1 >conftest.err
17468 rm -f conftest.er1
17469 cat conftest.err >&5
17470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17471 (exit $ac_status); } && {
17472 test -z "$ac_c_werror_flag" ||
17473 test ! -s conftest.err
17474 } && test -s conftest.$ac_objext; then
17475 ac_cv_prog_cc_g=yes
17476 else
17477 echo "$as_me: failed program was:" >&5
17478 sed 's/^/| /' conftest.$ac_ext >&5
17479
17480 CFLAGS=""
17481 cat >conftest.$ac_ext <<_ACEOF
17482 /* confdefs.h. */
17483 _ACEOF
17484 cat confdefs.h >>conftest.$ac_ext
17485 cat >>conftest.$ac_ext <<_ACEOF
17486 /* end confdefs.h. */
17487
17488 int
17489 main ()
17490 {
17491
17492 ;
17493 return 0;
17494 }
17495 _ACEOF
17496 rm -f conftest.$ac_objext
17497 if { (ac_try="$ac_compile"
17498 case "(($ac_try" in
17499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17500 *) ac_try_echo=$ac_try;;
17501 esac
17502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17503 (eval "$ac_compile") 2>conftest.er1
17504 ac_status=$?
17505 grep -v '^ *+' conftest.er1 >conftest.err
17506 rm -f conftest.er1
17507 cat conftest.err >&5
17508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17509 (exit $ac_status); } && {
17510 test -z "$ac_c_werror_flag" ||
17511 test ! -s conftest.err
17512 } && test -s conftest.$ac_objext; then
17513 :
17514 else
17515 echo "$as_me: failed program was:" >&5
17516 sed 's/^/| /' conftest.$ac_ext >&5
17517
17518 ac_c_werror_flag=$ac_save_c_werror_flag
17519 CFLAGS="-g"
17520 cat >conftest.$ac_ext <<_ACEOF
17521 /* confdefs.h. */
17522 _ACEOF
17523 cat confdefs.h >>conftest.$ac_ext
17524 cat >>conftest.$ac_ext <<_ACEOF
17525 /* end confdefs.h. */
17526
17527 int
17528 main ()
17529 {
17530
17531 ;
17532 return 0;
17533 }
17534 _ACEOF
17535 rm -f conftest.$ac_objext
17536 if { (ac_try="$ac_compile"
17537 case "(($ac_try" in
17538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17539 *) ac_try_echo=$ac_try;;
17540 esac
17541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17542 (eval "$ac_compile") 2>conftest.er1
17543 ac_status=$?
17544 grep -v '^ *+' conftest.er1 >conftest.err
17545 rm -f conftest.er1
17546 cat conftest.err >&5
17547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17548 (exit $ac_status); } && {
17549 test -z "$ac_c_werror_flag" ||
17550 test ! -s conftest.err
17551 } && test -s conftest.$ac_objext; then
17552 ac_cv_prog_cc_g=yes
17553 else
17554 echo "$as_me: failed program was:" >&5
17555 sed 's/^/| /' conftest.$ac_ext >&5
17556
17557
17558 fi
17559
17560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17561 fi
17562
17563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17564 fi
17565
17566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17567 ac_c_werror_flag=$ac_save_c_werror_flag
17568 fi
17569 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17570 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17571 if test "$ac_test_CFLAGS" = set; then
17572 CFLAGS=$ac_save_CFLAGS
17573 elif test $ac_cv_prog_cc_g = yes; then
17574 if test "$GCC" = yes; then
17575 CFLAGS="-g -O2"
17576 else
17577 CFLAGS="-g"
17578 fi
17579 else
17580 if test "$GCC" = yes; then
17581 CFLAGS="-O2"
17582 else
17583 CFLAGS=
17584 fi
17585 fi
17586 fi
17587 fi
17588
17589 case `uname -s` in
17590 AIX*)
17591
17592
17593 ac_ext=cpp
17594 ac_cpp='$CXXCPP $CPPFLAGS'
17595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17598
17599 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17600 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17601 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17602 echo $ECHO_N "(cached) $ECHO_C" >&6
17603 else
17604 cat >conftest.$ac_ext <<_ACEOF
17605 /* confdefs.h. */
17606 _ACEOF
17607 cat confdefs.h >>conftest.$ac_ext
17608 cat >>conftest.$ac_ext <<_ACEOF
17609 /* end confdefs.h. */
17610
17611 int
17612 main ()
17613 {
17614
17615 #ifndef __xlC__
17616 choke me
17617 #endif
17618
17619 ;
17620 return 0;
17621 }
17622 _ACEOF
17623 rm -f conftest.$ac_objext
17624 if { (ac_try="$ac_compile"
17625 case "(($ac_try" in
17626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17627 *) ac_try_echo=$ac_try;;
17628 esac
17629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17630 (eval "$ac_compile") 2>conftest.er1
17631 ac_status=$?
17632 grep -v '^ *+' conftest.er1 >conftest.err
17633 rm -f conftest.er1
17634 cat conftest.err >&5
17635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17636 (exit $ac_status); } && {
17637 test -z "$ac_cxx_werror_flag" ||
17638 test ! -s conftest.err
17639 } && test -s conftest.$ac_objext; then
17640 bakefile_cv_cxx_compiler___xlC__=yes
17641 else
17642 echo "$as_me: failed program was:" >&5
17643 sed 's/^/| /' conftest.$ac_ext >&5
17644
17645 bakefile_cv_cxx_compiler___xlC__=no
17646
17647 fi
17648
17649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17650
17651
17652 fi
17653 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17654 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17655 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17656 :; XLCXX=yes
17657 else
17658 :;
17659 fi
17660 ac_ext=c
17661 ac_cpp='$CPP $CPPFLAGS'
17662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17665
17666
17667
17668 ;;
17669
17670 Darwin)
17671
17672
17673 ac_ext=cpp
17674 ac_cpp='$CXXCPP $CPPFLAGS'
17675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17678
17679 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17680 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17681 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17682 echo $ECHO_N "(cached) $ECHO_C" >&6
17683 else
17684 cat >conftest.$ac_ext <<_ACEOF
17685 /* confdefs.h. */
17686 _ACEOF
17687 cat confdefs.h >>conftest.$ac_ext
17688 cat >>conftest.$ac_ext <<_ACEOF
17689 /* end confdefs.h. */
17690
17691 int
17692 main ()
17693 {
17694
17695 #ifndef __MWERKS__
17696 choke me
17697 #endif
17698
17699 ;
17700 return 0;
17701 }
17702 _ACEOF
17703 rm -f conftest.$ac_objext
17704 if { (ac_try="$ac_compile"
17705 case "(($ac_try" in
17706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17707 *) ac_try_echo=$ac_try;;
17708 esac
17709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17710 (eval "$ac_compile") 2>conftest.er1
17711 ac_status=$?
17712 grep -v '^ *+' conftest.er1 >conftest.err
17713 rm -f conftest.er1
17714 cat conftest.err >&5
17715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17716 (exit $ac_status); } && {
17717 test -z "$ac_cxx_werror_flag" ||
17718 test ! -s conftest.err
17719 } && test -s conftest.$ac_objext; then
17720 bakefile_cv_cxx_compiler___MWERKS__=yes
17721 else
17722 echo "$as_me: failed program was:" >&5
17723 sed 's/^/| /' conftest.$ac_ext >&5
17724
17725 bakefile_cv_cxx_compiler___MWERKS__=no
17726
17727 fi
17728
17729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17730
17731
17732 fi
17733 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17734 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17735 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17736 :; MWCXX=yes
17737 else
17738 :;
17739 fi
17740 ac_ext=c
17741 ac_cpp='$CPP $CPPFLAGS'
17742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17745
17746
17747
17748 if test "$MWCXX" != "yes"; then
17749
17750
17751 ac_ext=cpp
17752 ac_cpp='$CXXCPP $CPPFLAGS'
17753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17756
17757 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17758 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17759 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17760 echo $ECHO_N "(cached) $ECHO_C" >&6
17761 else
17762 cat >conftest.$ac_ext <<_ACEOF
17763 /* confdefs.h. */
17764 _ACEOF
17765 cat confdefs.h >>conftest.$ac_ext
17766 cat >>conftest.$ac_ext <<_ACEOF
17767 /* end confdefs.h. */
17768
17769 int
17770 main ()
17771 {
17772
17773 #ifndef __xlC__
17774 choke me
17775 #endif
17776
17777 ;
17778 return 0;
17779 }
17780 _ACEOF
17781 rm -f conftest.$ac_objext
17782 if { (ac_try="$ac_compile"
17783 case "(($ac_try" in
17784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17785 *) ac_try_echo=$ac_try;;
17786 esac
17787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17788 (eval "$ac_compile") 2>conftest.er1
17789 ac_status=$?
17790 grep -v '^ *+' conftest.er1 >conftest.err
17791 rm -f conftest.er1
17792 cat conftest.err >&5
17793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17794 (exit $ac_status); } && {
17795 test -z "$ac_cxx_werror_flag" ||
17796 test ! -s conftest.err
17797 } && test -s conftest.$ac_objext; then
17798 bakefile_cv_cxx_compiler___xlC__=yes
17799 else
17800 echo "$as_me: failed program was:" >&5
17801 sed 's/^/| /' conftest.$ac_ext >&5
17802
17803 bakefile_cv_cxx_compiler___xlC__=no
17804
17805 fi
17806
17807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17808
17809
17810 fi
17811 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17812 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17813 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17814 :; XLCXX=yes
17815 else
17816 :;
17817 fi
17818 ac_ext=c
17819 ac_cpp='$CPP $CPPFLAGS'
17820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17823
17824
17825
17826 fi
17827 ;;
17828
17829 IRIX*)
17830
17831
17832 ac_ext=cpp
17833 ac_cpp='$CXXCPP $CPPFLAGS'
17834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17837
17838 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17839 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17840 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17841 echo $ECHO_N "(cached) $ECHO_C" >&6
17842 else
17843 cat >conftest.$ac_ext <<_ACEOF
17844 /* confdefs.h. */
17845 _ACEOF
17846 cat confdefs.h >>conftest.$ac_ext
17847 cat >>conftest.$ac_ext <<_ACEOF
17848 /* end confdefs.h. */
17849
17850 int
17851 main ()
17852 {
17853
17854 #ifndef _SGI_COMPILER_VERSION
17855 choke me
17856 #endif
17857
17858 ;
17859 return 0;
17860 }
17861 _ACEOF
17862 rm -f conftest.$ac_objext
17863 if { (ac_try="$ac_compile"
17864 case "(($ac_try" in
17865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17866 *) ac_try_echo=$ac_try;;
17867 esac
17868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17869 (eval "$ac_compile") 2>conftest.er1
17870 ac_status=$?
17871 grep -v '^ *+' conftest.er1 >conftest.err
17872 rm -f conftest.er1
17873 cat conftest.err >&5
17874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17875 (exit $ac_status); } && {
17876 test -z "$ac_cxx_werror_flag" ||
17877 test ! -s conftest.err
17878 } && test -s conftest.$ac_objext; then
17879 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17880 else
17881 echo "$as_me: failed program was:" >&5
17882 sed 's/^/| /' conftest.$ac_ext >&5
17883
17884 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17885
17886 fi
17887
17888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17889
17890
17891 fi
17892 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17893 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17894 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17895 :; SGICXX=yes
17896 else
17897 :;
17898 fi
17899 ac_ext=c
17900 ac_cpp='$CPP $CPPFLAGS'
17901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17904
17905
17906
17907 ;;
17908
17909 Linux*)
17910 if test "$INTELCXX" != "yes"; then
17911
17912
17913 ac_ext=cpp
17914 ac_cpp='$CXXCPP $CPPFLAGS'
17915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17918
17919 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17920 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17921 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17922 echo $ECHO_N "(cached) $ECHO_C" >&6
17923 else
17924 cat >conftest.$ac_ext <<_ACEOF
17925 /* confdefs.h. */
17926 _ACEOF
17927 cat confdefs.h >>conftest.$ac_ext
17928 cat >>conftest.$ac_ext <<_ACEOF
17929 /* end confdefs.h. */
17930
17931 int
17932 main ()
17933 {
17934
17935 #ifndef __SUNPRO_CC
17936 choke me
17937 #endif
17938
17939 ;
17940 return 0;
17941 }
17942 _ACEOF
17943 rm -f conftest.$ac_objext
17944 if { (ac_try="$ac_compile"
17945 case "(($ac_try" in
17946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17947 *) ac_try_echo=$ac_try;;
17948 esac
17949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17950 (eval "$ac_compile") 2>conftest.er1
17951 ac_status=$?
17952 grep -v '^ *+' conftest.er1 >conftest.err
17953 rm -f conftest.er1
17954 cat conftest.err >&5
17955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17956 (exit $ac_status); } && {
17957 test -z "$ac_cxx_werror_flag" ||
17958 test ! -s conftest.err
17959 } && test -s conftest.$ac_objext; then
17960 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17961 else
17962 echo "$as_me: failed program was:" >&5
17963 sed 's/^/| /' conftest.$ac_ext >&5
17964
17965 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17966
17967 fi
17968
17969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17970
17971
17972 fi
17973 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17974 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17975 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17976 :; SUNCXX=yes
17977 else
17978 :;
17979 fi
17980 ac_ext=c
17981 ac_cpp='$CPP $CPPFLAGS'
17982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17985
17986
17987
17988 fi
17989 ;;
17990
17991 HP-UX*)
17992
17993
17994 ac_ext=cpp
17995 ac_cpp='$CXXCPP $CPPFLAGS'
17996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17999
18000 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18001 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18002 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18003 echo $ECHO_N "(cached) $ECHO_C" >&6
18004 else
18005 cat >conftest.$ac_ext <<_ACEOF
18006 /* confdefs.h. */
18007 _ACEOF
18008 cat confdefs.h >>conftest.$ac_ext
18009 cat >>conftest.$ac_ext <<_ACEOF
18010 /* end confdefs.h. */
18011
18012 int
18013 main ()
18014 {
18015
18016 #ifndef __HP_aCC
18017 choke me
18018 #endif
18019
18020 ;
18021 return 0;
18022 }
18023 _ACEOF
18024 rm -f conftest.$ac_objext
18025 if { (ac_try="$ac_compile"
18026 case "(($ac_try" in
18027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18028 *) ac_try_echo=$ac_try;;
18029 esac
18030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18031 (eval "$ac_compile") 2>conftest.er1
18032 ac_status=$?
18033 grep -v '^ *+' conftest.er1 >conftest.err
18034 rm -f conftest.er1
18035 cat conftest.err >&5
18036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18037 (exit $ac_status); } && {
18038 test -z "$ac_cxx_werror_flag" ||
18039 test ! -s conftest.err
18040 } && test -s conftest.$ac_objext; then
18041 bakefile_cv_cxx_compiler___HP_aCC=yes
18042 else
18043 echo "$as_me: failed program was:" >&5
18044 sed 's/^/| /' conftest.$ac_ext >&5
18045
18046 bakefile_cv_cxx_compiler___HP_aCC=no
18047
18048 fi
18049
18050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18051
18052
18053 fi
18054 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18055 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18056 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18057 :; HPCXX=yes
18058 else
18059 :;
18060 fi
18061 ac_ext=c
18062 ac_cpp='$CPP $CPPFLAGS'
18063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18066
18067
18068
18069 ;;
18070
18071 OSF1)
18072
18073
18074 ac_ext=cpp
18075 ac_cpp='$CXXCPP $CPPFLAGS'
18076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18079
18080 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18081 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18082 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18083 echo $ECHO_N "(cached) $ECHO_C" >&6
18084 else
18085 cat >conftest.$ac_ext <<_ACEOF
18086 /* confdefs.h. */
18087 _ACEOF
18088 cat confdefs.h >>conftest.$ac_ext
18089 cat >>conftest.$ac_ext <<_ACEOF
18090 /* end confdefs.h. */
18091
18092 int
18093 main ()
18094 {
18095
18096 #ifndef __DECCXX
18097 choke me
18098 #endif
18099
18100 ;
18101 return 0;
18102 }
18103 _ACEOF
18104 rm -f conftest.$ac_objext
18105 if { (ac_try="$ac_compile"
18106 case "(($ac_try" in
18107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18108 *) ac_try_echo=$ac_try;;
18109 esac
18110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18111 (eval "$ac_compile") 2>conftest.er1
18112 ac_status=$?
18113 grep -v '^ *+' conftest.er1 >conftest.err
18114 rm -f conftest.er1
18115 cat conftest.err >&5
18116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18117 (exit $ac_status); } && {
18118 test -z "$ac_cxx_werror_flag" ||
18119 test ! -s conftest.err
18120 } && test -s conftest.$ac_objext; then
18121 bakefile_cv_cxx_compiler___DECCXX=yes
18122 else
18123 echo "$as_me: failed program was:" >&5
18124 sed 's/^/| /' conftest.$ac_ext >&5
18125
18126 bakefile_cv_cxx_compiler___DECCXX=no
18127
18128 fi
18129
18130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18131
18132
18133 fi
18134 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18135 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18136 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18137 :; COMPAQCXX=yes
18138 else
18139 :;
18140 fi
18141 ac_ext=c
18142 ac_cpp='$CPP $CPPFLAGS'
18143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18146
18147
18148
18149 ;;
18150
18151 SunOS)
18152
18153
18154 ac_ext=cpp
18155 ac_cpp='$CXXCPP $CPPFLAGS'
18156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18159
18160 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18161 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18162 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18163 echo $ECHO_N "(cached) $ECHO_C" >&6
18164 else
18165 cat >conftest.$ac_ext <<_ACEOF
18166 /* confdefs.h. */
18167 _ACEOF
18168 cat confdefs.h >>conftest.$ac_ext
18169 cat >>conftest.$ac_ext <<_ACEOF
18170 /* end confdefs.h. */
18171
18172 int
18173 main ()
18174 {
18175
18176 #ifndef __SUNPRO_CC
18177 choke me
18178 #endif
18179
18180 ;
18181 return 0;
18182 }
18183 _ACEOF
18184 rm -f conftest.$ac_objext
18185 if { (ac_try="$ac_compile"
18186 case "(($ac_try" in
18187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18188 *) ac_try_echo=$ac_try;;
18189 esac
18190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18191 (eval "$ac_compile") 2>conftest.er1
18192 ac_status=$?
18193 grep -v '^ *+' conftest.er1 >conftest.err
18194 rm -f conftest.er1
18195 cat conftest.err >&5
18196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18197 (exit $ac_status); } && {
18198 test -z "$ac_cxx_werror_flag" ||
18199 test ! -s conftest.err
18200 } && test -s conftest.$ac_objext; then
18201 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18202 else
18203 echo "$as_me: failed program was:" >&5
18204 sed 's/^/| /' conftest.$ac_ext >&5
18205
18206 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18207
18208 fi
18209
18210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18211
18212
18213 fi
18214 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18215 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18216 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18217 :; SUNCXX=yes
18218 else
18219 :;
18220 fi
18221 ac_ext=c
18222 ac_cpp='$CPP $CPPFLAGS'
18223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18226
18227
18228
18229 ;;
18230 esac
18231 fi
18232
18233
18234
18235 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18236 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18237 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18238 { (exit 1); exit 1; }; }
18239 fi
18240
18241 if test "x$SUNCXX" != xyes; then
18242 if test -n "$ac_tool_prefix"; then
18243 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18244 set dummy ${ac_tool_prefix}ar; ac_word=$2
18245 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18247 if test "${ac_cv_prog_AR+set}" = set; then
18248 echo $ECHO_N "(cached) $ECHO_C" >&6
18249 else
18250 if test -n "$AR"; then
18251 ac_cv_prog_AR="$AR" # Let the user override the test.
18252 else
18253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18254 for as_dir in $PATH
18255 do
18256 IFS=$as_save_IFS
18257 test -z "$as_dir" && as_dir=.
18258 for ac_exec_ext in '' $ac_executable_extensions; do
18259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18260 ac_cv_prog_AR="${ac_tool_prefix}ar"
18261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18262 break 2
18263 fi
18264 done
18265 done
18266 IFS=$as_save_IFS
18267
18268 fi
18269 fi
18270 AR=$ac_cv_prog_AR
18271 if test -n "$AR"; then
18272 { echo "$as_me:$LINENO: result: $AR" >&5
18273 echo "${ECHO_T}$AR" >&6; }
18274 else
18275 { echo "$as_me:$LINENO: result: no" >&5
18276 echo "${ECHO_T}no" >&6; }
18277 fi
18278
18279
18280 fi
18281 if test -z "$ac_cv_prog_AR"; then
18282 ac_ct_AR=$AR
18283 # Extract the first word of "ar", so it can be a program name with args.
18284 set dummy ar; ac_word=$2
18285 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18287 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18288 echo $ECHO_N "(cached) $ECHO_C" >&6
18289 else
18290 if test -n "$ac_ct_AR"; then
18291 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18292 else
18293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18294 for as_dir in $PATH
18295 do
18296 IFS=$as_save_IFS
18297 test -z "$as_dir" && as_dir=.
18298 for ac_exec_ext in '' $ac_executable_extensions; do
18299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18300 ac_cv_prog_ac_ct_AR="ar"
18301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18302 break 2
18303 fi
18304 done
18305 done
18306 IFS=$as_save_IFS
18307
18308 fi
18309 fi
18310 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18311 if test -n "$ac_ct_AR"; then
18312 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18313 echo "${ECHO_T}$ac_ct_AR" >&6; }
18314 else
18315 { echo "$as_me:$LINENO: result: no" >&5
18316 echo "${ECHO_T}no" >&6; }
18317 fi
18318
18319 if test "x$ac_ct_AR" = x; then
18320 AR=""
18321 else
18322 case $cross_compiling:$ac_tool_warned in
18323 yes:)
18324 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18325 whose name does not start with the host triplet. If you think this
18326 configuration is useful to you, please write to autoconf@gnu.org." >&5
18327 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18328 whose name does not start with the host triplet. If you think this
18329 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18330 ac_tool_warned=yes ;;
18331 esac
18332 AR=$ac_ct_AR
18333 fi
18334 else
18335 AR="$ac_cv_prog_AR"
18336 fi
18337
18338 if test "x$AR" = "x" ; then
18339 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18340 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18341 { (exit 1); exit 1; }; }
18342 fi
18343 fi
18344
18345
18346 if test "$wxUSE_MAC" = 1; then
18347
18348 retest_macosx_linking=no
18349
18350 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18351 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18352 # Implicitly turn on the new --with-macosx-sdk using the default
18353 # SDK which provides the behavior this option has always had.
18354 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18355 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18356 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18357 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18358 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18359 wxUSE_MACOSX_SDK=yes
18360 fi
18361 else
18362 # Complain to user if he specified an argument to --enable-universal_binary
18363 # and also 1) specified --with-macosx-sdk using the default (yes) or
18364 # 2) specified --with-macosx-sdk using a path or 3) specified
18365 # --without-macosx-sdk (no).
18366 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18367 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18368 See \`config.log' for more details." >&5
18369 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18370 See \`config.log' for more details." >&2;}
18371 { (exit 1); exit 1; }; }
18372 else
18373 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18374 # special-case the empty string because the below test simply
18375 # converts "no" to the empty string anyway.
18376 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18377 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18378 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18379 fi
18380 fi
18381 OSX_UNIV_OPTS="-arch ppc -arch i386"
18382 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18383 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18384 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18385 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18386 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18387 retest_macosx_linking=yes
18388
18389 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18390 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18391 bk_use_pch=no
18392 fi
18393
18394 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18395 wxUSE_MACOSX_SDK=
18396 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18397 # TODO: Search for most recent SDK and use it.
18398 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18399 fi
18400
18401
18402 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18403 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18404 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18405 if ! test -d "$wxUSE_MACOSX_SDK"; then
18406 { { echo "$as_me:$LINENO: error: not found
18407 See \`config.log' for more details." >&5
18408 echo "$as_me: error: not found
18409 See \`config.log' for more details." >&2;}
18410 { (exit 1); exit 1; }; }
18411 else
18412 { echo "$as_me:$LINENO: result: exists" >&5
18413 echo "${ECHO_T}exists" >&6; }
18414 fi
18415 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18416 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18417 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18418 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18419 retest_macosx_linking=yes
18420 fi
18421
18422 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18423 wxUSE_MACOSX_VERSION_MIN=
18424 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18425 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18426 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18427 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18428
18429 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/'`
18430
18431 # If that failed, try again with the new key
18432 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18433
18434 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/'`
18435
18436 fi
18437
18438 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18439 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18440 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18441 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18442 else
18443 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18444 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18445 wxUSE_MACOSX_VERSION_MIN=
18446 fi
18447 else
18448 wxUSE_MACOSX_VERSION_MIN=
18449 fi
18450 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18451 for ac_prog in sw_vers
18452 do
18453 # Extract the first word of "$ac_prog", so it can be a program name with args.
18454 set dummy $ac_prog; ac_word=$2
18455 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18457 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
18458 echo $ECHO_N "(cached) $ECHO_C" >&6
18459 else
18460 if test -n "$OSX_SW_VERS"; then
18461 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
18462 else
18463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18464 for as_dir in $PATH
18465 do
18466 IFS=$as_save_IFS
18467 test -z "$as_dir" && as_dir=.
18468 for ac_exec_ext in '' $ac_executable_extensions; do
18469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18470 ac_cv_prog_OSX_SW_VERS="$ac_prog"
18471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18472 break 2
18473 fi
18474 done
18475 done
18476 IFS=$as_save_IFS
18477
18478 fi
18479 fi
18480 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
18481 if test -n "$OSX_SW_VERS"; then
18482 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
18483 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
18484 else
18485 { echo "$as_me:$LINENO: result: no" >&5
18486 echo "${ECHO_T}no" >&6; }
18487 fi
18488
18489
18490 test -n "$OSX_SW_VERS" && break
18491 done
18492
18493 if test "$OSX_SW_VERS" != ""; then
18494 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18495 else
18496 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
18497 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
18498 OSX_VERSION="10.4"
18499 fi
18500 if test "$wxUSE_OSX_CARBON" = 1 -o "x$OSX_VERSION" = "x10.4"; then
18501 # otherwise configure stops on leopard for universal_binary
18502 wxUSE_MACOSX_VERSION_MIN=10.4
18503 else
18504 # for OS X Cocoa, use 10.5 so we can get 64-bit compile on Snow Leopard
18505 wxUSE_MACOSX_VERSION_MIN=10.5
18506 fi
18507 fi
18508
18509 NEEDS_GCC40="no"
18510 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18511 NEEDS_GCC40="yes"
18512 fi
18513
18514 if test "$wxUSE_OSX_CARBON" = 1; then
18515 NEEDS_GCC40="yes"
18516 fi
18517
18518 if test "x$NEEDS_GCC40" == "xyes"; then
18519 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18520 # and wants 10.4 compatible code, then 'downgrade' to 4.0
18521 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18522 if test "x$CC" = "xgcc"; then
18523 CCVERSION=`$CC --version | grep 4.[2-9].`
18524 if test "x$CCVERSION" != "x"; then
18525 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18526 CC="/usr/bin/gcc-4.0"
18527 fi
18528 fi
18529
18530 if test "x$CXX" = "xg++"; then
18531 CCVERSION=`$CXX --version | grep 4.[2-9].`
18532 if test "x$CCVERSION" != "x"; then
18533 CXX="/usr/bin/g++-4.0"
18534 fi
18535 fi
18536 fi
18537
18538 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18539 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18540 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18541 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18542 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18543 retest_macosx_linking=yes
18544 fi
18545
18546 if test "x$retest_macosx_linking" = "xyes"; then
18547 ac_ext=c
18548 ac_cpp='$CPP $CPPFLAGS'
18549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18552
18553 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18554 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18555 cat >conftest.$ac_ext <<_ACEOF
18556 /* confdefs.h. */
18557 _ACEOF
18558 cat confdefs.h >>conftest.$ac_ext
18559 cat >>conftest.$ac_ext <<_ACEOF
18560 /* end confdefs.h. */
18561
18562 int
18563 main ()
18564 {
18565
18566 ;
18567 return 0;
18568 }
18569 _ACEOF
18570 rm -f conftest.$ac_objext conftest$ac_exeext
18571 if { (ac_try="$ac_link"
18572 case "(($ac_try" in
18573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18574 *) ac_try_echo=$ac_try;;
18575 esac
18576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18577 (eval "$ac_link") 2>conftest.er1
18578 ac_status=$?
18579 grep -v '^ *+' conftest.er1 >conftest.err
18580 rm -f conftest.er1
18581 cat conftest.err >&5
18582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18583 (exit $ac_status); } && {
18584 test -z "$ac_c_werror_flag" ||
18585 test ! -s conftest.err
18586 } && test -s conftest$ac_exeext &&
18587 $as_test_x conftest$ac_exeext; then
18588 { echo "$as_me:$LINENO: result: yes" >&5
18589 echo "${ECHO_T}yes" >&6; }
18590 else
18591 echo "$as_me: failed program was:" >&5
18592 sed 's/^/| /' conftest.$ac_ext >&5
18593
18594 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18595 See \`config.log' for more details." >&5
18596 echo "$as_me: error: no. Try a different SDK
18597 See \`config.log' for more details." >&2;}
18598 { (exit 1); exit 1; }; }; exit 1
18599 fi
18600
18601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18602 conftest$ac_exeext conftest.$ac_ext
18603 ac_ext=c
18604 ac_cpp='$CPP $CPPFLAGS'
18605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18608
18609
18610 ac_ext=cpp
18611 ac_cpp='$CXXCPP $CPPFLAGS'
18612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18615
18616 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18617 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18618 cat >conftest.$ac_ext <<_ACEOF
18619 /* confdefs.h. */
18620 _ACEOF
18621 cat confdefs.h >>conftest.$ac_ext
18622 cat >>conftest.$ac_ext <<_ACEOF
18623 /* end confdefs.h. */
18624
18625 int
18626 main ()
18627 {
18628
18629 ;
18630 return 0;
18631 }
18632 _ACEOF
18633 rm -f conftest.$ac_objext conftest$ac_exeext
18634 if { (ac_try="$ac_link"
18635 case "(($ac_try" in
18636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18637 *) ac_try_echo=$ac_try;;
18638 esac
18639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18640 (eval "$ac_link") 2>conftest.er1
18641 ac_status=$?
18642 grep -v '^ *+' conftest.er1 >conftest.err
18643 rm -f conftest.er1
18644 cat conftest.err >&5
18645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18646 (exit $ac_status); } && {
18647 test -z "$ac_cxx_werror_flag" ||
18648 test ! -s conftest.err
18649 } && test -s conftest$ac_exeext &&
18650 $as_test_x conftest$ac_exeext; then
18651 { echo "$as_me:$LINENO: result: yes" >&5
18652 echo "${ECHO_T}yes" >&6; }
18653 else
18654 echo "$as_me: failed program was:" >&5
18655 sed 's/^/| /' conftest.$ac_ext >&5
18656
18657 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18658 See \`config.log' for more details." >&5
18659 echo "$as_me: error: no. Try a different SDK
18660 See \`config.log' for more details." >&2;}
18661 { (exit 1); exit 1; }; }; exit 1
18662 fi
18663
18664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18665 conftest$ac_exeext conftest.$ac_ext
18666 ac_ext=c
18667 ac_cpp='$CPP $CPPFLAGS'
18668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18671
18672 fi
18673
18674 fi
18675 case "${host}" in
18676
18677 *-*-darwin* )
18678 INSTALL_PROGRAM="cp -fp"
18679 INSTALL_DATA="cp -fp"
18680 ;;
18681 *)
18682 ;;
18683 esac
18684
18685
18686 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18687 CXXFLAGS="-qunique $CXXFLAGS"
18688 fi
18689
18690 case "${host}" in
18691 powerpc-*-darwin* )
18692 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18693 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18694 cat >conftest.$ac_ext <<_ACEOF
18695 /* confdefs.h. */
18696 _ACEOF
18697 cat confdefs.h >>conftest.$ac_ext
18698 cat >>conftest.$ac_ext <<_ACEOF
18699 /* end confdefs.h. */
18700
18701 int
18702 main ()
18703 {
18704 #ifndef __POWERPC__
18705 choke me for lack of PowerPC
18706 #endif
18707
18708 ;
18709 return 0;
18710 }
18711 _ACEOF
18712 rm -f conftest.$ac_objext
18713 if { (ac_try="$ac_compile"
18714 case "(($ac_try" in
18715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18716 *) ac_try_echo=$ac_try;;
18717 esac
18718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18719 (eval "$ac_compile") 2>conftest.er1
18720 ac_status=$?
18721 grep -v '^ *+' conftest.er1 >conftest.err
18722 rm -f conftest.er1
18723 cat conftest.err >&5
18724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18725 (exit $ac_status); } && {
18726 test -z "$ac_c_werror_flag" ||
18727 test ! -s conftest.err
18728 } && test -s conftest.$ac_objext; then
18729 { echo "$as_me:$LINENO: result: yes" >&5
18730 echo "${ECHO_T}yes" >&6; }
18731 else
18732 echo "$as_me: failed program was:" >&5
18733 sed 's/^/| /' conftest.$ac_ext >&5
18734
18735 { echo "$as_me:$LINENO: result: no" >&5
18736 echo "${ECHO_T}no" >&6; }
18737 cat >>confdefs.h <<\_ACEOF
18738 #define __POWERPC__ 1
18739 _ACEOF
18740
18741
18742 fi
18743
18744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18745 ;;
18746 esac
18747
18748 case "${host}" in
18749 *-*-darwin* )
18750 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18751 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18752 cat >conftest.$ac_ext <<_ACEOF
18753 /* confdefs.h. */
18754 _ACEOF
18755 cat confdefs.h >>conftest.$ac_ext
18756 cat >>conftest.$ac_ext <<_ACEOF
18757 /* end confdefs.h. */
18758 #include <CoreFoundation/CFBase.h>
18759
18760 int
18761 main ()
18762 {
18763
18764 ;
18765 return 0;
18766 }
18767 _ACEOF
18768 rm -f conftest.$ac_objext
18769 if { (ac_try="$ac_compile"
18770 case "(($ac_try" in
18771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18772 *) ac_try_echo=$ac_try;;
18773 esac
18774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18775 (eval "$ac_compile") 2>conftest.er1
18776 ac_status=$?
18777 grep -v '^ *+' conftest.er1 >conftest.err
18778 rm -f conftest.er1
18779 cat conftest.err >&5
18780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18781 (exit $ac_status); } && {
18782 test -z "$ac_c_werror_flag" ||
18783 test ! -s conftest.err
18784 } && test -s conftest.$ac_objext; then
18785 { echo "$as_me:$LINENO: result: yes" >&5
18786 echo "${ECHO_T}yes" >&6; }
18787 else
18788 echo "$as_me: failed program was:" >&5
18789 sed 's/^/| /' conftest.$ac_ext >&5
18790
18791 { echo "$as_me:$LINENO: result: no" >&5
18792 echo "${ECHO_T}no" >&6; }
18793 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18794 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18795 cat >conftest.$ac_ext <<_ACEOF
18796 /* confdefs.h. */
18797 _ACEOF
18798 cat confdefs.h >>conftest.$ac_ext
18799 cat >>conftest.$ac_ext <<_ACEOF
18800 /* end confdefs.h. */
18801 #define __CF_USE_FRAMEWORK_INCLUDES__
18802 #include <CoreFoundation/CFBase.h>
18803
18804 int
18805 main ()
18806 {
18807
18808 ;
18809 return 0;
18810 }
18811 _ACEOF
18812 rm -f conftest.$ac_objext
18813 if { (ac_try="$ac_compile"
18814 case "(($ac_try" in
18815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18816 *) ac_try_echo=$ac_try;;
18817 esac
18818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18819 (eval "$ac_compile") 2>conftest.er1
18820 ac_status=$?
18821 grep -v '^ *+' conftest.er1 >conftest.err
18822 rm -f conftest.er1
18823 cat conftest.err >&5
18824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18825 (exit $ac_status); } && {
18826 test -z "$ac_c_werror_flag" ||
18827 test ! -s conftest.err
18828 } && test -s conftest.$ac_objext; then
18829 { echo "$as_me:$LINENO: result: yes" >&5
18830 echo "${ECHO_T}yes" >&6; }
18831 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18832 else
18833 echo "$as_me: failed program was:" >&5
18834 sed 's/^/| /' conftest.$ac_ext >&5
18835
18836 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18837 See \`config.log' for more details." >&5
18838 echo "$as_me: error: no. CoreFoundation not available.
18839 See \`config.log' for more details." >&2;}
18840 { (exit 1); exit 1; }; }
18841
18842 fi
18843
18844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18845
18846
18847 fi
18848
18849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18850 ;;
18851 esac
18852
18853 wants_win32=0
18854 doesnt_want_win32=0
18855 case "${host}" in
18856 *-*-cygwin*)
18857 if test "$wxUSE_MSW" = 1 ; then
18858 wants_win32=1
18859 else
18860 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18861 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18862 if test "${wx_cv_nocygwin+set}" = set; then
18863 echo $ECHO_N "(cached) $ECHO_C" >&6
18864 else
18865
18866 cat >conftest.$ac_ext <<_ACEOF
18867 /* confdefs.h. */
18868 _ACEOF
18869 cat confdefs.h >>conftest.$ac_ext
18870 cat >>conftest.$ac_ext <<_ACEOF
18871 /* end confdefs.h. */
18872
18873 int
18874 main ()
18875 {
18876
18877 #ifdef __MINGW32__
18878 choke me
18879 #endif
18880
18881 ;
18882 return 0;
18883 }
18884 _ACEOF
18885 rm -f conftest.$ac_objext
18886 if { (ac_try="$ac_compile"
18887 case "(($ac_try" in
18888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18889 *) ac_try_echo=$ac_try;;
18890 esac
18891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18892 (eval "$ac_compile") 2>conftest.er1
18893 ac_status=$?
18894 grep -v '^ *+' conftest.er1 >conftest.err
18895 rm -f conftest.er1
18896 cat conftest.err >&5
18897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18898 (exit $ac_status); } && {
18899 test -z "$ac_c_werror_flag" ||
18900 test ! -s conftest.err
18901 } && test -s conftest.$ac_objext; then
18902 wx_cv_nocygwin=no
18903 else
18904 echo "$as_me: failed program was:" >&5
18905 sed 's/^/| /' conftest.$ac_ext >&5
18906
18907 wx_cv_nocygwin=yes
18908
18909 fi
18910
18911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18912
18913
18914 fi
18915 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18916 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18917
18918 if test "$wx_cv_nocygwin" = "yes"; then
18919 wants_win32=1
18920 else
18921 doesnt_want_win32=1
18922 fi
18923 fi
18924 if test "$wants_win32" = 1 ; then
18925 BAKEFILE_FORCE_PLATFORM=win32
18926 fi
18927 ;;
18928 *-*-mingw*)
18929 wants_win32=1
18930 ;;
18931 esac
18932
18933 if test "$wxUSE_WINE" = "yes"; then
18934 wants_win32=1
18935 LDFLAGS_GUI="-mwindows"
18936 fi
18937
18938 if test "$wants_win32" = 1 ; then
18939 USE_UNIX=0
18940 USE_WIN32=1
18941 cat >>confdefs.h <<\_ACEOF
18942 #define __WIN32__ 1
18943 _ACEOF
18944
18945 cat >>confdefs.h <<\_ACEOF
18946 #define __WIN95__ 1
18947 _ACEOF
18948
18949 cat >>confdefs.h <<\_ACEOF
18950 #define __WINDOWS__ 1
18951 _ACEOF
18952
18953 cat >>confdefs.h <<\_ACEOF
18954 #define __GNUWIN32__ 1
18955 _ACEOF
18956
18957 cat >>confdefs.h <<\_ACEOF
18958 #define STRICT 1
18959 _ACEOF
18960
18961 fi
18962 if test "$doesnt_want_win32" = 1 ; then
18963 USE_UNIX=1
18964 USE_WIN32=0
18965 fi
18966
18967 if test "$USE_UNIX" = 1 ; then
18968 wxUSE_UNIX=yes
18969 cat >>confdefs.h <<\_ACEOF
18970 #define __UNIX__ 1
18971 _ACEOF
18972
18973 fi
18974
18975 case "${host}" in
18976 *-pc-os2_emx | *-pc-os2-emx )
18977 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18978 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18979 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18980 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18981 echo $ECHO_N "(cached) $ECHO_C" >&6
18982 else
18983 ac_check_lib_save_LIBS=$LIBS
18984 LIBS="-lcExt $LIBS"
18985 cat >conftest.$ac_ext <<_ACEOF
18986 /* confdefs.h. */
18987 _ACEOF
18988 cat confdefs.h >>conftest.$ac_ext
18989 cat >>conftest.$ac_ext <<_ACEOF
18990 /* end confdefs.h. */
18991
18992 /* Override any GCC internal prototype to avoid an error.
18993 Use char because int might match the return type of a GCC
18994 builtin and then its argument prototype would still apply. */
18995 #ifdef __cplusplus
18996 extern "C"
18997 #endif
18998 char drand48 ();
18999 int
19000 main ()
19001 {
19002 return drand48 ();
19003 ;
19004 return 0;
19005 }
19006 _ACEOF
19007 rm -f conftest.$ac_objext conftest$ac_exeext
19008 if { (ac_try="$ac_link"
19009 case "(($ac_try" in
19010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19011 *) ac_try_echo=$ac_try;;
19012 esac
19013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19014 (eval "$ac_link") 2>conftest.er1
19015 ac_status=$?
19016 grep -v '^ *+' conftest.er1 >conftest.err
19017 rm -f conftest.er1
19018 cat conftest.err >&5
19019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19020 (exit $ac_status); } && {
19021 test -z "$ac_c_werror_flag" ||
19022 test ! -s conftest.err
19023 } && test -s conftest$ac_exeext &&
19024 $as_test_x conftest$ac_exeext; then
19025 ac_cv_lib_cExt_drand48=yes
19026 else
19027 echo "$as_me: failed program was:" >&5
19028 sed 's/^/| /' conftest.$ac_ext >&5
19029
19030 ac_cv_lib_cExt_drand48=no
19031 fi
19032
19033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19034 conftest$ac_exeext conftest.$ac_ext
19035 LIBS=$ac_check_lib_save_LIBS
19036 fi
19037 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19038 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19039 if test $ac_cv_lib_cExt_drand48 = yes; then
19040 LIBS="$LIBS -lcExt"
19041 fi
19042
19043 else
19044 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19045 fi
19046 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19047 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
19048 if test "${wx_cv_gccversion+set}" = set; then
19049 echo $ECHO_N "(cached) $ECHO_C" >&6
19050 else
19051
19052 if test "$cross_compiling" = yes; then
19053 wx_cv_gccversion="EMX2"
19054
19055 else
19056 cat >conftest.$ac_ext <<_ACEOF
19057 /* confdefs.h. */
19058 _ACEOF
19059 cat confdefs.h >>conftest.$ac_ext
19060 cat >>conftest.$ac_ext <<_ACEOF
19061 /* end confdefs.h. */
19062
19063 #include <stdio.h>
19064
19065 int main()
19066 {
19067 FILE *f=fopen("conftestval", "w");
19068 if (!f) exit(1);
19069 fprintf(f,
19070 #if (__GNUC__ < 3)
19071 "EMX2"
19072 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19073 "EMX3"
19074 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19075 "Innotek5"
19076 #else
19077 "Innotek6"
19078 #endif
19079 );
19080 exit(0);
19081 }
19082
19083 _ACEOF
19084 rm -f conftest$ac_exeext
19085 if { (ac_try="$ac_link"
19086 case "(($ac_try" in
19087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19088 *) ac_try_echo=$ac_try;;
19089 esac
19090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19091 (eval "$ac_link") 2>&5
19092 ac_status=$?
19093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19094 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19095 { (case "(($ac_try" in
19096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19097 *) ac_try_echo=$ac_try;;
19098 esac
19099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19100 (eval "$ac_try") 2>&5
19101 ac_status=$?
19102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19103 (exit $ac_status); }; }; then
19104 wx_cv_gccversion=`cat conftestval`
19105 else
19106 echo "$as_me: program exited with status $ac_status" >&5
19107 echo "$as_me: failed program was:" >&5
19108 sed 's/^/| /' conftest.$ac_ext >&5
19109
19110 ( exit $ac_status )
19111 wx_cv_gccversion="EMX2"
19112 fi
19113 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19114 fi
19115
19116
19117
19118 fi
19119 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
19120 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19121 if test "$wx_cv_gccversion" = "EMX2"; then
19122 LIBS="$LIBS -lstdcpp"
19123 LDFLAGS="$LDFLAGS -Zsysv-signals"
19124 else
19125 if test "$wx_cv_gccversion" = "EMX3"; then
19126 LIBS="$LIBS -lstdcxx -lgcc"
19127 LDFLAGS="$LDFLAGS -Zsysv-signals"
19128 else
19129 LIBS="$LIBS -lstdc++"
19130 fi
19131 fi
19132 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19133 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
19134 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19135 wxUSE_OMF=yes
19136 enable_omf=yes
19137 fi
19138 ;;
19139 *)
19140
19141 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
19142 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
19143 if test "${ac_cv_string_strcasecmp+set}" = set; then
19144 echo $ECHO_N "(cached) $ECHO_C" >&6
19145 else
19146
19147 cat >conftest.$ac_ext <<_ACEOF
19148 /* confdefs.h. */
19149 _ACEOF
19150 cat confdefs.h >>conftest.$ac_ext
19151 cat >>conftest.$ac_ext <<_ACEOF
19152 /* end confdefs.h. */
19153
19154 #include <string.h>
19155
19156 int
19157 main ()
19158 {
19159
19160 strcasecmp("foo", "bar");
19161
19162 ;
19163 return 0;
19164 }
19165 _ACEOF
19166 rm -f conftest.$ac_objext conftest$ac_exeext
19167 if { (ac_try="$ac_link"
19168 case "(($ac_try" in
19169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19170 *) ac_try_echo=$ac_try;;
19171 esac
19172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19173 (eval "$ac_link") 2>conftest.er1
19174 ac_status=$?
19175 grep -v '^ *+' conftest.er1 >conftest.err
19176 rm -f conftest.er1
19177 cat conftest.err >&5
19178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19179 (exit $ac_status); } && {
19180 test -z "$ac_c_werror_flag" ||
19181 test ! -s conftest.err
19182 } && test -s conftest$ac_exeext &&
19183 $as_test_x conftest$ac_exeext; then
19184 ac_cv_string_strcasecmp=yes
19185 else
19186 echo "$as_me: failed program was:" >&5
19187 sed 's/^/| /' conftest.$ac_ext >&5
19188
19189 ac_cv_string_strcasecmp=no
19190
19191 fi
19192
19193 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19194 conftest$ac_exeext conftest.$ac_ext
19195
19196 fi
19197 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
19198 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19199
19200 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19201 cat >>confdefs.h <<\_ACEOF
19202 #define HAVE_STRCASECMP_IN_STRING_H 1
19203 _ACEOF
19204
19205 else
19206 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19207 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
19208 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19209 echo $ECHO_N "(cached) $ECHO_C" >&6
19210 else
19211
19212 cat >conftest.$ac_ext <<_ACEOF
19213 /* confdefs.h. */
19214 _ACEOF
19215 cat confdefs.h >>conftest.$ac_ext
19216 cat >>conftest.$ac_ext <<_ACEOF
19217 /* end confdefs.h. */
19218
19219 #include <strings.h>
19220
19221 int
19222 main ()
19223 {
19224
19225 strcasecmp("foo", "bar");
19226
19227 ;
19228 return 0;
19229 }
19230 _ACEOF
19231 rm -f conftest.$ac_objext conftest$ac_exeext
19232 if { (ac_try="$ac_link"
19233 case "(($ac_try" in
19234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19235 *) ac_try_echo=$ac_try;;
19236 esac
19237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19238 (eval "$ac_link") 2>conftest.er1
19239 ac_status=$?
19240 grep -v '^ *+' conftest.er1 >conftest.err
19241 rm -f conftest.er1
19242 cat conftest.err >&5
19243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19244 (exit $ac_status); } && {
19245 test -z "$ac_c_werror_flag" ||
19246 test ! -s conftest.err
19247 } && test -s conftest$ac_exeext &&
19248 $as_test_x conftest$ac_exeext; then
19249 ac_cv_strings_strcasecmp=yes
19250 else
19251 echo "$as_me: failed program was:" >&5
19252 sed 's/^/| /' conftest.$ac_ext >&5
19253
19254 ac_cv_strings_strcasecmp=no
19255
19256 fi
19257
19258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19259 conftest$ac_exeext conftest.$ac_ext
19260
19261 fi
19262 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19263 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19264
19265 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19266 cat >>confdefs.h <<\_ACEOF
19267 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19268 _ACEOF
19269
19270 else
19271 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19272 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19273 { (exit 1); exit 1; }; }
19274 fi
19275 fi
19276
19277 ;;
19278 esac
19279
19280
19281 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19282 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19283 if test "${ac_cv_header_stdc+set}" = set; then
19284 echo $ECHO_N "(cached) $ECHO_C" >&6
19285 else
19286 cat >conftest.$ac_ext <<_ACEOF
19287 /* confdefs.h. */
19288 _ACEOF
19289 cat confdefs.h >>conftest.$ac_ext
19290 cat >>conftest.$ac_ext <<_ACEOF
19291 /* end confdefs.h. */
19292 #include <stdlib.h>
19293 #include <stdarg.h>
19294 #include <string.h>
19295 #include <float.h>
19296
19297 int
19298 main ()
19299 {
19300
19301 ;
19302 return 0;
19303 }
19304 _ACEOF
19305 rm -f conftest.$ac_objext
19306 if { (ac_try="$ac_compile"
19307 case "(($ac_try" in
19308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19309 *) ac_try_echo=$ac_try;;
19310 esac
19311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19312 (eval "$ac_compile") 2>conftest.er1
19313 ac_status=$?
19314 grep -v '^ *+' conftest.er1 >conftest.err
19315 rm -f conftest.er1
19316 cat conftest.err >&5
19317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19318 (exit $ac_status); } && {
19319 test -z "$ac_c_werror_flag" ||
19320 test ! -s conftest.err
19321 } && test -s conftest.$ac_objext; then
19322 ac_cv_header_stdc=yes
19323 else
19324 echo "$as_me: failed program was:" >&5
19325 sed 's/^/| /' conftest.$ac_ext >&5
19326
19327 ac_cv_header_stdc=no
19328 fi
19329
19330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19331
19332 if test $ac_cv_header_stdc = yes; then
19333 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19334 cat >conftest.$ac_ext <<_ACEOF
19335 /* confdefs.h. */
19336 _ACEOF
19337 cat confdefs.h >>conftest.$ac_ext
19338 cat >>conftest.$ac_ext <<_ACEOF
19339 /* end confdefs.h. */
19340 #include <string.h>
19341
19342 _ACEOF
19343 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19344 $EGREP "memchr" >/dev/null 2>&1; then
19345 :
19346 else
19347 ac_cv_header_stdc=no
19348 fi
19349 rm -f conftest*
19350
19351 fi
19352
19353 if test $ac_cv_header_stdc = yes; then
19354 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19355 cat >conftest.$ac_ext <<_ACEOF
19356 /* confdefs.h. */
19357 _ACEOF
19358 cat confdefs.h >>conftest.$ac_ext
19359 cat >>conftest.$ac_ext <<_ACEOF
19360 /* end confdefs.h. */
19361 #include <stdlib.h>
19362
19363 _ACEOF
19364 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19365 $EGREP "free" >/dev/null 2>&1; then
19366 :
19367 else
19368 ac_cv_header_stdc=no
19369 fi
19370 rm -f conftest*
19371
19372 fi
19373
19374 if test $ac_cv_header_stdc = yes; then
19375 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19376 if test "$cross_compiling" = yes; then
19377 :
19378 else
19379 cat >conftest.$ac_ext <<_ACEOF
19380 /* confdefs.h. */
19381 _ACEOF
19382 cat confdefs.h >>conftest.$ac_ext
19383 cat >>conftest.$ac_ext <<_ACEOF
19384 /* end confdefs.h. */
19385 #include <ctype.h>
19386 #include <stdlib.h>
19387 #if ((' ' & 0x0FF) == 0x020)
19388 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19389 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19390 #else
19391 # define ISLOWER(c) \
19392 (('a' <= (c) && (c) <= 'i') \
19393 || ('j' <= (c) && (c) <= 'r') \
19394 || ('s' <= (c) && (c) <= 'z'))
19395 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19396 #endif
19397
19398 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19399 int
19400 main ()
19401 {
19402 int i;
19403 for (i = 0; i < 256; i++)
19404 if (XOR (islower (i), ISLOWER (i))
19405 || toupper (i) != TOUPPER (i))
19406 return 2;
19407 return 0;
19408 }
19409 _ACEOF
19410 rm -f conftest$ac_exeext
19411 if { (ac_try="$ac_link"
19412 case "(($ac_try" in
19413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19414 *) ac_try_echo=$ac_try;;
19415 esac
19416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19417 (eval "$ac_link") 2>&5
19418 ac_status=$?
19419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19420 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19421 { (case "(($ac_try" in
19422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19423 *) ac_try_echo=$ac_try;;
19424 esac
19425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19426 (eval "$ac_try") 2>&5
19427 ac_status=$?
19428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19429 (exit $ac_status); }; }; then
19430 :
19431 else
19432 echo "$as_me: program exited with status $ac_status" >&5
19433 echo "$as_me: failed program was:" >&5
19434 sed 's/^/| /' conftest.$ac_ext >&5
19435
19436 ( exit $ac_status )
19437 ac_cv_header_stdc=no
19438 fi
19439 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19440 fi
19441
19442
19443 fi
19444 fi
19445 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19446 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19447 if test $ac_cv_header_stdc = yes; then
19448
19449 cat >>confdefs.h <<\_ACEOF
19450 #define STDC_HEADERS 1
19451 _ACEOF
19452
19453 fi
19454
19455 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19456
19457
19458
19459
19460
19461
19462
19463
19464
19465 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19466 inttypes.h stdint.h unistd.h
19467 do
19468 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19469 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19471 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19472 echo $ECHO_N "(cached) $ECHO_C" >&6
19473 else
19474 cat >conftest.$ac_ext <<_ACEOF
19475 /* confdefs.h. */
19476 _ACEOF
19477 cat confdefs.h >>conftest.$ac_ext
19478 cat >>conftest.$ac_ext <<_ACEOF
19479 /* end confdefs.h. */
19480 $ac_includes_default
19481
19482 #include <$ac_header>
19483 _ACEOF
19484 rm -f conftest.$ac_objext
19485 if { (ac_try="$ac_compile"
19486 case "(($ac_try" in
19487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19488 *) ac_try_echo=$ac_try;;
19489 esac
19490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19491 (eval "$ac_compile") 2>conftest.er1
19492 ac_status=$?
19493 grep -v '^ *+' conftest.er1 >conftest.err
19494 rm -f conftest.er1
19495 cat conftest.err >&5
19496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19497 (exit $ac_status); } && {
19498 test -z "$ac_c_werror_flag" ||
19499 test ! -s conftest.err
19500 } && test -s conftest.$ac_objext; then
19501 eval "$as_ac_Header=yes"
19502 else
19503 echo "$as_me: failed program was:" >&5
19504 sed 's/^/| /' conftest.$ac_ext >&5
19505
19506 eval "$as_ac_Header=no"
19507 fi
19508
19509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19510 fi
19511 ac_res=`eval echo '${'$as_ac_Header'}'`
19512 { echo "$as_me:$LINENO: result: $ac_res" >&5
19513 echo "${ECHO_T}$ac_res" >&6; }
19514 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19515 cat >>confdefs.h <<_ACEOF
19516 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19517 _ACEOF
19518
19519 fi
19520
19521 done
19522
19523
19524
19525
19526 for ac_header in langinfo.h wchar.h
19527 do
19528 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19529 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19530 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19531 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19532 echo $ECHO_N "(cached) $ECHO_C" >&6
19533 else
19534 cat >conftest.$ac_ext <<_ACEOF
19535 /* confdefs.h. */
19536 _ACEOF
19537 cat confdefs.h >>conftest.$ac_ext
19538 cat >>conftest.$ac_ext <<_ACEOF
19539 /* end confdefs.h. */
19540 $ac_includes_default
19541
19542 #include <$ac_header>
19543 _ACEOF
19544 rm -f conftest.$ac_objext
19545 if { (ac_try="$ac_compile"
19546 case "(($ac_try" in
19547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19548 *) ac_try_echo=$ac_try;;
19549 esac
19550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19551 (eval "$ac_compile") 2>conftest.er1
19552 ac_status=$?
19553 grep -v '^ *+' conftest.er1 >conftest.err
19554 rm -f conftest.er1
19555 cat conftest.err >&5
19556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19557 (exit $ac_status); } && {
19558 test -z "$ac_c_werror_flag" ||
19559 test ! -s conftest.err
19560 } && test -s conftest.$ac_objext; then
19561 eval "$as_ac_Header=yes"
19562 else
19563 echo "$as_me: failed program was:" >&5
19564 sed 's/^/| /' conftest.$ac_ext >&5
19565
19566 eval "$as_ac_Header=no"
19567 fi
19568
19569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19570 fi
19571 ac_res=`eval echo '${'$as_ac_Header'}'`
19572 { echo "$as_me:$LINENO: result: $ac_res" >&5
19573 echo "${ECHO_T}$ac_res" >&6; }
19574 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19575 cat >>confdefs.h <<_ACEOF
19576 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19577 _ACEOF
19578
19579 fi
19580
19581 done
19582
19583
19584 if test "$ac_cv_header_wchar_h" != "yes"; then
19585
19586 for ac_header in wcstr.h
19587 do
19588 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19589 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19590 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19591 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19592 echo $ECHO_N "(cached) $ECHO_C" >&6
19593 else
19594 cat >conftest.$ac_ext <<_ACEOF
19595 /* confdefs.h. */
19596 _ACEOF
19597 cat confdefs.h >>conftest.$ac_ext
19598 cat >>conftest.$ac_ext <<_ACEOF
19599 /* end confdefs.h. */
19600 $ac_includes_default
19601
19602 #include <$ac_header>
19603 _ACEOF
19604 rm -f conftest.$ac_objext
19605 if { (ac_try="$ac_compile"
19606 case "(($ac_try" in
19607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19608 *) ac_try_echo=$ac_try;;
19609 esac
19610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19611 (eval "$ac_compile") 2>conftest.er1
19612 ac_status=$?
19613 grep -v '^ *+' conftest.er1 >conftest.err
19614 rm -f conftest.er1
19615 cat conftest.err >&5
19616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19617 (exit $ac_status); } && {
19618 test -z "$ac_c_werror_flag" ||
19619 test ! -s conftest.err
19620 } && test -s conftest.$ac_objext; then
19621 eval "$as_ac_Header=yes"
19622 else
19623 echo "$as_me: failed program was:" >&5
19624 sed 's/^/| /' conftest.$ac_ext >&5
19625
19626 eval "$as_ac_Header=no"
19627 fi
19628
19629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19630 fi
19631 ac_res=`eval echo '${'$as_ac_Header'}'`
19632 { echo "$as_me:$LINENO: result: $ac_res" >&5
19633 echo "${ECHO_T}$ac_res" >&6; }
19634 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19635 cat >>confdefs.h <<_ACEOF
19636 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19637 _ACEOF
19638
19639 fi
19640
19641 done
19642
19643 fi
19644
19645 case "${host}" in
19646 *-pc-os2_emx | *-pc-os2-emx )
19647 if test $ac_cv_header_langinfo_h = "yes" \
19648 -a \( "$wx_cv_gccversion" = "EMX2" \
19649 -o "$wx_cv_gccversion" = "EMX3" \
19650 -o "$wx_cv_gccversion" = "Innotek5" \); then
19651 LIBS="$LIBS -lintl"
19652 fi
19653 ;;
19654 esac
19655
19656 if test "$USE_UNIX" = 1 ; then
19657
19658 for ac_header in sys/select.h
19659 do
19660 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19661 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19662 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19663 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19664 echo $ECHO_N "(cached) $ECHO_C" >&6
19665 else
19666 cat >conftest.$ac_ext <<_ACEOF
19667 /* confdefs.h. */
19668 _ACEOF
19669 cat confdefs.h >>conftest.$ac_ext
19670 cat >>conftest.$ac_ext <<_ACEOF
19671 /* end confdefs.h. */
19672 $ac_includes_default
19673
19674 #include <$ac_header>
19675 _ACEOF
19676 rm -f conftest.$ac_objext
19677 if { (ac_try="$ac_compile"
19678 case "(($ac_try" in
19679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19680 *) ac_try_echo=$ac_try;;
19681 esac
19682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19683 (eval "$ac_compile") 2>conftest.er1
19684 ac_status=$?
19685 grep -v '^ *+' conftest.er1 >conftest.err
19686 rm -f conftest.er1
19687 cat conftest.err >&5
19688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19689 (exit $ac_status); } && {
19690 test -z "$ac_c_werror_flag" ||
19691 test ! -s conftest.err
19692 } && test -s conftest.$ac_objext; then
19693 eval "$as_ac_Header=yes"
19694 else
19695 echo "$as_me: failed program was:" >&5
19696 sed 's/^/| /' conftest.$ac_ext >&5
19697
19698 eval "$as_ac_Header=no"
19699 fi
19700
19701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19702 fi
19703 ac_res=`eval echo '${'$as_ac_Header'}'`
19704 { echo "$as_me:$LINENO: result: $ac_res" >&5
19705 echo "${ECHO_T}$ac_res" >&6; }
19706 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19707 cat >>confdefs.h <<_ACEOF
19708 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19709 _ACEOF
19710
19711 fi
19712
19713 done
19714
19715 fi
19716
19717
19718 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19719 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19720 if test "${ac_cv_c_const+set}" = set; then
19721 echo $ECHO_N "(cached) $ECHO_C" >&6
19722 else
19723 cat >conftest.$ac_ext <<_ACEOF
19724 /* confdefs.h. */
19725 _ACEOF
19726 cat confdefs.h >>conftest.$ac_ext
19727 cat >>conftest.$ac_ext <<_ACEOF
19728 /* end confdefs.h. */
19729
19730 int
19731 main ()
19732 {
19733 /* FIXME: Include the comments suggested by Paul. */
19734 #ifndef __cplusplus
19735 /* Ultrix mips cc rejects this. */
19736 typedef int charset[2];
19737 const charset cs;
19738 /* SunOS 4.1.1 cc rejects this. */
19739 char const *const *pcpcc;
19740 char **ppc;
19741 /* NEC SVR4.0.2 mips cc rejects this. */
19742 struct point {int x, y;};
19743 static struct point const zero = {0,0};
19744 /* AIX XL C 1.02.0.0 rejects this.
19745 It does not let you subtract one const X* pointer from another in
19746 an arm of an if-expression whose if-part is not a constant
19747 expression */
19748 const char *g = "string";
19749 pcpcc = &g + (g ? g-g : 0);
19750 /* HPUX 7.0 cc rejects these. */
19751 ++pcpcc;
19752 ppc = (char**) pcpcc;
19753 pcpcc = (char const *const *) ppc;
19754 { /* SCO 3.2v4 cc rejects this. */
19755 char *t;
19756 char const *s = 0 ? (char *) 0 : (char const *) 0;
19757
19758 *t++ = 0;
19759 if (s) return 0;
19760 }
19761 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19762 int x[] = {25, 17};
19763 const int *foo = &x[0];
19764 ++foo;
19765 }
19766 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19767 typedef const int *iptr;
19768 iptr p = 0;
19769 ++p;
19770 }
19771 { /* AIX XL C 1.02.0.0 rejects this saying
19772 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19773 struct s { int j; const int *ap[3]; };
19774 struct s *b; b->j = 5;
19775 }
19776 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19777 const int foo = 10;
19778 if (!foo) return 0;
19779 }
19780 return !cs[0] && !zero.x;
19781 #endif
19782
19783 ;
19784 return 0;
19785 }
19786 _ACEOF
19787 rm -f conftest.$ac_objext
19788 if { (ac_try="$ac_compile"
19789 case "(($ac_try" in
19790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19791 *) ac_try_echo=$ac_try;;
19792 esac
19793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19794 (eval "$ac_compile") 2>conftest.er1
19795 ac_status=$?
19796 grep -v '^ *+' conftest.er1 >conftest.err
19797 rm -f conftest.er1
19798 cat conftest.err >&5
19799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19800 (exit $ac_status); } && {
19801 test -z "$ac_c_werror_flag" ||
19802 test ! -s conftest.err
19803 } && test -s conftest.$ac_objext; then
19804 ac_cv_c_const=yes
19805 else
19806 echo "$as_me: failed program was:" >&5
19807 sed 's/^/| /' conftest.$ac_ext >&5
19808
19809 ac_cv_c_const=no
19810 fi
19811
19812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19813 fi
19814 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19815 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19816 if test $ac_cv_c_const = no; then
19817
19818 cat >>confdefs.h <<\_ACEOF
19819 #define const
19820 _ACEOF
19821
19822 fi
19823
19824 { echo "$as_me:$LINENO: checking for inline" >&5
19825 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19826 if test "${ac_cv_c_inline+set}" = set; then
19827 echo $ECHO_N "(cached) $ECHO_C" >&6
19828 else
19829 ac_cv_c_inline=no
19830 for ac_kw in inline __inline__ __inline; do
19831 cat >conftest.$ac_ext <<_ACEOF
19832 /* confdefs.h. */
19833 _ACEOF
19834 cat confdefs.h >>conftest.$ac_ext
19835 cat >>conftest.$ac_ext <<_ACEOF
19836 /* end confdefs.h. */
19837 #ifndef __cplusplus
19838 typedef int foo_t;
19839 static $ac_kw foo_t static_foo () {return 0; }
19840 $ac_kw foo_t foo () {return 0; }
19841 #endif
19842
19843 _ACEOF
19844 rm -f conftest.$ac_objext
19845 if { (ac_try="$ac_compile"
19846 case "(($ac_try" in
19847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19848 *) ac_try_echo=$ac_try;;
19849 esac
19850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19851 (eval "$ac_compile") 2>conftest.er1
19852 ac_status=$?
19853 grep -v '^ *+' conftest.er1 >conftest.err
19854 rm -f conftest.er1
19855 cat conftest.err >&5
19856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19857 (exit $ac_status); } && {
19858 test -z "$ac_c_werror_flag" ||
19859 test ! -s conftest.err
19860 } && test -s conftest.$ac_objext; then
19861 ac_cv_c_inline=$ac_kw
19862 else
19863 echo "$as_me: failed program was:" >&5
19864 sed 's/^/| /' conftest.$ac_ext >&5
19865
19866
19867 fi
19868
19869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19870 test "$ac_cv_c_inline" != no && break
19871 done
19872
19873 fi
19874 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19875 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19876
19877
19878 case $ac_cv_c_inline in
19879 inline | yes) ;;
19880 *)
19881 case $ac_cv_c_inline in
19882 no) ac_val=;;
19883 *) ac_val=$ac_cv_c_inline;;
19884 esac
19885 cat >>confdefs.h <<_ACEOF
19886 #ifndef __cplusplus
19887 #define inline $ac_val
19888 #endif
19889 _ACEOF
19890 ;;
19891 esac
19892
19893
19894 { echo "$as_me:$LINENO: checking for short" >&5
19895 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19896 if test "${ac_cv_type_short+set}" = set; then
19897 echo $ECHO_N "(cached) $ECHO_C" >&6
19898 else
19899 cat >conftest.$ac_ext <<_ACEOF
19900 /* confdefs.h. */
19901 _ACEOF
19902 cat confdefs.h >>conftest.$ac_ext
19903 cat >>conftest.$ac_ext <<_ACEOF
19904 /* end confdefs.h. */
19905 $ac_includes_default
19906 typedef short ac__type_new_;
19907 int
19908 main ()
19909 {
19910 if ((ac__type_new_ *) 0)
19911 return 0;
19912 if (sizeof (ac__type_new_))
19913 return 0;
19914 ;
19915 return 0;
19916 }
19917 _ACEOF
19918 rm -f conftest.$ac_objext
19919 if { (ac_try="$ac_compile"
19920 case "(($ac_try" in
19921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19922 *) ac_try_echo=$ac_try;;
19923 esac
19924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19925 (eval "$ac_compile") 2>conftest.er1
19926 ac_status=$?
19927 grep -v '^ *+' conftest.er1 >conftest.err
19928 rm -f conftest.er1
19929 cat conftest.err >&5
19930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19931 (exit $ac_status); } && {
19932 test -z "$ac_c_werror_flag" ||
19933 test ! -s conftest.err
19934 } && test -s conftest.$ac_objext; then
19935 ac_cv_type_short=yes
19936 else
19937 echo "$as_me: failed program was:" >&5
19938 sed 's/^/| /' conftest.$ac_ext >&5
19939
19940 ac_cv_type_short=no
19941 fi
19942
19943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19944 fi
19945 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19946 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19947
19948 # The cast to long int works around a bug in the HP C Compiler
19949 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19950 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19951 # This bug is HP SR number 8606223364.
19952 { echo "$as_me:$LINENO: checking size of short" >&5
19953 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19954 if test "${ac_cv_sizeof_short+set}" = set; then
19955 echo $ECHO_N "(cached) $ECHO_C" >&6
19956 else
19957 if test "$cross_compiling" = yes; then
19958 # Depending upon the size, compute the lo and hi bounds.
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 $ac_includes_default
19966 typedef short ac__type_sizeof_;
19967 int
19968 main ()
19969 {
19970 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19971 test_array [0] = 0
19972
19973 ;
19974 return 0;
19975 }
19976 _ACEOF
19977 rm -f conftest.$ac_objext
19978 if { (ac_try="$ac_compile"
19979 case "(($ac_try" in
19980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19981 *) ac_try_echo=$ac_try;;
19982 esac
19983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19984 (eval "$ac_compile") 2>conftest.er1
19985 ac_status=$?
19986 grep -v '^ *+' conftest.er1 >conftest.err
19987 rm -f conftest.er1
19988 cat conftest.err >&5
19989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19990 (exit $ac_status); } && {
19991 test -z "$ac_c_werror_flag" ||
19992 test ! -s conftest.err
19993 } && test -s conftest.$ac_objext; then
19994 ac_lo=0 ac_mid=0
19995 while :; do
19996 cat >conftest.$ac_ext <<_ACEOF
19997 /* confdefs.h. */
19998 _ACEOF
19999 cat confdefs.h >>conftest.$ac_ext
20000 cat >>conftest.$ac_ext <<_ACEOF
20001 /* end confdefs.h. */
20002 $ac_includes_default
20003 typedef short ac__type_sizeof_;
20004 int
20005 main ()
20006 {
20007 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20008 test_array [0] = 0
20009
20010 ;
20011 return 0;
20012 }
20013 _ACEOF
20014 rm -f conftest.$ac_objext
20015 if { (ac_try="$ac_compile"
20016 case "(($ac_try" in
20017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20018 *) ac_try_echo=$ac_try;;
20019 esac
20020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20021 (eval "$ac_compile") 2>conftest.er1
20022 ac_status=$?
20023 grep -v '^ *+' conftest.er1 >conftest.err
20024 rm -f conftest.er1
20025 cat conftest.err >&5
20026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20027 (exit $ac_status); } && {
20028 test -z "$ac_c_werror_flag" ||
20029 test ! -s conftest.err
20030 } && test -s conftest.$ac_objext; then
20031 ac_hi=$ac_mid; break
20032 else
20033 echo "$as_me: failed program was:" >&5
20034 sed 's/^/| /' conftest.$ac_ext >&5
20035
20036 ac_lo=`expr $ac_mid + 1`
20037 if test $ac_lo -le $ac_mid; then
20038 ac_lo= ac_hi=
20039 break
20040 fi
20041 ac_mid=`expr 2 '*' $ac_mid + 1`
20042 fi
20043
20044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20045 done
20046 else
20047 echo "$as_me: failed program was:" >&5
20048 sed 's/^/| /' conftest.$ac_ext >&5
20049
20050 cat >conftest.$ac_ext <<_ACEOF
20051 /* confdefs.h. */
20052 _ACEOF
20053 cat confdefs.h >>conftest.$ac_ext
20054 cat >>conftest.$ac_ext <<_ACEOF
20055 /* end confdefs.h. */
20056 $ac_includes_default
20057 typedef short ac__type_sizeof_;
20058 int
20059 main ()
20060 {
20061 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20062 test_array [0] = 0
20063
20064 ;
20065 return 0;
20066 }
20067 _ACEOF
20068 rm -f conftest.$ac_objext
20069 if { (ac_try="$ac_compile"
20070 case "(($ac_try" in
20071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20072 *) ac_try_echo=$ac_try;;
20073 esac
20074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20075 (eval "$ac_compile") 2>conftest.er1
20076 ac_status=$?
20077 grep -v '^ *+' conftest.er1 >conftest.err
20078 rm -f conftest.er1
20079 cat conftest.err >&5
20080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20081 (exit $ac_status); } && {
20082 test -z "$ac_c_werror_flag" ||
20083 test ! -s conftest.err
20084 } && test -s conftest.$ac_objext; then
20085 ac_hi=-1 ac_mid=-1
20086 while :; do
20087 cat >conftest.$ac_ext <<_ACEOF
20088 /* confdefs.h. */
20089 _ACEOF
20090 cat confdefs.h >>conftest.$ac_ext
20091 cat >>conftest.$ac_ext <<_ACEOF
20092 /* end confdefs.h. */
20093 $ac_includes_default
20094 typedef short ac__type_sizeof_;
20095 int
20096 main ()
20097 {
20098 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20099 test_array [0] = 0
20100
20101 ;
20102 return 0;
20103 }
20104 _ACEOF
20105 rm -f conftest.$ac_objext
20106 if { (ac_try="$ac_compile"
20107 case "(($ac_try" in
20108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20109 *) ac_try_echo=$ac_try;;
20110 esac
20111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20112 (eval "$ac_compile") 2>conftest.er1
20113 ac_status=$?
20114 grep -v '^ *+' conftest.er1 >conftest.err
20115 rm -f conftest.er1
20116 cat conftest.err >&5
20117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20118 (exit $ac_status); } && {
20119 test -z "$ac_c_werror_flag" ||
20120 test ! -s conftest.err
20121 } && test -s conftest.$ac_objext; then
20122 ac_lo=$ac_mid; break
20123 else
20124 echo "$as_me: failed program was:" >&5
20125 sed 's/^/| /' conftest.$ac_ext >&5
20126
20127 ac_hi=`expr '(' $ac_mid ')' - 1`
20128 if test $ac_mid -le $ac_hi; then
20129 ac_lo= ac_hi=
20130 break
20131 fi
20132 ac_mid=`expr 2 '*' $ac_mid`
20133 fi
20134
20135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20136 done
20137 else
20138 echo "$as_me: failed program was:" >&5
20139 sed 's/^/| /' conftest.$ac_ext >&5
20140
20141 ac_lo= ac_hi=
20142 fi
20143
20144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20145 fi
20146
20147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20148 # Binary search between lo and hi bounds.
20149 while test "x$ac_lo" != "x$ac_hi"; do
20150 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20151 cat >conftest.$ac_ext <<_ACEOF
20152 /* confdefs.h. */
20153 _ACEOF
20154 cat confdefs.h >>conftest.$ac_ext
20155 cat >>conftest.$ac_ext <<_ACEOF
20156 /* end confdefs.h. */
20157 $ac_includes_default
20158 typedef short ac__type_sizeof_;
20159 int
20160 main ()
20161 {
20162 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20163 test_array [0] = 0
20164
20165 ;
20166 return 0;
20167 }
20168 _ACEOF
20169 rm -f conftest.$ac_objext
20170 if { (ac_try="$ac_compile"
20171 case "(($ac_try" in
20172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20173 *) ac_try_echo=$ac_try;;
20174 esac
20175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20176 (eval "$ac_compile") 2>conftest.er1
20177 ac_status=$?
20178 grep -v '^ *+' conftest.er1 >conftest.err
20179 rm -f conftest.er1
20180 cat conftest.err >&5
20181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20182 (exit $ac_status); } && {
20183 test -z "$ac_c_werror_flag" ||
20184 test ! -s conftest.err
20185 } && test -s conftest.$ac_objext; then
20186 ac_hi=$ac_mid
20187 else
20188 echo "$as_me: failed program was:" >&5
20189 sed 's/^/| /' conftest.$ac_ext >&5
20190
20191 ac_lo=`expr '(' $ac_mid ')' + 1`
20192 fi
20193
20194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20195 done
20196 case $ac_lo in
20197 ?*) ac_cv_sizeof_short=$ac_lo;;
20198 '') if test "$ac_cv_type_short" = yes; then
20199 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20200 See \`config.log' for more details." >&5
20201 echo "$as_me: error: cannot compute sizeof (short)
20202 See \`config.log' for more details." >&2;}
20203 { (exit 77); exit 77; }; }
20204 else
20205 ac_cv_sizeof_short=0
20206 fi ;;
20207 esac
20208 else
20209 cat >conftest.$ac_ext <<_ACEOF
20210 /* confdefs.h. */
20211 _ACEOF
20212 cat confdefs.h >>conftest.$ac_ext
20213 cat >>conftest.$ac_ext <<_ACEOF
20214 /* end confdefs.h. */
20215 $ac_includes_default
20216 typedef short ac__type_sizeof_;
20217 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20218 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20219 #include <stdio.h>
20220 #include <stdlib.h>
20221 int
20222 main ()
20223 {
20224
20225 FILE *f = fopen ("conftest.val", "w");
20226 if (! f)
20227 return 1;
20228 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20229 {
20230 long int i = longval ();
20231 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20232 return 1;
20233 fprintf (f, "%ld\n", i);
20234 }
20235 else
20236 {
20237 unsigned long int i = ulongval ();
20238 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20239 return 1;
20240 fprintf (f, "%lu\n", i);
20241 }
20242 return ferror (f) || fclose (f) != 0;
20243
20244 ;
20245 return 0;
20246 }
20247 _ACEOF
20248 rm -f conftest$ac_exeext
20249 if { (ac_try="$ac_link"
20250 case "(($ac_try" in
20251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20252 *) ac_try_echo=$ac_try;;
20253 esac
20254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20255 (eval "$ac_link") 2>&5
20256 ac_status=$?
20257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20258 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20259 { (case "(($ac_try" in
20260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20261 *) ac_try_echo=$ac_try;;
20262 esac
20263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20264 (eval "$ac_try") 2>&5
20265 ac_status=$?
20266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20267 (exit $ac_status); }; }; then
20268 ac_cv_sizeof_short=`cat conftest.val`
20269 else
20270 echo "$as_me: program exited with status $ac_status" >&5
20271 echo "$as_me: failed program was:" >&5
20272 sed 's/^/| /' conftest.$ac_ext >&5
20273
20274 ( exit $ac_status )
20275 if test "$ac_cv_type_short" = yes; then
20276 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20277 See \`config.log' for more details." >&5
20278 echo "$as_me: error: cannot compute sizeof (short)
20279 See \`config.log' for more details." >&2;}
20280 { (exit 77); exit 77; }; }
20281 else
20282 ac_cv_sizeof_short=0
20283 fi
20284 fi
20285 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20286 fi
20287 rm -f conftest.val
20288 fi
20289 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20290 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20291
20292
20293
20294 cat >>confdefs.h <<_ACEOF
20295 #define SIZEOF_SHORT $ac_cv_sizeof_short
20296 _ACEOF
20297
20298
20299 { echo "$as_me:$LINENO: checking for void *" >&5
20300 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20301 if test "${ac_cv_type_void_p+set}" = set; then
20302 echo $ECHO_N "(cached) $ECHO_C" >&6
20303 else
20304 cat >conftest.$ac_ext <<_ACEOF
20305 /* confdefs.h. */
20306 _ACEOF
20307 cat confdefs.h >>conftest.$ac_ext
20308 cat >>conftest.$ac_ext <<_ACEOF
20309 /* end confdefs.h. */
20310 $ac_includes_default
20311 typedef void * ac__type_new_;
20312 int
20313 main ()
20314 {
20315 if ((ac__type_new_ *) 0)
20316 return 0;
20317 if (sizeof (ac__type_new_))
20318 return 0;
20319 ;
20320 return 0;
20321 }
20322 _ACEOF
20323 rm -f conftest.$ac_objext
20324 if { (ac_try="$ac_compile"
20325 case "(($ac_try" in
20326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20327 *) ac_try_echo=$ac_try;;
20328 esac
20329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20330 (eval "$ac_compile") 2>conftest.er1
20331 ac_status=$?
20332 grep -v '^ *+' conftest.er1 >conftest.err
20333 rm -f conftest.er1
20334 cat conftest.err >&5
20335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20336 (exit $ac_status); } && {
20337 test -z "$ac_c_werror_flag" ||
20338 test ! -s conftest.err
20339 } && test -s conftest.$ac_objext; then
20340 ac_cv_type_void_p=yes
20341 else
20342 echo "$as_me: failed program was:" >&5
20343 sed 's/^/| /' conftest.$ac_ext >&5
20344
20345 ac_cv_type_void_p=no
20346 fi
20347
20348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20349 fi
20350 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20351 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20352
20353 # The cast to long int works around a bug in the HP C Compiler
20354 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20355 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20356 # This bug is HP SR number 8606223364.
20357 { echo "$as_me:$LINENO: checking size of void *" >&5
20358 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20359 if test "${ac_cv_sizeof_void_p+set}" = set; then
20360 echo $ECHO_N "(cached) $ECHO_C" >&6
20361 else
20362 if test "$cross_compiling" = yes; then
20363 # Depending upon the size, compute the lo and hi bounds.
20364 cat >conftest.$ac_ext <<_ACEOF
20365 /* confdefs.h. */
20366 _ACEOF
20367 cat confdefs.h >>conftest.$ac_ext
20368 cat >>conftest.$ac_ext <<_ACEOF
20369 /* end confdefs.h. */
20370 $ac_includes_default
20371 typedef void * ac__type_sizeof_;
20372 int
20373 main ()
20374 {
20375 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20376 test_array [0] = 0
20377
20378 ;
20379 return 0;
20380 }
20381 _ACEOF
20382 rm -f conftest.$ac_objext
20383 if { (ac_try="$ac_compile"
20384 case "(($ac_try" in
20385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20386 *) ac_try_echo=$ac_try;;
20387 esac
20388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20389 (eval "$ac_compile") 2>conftest.er1
20390 ac_status=$?
20391 grep -v '^ *+' conftest.er1 >conftest.err
20392 rm -f conftest.er1
20393 cat conftest.err >&5
20394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20395 (exit $ac_status); } && {
20396 test -z "$ac_c_werror_flag" ||
20397 test ! -s conftest.err
20398 } && test -s conftest.$ac_objext; then
20399 ac_lo=0 ac_mid=0
20400 while :; do
20401 cat >conftest.$ac_ext <<_ACEOF
20402 /* confdefs.h. */
20403 _ACEOF
20404 cat confdefs.h >>conftest.$ac_ext
20405 cat >>conftest.$ac_ext <<_ACEOF
20406 /* end confdefs.h. */
20407 $ac_includes_default
20408 typedef void * ac__type_sizeof_;
20409 int
20410 main ()
20411 {
20412 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20413 test_array [0] = 0
20414
20415 ;
20416 return 0;
20417 }
20418 _ACEOF
20419 rm -f conftest.$ac_objext
20420 if { (ac_try="$ac_compile"
20421 case "(($ac_try" in
20422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20423 *) ac_try_echo=$ac_try;;
20424 esac
20425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20426 (eval "$ac_compile") 2>conftest.er1
20427 ac_status=$?
20428 grep -v '^ *+' conftest.er1 >conftest.err
20429 rm -f conftest.er1
20430 cat conftest.err >&5
20431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20432 (exit $ac_status); } && {
20433 test -z "$ac_c_werror_flag" ||
20434 test ! -s conftest.err
20435 } && test -s conftest.$ac_objext; then
20436 ac_hi=$ac_mid; break
20437 else
20438 echo "$as_me: failed program was:" >&5
20439 sed 's/^/| /' conftest.$ac_ext >&5
20440
20441 ac_lo=`expr $ac_mid + 1`
20442 if test $ac_lo -le $ac_mid; then
20443 ac_lo= ac_hi=
20444 break
20445 fi
20446 ac_mid=`expr 2 '*' $ac_mid + 1`
20447 fi
20448
20449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20450 done
20451 else
20452 echo "$as_me: failed program was:" >&5
20453 sed 's/^/| /' conftest.$ac_ext >&5
20454
20455 cat >conftest.$ac_ext <<_ACEOF
20456 /* confdefs.h. */
20457 _ACEOF
20458 cat confdefs.h >>conftest.$ac_ext
20459 cat >>conftest.$ac_ext <<_ACEOF
20460 /* end confdefs.h. */
20461 $ac_includes_default
20462 typedef void * ac__type_sizeof_;
20463 int
20464 main ()
20465 {
20466 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20467 test_array [0] = 0
20468
20469 ;
20470 return 0;
20471 }
20472 _ACEOF
20473 rm -f conftest.$ac_objext
20474 if { (ac_try="$ac_compile"
20475 case "(($ac_try" in
20476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20477 *) ac_try_echo=$ac_try;;
20478 esac
20479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20480 (eval "$ac_compile") 2>conftest.er1
20481 ac_status=$?
20482 grep -v '^ *+' conftest.er1 >conftest.err
20483 rm -f conftest.er1
20484 cat conftest.err >&5
20485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20486 (exit $ac_status); } && {
20487 test -z "$ac_c_werror_flag" ||
20488 test ! -s conftest.err
20489 } && test -s conftest.$ac_objext; then
20490 ac_hi=-1 ac_mid=-1
20491 while :; do
20492 cat >conftest.$ac_ext <<_ACEOF
20493 /* confdefs.h. */
20494 _ACEOF
20495 cat confdefs.h >>conftest.$ac_ext
20496 cat >>conftest.$ac_ext <<_ACEOF
20497 /* end confdefs.h. */
20498 $ac_includes_default
20499 typedef void * ac__type_sizeof_;
20500 int
20501 main ()
20502 {
20503 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20504 test_array [0] = 0
20505
20506 ;
20507 return 0;
20508 }
20509 _ACEOF
20510 rm -f conftest.$ac_objext
20511 if { (ac_try="$ac_compile"
20512 case "(($ac_try" in
20513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20514 *) ac_try_echo=$ac_try;;
20515 esac
20516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20517 (eval "$ac_compile") 2>conftest.er1
20518 ac_status=$?
20519 grep -v '^ *+' conftest.er1 >conftest.err
20520 rm -f conftest.er1
20521 cat conftest.err >&5
20522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20523 (exit $ac_status); } && {
20524 test -z "$ac_c_werror_flag" ||
20525 test ! -s conftest.err
20526 } && test -s conftest.$ac_objext; then
20527 ac_lo=$ac_mid; break
20528 else
20529 echo "$as_me: failed program was:" >&5
20530 sed 's/^/| /' conftest.$ac_ext >&5
20531
20532 ac_hi=`expr '(' $ac_mid ')' - 1`
20533 if test $ac_mid -le $ac_hi; then
20534 ac_lo= ac_hi=
20535 break
20536 fi
20537 ac_mid=`expr 2 '*' $ac_mid`
20538 fi
20539
20540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20541 done
20542 else
20543 echo "$as_me: failed program was:" >&5
20544 sed 's/^/| /' conftest.$ac_ext >&5
20545
20546 ac_lo= ac_hi=
20547 fi
20548
20549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20550 fi
20551
20552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20553 # Binary search between lo and hi bounds.
20554 while test "x$ac_lo" != "x$ac_hi"; do
20555 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20556 cat >conftest.$ac_ext <<_ACEOF
20557 /* confdefs.h. */
20558 _ACEOF
20559 cat confdefs.h >>conftest.$ac_ext
20560 cat >>conftest.$ac_ext <<_ACEOF
20561 /* end confdefs.h. */
20562 $ac_includes_default
20563 typedef void * ac__type_sizeof_;
20564 int
20565 main ()
20566 {
20567 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20568 test_array [0] = 0
20569
20570 ;
20571 return 0;
20572 }
20573 _ACEOF
20574 rm -f conftest.$ac_objext
20575 if { (ac_try="$ac_compile"
20576 case "(($ac_try" in
20577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20578 *) ac_try_echo=$ac_try;;
20579 esac
20580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20581 (eval "$ac_compile") 2>conftest.er1
20582 ac_status=$?
20583 grep -v '^ *+' conftest.er1 >conftest.err
20584 rm -f conftest.er1
20585 cat conftest.err >&5
20586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20587 (exit $ac_status); } && {
20588 test -z "$ac_c_werror_flag" ||
20589 test ! -s conftest.err
20590 } && test -s conftest.$ac_objext; then
20591 ac_hi=$ac_mid
20592 else
20593 echo "$as_me: failed program was:" >&5
20594 sed 's/^/| /' conftest.$ac_ext >&5
20595
20596 ac_lo=`expr '(' $ac_mid ')' + 1`
20597 fi
20598
20599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20600 done
20601 case $ac_lo in
20602 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20603 '') if test "$ac_cv_type_void_p" = yes; then
20604 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20605 See \`config.log' for more details." >&5
20606 echo "$as_me: error: cannot compute sizeof (void *)
20607 See \`config.log' for more details." >&2;}
20608 { (exit 77); exit 77; }; }
20609 else
20610 ac_cv_sizeof_void_p=0
20611 fi ;;
20612 esac
20613 else
20614 cat >conftest.$ac_ext <<_ACEOF
20615 /* confdefs.h. */
20616 _ACEOF
20617 cat confdefs.h >>conftest.$ac_ext
20618 cat >>conftest.$ac_ext <<_ACEOF
20619 /* end confdefs.h. */
20620 $ac_includes_default
20621 typedef void * ac__type_sizeof_;
20622 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20623 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20624 #include <stdio.h>
20625 #include <stdlib.h>
20626 int
20627 main ()
20628 {
20629
20630 FILE *f = fopen ("conftest.val", "w");
20631 if (! f)
20632 return 1;
20633 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20634 {
20635 long int i = longval ();
20636 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20637 return 1;
20638 fprintf (f, "%ld\n", i);
20639 }
20640 else
20641 {
20642 unsigned long int i = ulongval ();
20643 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20644 return 1;
20645 fprintf (f, "%lu\n", i);
20646 }
20647 return ferror (f) || fclose (f) != 0;
20648
20649 ;
20650 return 0;
20651 }
20652 _ACEOF
20653 rm -f conftest$ac_exeext
20654 if { (ac_try="$ac_link"
20655 case "(($ac_try" in
20656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20657 *) ac_try_echo=$ac_try;;
20658 esac
20659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20660 (eval "$ac_link") 2>&5
20661 ac_status=$?
20662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20663 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20664 { (case "(($ac_try" in
20665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20666 *) ac_try_echo=$ac_try;;
20667 esac
20668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20669 (eval "$ac_try") 2>&5
20670 ac_status=$?
20671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20672 (exit $ac_status); }; }; then
20673 ac_cv_sizeof_void_p=`cat conftest.val`
20674 else
20675 echo "$as_me: program exited with status $ac_status" >&5
20676 echo "$as_me: failed program was:" >&5
20677 sed 's/^/| /' conftest.$ac_ext >&5
20678
20679 ( exit $ac_status )
20680 if test "$ac_cv_type_void_p" = yes; then
20681 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20682 See \`config.log' for more details." >&5
20683 echo "$as_me: error: cannot compute sizeof (void *)
20684 See \`config.log' for more details." >&2;}
20685 { (exit 77); exit 77; }; }
20686 else
20687 ac_cv_sizeof_void_p=0
20688 fi
20689 fi
20690 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20691 fi
20692 rm -f conftest.val
20693 fi
20694 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20695 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20696
20697
20698
20699 cat >>confdefs.h <<_ACEOF
20700 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20701 _ACEOF
20702
20703
20704 { echo "$as_me:$LINENO: checking for int" >&5
20705 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20706 if test "${ac_cv_type_int+set}" = set; then
20707 echo $ECHO_N "(cached) $ECHO_C" >&6
20708 else
20709 cat >conftest.$ac_ext <<_ACEOF
20710 /* confdefs.h. */
20711 _ACEOF
20712 cat confdefs.h >>conftest.$ac_ext
20713 cat >>conftest.$ac_ext <<_ACEOF
20714 /* end confdefs.h. */
20715 $ac_includes_default
20716 typedef int ac__type_new_;
20717 int
20718 main ()
20719 {
20720 if ((ac__type_new_ *) 0)
20721 return 0;
20722 if (sizeof (ac__type_new_))
20723 return 0;
20724 ;
20725 return 0;
20726 }
20727 _ACEOF
20728 rm -f conftest.$ac_objext
20729 if { (ac_try="$ac_compile"
20730 case "(($ac_try" in
20731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20732 *) ac_try_echo=$ac_try;;
20733 esac
20734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20735 (eval "$ac_compile") 2>conftest.er1
20736 ac_status=$?
20737 grep -v '^ *+' conftest.er1 >conftest.err
20738 rm -f conftest.er1
20739 cat conftest.err >&5
20740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20741 (exit $ac_status); } && {
20742 test -z "$ac_c_werror_flag" ||
20743 test ! -s conftest.err
20744 } && test -s conftest.$ac_objext; then
20745 ac_cv_type_int=yes
20746 else
20747 echo "$as_me: failed program was:" >&5
20748 sed 's/^/| /' conftest.$ac_ext >&5
20749
20750 ac_cv_type_int=no
20751 fi
20752
20753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20754 fi
20755 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20756 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20757
20758 # The cast to long int works around a bug in the HP C Compiler
20759 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20760 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20761 # This bug is HP SR number 8606223364.
20762 { echo "$as_me:$LINENO: checking size of int" >&5
20763 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20764 if test "${ac_cv_sizeof_int+set}" = set; then
20765 echo $ECHO_N "(cached) $ECHO_C" >&6
20766 else
20767 if test "$cross_compiling" = yes; then
20768 # Depending upon the size, compute the lo and hi bounds.
20769 cat >conftest.$ac_ext <<_ACEOF
20770 /* confdefs.h. */
20771 _ACEOF
20772 cat confdefs.h >>conftest.$ac_ext
20773 cat >>conftest.$ac_ext <<_ACEOF
20774 /* end confdefs.h. */
20775 $ac_includes_default
20776 typedef int ac__type_sizeof_;
20777 int
20778 main ()
20779 {
20780 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20781 test_array [0] = 0
20782
20783 ;
20784 return 0;
20785 }
20786 _ACEOF
20787 rm -f conftest.$ac_objext
20788 if { (ac_try="$ac_compile"
20789 case "(($ac_try" in
20790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20791 *) ac_try_echo=$ac_try;;
20792 esac
20793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20794 (eval "$ac_compile") 2>conftest.er1
20795 ac_status=$?
20796 grep -v '^ *+' conftest.er1 >conftest.err
20797 rm -f conftest.er1
20798 cat conftest.err >&5
20799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20800 (exit $ac_status); } && {
20801 test -z "$ac_c_werror_flag" ||
20802 test ! -s conftest.err
20803 } && test -s conftest.$ac_objext; then
20804 ac_lo=0 ac_mid=0
20805 while :; do
20806 cat >conftest.$ac_ext <<_ACEOF
20807 /* confdefs.h. */
20808 _ACEOF
20809 cat confdefs.h >>conftest.$ac_ext
20810 cat >>conftest.$ac_ext <<_ACEOF
20811 /* end confdefs.h. */
20812 $ac_includes_default
20813 typedef int ac__type_sizeof_;
20814 int
20815 main ()
20816 {
20817 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20818 test_array [0] = 0
20819
20820 ;
20821 return 0;
20822 }
20823 _ACEOF
20824 rm -f conftest.$ac_objext
20825 if { (ac_try="$ac_compile"
20826 case "(($ac_try" in
20827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20828 *) ac_try_echo=$ac_try;;
20829 esac
20830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20831 (eval "$ac_compile") 2>conftest.er1
20832 ac_status=$?
20833 grep -v '^ *+' conftest.er1 >conftest.err
20834 rm -f conftest.er1
20835 cat conftest.err >&5
20836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20837 (exit $ac_status); } && {
20838 test -z "$ac_c_werror_flag" ||
20839 test ! -s conftest.err
20840 } && test -s conftest.$ac_objext; then
20841 ac_hi=$ac_mid; break
20842 else
20843 echo "$as_me: failed program was:" >&5
20844 sed 's/^/| /' conftest.$ac_ext >&5
20845
20846 ac_lo=`expr $ac_mid + 1`
20847 if test $ac_lo -le $ac_mid; then
20848 ac_lo= ac_hi=
20849 break
20850 fi
20851 ac_mid=`expr 2 '*' $ac_mid + 1`
20852 fi
20853
20854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20855 done
20856 else
20857 echo "$as_me: failed program was:" >&5
20858 sed 's/^/| /' conftest.$ac_ext >&5
20859
20860 cat >conftest.$ac_ext <<_ACEOF
20861 /* confdefs.h. */
20862 _ACEOF
20863 cat confdefs.h >>conftest.$ac_ext
20864 cat >>conftest.$ac_ext <<_ACEOF
20865 /* end confdefs.h. */
20866 $ac_includes_default
20867 typedef int ac__type_sizeof_;
20868 int
20869 main ()
20870 {
20871 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20872 test_array [0] = 0
20873
20874 ;
20875 return 0;
20876 }
20877 _ACEOF
20878 rm -f conftest.$ac_objext
20879 if { (ac_try="$ac_compile"
20880 case "(($ac_try" in
20881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20882 *) ac_try_echo=$ac_try;;
20883 esac
20884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20885 (eval "$ac_compile") 2>conftest.er1
20886 ac_status=$?
20887 grep -v '^ *+' conftest.er1 >conftest.err
20888 rm -f conftest.er1
20889 cat conftest.err >&5
20890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20891 (exit $ac_status); } && {
20892 test -z "$ac_c_werror_flag" ||
20893 test ! -s conftest.err
20894 } && test -s conftest.$ac_objext; then
20895 ac_hi=-1 ac_mid=-1
20896 while :; do
20897 cat >conftest.$ac_ext <<_ACEOF
20898 /* confdefs.h. */
20899 _ACEOF
20900 cat confdefs.h >>conftest.$ac_ext
20901 cat >>conftest.$ac_ext <<_ACEOF
20902 /* end confdefs.h. */
20903 $ac_includes_default
20904 typedef int ac__type_sizeof_;
20905 int
20906 main ()
20907 {
20908 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20909 test_array [0] = 0
20910
20911 ;
20912 return 0;
20913 }
20914 _ACEOF
20915 rm -f conftest.$ac_objext
20916 if { (ac_try="$ac_compile"
20917 case "(($ac_try" in
20918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20919 *) ac_try_echo=$ac_try;;
20920 esac
20921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20922 (eval "$ac_compile") 2>conftest.er1
20923 ac_status=$?
20924 grep -v '^ *+' conftest.er1 >conftest.err
20925 rm -f conftest.er1
20926 cat conftest.err >&5
20927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20928 (exit $ac_status); } && {
20929 test -z "$ac_c_werror_flag" ||
20930 test ! -s conftest.err
20931 } && test -s conftest.$ac_objext; then
20932 ac_lo=$ac_mid; break
20933 else
20934 echo "$as_me: failed program was:" >&5
20935 sed 's/^/| /' conftest.$ac_ext >&5
20936
20937 ac_hi=`expr '(' $ac_mid ')' - 1`
20938 if test $ac_mid -le $ac_hi; then
20939 ac_lo= ac_hi=
20940 break
20941 fi
20942 ac_mid=`expr 2 '*' $ac_mid`
20943 fi
20944
20945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20946 done
20947 else
20948 echo "$as_me: failed program was:" >&5
20949 sed 's/^/| /' conftest.$ac_ext >&5
20950
20951 ac_lo= ac_hi=
20952 fi
20953
20954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20955 fi
20956
20957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20958 # Binary search between lo and hi bounds.
20959 while test "x$ac_lo" != "x$ac_hi"; do
20960 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20961 cat >conftest.$ac_ext <<_ACEOF
20962 /* confdefs.h. */
20963 _ACEOF
20964 cat confdefs.h >>conftest.$ac_ext
20965 cat >>conftest.$ac_ext <<_ACEOF
20966 /* end confdefs.h. */
20967 $ac_includes_default
20968 typedef int ac__type_sizeof_;
20969 int
20970 main ()
20971 {
20972 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20973 test_array [0] = 0
20974
20975 ;
20976 return 0;
20977 }
20978 _ACEOF
20979 rm -f conftest.$ac_objext
20980 if { (ac_try="$ac_compile"
20981 case "(($ac_try" in
20982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20983 *) ac_try_echo=$ac_try;;
20984 esac
20985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20986 (eval "$ac_compile") 2>conftest.er1
20987 ac_status=$?
20988 grep -v '^ *+' conftest.er1 >conftest.err
20989 rm -f conftest.er1
20990 cat conftest.err >&5
20991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20992 (exit $ac_status); } && {
20993 test -z "$ac_c_werror_flag" ||
20994 test ! -s conftest.err
20995 } && test -s conftest.$ac_objext; then
20996 ac_hi=$ac_mid
20997 else
20998 echo "$as_me: failed program was:" >&5
20999 sed 's/^/| /' conftest.$ac_ext >&5
21000
21001 ac_lo=`expr '(' $ac_mid ')' + 1`
21002 fi
21003
21004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21005 done
21006 case $ac_lo in
21007 ?*) ac_cv_sizeof_int=$ac_lo;;
21008 '') if test "$ac_cv_type_int" = yes; then
21009 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21010 See \`config.log' for more details." >&5
21011 echo "$as_me: error: cannot compute sizeof (int)
21012 See \`config.log' for more details." >&2;}
21013 { (exit 77); exit 77; }; }
21014 else
21015 ac_cv_sizeof_int=0
21016 fi ;;
21017 esac
21018 else
21019 cat >conftest.$ac_ext <<_ACEOF
21020 /* confdefs.h. */
21021 _ACEOF
21022 cat confdefs.h >>conftest.$ac_ext
21023 cat >>conftest.$ac_ext <<_ACEOF
21024 /* end confdefs.h. */
21025 $ac_includes_default
21026 typedef int ac__type_sizeof_;
21027 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21028 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21029 #include <stdio.h>
21030 #include <stdlib.h>
21031 int
21032 main ()
21033 {
21034
21035 FILE *f = fopen ("conftest.val", "w");
21036 if (! f)
21037 return 1;
21038 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21039 {
21040 long int i = longval ();
21041 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21042 return 1;
21043 fprintf (f, "%ld\n", i);
21044 }
21045 else
21046 {
21047 unsigned long int i = ulongval ();
21048 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21049 return 1;
21050 fprintf (f, "%lu\n", i);
21051 }
21052 return ferror (f) || fclose (f) != 0;
21053
21054 ;
21055 return 0;
21056 }
21057 _ACEOF
21058 rm -f conftest$ac_exeext
21059 if { (ac_try="$ac_link"
21060 case "(($ac_try" in
21061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21062 *) ac_try_echo=$ac_try;;
21063 esac
21064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21065 (eval "$ac_link") 2>&5
21066 ac_status=$?
21067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21068 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21069 { (case "(($ac_try" in
21070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21071 *) ac_try_echo=$ac_try;;
21072 esac
21073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21074 (eval "$ac_try") 2>&5
21075 ac_status=$?
21076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21077 (exit $ac_status); }; }; then
21078 ac_cv_sizeof_int=`cat conftest.val`
21079 else
21080 echo "$as_me: program exited with status $ac_status" >&5
21081 echo "$as_me: failed program was:" >&5
21082 sed 's/^/| /' conftest.$ac_ext >&5
21083
21084 ( exit $ac_status )
21085 if test "$ac_cv_type_int" = yes; then
21086 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21087 See \`config.log' for more details." >&5
21088 echo "$as_me: error: cannot compute sizeof (int)
21089 See \`config.log' for more details." >&2;}
21090 { (exit 77); exit 77; }; }
21091 else
21092 ac_cv_sizeof_int=0
21093 fi
21094 fi
21095 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21096 fi
21097 rm -f conftest.val
21098 fi
21099 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21100 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21101
21102
21103
21104 cat >>confdefs.h <<_ACEOF
21105 #define SIZEOF_INT $ac_cv_sizeof_int
21106 _ACEOF
21107
21108
21109 { echo "$as_me:$LINENO: checking for long" >&5
21110 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21111 if test "${ac_cv_type_long+set}" = set; then
21112 echo $ECHO_N "(cached) $ECHO_C" >&6
21113 else
21114 cat >conftest.$ac_ext <<_ACEOF
21115 /* confdefs.h. */
21116 _ACEOF
21117 cat confdefs.h >>conftest.$ac_ext
21118 cat >>conftest.$ac_ext <<_ACEOF
21119 /* end confdefs.h. */
21120 $ac_includes_default
21121 typedef long ac__type_new_;
21122 int
21123 main ()
21124 {
21125 if ((ac__type_new_ *) 0)
21126 return 0;
21127 if (sizeof (ac__type_new_))
21128 return 0;
21129 ;
21130 return 0;
21131 }
21132 _ACEOF
21133 rm -f conftest.$ac_objext
21134 if { (ac_try="$ac_compile"
21135 case "(($ac_try" in
21136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21137 *) ac_try_echo=$ac_try;;
21138 esac
21139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21140 (eval "$ac_compile") 2>conftest.er1
21141 ac_status=$?
21142 grep -v '^ *+' conftest.er1 >conftest.err
21143 rm -f conftest.er1
21144 cat conftest.err >&5
21145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21146 (exit $ac_status); } && {
21147 test -z "$ac_c_werror_flag" ||
21148 test ! -s conftest.err
21149 } && test -s conftest.$ac_objext; then
21150 ac_cv_type_long=yes
21151 else
21152 echo "$as_me: failed program was:" >&5
21153 sed 's/^/| /' conftest.$ac_ext >&5
21154
21155 ac_cv_type_long=no
21156 fi
21157
21158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21159 fi
21160 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21161 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21162
21163 # The cast to long int works around a bug in the HP C Compiler
21164 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21165 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21166 # This bug is HP SR number 8606223364.
21167 { echo "$as_me:$LINENO: checking size of long" >&5
21168 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21169 if test "${ac_cv_sizeof_long+set}" = set; then
21170 echo $ECHO_N "(cached) $ECHO_C" >&6
21171 else
21172 if test "$cross_compiling" = yes; then
21173 # Depending upon the size, compute the lo and hi bounds.
21174 cat >conftest.$ac_ext <<_ACEOF
21175 /* confdefs.h. */
21176 _ACEOF
21177 cat confdefs.h >>conftest.$ac_ext
21178 cat >>conftest.$ac_ext <<_ACEOF
21179 /* end confdefs.h. */
21180 $ac_includes_default
21181 typedef long ac__type_sizeof_;
21182 int
21183 main ()
21184 {
21185 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21186 test_array [0] = 0
21187
21188 ;
21189 return 0;
21190 }
21191 _ACEOF
21192 rm -f conftest.$ac_objext
21193 if { (ac_try="$ac_compile"
21194 case "(($ac_try" in
21195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21196 *) ac_try_echo=$ac_try;;
21197 esac
21198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21199 (eval "$ac_compile") 2>conftest.er1
21200 ac_status=$?
21201 grep -v '^ *+' conftest.er1 >conftest.err
21202 rm -f conftest.er1
21203 cat conftest.err >&5
21204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21205 (exit $ac_status); } && {
21206 test -z "$ac_c_werror_flag" ||
21207 test ! -s conftest.err
21208 } && test -s conftest.$ac_objext; then
21209 ac_lo=0 ac_mid=0
21210 while :; do
21211 cat >conftest.$ac_ext <<_ACEOF
21212 /* confdefs.h. */
21213 _ACEOF
21214 cat confdefs.h >>conftest.$ac_ext
21215 cat >>conftest.$ac_ext <<_ACEOF
21216 /* end confdefs.h. */
21217 $ac_includes_default
21218 typedef long ac__type_sizeof_;
21219 int
21220 main ()
21221 {
21222 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21223 test_array [0] = 0
21224
21225 ;
21226 return 0;
21227 }
21228 _ACEOF
21229 rm -f conftest.$ac_objext
21230 if { (ac_try="$ac_compile"
21231 case "(($ac_try" in
21232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21233 *) ac_try_echo=$ac_try;;
21234 esac
21235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21236 (eval "$ac_compile") 2>conftest.er1
21237 ac_status=$?
21238 grep -v '^ *+' conftest.er1 >conftest.err
21239 rm -f conftest.er1
21240 cat conftest.err >&5
21241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21242 (exit $ac_status); } && {
21243 test -z "$ac_c_werror_flag" ||
21244 test ! -s conftest.err
21245 } && test -s conftest.$ac_objext; then
21246 ac_hi=$ac_mid; break
21247 else
21248 echo "$as_me: failed program was:" >&5
21249 sed 's/^/| /' conftest.$ac_ext >&5
21250
21251 ac_lo=`expr $ac_mid + 1`
21252 if test $ac_lo -le $ac_mid; then
21253 ac_lo= ac_hi=
21254 break
21255 fi
21256 ac_mid=`expr 2 '*' $ac_mid + 1`
21257 fi
21258
21259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21260 done
21261 else
21262 echo "$as_me: failed program was:" >&5
21263 sed 's/^/| /' conftest.$ac_ext >&5
21264
21265 cat >conftest.$ac_ext <<_ACEOF
21266 /* confdefs.h. */
21267 _ACEOF
21268 cat confdefs.h >>conftest.$ac_ext
21269 cat >>conftest.$ac_ext <<_ACEOF
21270 /* end confdefs.h. */
21271 $ac_includes_default
21272 typedef long ac__type_sizeof_;
21273 int
21274 main ()
21275 {
21276 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21277 test_array [0] = 0
21278
21279 ;
21280 return 0;
21281 }
21282 _ACEOF
21283 rm -f conftest.$ac_objext
21284 if { (ac_try="$ac_compile"
21285 case "(($ac_try" in
21286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21287 *) ac_try_echo=$ac_try;;
21288 esac
21289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21290 (eval "$ac_compile") 2>conftest.er1
21291 ac_status=$?
21292 grep -v '^ *+' conftest.er1 >conftest.err
21293 rm -f conftest.er1
21294 cat conftest.err >&5
21295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21296 (exit $ac_status); } && {
21297 test -z "$ac_c_werror_flag" ||
21298 test ! -s conftest.err
21299 } && test -s conftest.$ac_objext; then
21300 ac_hi=-1 ac_mid=-1
21301 while :; do
21302 cat >conftest.$ac_ext <<_ACEOF
21303 /* confdefs.h. */
21304 _ACEOF
21305 cat confdefs.h >>conftest.$ac_ext
21306 cat >>conftest.$ac_ext <<_ACEOF
21307 /* end confdefs.h. */
21308 $ac_includes_default
21309 typedef long ac__type_sizeof_;
21310 int
21311 main ()
21312 {
21313 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21314 test_array [0] = 0
21315
21316 ;
21317 return 0;
21318 }
21319 _ACEOF
21320 rm -f conftest.$ac_objext
21321 if { (ac_try="$ac_compile"
21322 case "(($ac_try" in
21323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21324 *) ac_try_echo=$ac_try;;
21325 esac
21326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21327 (eval "$ac_compile") 2>conftest.er1
21328 ac_status=$?
21329 grep -v '^ *+' conftest.er1 >conftest.err
21330 rm -f conftest.er1
21331 cat conftest.err >&5
21332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21333 (exit $ac_status); } && {
21334 test -z "$ac_c_werror_flag" ||
21335 test ! -s conftest.err
21336 } && test -s conftest.$ac_objext; then
21337 ac_lo=$ac_mid; break
21338 else
21339 echo "$as_me: failed program was:" >&5
21340 sed 's/^/| /' conftest.$ac_ext >&5
21341
21342 ac_hi=`expr '(' $ac_mid ')' - 1`
21343 if test $ac_mid -le $ac_hi; then
21344 ac_lo= ac_hi=
21345 break
21346 fi
21347 ac_mid=`expr 2 '*' $ac_mid`
21348 fi
21349
21350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21351 done
21352 else
21353 echo "$as_me: failed program was:" >&5
21354 sed 's/^/| /' conftest.$ac_ext >&5
21355
21356 ac_lo= ac_hi=
21357 fi
21358
21359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21360 fi
21361
21362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21363 # Binary search between lo and hi bounds.
21364 while test "x$ac_lo" != "x$ac_hi"; do
21365 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21366 cat >conftest.$ac_ext <<_ACEOF
21367 /* confdefs.h. */
21368 _ACEOF
21369 cat confdefs.h >>conftest.$ac_ext
21370 cat >>conftest.$ac_ext <<_ACEOF
21371 /* end confdefs.h. */
21372 $ac_includes_default
21373 typedef long ac__type_sizeof_;
21374 int
21375 main ()
21376 {
21377 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21378 test_array [0] = 0
21379
21380 ;
21381 return 0;
21382 }
21383 _ACEOF
21384 rm -f conftest.$ac_objext
21385 if { (ac_try="$ac_compile"
21386 case "(($ac_try" in
21387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21388 *) ac_try_echo=$ac_try;;
21389 esac
21390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21391 (eval "$ac_compile") 2>conftest.er1
21392 ac_status=$?
21393 grep -v '^ *+' conftest.er1 >conftest.err
21394 rm -f conftest.er1
21395 cat conftest.err >&5
21396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21397 (exit $ac_status); } && {
21398 test -z "$ac_c_werror_flag" ||
21399 test ! -s conftest.err
21400 } && test -s conftest.$ac_objext; then
21401 ac_hi=$ac_mid
21402 else
21403 echo "$as_me: failed program was:" >&5
21404 sed 's/^/| /' conftest.$ac_ext >&5
21405
21406 ac_lo=`expr '(' $ac_mid ')' + 1`
21407 fi
21408
21409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21410 done
21411 case $ac_lo in
21412 ?*) ac_cv_sizeof_long=$ac_lo;;
21413 '') if test "$ac_cv_type_long" = yes; then
21414 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21415 See \`config.log' for more details." >&5
21416 echo "$as_me: error: cannot compute sizeof (long)
21417 See \`config.log' for more details." >&2;}
21418 { (exit 77); exit 77; }; }
21419 else
21420 ac_cv_sizeof_long=0
21421 fi ;;
21422 esac
21423 else
21424 cat >conftest.$ac_ext <<_ACEOF
21425 /* confdefs.h. */
21426 _ACEOF
21427 cat confdefs.h >>conftest.$ac_ext
21428 cat >>conftest.$ac_ext <<_ACEOF
21429 /* end confdefs.h. */
21430 $ac_includes_default
21431 typedef long ac__type_sizeof_;
21432 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21433 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21434 #include <stdio.h>
21435 #include <stdlib.h>
21436 int
21437 main ()
21438 {
21439
21440 FILE *f = fopen ("conftest.val", "w");
21441 if (! f)
21442 return 1;
21443 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21444 {
21445 long int i = longval ();
21446 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21447 return 1;
21448 fprintf (f, "%ld\n", i);
21449 }
21450 else
21451 {
21452 unsigned long int i = ulongval ();
21453 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21454 return 1;
21455 fprintf (f, "%lu\n", i);
21456 }
21457 return ferror (f) || fclose (f) != 0;
21458
21459 ;
21460 return 0;
21461 }
21462 _ACEOF
21463 rm -f conftest$ac_exeext
21464 if { (ac_try="$ac_link"
21465 case "(($ac_try" in
21466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21467 *) ac_try_echo=$ac_try;;
21468 esac
21469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21470 (eval "$ac_link") 2>&5
21471 ac_status=$?
21472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21473 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21474 { (case "(($ac_try" in
21475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21476 *) ac_try_echo=$ac_try;;
21477 esac
21478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21479 (eval "$ac_try") 2>&5
21480 ac_status=$?
21481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21482 (exit $ac_status); }; }; then
21483 ac_cv_sizeof_long=`cat conftest.val`
21484 else
21485 echo "$as_me: program exited with status $ac_status" >&5
21486 echo "$as_me: failed program was:" >&5
21487 sed 's/^/| /' conftest.$ac_ext >&5
21488
21489 ( exit $ac_status )
21490 if test "$ac_cv_type_long" = yes; then
21491 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21492 See \`config.log' for more details." >&5
21493 echo "$as_me: error: cannot compute sizeof (long)
21494 See \`config.log' for more details." >&2;}
21495 { (exit 77); exit 77; }; }
21496 else
21497 ac_cv_sizeof_long=0
21498 fi
21499 fi
21500 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21501 fi
21502 rm -f conftest.val
21503 fi
21504 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21505 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21506
21507
21508
21509 cat >>confdefs.h <<_ACEOF
21510 #define SIZEOF_LONG $ac_cv_sizeof_long
21511 _ACEOF
21512
21513
21514 { echo "$as_me:$LINENO: checking for size_t" >&5
21515 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21516 if test "${ac_cv_type_size_t+set}" = set; then
21517 echo $ECHO_N "(cached) $ECHO_C" >&6
21518 else
21519 cat >conftest.$ac_ext <<_ACEOF
21520 /* confdefs.h. */
21521 _ACEOF
21522 cat confdefs.h >>conftest.$ac_ext
21523 cat >>conftest.$ac_ext <<_ACEOF
21524 /* end confdefs.h. */
21525 $ac_includes_default
21526 typedef size_t ac__type_new_;
21527 int
21528 main ()
21529 {
21530 if ((ac__type_new_ *) 0)
21531 return 0;
21532 if (sizeof (ac__type_new_))
21533 return 0;
21534 ;
21535 return 0;
21536 }
21537 _ACEOF
21538 rm -f conftest.$ac_objext
21539 if { (ac_try="$ac_compile"
21540 case "(($ac_try" in
21541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21542 *) ac_try_echo=$ac_try;;
21543 esac
21544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21545 (eval "$ac_compile") 2>conftest.er1
21546 ac_status=$?
21547 grep -v '^ *+' conftest.er1 >conftest.err
21548 rm -f conftest.er1
21549 cat conftest.err >&5
21550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21551 (exit $ac_status); } && {
21552 test -z "$ac_c_werror_flag" ||
21553 test ! -s conftest.err
21554 } && test -s conftest.$ac_objext; then
21555 ac_cv_type_size_t=yes
21556 else
21557 echo "$as_me: failed program was:" >&5
21558 sed 's/^/| /' conftest.$ac_ext >&5
21559
21560 ac_cv_type_size_t=no
21561 fi
21562
21563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21564 fi
21565 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21566 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21567
21568 # The cast to long int works around a bug in the HP C Compiler
21569 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21570 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21571 # This bug is HP SR number 8606223364.
21572 { echo "$as_me:$LINENO: checking size of size_t" >&5
21573 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21574 if test "${ac_cv_sizeof_size_t+set}" = set; then
21575 echo $ECHO_N "(cached) $ECHO_C" >&6
21576 else
21577 if test "$cross_compiling" = yes; then
21578 # Depending upon the size, compute the lo and hi bounds.
21579 cat >conftest.$ac_ext <<_ACEOF
21580 /* confdefs.h. */
21581 _ACEOF
21582 cat confdefs.h >>conftest.$ac_ext
21583 cat >>conftest.$ac_ext <<_ACEOF
21584 /* end confdefs.h. */
21585 $ac_includes_default
21586 typedef size_t ac__type_sizeof_;
21587 int
21588 main ()
21589 {
21590 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21591 test_array [0] = 0
21592
21593 ;
21594 return 0;
21595 }
21596 _ACEOF
21597 rm -f conftest.$ac_objext
21598 if { (ac_try="$ac_compile"
21599 case "(($ac_try" in
21600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21601 *) ac_try_echo=$ac_try;;
21602 esac
21603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21604 (eval "$ac_compile") 2>conftest.er1
21605 ac_status=$?
21606 grep -v '^ *+' conftest.er1 >conftest.err
21607 rm -f conftest.er1
21608 cat conftest.err >&5
21609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21610 (exit $ac_status); } && {
21611 test -z "$ac_c_werror_flag" ||
21612 test ! -s conftest.err
21613 } && test -s conftest.$ac_objext; then
21614 ac_lo=0 ac_mid=0
21615 while :; do
21616 cat >conftest.$ac_ext <<_ACEOF
21617 /* confdefs.h. */
21618 _ACEOF
21619 cat confdefs.h >>conftest.$ac_ext
21620 cat >>conftest.$ac_ext <<_ACEOF
21621 /* end confdefs.h. */
21622 $ac_includes_default
21623 typedef size_t ac__type_sizeof_;
21624 int
21625 main ()
21626 {
21627 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21628 test_array [0] = 0
21629
21630 ;
21631 return 0;
21632 }
21633 _ACEOF
21634 rm -f conftest.$ac_objext
21635 if { (ac_try="$ac_compile"
21636 case "(($ac_try" in
21637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21638 *) ac_try_echo=$ac_try;;
21639 esac
21640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21641 (eval "$ac_compile") 2>conftest.er1
21642 ac_status=$?
21643 grep -v '^ *+' conftest.er1 >conftest.err
21644 rm -f conftest.er1
21645 cat conftest.err >&5
21646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21647 (exit $ac_status); } && {
21648 test -z "$ac_c_werror_flag" ||
21649 test ! -s conftest.err
21650 } && test -s conftest.$ac_objext; then
21651 ac_hi=$ac_mid; break
21652 else
21653 echo "$as_me: failed program was:" >&5
21654 sed 's/^/| /' conftest.$ac_ext >&5
21655
21656 ac_lo=`expr $ac_mid + 1`
21657 if test $ac_lo -le $ac_mid; then
21658 ac_lo= ac_hi=
21659 break
21660 fi
21661 ac_mid=`expr 2 '*' $ac_mid + 1`
21662 fi
21663
21664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21665 done
21666 else
21667 echo "$as_me: failed program was:" >&5
21668 sed 's/^/| /' conftest.$ac_ext >&5
21669
21670 cat >conftest.$ac_ext <<_ACEOF
21671 /* confdefs.h. */
21672 _ACEOF
21673 cat confdefs.h >>conftest.$ac_ext
21674 cat >>conftest.$ac_ext <<_ACEOF
21675 /* end confdefs.h. */
21676 $ac_includes_default
21677 typedef size_t ac__type_sizeof_;
21678 int
21679 main ()
21680 {
21681 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21682 test_array [0] = 0
21683
21684 ;
21685 return 0;
21686 }
21687 _ACEOF
21688 rm -f conftest.$ac_objext
21689 if { (ac_try="$ac_compile"
21690 case "(($ac_try" in
21691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21692 *) ac_try_echo=$ac_try;;
21693 esac
21694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21695 (eval "$ac_compile") 2>conftest.er1
21696 ac_status=$?
21697 grep -v '^ *+' conftest.er1 >conftest.err
21698 rm -f conftest.er1
21699 cat conftest.err >&5
21700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21701 (exit $ac_status); } && {
21702 test -z "$ac_c_werror_flag" ||
21703 test ! -s conftest.err
21704 } && test -s conftest.$ac_objext; then
21705 ac_hi=-1 ac_mid=-1
21706 while :; do
21707 cat >conftest.$ac_ext <<_ACEOF
21708 /* confdefs.h. */
21709 _ACEOF
21710 cat confdefs.h >>conftest.$ac_ext
21711 cat >>conftest.$ac_ext <<_ACEOF
21712 /* end confdefs.h. */
21713 $ac_includes_default
21714 typedef size_t ac__type_sizeof_;
21715 int
21716 main ()
21717 {
21718 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21719 test_array [0] = 0
21720
21721 ;
21722 return 0;
21723 }
21724 _ACEOF
21725 rm -f conftest.$ac_objext
21726 if { (ac_try="$ac_compile"
21727 case "(($ac_try" in
21728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21729 *) ac_try_echo=$ac_try;;
21730 esac
21731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21732 (eval "$ac_compile") 2>conftest.er1
21733 ac_status=$?
21734 grep -v '^ *+' conftest.er1 >conftest.err
21735 rm -f conftest.er1
21736 cat conftest.err >&5
21737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21738 (exit $ac_status); } && {
21739 test -z "$ac_c_werror_flag" ||
21740 test ! -s conftest.err
21741 } && test -s conftest.$ac_objext; then
21742 ac_lo=$ac_mid; break
21743 else
21744 echo "$as_me: failed program was:" >&5
21745 sed 's/^/| /' conftest.$ac_ext >&5
21746
21747 ac_hi=`expr '(' $ac_mid ')' - 1`
21748 if test $ac_mid -le $ac_hi; then
21749 ac_lo= ac_hi=
21750 break
21751 fi
21752 ac_mid=`expr 2 '*' $ac_mid`
21753 fi
21754
21755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21756 done
21757 else
21758 echo "$as_me: failed program was:" >&5
21759 sed 's/^/| /' conftest.$ac_ext >&5
21760
21761 ac_lo= ac_hi=
21762 fi
21763
21764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21765 fi
21766
21767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21768 # Binary search between lo and hi bounds.
21769 while test "x$ac_lo" != "x$ac_hi"; do
21770 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21771 cat >conftest.$ac_ext <<_ACEOF
21772 /* confdefs.h. */
21773 _ACEOF
21774 cat confdefs.h >>conftest.$ac_ext
21775 cat >>conftest.$ac_ext <<_ACEOF
21776 /* end confdefs.h. */
21777 $ac_includes_default
21778 typedef size_t ac__type_sizeof_;
21779 int
21780 main ()
21781 {
21782 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21783 test_array [0] = 0
21784
21785 ;
21786 return 0;
21787 }
21788 _ACEOF
21789 rm -f conftest.$ac_objext
21790 if { (ac_try="$ac_compile"
21791 case "(($ac_try" in
21792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21793 *) ac_try_echo=$ac_try;;
21794 esac
21795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21796 (eval "$ac_compile") 2>conftest.er1
21797 ac_status=$?
21798 grep -v '^ *+' conftest.er1 >conftest.err
21799 rm -f conftest.er1
21800 cat conftest.err >&5
21801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21802 (exit $ac_status); } && {
21803 test -z "$ac_c_werror_flag" ||
21804 test ! -s conftest.err
21805 } && test -s conftest.$ac_objext; then
21806 ac_hi=$ac_mid
21807 else
21808 echo "$as_me: failed program was:" >&5
21809 sed 's/^/| /' conftest.$ac_ext >&5
21810
21811 ac_lo=`expr '(' $ac_mid ')' + 1`
21812 fi
21813
21814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21815 done
21816 case $ac_lo in
21817 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21818 '') if test "$ac_cv_type_size_t" = yes; then
21819 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21820 See \`config.log' for more details." >&5
21821 echo "$as_me: error: cannot compute sizeof (size_t)
21822 See \`config.log' for more details." >&2;}
21823 { (exit 77); exit 77; }; }
21824 else
21825 ac_cv_sizeof_size_t=0
21826 fi ;;
21827 esac
21828 else
21829 cat >conftest.$ac_ext <<_ACEOF
21830 /* confdefs.h. */
21831 _ACEOF
21832 cat confdefs.h >>conftest.$ac_ext
21833 cat >>conftest.$ac_ext <<_ACEOF
21834 /* end confdefs.h. */
21835 $ac_includes_default
21836 typedef size_t ac__type_sizeof_;
21837 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21838 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21839 #include <stdio.h>
21840 #include <stdlib.h>
21841 int
21842 main ()
21843 {
21844
21845 FILE *f = fopen ("conftest.val", "w");
21846 if (! f)
21847 return 1;
21848 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21849 {
21850 long int i = longval ();
21851 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21852 return 1;
21853 fprintf (f, "%ld\n", i);
21854 }
21855 else
21856 {
21857 unsigned long int i = ulongval ();
21858 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21859 return 1;
21860 fprintf (f, "%lu\n", i);
21861 }
21862 return ferror (f) || fclose (f) != 0;
21863
21864 ;
21865 return 0;
21866 }
21867 _ACEOF
21868 rm -f conftest$ac_exeext
21869 if { (ac_try="$ac_link"
21870 case "(($ac_try" in
21871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21872 *) ac_try_echo=$ac_try;;
21873 esac
21874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21875 (eval "$ac_link") 2>&5
21876 ac_status=$?
21877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21878 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21879 { (case "(($ac_try" in
21880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21881 *) ac_try_echo=$ac_try;;
21882 esac
21883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21884 (eval "$ac_try") 2>&5
21885 ac_status=$?
21886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21887 (exit $ac_status); }; }; then
21888 ac_cv_sizeof_size_t=`cat conftest.val`
21889 else
21890 echo "$as_me: program exited with status $ac_status" >&5
21891 echo "$as_me: failed program was:" >&5
21892 sed 's/^/| /' conftest.$ac_ext >&5
21893
21894 ( exit $ac_status )
21895 if test "$ac_cv_type_size_t" = yes; then
21896 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21897 See \`config.log' for more details." >&5
21898 echo "$as_me: error: cannot compute sizeof (size_t)
21899 See \`config.log' for more details." >&2;}
21900 { (exit 77); exit 77; }; }
21901 else
21902 ac_cv_sizeof_size_t=0
21903 fi
21904 fi
21905 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21906 fi
21907 rm -f conftest.val
21908 fi
21909 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21910 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21911
21912
21913
21914 cat >>confdefs.h <<_ACEOF
21915 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21916 _ACEOF
21917
21918
21919
21920 case "${host}" in
21921 arm-*-linux* )
21922 { echo "$as_me:$LINENO: checking for long long" >&5
21923 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21924 if test "${ac_cv_type_long_long+set}" = set; then
21925 echo $ECHO_N "(cached) $ECHO_C" >&6
21926 else
21927 cat >conftest.$ac_ext <<_ACEOF
21928 /* confdefs.h. */
21929 _ACEOF
21930 cat confdefs.h >>conftest.$ac_ext
21931 cat >>conftest.$ac_ext <<_ACEOF
21932 /* end confdefs.h. */
21933 $ac_includes_default
21934 typedef long long ac__type_new_;
21935 int
21936 main ()
21937 {
21938 if ((ac__type_new_ *) 0)
21939 return 0;
21940 if (sizeof (ac__type_new_))
21941 return 0;
21942 ;
21943 return 0;
21944 }
21945 _ACEOF
21946 rm -f conftest.$ac_objext
21947 if { (ac_try="$ac_compile"
21948 case "(($ac_try" in
21949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21950 *) ac_try_echo=$ac_try;;
21951 esac
21952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21953 (eval "$ac_compile") 2>conftest.er1
21954 ac_status=$?
21955 grep -v '^ *+' conftest.er1 >conftest.err
21956 rm -f conftest.er1
21957 cat conftest.err >&5
21958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21959 (exit $ac_status); } && {
21960 test -z "$ac_c_werror_flag" ||
21961 test ! -s conftest.err
21962 } && test -s conftest.$ac_objext; then
21963 ac_cv_type_long_long=yes
21964 else
21965 echo "$as_me: failed program was:" >&5
21966 sed 's/^/| /' conftest.$ac_ext >&5
21967
21968 ac_cv_type_long_long=no
21969 fi
21970
21971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21972 fi
21973 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21974 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21975
21976 # The cast to long int works around a bug in the HP C Compiler
21977 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21978 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21979 # This bug is HP SR number 8606223364.
21980 { echo "$as_me:$LINENO: checking size of long long" >&5
21981 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21982 if test "${ac_cv_sizeof_long_long+set}" = set; then
21983 echo $ECHO_N "(cached) $ECHO_C" >&6
21984 else
21985 if test "$cross_compiling" = yes; then
21986 # Depending upon the size, compute the lo and hi bounds.
21987 cat >conftest.$ac_ext <<_ACEOF
21988 /* confdefs.h. */
21989 _ACEOF
21990 cat confdefs.h >>conftest.$ac_ext
21991 cat >>conftest.$ac_ext <<_ACEOF
21992 /* end confdefs.h. */
21993 $ac_includes_default
21994 typedef long long ac__type_sizeof_;
21995 int
21996 main ()
21997 {
21998 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21999 test_array [0] = 0
22000
22001 ;
22002 return 0;
22003 }
22004 _ACEOF
22005 rm -f conftest.$ac_objext
22006 if { (ac_try="$ac_compile"
22007 case "(($ac_try" in
22008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22009 *) ac_try_echo=$ac_try;;
22010 esac
22011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22012 (eval "$ac_compile") 2>conftest.er1
22013 ac_status=$?
22014 grep -v '^ *+' conftest.er1 >conftest.err
22015 rm -f conftest.er1
22016 cat conftest.err >&5
22017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22018 (exit $ac_status); } && {
22019 test -z "$ac_c_werror_flag" ||
22020 test ! -s conftest.err
22021 } && test -s conftest.$ac_objext; then
22022 ac_lo=0 ac_mid=0
22023 while :; do
22024 cat >conftest.$ac_ext <<_ACEOF
22025 /* confdefs.h. */
22026 _ACEOF
22027 cat confdefs.h >>conftest.$ac_ext
22028 cat >>conftest.$ac_ext <<_ACEOF
22029 /* end confdefs.h. */
22030 $ac_includes_default
22031 typedef long long ac__type_sizeof_;
22032 int
22033 main ()
22034 {
22035 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22036 test_array [0] = 0
22037
22038 ;
22039 return 0;
22040 }
22041 _ACEOF
22042 rm -f conftest.$ac_objext
22043 if { (ac_try="$ac_compile"
22044 case "(($ac_try" in
22045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22046 *) ac_try_echo=$ac_try;;
22047 esac
22048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22049 (eval "$ac_compile") 2>conftest.er1
22050 ac_status=$?
22051 grep -v '^ *+' conftest.er1 >conftest.err
22052 rm -f conftest.er1
22053 cat conftest.err >&5
22054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22055 (exit $ac_status); } && {
22056 test -z "$ac_c_werror_flag" ||
22057 test ! -s conftest.err
22058 } && test -s conftest.$ac_objext; then
22059 ac_hi=$ac_mid; break
22060 else
22061 echo "$as_me: failed program was:" >&5
22062 sed 's/^/| /' conftest.$ac_ext >&5
22063
22064 ac_lo=`expr $ac_mid + 1`
22065 if test $ac_lo -le $ac_mid; then
22066 ac_lo= ac_hi=
22067 break
22068 fi
22069 ac_mid=`expr 2 '*' $ac_mid + 1`
22070 fi
22071
22072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22073 done
22074 else
22075 echo "$as_me: failed program was:" >&5
22076 sed 's/^/| /' conftest.$ac_ext >&5
22077
22078 cat >conftest.$ac_ext <<_ACEOF
22079 /* confdefs.h. */
22080 _ACEOF
22081 cat confdefs.h >>conftest.$ac_ext
22082 cat >>conftest.$ac_ext <<_ACEOF
22083 /* end confdefs.h. */
22084 $ac_includes_default
22085 typedef long long ac__type_sizeof_;
22086 int
22087 main ()
22088 {
22089 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22090 test_array [0] = 0
22091
22092 ;
22093 return 0;
22094 }
22095 _ACEOF
22096 rm -f conftest.$ac_objext
22097 if { (ac_try="$ac_compile"
22098 case "(($ac_try" in
22099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22100 *) ac_try_echo=$ac_try;;
22101 esac
22102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22103 (eval "$ac_compile") 2>conftest.er1
22104 ac_status=$?
22105 grep -v '^ *+' conftest.er1 >conftest.err
22106 rm -f conftest.er1
22107 cat conftest.err >&5
22108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22109 (exit $ac_status); } && {
22110 test -z "$ac_c_werror_flag" ||
22111 test ! -s conftest.err
22112 } && test -s conftest.$ac_objext; then
22113 ac_hi=-1 ac_mid=-1
22114 while :; do
22115 cat >conftest.$ac_ext <<_ACEOF
22116 /* confdefs.h. */
22117 _ACEOF
22118 cat confdefs.h >>conftest.$ac_ext
22119 cat >>conftest.$ac_ext <<_ACEOF
22120 /* end confdefs.h. */
22121 $ac_includes_default
22122 typedef long long ac__type_sizeof_;
22123 int
22124 main ()
22125 {
22126 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22127 test_array [0] = 0
22128
22129 ;
22130 return 0;
22131 }
22132 _ACEOF
22133 rm -f conftest.$ac_objext
22134 if { (ac_try="$ac_compile"
22135 case "(($ac_try" in
22136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22137 *) ac_try_echo=$ac_try;;
22138 esac
22139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22140 (eval "$ac_compile") 2>conftest.er1
22141 ac_status=$?
22142 grep -v '^ *+' conftest.er1 >conftest.err
22143 rm -f conftest.er1
22144 cat conftest.err >&5
22145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22146 (exit $ac_status); } && {
22147 test -z "$ac_c_werror_flag" ||
22148 test ! -s conftest.err
22149 } && test -s conftest.$ac_objext; then
22150 ac_lo=$ac_mid; break
22151 else
22152 echo "$as_me: failed program was:" >&5
22153 sed 's/^/| /' conftest.$ac_ext >&5
22154
22155 ac_hi=`expr '(' $ac_mid ')' - 1`
22156 if test $ac_mid -le $ac_hi; then
22157 ac_lo= ac_hi=
22158 break
22159 fi
22160 ac_mid=`expr 2 '*' $ac_mid`
22161 fi
22162
22163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22164 done
22165 else
22166 echo "$as_me: failed program was:" >&5
22167 sed 's/^/| /' conftest.$ac_ext >&5
22168
22169 ac_lo= ac_hi=
22170 fi
22171
22172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22173 fi
22174
22175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22176 # Binary search between lo and hi bounds.
22177 while test "x$ac_lo" != "x$ac_hi"; do
22178 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22179 cat >conftest.$ac_ext <<_ACEOF
22180 /* confdefs.h. */
22181 _ACEOF
22182 cat confdefs.h >>conftest.$ac_ext
22183 cat >>conftest.$ac_ext <<_ACEOF
22184 /* end confdefs.h. */
22185 $ac_includes_default
22186 typedef long long ac__type_sizeof_;
22187 int
22188 main ()
22189 {
22190 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22191 test_array [0] = 0
22192
22193 ;
22194 return 0;
22195 }
22196 _ACEOF
22197 rm -f conftest.$ac_objext
22198 if { (ac_try="$ac_compile"
22199 case "(($ac_try" in
22200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22201 *) ac_try_echo=$ac_try;;
22202 esac
22203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22204 (eval "$ac_compile") 2>conftest.er1
22205 ac_status=$?
22206 grep -v '^ *+' conftest.er1 >conftest.err
22207 rm -f conftest.er1
22208 cat conftest.err >&5
22209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22210 (exit $ac_status); } && {
22211 test -z "$ac_c_werror_flag" ||
22212 test ! -s conftest.err
22213 } && test -s conftest.$ac_objext; then
22214 ac_hi=$ac_mid
22215 else
22216 echo "$as_me: failed program was:" >&5
22217 sed 's/^/| /' conftest.$ac_ext >&5
22218
22219 ac_lo=`expr '(' $ac_mid ')' + 1`
22220 fi
22221
22222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22223 done
22224 case $ac_lo in
22225 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22226 '') if test "$ac_cv_type_long_long" = yes; then
22227 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22228 See \`config.log' for more details." >&5
22229 echo "$as_me: error: cannot compute sizeof (long long)
22230 See \`config.log' for more details." >&2;}
22231 { (exit 77); exit 77; }; }
22232 else
22233 ac_cv_sizeof_long_long=0
22234 fi ;;
22235 esac
22236 else
22237 cat >conftest.$ac_ext <<_ACEOF
22238 /* confdefs.h. */
22239 _ACEOF
22240 cat confdefs.h >>conftest.$ac_ext
22241 cat >>conftest.$ac_ext <<_ACEOF
22242 /* end confdefs.h. */
22243 $ac_includes_default
22244 typedef long long ac__type_sizeof_;
22245 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22246 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22247 #include <stdio.h>
22248 #include <stdlib.h>
22249 int
22250 main ()
22251 {
22252
22253 FILE *f = fopen ("conftest.val", "w");
22254 if (! f)
22255 return 1;
22256 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22257 {
22258 long int i = longval ();
22259 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22260 return 1;
22261 fprintf (f, "%ld\n", i);
22262 }
22263 else
22264 {
22265 unsigned long int i = ulongval ();
22266 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22267 return 1;
22268 fprintf (f, "%lu\n", i);
22269 }
22270 return ferror (f) || fclose (f) != 0;
22271
22272 ;
22273 return 0;
22274 }
22275 _ACEOF
22276 rm -f conftest$ac_exeext
22277 if { (ac_try="$ac_link"
22278 case "(($ac_try" in
22279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22280 *) ac_try_echo=$ac_try;;
22281 esac
22282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22283 (eval "$ac_link") 2>&5
22284 ac_status=$?
22285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22286 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22287 { (case "(($ac_try" in
22288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22289 *) ac_try_echo=$ac_try;;
22290 esac
22291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22292 (eval "$ac_try") 2>&5
22293 ac_status=$?
22294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22295 (exit $ac_status); }; }; then
22296 ac_cv_sizeof_long_long=`cat conftest.val`
22297 else
22298 echo "$as_me: program exited with status $ac_status" >&5
22299 echo "$as_me: failed program was:" >&5
22300 sed 's/^/| /' conftest.$ac_ext >&5
22301
22302 ( exit $ac_status )
22303 if test "$ac_cv_type_long_long" = yes; then
22304 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22305 See \`config.log' for more details." >&5
22306 echo "$as_me: error: cannot compute sizeof (long long)
22307 See \`config.log' for more details." >&2;}
22308 { (exit 77); exit 77; }; }
22309 else
22310 ac_cv_sizeof_long_long=0
22311 fi
22312 fi
22313 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22314 fi
22315 rm -f conftest.val
22316 fi
22317 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22318 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22319
22320
22321
22322 cat >>confdefs.h <<_ACEOF
22323 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22324 _ACEOF
22325
22326
22327 ;;
22328 *-hp-hpux* )
22329 { echo "$as_me:$LINENO: checking for long long" >&5
22330 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22331 if test "${ac_cv_type_long_long+set}" = set; then
22332 echo $ECHO_N "(cached) $ECHO_C" >&6
22333 else
22334 cat >conftest.$ac_ext <<_ACEOF
22335 /* confdefs.h. */
22336 _ACEOF
22337 cat confdefs.h >>conftest.$ac_ext
22338 cat >>conftest.$ac_ext <<_ACEOF
22339 /* end confdefs.h. */
22340 $ac_includes_default
22341 typedef long long ac__type_new_;
22342 int
22343 main ()
22344 {
22345 if ((ac__type_new_ *) 0)
22346 return 0;
22347 if (sizeof (ac__type_new_))
22348 return 0;
22349 ;
22350 return 0;
22351 }
22352 _ACEOF
22353 rm -f conftest.$ac_objext
22354 if { (ac_try="$ac_compile"
22355 case "(($ac_try" in
22356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22357 *) ac_try_echo=$ac_try;;
22358 esac
22359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22360 (eval "$ac_compile") 2>conftest.er1
22361 ac_status=$?
22362 grep -v '^ *+' conftest.er1 >conftest.err
22363 rm -f conftest.er1
22364 cat conftest.err >&5
22365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22366 (exit $ac_status); } && {
22367 test -z "$ac_c_werror_flag" ||
22368 test ! -s conftest.err
22369 } && test -s conftest.$ac_objext; then
22370 ac_cv_type_long_long=yes
22371 else
22372 echo "$as_me: failed program was:" >&5
22373 sed 's/^/| /' conftest.$ac_ext >&5
22374
22375 ac_cv_type_long_long=no
22376 fi
22377
22378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22379 fi
22380 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22381 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22382
22383 # The cast to long int works around a bug in the HP C Compiler
22384 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22385 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22386 # This bug is HP SR number 8606223364.
22387 { echo "$as_me:$LINENO: checking size of long long" >&5
22388 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22389 if test "${ac_cv_sizeof_long_long+set}" = set; then
22390 echo $ECHO_N "(cached) $ECHO_C" >&6
22391 else
22392 if test "$cross_compiling" = yes; then
22393 # Depending upon the size, compute the lo and hi bounds.
22394 cat >conftest.$ac_ext <<_ACEOF
22395 /* confdefs.h. */
22396 _ACEOF
22397 cat confdefs.h >>conftest.$ac_ext
22398 cat >>conftest.$ac_ext <<_ACEOF
22399 /* end confdefs.h. */
22400 $ac_includes_default
22401 typedef long long ac__type_sizeof_;
22402 int
22403 main ()
22404 {
22405 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22406 test_array [0] = 0
22407
22408 ;
22409 return 0;
22410 }
22411 _ACEOF
22412 rm -f conftest.$ac_objext
22413 if { (ac_try="$ac_compile"
22414 case "(($ac_try" in
22415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22416 *) ac_try_echo=$ac_try;;
22417 esac
22418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22419 (eval "$ac_compile") 2>conftest.er1
22420 ac_status=$?
22421 grep -v '^ *+' conftest.er1 >conftest.err
22422 rm -f conftest.er1
22423 cat conftest.err >&5
22424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22425 (exit $ac_status); } && {
22426 test -z "$ac_c_werror_flag" ||
22427 test ! -s conftest.err
22428 } && test -s conftest.$ac_objext; then
22429 ac_lo=0 ac_mid=0
22430 while :; do
22431 cat >conftest.$ac_ext <<_ACEOF
22432 /* confdefs.h. */
22433 _ACEOF
22434 cat confdefs.h >>conftest.$ac_ext
22435 cat >>conftest.$ac_ext <<_ACEOF
22436 /* end confdefs.h. */
22437 $ac_includes_default
22438 typedef long long ac__type_sizeof_;
22439 int
22440 main ()
22441 {
22442 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22443 test_array [0] = 0
22444
22445 ;
22446 return 0;
22447 }
22448 _ACEOF
22449 rm -f conftest.$ac_objext
22450 if { (ac_try="$ac_compile"
22451 case "(($ac_try" in
22452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22453 *) ac_try_echo=$ac_try;;
22454 esac
22455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22456 (eval "$ac_compile") 2>conftest.er1
22457 ac_status=$?
22458 grep -v '^ *+' conftest.er1 >conftest.err
22459 rm -f conftest.er1
22460 cat conftest.err >&5
22461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22462 (exit $ac_status); } && {
22463 test -z "$ac_c_werror_flag" ||
22464 test ! -s conftest.err
22465 } && test -s conftest.$ac_objext; then
22466 ac_hi=$ac_mid; break
22467 else
22468 echo "$as_me: failed program was:" >&5
22469 sed 's/^/| /' conftest.$ac_ext >&5
22470
22471 ac_lo=`expr $ac_mid + 1`
22472 if test $ac_lo -le $ac_mid; then
22473 ac_lo= ac_hi=
22474 break
22475 fi
22476 ac_mid=`expr 2 '*' $ac_mid + 1`
22477 fi
22478
22479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22480 done
22481 else
22482 echo "$as_me: failed program was:" >&5
22483 sed 's/^/| /' conftest.$ac_ext >&5
22484
22485 cat >conftest.$ac_ext <<_ACEOF
22486 /* confdefs.h. */
22487 _ACEOF
22488 cat confdefs.h >>conftest.$ac_ext
22489 cat >>conftest.$ac_ext <<_ACEOF
22490 /* end confdefs.h. */
22491 $ac_includes_default
22492 typedef long long ac__type_sizeof_;
22493 int
22494 main ()
22495 {
22496 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22497 test_array [0] = 0
22498
22499 ;
22500 return 0;
22501 }
22502 _ACEOF
22503 rm -f conftest.$ac_objext
22504 if { (ac_try="$ac_compile"
22505 case "(($ac_try" in
22506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22507 *) ac_try_echo=$ac_try;;
22508 esac
22509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22510 (eval "$ac_compile") 2>conftest.er1
22511 ac_status=$?
22512 grep -v '^ *+' conftest.er1 >conftest.err
22513 rm -f conftest.er1
22514 cat conftest.err >&5
22515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22516 (exit $ac_status); } && {
22517 test -z "$ac_c_werror_flag" ||
22518 test ! -s conftest.err
22519 } && test -s conftest.$ac_objext; then
22520 ac_hi=-1 ac_mid=-1
22521 while :; do
22522 cat >conftest.$ac_ext <<_ACEOF
22523 /* confdefs.h. */
22524 _ACEOF
22525 cat confdefs.h >>conftest.$ac_ext
22526 cat >>conftest.$ac_ext <<_ACEOF
22527 /* end confdefs.h. */
22528 $ac_includes_default
22529 typedef long long ac__type_sizeof_;
22530 int
22531 main ()
22532 {
22533 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22534 test_array [0] = 0
22535
22536 ;
22537 return 0;
22538 }
22539 _ACEOF
22540 rm -f conftest.$ac_objext
22541 if { (ac_try="$ac_compile"
22542 case "(($ac_try" in
22543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22544 *) ac_try_echo=$ac_try;;
22545 esac
22546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22547 (eval "$ac_compile") 2>conftest.er1
22548 ac_status=$?
22549 grep -v '^ *+' conftest.er1 >conftest.err
22550 rm -f conftest.er1
22551 cat conftest.err >&5
22552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22553 (exit $ac_status); } && {
22554 test -z "$ac_c_werror_flag" ||
22555 test ! -s conftest.err
22556 } && test -s conftest.$ac_objext; then
22557 ac_lo=$ac_mid; break
22558 else
22559 echo "$as_me: failed program was:" >&5
22560 sed 's/^/| /' conftest.$ac_ext >&5
22561
22562 ac_hi=`expr '(' $ac_mid ')' - 1`
22563 if test $ac_mid -le $ac_hi; then
22564 ac_lo= ac_hi=
22565 break
22566 fi
22567 ac_mid=`expr 2 '*' $ac_mid`
22568 fi
22569
22570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22571 done
22572 else
22573 echo "$as_me: failed program was:" >&5
22574 sed 's/^/| /' conftest.$ac_ext >&5
22575
22576 ac_lo= ac_hi=
22577 fi
22578
22579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22580 fi
22581
22582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22583 # Binary search between lo and hi bounds.
22584 while test "x$ac_lo" != "x$ac_hi"; do
22585 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22586 cat >conftest.$ac_ext <<_ACEOF
22587 /* confdefs.h. */
22588 _ACEOF
22589 cat confdefs.h >>conftest.$ac_ext
22590 cat >>conftest.$ac_ext <<_ACEOF
22591 /* end confdefs.h. */
22592 $ac_includes_default
22593 typedef long long ac__type_sizeof_;
22594 int
22595 main ()
22596 {
22597 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22598 test_array [0] = 0
22599
22600 ;
22601 return 0;
22602 }
22603 _ACEOF
22604 rm -f conftest.$ac_objext
22605 if { (ac_try="$ac_compile"
22606 case "(($ac_try" in
22607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22608 *) ac_try_echo=$ac_try;;
22609 esac
22610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22611 (eval "$ac_compile") 2>conftest.er1
22612 ac_status=$?
22613 grep -v '^ *+' conftest.er1 >conftest.err
22614 rm -f conftest.er1
22615 cat conftest.err >&5
22616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22617 (exit $ac_status); } && {
22618 test -z "$ac_c_werror_flag" ||
22619 test ! -s conftest.err
22620 } && test -s conftest.$ac_objext; then
22621 ac_hi=$ac_mid
22622 else
22623 echo "$as_me: failed program was:" >&5
22624 sed 's/^/| /' conftest.$ac_ext >&5
22625
22626 ac_lo=`expr '(' $ac_mid ')' + 1`
22627 fi
22628
22629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22630 done
22631 case $ac_lo in
22632 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22633 '') if test "$ac_cv_type_long_long" = yes; then
22634 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22635 See \`config.log' for more details." >&5
22636 echo "$as_me: error: cannot compute sizeof (long long)
22637 See \`config.log' for more details." >&2;}
22638 { (exit 77); exit 77; }; }
22639 else
22640 ac_cv_sizeof_long_long=0
22641 fi ;;
22642 esac
22643 else
22644 cat >conftest.$ac_ext <<_ACEOF
22645 /* confdefs.h. */
22646 _ACEOF
22647 cat confdefs.h >>conftest.$ac_ext
22648 cat >>conftest.$ac_ext <<_ACEOF
22649 /* end confdefs.h. */
22650 $ac_includes_default
22651 typedef long long ac__type_sizeof_;
22652 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22653 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22654 #include <stdio.h>
22655 #include <stdlib.h>
22656 int
22657 main ()
22658 {
22659
22660 FILE *f = fopen ("conftest.val", "w");
22661 if (! f)
22662 return 1;
22663 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22664 {
22665 long int i = longval ();
22666 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22667 return 1;
22668 fprintf (f, "%ld\n", i);
22669 }
22670 else
22671 {
22672 unsigned long int i = ulongval ();
22673 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22674 return 1;
22675 fprintf (f, "%lu\n", i);
22676 }
22677 return ferror (f) || fclose (f) != 0;
22678
22679 ;
22680 return 0;
22681 }
22682 _ACEOF
22683 rm -f conftest$ac_exeext
22684 if { (ac_try="$ac_link"
22685 case "(($ac_try" in
22686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22687 *) ac_try_echo=$ac_try;;
22688 esac
22689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22690 (eval "$ac_link") 2>&5
22691 ac_status=$?
22692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22693 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22694 { (case "(($ac_try" in
22695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22696 *) ac_try_echo=$ac_try;;
22697 esac
22698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22699 (eval "$ac_try") 2>&5
22700 ac_status=$?
22701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22702 (exit $ac_status); }; }; then
22703 ac_cv_sizeof_long_long=`cat conftest.val`
22704 else
22705 echo "$as_me: program exited with status $ac_status" >&5
22706 echo "$as_me: failed program was:" >&5
22707 sed 's/^/| /' conftest.$ac_ext >&5
22708
22709 ( exit $ac_status )
22710 if test "$ac_cv_type_long_long" = yes; then
22711 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22712 See \`config.log' for more details." >&5
22713 echo "$as_me: error: cannot compute sizeof (long long)
22714 See \`config.log' for more details." >&2;}
22715 { (exit 77); exit 77; }; }
22716 else
22717 ac_cv_sizeof_long_long=0
22718 fi
22719 fi
22720 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22721 fi
22722 rm -f conftest.val
22723 fi
22724 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22725 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22726
22727
22728
22729 cat >>confdefs.h <<_ACEOF
22730 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22731 _ACEOF
22732
22733
22734 if test "$ac_cv_sizeof_long_long" != 0; then
22735 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22736 fi
22737 ;;
22738 * )
22739 { echo "$as_me:$LINENO: checking for long long" >&5
22740 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22741 if test "${ac_cv_type_long_long+set}" = set; then
22742 echo $ECHO_N "(cached) $ECHO_C" >&6
22743 else
22744 cat >conftest.$ac_ext <<_ACEOF
22745 /* confdefs.h. */
22746 _ACEOF
22747 cat confdefs.h >>conftest.$ac_ext
22748 cat >>conftest.$ac_ext <<_ACEOF
22749 /* end confdefs.h. */
22750 $ac_includes_default
22751 typedef long long ac__type_new_;
22752 int
22753 main ()
22754 {
22755 if ((ac__type_new_ *) 0)
22756 return 0;
22757 if (sizeof (ac__type_new_))
22758 return 0;
22759 ;
22760 return 0;
22761 }
22762 _ACEOF
22763 rm -f conftest.$ac_objext
22764 if { (ac_try="$ac_compile"
22765 case "(($ac_try" in
22766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22767 *) ac_try_echo=$ac_try;;
22768 esac
22769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22770 (eval "$ac_compile") 2>conftest.er1
22771 ac_status=$?
22772 grep -v '^ *+' conftest.er1 >conftest.err
22773 rm -f conftest.er1
22774 cat conftest.err >&5
22775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22776 (exit $ac_status); } && {
22777 test -z "$ac_c_werror_flag" ||
22778 test ! -s conftest.err
22779 } && test -s conftest.$ac_objext; then
22780 ac_cv_type_long_long=yes
22781 else
22782 echo "$as_me: failed program was:" >&5
22783 sed 's/^/| /' conftest.$ac_ext >&5
22784
22785 ac_cv_type_long_long=no
22786 fi
22787
22788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22789 fi
22790 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22791 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22792
22793 # The cast to long int works around a bug in the HP C Compiler
22794 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22795 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22796 # This bug is HP SR number 8606223364.
22797 { echo "$as_me:$LINENO: checking size of long long" >&5
22798 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22799 if test "${ac_cv_sizeof_long_long+set}" = set; then
22800 echo $ECHO_N "(cached) $ECHO_C" >&6
22801 else
22802 if test "$cross_compiling" = yes; then
22803 # Depending upon the size, compute the lo and hi bounds.
22804 cat >conftest.$ac_ext <<_ACEOF
22805 /* confdefs.h. */
22806 _ACEOF
22807 cat confdefs.h >>conftest.$ac_ext
22808 cat >>conftest.$ac_ext <<_ACEOF
22809 /* end confdefs.h. */
22810 $ac_includes_default
22811 typedef long long ac__type_sizeof_;
22812 int
22813 main ()
22814 {
22815 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22816 test_array [0] = 0
22817
22818 ;
22819 return 0;
22820 }
22821 _ACEOF
22822 rm -f conftest.$ac_objext
22823 if { (ac_try="$ac_compile"
22824 case "(($ac_try" in
22825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22826 *) ac_try_echo=$ac_try;;
22827 esac
22828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22829 (eval "$ac_compile") 2>conftest.er1
22830 ac_status=$?
22831 grep -v '^ *+' conftest.er1 >conftest.err
22832 rm -f conftest.er1
22833 cat conftest.err >&5
22834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22835 (exit $ac_status); } && {
22836 test -z "$ac_c_werror_flag" ||
22837 test ! -s conftest.err
22838 } && test -s conftest.$ac_objext; then
22839 ac_lo=0 ac_mid=0
22840 while :; do
22841 cat >conftest.$ac_ext <<_ACEOF
22842 /* confdefs.h. */
22843 _ACEOF
22844 cat confdefs.h >>conftest.$ac_ext
22845 cat >>conftest.$ac_ext <<_ACEOF
22846 /* end confdefs.h. */
22847 $ac_includes_default
22848 typedef long long ac__type_sizeof_;
22849 int
22850 main ()
22851 {
22852 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22853 test_array [0] = 0
22854
22855 ;
22856 return 0;
22857 }
22858 _ACEOF
22859 rm -f conftest.$ac_objext
22860 if { (ac_try="$ac_compile"
22861 case "(($ac_try" in
22862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22863 *) ac_try_echo=$ac_try;;
22864 esac
22865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22866 (eval "$ac_compile") 2>conftest.er1
22867 ac_status=$?
22868 grep -v '^ *+' conftest.er1 >conftest.err
22869 rm -f conftest.er1
22870 cat conftest.err >&5
22871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22872 (exit $ac_status); } && {
22873 test -z "$ac_c_werror_flag" ||
22874 test ! -s conftest.err
22875 } && test -s conftest.$ac_objext; then
22876 ac_hi=$ac_mid; break
22877 else
22878 echo "$as_me: failed program was:" >&5
22879 sed 's/^/| /' conftest.$ac_ext >&5
22880
22881 ac_lo=`expr $ac_mid + 1`
22882 if test $ac_lo -le $ac_mid; then
22883 ac_lo= ac_hi=
22884 break
22885 fi
22886 ac_mid=`expr 2 '*' $ac_mid + 1`
22887 fi
22888
22889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22890 done
22891 else
22892 echo "$as_me: failed program was:" >&5
22893 sed 's/^/| /' conftest.$ac_ext >&5
22894
22895 cat >conftest.$ac_ext <<_ACEOF
22896 /* confdefs.h. */
22897 _ACEOF
22898 cat confdefs.h >>conftest.$ac_ext
22899 cat >>conftest.$ac_ext <<_ACEOF
22900 /* end confdefs.h. */
22901 $ac_includes_default
22902 typedef long long ac__type_sizeof_;
22903 int
22904 main ()
22905 {
22906 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22907 test_array [0] = 0
22908
22909 ;
22910 return 0;
22911 }
22912 _ACEOF
22913 rm -f conftest.$ac_objext
22914 if { (ac_try="$ac_compile"
22915 case "(($ac_try" in
22916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22917 *) ac_try_echo=$ac_try;;
22918 esac
22919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22920 (eval "$ac_compile") 2>conftest.er1
22921 ac_status=$?
22922 grep -v '^ *+' conftest.er1 >conftest.err
22923 rm -f conftest.er1
22924 cat conftest.err >&5
22925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22926 (exit $ac_status); } && {
22927 test -z "$ac_c_werror_flag" ||
22928 test ! -s conftest.err
22929 } && test -s conftest.$ac_objext; then
22930 ac_hi=-1 ac_mid=-1
22931 while :; do
22932 cat >conftest.$ac_ext <<_ACEOF
22933 /* confdefs.h. */
22934 _ACEOF
22935 cat confdefs.h >>conftest.$ac_ext
22936 cat >>conftest.$ac_ext <<_ACEOF
22937 /* end confdefs.h. */
22938 $ac_includes_default
22939 typedef long long ac__type_sizeof_;
22940 int
22941 main ()
22942 {
22943 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22944 test_array [0] = 0
22945
22946 ;
22947 return 0;
22948 }
22949 _ACEOF
22950 rm -f conftest.$ac_objext
22951 if { (ac_try="$ac_compile"
22952 case "(($ac_try" in
22953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22954 *) ac_try_echo=$ac_try;;
22955 esac
22956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22957 (eval "$ac_compile") 2>conftest.er1
22958 ac_status=$?
22959 grep -v '^ *+' conftest.er1 >conftest.err
22960 rm -f conftest.er1
22961 cat conftest.err >&5
22962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22963 (exit $ac_status); } && {
22964 test -z "$ac_c_werror_flag" ||
22965 test ! -s conftest.err
22966 } && test -s conftest.$ac_objext; then
22967 ac_lo=$ac_mid; break
22968 else
22969 echo "$as_me: failed program was:" >&5
22970 sed 's/^/| /' conftest.$ac_ext >&5
22971
22972 ac_hi=`expr '(' $ac_mid ')' - 1`
22973 if test $ac_mid -le $ac_hi; then
22974 ac_lo= ac_hi=
22975 break
22976 fi
22977 ac_mid=`expr 2 '*' $ac_mid`
22978 fi
22979
22980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22981 done
22982 else
22983 echo "$as_me: failed program was:" >&5
22984 sed 's/^/| /' conftest.$ac_ext >&5
22985
22986 ac_lo= ac_hi=
22987 fi
22988
22989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22990 fi
22991
22992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22993 # Binary search between lo and hi bounds.
22994 while test "x$ac_lo" != "x$ac_hi"; do
22995 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22996 cat >conftest.$ac_ext <<_ACEOF
22997 /* confdefs.h. */
22998 _ACEOF
22999 cat confdefs.h >>conftest.$ac_ext
23000 cat >>conftest.$ac_ext <<_ACEOF
23001 /* end confdefs.h. */
23002 $ac_includes_default
23003 typedef long long ac__type_sizeof_;
23004 int
23005 main ()
23006 {
23007 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23008 test_array [0] = 0
23009
23010 ;
23011 return 0;
23012 }
23013 _ACEOF
23014 rm -f conftest.$ac_objext
23015 if { (ac_try="$ac_compile"
23016 case "(($ac_try" in
23017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23018 *) ac_try_echo=$ac_try;;
23019 esac
23020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23021 (eval "$ac_compile") 2>conftest.er1
23022 ac_status=$?
23023 grep -v '^ *+' conftest.er1 >conftest.err
23024 rm -f conftest.er1
23025 cat conftest.err >&5
23026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23027 (exit $ac_status); } && {
23028 test -z "$ac_c_werror_flag" ||
23029 test ! -s conftest.err
23030 } && test -s conftest.$ac_objext; then
23031 ac_hi=$ac_mid
23032 else
23033 echo "$as_me: failed program was:" >&5
23034 sed 's/^/| /' conftest.$ac_ext >&5
23035
23036 ac_lo=`expr '(' $ac_mid ')' + 1`
23037 fi
23038
23039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23040 done
23041 case $ac_lo in
23042 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23043 '') if test "$ac_cv_type_long_long" = yes; then
23044 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23045 See \`config.log' for more details." >&5
23046 echo "$as_me: error: cannot compute sizeof (long long)
23047 See \`config.log' for more details." >&2;}
23048 { (exit 77); exit 77; }; }
23049 else
23050 ac_cv_sizeof_long_long=0
23051 fi ;;
23052 esac
23053 else
23054 cat >conftest.$ac_ext <<_ACEOF
23055 /* confdefs.h. */
23056 _ACEOF
23057 cat confdefs.h >>conftest.$ac_ext
23058 cat >>conftest.$ac_ext <<_ACEOF
23059 /* end confdefs.h. */
23060 $ac_includes_default
23061 typedef long long ac__type_sizeof_;
23062 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23063 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23064 #include <stdio.h>
23065 #include <stdlib.h>
23066 int
23067 main ()
23068 {
23069
23070 FILE *f = fopen ("conftest.val", "w");
23071 if (! f)
23072 return 1;
23073 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23074 {
23075 long int i = longval ();
23076 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23077 return 1;
23078 fprintf (f, "%ld\n", i);
23079 }
23080 else
23081 {
23082 unsigned long int i = ulongval ();
23083 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23084 return 1;
23085 fprintf (f, "%lu\n", i);
23086 }
23087 return ferror (f) || fclose (f) != 0;
23088
23089 ;
23090 return 0;
23091 }
23092 _ACEOF
23093 rm -f conftest$ac_exeext
23094 if { (ac_try="$ac_link"
23095 case "(($ac_try" in
23096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23097 *) ac_try_echo=$ac_try;;
23098 esac
23099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23100 (eval "$ac_link") 2>&5
23101 ac_status=$?
23102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23103 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23104 { (case "(($ac_try" in
23105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23106 *) ac_try_echo=$ac_try;;
23107 esac
23108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23109 (eval "$ac_try") 2>&5
23110 ac_status=$?
23111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23112 (exit $ac_status); }; }; then
23113 ac_cv_sizeof_long_long=`cat conftest.val`
23114 else
23115 echo "$as_me: program exited with status $ac_status" >&5
23116 echo "$as_me: failed program was:" >&5
23117 sed 's/^/| /' conftest.$ac_ext >&5
23118
23119 ( exit $ac_status )
23120 if test "$ac_cv_type_long_long" = yes; then
23121 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23122 See \`config.log' for more details." >&5
23123 echo "$as_me: error: cannot compute sizeof (long long)
23124 See \`config.log' for more details." >&2;}
23125 { (exit 77); exit 77; }; }
23126 else
23127 ac_cv_sizeof_long_long=0
23128 fi
23129 fi
23130 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23131 fi
23132 rm -f conftest.val
23133 fi
23134 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23135 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23136
23137
23138
23139 cat >>confdefs.h <<_ACEOF
23140 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23141 _ACEOF
23142
23143
23144 esac
23145
23146 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23147 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23148 if test "${ac_cv_type_wchar_t+set}" = set; then
23149 echo $ECHO_N "(cached) $ECHO_C" >&6
23150 else
23151 cat >conftest.$ac_ext <<_ACEOF
23152 /* confdefs.h. */
23153 _ACEOF
23154 cat confdefs.h >>conftest.$ac_ext
23155 cat >>conftest.$ac_ext <<_ACEOF
23156 /* end confdefs.h. */
23157
23158 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23159 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23160 # error "fake wchar_t"
23161 #endif
23162 #ifdef HAVE_WCHAR_H
23163 # ifdef __CYGWIN__
23164 # include <stddef.h>
23165 # endif
23166 # include <wchar.h>
23167 #endif
23168 #ifdef HAVE_STDLIB_H
23169 # include <stdlib.h>
23170 #endif
23171 #include <stdio.h>
23172
23173
23174
23175 typedef wchar_t ac__type_new_;
23176 int
23177 main ()
23178 {
23179 if ((ac__type_new_ *) 0)
23180 return 0;
23181 if (sizeof (ac__type_new_))
23182 return 0;
23183 ;
23184 return 0;
23185 }
23186 _ACEOF
23187 rm -f conftest.$ac_objext
23188 if { (ac_try="$ac_compile"
23189 case "(($ac_try" in
23190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23191 *) ac_try_echo=$ac_try;;
23192 esac
23193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23194 (eval "$ac_compile") 2>conftest.er1
23195 ac_status=$?
23196 grep -v '^ *+' conftest.er1 >conftest.err
23197 rm -f conftest.er1
23198 cat conftest.err >&5
23199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23200 (exit $ac_status); } && {
23201 test -z "$ac_c_werror_flag" ||
23202 test ! -s conftest.err
23203 } && test -s conftest.$ac_objext; then
23204 ac_cv_type_wchar_t=yes
23205 else
23206 echo "$as_me: failed program was:" >&5
23207 sed 's/^/| /' conftest.$ac_ext >&5
23208
23209 ac_cv_type_wchar_t=no
23210 fi
23211
23212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23213 fi
23214 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23215 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23216
23217 # The cast to long int works around a bug in the HP C Compiler
23218 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23219 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23220 # This bug is HP SR number 8606223364.
23221 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23222 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23223 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23224 echo $ECHO_N "(cached) $ECHO_C" >&6
23225 else
23226 if test "$cross_compiling" = yes; then
23227 # Depending upon the size, compute the lo and hi bounds.
23228 cat >conftest.$ac_ext <<_ACEOF
23229 /* confdefs.h. */
23230 _ACEOF
23231 cat confdefs.h >>conftest.$ac_ext
23232 cat >>conftest.$ac_ext <<_ACEOF
23233 /* end confdefs.h. */
23234
23235 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23236 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23237 # error "fake wchar_t"
23238 #endif
23239 #ifdef HAVE_WCHAR_H
23240 # ifdef __CYGWIN__
23241 # include <stddef.h>
23242 # endif
23243 # include <wchar.h>
23244 #endif
23245 #ifdef HAVE_STDLIB_H
23246 # include <stdlib.h>
23247 #endif
23248 #include <stdio.h>
23249
23250
23251
23252 typedef wchar_t ac__type_sizeof_;
23253 int
23254 main ()
23255 {
23256 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23257 test_array [0] = 0
23258
23259 ;
23260 return 0;
23261 }
23262 _ACEOF
23263 rm -f conftest.$ac_objext
23264 if { (ac_try="$ac_compile"
23265 case "(($ac_try" in
23266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23267 *) ac_try_echo=$ac_try;;
23268 esac
23269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23270 (eval "$ac_compile") 2>conftest.er1
23271 ac_status=$?
23272 grep -v '^ *+' conftest.er1 >conftest.err
23273 rm -f conftest.er1
23274 cat conftest.err >&5
23275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23276 (exit $ac_status); } && {
23277 test -z "$ac_c_werror_flag" ||
23278 test ! -s conftest.err
23279 } && test -s conftest.$ac_objext; then
23280 ac_lo=0 ac_mid=0
23281 while :; do
23282 cat >conftest.$ac_ext <<_ACEOF
23283 /* confdefs.h. */
23284 _ACEOF
23285 cat confdefs.h >>conftest.$ac_ext
23286 cat >>conftest.$ac_ext <<_ACEOF
23287 /* end confdefs.h. */
23288
23289 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23290 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23291 # error "fake wchar_t"
23292 #endif
23293 #ifdef HAVE_WCHAR_H
23294 # ifdef __CYGWIN__
23295 # include <stddef.h>
23296 # endif
23297 # include <wchar.h>
23298 #endif
23299 #ifdef HAVE_STDLIB_H
23300 # include <stdlib.h>
23301 #endif
23302 #include <stdio.h>
23303
23304
23305
23306 typedef wchar_t ac__type_sizeof_;
23307 int
23308 main ()
23309 {
23310 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23311 test_array [0] = 0
23312
23313 ;
23314 return 0;
23315 }
23316 _ACEOF
23317 rm -f conftest.$ac_objext
23318 if { (ac_try="$ac_compile"
23319 case "(($ac_try" in
23320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23321 *) ac_try_echo=$ac_try;;
23322 esac
23323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23324 (eval "$ac_compile") 2>conftest.er1
23325 ac_status=$?
23326 grep -v '^ *+' conftest.er1 >conftest.err
23327 rm -f conftest.er1
23328 cat conftest.err >&5
23329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23330 (exit $ac_status); } && {
23331 test -z "$ac_c_werror_flag" ||
23332 test ! -s conftest.err
23333 } && test -s conftest.$ac_objext; then
23334 ac_hi=$ac_mid; break
23335 else
23336 echo "$as_me: failed program was:" >&5
23337 sed 's/^/| /' conftest.$ac_ext >&5
23338
23339 ac_lo=`expr $ac_mid + 1`
23340 if test $ac_lo -le $ac_mid; then
23341 ac_lo= ac_hi=
23342 break
23343 fi
23344 ac_mid=`expr 2 '*' $ac_mid + 1`
23345 fi
23346
23347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23348 done
23349 else
23350 echo "$as_me: failed program was:" >&5
23351 sed 's/^/| /' conftest.$ac_ext >&5
23352
23353 cat >conftest.$ac_ext <<_ACEOF
23354 /* confdefs.h. */
23355 _ACEOF
23356 cat confdefs.h >>conftest.$ac_ext
23357 cat >>conftest.$ac_ext <<_ACEOF
23358 /* end confdefs.h. */
23359
23360 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23361 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23362 # error "fake wchar_t"
23363 #endif
23364 #ifdef HAVE_WCHAR_H
23365 # ifdef __CYGWIN__
23366 # include <stddef.h>
23367 # endif
23368 # include <wchar.h>
23369 #endif
23370 #ifdef HAVE_STDLIB_H
23371 # include <stdlib.h>
23372 #endif
23373 #include <stdio.h>
23374
23375
23376
23377 typedef wchar_t ac__type_sizeof_;
23378 int
23379 main ()
23380 {
23381 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23382 test_array [0] = 0
23383
23384 ;
23385 return 0;
23386 }
23387 _ACEOF
23388 rm -f conftest.$ac_objext
23389 if { (ac_try="$ac_compile"
23390 case "(($ac_try" in
23391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23392 *) ac_try_echo=$ac_try;;
23393 esac
23394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23395 (eval "$ac_compile") 2>conftest.er1
23396 ac_status=$?
23397 grep -v '^ *+' conftest.er1 >conftest.err
23398 rm -f conftest.er1
23399 cat conftest.err >&5
23400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23401 (exit $ac_status); } && {
23402 test -z "$ac_c_werror_flag" ||
23403 test ! -s conftest.err
23404 } && test -s conftest.$ac_objext; then
23405 ac_hi=-1 ac_mid=-1
23406 while :; do
23407 cat >conftest.$ac_ext <<_ACEOF
23408 /* confdefs.h. */
23409 _ACEOF
23410 cat confdefs.h >>conftest.$ac_ext
23411 cat >>conftest.$ac_ext <<_ACEOF
23412 /* end confdefs.h. */
23413
23414 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23415 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23416 # error "fake wchar_t"
23417 #endif
23418 #ifdef HAVE_WCHAR_H
23419 # ifdef __CYGWIN__
23420 # include <stddef.h>
23421 # endif
23422 # include <wchar.h>
23423 #endif
23424 #ifdef HAVE_STDLIB_H
23425 # include <stdlib.h>
23426 #endif
23427 #include <stdio.h>
23428
23429
23430
23431 typedef wchar_t ac__type_sizeof_;
23432 int
23433 main ()
23434 {
23435 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23436 test_array [0] = 0
23437
23438 ;
23439 return 0;
23440 }
23441 _ACEOF
23442 rm -f conftest.$ac_objext
23443 if { (ac_try="$ac_compile"
23444 case "(($ac_try" in
23445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23446 *) ac_try_echo=$ac_try;;
23447 esac
23448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23449 (eval "$ac_compile") 2>conftest.er1
23450 ac_status=$?
23451 grep -v '^ *+' conftest.er1 >conftest.err
23452 rm -f conftest.er1
23453 cat conftest.err >&5
23454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23455 (exit $ac_status); } && {
23456 test -z "$ac_c_werror_flag" ||
23457 test ! -s conftest.err
23458 } && test -s conftest.$ac_objext; then
23459 ac_lo=$ac_mid; break
23460 else
23461 echo "$as_me: failed program was:" >&5
23462 sed 's/^/| /' conftest.$ac_ext >&5
23463
23464 ac_hi=`expr '(' $ac_mid ')' - 1`
23465 if test $ac_mid -le $ac_hi; then
23466 ac_lo= ac_hi=
23467 break
23468 fi
23469 ac_mid=`expr 2 '*' $ac_mid`
23470 fi
23471
23472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23473 done
23474 else
23475 echo "$as_me: failed program was:" >&5
23476 sed 's/^/| /' conftest.$ac_ext >&5
23477
23478 ac_lo= ac_hi=
23479 fi
23480
23481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23482 fi
23483
23484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23485 # Binary search between lo and hi bounds.
23486 while test "x$ac_lo" != "x$ac_hi"; do
23487 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23488 cat >conftest.$ac_ext <<_ACEOF
23489 /* confdefs.h. */
23490 _ACEOF
23491 cat confdefs.h >>conftest.$ac_ext
23492 cat >>conftest.$ac_ext <<_ACEOF
23493 /* end confdefs.h. */
23494
23495 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23496 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23497 # error "fake wchar_t"
23498 #endif
23499 #ifdef HAVE_WCHAR_H
23500 # ifdef __CYGWIN__
23501 # include <stddef.h>
23502 # endif
23503 # include <wchar.h>
23504 #endif
23505 #ifdef HAVE_STDLIB_H
23506 # include <stdlib.h>
23507 #endif
23508 #include <stdio.h>
23509
23510
23511
23512 typedef wchar_t ac__type_sizeof_;
23513 int
23514 main ()
23515 {
23516 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23517 test_array [0] = 0
23518
23519 ;
23520 return 0;
23521 }
23522 _ACEOF
23523 rm -f conftest.$ac_objext
23524 if { (ac_try="$ac_compile"
23525 case "(($ac_try" in
23526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23527 *) ac_try_echo=$ac_try;;
23528 esac
23529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23530 (eval "$ac_compile") 2>conftest.er1
23531 ac_status=$?
23532 grep -v '^ *+' conftest.er1 >conftest.err
23533 rm -f conftest.er1
23534 cat conftest.err >&5
23535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23536 (exit $ac_status); } && {
23537 test -z "$ac_c_werror_flag" ||
23538 test ! -s conftest.err
23539 } && test -s conftest.$ac_objext; then
23540 ac_hi=$ac_mid
23541 else
23542 echo "$as_me: failed program was:" >&5
23543 sed 's/^/| /' conftest.$ac_ext >&5
23544
23545 ac_lo=`expr '(' $ac_mid ')' + 1`
23546 fi
23547
23548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23549 done
23550 case $ac_lo in
23551 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23552 '') if test "$ac_cv_type_wchar_t" = yes; then
23553 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23554 See \`config.log' for more details." >&5
23555 echo "$as_me: error: cannot compute sizeof (wchar_t)
23556 See \`config.log' for more details." >&2;}
23557 { (exit 77); exit 77; }; }
23558 else
23559 ac_cv_sizeof_wchar_t=0
23560 fi ;;
23561 esac
23562 else
23563 cat >conftest.$ac_ext <<_ACEOF
23564 /* confdefs.h. */
23565 _ACEOF
23566 cat confdefs.h >>conftest.$ac_ext
23567 cat >>conftest.$ac_ext <<_ACEOF
23568 /* end confdefs.h. */
23569
23570 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23571 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23572 # error "fake wchar_t"
23573 #endif
23574 #ifdef HAVE_WCHAR_H
23575 # ifdef __CYGWIN__
23576 # include <stddef.h>
23577 # endif
23578 # include <wchar.h>
23579 #endif
23580 #ifdef HAVE_STDLIB_H
23581 # include <stdlib.h>
23582 #endif
23583 #include <stdio.h>
23584
23585
23586
23587 typedef wchar_t ac__type_sizeof_;
23588 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23589 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23590 #include <stdio.h>
23591 #include <stdlib.h>
23592 int
23593 main ()
23594 {
23595
23596 FILE *f = fopen ("conftest.val", "w");
23597 if (! f)
23598 return 1;
23599 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23600 {
23601 long int i = longval ();
23602 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23603 return 1;
23604 fprintf (f, "%ld\n", i);
23605 }
23606 else
23607 {
23608 unsigned long int i = ulongval ();
23609 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23610 return 1;
23611 fprintf (f, "%lu\n", i);
23612 }
23613 return ferror (f) || fclose (f) != 0;
23614
23615 ;
23616 return 0;
23617 }
23618 _ACEOF
23619 rm -f conftest$ac_exeext
23620 if { (ac_try="$ac_link"
23621 case "(($ac_try" in
23622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23623 *) ac_try_echo=$ac_try;;
23624 esac
23625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23626 (eval "$ac_link") 2>&5
23627 ac_status=$?
23628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23629 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23630 { (case "(($ac_try" in
23631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23632 *) ac_try_echo=$ac_try;;
23633 esac
23634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23635 (eval "$ac_try") 2>&5
23636 ac_status=$?
23637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23638 (exit $ac_status); }; }; then
23639 ac_cv_sizeof_wchar_t=`cat conftest.val`
23640 else
23641 echo "$as_me: program exited with status $ac_status" >&5
23642 echo "$as_me: failed program was:" >&5
23643 sed 's/^/| /' conftest.$ac_ext >&5
23644
23645 ( exit $ac_status )
23646 if test "$ac_cv_type_wchar_t" = yes; then
23647 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23648 See \`config.log' for more details." >&5
23649 echo "$as_me: error: cannot compute sizeof (wchar_t)
23650 See \`config.log' for more details." >&2;}
23651 { (exit 77); exit 77; }; }
23652 else
23653 ac_cv_sizeof_wchar_t=0
23654 fi
23655 fi
23656 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23657 fi
23658 rm -f conftest.val
23659 fi
23660 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23661 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23662
23663
23664
23665 cat >>confdefs.h <<_ACEOF
23666 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23667 _ACEOF
23668
23669
23670 if test "$ac_cv_sizeof_wchar_t" != 0; then
23671 wxUSE_WCHAR_T=yes
23672 else
23673 wxUSE_WCHAR_T=no
23674 fi
23675
23676 { echo "$as_me:$LINENO: checking for va_copy" >&5
23677 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23678 if test "${wx_cv_func_va_copy+set}" = set; then
23679 echo $ECHO_N "(cached) $ECHO_C" >&6
23680 else
23681
23682 ac_ext=cpp
23683 ac_cpp='$CXXCPP $CPPFLAGS'
23684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23687
23688 cat >conftest.$ac_ext <<_ACEOF
23689
23690 #include <stdarg.h>
23691 void foo(char *f, ...)
23692 {
23693 va_list ap1, ap2;
23694 va_start(ap1, f);
23695 va_copy(ap2, ap1);
23696 va_end(ap2);
23697 va_end(ap1);
23698 }
23699 int main()
23700 {
23701 foo("hi", 17);
23702 return 0;
23703 }
23704 _ACEOF
23705 rm -f conftest.$ac_objext conftest$ac_exeext
23706 if { (ac_try="$ac_link"
23707 case "(($ac_try" in
23708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23709 *) ac_try_echo=$ac_try;;
23710 esac
23711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23712 (eval "$ac_link") 2>conftest.er1
23713 ac_status=$?
23714 grep -v '^ *+' conftest.er1 >conftest.err
23715 rm -f conftest.er1
23716 cat conftest.err >&5
23717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23718 (exit $ac_status); } && {
23719 test -z "$ac_cxx_werror_flag" ||
23720 test ! -s conftest.err
23721 } && test -s conftest$ac_exeext &&
23722 $as_test_x conftest$ac_exeext; then
23723 wx_cv_func_va_copy=yes
23724 else
23725 echo "$as_me: failed program was:" >&5
23726 sed 's/^/| /' conftest.$ac_ext >&5
23727
23728 wx_cv_func_va_copy=no
23729
23730 fi
23731
23732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23733 conftest$ac_exeext conftest.$ac_ext
23734 ac_ext=c
23735 ac_cpp='$CPP $CPPFLAGS'
23736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23739
23740
23741
23742 fi
23743 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23744 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23745
23746 if test $wx_cv_func_va_copy = "yes"; then
23747 cat >>confdefs.h <<\_ACEOF
23748 #define HAVE_VA_COPY 1
23749 _ACEOF
23750
23751 else
23752 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23753 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23754 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23755 echo $ECHO_N "(cached) $ECHO_C" >&6
23756 else
23757
23758 if test "$cross_compiling" = yes; then
23759 wx_cv_type_va_list_lvalue=yes
23760
23761 else
23762 cat >conftest.$ac_ext <<_ACEOF
23763
23764 #include <stdarg.h>
23765 int foo(char *f, ...)
23766 {
23767 va_list ap1, ap2;
23768 va_start(ap1, f);
23769 ap2 = ap1;
23770 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23771 return 1;
23772 va_end(ap2);
23773 va_end(ap1);
23774 return 0;
23775 }
23776 int main()
23777 {
23778 return foo("hi", 17);
23779 }
23780 _ACEOF
23781 rm -f conftest$ac_exeext
23782 if { (ac_try="$ac_link"
23783 case "(($ac_try" in
23784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23785 *) ac_try_echo=$ac_try;;
23786 esac
23787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23788 (eval "$ac_link") 2>&5
23789 ac_status=$?
23790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23791 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23792 { (case "(($ac_try" in
23793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23794 *) ac_try_echo=$ac_try;;
23795 esac
23796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23797 (eval "$ac_try") 2>&5
23798 ac_status=$?
23799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23800 (exit $ac_status); }; }; then
23801 wx_cv_type_va_list_lvalue=yes
23802 else
23803 echo "$as_me: program exited with status $ac_status" >&5
23804 echo "$as_me: failed program was:" >&5
23805 sed 's/^/| /' conftest.$ac_ext >&5
23806
23807 ( exit $ac_status )
23808 wx_cv_type_va_list_lvalue=no
23809 fi
23810 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23811 fi
23812
23813
23814
23815
23816 fi
23817 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23818 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23819
23820 if test $wx_cv_type_va_list_lvalue != "yes"; then
23821 cat >>confdefs.h <<\_ACEOF
23822 #define VA_LIST_IS_ARRAY 1
23823 _ACEOF
23824
23825 fi
23826 fi
23827
23828 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23829
23830 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23831 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23832 if test "${wx_cv_have_variadic_macros+set}" = set; then
23833 echo $ECHO_N "(cached) $ECHO_C" >&6
23834 else
23835
23836 ac_ext=cpp
23837 ac_cpp='$CXXCPP $CPPFLAGS'
23838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23841
23842 cat >conftest.$ac_ext <<_ACEOF
23843 /* confdefs.h. */
23844 _ACEOF
23845 cat confdefs.h >>conftest.$ac_ext
23846 cat >>conftest.$ac_ext <<_ACEOF
23847 /* end confdefs.h. */
23848
23849 #include <stdio.h>
23850 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23851
23852 int
23853 main ()
23854 {
23855
23856 test("%s %d %p", "test", 1, 0);
23857
23858
23859 ;
23860 return 0;
23861 }
23862 _ACEOF
23863 rm -f conftest.$ac_objext
23864 if { (ac_try="$ac_compile"
23865 case "(($ac_try" in
23866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23867 *) ac_try_echo=$ac_try;;
23868 esac
23869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23870 (eval "$ac_compile") 2>conftest.er1
23871 ac_status=$?
23872 grep -v '^ *+' conftest.er1 >conftest.err
23873 rm -f conftest.er1
23874 cat conftest.err >&5
23875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23876 (exit $ac_status); } && {
23877 test -z "$ac_cxx_werror_flag" ||
23878 test ! -s conftest.err
23879 } && test -s conftest.$ac_objext; then
23880 wx_cv_have_variadic_macros=yes
23881 else
23882 echo "$as_me: failed program was:" >&5
23883 sed 's/^/| /' conftest.$ac_ext >&5
23884
23885 wx_cv_have_variadic_macros=no
23886
23887 fi
23888
23889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23890 ac_ext=c
23891 ac_cpp='$CPP $CPPFLAGS'
23892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23895
23896
23897
23898 fi
23899 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23900 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23901
23902 if test $wx_cv_have_variadic_macros = "yes"; then
23903 cat >>confdefs.h <<\_ACEOF
23904 #define HAVE_VARIADIC_MACROS 1
23905 _ACEOF
23906
23907 fi
23908
23909 fi
23910
23911 LARGEFILE_CPPFLAGS=
23912 # Check whether --enable-largefile was given.
23913 if test "${enable_largefile+set}" = set; then
23914 enableval=$enable_largefile;
23915 fi
23916
23917 if test "$enable_largefile" != no; then
23918 wx_largefile=no
23919
23920 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23921 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23922 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23923 echo $ECHO_N "(cached) $ECHO_C" >&6
23924 else
23925
23926 cat >conftest.$ac_ext <<_ACEOF
23927 /* confdefs.h. */
23928 _ACEOF
23929 cat confdefs.h >>conftest.$ac_ext
23930 cat >>conftest.$ac_ext <<_ACEOF
23931 /* end confdefs.h. */
23932 #define _FILE_OFFSET_BITS 64
23933 #include <sys/types.h>
23934 int
23935 main ()
23936 {
23937 typedef struct {
23938 unsigned int field: sizeof(off_t) == 8;
23939 } wxlf;
23940
23941 ;
23942 return 0;
23943 }
23944 _ACEOF
23945 rm -f conftest.$ac_objext
23946 if { (ac_try="$ac_compile"
23947 case "(($ac_try" in
23948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23949 *) ac_try_echo=$ac_try;;
23950 esac
23951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23952 (eval "$ac_compile") 2>conftest.er1
23953 ac_status=$?
23954 grep -v '^ *+' conftest.er1 >conftest.err
23955 rm -f conftest.er1
23956 cat conftest.err >&5
23957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23958 (exit $ac_status); } && {
23959 test -z "$ac_c_werror_flag" ||
23960 test ! -s conftest.err
23961 } && test -s conftest.$ac_objext; then
23962 ac_cv_sys_file_offset_bits=64
23963 else
23964 echo "$as_me: failed program was:" >&5
23965 sed 's/^/| /' conftest.$ac_ext >&5
23966
23967 ac_cv_sys_file_offset_bits=no
23968 fi
23969
23970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23971
23972
23973 fi
23974 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23975 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23976
23977 if test "$ac_cv_sys_file_offset_bits" != no; then
23978 wx_largefile=yes
23979 cat >>confdefs.h <<_ACEOF
23980 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23981 _ACEOF
23982
23983 fi
23984
23985 if test "x$wx_largefile" != "xyes"; then
23986
23987 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23988 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23989 if test "${ac_cv_sys_large_files+set}" = set; then
23990 echo $ECHO_N "(cached) $ECHO_C" >&6
23991 else
23992
23993 cat >conftest.$ac_ext <<_ACEOF
23994 /* confdefs.h. */
23995 _ACEOF
23996 cat confdefs.h >>conftest.$ac_ext
23997 cat >>conftest.$ac_ext <<_ACEOF
23998 /* end confdefs.h. */
23999 #define _LARGE_FILES 1
24000 #include <sys/types.h>
24001 int
24002 main ()
24003 {
24004 typedef struct {
24005 unsigned int field: sizeof(off_t) == 8;
24006 } wxlf;
24007
24008 ;
24009 return 0;
24010 }
24011 _ACEOF
24012 rm -f conftest.$ac_objext
24013 if { (ac_try="$ac_compile"
24014 case "(($ac_try" in
24015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24016 *) ac_try_echo=$ac_try;;
24017 esac
24018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24019 (eval "$ac_compile") 2>conftest.er1
24020 ac_status=$?
24021 grep -v '^ *+' conftest.er1 >conftest.err
24022 rm -f conftest.er1
24023 cat conftest.err >&5
24024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24025 (exit $ac_status); } && {
24026 test -z "$ac_c_werror_flag" ||
24027 test ! -s conftest.err
24028 } && test -s conftest.$ac_objext; then
24029 ac_cv_sys_large_files=1
24030 else
24031 echo "$as_me: failed program was:" >&5
24032 sed 's/^/| /' conftest.$ac_ext >&5
24033
24034 ac_cv_sys_large_files=no
24035 fi
24036
24037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24038
24039
24040 fi
24041 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24042 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24043
24044 if test "$ac_cv_sys_large_files" != no; then
24045 wx_largefile=yes
24046 cat >>confdefs.h <<_ACEOF
24047 #define _LARGE_FILES $ac_cv_sys_large_files
24048 _ACEOF
24049
24050 fi
24051
24052 fi
24053
24054 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24055 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24056 if test "x$wx_largefile" = "xyes"; then
24057 cat >>confdefs.h <<\_ACEOF
24058 #define HAVE_LARGEFILE_SUPPORT 1
24059 _ACEOF
24060
24061 fi
24062 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24063 echo "${ECHO_T}$wx_largefile" >&6; }
24064 fi
24065
24066 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24067 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24068 elif test "$ac_cv_sys_large_files" = 1; then
24069 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24070 fi
24071
24072 if test -n "$LARGEFILE_CPPFLAGS"; then
24073 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24074
24075 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24076 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24077 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24078 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24079 echo $ECHO_N "(cached) $ECHO_C" >&6
24080 else
24081
24082 ac_ext=cpp
24083 ac_cpp='$CXXCPP $CPPFLAGS'
24084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24087
24088 cat >conftest.$ac_ext <<_ACEOF
24089 /* confdefs.h. */
24090 _ACEOF
24091 cat confdefs.h >>conftest.$ac_ext
24092 cat >>conftest.$ac_ext <<_ACEOF
24093 /* end confdefs.h. */
24094
24095 int
24096 main ()
24097 {
24098
24099 #ifndef __STDC_EXT__
24100 choke me
24101 #endif
24102
24103 ;
24104 return 0;
24105 }
24106 _ACEOF
24107 rm -f conftest.$ac_objext
24108 if { (ac_try="$ac_compile"
24109 case "(($ac_try" in
24110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24111 *) ac_try_echo=$ac_try;;
24112 esac
24113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24114 (eval "$ac_compile") 2>conftest.er1
24115 ac_status=$?
24116 grep -v '^ *+' conftest.er1 >conftest.err
24117 rm -f conftest.er1
24118 cat conftest.err >&5
24119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24120 (exit $ac_status); } && {
24121 test -z "$ac_cxx_werror_flag" ||
24122 test ! -s conftest.err
24123 } && test -s conftest.$ac_objext; then
24124 wx_cv_STDC_EXT_required=no
24125 else
24126 echo "$as_me: failed program was:" >&5
24127 sed 's/^/| /' conftest.$ac_ext >&5
24128
24129 wx_cv_STDC_EXT_required=yes
24130
24131 fi
24132
24133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24134 ac_ext=c
24135 ac_cpp='$CPP $CPPFLAGS'
24136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24139
24140
24141
24142 fi
24143 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24144 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24145 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24146 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24147 fi
24148 fi
24149 fi
24150
24151 ac_ext=cpp
24152 ac_cpp='$CXXCPP $CPPFLAGS'
24153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24156
24157 old_CPPFLAGS="$CPPFLAGS"
24158 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24159 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24160 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24161 if test "${ac_cv_sys_largefile_source+set}" = set; then
24162 echo $ECHO_N "(cached) $ECHO_C" >&6
24163 else
24164 while :; do
24165 cat >conftest.$ac_ext <<_ACEOF
24166 /* confdefs.h. */
24167 _ACEOF
24168 cat confdefs.h >>conftest.$ac_ext
24169 cat >>conftest.$ac_ext <<_ACEOF
24170 /* end confdefs.h. */
24171 #include <sys/types.h> /* for off_t */
24172 #include <stdio.h>
24173 int
24174 main ()
24175 {
24176 int (*fp) (FILE *, off_t, int) = fseeko;
24177 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24178 ;
24179 return 0;
24180 }
24181 _ACEOF
24182 rm -f conftest.$ac_objext conftest$ac_exeext
24183 if { (ac_try="$ac_link"
24184 case "(($ac_try" in
24185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24186 *) ac_try_echo=$ac_try;;
24187 esac
24188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24189 (eval "$ac_link") 2>conftest.er1
24190 ac_status=$?
24191 grep -v '^ *+' conftest.er1 >conftest.err
24192 rm -f conftest.er1
24193 cat conftest.err >&5
24194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24195 (exit $ac_status); } && {
24196 test -z "$ac_cxx_werror_flag" ||
24197 test ! -s conftest.err
24198 } && test -s conftest$ac_exeext &&
24199 $as_test_x conftest$ac_exeext; then
24200 ac_cv_sys_largefile_source=no; break
24201 else
24202 echo "$as_me: failed program was:" >&5
24203 sed 's/^/| /' conftest.$ac_ext >&5
24204
24205
24206 fi
24207
24208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24209 conftest$ac_exeext conftest.$ac_ext
24210 cat >conftest.$ac_ext <<_ACEOF
24211 /* confdefs.h. */
24212 _ACEOF
24213 cat confdefs.h >>conftest.$ac_ext
24214 cat >>conftest.$ac_ext <<_ACEOF
24215 /* end confdefs.h. */
24216 #define _LARGEFILE_SOURCE 1
24217 #include <sys/types.h> /* for off_t */
24218 #include <stdio.h>
24219 int
24220 main ()
24221 {
24222 int (*fp) (FILE *, off_t, int) = fseeko;
24223 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24224 ;
24225 return 0;
24226 }
24227 _ACEOF
24228 rm -f conftest.$ac_objext conftest$ac_exeext
24229 if { (ac_try="$ac_link"
24230 case "(($ac_try" in
24231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24232 *) ac_try_echo=$ac_try;;
24233 esac
24234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24235 (eval "$ac_link") 2>conftest.er1
24236 ac_status=$?
24237 grep -v '^ *+' conftest.er1 >conftest.err
24238 rm -f conftest.er1
24239 cat conftest.err >&5
24240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24241 (exit $ac_status); } && {
24242 test -z "$ac_cxx_werror_flag" ||
24243 test ! -s conftest.err
24244 } && test -s conftest$ac_exeext &&
24245 $as_test_x conftest$ac_exeext; then
24246 ac_cv_sys_largefile_source=1; break
24247 else
24248 echo "$as_me: failed program was:" >&5
24249 sed 's/^/| /' conftest.$ac_ext >&5
24250
24251
24252 fi
24253
24254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24255 conftest$ac_exeext conftest.$ac_ext
24256 ac_cv_sys_largefile_source=unknown
24257 break
24258 done
24259 fi
24260 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24261 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24262 case $ac_cv_sys_largefile_source in #(
24263 no | unknown) ;;
24264 *)
24265 cat >>confdefs.h <<_ACEOF
24266 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24267 _ACEOF
24268 ;;
24269 esac
24270 rm -f conftest*
24271
24272 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24273 # in glibc 2.1.3, but that breaks too many other things.
24274 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24275 if test $ac_cv_sys_largefile_source != unknown; then
24276
24277 cat >>confdefs.h <<\_ACEOF
24278 #define HAVE_FSEEKO 1
24279 _ACEOF
24280
24281 fi
24282
24283 CPPFLAGS="$old_CPPFLAGS"
24284 ac_ext=c
24285 ac_cpp='$CPP $CPPFLAGS'
24286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24289
24290 if test "$ac_cv_sys_largefile_source" != no; then
24291 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24292 fi
24293
24294 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24295 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24296 if test "${ac_cv_c_bigendian+set}" = set; then
24297 echo $ECHO_N "(cached) $ECHO_C" >&6
24298 else
24299 ac_cv_c_bigendian=unknown
24300 # See if sys/param.h defines the BYTE_ORDER macro.
24301 cat >conftest.$ac_ext <<_ACEOF
24302 /* confdefs.h. */
24303 _ACEOF
24304 cat confdefs.h >>conftest.$ac_ext
24305 cat >>conftest.$ac_ext <<_ACEOF
24306 /* end confdefs.h. */
24307 #include <sys/types.h>
24308 #include <sys/param.h>
24309 int
24310 main ()
24311 {
24312
24313 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24314 bogus endian macros
24315 #endif
24316 ;
24317 return 0;
24318 }
24319 _ACEOF
24320 rm -f conftest.$ac_objext
24321 if { (ac_try="$ac_compile"
24322 case "(($ac_try" in
24323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24324 *) ac_try_echo=$ac_try;;
24325 esac
24326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24327 (eval "$ac_compile") 2>conftest.er1
24328 ac_status=$?
24329 grep -v '^ *+' conftest.er1 >conftest.err
24330 rm -f conftest.er1
24331 cat conftest.err >&5
24332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24333 (exit $ac_status); } && {
24334 test -z "$ac_c_werror_flag" ||
24335 test ! -s conftest.err
24336 } && test -s conftest.$ac_objext; then
24337 # It does; now see whether it defined to BIG_ENDIAN or not.
24338 cat >conftest.$ac_ext <<_ACEOF
24339 /* confdefs.h. */
24340 _ACEOF
24341 cat confdefs.h >>conftest.$ac_ext
24342 cat >>conftest.$ac_ext <<_ACEOF
24343 /* end confdefs.h. */
24344 #include <sys/types.h>
24345 #include <sys/param.h>
24346 int
24347 main ()
24348 {
24349
24350 #if BYTE_ORDER != BIG_ENDIAN
24351 not big endian
24352 #endif
24353 ;
24354 return 0;
24355 }
24356 _ACEOF
24357 rm -f conftest.$ac_objext
24358 if { (ac_try="$ac_compile"
24359 case "(($ac_try" in
24360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24361 *) ac_try_echo=$ac_try;;
24362 esac
24363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24364 (eval "$ac_compile") 2>conftest.er1
24365 ac_status=$?
24366 grep -v '^ *+' conftest.er1 >conftest.err
24367 rm -f conftest.er1
24368 cat conftest.err >&5
24369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24370 (exit $ac_status); } && {
24371 test -z "$ac_c_werror_flag" ||
24372 test ! -s conftest.err
24373 } && test -s conftest.$ac_objext; then
24374 ac_cv_c_bigendian=yes
24375 else
24376 echo "$as_me: failed program was:" >&5
24377 sed 's/^/| /' conftest.$ac_ext >&5
24378
24379 ac_cv_c_bigendian=no
24380 fi
24381
24382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24383 else
24384 echo "$as_me: failed program was:" >&5
24385 sed 's/^/| /' conftest.$ac_ext >&5
24386
24387
24388 fi
24389
24390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24391 if test $ac_cv_c_bigendian = unknown; then
24392 if test "$cross_compiling" = yes; then
24393 ac_cv_c_bigendian=unknown
24394 else
24395 cat >conftest.$ac_ext <<_ACEOF
24396 /* confdefs.h. */
24397 _ACEOF
24398 cat confdefs.h >>conftest.$ac_ext
24399 cat >>conftest.$ac_ext <<_ACEOF
24400 /* end confdefs.h. */
24401 main () {
24402 /* Are we little or big endian? From Harbison&Steele. */
24403 union
24404 {
24405 long l;
24406 char c[sizeof (long)];
24407 } u;
24408 u.l = 1;
24409 exit (u.c[sizeof (long) - 1] == 1);
24410 }
24411 _ACEOF
24412 rm -f conftest$ac_exeext
24413 if { (ac_try="$ac_link"
24414 case "(($ac_try" in
24415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24416 *) ac_try_echo=$ac_try;;
24417 esac
24418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24419 (eval "$ac_link") 2>&5
24420 ac_status=$?
24421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24422 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24423 { (case "(($ac_try" in
24424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24425 *) ac_try_echo=$ac_try;;
24426 esac
24427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24428 (eval "$ac_try") 2>&5
24429 ac_status=$?
24430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24431 (exit $ac_status); }; }; then
24432 ac_cv_c_bigendian=no
24433 else
24434 echo "$as_me: program exited with status $ac_status" >&5
24435 echo "$as_me: failed program was:" >&5
24436 sed 's/^/| /' conftest.$ac_ext >&5
24437
24438 ( exit $ac_status )
24439 ac_cv_c_bigendian=yes
24440 fi
24441 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24442 fi
24443
24444
24445 fi
24446 fi
24447 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24448 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24449 if test $ac_cv_c_bigendian = unknown; then
24450 { echo "$as_me:$LINENO: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
24451 echo "$as_me: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
24452 fi
24453 if test $ac_cv_c_bigendian = yes; then
24454 cat >>confdefs.h <<\_ACEOF
24455 #define WORDS_BIGENDIAN 1
24456 _ACEOF
24457
24458 fi
24459
24460
24461
24462
24463 ac_ext=cpp
24464 ac_cpp='$CXXCPP $CPPFLAGS'
24465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24468
24469
24470
24471 for ac_header in iostream
24472 do
24473 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24474 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24475 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24476 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24477 echo $ECHO_N "(cached) $ECHO_C" >&6
24478 else
24479 cat >conftest.$ac_ext <<_ACEOF
24480 /* confdefs.h. */
24481 _ACEOF
24482 cat confdefs.h >>conftest.$ac_ext
24483 cat >>conftest.$ac_ext <<_ACEOF
24484 /* end confdefs.h. */
24485
24486
24487 #include <$ac_header>
24488 _ACEOF
24489 rm -f conftest.$ac_objext
24490 if { (ac_try="$ac_compile"
24491 case "(($ac_try" in
24492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24493 *) ac_try_echo=$ac_try;;
24494 esac
24495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24496 (eval "$ac_compile") 2>conftest.er1
24497 ac_status=$?
24498 grep -v '^ *+' conftest.er1 >conftest.err
24499 rm -f conftest.er1
24500 cat conftest.err >&5
24501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24502 (exit $ac_status); } && {
24503 test -z "$ac_cxx_werror_flag" ||
24504 test ! -s conftest.err
24505 } && test -s conftest.$ac_objext; then
24506 eval "$as_ac_Header=yes"
24507 else
24508 echo "$as_me: failed program was:" >&5
24509 sed 's/^/| /' conftest.$ac_ext >&5
24510
24511 eval "$as_ac_Header=no"
24512 fi
24513
24514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24515 fi
24516 ac_res=`eval echo '${'$as_ac_Header'}'`
24517 { echo "$as_me:$LINENO: result: $ac_res" >&5
24518 echo "${ECHO_T}$ac_res" >&6; }
24519 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24520 cat >>confdefs.h <<_ACEOF
24521 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24522 _ACEOF
24523
24524 fi
24525
24526 done
24527
24528
24529 if test "$ac_cv_header_iostream" = "yes" ; then
24530 :
24531 else
24532 cat >>confdefs.h <<\_ACEOF
24533 #define wxUSE_IOSTREAMH 1
24534 _ACEOF
24535
24536 fi
24537
24538 ac_ext=c
24539 ac_cpp='$CPP $CPPFLAGS'
24540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24543
24544
24545
24546
24547 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24548 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24549 if test "${wx_cv_explicit+set}" = set; then
24550 echo $ECHO_N "(cached) $ECHO_C" >&6
24551 else
24552
24553
24554 ac_ext=cpp
24555 ac_cpp='$CXXCPP $CPPFLAGS'
24556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24559
24560
24561 cat >conftest.$ac_ext <<_ACEOF
24562 /* confdefs.h. */
24563 _ACEOF
24564 cat confdefs.h >>conftest.$ac_ext
24565 cat >>conftest.$ac_ext <<_ACEOF
24566 /* end confdefs.h. */
24567
24568 class Foo { public: explicit Foo(int) {} };
24569
24570 int
24571 main ()
24572 {
24573
24574 return 0;
24575
24576 ;
24577 return 0;
24578 }
24579 _ACEOF
24580 rm -f conftest.$ac_objext
24581 if { (ac_try="$ac_compile"
24582 case "(($ac_try" in
24583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24584 *) ac_try_echo=$ac_try;;
24585 esac
24586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24587 (eval "$ac_compile") 2>conftest.er1
24588 ac_status=$?
24589 grep -v '^ *+' conftest.er1 >conftest.err
24590 rm -f conftest.er1
24591 cat conftest.err >&5
24592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24593 (exit $ac_status); } && {
24594 test -z "$ac_cxx_werror_flag" ||
24595 test ! -s conftest.err
24596 } && test -s conftest.$ac_objext; then
24597
24598 cat >conftest.$ac_ext <<_ACEOF
24599 /* confdefs.h. */
24600 _ACEOF
24601 cat confdefs.h >>conftest.$ac_ext
24602 cat >>conftest.$ac_ext <<_ACEOF
24603 /* end confdefs.h. */
24604
24605 class Foo { public: explicit Foo(int) {} };
24606 static void TakeFoo(const Foo& foo) { }
24607
24608 int
24609 main ()
24610 {
24611
24612 TakeFoo(17);
24613 return 0;
24614
24615 ;
24616 return 0;
24617 }
24618 _ACEOF
24619 rm -f conftest.$ac_objext
24620 if { (ac_try="$ac_compile"
24621 case "(($ac_try" in
24622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24623 *) ac_try_echo=$ac_try;;
24624 esac
24625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24626 (eval "$ac_compile") 2>conftest.er1
24627 ac_status=$?
24628 grep -v '^ *+' conftest.er1 >conftest.err
24629 rm -f conftest.er1
24630 cat conftest.err >&5
24631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24632 (exit $ac_status); } && {
24633 test -z "$ac_cxx_werror_flag" ||
24634 test ! -s conftest.err
24635 } && test -s conftest.$ac_objext; then
24636 wx_cv_explicit=no
24637 else
24638 echo "$as_me: failed program was:" >&5
24639 sed 's/^/| /' conftest.$ac_ext >&5
24640
24641 wx_cv_explicit=yes
24642
24643 fi
24644
24645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24646
24647 else
24648 echo "$as_me: failed program was:" >&5
24649 sed 's/^/| /' conftest.$ac_ext >&5
24650
24651 wx_cv_explicit=no
24652
24653 fi
24654
24655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24656
24657 ac_ext=c
24658 ac_cpp='$CPP $CPPFLAGS'
24659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24662
24663
24664 fi
24665 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24666 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24667
24668 if test "$wx_cv_explicit" = "yes"; then
24669 cat >>confdefs.h <<\_ACEOF
24670 #define HAVE_EXPLICIT 1
24671 _ACEOF
24672
24673 fi
24674
24675
24676 if test "x$SUNCXX" = xyes; then
24677 CXXFLAGS="-features=tmplife $CXXFLAGS"
24678 fi
24679
24680 if test "x$SUNCC" = xyes; then
24681 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24682 fi
24683
24684 if test "x$SGICC" = "xyes"; then
24685 CFLAGS="-woff 3970 $CFLAGS"
24686 fi
24687 if test "x$SGICXX" = "xyes"; then
24688 CXXFLAGS="-woff 3970 $CXXFLAGS"
24689 fi
24690
24691 if test "x$HPCC" = "xyes"; then
24692 CFLAGS="+W 2011,2450 $CFLAGS"
24693 fi
24694 if test "x$HPCXX" = "xyes"; then
24695 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24696 fi
24697
24698 if test "x$COMPAQCXX" = "xyes"; then
24699 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24700 fi
24701
24702 ac_ext=cpp
24703 ac_cpp='$CXXCPP $CPPFLAGS'
24704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24707
24708
24709 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24710 if test "$wxUSE_UNICODE" = "yes"; then
24711 std_string="std::wstring"
24712 char_type="wchar_t"
24713 else
24714 std_string="std::string"
24715 char_type="char"
24716 fi
24717
24718 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24719 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24720 if test "${wx_cv_class_stdstring+set}" = set; then
24721 echo $ECHO_N "(cached) $ECHO_C" >&6
24722 else
24723
24724 cat >conftest.$ac_ext <<_ACEOF
24725 /* confdefs.h. */
24726 _ACEOF
24727 cat confdefs.h >>conftest.$ac_ext
24728 cat >>conftest.$ac_ext <<_ACEOF
24729 /* end confdefs.h. */
24730 #include <string>
24731 int
24732 main ()
24733 {
24734 $std_string foo;
24735 ;
24736 return 0;
24737 }
24738 _ACEOF
24739 rm -f conftest.$ac_objext
24740 if { (ac_try="$ac_compile"
24741 case "(($ac_try" in
24742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24743 *) ac_try_echo=$ac_try;;
24744 esac
24745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24746 (eval "$ac_compile") 2>conftest.er1
24747 ac_status=$?
24748 grep -v '^ *+' conftest.er1 >conftest.err
24749 rm -f conftest.er1
24750 cat conftest.err >&5
24751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24752 (exit $ac_status); } && {
24753 test -z "$ac_cxx_werror_flag" ||
24754 test ! -s conftest.err
24755 } && test -s conftest.$ac_objext; then
24756 wx_cv_class_stdstring=yes
24757 else
24758 echo "$as_me: failed program was:" >&5
24759 sed 's/^/| /' conftest.$ac_ext >&5
24760
24761 wx_cv_class_stdstring=no
24762
24763 fi
24764
24765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24766
24767
24768 fi
24769 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24770 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24771
24772 if test "$wx_cv_class_stdstring" = yes; then
24773 if test "$wxUSE_UNICODE" = "yes"; then
24774 cat >>confdefs.h <<\_ACEOF
24775 #define HAVE_STD_WSTRING 1
24776 _ACEOF
24777
24778 fi
24779 else
24780 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24781 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24782 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24783 echo $ECHO_N "(cached) $ECHO_C" >&6
24784 else
24785
24786 cat >conftest.$ac_ext <<_ACEOF
24787 /* confdefs.h. */
24788 _ACEOF
24789 cat confdefs.h >>conftest.$ac_ext
24790 cat >>conftest.$ac_ext <<_ACEOF
24791 /* end confdefs.h. */
24792
24793 #ifdef HAVE_WCHAR_H
24794 # ifdef __CYGWIN__
24795 # include <stddef.h>
24796 # endif
24797 # include <wchar.h>
24798 #endif
24799 #ifdef HAVE_STDLIB_H
24800 # include <stdlib.h>
24801 #endif
24802 #include <stdio.h>
24803 #include <string>
24804
24805 int
24806 main ()
24807 {
24808 std::basic_string<$char_type> foo;
24809 const $char_type* dummy = foo.c_str();
24810 ;
24811 return 0;
24812 }
24813 _ACEOF
24814 rm -f conftest.$ac_objext
24815 if { (ac_try="$ac_compile"
24816 case "(($ac_try" in
24817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24818 *) ac_try_echo=$ac_try;;
24819 esac
24820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24821 (eval "$ac_compile") 2>conftest.er1
24822 ac_status=$?
24823 grep -v '^ *+' conftest.er1 >conftest.err
24824 rm -f conftest.er1
24825 cat conftest.err >&5
24826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24827 (exit $ac_status); } && {
24828 test -z "$ac_cxx_werror_flag" ||
24829 test ! -s conftest.err
24830 } && test -s conftest.$ac_objext; then
24831 wx_cv_class_stdbasicstring=yes
24832 else
24833 echo "$as_me: failed program was:" >&5
24834 sed 's/^/| /' conftest.$ac_ext >&5
24835
24836 wx_cv_class_stdbasicstring=no
24837
24838 fi
24839
24840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24841
24842
24843 fi
24844 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24845 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24846
24847 if test "$wx_cv_class_stdbasicstring" != yes; then
24848 if test "$wxUSE_STL" = "yes"; then
24849 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24850 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24851 { (exit 1); exit 1; }; }
24852 elif test "$wxUSE_STD_STRING" = "yes"; then
24853 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24854 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24855 { (exit 1); exit 1; }; }
24856 else
24857 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24858 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24859 wxUSE_STD_STRING=no
24860 fi
24861 fi
24862 fi
24863 fi
24864
24865 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24866 { echo "$as_me:$LINENO: checking for std::istream" >&5
24867 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24868 if test "${ac_cv_type_std__istream+set}" = set; then
24869 echo $ECHO_N "(cached) $ECHO_C" >&6
24870 else
24871 cat >conftest.$ac_ext <<_ACEOF
24872 /* confdefs.h. */
24873 _ACEOF
24874 cat confdefs.h >>conftest.$ac_ext
24875 cat >>conftest.$ac_ext <<_ACEOF
24876 /* end confdefs.h. */
24877 #include <iostream>
24878
24879 typedef std::istream ac__type_new_;
24880 int
24881 main ()
24882 {
24883 if ((ac__type_new_ *) 0)
24884 return 0;
24885 if (sizeof (ac__type_new_))
24886 return 0;
24887 ;
24888 return 0;
24889 }
24890 _ACEOF
24891 rm -f conftest.$ac_objext
24892 if { (ac_try="$ac_compile"
24893 case "(($ac_try" in
24894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24895 *) ac_try_echo=$ac_try;;
24896 esac
24897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24898 (eval "$ac_compile") 2>conftest.er1
24899 ac_status=$?
24900 grep -v '^ *+' conftest.er1 >conftest.err
24901 rm -f conftest.er1
24902 cat conftest.err >&5
24903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24904 (exit $ac_status); } && {
24905 test -z "$ac_cxx_werror_flag" ||
24906 test ! -s conftest.err
24907 } && test -s conftest.$ac_objext; then
24908 ac_cv_type_std__istream=yes
24909 else
24910 echo "$as_me: failed program was:" >&5
24911 sed 's/^/| /' conftest.$ac_ext >&5
24912
24913 ac_cv_type_std__istream=no
24914 fi
24915
24916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24917 fi
24918 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24919 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24920 if test $ac_cv_type_std__istream = yes; then
24921
24922 cat >>confdefs.h <<_ACEOF
24923 #define HAVE_STD__ISTREAM 1
24924 _ACEOF
24925
24926
24927 else
24928 wxUSE_STD_IOSTREAM=no
24929 fi
24930 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24931 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24932 if test "${ac_cv_type_std__ostream+set}" = set; then
24933 echo $ECHO_N "(cached) $ECHO_C" >&6
24934 else
24935 cat >conftest.$ac_ext <<_ACEOF
24936 /* confdefs.h. */
24937 _ACEOF
24938 cat confdefs.h >>conftest.$ac_ext
24939 cat >>conftest.$ac_ext <<_ACEOF
24940 /* end confdefs.h. */
24941 #include <iostream>
24942
24943 typedef std::ostream ac__type_new_;
24944 int
24945 main ()
24946 {
24947 if ((ac__type_new_ *) 0)
24948 return 0;
24949 if (sizeof (ac__type_new_))
24950 return 0;
24951 ;
24952 return 0;
24953 }
24954 _ACEOF
24955 rm -f conftest.$ac_objext
24956 if { (ac_try="$ac_compile"
24957 case "(($ac_try" in
24958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24959 *) ac_try_echo=$ac_try;;
24960 esac
24961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24962 (eval "$ac_compile") 2>conftest.er1
24963 ac_status=$?
24964 grep -v '^ *+' conftest.er1 >conftest.err
24965 rm -f conftest.er1
24966 cat conftest.err >&5
24967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24968 (exit $ac_status); } && {
24969 test -z "$ac_cxx_werror_flag" ||
24970 test ! -s conftest.err
24971 } && test -s conftest.$ac_objext; then
24972 ac_cv_type_std__ostream=yes
24973 else
24974 echo "$as_me: failed program was:" >&5
24975 sed 's/^/| /' conftest.$ac_ext >&5
24976
24977 ac_cv_type_std__ostream=no
24978 fi
24979
24980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24981 fi
24982 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24983 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24984 if test $ac_cv_type_std__ostream = yes; then
24985
24986 cat >>confdefs.h <<_ACEOF
24987 #define HAVE_STD__OSTREAM 1
24988 _ACEOF
24989
24990
24991 else
24992 wxUSE_STD_IOSTREAM=no
24993 fi
24994
24995
24996 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24997 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24998 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24999 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25000 { (exit 1); exit 1; }; }
25001 else
25002 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25003 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25004 fi
25005 fi
25006 fi
25007
25008 if test "$wxUSE_STL" = "yes"; then
25009 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25010 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25011 if test "${wx_cv_lib_stl+set}" = set; then
25012 echo $ECHO_N "(cached) $ECHO_C" >&6
25013 else
25014 cat >conftest.$ac_ext <<_ACEOF
25015 /* confdefs.h. */
25016 _ACEOF
25017 cat confdefs.h >>conftest.$ac_ext
25018 cat >>conftest.$ac_ext <<_ACEOF
25019 /* end confdefs.h. */
25020 #include <string>
25021 #include <functional>
25022 #include <algorithm>
25023 #include <vector>
25024 #include <list>
25025 int
25026 main ()
25027 {
25028 std::vector<int> moo;
25029 std::list<int> foo;
25030 std::vector<int>::iterator it =
25031 std::find_if(moo.begin(), moo.end(),
25032 std::bind2nd(std::less<int>(), 3));
25033 ;
25034 return 0;
25035 }
25036 _ACEOF
25037 rm -f conftest.$ac_objext
25038 if { (ac_try="$ac_compile"
25039 case "(($ac_try" in
25040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25041 *) ac_try_echo=$ac_try;;
25042 esac
25043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25044 (eval "$ac_compile") 2>conftest.er1
25045 ac_status=$?
25046 grep -v '^ *+' conftest.er1 >conftest.err
25047 rm -f conftest.er1
25048 cat conftest.err >&5
25049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25050 (exit $ac_status); } && {
25051 test -z "$ac_cxx_werror_flag" ||
25052 test ! -s conftest.err
25053 } && test -s conftest.$ac_objext; then
25054 wx_cv_lib_stl=yes
25055 else
25056 echo "$as_me: failed program was:" >&5
25057 sed 's/^/| /' conftest.$ac_ext >&5
25058
25059 wx_cv_lib_stl=no
25060
25061 fi
25062
25063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25064
25065 fi
25066 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25067 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25068
25069 if test "$wx_cv_lib_stl" != yes; then
25070 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
25071 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
25072 { (exit 1); exit 1; }; }
25073 fi
25074
25075 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25076 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25077 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25078 echo $ECHO_N "(cached) $ECHO_C" >&6
25079 else
25080 cat >conftest.$ac_ext <<_ACEOF
25081 /* confdefs.h. */
25082 _ACEOF
25083 cat confdefs.h >>conftest.$ac_ext
25084 cat >>conftest.$ac_ext <<_ACEOF
25085 /* end confdefs.h. */
25086 #include <string>
25087 int
25088 main ()
25089 {
25090 std::string foo, bar;
25091 foo.compare(bar);
25092 foo.compare(1, 1, bar);
25093 foo.compare(1, 1, bar, 1, 1);
25094 foo.compare("");
25095 foo.compare(1, 1, "");
25096 foo.compare(1, 1, "", 2);
25097 ;
25098 return 0;
25099 }
25100 _ACEOF
25101 rm -f conftest.$ac_objext
25102 if { (ac_try="$ac_compile"
25103 case "(($ac_try" in
25104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25105 *) ac_try_echo=$ac_try;;
25106 esac
25107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25108 (eval "$ac_compile") 2>conftest.er1
25109 ac_status=$?
25110 grep -v '^ *+' conftest.er1 >conftest.err
25111 rm -f conftest.er1
25112 cat conftest.err >&5
25113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25114 (exit $ac_status); } && {
25115 test -z "$ac_cxx_werror_flag" ||
25116 test ! -s conftest.err
25117 } && test -s conftest.$ac_objext; then
25118 wx_cv_func_stdstring_compare=yes
25119 else
25120 echo "$as_me: failed program was:" >&5
25121 sed 's/^/| /' conftest.$ac_ext >&5
25122
25123 wx_cv_func_stdstring_compare=no
25124
25125 fi
25126
25127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25128
25129 fi
25130 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25131 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25132
25133 if test "$wx_cv_func_stdstring_compare" = yes; then
25134 cat >>confdefs.h <<\_ACEOF
25135 #define HAVE_STD_STRING_COMPARE 1
25136 _ACEOF
25137
25138 fi
25139
25140 if test "$wx_cv_class_gnuhashmapset" = yes; then
25141 cat >>confdefs.h <<\_ACEOF
25142 #define HAVE_EXT_HASH_MAP 1
25143 _ACEOF
25144
25145 cat >>confdefs.h <<\_ACEOF
25146 #define HAVE_GNU_CXX_HASH_MAP 1
25147 _ACEOF
25148
25149 fi
25150
25151 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25152 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25153 if test "${ac_cv_header_unordered_map+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
25165 #include <unordered_map>
25166 _ACEOF
25167 rm -f conftest.$ac_objext
25168 if { (ac_try="$ac_compile"
25169 case "(($ac_try" in
25170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25171 *) ac_try_echo=$ac_try;;
25172 esac
25173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25174 (eval "$ac_compile") 2>conftest.er1
25175 ac_status=$?
25176 grep -v '^ *+' conftest.er1 >conftest.err
25177 rm -f conftest.er1
25178 cat conftest.err >&5
25179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25180 (exit $ac_status); } && {
25181 test -z "$ac_cxx_werror_flag" ||
25182 test ! -s conftest.err
25183 } && test -s conftest.$ac_objext; then
25184 ac_cv_header_unordered_map=yes
25185 else
25186 echo "$as_me: failed program was:" >&5
25187 sed 's/^/| /' conftest.$ac_ext >&5
25188
25189 ac_cv_header_unordered_map=no
25190 fi
25191
25192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25193 fi
25194 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25195 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25196 if test $ac_cv_header_unordered_map = yes; then
25197 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25198 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25199 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25200 echo $ECHO_N "(cached) $ECHO_C" >&6
25201 else
25202 cat >conftest.$ac_ext <<_ACEOF
25203 /* confdefs.h. */
25204 _ACEOF
25205 cat confdefs.h >>conftest.$ac_ext
25206 cat >>conftest.$ac_ext <<_ACEOF
25207 /* end confdefs.h. */
25208 #include <unordered_map>
25209 #include <unordered_set>
25210 int
25211 main ()
25212 {
25213 std::unordered_map<double*, char*> test1;
25214 std::unordered_set<char*> test2;
25215 ;
25216 return 0;
25217 }
25218 _ACEOF
25219 rm -f conftest.$ac_objext
25220 if { (ac_try="$ac_compile"
25221 case "(($ac_try" in
25222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25223 *) ac_try_echo=$ac_try;;
25224 esac
25225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25226 (eval "$ac_compile") 2>conftest.er1
25227 ac_status=$?
25228 grep -v '^ *+' conftest.er1 >conftest.err
25229 rm -f conftest.er1
25230 cat conftest.err >&5
25231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25232 (exit $ac_status); } && {
25233 test -z "$ac_cxx_werror_flag" ||
25234 test ! -s conftest.err
25235 } && test -s conftest.$ac_objext; then
25236 wx_cv_class_stdunorderedmapset=yes
25237 else
25238 echo "$as_me: failed program was:" >&5
25239 sed 's/^/| /' conftest.$ac_ext >&5
25240
25241 wx_cv_class_stdunorderedmapset=no
25242 fi
25243
25244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25245
25246
25247 fi
25248 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25249 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25250 fi
25251
25252
25253
25254 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25255 cat >>confdefs.h <<\_ACEOF
25256 #define HAVE_STD_UNORDERED_MAP 1
25257 _ACEOF
25258
25259 cat >>confdefs.h <<\_ACEOF
25260 #define HAVE_STD_UNORDERED_SET 1
25261 _ACEOF
25262
25263 else
25264 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25265 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25266 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25267 echo $ECHO_N "(cached) $ECHO_C" >&6
25268 else
25269 cat >conftest.$ac_ext <<_ACEOF
25270 /* confdefs.h. */
25271 _ACEOF
25272 cat confdefs.h >>conftest.$ac_ext
25273 cat >>conftest.$ac_ext <<_ACEOF
25274 /* end confdefs.h. */
25275
25276
25277
25278 #include <tr1/unordered_map>
25279 _ACEOF
25280 rm -f conftest.$ac_objext
25281 if { (ac_try="$ac_compile"
25282 case "(($ac_try" in
25283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25284 *) ac_try_echo=$ac_try;;
25285 esac
25286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25287 (eval "$ac_compile") 2>conftest.er1
25288 ac_status=$?
25289 grep -v '^ *+' conftest.er1 >conftest.err
25290 rm -f conftest.er1
25291 cat conftest.err >&5
25292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25293 (exit $ac_status); } && {
25294 test -z "$ac_cxx_werror_flag" ||
25295 test ! -s conftest.err
25296 } && test -s conftest.$ac_objext; then
25297 ac_cv_header_tr1_unordered_map=yes
25298 else
25299 echo "$as_me: failed program was:" >&5
25300 sed 's/^/| /' conftest.$ac_ext >&5
25301
25302 ac_cv_header_tr1_unordered_map=no
25303 fi
25304
25305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25306 fi
25307 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25308 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25309 if test $ac_cv_header_tr1_unordered_map = yes; then
25310 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25311 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25312 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25313 echo $ECHO_N "(cached) $ECHO_C" >&6
25314 else
25315 cat >conftest.$ac_ext <<_ACEOF
25316 /* confdefs.h. */
25317 _ACEOF
25318 cat confdefs.h >>conftest.$ac_ext
25319 cat >>conftest.$ac_ext <<_ACEOF
25320 /* end confdefs.h. */
25321 #include <tr1/unordered_map>
25322 #include <tr1/unordered_set>
25323 int
25324 main ()
25325 {
25326 std::tr1::unordered_map<double*, char*> test1;
25327 std::tr1::unordered_set<char*> test2;
25328 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25329 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25330 #endif
25331 ;
25332 return 0;
25333 }
25334 _ACEOF
25335 rm -f conftest.$ac_objext
25336 if { (ac_try="$ac_compile"
25337 case "(($ac_try" in
25338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25339 *) ac_try_echo=$ac_try;;
25340 esac
25341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25342 (eval "$ac_compile") 2>conftest.er1
25343 ac_status=$?
25344 grep -v '^ *+' conftest.er1 >conftest.err
25345 rm -f conftest.er1
25346 cat conftest.err >&5
25347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25348 (exit $ac_status); } && {
25349 test -z "$ac_cxx_werror_flag" ||
25350 test ! -s conftest.err
25351 } && test -s conftest.$ac_objext; then
25352 wx_cv_class_tr1unorderedmapset=yes
25353 else
25354 echo "$as_me: failed program was:" >&5
25355 sed 's/^/| /' conftest.$ac_ext >&5
25356
25357 wx_cv_class_tr1unorderedmapset=no
25358 fi
25359
25360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25361
25362
25363 fi
25364 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25365 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25366 fi
25367
25368
25369
25370 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25371 cat >>confdefs.h <<\_ACEOF
25372 #define HAVE_TR1_UNORDERED_MAP 1
25373 _ACEOF
25374
25375 cat >>confdefs.h <<\_ACEOF
25376 #define HAVE_TR1_UNORDERED_SET 1
25377 _ACEOF
25378
25379 else
25380 { echo "$as_me:$LINENO: checking for hash_map" >&5
25381 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25382 if test "${ac_cv_header_hash_map+set}" = set; then
25383 echo $ECHO_N "(cached) $ECHO_C" >&6
25384 else
25385 cat >conftest.$ac_ext <<_ACEOF
25386 /* confdefs.h. */
25387 _ACEOF
25388 cat confdefs.h >>conftest.$ac_ext
25389 cat >>conftest.$ac_ext <<_ACEOF
25390 /* end confdefs.h. */
25391
25392
25393
25394 #include <hash_map>
25395 _ACEOF
25396 rm -f conftest.$ac_objext
25397 if { (ac_try="$ac_compile"
25398 case "(($ac_try" in
25399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25400 *) ac_try_echo=$ac_try;;
25401 esac
25402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25403 (eval "$ac_compile") 2>conftest.er1
25404 ac_status=$?
25405 grep -v '^ *+' conftest.er1 >conftest.err
25406 rm -f conftest.er1
25407 cat conftest.err >&5
25408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25409 (exit $ac_status); } && {
25410 test -z "$ac_cxx_werror_flag" ||
25411 test ! -s conftest.err
25412 } && test -s conftest.$ac_objext; then
25413 ac_cv_header_hash_map=yes
25414 else
25415 echo "$as_me: failed program was:" >&5
25416 sed 's/^/| /' conftest.$ac_ext >&5
25417
25418 ac_cv_header_hash_map=no
25419 fi
25420
25421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25422 fi
25423 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25424 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25425 if test $ac_cv_header_hash_map = yes; then
25426 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25427 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25428 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25429 echo $ECHO_N "(cached) $ECHO_C" >&6
25430 else
25431 cat >conftest.$ac_ext <<_ACEOF
25432 /* confdefs.h. */
25433 _ACEOF
25434 cat confdefs.h >>conftest.$ac_ext
25435 cat >>conftest.$ac_ext <<_ACEOF
25436 /* end confdefs.h. */
25437 #include <hash_map>
25438 #include <hash_set>
25439 int
25440 main ()
25441 {
25442 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25443 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25444 ;
25445 return 0;
25446 }
25447 _ACEOF
25448 rm -f conftest.$ac_objext
25449 if { (ac_try="$ac_compile"
25450 case "(($ac_try" in
25451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25452 *) ac_try_echo=$ac_try;;
25453 esac
25454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25455 (eval "$ac_compile") 2>conftest.er1
25456 ac_status=$?
25457 grep -v '^ *+' conftest.er1 >conftest.err
25458 rm -f conftest.er1
25459 cat conftest.err >&5
25460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25461 (exit $ac_status); } && {
25462 test -z "$ac_cxx_werror_flag" ||
25463 test ! -s conftest.err
25464 } && test -s conftest.$ac_objext; then
25465 wx_cv_class_stdhashmapset=yes
25466 else
25467 echo "$as_me: failed program was:" >&5
25468 sed 's/^/| /' conftest.$ac_ext >&5
25469
25470 wx_cv_class_stdhashmapset=no
25471 fi
25472
25473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25474
25475
25476 fi
25477 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25478 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25479 fi
25480
25481
25482
25483 if test "$wx_cv_class_stdhashmapset" = yes; then
25484 cat >>confdefs.h <<\_ACEOF
25485 #define HAVE_HASH_MAP 1
25486 _ACEOF
25487
25488 cat >>confdefs.h <<\_ACEOF
25489 #define HAVE_STD_HASH_MAP 1
25490 _ACEOF
25491
25492 fi
25493
25494 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25495 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25496 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25497 echo $ECHO_N "(cached) $ECHO_C" >&6
25498 else
25499 cat >conftest.$ac_ext <<_ACEOF
25500 /* confdefs.h. */
25501 _ACEOF
25502 cat confdefs.h >>conftest.$ac_ext
25503 cat >>conftest.$ac_ext <<_ACEOF
25504 /* end confdefs.h. */
25505
25506
25507
25508 #include <ext/hash_map>
25509 _ACEOF
25510 rm -f conftest.$ac_objext
25511 if { (ac_try="$ac_compile"
25512 case "(($ac_try" in
25513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25514 *) ac_try_echo=$ac_try;;
25515 esac
25516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25517 (eval "$ac_compile") 2>conftest.er1
25518 ac_status=$?
25519 grep -v '^ *+' conftest.er1 >conftest.err
25520 rm -f conftest.er1
25521 cat conftest.err >&5
25522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25523 (exit $ac_status); } && {
25524 test -z "$ac_cxx_werror_flag" ||
25525 test ! -s conftest.err
25526 } && test -s conftest.$ac_objext; then
25527 ac_cv_header_ext_hash_map=yes
25528 else
25529 echo "$as_me: failed program was:" >&5
25530 sed 's/^/| /' conftest.$ac_ext >&5
25531
25532 ac_cv_header_ext_hash_map=no
25533 fi
25534
25535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25536 fi
25537 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25538 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25539 if test $ac_cv_header_ext_hash_map = yes; then
25540 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25541 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25542 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25543 echo $ECHO_N "(cached) $ECHO_C" >&6
25544 else
25545 cat >conftest.$ac_ext <<_ACEOF
25546 /* confdefs.h. */
25547 _ACEOF
25548 cat confdefs.h >>conftest.$ac_ext
25549 cat >>conftest.$ac_ext <<_ACEOF
25550 /* end confdefs.h. */
25551 #include <ext/hash_map>
25552 #include <ext/hash_set>
25553 int
25554 main ()
25555 {
25556 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25557 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25558 ;
25559 return 0;
25560 }
25561 _ACEOF
25562 rm -f conftest.$ac_objext
25563 if { (ac_try="$ac_compile"
25564 case "(($ac_try" in
25565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25566 *) ac_try_echo=$ac_try;;
25567 esac
25568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25569 (eval "$ac_compile") 2>conftest.er1
25570 ac_status=$?
25571 grep -v '^ *+' conftest.er1 >conftest.err
25572 rm -f conftest.er1
25573 cat conftest.err >&5
25574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25575 (exit $ac_status); } && {
25576 test -z "$ac_cxx_werror_flag" ||
25577 test ! -s conftest.err
25578 } && test -s conftest.$ac_objext; then
25579 wx_cv_class_gnuhashmapset=yes
25580 else
25581 echo "$as_me: failed program was:" >&5
25582 sed 's/^/| /' conftest.$ac_ext >&5
25583
25584 wx_cv_class_gnuhashmapset=no
25585 fi
25586
25587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25588
25589
25590 fi
25591 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25592 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25593 fi
25594
25595
25596
25597 fi
25598 fi
25599 fi
25600
25601
25602
25603 if test -n "$GCC"; then
25604 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25605 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25606 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25607 echo $ECHO_N "(cached) $ECHO_C" >&6
25608 else
25609
25610 cat >conftest.$ac_ext <<_ACEOF
25611 /* confdefs.h. */
25612 _ACEOF
25613 cat confdefs.h >>conftest.$ac_ext
25614 cat >>conftest.$ac_ext <<_ACEOF
25615 /* end confdefs.h. */
25616
25617 int
25618 main ()
25619 {
25620
25621 unsigned int value=0;
25622 /* wxAtomicInc doesn't use return value here */
25623 __sync_fetch_and_add(&value, 2);
25624 __sync_sub_and_fetch(&value, 1);
25625 /* but wxAtomicDec does, so mimic that: */
25626 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25627
25628 ;
25629 return 0;
25630 }
25631 _ACEOF
25632 rm -f conftest.$ac_objext conftest$ac_exeext
25633 if { (ac_try="$ac_link"
25634 case "(($ac_try" in
25635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25636 *) ac_try_echo=$ac_try;;
25637 esac
25638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25639 (eval "$ac_link") 2>conftest.er1
25640 ac_status=$?
25641 grep -v '^ *+' conftest.er1 >conftest.err
25642 rm -f conftest.er1
25643 cat conftest.err >&5
25644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25645 (exit $ac_status); } && {
25646 test -z "$ac_cxx_werror_flag" ||
25647 test ! -s conftest.err
25648 } && test -s conftest$ac_exeext &&
25649 $as_test_x conftest$ac_exeext; then
25650 wx_cv_cc_gcc_atomic_builtins=yes
25651 else
25652 echo "$as_me: failed program was:" >&5
25653 sed 's/^/| /' conftest.$ac_ext >&5
25654
25655 wx_cv_cc_gcc_atomic_builtins=no
25656 fi
25657
25658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25659 conftest$ac_exeext conftest.$ac_ext
25660
25661 fi
25662
25663 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25664 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25665 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25666 cat >>confdefs.h <<\_ACEOF
25667 #define HAVE_GCC_ATOMIC_BUILTINS 1
25668 _ACEOF
25669
25670 fi
25671 fi
25672
25673
25674 ac_ext=c
25675 ac_cpp='$CPP $CPPFLAGS'
25676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25679
25680
25681
25682 SEARCH_INCLUDE="\
25683 /usr/local/include \
25684 /usr/local/X11/include \
25685 /usr/local/include/X11 \
25686 /usr/local/X11R7/include \
25687 /usr/local/X11R6/include \
25688 /usr/local/include/X11R7 \
25689 /usr/local/include/X11R6 \
25690 \
25691 /usr/Motif-2.1/include \
25692 /usr/Motif-1.2/include \
25693 /usr/include/Motif1.2 \
25694 \
25695 /usr/dt/include \
25696 /usr/openwin/include \
25697 \
25698 /usr/include/Xm \
25699 \
25700 /usr/X11R7/include \
25701 /usr/X11R6/include \
25702 /usr/X11R6.4/include \
25703 \
25704 /usr/include/X11R7 \
25705 /usr/include/X11R6 \
25706 \
25707 /usr/X11/include \
25708 /usr/include/X11 \
25709 \
25710 /usr/XFree86/include/X11 \
25711 /usr/pkg/include \
25712 \
25713 /usr/local/X1R5/include \
25714 /usr/local/include/X11R5 \
25715 /usr/X11R5/include \
25716 /usr/include/X11R5 \
25717 \
25718 /usr/local/X11R4/include \
25719 /usr/local/include/X11R4 \
25720 /usr/X11R4/include \
25721 /usr/include/X11R4 \
25722 \
25723 /usr/openwin/share/include"
25724
25725 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25726 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25727
25728 case "${host}" in
25729 *-*-irix6* )
25730 if test "${wx_cv_std_libpath+set}" = set; then
25731 echo $ECHO_N "(cached) $ECHO_C" >&6
25732 else
25733
25734 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25735 for e in a so sl dylib dll.a; do
25736 libc="$d/libc.$e"
25737 if test -f $libc; then
25738 save_LIBS="$LIBS"
25739 LIBS="$libc"
25740 cat >conftest.$ac_ext <<_ACEOF
25741 int main() { return 0; }
25742 _ACEOF
25743 rm -f conftest.$ac_objext conftest$ac_exeext
25744 if { (ac_try="$ac_link"
25745 case "(($ac_try" in
25746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25747 *) ac_try_echo=$ac_try;;
25748 esac
25749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25750 (eval "$ac_link") 2>conftest.er1
25751 ac_status=$?
25752 grep -v '^ *+' conftest.er1 >conftest.err
25753 rm -f conftest.er1
25754 cat conftest.err >&5
25755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25756 (exit $ac_status); } && {
25757 test -z "$ac_c_werror_flag" ||
25758 test ! -s conftest.err
25759 } && test -s conftest$ac_exeext &&
25760 $as_test_x conftest$ac_exeext; then
25761 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25762 else
25763 echo "$as_me: failed program was:" >&5
25764 sed 's/^/| /' conftest.$ac_ext >&5
25765
25766
25767 fi
25768
25769 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25770 conftest$ac_exeext conftest.$ac_ext
25771 LIBS="$save_LIBS"
25772 if test "x$wx_cv_std_libpath" != "x"; then
25773 break 2
25774 fi
25775 fi
25776 done
25777 done
25778 if test "x$wx_cv_std_libpath" = "x"; then
25779 wx_cv_std_libpath="lib"
25780 fi
25781
25782
25783 fi
25784
25785 ;;
25786
25787 *-*-solaris2* )
25788 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25789 wx_cv_std_libpath="lib/64"
25790 else
25791 wx_cv_std_libpath="lib"
25792 fi
25793 ;;
25794
25795 *-*-linux* )
25796 if test "$ac_cv_sizeof_void_p" = 8 -a \
25797 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25798 wx_cv_std_libpath="lib64"
25799 else
25800 wx_cv_std_libpath="lib"
25801 fi
25802 ;;
25803
25804 *)
25805 wx_cv_std_libpath="lib";
25806 ;;
25807 esac
25808
25809 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25810 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25811
25812 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25813
25814 if test "$build" != "$host" -a "$GCC" = yes; then
25815 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25816 cross_root=`dirname $cross_root`
25817 cross_root=`dirname $cross_root`
25818
25819 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25820 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25821 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25822
25823 if test -z "$PKG_CONFIG_PATH"; then
25824 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25825 export PKG_CONFIG_PATH
25826 fi
25827
25828 if test -z "$x_includes" -o "$x_includes" = NONE; then
25829
25830 ac_find_includes=
25831 for ac_dir in $SEARCH_INCLUDE /usr/include;
25832 do
25833 if test -f "$ac_dir/X11/Intrinsic.h"; then
25834 ac_find_includes=$ac_dir
25835 break
25836 fi
25837 done
25838
25839 x_includes=$ac_find_includes
25840 fi
25841 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25842
25843 ac_find_libraries=
25844 for ac_dir in $SEARCH_LIB;
25845 do
25846 for ac_extension in a so sl dylib dll.a; do
25847 if test -f "$ac_dir/libXt.$ac_extension"; then
25848 ac_find_libraries=$ac_dir
25849 break 2
25850 fi
25851 done
25852 done
25853
25854 x_libraries=$ac_find_libraries
25855 fi
25856 fi
25857 fi
25858
25859
25860 cat >confcache <<\_ACEOF
25861 # This file is a shell script that caches the results of configure
25862 # tests run on this system so they can be shared between configure
25863 # scripts and configure runs, see configure's option --config-cache.
25864 # It is not useful on other systems. If it contains results you don't
25865 # want to keep, you may remove or edit it.
25866 #
25867 # config.status only pays attention to the cache file if you give it
25868 # the --recheck option to rerun configure.
25869 #
25870 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25871 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25872 # following values.
25873
25874 _ACEOF
25875
25876 # The following way of writing the cache mishandles newlines in values,
25877 # but we know of no workaround that is simple, portable, and efficient.
25878 # So, we kill variables containing newlines.
25879 # Ultrix sh set writes to stderr and can't be redirected directly,
25880 # and sets the high bit in the cache file unless we assign to the vars.
25881 (
25882 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25883 eval ac_val=\$$ac_var
25884 case $ac_val in #(
25885 *${as_nl}*)
25886 case $ac_var in #(
25887 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25888 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25889 esac
25890 case $ac_var in #(
25891 _ | IFS | as_nl) ;; #(
25892 *) $as_unset $ac_var ;;
25893 esac ;;
25894 esac
25895 done
25896
25897 (set) 2>&1 |
25898 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25899 *${as_nl}ac_space=\ *)
25900 # `set' does not quote correctly, so add quotes (double-quote
25901 # substitution turns \\\\ into \\, and sed turns \\ into \).
25902 sed -n \
25903 "s/'/'\\\\''/g;
25904 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25905 ;; #(
25906 *)
25907 # `set' quotes correctly as required by POSIX, so do not add quotes.
25908 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25909 ;;
25910 esac |
25911 sort
25912 ) |
25913 sed '
25914 /^ac_cv_env_/b end
25915 t clear
25916 :clear
25917 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25918 t end
25919 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25920 :end' >>confcache
25921 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25922 if test -w "$cache_file"; then
25923 test "x$cache_file" != "x/dev/null" &&
25924 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25925 echo "$as_me: updating cache $cache_file" >&6;}
25926 cat confcache >$cache_file
25927 else
25928 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25929 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25930 fi
25931 fi
25932 rm -f confcache
25933
25934 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25935 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25936 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25937 if test "${wx_cv_lib_glibc21+set}" = set; then
25938 echo $ECHO_N "(cached) $ECHO_C" >&6
25939 else
25940
25941 cat >conftest.$ac_ext <<_ACEOF
25942 /* confdefs.h. */
25943 _ACEOF
25944 cat confdefs.h >>conftest.$ac_ext
25945 cat >>conftest.$ac_ext <<_ACEOF
25946 /* end confdefs.h. */
25947 #include <features.h>
25948 int
25949 main ()
25950 {
25951
25952 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25953 not glibc 2.1
25954 #endif
25955
25956 ;
25957 return 0;
25958 }
25959 _ACEOF
25960 rm -f conftest.$ac_objext
25961 if { (ac_try="$ac_compile"
25962 case "(($ac_try" in
25963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25964 *) ac_try_echo=$ac_try;;
25965 esac
25966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25967 (eval "$ac_compile") 2>conftest.er1
25968 ac_status=$?
25969 grep -v '^ *+' conftest.er1 >conftest.err
25970 rm -f conftest.er1
25971 cat conftest.err >&5
25972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25973 (exit $ac_status); } && {
25974 test -z "$ac_c_werror_flag" ||
25975 test ! -s conftest.err
25976 } && test -s conftest.$ac_objext; then
25977
25978 wx_cv_lib_glibc21=yes
25979
25980 else
25981 echo "$as_me: failed program was:" >&5
25982 sed 's/^/| /' conftest.$ac_ext >&5
25983
25984
25985 wx_cv_lib_glibc21=no
25986
25987
25988 fi
25989
25990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25991
25992 fi
25993 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25994 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25995 if test "$wx_cv_lib_glibc21" = "yes"; then
25996 cat >>confdefs.h <<\_ACEOF
25997 #define wxHAVE_GLIBC2 1
25998 _ACEOF
25999
26000 fi
26001 fi
26002
26003 if test "x$wx_cv_lib_glibc21" = "xyes"; then
26004 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
26005 cat >>confdefs.h <<\_ACEOF
26006 #define _GNU_SOURCE 1
26007 _ACEOF
26008
26009 fi
26010 fi
26011
26012 have_cos=0
26013 have_floor=0
26014
26015 for ac_func in cos
26016 do
26017 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26018 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26020 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26021 echo $ECHO_N "(cached) $ECHO_C" >&6
26022 else
26023 cat >conftest.$ac_ext <<_ACEOF
26024 /* confdefs.h. */
26025 _ACEOF
26026 cat confdefs.h >>conftest.$ac_ext
26027 cat >>conftest.$ac_ext <<_ACEOF
26028 /* end confdefs.h. */
26029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26031 #define $ac_func innocuous_$ac_func
26032
26033 /* System header to define __stub macros and hopefully few prototypes,
26034 which can conflict with char $ac_func (); below.
26035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26036 <limits.h> exists even on freestanding compilers. */
26037
26038 #ifdef __STDC__
26039 # include <limits.h>
26040 #else
26041 # include <assert.h>
26042 #endif
26043
26044 #undef $ac_func
26045
26046 /* Override any GCC internal prototype to avoid an error.
26047 Use char because int might match the return type of a GCC
26048 builtin and then its argument prototype would still apply. */
26049 #ifdef __cplusplus
26050 extern "C"
26051 #endif
26052 char $ac_func ();
26053 /* The GNU C library defines this for functions which it implements
26054 to always fail with ENOSYS. Some functions are actually named
26055 something starting with __ and the normal name is an alias. */
26056 #if defined __stub_$ac_func || defined __stub___$ac_func
26057 choke me
26058 #endif
26059
26060 int
26061 main ()
26062 {
26063 return $ac_func ();
26064 ;
26065 return 0;
26066 }
26067 _ACEOF
26068 rm -f conftest.$ac_objext conftest$ac_exeext
26069 if { (ac_try="$ac_link"
26070 case "(($ac_try" in
26071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26072 *) ac_try_echo=$ac_try;;
26073 esac
26074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26075 (eval "$ac_link") 2>conftest.er1
26076 ac_status=$?
26077 grep -v '^ *+' conftest.er1 >conftest.err
26078 rm -f conftest.er1
26079 cat conftest.err >&5
26080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26081 (exit $ac_status); } && {
26082 test -z "$ac_c_werror_flag" ||
26083 test ! -s conftest.err
26084 } && test -s conftest$ac_exeext &&
26085 $as_test_x conftest$ac_exeext; then
26086 eval "$as_ac_var=yes"
26087 else
26088 echo "$as_me: failed program was:" >&5
26089 sed 's/^/| /' conftest.$ac_ext >&5
26090
26091 eval "$as_ac_var=no"
26092 fi
26093
26094 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26095 conftest$ac_exeext conftest.$ac_ext
26096 fi
26097 ac_res=`eval echo '${'$as_ac_var'}'`
26098 { echo "$as_me:$LINENO: result: $ac_res" >&5
26099 echo "${ECHO_T}$ac_res" >&6; }
26100 if test `eval echo '${'$as_ac_var'}'` = yes; then
26101 cat >>confdefs.h <<_ACEOF
26102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26103 _ACEOF
26104 have_cos=1
26105 fi
26106 done
26107
26108
26109 for ac_func in floor
26110 do
26111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26112 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26114 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26115 echo $ECHO_N "(cached) $ECHO_C" >&6
26116 else
26117 cat >conftest.$ac_ext <<_ACEOF
26118 /* confdefs.h. */
26119 _ACEOF
26120 cat confdefs.h >>conftest.$ac_ext
26121 cat >>conftest.$ac_ext <<_ACEOF
26122 /* end confdefs.h. */
26123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26125 #define $ac_func innocuous_$ac_func
26126
26127 /* System header to define __stub macros and hopefully few prototypes,
26128 which can conflict with char $ac_func (); below.
26129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26130 <limits.h> exists even on freestanding compilers. */
26131
26132 #ifdef __STDC__
26133 # include <limits.h>
26134 #else
26135 # include <assert.h>
26136 #endif
26137
26138 #undef $ac_func
26139
26140 /* Override any GCC internal prototype to avoid an error.
26141 Use char because int might match the return type of a GCC
26142 builtin and then its argument prototype would still apply. */
26143 #ifdef __cplusplus
26144 extern "C"
26145 #endif
26146 char $ac_func ();
26147 /* The GNU C library defines this for functions which it implements
26148 to always fail with ENOSYS. Some functions are actually named
26149 something starting with __ and the normal name is an alias. */
26150 #if defined __stub_$ac_func || defined __stub___$ac_func
26151 choke me
26152 #endif
26153
26154 int
26155 main ()
26156 {
26157 return $ac_func ();
26158 ;
26159 return 0;
26160 }
26161 _ACEOF
26162 rm -f conftest.$ac_objext conftest$ac_exeext
26163 if { (ac_try="$ac_link"
26164 case "(($ac_try" in
26165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26166 *) ac_try_echo=$ac_try;;
26167 esac
26168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26169 (eval "$ac_link") 2>conftest.er1
26170 ac_status=$?
26171 grep -v '^ *+' conftest.er1 >conftest.err
26172 rm -f conftest.er1
26173 cat conftest.err >&5
26174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26175 (exit $ac_status); } && {
26176 test -z "$ac_c_werror_flag" ||
26177 test ! -s conftest.err
26178 } && test -s conftest$ac_exeext &&
26179 $as_test_x conftest$ac_exeext; then
26180 eval "$as_ac_var=yes"
26181 else
26182 echo "$as_me: failed program was:" >&5
26183 sed 's/^/| /' conftest.$ac_ext >&5
26184
26185 eval "$as_ac_var=no"
26186 fi
26187
26188 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26189 conftest$ac_exeext conftest.$ac_ext
26190 fi
26191 ac_res=`eval echo '${'$as_ac_var'}'`
26192 { echo "$as_me:$LINENO: result: $ac_res" >&5
26193 echo "${ECHO_T}$ac_res" >&6; }
26194 if test `eval echo '${'$as_ac_var'}'` = yes; then
26195 cat >>confdefs.h <<_ACEOF
26196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26197 _ACEOF
26198 have_floor=1
26199 fi
26200 done
26201
26202 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26203 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
26204 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26205 { echo "$as_me:$LINENO: result: yes" >&5
26206 echo "${ECHO_T}yes" >&6; }
26207 else
26208 { echo "$as_me:$LINENO: result: no" >&5
26209 echo "${ECHO_T}no" >&6; }
26210 LIBS="$LIBS -lm"
26211 # use different functions to avoid configure caching
26212 have_sin=0
26213 have_ceil=0
26214
26215 for ac_func in sin
26216 do
26217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26218 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26220 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26221 echo $ECHO_N "(cached) $ECHO_C" >&6
26222 else
26223 cat >conftest.$ac_ext <<_ACEOF
26224 /* confdefs.h. */
26225 _ACEOF
26226 cat confdefs.h >>conftest.$ac_ext
26227 cat >>conftest.$ac_ext <<_ACEOF
26228 /* end confdefs.h. */
26229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26231 #define $ac_func innocuous_$ac_func
26232
26233 /* System header to define __stub macros and hopefully few prototypes,
26234 which can conflict with char $ac_func (); below.
26235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26236 <limits.h> exists even on freestanding compilers. */
26237
26238 #ifdef __STDC__
26239 # include <limits.h>
26240 #else
26241 # include <assert.h>
26242 #endif
26243
26244 #undef $ac_func
26245
26246 /* Override any GCC internal prototype to avoid an error.
26247 Use char because int might match the return type of a GCC
26248 builtin and then its argument prototype would still apply. */
26249 #ifdef __cplusplus
26250 extern "C"
26251 #endif
26252 char $ac_func ();
26253 /* The GNU C library defines this for functions which it implements
26254 to always fail with ENOSYS. Some functions are actually named
26255 something starting with __ and the normal name is an alias. */
26256 #if defined __stub_$ac_func || defined __stub___$ac_func
26257 choke me
26258 #endif
26259
26260 int
26261 main ()
26262 {
26263 return $ac_func ();
26264 ;
26265 return 0;
26266 }
26267 _ACEOF
26268 rm -f conftest.$ac_objext conftest$ac_exeext
26269 if { (ac_try="$ac_link"
26270 case "(($ac_try" in
26271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26272 *) ac_try_echo=$ac_try;;
26273 esac
26274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26275 (eval "$ac_link") 2>conftest.er1
26276 ac_status=$?
26277 grep -v '^ *+' conftest.er1 >conftest.err
26278 rm -f conftest.er1
26279 cat conftest.err >&5
26280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26281 (exit $ac_status); } && {
26282 test -z "$ac_c_werror_flag" ||
26283 test ! -s conftest.err
26284 } && test -s conftest$ac_exeext &&
26285 $as_test_x conftest$ac_exeext; then
26286 eval "$as_ac_var=yes"
26287 else
26288 echo "$as_me: failed program was:" >&5
26289 sed 's/^/| /' conftest.$ac_ext >&5
26290
26291 eval "$as_ac_var=no"
26292 fi
26293
26294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26295 conftest$ac_exeext conftest.$ac_ext
26296 fi
26297 ac_res=`eval echo '${'$as_ac_var'}'`
26298 { echo "$as_me:$LINENO: result: $ac_res" >&5
26299 echo "${ECHO_T}$ac_res" >&6; }
26300 if test `eval echo '${'$as_ac_var'}'` = yes; then
26301 cat >>confdefs.h <<_ACEOF
26302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26303 _ACEOF
26304 have_sin=1
26305 fi
26306 done
26307
26308
26309 for ac_func in ceil
26310 do
26311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26312 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26314 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26315 echo $ECHO_N "(cached) $ECHO_C" >&6
26316 else
26317 cat >conftest.$ac_ext <<_ACEOF
26318 /* confdefs.h. */
26319 _ACEOF
26320 cat confdefs.h >>conftest.$ac_ext
26321 cat >>conftest.$ac_ext <<_ACEOF
26322 /* end confdefs.h. */
26323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26325 #define $ac_func innocuous_$ac_func
26326
26327 /* System header to define __stub macros and hopefully few prototypes,
26328 which can conflict with char $ac_func (); below.
26329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26330 <limits.h> exists even on freestanding compilers. */
26331
26332 #ifdef __STDC__
26333 # include <limits.h>
26334 #else
26335 # include <assert.h>
26336 #endif
26337
26338 #undef $ac_func
26339
26340 /* Override any GCC internal prototype to avoid an error.
26341 Use char because int might match the return type of a GCC
26342 builtin and then its argument prototype would still apply. */
26343 #ifdef __cplusplus
26344 extern "C"
26345 #endif
26346 char $ac_func ();
26347 /* The GNU C library defines this for functions which it implements
26348 to always fail with ENOSYS. Some functions are actually named
26349 something starting with __ and the normal name is an alias. */
26350 #if defined __stub_$ac_func || defined __stub___$ac_func
26351 choke me
26352 #endif
26353
26354 int
26355 main ()
26356 {
26357 return $ac_func ();
26358 ;
26359 return 0;
26360 }
26361 _ACEOF
26362 rm -f conftest.$ac_objext conftest$ac_exeext
26363 if { (ac_try="$ac_link"
26364 case "(($ac_try" in
26365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26366 *) ac_try_echo=$ac_try;;
26367 esac
26368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26369 (eval "$ac_link") 2>conftest.er1
26370 ac_status=$?
26371 grep -v '^ *+' conftest.er1 >conftest.err
26372 rm -f conftest.er1
26373 cat conftest.err >&5
26374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26375 (exit $ac_status); } && {
26376 test -z "$ac_c_werror_flag" ||
26377 test ! -s conftest.err
26378 } && test -s conftest$ac_exeext &&
26379 $as_test_x conftest$ac_exeext; then
26380 eval "$as_ac_var=yes"
26381 else
26382 echo "$as_me: failed program was:" >&5
26383 sed 's/^/| /' conftest.$ac_ext >&5
26384
26385 eval "$as_ac_var=no"
26386 fi
26387
26388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26389 conftest$ac_exeext conftest.$ac_ext
26390 fi
26391 ac_res=`eval echo '${'$as_ac_var'}'`
26392 { echo "$as_me:$LINENO: result: $ac_res" >&5
26393 echo "${ECHO_T}$ac_res" >&6; }
26394 if test `eval echo '${'$as_ac_var'}'` = yes; then
26395 cat >>confdefs.h <<_ACEOF
26396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26397 _ACEOF
26398 have_ceil=1
26399 fi
26400 done
26401
26402 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26403 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26404 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26405 { echo "$as_me:$LINENO: result: yes" >&5
26406 echo "${ECHO_T}yes" >&6; }
26407 else
26408 { echo "$as_me:$LINENO: result: no" >&5
26409 echo "${ECHO_T}no" >&6; }
26410 # not sure we should warn the user, crash, etc.
26411 fi
26412 fi
26413
26414 ac_ext=cpp
26415 ac_cpp='$CXXCPP $CPPFLAGS'
26416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26419
26420 if test "wxUSE_UNICODE" = "yes"; then
26421
26422 for wx_func in wcstoull
26423 do
26424 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26425 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26426 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26427 echo $ECHO_N "(cached) $ECHO_C" >&6
26428 else
26429
26430 cat >conftest.$ac_ext <<_ACEOF
26431
26432 /* confdefs.h. */
26433 _ACEOF
26434 cat confdefs.h >>conftest.$ac_ext
26435 cat >>conftest.$ac_ext <<_ACEOF
26436 /* end confdefs.h. */
26437
26438
26439 $ac_includes_default
26440
26441 int
26442 main ()
26443 {
26444
26445 #ifndef $wx_func
26446 &$wx_func;
26447 #endif
26448
26449
26450 ;
26451 return 0;
26452 }
26453
26454 _ACEOF
26455 rm -f conftest.$ac_objext conftest$ac_exeext
26456 if { (ac_try="$ac_link"
26457 case "(($ac_try" in
26458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26459 *) ac_try_echo=$ac_try;;
26460 esac
26461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26462 (eval "$ac_link") 2>conftest.er1
26463 ac_status=$?
26464 grep -v '^ *+' conftest.er1 >conftest.err
26465 rm -f conftest.er1
26466 cat conftest.err >&5
26467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26468 (exit $ac_status); } && {
26469 test -z "$ac_cxx_werror_flag" ||
26470 test ! -s conftest.err
26471 } && test -s conftest$ac_exeext &&
26472 $as_test_x conftest$ac_exeext; then
26473 eval wx_cv_func_$wx_func=yes
26474 else
26475 echo "$as_me: failed program was:" >&5
26476 sed 's/^/| /' conftest.$ac_ext >&5
26477
26478 eval wx_cv_func_$wx_func=no
26479 fi
26480
26481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26482 conftest$ac_exeext conftest.$ac_ext
26483
26484 fi
26485 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26486 { echo "$as_me:$LINENO: result: $ac_res" >&5
26487 echo "${ECHO_T}$ac_res" >&6; }
26488
26489 if eval test \$wx_cv_func_$wx_func = yes
26490 then
26491 cat >>confdefs.h <<_ACEOF
26492 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26493 _ACEOF
26494
26495
26496 else
26497 :
26498
26499 fi
26500 done
26501
26502 else
26503
26504 for wx_func in strtoull
26505 do
26506 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26507 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26508 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26509 echo $ECHO_N "(cached) $ECHO_C" >&6
26510 else
26511
26512 cat >conftest.$ac_ext <<_ACEOF
26513
26514 /* confdefs.h. */
26515 _ACEOF
26516 cat confdefs.h >>conftest.$ac_ext
26517 cat >>conftest.$ac_ext <<_ACEOF
26518 /* end confdefs.h. */
26519
26520
26521 $ac_includes_default
26522
26523 int
26524 main ()
26525 {
26526
26527 #ifndef $wx_func
26528 &$wx_func;
26529 #endif
26530
26531
26532 ;
26533 return 0;
26534 }
26535
26536 _ACEOF
26537 rm -f conftest.$ac_objext conftest$ac_exeext
26538 if { (ac_try="$ac_link"
26539 case "(($ac_try" in
26540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26541 *) ac_try_echo=$ac_try;;
26542 esac
26543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26544 (eval "$ac_link") 2>conftest.er1
26545 ac_status=$?
26546 grep -v '^ *+' conftest.er1 >conftest.err
26547 rm -f conftest.er1
26548 cat conftest.err >&5
26549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26550 (exit $ac_status); } && {
26551 test -z "$ac_cxx_werror_flag" ||
26552 test ! -s conftest.err
26553 } && test -s conftest$ac_exeext &&
26554 $as_test_x conftest$ac_exeext; then
26555 eval wx_cv_func_$wx_func=yes
26556 else
26557 echo "$as_me: failed program was:" >&5
26558 sed 's/^/| /' conftest.$ac_ext >&5
26559
26560 eval wx_cv_func_$wx_func=no
26561 fi
26562
26563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26564 conftest$ac_exeext conftest.$ac_ext
26565
26566 fi
26567 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26568 { echo "$as_me:$LINENO: result: $ac_res" >&5
26569 echo "${ECHO_T}$ac_res" >&6; }
26570
26571 if eval test \$wx_cv_func_$wx_func = yes
26572 then
26573 cat >>confdefs.h <<_ACEOF
26574 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26575 _ACEOF
26576
26577
26578 else
26579 :
26580
26581 fi
26582 done
26583
26584 fi
26585 ac_ext=c
26586 ac_cpp='$CPP $CPPFLAGS'
26587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26590
26591
26592
26593
26594 if test "$wxUSE_REGEX" != "no"; then
26595 cat >>confdefs.h <<\_ACEOF
26596 #define wxUSE_REGEX 1
26597 _ACEOF
26598
26599
26600 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26601 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26602 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26603 wxUSE_REGEX=builtin
26604 fi
26605
26606 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26607 { echo "$as_me:$LINENO: checking for regex.h" >&5
26608 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26609 if test "${ac_cv_header_regex_h+set}" = set; then
26610 echo $ECHO_N "(cached) $ECHO_C" >&6
26611 else
26612 cat >conftest.$ac_ext <<_ACEOF
26613 /* confdefs.h. */
26614 _ACEOF
26615 cat confdefs.h >>conftest.$ac_ext
26616 cat >>conftest.$ac_ext <<_ACEOF
26617 /* end confdefs.h. */
26618
26619
26620 #include <regex.h>
26621 _ACEOF
26622 rm -f conftest.$ac_objext
26623 if { (ac_try="$ac_compile"
26624 case "(($ac_try" in
26625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26626 *) ac_try_echo=$ac_try;;
26627 esac
26628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26629 (eval "$ac_compile") 2>conftest.er1
26630 ac_status=$?
26631 grep -v '^ *+' conftest.er1 >conftest.err
26632 rm -f conftest.er1
26633 cat conftest.err >&5
26634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26635 (exit $ac_status); } && {
26636 test -z "$ac_c_werror_flag" ||
26637 test ! -s conftest.err
26638 } && test -s conftest.$ac_objext; then
26639 ac_cv_header_regex_h=yes
26640 else
26641 echo "$as_me: failed program was:" >&5
26642 sed 's/^/| /' conftest.$ac_ext >&5
26643
26644 ac_cv_header_regex_h=no
26645 fi
26646
26647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26648 fi
26649 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26650 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26651 if test $ac_cv_header_regex_h = yes; then
26652
26653
26654 for ac_func in regcomp re_search
26655 do
26656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26657 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26659 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26660 echo $ECHO_N "(cached) $ECHO_C" >&6
26661 else
26662 cat >conftest.$ac_ext <<_ACEOF
26663 /* confdefs.h. */
26664 _ACEOF
26665 cat confdefs.h >>conftest.$ac_ext
26666 cat >>conftest.$ac_ext <<_ACEOF
26667 /* end confdefs.h. */
26668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26670 #define $ac_func innocuous_$ac_func
26671
26672 /* System header to define __stub macros and hopefully few prototypes,
26673 which can conflict with char $ac_func (); below.
26674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26675 <limits.h> exists even on freestanding compilers. */
26676
26677 #ifdef __STDC__
26678 # include <limits.h>
26679 #else
26680 # include <assert.h>
26681 #endif
26682
26683 #undef $ac_func
26684
26685 /* Override any GCC internal prototype to avoid an error.
26686 Use char because int might match the return type of a GCC
26687 builtin and then its argument prototype would still apply. */
26688 #ifdef __cplusplus
26689 extern "C"
26690 #endif
26691 char $ac_func ();
26692 /* The GNU C library defines this for functions which it implements
26693 to always fail with ENOSYS. Some functions are actually named
26694 something starting with __ and the normal name is an alias. */
26695 #if defined __stub_$ac_func || defined __stub___$ac_func
26696 choke me
26697 #endif
26698
26699 int
26700 main ()
26701 {
26702 return $ac_func ();
26703 ;
26704 return 0;
26705 }
26706 _ACEOF
26707 rm -f conftest.$ac_objext conftest$ac_exeext
26708 if { (ac_try="$ac_link"
26709 case "(($ac_try" in
26710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26711 *) ac_try_echo=$ac_try;;
26712 esac
26713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26714 (eval "$ac_link") 2>conftest.er1
26715 ac_status=$?
26716 grep -v '^ *+' conftest.er1 >conftest.err
26717 rm -f conftest.er1
26718 cat conftest.err >&5
26719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26720 (exit $ac_status); } && {
26721 test -z "$ac_c_werror_flag" ||
26722 test ! -s conftest.err
26723 } && test -s conftest$ac_exeext &&
26724 $as_test_x conftest$ac_exeext; then
26725 eval "$as_ac_var=yes"
26726 else
26727 echo "$as_me: failed program was:" >&5
26728 sed 's/^/| /' conftest.$ac_ext >&5
26729
26730 eval "$as_ac_var=no"
26731 fi
26732
26733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26734 conftest$ac_exeext conftest.$ac_ext
26735 fi
26736 ac_res=`eval echo '${'$as_ac_var'}'`
26737 { echo "$as_me:$LINENO: result: $ac_res" >&5
26738 echo "${ECHO_T}$ac_res" >&6; }
26739 if test `eval echo '${'$as_ac_var'}'` = yes; then
26740 cat >>confdefs.h <<_ACEOF
26741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26742 _ACEOF
26743
26744 fi
26745 done
26746
26747 fi
26748
26749
26750
26751 if test "x$ac_cv_func_regcomp" != "xyes"; then
26752 if test "$wxUSE_REGEX" = "sys" ; then
26753 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26754 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26755 { (exit 1); exit 1; }; }
26756 else
26757 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26758 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26759 wxUSE_REGEX=builtin
26760 fi
26761 else
26762 wxUSE_REGEX=sys
26763 cat >>confdefs.h <<\_ACEOF
26764 #define WX_NO_REGEX_ADVANCED 1
26765 _ACEOF
26766
26767 fi
26768 fi
26769 fi
26770
26771
26772 ZLIB_LINK=
26773 if test "$wxUSE_ZLIB" != "no" ; then
26774 cat >>confdefs.h <<\_ACEOF
26775 #define wxUSE_ZLIB 1
26776 _ACEOF
26777
26778
26779 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26780 if test "$USE_DARWIN" = 1; then
26781 system_zlib_h_ok="yes"
26782 else
26783 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26784 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26785 if test "${ac_cv_header_zlib_h+set}" = set; then
26786 echo $ECHO_N "(cached) $ECHO_C" >&6
26787 else
26788 if test "$cross_compiling" = yes; then
26789 unset ac_cv_header_zlib_h
26790
26791 else
26792 cat >conftest.$ac_ext <<_ACEOF
26793 /* confdefs.h. */
26794 _ACEOF
26795 cat confdefs.h >>conftest.$ac_ext
26796 cat >>conftest.$ac_ext <<_ACEOF
26797 /* end confdefs.h. */
26798
26799 #include <zlib.h>
26800 #include <stdio.h>
26801
26802 int main()
26803 {
26804 FILE *f=fopen("conftestval", "w");
26805 if (!f) exit(1);
26806 fprintf(f, "%s",
26807 ZLIB_VERSION[0] == '1' &&
26808 (ZLIB_VERSION[2] > '1' ||
26809 (ZLIB_VERSION[2] == '1' &&
26810 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26811 exit(0);
26812 }
26813
26814 _ACEOF
26815 rm -f 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>&5
26823 ac_status=$?
26824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26825 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26826 { (case "(($ac_try" in
26827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26828 *) ac_try_echo=$ac_try;;
26829 esac
26830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26831 (eval "$ac_try") 2>&5
26832 ac_status=$?
26833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26834 (exit $ac_status); }; }; then
26835 ac_cv_header_zlib_h=`cat conftestval`
26836 else
26837 echo "$as_me: program exited with status $ac_status" >&5
26838 echo "$as_me: failed program was:" >&5
26839 sed 's/^/| /' conftest.$ac_ext >&5
26840
26841 ( exit $ac_status )
26842 ac_cv_header_zlib_h=no
26843 fi
26844 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26845 fi
26846
26847
26848
26849 fi
26850 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26851 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26852 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26853 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26854 if test "${ac_cv_header_zlib_h+set}" = set; then
26855 echo $ECHO_N "(cached) $ECHO_C" >&6
26856 else
26857 cat >conftest.$ac_ext <<_ACEOF
26858 /* confdefs.h. */
26859 _ACEOF
26860 cat confdefs.h >>conftest.$ac_ext
26861 cat >>conftest.$ac_ext <<_ACEOF
26862 /* end confdefs.h. */
26863
26864
26865 #include <zlib.h>
26866 _ACEOF
26867 rm -f conftest.$ac_objext
26868 if { (ac_try="$ac_compile"
26869 case "(($ac_try" in
26870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26871 *) ac_try_echo=$ac_try;;
26872 esac
26873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26874 (eval "$ac_compile") 2>conftest.er1
26875 ac_status=$?
26876 grep -v '^ *+' conftest.er1 >conftest.err
26877 rm -f conftest.er1
26878 cat conftest.err >&5
26879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26880 (exit $ac_status); } && {
26881 test -z "$ac_c_werror_flag" ||
26882 test ! -s conftest.err
26883 } && test -s conftest.$ac_objext; then
26884 ac_cv_header_zlib_h=yes
26885 else
26886 echo "$as_me: failed program was:" >&5
26887 sed 's/^/| /' conftest.$ac_ext >&5
26888
26889 ac_cv_header_zlib_h=no
26890 fi
26891
26892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26893 fi
26894 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26895 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26896
26897
26898
26899 system_zlib_h_ok=$ac_cv_header_zlib_h
26900 fi
26901
26902 if test "$system_zlib_h_ok" = "yes"; then
26903 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26904 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26905 if test "${ac_cv_lib_z_deflate+set}" = set; then
26906 echo $ECHO_N "(cached) $ECHO_C" >&6
26907 else
26908 ac_check_lib_save_LIBS=$LIBS
26909 LIBS="-lz $LIBS"
26910 cat >conftest.$ac_ext <<_ACEOF
26911 /* confdefs.h. */
26912 _ACEOF
26913 cat confdefs.h >>conftest.$ac_ext
26914 cat >>conftest.$ac_ext <<_ACEOF
26915 /* end confdefs.h. */
26916
26917 /* Override any GCC internal prototype to avoid an error.
26918 Use char because int might match the return type of a GCC
26919 builtin and then its argument prototype would still apply. */
26920 #ifdef __cplusplus
26921 extern "C"
26922 #endif
26923 char deflate ();
26924 int
26925 main ()
26926 {
26927 return deflate ();
26928 ;
26929 return 0;
26930 }
26931 _ACEOF
26932 rm -f conftest.$ac_objext conftest$ac_exeext
26933 if { (ac_try="$ac_link"
26934 case "(($ac_try" in
26935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26936 *) ac_try_echo=$ac_try;;
26937 esac
26938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26939 (eval "$ac_link") 2>conftest.er1
26940 ac_status=$?
26941 grep -v '^ *+' conftest.er1 >conftest.err
26942 rm -f conftest.er1
26943 cat conftest.err >&5
26944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26945 (exit $ac_status); } && {
26946 test -z "$ac_c_werror_flag" ||
26947 test ! -s conftest.err
26948 } && test -s conftest$ac_exeext &&
26949 $as_test_x conftest$ac_exeext; then
26950 ac_cv_lib_z_deflate=yes
26951 else
26952 echo "$as_me: failed program was:" >&5
26953 sed 's/^/| /' conftest.$ac_ext >&5
26954
26955 ac_cv_lib_z_deflate=no
26956 fi
26957
26958 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26959 conftest$ac_exeext conftest.$ac_ext
26960 LIBS=$ac_check_lib_save_LIBS
26961 fi
26962 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26963 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26964 if test $ac_cv_lib_z_deflate = yes; then
26965 ZLIB_LINK=" -lz"
26966 fi
26967
26968 fi
26969
26970 if test "x$ZLIB_LINK" = "x" ; then
26971 if test "$wxUSE_ZLIB" = "sys" ; then
26972 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26973 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26974 { (exit 1); exit 1; }; }
26975 else
26976 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26977 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26978 wxUSE_ZLIB=builtin
26979 fi
26980 else
26981 wxUSE_ZLIB=sys
26982 fi
26983 fi
26984 fi
26985
26986
26987 PNG_LINK=
26988 if test "$wxUSE_LIBPNG" != "no" ; then
26989 cat >>confdefs.h <<\_ACEOF
26990 #define wxUSE_LIBPNG 1
26991 _ACEOF
26992
26993
26994 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26995 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26996 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26997 wxUSE_LIBPNG=sys
26998 fi
26999
27000 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
27001 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
27002 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
27003 wxUSE_LIBPNG=builtin
27004 fi
27005
27006 if test "$wxUSE_MGL" != 1 ; then
27007 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
27008 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
27009 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
27010 if test "${ac_cv_header_png_h+set}" = set; then
27011 echo $ECHO_N "(cached) $ECHO_C" >&6
27012 else
27013 if test "$cross_compiling" = yes; then
27014 unset ac_cv_header_png_h
27015
27016 else
27017 cat >conftest.$ac_ext <<_ACEOF
27018 /* confdefs.h. */
27019 _ACEOF
27020 cat confdefs.h >>conftest.$ac_ext
27021 cat >>conftest.$ac_ext <<_ACEOF
27022 /* end confdefs.h. */
27023
27024 #include <png.h>
27025 #include <stdio.h>
27026
27027 int main()
27028 {
27029 FILE *f=fopen("conftestval", "w");
27030 if (!f) exit(1);
27031 fprintf(f, "%s",
27032 PNG_LIBPNG_VER > 90 ? "yes" : "no");
27033 exit(0);
27034 }
27035
27036 _ACEOF
27037 rm -f conftest$ac_exeext
27038 if { (ac_try="$ac_link"
27039 case "(($ac_try" in
27040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27041 *) ac_try_echo=$ac_try;;
27042 esac
27043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27044 (eval "$ac_link") 2>&5
27045 ac_status=$?
27046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27047 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27048 { (case "(($ac_try" in
27049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27050 *) ac_try_echo=$ac_try;;
27051 esac
27052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27053 (eval "$ac_try") 2>&5
27054 ac_status=$?
27055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27056 (exit $ac_status); }; }; then
27057 ac_cv_header_png_h=`cat conftestval`
27058 else
27059 echo "$as_me: program exited with status $ac_status" >&5
27060 echo "$as_me: failed program was:" >&5
27061 sed 's/^/| /' conftest.$ac_ext >&5
27062
27063 ( exit $ac_status )
27064 ac_cv_header_png_h=no
27065 fi
27066 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27067 fi
27068
27069
27070
27071 fi
27072 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27073 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27074 { echo "$as_me:$LINENO: checking for png.h" >&5
27075 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
27076 if test "${ac_cv_header_png_h+set}" = set; then
27077 echo $ECHO_N "(cached) $ECHO_C" >&6
27078 else
27079 cat >conftest.$ac_ext <<_ACEOF
27080 /* confdefs.h. */
27081 _ACEOF
27082 cat confdefs.h >>conftest.$ac_ext
27083 cat >>conftest.$ac_ext <<_ACEOF
27084 /* end confdefs.h. */
27085
27086
27087 #include <png.h>
27088 _ACEOF
27089 rm -f conftest.$ac_objext
27090 if { (ac_try="$ac_compile"
27091 case "(($ac_try" in
27092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27093 *) ac_try_echo=$ac_try;;
27094 esac
27095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27096 (eval "$ac_compile") 2>conftest.er1
27097 ac_status=$?
27098 grep -v '^ *+' conftest.er1 >conftest.err
27099 rm -f conftest.er1
27100 cat conftest.err >&5
27101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27102 (exit $ac_status); } && {
27103 test -z "$ac_c_werror_flag" ||
27104 test ! -s conftest.err
27105 } && test -s conftest.$ac_objext; then
27106 ac_cv_header_png_h=yes
27107 else
27108 echo "$as_me: failed program was:" >&5
27109 sed 's/^/| /' conftest.$ac_ext >&5
27110
27111 ac_cv_header_png_h=no
27112 fi
27113
27114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27115 fi
27116 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27117 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27118
27119
27120
27121 if test "$ac_cv_header_png_h" = "yes"; then
27122 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
27123 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
27124 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
27125 echo $ECHO_N "(cached) $ECHO_C" >&6
27126 else
27127 ac_check_lib_save_LIBS=$LIBS
27128 LIBS="-lpng -lz -lm $LIBS"
27129 cat >conftest.$ac_ext <<_ACEOF
27130 /* confdefs.h. */
27131 _ACEOF
27132 cat confdefs.h >>conftest.$ac_ext
27133 cat >>conftest.$ac_ext <<_ACEOF
27134 /* end confdefs.h. */
27135
27136 /* Override any GCC internal prototype to avoid an error.
27137 Use char because int might match the return type of a GCC
27138 builtin and then its argument prototype would still apply. */
27139 #ifdef __cplusplus
27140 extern "C"
27141 #endif
27142 char png_check_sig ();
27143 int
27144 main ()
27145 {
27146 return png_check_sig ();
27147 ;
27148 return 0;
27149 }
27150 _ACEOF
27151 rm -f conftest.$ac_objext conftest$ac_exeext
27152 if { (ac_try="$ac_link"
27153 case "(($ac_try" in
27154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27155 *) ac_try_echo=$ac_try;;
27156 esac
27157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27158 (eval "$ac_link") 2>conftest.er1
27159 ac_status=$?
27160 grep -v '^ *+' conftest.er1 >conftest.err
27161 rm -f conftest.er1
27162 cat conftest.err >&5
27163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27164 (exit $ac_status); } && {
27165 test -z "$ac_c_werror_flag" ||
27166 test ! -s conftest.err
27167 } && test -s conftest$ac_exeext &&
27168 $as_test_x conftest$ac_exeext; then
27169 ac_cv_lib_png_png_check_sig=yes
27170 else
27171 echo "$as_me: failed program was:" >&5
27172 sed 's/^/| /' conftest.$ac_ext >&5
27173
27174 ac_cv_lib_png_png_check_sig=no
27175 fi
27176
27177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27178 conftest$ac_exeext conftest.$ac_ext
27179 LIBS=$ac_check_lib_save_LIBS
27180 fi
27181 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
27182 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
27183 if test $ac_cv_lib_png_png_check_sig = yes; then
27184 PNG_LINK=" -lpng -lz"
27185 fi
27186
27187 fi
27188
27189 if test "x$PNG_LINK" = "x" ; then
27190 if test "$wxUSE_LIBPNG" = "sys" ; then
27191 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27192 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27193 { (exit 1); exit 1; }; }
27194 else
27195 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27196 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27197 wxUSE_LIBPNG=builtin
27198 fi
27199 else
27200 wxUSE_LIBPNG=sys
27201 fi
27202 fi
27203 fi
27204 fi
27205
27206
27207 JPEG_LINK=
27208 if test "$wxUSE_LIBJPEG" != "no" ; then
27209 cat >>confdefs.h <<\_ACEOF
27210 #define wxUSE_LIBJPEG 1
27211 _ACEOF
27212
27213
27214 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27215 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27216 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27217 wxUSE_LIBJPEG=sys
27218 fi
27219
27220 if test "$wxUSE_MGL" != 1 ; then
27221 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27222 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27223 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
27224 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27225 echo $ECHO_N "(cached) $ECHO_C" >&6
27226 else
27227 cat >conftest.$ac_ext <<_ACEOF
27228 /* confdefs.h. */
27229 _ACEOF
27230 cat confdefs.h >>conftest.$ac_ext
27231 cat >>conftest.$ac_ext <<_ACEOF
27232 /* end confdefs.h. */
27233
27234 #undef HAVE_STDLIB_H
27235 #include <stdio.h>
27236 #include <jpeglib.h>
27237
27238 int
27239 main ()
27240 {
27241
27242
27243 ;
27244 return 0;
27245 }
27246 _ACEOF
27247 rm -f conftest.$ac_objext
27248 if { (ac_try="$ac_compile"
27249 case "(($ac_try" in
27250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27251 *) ac_try_echo=$ac_try;;
27252 esac
27253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27254 (eval "$ac_compile") 2>conftest.er1
27255 ac_status=$?
27256 grep -v '^ *+' conftest.er1 >conftest.err
27257 rm -f conftest.er1
27258 cat conftest.err >&5
27259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27260 (exit $ac_status); } && {
27261 test -z "$ac_c_werror_flag" ||
27262 test ! -s conftest.err
27263 } && test -s conftest.$ac_objext; then
27264 ac_cv_header_jpeglib_h=yes
27265 else
27266 echo "$as_me: failed program was:" >&5
27267 sed 's/^/| /' conftest.$ac_ext >&5
27268
27269 ac_cv_header_jpeglib_h=no
27270
27271 fi
27272
27273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27274
27275 fi
27276
27277 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27278 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
27279
27280 if test "$ac_cv_header_jpeglib_h" = "yes"; then
27281 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
27282 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
27283 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27284 echo $ECHO_N "(cached) $ECHO_C" >&6
27285 else
27286 ac_check_lib_save_LIBS=$LIBS
27287 LIBS="-ljpeg $LIBS"
27288 cat >conftest.$ac_ext <<_ACEOF
27289 /* confdefs.h. */
27290 _ACEOF
27291 cat confdefs.h >>conftest.$ac_ext
27292 cat >>conftest.$ac_ext <<_ACEOF
27293 /* end confdefs.h. */
27294
27295 /* Override any GCC internal prototype to avoid an error.
27296 Use char because int might match the return type of a GCC
27297 builtin and then its argument prototype would still apply. */
27298 #ifdef __cplusplus
27299 extern "C"
27300 #endif
27301 char jpeg_read_header ();
27302 int
27303 main ()
27304 {
27305 return jpeg_read_header ();
27306 ;
27307 return 0;
27308 }
27309 _ACEOF
27310 rm -f conftest.$ac_objext conftest$ac_exeext
27311 if { (ac_try="$ac_link"
27312 case "(($ac_try" in
27313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27314 *) ac_try_echo=$ac_try;;
27315 esac
27316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27317 (eval "$ac_link") 2>conftest.er1
27318 ac_status=$?
27319 grep -v '^ *+' conftest.er1 >conftest.err
27320 rm -f conftest.er1
27321 cat conftest.err >&5
27322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27323 (exit $ac_status); } && {
27324 test -z "$ac_c_werror_flag" ||
27325 test ! -s conftest.err
27326 } && test -s conftest$ac_exeext &&
27327 $as_test_x conftest$ac_exeext; then
27328 ac_cv_lib_jpeg_jpeg_read_header=yes
27329 else
27330 echo "$as_me: failed program was:" >&5
27331 sed 's/^/| /' conftest.$ac_ext >&5
27332
27333 ac_cv_lib_jpeg_jpeg_read_header=no
27334 fi
27335
27336 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27337 conftest$ac_exeext conftest.$ac_ext
27338 LIBS=$ac_check_lib_save_LIBS
27339 fi
27340 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27341 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27342 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27343 JPEG_LINK=" -ljpeg"
27344 fi
27345
27346 fi
27347
27348 if test "x$JPEG_LINK" = "x" ; then
27349 if test "$wxUSE_LIBJPEG" = "sys" ; then
27350 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27351 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27352 { (exit 1); exit 1; }; }
27353 else
27354 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27355 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27356 wxUSE_LIBJPEG=builtin
27357 fi
27358 else
27359 wxUSE_LIBJPEG=sys
27360
27361 if test "$wxUSE_MSW" = 1; then
27362 { echo "$as_me:$LINENO: checking for boolean" >&5
27363 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27364 if test "${ac_cv_type_boolean+set}" = set; then
27365 echo $ECHO_N "(cached) $ECHO_C" >&6
27366 else
27367 cat >conftest.$ac_ext <<_ACEOF
27368 /* confdefs.h. */
27369 _ACEOF
27370 cat confdefs.h >>conftest.$ac_ext
27371 cat >>conftest.$ac_ext <<_ACEOF
27372 /* end confdefs.h. */
27373 #include <windows.h>
27374
27375 typedef boolean ac__type_new_;
27376 int
27377 main ()
27378 {
27379 if ((ac__type_new_ *) 0)
27380 return 0;
27381 if (sizeof (ac__type_new_))
27382 return 0;
27383 ;
27384 return 0;
27385 }
27386 _ACEOF
27387 rm -f conftest.$ac_objext
27388 if { (ac_try="$ac_compile"
27389 case "(($ac_try" in
27390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27391 *) ac_try_echo=$ac_try;;
27392 esac
27393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27394 (eval "$ac_compile") 2>conftest.er1
27395 ac_status=$?
27396 grep -v '^ *+' conftest.er1 >conftest.err
27397 rm -f conftest.er1
27398 cat conftest.err >&5
27399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27400 (exit $ac_status); } && {
27401 test -z "$ac_c_werror_flag" ||
27402 test ! -s conftest.err
27403 } && test -s conftest.$ac_objext; then
27404 ac_cv_type_boolean=yes
27405 else
27406 echo "$as_me: failed program was:" >&5
27407 sed 's/^/| /' conftest.$ac_ext >&5
27408
27409 ac_cv_type_boolean=no
27410 fi
27411
27412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27413 fi
27414 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27415 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27416 if test $ac_cv_type_boolean = yes; then
27417
27418 cat >>confdefs.h <<_ACEOF
27419 #define HAVE_BOOLEAN 1
27420 _ACEOF
27421
27422
27423 { echo "$as_me:$LINENO: checking for boolean" >&5
27424 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27425 if test "${ac_cv_type_boolean+set}" = set; then
27426 echo $ECHO_N "(cached) $ECHO_C" >&6
27427 else
27428 cat >conftest.$ac_ext <<_ACEOF
27429 /* confdefs.h. */
27430 _ACEOF
27431 cat confdefs.h >>conftest.$ac_ext
27432 cat >>conftest.$ac_ext <<_ACEOF
27433 /* end confdefs.h. */
27434
27435 #undef HAVE_BOOLEAN
27436 #include <stdio.h>
27437 #include <jpeglib.h>
27438
27439
27440 typedef boolean ac__type_new_;
27441 int
27442 main ()
27443 {
27444 if ((ac__type_new_ *) 0)
27445 return 0;
27446 if (sizeof (ac__type_new_))
27447 return 0;
27448 ;
27449 return 0;
27450 }
27451 _ACEOF
27452 rm -f conftest.$ac_objext
27453 if { (ac_try="$ac_compile"
27454 case "(($ac_try" in
27455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27456 *) ac_try_echo=$ac_try;;
27457 esac
27458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27459 (eval "$ac_compile") 2>conftest.er1
27460 ac_status=$?
27461 grep -v '^ *+' conftest.er1 >conftest.err
27462 rm -f conftest.er1
27463 cat conftest.err >&5
27464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27465 (exit $ac_status); } && {
27466 test -z "$ac_c_werror_flag" ||
27467 test ! -s conftest.err
27468 } && test -s conftest.$ac_objext; then
27469 ac_cv_type_boolean=yes
27470 else
27471 echo "$as_me: failed program was:" >&5
27472 sed 's/^/| /' conftest.$ac_ext >&5
27473
27474 ac_cv_type_boolean=no
27475 fi
27476
27477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27478 fi
27479 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27480 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27481
27482 # The cast to long int works around a bug in the HP C Compiler
27483 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27484 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27485 # This bug is HP SR number 8606223364.
27486 { echo "$as_me:$LINENO: checking size of boolean" >&5
27487 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27488 if test "${ac_cv_sizeof_boolean+set}" = set; then
27489 echo $ECHO_N "(cached) $ECHO_C" >&6
27490 else
27491 if test "$cross_compiling" = yes; then
27492 # Depending upon the size, compute the lo and hi bounds.
27493 cat >conftest.$ac_ext <<_ACEOF
27494 /* confdefs.h. */
27495 _ACEOF
27496 cat confdefs.h >>conftest.$ac_ext
27497 cat >>conftest.$ac_ext <<_ACEOF
27498 /* end confdefs.h. */
27499
27500 #undef HAVE_BOOLEAN
27501 #include <stdio.h>
27502 #include <jpeglib.h>
27503
27504
27505 typedef boolean ac__type_sizeof_;
27506 int
27507 main ()
27508 {
27509 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27510 test_array [0] = 0
27511
27512 ;
27513 return 0;
27514 }
27515 _ACEOF
27516 rm -f conftest.$ac_objext
27517 if { (ac_try="$ac_compile"
27518 case "(($ac_try" in
27519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27520 *) ac_try_echo=$ac_try;;
27521 esac
27522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27523 (eval "$ac_compile") 2>conftest.er1
27524 ac_status=$?
27525 grep -v '^ *+' conftest.er1 >conftest.err
27526 rm -f conftest.er1
27527 cat conftest.err >&5
27528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27529 (exit $ac_status); } && {
27530 test -z "$ac_c_werror_flag" ||
27531 test ! -s conftest.err
27532 } && test -s conftest.$ac_objext; then
27533 ac_lo=0 ac_mid=0
27534 while :; do
27535 cat >conftest.$ac_ext <<_ACEOF
27536 /* confdefs.h. */
27537 _ACEOF
27538 cat confdefs.h >>conftest.$ac_ext
27539 cat >>conftest.$ac_ext <<_ACEOF
27540 /* end confdefs.h. */
27541
27542 #undef HAVE_BOOLEAN
27543 #include <stdio.h>
27544 #include <jpeglib.h>
27545
27546
27547 typedef boolean ac__type_sizeof_;
27548 int
27549 main ()
27550 {
27551 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27552 test_array [0] = 0
27553
27554 ;
27555 return 0;
27556 }
27557 _ACEOF
27558 rm -f conftest.$ac_objext
27559 if { (ac_try="$ac_compile"
27560 case "(($ac_try" in
27561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27562 *) ac_try_echo=$ac_try;;
27563 esac
27564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27565 (eval "$ac_compile") 2>conftest.er1
27566 ac_status=$?
27567 grep -v '^ *+' conftest.er1 >conftest.err
27568 rm -f conftest.er1
27569 cat conftest.err >&5
27570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27571 (exit $ac_status); } && {
27572 test -z "$ac_c_werror_flag" ||
27573 test ! -s conftest.err
27574 } && test -s conftest.$ac_objext; then
27575 ac_hi=$ac_mid; break
27576 else
27577 echo "$as_me: failed program was:" >&5
27578 sed 's/^/| /' conftest.$ac_ext >&5
27579
27580 ac_lo=`expr $ac_mid + 1`
27581 if test $ac_lo -le $ac_mid; then
27582 ac_lo= ac_hi=
27583 break
27584 fi
27585 ac_mid=`expr 2 '*' $ac_mid + 1`
27586 fi
27587
27588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27589 done
27590 else
27591 echo "$as_me: failed program was:" >&5
27592 sed 's/^/| /' conftest.$ac_ext >&5
27593
27594 cat >conftest.$ac_ext <<_ACEOF
27595 /* confdefs.h. */
27596 _ACEOF
27597 cat confdefs.h >>conftest.$ac_ext
27598 cat >>conftest.$ac_ext <<_ACEOF
27599 /* end confdefs.h. */
27600
27601 #undef HAVE_BOOLEAN
27602 #include <stdio.h>
27603 #include <jpeglib.h>
27604
27605
27606 typedef boolean ac__type_sizeof_;
27607 int
27608 main ()
27609 {
27610 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27611 test_array [0] = 0
27612
27613 ;
27614 return 0;
27615 }
27616 _ACEOF
27617 rm -f conftest.$ac_objext
27618 if { (ac_try="$ac_compile"
27619 case "(($ac_try" in
27620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27621 *) ac_try_echo=$ac_try;;
27622 esac
27623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27624 (eval "$ac_compile") 2>conftest.er1
27625 ac_status=$?
27626 grep -v '^ *+' conftest.er1 >conftest.err
27627 rm -f conftest.er1
27628 cat conftest.err >&5
27629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27630 (exit $ac_status); } && {
27631 test -z "$ac_c_werror_flag" ||
27632 test ! -s conftest.err
27633 } && test -s conftest.$ac_objext; then
27634 ac_hi=-1 ac_mid=-1
27635 while :; do
27636 cat >conftest.$ac_ext <<_ACEOF
27637 /* confdefs.h. */
27638 _ACEOF
27639 cat confdefs.h >>conftest.$ac_ext
27640 cat >>conftest.$ac_ext <<_ACEOF
27641 /* end confdefs.h. */
27642
27643 #undef HAVE_BOOLEAN
27644 #include <stdio.h>
27645 #include <jpeglib.h>
27646
27647
27648 typedef boolean ac__type_sizeof_;
27649 int
27650 main ()
27651 {
27652 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27653 test_array [0] = 0
27654
27655 ;
27656 return 0;
27657 }
27658 _ACEOF
27659 rm -f conftest.$ac_objext
27660 if { (ac_try="$ac_compile"
27661 case "(($ac_try" in
27662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27663 *) ac_try_echo=$ac_try;;
27664 esac
27665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27666 (eval "$ac_compile") 2>conftest.er1
27667 ac_status=$?
27668 grep -v '^ *+' conftest.er1 >conftest.err
27669 rm -f conftest.er1
27670 cat conftest.err >&5
27671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27672 (exit $ac_status); } && {
27673 test -z "$ac_c_werror_flag" ||
27674 test ! -s conftest.err
27675 } && test -s conftest.$ac_objext; then
27676 ac_lo=$ac_mid; break
27677 else
27678 echo "$as_me: failed program was:" >&5
27679 sed 's/^/| /' conftest.$ac_ext >&5
27680
27681 ac_hi=`expr '(' $ac_mid ')' - 1`
27682 if test $ac_mid -le $ac_hi; then
27683 ac_lo= ac_hi=
27684 break
27685 fi
27686 ac_mid=`expr 2 '*' $ac_mid`
27687 fi
27688
27689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27690 done
27691 else
27692 echo "$as_me: failed program was:" >&5
27693 sed 's/^/| /' conftest.$ac_ext >&5
27694
27695 ac_lo= ac_hi=
27696 fi
27697
27698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27699 fi
27700
27701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27702 # Binary search between lo and hi bounds.
27703 while test "x$ac_lo" != "x$ac_hi"; do
27704 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27705 cat >conftest.$ac_ext <<_ACEOF
27706 /* confdefs.h. */
27707 _ACEOF
27708 cat confdefs.h >>conftest.$ac_ext
27709 cat >>conftest.$ac_ext <<_ACEOF
27710 /* end confdefs.h. */
27711
27712 #undef HAVE_BOOLEAN
27713 #include <stdio.h>
27714 #include <jpeglib.h>
27715
27716
27717 typedef boolean ac__type_sizeof_;
27718 int
27719 main ()
27720 {
27721 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27722 test_array [0] = 0
27723
27724 ;
27725 return 0;
27726 }
27727 _ACEOF
27728 rm -f conftest.$ac_objext
27729 if { (ac_try="$ac_compile"
27730 case "(($ac_try" in
27731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27732 *) ac_try_echo=$ac_try;;
27733 esac
27734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27735 (eval "$ac_compile") 2>conftest.er1
27736 ac_status=$?
27737 grep -v '^ *+' conftest.er1 >conftest.err
27738 rm -f conftest.er1
27739 cat conftest.err >&5
27740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27741 (exit $ac_status); } && {
27742 test -z "$ac_c_werror_flag" ||
27743 test ! -s conftest.err
27744 } && test -s conftest.$ac_objext; then
27745 ac_hi=$ac_mid
27746 else
27747 echo "$as_me: failed program was:" >&5
27748 sed 's/^/| /' conftest.$ac_ext >&5
27749
27750 ac_lo=`expr '(' $ac_mid ')' + 1`
27751 fi
27752
27753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27754 done
27755 case $ac_lo in
27756 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27757 '') if test "$ac_cv_type_boolean" = yes; then
27758 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27759 See \`config.log' for more details." >&5
27760 echo "$as_me: error: cannot compute sizeof (boolean)
27761 See \`config.log' for more details." >&2;}
27762 { (exit 77); exit 77; }; }
27763 else
27764 ac_cv_sizeof_boolean=0
27765 fi ;;
27766 esac
27767 else
27768 cat >conftest.$ac_ext <<_ACEOF
27769 /* confdefs.h. */
27770 _ACEOF
27771 cat confdefs.h >>conftest.$ac_ext
27772 cat >>conftest.$ac_ext <<_ACEOF
27773 /* end confdefs.h. */
27774
27775 #undef HAVE_BOOLEAN
27776 #include <stdio.h>
27777 #include <jpeglib.h>
27778
27779
27780 typedef boolean ac__type_sizeof_;
27781 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27782 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27783 #include <stdio.h>
27784 #include <stdlib.h>
27785 int
27786 main ()
27787 {
27788
27789 FILE *f = fopen ("conftest.val", "w");
27790 if (! f)
27791 return 1;
27792 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27793 {
27794 long int i = longval ();
27795 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27796 return 1;
27797 fprintf (f, "%ld\n", i);
27798 }
27799 else
27800 {
27801 unsigned long int i = ulongval ();
27802 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27803 return 1;
27804 fprintf (f, "%lu\n", i);
27805 }
27806 return ferror (f) || fclose (f) != 0;
27807
27808 ;
27809 return 0;
27810 }
27811 _ACEOF
27812 rm -f conftest$ac_exeext
27813 if { (ac_try="$ac_link"
27814 case "(($ac_try" in
27815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27816 *) ac_try_echo=$ac_try;;
27817 esac
27818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27819 (eval "$ac_link") 2>&5
27820 ac_status=$?
27821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27822 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27823 { (case "(($ac_try" in
27824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27825 *) ac_try_echo=$ac_try;;
27826 esac
27827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27828 (eval "$ac_try") 2>&5
27829 ac_status=$?
27830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27831 (exit $ac_status); }; }; then
27832 ac_cv_sizeof_boolean=`cat conftest.val`
27833 else
27834 echo "$as_me: program exited with status $ac_status" >&5
27835 echo "$as_me: failed program was:" >&5
27836 sed 's/^/| /' conftest.$ac_ext >&5
27837
27838 ( exit $ac_status )
27839 if test "$ac_cv_type_boolean" = yes; then
27840 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27841 See \`config.log' for more details." >&5
27842 echo "$as_me: error: cannot compute sizeof (boolean)
27843 See \`config.log' for more details." >&2;}
27844 { (exit 77); exit 77; }; }
27845 else
27846 ac_cv_sizeof_boolean=0
27847 fi
27848 fi
27849 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27850 fi
27851 rm -f conftest.val
27852 fi
27853 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27854 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27855
27856
27857
27858 cat >>confdefs.h <<_ACEOF
27859 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27860 _ACEOF
27861
27862
27863 cat >>confdefs.h <<_ACEOF
27864 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27865 _ACEOF
27866
27867
27868 fi
27869
27870 fi
27871 fi
27872 fi
27873 fi
27874 fi
27875
27876
27877 TIFF_LINK=
27878 TIFF_PREREQ_LINKS=-lm
27879 if test "$wxUSE_LIBTIFF" != "no" ; then
27880 cat >>confdefs.h <<\_ACEOF
27881 #define wxUSE_LIBTIFF 1
27882 _ACEOF
27883
27884
27885 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27886 if test "$wxUSE_LIBJPEG" = "sys"; then
27887 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27888 fi
27889 if test "$wxUSE_ZLIB" = "sys"; then
27890 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27891 fi
27892 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27893 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27894 if test "${ac_cv_header_tiffio_h+set}" = set; then
27895 echo $ECHO_N "(cached) $ECHO_C" >&6
27896 else
27897 cat >conftest.$ac_ext <<_ACEOF
27898 /* confdefs.h. */
27899 _ACEOF
27900 cat confdefs.h >>conftest.$ac_ext
27901 cat >>conftest.$ac_ext <<_ACEOF
27902 /* end confdefs.h. */
27903
27904
27905
27906 #include <tiffio.h>
27907 _ACEOF
27908 rm -f conftest.$ac_objext
27909 if { (ac_try="$ac_compile"
27910 case "(($ac_try" in
27911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27912 *) ac_try_echo=$ac_try;;
27913 esac
27914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27915 (eval "$ac_compile") 2>conftest.er1
27916 ac_status=$?
27917 grep -v '^ *+' conftest.er1 >conftest.err
27918 rm -f conftest.er1
27919 cat conftest.err >&5
27920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27921 (exit $ac_status); } && {
27922 test -z "$ac_c_werror_flag" ||
27923 test ! -s conftest.err
27924 } && test -s conftest.$ac_objext; then
27925 ac_cv_header_tiffio_h=yes
27926 else
27927 echo "$as_me: failed program was:" >&5
27928 sed 's/^/| /' conftest.$ac_ext >&5
27929
27930 ac_cv_header_tiffio_h=no
27931 fi
27932
27933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27934 fi
27935 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27936 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27937 if test $ac_cv_header_tiffio_h = yes; then
27938
27939 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27940 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27941 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27942 echo $ECHO_N "(cached) $ECHO_C" >&6
27943 else
27944 ac_check_lib_save_LIBS=$LIBS
27945 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27946 cat >conftest.$ac_ext <<_ACEOF
27947 /* confdefs.h. */
27948 _ACEOF
27949 cat confdefs.h >>conftest.$ac_ext
27950 cat >>conftest.$ac_ext <<_ACEOF
27951 /* end confdefs.h. */
27952
27953 /* Override any GCC internal prototype to avoid an error.
27954 Use char because int might match the return type of a GCC
27955 builtin and then its argument prototype would still apply. */
27956 #ifdef __cplusplus
27957 extern "C"
27958 #endif
27959 char TIFFError ();
27960 int
27961 main ()
27962 {
27963 return TIFFError ();
27964 ;
27965 return 0;
27966 }
27967 _ACEOF
27968 rm -f conftest.$ac_objext conftest$ac_exeext
27969 if { (ac_try="$ac_link"
27970 case "(($ac_try" in
27971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27972 *) ac_try_echo=$ac_try;;
27973 esac
27974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27975 (eval "$ac_link") 2>conftest.er1
27976 ac_status=$?
27977 grep -v '^ *+' conftest.er1 >conftest.err
27978 rm -f conftest.er1
27979 cat conftest.err >&5
27980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27981 (exit $ac_status); } && {
27982 test -z "$ac_c_werror_flag" ||
27983 test ! -s conftest.err
27984 } && test -s conftest$ac_exeext &&
27985 $as_test_x conftest$ac_exeext; then
27986 ac_cv_lib_tiff_TIFFError=yes
27987 else
27988 echo "$as_me: failed program was:" >&5
27989 sed 's/^/| /' conftest.$ac_ext >&5
27990
27991 ac_cv_lib_tiff_TIFFError=no
27992 fi
27993
27994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27995 conftest$ac_exeext conftest.$ac_ext
27996 LIBS=$ac_check_lib_save_LIBS
27997 fi
27998 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27999 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
28000 if test $ac_cv_lib_tiff_TIFFError = yes; then
28001 TIFF_LINK=" -ltiff"
28002 fi
28003
28004
28005 fi
28006
28007
28008
28009 if test "x$TIFF_LINK" = "x" ; then
28010 if test "$wxUSE_LIBTIFF" = "sys" ; then
28011 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
28012 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
28013 { (exit 1); exit 1; }; }
28014 else
28015 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
28016 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
28017 wxUSE_LIBTIFF=builtin
28018 fi
28019 else
28020 wxUSE_LIBTIFF=sys
28021 fi
28022 fi
28023 if test "$wxUSE_LIBTIFF" = "builtin" ; then
28024 if test "$wxUSE_LIBJPEG" = "no"; then
28025 ac_configure_args="$ac_configure_args --disable-jpeg"
28026 fi
28027 subdirs="$subdirs src/tiff"
28028
28029 fi
28030 fi
28031
28032
28033 if test "$wxUSE_WCHAR_T" != "yes"; then
28034 if test "$wxUSE_EXPAT" != "no"; then
28035 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
28036 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
28037 wxUSE_EXPAT=no
28038 fi
28039 if test "$wxUSE_XML" != "no"; then
28040 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
28041 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
28042 wxUSE_XML=no
28043 fi
28044 fi
28045
28046 if test "$wxUSE_EXPAT" != "no"; then
28047 wxUSE_XML=yes
28048 cat >>confdefs.h <<\_ACEOF
28049 #define wxUSE_EXPAT 1
28050 _ACEOF
28051
28052 cat >>confdefs.h <<\_ACEOF
28053 #define wxUSE_XML 1
28054 _ACEOF
28055
28056
28057 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
28058 { echo "$as_me:$LINENO: checking for expat.h" >&5
28059 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
28060 if test "${ac_cv_header_expat_h+set}" = set; then
28061 echo $ECHO_N "(cached) $ECHO_C" >&6
28062 else
28063 cat >conftest.$ac_ext <<_ACEOF
28064 /* confdefs.h. */
28065 _ACEOF
28066 cat confdefs.h >>conftest.$ac_ext
28067 cat >>conftest.$ac_ext <<_ACEOF
28068 /* end confdefs.h. */
28069
28070
28071 #include <expat.h>
28072 _ACEOF
28073 rm -f conftest.$ac_objext
28074 if { (ac_try="$ac_compile"
28075 case "(($ac_try" in
28076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28077 *) ac_try_echo=$ac_try;;
28078 esac
28079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28080 (eval "$ac_compile") 2>conftest.er1
28081 ac_status=$?
28082 grep -v '^ *+' conftest.er1 >conftest.err
28083 rm -f conftest.er1
28084 cat conftest.err >&5
28085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28086 (exit $ac_status); } && {
28087 test -z "$ac_c_werror_flag" ||
28088 test ! -s conftest.err
28089 } && test -s conftest.$ac_objext; then
28090 ac_cv_header_expat_h=yes
28091 else
28092 echo "$as_me: failed program was:" >&5
28093 sed 's/^/| /' conftest.$ac_ext >&5
28094
28095 ac_cv_header_expat_h=no
28096 fi
28097
28098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28099 fi
28100 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
28101 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
28102 if test $ac_cv_header_expat_h = yes; then
28103 found_expat_h=1
28104 fi
28105
28106
28107 if test "x$found_expat_h" = "x1"; then
28108 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
28109 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
28110 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28111 echo $ECHO_N "(cached) $ECHO_C" >&6
28112 else
28113
28114 ac_ext=cpp
28115 ac_cpp='$CXXCPP $CPPFLAGS'
28116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28119
28120 cat >conftest.$ac_ext <<_ACEOF
28121 /* confdefs.h. */
28122 _ACEOF
28123 cat confdefs.h >>conftest.$ac_ext
28124 cat >>conftest.$ac_ext <<_ACEOF
28125 /* end confdefs.h. */
28126 #include <expat.h>
28127 int
28128 main ()
28129 {
28130
28131 ;
28132 return 0;
28133 }
28134 _ACEOF
28135 rm -f conftest.$ac_objext
28136 if { (ac_try="$ac_compile"
28137 case "(($ac_try" in
28138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28139 *) ac_try_echo=$ac_try;;
28140 esac
28141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28142 (eval "$ac_compile") 2>conftest.er1
28143 ac_status=$?
28144 grep -v '^ *+' conftest.er1 >conftest.err
28145 rm -f conftest.er1
28146 cat conftest.err >&5
28147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28148 (exit $ac_status); } && {
28149 test -z "$ac_cxx_werror_flag" ||
28150 test ! -s conftest.err
28151 } && test -s conftest.$ac_objext; then
28152 wx_cv_expat_is_not_broken=yes
28153 else
28154 echo "$as_me: failed program was:" >&5
28155 sed 's/^/| /' conftest.$ac_ext >&5
28156
28157 wx_cv_expat_is_not_broken=no
28158
28159 fi
28160
28161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28162 ac_ext=c
28163 ac_cpp='$CPP $CPPFLAGS'
28164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28167
28168
28169
28170 fi
28171 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
28172 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
28173 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28174 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
28175 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
28176 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28177 echo $ECHO_N "(cached) $ECHO_C" >&6
28178 else
28179 ac_check_lib_save_LIBS=$LIBS
28180 LIBS="-lexpat $LIBS"
28181 cat >conftest.$ac_ext <<_ACEOF
28182 /* confdefs.h. */
28183 _ACEOF
28184 cat confdefs.h >>conftest.$ac_ext
28185 cat >>conftest.$ac_ext <<_ACEOF
28186 /* end confdefs.h. */
28187
28188 /* Override any GCC internal prototype to avoid an error.
28189 Use char because int might match the return type of a GCC
28190 builtin and then its argument prototype would still apply. */
28191 #ifdef __cplusplus
28192 extern "C"
28193 #endif
28194 char XML_ParserCreate ();
28195 int
28196 main ()
28197 {
28198 return XML_ParserCreate ();
28199 ;
28200 return 0;
28201 }
28202 _ACEOF
28203 rm -f conftest.$ac_objext conftest$ac_exeext
28204 if { (ac_try="$ac_link"
28205 case "(($ac_try" in
28206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28207 *) ac_try_echo=$ac_try;;
28208 esac
28209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28210 (eval "$ac_link") 2>conftest.er1
28211 ac_status=$?
28212 grep -v '^ *+' conftest.er1 >conftest.err
28213 rm -f conftest.er1
28214 cat conftest.err >&5
28215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28216 (exit $ac_status); } && {
28217 test -z "$ac_c_werror_flag" ||
28218 test ! -s conftest.err
28219 } && test -s conftest$ac_exeext &&
28220 $as_test_x conftest$ac_exeext; then
28221 ac_cv_lib_expat_XML_ParserCreate=yes
28222 else
28223 echo "$as_me: failed program was:" >&5
28224 sed 's/^/| /' conftest.$ac_ext >&5
28225
28226 ac_cv_lib_expat_XML_ParserCreate=no
28227 fi
28228
28229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28230 conftest$ac_exeext conftest.$ac_ext
28231 LIBS=$ac_check_lib_save_LIBS
28232 fi
28233 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
28234 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
28235 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28236 EXPAT_LINK=" -lexpat"
28237 fi
28238
28239 fi
28240 fi
28241 if test "x$EXPAT_LINK" = "x" ; then
28242 if test "$wxUSE_EXPAT" = "sys" ; then
28243 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
28244 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
28245 { (exit 1); exit 1; }; }
28246 else
28247 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
28248 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
28249 wxUSE_EXPAT=builtin
28250 fi
28251 else
28252 wxUSE_EXPAT=sys
28253 fi
28254 fi
28255 if test "$wxUSE_EXPAT" = "builtin" ; then
28256 subdirs="$subdirs src/expat"
28257
28258 fi
28259 fi
28260
28261
28262
28263 if test "$wxUSE_LIBMSPACK" != "no"; then
28264 { echo "$as_me:$LINENO: checking for mspack.h" >&5
28265 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
28266 if test "${ac_cv_header_mspack_h+set}" = set; then
28267 echo $ECHO_N "(cached) $ECHO_C" >&6
28268 else
28269 cat >conftest.$ac_ext <<_ACEOF
28270 /* confdefs.h. */
28271 _ACEOF
28272 cat confdefs.h >>conftest.$ac_ext
28273 cat >>conftest.$ac_ext <<_ACEOF
28274 /* end confdefs.h. */
28275
28276
28277 #include <mspack.h>
28278 _ACEOF
28279 rm -f conftest.$ac_objext
28280 if { (ac_try="$ac_compile"
28281 case "(($ac_try" in
28282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28283 *) ac_try_echo=$ac_try;;
28284 esac
28285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28286 (eval "$ac_compile") 2>conftest.er1
28287 ac_status=$?
28288 grep -v '^ *+' conftest.er1 >conftest.err
28289 rm -f conftest.er1
28290 cat conftest.err >&5
28291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28292 (exit $ac_status); } && {
28293 test -z "$ac_c_werror_flag" ||
28294 test ! -s conftest.err
28295 } && test -s conftest.$ac_objext; then
28296 ac_cv_header_mspack_h=yes
28297 else
28298 echo "$as_me: failed program was:" >&5
28299 sed 's/^/| /' conftest.$ac_ext >&5
28300
28301 ac_cv_header_mspack_h=no
28302 fi
28303
28304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28305 fi
28306 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
28307 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
28308 if test $ac_cv_header_mspack_h = yes; then
28309 found_mspack_h=1
28310 fi
28311
28312
28313 if test "x$found_mspack_h" = "x1"; then
28314 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
28315 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
28316 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28317 echo $ECHO_N "(cached) $ECHO_C" >&6
28318 else
28319 ac_check_lib_save_LIBS=$LIBS
28320 LIBS="-lmspack $LIBS"
28321 cat >conftest.$ac_ext <<_ACEOF
28322 /* confdefs.h. */
28323 _ACEOF
28324 cat confdefs.h >>conftest.$ac_ext
28325 cat >>conftest.$ac_ext <<_ACEOF
28326 /* end confdefs.h. */
28327
28328 /* Override any GCC internal prototype to avoid an error.
28329 Use char because int might match the return type of a GCC
28330 builtin and then its argument prototype would still apply. */
28331 #ifdef __cplusplus
28332 extern "C"
28333 #endif
28334 char mspack_create_chm_decompressor ();
28335 int
28336 main ()
28337 {
28338 return mspack_create_chm_decompressor ();
28339 ;
28340 return 0;
28341 }
28342 _ACEOF
28343 rm -f conftest.$ac_objext conftest$ac_exeext
28344 if { (ac_try="$ac_link"
28345 case "(($ac_try" in
28346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28347 *) ac_try_echo=$ac_try;;
28348 esac
28349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28350 (eval "$ac_link") 2>conftest.er1
28351 ac_status=$?
28352 grep -v '^ *+' conftest.er1 >conftest.err
28353 rm -f conftest.er1
28354 cat conftest.err >&5
28355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28356 (exit $ac_status); } && {
28357 test -z "$ac_c_werror_flag" ||
28358 test ! -s conftest.err
28359 } && test -s conftest$ac_exeext &&
28360 $as_test_x conftest$ac_exeext; then
28361 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28362 else
28363 echo "$as_me: failed program was:" >&5
28364 sed 's/^/| /' conftest.$ac_ext >&5
28365
28366 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28367 fi
28368
28369 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28370 conftest$ac_exeext conftest.$ac_ext
28371 LIBS=$ac_check_lib_save_LIBS
28372 fi
28373 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28374 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28375 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28376 MSPACK_LINK=" -lmspack"
28377 fi
28378
28379 fi
28380 if test "x$MSPACK_LINK" = "x" ; then
28381 wxUSE_LIBMSPACK=no
28382 fi
28383 fi
28384
28385 if test "$wxUSE_LIBMSPACK" != "no"; then
28386 cat >>confdefs.h <<\_ACEOF
28387 #define wxUSE_LIBMSPACK 1
28388 _ACEOF
28389
28390 fi
28391
28392
28393
28394 AFMINSTALL=
28395 WIN32INSTALL=
28396
28397 TOOLKIT=
28398 TOOLKIT_INCLUDE=
28399 WIDGET_SET=
28400
28401 if test "$USE_WIN32" = 1 ; then
28402
28403 for ac_header in w32api.h
28404 do
28405 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28406 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28407 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28408 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28409 echo $ECHO_N "(cached) $ECHO_C" >&6
28410 else
28411 cat >conftest.$ac_ext <<_ACEOF
28412 /* confdefs.h. */
28413 _ACEOF
28414 cat confdefs.h >>conftest.$ac_ext
28415 cat >>conftest.$ac_ext <<_ACEOF
28416 /* end confdefs.h. */
28417
28418
28419 #include <$ac_header>
28420 _ACEOF
28421 rm -f conftest.$ac_objext
28422 if { (ac_try="$ac_compile"
28423 case "(($ac_try" in
28424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28425 *) ac_try_echo=$ac_try;;
28426 esac
28427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28428 (eval "$ac_compile") 2>conftest.er1
28429 ac_status=$?
28430 grep -v '^ *+' conftest.er1 >conftest.err
28431 rm -f conftest.er1
28432 cat conftest.err >&5
28433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28434 (exit $ac_status); } && {
28435 test -z "$ac_c_werror_flag" ||
28436 test ! -s conftest.err
28437 } && test -s conftest.$ac_objext; then
28438 eval "$as_ac_Header=yes"
28439 else
28440 echo "$as_me: failed program was:" >&5
28441 sed 's/^/| /' conftest.$ac_ext >&5
28442
28443 eval "$as_ac_Header=no"
28444 fi
28445
28446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28447 fi
28448 ac_res=`eval echo '${'$as_ac_Header'}'`
28449 { echo "$as_me:$LINENO: result: $ac_res" >&5
28450 echo "${ECHO_T}$ac_res" >&6; }
28451 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28452 cat >>confdefs.h <<_ACEOF
28453 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28454 _ACEOF
28455
28456 fi
28457
28458 done
28459
28460 { echo "$as_me:$LINENO: checking for windows.h" >&5
28461 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28462 if test "${ac_cv_header_windows_h+set}" = set; then
28463 echo $ECHO_N "(cached) $ECHO_C" >&6
28464 else
28465 cat >conftest.$ac_ext <<_ACEOF
28466 /* confdefs.h. */
28467 _ACEOF
28468 cat confdefs.h >>conftest.$ac_ext
28469 cat >>conftest.$ac_ext <<_ACEOF
28470 /* end confdefs.h. */
28471
28472
28473 #include <windows.h>
28474 _ACEOF
28475 rm -f conftest.$ac_objext
28476 if { (ac_try="$ac_compile"
28477 case "(($ac_try" in
28478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28479 *) ac_try_echo=$ac_try;;
28480 esac
28481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28482 (eval "$ac_compile") 2>conftest.er1
28483 ac_status=$?
28484 grep -v '^ *+' conftest.er1 >conftest.err
28485 rm -f conftest.er1
28486 cat conftest.err >&5
28487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28488 (exit $ac_status); } && {
28489 test -z "$ac_c_werror_flag" ||
28490 test ! -s conftest.err
28491 } && test -s conftest.$ac_objext; then
28492 ac_cv_header_windows_h=yes
28493 else
28494 echo "$as_me: failed program was:" >&5
28495 sed 's/^/| /' conftest.$ac_ext >&5
28496
28497 ac_cv_header_windows_h=no
28498 fi
28499
28500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28501 fi
28502 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28503 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28504 if test $ac_cv_header_windows_h = yes; then
28505 :
28506 else
28507
28508 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28509 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28510 { (exit 1); exit 1; }; }
28511
28512 fi
28513
28514
28515
28516 case "${host}" in
28517 x86_64-*-mingw32* )
28518 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28519
28520 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
28521 ;;
28522 * )
28523 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28524 ;;
28525 esac
28526 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28527 LIBS="$LIBS -loleacc"
28528 fi
28529
28530 case "${host}" in
28531 *-*-cygwin* )
28532 LIBS="$LIBS -lkernel32 -luser32"
28533 esac
28534
28535 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28536 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28537
28538 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28539
28540 WIN32INSTALL=win32install
28541
28542 { echo "$as_me:$LINENO: checking for pbt.h" >&5
28543 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
28544 if test "${ac_cv_header_pbt_h+set}" = set; then
28545 echo $ECHO_N "(cached) $ECHO_C" >&6
28546 else
28547 cat >conftest.$ac_ext <<_ACEOF
28548 /* confdefs.h. */
28549 _ACEOF
28550 cat confdefs.h >>conftest.$ac_ext
28551 cat >>conftest.$ac_ext <<_ACEOF
28552 /* end confdefs.h. */
28553
28554
28555 #include <pbt.h>
28556 _ACEOF
28557 rm -f conftest.$ac_objext
28558 if { (ac_try="$ac_compile"
28559 case "(($ac_try" in
28560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28561 *) ac_try_echo=$ac_try;;
28562 esac
28563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28564 (eval "$ac_compile") 2>conftest.er1
28565 ac_status=$?
28566 grep -v '^ *+' conftest.er1 >conftest.err
28567 rm -f conftest.er1
28568 cat conftest.err >&5
28569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28570 (exit $ac_status); } && {
28571 test -z "$ac_c_werror_flag" ||
28572 test ! -s conftest.err
28573 } && test -s conftest.$ac_objext; then
28574 ac_cv_header_pbt_h=yes
28575 else
28576 echo "$as_me: failed program was:" >&5
28577 sed 's/^/| /' conftest.$ac_ext >&5
28578
28579 ac_cv_header_pbt_h=no
28580 fi
28581
28582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28583 fi
28584 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28585 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28586 if test $ac_cv_header_pbt_h = yes; then
28587 :
28588 else
28589 cat >>confdefs.h <<\_ACEOF
28590 #define NEED_PBT_H 1
28591 _ACEOF
28592
28593 fi
28594
28595
28596 fi
28597
28598 if test "$wxUSE_GUI" = "yes"; then
28599 USE_GUI=1
28600
28601 GUI_TK_LIBRARY=
28602
28603 WXGTK12=
28604 WXGTK127=
28605 WXGTK2=
28606 WXGPE=
28607
28608 if test "$wxUSE_OLD_COCOA" = 1 ; then
28609 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28610 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28611 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28612 wxUSE_PRINTING_ARCHITECTURE=no
28613 fi
28614 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28615 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28616 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28617 wxUSE_DRAG_AND_DROP=no
28618 fi
28619 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28620 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28621 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28622 wxUSE_DRAGIMAGE=no
28623 fi
28624 fi
28625
28626 if test "$wxUSE_MSW" = 1 ; then
28627 TOOLKIT=MSW
28628 GUIDIST=MSW_DIST
28629
28630 case "${host}" in
28631 *-*-mingw32* )
28632 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28633 esac
28634 fi
28635
28636 if test "$wxUSE_GTK" = 1; then
28637 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28638 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28639
28640 gtk_version_cached=1
28641 if test "${wx_cv_lib_gtk+set}" = set; then
28642 echo $ECHO_N "(cached) $ECHO_C" >&6
28643 else
28644
28645 gtk_version_cached=0
28646 { echo "$as_me:$LINENO: result: " >&5
28647 echo "${ECHO_T}" >&6; }
28648
28649 GTK_MODULES=
28650 if test "$wxUSE_THREADS" = "yes"; then
28651 GTK_MODULES=gthread
28652 fi
28653
28654 wx_cv_lib_gtk=
28655 if test "x$wxGTK_VERSION" != "x1"
28656 then
28657 case "${host}" in
28658 *-*-solaris2* )
28659 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28660 enable_gtktest=no
28661 fi
28662 esac
28663
28664 # Check whether --enable-gtktest was given.
28665 if test "${enable_gtktest+set}" = set; then
28666 enableval=$enable_gtktest;
28667 else
28668 enable_gtktest=yes
28669 fi
28670
28671
28672 pkg_config_args=gtk+-2.0
28673 for module in . $GTK_MODULES
28674 do
28675 case "$module" in
28676 gthread)
28677 pkg_config_args="$pkg_config_args gthread-2.0"
28678 ;;
28679 esac
28680 done
28681
28682 no_gtk=""
28683
28684 # Extract the first word of "pkg-config", so it can be a program name with args.
28685 set dummy pkg-config; ac_word=$2
28686 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28688 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28689 echo $ECHO_N "(cached) $ECHO_C" >&6
28690 else
28691 case $PKG_CONFIG in
28692 [\\/]* | ?:[\\/]*)
28693 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28694 ;;
28695 *)
28696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28697 for as_dir in $PATH
28698 do
28699 IFS=$as_save_IFS
28700 test -z "$as_dir" && as_dir=.
28701 for ac_exec_ext in '' $ac_executable_extensions; do
28702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28703 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28705 break 2
28706 fi
28707 done
28708 done
28709 IFS=$as_save_IFS
28710
28711 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28712 ;;
28713 esac
28714 fi
28715 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28716 if test -n "$PKG_CONFIG"; then
28717 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28718 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28719 else
28720 { echo "$as_me:$LINENO: result: no" >&5
28721 echo "${ECHO_T}no" >&6; }
28722 fi
28723
28724
28725
28726 if test x$PKG_CONFIG != xno ; then
28727 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28728 :
28729 else
28730 echo "*** pkg-config too old; version 0.7 or better required."
28731 no_gtk=yes
28732 PKG_CONFIG=no
28733 fi
28734 else
28735 no_gtk=yes
28736 fi
28737
28738 min_gtk_version=2.4.0
28739 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28740 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28741
28742 if test x$PKG_CONFIG != xno ; then
28743 ## don't try to run the test against uninstalled libtool libs
28744 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28745 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28746 enable_gtktest=no
28747 fi
28748
28749 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28750 :
28751 else
28752 no_gtk=yes
28753 fi
28754 fi
28755
28756 if test x"$no_gtk" = x ; then
28757 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28758 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28759 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28760 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28761 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28762 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28763 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28764 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28765 if test "x$enable_gtktest" = "xyes" ; then
28766 ac_save_CFLAGS="$CFLAGS"
28767 ac_save_LIBS="$LIBS"
28768 CFLAGS="$CFLAGS $GTK_CFLAGS"
28769 LIBS="$GTK_LIBS $LIBS"
28770 rm -f conf.gtktest
28771 if test "$cross_compiling" = yes; then
28772 echo $ac_n "cross compiling; assumed OK... $ac_c"
28773 else
28774 cat >conftest.$ac_ext <<_ACEOF
28775 /* confdefs.h. */
28776 _ACEOF
28777 cat confdefs.h >>conftest.$ac_ext
28778 cat >>conftest.$ac_ext <<_ACEOF
28779 /* end confdefs.h. */
28780
28781 #include <gtk/gtk.h>
28782 #include <stdio.h>
28783 #include <stdlib.h>
28784
28785 int
28786 main ()
28787 {
28788 int major, minor, micro;
28789 char *tmp_version;
28790
28791 system ("touch conf.gtktest");
28792
28793 /* HP/UX 9 (%@#!) writes to sscanf strings */
28794 tmp_version = g_strdup("$min_gtk_version");
28795 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28796 printf("%s, bad version string\n", "$min_gtk_version");
28797 exit(1);
28798 }
28799
28800 if ((gtk_major_version != $gtk_config_major_version) ||
28801 (gtk_minor_version != $gtk_config_minor_version) ||
28802 (gtk_micro_version != $gtk_config_micro_version))
28803 {
28804 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28805 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28806 gtk_major_version, gtk_minor_version, gtk_micro_version);
28807 printf ("*** was found! If pkg-config was correct, then it is best\n");
28808 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28809 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28810 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28811 printf("*** required on your system.\n");
28812 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28813 printf("*** to point to the correct configuration files\n");
28814 }
28815 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28816 (gtk_minor_version != GTK_MINOR_VERSION) ||
28817 (gtk_micro_version != GTK_MICRO_VERSION))
28818 {
28819 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28820 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28821 printf("*** library (version %d.%d.%d)\n",
28822 gtk_major_version, gtk_minor_version, gtk_micro_version);
28823 }
28824 else
28825 {
28826 if ((gtk_major_version > major) ||
28827 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28828 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28829 {
28830 return 0;
28831 }
28832 else
28833 {
28834 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28835 gtk_major_version, gtk_minor_version, gtk_micro_version);
28836 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28837 major, minor, micro);
28838 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28839 printf("***\n");
28840 printf("*** If you have already installed a sufficiently new version, this error\n");
28841 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28842 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28843 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28844 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28845 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28846 printf("*** so that the correct libraries are found at run-time))\n");
28847 }
28848 }
28849 return 1;
28850 }
28851
28852 _ACEOF
28853 rm -f conftest$ac_exeext
28854 if { (ac_try="$ac_link"
28855 case "(($ac_try" in
28856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28857 *) ac_try_echo=$ac_try;;
28858 esac
28859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28860 (eval "$ac_link") 2>&5
28861 ac_status=$?
28862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28863 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28864 { (case "(($ac_try" in
28865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28866 *) ac_try_echo=$ac_try;;
28867 esac
28868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28869 (eval "$ac_try") 2>&5
28870 ac_status=$?
28871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28872 (exit $ac_status); }; }; then
28873 :
28874 else
28875 echo "$as_me: program exited with status $ac_status" >&5
28876 echo "$as_me: failed program was:" >&5
28877 sed 's/^/| /' conftest.$ac_ext >&5
28878
28879 ( exit $ac_status )
28880 no_gtk=yes
28881 fi
28882 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28883 fi
28884
28885
28886 CFLAGS="$ac_save_CFLAGS"
28887 LIBS="$ac_save_LIBS"
28888 fi
28889 fi
28890 if test "x$no_gtk" = x ; then
28891 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28892 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28893 wx_cv_lib_gtk=2.0
28894 else
28895 { echo "$as_me:$LINENO: result: no" >&5
28896 echo "${ECHO_T}no" >&6; }
28897 if test "$PKG_CONFIG" = "no" ; then
28898 echo "*** A new enough version of pkg-config was not found."
28899 echo "*** See http://pkgconfig.sourceforge.net"
28900 else
28901 if test -f conf.gtktest ; then
28902 :
28903 else
28904 echo "*** Could not run GTK+ test program, checking why..."
28905 ac_save_CFLAGS="$CFLAGS"
28906 ac_save_LIBS="$LIBS"
28907 CFLAGS="$CFLAGS $GTK_CFLAGS"
28908 LIBS="$LIBS $GTK_LIBS"
28909 cat >conftest.$ac_ext <<_ACEOF
28910 /* confdefs.h. */
28911 _ACEOF
28912 cat confdefs.h >>conftest.$ac_ext
28913 cat >>conftest.$ac_ext <<_ACEOF
28914 /* end confdefs.h. */
28915
28916 #include <gtk/gtk.h>
28917 #include <stdio.h>
28918
28919 int
28920 main ()
28921 {
28922 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28923 ;
28924 return 0;
28925 }
28926 _ACEOF
28927 rm -f conftest.$ac_objext conftest$ac_exeext
28928 if { (ac_try="$ac_link"
28929 case "(($ac_try" in
28930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28931 *) ac_try_echo=$ac_try;;
28932 esac
28933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28934 (eval "$ac_link") 2>conftest.er1
28935 ac_status=$?
28936 grep -v '^ *+' conftest.er1 >conftest.err
28937 rm -f conftest.er1
28938 cat conftest.err >&5
28939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28940 (exit $ac_status); } && {
28941 test -z "$ac_c_werror_flag" ||
28942 test ! -s conftest.err
28943 } && test -s conftest$ac_exeext &&
28944 $as_test_x conftest$ac_exeext; then
28945 echo "*** The test program compiled, but did not run. This usually means"
28946 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28947 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28948 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28949 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28950 echo "*** is required on your system"
28951 echo "***"
28952 echo "*** If you have an old version installed, it is best to remove it, although"
28953 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28954 else
28955 echo "$as_me: failed program was:" >&5
28956 sed 's/^/| /' conftest.$ac_ext >&5
28957
28958 echo "*** The test program failed to compile or link. See the file config.log for the"
28959 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28960 fi
28961
28962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28963 conftest$ac_exeext conftest.$ac_ext
28964 CFLAGS="$ac_save_CFLAGS"
28965 LIBS="$ac_save_LIBS"
28966 fi
28967 fi
28968 GTK_CFLAGS=""
28969 GTK_LIBS=""
28970 :
28971 fi
28972
28973
28974 rm -f conf.gtktest
28975
28976
28977 case "${host}" in
28978 *-*-solaris2* )
28979 if test "$wxUSE_SHARED" != "yes"; then
28980 GTK_LIBS="$GTK_LIBS -lX11"
28981 fi
28982 esac
28983 fi
28984
28985 if test -z "$wx_cv_lib_gtk"; then
28986 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28987
28988 # Check whether --with-gtk-prefix was given.
28989 if test "${with_gtk_prefix+set}" = set; then
28990 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28991 else
28992 gtk_config_prefix=""
28993 fi
28994
28995
28996 # Check whether --with-gtk-exec-prefix was given.
28997 if test "${with_gtk_exec_prefix+set}" = set; then
28998 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28999 else
29000 gtk_config_exec_prefix=""
29001 fi
29002
29003 # Check whether --enable-gtktest was given.
29004 if test "${enable_gtktest+set}" = set; then
29005 enableval=$enable_gtktest;
29006 else
29007 enable_gtktest=yes
29008 fi
29009
29010
29011 for module in . $GTK_MODULES
29012 do
29013 case "$module" in
29014 gthread)
29015 gtk_config_args="$gtk_config_args gthread"
29016 ;;
29017 esac
29018 done
29019
29020 if test x$gtk_config_exec_prefix != x ; then
29021 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29022 if test x${GTK_CONFIG+set} != xset ; then
29023 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29024 fi
29025 fi
29026 if test x$gtk_config_prefix != x ; then
29027 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29028 if test x${GTK_CONFIG+set} != xset ; then
29029 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29030 fi
29031 fi
29032
29033 # Extract the first word of "gtk-config", so it can be a program name with args.
29034 set dummy gtk-config; ac_word=$2
29035 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29037 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29038 echo $ECHO_N "(cached) $ECHO_C" >&6
29039 else
29040 case $GTK_CONFIG in
29041 [\\/]* | ?:[\\/]*)
29042 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29043 ;;
29044 *)
29045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29046 for as_dir in $PATH
29047 do
29048 IFS=$as_save_IFS
29049 test -z "$as_dir" && as_dir=.
29050 for ac_exec_ext in '' $ac_executable_extensions; do
29051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29052 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29054 break 2
29055 fi
29056 done
29057 done
29058 IFS=$as_save_IFS
29059
29060 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29061 ;;
29062 esac
29063 fi
29064 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29065 if test -n "$GTK_CONFIG"; then
29066 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29067 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29068 else
29069 { echo "$as_me:$LINENO: result: no" >&5
29070 echo "${ECHO_T}no" >&6; }
29071 fi
29072
29073
29074 min_gtk_version=1.2.7
29075 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29076 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29077 no_gtk=""
29078 if test "$GTK_CONFIG" = "no" ; then
29079 no_gtk=yes
29080 else
29081 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29082 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29083 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29084 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29085 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29086 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29087 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29088 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29089 if test "x$enable_gtktest" = "xyes" ; then
29090 ac_save_CFLAGS="$CFLAGS"
29091 ac_save_LIBS="$LIBS"
29092 CFLAGS="$CFLAGS $GTK_CFLAGS"
29093 LIBS="$GTK_LIBS $LIBS"
29094 rm -f conf.gtktest
29095 if test "$cross_compiling" = yes; then
29096 echo $ac_n "cross compiling; assumed OK... $ac_c"
29097 else
29098 cat >conftest.$ac_ext <<_ACEOF
29099 /* confdefs.h. */
29100 _ACEOF
29101 cat confdefs.h >>conftest.$ac_ext
29102 cat >>conftest.$ac_ext <<_ACEOF
29103 /* end confdefs.h. */
29104
29105 #include <gtk/gtk.h>
29106 #include <stdio.h>
29107 #include <stdlib.h>
29108
29109 int
29110 main ()
29111 {
29112 int major, minor, micro;
29113 char *tmp_version;
29114
29115 system ("touch conf.gtktest");
29116
29117 /* HP/UX 9 (%@#!) writes to sscanf strings */
29118 tmp_version = g_strdup("$min_gtk_version");
29119 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29120 printf("%s, bad version string\n", "$min_gtk_version");
29121 exit(1);
29122 }
29123
29124 if ((gtk_major_version != $gtk_config_major_version) ||
29125 (gtk_minor_version != $gtk_config_minor_version) ||
29126 (gtk_micro_version != $gtk_config_micro_version))
29127 {
29128 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29129 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29130 gtk_major_version, gtk_minor_version, gtk_micro_version);
29131 printf ("*** was found! If gtk-config was correct, then it is best\n");
29132 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29133 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29134 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29135 printf("*** required on your system.\n");
29136 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29137 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29138 printf("*** before re-running configure\n");
29139 }
29140 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29141 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29142 (gtk_minor_version != GTK_MINOR_VERSION) ||
29143 (gtk_micro_version != GTK_MICRO_VERSION))
29144 {
29145 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29146 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29147 printf("*** library (version %d.%d.%d)\n",
29148 gtk_major_version, gtk_minor_version, gtk_micro_version);
29149 }
29150 #endif /* defined (GTK_MAJOR_VERSION) ... */
29151 else
29152 {
29153 if ((gtk_major_version > major) ||
29154 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29155 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29156 {
29157 return 0;
29158 }
29159 else
29160 {
29161 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29162 gtk_major_version, gtk_minor_version, gtk_micro_version);
29163 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29164 major, minor, micro);
29165 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29166 printf("***\n");
29167 printf("*** If you have already installed a sufficiently new version, this error\n");
29168 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29169 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29170 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29171 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29172 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29173 printf("*** so that the correct libraries are found at run-time))\n");
29174 }
29175 }
29176 return 1;
29177 }
29178
29179 _ACEOF
29180 rm -f conftest$ac_exeext
29181 if { (ac_try="$ac_link"
29182 case "(($ac_try" in
29183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29184 *) ac_try_echo=$ac_try;;
29185 esac
29186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29187 (eval "$ac_link") 2>&5
29188 ac_status=$?
29189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29190 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29191 { (case "(($ac_try" in
29192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29193 *) ac_try_echo=$ac_try;;
29194 esac
29195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29196 (eval "$ac_try") 2>&5
29197 ac_status=$?
29198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29199 (exit $ac_status); }; }; then
29200 :
29201 else
29202 echo "$as_me: program exited with status $ac_status" >&5
29203 echo "$as_me: failed program was:" >&5
29204 sed 's/^/| /' conftest.$ac_ext >&5
29205
29206 ( exit $ac_status )
29207 no_gtk=yes
29208 fi
29209 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29210 fi
29211
29212
29213 CFLAGS="$ac_save_CFLAGS"
29214 LIBS="$ac_save_LIBS"
29215 fi
29216 fi
29217 if test "x$no_gtk" = x ; then
29218 { echo "$as_me:$LINENO: result: yes" >&5
29219 echo "${ECHO_T}yes" >&6; }
29220 wx_cv_lib_gtk=1.2.7
29221 else
29222 { echo "$as_me:$LINENO: result: no" >&5
29223 echo "${ECHO_T}no" >&6; }
29224 if test "$GTK_CONFIG" = "no" ; then
29225 echo "*** The gtk-config script installed by GTK could not be found"
29226 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29227 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29228 echo "*** full path to gtk-config."
29229 else
29230 if test -f conf.gtktest ; then
29231 :
29232 else
29233 echo "*** Could not run GTK test program, checking why..."
29234 CFLAGS="$CFLAGS $GTK_CFLAGS"
29235 LIBS="$LIBS $GTK_LIBS"
29236 cat >conftest.$ac_ext <<_ACEOF
29237 /* confdefs.h. */
29238 _ACEOF
29239 cat confdefs.h >>conftest.$ac_ext
29240 cat >>conftest.$ac_ext <<_ACEOF
29241 /* end confdefs.h. */
29242
29243 #include <gtk/gtk.h>
29244 #include <stdio.h>
29245
29246 int
29247 main ()
29248 {
29249 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29250 ;
29251 return 0;
29252 }
29253 _ACEOF
29254 rm -f conftest.$ac_objext conftest$ac_exeext
29255 if { (ac_try="$ac_link"
29256 case "(($ac_try" in
29257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29258 *) ac_try_echo=$ac_try;;
29259 esac
29260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29261 (eval "$ac_link") 2>conftest.er1
29262 ac_status=$?
29263 grep -v '^ *+' conftest.er1 >conftest.err
29264 rm -f conftest.er1
29265 cat conftest.err >&5
29266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29267 (exit $ac_status); } && {
29268 test -z "$ac_c_werror_flag" ||
29269 test ! -s conftest.err
29270 } && test -s conftest$ac_exeext &&
29271 $as_test_x conftest$ac_exeext; then
29272 echo "*** The test program compiled, but did not run. This usually means"
29273 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29274 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29275 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29276 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29277 echo "*** is required on your system"
29278 echo "***"
29279 echo "*** If you have an old version installed, it is best to remove it, although"
29280 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29281 echo "***"
29282 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29283 echo "*** came with the system with the command"
29284 echo "***"
29285 echo "*** rpm --erase --nodeps gtk gtk-devel"
29286 else
29287 echo "$as_me: failed program was:" >&5
29288 sed 's/^/| /' conftest.$ac_ext >&5
29289
29290 echo "*** The test program failed to compile or link. See the file config.log for the"
29291 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29292 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29293 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29294 fi
29295
29296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29297 conftest$ac_exeext conftest.$ac_ext
29298 CFLAGS="$ac_save_CFLAGS"
29299 LIBS="$ac_save_LIBS"
29300 fi
29301 fi
29302 GTK_CFLAGS=""
29303 GTK_LIBS=""
29304 :
29305 fi
29306
29307
29308 rm -f conf.gtktest
29309
29310
29311 if test -z "$wx_cv_lib_gtk"; then
29312
29313 # Check whether --with-gtk-prefix was given.
29314 if test "${with_gtk_prefix+set}" = set; then
29315 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29316 else
29317 gtk_config_prefix=""
29318 fi
29319
29320
29321 # Check whether --with-gtk-exec-prefix was given.
29322 if test "${with_gtk_exec_prefix+set}" = set; then
29323 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29324 else
29325 gtk_config_exec_prefix=""
29326 fi
29327
29328 # Check whether --enable-gtktest was given.
29329 if test "${enable_gtktest+set}" = set; then
29330 enableval=$enable_gtktest;
29331 else
29332 enable_gtktest=yes
29333 fi
29334
29335
29336 for module in . $GTK_MODULES
29337 do
29338 case "$module" in
29339 gthread)
29340 gtk_config_args="$gtk_config_args gthread"
29341 ;;
29342 esac
29343 done
29344
29345 if test x$gtk_config_exec_prefix != x ; then
29346 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29347 if test x${GTK_CONFIG+set} != xset ; then
29348 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29349 fi
29350 fi
29351 if test x$gtk_config_prefix != x ; then
29352 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29353 if test x${GTK_CONFIG+set} != xset ; then
29354 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29355 fi
29356 fi
29357
29358 # Extract the first word of "gtk-config", so it can be a program name with args.
29359 set dummy gtk-config; ac_word=$2
29360 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29362 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29363 echo $ECHO_N "(cached) $ECHO_C" >&6
29364 else
29365 case $GTK_CONFIG in
29366 [\\/]* | ?:[\\/]*)
29367 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29368 ;;
29369 *)
29370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29371 for as_dir in $PATH
29372 do
29373 IFS=$as_save_IFS
29374 test -z "$as_dir" && as_dir=.
29375 for ac_exec_ext in '' $ac_executable_extensions; do
29376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29377 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29379 break 2
29380 fi
29381 done
29382 done
29383 IFS=$as_save_IFS
29384
29385 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29386 ;;
29387 esac
29388 fi
29389 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29390 if test -n "$GTK_CONFIG"; then
29391 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29392 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29393 else
29394 { echo "$as_me:$LINENO: result: no" >&5
29395 echo "${ECHO_T}no" >&6; }
29396 fi
29397
29398
29399 min_gtk_version=1.2.3
29400 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29401 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29402 no_gtk=""
29403 if test "$GTK_CONFIG" = "no" ; then
29404 no_gtk=yes
29405 else
29406 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29407 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29408 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29409 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29410 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29411 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29412 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29413 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29414 if test "x$enable_gtktest" = "xyes" ; then
29415 ac_save_CFLAGS="$CFLAGS"
29416 ac_save_LIBS="$LIBS"
29417 CFLAGS="$CFLAGS $GTK_CFLAGS"
29418 LIBS="$GTK_LIBS $LIBS"
29419 rm -f conf.gtktest
29420 if test "$cross_compiling" = yes; then
29421 echo $ac_n "cross compiling; assumed OK... $ac_c"
29422 else
29423 cat >conftest.$ac_ext <<_ACEOF
29424 /* confdefs.h. */
29425 _ACEOF
29426 cat confdefs.h >>conftest.$ac_ext
29427 cat >>conftest.$ac_ext <<_ACEOF
29428 /* end confdefs.h. */
29429
29430 #include <gtk/gtk.h>
29431 #include <stdio.h>
29432 #include <stdlib.h>
29433
29434 int
29435 main ()
29436 {
29437 int major, minor, micro;
29438 char *tmp_version;
29439
29440 system ("touch conf.gtktest");
29441
29442 /* HP/UX 9 (%@#!) writes to sscanf strings */
29443 tmp_version = g_strdup("$min_gtk_version");
29444 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29445 printf("%s, bad version string\n", "$min_gtk_version");
29446 exit(1);
29447 }
29448
29449 if ((gtk_major_version != $gtk_config_major_version) ||
29450 (gtk_minor_version != $gtk_config_minor_version) ||
29451 (gtk_micro_version != $gtk_config_micro_version))
29452 {
29453 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29454 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29455 gtk_major_version, gtk_minor_version, gtk_micro_version);
29456 printf ("*** was found! If gtk-config was correct, then it is best\n");
29457 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29458 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29459 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29460 printf("*** required on your system.\n");
29461 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29462 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29463 printf("*** before re-running configure\n");
29464 }
29465 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29466 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29467 (gtk_minor_version != GTK_MINOR_VERSION) ||
29468 (gtk_micro_version != GTK_MICRO_VERSION))
29469 {
29470 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29471 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29472 printf("*** library (version %d.%d.%d)\n",
29473 gtk_major_version, gtk_minor_version, gtk_micro_version);
29474 }
29475 #endif /* defined (GTK_MAJOR_VERSION) ... */
29476 else
29477 {
29478 if ((gtk_major_version > major) ||
29479 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29480 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29481 {
29482 return 0;
29483 }
29484 else
29485 {
29486 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29487 gtk_major_version, gtk_minor_version, gtk_micro_version);
29488 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29489 major, minor, micro);
29490 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29491 printf("***\n");
29492 printf("*** If you have already installed a sufficiently new version, this error\n");
29493 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29494 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29495 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29496 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29497 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29498 printf("*** so that the correct libraries are found at run-time))\n");
29499 }
29500 }
29501 return 1;
29502 }
29503
29504 _ACEOF
29505 rm -f conftest$ac_exeext
29506 if { (ac_try="$ac_link"
29507 case "(($ac_try" in
29508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29509 *) ac_try_echo=$ac_try;;
29510 esac
29511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29512 (eval "$ac_link") 2>&5
29513 ac_status=$?
29514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29515 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29516 { (case "(($ac_try" in
29517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29518 *) ac_try_echo=$ac_try;;
29519 esac
29520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29521 (eval "$ac_try") 2>&5
29522 ac_status=$?
29523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29524 (exit $ac_status); }; }; then
29525 :
29526 else
29527 echo "$as_me: program exited with status $ac_status" >&5
29528 echo "$as_me: failed program was:" >&5
29529 sed 's/^/| /' conftest.$ac_ext >&5
29530
29531 ( exit $ac_status )
29532 no_gtk=yes
29533 fi
29534 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29535 fi
29536
29537
29538 CFLAGS="$ac_save_CFLAGS"
29539 LIBS="$ac_save_LIBS"
29540 fi
29541 fi
29542 if test "x$no_gtk" = x ; then
29543 { echo "$as_me:$LINENO: result: yes" >&5
29544 echo "${ECHO_T}yes" >&6; }
29545 wx_cv_lib_gtk=1.2.3
29546 else
29547 { echo "$as_me:$LINENO: result: no" >&5
29548 echo "${ECHO_T}no" >&6; }
29549 if test "$GTK_CONFIG" = "no" ; then
29550 echo "*** The gtk-config script installed by GTK could not be found"
29551 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29552 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29553 echo "*** full path to gtk-config."
29554 else
29555 if test -f conf.gtktest ; then
29556 :
29557 else
29558 echo "*** Could not run GTK test program, checking why..."
29559 CFLAGS="$CFLAGS $GTK_CFLAGS"
29560 LIBS="$LIBS $GTK_LIBS"
29561 cat >conftest.$ac_ext <<_ACEOF
29562 /* confdefs.h. */
29563 _ACEOF
29564 cat confdefs.h >>conftest.$ac_ext
29565 cat >>conftest.$ac_ext <<_ACEOF
29566 /* end confdefs.h. */
29567
29568 #include <gtk/gtk.h>
29569 #include <stdio.h>
29570
29571 int
29572 main ()
29573 {
29574 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29575 ;
29576 return 0;
29577 }
29578 _ACEOF
29579 rm -f conftest.$ac_objext conftest$ac_exeext
29580 if { (ac_try="$ac_link"
29581 case "(($ac_try" in
29582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29583 *) ac_try_echo=$ac_try;;
29584 esac
29585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29586 (eval "$ac_link") 2>conftest.er1
29587 ac_status=$?
29588 grep -v '^ *+' conftest.er1 >conftest.err
29589 rm -f conftest.er1
29590 cat conftest.err >&5
29591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29592 (exit $ac_status); } && {
29593 test -z "$ac_c_werror_flag" ||
29594 test ! -s conftest.err
29595 } && test -s conftest$ac_exeext &&
29596 $as_test_x conftest$ac_exeext; then
29597 echo "*** The test program compiled, but did not run. This usually means"
29598 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29599 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29600 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29601 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29602 echo "*** is required on your system"
29603 echo "***"
29604 echo "*** If you have an old version installed, it is best to remove it, although"
29605 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29606 echo "***"
29607 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29608 echo "*** came with the system with the command"
29609 echo "***"
29610 echo "*** rpm --erase --nodeps gtk gtk-devel"
29611 else
29612 echo "$as_me: failed program was:" >&5
29613 sed 's/^/| /' conftest.$ac_ext >&5
29614
29615 echo "*** The test program failed to compile or link. See the file config.log for the"
29616 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29617 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29618 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29619 fi
29620
29621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29622 conftest$ac_exeext conftest.$ac_ext
29623 CFLAGS="$ac_save_CFLAGS"
29624 LIBS="$ac_save_LIBS"
29625 fi
29626 fi
29627 GTK_CFLAGS=""
29628 GTK_LIBS=""
29629 :
29630 fi
29631
29632
29633 rm -f conf.gtktest
29634
29635 fi
29636 fi
29637 fi
29638
29639 if test -z "$wx_cv_lib_gtk"; then
29640 wx_cv_lib_gtk=none
29641 else
29642 wx_cv_cflags_gtk=$GTK_CFLAGS
29643 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29644 fi
29645
29646
29647 fi
29648
29649
29650 if test "$gtk_version_cached" = 1; then
29651 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29652 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29653 fi
29654
29655 case "$wx_cv_lib_gtk" in
29656 2.0) WXGTK2=1
29657 TOOLKIT_VERSION=2
29658 ;;
29659 1.2.7) WXGTK127=1
29660 WXGTK12=1
29661 ;;
29662 1.2.3) WXGTK12=1
29663 ;;
29664 *) { { echo "$as_me:$LINENO: error:
29665 The development files for GTK+ were not found. For GTK+ 2, please
29666 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29667 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29668 and that the version is 1.2.3 or above. Also check that the
29669 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29670 --libs' are in the LD_LIBRARY_PATH or equivalent.
29671 " >&5
29672 echo "$as_me: error:
29673 The development files for GTK+ were not found. For GTK+ 2, please
29674 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29675 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29676 and that the version is 1.2.3 or above. Also check that the
29677 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29678 --libs' are in the LD_LIBRARY_PATH or equivalent.
29679 " >&2;}
29680 { (exit 1); exit 1; }; }
29681 ;;
29682 esac
29683
29684 if test "$WXGTK2" = 1; then
29685 save_CFLAGS="$CFLAGS"
29686 save_LIBS="$LIBS"
29687 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29688 LIBS="$LIBS $wx_cv_libs_gtk"
29689
29690 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
29691 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
29692 cat >conftest.$ac_ext <<_ACEOF
29693 /* confdefs.h. */
29694 _ACEOF
29695 cat confdefs.h >>conftest.$ac_ext
29696 cat >>conftest.$ac_ext <<_ACEOF
29697 /* end confdefs.h. */
29698
29699 #include <gtk/gtk.h>
29700
29701 int
29702 main ()
29703 {
29704
29705 #if !GTK_CHECK_VERSION(2,18,0)
29706 Not GTK+ 2.18
29707 #endif
29708
29709 ;
29710 return 0;
29711 }
29712 _ACEOF
29713 rm -f conftest.$ac_objext
29714 if { (ac_try="$ac_compile"
29715 case "(($ac_try" in
29716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29717 *) ac_try_echo=$ac_try;;
29718 esac
29719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29720 (eval "$ac_compile") 2>conftest.er1
29721 ac_status=$?
29722 grep -v '^ *+' conftest.er1 >conftest.err
29723 rm -f conftest.er1
29724 cat conftest.err >&5
29725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29726 (exit $ac_status); } && {
29727 test -z "$ac_c_werror_flag" ||
29728 test ! -s conftest.err
29729 } && test -s conftest.$ac_objext; then
29730
29731 cat >>confdefs.h <<\_ACEOF
29732 #define __WXGTK218__ 1
29733 _ACEOF
29734
29735 cat >>confdefs.h <<\_ACEOF
29736 #define __WXGTK210__ 1
29737 _ACEOF
29738
29739 cat >>confdefs.h <<\_ACEOF
29740 #define __WXGTK26__ 1
29741 _ACEOF
29742
29743 { echo "$as_me:$LINENO: result: yes" >&5
29744 echo "${ECHO_T}yes" >&6; }
29745 ac_wxgtk218=1
29746
29747 else
29748 echo "$as_me: failed program was:" >&5
29749 sed 's/^/| /' conftest.$ac_ext >&5
29750
29751
29752 { echo "$as_me:$LINENO: result: no" >&5
29753 echo "${ECHO_T}no" >&6; }
29754 ac_wxgtk218=0
29755
29756 fi
29757
29758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29759
29760 if test "$ac_wxgtk218" = 0; then
29761 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29762 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29763 cat >conftest.$ac_ext <<_ACEOF
29764 /* confdefs.h. */
29765 _ACEOF
29766 cat confdefs.h >>conftest.$ac_ext
29767 cat >>conftest.$ac_ext <<_ACEOF
29768 /* end confdefs.h. */
29769
29770 #include <gtk/gtk.h>
29771
29772 int
29773 main ()
29774 {
29775
29776 #if !GTK_CHECK_VERSION(2,10,0)
29777 Not GTK+ 2.10
29778 #endif
29779
29780 ;
29781 return 0;
29782 }
29783 _ACEOF
29784 rm -f conftest.$ac_objext
29785 if { (ac_try="$ac_compile"
29786 case "(($ac_try" in
29787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29788 *) ac_try_echo=$ac_try;;
29789 esac
29790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29791 (eval "$ac_compile") 2>conftest.er1
29792 ac_status=$?
29793 grep -v '^ *+' conftest.er1 >conftest.err
29794 rm -f conftest.er1
29795 cat conftest.err >&5
29796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29797 (exit $ac_status); } && {
29798 test -z "$ac_c_werror_flag" ||
29799 test ! -s conftest.err
29800 } && test -s conftest.$ac_objext; then
29801
29802 cat >>confdefs.h <<\_ACEOF
29803 #define __WXGTK210__ 1
29804 _ACEOF
29805
29806 cat >>confdefs.h <<\_ACEOF
29807 #define __WXGTK26__ 1
29808 _ACEOF
29809
29810 { echo "$as_me:$LINENO: result: yes" >&5
29811 echo "${ECHO_T}yes" >&6; }
29812 ac_wxgtk210=1
29813
29814 else
29815 echo "$as_me: failed program was:" >&5
29816 sed 's/^/| /' conftest.$ac_ext >&5
29817
29818
29819 { echo "$as_me:$LINENO: result: no" >&5
29820 echo "${ECHO_T}no" >&6; }
29821 ac_wxgtk210=0
29822
29823 fi
29824
29825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29826
29827 if test "$ac_wxgtk210" = 0; then
29828 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29829 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29830 cat >conftest.$ac_ext <<_ACEOF
29831 /* confdefs.h. */
29832 _ACEOF
29833 cat confdefs.h >>conftest.$ac_ext
29834 cat >>conftest.$ac_ext <<_ACEOF
29835 /* end confdefs.h. */
29836
29837 #include <gtk/gtk.h>
29838
29839 int
29840 main ()
29841 {
29842
29843 #if !GTK_CHECK_VERSION(2,6,0)
29844 Not GTK+ 2.6
29845 #endif
29846
29847 ;
29848 return 0;
29849 }
29850 _ACEOF
29851 rm -f conftest.$ac_objext
29852 if { (ac_try="$ac_compile"
29853 case "(($ac_try" in
29854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29855 *) ac_try_echo=$ac_try;;
29856 esac
29857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29858 (eval "$ac_compile") 2>conftest.er1
29859 ac_status=$?
29860 grep -v '^ *+' conftest.er1 >conftest.err
29861 rm -f conftest.er1
29862 cat conftest.err >&5
29863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29864 (exit $ac_status); } && {
29865 test -z "$ac_c_werror_flag" ||
29866 test ! -s conftest.err
29867 } && test -s conftest.$ac_objext; then
29868
29869 cat >>confdefs.h <<\_ACEOF
29870 #define __WXGTK26__ 1
29871 _ACEOF
29872
29873 { echo "$as_me:$LINENO: result: yes" >&5
29874 echo "${ECHO_T}yes" >&6; }
29875 ac_wxgtk26=1
29876
29877 else
29878 echo "$as_me: failed program was:" >&5
29879 sed 's/^/| /' conftest.$ac_ext >&5
29880
29881
29882 { echo "$as_me:$LINENO: result: no" >&5
29883 echo "${ECHO_T}no" >&6; }
29884 ac_wxgtk26=0
29885
29886 fi
29887
29888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29889 fi
29890 fi
29891
29892 CFLAGS="$save_CFLAGS"
29893 LIBS="$save_LIBS"
29894 else
29895 if test "$wxUSE_UNICODE" = "yes"; then
29896 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29897 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29898 wxUSE_UNICODE=no
29899 fi
29900
29901 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29902 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29903 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29904 echo $ECHO_N "(cached) $ECHO_C" >&6
29905 else
29906 ac_check_lib_save_LIBS=$LIBS
29907 LIBS="-lgdk $LIBS"
29908 cat >conftest.$ac_ext <<_ACEOF
29909 /* confdefs.h. */
29910 _ACEOF
29911 cat confdefs.h >>conftest.$ac_ext
29912 cat >>conftest.$ac_ext <<_ACEOF
29913 /* end confdefs.h. */
29914
29915 /* Override any GCC internal prototype to avoid an error.
29916 Use char because int might match the return type of a GCC
29917 builtin and then its argument prototype would still apply. */
29918 #ifdef __cplusplus
29919 extern "C"
29920 #endif
29921 char gdk_im_open ();
29922 int
29923 main ()
29924 {
29925 return gdk_im_open ();
29926 ;
29927 return 0;
29928 }
29929 _ACEOF
29930 rm -f conftest.$ac_objext conftest$ac_exeext
29931 if { (ac_try="$ac_link"
29932 case "(($ac_try" in
29933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29934 *) ac_try_echo=$ac_try;;
29935 esac
29936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29937 (eval "$ac_link") 2>conftest.er1
29938 ac_status=$?
29939 grep -v '^ *+' conftest.er1 >conftest.err
29940 rm -f conftest.er1
29941 cat conftest.err >&5
29942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29943 (exit $ac_status); } && {
29944 test -z "$ac_c_werror_flag" ||
29945 test ! -s conftest.err
29946 } && test -s conftest$ac_exeext &&
29947 $as_test_x conftest$ac_exeext; then
29948 ac_cv_lib_gdk_gdk_im_open=yes
29949 else
29950 echo "$as_me: failed program was:" >&5
29951 sed 's/^/| /' conftest.$ac_ext >&5
29952
29953 ac_cv_lib_gdk_gdk_im_open=no
29954 fi
29955
29956 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29957 conftest$ac_exeext conftest.$ac_ext
29958 LIBS=$ac_check_lib_save_LIBS
29959 fi
29960 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29961 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29962 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29963 cat >>confdefs.h <<\_ACEOF
29964 #define HAVE_XIM 1
29965 _ACEOF
29966
29967 fi
29968
29969
29970 if test "$USE_DARWIN" != 1; then
29971
29972 for ac_func in poll
29973 do
29974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29975 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29977 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29978 echo $ECHO_N "(cached) $ECHO_C" >&6
29979 else
29980 cat >conftest.$ac_ext <<_ACEOF
29981 /* confdefs.h. */
29982 _ACEOF
29983 cat confdefs.h >>conftest.$ac_ext
29984 cat >>conftest.$ac_ext <<_ACEOF
29985 /* end confdefs.h. */
29986 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29988 #define $ac_func innocuous_$ac_func
29989
29990 /* System header to define __stub macros and hopefully few prototypes,
29991 which can conflict with char $ac_func (); below.
29992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29993 <limits.h> exists even on freestanding compilers. */
29994
29995 #ifdef __STDC__
29996 # include <limits.h>
29997 #else
29998 # include <assert.h>
29999 #endif
30000
30001 #undef $ac_func
30002
30003 /* Override any GCC internal prototype to avoid an error.
30004 Use char because int might match the return type of a GCC
30005 builtin and then its argument prototype would still apply. */
30006 #ifdef __cplusplus
30007 extern "C"
30008 #endif
30009 char $ac_func ();
30010 /* The GNU C library defines this for functions which it implements
30011 to always fail with ENOSYS. Some functions are actually named
30012 something starting with __ and the normal name is an alias. */
30013 #if defined __stub_$ac_func || defined __stub___$ac_func
30014 choke me
30015 #endif
30016
30017 int
30018 main ()
30019 {
30020 return $ac_func ();
30021 ;
30022 return 0;
30023 }
30024 _ACEOF
30025 rm -f conftest.$ac_objext conftest$ac_exeext
30026 if { (ac_try="$ac_link"
30027 case "(($ac_try" in
30028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30029 *) ac_try_echo=$ac_try;;
30030 esac
30031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30032 (eval "$ac_link") 2>conftest.er1
30033 ac_status=$?
30034 grep -v '^ *+' conftest.er1 >conftest.err
30035 rm -f conftest.er1
30036 cat conftest.err >&5
30037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30038 (exit $ac_status); } && {
30039 test -z "$ac_c_werror_flag" ||
30040 test ! -s conftest.err
30041 } && test -s conftest$ac_exeext &&
30042 $as_test_x conftest$ac_exeext; then
30043 eval "$as_ac_var=yes"
30044 else
30045 echo "$as_me: failed program was:" >&5
30046 sed 's/^/| /' conftest.$ac_ext >&5
30047
30048 eval "$as_ac_var=no"
30049 fi
30050
30051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30052 conftest$ac_exeext conftest.$ac_ext
30053 fi
30054 ac_res=`eval echo '${'$as_ac_var'}'`
30055 { echo "$as_me:$LINENO: result: $ac_res" >&5
30056 echo "${ECHO_T}$ac_res" >&6; }
30057 if test `eval echo '${'$as_ac_var'}'` = yes; then
30058 cat >>confdefs.h <<_ACEOF
30059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30060 _ACEOF
30061
30062 fi
30063 done
30064
30065 fi
30066 fi
30067
30068 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
30069 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
30070
30071 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
30072
30073 AFMINSTALL=afminstall
30074 TOOLKIT=GTK
30075 GUIDIST=GTK_DIST
30076
30077 if test "$wxUSE_GPE" = "yes"; then
30078 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
30079 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
30080
30081 ac_find_libraries=
30082 for ac_dir in $SEARCH_LIB;
30083 do
30084 for ac_extension in a so sl dylib dll.a; do
30085 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
30086 ac_find_libraries=$ac_dir
30087 break 2
30088 fi
30089 done
30090 done
30091
30092 if test "$ac_find_libraries" != "" ; then
30093
30094 if test "$ac_find_libraries" = "default location"; then
30095 ac_path_to_link=""
30096 else
30097 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30098 result=$?
30099 if test $result = 0; then
30100 ac_path_to_link=""
30101 else
30102 ac_path_to_link=" -L$ac_find_libraries"
30103 fi
30104 fi
30105
30106 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
30107 WXGPE=1
30108 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30109 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30110 else
30111 { echo "$as_me:$LINENO: result: not found" >&5
30112 echo "${ECHO_T}not found" >&6; }
30113 fi
30114
30115 fi
30116 fi
30117
30118 if test "$wxUSE_MGL" = 1; then
30119 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
30120 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
30121 if test "x$MGL_ROOT" = x ; then
30122 { echo "$as_me:$LINENO: result: not found" >&5
30123 echo "${ECHO_T}not found" >&6; }
30124 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
30125 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
30126 { (exit 1); exit 1; }; }
30127 else
30128 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
30129 echo "${ECHO_T}$MGL_ROOT" >&6; }
30130 fi
30131
30132 { echo "$as_me:$LINENO: checking for libmgl location" >&5
30133 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
30134 case "${host}" in
30135 *-*-linux* )
30136 if test "x$wxUSE_SHARED" = xyes ; then
30137 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
30138 else
30139 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
30140 fi
30141 ;;
30142 *-pc-msdosdjgpp )
30143 mgl_os_candidates="dos32/dj2"
30144 ;;
30145 *)
30146 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
30147 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
30148 { (exit 1); exit 1; }; }
30149 esac
30150
30151 mgl_lib_type=""
30152 mgl_os=""
30153
30154 for mgl_os_i in $mgl_os_candidates ; do
30155 if test "x$mgl_os" = x ; then
30156 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30157 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
30158 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
30159 mgl_lib_type=debug
30160 mgl_os=$mgl_os_i
30161 fi
30162 fi
30163 if test "x$mgl_lib_type" = x ; then
30164 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
30165 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
30166 mgl_lib_type=release
30167 mgl_os=$mgl_os_i
30168 fi
30169 fi
30170 fi
30171 done
30172
30173 if test "x$mgl_os" = x ; then
30174 { echo "$as_me:$LINENO: result: not found" >&5
30175 echo "${ECHO_T}not found" >&6; }
30176 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30177 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30178 { (exit 1); exit 1; }; }
30179 fi
30180 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30181 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
30182
30183 wxUSE_UNIVERSAL="yes"
30184
30185 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
30186 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30187
30188 AFMINSTALL=afminstall
30189 TOOLKIT=MGL
30190 GUIDIST=MGL_DIST
30191 fi
30192
30193 if test "$wxUSE_DFB" = 1; then
30194
30195
30196 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30197 if test -n "$ac_tool_prefix"; then
30198 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30199 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30200 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30202 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30203 echo $ECHO_N "(cached) $ECHO_C" >&6
30204 else
30205 case $PKG_CONFIG in
30206 [\\/]* | ?:[\\/]*)
30207 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30208 ;;
30209 *)
30210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30211 for as_dir in $PATH
30212 do
30213 IFS=$as_save_IFS
30214 test -z "$as_dir" && as_dir=.
30215 for ac_exec_ext in '' $ac_executable_extensions; do
30216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30217 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30219 break 2
30220 fi
30221 done
30222 done
30223 IFS=$as_save_IFS
30224
30225 ;;
30226 esac
30227 fi
30228 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30229 if test -n "$PKG_CONFIG"; then
30230 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30231 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30232 else
30233 { echo "$as_me:$LINENO: result: no" >&5
30234 echo "${ECHO_T}no" >&6; }
30235 fi
30236
30237
30238 fi
30239 if test -z "$ac_cv_path_PKG_CONFIG"; then
30240 ac_pt_PKG_CONFIG=$PKG_CONFIG
30241 # Extract the first word of "pkg-config", so it can be a program name with args.
30242 set dummy pkg-config; ac_word=$2
30243 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30245 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30246 echo $ECHO_N "(cached) $ECHO_C" >&6
30247 else
30248 case $ac_pt_PKG_CONFIG in
30249 [\\/]* | ?:[\\/]*)
30250 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30251 ;;
30252 *)
30253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30254 for as_dir in $PATH
30255 do
30256 IFS=$as_save_IFS
30257 test -z "$as_dir" && as_dir=.
30258 for ac_exec_ext in '' $ac_executable_extensions; do
30259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30260 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30262 break 2
30263 fi
30264 done
30265 done
30266 IFS=$as_save_IFS
30267
30268 ;;
30269 esac
30270 fi
30271 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30272 if test -n "$ac_pt_PKG_CONFIG"; then
30273 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30274 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30275 else
30276 { echo "$as_me:$LINENO: result: no" >&5
30277 echo "${ECHO_T}no" >&6; }
30278 fi
30279
30280 if test "x$ac_pt_PKG_CONFIG" = x; then
30281 PKG_CONFIG=""
30282 else
30283 case $cross_compiling:$ac_tool_warned in
30284 yes:)
30285 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30286 whose name does not start with the host triplet. If you think this
30287 configuration is useful to you, please write to autoconf@gnu.org." >&5
30288 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30289 whose name does not start with the host triplet. If you think this
30290 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30291 ac_tool_warned=yes ;;
30292 esac
30293 PKG_CONFIG=$ac_pt_PKG_CONFIG
30294 fi
30295 else
30296 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30297 fi
30298
30299 fi
30300 if test -n "$PKG_CONFIG"; then
30301 _pkg_min_version=0.9.0
30302 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30303 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30304 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30305 { echo "$as_me:$LINENO: result: yes" >&5
30306 echo "${ECHO_T}yes" >&6; }
30307 else
30308 { echo "$as_me:$LINENO: result: no" >&5
30309 echo "${ECHO_T}no" >&6; }
30310 PKG_CONFIG=""
30311 fi
30312
30313 fi
30314
30315
30316 pkg_failed=no
30317 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
30318 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
30319
30320 if test -n "$PKG_CONFIG"; then
30321 if test -n "$DIRECTFB_CFLAGS"; then
30322 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
30323 else
30324 if test -n "$PKG_CONFIG" && \
30325 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30326 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30327 ac_status=$?
30328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30329 (exit $ac_status); }; then
30330 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
30331 else
30332 pkg_failed=yes
30333 fi
30334 fi
30335 else
30336 pkg_failed=untried
30337 fi
30338 if test -n "$PKG_CONFIG"; then
30339 if test -n "$DIRECTFB_LIBS"; then
30340 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
30341 else
30342 if test -n "$PKG_CONFIG" && \
30343 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30344 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30345 ac_status=$?
30346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30347 (exit $ac_status); }; then
30348 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
30349 else
30350 pkg_failed=yes
30351 fi
30352 fi
30353 else
30354 pkg_failed=untried
30355 fi
30356
30357
30358
30359 if test $pkg_failed = yes; then
30360
30361 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30362 _pkg_short_errors_supported=yes
30363 else
30364 _pkg_short_errors_supported=no
30365 fi
30366 if test $_pkg_short_errors_supported = yes; then
30367 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30368 else
30369 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30370 fi
30371 # Put the nasty error message in config.log where it belongs
30372 echo "$DIRECTFB_PKG_ERRORS" >&5
30373
30374
30375 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30376 echo "$as_me: error: DirectFB not found." >&2;}
30377 { (exit 1); exit 1; }; }
30378
30379
30380 elif test $pkg_failed = untried; then
30381
30382 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30383 echo "$as_me: error: DirectFB not found." >&2;}
30384 { (exit 1); exit 1; }; }
30385
30386
30387 else
30388 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
30389 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
30390 { echo "$as_me:$LINENO: result: yes" >&5
30391 echo "${ECHO_T}yes" >&6; }
30392
30393 wxUSE_UNIVERSAL="yes"
30394 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30395 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30396 TOOLKIT=DFB
30397 GUIDIST=DFB_DIST
30398
30399 fi
30400 fi
30401
30402 if test "$wxUSE_MICROWIN" = 1; then
30403 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30404 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30405 if test "x$MICROWINDOWS" = x ; then
30406 { echo "$as_me:$LINENO: result: not found" >&5
30407 echo "${ECHO_T}not found" >&6; }
30408 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30409 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30410 { (exit 1); exit 1; }; }
30411 else
30412 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30413 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30414 fi
30415
30416 if test -f $MICROWINDOWS/lib/libmwin.a; then
30417 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
30418 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
30419 else
30420 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30421 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30422 { (exit 1); exit 1; }; }
30423 fi
30424
30425 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30426 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30427
30428 wxUSE_UNIVERSAL="yes"
30429
30430 AFMINSTALL=afminstall
30431 TOOLKIT=MICROWIN
30432 GUIDIST=MICROWIN_DIST
30433
30434 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30435 fi
30436
30437 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30438 { echo "$as_me:$LINENO: checking for X" >&5
30439 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30440
30441
30442 # Check whether --with-x was given.
30443 if test "${with_x+set}" = set; then
30444 withval=$with_x;
30445 fi
30446
30447 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30448 if test "x$with_x" = xno; then
30449 # The user explicitly disabled X.
30450 have_x=disabled
30451 else
30452 case $x_includes,$x_libraries in #(
30453 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30454 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
30455 { (exit 1); exit 1; }; };; #(
30456 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30457 echo $ECHO_N "(cached) $ECHO_C" >&6
30458 else
30459 # One or both of the vars are not set, and there is no cached value.
30460 ac_x_includes=no ac_x_libraries=no
30461 rm -f -r conftest.dir
30462 if mkdir conftest.dir; then
30463 cd conftest.dir
30464 cat >Imakefile <<'_ACEOF'
30465 incroot:
30466 @echo incroot='${INCROOT}'
30467 usrlibdir:
30468 @echo usrlibdir='${USRLIBDIR}'
30469 libdir:
30470 @echo libdir='${LIBDIR}'
30471 _ACEOF
30472 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30473 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30474 for ac_var in incroot usrlibdir libdir; do
30475 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
30476 done
30477 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30478 for ac_extension in a so sl; do
30479 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30480 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30481 ac_im_usrlibdir=$ac_im_libdir; break
30482 fi
30483 done
30484 # Screen out bogus values from the imake configuration. They are
30485 # bogus both because they are the default anyway, and because
30486 # using them would break gcc on systems where it needs fixed includes.
30487 case $ac_im_incroot in
30488 /usr/include) ac_x_includes= ;;
30489 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30490 esac
30491 case $ac_im_usrlibdir in
30492 /usr/lib | /lib) ;;
30493 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30494 esac
30495 fi
30496 cd ..
30497 rm -f -r conftest.dir
30498 fi
30499
30500 # Standard set of common directories for X headers.
30501 # Check X11 before X11Rn because it is often a symlink to the current release.
30502 ac_x_header_dirs='
30503 /usr/X11/include
30504 /usr/X11R6/include
30505 /usr/X11R5/include
30506 /usr/X11R4/include
30507
30508 /usr/include/X11
30509 /usr/include/X11R6
30510 /usr/include/X11R5
30511 /usr/include/X11R4
30512
30513 /usr/local/X11/include
30514 /usr/local/X11R6/include
30515 /usr/local/X11R5/include
30516 /usr/local/X11R4/include
30517
30518 /usr/local/include/X11
30519 /usr/local/include/X11R6
30520 /usr/local/include/X11R5
30521 /usr/local/include/X11R4
30522
30523 /usr/X386/include
30524 /usr/x386/include
30525 /usr/XFree86/include/X11
30526
30527 /usr/include
30528 /usr/local/include
30529 /usr/unsupported/include
30530 /usr/athena/include
30531 /usr/local/x11r5/include
30532 /usr/lpp/Xamples/include
30533
30534 /usr/openwin/include
30535 /usr/openwin/share/include'
30536
30537 if test "$ac_x_includes" = no; then
30538 # Guess where to find include files, by looking for Xlib.h.
30539 # First, try using that file with no special directory specified.
30540 cat >conftest.$ac_ext <<_ACEOF
30541 /* confdefs.h. */
30542 _ACEOF
30543 cat confdefs.h >>conftest.$ac_ext
30544 cat >>conftest.$ac_ext <<_ACEOF
30545 /* end confdefs.h. */
30546 #include <X11/Xlib.h>
30547 _ACEOF
30548 if { (ac_try="$ac_cpp conftest.$ac_ext"
30549 case "(($ac_try" in
30550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30551 *) ac_try_echo=$ac_try;;
30552 esac
30553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30554 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30555 ac_status=$?
30556 grep -v '^ *+' conftest.er1 >conftest.err
30557 rm -f conftest.er1
30558 cat conftest.err >&5
30559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30560 (exit $ac_status); } >/dev/null && {
30561 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30562 test ! -s conftest.err
30563 }; then
30564 # We can compile using X headers with no special include directory.
30565 ac_x_includes=
30566 else
30567 echo "$as_me: failed program was:" >&5
30568 sed 's/^/| /' conftest.$ac_ext >&5
30569
30570 for ac_dir in $ac_x_header_dirs; do
30571 if test -r "$ac_dir/X11/Xlib.h"; then
30572 ac_x_includes=$ac_dir
30573 break
30574 fi
30575 done
30576 fi
30577
30578 rm -f conftest.err conftest.$ac_ext
30579 fi # $ac_x_includes = no
30580
30581 if test "$ac_x_libraries" = no; then
30582 # Check for the libraries.
30583 # See if we find them without any special options.
30584 # Don't add to $LIBS permanently.
30585 ac_save_LIBS=$LIBS
30586 LIBS="-lX11 $LIBS"
30587 cat >conftest.$ac_ext <<_ACEOF
30588 /* confdefs.h. */
30589 _ACEOF
30590 cat confdefs.h >>conftest.$ac_ext
30591 cat >>conftest.$ac_ext <<_ACEOF
30592 /* end confdefs.h. */
30593 #include <X11/Xlib.h>
30594 int
30595 main ()
30596 {
30597 XrmInitialize ()
30598 ;
30599 return 0;
30600 }
30601 _ACEOF
30602 rm -f conftest.$ac_objext conftest$ac_exeext
30603 if { (ac_try="$ac_link"
30604 case "(($ac_try" in
30605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30606 *) ac_try_echo=$ac_try;;
30607 esac
30608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30609 (eval "$ac_link") 2>conftest.er1
30610 ac_status=$?
30611 grep -v '^ *+' conftest.er1 >conftest.err
30612 rm -f conftest.er1
30613 cat conftest.err >&5
30614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30615 (exit $ac_status); } && {
30616 test -z "$ac_c_werror_flag" ||
30617 test ! -s conftest.err
30618 } && test -s conftest$ac_exeext &&
30619 $as_test_x conftest$ac_exeext; then
30620 LIBS=$ac_save_LIBS
30621 # We can link X programs with no special library path.
30622 ac_x_libraries=
30623 else
30624 echo "$as_me: failed program was:" >&5
30625 sed 's/^/| /' conftest.$ac_ext >&5
30626
30627 LIBS=$ac_save_LIBS
30628 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30629 do
30630 # Don't even attempt the hair of trying to link an X program!
30631 for ac_extension in a so sl; do
30632 if test -r "$ac_dir/libX11.$ac_extension"; then
30633 ac_x_libraries=$ac_dir
30634 break 2
30635 fi
30636 done
30637 done
30638 fi
30639
30640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30641 conftest$ac_exeext conftest.$ac_ext
30642 fi # $ac_x_libraries = no
30643
30644 case $ac_x_includes,$ac_x_libraries in #(
30645 no,* | *,no | *\'*)
30646 # Didn't find X, or a directory has "'" in its name.
30647 ac_cv_have_x="have_x=no";; #(
30648 *)
30649 # Record where we found X for the cache.
30650 ac_cv_have_x="have_x=yes\
30651 ac_x_includes='$ac_x_includes'\
30652 ac_x_libraries='$ac_x_libraries'"
30653 esac
30654 fi
30655 ;; #(
30656 *) have_x=yes;;
30657 esac
30658 eval "$ac_cv_have_x"
30659 fi # $with_x != no
30660
30661 if test "$have_x" != yes; then
30662 { echo "$as_me:$LINENO: result: $have_x" >&5
30663 echo "${ECHO_T}$have_x" >&6; }
30664 no_x=yes
30665 else
30666 # If each of the values was on the command line, it overrides each guess.
30667 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30668 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30669 # Update the cache value to reflect the command line values.
30670 ac_cv_have_x="have_x=yes\
30671 ac_x_includes='$x_includes'\
30672 ac_x_libraries='$x_libraries'"
30673 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30674 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30675 fi
30676
30677 if test "$no_x" = yes; then
30678 # Not all programs may use this symbol, but it does not hurt to define it.
30679
30680 cat >>confdefs.h <<\_ACEOF
30681 #define X_DISPLAY_MISSING 1
30682 _ACEOF
30683
30684 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30685 else
30686 if test -n "$x_includes"; then
30687 X_CFLAGS="$X_CFLAGS -I$x_includes"
30688 fi
30689
30690 # It would also be nice to do this for all -L options, not just this one.
30691 if test -n "$x_libraries"; then
30692 X_LIBS="$X_LIBS -L$x_libraries"
30693 # For Solaris; some versions of Sun CC require a space after -R and
30694 # others require no space. Words are not sufficient . . . .
30695 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30696 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30697 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30698 ac_xsave_c_werror_flag=$ac_c_werror_flag
30699 ac_c_werror_flag=yes
30700 cat >conftest.$ac_ext <<_ACEOF
30701 /* confdefs.h. */
30702 _ACEOF
30703 cat confdefs.h >>conftest.$ac_ext
30704 cat >>conftest.$ac_ext <<_ACEOF
30705 /* end confdefs.h. */
30706
30707 int
30708 main ()
30709 {
30710
30711 ;
30712 return 0;
30713 }
30714 _ACEOF
30715 rm -f conftest.$ac_objext conftest$ac_exeext
30716 if { (ac_try="$ac_link"
30717 case "(($ac_try" in
30718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30719 *) ac_try_echo=$ac_try;;
30720 esac
30721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30722 (eval "$ac_link") 2>conftest.er1
30723 ac_status=$?
30724 grep -v '^ *+' conftest.er1 >conftest.err
30725 rm -f conftest.er1
30726 cat conftest.err >&5
30727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30728 (exit $ac_status); } && {
30729 test -z "$ac_c_werror_flag" ||
30730 test ! -s conftest.err
30731 } && test -s conftest$ac_exeext &&
30732 $as_test_x conftest$ac_exeext; then
30733 { echo "$as_me:$LINENO: result: no" >&5
30734 echo "${ECHO_T}no" >&6; }
30735 X_LIBS="$X_LIBS -R$x_libraries"
30736 else
30737 echo "$as_me: failed program was:" >&5
30738 sed 's/^/| /' conftest.$ac_ext >&5
30739
30740 LIBS="$ac_xsave_LIBS -R $x_libraries"
30741 cat >conftest.$ac_ext <<_ACEOF
30742 /* confdefs.h. */
30743 _ACEOF
30744 cat confdefs.h >>conftest.$ac_ext
30745 cat >>conftest.$ac_ext <<_ACEOF
30746 /* end confdefs.h. */
30747
30748 int
30749 main ()
30750 {
30751
30752 ;
30753 return 0;
30754 }
30755 _ACEOF
30756 rm -f conftest.$ac_objext conftest$ac_exeext
30757 if { (ac_try="$ac_link"
30758 case "(($ac_try" in
30759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30760 *) ac_try_echo=$ac_try;;
30761 esac
30762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30763 (eval "$ac_link") 2>conftest.er1
30764 ac_status=$?
30765 grep -v '^ *+' conftest.er1 >conftest.err
30766 rm -f conftest.er1
30767 cat conftest.err >&5
30768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30769 (exit $ac_status); } && {
30770 test -z "$ac_c_werror_flag" ||
30771 test ! -s conftest.err
30772 } && test -s conftest$ac_exeext &&
30773 $as_test_x conftest$ac_exeext; then
30774 { echo "$as_me:$LINENO: result: yes" >&5
30775 echo "${ECHO_T}yes" >&6; }
30776 X_LIBS="$X_LIBS -R $x_libraries"
30777 else
30778 echo "$as_me: failed program was:" >&5
30779 sed 's/^/| /' conftest.$ac_ext >&5
30780
30781 { echo "$as_me:$LINENO: result: neither works" >&5
30782 echo "${ECHO_T}neither works" >&6; }
30783 fi
30784
30785 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30786 conftest$ac_exeext conftest.$ac_ext
30787 fi
30788
30789 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30790 conftest$ac_exeext conftest.$ac_ext
30791 ac_c_werror_flag=$ac_xsave_c_werror_flag
30792 LIBS=$ac_xsave_LIBS
30793 fi
30794
30795 # Check for system-dependent libraries X programs must link with.
30796 # Do this before checking for the system-independent R6 libraries
30797 # (-lICE), since we may need -lsocket or whatever for X linking.
30798
30799 if test "$ISC" = yes; then
30800 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30801 else
30802 # Martyn Johnson says this is needed for Ultrix, if the X
30803 # libraries were built with DECnet support. And Karl Berry says
30804 # the Alpha needs dnet_stub (dnet does not exist).
30805 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30806 cat >conftest.$ac_ext <<_ACEOF
30807 /* confdefs.h. */
30808 _ACEOF
30809 cat confdefs.h >>conftest.$ac_ext
30810 cat >>conftest.$ac_ext <<_ACEOF
30811 /* end confdefs.h. */
30812
30813 /* Override any GCC internal prototype to avoid an error.
30814 Use char because int might match the return type of a GCC
30815 builtin and then its argument prototype would still apply. */
30816 #ifdef __cplusplus
30817 extern "C"
30818 #endif
30819 char XOpenDisplay ();
30820 int
30821 main ()
30822 {
30823 return XOpenDisplay ();
30824 ;
30825 return 0;
30826 }
30827 _ACEOF
30828 rm -f conftest.$ac_objext conftest$ac_exeext
30829 if { (ac_try="$ac_link"
30830 case "(($ac_try" in
30831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30832 *) ac_try_echo=$ac_try;;
30833 esac
30834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30835 (eval "$ac_link") 2>conftest.er1
30836 ac_status=$?
30837 grep -v '^ *+' conftest.er1 >conftest.err
30838 rm -f conftest.er1
30839 cat conftest.err >&5
30840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30841 (exit $ac_status); } && {
30842 test -z "$ac_c_werror_flag" ||
30843 test ! -s conftest.err
30844 } && test -s conftest$ac_exeext &&
30845 $as_test_x conftest$ac_exeext; then
30846 :
30847 else
30848 echo "$as_me: failed program was:" >&5
30849 sed 's/^/| /' conftest.$ac_ext >&5
30850
30851 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30852 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30853 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30854 echo $ECHO_N "(cached) $ECHO_C" >&6
30855 else
30856 ac_check_lib_save_LIBS=$LIBS
30857 LIBS="-ldnet $LIBS"
30858 cat >conftest.$ac_ext <<_ACEOF
30859 /* confdefs.h. */
30860 _ACEOF
30861 cat confdefs.h >>conftest.$ac_ext
30862 cat >>conftest.$ac_ext <<_ACEOF
30863 /* end confdefs.h. */
30864
30865 /* Override any GCC internal prototype to avoid an error.
30866 Use char because int might match the return type of a GCC
30867 builtin and then its argument prototype would still apply. */
30868 #ifdef __cplusplus
30869 extern "C"
30870 #endif
30871 char dnet_ntoa ();
30872 int
30873 main ()
30874 {
30875 return dnet_ntoa ();
30876 ;
30877 return 0;
30878 }
30879 _ACEOF
30880 rm -f conftest.$ac_objext conftest$ac_exeext
30881 if { (ac_try="$ac_link"
30882 case "(($ac_try" in
30883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30884 *) ac_try_echo=$ac_try;;
30885 esac
30886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30887 (eval "$ac_link") 2>conftest.er1
30888 ac_status=$?
30889 grep -v '^ *+' conftest.er1 >conftest.err
30890 rm -f conftest.er1
30891 cat conftest.err >&5
30892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30893 (exit $ac_status); } && {
30894 test -z "$ac_c_werror_flag" ||
30895 test ! -s conftest.err
30896 } && test -s conftest$ac_exeext &&
30897 $as_test_x conftest$ac_exeext; then
30898 ac_cv_lib_dnet_dnet_ntoa=yes
30899 else
30900 echo "$as_me: failed program was:" >&5
30901 sed 's/^/| /' conftest.$ac_ext >&5
30902
30903 ac_cv_lib_dnet_dnet_ntoa=no
30904 fi
30905
30906 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30907 conftest$ac_exeext conftest.$ac_ext
30908 LIBS=$ac_check_lib_save_LIBS
30909 fi
30910 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30911 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30912 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30913 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30914 fi
30915
30916 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30917 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30918 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30919 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30920 echo $ECHO_N "(cached) $ECHO_C" >&6
30921 else
30922 ac_check_lib_save_LIBS=$LIBS
30923 LIBS="-ldnet_stub $LIBS"
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 /* Override any GCC internal prototype to avoid an error.
30932 Use char because int might match the return type of a GCC
30933 builtin and then its argument prototype would still apply. */
30934 #ifdef __cplusplus
30935 extern "C"
30936 #endif
30937 char dnet_ntoa ();
30938 int
30939 main ()
30940 {
30941 return dnet_ntoa ();
30942 ;
30943 return 0;
30944 }
30945 _ACEOF
30946 rm -f conftest.$ac_objext conftest$ac_exeext
30947 if { (ac_try="$ac_link"
30948 case "(($ac_try" in
30949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30950 *) ac_try_echo=$ac_try;;
30951 esac
30952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30953 (eval "$ac_link") 2>conftest.er1
30954 ac_status=$?
30955 grep -v '^ *+' conftest.er1 >conftest.err
30956 rm -f conftest.er1
30957 cat conftest.err >&5
30958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30959 (exit $ac_status); } && {
30960 test -z "$ac_c_werror_flag" ||
30961 test ! -s conftest.err
30962 } && test -s conftest$ac_exeext &&
30963 $as_test_x conftest$ac_exeext; then
30964 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30965 else
30966 echo "$as_me: failed program was:" >&5
30967 sed 's/^/| /' conftest.$ac_ext >&5
30968
30969 ac_cv_lib_dnet_stub_dnet_ntoa=no
30970 fi
30971
30972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30973 conftest$ac_exeext conftest.$ac_ext
30974 LIBS=$ac_check_lib_save_LIBS
30975 fi
30976 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30977 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30978 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30979 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30980 fi
30981
30982 fi
30983 fi
30984
30985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30986 conftest$ac_exeext conftest.$ac_ext
30987 LIBS="$ac_xsave_LIBS"
30988
30989 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30990 # to get the SysV transport functions.
30991 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30992 # needs -lnsl.
30993 # The nsl library prevents programs from opening the X display
30994 # on Irix 5.2, according to T.E. Dickey.
30995 # The functions gethostbyname, getservbyname, and inet_addr are
30996 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30997 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30998 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30999 if test "${ac_cv_func_gethostbyname+set}" = set; then
31000 echo $ECHO_N "(cached) $ECHO_C" >&6
31001 else
31002 cat >conftest.$ac_ext <<_ACEOF
31003 /* confdefs.h. */
31004 _ACEOF
31005 cat confdefs.h >>conftest.$ac_ext
31006 cat >>conftest.$ac_ext <<_ACEOF
31007 /* end confdefs.h. */
31008 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
31009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31010 #define gethostbyname innocuous_gethostbyname
31011
31012 /* System header to define __stub macros and hopefully few prototypes,
31013 which can conflict with char gethostbyname (); below.
31014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31015 <limits.h> exists even on freestanding compilers. */
31016
31017 #ifdef __STDC__
31018 # include <limits.h>
31019 #else
31020 # include <assert.h>
31021 #endif
31022
31023 #undef gethostbyname
31024
31025 /* Override any GCC internal prototype to avoid an error.
31026 Use char because int might match the return type of a GCC
31027 builtin and then its argument prototype would still apply. */
31028 #ifdef __cplusplus
31029 extern "C"
31030 #endif
31031 char gethostbyname ();
31032 /* The GNU C library defines this for functions which it implements
31033 to always fail with ENOSYS. Some functions are actually named
31034 something starting with __ and the normal name is an alias. */
31035 #if defined __stub_gethostbyname || defined __stub___gethostbyname
31036 choke me
31037 #endif
31038
31039 int
31040 main ()
31041 {
31042 return gethostbyname ();
31043 ;
31044 return 0;
31045 }
31046 _ACEOF
31047 rm -f conftest.$ac_objext conftest$ac_exeext
31048 if { (ac_try="$ac_link"
31049 case "(($ac_try" in
31050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31051 *) ac_try_echo=$ac_try;;
31052 esac
31053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31054 (eval "$ac_link") 2>conftest.er1
31055 ac_status=$?
31056 grep -v '^ *+' conftest.er1 >conftest.err
31057 rm -f conftest.er1
31058 cat conftest.err >&5
31059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31060 (exit $ac_status); } && {
31061 test -z "$ac_c_werror_flag" ||
31062 test ! -s conftest.err
31063 } && test -s conftest$ac_exeext &&
31064 $as_test_x conftest$ac_exeext; then
31065 ac_cv_func_gethostbyname=yes
31066 else
31067 echo "$as_me: failed program was:" >&5
31068 sed 's/^/| /' conftest.$ac_ext >&5
31069
31070 ac_cv_func_gethostbyname=no
31071 fi
31072
31073 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31074 conftest$ac_exeext conftest.$ac_ext
31075 fi
31076 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
31077 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
31078
31079 if test $ac_cv_func_gethostbyname = no; then
31080 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
31081 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
31082 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
31083 echo $ECHO_N "(cached) $ECHO_C" >&6
31084 else
31085 ac_check_lib_save_LIBS=$LIBS
31086 LIBS="-lnsl $LIBS"
31087 cat >conftest.$ac_ext <<_ACEOF
31088 /* confdefs.h. */
31089 _ACEOF
31090 cat confdefs.h >>conftest.$ac_ext
31091 cat >>conftest.$ac_ext <<_ACEOF
31092 /* end confdefs.h. */
31093
31094 /* Override any GCC internal prototype to avoid an error.
31095 Use char because int might match the return type of a GCC
31096 builtin and then its argument prototype would still apply. */
31097 #ifdef __cplusplus
31098 extern "C"
31099 #endif
31100 char gethostbyname ();
31101 int
31102 main ()
31103 {
31104 return gethostbyname ();
31105 ;
31106 return 0;
31107 }
31108 _ACEOF
31109 rm -f conftest.$ac_objext conftest$ac_exeext
31110 if { (ac_try="$ac_link"
31111 case "(($ac_try" in
31112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31113 *) ac_try_echo=$ac_try;;
31114 esac
31115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31116 (eval "$ac_link") 2>conftest.er1
31117 ac_status=$?
31118 grep -v '^ *+' conftest.er1 >conftest.err
31119 rm -f conftest.er1
31120 cat conftest.err >&5
31121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31122 (exit $ac_status); } && {
31123 test -z "$ac_c_werror_flag" ||
31124 test ! -s conftest.err
31125 } && test -s conftest$ac_exeext &&
31126 $as_test_x conftest$ac_exeext; then
31127 ac_cv_lib_nsl_gethostbyname=yes
31128 else
31129 echo "$as_me: failed program was:" >&5
31130 sed 's/^/| /' conftest.$ac_ext >&5
31131
31132 ac_cv_lib_nsl_gethostbyname=no
31133 fi
31134
31135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31136 conftest$ac_exeext conftest.$ac_ext
31137 LIBS=$ac_check_lib_save_LIBS
31138 fi
31139 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31140 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
31141 if test $ac_cv_lib_nsl_gethostbyname = yes; then
31142 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
31143 fi
31144
31145 if test $ac_cv_lib_nsl_gethostbyname = no; then
31146 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31147 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
31148 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31149 echo $ECHO_N "(cached) $ECHO_C" >&6
31150 else
31151 ac_check_lib_save_LIBS=$LIBS
31152 LIBS="-lbsd $LIBS"
31153 cat >conftest.$ac_ext <<_ACEOF
31154 /* confdefs.h. */
31155 _ACEOF
31156 cat confdefs.h >>conftest.$ac_ext
31157 cat >>conftest.$ac_ext <<_ACEOF
31158 /* end confdefs.h. */
31159
31160 /* Override any GCC internal prototype to avoid an error.
31161 Use char because int might match the return type of a GCC
31162 builtin and then its argument prototype would still apply. */
31163 #ifdef __cplusplus
31164 extern "C"
31165 #endif
31166 char gethostbyname ();
31167 int
31168 main ()
31169 {
31170 return gethostbyname ();
31171 ;
31172 return 0;
31173 }
31174 _ACEOF
31175 rm -f conftest.$ac_objext conftest$ac_exeext
31176 if { (ac_try="$ac_link"
31177 case "(($ac_try" in
31178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31179 *) ac_try_echo=$ac_try;;
31180 esac
31181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31182 (eval "$ac_link") 2>conftest.er1
31183 ac_status=$?
31184 grep -v '^ *+' conftest.er1 >conftest.err
31185 rm -f conftest.er1
31186 cat conftest.err >&5
31187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31188 (exit $ac_status); } && {
31189 test -z "$ac_c_werror_flag" ||
31190 test ! -s conftest.err
31191 } && test -s conftest$ac_exeext &&
31192 $as_test_x conftest$ac_exeext; then
31193 ac_cv_lib_bsd_gethostbyname=yes
31194 else
31195 echo "$as_me: failed program was:" >&5
31196 sed 's/^/| /' conftest.$ac_ext >&5
31197
31198 ac_cv_lib_bsd_gethostbyname=no
31199 fi
31200
31201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31202 conftest$ac_exeext conftest.$ac_ext
31203 LIBS=$ac_check_lib_save_LIBS
31204 fi
31205 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31206 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
31207 if test $ac_cv_lib_bsd_gethostbyname = yes; then
31208 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
31209 fi
31210
31211 fi
31212 fi
31213
31214 # lieder@skyler.mavd.honeywell.com says without -lsocket,
31215 # socket/setsockopt and other routines are undefined under SCO ODT
31216 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
31217 # on later versions), says Simon Leinen: it contains gethostby*
31218 # variants that don't use the name server (or something). -lsocket
31219 # must be given before -lnsl if both are needed. We assume that
31220 # if connect needs -lnsl, so does gethostbyname.
31221 { echo "$as_me:$LINENO: checking for connect" >&5
31222 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
31223 if test "${ac_cv_func_connect+set}" = set; then
31224 echo $ECHO_N "(cached) $ECHO_C" >&6
31225 else
31226 cat >conftest.$ac_ext <<_ACEOF
31227 /* confdefs.h. */
31228 _ACEOF
31229 cat confdefs.h >>conftest.$ac_ext
31230 cat >>conftest.$ac_ext <<_ACEOF
31231 /* end confdefs.h. */
31232 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31234 #define connect innocuous_connect
31235
31236 /* System header to define __stub macros and hopefully few prototypes,
31237 which can conflict with char connect (); below.
31238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31239 <limits.h> exists even on freestanding compilers. */
31240
31241 #ifdef __STDC__
31242 # include <limits.h>
31243 #else
31244 # include <assert.h>
31245 #endif
31246
31247 #undef connect
31248
31249 /* Override any GCC internal prototype to avoid an error.
31250 Use char because int might match the return type of a GCC
31251 builtin and then its argument prototype would still apply. */
31252 #ifdef __cplusplus
31253 extern "C"
31254 #endif
31255 char connect ();
31256 /* The GNU C library defines this for functions which it implements
31257 to always fail with ENOSYS. Some functions are actually named
31258 something starting with __ and the normal name is an alias. */
31259 #if defined __stub_connect || defined __stub___connect
31260 choke me
31261 #endif
31262
31263 int
31264 main ()
31265 {
31266 return connect ();
31267 ;
31268 return 0;
31269 }
31270 _ACEOF
31271 rm -f conftest.$ac_objext conftest$ac_exeext
31272 if { (ac_try="$ac_link"
31273 case "(($ac_try" in
31274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31275 *) ac_try_echo=$ac_try;;
31276 esac
31277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31278 (eval "$ac_link") 2>conftest.er1
31279 ac_status=$?
31280 grep -v '^ *+' conftest.er1 >conftest.err
31281 rm -f conftest.er1
31282 cat conftest.err >&5
31283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31284 (exit $ac_status); } && {
31285 test -z "$ac_c_werror_flag" ||
31286 test ! -s conftest.err
31287 } && test -s conftest$ac_exeext &&
31288 $as_test_x conftest$ac_exeext; then
31289 ac_cv_func_connect=yes
31290 else
31291 echo "$as_me: failed program was:" >&5
31292 sed 's/^/| /' conftest.$ac_ext >&5
31293
31294 ac_cv_func_connect=no
31295 fi
31296
31297 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31298 conftest$ac_exeext conftest.$ac_ext
31299 fi
31300 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
31301 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
31302
31303 if test $ac_cv_func_connect = no; then
31304 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
31305 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
31306 if test "${ac_cv_lib_socket_connect+set}" = set; then
31307 echo $ECHO_N "(cached) $ECHO_C" >&6
31308 else
31309 ac_check_lib_save_LIBS=$LIBS
31310 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
31311 cat >conftest.$ac_ext <<_ACEOF
31312 /* confdefs.h. */
31313 _ACEOF
31314 cat confdefs.h >>conftest.$ac_ext
31315 cat >>conftest.$ac_ext <<_ACEOF
31316 /* end confdefs.h. */
31317
31318 /* Override any GCC internal prototype to avoid an error.
31319 Use char because int might match the return type of a GCC
31320 builtin and then its argument prototype would still apply. */
31321 #ifdef __cplusplus
31322 extern "C"
31323 #endif
31324 char connect ();
31325 int
31326 main ()
31327 {
31328 return connect ();
31329 ;
31330 return 0;
31331 }
31332 _ACEOF
31333 rm -f conftest.$ac_objext conftest$ac_exeext
31334 if { (ac_try="$ac_link"
31335 case "(($ac_try" in
31336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31337 *) ac_try_echo=$ac_try;;
31338 esac
31339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31340 (eval "$ac_link") 2>conftest.er1
31341 ac_status=$?
31342 grep -v '^ *+' conftest.er1 >conftest.err
31343 rm -f conftest.er1
31344 cat conftest.err >&5
31345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31346 (exit $ac_status); } && {
31347 test -z "$ac_c_werror_flag" ||
31348 test ! -s conftest.err
31349 } && test -s conftest$ac_exeext &&
31350 $as_test_x conftest$ac_exeext; then
31351 ac_cv_lib_socket_connect=yes
31352 else
31353 echo "$as_me: failed program was:" >&5
31354 sed 's/^/| /' conftest.$ac_ext >&5
31355
31356 ac_cv_lib_socket_connect=no
31357 fi
31358
31359 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31360 conftest$ac_exeext conftest.$ac_ext
31361 LIBS=$ac_check_lib_save_LIBS
31362 fi
31363 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31364 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
31365 if test $ac_cv_lib_socket_connect = yes; then
31366 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
31367 fi
31368
31369 fi
31370
31371 # Guillermo Gomez says -lposix is necessary on A/UX.
31372 { echo "$as_me:$LINENO: checking for remove" >&5
31373 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
31374 if test "${ac_cv_func_remove+set}" = set; then
31375 echo $ECHO_N "(cached) $ECHO_C" >&6
31376 else
31377 cat >conftest.$ac_ext <<_ACEOF
31378 /* confdefs.h. */
31379 _ACEOF
31380 cat confdefs.h >>conftest.$ac_ext
31381 cat >>conftest.$ac_ext <<_ACEOF
31382 /* end confdefs.h. */
31383 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
31384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31385 #define remove innocuous_remove
31386
31387 /* System header to define __stub macros and hopefully few prototypes,
31388 which can conflict with char remove (); below.
31389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31390 <limits.h> exists even on freestanding compilers. */
31391
31392 #ifdef __STDC__
31393 # include <limits.h>
31394 #else
31395 # include <assert.h>
31396 #endif
31397
31398 #undef remove
31399
31400 /* Override any GCC internal prototype to avoid an error.
31401 Use char because int might match the return type of a GCC
31402 builtin and then its argument prototype would still apply. */
31403 #ifdef __cplusplus
31404 extern "C"
31405 #endif
31406 char remove ();
31407 /* The GNU C library defines this for functions which it implements
31408 to always fail with ENOSYS. Some functions are actually named
31409 something starting with __ and the normal name is an alias. */
31410 #if defined __stub_remove || defined __stub___remove
31411 choke me
31412 #endif
31413
31414 int
31415 main ()
31416 {
31417 return remove ();
31418 ;
31419 return 0;
31420 }
31421 _ACEOF
31422 rm -f conftest.$ac_objext conftest$ac_exeext
31423 if { (ac_try="$ac_link"
31424 case "(($ac_try" in
31425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31426 *) ac_try_echo=$ac_try;;
31427 esac
31428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31429 (eval "$ac_link") 2>conftest.er1
31430 ac_status=$?
31431 grep -v '^ *+' conftest.er1 >conftest.err
31432 rm -f conftest.er1
31433 cat conftest.err >&5
31434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31435 (exit $ac_status); } && {
31436 test -z "$ac_c_werror_flag" ||
31437 test ! -s conftest.err
31438 } && test -s conftest$ac_exeext &&
31439 $as_test_x conftest$ac_exeext; then
31440 ac_cv_func_remove=yes
31441 else
31442 echo "$as_me: failed program was:" >&5
31443 sed 's/^/| /' conftest.$ac_ext >&5
31444
31445 ac_cv_func_remove=no
31446 fi
31447
31448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31449 conftest$ac_exeext conftest.$ac_ext
31450 fi
31451 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31452 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31453
31454 if test $ac_cv_func_remove = no; then
31455 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31456 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31457 if test "${ac_cv_lib_posix_remove+set}" = set; then
31458 echo $ECHO_N "(cached) $ECHO_C" >&6
31459 else
31460 ac_check_lib_save_LIBS=$LIBS
31461 LIBS="-lposix $LIBS"
31462 cat >conftest.$ac_ext <<_ACEOF
31463 /* confdefs.h. */
31464 _ACEOF
31465 cat confdefs.h >>conftest.$ac_ext
31466 cat >>conftest.$ac_ext <<_ACEOF
31467 /* end confdefs.h. */
31468
31469 /* Override any GCC internal prototype to avoid an error.
31470 Use char because int might match the return type of a GCC
31471 builtin and then its argument prototype would still apply. */
31472 #ifdef __cplusplus
31473 extern "C"
31474 #endif
31475 char remove ();
31476 int
31477 main ()
31478 {
31479 return remove ();
31480 ;
31481 return 0;
31482 }
31483 _ACEOF
31484 rm -f conftest.$ac_objext conftest$ac_exeext
31485 if { (ac_try="$ac_link"
31486 case "(($ac_try" in
31487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31488 *) ac_try_echo=$ac_try;;
31489 esac
31490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31491 (eval "$ac_link") 2>conftest.er1
31492 ac_status=$?
31493 grep -v '^ *+' conftest.er1 >conftest.err
31494 rm -f conftest.er1
31495 cat conftest.err >&5
31496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31497 (exit $ac_status); } && {
31498 test -z "$ac_c_werror_flag" ||
31499 test ! -s conftest.err
31500 } && test -s conftest$ac_exeext &&
31501 $as_test_x conftest$ac_exeext; then
31502 ac_cv_lib_posix_remove=yes
31503 else
31504 echo "$as_me: failed program was:" >&5
31505 sed 's/^/| /' conftest.$ac_ext >&5
31506
31507 ac_cv_lib_posix_remove=no
31508 fi
31509
31510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31511 conftest$ac_exeext conftest.$ac_ext
31512 LIBS=$ac_check_lib_save_LIBS
31513 fi
31514 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31515 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31516 if test $ac_cv_lib_posix_remove = yes; then
31517 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31518 fi
31519
31520 fi
31521
31522 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31523 { echo "$as_me:$LINENO: checking for shmat" >&5
31524 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31525 if test "${ac_cv_func_shmat+set}" = set; then
31526 echo $ECHO_N "(cached) $ECHO_C" >&6
31527 else
31528 cat >conftest.$ac_ext <<_ACEOF
31529 /* confdefs.h. */
31530 _ACEOF
31531 cat confdefs.h >>conftest.$ac_ext
31532 cat >>conftest.$ac_ext <<_ACEOF
31533 /* end confdefs.h. */
31534 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31536 #define shmat innocuous_shmat
31537
31538 /* System header to define __stub macros and hopefully few prototypes,
31539 which can conflict with char shmat (); below.
31540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31541 <limits.h> exists even on freestanding compilers. */
31542
31543 #ifdef __STDC__
31544 # include <limits.h>
31545 #else
31546 # include <assert.h>
31547 #endif
31548
31549 #undef shmat
31550
31551 /* Override any GCC internal prototype to avoid an error.
31552 Use char because int might match the return type of a GCC
31553 builtin and then its argument prototype would still apply. */
31554 #ifdef __cplusplus
31555 extern "C"
31556 #endif
31557 char shmat ();
31558 /* The GNU C library defines this for functions which it implements
31559 to always fail with ENOSYS. Some functions are actually named
31560 something starting with __ and the normal name is an alias. */
31561 #if defined __stub_shmat || defined __stub___shmat
31562 choke me
31563 #endif
31564
31565 int
31566 main ()
31567 {
31568 return shmat ();
31569 ;
31570 return 0;
31571 }
31572 _ACEOF
31573 rm -f conftest.$ac_objext conftest$ac_exeext
31574 if { (ac_try="$ac_link"
31575 case "(($ac_try" in
31576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31577 *) ac_try_echo=$ac_try;;
31578 esac
31579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31580 (eval "$ac_link") 2>conftest.er1
31581 ac_status=$?
31582 grep -v '^ *+' conftest.er1 >conftest.err
31583 rm -f conftest.er1
31584 cat conftest.err >&5
31585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31586 (exit $ac_status); } && {
31587 test -z "$ac_c_werror_flag" ||
31588 test ! -s conftest.err
31589 } && test -s conftest$ac_exeext &&
31590 $as_test_x conftest$ac_exeext; then
31591 ac_cv_func_shmat=yes
31592 else
31593 echo "$as_me: failed program was:" >&5
31594 sed 's/^/| /' conftest.$ac_ext >&5
31595
31596 ac_cv_func_shmat=no
31597 fi
31598
31599 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31600 conftest$ac_exeext conftest.$ac_ext
31601 fi
31602 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31603 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31604
31605 if test $ac_cv_func_shmat = no; then
31606 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31607 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31608 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31609 echo $ECHO_N "(cached) $ECHO_C" >&6
31610 else
31611 ac_check_lib_save_LIBS=$LIBS
31612 LIBS="-lipc $LIBS"
31613 cat >conftest.$ac_ext <<_ACEOF
31614 /* confdefs.h. */
31615 _ACEOF
31616 cat confdefs.h >>conftest.$ac_ext
31617 cat >>conftest.$ac_ext <<_ACEOF
31618 /* end confdefs.h. */
31619
31620 /* Override any GCC internal prototype to avoid an error.
31621 Use char because int might match the return type of a GCC
31622 builtin and then its argument prototype would still apply. */
31623 #ifdef __cplusplus
31624 extern "C"
31625 #endif
31626 char shmat ();
31627 int
31628 main ()
31629 {
31630 return shmat ();
31631 ;
31632 return 0;
31633 }
31634 _ACEOF
31635 rm -f conftest.$ac_objext conftest$ac_exeext
31636 if { (ac_try="$ac_link"
31637 case "(($ac_try" in
31638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31639 *) ac_try_echo=$ac_try;;
31640 esac
31641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31642 (eval "$ac_link") 2>conftest.er1
31643 ac_status=$?
31644 grep -v '^ *+' conftest.er1 >conftest.err
31645 rm -f conftest.er1
31646 cat conftest.err >&5
31647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31648 (exit $ac_status); } && {
31649 test -z "$ac_c_werror_flag" ||
31650 test ! -s conftest.err
31651 } && test -s conftest$ac_exeext &&
31652 $as_test_x conftest$ac_exeext; then
31653 ac_cv_lib_ipc_shmat=yes
31654 else
31655 echo "$as_me: failed program was:" >&5
31656 sed 's/^/| /' conftest.$ac_ext >&5
31657
31658 ac_cv_lib_ipc_shmat=no
31659 fi
31660
31661 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31662 conftest$ac_exeext conftest.$ac_ext
31663 LIBS=$ac_check_lib_save_LIBS
31664 fi
31665 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31666 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31667 if test $ac_cv_lib_ipc_shmat = yes; then
31668 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31669 fi
31670
31671 fi
31672 fi
31673
31674 # Check for libraries that X11R6 Xt/Xaw programs need.
31675 ac_save_LDFLAGS=$LDFLAGS
31676 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31677 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31678 # check for ICE first), but we must link in the order -lSM -lICE or
31679 # we get undefined symbols. So assume we have SM if we have ICE.
31680 # These have to be linked with before -lX11, unlike the other
31681 # libraries we check for below, so use a different variable.
31682 # John Interrante, Karl Berry
31683 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31684 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31685 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31686 echo $ECHO_N "(cached) $ECHO_C" >&6
31687 else
31688 ac_check_lib_save_LIBS=$LIBS
31689 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31690 cat >conftest.$ac_ext <<_ACEOF
31691 /* confdefs.h. */
31692 _ACEOF
31693 cat confdefs.h >>conftest.$ac_ext
31694 cat >>conftest.$ac_ext <<_ACEOF
31695 /* end confdefs.h. */
31696
31697 /* Override any GCC internal prototype to avoid an error.
31698 Use char because int might match the return type of a GCC
31699 builtin and then its argument prototype would still apply. */
31700 #ifdef __cplusplus
31701 extern "C"
31702 #endif
31703 char IceConnectionNumber ();
31704 int
31705 main ()
31706 {
31707 return IceConnectionNumber ();
31708 ;
31709 return 0;
31710 }
31711 _ACEOF
31712 rm -f conftest.$ac_objext conftest$ac_exeext
31713 if { (ac_try="$ac_link"
31714 case "(($ac_try" in
31715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31716 *) ac_try_echo=$ac_try;;
31717 esac
31718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31719 (eval "$ac_link") 2>conftest.er1
31720 ac_status=$?
31721 grep -v '^ *+' conftest.er1 >conftest.err
31722 rm -f conftest.er1
31723 cat conftest.err >&5
31724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31725 (exit $ac_status); } && {
31726 test -z "$ac_c_werror_flag" ||
31727 test ! -s conftest.err
31728 } && test -s conftest$ac_exeext &&
31729 $as_test_x conftest$ac_exeext; then
31730 ac_cv_lib_ICE_IceConnectionNumber=yes
31731 else
31732 echo "$as_me: failed program was:" >&5
31733 sed 's/^/| /' conftest.$ac_ext >&5
31734
31735 ac_cv_lib_ICE_IceConnectionNumber=no
31736 fi
31737
31738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31739 conftest$ac_exeext conftest.$ac_ext
31740 LIBS=$ac_check_lib_save_LIBS
31741 fi
31742 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31743 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31744 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31745 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31746 fi
31747
31748 LDFLAGS=$ac_save_LDFLAGS
31749
31750 fi
31751
31752
31753 if test "$no_x" = "yes"; then
31754 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31755 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31756 { (exit 1); exit 1; }; }
31757 fi
31758
31759 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31760 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31761 AFMINSTALL=afminstall
31762 COMPILED_X_PROGRAM=0
31763
31764 fi
31765
31766 if test "$wxUSE_X11" = 1; then
31767 if test "$wxUSE_NANOX" = "yes"; then
31768 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31769 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31770 if test "x$MICROWIN" = x ; then
31771 { echo "$as_me:$LINENO: result: not found" >&5
31772 echo "${ECHO_T}not found" >&6; }
31773 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31774 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31775 { (exit 1); exit 1; }; }
31776 else
31777 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31778 echo "${ECHO_T}$MICROWIN" >&6; }
31779 cat >>confdefs.h <<\_ACEOF
31780 #define wxUSE_NANOX 1
31781 _ACEOF
31782
31783 fi
31784 fi
31785
31786 if test "$wxUSE_UNICODE" = "yes"; then
31787
31788
31789 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31790 if test -n "$ac_tool_prefix"; then
31791 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31792 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31793 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31795 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31796 echo $ECHO_N "(cached) $ECHO_C" >&6
31797 else
31798 case $PKG_CONFIG in
31799 [\\/]* | ?:[\\/]*)
31800 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31801 ;;
31802 *)
31803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31804 for as_dir in $PATH
31805 do
31806 IFS=$as_save_IFS
31807 test -z "$as_dir" && as_dir=.
31808 for ac_exec_ext in '' $ac_executable_extensions; do
31809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31810 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31812 break 2
31813 fi
31814 done
31815 done
31816 IFS=$as_save_IFS
31817
31818 ;;
31819 esac
31820 fi
31821 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31822 if test -n "$PKG_CONFIG"; then
31823 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31824 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31825 else
31826 { echo "$as_me:$LINENO: result: no" >&5
31827 echo "${ECHO_T}no" >&6; }
31828 fi
31829
31830
31831 fi
31832 if test -z "$ac_cv_path_PKG_CONFIG"; then
31833 ac_pt_PKG_CONFIG=$PKG_CONFIG
31834 # Extract the first word of "pkg-config", so it can be a program name with args.
31835 set dummy pkg-config; ac_word=$2
31836 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31838 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31839 echo $ECHO_N "(cached) $ECHO_C" >&6
31840 else
31841 case $ac_pt_PKG_CONFIG in
31842 [\\/]* | ?:[\\/]*)
31843 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31844 ;;
31845 *)
31846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31847 for as_dir in $PATH
31848 do
31849 IFS=$as_save_IFS
31850 test -z "$as_dir" && as_dir=.
31851 for ac_exec_ext in '' $ac_executable_extensions; do
31852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31853 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31855 break 2
31856 fi
31857 done
31858 done
31859 IFS=$as_save_IFS
31860
31861 ;;
31862 esac
31863 fi
31864 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31865 if test -n "$ac_pt_PKG_CONFIG"; then
31866 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31867 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31868 else
31869 { echo "$as_me:$LINENO: result: no" >&5
31870 echo "${ECHO_T}no" >&6; }
31871 fi
31872
31873 if test "x$ac_pt_PKG_CONFIG" = x; then
31874 PKG_CONFIG=""
31875 else
31876 case $cross_compiling:$ac_tool_warned in
31877 yes:)
31878 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31879 whose name does not start with the host triplet. If you think this
31880 configuration is useful to you, please write to autoconf@gnu.org." >&5
31881 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31882 whose name does not start with the host triplet. If you think this
31883 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31884 ac_tool_warned=yes ;;
31885 esac
31886 PKG_CONFIG=$ac_pt_PKG_CONFIG
31887 fi
31888 else
31889 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31890 fi
31891
31892 fi
31893 if test -n "$PKG_CONFIG"; then
31894 _pkg_min_version=0.9.0
31895 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31896 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31897 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31898 { echo "$as_me:$LINENO: result: yes" >&5
31899 echo "${ECHO_T}yes" >&6; }
31900 else
31901 { echo "$as_me:$LINENO: result: no" >&5
31902 echo "${ECHO_T}no" >&6; }
31903 PKG_CONFIG=""
31904 fi
31905
31906 fi
31907
31908
31909 pkg_failed=no
31910 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31911 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31912
31913 if test -n "$PKG_CONFIG"; then
31914 if test -n "$PANGOX_CFLAGS"; then
31915 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31916 else
31917 if test -n "$PKG_CONFIG" && \
31918 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31919 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31920 ac_status=$?
31921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31922 (exit $ac_status); }; then
31923 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31924 else
31925 pkg_failed=yes
31926 fi
31927 fi
31928 else
31929 pkg_failed=untried
31930 fi
31931 if test -n "$PKG_CONFIG"; then
31932 if test -n "$PANGOX_LIBS"; then
31933 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31934 else
31935 if test -n "$PKG_CONFIG" && \
31936 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31937 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31938 ac_status=$?
31939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31940 (exit $ac_status); }; then
31941 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31942 else
31943 pkg_failed=yes
31944 fi
31945 fi
31946 else
31947 pkg_failed=untried
31948 fi
31949
31950
31951
31952 if test $pkg_failed = yes; then
31953
31954 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31955 _pkg_short_errors_supported=yes
31956 else
31957 _pkg_short_errors_supported=no
31958 fi
31959 if test $_pkg_short_errors_supported = yes; then
31960 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31961 else
31962 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31963 fi
31964 # Put the nasty error message in config.log where it belongs
31965 echo "$PANGOX_PKG_ERRORS" >&5
31966
31967
31968 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31969 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31970 { (exit 1); exit 1; }; }
31971
31972
31973 elif test $pkg_failed = untried; then
31974
31975 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31976 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31977 { (exit 1); exit 1; }; }
31978
31979
31980 else
31981 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31982 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31983 { echo "$as_me:$LINENO: result: yes" >&5
31984 echo "${ECHO_T}yes" >&6; }
31985
31986 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31987 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31988 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31989
31990 fi
31991
31992 pkg_failed=no
31993 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31994 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31995
31996 if test -n "$PKG_CONFIG"; then
31997 if test -n "$PANGOFT2_CFLAGS"; then
31998 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31999 else
32000 if test -n "$PKG_CONFIG" && \
32001 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32002 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32003 ac_status=$?
32004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32005 (exit $ac_status); }; then
32006 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
32007 else
32008 pkg_failed=yes
32009 fi
32010 fi
32011 else
32012 pkg_failed=untried
32013 fi
32014 if test -n "$PKG_CONFIG"; then
32015 if test -n "$PANGOFT2_LIBS"; then
32016 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
32017 else
32018 if test -n "$PKG_CONFIG" && \
32019 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32020 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32021 ac_status=$?
32022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32023 (exit $ac_status); }; then
32024 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
32025 else
32026 pkg_failed=yes
32027 fi
32028 fi
32029 else
32030 pkg_failed=untried
32031 fi
32032
32033
32034
32035 if test $pkg_failed = yes; then
32036
32037 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32038 _pkg_short_errors_supported=yes
32039 else
32040 _pkg_short_errors_supported=no
32041 fi
32042 if test $_pkg_short_errors_supported = yes; then
32043 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
32044 else
32045 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
32046 fi
32047 # Put the nasty error message in config.log where it belongs
32048 echo "$PANGOFT2_PKG_ERRORS" >&5
32049
32050
32051 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32052 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32053 wxUSE_PRINTING_ARCHITECTURE="no"
32054
32055
32056 elif test $pkg_failed = untried; then
32057
32058 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32059 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32060 wxUSE_PRINTING_ARCHITECTURE="no"
32061
32062
32063 else
32064 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
32065 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
32066 { echo "$as_me:$LINENO: result: yes" >&5
32067 echo "${ECHO_T}yes" >&6; }
32068
32069 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
32070 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
32071 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
32072
32073 fi
32074
32075 pkg_failed=no
32076 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
32077 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
32078
32079 if test -n "$PKG_CONFIG"; then
32080 if test -n "$PANGOXFT_CFLAGS"; then
32081 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
32082 else
32083 if test -n "$PKG_CONFIG" && \
32084 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32085 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32086 ac_status=$?
32087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32088 (exit $ac_status); }; then
32089 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
32090 else
32091 pkg_failed=yes
32092 fi
32093 fi
32094 else
32095 pkg_failed=untried
32096 fi
32097 if test -n "$PKG_CONFIG"; then
32098 if test -n "$PANGOXFT_LIBS"; then
32099 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
32100 else
32101 if test -n "$PKG_CONFIG" && \
32102 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32103 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32104 ac_status=$?
32105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32106 (exit $ac_status); }; then
32107 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
32108 else
32109 pkg_failed=yes
32110 fi
32111 fi
32112 else
32113 pkg_failed=untried
32114 fi
32115
32116
32117
32118 if test $pkg_failed = yes; then
32119
32120 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32121 _pkg_short_errors_supported=yes
32122 else
32123 _pkg_short_errors_supported=no
32124 fi
32125 if test $_pkg_short_errors_supported = yes; then
32126 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32127 else
32128 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32129 fi
32130 # Put the nasty error message in config.log where it belongs
32131 echo "$PANGOXFT_PKG_ERRORS" >&5
32132
32133
32134 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32135 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32136
32137
32138 elif test $pkg_failed = untried; then
32139
32140 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32141 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32142
32143
32144 else
32145 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
32146 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
32147 { echo "$as_me:$LINENO: result: yes" >&5
32148 echo "${ECHO_T}yes" >&6; }
32149
32150 cat >>confdefs.h <<\_ACEOF
32151 #define HAVE_PANGO_XFT 1
32152 _ACEOF
32153
32154 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
32155 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
32156 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32157
32158 fi
32159 save_LIBS="$LIBS"
32160 LIBS="$LIBS $PANGOX_LIBS"
32161
32162 for ac_func in pango_font_family_is_monospace
32163 do
32164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32165 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32167 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32168 echo $ECHO_N "(cached) $ECHO_C" >&6
32169 else
32170 cat >conftest.$ac_ext <<_ACEOF
32171 /* confdefs.h. */
32172 _ACEOF
32173 cat confdefs.h >>conftest.$ac_ext
32174 cat >>conftest.$ac_ext <<_ACEOF
32175 /* end confdefs.h. */
32176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32178 #define $ac_func innocuous_$ac_func
32179
32180 /* System header to define __stub macros and hopefully few prototypes,
32181 which can conflict with char $ac_func (); below.
32182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32183 <limits.h> exists even on freestanding compilers. */
32184
32185 #ifdef __STDC__
32186 # include <limits.h>
32187 #else
32188 # include <assert.h>
32189 #endif
32190
32191 #undef $ac_func
32192
32193 /* Override any GCC internal prototype to avoid an error.
32194 Use char because int might match the return type of a GCC
32195 builtin and then its argument prototype would still apply. */
32196 #ifdef __cplusplus
32197 extern "C"
32198 #endif
32199 char $ac_func ();
32200 /* The GNU C library defines this for functions which it implements
32201 to always fail with ENOSYS. Some functions are actually named
32202 something starting with __ and the normal name is an alias. */
32203 #if defined __stub_$ac_func || defined __stub___$ac_func
32204 choke me
32205 #endif
32206
32207 int
32208 main ()
32209 {
32210 return $ac_func ();
32211 ;
32212 return 0;
32213 }
32214 _ACEOF
32215 rm -f conftest.$ac_objext conftest$ac_exeext
32216 if { (ac_try="$ac_link"
32217 case "(($ac_try" in
32218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32219 *) ac_try_echo=$ac_try;;
32220 esac
32221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32222 (eval "$ac_link") 2>conftest.er1
32223 ac_status=$?
32224 grep -v '^ *+' conftest.er1 >conftest.err
32225 rm -f conftest.er1
32226 cat conftest.err >&5
32227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32228 (exit $ac_status); } && {
32229 test -z "$ac_c_werror_flag" ||
32230 test ! -s conftest.err
32231 } && test -s conftest$ac_exeext &&
32232 $as_test_x conftest$ac_exeext; then
32233 eval "$as_ac_var=yes"
32234 else
32235 echo "$as_me: failed program was:" >&5
32236 sed 's/^/| /' conftest.$ac_ext >&5
32237
32238 eval "$as_ac_var=no"
32239 fi
32240
32241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32242 conftest$ac_exeext conftest.$ac_ext
32243 fi
32244 ac_res=`eval echo '${'$as_ac_var'}'`
32245 { echo "$as_me:$LINENO: result: $ac_res" >&5
32246 echo "${ECHO_T}$ac_res" >&6; }
32247 if test `eval echo '${'$as_ac_var'}'` = yes; then
32248 cat >>confdefs.h <<_ACEOF
32249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32250 _ACEOF
32251
32252 fi
32253 done
32254
32255 LIBS="$save_LIBS"
32256 fi
32257
32258 wxUSE_UNIVERSAL="yes"
32259
32260 if test "$wxUSE_NANOX" = "yes"; then
32261 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
32262 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"
32263 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
32264 else
32265 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
32266 fi
32267
32268 TOOLKIT=X11
32269 GUIDIST=X11_DIST
32270 fi
32271
32272 if test "$wxUSE_MOTIF" = 1; then
32273 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
32274 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
32275
32276 ac_find_includes=
32277 for ac_dir in $SEARCH_INCLUDE /usr/include;
32278 do
32279 if test -f "$ac_dir/Xm/Xm.h"; then
32280 ac_find_includes=$ac_dir
32281 break
32282 fi
32283 done
32284
32285 if test "$ac_find_includes" != "" ; then
32286 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32287 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32288
32289 if test "x$ac_find_includes" = "x/usr/include"; then
32290 ac_path_to_include=""
32291 else
32292 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
32293 result=$?
32294 if test $result = 0; then
32295 ac_path_to_include=""
32296 else
32297 ac_path_to_include=" -I$ac_find_includes"
32298 fi
32299 fi
32300
32301 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
32302 else
32303 save_CFLAGS=$CFLAGS
32304 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32305
32306 cat >conftest.$ac_ext <<_ACEOF
32307 /* confdefs.h. */
32308 _ACEOF
32309 cat confdefs.h >>conftest.$ac_ext
32310 cat >>conftest.$ac_ext <<_ACEOF
32311 /* end confdefs.h. */
32312
32313 #include <Xm/Xm.h>
32314
32315 int
32316 main ()
32317 {
32318
32319 int version;
32320 version = xmUseVersion;
32321
32322 ;
32323 return 0;
32324 }
32325 _ACEOF
32326 rm -f conftest.$ac_objext
32327 if { (ac_try="$ac_compile"
32328 case "(($ac_try" in
32329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32330 *) ac_try_echo=$ac_try;;
32331 esac
32332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32333 (eval "$ac_compile") 2>conftest.er1
32334 ac_status=$?
32335 grep -v '^ *+' conftest.er1 >conftest.err
32336 rm -f conftest.er1
32337 cat conftest.err >&5
32338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32339 (exit $ac_status); } && {
32340 test -z "$ac_c_werror_flag" ||
32341 test ! -s conftest.err
32342 } && test -s conftest.$ac_objext; then
32343
32344 { echo "$as_me:$LINENO: result: found in default search path" >&5
32345 echo "${ECHO_T}found in default search path" >&6; }
32346 COMPILED_X_PROGRAM=1
32347
32348 else
32349 echo "$as_me: failed program was:" >&5
32350 sed 's/^/| /' conftest.$ac_ext >&5
32351
32352
32353 { echo "$as_me:$LINENO: result: no" >&5
32354 echo "${ECHO_T}no" >&6; }
32355 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
32356 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
32357 { (exit 1); exit 1; }; }
32358
32359
32360 fi
32361
32362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32363
32364 CFLAGS=$save_CFLAGS
32365 fi
32366
32367
32368 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32369 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
32370
32371 ac_find_libraries=
32372 for ac_dir in $SEARCH_LIB;
32373 do
32374 for ac_extension in a so sl dylib dll.a; do
32375 if test -f "$ac_dir/libXm.$ac_extension"; then
32376 ac_find_libraries=$ac_dir
32377 break 2
32378 fi
32379 done
32380 done
32381
32382
32383 if test "x$ac_find_libraries" != "x" ; then
32384 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32385 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32386
32387
32388 if test "$ac_find_libraries" = "default location"; then
32389 ac_path_to_link=""
32390 else
32391 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32392 result=$?
32393 if test $result = 0; then
32394 ac_path_to_link=""
32395 else
32396 ac_path_to_link=" -L$ac_find_libraries"
32397 fi
32398 fi
32399
32400 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32401 else
32402 save_CFLAGS=$CFLAGS
32403 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32404 save_LIBS="$LIBS"
32405 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32406
32407 cat >conftest.$ac_ext <<_ACEOF
32408 /* confdefs.h. */
32409 _ACEOF
32410 cat confdefs.h >>conftest.$ac_ext
32411 cat >>conftest.$ac_ext <<_ACEOF
32412 /* end confdefs.h. */
32413
32414 #include <Xm/Xm.h>
32415
32416 int
32417 main ()
32418 {
32419
32420 int version;
32421 version = xmUseVersion;
32422
32423 ;
32424 return 0;
32425 }
32426 _ACEOF
32427 rm -f conftest.$ac_objext conftest$ac_exeext
32428 if { (ac_try="$ac_link"
32429 case "(($ac_try" in
32430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32431 *) ac_try_echo=$ac_try;;
32432 esac
32433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32434 (eval "$ac_link") 2>conftest.er1
32435 ac_status=$?
32436 grep -v '^ *+' conftest.er1 >conftest.err
32437 rm -f conftest.er1
32438 cat conftest.err >&5
32439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32440 (exit $ac_status); } && {
32441 test -z "$ac_c_werror_flag" ||
32442 test ! -s conftest.err
32443 } && test -s conftest$ac_exeext &&
32444 $as_test_x conftest$ac_exeext; then
32445
32446 { echo "$as_me:$LINENO: result: found in default search path" >&5
32447 echo "${ECHO_T}found in default search path" >&6; }
32448 COMPILED_X_PROGRAM=1
32449
32450 else
32451 echo "$as_me: failed program was:" >&5
32452 sed 's/^/| /' conftest.$ac_ext >&5
32453
32454
32455 { echo "$as_me:$LINENO: result: no" >&5
32456 echo "${ECHO_T}no" >&6; }
32457 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32458 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32459 { (exit 1); exit 1; }; }
32460
32461
32462 fi
32463
32464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32465 conftest$ac_exeext conftest.$ac_ext
32466
32467 CFLAGS=$save_CFLAGS
32468 LIBS="$save_LIBS"
32469 fi
32470
32471 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32472 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32473 libp_link=""
32474 libsm_ice_link=""
32475 libs_found=0
32476 for libp in "" " -lXp"; do
32477 if test "$libs_found" = 0; then
32478 for libsm_ice in "" " -lSM -lICE"; do
32479 if test "$libs_found" = 0; then
32480 save_LIBS="$LIBS"
32481 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32482 save_CFLAGS=$CFLAGS
32483 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32484
32485 cat >conftest.$ac_ext <<_ACEOF
32486 /* confdefs.h. */
32487 _ACEOF
32488 cat confdefs.h >>conftest.$ac_ext
32489 cat >>conftest.$ac_ext <<_ACEOF
32490 /* end confdefs.h. */
32491
32492 #include <Xm/Xm.h>
32493 #include <Xm/List.h>
32494
32495 int
32496 main ()
32497 {
32498
32499 XmString string = NULL;
32500 Widget w = NULL;
32501 int position = 0;
32502 XmListAddItem(w, string, position);
32503
32504 ;
32505 return 0;
32506 }
32507 _ACEOF
32508 rm -f conftest.$ac_objext conftest$ac_exeext
32509 if { (ac_try="$ac_link"
32510 case "(($ac_try" in
32511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32512 *) ac_try_echo=$ac_try;;
32513 esac
32514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32515 (eval "$ac_link") 2>conftest.er1
32516 ac_status=$?
32517 grep -v '^ *+' conftest.er1 >conftest.err
32518 rm -f conftest.er1
32519 cat conftest.err >&5
32520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32521 (exit $ac_status); } && {
32522 test -z "$ac_c_werror_flag" ||
32523 test ! -s conftest.err
32524 } && test -s conftest$ac_exeext &&
32525 $as_test_x conftest$ac_exeext; then
32526
32527 libp_link="$libp"
32528 libsm_ice_link="$libsm_ice"
32529 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32530 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32531 libs_found=1
32532
32533 else
32534 echo "$as_me: failed program was:" >&5
32535 sed 's/^/| /' conftest.$ac_ext >&5
32536
32537
32538
32539 fi
32540
32541 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32542 conftest$ac_exeext conftest.$ac_ext
32543
32544 LIBS="$save_LIBS"
32545 CFLAGS=$save_CFLAGS
32546 fi
32547 done
32548 fi
32549 done
32550
32551 if test "$libs_found" = 0; then
32552 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32553 echo "${ECHO_T}can't find the right libraries" >&6; }
32554 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32555 echo "$as_me: error: can't link a simple motif program" >&2;}
32556 { (exit 1); exit 1; }; }
32557 fi
32558
32559 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32560 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32561 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32562 echo $ECHO_N "(cached) $ECHO_C" >&6
32563 else
32564 ac_check_lib_save_LIBS=$LIBS
32565 LIBS="-lSgm $LIBS"
32566 cat >conftest.$ac_ext <<_ACEOF
32567 /* confdefs.h. */
32568 _ACEOF
32569 cat confdefs.h >>conftest.$ac_ext
32570 cat >>conftest.$ac_ext <<_ACEOF
32571 /* end confdefs.h. */
32572
32573 /* Override any GCC internal prototype to avoid an error.
32574 Use char because int might match the return type of a GCC
32575 builtin and then its argument prototype would still apply. */
32576 #ifdef __cplusplus
32577 extern "C"
32578 #endif
32579 char SgCreateList ();
32580 int
32581 main ()
32582 {
32583 return SgCreateList ();
32584 ;
32585 return 0;
32586 }
32587 _ACEOF
32588 rm -f conftest.$ac_objext conftest$ac_exeext
32589 if { (ac_try="$ac_link"
32590 case "(($ac_try" in
32591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32592 *) ac_try_echo=$ac_try;;
32593 esac
32594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32595 (eval "$ac_link") 2>conftest.er1
32596 ac_status=$?
32597 grep -v '^ *+' conftest.er1 >conftest.err
32598 rm -f conftest.er1
32599 cat conftest.err >&5
32600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32601 (exit $ac_status); } && {
32602 test -z "$ac_c_werror_flag" ||
32603 test ! -s conftest.err
32604 } && test -s conftest$ac_exeext &&
32605 $as_test_x conftest$ac_exeext; then
32606 ac_cv_lib_Sgm_SgCreateList=yes
32607 else
32608 echo "$as_me: failed program was:" >&5
32609 sed 's/^/| /' conftest.$ac_ext >&5
32610
32611 ac_cv_lib_Sgm_SgCreateList=no
32612 fi
32613
32614 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32615 conftest$ac_exeext conftest.$ac_ext
32616 LIBS=$ac_check_lib_save_LIBS
32617 fi
32618 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32619 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32620 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32621 libsgm_link=" -lSgm"
32622 fi
32623
32624
32625 save_CFLAGS=$CFLAGS
32626 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32627
32628 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32629 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32630 if test "${wx_cv_lib_motif2+set}" = set; then
32631 echo $ECHO_N "(cached) $ECHO_C" >&6
32632 else
32633 cat >conftest.$ac_ext <<_ACEOF
32634 /* confdefs.h. */
32635 _ACEOF
32636 cat confdefs.h >>conftest.$ac_ext
32637 cat >>conftest.$ac_ext <<_ACEOF
32638 /* end confdefs.h. */
32639
32640 #include <Xm/Xm.h>
32641
32642 int
32643 main ()
32644 {
32645
32646 #if XmVersion < 2000
32647 Not Motif 2
32648 #endif
32649
32650 ;
32651 return 0;
32652 }
32653 _ACEOF
32654 rm -f conftest.$ac_objext
32655 if { (ac_try="$ac_compile"
32656 case "(($ac_try" in
32657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32658 *) ac_try_echo=$ac_try;;
32659 esac
32660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32661 (eval "$ac_compile") 2>conftest.er1
32662 ac_status=$?
32663 grep -v '^ *+' conftest.er1 >conftest.err
32664 rm -f conftest.er1
32665 cat conftest.err >&5
32666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32667 (exit $ac_status); } && {
32668 test -z "$ac_c_werror_flag" ||
32669 test ! -s conftest.err
32670 } && test -s conftest.$ac_objext; then
32671 wx_cv_lib_motif2="yes"
32672 else
32673 echo "$as_me: failed program was:" >&5
32674 sed 's/^/| /' conftest.$ac_ext >&5
32675
32676 wx_cv_lib_motif2="no"
32677 fi
32678
32679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32680 fi
32681 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32682 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32683 if test "$wx_cv_lib_motif2" = "yes"; then
32684 cat >>confdefs.h <<\_ACEOF
32685 #define __WXMOTIF20__ 1
32686 _ACEOF
32687
32688 else
32689 cat >>confdefs.h <<\_ACEOF
32690 #define __WXMOTIF20__ 0
32691 _ACEOF
32692
32693 fi
32694
32695 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32696 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32697 if test "${wx_cv_lib_lesstif+set}" = set; then
32698 echo $ECHO_N "(cached) $ECHO_C" >&6
32699 else
32700 cat >conftest.$ac_ext <<_ACEOF
32701 /* confdefs.h. */
32702 _ACEOF
32703 cat confdefs.h >>conftest.$ac_ext
32704 cat >>conftest.$ac_ext <<_ACEOF
32705 /* end confdefs.h. */
32706
32707 #include <Xm/Xm.h>
32708
32709 int
32710 main ()
32711 {
32712
32713 #if !defined(LesstifVersion) || LesstifVersion <= 0
32714 Not Lesstif
32715 #endif
32716
32717 ;
32718 return 0;
32719 }
32720 _ACEOF
32721 rm -f conftest.$ac_objext
32722 if { (ac_try="$ac_compile"
32723 case "(($ac_try" in
32724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32725 *) ac_try_echo=$ac_try;;
32726 esac
32727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32728 (eval "$ac_compile") 2>conftest.er1
32729 ac_status=$?
32730 grep -v '^ *+' conftest.er1 >conftest.err
32731 rm -f conftest.er1
32732 cat conftest.err >&5
32733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32734 (exit $ac_status); } && {
32735 test -z "$ac_c_werror_flag" ||
32736 test ! -s conftest.err
32737 } && test -s conftest.$ac_objext; then
32738 wx_cv_lib_lesstif="yes"
32739 else
32740 echo "$as_me: failed program was:" >&5
32741 sed 's/^/| /' conftest.$ac_ext >&5
32742
32743 wx_cv_lib_lesstif="no"
32744 fi
32745
32746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32747
32748 fi
32749 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32750 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32751 if test "$wx_cv_lib_lesstif" = "yes"; then
32752 cat >>confdefs.h <<\_ACEOF
32753 #define __WXLESSTIF__ 1
32754 _ACEOF
32755
32756 else
32757 cat >>confdefs.h <<\_ACEOF
32758 #define __WXLESSTIF__ 0
32759 _ACEOF
32760
32761 fi
32762
32763 CFLAGS=$save_CFLAGS
32764
32765 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32766 TOOLKIT=MOTIF
32767 GUIDIST=MOTIF_DIST
32768 fi
32769
32770 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32771 if test "$wxUSE_LIBXPM" = "sys"; then
32772 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32773 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32774
32775 ac_find_libraries=
32776 for ac_dir in $SEARCH_LIB;
32777 do
32778 for ac_extension in a so sl dylib dll.a; do
32779 if test -f "$ac_dir/libXpm.$ac_extension"; then
32780 ac_find_libraries=$ac_dir
32781 break 2
32782 fi
32783 done
32784 done
32785
32786 if test "$ac_find_libraries" != "" ; then
32787
32788 if test "$ac_find_libraries" = "default location"; then
32789 ac_path_to_link=""
32790 else
32791 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32792 result=$?
32793 if test $result = 0; then
32794 ac_path_to_link=""
32795 else
32796 ac_path_to_link=" -L$ac_find_libraries"
32797 fi
32798 fi
32799
32800 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32801 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32802 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32803
32804 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32805 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32806 if test "${wx_cv_x11_xpm_h+set}" = set; then
32807 echo $ECHO_N "(cached) $ECHO_C" >&6
32808 else
32809
32810 save_CFLAGS=$CFLAGS
32811 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32812
32813 cat >conftest.$ac_ext <<_ACEOF
32814 /* confdefs.h. */
32815 _ACEOF
32816 cat confdefs.h >>conftest.$ac_ext
32817 cat >>conftest.$ac_ext <<_ACEOF
32818 /* end confdefs.h. */
32819
32820 #include <X11/xpm.h>
32821
32822 int
32823 main ()
32824 {
32825
32826 int version;
32827 version = XpmLibraryVersion();
32828
32829 ;
32830 return 0;
32831 }
32832 _ACEOF
32833 rm -f conftest.$ac_objext
32834 if { (ac_try="$ac_compile"
32835 case "(($ac_try" in
32836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32837 *) ac_try_echo=$ac_try;;
32838 esac
32839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32840 (eval "$ac_compile") 2>conftest.er1
32841 ac_status=$?
32842 grep -v '^ *+' conftest.er1 >conftest.err
32843 rm -f conftest.er1
32844 cat conftest.err >&5
32845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32846 (exit $ac_status); } && {
32847 test -z "$ac_c_werror_flag" ||
32848 test ! -s conftest.err
32849 } && test -s conftest.$ac_objext; then
32850 wx_cv_x11_xpm_h=yes
32851 else
32852 echo "$as_me: failed program was:" >&5
32853 sed 's/^/| /' conftest.$ac_ext >&5
32854
32855 wx_cv_x11_xpm_h=no
32856
32857 fi
32858
32859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32860
32861 CFLAGS=$save_CFLAGS
32862
32863
32864 fi
32865 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32866 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32867
32868 if test $wx_cv_x11_xpm_h = "yes"; then
32869 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32870 cat >>confdefs.h <<\_ACEOF
32871 #define wxHAVE_LIB_XPM 1
32872 _ACEOF
32873
32874 else
32875 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32876 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32877 fi
32878 fi
32879
32880 fi
32881
32882 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32883 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32884 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32885 echo $ECHO_N "(cached) $ECHO_C" >&6
32886 else
32887 ac_check_lib_save_LIBS=$LIBS
32888 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32889 cat >conftest.$ac_ext <<_ACEOF
32890 /* confdefs.h. */
32891 _ACEOF
32892 cat confdefs.h >>conftest.$ac_ext
32893 cat >>conftest.$ac_ext <<_ACEOF
32894 /* end confdefs.h. */
32895
32896 /* Override any GCC internal prototype to avoid an error.
32897 Use char because int might match the return type of a GCC
32898 builtin and then its argument prototype would still apply. */
32899 #ifdef __cplusplus
32900 extern "C"
32901 #endif
32902 char XShapeQueryExtension ();
32903 int
32904 main ()
32905 {
32906 return XShapeQueryExtension ();
32907 ;
32908 return 0;
32909 }
32910 _ACEOF
32911 rm -f conftest.$ac_objext conftest$ac_exeext
32912 if { (ac_try="$ac_link"
32913 case "(($ac_try" in
32914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32915 *) ac_try_echo=$ac_try;;
32916 esac
32917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32918 (eval "$ac_link") 2>conftest.er1
32919 ac_status=$?
32920 grep -v '^ *+' conftest.er1 >conftest.err
32921 rm -f conftest.er1
32922 cat conftest.err >&5
32923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32924 (exit $ac_status); } && {
32925 test -z "$ac_c_werror_flag" ||
32926 test ! -s conftest.err
32927 } && test -s conftest$ac_exeext &&
32928 $as_test_x conftest$ac_exeext; then
32929 ac_cv_lib_Xext_XShapeQueryExtension=yes
32930 else
32931 echo "$as_me: failed program was:" >&5
32932 sed 's/^/| /' conftest.$ac_ext >&5
32933
32934 ac_cv_lib_Xext_XShapeQueryExtension=no
32935 fi
32936
32937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32938 conftest$ac_exeext conftest.$ac_ext
32939 LIBS=$ac_check_lib_save_LIBS
32940 fi
32941 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32942 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32943 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32944
32945 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32946 wxHAVE_XEXT_LIB=1
32947
32948 fi
32949
32950
32951 if test "$wxHAVE_XEXT_LIB" = 1; then
32952 save_CFLAGS="$CFLAGS"
32953 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32954
32955 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32956 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32957 cat >conftest.$ac_ext <<_ACEOF
32958 /* confdefs.h. */
32959 _ACEOF
32960 cat confdefs.h >>conftest.$ac_ext
32961 cat >>conftest.$ac_ext <<_ACEOF
32962 /* end confdefs.h. */
32963
32964 #include <X11/Xlib.h>
32965 #include <X11/extensions/shape.h>
32966
32967 int
32968 main ()
32969 {
32970
32971 int dummy1, dummy2;
32972 XShapeQueryExtension((Display*)NULL,
32973 (int*)NULL, (int*)NULL);
32974
32975 ;
32976 return 0;
32977 }
32978 _ACEOF
32979 rm -f conftest.$ac_objext
32980 if { (ac_try="$ac_compile"
32981 case "(($ac_try" in
32982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32983 *) ac_try_echo=$ac_try;;
32984 esac
32985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32986 (eval "$ac_compile") 2>conftest.er1
32987 ac_status=$?
32988 grep -v '^ *+' conftest.er1 >conftest.err
32989 rm -f conftest.er1
32990 cat conftest.err >&5
32991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32992 (exit $ac_status); } && {
32993 test -z "$ac_c_werror_flag" ||
32994 test ! -s conftest.err
32995 } && test -s conftest.$ac_objext; then
32996
32997 cat >>confdefs.h <<\_ACEOF
32998 #define HAVE_XSHAPE 1
32999 _ACEOF
33000
33001 { echo "$as_me:$LINENO: result: found" >&5
33002 echo "${ECHO_T}found" >&6; }
33003
33004 else
33005 echo "$as_me: failed program was:" >&5
33006 sed 's/^/| /' conftest.$ac_ext >&5
33007
33008
33009 { echo "$as_me:$LINENO: result: not found" >&5
33010 echo "${ECHO_T}not found" >&6; }
33011
33012 fi
33013
33014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33015 CFLAGS="$save_CFLAGS"
33016
33017 fi
33018 fi
33019
33020 if test "$wxUSE_OSX_CARBON" = 1; then
33021 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
33022 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
33023 if test "$GCC" = yes; then
33024 { echo "$as_me:$LINENO: result: gcc" >&5
33025 echo "${ECHO_T}gcc" >&6; }
33026 CPPFLAGS_PASCAL="-fpascal-strings"
33027 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
33028 { echo "$as_me:$LINENO: result: xlc" >&5
33029 echo "${ECHO_T}xlc" >&6; }
33030 CPPFLAGS_PASCAL="-qmacpstr"
33031 else
33032 { echo "$as_me:$LINENO: result: none" >&5
33033 echo "${ECHO_T}none" >&6; }
33034 fi
33035
33036 if test "x$wxUSE_UNIX" = "xyes"; then
33037 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
33038 else
33039 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
33040 fi
33041
33042 TOOLKIT=OSX_CARBON
33043 GUIDIST=OSX_CARBON_DIST
33044 WXBASEPORT="_carbon"
33045
33046 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33047 fi
33048
33049 if test "$wxUSE_OSX_COCOA" = 1; then
33050 TOOLKIT=OSX_COCOA
33051 GUIDIST=OSX_COCOA_DIST
33052
33053 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33054 fi
33055
33056 if test "$wxUSE_OSX_IPHONE" = 1; then
33057 TOOLKIT=OSX_IPHONE
33058 fi
33059
33060 if test "$wxUSE_OLD_COCOA" = 1; then
33061 TOOLKIT=COCOA
33062 GUIDIST=COCOA_DIST
33063 fi
33064
33065 if test "$wxUSE_PM" = 1; then
33066 TOOLKIT=PM
33067 GUIDIST=PM_DIST
33068 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
33069 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
33070 if test "${wx_cv_spbcdata+set}" = set; then
33071 echo $ECHO_N "(cached) $ECHO_C" >&6
33072 else
33073
33074 cat >conftest.$ac_ext <<_ACEOF
33075 /* confdefs.h. */
33076 _ACEOF
33077 cat confdefs.h >>conftest.$ac_ext
33078 cat >>conftest.$ac_ext <<_ACEOF
33079 /* end confdefs.h. */
33080
33081 #define INCL_PM
33082 #include <os2.h>
33083
33084 int
33085 main ()
33086 {
33087
33088 SPBCDATA test;
33089
33090 ;
33091 return 0;
33092 }
33093 _ACEOF
33094 rm -f conftest.$ac_objext
33095 if { (ac_try="$ac_compile"
33096 case "(($ac_try" in
33097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33098 *) ac_try_echo=$ac_try;;
33099 esac
33100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33101 (eval "$ac_compile") 2>conftest.er1
33102 ac_status=$?
33103 grep -v '^ *+' conftest.er1 >conftest.err
33104 rm -f conftest.er1
33105 cat conftest.err >&5
33106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33107 (exit $ac_status); } && {
33108 test -z "$ac_c_werror_flag" ||
33109 test ! -s conftest.err
33110 } && test -s conftest.$ac_objext; then
33111 wx_cv_spbcdata=yes
33112 else
33113 echo "$as_me: failed program was:" >&5
33114 sed 's/^/| /' conftest.$ac_ext >&5
33115
33116 wx_cv_spbcdata=no
33117
33118 fi
33119
33120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33121
33122
33123 fi
33124 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33125 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
33126
33127 if test $wx_cv_spbcdata = "yes"; then
33128 cat >>confdefs.h <<\_ACEOF
33129 #define HAVE_SPBCDATA 1
33130 _ACEOF
33131
33132 fi
33133 fi
33134
33135 if test "$TOOLKIT" = "PM" ; then
33136 TOOLKIT_DIR="os2"
33137 else
33138 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
33139 fi
33140
33141 if test "$wxUSE_UNIVERSAL" = "yes"; then
33142 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33143 WIDGET_SET=univ
33144 fi
33145
33146 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33147 DISTDIR="wx\$(TOOLKIT)"
33148 else
33149 USE_GUI=0
33150
33151 TOOLKIT_DIR="base"
33152
33153 if test "$USE_WIN32" = 1 ; then
33154 TOOLKIT="MSW"
33155 fi
33156
33157 GUIDIST="BASE_DIST"
33158 DISTDIR="wxBase"
33159 fi
33160
33161
33162
33163 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
33164 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
33165 wxUSE_UNICODE_UTF8=yes
33166 elif test "$USE_OS2" = 1 ; then
33167 wxUSE_UNICODE_UTF8=yes
33168 else
33169 wxUSE_UNICODE_UTF8=no
33170 fi
33171 fi
33172
33173
33174 if test "$wxUSE_GUI" = "yes"; then
33175 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33176
33177 for ac_header in X11/Xlib.h
33178 do
33179 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33180 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33181 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33182 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33183 echo $ECHO_N "(cached) $ECHO_C" >&6
33184 else
33185 cat >conftest.$ac_ext <<_ACEOF
33186 /* confdefs.h. */
33187 _ACEOF
33188 cat confdefs.h >>conftest.$ac_ext
33189 cat >>conftest.$ac_ext <<_ACEOF
33190 /* end confdefs.h. */
33191
33192
33193 #include <$ac_header>
33194 _ACEOF
33195 rm -f conftest.$ac_objext
33196 if { (ac_try="$ac_compile"
33197 case "(($ac_try" in
33198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33199 *) ac_try_echo=$ac_try;;
33200 esac
33201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33202 (eval "$ac_compile") 2>conftest.er1
33203 ac_status=$?
33204 grep -v '^ *+' conftest.er1 >conftest.err
33205 rm -f conftest.er1
33206 cat conftest.err >&5
33207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33208 (exit $ac_status); } && {
33209 test -z "$ac_c_werror_flag" ||
33210 test ! -s conftest.err
33211 } && test -s conftest.$ac_objext; then
33212 eval "$as_ac_Header=yes"
33213 else
33214 echo "$as_me: failed program was:" >&5
33215 sed 's/^/| /' conftest.$ac_ext >&5
33216
33217 eval "$as_ac_Header=no"
33218 fi
33219
33220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33221 fi
33222 ac_res=`eval echo '${'$as_ac_Header'}'`
33223 { echo "$as_me:$LINENO: result: $ac_res" >&5
33224 echo "${ECHO_T}$ac_res" >&6; }
33225 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33226 cat >>confdefs.h <<_ACEOF
33227 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33228 _ACEOF
33229
33230 fi
33231
33232 done
33233
33234
33235 for ac_header in X11/XKBlib.h
33236 do
33237 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33238 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33240 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33241 echo $ECHO_N "(cached) $ECHO_C" >&6
33242 else
33243 cat >conftest.$ac_ext <<_ACEOF
33244 /* confdefs.h. */
33245 _ACEOF
33246 cat confdefs.h >>conftest.$ac_ext
33247 cat >>conftest.$ac_ext <<_ACEOF
33248 /* end confdefs.h. */
33249
33250 #if HAVE_X11_XLIB_H
33251 #include <X11/Xlib.h>
33252 #endif
33253
33254
33255 #include <$ac_header>
33256 _ACEOF
33257 rm -f conftest.$ac_objext
33258 if { (ac_try="$ac_compile"
33259 case "(($ac_try" in
33260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33261 *) ac_try_echo=$ac_try;;
33262 esac
33263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33264 (eval "$ac_compile") 2>conftest.er1
33265 ac_status=$?
33266 grep -v '^ *+' conftest.er1 >conftest.err
33267 rm -f conftest.er1
33268 cat conftest.err >&5
33269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33270 (exit $ac_status); } && {
33271 test -z "$ac_c_werror_flag" ||
33272 test ! -s conftest.err
33273 } && test -s conftest.$ac_objext; then
33274 eval "$as_ac_Header=yes"
33275 else
33276 echo "$as_me: failed program was:" >&5
33277 sed 's/^/| /' conftest.$ac_ext >&5
33278
33279 eval "$as_ac_Header=no"
33280 fi
33281
33282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33283 fi
33284 ac_res=`eval echo '${'$as_ac_Header'}'`
33285 { echo "$as_me:$LINENO: result: $ac_res" >&5
33286 echo "${ECHO_T}$ac_res" >&6; }
33287 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33288 cat >>confdefs.h <<_ACEOF
33289 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33290 _ACEOF
33291
33292 fi
33293
33294 done
33295
33296 fi
33297 fi
33298
33299
33300
33301 if test "$wxUSE_DISPLAY" = "yes"; then
33302 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
33303 { echo "$as_me:$LINENO: checking for Xinerama" >&5
33304 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
33305
33306 ac_find_libraries=
33307 for ac_dir in $SEARCH_LIB;
33308 do
33309 for ac_extension in a so sl dylib dll.a; do
33310 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33311 ac_find_libraries=$ac_dir
33312 break 2
33313 fi
33314 done
33315 done
33316
33317 if test "$ac_find_libraries" != "" ; then
33318
33319 if test "$ac_find_libraries" = "default location"; then
33320 ac_path_to_link=""
33321 else
33322 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33323 result=$?
33324 if test $result = 0; then
33325 ac_path_to_link=""
33326 else
33327 ac_path_to_link=" -L$ac_find_libraries"
33328 fi
33329 fi
33330
33331 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33332 LDFLAGS="$LDFLAGS $ac_path_to_link"
33333 fi
33334 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
33335 { echo "$as_me:$LINENO: result: yes" >&5
33336 echo "${ECHO_T}yes" >&6; }
33337
33338 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33339 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
33340
33341 ac_find_libraries=
33342 for ac_dir in $SEARCH_LIB;
33343 do
33344 for ac_extension in a so sl dylib dll.a; do
33345 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33346 ac_find_libraries=$ac_dir
33347 break 2
33348 fi
33349 done
33350 done
33351
33352 if test "$ac_find_libraries" != "" ; then
33353 { echo "$as_me:$LINENO: result: yes" >&5
33354 echo "${ECHO_T}yes" >&6; }
33355
33356 for ac_header in X11/extensions/xf86vmode.h
33357 do
33358 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33359 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33360 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33361 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33362 echo $ECHO_N "(cached) $ECHO_C" >&6
33363 else
33364 cat >conftest.$ac_ext <<_ACEOF
33365 /* confdefs.h. */
33366 _ACEOF
33367 cat confdefs.h >>conftest.$ac_ext
33368 cat >>conftest.$ac_ext <<_ACEOF
33369 /* end confdefs.h. */
33370
33371 #if HAVE_X11_XLIB_H
33372 #include <X11/Xlib.h>
33373 #endif
33374
33375
33376 #include <$ac_header>
33377 _ACEOF
33378 rm -f conftest.$ac_objext
33379 if { (ac_try="$ac_compile"
33380 case "(($ac_try" in
33381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33382 *) ac_try_echo=$ac_try;;
33383 esac
33384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33385 (eval "$ac_compile") 2>conftest.er1
33386 ac_status=$?
33387 grep -v '^ *+' conftest.er1 >conftest.err
33388 rm -f conftest.er1
33389 cat conftest.err >&5
33390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33391 (exit $ac_status); } && {
33392 test -z "$ac_c_werror_flag" ||
33393 test ! -s conftest.err
33394 } && test -s conftest.$ac_objext; then
33395 eval "$as_ac_Header=yes"
33396 else
33397 echo "$as_me: failed program was:" >&5
33398 sed 's/^/| /' conftest.$ac_ext >&5
33399
33400 eval "$as_ac_Header=no"
33401 fi
33402
33403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33404 fi
33405 ac_res=`eval echo '${'$as_ac_Header'}'`
33406 { echo "$as_me:$LINENO: result: $ac_res" >&5
33407 echo "${ECHO_T}$ac_res" >&6; }
33408 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33409 cat >>confdefs.h <<_ACEOF
33410 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33411 _ACEOF
33412
33413 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
33414
33415 fi
33416
33417 done
33418
33419 else
33420 { echo "$as_me:$LINENO: result: no" >&5
33421 echo "${ECHO_T}no" >&6; }
33422 fi
33423
33424 else
33425 { echo "$as_me:$LINENO: result: no" >&5
33426 echo "${ECHO_T}no" >&6; }
33427 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33428 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33429 wxUSE_DISPLAY="no"
33430 fi
33431 elif test "$wxUSE_MSW" = 1; then
33432 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33433 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33434 if test "${ac_cv_header_ddraw_h+set}" = set; then
33435 echo $ECHO_N "(cached) $ECHO_C" >&6
33436 else
33437 cat >conftest.$ac_ext <<_ACEOF
33438 /* confdefs.h. */
33439 _ACEOF
33440 cat confdefs.h >>conftest.$ac_ext
33441 cat >>conftest.$ac_ext <<_ACEOF
33442 /* end confdefs.h. */
33443 #include <windows.h>
33444
33445 #include <ddraw.h>
33446 _ACEOF
33447 rm -f conftest.$ac_objext
33448 if { (ac_try="$ac_compile"
33449 case "(($ac_try" in
33450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33451 *) ac_try_echo=$ac_try;;
33452 esac
33453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33454 (eval "$ac_compile") 2>conftest.er1
33455 ac_status=$?
33456 grep -v '^ *+' conftest.er1 >conftest.err
33457 rm -f conftest.er1
33458 cat conftest.err >&5
33459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33460 (exit $ac_status); } && {
33461 test -z "$ac_c_werror_flag" ||
33462 test ! -s conftest.err
33463 } && test -s conftest.$ac_objext; then
33464 ac_cv_header_ddraw_h=yes
33465 else
33466 echo "$as_me: failed program was:" >&5
33467 sed 's/^/| /' conftest.$ac_ext >&5
33468
33469 ac_cv_header_ddraw_h=no
33470 fi
33471
33472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33473 fi
33474 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33475 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33476
33477
33478 fi
33479 fi
33480
33481 if test "$wxUSE_DETECT_SM" = "yes"; then
33482 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
33483 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33484 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33485
33486 ac_find_libraries=
33487 for ac_dir in $SEARCH_LIB;
33488 do
33489 for ac_extension in a so sl dylib dll.a; do
33490 if test -f "$ac_dir/libSM.$ac_extension"; then
33491 ac_find_libraries=$ac_dir
33492 break 2
33493 fi
33494 done
33495 done
33496
33497 if test "$ac_find_libraries" != "" ; then
33498
33499 if test "$ac_find_libraries" = "default location"; then
33500 ac_path_to_link=""
33501 else
33502 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33503 result=$?
33504 if test $result = 0; then
33505 ac_path_to_link=""
33506 else
33507 ac_path_to_link=" -L$ac_find_libraries"
33508 fi
33509 fi
33510
33511 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33512 LDFLAGS="$LDFLAGS $ac_path_to_link"
33513 fi
33514 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33515 { echo "$as_me:$LINENO: result: yes" >&5
33516 echo "${ECHO_T}yes" >&6; }
33517 else
33518 { echo "$as_me:$LINENO: result: no" >&5
33519 echo "${ECHO_T}no" >&6; }
33520 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33521 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33522 wxUSE_DETECT_SM="no"
33523 fi
33524 else
33525 wxUSE_DETECT_SM="no"
33526 fi
33527 fi
33528
33529
33530
33531 USE_OPENGL=0
33532 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33533
33534
33535 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
33536 OPENGL_LIBS="-framework OpenGL -framework AGL"
33537 elif test "$wxUSE_MSW" = 1; then
33538 OPENGL_LIBS="-lopengl32 -lglu32"
33539 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33540
33541 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33542 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33543
33544 ac_find_includes=
33545 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33546 do
33547 if test -f "$ac_dir/GL/gl.h"; then
33548 ac_find_includes=$ac_dir
33549 break
33550 fi
33551 done
33552
33553 if test "$ac_find_includes" != "" ; then
33554 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33555 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33556
33557 if test "x$ac_find_includes" = "x/usr/include"; then
33558 ac_path_to_include=""
33559 else
33560 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33561 result=$?
33562 if test $result = 0; then
33563 ac_path_to_include=""
33564 else
33565 ac_path_to_include=" -I$ac_find_includes"
33566 fi
33567 fi
33568
33569 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33570 else
33571 { echo "$as_me:$LINENO: result: not found" >&5
33572 echo "${ECHO_T}not found" >&6; }
33573 fi
33574
33575 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33576 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33577 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33578 echo $ECHO_N "(cached) $ECHO_C" >&6
33579 else
33580 cat >conftest.$ac_ext <<_ACEOF
33581 /* confdefs.h. */
33582 _ACEOF
33583 cat confdefs.h >>conftest.$ac_ext
33584 cat >>conftest.$ac_ext <<_ACEOF
33585 /* end confdefs.h. */
33586
33587
33588 #include <GL/gl.h>
33589 _ACEOF
33590 rm -f conftest.$ac_objext
33591 if { (ac_try="$ac_compile"
33592 case "(($ac_try" in
33593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33594 *) ac_try_echo=$ac_try;;
33595 esac
33596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33597 (eval "$ac_compile") 2>conftest.er1
33598 ac_status=$?
33599 grep -v '^ *+' conftest.er1 >conftest.err
33600 rm -f conftest.er1
33601 cat conftest.err >&5
33602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33603 (exit $ac_status); } && {
33604 test -z "$ac_c_werror_flag" ||
33605 test ! -s conftest.err
33606 } && test -s conftest.$ac_objext; then
33607 ac_cv_header_GL_gl_h=yes
33608 else
33609 echo "$as_me: failed program was:" >&5
33610 sed 's/^/| /' conftest.$ac_ext >&5
33611
33612 ac_cv_header_GL_gl_h=no
33613 fi
33614
33615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33616 fi
33617 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33618 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33619 if test $ac_cv_header_GL_gl_h = yes; then
33620
33621 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33622 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33623 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33624 echo $ECHO_N "(cached) $ECHO_C" >&6
33625 else
33626 cat >conftest.$ac_ext <<_ACEOF
33627 /* confdefs.h. */
33628 _ACEOF
33629 cat confdefs.h >>conftest.$ac_ext
33630 cat >>conftest.$ac_ext <<_ACEOF
33631 /* end confdefs.h. */
33632
33633
33634 #include <GL/glu.h>
33635 _ACEOF
33636 rm -f conftest.$ac_objext
33637 if { (ac_try="$ac_compile"
33638 case "(($ac_try" in
33639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33640 *) ac_try_echo=$ac_try;;
33641 esac
33642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33643 (eval "$ac_compile") 2>conftest.er1
33644 ac_status=$?
33645 grep -v '^ *+' conftest.er1 >conftest.err
33646 rm -f conftest.er1
33647 cat conftest.err >&5
33648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33649 (exit $ac_status); } && {
33650 test -z "$ac_c_werror_flag" ||
33651 test ! -s conftest.err
33652 } && test -s conftest.$ac_objext; then
33653 ac_cv_header_GL_glu_h=yes
33654 else
33655 echo "$as_me: failed program was:" >&5
33656 sed 's/^/| /' conftest.$ac_ext >&5
33657
33658 ac_cv_header_GL_glu_h=no
33659 fi
33660
33661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33662 fi
33663 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33664 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33665 if test $ac_cv_header_GL_glu_h = yes; then
33666
33667 found_gl=0
33668
33669 { echo "$as_me:$LINENO: checking for -lGL" >&5
33670 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33671
33672 ac_find_libraries=
33673 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33674 do
33675 for ac_extension in a so sl dylib dll.a; do
33676 if test -f "$ac_dir/libGL.$ac_extension"; then
33677 ac_find_libraries=$ac_dir
33678 break 2
33679 fi
33680 done
33681 done
33682
33683 if test "$ac_find_libraries" != "" ; then
33684 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33685 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33686
33687
33688 if test "$ac_find_libraries" = "default location"; then
33689 ac_path_to_link=""
33690 else
33691 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33692 result=$?
33693 if test $result = 0; then
33694 ac_path_to_link=""
33695 else
33696 ac_path_to_link=" -L$ac_find_libraries"
33697 fi
33698 fi
33699
33700 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33701 LDFLAGS_GL="$ac_path_to_link"
33702 fi
33703
33704 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33705 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33706
33707 ac_find_libraries=
33708 for ac_dir in $SEARCH_LIB;
33709 do
33710 for ac_extension in a so sl dylib dll.a; do
33711 if test -f "$ac_dir/libGLU.$ac_extension"; then
33712 ac_find_libraries=$ac_dir
33713 break 2
33714 fi
33715 done
33716 done
33717
33718 if test "$ac_find_libraries" != "" ; then
33719
33720 if test "$ac_find_libraries" = "default location"; then
33721 ac_path_to_link=""
33722 else
33723 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33724 result=$?
33725 if test $result = 0; then
33726 ac_path_to_link=""
33727 else
33728 ac_path_to_link=" -L$ac_find_libraries"
33729 fi
33730 fi
33731
33732 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33733 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33734 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33735 fi
33736
33737 found_gl=1
33738 OPENGL_LIBS="-lGL -lGLU"
33739 { echo "$as_me:$LINENO: result: yes" >&5
33740 echo "${ECHO_T}yes" >&6; }
33741 else
33742 { echo "$as_me:$LINENO: result: no" >&5
33743 echo "${ECHO_T}no" >&6; }
33744 fi
33745 else
33746 { echo "$as_me:$LINENO: result: no" >&5
33747 echo "${ECHO_T}no" >&6; }
33748 fi
33749
33750 if test "$found_gl" != 1; then
33751 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33752 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33753
33754 ac_find_libraries=
33755 for ac_dir in $SEARCH_LIB;
33756 do
33757 for ac_extension in a so sl dylib dll.a; do
33758 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33759 ac_find_libraries=$ac_dir
33760 break 2
33761 fi
33762 done
33763 done
33764
33765 if test "$ac_find_libraries" != "" ; then
33766
33767 if test "$ac_find_libraries" = "default location"; then
33768 ac_path_to_link=""
33769 else
33770 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33771 result=$?
33772 if test $result = 0; then
33773 ac_path_to_link=""
33774 else
33775 ac_path_to_link=" -L$ac_find_libraries"
33776 fi
33777 fi
33778
33779 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33780 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33781 { echo "$as_me:$LINENO: result: yes" >&5
33782 echo "${ECHO_T}yes" >&6; }
33783 else
33784 { echo "$as_me:$LINENO: result: no" >&5
33785 echo "${ECHO_T}no" >&6; }
33786 fi
33787 fi
33788
33789 fi
33790
33791
33792
33793 fi
33794
33795
33796
33797 if test "x$OPENGL_LIBS" = "x"; then
33798 if test "$wxUSE_OPENGL" = "yes"; then
33799 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33800 echo "$as_me: error: OpenGL libraries not available" >&2;}
33801 { (exit 1); exit 1; }; }
33802 else
33803 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33804 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33805 wxUSE_OPENGL=no
33806 USE_OPENGL=0
33807 fi
33808 fi
33809 else
33810 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33811 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33812 wxUSE_OPENGL="no"
33813 fi
33814
33815 if test "$wxUSE_OPENGL" = "auto"; then
33816 wxUSE_OPENGL=yes
33817 fi
33818
33819 if test "$wxUSE_OPENGL" = "yes"; then
33820 USE_OPENGL=1
33821 cat >>confdefs.h <<\_ACEOF
33822 #define wxUSE_OPENGL 1
33823 _ACEOF
33824
33825 cat >>confdefs.h <<\_ACEOF
33826 #define wxUSE_GLCANVAS 1
33827 _ACEOF
33828
33829 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33830 fi
33831 fi
33832
33833
33834 if test -n "$TOOLKIT" ; then
33835 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33836 fi
33837
33838
33839
33840 if test "$wxUSE_SHARED" = "yes"; then
33841 case "${host}" in
33842 *-pc-msdosdjgpp )
33843 wxUSE_SHARED=no
33844 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33845 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33846 ;;
33847 esac
33848 fi
33849
33850 if test "$wxUSE_SHARED" = "yes"; then
33851
33852
33853 case "${host}" in
33854 *-*-cygwin* | *-*-mingw* )
33855 wx_cv_version_script=no
33856 ;;
33857
33858 *)
33859 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33860 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33861 if test "${wx_cv_version_script+set}" = set; then
33862 echo $ECHO_N "(cached) $ECHO_C" >&6
33863 else
33864
33865 echo "VER_1 { *; };" >conftest.sym
33866 echo "int main() { return 0; }" >conftest.cpp
33867
33868 if { ac_try='
33869 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33870 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33872 (eval $ac_try) 2>&5
33873 ac_status=$?
33874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33875 (exit $ac_status); }; } ; then
33876 if test -s conftest.stderr ; then
33877 wx_cv_version_script=no
33878 else
33879 wx_cv_version_script=yes
33880 fi
33881 else
33882 wx_cv_version_script=no
33883 fi
33884
33885 if test $wx_cv_version_script = yes
33886 then
33887 echo "struct B { virtual ~B() { } }; \
33888 struct D : public B { }; \
33889 void F() { D d; }" > conftest.cpp
33890
33891 if { ac_try='
33892 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33893 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33895 (eval $ac_try) 2>&5
33896 ac_status=$?
33897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33898 (exit $ac_status); }; } &&
33899 { ac_try='
33900 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33901 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33903 (eval $ac_try) 2>&5
33904 ac_status=$?
33905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33906 (exit $ac_status); }; }
33907 then
33908 if { ac_try='
33909 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33910 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33912 (eval $ac_try) 2>&5
33913 ac_status=$?
33914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33915 (exit $ac_status); }; }
33916 then
33917 wx_cv_version_script=yes
33918 else
33919 wx_cv_version_script=no
33920 fi
33921 fi
33922 fi
33923
33924 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33925 rm -f conftest1.output conftest2.output conftest3.output
33926
33927 fi
33928 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33929 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33930
33931 if test $wx_cv_version_script = yes ; then
33932 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33933 fi
33934 ;;
33935 esac
33936
33937
33938 if test "$wxUSE_VISIBILITY" != "no"; then
33939
33940
33941 if test -n "$GCC"; then
33942 CFLAGS_VISIBILITY="-fvisibility=hidden"
33943 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33944 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33945 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33946 if test "${wx_cv_cc_visibility+set}" = set; then
33947 echo $ECHO_N "(cached) $ECHO_C" >&6
33948 else
33949
33950 wx_save_CXXFLAGS="$CXXFLAGS"
33951 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33952 ac_ext=cpp
33953 ac_cpp='$CXXCPP $CPPFLAGS'
33954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33957
33958 cat >conftest.$ac_ext <<_ACEOF
33959 /* confdefs.h. */
33960 _ACEOF
33961 cat confdefs.h >>conftest.$ac_ext
33962 cat >>conftest.$ac_ext <<_ACEOF
33963 /* end confdefs.h. */
33964
33965 /* we need gcc >= 4.0, older versions with visibility support
33966 didn't have class visibility: */
33967 #if defined(__GNUC__) && __GNUC__ < 4
33968 error this gcc is too old;
33969 #endif
33970
33971 /* visibility only makes sense for ELF shared libs: */
33972 #if !defined(__ELF__) && !defined(__APPLE__)
33973 error this platform has no visibility;
33974 #endif
33975
33976 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33977 extern __attribute__((__visibility__("default"))) int exportedvar;
33978 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33979 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33980 class __attribute__((__visibility__("default"))) Foo {
33981 Foo() {}
33982 };
33983
33984 int
33985 main ()
33986 {
33987
33988 ;
33989 return 0;
33990 }
33991 _ACEOF
33992 rm -f conftest.$ac_objext
33993 if { (ac_try="$ac_compile"
33994 case "(($ac_try" in
33995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33996 *) ac_try_echo=$ac_try;;
33997 esac
33998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33999 (eval "$ac_compile") 2>conftest.er1
34000 ac_status=$?
34001 grep -v '^ *+' conftest.er1 >conftest.err
34002 rm -f conftest.er1
34003 cat conftest.err >&5
34004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34005 (exit $ac_status); } && {
34006 test -z "$ac_cxx_werror_flag" ||
34007 test ! -s conftest.err
34008 } && test -s conftest.$ac_objext; then
34009 wx_cv_cc_visibility=yes
34010 else
34011 echo "$as_me: failed program was:" >&5
34012 sed 's/^/| /' conftest.$ac_ext >&5
34013
34014 wx_cv_cc_visibility=no
34015 fi
34016
34017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34018 ac_ext=c
34019 ac_cpp='$CPP $CPPFLAGS'
34020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34023
34024 CXXFLAGS="$wx_save_CXXFLAGS"
34025 fi
34026
34027 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
34028 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
34029 if test $wx_cv_cc_visibility = yes; then
34030 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
34031 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
34032 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
34033 echo $ECHO_N "(cached) $ECHO_C" >&6
34034 else
34035
34036 wx_save_CXXFLAGS="$CXXFLAGS"
34037 wx_save_LDFLAGS="$LDFLAGS"
34038 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34039 LDFLAGS="$LDFLAGS -shared -fPIC"
34040 ac_ext=cpp
34041 ac_cpp='$CXXCPP $CPPFLAGS'
34042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34045
34046 cat >conftest.$ac_ext <<_ACEOF
34047 /* confdefs.h. */
34048 _ACEOF
34049 cat confdefs.h >>conftest.$ac_ext
34050 cat >>conftest.$ac_ext <<_ACEOF
34051 /* end confdefs.h. */
34052
34053 #include <string>
34054
34055 int
34056 main ()
34057 {
34058
34059 std::string s("hello");
34060 return s.length();
34061
34062 ;
34063 return 0;
34064 }
34065 _ACEOF
34066 rm -f conftest.$ac_objext conftest$ac_exeext
34067 if { (ac_try="$ac_link"
34068 case "(($ac_try" in
34069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34070 *) ac_try_echo=$ac_try;;
34071 esac
34072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34073 (eval "$ac_link") 2>conftest.er1
34074 ac_status=$?
34075 grep -v '^ *+' conftest.er1 >conftest.err
34076 rm -f conftest.er1
34077 cat conftest.err >&5
34078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34079 (exit $ac_status); } && {
34080 test -z "$ac_cxx_werror_flag" ||
34081 test ! -s conftest.err
34082 } && test -s conftest$ac_exeext &&
34083 $as_test_x conftest$ac_exeext; then
34084 wx_cv_cc_broken_libstdcxx_visibility=no
34085 else
34086 echo "$as_me: failed program was:" >&5
34087 sed 's/^/| /' conftest.$ac_ext >&5
34088
34089 wx_cv_cc_broken_libstdcxx_visibility=yes
34090 fi
34091
34092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34093 conftest$ac_exeext conftest.$ac_ext
34094 ac_ext=c
34095 ac_cpp='$CPP $CPPFLAGS'
34096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34099
34100 CXXFLAGS="$wx_save_CXXFLAGS"
34101 LDFLAGS="$wx_save_LDFLAGS"
34102 fi
34103
34104 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
34105 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
34106
34107 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34108 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
34109 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
34110 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
34111 echo $ECHO_N "(cached) $ECHO_C" >&6
34112 else
34113
34114 ac_ext=cpp
34115 ac_cpp='$CXXCPP $CPPFLAGS'
34116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34119
34120 cat >conftest.$ac_ext <<_ACEOF
34121 /* confdefs.h. */
34122 _ACEOF
34123 cat confdefs.h >>conftest.$ac_ext
34124 cat >>conftest.$ac_ext <<_ACEOF
34125 /* end confdefs.h. */
34126
34127 #pragma GCC visibility push(default)
34128 #include <string>
34129 #pragma GCC visibility pop
34130
34131 int
34132 main ()
34133 {
34134
34135 std::string s("hello");
34136 return s.length();
34137
34138 ;
34139 return 0;
34140 }
34141 _ACEOF
34142 rm -f conftest.$ac_objext conftest$ac_exeext
34143 if { (ac_try="$ac_link"
34144 case "(($ac_try" in
34145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34146 *) ac_try_echo=$ac_try;;
34147 esac
34148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34149 (eval "$ac_link") 2>conftest.er1
34150 ac_status=$?
34151 grep -v '^ *+' conftest.er1 >conftest.err
34152 rm -f conftest.er1
34153 cat conftest.err >&5
34154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34155 (exit $ac_status); } && {
34156 test -z "$ac_cxx_werror_flag" ||
34157 test ! -s conftest.err
34158 } && test -s conftest$ac_exeext &&
34159 $as_test_x conftest$ac_exeext; then
34160 wx_cv_cc_visibility_workaround=no
34161 else
34162 echo "$as_me: failed program was:" >&5
34163 sed 's/^/| /' conftest.$ac_ext >&5
34164
34165 wx_cv_cc_visibility_workaround=yes
34166 fi
34167
34168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34169 conftest$ac_exeext conftest.$ac_ext
34170 ac_ext=c
34171 ac_cpp='$CPP $CPPFLAGS'
34172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34175
34176
34177 fi
34178
34179 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
34180 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
34181
34182 if test $wx_cv_cc_visibility_workaround = no; then
34183 wx_cv_cc_visibility=no
34184 fi
34185 fi
34186 fi
34187
34188 if test $wx_cv_cc_visibility = yes; then
34189 cat >>confdefs.h <<\_ACEOF
34190 #define HAVE_VISIBILITY 1
34191 _ACEOF
34192
34193 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34194 cat >>confdefs.h <<\_ACEOF
34195 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
34196 _ACEOF
34197
34198 fi
34199 else
34200 CFLAGS_VISIBILITY=""
34201 CXXFLAGS_VISIBILITY=""
34202 fi
34203
34204
34205 fi
34206
34207 fi
34208
34209 if test "x$SUNCXX" = xyes; then
34210 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
34211 WXCONFIG_RPATH="-R\$libdir"
34212 else
34213 case "${host}" in
34214 *-*-linux* | *-*-gnu* )
34215 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34216 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34217 ;;
34218
34219 *-*-solaris2* )
34220
34221 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
34222
34223 saveLdflags="$LDFLAGS"
34224 LDFLAGS="$saveLdflags -Wl,-rpath,/"
34225 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34226 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
34227 cat >conftest.$ac_ext <<_ACEOF
34228 /* confdefs.h. */
34229 _ACEOF
34230 cat confdefs.h >>conftest.$ac_ext
34231 cat >>conftest.$ac_ext <<_ACEOF
34232 /* end confdefs.h. */
34233
34234 int
34235 main ()
34236 {
34237
34238 ;
34239 return 0;
34240 }
34241 _ACEOF
34242 rm -f conftest.$ac_objext conftest$ac_exeext
34243 if { (ac_try="$ac_link"
34244 case "(($ac_try" in
34245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34246 *) ac_try_echo=$ac_try;;
34247 esac
34248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34249 (eval "$ac_link") 2>conftest.er1
34250 ac_status=$?
34251 grep -v '^ *+' conftest.er1 >conftest.err
34252 rm -f conftest.er1
34253 cat conftest.err >&5
34254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34255 (exit $ac_status); } && {
34256 test -z "$ac_c_werror_flag" ||
34257 test ! -s conftest.err
34258 } && test -s conftest$ac_exeext &&
34259 $as_test_x conftest$ac_exeext; then
34260
34261 { echo "$as_me:$LINENO: result: yes" >&5
34262 echo "${ECHO_T}yes" >&6; }
34263 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34264 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34265
34266 else
34267 echo "$as_me: failed program was:" >&5
34268 sed 's/^/| /' conftest.$ac_ext >&5
34269
34270
34271 { echo "$as_me:$LINENO: result: no" >&5
34272 echo "${ECHO_T}no" >&6; }
34273 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34274 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
34275 LDFLAGS="$saveLdflags -Wl,-R,/"
34276 cat >conftest.$ac_ext <<_ACEOF
34277 /* confdefs.h. */
34278 _ACEOF
34279 cat confdefs.h >>conftest.$ac_ext
34280 cat >>conftest.$ac_ext <<_ACEOF
34281 /* end confdefs.h. */
34282
34283 int
34284 main ()
34285 {
34286
34287 ;
34288 return 0;
34289 }
34290 _ACEOF
34291 rm -f conftest.$ac_objext conftest$ac_exeext
34292 if { (ac_try="$ac_link"
34293 case "(($ac_try" in
34294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34295 *) ac_try_echo=$ac_try;;
34296 esac
34297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34298 (eval "$ac_link") 2>conftest.er1
34299 ac_status=$?
34300 grep -v '^ *+' conftest.er1 >conftest.err
34301 rm -f conftest.er1
34302 cat conftest.err >&5
34303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34304 (exit $ac_status); } && {
34305 test -z "$ac_c_werror_flag" ||
34306 test ! -s conftest.err
34307 } && test -s conftest$ac_exeext &&
34308 $as_test_x conftest$ac_exeext; then
34309
34310 { echo "$as_me:$LINENO: result: yes" >&5
34311 echo "${ECHO_T}yes" >&6; }
34312 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
34313 WXCONFIG_RPATH="-Wl,-R,\$libdir"
34314
34315 else
34316 echo "$as_me: failed program was:" >&5
34317 sed 's/^/| /' conftest.$ac_ext >&5
34318
34319
34320 { echo "$as_me:$LINENO: result: no" >&5
34321 echo "${ECHO_T}no" >&6; }
34322
34323 fi
34324
34325 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34326 conftest$ac_exeext conftest.$ac_ext
34327
34328 fi
34329
34330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34331 conftest$ac_exeext conftest.$ac_ext
34332 LDFLAGS="$saveLdflags"
34333 ;;
34334
34335 *-*-darwin* )
34336 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
34337 if test "$install_name_tool" -a -x "$install_name_tool"; then
34338 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
34339 cat <<EOF >change-install-names
34340 #!/bin/sh
34341 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34342 for i in \${libnames} ; do
34343 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
34344 for dep in \${libnames} ; do
34345 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
34346 done
34347 done
34348 EOF
34349 chmod +x change-install-names
34350 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
34351 fi
34352
34353 HEADER_PAD_OPTION="-headerpad_max_install_names"
34354 ;;
34355
34356 *-*-cygwin* | *-*-mingw32* )
34357 ;;
34358
34359 *-*-hpux* )
34360 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
34361 WXCONFIG_RPATH="-Wl,+b,\$libdir"
34362 ;;
34363
34364 esac
34365 fi
34366
34367 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34368
34369 if test $wxUSE_RPATH = "no"; then
34370 SAMPLES_RPATH_FLAG=''
34371 DYLIB_PATH_POSTLINK=''
34372 WXCONFIG_RPATH=''
34373 fi
34374
34375 SHARED=1
34376
34377 else
34378
34379 config_linkage_component="-static"
34380 SHARED=0
34381
34382 fi
34383
34384
34385 UNICODE=0
34386 lib_unicode_suffix=
34387 WX_CHARTYPE="ansi"
34388 if test "$wxUSE_UNICODE" = "yes"; then
34389 lib_unicode_suffix=u
34390 WX_CHARTYPE="unicode"
34391 UNICODE=1
34392 fi
34393
34394 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
34395 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
34396
34397 DEBUG_INFO=0
34398 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34399 DEBUG_INFO=1
34400 fi
34401
34402 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
34403
34404 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
34405
34406 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34407
34408
34409 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34410 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34411 else
34412 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34413 fi
34414 if test "${TOOLKIT_DIR}" = "os2"; then
34415 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34416 else
34417 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34418 fi
34419
34420
34421
34422 if test "$wxUSE_OLD_COCOA" = 1; then
34423
34424 ac_ext=c
34425 ac_cpp='$CPP $CPPFLAGS'
34426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34429
34430 ac_ext=m
34431
34432 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34433 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34434 cat >conftest.$ac_ext <<_ACEOF
34435 /* confdefs.h. */
34436 _ACEOF
34437 cat confdefs.h >>conftest.$ac_ext
34438 cat >>conftest.$ac_ext <<_ACEOF
34439 /* end confdefs.h. */
34440 #include <AppKit/NSEvent.h>
34441 #include <CoreFoundation/CoreFoundation.h>
34442
34443 int
34444 main ()
34445 {
34446
34447 ;
34448 return 0;
34449 }
34450 _ACEOF
34451 rm -f conftest.$ac_objext
34452 if { (ac_try="$ac_compile"
34453 case "(($ac_try" in
34454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34455 *) ac_try_echo=$ac_try;;
34456 esac
34457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34458 (eval "$ac_compile") 2>conftest.er1
34459 ac_status=$?
34460 grep -v '^ *+' conftest.er1 >conftest.err
34461 rm -f conftest.er1
34462 cat conftest.err >&5
34463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34464 (exit $ac_status); } && {
34465 test -z "$ac_c_werror_flag" ||
34466 test ! -s conftest.err
34467 } && test -s conftest.$ac_objext; then
34468 { echo "$as_me:$LINENO: result: no" >&5
34469 echo "${ECHO_T}no" >&6; }
34470 else
34471 echo "$as_me: failed program was:" >&5
34472 sed 's/^/| /' conftest.$ac_ext >&5
34473
34474 { echo "$as_me:$LINENO: result: yes" >&5
34475 echo "${ECHO_T}yes" >&6; }
34476 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34477 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34478 cat >conftest.$ac_ext <<_ACEOF
34479 /* confdefs.h. */
34480 _ACEOF
34481 cat confdefs.h >>conftest.$ac_ext
34482 cat >>conftest.$ac_ext <<_ACEOF
34483 /* end confdefs.h. */
34484 #define __Point__ 1
34485 #include <AppKit/NSEvent.h>
34486 #include <CoreFoundation/CoreFoundation.h>
34487
34488 int
34489 main ()
34490 {
34491
34492 ;
34493 return 0;
34494 }
34495 _ACEOF
34496 rm -f conftest.$ac_objext
34497 if { (ac_try="$ac_compile"
34498 case "(($ac_try" in
34499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34500 *) ac_try_echo=$ac_try;;
34501 esac
34502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34503 (eval "$ac_compile") 2>conftest.er1
34504 ac_status=$?
34505 grep -v '^ *+' conftest.er1 >conftest.err
34506 rm -f conftest.er1
34507 cat conftest.err >&5
34508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34509 (exit $ac_status); } && {
34510 test -z "$ac_c_werror_flag" ||
34511 test ! -s conftest.err
34512 } && test -s conftest.$ac_objext; then
34513 { echo "$as_me:$LINENO: result: yes" >&5
34514 echo "${ECHO_T}yes" >&6; }
34515 cat >>confdefs.h <<\_ACEOF
34516 #define __Point__ 1
34517 _ACEOF
34518
34519
34520 else
34521 echo "$as_me: failed program was:" >&5
34522 sed 's/^/| /' conftest.$ac_ext >&5
34523
34524 { { echo "$as_me:$LINENO: error: no
34525 See \`config.log' for more details." >&5
34526 echo "$as_me: error: no
34527 See \`config.log' for more details." >&2;}
34528 { (exit 1); exit 1; }; }
34529
34530 fi
34531
34532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34533
34534 fi
34535
34536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34537 ac_ext=c
34538 ac_cpp='$CPP $CPPFLAGS'
34539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34542
34543 fi
34544
34545
34546 { echo "$as_me:$LINENO: checking for mode_t" >&5
34547 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34548 if test "${ac_cv_type_mode_t+set}" = set; then
34549 echo $ECHO_N "(cached) $ECHO_C" >&6
34550 else
34551 cat >conftest.$ac_ext <<_ACEOF
34552 /* confdefs.h. */
34553 _ACEOF
34554 cat confdefs.h >>conftest.$ac_ext
34555 cat >>conftest.$ac_ext <<_ACEOF
34556 /* end confdefs.h. */
34557 $ac_includes_default
34558 typedef mode_t ac__type_new_;
34559 int
34560 main ()
34561 {
34562 if ((ac__type_new_ *) 0)
34563 return 0;
34564 if (sizeof (ac__type_new_))
34565 return 0;
34566 ;
34567 return 0;
34568 }
34569 _ACEOF
34570 rm -f conftest.$ac_objext
34571 if { (ac_try="$ac_compile"
34572 case "(($ac_try" in
34573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34574 *) ac_try_echo=$ac_try;;
34575 esac
34576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34577 (eval "$ac_compile") 2>conftest.er1
34578 ac_status=$?
34579 grep -v '^ *+' conftest.er1 >conftest.err
34580 rm -f conftest.er1
34581 cat conftest.err >&5
34582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34583 (exit $ac_status); } && {
34584 test -z "$ac_c_werror_flag" ||
34585 test ! -s conftest.err
34586 } && test -s conftest.$ac_objext; then
34587 ac_cv_type_mode_t=yes
34588 else
34589 echo "$as_me: failed program was:" >&5
34590 sed 's/^/| /' conftest.$ac_ext >&5
34591
34592 ac_cv_type_mode_t=no
34593 fi
34594
34595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34596 fi
34597 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34598 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34599 if test $ac_cv_type_mode_t = yes; then
34600 :
34601 else
34602
34603 cat >>confdefs.h <<_ACEOF
34604 #define mode_t int
34605 _ACEOF
34606
34607 fi
34608
34609 { echo "$as_me:$LINENO: checking for off_t" >&5
34610 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34611 if test "${ac_cv_type_off_t+set}" = set; then
34612 echo $ECHO_N "(cached) $ECHO_C" >&6
34613 else
34614 cat >conftest.$ac_ext <<_ACEOF
34615 /* confdefs.h. */
34616 _ACEOF
34617 cat confdefs.h >>conftest.$ac_ext
34618 cat >>conftest.$ac_ext <<_ACEOF
34619 /* end confdefs.h. */
34620 $ac_includes_default
34621 typedef off_t ac__type_new_;
34622 int
34623 main ()
34624 {
34625 if ((ac__type_new_ *) 0)
34626 return 0;
34627 if (sizeof (ac__type_new_))
34628 return 0;
34629 ;
34630 return 0;
34631 }
34632 _ACEOF
34633 rm -f conftest.$ac_objext
34634 if { (ac_try="$ac_compile"
34635 case "(($ac_try" in
34636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34637 *) ac_try_echo=$ac_try;;
34638 esac
34639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34640 (eval "$ac_compile") 2>conftest.er1
34641 ac_status=$?
34642 grep -v '^ *+' conftest.er1 >conftest.err
34643 rm -f conftest.er1
34644 cat conftest.err >&5
34645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34646 (exit $ac_status); } && {
34647 test -z "$ac_c_werror_flag" ||
34648 test ! -s conftest.err
34649 } && test -s conftest.$ac_objext; then
34650 ac_cv_type_off_t=yes
34651 else
34652 echo "$as_me: failed program was:" >&5
34653 sed 's/^/| /' conftest.$ac_ext >&5
34654
34655 ac_cv_type_off_t=no
34656 fi
34657
34658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34659 fi
34660 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34661 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34662 if test $ac_cv_type_off_t = yes; then
34663 :
34664 else
34665
34666 cat >>confdefs.h <<_ACEOF
34667 #define off_t long int
34668 _ACEOF
34669
34670 fi
34671
34672 { echo "$as_me:$LINENO: checking for pid_t" >&5
34673 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34674 if test "${ac_cv_type_pid_t+set}" = set; then
34675 echo $ECHO_N "(cached) $ECHO_C" >&6
34676 else
34677 cat >conftest.$ac_ext <<_ACEOF
34678 /* confdefs.h. */
34679 _ACEOF
34680 cat confdefs.h >>conftest.$ac_ext
34681 cat >>conftest.$ac_ext <<_ACEOF
34682 /* end confdefs.h. */
34683 $ac_includes_default
34684 typedef pid_t ac__type_new_;
34685 int
34686 main ()
34687 {
34688 if ((ac__type_new_ *) 0)
34689 return 0;
34690 if (sizeof (ac__type_new_))
34691 return 0;
34692 ;
34693 return 0;
34694 }
34695 _ACEOF
34696 rm -f conftest.$ac_objext
34697 if { (ac_try="$ac_compile"
34698 case "(($ac_try" in
34699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34700 *) ac_try_echo=$ac_try;;
34701 esac
34702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34703 (eval "$ac_compile") 2>conftest.er1
34704 ac_status=$?
34705 grep -v '^ *+' conftest.er1 >conftest.err
34706 rm -f conftest.er1
34707 cat conftest.err >&5
34708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34709 (exit $ac_status); } && {
34710 test -z "$ac_c_werror_flag" ||
34711 test ! -s conftest.err
34712 } && test -s conftest.$ac_objext; then
34713 ac_cv_type_pid_t=yes
34714 else
34715 echo "$as_me: failed program was:" >&5
34716 sed 's/^/| /' conftest.$ac_ext >&5
34717
34718 ac_cv_type_pid_t=no
34719 fi
34720
34721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34722 fi
34723 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34724 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34725 if test $ac_cv_type_pid_t = yes; then
34726 :
34727 else
34728
34729 cat >>confdefs.h <<_ACEOF
34730 #define pid_t int
34731 _ACEOF
34732
34733 fi
34734
34735 { echo "$as_me:$LINENO: checking for size_t" >&5
34736 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34737 if test "${ac_cv_type_size_t+set}" = set; then
34738 echo $ECHO_N "(cached) $ECHO_C" >&6
34739 else
34740 cat >conftest.$ac_ext <<_ACEOF
34741 /* confdefs.h. */
34742 _ACEOF
34743 cat confdefs.h >>conftest.$ac_ext
34744 cat >>conftest.$ac_ext <<_ACEOF
34745 /* end confdefs.h. */
34746 $ac_includes_default
34747 typedef size_t ac__type_new_;
34748 int
34749 main ()
34750 {
34751 if ((ac__type_new_ *) 0)
34752 return 0;
34753 if (sizeof (ac__type_new_))
34754 return 0;
34755 ;
34756 return 0;
34757 }
34758 _ACEOF
34759 rm -f conftest.$ac_objext
34760 if { (ac_try="$ac_compile"
34761 case "(($ac_try" in
34762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34763 *) ac_try_echo=$ac_try;;
34764 esac
34765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34766 (eval "$ac_compile") 2>conftest.er1
34767 ac_status=$?
34768 grep -v '^ *+' conftest.er1 >conftest.err
34769 rm -f conftest.er1
34770 cat conftest.err >&5
34771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34772 (exit $ac_status); } && {
34773 test -z "$ac_c_werror_flag" ||
34774 test ! -s conftest.err
34775 } && test -s conftest.$ac_objext; then
34776 ac_cv_type_size_t=yes
34777 else
34778 echo "$as_me: failed program was:" >&5
34779 sed 's/^/| /' conftest.$ac_ext >&5
34780
34781 ac_cv_type_size_t=no
34782 fi
34783
34784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34785 fi
34786 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34787 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34788 if test $ac_cv_type_size_t = yes; then
34789 :
34790 else
34791
34792 cat >>confdefs.h <<_ACEOF
34793 #define size_t unsigned int
34794 _ACEOF
34795
34796 fi
34797
34798
34799 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34800 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34801 if test "${ac_cv_type_ssize_t+set}" = set; then
34802 echo $ECHO_N "(cached) $ECHO_C" >&6
34803 else
34804 cat >conftest.$ac_ext <<_ACEOF
34805 /* confdefs.h. */
34806 _ACEOF
34807 cat confdefs.h >>conftest.$ac_ext
34808 cat >>conftest.$ac_ext <<_ACEOF
34809 /* end confdefs.h. */
34810 $ac_includes_default
34811 typedef ssize_t ac__type_new_;
34812 int
34813 main ()
34814 {
34815 if ((ac__type_new_ *) 0)
34816 return 0;
34817 if (sizeof (ac__type_new_))
34818 return 0;
34819 ;
34820 return 0;
34821 }
34822 _ACEOF
34823 rm -f conftest.$ac_objext
34824 if { (ac_try="$ac_compile"
34825 case "(($ac_try" in
34826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34827 *) ac_try_echo=$ac_try;;
34828 esac
34829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34830 (eval "$ac_compile") 2>conftest.er1
34831 ac_status=$?
34832 grep -v '^ *+' conftest.er1 >conftest.err
34833 rm -f conftest.er1
34834 cat conftest.err >&5
34835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34836 (exit $ac_status); } && {
34837 test -z "$ac_c_werror_flag" ||
34838 test ! -s conftest.err
34839 } && test -s conftest.$ac_objext; then
34840 ac_cv_type_ssize_t=yes
34841 else
34842 echo "$as_me: failed program was:" >&5
34843 sed 's/^/| /' conftest.$ac_ext >&5
34844
34845 ac_cv_type_ssize_t=no
34846 fi
34847
34848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34849 fi
34850 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34851 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34852 if test $ac_cv_type_ssize_t = yes; then
34853
34854 cat >>confdefs.h <<_ACEOF
34855 #define HAVE_SSIZE_T 1
34856 _ACEOF
34857
34858
34859 fi
34860
34861
34862 ac_ext=cpp
34863 ac_cpp='$CXXCPP $CPPFLAGS'
34864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34867 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34868 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34869 if test "${wx_cv_size_t_is_uint+set}" = set; then
34870 echo $ECHO_N "(cached) $ECHO_C" >&6
34871 else
34872
34873 cat >conftest.$ac_ext <<_ACEOF
34874 /* confdefs.h. */
34875 _ACEOF
34876 cat confdefs.h >>conftest.$ac_ext
34877 cat >>conftest.$ac_ext <<_ACEOF
34878 /* end confdefs.h. */
34879 #include <stddef.h>
34880 int
34881 main ()
34882 {
34883
34884 return 0; }
34885
34886 struct Foo { void foo(size_t); void foo(unsigned int); };
34887
34888 int bar() {
34889
34890 ;
34891 return 0;
34892 }
34893 _ACEOF
34894 rm -f conftest.$ac_objext
34895 if { (ac_try="$ac_compile"
34896 case "(($ac_try" in
34897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34898 *) ac_try_echo=$ac_try;;
34899 esac
34900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34901 (eval "$ac_compile") 2>conftest.er1
34902 ac_status=$?
34903 grep -v '^ *+' conftest.er1 >conftest.err
34904 rm -f conftest.er1
34905 cat conftest.err >&5
34906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34907 (exit $ac_status); } && {
34908 test -z "$ac_cxx_werror_flag" ||
34909 test ! -s conftest.err
34910 } && test -s conftest.$ac_objext; then
34911 wx_cv_size_t_is_uint=no
34912 else
34913 echo "$as_me: failed program was:" >&5
34914 sed 's/^/| /' conftest.$ac_ext >&5
34915
34916 wx_cv_size_t_is_uint=yes
34917
34918 fi
34919
34920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34921
34922
34923 fi
34924 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34925 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34926
34927 if test "$wx_cv_size_t_is_uint" = "yes"; then
34928 cat >>confdefs.h <<\_ACEOF
34929 #define wxSIZE_T_IS_UINT 1
34930 _ACEOF
34931
34932 else
34933 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34934 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34935 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34936 echo $ECHO_N "(cached) $ECHO_C" >&6
34937 else
34938 cat >conftest.$ac_ext <<_ACEOF
34939 /* confdefs.h. */
34940 _ACEOF
34941 cat confdefs.h >>conftest.$ac_ext
34942 cat >>conftest.$ac_ext <<_ACEOF
34943 /* end confdefs.h. */
34944 #include <stddef.h>
34945 int
34946 main ()
34947 {
34948
34949 return 0; }
34950
34951 struct Foo { void foo(size_t); void foo(unsigned long); };
34952
34953 int bar() {
34954
34955 ;
34956 return 0;
34957 }
34958 _ACEOF
34959 rm -f conftest.$ac_objext
34960 if { (ac_try="$ac_compile"
34961 case "(($ac_try" in
34962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34963 *) ac_try_echo=$ac_try;;
34964 esac
34965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34966 (eval "$ac_compile") 2>conftest.er1
34967 ac_status=$?
34968 grep -v '^ *+' conftest.er1 >conftest.err
34969 rm -f conftest.er1
34970 cat conftest.err >&5
34971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34972 (exit $ac_status); } && {
34973 test -z "$ac_cxx_werror_flag" ||
34974 test ! -s conftest.err
34975 } && test -s conftest.$ac_objext; then
34976 wx_cv_size_t_is_ulong=no
34977 else
34978 echo "$as_me: failed program was:" >&5
34979 sed 's/^/| /' conftest.$ac_ext >&5
34980
34981 wx_cv_size_t_is_ulong=yes
34982
34983 fi
34984
34985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34986
34987 fi
34988 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34989 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34990
34991 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34992 cat >>confdefs.h <<\_ACEOF
34993 #define wxSIZE_T_IS_ULONG 1
34994 _ACEOF
34995
34996 fi
34997 fi
34998
34999 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
35000 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
35001 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
35002 echo $ECHO_N "(cached) $ECHO_C" >&6
35003 else
35004 cat >conftest.$ac_ext <<_ACEOF
35005 /* confdefs.h. */
35006 _ACEOF
35007 cat confdefs.h >>conftest.$ac_ext
35008 cat >>conftest.$ac_ext <<_ACEOF
35009 /* end confdefs.h. */
35010 #include <wchar.h>
35011 int
35012 main ()
35013 {
35014
35015 return 0; }
35016
35017 struct Foo { void foo(wchar_t);
35018 void foo(unsigned short);
35019 void foo(unsigned int);
35020 void foo(unsigned long); };
35021
35022 int bar() {
35023
35024 ;
35025 return 0;
35026 }
35027 _ACEOF
35028 rm -f conftest.$ac_objext
35029 if { (ac_try="$ac_compile"
35030 case "(($ac_try" in
35031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35032 *) ac_try_echo=$ac_try;;
35033 esac
35034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35035 (eval "$ac_compile") 2>conftest.er1
35036 ac_status=$?
35037 grep -v '^ *+' conftest.er1 >conftest.err
35038 rm -f conftest.er1
35039 cat conftest.err >&5
35040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35041 (exit $ac_status); } && {
35042 test -z "$ac_cxx_werror_flag" ||
35043 test ! -s conftest.err
35044 } && test -s conftest.$ac_objext; then
35045 wx_cv_wchar_t_is_separate_type=yes
35046 else
35047 echo "$as_me: failed program was:" >&5
35048 sed 's/^/| /' conftest.$ac_ext >&5
35049
35050 wx_cv_wchar_t_is_separate_type=no
35051
35052 fi
35053
35054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35055
35056 fi
35057 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
35058 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
35059
35060 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
35061 cat >>confdefs.h <<\_ACEOF
35062 #define wxWCHAR_T_IS_REAL_TYPE 1
35063 _ACEOF
35064
35065 else
35066 cat >>confdefs.h <<\_ACEOF
35067 #define wxWCHAR_T_IS_REAL_TYPE 0
35068 _ACEOF
35069
35070 fi
35071
35072 ac_ext=c
35073 ac_cpp='$CPP $CPPFLAGS'
35074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35077
35078
35079 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
35080 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
35081 if test "${wx_cv_struct_pw_gecos+set}" = set; then
35082 echo $ECHO_N "(cached) $ECHO_C" >&6
35083 else
35084
35085 cat >conftest.$ac_ext <<_ACEOF
35086 /* confdefs.h. */
35087 _ACEOF
35088 cat confdefs.h >>conftest.$ac_ext
35089 cat >>conftest.$ac_ext <<_ACEOF
35090 /* end confdefs.h. */
35091 #include <pwd.h>
35092 int
35093 main ()
35094 {
35095
35096 char *p;
35097 struct passwd *pw;
35098 p = pw->pw_gecos;
35099
35100 ;
35101 return 0;
35102 }
35103 _ACEOF
35104 rm -f conftest.$ac_objext
35105 if { (ac_try="$ac_compile"
35106 case "(($ac_try" in
35107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35108 *) ac_try_echo=$ac_try;;
35109 esac
35110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35111 (eval "$ac_compile") 2>conftest.er1
35112 ac_status=$?
35113 grep -v '^ *+' conftest.er1 >conftest.err
35114 rm -f conftest.er1
35115 cat conftest.err >&5
35116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35117 (exit $ac_status); } && {
35118 test -z "$ac_c_werror_flag" ||
35119 test ! -s conftest.err
35120 } && test -s conftest.$ac_objext; then
35121
35122 wx_cv_struct_pw_gecos=yes
35123
35124 else
35125 echo "$as_me: failed program was:" >&5
35126 sed 's/^/| /' conftest.$ac_ext >&5
35127
35128
35129 wx_cv_struct_pw_gecos=no
35130
35131
35132 fi
35133
35134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35135
35136
35137 fi
35138 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35139 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
35140
35141 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35142 cat >>confdefs.h <<\_ACEOF
35143 #define HAVE_PW_GECOS 1
35144 _ACEOF
35145
35146 fi
35147
35148
35149 if test "$wxUSE_WCHAR_T" = "yes"; then
35150 cat >>confdefs.h <<\_ACEOF
35151 #define wxUSE_WCHAR_T 1
35152 _ACEOF
35153
35154
35155 WCSLEN_FOUND=0
35156 WCHAR_LINK=
35157
35158 for ac_func in wcslen
35159 do
35160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35161 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35163 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35164 echo $ECHO_N "(cached) $ECHO_C" >&6
35165 else
35166 cat >conftest.$ac_ext <<_ACEOF
35167 /* confdefs.h. */
35168 _ACEOF
35169 cat confdefs.h >>conftest.$ac_ext
35170 cat >>conftest.$ac_ext <<_ACEOF
35171 /* end confdefs.h. */
35172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35174 #define $ac_func innocuous_$ac_func
35175
35176 /* System header to define __stub macros and hopefully few prototypes,
35177 which can conflict with char $ac_func (); below.
35178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35179 <limits.h> exists even on freestanding compilers. */
35180
35181 #ifdef __STDC__
35182 # include <limits.h>
35183 #else
35184 # include <assert.h>
35185 #endif
35186
35187 #undef $ac_func
35188
35189 /* Override any GCC internal prototype to avoid an error.
35190 Use char because int might match the return type of a GCC
35191 builtin and then its argument prototype would still apply. */
35192 #ifdef __cplusplus
35193 extern "C"
35194 #endif
35195 char $ac_func ();
35196 /* The GNU C library defines this for functions which it implements
35197 to always fail with ENOSYS. Some functions are actually named
35198 something starting with __ and the normal name is an alias. */
35199 #if defined __stub_$ac_func || defined __stub___$ac_func
35200 choke me
35201 #endif
35202
35203 int
35204 main ()
35205 {
35206 return $ac_func ();
35207 ;
35208 return 0;
35209 }
35210 _ACEOF
35211 rm -f conftest.$ac_objext conftest$ac_exeext
35212 if { (ac_try="$ac_link"
35213 case "(($ac_try" in
35214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35215 *) ac_try_echo=$ac_try;;
35216 esac
35217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35218 (eval "$ac_link") 2>conftest.er1
35219 ac_status=$?
35220 grep -v '^ *+' conftest.er1 >conftest.err
35221 rm -f conftest.er1
35222 cat conftest.err >&5
35223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35224 (exit $ac_status); } && {
35225 test -z "$ac_c_werror_flag" ||
35226 test ! -s conftest.err
35227 } && test -s conftest$ac_exeext &&
35228 $as_test_x conftest$ac_exeext; then
35229 eval "$as_ac_var=yes"
35230 else
35231 echo "$as_me: failed program was:" >&5
35232 sed 's/^/| /' conftest.$ac_ext >&5
35233
35234 eval "$as_ac_var=no"
35235 fi
35236
35237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35238 conftest$ac_exeext conftest.$ac_ext
35239 fi
35240 ac_res=`eval echo '${'$as_ac_var'}'`
35241 { echo "$as_me:$LINENO: result: $ac_res" >&5
35242 echo "${ECHO_T}$ac_res" >&6; }
35243 if test `eval echo '${'$as_ac_var'}'` = yes; then
35244 cat >>confdefs.h <<_ACEOF
35245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35246 _ACEOF
35247 WCSLEN_FOUND=1
35248 fi
35249 done
35250
35251
35252 if test "$WCSLEN_FOUND" = 0; then
35253 if test "$TOOLKIT" = "MSW"; then
35254 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35255 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
35256 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35257 echo $ECHO_N "(cached) $ECHO_C" >&6
35258 else
35259 ac_check_lib_save_LIBS=$LIBS
35260 LIBS="-lmsvcrt $LIBS"
35261 cat >conftest.$ac_ext <<_ACEOF
35262 /* confdefs.h. */
35263 _ACEOF
35264 cat confdefs.h >>conftest.$ac_ext
35265 cat >>conftest.$ac_ext <<_ACEOF
35266 /* end confdefs.h. */
35267
35268 /* Override any GCC internal prototype to avoid an error.
35269 Use char because int might match the return type of a GCC
35270 builtin and then its argument prototype would still apply. */
35271 #ifdef __cplusplus
35272 extern "C"
35273 #endif
35274 char wcslen ();
35275 int
35276 main ()
35277 {
35278 return wcslen ();
35279 ;
35280 return 0;
35281 }
35282 _ACEOF
35283 rm -f conftest.$ac_objext conftest$ac_exeext
35284 if { (ac_try="$ac_link"
35285 case "(($ac_try" in
35286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35287 *) ac_try_echo=$ac_try;;
35288 esac
35289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35290 (eval "$ac_link") 2>conftest.er1
35291 ac_status=$?
35292 grep -v '^ *+' conftest.er1 >conftest.err
35293 rm -f conftest.er1
35294 cat conftest.err >&5
35295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35296 (exit $ac_status); } && {
35297 test -z "$ac_c_werror_flag" ||
35298 test ! -s conftest.err
35299 } && test -s conftest$ac_exeext &&
35300 $as_test_x conftest$ac_exeext; then
35301 ac_cv_lib_msvcrt_wcslen=yes
35302 else
35303 echo "$as_me: failed program was:" >&5
35304 sed 's/^/| /' conftest.$ac_ext >&5
35305
35306 ac_cv_lib_msvcrt_wcslen=no
35307 fi
35308
35309 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35310 conftest$ac_exeext conftest.$ac_ext
35311 LIBS=$ac_check_lib_save_LIBS
35312 fi
35313 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35314 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
35315 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35316 WCHAR_OK=1
35317 fi
35318
35319 else
35320 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35321 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
35322 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35323 echo $ECHO_N "(cached) $ECHO_C" >&6
35324 else
35325 ac_check_lib_save_LIBS=$LIBS
35326 LIBS="-lw $LIBS"
35327 cat >conftest.$ac_ext <<_ACEOF
35328 /* confdefs.h. */
35329 _ACEOF
35330 cat confdefs.h >>conftest.$ac_ext
35331 cat >>conftest.$ac_ext <<_ACEOF
35332 /* end confdefs.h. */
35333
35334 /* Override any GCC internal prototype to avoid an error.
35335 Use char because int might match the return type of a GCC
35336 builtin and then its argument prototype would still apply. */
35337 #ifdef __cplusplus
35338 extern "C"
35339 #endif
35340 char wcslen ();
35341 int
35342 main ()
35343 {
35344 return wcslen ();
35345 ;
35346 return 0;
35347 }
35348 _ACEOF
35349 rm -f conftest.$ac_objext conftest$ac_exeext
35350 if { (ac_try="$ac_link"
35351 case "(($ac_try" in
35352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35353 *) ac_try_echo=$ac_try;;
35354 esac
35355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35356 (eval "$ac_link") 2>conftest.er1
35357 ac_status=$?
35358 grep -v '^ *+' conftest.er1 >conftest.err
35359 rm -f conftest.er1
35360 cat conftest.err >&5
35361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35362 (exit $ac_status); } && {
35363 test -z "$ac_c_werror_flag" ||
35364 test ! -s conftest.err
35365 } && test -s conftest$ac_exeext &&
35366 $as_test_x conftest$ac_exeext; then
35367 ac_cv_lib_w_wcslen=yes
35368 else
35369 echo "$as_me: failed program was:" >&5
35370 sed 's/^/| /' conftest.$ac_ext >&5
35371
35372 ac_cv_lib_w_wcslen=no
35373 fi
35374
35375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35376 conftest$ac_exeext conftest.$ac_ext
35377 LIBS=$ac_check_lib_save_LIBS
35378 fi
35379 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35380 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
35381 if test $ac_cv_lib_w_wcslen = yes; then
35382
35383 WCHAR_LINK=" -lw"
35384 WCSLEN_FOUND=1
35385
35386 fi
35387
35388 fi
35389 fi
35390
35391 if test "$WCSLEN_FOUND" = 1; then
35392 cat >>confdefs.h <<\_ACEOF
35393 #define HAVE_WCSLEN 1
35394 _ACEOF
35395
35396 fi
35397
35398
35399
35400
35401
35402
35403 for ac_func in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
35404 do
35405 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35406 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35408 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35409 echo $ECHO_N "(cached) $ECHO_C" >&6
35410 else
35411 cat >conftest.$ac_ext <<_ACEOF
35412 /* confdefs.h. */
35413 _ACEOF
35414 cat confdefs.h >>conftest.$ac_ext
35415 cat >>conftest.$ac_ext <<_ACEOF
35416 /* end confdefs.h. */
35417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35419 #define $ac_func innocuous_$ac_func
35420
35421 /* System header to define __stub macros and hopefully few prototypes,
35422 which can conflict with char $ac_func (); below.
35423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35424 <limits.h> exists even on freestanding compilers. */
35425
35426 #ifdef __STDC__
35427 # include <limits.h>
35428 #else
35429 # include <assert.h>
35430 #endif
35431
35432 #undef $ac_func
35433
35434 /* Override any GCC internal prototype to avoid an error.
35435 Use char because int might match the return type of a GCC
35436 builtin and then its argument prototype would still apply. */
35437 #ifdef __cplusplus
35438 extern "C"
35439 #endif
35440 char $ac_func ();
35441 /* The GNU C library defines this for functions which it implements
35442 to always fail with ENOSYS. Some functions are actually named
35443 something starting with __ and the normal name is an alias. */
35444 #if defined __stub_$ac_func || defined __stub___$ac_func
35445 choke me
35446 #endif
35447
35448 int
35449 main ()
35450 {
35451 return $ac_func ();
35452 ;
35453 return 0;
35454 }
35455 _ACEOF
35456 rm -f conftest.$ac_objext conftest$ac_exeext
35457 if { (ac_try="$ac_link"
35458 case "(($ac_try" in
35459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35460 *) ac_try_echo=$ac_try;;
35461 esac
35462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35463 (eval "$ac_link") 2>conftest.er1
35464 ac_status=$?
35465 grep -v '^ *+' conftest.er1 >conftest.err
35466 rm -f conftest.er1
35467 cat conftest.err >&5
35468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35469 (exit $ac_status); } && {
35470 test -z "$ac_c_werror_flag" ||
35471 test ! -s conftest.err
35472 } && test -s conftest$ac_exeext &&
35473 $as_test_x conftest$ac_exeext; then
35474 eval "$as_ac_var=yes"
35475 else
35476 echo "$as_me: failed program was:" >&5
35477 sed 's/^/| /' conftest.$ac_ext >&5
35478
35479 eval "$as_ac_var=no"
35480 fi
35481
35482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35483 conftest$ac_exeext conftest.$ac_ext
35484 fi
35485 ac_res=`eval echo '${'$as_ac_var'}'`
35486 { echo "$as_me:$LINENO: result: $ac_res" >&5
35487 echo "${ECHO_T}$ac_res" >&6; }
35488 if test `eval echo '${'$as_ac_var'}'` = yes; then
35489 cat >>confdefs.h <<_ACEOF
35490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35491 _ACEOF
35492
35493 fi
35494 done
35495
35496
35497 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35498 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35499 fi
35500
35501 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35502 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35503 if test "${ac_cv_type_mbstate_t+set}" = set; then
35504 echo $ECHO_N "(cached) $ECHO_C" >&6
35505 else
35506 cat >conftest.$ac_ext <<_ACEOF
35507 /* confdefs.h. */
35508 _ACEOF
35509 cat confdefs.h >>conftest.$ac_ext
35510 cat >>conftest.$ac_ext <<_ACEOF
35511 /* end confdefs.h. */
35512 #include <wchar.h>
35513
35514 typedef mbstate_t ac__type_new_;
35515 int
35516 main ()
35517 {
35518 if ((ac__type_new_ *) 0)
35519 return 0;
35520 if (sizeof (ac__type_new_))
35521 return 0;
35522 ;
35523 return 0;
35524 }
35525 _ACEOF
35526 rm -f conftest.$ac_objext
35527 if { (ac_try="$ac_compile"
35528 case "(($ac_try" in
35529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35530 *) ac_try_echo=$ac_try;;
35531 esac
35532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35533 (eval "$ac_compile") 2>conftest.er1
35534 ac_status=$?
35535 grep -v '^ *+' conftest.er1 >conftest.err
35536 rm -f conftest.er1
35537 cat conftest.err >&5
35538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35539 (exit $ac_status); } && {
35540 test -z "$ac_c_werror_flag" ||
35541 test ! -s conftest.err
35542 } && test -s conftest.$ac_objext; then
35543 ac_cv_type_mbstate_t=yes
35544 else
35545 echo "$as_me: failed program was:" >&5
35546 sed 's/^/| /' conftest.$ac_ext >&5
35547
35548 ac_cv_type_mbstate_t=no
35549 fi
35550
35551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35552 fi
35553 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35554 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35555 if test $ac_cv_type_mbstate_t = yes; then
35556
35557 cat >>confdefs.h <<_ACEOF
35558 #define HAVE_MBSTATE_T 1
35559 _ACEOF
35560
35561
35562 for ac_func in wcsrtombs
35563 do
35564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35565 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35567 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35568 echo $ECHO_N "(cached) $ECHO_C" >&6
35569 else
35570 cat >conftest.$ac_ext <<_ACEOF
35571 /* confdefs.h. */
35572 _ACEOF
35573 cat confdefs.h >>conftest.$ac_ext
35574 cat >>conftest.$ac_ext <<_ACEOF
35575 /* end confdefs.h. */
35576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35578 #define $ac_func innocuous_$ac_func
35579
35580 /* System header to define __stub macros and hopefully few prototypes,
35581 which can conflict with char $ac_func (); below.
35582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35583 <limits.h> exists even on freestanding compilers. */
35584
35585 #ifdef __STDC__
35586 # include <limits.h>
35587 #else
35588 # include <assert.h>
35589 #endif
35590
35591 #undef $ac_func
35592
35593 /* Override any GCC internal prototype to avoid an error.
35594 Use char because int might match the return type of a GCC
35595 builtin and then its argument prototype would still apply. */
35596 #ifdef __cplusplus
35597 extern "C"
35598 #endif
35599 char $ac_func ();
35600 /* The GNU C library defines this for functions which it implements
35601 to always fail with ENOSYS. Some functions are actually named
35602 something starting with __ and the normal name is an alias. */
35603 #if defined __stub_$ac_func || defined __stub___$ac_func
35604 choke me
35605 #endif
35606
35607 int
35608 main ()
35609 {
35610 return $ac_func ();
35611 ;
35612 return 0;
35613 }
35614 _ACEOF
35615 rm -f conftest.$ac_objext conftest$ac_exeext
35616 if { (ac_try="$ac_link"
35617 case "(($ac_try" in
35618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35619 *) ac_try_echo=$ac_try;;
35620 esac
35621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35622 (eval "$ac_link") 2>conftest.er1
35623 ac_status=$?
35624 grep -v '^ *+' conftest.er1 >conftest.err
35625 rm -f conftest.er1
35626 cat conftest.err >&5
35627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35628 (exit $ac_status); } && {
35629 test -z "$ac_c_werror_flag" ||
35630 test ! -s conftest.err
35631 } && test -s conftest$ac_exeext &&
35632 $as_test_x conftest$ac_exeext; then
35633 eval "$as_ac_var=yes"
35634 else
35635 echo "$as_me: failed program was:" >&5
35636 sed 's/^/| /' conftest.$ac_ext >&5
35637
35638 eval "$as_ac_var=no"
35639 fi
35640
35641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35642 conftest$ac_exeext conftest.$ac_ext
35643 fi
35644 ac_res=`eval echo '${'$as_ac_var'}'`
35645 { echo "$as_me:$LINENO: result: $ac_res" >&5
35646 echo "${ECHO_T}$ac_res" >&6; }
35647 if test `eval echo '${'$as_ac_var'}'` = yes; then
35648 cat >>confdefs.h <<_ACEOF
35649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35650 _ACEOF
35651
35652 fi
35653 done
35654
35655 fi
35656
35657 else
35658 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35659 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35660 fi
35661
35662
35663
35664
35665 for ac_func in snprintf vsnprintf vsscanf
35666 do
35667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35668 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35670 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35671 echo $ECHO_N "(cached) $ECHO_C" >&6
35672 else
35673 cat >conftest.$ac_ext <<_ACEOF
35674 /* confdefs.h. */
35675 _ACEOF
35676 cat confdefs.h >>conftest.$ac_ext
35677 cat >>conftest.$ac_ext <<_ACEOF
35678 /* end confdefs.h. */
35679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35681 #define $ac_func innocuous_$ac_func
35682
35683 /* System header to define __stub macros and hopefully few prototypes,
35684 which can conflict with char $ac_func (); below.
35685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35686 <limits.h> exists even on freestanding compilers. */
35687
35688 #ifdef __STDC__
35689 # include <limits.h>
35690 #else
35691 # include <assert.h>
35692 #endif
35693
35694 #undef $ac_func
35695
35696 /* Override any GCC internal prototype to avoid an error.
35697 Use char because int might match the return type of a GCC
35698 builtin and then its argument prototype would still apply. */
35699 #ifdef __cplusplus
35700 extern "C"
35701 #endif
35702 char $ac_func ();
35703 /* The GNU C library defines this for functions which it implements
35704 to always fail with ENOSYS. Some functions are actually named
35705 something starting with __ and the normal name is an alias. */
35706 #if defined __stub_$ac_func || defined __stub___$ac_func
35707 choke me
35708 #endif
35709
35710 int
35711 main ()
35712 {
35713 return $ac_func ();
35714 ;
35715 return 0;
35716 }
35717 _ACEOF
35718 rm -f conftest.$ac_objext conftest$ac_exeext
35719 if { (ac_try="$ac_link"
35720 case "(($ac_try" in
35721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35722 *) ac_try_echo=$ac_try;;
35723 esac
35724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35725 (eval "$ac_link") 2>conftest.er1
35726 ac_status=$?
35727 grep -v '^ *+' conftest.er1 >conftest.err
35728 rm -f conftest.er1
35729 cat conftest.err >&5
35730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35731 (exit $ac_status); } && {
35732 test -z "$ac_c_werror_flag" ||
35733 test ! -s conftest.err
35734 } && test -s conftest$ac_exeext &&
35735 $as_test_x conftest$ac_exeext; then
35736 eval "$as_ac_var=yes"
35737 else
35738 echo "$as_me: failed program was:" >&5
35739 sed 's/^/| /' conftest.$ac_ext >&5
35740
35741 eval "$as_ac_var=no"
35742 fi
35743
35744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35745 conftest$ac_exeext conftest.$ac_ext
35746 fi
35747 ac_res=`eval echo '${'$as_ac_var'}'`
35748 { echo "$as_me:$LINENO: result: $ac_res" >&5
35749 echo "${ECHO_T}$ac_res" >&6; }
35750 if test `eval echo '${'$as_ac_var'}'` = yes; then
35751 cat >>confdefs.h <<_ACEOF
35752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35753 _ACEOF
35754
35755 fi
35756 done
35757
35758
35759 ac_ext=cpp
35760 ac_cpp='$CXXCPP $CPPFLAGS'
35761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35764
35765 if test "$ac_cv_func_vsnprintf" = "yes"; then
35766 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35767 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35768 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35769 echo $ECHO_N "(cached) $ECHO_C" >&6
35770 else
35771
35772 cat >conftest.$ac_ext <<_ACEOF
35773 /* confdefs.h. */
35774 _ACEOF
35775 cat confdefs.h >>conftest.$ac_ext
35776 cat >>conftest.$ac_ext <<_ACEOF
35777 /* end confdefs.h. */
35778
35779 #include <stdio.h>
35780 #include <stdarg.h>
35781 #ifdef __MSL__
35782 #if __MSL__ >= 0x6000
35783 namespace std {}
35784 using namespace std;
35785 #endif
35786 #endif
35787
35788 int
35789 main ()
35790 {
35791
35792 char *buf;
35793 va_list ap;
35794 vsnprintf(buf, 10u, "%s", ap);
35795
35796 ;
35797 return 0;
35798 }
35799 _ACEOF
35800 rm -f conftest.$ac_objext
35801 if { (ac_try="$ac_compile"
35802 case "(($ac_try" in
35803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35804 *) ac_try_echo=$ac_try;;
35805 esac
35806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35807 (eval "$ac_compile") 2>conftest.er1
35808 ac_status=$?
35809 grep -v '^ *+' conftest.er1 >conftest.err
35810 rm -f conftest.er1
35811 cat conftest.err >&5
35812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35813 (exit $ac_status); } && {
35814 test -z "$ac_cxx_werror_flag" ||
35815 test ! -s conftest.err
35816 } && test -s conftest.$ac_objext; then
35817 wx_cv_func_vsnprintf_decl=yes
35818 else
35819 echo "$as_me: failed program was:" >&5
35820 sed 's/^/| /' conftest.$ac_ext >&5
35821
35822 wx_cv_func_vsnprintf_decl=no
35823
35824 fi
35825
35826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35827
35828
35829 fi
35830 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35831 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35832
35833 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35834 cat >>confdefs.h <<\_ACEOF
35835 #define HAVE_VSNPRINTF_DECL 1
35836 _ACEOF
35837
35838
35839 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35840 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35841 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35842 echo $ECHO_N "(cached) $ECHO_C" >&6
35843 else
35844
35845 cat >conftest.$ac_ext <<_ACEOF
35846 /* confdefs.h. */
35847 _ACEOF
35848 cat confdefs.h >>conftest.$ac_ext
35849 cat >>conftest.$ac_ext <<_ACEOF
35850 /* end confdefs.h. */
35851
35852 #include <stdio.h>
35853 #include <stdarg.h>
35854 #ifdef __MSL__
35855 #if __MSL__ >= 0x6000
35856 namespace std {}
35857 using namespace std;
35858 #endif
35859 #endif
35860
35861 int
35862 main ()
35863 {
35864
35865 char *buf;
35866 va_list ap;
35867 const char *fmt = "%s";
35868 vsnprintf(buf, 10u, fmt, ap);
35869
35870 ;
35871 return 0;
35872 }
35873 _ACEOF
35874 rm -f conftest.$ac_objext
35875 if { (ac_try="$ac_compile"
35876 case "(($ac_try" in
35877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35878 *) ac_try_echo=$ac_try;;
35879 esac
35880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35881 (eval "$ac_compile") 2>conftest.er1
35882 ac_status=$?
35883 grep -v '^ *+' conftest.er1 >conftest.err
35884 rm -f conftest.er1
35885 cat conftest.err >&5
35886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35887 (exit $ac_status); } && {
35888 test -z "$ac_cxx_werror_flag" ||
35889 test ! -s conftest.err
35890 } && test -s conftest.$ac_objext; then
35891 wx_cv_func_broken_vsnprintf_decl=no
35892 else
35893 echo "$as_me: failed program was:" >&5
35894 sed 's/^/| /' conftest.$ac_ext >&5
35895
35896 wx_cv_func_broken_vsnprintf_decl=yes
35897
35898 fi
35899
35900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35901
35902
35903 fi
35904 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35905 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35906
35907 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35908 cat >>confdefs.h <<\_ACEOF
35909 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35910 _ACEOF
35911
35912 fi
35913 fi
35914 fi
35915
35916 if test "$ac_cv_func_snprintf" = "yes"; then
35917 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35918 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35919 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35920 echo $ECHO_N "(cached) $ECHO_C" >&6
35921 else
35922
35923 cat >conftest.$ac_ext <<_ACEOF
35924 /* confdefs.h. */
35925 _ACEOF
35926 cat confdefs.h >>conftest.$ac_ext
35927 cat >>conftest.$ac_ext <<_ACEOF
35928 /* end confdefs.h. */
35929
35930 #include <stdio.h>
35931 #include <stdarg.h>
35932 #ifdef __MSL__
35933 #if __MSL__ >= 0x6000
35934 namespace std {}
35935 using namespace std;
35936 #endif
35937 #endif
35938
35939 int
35940 main ()
35941 {
35942
35943 char *buf;
35944 snprintf(buf, 10u, "%s", "wx");
35945
35946 ;
35947 return 0;
35948 }
35949 _ACEOF
35950 rm -f conftest.$ac_objext
35951 if { (ac_try="$ac_compile"
35952 case "(($ac_try" in
35953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35954 *) ac_try_echo=$ac_try;;
35955 esac
35956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35957 (eval "$ac_compile") 2>conftest.er1
35958 ac_status=$?
35959 grep -v '^ *+' conftest.er1 >conftest.err
35960 rm -f conftest.er1
35961 cat conftest.err >&5
35962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35963 (exit $ac_status); } && {
35964 test -z "$ac_cxx_werror_flag" ||
35965 test ! -s conftest.err
35966 } && test -s conftest.$ac_objext; then
35967 wx_cv_func_snprintf_decl=yes
35968 else
35969 echo "$as_me: failed program was:" >&5
35970 sed 's/^/| /' conftest.$ac_ext >&5
35971
35972 wx_cv_func_snprintf_decl=no
35973
35974 fi
35975
35976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35977
35978
35979 fi
35980 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35981 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35982
35983 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35984 cat >>confdefs.h <<\_ACEOF
35985 #define HAVE_SNPRINTF_DECL 1
35986 _ACEOF
35987
35988 fi
35989
35990 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35991
35992 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35993 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35994 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35995 echo $ECHO_N "(cached) $ECHO_C" >&6
35996 else
35997
35998 if test "$cross_compiling" = yes; then
35999
36000 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
36001 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
36002 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
36003 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
36004 wx_cv_func_snprintf_pos_params=no
36005
36006
36007 else
36008 cat >conftest.$ac_ext <<_ACEOF
36009 /* confdefs.h. */
36010 _ACEOF
36011 cat confdefs.h >>conftest.$ac_ext
36012 cat >>conftest.$ac_ext <<_ACEOF
36013 /* end confdefs.h. */
36014
36015 #include <stdio.h>
36016
36017 int main (void)
36018 {
36019 char buffer[128];
36020 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
36021 if (strcmp ("2 3 1", buffer) == 0)
36022 exit (0);
36023 exit (1);
36024 }
36025
36026 _ACEOF
36027 rm -f conftest$ac_exeext
36028 if { (ac_try="$ac_link"
36029 case "(($ac_try" in
36030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36031 *) ac_try_echo=$ac_try;;
36032 esac
36033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36034 (eval "$ac_link") 2>&5
36035 ac_status=$?
36036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36037 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
36038 { (case "(($ac_try" in
36039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36040 *) ac_try_echo=$ac_try;;
36041 esac
36042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36043 (eval "$ac_try") 2>&5
36044 ac_status=$?
36045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36046 (exit $ac_status); }; }; then
36047 wx_cv_func_snprintf_pos_params=no
36048 else
36049 echo "$as_me: program exited with status $ac_status" >&5
36050 echo "$as_me: failed program was:" >&5
36051 sed 's/^/| /' conftest.$ac_ext >&5
36052
36053 ( exit $ac_status )
36054 wx_cv_func_snprintf_pos_params=yes
36055 fi
36056 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36057 fi
36058
36059
36060
36061
36062 fi
36063 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
36064 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
36065
36066 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
36067 cat >>confdefs.h <<\_ACEOF
36068 #define HAVE_UNIX98_PRINTF 1
36069 _ACEOF
36070
36071 fi
36072 fi
36073 fi
36074
36075 if test "$ac_cv_func_vsscanf" = "yes"; then
36076 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
36077 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
36078 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
36079 echo $ECHO_N "(cached) $ECHO_C" >&6
36080 else
36081
36082 cat >conftest.$ac_ext <<_ACEOF
36083 /* confdefs.h. */
36084 _ACEOF
36085 cat confdefs.h >>conftest.$ac_ext
36086 cat >>conftest.$ac_ext <<_ACEOF
36087 /* end confdefs.h. */
36088
36089 #include <stdio.h>
36090 #include <stdarg.h>
36091 #ifdef __MSL__
36092 #if __MSL__ >= 0x6000
36093 namespace std {}
36094 using namespace std;
36095 #endif
36096 #endif
36097
36098 int
36099 main ()
36100 {
36101
36102 char *buf;
36103 va_list args;
36104 vsscanf(buf, "%s", args);
36105
36106 ;
36107 return 0;
36108 }
36109 _ACEOF
36110 rm -f conftest.$ac_objext
36111 if { (ac_try="$ac_compile"
36112 case "(($ac_try" in
36113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36114 *) ac_try_echo=$ac_try;;
36115 esac
36116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36117 (eval "$ac_compile") 2>conftest.er1
36118 ac_status=$?
36119 grep -v '^ *+' conftest.er1 >conftest.err
36120 rm -f conftest.er1
36121 cat conftest.err >&5
36122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36123 (exit $ac_status); } && {
36124 test -z "$ac_cxx_werror_flag" ||
36125 test ! -s conftest.err
36126 } && test -s conftest.$ac_objext; then
36127 wx_cv_func_vsscanf_decl=yes
36128 else
36129 echo "$as_me: failed program was:" >&5
36130 sed 's/^/| /' conftest.$ac_ext >&5
36131
36132 wx_cv_func_vsscanf_decl=no
36133
36134 fi
36135
36136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36137
36138
36139 fi
36140 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
36141 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
36142
36143 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
36144 cat >>confdefs.h <<\_ACEOF
36145 #define HAVE_VSSCANF_DECL 1
36146 _ACEOF
36147
36148 fi
36149 fi
36150 ac_ext=c
36151 ac_cpp='$CPP $CPPFLAGS'
36152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36155
36156
36157 if test "$wxUSE_UNICODE" = yes; then
36158
36159 wchar_headers="#include <stdio.h>
36160 #include <wchar.h>"
36161 case "${host}" in
36162 *-*-solaris2* )
36163
36164 for ac_header in widec.h
36165 do
36166 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36167 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36169 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36170 echo $ECHO_N "(cached) $ECHO_C" >&6
36171 else
36172 cat >conftest.$ac_ext <<_ACEOF
36173 /* confdefs.h. */
36174 _ACEOF
36175 cat confdefs.h >>conftest.$ac_ext
36176 cat >>conftest.$ac_ext <<_ACEOF
36177 /* end confdefs.h. */
36178 $ac_includes_default
36179
36180 #include <$ac_header>
36181 _ACEOF
36182 rm -f conftest.$ac_objext
36183 if { (ac_try="$ac_compile"
36184 case "(($ac_try" in
36185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36186 *) ac_try_echo=$ac_try;;
36187 esac
36188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36189 (eval "$ac_compile") 2>conftest.er1
36190 ac_status=$?
36191 grep -v '^ *+' conftest.er1 >conftest.err
36192 rm -f conftest.er1
36193 cat conftest.err >&5
36194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36195 (exit $ac_status); } && {
36196 test -z "$ac_c_werror_flag" ||
36197 test ! -s conftest.err
36198 } && test -s conftest.$ac_objext; then
36199 eval "$as_ac_Header=yes"
36200 else
36201 echo "$as_me: failed program was:" >&5
36202 sed 's/^/| /' conftest.$ac_ext >&5
36203
36204 eval "$as_ac_Header=no"
36205 fi
36206
36207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36208 fi
36209 ac_res=`eval echo '${'$as_ac_Header'}'`
36210 { echo "$as_me:$LINENO: result: $ac_res" >&5
36211 echo "${ECHO_T}$ac_res" >&6; }
36212 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36213 cat >>confdefs.h <<_ACEOF
36214 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36215 _ACEOF
36216
36217 fi
36218
36219 done
36220
36221 if test "$ac_cv_header_widec_h" = "yes"; then
36222 wchar_headers="$wchar_headers
36223 #include <widec.h>"
36224 fi
36225 esac
36226
36227
36228 for wx_func in putws fputws wprintf vswprintf vswscanf
36229 do
36230 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36231 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36232 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36233 echo $ECHO_N "(cached) $ECHO_C" >&6
36234 else
36235
36236 cat >conftest.$ac_ext <<_ACEOF
36237
36238 /* confdefs.h. */
36239 _ACEOF
36240 cat confdefs.h >>conftest.$ac_ext
36241 cat >>conftest.$ac_ext <<_ACEOF
36242 /* end confdefs.h. */
36243
36244 $wchar_headers
36245 $ac_includes_default
36246
36247 int
36248 main ()
36249 {
36250
36251 #ifndef $wx_func
36252 &$wx_func;
36253 #endif
36254
36255
36256 ;
36257 return 0;
36258 }
36259
36260 _ACEOF
36261 rm -f conftest.$ac_objext conftest$ac_exeext
36262 if { (ac_try="$ac_link"
36263 case "(($ac_try" in
36264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36265 *) ac_try_echo=$ac_try;;
36266 esac
36267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36268 (eval "$ac_link") 2>conftest.er1
36269 ac_status=$?
36270 grep -v '^ *+' conftest.er1 >conftest.err
36271 rm -f conftest.er1
36272 cat conftest.err >&5
36273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36274 (exit $ac_status); } && {
36275 test -z "$ac_c_werror_flag" ||
36276 test ! -s conftest.err
36277 } && test -s conftest$ac_exeext &&
36278 $as_test_x conftest$ac_exeext; then
36279 eval wx_cv_func_$wx_func=yes
36280 else
36281 echo "$as_me: failed program was:" >&5
36282 sed 's/^/| /' conftest.$ac_ext >&5
36283
36284 eval wx_cv_func_$wx_func=no
36285 fi
36286
36287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36288 conftest$ac_exeext conftest.$ac_ext
36289
36290 fi
36291 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36292 { echo "$as_me:$LINENO: result: $ac_res" >&5
36293 echo "${ECHO_T}$ac_res" >&6; }
36294
36295 if eval test \$wx_cv_func_$wx_func = yes
36296 then
36297 cat >>confdefs.h <<_ACEOF
36298 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36299 _ACEOF
36300
36301
36302 else
36303 :
36304
36305 fi
36306 done
36307
36308
36309 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36310 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
36311 cat >conftest.$ac_ext <<_ACEOF
36312 /* confdefs.h. */
36313 _ACEOF
36314 cat confdefs.h >>conftest.$ac_ext
36315 cat >>conftest.$ac_ext <<_ACEOF
36316 /* end confdefs.h. */
36317 #include <wchar.h>
36318 int
36319 main ()
36320 {
36321 &_vsnwprintf;
36322 ;
36323 return 0;
36324 }
36325 _ACEOF
36326 rm -f conftest.$ac_objext
36327 if { (ac_try="$ac_compile"
36328 case "(($ac_try" in
36329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36330 *) ac_try_echo=$ac_try;;
36331 esac
36332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36333 (eval "$ac_compile") 2>conftest.er1
36334 ac_status=$?
36335 grep -v '^ *+' conftest.er1 >conftest.err
36336 rm -f conftest.er1
36337 cat conftest.err >&5
36338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36339 (exit $ac_status); } && {
36340 test -z "$ac_c_werror_flag" ||
36341 test ! -s conftest.err
36342 } && test -s conftest.$ac_objext; then
36343 { echo "$as_me:$LINENO: result: yes" >&5
36344 echo "${ECHO_T}yes" >&6; }
36345 cat >>confdefs.h <<\_ACEOF
36346 #define HAVE__VSNWPRINTF 1
36347 _ACEOF
36348
36349 else
36350 echo "$as_me: failed program was:" >&5
36351 sed 's/^/| /' conftest.$ac_ext >&5
36352
36353 { echo "$as_me:$LINENO: result: no" >&5
36354 echo "${ECHO_T}no" >&6; }
36355 fi
36356
36357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
36358 fi
36359
36360 if test "$wxUSE_FILE" = "yes"; then
36361
36362 for wx_func in fsync
36363 do
36364 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36365 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36366 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36367 echo $ECHO_N "(cached) $ECHO_C" >&6
36368 else
36369
36370 cat >conftest.$ac_ext <<_ACEOF
36371
36372 /* confdefs.h. */
36373 _ACEOF
36374 cat confdefs.h >>conftest.$ac_ext
36375 cat >>conftest.$ac_ext <<_ACEOF
36376 /* end confdefs.h. */
36377
36378
36379 $ac_includes_default
36380
36381 int
36382 main ()
36383 {
36384
36385 #ifndef $wx_func
36386 &$wx_func;
36387 #endif
36388
36389
36390 ;
36391 return 0;
36392 }
36393
36394 _ACEOF
36395 rm -f conftest.$ac_objext conftest$ac_exeext
36396 if { (ac_try="$ac_link"
36397 case "(($ac_try" in
36398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36399 *) ac_try_echo=$ac_try;;
36400 esac
36401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36402 (eval "$ac_link") 2>conftest.er1
36403 ac_status=$?
36404 grep -v '^ *+' conftest.er1 >conftest.err
36405 rm -f conftest.er1
36406 cat conftest.err >&5
36407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36408 (exit $ac_status); } && {
36409 test -z "$ac_c_werror_flag" ||
36410 test ! -s conftest.err
36411 } && test -s conftest$ac_exeext &&
36412 $as_test_x conftest$ac_exeext; then
36413 eval wx_cv_func_$wx_func=yes
36414 else
36415 echo "$as_me: failed program was:" >&5
36416 sed 's/^/| /' conftest.$ac_ext >&5
36417
36418 eval wx_cv_func_$wx_func=no
36419 fi
36420
36421 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36422 conftest$ac_exeext conftest.$ac_ext
36423
36424 fi
36425 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36426 { echo "$as_me:$LINENO: result: $ac_res" >&5
36427 echo "${ECHO_T}$ac_res" >&6; }
36428
36429 if eval test \$wx_cv_func_$wx_func = yes
36430 then
36431 cat >>confdefs.h <<_ACEOF
36432 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36433 _ACEOF
36434
36435
36436 else
36437 :
36438
36439 fi
36440 done
36441
36442 fi
36443
36444 ac_ext=cpp
36445 ac_cpp='$CXXCPP $CPPFLAGS'
36446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36449
36450
36451 for wx_func in round
36452 do
36453 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36454 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36455 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36456 echo $ECHO_N "(cached) $ECHO_C" >&6
36457 else
36458
36459 cat >conftest.$ac_ext <<_ACEOF
36460
36461 /* confdefs.h. */
36462 _ACEOF
36463 cat confdefs.h >>conftest.$ac_ext
36464 cat >>conftest.$ac_ext <<_ACEOF
36465 /* end confdefs.h. */
36466
36467 #include <math.h>
36468 $ac_includes_default
36469
36470 int
36471 main ()
36472 {
36473
36474 #ifndef $wx_func
36475 &$wx_func;
36476 #endif
36477
36478
36479 ;
36480 return 0;
36481 }
36482
36483 _ACEOF
36484 rm -f conftest.$ac_objext conftest$ac_exeext
36485 if { (ac_try="$ac_link"
36486 case "(($ac_try" in
36487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36488 *) ac_try_echo=$ac_try;;
36489 esac
36490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36491 (eval "$ac_link") 2>conftest.er1
36492 ac_status=$?
36493 grep -v '^ *+' conftest.er1 >conftest.err
36494 rm -f conftest.er1
36495 cat conftest.err >&5
36496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36497 (exit $ac_status); } && {
36498 test -z "$ac_cxx_werror_flag" ||
36499 test ! -s conftest.err
36500 } && test -s conftest$ac_exeext &&
36501 $as_test_x conftest$ac_exeext; then
36502 eval wx_cv_func_$wx_func=yes
36503 else
36504 echo "$as_me: failed program was:" >&5
36505 sed 's/^/| /' conftest.$ac_ext >&5
36506
36507 eval wx_cv_func_$wx_func=no
36508 fi
36509
36510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36511 conftest$ac_exeext conftest.$ac_ext
36512
36513 fi
36514 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36515 { echo "$as_me:$LINENO: result: $ac_res" >&5
36516 echo "${ECHO_T}$ac_res" >&6; }
36517
36518 if eval test \$wx_cv_func_$wx_func = yes
36519 then
36520 cat >>confdefs.h <<_ACEOF
36521 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36522 _ACEOF
36523
36524
36525 else
36526 :
36527
36528 fi
36529 done
36530
36531 ac_ext=c
36532 ac_cpp='$CPP $CPPFLAGS'
36533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36536
36537
36538 if test "$TOOLKIT" != "MSW"; then
36539
36540 if test "$wxUSE_LIBICONV" != "no" ; then
36541
36542
36543
36544 # Check whether --with-libiconv-prefix was given.
36545 if test "${with_libiconv_prefix+set}" = set; then
36546 withval=$with_libiconv_prefix;
36547 for dir in `echo "$withval" | tr : ' '`; do
36548 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36549 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36550 done
36551
36552 fi
36553
36554
36555 { echo "$as_me:$LINENO: checking for iconv" >&5
36556 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36557 if test "${am_cv_func_iconv+set}" = set; then
36558 echo $ECHO_N "(cached) $ECHO_C" >&6
36559 else
36560
36561 am_cv_func_iconv="no, consider installing GNU libiconv"
36562 am_cv_lib_iconv=no
36563 cat >conftest.$ac_ext <<_ACEOF
36564 /* confdefs.h. */
36565 _ACEOF
36566 cat confdefs.h >>conftest.$ac_ext
36567 cat >>conftest.$ac_ext <<_ACEOF
36568 /* end confdefs.h. */
36569 #include <stdlib.h>
36570 #include <iconv.h>
36571 int
36572 main ()
36573 {
36574 iconv_t cd = iconv_open("","");
36575 iconv(cd,NULL,NULL,NULL,NULL);
36576 iconv_close(cd);
36577 ;
36578 return 0;
36579 }
36580 _ACEOF
36581 rm -f conftest.$ac_objext conftest$ac_exeext
36582 if { (ac_try="$ac_link"
36583 case "(($ac_try" in
36584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36585 *) ac_try_echo=$ac_try;;
36586 esac
36587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36588 (eval "$ac_link") 2>conftest.er1
36589 ac_status=$?
36590 grep -v '^ *+' conftest.er1 >conftest.err
36591 rm -f conftest.er1
36592 cat conftest.err >&5
36593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36594 (exit $ac_status); } && {
36595 test -z "$ac_c_werror_flag" ||
36596 test ! -s conftest.err
36597 } && test -s conftest$ac_exeext &&
36598 $as_test_x conftest$ac_exeext; then
36599 am_cv_func_iconv=yes
36600 else
36601 echo "$as_me: failed program was:" >&5
36602 sed 's/^/| /' conftest.$ac_ext >&5
36603
36604
36605 fi
36606
36607 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36608 conftest$ac_exeext conftest.$ac_ext
36609 if test "$am_cv_func_iconv" != yes; then
36610 am_save_LIBS="$LIBS"
36611 LIBS="$LIBS -liconv"
36612 cat >conftest.$ac_ext <<_ACEOF
36613 /* confdefs.h. */
36614 _ACEOF
36615 cat confdefs.h >>conftest.$ac_ext
36616 cat >>conftest.$ac_ext <<_ACEOF
36617 /* end confdefs.h. */
36618 #include <stdlib.h>
36619 #include <iconv.h>
36620 int
36621 main ()
36622 {
36623 iconv_t cd = iconv_open("","");
36624 iconv(cd,NULL,NULL,NULL,NULL);
36625 iconv_close(cd);
36626 ;
36627 return 0;
36628 }
36629 _ACEOF
36630 rm -f conftest.$ac_objext conftest$ac_exeext
36631 if { (ac_try="$ac_link"
36632 case "(($ac_try" in
36633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36634 *) ac_try_echo=$ac_try;;
36635 esac
36636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36637 (eval "$ac_link") 2>conftest.er1
36638 ac_status=$?
36639 grep -v '^ *+' conftest.er1 >conftest.err
36640 rm -f conftest.er1
36641 cat conftest.err >&5
36642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36643 (exit $ac_status); } && {
36644 test -z "$ac_c_werror_flag" ||
36645 test ! -s conftest.err
36646 } && test -s conftest$ac_exeext &&
36647 $as_test_x conftest$ac_exeext; then
36648 am_cv_lib_iconv=yes
36649 am_cv_func_iconv=yes
36650 else
36651 echo "$as_me: failed program was:" >&5
36652 sed 's/^/| /' conftest.$ac_ext >&5
36653
36654
36655 fi
36656
36657 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36658 conftest$ac_exeext conftest.$ac_ext
36659 LIBS="$am_save_LIBS"
36660 fi
36661
36662 fi
36663 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36664 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36665 if test "$am_cv_func_iconv" = yes; then
36666
36667 cat >>confdefs.h <<\_ACEOF
36668 #define HAVE_ICONV 1
36669 _ACEOF
36670
36671 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36672 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36673 if test "${wx_cv_func_iconv_const+set}" = set; then
36674 echo $ECHO_N "(cached) $ECHO_C" >&6
36675 else
36676 cat >conftest.$ac_ext <<_ACEOF
36677 /* confdefs.h. */
36678 _ACEOF
36679 cat confdefs.h >>conftest.$ac_ext
36680 cat >>conftest.$ac_ext <<_ACEOF
36681 /* end confdefs.h. */
36682
36683 #include <stdlib.h>
36684 #include <iconv.h>
36685 extern
36686 #ifdef __cplusplus
36687 "C"
36688 #endif
36689 #if defined(__STDC__) || defined(__cplusplus)
36690 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36691 #else
36692 size_t iconv();
36693 #endif
36694
36695 int
36696 main ()
36697 {
36698
36699 ;
36700 return 0;
36701 }
36702 _ACEOF
36703 rm -f conftest.$ac_objext
36704 if { (ac_try="$ac_compile"
36705 case "(($ac_try" in
36706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36707 *) ac_try_echo=$ac_try;;
36708 esac
36709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36710 (eval "$ac_compile") 2>conftest.er1
36711 ac_status=$?
36712 grep -v '^ *+' conftest.er1 >conftest.err
36713 rm -f conftest.er1
36714 cat conftest.err >&5
36715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36716 (exit $ac_status); } && {
36717 test -z "$ac_c_werror_flag" ||
36718 test ! -s conftest.err
36719 } && test -s conftest.$ac_objext; then
36720 wx_cv_func_iconv_const="no"
36721 else
36722 echo "$as_me: failed program was:" >&5
36723 sed 's/^/| /' conftest.$ac_ext >&5
36724
36725 wx_cv_func_iconv_const="yes"
36726
36727 fi
36728
36729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36730
36731 fi
36732 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36733 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36734
36735 iconv_const=
36736 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36737 iconv_const="const"
36738 fi
36739
36740
36741 cat >>confdefs.h <<_ACEOF
36742 #define ICONV_CONST $iconv_const
36743 _ACEOF
36744
36745 fi
36746 LIBICONV=
36747 if test "$am_cv_lib_iconv" = yes; then
36748 LIBICONV="-liconv"
36749 fi
36750
36751
36752 LIBS="$LIBICONV $LIBS"
36753 fi
36754
36755 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36756
36757 for ac_func in sigaction
36758 do
36759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36760 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36762 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36763 echo $ECHO_N "(cached) $ECHO_C" >&6
36764 else
36765 cat >conftest.$ac_ext <<_ACEOF
36766 /* confdefs.h. */
36767 _ACEOF
36768 cat confdefs.h >>conftest.$ac_ext
36769 cat >>conftest.$ac_ext <<_ACEOF
36770 /* end confdefs.h. */
36771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36773 #define $ac_func innocuous_$ac_func
36774
36775 /* System header to define __stub macros and hopefully few prototypes,
36776 which can conflict with char $ac_func (); below.
36777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36778 <limits.h> exists even on freestanding compilers. */
36779
36780 #ifdef __STDC__
36781 # include <limits.h>
36782 #else
36783 # include <assert.h>
36784 #endif
36785
36786 #undef $ac_func
36787
36788 /* Override any GCC internal prototype to avoid an error.
36789 Use char because int might match the return type of a GCC
36790 builtin and then its argument prototype would still apply. */
36791 #ifdef __cplusplus
36792 extern "C"
36793 #endif
36794 char $ac_func ();
36795 /* The GNU C library defines this for functions which it implements
36796 to always fail with ENOSYS. Some functions are actually named
36797 something starting with __ and the normal name is an alias. */
36798 #if defined __stub_$ac_func || defined __stub___$ac_func
36799 choke me
36800 #endif
36801
36802 int
36803 main ()
36804 {
36805 return $ac_func ();
36806 ;
36807 return 0;
36808 }
36809 _ACEOF
36810 rm -f conftest.$ac_objext conftest$ac_exeext
36811 if { (ac_try="$ac_link"
36812 case "(($ac_try" in
36813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36814 *) ac_try_echo=$ac_try;;
36815 esac
36816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36817 (eval "$ac_link") 2>conftest.er1
36818 ac_status=$?
36819 grep -v '^ *+' conftest.er1 >conftest.err
36820 rm -f conftest.er1
36821 cat conftest.err >&5
36822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36823 (exit $ac_status); } && {
36824 test -z "$ac_c_werror_flag" ||
36825 test ! -s conftest.err
36826 } && test -s conftest$ac_exeext &&
36827 $as_test_x conftest$ac_exeext; then
36828 eval "$as_ac_var=yes"
36829 else
36830 echo "$as_me: failed program was:" >&5
36831 sed 's/^/| /' conftest.$ac_ext >&5
36832
36833 eval "$as_ac_var=no"
36834 fi
36835
36836 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36837 conftest$ac_exeext conftest.$ac_ext
36838 fi
36839 ac_res=`eval echo '${'$as_ac_var'}'`
36840 { echo "$as_me:$LINENO: result: $ac_res" >&5
36841 echo "${ECHO_T}$ac_res" >&6; }
36842 if test `eval echo '${'$as_ac_var'}'` = yes; then
36843 cat >>confdefs.h <<_ACEOF
36844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36845 _ACEOF
36846
36847 fi
36848 done
36849
36850
36851 if test "$ac_cv_func_sigaction" = "no"; then
36852 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36853 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36854 wxUSE_ON_FATAL_EXCEPTION=no
36855 fi
36856
36857 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36858 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36859 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36860 if test "${wx_cv_type_sa_handler+set}" = set; then
36861 echo $ECHO_N "(cached) $ECHO_C" >&6
36862 else
36863
36864 ac_ext=cpp
36865 ac_cpp='$CXXCPP $CPPFLAGS'
36866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36869
36870 cat >conftest.$ac_ext <<_ACEOF
36871 /* confdefs.h. */
36872 _ACEOF
36873 cat confdefs.h >>conftest.$ac_ext
36874 cat >>conftest.$ac_ext <<_ACEOF
36875 /* end confdefs.h. */
36876 #include <signal.h>
36877 int
36878 main ()
36879 {
36880
36881 extern void testSigHandler(int);
36882
36883 struct sigaction sa;
36884 sa.sa_handler = testSigHandler;
36885
36886 ;
36887 return 0;
36888 }
36889 _ACEOF
36890 rm -f conftest.$ac_objext
36891 if { (ac_try="$ac_compile"
36892 case "(($ac_try" in
36893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36894 *) ac_try_echo=$ac_try;;
36895 esac
36896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36897 (eval "$ac_compile") 2>conftest.er1
36898 ac_status=$?
36899 grep -v '^ *+' conftest.er1 >conftest.err
36900 rm -f conftest.er1
36901 cat conftest.err >&5
36902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36903 (exit $ac_status); } && {
36904 test -z "$ac_cxx_werror_flag" ||
36905 test ! -s conftest.err
36906 } && test -s conftest.$ac_objext; then
36907
36908 wx_cv_type_sa_handler=int
36909
36910 else
36911 echo "$as_me: failed program was:" >&5
36912 sed 's/^/| /' conftest.$ac_ext >&5
36913
36914
36915 wx_cv_type_sa_handler=void
36916
36917 fi
36918
36919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36920 ac_ext=c
36921 ac_cpp='$CPP $CPPFLAGS'
36922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36925
36926
36927 fi
36928 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36929 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36930
36931 cat >>confdefs.h <<_ACEOF
36932 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36933 _ACEOF
36934
36935 fi
36936 fi
36937
36938 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36939 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36940 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36941 if test "${wx_cv_func_backtrace+set}" = set; then
36942 echo $ECHO_N "(cached) $ECHO_C" >&6
36943 else
36944
36945 ac_ext=cpp
36946 ac_cpp='$CXXCPP $CPPFLAGS'
36947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36950
36951 cat >conftest.$ac_ext <<_ACEOF
36952 /* confdefs.h. */
36953 _ACEOF
36954 cat confdefs.h >>conftest.$ac_ext
36955 cat >>conftest.$ac_ext <<_ACEOF
36956 /* end confdefs.h. */
36957 #include <execinfo.h>
36958 int
36959 main ()
36960 {
36961
36962 void *trace[1];
36963 char **messages;
36964
36965 backtrace(trace, 1);
36966 messages = backtrace_symbols(trace, 1);
36967
36968 ;
36969 return 0;
36970 }
36971 _ACEOF
36972 rm -f conftest.$ac_objext
36973 if { (ac_try="$ac_compile"
36974 case "(($ac_try" in
36975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36976 *) ac_try_echo=$ac_try;;
36977 esac
36978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36979 (eval "$ac_compile") 2>conftest.er1
36980 ac_status=$?
36981 grep -v '^ *+' conftest.er1 >conftest.err
36982 rm -f conftest.er1
36983 cat conftest.err >&5
36984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36985 (exit $ac_status); } && {
36986 test -z "$ac_cxx_werror_flag" ||
36987 test ! -s conftest.err
36988 } && test -s conftest.$ac_objext; then
36989 wx_cv_func_backtrace=yes
36990 else
36991 echo "$as_me: failed program was:" >&5
36992 sed 's/^/| /' conftest.$ac_ext >&5
36993
36994 wx_cv_func_backtrace=no
36995
36996 fi
36997
36998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36999 ac_ext=c
37000 ac_cpp='$CPP $CPPFLAGS'
37001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37004
37005
37006
37007 fi
37008 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37009 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
37010
37011
37012 if test "$wx_cv_func_backtrace" = "no"; then
37013 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37014 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37015 wxUSE_STACKWALKER=no
37016 else
37017 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37018 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
37019 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37020 echo $ECHO_N "(cached) $ECHO_C" >&6
37021 else
37022
37023 ac_ext=cpp
37024 ac_cpp='$CXXCPP $CPPFLAGS'
37025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37028
37029 cat >conftest.$ac_ext <<_ACEOF
37030 /* confdefs.h. */
37031 _ACEOF
37032 cat confdefs.h >>conftest.$ac_ext
37033 cat >>conftest.$ac_ext <<_ACEOF
37034 /* end confdefs.h. */
37035 #include <cxxabi.h>
37036 int
37037 main ()
37038 {
37039
37040 int rc;
37041 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37042
37043 ;
37044 return 0;
37045 }
37046 _ACEOF
37047 rm -f conftest.$ac_objext conftest$ac_exeext
37048 if { (ac_try="$ac_link"
37049 case "(($ac_try" in
37050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37051 *) ac_try_echo=$ac_try;;
37052 esac
37053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37054 (eval "$ac_link") 2>conftest.er1
37055 ac_status=$?
37056 grep -v '^ *+' conftest.er1 >conftest.err
37057 rm -f conftest.er1
37058 cat conftest.err >&5
37059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37060 (exit $ac_status); } && {
37061 test -z "$ac_cxx_werror_flag" ||
37062 test ! -s conftest.err
37063 } && test -s conftest$ac_exeext &&
37064 $as_test_x conftest$ac_exeext; then
37065 wx_cv_func_cxa_demangle=yes
37066 else
37067 echo "$as_me: failed program was:" >&5
37068 sed 's/^/| /' conftest.$ac_ext >&5
37069
37070 wx_cv_func_cxa_demangle=no
37071
37072 fi
37073
37074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37075 conftest$ac_exeext conftest.$ac_ext
37076 ac_ext=c
37077 ac_cpp='$CPP $CPPFLAGS'
37078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37081
37082
37083
37084 fi
37085 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37086 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
37087
37088 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37089 cat >>confdefs.h <<\_ACEOF
37090 #define HAVE_CXA_DEMANGLE 1
37091 _ACEOF
37092
37093 fi
37094 fi
37095 fi
37096
37097 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
37098 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37099 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37100 wxUSE_STACKWALKER=no
37101 fi
37102
37103
37104
37105
37106 for ac_func in mkstemp mktemp
37107 do
37108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37109 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37111 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37112 echo $ECHO_N "(cached) $ECHO_C" >&6
37113 else
37114 cat >conftest.$ac_ext <<_ACEOF
37115 /* confdefs.h. */
37116 _ACEOF
37117 cat confdefs.h >>conftest.$ac_ext
37118 cat >>conftest.$ac_ext <<_ACEOF
37119 /* end confdefs.h. */
37120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37122 #define $ac_func innocuous_$ac_func
37123
37124 /* System header to define __stub macros and hopefully few prototypes,
37125 which can conflict with char $ac_func (); below.
37126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37127 <limits.h> exists even on freestanding compilers. */
37128
37129 #ifdef __STDC__
37130 # include <limits.h>
37131 #else
37132 # include <assert.h>
37133 #endif
37134
37135 #undef $ac_func
37136
37137 /* Override any GCC internal prototype to avoid an error.
37138 Use char because int might match the return type of a GCC
37139 builtin and then its argument prototype would still apply. */
37140 #ifdef __cplusplus
37141 extern "C"
37142 #endif
37143 char $ac_func ();
37144 /* The GNU C library defines this for functions which it implements
37145 to always fail with ENOSYS. Some functions are actually named
37146 something starting with __ and the normal name is an alias. */
37147 #if defined __stub_$ac_func || defined __stub___$ac_func
37148 choke me
37149 #endif
37150
37151 int
37152 main ()
37153 {
37154 return $ac_func ();
37155 ;
37156 return 0;
37157 }
37158 _ACEOF
37159 rm -f conftest.$ac_objext conftest$ac_exeext
37160 if { (ac_try="$ac_link"
37161 case "(($ac_try" in
37162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37163 *) ac_try_echo=$ac_try;;
37164 esac
37165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37166 (eval "$ac_link") 2>conftest.er1
37167 ac_status=$?
37168 grep -v '^ *+' conftest.er1 >conftest.err
37169 rm -f conftest.er1
37170 cat conftest.err >&5
37171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37172 (exit $ac_status); } && {
37173 test -z "$ac_c_werror_flag" ||
37174 test ! -s conftest.err
37175 } && test -s conftest$ac_exeext &&
37176 $as_test_x conftest$ac_exeext; then
37177 eval "$as_ac_var=yes"
37178 else
37179 echo "$as_me: failed program was:" >&5
37180 sed 's/^/| /' conftest.$ac_ext >&5
37181
37182 eval "$as_ac_var=no"
37183 fi
37184
37185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37186 conftest$ac_exeext conftest.$ac_ext
37187 fi
37188 ac_res=`eval echo '${'$as_ac_var'}'`
37189 { echo "$as_me:$LINENO: result: $ac_res" >&5
37190 echo "${ECHO_T}$ac_res" >&6; }
37191 if test `eval echo '${'$as_ac_var'}'` = yes; then
37192 cat >>confdefs.h <<_ACEOF
37193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37194 _ACEOF
37195 break
37196 fi
37197 done
37198
37199
37200 { echo "$as_me:$LINENO: checking for statfs" >&5
37201 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
37202 if test "${wx_cv_func_statfs+set}" = set; then
37203 echo $ECHO_N "(cached) $ECHO_C" >&6
37204 else
37205 cat >conftest.$ac_ext <<_ACEOF
37206 /* confdefs.h. */
37207 _ACEOF
37208 cat confdefs.h >>conftest.$ac_ext
37209 cat >>conftest.$ac_ext <<_ACEOF
37210 /* end confdefs.h. */
37211
37212 #if defined(__BSD__)
37213 #include <sys/param.h>
37214 #include <sys/mount.h>
37215 #else
37216 #include <sys/vfs.h>
37217 #endif
37218
37219 int
37220 main ()
37221 {
37222
37223 long l;
37224 struct statfs fs;
37225 statfs("/", &fs);
37226 l = fs.f_bsize;
37227 l += fs.f_blocks;
37228 l += fs.f_bavail;
37229
37230 ;
37231 return 0;
37232 }
37233 _ACEOF
37234 rm -f conftest.$ac_objext
37235 if { (ac_try="$ac_compile"
37236 case "(($ac_try" in
37237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37238 *) ac_try_echo=$ac_try;;
37239 esac
37240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37241 (eval "$ac_compile") 2>conftest.er1
37242 ac_status=$?
37243 grep -v '^ *+' conftest.er1 >conftest.err
37244 rm -f conftest.er1
37245 cat conftest.err >&5
37246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37247 (exit $ac_status); } && {
37248 test -z "$ac_c_werror_flag" ||
37249 test ! -s conftest.err
37250 } && test -s conftest.$ac_objext; then
37251 wx_cv_func_statfs=yes
37252 else
37253 echo "$as_me: failed program was:" >&5
37254 sed 's/^/| /' conftest.$ac_ext >&5
37255
37256 wx_cv_func_statfs=no
37257
37258 fi
37259
37260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37261
37262 fi
37263 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37264 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
37265
37266 if test "$wx_cv_func_statfs" = "yes"; then
37267 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
37268 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
37269 if test "${wx_cv_func_statfs_decl+set}" = set; then
37270 echo $ECHO_N "(cached) $ECHO_C" >&6
37271 else
37272 ac_ext=cpp
37273 ac_cpp='$CXXCPP $CPPFLAGS'
37274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37277
37278 cat >conftest.$ac_ext <<_ACEOF
37279 /* confdefs.h. */
37280 _ACEOF
37281 cat confdefs.h >>conftest.$ac_ext
37282 cat >>conftest.$ac_ext <<_ACEOF
37283 /* end confdefs.h. */
37284
37285 #if defined(__BSD__)
37286 #include <sys/param.h>
37287 #include <sys/mount.h>
37288 #else
37289 #include <sys/vfs.h>
37290 #endif
37291
37292 int
37293 main ()
37294 {
37295
37296 struct statfs fs;
37297 statfs("", &fs);
37298
37299 ;
37300 return 0;
37301 }
37302 _ACEOF
37303 rm -f conftest.$ac_objext
37304 if { (ac_try="$ac_compile"
37305 case "(($ac_try" in
37306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37307 *) ac_try_echo=$ac_try;;
37308 esac
37309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37310 (eval "$ac_compile") 2>conftest.er1
37311 ac_status=$?
37312 grep -v '^ *+' conftest.er1 >conftest.err
37313 rm -f conftest.er1
37314 cat conftest.err >&5
37315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37316 (exit $ac_status); } && {
37317 test -z "$ac_cxx_werror_flag" ||
37318 test ! -s conftest.err
37319 } && test -s conftest.$ac_objext; then
37320 wx_cv_func_statfs_decl=yes
37321 else
37322 echo "$as_me: failed program was:" >&5
37323 sed 's/^/| /' conftest.$ac_ext >&5
37324
37325 wx_cv_func_statfs_decl=no
37326
37327 fi
37328
37329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37330 ac_ext=c
37331 ac_cpp='$CPP $CPPFLAGS'
37332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37335
37336
37337 fi
37338 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37339 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
37340
37341 if test "$wx_cv_func_statfs_decl" = "yes"; then
37342 cat >>confdefs.h <<\_ACEOF
37343 #define HAVE_STATFS_DECL 1
37344 _ACEOF
37345
37346 fi
37347
37348 wx_cv_type_statvfs_t="struct statfs"
37349 cat >>confdefs.h <<\_ACEOF
37350 #define HAVE_STATFS 1
37351 _ACEOF
37352
37353 else
37354 { echo "$as_me:$LINENO: checking for statvfs" >&5
37355 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
37356 if test "${wx_cv_func_statvfs+set}" = set; then
37357 echo $ECHO_N "(cached) $ECHO_C" >&6
37358 else
37359 cat >conftest.$ac_ext <<_ACEOF
37360 /* confdefs.h. */
37361 _ACEOF
37362 cat confdefs.h >>conftest.$ac_ext
37363 cat >>conftest.$ac_ext <<_ACEOF
37364 /* end confdefs.h. */
37365
37366 #include <stddef.h>
37367 #include <sys/statvfs.h>
37368
37369 int
37370 main ()
37371 {
37372
37373 statvfs("/", NULL);
37374
37375 ;
37376 return 0;
37377 }
37378 _ACEOF
37379 rm -f conftest.$ac_objext
37380 if { (ac_try="$ac_compile"
37381 case "(($ac_try" in
37382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37383 *) ac_try_echo=$ac_try;;
37384 esac
37385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37386 (eval "$ac_compile") 2>conftest.er1
37387 ac_status=$?
37388 grep -v '^ *+' conftest.er1 >conftest.err
37389 rm -f conftest.er1
37390 cat conftest.err >&5
37391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37392 (exit $ac_status); } && {
37393 test -z "$ac_c_werror_flag" ||
37394 test ! -s conftest.err
37395 } && test -s conftest.$ac_objext; then
37396 wx_cv_func_statvfs=yes
37397 else
37398 echo "$as_me: failed program was:" >&5
37399 sed 's/^/| /' conftest.$ac_ext >&5
37400
37401 wx_cv_func_statvfs=no
37402
37403 fi
37404
37405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37406
37407 fi
37408 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37409 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
37410
37411 if test "$wx_cv_func_statvfs" = "yes"; then
37412 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37413 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
37414 if test "${wx_cv_type_statvfs_t+set}" = set; then
37415 echo $ECHO_N "(cached) $ECHO_C" >&6
37416 else
37417 ac_ext=cpp
37418 ac_cpp='$CXXCPP $CPPFLAGS'
37419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37422
37423 cat >conftest.$ac_ext <<_ACEOF
37424 /* confdefs.h. */
37425 _ACEOF
37426 cat confdefs.h >>conftest.$ac_ext
37427 cat >>conftest.$ac_ext <<_ACEOF
37428 /* end confdefs.h. */
37429
37430 #include <sys/statvfs.h>
37431
37432 int
37433 main ()
37434 {
37435
37436 long l;
37437 statvfs_t fs;
37438 statvfs("/", &fs);
37439 l = fs.f_bsize;
37440 l += fs.f_blocks;
37441 l += fs.f_bavail;
37442
37443 ;
37444 return 0;
37445 }
37446 _ACEOF
37447 rm -f conftest.$ac_objext
37448 if { (ac_try="$ac_compile"
37449 case "(($ac_try" in
37450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37451 *) ac_try_echo=$ac_try;;
37452 esac
37453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37454 (eval "$ac_compile") 2>conftest.er1
37455 ac_status=$?
37456 grep -v '^ *+' conftest.er1 >conftest.err
37457 rm -f conftest.er1
37458 cat conftest.err >&5
37459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37460 (exit $ac_status); } && {
37461 test -z "$ac_cxx_werror_flag" ||
37462 test ! -s conftest.err
37463 } && test -s conftest.$ac_objext; then
37464 wx_cv_type_statvfs_t=statvfs_t
37465 else
37466 echo "$as_me: failed program was:" >&5
37467 sed 's/^/| /' conftest.$ac_ext >&5
37468
37469
37470 cat >conftest.$ac_ext <<_ACEOF
37471 /* confdefs.h. */
37472 _ACEOF
37473 cat confdefs.h >>conftest.$ac_ext
37474 cat >>conftest.$ac_ext <<_ACEOF
37475 /* end confdefs.h. */
37476
37477 #include <sys/statvfs.h>
37478
37479 int
37480 main ()
37481 {
37482
37483 long l;
37484 struct statvfs fs;
37485 statvfs("/", &fs);
37486 l = fs.f_bsize;
37487 l += fs.f_blocks;
37488 l += fs.f_bavail;
37489
37490 ;
37491 return 0;
37492 }
37493 _ACEOF
37494 rm -f conftest.$ac_objext
37495 if { (ac_try="$ac_compile"
37496 case "(($ac_try" in
37497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37498 *) ac_try_echo=$ac_try;;
37499 esac
37500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37501 (eval "$ac_compile") 2>conftest.er1
37502 ac_status=$?
37503 grep -v '^ *+' conftest.er1 >conftest.err
37504 rm -f conftest.er1
37505 cat conftest.err >&5
37506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37507 (exit $ac_status); } && {
37508 test -z "$ac_cxx_werror_flag" ||
37509 test ! -s conftest.err
37510 } && test -s conftest.$ac_objext; then
37511 wx_cv_type_statvfs_t="struct statvfs"
37512 else
37513 echo "$as_me: failed program was:" >&5
37514 sed 's/^/| /' conftest.$ac_ext >&5
37515
37516 wx_cv_type_statvfs_t="unknown"
37517
37518 fi
37519
37520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37521
37522
37523 fi
37524
37525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37526 ac_ext=c
37527 ac_cpp='$CPP $CPPFLAGS'
37528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37531
37532
37533 fi
37534 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37535 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37536
37537 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37538 cat >>confdefs.h <<\_ACEOF
37539 #define HAVE_STATVFS 1
37540 _ACEOF
37541
37542 fi
37543 else
37544 wx_cv_type_statvfs_t="unknown"
37545 fi
37546 fi
37547
37548 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37549 cat >>confdefs.h <<_ACEOF
37550 #define WX_STATFS_T $wx_cv_type_statvfs_t
37551 _ACEOF
37552
37553 else
37554 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37555 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37556 fi
37557
37558 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37559
37560
37561 for ac_func in fcntl flock
37562 do
37563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37564 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37566 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37567 echo $ECHO_N "(cached) $ECHO_C" >&6
37568 else
37569 cat >conftest.$ac_ext <<_ACEOF
37570 /* confdefs.h. */
37571 _ACEOF
37572 cat confdefs.h >>conftest.$ac_ext
37573 cat >>conftest.$ac_ext <<_ACEOF
37574 /* end confdefs.h. */
37575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37577 #define $ac_func innocuous_$ac_func
37578
37579 /* System header to define __stub macros and hopefully few prototypes,
37580 which can conflict with char $ac_func (); below.
37581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37582 <limits.h> exists even on freestanding compilers. */
37583
37584 #ifdef __STDC__
37585 # include <limits.h>
37586 #else
37587 # include <assert.h>
37588 #endif
37589
37590 #undef $ac_func
37591
37592 /* Override any GCC internal prototype to avoid an error.
37593 Use char because int might match the return type of a GCC
37594 builtin and then its argument prototype would still apply. */
37595 #ifdef __cplusplus
37596 extern "C"
37597 #endif
37598 char $ac_func ();
37599 /* The GNU C library defines this for functions which it implements
37600 to always fail with ENOSYS. Some functions are actually named
37601 something starting with __ and the normal name is an alias. */
37602 #if defined __stub_$ac_func || defined __stub___$ac_func
37603 choke me
37604 #endif
37605
37606 int
37607 main ()
37608 {
37609 return $ac_func ();
37610 ;
37611 return 0;
37612 }
37613 _ACEOF
37614 rm -f conftest.$ac_objext conftest$ac_exeext
37615 if { (ac_try="$ac_link"
37616 case "(($ac_try" in
37617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37618 *) ac_try_echo=$ac_try;;
37619 esac
37620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37621 (eval "$ac_link") 2>conftest.er1
37622 ac_status=$?
37623 grep -v '^ *+' conftest.er1 >conftest.err
37624 rm -f conftest.er1
37625 cat conftest.err >&5
37626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37627 (exit $ac_status); } && {
37628 test -z "$ac_c_werror_flag" ||
37629 test ! -s conftest.err
37630 } && test -s conftest$ac_exeext &&
37631 $as_test_x conftest$ac_exeext; then
37632 eval "$as_ac_var=yes"
37633 else
37634 echo "$as_me: failed program was:" >&5
37635 sed 's/^/| /' conftest.$ac_ext >&5
37636
37637 eval "$as_ac_var=no"
37638 fi
37639
37640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37641 conftest$ac_exeext conftest.$ac_ext
37642 fi
37643 ac_res=`eval echo '${'$as_ac_var'}'`
37644 { echo "$as_me:$LINENO: result: $ac_res" >&5
37645 echo "${ECHO_T}$ac_res" >&6; }
37646 if test `eval echo '${'$as_ac_var'}'` = yes; then
37647 cat >>confdefs.h <<_ACEOF
37648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37649 _ACEOF
37650 break
37651 fi
37652 done
37653
37654
37655 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37656 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37657 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37658 wxUSE_SNGLINST_CHECKER=no
37659 fi
37660 fi
37661
37662
37663
37664 for ac_func in setenv putenv
37665 do
37666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37667 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37669 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37670 echo $ECHO_N "(cached) $ECHO_C" >&6
37671 else
37672 cat >conftest.$ac_ext <<_ACEOF
37673 /* confdefs.h. */
37674 _ACEOF
37675 cat confdefs.h >>conftest.$ac_ext
37676 cat >>conftest.$ac_ext <<_ACEOF
37677 /* end confdefs.h. */
37678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37680 #define $ac_func innocuous_$ac_func
37681
37682 /* System header to define __stub macros and hopefully few prototypes,
37683 which can conflict with char $ac_func (); below.
37684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37685 <limits.h> exists even on freestanding compilers. */
37686
37687 #ifdef __STDC__
37688 # include <limits.h>
37689 #else
37690 # include <assert.h>
37691 #endif
37692
37693 #undef $ac_func
37694
37695 /* Override any GCC internal prototype to avoid an error.
37696 Use char because int might match the return type of a GCC
37697 builtin and then its argument prototype would still apply. */
37698 #ifdef __cplusplus
37699 extern "C"
37700 #endif
37701 char $ac_func ();
37702 /* The GNU C library defines this for functions which it implements
37703 to always fail with ENOSYS. Some functions are actually named
37704 something starting with __ and the normal name is an alias. */
37705 #if defined __stub_$ac_func || defined __stub___$ac_func
37706 choke me
37707 #endif
37708
37709 int
37710 main ()
37711 {
37712 return $ac_func ();
37713 ;
37714 return 0;
37715 }
37716 _ACEOF
37717 rm -f conftest.$ac_objext conftest$ac_exeext
37718 if { (ac_try="$ac_link"
37719 case "(($ac_try" in
37720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37721 *) ac_try_echo=$ac_try;;
37722 esac
37723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37724 (eval "$ac_link") 2>conftest.er1
37725 ac_status=$?
37726 grep -v '^ *+' conftest.er1 >conftest.err
37727 rm -f conftest.er1
37728 cat conftest.err >&5
37729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37730 (exit $ac_status); } && {
37731 test -z "$ac_c_werror_flag" ||
37732 test ! -s conftest.err
37733 } && test -s conftest$ac_exeext &&
37734 $as_test_x conftest$ac_exeext; then
37735 eval "$as_ac_var=yes"
37736 else
37737 echo "$as_me: failed program was:" >&5
37738 sed 's/^/| /' conftest.$ac_ext >&5
37739
37740 eval "$as_ac_var=no"
37741 fi
37742
37743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37744 conftest$ac_exeext conftest.$ac_ext
37745 fi
37746 ac_res=`eval echo '${'$as_ac_var'}'`
37747 { echo "$as_me:$LINENO: result: $ac_res" >&5
37748 echo "${ECHO_T}$ac_res" >&6; }
37749 if test `eval echo '${'$as_ac_var'}'` = yes; then
37750 cat >>confdefs.h <<_ACEOF
37751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37752 _ACEOF
37753 break
37754 fi
37755 done
37756
37757 if test "$ac_cv_func_setenv" = "yes"; then
37758
37759 for ac_func in unsetenv
37760 do
37761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37762 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37764 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37765 echo $ECHO_N "(cached) $ECHO_C" >&6
37766 else
37767 cat >conftest.$ac_ext <<_ACEOF
37768 /* confdefs.h. */
37769 _ACEOF
37770 cat confdefs.h >>conftest.$ac_ext
37771 cat >>conftest.$ac_ext <<_ACEOF
37772 /* end confdefs.h. */
37773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37775 #define $ac_func innocuous_$ac_func
37776
37777 /* System header to define __stub macros and hopefully few prototypes,
37778 which can conflict with char $ac_func (); below.
37779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37780 <limits.h> exists even on freestanding compilers. */
37781
37782 #ifdef __STDC__
37783 # include <limits.h>
37784 #else
37785 # include <assert.h>
37786 #endif
37787
37788 #undef $ac_func
37789
37790 /* Override any GCC internal prototype to avoid an error.
37791 Use char because int might match the return type of a GCC
37792 builtin and then its argument prototype would still apply. */
37793 #ifdef __cplusplus
37794 extern "C"
37795 #endif
37796 char $ac_func ();
37797 /* The GNU C library defines this for functions which it implements
37798 to always fail with ENOSYS. Some functions are actually named
37799 something starting with __ and the normal name is an alias. */
37800 #if defined __stub_$ac_func || defined __stub___$ac_func
37801 choke me
37802 #endif
37803
37804 int
37805 main ()
37806 {
37807 return $ac_func ();
37808 ;
37809 return 0;
37810 }
37811 _ACEOF
37812 rm -f conftest.$ac_objext conftest$ac_exeext
37813 if { (ac_try="$ac_link"
37814 case "(($ac_try" in
37815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37816 *) ac_try_echo=$ac_try;;
37817 esac
37818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37819 (eval "$ac_link") 2>conftest.er1
37820 ac_status=$?
37821 grep -v '^ *+' conftest.er1 >conftest.err
37822 rm -f conftest.er1
37823 cat conftest.err >&5
37824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37825 (exit $ac_status); } && {
37826 test -z "$ac_c_werror_flag" ||
37827 test ! -s conftest.err
37828 } && test -s conftest$ac_exeext &&
37829 $as_test_x conftest$ac_exeext; then
37830 eval "$as_ac_var=yes"
37831 else
37832 echo "$as_me: failed program was:" >&5
37833 sed 's/^/| /' conftest.$ac_ext >&5
37834
37835 eval "$as_ac_var=no"
37836 fi
37837
37838 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37839 conftest$ac_exeext conftest.$ac_ext
37840 fi
37841 ac_res=`eval echo '${'$as_ac_var'}'`
37842 { echo "$as_me:$LINENO: result: $ac_res" >&5
37843 echo "${ECHO_T}$ac_res" >&6; }
37844 if test `eval echo '${'$as_ac_var'}'` = yes; then
37845 cat >>confdefs.h <<_ACEOF
37846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37847 _ACEOF
37848
37849 fi
37850 done
37851
37852 fi
37853
37854 HAVE_SOME_SLEEP_FUNC=0
37855 if test "$USE_BEOS" = 1; then
37856 cat >>confdefs.h <<\_ACEOF
37857 #define HAVE_SLEEP 1
37858 _ACEOF
37859
37860 HAVE_SOME_SLEEP_FUNC=1
37861 fi
37862
37863 if test "$USE_DARWIN" = 1; then
37864 cat >>confdefs.h <<\_ACEOF
37865 #define HAVE_USLEEP 1
37866 _ACEOF
37867
37868 HAVE_SOME_SLEEP_FUNC=1
37869 fi
37870
37871 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37872 POSIX4_LINK=
37873
37874 for ac_func in nanosleep
37875 do
37876 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37877 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37879 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37880 echo $ECHO_N "(cached) $ECHO_C" >&6
37881 else
37882 cat >conftest.$ac_ext <<_ACEOF
37883 /* confdefs.h. */
37884 _ACEOF
37885 cat confdefs.h >>conftest.$ac_ext
37886 cat >>conftest.$ac_ext <<_ACEOF
37887 /* end confdefs.h. */
37888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37890 #define $ac_func innocuous_$ac_func
37891
37892 /* System header to define __stub macros and hopefully few prototypes,
37893 which can conflict with char $ac_func (); below.
37894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37895 <limits.h> exists even on freestanding compilers. */
37896
37897 #ifdef __STDC__
37898 # include <limits.h>
37899 #else
37900 # include <assert.h>
37901 #endif
37902
37903 #undef $ac_func
37904
37905 /* Override any GCC internal prototype to avoid an error.
37906 Use char because int might match the return type of a GCC
37907 builtin and then its argument prototype would still apply. */
37908 #ifdef __cplusplus
37909 extern "C"
37910 #endif
37911 char $ac_func ();
37912 /* The GNU C library defines this for functions which it implements
37913 to always fail with ENOSYS. Some functions are actually named
37914 something starting with __ and the normal name is an alias. */
37915 #if defined __stub_$ac_func || defined __stub___$ac_func
37916 choke me
37917 #endif
37918
37919 int
37920 main ()
37921 {
37922 return $ac_func ();
37923 ;
37924 return 0;
37925 }
37926 _ACEOF
37927 rm -f conftest.$ac_objext conftest$ac_exeext
37928 if { (ac_try="$ac_link"
37929 case "(($ac_try" in
37930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37931 *) ac_try_echo=$ac_try;;
37932 esac
37933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37934 (eval "$ac_link") 2>conftest.er1
37935 ac_status=$?
37936 grep -v '^ *+' conftest.er1 >conftest.err
37937 rm -f conftest.er1
37938 cat conftest.err >&5
37939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37940 (exit $ac_status); } && {
37941 test -z "$ac_c_werror_flag" ||
37942 test ! -s conftest.err
37943 } && test -s conftest$ac_exeext &&
37944 $as_test_x conftest$ac_exeext; then
37945 eval "$as_ac_var=yes"
37946 else
37947 echo "$as_me: failed program was:" >&5
37948 sed 's/^/| /' conftest.$ac_ext >&5
37949
37950 eval "$as_ac_var=no"
37951 fi
37952
37953 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37954 conftest$ac_exeext conftest.$ac_ext
37955 fi
37956 ac_res=`eval echo '${'$as_ac_var'}'`
37957 { echo "$as_me:$LINENO: result: $ac_res" >&5
37958 echo "${ECHO_T}$ac_res" >&6; }
37959 if test `eval echo '${'$as_ac_var'}'` = yes; then
37960 cat >>confdefs.h <<_ACEOF
37961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37962 _ACEOF
37963 cat >>confdefs.h <<\_ACEOF
37964 #define HAVE_NANOSLEEP 1
37965 _ACEOF
37966
37967 else
37968
37969 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37970 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37971 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37972 echo $ECHO_N "(cached) $ECHO_C" >&6
37973 else
37974 ac_check_lib_save_LIBS=$LIBS
37975 LIBS="-lposix4 $LIBS"
37976 cat >conftest.$ac_ext <<_ACEOF
37977 /* confdefs.h. */
37978 _ACEOF
37979 cat confdefs.h >>conftest.$ac_ext
37980 cat >>conftest.$ac_ext <<_ACEOF
37981 /* end confdefs.h. */
37982
37983 /* Override any GCC internal prototype to avoid an error.
37984 Use char because int might match the return type of a GCC
37985 builtin and then its argument prototype would still apply. */
37986 #ifdef __cplusplus
37987 extern "C"
37988 #endif
37989 char nanosleep ();
37990 int
37991 main ()
37992 {
37993 return nanosleep ();
37994 ;
37995 return 0;
37996 }
37997 _ACEOF
37998 rm -f conftest.$ac_objext conftest$ac_exeext
37999 if { (ac_try="$ac_link"
38000 case "(($ac_try" in
38001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38002 *) ac_try_echo=$ac_try;;
38003 esac
38004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38005 (eval "$ac_link") 2>conftest.er1
38006 ac_status=$?
38007 grep -v '^ *+' conftest.er1 >conftest.err
38008 rm -f conftest.er1
38009 cat conftest.err >&5
38010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38011 (exit $ac_status); } && {
38012 test -z "$ac_c_werror_flag" ||
38013 test ! -s conftest.err
38014 } && test -s conftest$ac_exeext &&
38015 $as_test_x conftest$ac_exeext; then
38016 ac_cv_lib_posix4_nanosleep=yes
38017 else
38018 echo "$as_me: failed program was:" >&5
38019 sed 's/^/| /' conftest.$ac_ext >&5
38020
38021 ac_cv_lib_posix4_nanosleep=no
38022 fi
38023
38024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38025 conftest$ac_exeext conftest.$ac_ext
38026 LIBS=$ac_check_lib_save_LIBS
38027 fi
38028 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38029 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
38030 if test $ac_cv_lib_posix4_nanosleep = yes; then
38031
38032 cat >>confdefs.h <<\_ACEOF
38033 #define HAVE_NANOSLEEP 1
38034 _ACEOF
38035
38036 POSIX4_LINK=" -lposix4"
38037
38038 else
38039
38040
38041 for wx_func in usleep
38042 do
38043 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38044 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38045 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38046 echo $ECHO_N "(cached) $ECHO_C" >&6
38047 else
38048
38049 cat >conftest.$ac_ext <<_ACEOF
38050
38051 /* confdefs.h. */
38052 _ACEOF
38053 cat confdefs.h >>conftest.$ac_ext
38054 cat >>conftest.$ac_ext <<_ACEOF
38055 /* end confdefs.h. */
38056
38057
38058 $ac_includes_default
38059
38060 int
38061 main ()
38062 {
38063
38064 #ifndef $wx_func
38065 &$wx_func;
38066 #endif
38067
38068
38069 ;
38070 return 0;
38071 }
38072
38073 _ACEOF
38074 rm -f conftest.$ac_objext conftest$ac_exeext
38075 if { (ac_try="$ac_link"
38076 case "(($ac_try" in
38077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38078 *) ac_try_echo=$ac_try;;
38079 esac
38080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38081 (eval "$ac_link") 2>conftest.er1
38082 ac_status=$?
38083 grep -v '^ *+' conftest.er1 >conftest.err
38084 rm -f conftest.er1
38085 cat conftest.err >&5
38086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38087 (exit $ac_status); } && {
38088 test -z "$ac_c_werror_flag" ||
38089 test ! -s conftest.err
38090 } && test -s conftest$ac_exeext &&
38091 $as_test_x conftest$ac_exeext; then
38092 eval wx_cv_func_$wx_func=yes
38093 else
38094 echo "$as_me: failed program was:" >&5
38095 sed 's/^/| /' conftest.$ac_ext >&5
38096
38097 eval wx_cv_func_$wx_func=no
38098 fi
38099
38100 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38101 conftest$ac_exeext conftest.$ac_ext
38102
38103 fi
38104 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38105 { echo "$as_me:$LINENO: result: $ac_res" >&5
38106 echo "${ECHO_T}$ac_res" >&6; }
38107
38108 if eval test \$wx_cv_func_$wx_func = yes
38109 then
38110 cat >>confdefs.h <<_ACEOF
38111 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38112 _ACEOF
38113
38114
38115 else
38116 :
38117 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38118 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38119
38120 fi
38121 done
38122
38123
38124
38125 fi
38126
38127
38128
38129 fi
38130 done
38131
38132 fi
38133
38134
38135 for wx_func in uname
38136 do
38137 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38138 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38139 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38140 echo $ECHO_N "(cached) $ECHO_C" >&6
38141 else
38142
38143 cat >conftest.$ac_ext <<_ACEOF
38144
38145 /* confdefs.h. */
38146 _ACEOF
38147 cat confdefs.h >>conftest.$ac_ext
38148 cat >>conftest.$ac_ext <<_ACEOF
38149 /* end confdefs.h. */
38150
38151 #include <sys/utsname.h>
38152 $ac_includes_default
38153
38154 int
38155 main ()
38156 {
38157
38158 #ifndef $wx_func
38159 &$wx_func;
38160 #endif
38161
38162
38163 ;
38164 return 0;
38165 }
38166
38167 _ACEOF
38168 rm -f conftest.$ac_objext conftest$ac_exeext
38169 if { (ac_try="$ac_link"
38170 case "(($ac_try" in
38171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38172 *) ac_try_echo=$ac_try;;
38173 esac
38174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38175 (eval "$ac_link") 2>conftest.er1
38176 ac_status=$?
38177 grep -v '^ *+' conftest.er1 >conftest.err
38178 rm -f conftest.er1
38179 cat conftest.err >&5
38180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38181 (exit $ac_status); } && {
38182 test -z "$ac_c_werror_flag" ||
38183 test ! -s conftest.err
38184 } && test -s conftest$ac_exeext &&
38185 $as_test_x conftest$ac_exeext; then
38186 eval wx_cv_func_$wx_func=yes
38187 else
38188 echo "$as_me: failed program was:" >&5
38189 sed 's/^/| /' conftest.$ac_ext >&5
38190
38191 eval wx_cv_func_$wx_func=no
38192 fi
38193
38194 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38195 conftest$ac_exeext conftest.$ac_ext
38196
38197 fi
38198 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38199 { echo "$as_me:$LINENO: result: $ac_res" >&5
38200 echo "${ECHO_T}$ac_res" >&6; }
38201
38202 if eval test \$wx_cv_func_$wx_func = yes
38203 then
38204 cat >>confdefs.h <<_ACEOF
38205 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38206 _ACEOF
38207
38208
38209 else
38210 :
38211
38212 fi
38213 done
38214
38215 if test "$wx_cv_func_uname" != yes; then
38216
38217 for wx_func in gethostname
38218 do
38219 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38220 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38221 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38222 echo $ECHO_N "(cached) $ECHO_C" >&6
38223 else
38224
38225 cat >conftest.$ac_ext <<_ACEOF
38226
38227 /* confdefs.h. */
38228 _ACEOF
38229 cat confdefs.h >>conftest.$ac_ext
38230 cat >>conftest.$ac_ext <<_ACEOF
38231 /* end confdefs.h. */
38232
38233
38234 $ac_includes_default
38235
38236 int
38237 main ()
38238 {
38239
38240 #ifndef $wx_func
38241 &$wx_func;
38242 #endif
38243
38244
38245 ;
38246 return 0;
38247 }
38248
38249 _ACEOF
38250 rm -f conftest.$ac_objext conftest$ac_exeext
38251 if { (ac_try="$ac_link"
38252 case "(($ac_try" in
38253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38254 *) ac_try_echo=$ac_try;;
38255 esac
38256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38257 (eval "$ac_link") 2>conftest.er1
38258 ac_status=$?
38259 grep -v '^ *+' conftest.er1 >conftest.err
38260 rm -f conftest.er1
38261 cat conftest.err >&5
38262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38263 (exit $ac_status); } && {
38264 test -z "$ac_c_werror_flag" ||
38265 test ! -s conftest.err
38266 } && test -s conftest$ac_exeext &&
38267 $as_test_x conftest$ac_exeext; then
38268 eval wx_cv_func_$wx_func=yes
38269 else
38270 echo "$as_me: failed program was:" >&5
38271 sed 's/^/| /' conftest.$ac_ext >&5
38272
38273 eval wx_cv_func_$wx_func=no
38274 fi
38275
38276 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38277 conftest$ac_exeext conftest.$ac_ext
38278
38279 fi
38280 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38281 { echo "$as_me:$LINENO: result: $ac_res" >&5
38282 echo "${ECHO_T}$ac_res" >&6; }
38283
38284 if eval test \$wx_cv_func_$wx_func = yes
38285 then
38286 cat >>confdefs.h <<_ACEOF
38287 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38288 _ACEOF
38289
38290
38291 else
38292 :
38293
38294 fi
38295 done
38296
38297 fi
38298
38299
38300 for wx_func in strtok_r
38301 do
38302 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38303 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38304 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38305 echo $ECHO_N "(cached) $ECHO_C" >&6
38306 else
38307
38308 cat >conftest.$ac_ext <<_ACEOF
38309
38310 /* confdefs.h. */
38311 _ACEOF
38312 cat confdefs.h >>conftest.$ac_ext
38313 cat >>conftest.$ac_ext <<_ACEOF
38314 /* end confdefs.h. */
38315
38316 #define _REENTRANT
38317 $ac_includes_default
38318
38319 int
38320 main ()
38321 {
38322
38323 #ifndef $wx_func
38324 &$wx_func;
38325 #endif
38326
38327
38328 ;
38329 return 0;
38330 }
38331
38332 _ACEOF
38333 rm -f conftest.$ac_objext conftest$ac_exeext
38334 if { (ac_try="$ac_link"
38335 case "(($ac_try" in
38336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38337 *) ac_try_echo=$ac_try;;
38338 esac
38339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38340 (eval "$ac_link") 2>conftest.er1
38341 ac_status=$?
38342 grep -v '^ *+' conftest.er1 >conftest.err
38343 rm -f conftest.er1
38344 cat conftest.err >&5
38345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38346 (exit $ac_status); } && {
38347 test -z "$ac_c_werror_flag" ||
38348 test ! -s conftest.err
38349 } && test -s conftest$ac_exeext &&
38350 $as_test_x conftest$ac_exeext; then
38351 eval wx_cv_func_$wx_func=yes
38352 else
38353 echo "$as_me: failed program was:" >&5
38354 sed 's/^/| /' conftest.$ac_ext >&5
38355
38356 eval wx_cv_func_$wx_func=no
38357 fi
38358
38359 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38360 conftest$ac_exeext conftest.$ac_ext
38361
38362 fi
38363 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38364 { echo "$as_me:$LINENO: result: $ac_res" >&5
38365 echo "${ECHO_T}$ac_res" >&6; }
38366
38367 if eval test \$wx_cv_func_$wx_func = yes
38368 then
38369 cat >>confdefs.h <<_ACEOF
38370 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38371 _ACEOF
38372
38373
38374 else
38375 :
38376
38377 fi
38378 done
38379
38380
38381 INET_LINK=
38382
38383 for ac_func in inet_addr
38384 do
38385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38386 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38388 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38389 echo $ECHO_N "(cached) $ECHO_C" >&6
38390 else
38391 cat >conftest.$ac_ext <<_ACEOF
38392 /* confdefs.h. */
38393 _ACEOF
38394 cat confdefs.h >>conftest.$ac_ext
38395 cat >>conftest.$ac_ext <<_ACEOF
38396 /* end confdefs.h. */
38397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38399 #define $ac_func innocuous_$ac_func
38400
38401 /* System header to define __stub macros and hopefully few prototypes,
38402 which can conflict with char $ac_func (); below.
38403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38404 <limits.h> exists even on freestanding compilers. */
38405
38406 #ifdef __STDC__
38407 # include <limits.h>
38408 #else
38409 # include <assert.h>
38410 #endif
38411
38412 #undef $ac_func
38413
38414 /* Override any GCC internal prototype to avoid an error.
38415 Use char because int might match the return type of a GCC
38416 builtin and then its argument prototype would still apply. */
38417 #ifdef __cplusplus
38418 extern "C"
38419 #endif
38420 char $ac_func ();
38421 /* The GNU C library defines this for functions which it implements
38422 to always fail with ENOSYS. Some functions are actually named
38423 something starting with __ and the normal name is an alias. */
38424 #if defined __stub_$ac_func || defined __stub___$ac_func
38425 choke me
38426 #endif
38427
38428 int
38429 main ()
38430 {
38431 return $ac_func ();
38432 ;
38433 return 0;
38434 }
38435 _ACEOF
38436 rm -f conftest.$ac_objext conftest$ac_exeext
38437 if { (ac_try="$ac_link"
38438 case "(($ac_try" in
38439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38440 *) ac_try_echo=$ac_try;;
38441 esac
38442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38443 (eval "$ac_link") 2>conftest.er1
38444 ac_status=$?
38445 grep -v '^ *+' conftest.er1 >conftest.err
38446 rm -f conftest.er1
38447 cat conftest.err >&5
38448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38449 (exit $ac_status); } && {
38450 test -z "$ac_c_werror_flag" ||
38451 test ! -s conftest.err
38452 } && test -s conftest$ac_exeext &&
38453 $as_test_x conftest$ac_exeext; then
38454 eval "$as_ac_var=yes"
38455 else
38456 echo "$as_me: failed program was:" >&5
38457 sed 's/^/| /' conftest.$ac_ext >&5
38458
38459 eval "$as_ac_var=no"
38460 fi
38461
38462 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38463 conftest$ac_exeext conftest.$ac_ext
38464 fi
38465 ac_res=`eval echo '${'$as_ac_var'}'`
38466 { echo "$as_me:$LINENO: result: $ac_res" >&5
38467 echo "${ECHO_T}$ac_res" >&6; }
38468 if test `eval echo '${'$as_ac_var'}'` = yes; then
38469 cat >>confdefs.h <<_ACEOF
38470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38471 _ACEOF
38472 cat >>confdefs.h <<\_ACEOF
38473 #define HAVE_INET_ADDR 1
38474 _ACEOF
38475
38476 else
38477
38478 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38479 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38480 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38481 echo $ECHO_N "(cached) $ECHO_C" >&6
38482 else
38483 ac_check_lib_save_LIBS=$LIBS
38484 LIBS="-lnsl $LIBS"
38485 cat >conftest.$ac_ext <<_ACEOF
38486 /* confdefs.h. */
38487 _ACEOF
38488 cat confdefs.h >>conftest.$ac_ext
38489 cat >>conftest.$ac_ext <<_ACEOF
38490 /* end confdefs.h. */
38491
38492 /* Override any GCC internal prototype to avoid an error.
38493 Use char because int might match the return type of a GCC
38494 builtin and then its argument prototype would still apply. */
38495 #ifdef __cplusplus
38496 extern "C"
38497 #endif
38498 char inet_addr ();
38499 int
38500 main ()
38501 {
38502 return inet_addr ();
38503 ;
38504 return 0;
38505 }
38506 _ACEOF
38507 rm -f conftest.$ac_objext conftest$ac_exeext
38508 if { (ac_try="$ac_link"
38509 case "(($ac_try" in
38510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38511 *) ac_try_echo=$ac_try;;
38512 esac
38513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38514 (eval "$ac_link") 2>conftest.er1
38515 ac_status=$?
38516 grep -v '^ *+' conftest.er1 >conftest.err
38517 rm -f conftest.er1
38518 cat conftest.err >&5
38519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38520 (exit $ac_status); } && {
38521 test -z "$ac_c_werror_flag" ||
38522 test ! -s conftest.err
38523 } && test -s conftest$ac_exeext &&
38524 $as_test_x conftest$ac_exeext; then
38525 ac_cv_lib_nsl_inet_addr=yes
38526 else
38527 echo "$as_me: failed program was:" >&5
38528 sed 's/^/| /' conftest.$ac_ext >&5
38529
38530 ac_cv_lib_nsl_inet_addr=no
38531 fi
38532
38533 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38534 conftest$ac_exeext conftest.$ac_ext
38535 LIBS=$ac_check_lib_save_LIBS
38536 fi
38537 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38538 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38539 if test $ac_cv_lib_nsl_inet_addr = yes; then
38540 INET_LINK="nsl"
38541 else
38542
38543 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38544 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38545 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38546 echo $ECHO_N "(cached) $ECHO_C" >&6
38547 else
38548 ac_check_lib_save_LIBS=$LIBS
38549 LIBS="-lresolv $LIBS"
38550 cat >conftest.$ac_ext <<_ACEOF
38551 /* confdefs.h. */
38552 _ACEOF
38553 cat confdefs.h >>conftest.$ac_ext
38554 cat >>conftest.$ac_ext <<_ACEOF
38555 /* end confdefs.h. */
38556
38557 /* Override any GCC internal prototype to avoid an error.
38558 Use char because int might match the return type of a GCC
38559 builtin and then its argument prototype would still apply. */
38560 #ifdef __cplusplus
38561 extern "C"
38562 #endif
38563 char inet_addr ();
38564 int
38565 main ()
38566 {
38567 return inet_addr ();
38568 ;
38569 return 0;
38570 }
38571 _ACEOF
38572 rm -f conftest.$ac_objext conftest$ac_exeext
38573 if { (ac_try="$ac_link"
38574 case "(($ac_try" in
38575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38576 *) ac_try_echo=$ac_try;;
38577 esac
38578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38579 (eval "$ac_link") 2>conftest.er1
38580 ac_status=$?
38581 grep -v '^ *+' conftest.er1 >conftest.err
38582 rm -f conftest.er1
38583 cat conftest.err >&5
38584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38585 (exit $ac_status); } && {
38586 test -z "$ac_c_werror_flag" ||
38587 test ! -s conftest.err
38588 } && test -s conftest$ac_exeext &&
38589 $as_test_x conftest$ac_exeext; then
38590 ac_cv_lib_resolv_inet_addr=yes
38591 else
38592 echo "$as_me: failed program was:" >&5
38593 sed 's/^/| /' conftest.$ac_ext >&5
38594
38595 ac_cv_lib_resolv_inet_addr=no
38596 fi
38597
38598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38599 conftest$ac_exeext conftest.$ac_ext
38600 LIBS=$ac_check_lib_save_LIBS
38601 fi
38602 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38603 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38604 if test $ac_cv_lib_resolv_inet_addr = yes; then
38605 INET_LINK="resolv"
38606 else
38607
38608 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38609 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38610 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38611 echo $ECHO_N "(cached) $ECHO_C" >&6
38612 else
38613 ac_check_lib_save_LIBS=$LIBS
38614 LIBS="-lsocket $LIBS"
38615 cat >conftest.$ac_ext <<_ACEOF
38616 /* confdefs.h. */
38617 _ACEOF
38618 cat confdefs.h >>conftest.$ac_ext
38619 cat >>conftest.$ac_ext <<_ACEOF
38620 /* end confdefs.h. */
38621
38622 /* Override any GCC internal prototype to avoid an error.
38623 Use char because int might match the return type of a GCC
38624 builtin and then its argument prototype would still apply. */
38625 #ifdef __cplusplus
38626 extern "C"
38627 #endif
38628 char inet_addr ();
38629 int
38630 main ()
38631 {
38632 return inet_addr ();
38633 ;
38634 return 0;
38635 }
38636 _ACEOF
38637 rm -f conftest.$ac_objext conftest$ac_exeext
38638 if { (ac_try="$ac_link"
38639 case "(($ac_try" in
38640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38641 *) ac_try_echo=$ac_try;;
38642 esac
38643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38644 (eval "$ac_link") 2>conftest.er1
38645 ac_status=$?
38646 grep -v '^ *+' conftest.er1 >conftest.err
38647 rm -f conftest.er1
38648 cat conftest.err >&5
38649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38650 (exit $ac_status); } && {
38651 test -z "$ac_c_werror_flag" ||
38652 test ! -s conftest.err
38653 } && test -s conftest$ac_exeext &&
38654 $as_test_x conftest$ac_exeext; then
38655 ac_cv_lib_socket_inet_addr=yes
38656 else
38657 echo "$as_me: failed program was:" >&5
38658 sed 's/^/| /' conftest.$ac_ext >&5
38659
38660 ac_cv_lib_socket_inet_addr=no
38661 fi
38662
38663 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38664 conftest$ac_exeext conftest.$ac_ext
38665 LIBS=$ac_check_lib_save_LIBS
38666 fi
38667 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38668 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38669 if test $ac_cv_lib_socket_inet_addr = yes; then
38670 INET_LINK="socket"
38671
38672 fi
38673
38674
38675
38676 fi
38677
38678
38679
38680 fi
38681
38682
38683
38684 fi
38685 done
38686
38687
38688
38689 for ac_func in inet_aton
38690 do
38691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38692 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38694 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38695 echo $ECHO_N "(cached) $ECHO_C" >&6
38696 else
38697 cat >conftest.$ac_ext <<_ACEOF
38698 /* confdefs.h. */
38699 _ACEOF
38700 cat confdefs.h >>conftest.$ac_ext
38701 cat >>conftest.$ac_ext <<_ACEOF
38702 /* end confdefs.h. */
38703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38705 #define $ac_func innocuous_$ac_func
38706
38707 /* System header to define __stub macros and hopefully few prototypes,
38708 which can conflict with char $ac_func (); below.
38709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38710 <limits.h> exists even on freestanding compilers. */
38711
38712 #ifdef __STDC__
38713 # include <limits.h>
38714 #else
38715 # include <assert.h>
38716 #endif
38717
38718 #undef $ac_func
38719
38720 /* Override any GCC internal prototype to avoid an error.
38721 Use char because int might match the return type of a GCC
38722 builtin and then its argument prototype would still apply. */
38723 #ifdef __cplusplus
38724 extern "C"
38725 #endif
38726 char $ac_func ();
38727 /* The GNU C library defines this for functions which it implements
38728 to always fail with ENOSYS. Some functions are actually named
38729 something starting with __ and the normal name is an alias. */
38730 #if defined __stub_$ac_func || defined __stub___$ac_func
38731 choke me
38732 #endif
38733
38734 int
38735 main ()
38736 {
38737 return $ac_func ();
38738 ;
38739 return 0;
38740 }
38741 _ACEOF
38742 rm -f conftest.$ac_objext conftest$ac_exeext
38743 if { (ac_try="$ac_link"
38744 case "(($ac_try" in
38745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38746 *) ac_try_echo=$ac_try;;
38747 esac
38748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38749 (eval "$ac_link") 2>conftest.er1
38750 ac_status=$?
38751 grep -v '^ *+' conftest.er1 >conftest.err
38752 rm -f conftest.er1
38753 cat conftest.err >&5
38754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38755 (exit $ac_status); } && {
38756 test -z "$ac_c_werror_flag" ||
38757 test ! -s conftest.err
38758 } && test -s conftest$ac_exeext &&
38759 $as_test_x conftest$ac_exeext; then
38760 eval "$as_ac_var=yes"
38761 else
38762 echo "$as_me: failed program was:" >&5
38763 sed 's/^/| /' conftest.$ac_ext >&5
38764
38765 eval "$as_ac_var=no"
38766 fi
38767
38768 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38769 conftest$ac_exeext conftest.$ac_ext
38770 fi
38771 ac_res=`eval echo '${'$as_ac_var'}'`
38772 { echo "$as_me:$LINENO: result: $ac_res" >&5
38773 echo "${ECHO_T}$ac_res" >&6; }
38774 if test `eval echo '${'$as_ac_var'}'` = yes; then
38775 cat >>confdefs.h <<_ACEOF
38776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38777 _ACEOF
38778 cat >>confdefs.h <<\_ACEOF
38779 #define HAVE_INET_ATON 1
38780 _ACEOF
38781
38782 else
38783
38784 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38785 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38786 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38787 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38788 echo $ECHO_N "(cached) $ECHO_C" >&6
38789 else
38790 ac_check_lib_save_LIBS=$LIBS
38791 LIBS="-l$INET_LINK $LIBS"
38792 cat >conftest.$ac_ext <<_ACEOF
38793 /* confdefs.h. */
38794 _ACEOF
38795 cat confdefs.h >>conftest.$ac_ext
38796 cat >>conftest.$ac_ext <<_ACEOF
38797 /* end confdefs.h. */
38798
38799 /* Override any GCC internal prototype to avoid an error.
38800 Use char because int might match the return type of a GCC
38801 builtin and then its argument prototype would still apply. */
38802 #ifdef __cplusplus
38803 extern "C"
38804 #endif
38805 char inet_aton ();
38806 int
38807 main ()
38808 {
38809 return inet_aton ();
38810 ;
38811 return 0;
38812 }
38813 _ACEOF
38814 rm -f conftest.$ac_objext conftest$ac_exeext
38815 if { (ac_try="$ac_link"
38816 case "(($ac_try" in
38817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38818 *) ac_try_echo=$ac_try;;
38819 esac
38820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38821 (eval "$ac_link") 2>conftest.er1
38822 ac_status=$?
38823 grep -v '^ *+' conftest.er1 >conftest.err
38824 rm -f conftest.er1
38825 cat conftest.err >&5
38826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38827 (exit $ac_status); } && {
38828 test -z "$ac_c_werror_flag" ||
38829 test ! -s conftest.err
38830 } && test -s conftest$ac_exeext &&
38831 $as_test_x conftest$ac_exeext; then
38832 eval "$as_ac_Lib=yes"
38833 else
38834 echo "$as_me: failed program was:" >&5
38835 sed 's/^/| /' conftest.$ac_ext >&5
38836
38837 eval "$as_ac_Lib=no"
38838 fi
38839
38840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38841 conftest$ac_exeext conftest.$ac_ext
38842 LIBS=$ac_check_lib_save_LIBS
38843 fi
38844 ac_res=`eval echo '${'$as_ac_Lib'}'`
38845 { echo "$as_me:$LINENO: result: $ac_res" >&5
38846 echo "${ECHO_T}$ac_res" >&6; }
38847 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38848 cat >>confdefs.h <<\_ACEOF
38849 #define HAVE_INET_ATON 1
38850 _ACEOF
38851
38852 fi
38853
38854
38855 fi
38856 done
38857
38858
38859 if test "x$INET_LINK" != "x"; then
38860 cat >>confdefs.h <<\_ACEOF
38861 #define HAVE_INET_ADDR 1
38862 _ACEOF
38863
38864 INET_LINK=" -l$INET_LINK"
38865 fi
38866
38867
38868 for wx_func in fdopen
38869 do
38870 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38871 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38872 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38873 echo $ECHO_N "(cached) $ECHO_C" >&6
38874 else
38875
38876 cat >conftest.$ac_ext <<_ACEOF
38877
38878 /* confdefs.h. */
38879 _ACEOF
38880 cat confdefs.h >>conftest.$ac_ext
38881 cat >>conftest.$ac_ext <<_ACEOF
38882 /* end confdefs.h. */
38883
38884
38885 $ac_includes_default
38886
38887 int
38888 main ()
38889 {
38890
38891 #ifndef $wx_func
38892 &$wx_func;
38893 #endif
38894
38895
38896 ;
38897 return 0;
38898 }
38899
38900 _ACEOF
38901 rm -f conftest.$ac_objext conftest$ac_exeext
38902 if { (ac_try="$ac_link"
38903 case "(($ac_try" in
38904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38905 *) ac_try_echo=$ac_try;;
38906 esac
38907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38908 (eval "$ac_link") 2>conftest.er1
38909 ac_status=$?
38910 grep -v '^ *+' conftest.er1 >conftest.err
38911 rm -f conftest.er1
38912 cat conftest.err >&5
38913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38914 (exit $ac_status); } && {
38915 test -z "$ac_c_werror_flag" ||
38916 test ! -s conftest.err
38917 } && test -s conftest$ac_exeext &&
38918 $as_test_x conftest$ac_exeext; then
38919 eval wx_cv_func_$wx_func=yes
38920 else
38921 echo "$as_me: failed program was:" >&5
38922 sed 's/^/| /' conftest.$ac_ext >&5
38923
38924 eval wx_cv_func_$wx_func=no
38925 fi
38926
38927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38928 conftest$ac_exeext conftest.$ac_ext
38929
38930 fi
38931 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38932 { echo "$as_me:$LINENO: result: $ac_res" >&5
38933 echo "${ECHO_T}$ac_res" >&6; }
38934
38935 if eval test \$wx_cv_func_$wx_func = yes
38936 then
38937 cat >>confdefs.h <<_ACEOF
38938 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38939 _ACEOF
38940
38941
38942 else
38943 :
38944
38945 fi
38946 done
38947
38948
38949 if test "$wxUSE_TARSTREAM" = "yes"; then
38950
38951 for wx_func in sysconf
38952 do
38953 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38954 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38955 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38956 echo $ECHO_N "(cached) $ECHO_C" >&6
38957 else
38958
38959 cat >conftest.$ac_ext <<_ACEOF
38960
38961 /* confdefs.h. */
38962 _ACEOF
38963 cat confdefs.h >>conftest.$ac_ext
38964 cat >>conftest.$ac_ext <<_ACEOF
38965 /* end confdefs.h. */
38966
38967
38968 $ac_includes_default
38969
38970 int
38971 main ()
38972 {
38973
38974 #ifndef $wx_func
38975 &$wx_func;
38976 #endif
38977
38978
38979 ;
38980 return 0;
38981 }
38982
38983 _ACEOF
38984 rm -f conftest.$ac_objext conftest$ac_exeext
38985 if { (ac_try="$ac_link"
38986 case "(($ac_try" in
38987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38988 *) ac_try_echo=$ac_try;;
38989 esac
38990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38991 (eval "$ac_link") 2>conftest.er1
38992 ac_status=$?
38993 grep -v '^ *+' conftest.er1 >conftest.err
38994 rm -f conftest.er1
38995 cat conftest.err >&5
38996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38997 (exit $ac_status); } && {
38998 test -z "$ac_c_werror_flag" ||
38999 test ! -s conftest.err
39000 } && test -s conftest$ac_exeext &&
39001 $as_test_x conftest$ac_exeext; then
39002 eval wx_cv_func_$wx_func=yes
39003 else
39004 echo "$as_me: failed program was:" >&5
39005 sed 's/^/| /' conftest.$ac_ext >&5
39006
39007 eval wx_cv_func_$wx_func=no
39008 fi
39009
39010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39011 conftest$ac_exeext conftest.$ac_ext
39012
39013 fi
39014 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39015 { echo "$as_me:$LINENO: result: $ac_res" >&5
39016 echo "${ECHO_T}$ac_res" >&6; }
39017
39018 if eval test \$wx_cv_func_$wx_func = yes
39019 then
39020 cat >>confdefs.h <<_ACEOF
39021 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39022 _ACEOF
39023
39024
39025 else
39026 :
39027
39028 fi
39029 done
39030
39031
39032
39033 for wx_func in getpwuid_r
39034 do
39035 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39036 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39037 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39038 echo $ECHO_N "(cached) $ECHO_C" >&6
39039 else
39040
39041 cat >conftest.$ac_ext <<_ACEOF
39042
39043 /* confdefs.h. */
39044 _ACEOF
39045 cat confdefs.h >>conftest.$ac_ext
39046 cat >>conftest.$ac_ext <<_ACEOF
39047 /* end confdefs.h. */
39048
39049
39050 #define _REENTRANT
39051 #include <pwd.h>
39052
39053 $ac_includes_default
39054
39055 int
39056 main ()
39057 {
39058
39059 #ifndef $wx_func
39060 &$wx_func;
39061 #endif
39062
39063 struct passwd pw, *ppw;
39064 char buf[1024];
39065 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
39066
39067
39068 ;
39069 return 0;
39070 }
39071
39072 _ACEOF
39073 rm -f conftest.$ac_objext conftest$ac_exeext
39074 if { (ac_try="$ac_link"
39075 case "(($ac_try" in
39076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39077 *) ac_try_echo=$ac_try;;
39078 esac
39079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39080 (eval "$ac_link") 2>conftest.er1
39081 ac_status=$?
39082 grep -v '^ *+' conftest.er1 >conftest.err
39083 rm -f conftest.er1
39084 cat conftest.err >&5
39085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39086 (exit $ac_status); } && {
39087 test -z "$ac_c_werror_flag" ||
39088 test ! -s conftest.err
39089 } && test -s conftest$ac_exeext &&
39090 $as_test_x conftest$ac_exeext; then
39091 eval wx_cv_func_$wx_func=yes
39092 else
39093 echo "$as_me: failed program was:" >&5
39094 sed 's/^/| /' conftest.$ac_ext >&5
39095
39096 eval wx_cv_func_$wx_func=no
39097 fi
39098
39099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39100 conftest$ac_exeext conftest.$ac_ext
39101
39102 fi
39103 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39104 { echo "$as_me:$LINENO: result: $ac_res" >&5
39105 echo "${ECHO_T}$ac_res" >&6; }
39106
39107 if eval test \$wx_cv_func_$wx_func = yes
39108 then
39109 cat >>confdefs.h <<_ACEOF
39110 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39111 _ACEOF
39112
39113
39114 else
39115 :
39116
39117 fi
39118 done
39119
39120
39121
39122 for wx_func in getgrgid_r
39123 do
39124 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39125 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39126 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39127 echo $ECHO_N "(cached) $ECHO_C" >&6
39128 else
39129
39130 cat >conftest.$ac_ext <<_ACEOF
39131
39132 /* confdefs.h. */
39133 _ACEOF
39134 cat confdefs.h >>conftest.$ac_ext
39135 cat >>conftest.$ac_ext <<_ACEOF
39136 /* end confdefs.h. */
39137
39138
39139 #define _REENTRANT
39140 #include <grp.h>
39141
39142 $ac_includes_default
39143
39144 int
39145 main ()
39146 {
39147
39148 #ifndef $wx_func
39149 &$wx_func;
39150 #endif
39151
39152 struct group grp, *pgrp;
39153 char buf[1024];
39154 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
39155
39156
39157 ;
39158 return 0;
39159 }
39160
39161 _ACEOF
39162 rm -f conftest.$ac_objext conftest$ac_exeext
39163 if { (ac_try="$ac_link"
39164 case "(($ac_try" in
39165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39166 *) ac_try_echo=$ac_try;;
39167 esac
39168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39169 (eval "$ac_link") 2>conftest.er1
39170 ac_status=$?
39171 grep -v '^ *+' conftest.er1 >conftest.err
39172 rm -f conftest.er1
39173 cat conftest.err >&5
39174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39175 (exit $ac_status); } && {
39176 test -z "$ac_c_werror_flag" ||
39177 test ! -s conftest.err
39178 } && test -s conftest$ac_exeext &&
39179 $as_test_x conftest$ac_exeext; then
39180 eval wx_cv_func_$wx_func=yes
39181 else
39182 echo "$as_me: failed program was:" >&5
39183 sed 's/^/| /' conftest.$ac_ext >&5
39184
39185 eval wx_cv_func_$wx_func=no
39186 fi
39187
39188 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39189 conftest$ac_exeext conftest.$ac_ext
39190
39191 fi
39192 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39193 { echo "$as_me:$LINENO: result: $ac_res" >&5
39194 echo "${ECHO_T}$ac_res" >&6; }
39195
39196 if eval test \$wx_cv_func_$wx_func = yes
39197 then
39198 cat >>confdefs.h <<_ACEOF
39199 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39200 _ACEOF
39201
39202
39203 else
39204 :
39205
39206 fi
39207 done
39208
39209 fi
39210
39211 fi
39212
39213
39214
39215 cat >confcache <<\_ACEOF
39216 # This file is a shell script that caches the results of configure
39217 # tests run on this system so they can be shared between configure
39218 # scripts and configure runs, see configure's option --config-cache.
39219 # It is not useful on other systems. If it contains results you don't
39220 # want to keep, you may remove or edit it.
39221 #
39222 # config.status only pays attention to the cache file if you give it
39223 # the --recheck option to rerun configure.
39224 #
39225 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39226 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39227 # following values.
39228
39229 _ACEOF
39230
39231 # The following way of writing the cache mishandles newlines in values,
39232 # but we know of no workaround that is simple, portable, and efficient.
39233 # So, we kill variables containing newlines.
39234 # Ultrix sh set writes to stderr and can't be redirected directly,
39235 # and sets the high bit in the cache file unless we assign to the vars.
39236 (
39237 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
39238 eval ac_val=\$$ac_var
39239 case $ac_val in #(
39240 *${as_nl}*)
39241 case $ac_var in #(
39242 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
39243 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
39244 esac
39245 case $ac_var in #(
39246 _ | IFS | as_nl) ;; #(
39247 *) $as_unset $ac_var ;;
39248 esac ;;
39249 esac
39250 done
39251
39252 (set) 2>&1 |
39253 case $as_nl`(ac_space=' '; set) 2>&1` in #(
39254 *${as_nl}ac_space=\ *)
39255 # `set' does not quote correctly, so add quotes (double-quote
39256 # substitution turns \\\\ into \\, and sed turns \\ into \).
39257 sed -n \
39258 "s/'/'\\\\''/g;
39259 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39260 ;; #(
39261 *)
39262 # `set' quotes correctly as required by POSIX, so do not add quotes.
39263 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
39264 ;;
39265 esac |
39266 sort
39267 ) |
39268 sed '
39269 /^ac_cv_env_/b end
39270 t clear
39271 :clear
39272 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39273 t end
39274 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39275 :end' >>confcache
39276 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
39277 if test -w "$cache_file"; then
39278 test "x$cache_file" != "x/dev/null" &&
39279 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
39280 echo "$as_me: updating cache $cache_file" >&6;}
39281 cat confcache >$cache_file
39282 else
39283 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
39284 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
39285 fi
39286 fi
39287 rm -f confcache
39288
39289
39290 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39291
39292
39293 THREADS_LINK=
39294 THREADS_CFLAGS=
39295
39296 if test "$wxUSE_THREADS" = "yes" ; then
39297 if test "$USE_BEOS" = 1; then
39298 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39299 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39300 wxUSE_THREADS="no"
39301 fi
39302 fi
39303
39304 if test "$wxUSE_THREADS" = "yes" ; then
39305
39306
39307 THREAD_OPTS="-pthread"
39308 if test "x$SUNCXX" = xyes; then
39309 THREAD_OPTS="-mt lthread $THREAD_OPTS"
39310 fi
39311
39312 case "${host}" in
39313 *-*-solaris2* | *-*-sunos4* )
39314 if test "x$GCC" = "xyes"; then
39315 THREAD_OPTS="-pthreads $THREAD_OPTS"
39316 fi
39317 ;;
39318 *-*-freebsd*)
39319 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
39320 ;;
39321 *-*-darwin* | *-*-cygwin* )
39322 THREAD_OPTS=""
39323 ;;
39324 *-*-aix*)
39325 THREAD_OPTS="pthreads"
39326 ;;
39327 *-hp-hpux* )
39328 if test "x$GCC" = "xyes"; then
39329 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
39330 THREAD_OPTS=""
39331 else
39332 THREAD_OPTS="-mt"
39333 fi
39334 ;;
39335
39336 *-*-irix* )
39337 if test "x$GCC" = "xyes"; then
39338 THREAD_OPTS=""
39339 fi
39340 ;;
39341
39342 *-*-*UnixWare*)
39343 if test "x$GCC" != "xyes"; then
39344 THREAD_OPTS="-Ethread"
39345 fi
39346 ;;
39347 esac
39348
39349 THREAD_OPTS="$THREAD_OPTS pthread none"
39350
39351 THREADS_OK=no
39352 for flag in $THREAD_OPTS; do
39353 case $flag in
39354 none)
39355 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39356 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
39357 ;;
39358
39359 -*)
39360 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39361 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
39362 THREADS_CFLAGS="$flag"
39363 ;;
39364
39365 *)
39366 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39367 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
39368 THREADS_LINK="-l$flag"
39369 ;;
39370 esac
39371
39372 save_LIBS="$LIBS"
39373 save_CFLAGS="$CFLAGS"
39374 LIBS="$THREADS_LINK $LIBS"
39375 CFLAGS="$THREADS_CFLAGS $CFLAGS"
39376
39377 cat >conftest.$ac_ext <<_ACEOF
39378 /* confdefs.h. */
39379 _ACEOF
39380 cat confdefs.h >>conftest.$ac_ext
39381 cat >>conftest.$ac_ext <<_ACEOF
39382 /* end confdefs.h. */
39383 #include <pthread.h>
39384 int
39385 main ()
39386 {
39387 pthread_create(0,0,0,0);
39388 ;
39389 return 0;
39390 }
39391 _ACEOF
39392 rm -f conftest.$ac_objext conftest$ac_exeext
39393 if { (ac_try="$ac_link"
39394 case "(($ac_try" in
39395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39396 *) ac_try_echo=$ac_try;;
39397 esac
39398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39399 (eval "$ac_link") 2>conftest.er1
39400 ac_status=$?
39401 grep -v '^ *+' conftest.er1 >conftest.err
39402 rm -f conftest.er1
39403 cat conftest.err >&5
39404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39405 (exit $ac_status); } && {
39406 test -z "$ac_c_werror_flag" ||
39407 test ! -s conftest.err
39408 } && test -s conftest$ac_exeext &&
39409 $as_test_x conftest$ac_exeext; then
39410 THREADS_OK=yes
39411 else
39412 echo "$as_me: failed program was:" >&5
39413 sed 's/^/| /' conftest.$ac_ext >&5
39414
39415
39416 fi
39417
39418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39419 conftest$ac_exeext conftest.$ac_ext
39420
39421 LIBS="$save_LIBS"
39422 CFLAGS="$save_CFLAGS"
39423
39424 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39425 echo "${ECHO_T}$THREADS_OK" >&6; }
39426 if test "x$THREADS_OK" = "xyes"; then
39427 break;
39428 fi
39429
39430 THREADS_LINK=""
39431 THREADS_CFLAGS=""
39432 done
39433
39434 if test "x$THREADS_OK" != "xyes"; then
39435 wxUSE_THREADS=no
39436 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39437 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39438 else
39439 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39440 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
39441 LIBS="$THREADS_LINK $LIBS"
39442
39443 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39444 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39445 flag=no
39446 case "${host}" in
39447 *-aix*)
39448 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39449 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
39450 flag="-D_THREAD_SAFE"
39451 ;;
39452 *-freebsd*)
39453 flag="-D_THREAD_SAFE"
39454 ;;
39455 *-hp-hpux* )
39456 flag="-D_REENTRANT"
39457 if test "x$GCC" != "xyes"; then
39458 flag="$flag -D_RWSTD_MULTI_THREAD"
39459 fi
39460 ;;
39461 *solaris* | alpha*-osf*)
39462 flag="-D_REENTRANT"
39463 ;;
39464 esac
39465 { echo "$as_me:$LINENO: result: ${flag}" >&5
39466 echo "${ECHO_T}${flag}" >&6; }
39467 if test "x$flag" != xno; then
39468 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39469 fi
39470
39471 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39472 fi
39473 fi
39474
39475 if test "$wxUSE_THREADS" = "yes" ; then
39476
39477 for ac_func in thr_setconcurrency
39478 do
39479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39480 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39482 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39483 echo $ECHO_N "(cached) $ECHO_C" >&6
39484 else
39485 cat >conftest.$ac_ext <<_ACEOF
39486 /* confdefs.h. */
39487 _ACEOF
39488 cat confdefs.h >>conftest.$ac_ext
39489 cat >>conftest.$ac_ext <<_ACEOF
39490 /* end confdefs.h. */
39491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39493 #define $ac_func innocuous_$ac_func
39494
39495 /* System header to define __stub macros and hopefully few prototypes,
39496 which can conflict with char $ac_func (); below.
39497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39498 <limits.h> exists even on freestanding compilers. */
39499
39500 #ifdef __STDC__
39501 # include <limits.h>
39502 #else
39503 # include <assert.h>
39504 #endif
39505
39506 #undef $ac_func
39507
39508 /* Override any GCC internal prototype to avoid an error.
39509 Use char because int might match the return type of a GCC
39510 builtin and then its argument prototype would still apply. */
39511 #ifdef __cplusplus
39512 extern "C"
39513 #endif
39514 char $ac_func ();
39515 /* The GNU C library defines this for functions which it implements
39516 to always fail with ENOSYS. Some functions are actually named
39517 something starting with __ and the normal name is an alias. */
39518 #if defined __stub_$ac_func || defined __stub___$ac_func
39519 choke me
39520 #endif
39521
39522 int
39523 main ()
39524 {
39525 return $ac_func ();
39526 ;
39527 return 0;
39528 }
39529 _ACEOF
39530 rm -f conftest.$ac_objext conftest$ac_exeext
39531 if { (ac_try="$ac_link"
39532 case "(($ac_try" in
39533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39534 *) ac_try_echo=$ac_try;;
39535 esac
39536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39537 (eval "$ac_link") 2>conftest.er1
39538 ac_status=$?
39539 grep -v '^ *+' conftest.er1 >conftest.err
39540 rm -f conftest.er1
39541 cat conftest.err >&5
39542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39543 (exit $ac_status); } && {
39544 test -z "$ac_c_werror_flag" ||
39545 test ! -s conftest.err
39546 } && test -s conftest$ac_exeext &&
39547 $as_test_x conftest$ac_exeext; then
39548 eval "$as_ac_var=yes"
39549 else
39550 echo "$as_me: failed program was:" >&5
39551 sed 's/^/| /' conftest.$ac_ext >&5
39552
39553 eval "$as_ac_var=no"
39554 fi
39555
39556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39557 conftest$ac_exeext conftest.$ac_ext
39558 fi
39559 ac_res=`eval echo '${'$as_ac_var'}'`
39560 { echo "$as_me:$LINENO: result: $ac_res" >&5
39561 echo "${ECHO_T}$ac_res" >&6; }
39562 if test `eval echo '${'$as_ac_var'}'` = yes; then
39563 cat >>confdefs.h <<_ACEOF
39564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39565 _ACEOF
39566
39567 fi
39568 done
39569
39570
39571 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39572 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39573 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39574 echo $ECHO_N "(cached) $ECHO_C" >&6
39575 else
39576
39577 ac_ext=cpp
39578 ac_cpp='$CXXCPP $CPPFLAGS'
39579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39582
39583 cat >conftest.$ac_ext <<_ACEOF
39584 /* confdefs.h. */
39585 _ACEOF
39586 cat confdefs.h >>conftest.$ac_ext
39587 cat >>conftest.$ac_ext <<_ACEOF
39588 /* end confdefs.h. */
39589 #include <pthread.h>
39590 void ThreadCleanupFunc(void *p);
39591
39592 int
39593 main ()
39594 {
39595
39596 void *p;
39597 pthread_cleanup_push(ThreadCleanupFunc, p);
39598 pthread_cleanup_pop(0);
39599
39600 ;
39601 return 0;
39602 }
39603 _ACEOF
39604 rm -f conftest.$ac_objext
39605 if { (ac_try="$ac_compile"
39606 case "(($ac_try" in
39607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39608 *) ac_try_echo=$ac_try;;
39609 esac
39610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39611 (eval "$ac_compile") 2>conftest.er1
39612 ac_status=$?
39613 grep -v '^ *+' conftest.er1 >conftest.err
39614 rm -f conftest.er1
39615 cat conftest.err >&5
39616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39617 (exit $ac_status); } && {
39618 test -z "$ac_cxx_werror_flag" ||
39619 test ! -s conftest.err
39620 } && test -s conftest.$ac_objext; then
39621
39622 wx_cv_func_pthread_cleanup=yes
39623
39624 else
39625 echo "$as_me: failed program was:" >&5
39626 sed 's/^/| /' conftest.$ac_ext >&5
39627
39628
39629 wx_cv_func_pthread_cleanup=no
39630
39631
39632 fi
39633
39634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39635 ac_ext=c
39636 ac_cpp='$CPP $CPPFLAGS'
39637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39640
39641
39642 fi
39643 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39644 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39645 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39646 cat >>confdefs.h <<\_ACEOF
39647 #define wxHAVE_PTHREAD_CLEANUP 1
39648 _ACEOF
39649
39650 fi
39651
39652
39653 for ac_header in sched.h
39654 do
39655 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39656 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39658 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39659 echo $ECHO_N "(cached) $ECHO_C" >&6
39660 else
39661 cat >conftest.$ac_ext <<_ACEOF
39662 /* confdefs.h. */
39663 _ACEOF
39664 cat confdefs.h >>conftest.$ac_ext
39665 cat >>conftest.$ac_ext <<_ACEOF
39666 /* end confdefs.h. */
39667 $ac_includes_default
39668
39669 #include <$ac_header>
39670 _ACEOF
39671 rm -f conftest.$ac_objext
39672 if { (ac_try="$ac_compile"
39673 case "(($ac_try" in
39674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39675 *) ac_try_echo=$ac_try;;
39676 esac
39677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39678 (eval "$ac_compile") 2>conftest.er1
39679 ac_status=$?
39680 grep -v '^ *+' conftest.er1 >conftest.err
39681 rm -f conftest.er1
39682 cat conftest.err >&5
39683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39684 (exit $ac_status); } && {
39685 test -z "$ac_c_werror_flag" ||
39686 test ! -s conftest.err
39687 } && test -s conftest.$ac_objext; then
39688 eval "$as_ac_Header=yes"
39689 else
39690 echo "$as_me: failed program was:" >&5
39691 sed 's/^/| /' conftest.$ac_ext >&5
39692
39693 eval "$as_ac_Header=no"
39694 fi
39695
39696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39697 fi
39698 ac_res=`eval echo '${'$as_ac_Header'}'`
39699 { echo "$as_me:$LINENO: result: $ac_res" >&5
39700 echo "${ECHO_T}$ac_res" >&6; }
39701 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39702 cat >>confdefs.h <<_ACEOF
39703 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39704 _ACEOF
39705
39706 fi
39707
39708 done
39709
39710 if test "$ac_cv_header_sched_h" = "yes"; then
39711 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39712 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39713 if test "${ac_cv_func_sched_yield+set}" = set; then
39714 echo $ECHO_N "(cached) $ECHO_C" >&6
39715 else
39716 cat >conftest.$ac_ext <<_ACEOF
39717 /* confdefs.h. */
39718 _ACEOF
39719 cat confdefs.h >>conftest.$ac_ext
39720 cat >>conftest.$ac_ext <<_ACEOF
39721 /* end confdefs.h. */
39722 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39724 #define sched_yield innocuous_sched_yield
39725
39726 /* System header to define __stub macros and hopefully few prototypes,
39727 which can conflict with char sched_yield (); below.
39728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39729 <limits.h> exists even on freestanding compilers. */
39730
39731 #ifdef __STDC__
39732 # include <limits.h>
39733 #else
39734 # include <assert.h>
39735 #endif
39736
39737 #undef sched_yield
39738
39739 /* Override any GCC internal prototype to avoid an error.
39740 Use char because int might match the return type of a GCC
39741 builtin and then its argument prototype would still apply. */
39742 #ifdef __cplusplus
39743 extern "C"
39744 #endif
39745 char sched_yield ();
39746 /* The GNU C library defines this for functions which it implements
39747 to always fail with ENOSYS. Some functions are actually named
39748 something starting with __ and the normal name is an alias. */
39749 #if defined __stub_sched_yield || defined __stub___sched_yield
39750 choke me
39751 #endif
39752
39753 int
39754 main ()
39755 {
39756 return sched_yield ();
39757 ;
39758 return 0;
39759 }
39760 _ACEOF
39761 rm -f conftest.$ac_objext conftest$ac_exeext
39762 if { (ac_try="$ac_link"
39763 case "(($ac_try" in
39764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39765 *) ac_try_echo=$ac_try;;
39766 esac
39767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39768 (eval "$ac_link") 2>conftest.er1
39769 ac_status=$?
39770 grep -v '^ *+' conftest.er1 >conftest.err
39771 rm -f conftest.er1
39772 cat conftest.err >&5
39773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39774 (exit $ac_status); } && {
39775 test -z "$ac_c_werror_flag" ||
39776 test ! -s conftest.err
39777 } && test -s conftest$ac_exeext &&
39778 $as_test_x conftest$ac_exeext; then
39779 ac_cv_func_sched_yield=yes
39780 else
39781 echo "$as_me: failed program was:" >&5
39782 sed 's/^/| /' conftest.$ac_ext >&5
39783
39784 ac_cv_func_sched_yield=no
39785 fi
39786
39787 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39788 conftest$ac_exeext conftest.$ac_ext
39789 fi
39790 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39791 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39792 if test $ac_cv_func_sched_yield = yes; then
39793 cat >>confdefs.h <<\_ACEOF
39794 #define HAVE_SCHED_YIELD 1
39795 _ACEOF
39796
39797 else
39798
39799 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39800 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39801 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39802 echo $ECHO_N "(cached) $ECHO_C" >&6
39803 else
39804 ac_check_lib_save_LIBS=$LIBS
39805 LIBS="-lposix4 $LIBS"
39806 cat >conftest.$ac_ext <<_ACEOF
39807 /* confdefs.h. */
39808 _ACEOF
39809 cat confdefs.h >>conftest.$ac_ext
39810 cat >>conftest.$ac_ext <<_ACEOF
39811 /* end confdefs.h. */
39812
39813 /* Override any GCC internal prototype to avoid an error.
39814 Use char because int might match the return type of a GCC
39815 builtin and then its argument prototype would still apply. */
39816 #ifdef __cplusplus
39817 extern "C"
39818 #endif
39819 char sched_yield ();
39820 int
39821 main ()
39822 {
39823 return sched_yield ();
39824 ;
39825 return 0;
39826 }
39827 _ACEOF
39828 rm -f conftest.$ac_objext conftest$ac_exeext
39829 if { (ac_try="$ac_link"
39830 case "(($ac_try" in
39831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39832 *) ac_try_echo=$ac_try;;
39833 esac
39834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39835 (eval "$ac_link") 2>conftest.er1
39836 ac_status=$?
39837 grep -v '^ *+' conftest.er1 >conftest.err
39838 rm -f conftest.er1
39839 cat conftest.err >&5
39840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39841 (exit $ac_status); } && {
39842 test -z "$ac_c_werror_flag" ||
39843 test ! -s conftest.err
39844 } && test -s conftest$ac_exeext &&
39845 $as_test_x conftest$ac_exeext; then
39846 ac_cv_lib_posix4_sched_yield=yes
39847 else
39848 echo "$as_me: failed program was:" >&5
39849 sed 's/^/| /' conftest.$ac_ext >&5
39850
39851 ac_cv_lib_posix4_sched_yield=no
39852 fi
39853
39854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39855 conftest$ac_exeext conftest.$ac_ext
39856 LIBS=$ac_check_lib_save_LIBS
39857 fi
39858 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39859 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39860 if test $ac_cv_lib_posix4_sched_yield = yes; then
39861 cat >>confdefs.h <<\_ACEOF
39862 #define HAVE_SCHED_YIELD 1
39863 _ACEOF
39864 POSIX4_LINK=" -lposix4"
39865 else
39866 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39867 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39868
39869 fi
39870
39871
39872
39873 fi
39874
39875 fi
39876
39877 HAVE_PRIOR_FUNCS=0
39878 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39879 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39880 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39881 echo $ECHO_N "(cached) $ECHO_C" >&6
39882 else
39883 cat >conftest.$ac_ext <<_ACEOF
39884 /* confdefs.h. */
39885 _ACEOF
39886 cat confdefs.h >>conftest.$ac_ext
39887 cat >>conftest.$ac_ext <<_ACEOF
39888 /* end confdefs.h. */
39889 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39891 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39892
39893 /* System header to define __stub macros and hopefully few prototypes,
39894 which can conflict with char pthread_attr_getschedpolicy (); below.
39895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39896 <limits.h> exists even on freestanding compilers. */
39897
39898 #ifdef __STDC__
39899 # include <limits.h>
39900 #else
39901 # include <assert.h>
39902 #endif
39903
39904 #undef pthread_attr_getschedpolicy
39905
39906 /* Override any GCC internal prototype to avoid an error.
39907 Use char because int might match the return type of a GCC
39908 builtin and then its argument prototype would still apply. */
39909 #ifdef __cplusplus
39910 extern "C"
39911 #endif
39912 char pthread_attr_getschedpolicy ();
39913 /* The GNU C library defines this for functions which it implements
39914 to always fail with ENOSYS. Some functions are actually named
39915 something starting with __ and the normal name is an alias. */
39916 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39917 choke me
39918 #endif
39919
39920 int
39921 main ()
39922 {
39923 return pthread_attr_getschedpolicy ();
39924 ;
39925 return 0;
39926 }
39927 _ACEOF
39928 rm -f conftest.$ac_objext conftest$ac_exeext
39929 if { (ac_try="$ac_link"
39930 case "(($ac_try" in
39931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39932 *) ac_try_echo=$ac_try;;
39933 esac
39934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39935 (eval "$ac_link") 2>conftest.er1
39936 ac_status=$?
39937 grep -v '^ *+' conftest.er1 >conftest.err
39938 rm -f conftest.er1
39939 cat conftest.err >&5
39940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39941 (exit $ac_status); } && {
39942 test -z "$ac_c_werror_flag" ||
39943 test ! -s conftest.err
39944 } && test -s conftest$ac_exeext &&
39945 $as_test_x conftest$ac_exeext; then
39946 ac_cv_func_pthread_attr_getschedpolicy=yes
39947 else
39948 echo "$as_me: failed program was:" >&5
39949 sed 's/^/| /' conftest.$ac_ext >&5
39950
39951 ac_cv_func_pthread_attr_getschedpolicy=no
39952 fi
39953
39954 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39955 conftest$ac_exeext conftest.$ac_ext
39956 fi
39957 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39958 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39959 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39960 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39961 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39962 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39963 echo $ECHO_N "(cached) $ECHO_C" >&6
39964 else
39965 cat >conftest.$ac_ext <<_ACEOF
39966 /* confdefs.h. */
39967 _ACEOF
39968 cat confdefs.h >>conftest.$ac_ext
39969 cat >>conftest.$ac_ext <<_ACEOF
39970 /* end confdefs.h. */
39971 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39973 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39974
39975 /* System header to define __stub macros and hopefully few prototypes,
39976 which can conflict with char pthread_attr_setschedparam (); below.
39977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39978 <limits.h> exists even on freestanding compilers. */
39979
39980 #ifdef __STDC__
39981 # include <limits.h>
39982 #else
39983 # include <assert.h>
39984 #endif
39985
39986 #undef pthread_attr_setschedparam
39987
39988 /* Override any GCC internal prototype to avoid an error.
39989 Use char because int might match the return type of a GCC
39990 builtin and then its argument prototype would still apply. */
39991 #ifdef __cplusplus
39992 extern "C"
39993 #endif
39994 char pthread_attr_setschedparam ();
39995 /* The GNU C library defines this for functions which it implements
39996 to always fail with ENOSYS. Some functions are actually named
39997 something starting with __ and the normal name is an alias. */
39998 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39999 choke me
40000 #endif
40001
40002 int
40003 main ()
40004 {
40005 return pthread_attr_setschedparam ();
40006 ;
40007 return 0;
40008 }
40009 _ACEOF
40010 rm -f conftest.$ac_objext conftest$ac_exeext
40011 if { (ac_try="$ac_link"
40012 case "(($ac_try" in
40013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40014 *) ac_try_echo=$ac_try;;
40015 esac
40016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40017 (eval "$ac_link") 2>conftest.er1
40018 ac_status=$?
40019 grep -v '^ *+' conftest.er1 >conftest.err
40020 rm -f conftest.er1
40021 cat conftest.err >&5
40022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40023 (exit $ac_status); } && {
40024 test -z "$ac_c_werror_flag" ||
40025 test ! -s conftest.err
40026 } && test -s conftest$ac_exeext &&
40027 $as_test_x conftest$ac_exeext; then
40028 ac_cv_func_pthread_attr_setschedparam=yes
40029 else
40030 echo "$as_me: failed program was:" >&5
40031 sed 's/^/| /' conftest.$ac_ext >&5
40032
40033 ac_cv_func_pthread_attr_setschedparam=no
40034 fi
40035
40036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40037 conftest$ac_exeext conftest.$ac_ext
40038 fi
40039 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40040 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
40041 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40042 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40043 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
40044 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40045 echo $ECHO_N "(cached) $ECHO_C" >&6
40046 else
40047 cat >conftest.$ac_ext <<_ACEOF
40048 /* confdefs.h. */
40049 _ACEOF
40050 cat confdefs.h >>conftest.$ac_ext
40051 cat >>conftest.$ac_ext <<_ACEOF
40052 /* end confdefs.h. */
40053 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40055 #define sched_get_priority_max innocuous_sched_get_priority_max
40056
40057 /* System header to define __stub macros and hopefully few prototypes,
40058 which can conflict with char sched_get_priority_max (); below.
40059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40060 <limits.h> exists even on freestanding compilers. */
40061
40062 #ifdef __STDC__
40063 # include <limits.h>
40064 #else
40065 # include <assert.h>
40066 #endif
40067
40068 #undef sched_get_priority_max
40069
40070 /* Override any GCC internal prototype to avoid an error.
40071 Use char because int might match the return type of a GCC
40072 builtin and then its argument prototype would still apply. */
40073 #ifdef __cplusplus
40074 extern "C"
40075 #endif
40076 char sched_get_priority_max ();
40077 /* The GNU C library defines this for functions which it implements
40078 to always fail with ENOSYS. Some functions are actually named
40079 something starting with __ and the normal name is an alias. */
40080 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
40081 choke me
40082 #endif
40083
40084 int
40085 main ()
40086 {
40087 return sched_get_priority_max ();
40088 ;
40089 return 0;
40090 }
40091 _ACEOF
40092 rm -f conftest.$ac_objext conftest$ac_exeext
40093 if { (ac_try="$ac_link"
40094 case "(($ac_try" in
40095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40096 *) ac_try_echo=$ac_try;;
40097 esac
40098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40099 (eval "$ac_link") 2>conftest.er1
40100 ac_status=$?
40101 grep -v '^ *+' conftest.er1 >conftest.err
40102 rm -f conftest.er1
40103 cat conftest.err >&5
40104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40105 (exit $ac_status); } && {
40106 test -z "$ac_c_werror_flag" ||
40107 test ! -s conftest.err
40108 } && test -s conftest$ac_exeext &&
40109 $as_test_x conftest$ac_exeext; then
40110 ac_cv_func_sched_get_priority_max=yes
40111 else
40112 echo "$as_me: failed program was:" >&5
40113 sed 's/^/| /' conftest.$ac_ext >&5
40114
40115 ac_cv_func_sched_get_priority_max=no
40116 fi
40117
40118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40119 conftest$ac_exeext conftest.$ac_ext
40120 fi
40121 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40122 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
40123 if test $ac_cv_func_sched_get_priority_max = yes; then
40124 HAVE_PRIOR_FUNCS=1
40125 else
40126 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40127 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
40128 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40129 echo $ECHO_N "(cached) $ECHO_C" >&6
40130 else
40131 ac_check_lib_save_LIBS=$LIBS
40132 LIBS="-lposix4 $LIBS"
40133 cat >conftest.$ac_ext <<_ACEOF
40134 /* confdefs.h. */
40135 _ACEOF
40136 cat confdefs.h >>conftest.$ac_ext
40137 cat >>conftest.$ac_ext <<_ACEOF
40138 /* end confdefs.h. */
40139
40140 /* Override any GCC internal prototype to avoid an error.
40141 Use char because int might match the return type of a GCC
40142 builtin and then its argument prototype would still apply. */
40143 #ifdef __cplusplus
40144 extern "C"
40145 #endif
40146 char sched_get_priority_max ();
40147 int
40148 main ()
40149 {
40150 return sched_get_priority_max ();
40151 ;
40152 return 0;
40153 }
40154 _ACEOF
40155 rm -f conftest.$ac_objext conftest$ac_exeext
40156 if { (ac_try="$ac_link"
40157 case "(($ac_try" in
40158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40159 *) ac_try_echo=$ac_try;;
40160 esac
40161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40162 (eval "$ac_link") 2>conftest.er1
40163 ac_status=$?
40164 grep -v '^ *+' conftest.er1 >conftest.err
40165 rm -f conftest.er1
40166 cat conftest.err >&5
40167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40168 (exit $ac_status); } && {
40169 test -z "$ac_c_werror_flag" ||
40170 test ! -s conftest.err
40171 } && test -s conftest$ac_exeext &&
40172 $as_test_x conftest$ac_exeext; then
40173 ac_cv_lib_posix4_sched_get_priority_max=yes
40174 else
40175 echo "$as_me: failed program was:" >&5
40176 sed 's/^/| /' conftest.$ac_ext >&5
40177
40178 ac_cv_lib_posix4_sched_get_priority_max=no
40179 fi
40180
40181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40182 conftest$ac_exeext conftest.$ac_ext
40183 LIBS=$ac_check_lib_save_LIBS
40184 fi
40185 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40186 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
40187 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40188
40189 HAVE_PRIOR_FUNCS=1
40190 POSIX4_LINK=" -lposix4"
40191
40192 fi
40193
40194
40195 fi
40196
40197
40198 fi
40199
40200
40201 fi
40202
40203
40204 if test "$HAVE_PRIOR_FUNCS" = 1; then
40205 cat >>confdefs.h <<\_ACEOF
40206 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40207 _ACEOF
40208
40209 else
40210 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40211 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40212 fi
40213
40214 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40215 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
40216 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40217 echo $ECHO_N "(cached) $ECHO_C" >&6
40218 else
40219 cat >conftest.$ac_ext <<_ACEOF
40220 /* confdefs.h. */
40221 _ACEOF
40222 cat confdefs.h >>conftest.$ac_ext
40223 cat >>conftest.$ac_ext <<_ACEOF
40224 /* end confdefs.h. */
40225 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40227 #define pthread_cancel innocuous_pthread_cancel
40228
40229 /* System header to define __stub macros and hopefully few prototypes,
40230 which can conflict with char pthread_cancel (); below.
40231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40232 <limits.h> exists even on freestanding compilers. */
40233
40234 #ifdef __STDC__
40235 # include <limits.h>
40236 #else
40237 # include <assert.h>
40238 #endif
40239
40240 #undef pthread_cancel
40241
40242 /* Override any GCC internal prototype to avoid an error.
40243 Use char because int might match the return type of a GCC
40244 builtin and then its argument prototype would still apply. */
40245 #ifdef __cplusplus
40246 extern "C"
40247 #endif
40248 char pthread_cancel ();
40249 /* The GNU C library defines this for functions which it implements
40250 to always fail with ENOSYS. Some functions are actually named
40251 something starting with __ and the normal name is an alias. */
40252 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
40253 choke me
40254 #endif
40255
40256 int
40257 main ()
40258 {
40259 return pthread_cancel ();
40260 ;
40261 return 0;
40262 }
40263 _ACEOF
40264 rm -f conftest.$ac_objext conftest$ac_exeext
40265 if { (ac_try="$ac_link"
40266 case "(($ac_try" in
40267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40268 *) ac_try_echo=$ac_try;;
40269 esac
40270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40271 (eval "$ac_link") 2>conftest.er1
40272 ac_status=$?
40273 grep -v '^ *+' conftest.er1 >conftest.err
40274 rm -f conftest.er1
40275 cat conftest.err >&5
40276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40277 (exit $ac_status); } && {
40278 test -z "$ac_c_werror_flag" ||
40279 test ! -s conftest.err
40280 } && test -s conftest$ac_exeext &&
40281 $as_test_x conftest$ac_exeext; then
40282 ac_cv_func_pthread_cancel=yes
40283 else
40284 echo "$as_me: failed program was:" >&5
40285 sed 's/^/| /' conftest.$ac_ext >&5
40286
40287 ac_cv_func_pthread_cancel=no
40288 fi
40289
40290 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40291 conftest$ac_exeext conftest.$ac_ext
40292 fi
40293 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40294 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
40295 if test $ac_cv_func_pthread_cancel = yes; then
40296 cat >>confdefs.h <<\_ACEOF
40297 #define HAVE_PTHREAD_CANCEL 1
40298 _ACEOF
40299
40300 else
40301 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40302 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40303 fi
40304
40305
40306 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
40307 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
40308 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
40309 echo $ECHO_N "(cached) $ECHO_C" >&6
40310 else
40311 cat >conftest.$ac_ext <<_ACEOF
40312 /* confdefs.h. */
40313 _ACEOF
40314 cat confdefs.h >>conftest.$ac_ext
40315 cat >>conftest.$ac_ext <<_ACEOF
40316 /* end confdefs.h. */
40317 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
40318 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40319 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
40320
40321 /* System header to define __stub macros and hopefully few prototypes,
40322 which can conflict with char pthread_mutex_timedlock (); below.
40323 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40324 <limits.h> exists even on freestanding compilers. */
40325
40326 #ifdef __STDC__
40327 # include <limits.h>
40328 #else
40329 # include <assert.h>
40330 #endif
40331
40332 #undef pthread_mutex_timedlock
40333
40334 /* Override any GCC internal prototype to avoid an error.
40335 Use char because int might match the return type of a GCC
40336 builtin and then its argument prototype would still apply. */
40337 #ifdef __cplusplus
40338 extern "C"
40339 #endif
40340 char pthread_mutex_timedlock ();
40341 /* The GNU C library defines this for functions which it implements
40342 to always fail with ENOSYS. Some functions are actually named
40343 something starting with __ and the normal name is an alias. */
40344 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
40345 choke me
40346 #endif
40347
40348 int
40349 main ()
40350 {
40351 return pthread_mutex_timedlock ();
40352 ;
40353 return 0;
40354 }
40355 _ACEOF
40356 rm -f conftest.$ac_objext conftest$ac_exeext
40357 if { (ac_try="$ac_link"
40358 case "(($ac_try" in
40359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40360 *) ac_try_echo=$ac_try;;
40361 esac
40362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40363 (eval "$ac_link") 2>conftest.er1
40364 ac_status=$?
40365 grep -v '^ *+' conftest.er1 >conftest.err
40366 rm -f conftest.er1
40367 cat conftest.err >&5
40368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40369 (exit $ac_status); } && {
40370 test -z "$ac_c_werror_flag" ||
40371 test ! -s conftest.err
40372 } && test -s conftest$ac_exeext &&
40373 $as_test_x conftest$ac_exeext; then
40374 ac_cv_func_pthread_mutex_timedlock=yes
40375 else
40376 echo "$as_me: failed program was:" >&5
40377 sed 's/^/| /' conftest.$ac_ext >&5
40378
40379 ac_cv_func_pthread_mutex_timedlock=no
40380 fi
40381
40382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40383 conftest$ac_exeext conftest.$ac_ext
40384 fi
40385 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
40386 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
40387 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
40388 cat >>confdefs.h <<\_ACEOF
40389 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
40390 _ACEOF
40391
40392 else
40393 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
40394 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
40395 fi
40396
40397
40398 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40399 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
40400 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40401 echo $ECHO_N "(cached) $ECHO_C" >&6
40402 else
40403 cat >conftest.$ac_ext <<_ACEOF
40404 /* confdefs.h. */
40405 _ACEOF
40406 cat confdefs.h >>conftest.$ac_ext
40407 cat >>conftest.$ac_ext <<_ACEOF
40408 /* end confdefs.h. */
40409 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40411 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40412
40413 /* System header to define __stub macros and hopefully few prototypes,
40414 which can conflict with char pthread_attr_setstacksize (); below.
40415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40416 <limits.h> exists even on freestanding compilers. */
40417
40418 #ifdef __STDC__
40419 # include <limits.h>
40420 #else
40421 # include <assert.h>
40422 #endif
40423
40424 #undef pthread_attr_setstacksize
40425
40426 /* Override any GCC internal prototype to avoid an error.
40427 Use char because int might match the return type of a GCC
40428 builtin and then its argument prototype would still apply. */
40429 #ifdef __cplusplus
40430 extern "C"
40431 #endif
40432 char pthread_attr_setstacksize ();
40433 /* The GNU C library defines this for functions which it implements
40434 to always fail with ENOSYS. Some functions are actually named
40435 something starting with __ and the normal name is an alias. */
40436 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40437 choke me
40438 #endif
40439
40440 int
40441 main ()
40442 {
40443 return pthread_attr_setstacksize ();
40444 ;
40445 return 0;
40446 }
40447 _ACEOF
40448 rm -f conftest.$ac_objext conftest$ac_exeext
40449 if { (ac_try="$ac_link"
40450 case "(($ac_try" in
40451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40452 *) ac_try_echo=$ac_try;;
40453 esac
40454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40455 (eval "$ac_link") 2>conftest.er1
40456 ac_status=$?
40457 grep -v '^ *+' conftest.er1 >conftest.err
40458 rm -f conftest.er1
40459 cat conftest.err >&5
40460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40461 (exit $ac_status); } && {
40462 test -z "$ac_c_werror_flag" ||
40463 test ! -s conftest.err
40464 } && test -s conftest$ac_exeext &&
40465 $as_test_x conftest$ac_exeext; then
40466 ac_cv_func_pthread_attr_setstacksize=yes
40467 else
40468 echo "$as_me: failed program was:" >&5
40469 sed 's/^/| /' conftest.$ac_ext >&5
40470
40471 ac_cv_func_pthread_attr_setstacksize=no
40472 fi
40473
40474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40475 conftest$ac_exeext conftest.$ac_ext
40476 fi
40477 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40478 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40479 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40480 cat >>confdefs.h <<\_ACEOF
40481 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40482 _ACEOF
40483
40484 fi
40485
40486
40487
40488 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40489 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40490 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40491 echo $ECHO_N "(cached) $ECHO_C" >&6
40492 else
40493
40494 cat >conftest.$ac_ext <<_ACEOF
40495 /* confdefs.h. */
40496 _ACEOF
40497 cat confdefs.h >>conftest.$ac_ext
40498 cat >>conftest.$ac_ext <<_ACEOF
40499 /* end confdefs.h. */
40500 #include <pthread.h>
40501 int
40502 main ()
40503 {
40504
40505 pthread_mutexattr_t attr;
40506 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40507
40508 ;
40509 return 0;
40510 }
40511 _ACEOF
40512 rm -f conftest.$ac_objext
40513 if { (ac_try="$ac_compile"
40514 case "(($ac_try" in
40515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40516 *) ac_try_echo=$ac_try;;
40517 esac
40518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40519 (eval "$ac_compile") 2>conftest.er1
40520 ac_status=$?
40521 grep -v '^ *+' conftest.er1 >conftest.err
40522 rm -f conftest.er1
40523 cat conftest.err >&5
40524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40525 (exit $ac_status); } && {
40526 test -z "$ac_c_werror_flag" ||
40527 test ! -s conftest.err
40528 } && test -s conftest.$ac_objext; then
40529 wx_cv_type_pthread_mutexattr_t=yes
40530 else
40531 echo "$as_me: failed program was:" >&5
40532 sed 's/^/| /' conftest.$ac_ext >&5
40533
40534 wx_cv_type_pthread_mutexattr_t=no
40535
40536 fi
40537
40538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40539
40540 fi
40541 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40542 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40543
40544 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40545 cat >>confdefs.h <<\_ACEOF
40546 #define HAVE_PTHREAD_MUTEXATTR_T 1
40547 _ACEOF
40548
40549
40550 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40551 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40552 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40553 echo $ECHO_N "(cached) $ECHO_C" >&6
40554 else
40555
40556 cat >conftest.$ac_ext <<_ACEOF
40557 /* confdefs.h. */
40558 _ACEOF
40559 cat confdefs.h >>conftest.$ac_ext
40560 cat >>conftest.$ac_ext <<_ACEOF
40561 /* end confdefs.h. */
40562 #include <pthread.h>
40563 int
40564 main ()
40565 {
40566
40567 pthread_mutexattr_t attr;
40568 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40569
40570 ;
40571 return 0;
40572 }
40573 _ACEOF
40574 rm -f conftest.$ac_objext
40575 if { (ac_try="$ac_compile"
40576 case "(($ac_try" in
40577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40578 *) ac_try_echo=$ac_try;;
40579 esac
40580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40581 (eval "$ac_compile") 2>conftest.er1
40582 ac_status=$?
40583 grep -v '^ *+' conftest.er1 >conftest.err
40584 rm -f conftest.er1
40585 cat conftest.err >&5
40586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40587 (exit $ac_status); } && {
40588 test -z "$ac_c_werror_flag" ||
40589 test ! -s conftest.err
40590 } && test -s conftest.$ac_objext; then
40591 wx_cv_func_pthread_mutexattr_settype_decl=yes
40592 else
40593 echo "$as_me: failed program was:" >&5
40594 sed 's/^/| /' conftest.$ac_ext >&5
40595
40596 wx_cv_func_pthread_mutexattr_settype_decl=no
40597
40598 fi
40599
40600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40601
40602 fi
40603 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40604 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40605 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40606 cat >>confdefs.h <<\_ACEOF
40607 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40608 _ACEOF
40609
40610 fi
40611 else
40612 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40613 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40614 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40615 echo $ECHO_N "(cached) $ECHO_C" >&6
40616 else
40617
40618 cat >conftest.$ac_ext <<_ACEOF
40619 /* confdefs.h. */
40620 _ACEOF
40621 cat confdefs.h >>conftest.$ac_ext
40622 cat >>conftest.$ac_ext <<_ACEOF
40623 /* end confdefs.h. */
40624 #include <pthread.h>
40625 int
40626 main ()
40627 {
40628
40629 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40630
40631 ;
40632 return 0;
40633 }
40634 _ACEOF
40635 rm -f conftest.$ac_objext
40636 if { (ac_try="$ac_compile"
40637 case "(($ac_try" in
40638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40639 *) ac_try_echo=$ac_try;;
40640 esac
40641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40642 (eval "$ac_compile") 2>conftest.er1
40643 ac_status=$?
40644 grep -v '^ *+' conftest.er1 >conftest.err
40645 rm -f conftest.er1
40646 cat conftest.err >&5
40647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40648 (exit $ac_status); } && {
40649 test -z "$ac_c_werror_flag" ||
40650 test ! -s conftest.err
40651 } && test -s conftest.$ac_objext; then
40652
40653 wx_cv_type_pthread_rec_mutex_init=yes
40654
40655 else
40656 echo "$as_me: failed program was:" >&5
40657 sed 's/^/| /' conftest.$ac_ext >&5
40658
40659
40660 wx_cv_type_pthread_rec_mutex_init=no
40661
40662
40663 fi
40664
40665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40666
40667 fi
40668 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40669 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40670 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40671 cat >>confdefs.h <<\_ACEOF
40672 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40673 _ACEOF
40674
40675 else
40676 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40677 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40678 fi
40679 fi
40680
40681 if test "$wxUSE_COMPILER_TLS" = "auto"; then
40682 if test "$USE_NETBSD" = 1; then
40683 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
40684 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
40685 wxUSE_COMPILER_TLS=no
40686 else
40687 wxUSE_COMPILER_TLS=yes
40688 fi
40689 fi
40690
40691 if test "$wxUSE_COMPILER_TLS" = "yes"; then
40692 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40693 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40694 if test "${wx_cv_cc___thread+set}" = set; then
40695 echo $ECHO_N "(cached) $ECHO_C" >&6
40696 else
40697
40698 cat >conftest.$ac_ext <<_ACEOF
40699 /* confdefs.h. */
40700 _ACEOF
40701 cat confdefs.h >>conftest.$ac_ext
40702 cat >>conftest.$ac_ext <<_ACEOF
40703 /* end confdefs.h. */
40704 #include <pthread.h>
40705 int
40706 main ()
40707 {
40708
40709 static __thread int n = 0;
40710 static __thread int *p = 0;
40711
40712 ;
40713 return 0;
40714 }
40715 _ACEOF
40716 rm -f conftest.$ac_objext
40717 if { (ac_try="$ac_compile"
40718 case "(($ac_try" in
40719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40720 *) ac_try_echo=$ac_try;;
40721 esac
40722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40723 (eval "$ac_compile") 2>conftest.er1
40724 ac_status=$?
40725 grep -v '^ *+' conftest.er1 >conftest.err
40726 rm -f conftest.er1
40727 cat conftest.err >&5
40728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40729 (exit $ac_status); } && {
40730 test -z "$ac_c_werror_flag" ||
40731 test ! -s conftest.err
40732 } && test -s conftest.$ac_objext; then
40733 wx_cv_cc___thread=yes
40734 else
40735 echo "$as_me: failed program was:" >&5
40736 sed 's/^/| /' conftest.$ac_ext >&5
40737
40738 wx_cv_cc___thread=no
40739
40740 fi
40741
40742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40743
40744
40745 fi
40746 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40747 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40748
40749 if test "$wx_cv_cc___thread" = "yes"; then
40750
40751 GXX_VERSION=""
40752
40753
40754
40755 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40756 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40757
40758 if test "x$GCC" = "xyes" ; then
40759
40760 if test -z "" ; then
40761
40762 ax_gcc_option_test="int main()
40763 {
40764 return 0;
40765 }"
40766
40767 else
40768
40769 ax_gcc_option_test=""
40770
40771 fi
40772
40773
40774 # Dump the test program to file
40775 cat <<EOF > conftest.c
40776 $ax_gcc_option_test
40777 EOF
40778
40779 # Dump back the file to the log, useful for debugging purposes
40780 { ac_try='cat conftest.c 1>&5'
40781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40782 (eval $ac_try) 2>&5
40783 ac_status=$?
40784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40785 (exit $ac_status); }; }
40786
40787 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40789 (eval $ac_try) 2>&5
40790 ac_status=$?
40791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40792 (exit $ac_status); }; } ; then
40793
40794 { echo "$as_me:$LINENO: result: yes" >&5
40795 echo "${ECHO_T}yes" >&6; }
40796
40797 ax_gcc_version_option=yes
40798
40799
40800 else
40801
40802 { echo "$as_me:$LINENO: result: no" >&5
40803 echo "${ECHO_T}no" >&6; }
40804
40805 ax_gcc_version_option=no
40806
40807
40808 fi
40809
40810
40811 else
40812
40813 { echo "$as_me:$LINENO: result: no gcc available" >&5
40814 echo "${ECHO_T}no gcc available" >&6; }
40815
40816 fi
40817
40818
40819 if test "x$GXX" = "xyes"; then
40820
40821 if test "x$ax_gxx_version_option" != "no"; then
40822
40823 { echo "$as_me:$LINENO: checking gxx version" >&5
40824 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40825 if test "${ax_cv_gxx_version+set}" = set; then
40826 echo $ECHO_N "(cached) $ECHO_C" >&6
40827 else
40828
40829 ax_cv_gxx_version="`$CXX -dumpversion`"
40830 if test "x$ax_cv_gxx_version" = "x"; then
40831
40832 ax_cv_gxx_version=""
40833
40834 fi
40835
40836
40837 fi
40838 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40839 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40840 GXX_VERSION=$ax_cv_gxx_version
40841
40842 fi
40843
40844
40845 fi
40846
40847
40848
40849 if test -n "$ax_cv_gxx_version"; then
40850 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40851 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40852 case "$ax_cv_gxx_version" in
40853 1.* | 2.* | 3.* )
40854 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40855 echo "${ECHO_T}no, it's broken" >&6; }
40856 wx_cv_cc___thread=no
40857 ;;
40858 *)
40859 { echo "$as_me:$LINENO: result: yes, it works" >&5
40860 echo "${ECHO_T}yes, it works" >&6; }
40861 ;;
40862 esac
40863 fi
40864 fi
40865
40866 if test "$wx_cv_cc___thread" = "yes"; then
40867 cat >>confdefs.h <<\_ACEOF
40868 #define HAVE___THREAD_KEYWORD 1
40869 _ACEOF
40870
40871 fi
40872 fi
40873 fi
40874
40875 else
40876 if test "$wxUSE_THREADS" = "yes" ; then
40877 case "${host}" in
40878 x86_64-*-mingw32* )
40879 ;;
40880 *-*-mingw32* )
40881 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40882 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40883 if test "${wx_cv_cflags_mthread+set}" = set; then
40884 echo $ECHO_N "(cached) $ECHO_C" >&6
40885 else
40886
40887 CFLAGS_OLD="$CFLAGS"
40888 CFLAGS="-mthreads $CFLAGS"
40889 cat >conftest.$ac_ext <<_ACEOF
40890 /* confdefs.h. */
40891 _ACEOF
40892 cat confdefs.h >>conftest.$ac_ext
40893 cat >>conftest.$ac_ext <<_ACEOF
40894 /* end confdefs.h. */
40895
40896 int
40897 main ()
40898 {
40899
40900 ;
40901 return 0;
40902 }
40903 _ACEOF
40904 rm -f conftest.$ac_objext
40905 if { (ac_try="$ac_compile"
40906 case "(($ac_try" in
40907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40908 *) ac_try_echo=$ac_try;;
40909 esac
40910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40911 (eval "$ac_compile") 2>conftest.er1
40912 ac_status=$?
40913 grep -v '^ *+' conftest.er1 >conftest.err
40914 rm -f conftest.er1
40915 cat conftest.err >&5
40916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40917 (exit $ac_status); } && {
40918 test -z "$ac_c_werror_flag" ||
40919 test ! -s conftest.err
40920 } && test -s conftest.$ac_objext; then
40921 wx_cv_cflags_mthread=yes
40922 else
40923 echo "$as_me: failed program was:" >&5
40924 sed 's/^/| /' conftest.$ac_ext >&5
40925
40926 wx_cv_cflags_mthread=no
40927
40928 fi
40929
40930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40931
40932
40933 fi
40934 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40935 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40936
40937 if test "$wx_cv_cflags_mthread" = "yes"; then
40938 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40939 LDFLAGS="$LDFLAGS -mthreads"
40940 else
40941 CFLAGS="$CFLAGS_OLD"
40942 fi
40943 ;;
40944 *-pc-os2*emx )
40945 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40946 LDFLAGS="$LDFLAGS -Zmt"
40947 ;;
40948 esac
40949 fi
40950 fi
40951
40952 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40953 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40954 if test "${ac_cv_func_localtime_r+set}" = set; then
40955 echo $ECHO_N "(cached) $ECHO_C" >&6
40956 else
40957 cat >conftest.$ac_ext <<_ACEOF
40958 /* confdefs.h. */
40959 _ACEOF
40960 cat confdefs.h >>conftest.$ac_ext
40961 cat >>conftest.$ac_ext <<_ACEOF
40962 /* end confdefs.h. */
40963 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40965 #define localtime_r innocuous_localtime_r
40966
40967 /* System header to define __stub macros and hopefully few prototypes,
40968 which can conflict with char localtime_r (); below.
40969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40970 <limits.h> exists even on freestanding compilers. */
40971
40972 #ifdef __STDC__
40973 # include <limits.h>
40974 #else
40975 # include <assert.h>
40976 #endif
40977
40978 #undef localtime_r
40979
40980 /* Override any GCC internal prototype to avoid an error.
40981 Use char because int might match the return type of a GCC
40982 builtin and then its argument prototype would still apply. */
40983 #ifdef __cplusplus
40984 extern "C"
40985 #endif
40986 char localtime_r ();
40987 /* The GNU C library defines this for functions which it implements
40988 to always fail with ENOSYS. Some functions are actually named
40989 something starting with __ and the normal name is an alias. */
40990 #if defined __stub_localtime_r || defined __stub___localtime_r
40991 choke me
40992 #endif
40993
40994 int
40995 main ()
40996 {
40997 return localtime_r ();
40998 ;
40999 return 0;
41000 }
41001 _ACEOF
41002 rm -f conftest.$ac_objext conftest$ac_exeext
41003 if { (ac_try="$ac_link"
41004 case "(($ac_try" in
41005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41006 *) ac_try_echo=$ac_try;;
41007 esac
41008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41009 (eval "$ac_link") 2>conftest.er1
41010 ac_status=$?
41011 grep -v '^ *+' conftest.er1 >conftest.err
41012 rm -f conftest.er1
41013 cat conftest.err >&5
41014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41015 (exit $ac_status); } && {
41016 test -z "$ac_c_werror_flag" ||
41017 test ! -s conftest.err
41018 } && test -s conftest$ac_exeext &&
41019 $as_test_x conftest$ac_exeext; then
41020 ac_cv_func_localtime_r=yes
41021 else
41022 echo "$as_me: failed program was:" >&5
41023 sed 's/^/| /' conftest.$ac_ext >&5
41024
41025 ac_cv_func_localtime_r=no
41026 fi
41027
41028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41029 conftest$ac_exeext conftest.$ac_ext
41030 fi
41031 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41032 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
41033 if test $ac_cv_func_localtime_r = yes; then
41034 cat >>confdefs.h <<\_ACEOF
41035 #define HAVE_LOCALTIME_R 1
41036 _ACEOF
41037
41038 fi
41039
41040 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
41041 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
41042 if test "${ac_cv_func_gmtime_r+set}" = set; then
41043 echo $ECHO_N "(cached) $ECHO_C" >&6
41044 else
41045 cat >conftest.$ac_ext <<_ACEOF
41046 /* confdefs.h. */
41047 _ACEOF
41048 cat confdefs.h >>conftest.$ac_ext
41049 cat >>conftest.$ac_ext <<_ACEOF
41050 /* end confdefs.h. */
41051 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41053 #define gmtime_r innocuous_gmtime_r
41054
41055 /* System header to define __stub macros and hopefully few prototypes,
41056 which can conflict with char gmtime_r (); below.
41057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41058 <limits.h> exists even on freestanding compilers. */
41059
41060 #ifdef __STDC__
41061 # include <limits.h>
41062 #else
41063 # include <assert.h>
41064 #endif
41065
41066 #undef gmtime_r
41067
41068 /* Override any GCC internal prototype to avoid an error.
41069 Use char because int might match the return type of a GCC
41070 builtin and then its argument prototype would still apply. */
41071 #ifdef __cplusplus
41072 extern "C"
41073 #endif
41074 char gmtime_r ();
41075 /* The GNU C library defines this for functions which it implements
41076 to always fail with ENOSYS. Some functions are actually named
41077 something starting with __ and the normal name is an alias. */
41078 #if defined __stub_gmtime_r || defined __stub___gmtime_r
41079 choke me
41080 #endif
41081
41082 int
41083 main ()
41084 {
41085 return gmtime_r ();
41086 ;
41087 return 0;
41088 }
41089 _ACEOF
41090 rm -f conftest.$ac_objext conftest$ac_exeext
41091 if { (ac_try="$ac_link"
41092 case "(($ac_try" in
41093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41094 *) ac_try_echo=$ac_try;;
41095 esac
41096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41097 (eval "$ac_link") 2>conftest.er1
41098 ac_status=$?
41099 grep -v '^ *+' conftest.er1 >conftest.err
41100 rm -f conftest.er1
41101 cat conftest.err >&5
41102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41103 (exit $ac_status); } && {
41104 test -z "$ac_c_werror_flag" ||
41105 test ! -s conftest.err
41106 } && test -s conftest$ac_exeext &&
41107 $as_test_x conftest$ac_exeext; then
41108 ac_cv_func_gmtime_r=yes
41109 else
41110 echo "$as_me: failed program was:" >&5
41111 sed 's/^/| /' conftest.$ac_ext >&5
41112
41113 ac_cv_func_gmtime_r=no
41114 fi
41115
41116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41117 conftest$ac_exeext conftest.$ac_ext
41118 fi
41119 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41120 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
41121 if test $ac_cv_func_gmtime_r = yes; then
41122 cat >>confdefs.h <<\_ACEOF
41123 #define HAVE_GMTIME_R 1
41124 _ACEOF
41125
41126 fi
41127
41128
41129
41130
41131 ac_ext=c
41132 ac_cpp='$CPP $CPPFLAGS'
41133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41136
41137 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41138 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
41139
41140 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41141 echo $ECHO_N "(cached) $ECHO_C" >&6
41142 else
41143
41144
41145 ################################################################
41146
41147 ac_cv_func_which_gethostbyname_r=unknown
41148
41149 #
41150 # ONE ARGUMENT (sanity check)
41151 #
41152
41153 # This should fail, as there is no variant of gethostbyname_r() that takes
41154 # a single argument. If it actually compiles, then we can assume that
41155 # netdb.h is not declaring the function, and the compiler is thereby
41156 # assuming an implicit prototype. In which case, we're out of luck.
41157 #
41158 cat >conftest.$ac_ext <<_ACEOF
41159 /* confdefs.h. */
41160 _ACEOF
41161 cat confdefs.h >>conftest.$ac_ext
41162 cat >>conftest.$ac_ext <<_ACEOF
41163 /* end confdefs.h. */
41164 #include <netdb.h>
41165 int
41166 main ()
41167 {
41168
41169 char *name = "www.gnu.org";
41170 (void)gethostbyname_r(name) /* ; */
41171
41172 ;
41173 return 0;
41174 }
41175 _ACEOF
41176 rm -f conftest.$ac_objext
41177 if { (ac_try="$ac_compile"
41178 case "(($ac_try" in
41179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41180 *) ac_try_echo=$ac_try;;
41181 esac
41182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41183 (eval "$ac_compile") 2>conftest.er1
41184 ac_status=$?
41185 grep -v '^ *+' conftest.er1 >conftest.err
41186 rm -f conftest.er1
41187 cat conftest.err >&5
41188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41189 (exit $ac_status); } && {
41190 test -z "$ac_c_werror_flag" ||
41191 test ! -s conftest.err
41192 } && test -s conftest.$ac_objext; then
41193 ac_cv_func_which_gethostbyname_r=no
41194 else
41195 echo "$as_me: failed program was:" >&5
41196 sed 's/^/| /' conftest.$ac_ext >&5
41197
41198
41199 fi
41200
41201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41202
41203 #
41204 # SIX ARGUMENTS
41205 # (e.g. Linux)
41206 #
41207
41208 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41209
41210 cat >conftest.$ac_ext <<_ACEOF
41211 /* confdefs.h. */
41212 _ACEOF
41213 cat confdefs.h >>conftest.$ac_ext
41214 cat >>conftest.$ac_ext <<_ACEOF
41215 /* end confdefs.h. */
41216 #include <netdb.h>
41217 int
41218 main ()
41219 {
41220
41221 char *name = "www.gnu.org";
41222 struct hostent ret, *retp;
41223 char buf[1024];
41224 int buflen = 1024;
41225 int my_h_errno;
41226 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41227
41228 ;
41229 return 0;
41230 }
41231 _ACEOF
41232 rm -f conftest.$ac_objext
41233 if { (ac_try="$ac_compile"
41234 case "(($ac_try" in
41235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41236 *) ac_try_echo=$ac_try;;
41237 esac
41238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41239 (eval "$ac_compile") 2>conftest.er1
41240 ac_status=$?
41241 grep -v '^ *+' conftest.er1 >conftest.err
41242 rm -f conftest.er1
41243 cat conftest.err >&5
41244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41245 (exit $ac_status); } && {
41246 test -z "$ac_c_werror_flag" ||
41247 test ! -s conftest.err
41248 } && test -s conftest.$ac_objext; then
41249 ac_cv_func_which_gethostbyname_r=six
41250 else
41251 echo "$as_me: failed program was:" >&5
41252 sed 's/^/| /' conftest.$ac_ext >&5
41253
41254
41255 fi
41256
41257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41258
41259 fi
41260
41261 #
41262 # FIVE ARGUMENTS
41263 # (e.g. Solaris)
41264 #
41265
41266 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41267
41268 cat >conftest.$ac_ext <<_ACEOF
41269 /* confdefs.h. */
41270 _ACEOF
41271 cat confdefs.h >>conftest.$ac_ext
41272 cat >>conftest.$ac_ext <<_ACEOF
41273 /* end confdefs.h. */
41274 #include <netdb.h>
41275 int
41276 main ()
41277 {
41278
41279 char *name = "www.gnu.org";
41280 struct hostent ret;
41281 char buf[1024];
41282 int buflen = 1024;
41283 int my_h_errno;
41284 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41285
41286 ;
41287 return 0;
41288 }
41289 _ACEOF
41290 rm -f conftest.$ac_objext
41291 if { (ac_try="$ac_compile"
41292 case "(($ac_try" in
41293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41294 *) ac_try_echo=$ac_try;;
41295 esac
41296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41297 (eval "$ac_compile") 2>conftest.er1
41298 ac_status=$?
41299 grep -v '^ *+' conftest.er1 >conftest.err
41300 rm -f conftest.er1
41301 cat conftest.err >&5
41302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41303 (exit $ac_status); } && {
41304 test -z "$ac_c_werror_flag" ||
41305 test ! -s conftest.err
41306 } && test -s conftest.$ac_objext; then
41307 ac_cv_func_which_gethostbyname_r=five
41308 else
41309 echo "$as_me: failed program was:" >&5
41310 sed 's/^/| /' conftest.$ac_ext >&5
41311
41312
41313 fi
41314
41315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41316
41317 fi
41318
41319 #
41320 # THREE ARGUMENTS
41321 # (e.g. AIX, HP-UX, Tru64)
41322 #
41323
41324 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41325
41326 cat >conftest.$ac_ext <<_ACEOF
41327 /* confdefs.h. */
41328 _ACEOF
41329 cat confdefs.h >>conftest.$ac_ext
41330 cat >>conftest.$ac_ext <<_ACEOF
41331 /* end confdefs.h. */
41332 #include <netdb.h>
41333 int
41334 main ()
41335 {
41336
41337 char *name = "www.gnu.org";
41338 struct hostent ret;
41339 struct hostent_data data;
41340 (void)gethostbyname_r(name, &ret, &data) /* ; */
41341
41342 ;
41343 return 0;
41344 }
41345 _ACEOF
41346 rm -f conftest.$ac_objext
41347 if { (ac_try="$ac_compile"
41348 case "(($ac_try" in
41349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41350 *) ac_try_echo=$ac_try;;
41351 esac
41352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41353 (eval "$ac_compile") 2>conftest.er1
41354 ac_status=$?
41355 grep -v '^ *+' conftest.er1 >conftest.err
41356 rm -f conftest.er1
41357 cat conftest.err >&5
41358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41359 (exit $ac_status); } && {
41360 test -z "$ac_c_werror_flag" ||
41361 test ! -s conftest.err
41362 } && test -s conftest.$ac_objext; then
41363 ac_cv_func_which_gethostbyname_r=three
41364 else
41365 echo "$as_me: failed program was:" >&5
41366 sed 's/^/| /' conftest.$ac_ext >&5
41367
41368
41369 fi
41370
41371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41372
41373 fi
41374
41375 ################################################################
41376
41377
41378 fi
41379
41380 case "$ac_cv_func_which_gethostbyname_r" in
41381 three)
41382 { echo "$as_me:$LINENO: result: three" >&5
41383 echo "${ECHO_T}three" >&6; }
41384 cat >>confdefs.h <<\_ACEOF
41385 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41386 _ACEOF
41387
41388 ;;
41389
41390 five)
41391 { echo "$as_me:$LINENO: result: five" >&5
41392 echo "${ECHO_T}five" >&6; }
41393 cat >>confdefs.h <<\_ACEOF
41394 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41395 _ACEOF
41396
41397 ;;
41398
41399 six)
41400 { echo "$as_me:$LINENO: result: six" >&5
41401 echo "${ECHO_T}six" >&6; }
41402 cat >>confdefs.h <<\_ACEOF
41403 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41404 _ACEOF
41405
41406 ;;
41407
41408 no)
41409 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41410 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
41411 ;;
41412
41413 unknown)
41414 { echo "$as_me:$LINENO: result: can't tell" >&5
41415 echo "${ECHO_T}can't tell" >&6; }
41416 ;;
41417
41418 *)
41419 { { echo "$as_me:$LINENO: error: internal error" >&5
41420 echo "$as_me: error: internal error" >&2;}
41421 { (exit 1); exit 1; }; }
41422 ;;
41423 esac
41424
41425 ac_ext=c
41426 ac_cpp='$CPP $CPPFLAGS'
41427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41430
41431
41432
41433 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41434 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41435 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
41436 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
41437 if test "${ac_cv_func_gethostbyname+set}" = set; then
41438 echo $ECHO_N "(cached) $ECHO_C" >&6
41439 else
41440 cat >conftest.$ac_ext <<_ACEOF
41441 /* confdefs.h. */
41442 _ACEOF
41443 cat confdefs.h >>conftest.$ac_ext
41444 cat >>conftest.$ac_ext <<_ACEOF
41445 /* end confdefs.h. */
41446 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41447 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41448 #define gethostbyname innocuous_gethostbyname
41449
41450 /* System header to define __stub macros and hopefully few prototypes,
41451 which can conflict with char gethostbyname (); below.
41452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41453 <limits.h> exists even on freestanding compilers. */
41454
41455 #ifdef __STDC__
41456 # include <limits.h>
41457 #else
41458 # include <assert.h>
41459 #endif
41460
41461 #undef gethostbyname
41462
41463 /* Override any GCC internal prototype to avoid an error.
41464 Use char because int might match the return type of a GCC
41465 builtin and then its argument prototype would still apply. */
41466 #ifdef __cplusplus
41467 extern "C"
41468 #endif
41469 char gethostbyname ();
41470 /* The GNU C library defines this for functions which it implements
41471 to always fail with ENOSYS. Some functions are actually named
41472 something starting with __ and the normal name is an alias. */
41473 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41474 choke me
41475 #endif
41476
41477 int
41478 main ()
41479 {
41480 return gethostbyname ();
41481 ;
41482 return 0;
41483 }
41484 _ACEOF
41485 rm -f conftest.$ac_objext conftest$ac_exeext
41486 if { (ac_try="$ac_link"
41487 case "(($ac_try" in
41488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41489 *) ac_try_echo=$ac_try;;
41490 esac
41491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41492 (eval "$ac_link") 2>conftest.er1
41493 ac_status=$?
41494 grep -v '^ *+' conftest.er1 >conftest.err
41495 rm -f conftest.er1
41496 cat conftest.err >&5
41497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41498 (exit $ac_status); } && {
41499 test -z "$ac_c_werror_flag" ||
41500 test ! -s conftest.err
41501 } && test -s conftest$ac_exeext &&
41502 $as_test_x conftest$ac_exeext; then
41503 ac_cv_func_gethostbyname=yes
41504 else
41505 echo "$as_me: failed program was:" >&5
41506 sed 's/^/| /' conftest.$ac_ext >&5
41507
41508 ac_cv_func_gethostbyname=no
41509 fi
41510
41511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41512 conftest$ac_exeext conftest.$ac_ext
41513 fi
41514 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41515 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41516 if test $ac_cv_func_gethostbyname = yes; then
41517 cat >>confdefs.h <<\_ACEOF
41518 #define HAVE_GETHOSTBYNAME 1
41519 _ACEOF
41520
41521 fi
41522
41523 fi
41524
41525 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41526 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41527 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41528 echo $ECHO_N "(cached) $ECHO_C" >&6
41529 else
41530
41531 ac_ext=cpp
41532 ac_cpp='$CXXCPP $CPPFLAGS'
41533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41536
41537
41538 cat >conftest.$ac_ext <<_ACEOF
41539 /* confdefs.h. */
41540 _ACEOF
41541 cat confdefs.h >>conftest.$ac_ext
41542 cat >>conftest.$ac_ext <<_ACEOF
41543 /* end confdefs.h. */
41544 #include <netdb.h>
41545 int
41546 main ()
41547 {
41548
41549 char *name;
41550 char *proto;
41551 struct servent *se, *res;
41552 char buffer[2048];
41553 int buflen = 2048;
41554 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41555
41556 ;
41557 return 0;
41558 }
41559 _ACEOF
41560 rm -f conftest.$ac_objext
41561 if { (ac_try="$ac_compile"
41562 case "(($ac_try" in
41563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41564 *) ac_try_echo=$ac_try;;
41565 esac
41566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41567 (eval "$ac_compile") 2>conftest.er1
41568 ac_status=$?
41569 grep -v '^ *+' conftest.er1 >conftest.err
41570 rm -f conftest.er1
41571 cat conftest.err >&5
41572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41573 (exit $ac_status); } && {
41574 test -z "$ac_cxx_werror_flag" ||
41575 test ! -s conftest.err
41576 } && test -s conftest.$ac_objext; then
41577 ac_cv_func_which_getservbyname_r=six
41578 else
41579 echo "$as_me: failed program was:" >&5
41580 sed 's/^/| /' conftest.$ac_ext >&5
41581
41582
41583 cat >conftest.$ac_ext <<_ACEOF
41584 /* confdefs.h. */
41585 _ACEOF
41586 cat confdefs.h >>conftest.$ac_ext
41587 cat >>conftest.$ac_ext <<_ACEOF
41588 /* end confdefs.h. */
41589 #include <netdb.h>
41590 int
41591 main ()
41592 {
41593
41594 char *name;
41595 char *proto;
41596 struct servent *se;
41597 char buffer[2048];
41598 int buflen = 2048;
41599 (void) getservbyname_r(name, proto, se, buffer, buflen)
41600
41601 ;
41602 return 0;
41603 }
41604 _ACEOF
41605 rm -f conftest.$ac_objext
41606 if { (ac_try="$ac_compile"
41607 case "(($ac_try" in
41608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41609 *) ac_try_echo=$ac_try;;
41610 esac
41611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41612 (eval "$ac_compile") 2>conftest.er1
41613 ac_status=$?
41614 grep -v '^ *+' conftest.er1 >conftest.err
41615 rm -f conftest.er1
41616 cat conftest.err >&5
41617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41618 (exit $ac_status); } && {
41619 test -z "$ac_cxx_werror_flag" ||
41620 test ! -s conftest.err
41621 } && test -s conftest.$ac_objext; then
41622 ac_cv_func_which_getservbyname_r=five
41623 else
41624 echo "$as_me: failed program was:" >&5
41625 sed 's/^/| /' conftest.$ac_ext >&5
41626
41627
41628 cat >conftest.$ac_ext <<_ACEOF
41629 /* confdefs.h. */
41630 _ACEOF
41631 cat confdefs.h >>conftest.$ac_ext
41632 cat >>conftest.$ac_ext <<_ACEOF
41633 /* end confdefs.h. */
41634 #include <netdb.h>
41635 int
41636 main ()
41637 {
41638
41639 char *name;
41640 char *proto;
41641 struct servent *se;
41642 struct servent_data data;
41643 (void) getservbyname_r(name, proto, se, &data);
41644
41645 ;
41646 return 0;
41647 }
41648 _ACEOF
41649 rm -f conftest.$ac_objext
41650 if { (ac_try="$ac_compile"
41651 case "(($ac_try" in
41652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41653 *) ac_try_echo=$ac_try;;
41654 esac
41655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41656 (eval "$ac_compile") 2>conftest.er1
41657 ac_status=$?
41658 grep -v '^ *+' conftest.er1 >conftest.err
41659 rm -f conftest.er1
41660 cat conftest.err >&5
41661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41662 (exit $ac_status); } && {
41663 test -z "$ac_cxx_werror_flag" ||
41664 test ! -s conftest.err
41665 } && test -s conftest.$ac_objext; then
41666 ac_cv_func_which_getservbyname_r=four
41667 else
41668 echo "$as_me: failed program was:" >&5
41669 sed 's/^/| /' conftest.$ac_ext >&5
41670
41671 ac_cv_func_which_getservbyname_r=no
41672
41673 fi
41674
41675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41676
41677
41678 fi
41679
41680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41681
41682
41683 fi
41684
41685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41686 ac_ext=c
41687 ac_cpp='$CPP $CPPFLAGS'
41688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41691
41692
41693
41694 fi
41695 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41696 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41697
41698 if test $ac_cv_func_which_getservbyname_r = six; then
41699 cat >>confdefs.h <<\_ACEOF
41700 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41701 _ACEOF
41702
41703 elif test $ac_cv_func_which_getservbyname_r = five; then
41704 cat >>confdefs.h <<\_ACEOF
41705 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41706 _ACEOF
41707
41708 elif test $ac_cv_func_which_getservbyname_r = four; then
41709 cat >>confdefs.h <<\_ACEOF
41710 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41711 _ACEOF
41712
41713 fi
41714
41715
41716 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41717 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41718
41719 for ac_func in getservbyname
41720 do
41721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41722 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41724 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41725 echo $ECHO_N "(cached) $ECHO_C" >&6
41726 else
41727 cat >conftest.$ac_ext <<_ACEOF
41728 /* confdefs.h. */
41729 _ACEOF
41730 cat confdefs.h >>conftest.$ac_ext
41731 cat >>conftest.$ac_ext <<_ACEOF
41732 /* end confdefs.h. */
41733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41735 #define $ac_func innocuous_$ac_func
41736
41737 /* System header to define __stub macros and hopefully few prototypes,
41738 which can conflict with char $ac_func (); below.
41739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41740 <limits.h> exists even on freestanding compilers. */
41741
41742 #ifdef __STDC__
41743 # include <limits.h>
41744 #else
41745 # include <assert.h>
41746 #endif
41747
41748 #undef $ac_func
41749
41750 /* Override any GCC internal prototype to avoid an error.
41751 Use char because int might match the return type of a GCC
41752 builtin and then its argument prototype would still apply. */
41753 #ifdef __cplusplus
41754 extern "C"
41755 #endif
41756 char $ac_func ();
41757 /* The GNU C library defines this for functions which it implements
41758 to always fail with ENOSYS. Some functions are actually named
41759 something starting with __ and the normal name is an alias. */
41760 #if defined __stub_$ac_func || defined __stub___$ac_func
41761 choke me
41762 #endif
41763
41764 int
41765 main ()
41766 {
41767 return $ac_func ();
41768 ;
41769 return 0;
41770 }
41771 _ACEOF
41772 rm -f conftest.$ac_objext conftest$ac_exeext
41773 if { (ac_try="$ac_link"
41774 case "(($ac_try" in
41775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41776 *) ac_try_echo=$ac_try;;
41777 esac
41778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41779 (eval "$ac_link") 2>conftest.er1
41780 ac_status=$?
41781 grep -v '^ *+' conftest.er1 >conftest.err
41782 rm -f conftest.er1
41783 cat conftest.err >&5
41784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41785 (exit $ac_status); } && {
41786 test -z "$ac_c_werror_flag" ||
41787 test ! -s conftest.err
41788 } && test -s conftest$ac_exeext &&
41789 $as_test_x conftest$ac_exeext; then
41790 eval "$as_ac_var=yes"
41791 else
41792 echo "$as_me: failed program was:" >&5
41793 sed 's/^/| /' conftest.$ac_ext >&5
41794
41795 eval "$as_ac_var=no"
41796 fi
41797
41798 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41799 conftest$ac_exeext conftest.$ac_ext
41800 fi
41801 ac_res=`eval echo '${'$as_ac_var'}'`
41802 { echo "$as_me:$LINENO: result: $ac_res" >&5
41803 echo "${ECHO_T}$ac_res" >&6; }
41804 if test `eval echo '${'$as_ac_var'}'` = yes; then
41805 cat >>confdefs.h <<_ACEOF
41806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41807 _ACEOF
41808 cat >>confdefs.h <<\_ACEOF
41809 #define HAVE_GETSERVBYNAME 1
41810 _ACEOF
41811
41812 fi
41813 done
41814
41815 fi
41816
41817 if test "$wxUSE_THREADS" = "yes"; then
41818 cat >>confdefs.h <<\_ACEOF
41819 #define wxUSE_THREADS 1
41820 _ACEOF
41821
41822
41823 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41824 else
41825 if test "$wx_cv_func_strtok_r" = "yes"; then
41826 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41827 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41828 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41829 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41830 { echo "$as_me:$LINENO: result: yes" >&5
41831 echo "${ECHO_T}yes" >&6; }
41832 else
41833 { echo "$as_me:$LINENO: result: no" >&5
41834 echo "${ECHO_T}no" >&6; }
41835 fi
41836 fi
41837 fi
41838
41839 if test "$WXGTK2" = 1 ; then
41840 cat >>confdefs.h <<_ACEOF
41841 #define __WXGTK20__ $WXGTK2
41842 _ACEOF
41843
41844 WXGTK12=1
41845 fi
41846
41847 if test "$WXGTK12" = 1 ; then
41848 cat >>confdefs.h <<_ACEOF
41849 #define __WXGTK12__ $WXGTK12
41850 _ACEOF
41851
41852 fi
41853
41854 if test "$WXGTK127" = 1 ; then
41855 cat >>confdefs.h <<_ACEOF
41856 #define __WXGTK127__ $WXGTK127
41857 _ACEOF
41858
41859 fi
41860
41861 if test "$WXGPE" = 1 ; then
41862 cat >>confdefs.h <<_ACEOF
41863 #define __WXGPE__ $WXGPE
41864 _ACEOF
41865
41866 fi
41867
41868 DEBUG_CFLAGS=
41869 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
41870 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
41871 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
41872 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
41873 DEBUG_CFLAGS="-g"
41874 fi
41875
41876 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41877 wxUSE_DEBUG_INFO=yes
41878 if test "$GCC" = yes; then
41879 DEBUG_CFLAGS="-ggdb"
41880 fi
41881 fi
41882
41883 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
41884 if test "$wxUSE_GTK" = 1 ; then
41885 if test "x$wxGTK_VERSION" = "x1" ; then
41886 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41887 fi
41888 fi
41889 fi
41890
41891 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41892 cat >>confdefs.h <<\_ACEOF
41893 #define wxUSE_MEMORY_TRACING 1
41894 _ACEOF
41895
41896 cat >>confdefs.h <<\_ACEOF
41897 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41898 _ACEOF
41899
41900 cat >>confdefs.h <<\_ACEOF
41901 #define wxUSE_DEBUG_NEW_ALWAYS 1
41902 _ACEOF
41903
41904 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41905 fi
41906
41907 if test "$wxUSE_DMALLOC" = "yes" ; then
41908 DMALLOC_LIBS="-ldmallocthcxx"
41909 fi
41910
41911 PROFILE_FLAGS=
41912 if test "$wxUSE_PROFILE" = "yes" ; then
41913 PROFILE_FLAGS=" -pg"
41914 fi
41915
41916 if test "$GCC" = "yes" ; then
41917 if test "$wxUSE_NO_RTTI" = "yes" ; then
41918 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41919 fi
41920 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41921 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41922 fi
41923 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41924 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41925 fi
41926
41927 case "${host}" in
41928 powerpc*-*-aix* )
41929 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41930 ;;
41931 *-hppa* )
41932 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41933 ;;
41934 esac
41935 fi
41936
41937 OPTIMISE_CFLAGS=
41938 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
41939 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
41940 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
41941 else
41942 if test "$wxUSE_OPTIMISE" = "no" ; then
41943 if test "$GCC" = yes ; then
41944 OPTIMISE_CFLAGS="-O0"
41945 fi
41946 else
41947 if test "$GCC" = yes ; then
41948 case "${host}" in
41949 *-pc-os2_emx | *-pc-os2-emx )
41950 OPTIMISE_CFLAGS="-O2"
41951 ;;
41952 *)
41953 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41954 ;;
41955 esac
41956 else
41957 OPTIMISE_CFLAGS="-O"
41958 fi
41959 fi
41960 fi
41961
41962
41963 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41964 cat >>confdefs.h <<\_ACEOF
41965 #define WXWIN_COMPATIBILITY_2_6 1
41966 _ACEOF
41967
41968
41969 WXWIN_COMPATIBILITY_2_8="yes"
41970 fi
41971
41972 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41973 cat >>confdefs.h <<\_ACEOF
41974 #define WXWIN_COMPATIBILITY_2_8 1
41975 _ACEOF
41976
41977 fi
41978
41979
41980 if test "$wxUSE_GUI" = "yes"; then
41981 cat >>confdefs.h <<\_ACEOF
41982 #define wxUSE_GUI 1
41983 _ACEOF
41984
41985
41986 fi
41987
41988
41989 if test "$wxUSE_UNIX" = "yes"; then
41990 cat >>confdefs.h <<\_ACEOF
41991 #define wxUSE_UNIX 1
41992 _ACEOF
41993
41994 fi
41995
41996
41997 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41998
41999 HAVE_DL_FUNCS=0
42000 HAVE_SHL_FUNCS=0
42001 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42002 if test "$USE_DOS" = 1; then
42003 HAVE_DL_FUNCS=0
42004 else
42005
42006 for ac_func in dlopen
42007 do
42008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42009 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42011 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42012 echo $ECHO_N "(cached) $ECHO_C" >&6
42013 else
42014 cat >conftest.$ac_ext <<_ACEOF
42015 /* confdefs.h. */
42016 _ACEOF
42017 cat confdefs.h >>conftest.$ac_ext
42018 cat >>conftest.$ac_ext <<_ACEOF
42019 /* end confdefs.h. */
42020 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42022 #define $ac_func innocuous_$ac_func
42023
42024 /* System header to define __stub macros and hopefully few prototypes,
42025 which can conflict with char $ac_func (); below.
42026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42027 <limits.h> exists even on freestanding compilers. */
42028
42029 #ifdef __STDC__
42030 # include <limits.h>
42031 #else
42032 # include <assert.h>
42033 #endif
42034
42035 #undef $ac_func
42036
42037 /* Override any GCC internal prototype to avoid an error.
42038 Use char because int might match the return type of a GCC
42039 builtin and then its argument prototype would still apply. */
42040 #ifdef __cplusplus
42041 extern "C"
42042 #endif
42043 char $ac_func ();
42044 /* The GNU C library defines this for functions which it implements
42045 to always fail with ENOSYS. Some functions are actually named
42046 something starting with __ and the normal name is an alias. */
42047 #if defined __stub_$ac_func || defined __stub___$ac_func
42048 choke me
42049 #endif
42050
42051 int
42052 main ()
42053 {
42054 return $ac_func ();
42055 ;
42056 return 0;
42057 }
42058 _ACEOF
42059 rm -f conftest.$ac_objext conftest$ac_exeext
42060 if { (ac_try="$ac_link"
42061 case "(($ac_try" in
42062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42063 *) ac_try_echo=$ac_try;;
42064 esac
42065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42066 (eval "$ac_link") 2>conftest.er1
42067 ac_status=$?
42068 grep -v '^ *+' conftest.er1 >conftest.err
42069 rm -f conftest.er1
42070 cat conftest.err >&5
42071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42072 (exit $ac_status); } && {
42073 test -z "$ac_c_werror_flag" ||
42074 test ! -s conftest.err
42075 } && test -s conftest$ac_exeext &&
42076 $as_test_x conftest$ac_exeext; then
42077 eval "$as_ac_var=yes"
42078 else
42079 echo "$as_me: failed program was:" >&5
42080 sed 's/^/| /' conftest.$ac_ext >&5
42081
42082 eval "$as_ac_var=no"
42083 fi
42084
42085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42086 conftest$ac_exeext conftest.$ac_ext
42087 fi
42088 ac_res=`eval echo '${'$as_ac_var'}'`
42089 { echo "$as_me:$LINENO: result: $ac_res" >&5
42090 echo "${ECHO_T}$ac_res" >&6; }
42091 if test `eval echo '${'$as_ac_var'}'` = yes; then
42092 cat >>confdefs.h <<_ACEOF
42093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42094 _ACEOF
42095
42096 cat >>confdefs.h <<\_ACEOF
42097 #define HAVE_DLOPEN 1
42098 _ACEOF
42099
42100 HAVE_DL_FUNCS=1
42101
42102 else
42103
42104 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42105 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
42106 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42107 echo $ECHO_N "(cached) $ECHO_C" >&6
42108 else
42109 ac_check_lib_save_LIBS=$LIBS
42110 LIBS="-ldl $LIBS"
42111 cat >conftest.$ac_ext <<_ACEOF
42112 /* confdefs.h. */
42113 _ACEOF
42114 cat confdefs.h >>conftest.$ac_ext
42115 cat >>conftest.$ac_ext <<_ACEOF
42116 /* end confdefs.h. */
42117
42118 /* Override any GCC internal prototype to avoid an error.
42119 Use char because int might match the return type of a GCC
42120 builtin and then its argument prototype would still apply. */
42121 #ifdef __cplusplus
42122 extern "C"
42123 #endif
42124 char dlopen ();
42125 int
42126 main ()
42127 {
42128 return dlopen ();
42129 ;
42130 return 0;
42131 }
42132 _ACEOF
42133 rm -f conftest.$ac_objext conftest$ac_exeext
42134 if { (ac_try="$ac_link"
42135 case "(($ac_try" in
42136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42137 *) ac_try_echo=$ac_try;;
42138 esac
42139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42140 (eval "$ac_link") 2>conftest.er1
42141 ac_status=$?
42142 grep -v '^ *+' conftest.er1 >conftest.err
42143 rm -f conftest.er1
42144 cat conftest.err >&5
42145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42146 (exit $ac_status); } && {
42147 test -z "$ac_c_werror_flag" ||
42148 test ! -s conftest.err
42149 } && test -s conftest$ac_exeext &&
42150 $as_test_x conftest$ac_exeext; then
42151 ac_cv_lib_dl_dlopen=yes
42152 else
42153 echo "$as_me: failed program was:" >&5
42154 sed 's/^/| /' conftest.$ac_ext >&5
42155
42156 ac_cv_lib_dl_dlopen=no
42157 fi
42158
42159 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42160 conftest$ac_exeext conftest.$ac_ext
42161 LIBS=$ac_check_lib_save_LIBS
42162 fi
42163 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42164 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
42165 if test $ac_cv_lib_dl_dlopen = yes; then
42166
42167 cat >>confdefs.h <<\_ACEOF
42168 #define HAVE_DLOPEN 1
42169 _ACEOF
42170
42171 HAVE_DL_FUNCS=1
42172 DL_LINK=" -ldl$DL_LINK"
42173
42174 else
42175
42176
42177 for ac_func in shl_load
42178 do
42179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42180 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42182 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42183 echo $ECHO_N "(cached) $ECHO_C" >&6
42184 else
42185 cat >conftest.$ac_ext <<_ACEOF
42186 /* confdefs.h. */
42187 _ACEOF
42188 cat confdefs.h >>conftest.$ac_ext
42189 cat >>conftest.$ac_ext <<_ACEOF
42190 /* end confdefs.h. */
42191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42193 #define $ac_func innocuous_$ac_func
42194
42195 /* System header to define __stub macros and hopefully few prototypes,
42196 which can conflict with char $ac_func (); below.
42197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42198 <limits.h> exists even on freestanding compilers. */
42199
42200 #ifdef __STDC__
42201 # include <limits.h>
42202 #else
42203 # include <assert.h>
42204 #endif
42205
42206 #undef $ac_func
42207
42208 /* Override any GCC internal prototype to avoid an error.
42209 Use char because int might match the return type of a GCC
42210 builtin and then its argument prototype would still apply. */
42211 #ifdef __cplusplus
42212 extern "C"
42213 #endif
42214 char $ac_func ();
42215 /* The GNU C library defines this for functions which it implements
42216 to always fail with ENOSYS. Some functions are actually named
42217 something starting with __ and the normal name is an alias. */
42218 #if defined __stub_$ac_func || defined __stub___$ac_func
42219 choke me
42220 #endif
42221
42222 int
42223 main ()
42224 {
42225 return $ac_func ();
42226 ;
42227 return 0;
42228 }
42229 _ACEOF
42230 rm -f conftest.$ac_objext conftest$ac_exeext
42231 if { (ac_try="$ac_link"
42232 case "(($ac_try" in
42233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42234 *) ac_try_echo=$ac_try;;
42235 esac
42236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42237 (eval "$ac_link") 2>conftest.er1
42238 ac_status=$?
42239 grep -v '^ *+' conftest.er1 >conftest.err
42240 rm -f conftest.er1
42241 cat conftest.err >&5
42242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42243 (exit $ac_status); } && {
42244 test -z "$ac_c_werror_flag" ||
42245 test ! -s conftest.err
42246 } && test -s conftest$ac_exeext &&
42247 $as_test_x conftest$ac_exeext; then
42248 eval "$as_ac_var=yes"
42249 else
42250 echo "$as_me: failed program was:" >&5
42251 sed 's/^/| /' conftest.$ac_ext >&5
42252
42253 eval "$as_ac_var=no"
42254 fi
42255
42256 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42257 conftest$ac_exeext conftest.$ac_ext
42258 fi
42259 ac_res=`eval echo '${'$as_ac_var'}'`
42260 { echo "$as_me:$LINENO: result: $ac_res" >&5
42261 echo "${ECHO_T}$ac_res" >&6; }
42262 if test `eval echo '${'$as_ac_var'}'` = yes; then
42263 cat >>confdefs.h <<_ACEOF
42264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42265 _ACEOF
42266
42267 cat >>confdefs.h <<\_ACEOF
42268 #define HAVE_SHL_LOAD 1
42269 _ACEOF
42270
42271 HAVE_SHL_FUNCS=1
42272
42273 else
42274
42275 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42276 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
42277 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42278 echo $ECHO_N "(cached) $ECHO_C" >&6
42279 else
42280 ac_check_lib_save_LIBS=$LIBS
42281 LIBS="-lshl_load $LIBS"
42282 cat >conftest.$ac_ext <<_ACEOF
42283 /* confdefs.h. */
42284 _ACEOF
42285 cat confdefs.h >>conftest.$ac_ext
42286 cat >>conftest.$ac_ext <<_ACEOF
42287 /* end confdefs.h. */
42288
42289 /* Override any GCC internal prototype to avoid an error.
42290 Use char because int might match the return type of a GCC
42291 builtin and then its argument prototype would still apply. */
42292 #ifdef __cplusplus
42293 extern "C"
42294 #endif
42295 char dld ();
42296 int
42297 main ()
42298 {
42299 return dld ();
42300 ;
42301 return 0;
42302 }
42303 _ACEOF
42304 rm -f conftest.$ac_objext conftest$ac_exeext
42305 if { (ac_try="$ac_link"
42306 case "(($ac_try" in
42307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42308 *) ac_try_echo=$ac_try;;
42309 esac
42310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42311 (eval "$ac_link") 2>conftest.er1
42312 ac_status=$?
42313 grep -v '^ *+' conftest.er1 >conftest.err
42314 rm -f conftest.er1
42315 cat conftest.err >&5
42316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42317 (exit $ac_status); } && {
42318 test -z "$ac_c_werror_flag" ||
42319 test ! -s conftest.err
42320 } && test -s conftest$ac_exeext &&
42321 $as_test_x conftest$ac_exeext; then
42322 ac_cv_lib_shl_load_dld=yes
42323 else
42324 echo "$as_me: failed program was:" >&5
42325 sed 's/^/| /' conftest.$ac_ext >&5
42326
42327 ac_cv_lib_shl_load_dld=no
42328 fi
42329
42330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42331 conftest$ac_exeext conftest.$ac_ext
42332 LIBS=$ac_check_lib_save_LIBS
42333 fi
42334 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42335 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
42336 if test $ac_cv_lib_shl_load_dld = yes; then
42337
42338 HAVE_SHL_FUNCS=1
42339 DL_LINK=" -ldld$DL_LINK"
42340
42341 fi
42342
42343
42344 fi
42345 done
42346
42347
42348 fi
42349
42350
42351 fi
42352 done
42353
42354
42355 if test "$HAVE_DL_FUNCS" = 1; then
42356
42357 for ac_func in dlerror
42358 do
42359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42360 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42362 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42363 echo $ECHO_N "(cached) $ECHO_C" >&6
42364 else
42365 cat >conftest.$ac_ext <<_ACEOF
42366 /* confdefs.h. */
42367 _ACEOF
42368 cat confdefs.h >>conftest.$ac_ext
42369 cat >>conftest.$ac_ext <<_ACEOF
42370 /* end confdefs.h. */
42371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42373 #define $ac_func innocuous_$ac_func
42374
42375 /* System header to define __stub macros and hopefully few prototypes,
42376 which can conflict with char $ac_func (); below.
42377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42378 <limits.h> exists even on freestanding compilers. */
42379
42380 #ifdef __STDC__
42381 # include <limits.h>
42382 #else
42383 # include <assert.h>
42384 #endif
42385
42386 #undef $ac_func
42387
42388 /* Override any GCC internal prototype to avoid an error.
42389 Use char because int might match the return type of a GCC
42390 builtin and then its argument prototype would still apply. */
42391 #ifdef __cplusplus
42392 extern "C"
42393 #endif
42394 char $ac_func ();
42395 /* The GNU C library defines this for functions which it implements
42396 to always fail with ENOSYS. Some functions are actually named
42397 something starting with __ and the normal name is an alias. */
42398 #if defined __stub_$ac_func || defined __stub___$ac_func
42399 choke me
42400 #endif
42401
42402 int
42403 main ()
42404 {
42405 return $ac_func ();
42406 ;
42407 return 0;
42408 }
42409 _ACEOF
42410 rm -f conftest.$ac_objext conftest$ac_exeext
42411 if { (ac_try="$ac_link"
42412 case "(($ac_try" in
42413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42414 *) ac_try_echo=$ac_try;;
42415 esac
42416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42417 (eval "$ac_link") 2>conftest.er1
42418 ac_status=$?
42419 grep -v '^ *+' conftest.er1 >conftest.err
42420 rm -f conftest.er1
42421 cat conftest.err >&5
42422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42423 (exit $ac_status); } && {
42424 test -z "$ac_c_werror_flag" ||
42425 test ! -s conftest.err
42426 } && test -s conftest$ac_exeext &&
42427 $as_test_x conftest$ac_exeext; then
42428 eval "$as_ac_var=yes"
42429 else
42430 echo "$as_me: failed program was:" >&5
42431 sed 's/^/| /' conftest.$ac_ext >&5
42432
42433 eval "$as_ac_var=no"
42434 fi
42435
42436 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42437 conftest$ac_exeext conftest.$ac_ext
42438 fi
42439 ac_res=`eval echo '${'$as_ac_var'}'`
42440 { echo "$as_me:$LINENO: result: $ac_res" >&5
42441 echo "${ECHO_T}$ac_res" >&6; }
42442 if test `eval echo '${'$as_ac_var'}'` = yes; then
42443 cat >>confdefs.h <<_ACEOF
42444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42445 _ACEOF
42446 cat >>confdefs.h <<\_ACEOF
42447 #define HAVE_DLERROR 1
42448 _ACEOF
42449
42450 else
42451
42452 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42453 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42454 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42455 echo $ECHO_N "(cached) $ECHO_C" >&6
42456 else
42457 ac_check_lib_save_LIBS=$LIBS
42458 LIBS="-ldl $LIBS"
42459 cat >conftest.$ac_ext <<_ACEOF
42460 /* confdefs.h. */
42461 _ACEOF
42462 cat confdefs.h >>conftest.$ac_ext
42463 cat >>conftest.$ac_ext <<_ACEOF
42464 /* end confdefs.h. */
42465
42466 /* Override any GCC internal prototype to avoid an error.
42467 Use char because int might match the return type of a GCC
42468 builtin and then its argument prototype would still apply. */
42469 #ifdef __cplusplus
42470 extern "C"
42471 #endif
42472 char dlerror ();
42473 int
42474 main ()
42475 {
42476 return dlerror ();
42477 ;
42478 return 0;
42479 }
42480 _ACEOF
42481 rm -f conftest.$ac_objext conftest$ac_exeext
42482 if { (ac_try="$ac_link"
42483 case "(($ac_try" in
42484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42485 *) ac_try_echo=$ac_try;;
42486 esac
42487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42488 (eval "$ac_link") 2>conftest.er1
42489 ac_status=$?
42490 grep -v '^ *+' conftest.er1 >conftest.err
42491 rm -f conftest.er1
42492 cat conftest.err >&5
42493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42494 (exit $ac_status); } && {
42495 test -z "$ac_c_werror_flag" ||
42496 test ! -s conftest.err
42497 } && test -s conftest$ac_exeext &&
42498 $as_test_x conftest$ac_exeext; then
42499 ac_cv_lib_dl_dlerror=yes
42500 else
42501 echo "$as_me: failed program was:" >&5
42502 sed 's/^/| /' conftest.$ac_ext >&5
42503
42504 ac_cv_lib_dl_dlerror=no
42505 fi
42506
42507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42508 conftest$ac_exeext conftest.$ac_ext
42509 LIBS=$ac_check_lib_save_LIBS
42510 fi
42511 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42512 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42513 if test $ac_cv_lib_dl_dlerror = yes; then
42514 cat >>confdefs.h <<\_ACEOF
42515 #define HAVE_DLERROR 1
42516 _ACEOF
42517
42518 fi
42519
42520
42521
42522 fi
42523 done
42524
42525 fi
42526 fi
42527
42528 if test "$USE_DARWIN" = 1; then
42529 HAVE_DL_FUNCS=1
42530 fi
42531
42532 if test "$HAVE_DL_FUNCS" = 0; then
42533 if test "$HAVE_SHL_FUNCS" = 0; then
42534 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42535 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42536 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42537 wxUSE_DYNAMIC_LOADER=no
42538 wxUSE_DYNLIB_CLASS=no
42539 else
42540 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42541 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42542 fi
42543 fi
42544 fi
42545 fi
42546 fi
42547
42548 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42549 cat >>confdefs.h <<\_ACEOF
42550 #define wxUSE_DYNAMIC_LOADER 1
42551 _ACEOF
42552
42553 fi
42554 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42555 cat >>confdefs.h <<\_ACEOF
42556 #define wxUSE_DYNLIB_CLASS 1
42557 _ACEOF
42558
42559 fi
42560
42561
42562
42563 if test "$wxUSE_PLUGINS" = "yes" ; then
42564 if test "$wxUSE_SHARED" = "no" ; then
42565 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42566 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42567 wxUSE_PLUGINS=no
42568 fi
42569 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42570 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42571 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42572 wxUSE_PLUGINS=no
42573 fi
42574 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42575 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42576 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42577 wxUSE_PLUGINS=no
42578 fi
42579 if test "$wxUSE_PLUGINS" = "yes" ; then
42580 cat >>confdefs.h <<\_ACEOF
42581 #define wxUSE_PLUGINS 1
42582 _ACEOF
42583
42584 fi
42585 fi
42586
42587
42588 if test "$wxUSE_FSWATCHER" = "yes"; then
42589 cat >>confdefs.h <<\_ACEOF
42590 #define wxUSE_FSWATCHER 1
42591 _ACEOF
42592
42593 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
42594
42595 if test "$wxUSE_UNIX" = "yes"; then
42596
42597 for ac_header in sys/inotify.h
42598 do
42599 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42600 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42601 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42602 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42603 echo $ECHO_N "(cached) $ECHO_C" >&6
42604 else
42605 cat >conftest.$ac_ext <<_ACEOF
42606 /* confdefs.h. */
42607 _ACEOF
42608 cat confdefs.h >>conftest.$ac_ext
42609 cat >>conftest.$ac_ext <<_ACEOF
42610 /* end confdefs.h. */
42611 $ac_includes_default
42612
42613 #include <$ac_header>
42614 _ACEOF
42615 rm -f conftest.$ac_objext
42616 if { (ac_try="$ac_compile"
42617 case "(($ac_try" in
42618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42619 *) ac_try_echo=$ac_try;;
42620 esac
42621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42622 (eval "$ac_compile") 2>conftest.er1
42623 ac_status=$?
42624 grep -v '^ *+' conftest.er1 >conftest.err
42625 rm -f conftest.er1
42626 cat conftest.err >&5
42627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42628 (exit $ac_status); } && {
42629 test -z "$ac_c_werror_flag" ||
42630 test ! -s conftest.err
42631 } && test -s conftest.$ac_objext; then
42632 eval "$as_ac_Header=yes"
42633 else
42634 echo "$as_me: failed program was:" >&5
42635 sed 's/^/| /' conftest.$ac_ext >&5
42636
42637 eval "$as_ac_Header=no"
42638 fi
42639
42640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42641 fi
42642 ac_res=`eval echo '${'$as_ac_Header'}'`
42643 { echo "$as_me:$LINENO: result: $ac_res" >&5
42644 echo "${ECHO_T}$ac_res" >&6; }
42645 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42646 cat >>confdefs.h <<_ACEOF
42647 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42648 _ACEOF
42649
42650 fi
42651
42652 done
42653
42654 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
42655 cat >>confdefs.h <<\_ACEOF
42656 #define wxHAS_INOTIFY 1
42657 _ACEOF
42658
42659 else
42660
42661 for ac_header in sys/event.h
42662 do
42663 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42664 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42665 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42666 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42667 echo $ECHO_N "(cached) $ECHO_C" >&6
42668 else
42669 cat >conftest.$ac_ext <<_ACEOF
42670 /* confdefs.h. */
42671 _ACEOF
42672 cat confdefs.h >>conftest.$ac_ext
42673 cat >>conftest.$ac_ext <<_ACEOF
42674 /* end confdefs.h. */
42675 $ac_includes_default
42676
42677 #include <$ac_header>
42678 _ACEOF
42679 rm -f conftest.$ac_objext
42680 if { (ac_try="$ac_compile"
42681 case "(($ac_try" in
42682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42683 *) ac_try_echo=$ac_try;;
42684 esac
42685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42686 (eval "$ac_compile") 2>conftest.er1
42687 ac_status=$?
42688 grep -v '^ *+' conftest.er1 >conftest.err
42689 rm -f conftest.er1
42690 cat conftest.err >&5
42691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42692 (exit $ac_status); } && {
42693 test -z "$ac_c_werror_flag" ||
42694 test ! -s conftest.err
42695 } && test -s conftest.$ac_objext; then
42696 eval "$as_ac_Header=yes"
42697 else
42698 echo "$as_me: failed program was:" >&5
42699 sed 's/^/| /' conftest.$ac_ext >&5
42700
42701 eval "$as_ac_Header=no"
42702 fi
42703
42704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42705 fi
42706 ac_res=`eval echo '${'$as_ac_Header'}'`
42707 { echo "$as_me:$LINENO: result: $ac_res" >&5
42708 echo "${ECHO_T}$ac_res" >&6; }
42709 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42710 cat >>confdefs.h <<_ACEOF
42711 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42712 _ACEOF
42713
42714 fi
42715
42716 done
42717
42718 if test "$ac_cv_header_sys_event_h" = "yes"; then
42719 cat >>confdefs.h <<\_ACEOF
42720 #define wxHAS_KQUEUE 1
42721 _ACEOF
42722
42723 else
42724 { echo "$as_me:$LINENO: WARNING: No native wxFileSystemWatcher implementation available for on this platform" >&5
42725 echo "$as_me: WARNING: No native wxFileSystemWatcher implementation available for on this platform" >&2;}
42726 fi
42727 fi
42728 fi
42729 fi
42730
42731
42732 if test "$wxUSE_STL" = "yes"; then
42733 cat >>confdefs.h <<\_ACEOF
42734 #define wxUSE_STL 1
42735 _ACEOF
42736
42737 fi
42738
42739 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42740 cat >>confdefs.h <<\_ACEOF
42741 #define wxUSE_EXTENDED_RTTI 1
42742 _ACEOF
42743
42744 fi
42745
42746 if test "$wxUSE_ANY" = "yes"; then
42747 cat >>confdefs.h <<\_ACEOF
42748 #define wxUSE_ANY 1
42749 _ACEOF
42750
42751 fi
42752
42753 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42754 cat >>confdefs.h <<\_ACEOF
42755 #define wxUSE_APPLE_IEEE 1
42756 _ACEOF
42757
42758 fi
42759
42760 if test "$wxUSE_TIMER" = "yes"; then
42761 cat >>confdefs.h <<\_ACEOF
42762 #define wxUSE_TIMER 1
42763 _ACEOF
42764
42765 fi
42766
42767 if test "$USE_UNIX" = 1 ; then
42768 if test "$wxUSE_MGL" != 1; then
42769 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42770 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42771 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42772 echo $ECHO_N "(cached) $ECHO_C" >&6
42773 else
42774
42775 cat >conftest.$ac_ext <<_ACEOF
42776 /* confdefs.h. */
42777 _ACEOF
42778 cat confdefs.h >>conftest.$ac_ext
42779 cat >>conftest.$ac_ext <<_ACEOF
42780 /* end confdefs.h. */
42781
42782 #include <sys/ioctl.h>
42783 #include <sys/soundcard.h>
42784
42785 int
42786 main ()
42787 {
42788
42789 ioctl(0, SNDCTL_DSP_SPEED, 0);
42790
42791 ;
42792 return 0;
42793 }
42794 _ACEOF
42795 rm -f conftest.$ac_objext conftest$ac_exeext
42796 if { (ac_try="$ac_link"
42797 case "(($ac_try" in
42798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42799 *) ac_try_echo=$ac_try;;
42800 esac
42801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42802 (eval "$ac_link") 2>conftest.er1
42803 ac_status=$?
42804 grep -v '^ *+' conftest.er1 >conftest.err
42805 rm -f conftest.er1
42806 cat conftest.err >&5
42807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42808 (exit $ac_status); } && {
42809 test -z "$ac_c_werror_flag" ||
42810 test ! -s conftest.err
42811 } && test -s conftest$ac_exeext &&
42812 $as_test_x conftest$ac_exeext; then
42813 ac_cv_header_sys_soundcard=yes
42814 else
42815 echo "$as_me: failed program was:" >&5
42816 sed 's/^/| /' conftest.$ac_ext >&5
42817
42818
42819 saveLibs="$LIBS"
42820 LIBS="$saveLibs -lossaudio"
42821 cat >conftest.$ac_ext <<_ACEOF
42822 /* confdefs.h. */
42823 _ACEOF
42824 cat confdefs.h >>conftest.$ac_ext
42825 cat >>conftest.$ac_ext <<_ACEOF
42826 /* end confdefs.h. */
42827
42828 #include <sys/ioctl.h>
42829 #include <sys/soundcard.h>
42830
42831 int
42832 main ()
42833 {
42834
42835 ioctl(0, SNDCTL_DSP_SPEED, 0);
42836
42837 ;
42838 return 0;
42839 }
42840 _ACEOF
42841 rm -f conftest.$ac_objext conftest$ac_exeext
42842 if { (ac_try="$ac_link"
42843 case "(($ac_try" in
42844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42845 *) ac_try_echo=$ac_try;;
42846 esac
42847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42848 (eval "$ac_link") 2>conftest.er1
42849 ac_status=$?
42850 grep -v '^ *+' conftest.er1 >conftest.err
42851 rm -f conftest.er1
42852 cat conftest.err >&5
42853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42854 (exit $ac_status); } && {
42855 test -z "$ac_c_werror_flag" ||
42856 test ! -s conftest.err
42857 } && test -s conftest$ac_exeext &&
42858 $as_test_x conftest$ac_exeext; then
42859 ac_cv_header_sys_soundcard=yes
42860 else
42861 echo "$as_me: failed program was:" >&5
42862 sed 's/^/| /' conftest.$ac_ext >&5
42863
42864
42865 LIBS="$saveLibs"
42866 ac_cv_header_sys_soundcard=no
42867
42868
42869 fi
42870
42871 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42872 conftest$ac_exeext conftest.$ac_ext
42873
42874
42875 fi
42876
42877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42878 conftest$ac_exeext conftest.$ac_ext
42879
42880 fi
42881 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42882 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42883 fi
42884
42885 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42886 cat >>confdefs.h <<\_ACEOF
42887 #define HAVE_SYS_SOUNDCARD_H 1
42888 _ACEOF
42889
42890 fi
42891 fi
42892
42893 WITH_PLUGIN_SDL=0
42894 if test "$wxUSE_SOUND" = "yes"; then
42895 if test "$USE_UNIX" = 1 ; then
42896 if test "$wxUSE_LIBSDL" != "no"; then
42897
42898 # Check whether --with-sdl-prefix was given.
42899 if test "${with_sdl_prefix+set}" = set; then
42900 withval=$with_sdl_prefix; sdl_prefix="$withval"
42901 else
42902 sdl_prefix=""
42903 fi
42904
42905
42906 # Check whether --with-sdl-exec-prefix was given.
42907 if test "${with_sdl_exec_prefix+set}" = set; then
42908 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42909 else
42910 sdl_exec_prefix=""
42911 fi
42912
42913 # Check whether --enable-sdltest was given.
42914 if test "${enable_sdltest+set}" = set; then
42915 enableval=$enable_sdltest;
42916 else
42917 enable_sdltest=yes
42918 fi
42919
42920
42921 if test x$sdl_exec_prefix != x ; then
42922 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42923 if test x${SDL_CONFIG+set} != xset ; then
42924 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42925 fi
42926 fi
42927 if test x$sdl_prefix != x ; then
42928 sdl_args="$sdl_args --prefix=$sdl_prefix"
42929 if test x${SDL_CONFIG+set} != xset ; then
42930 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42931 fi
42932 fi
42933
42934 if test "x$prefix" != xNONE; then
42935 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42936 fi
42937 # Extract the first word of "sdl-config", so it can be a program name with args.
42938 set dummy sdl-config; ac_word=$2
42939 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42941 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42942 echo $ECHO_N "(cached) $ECHO_C" >&6
42943 else
42944 case $SDL_CONFIG in
42945 [\\/]* | ?:[\\/]*)
42946 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42947 ;;
42948 *)
42949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42950 for as_dir in $PATH
42951 do
42952 IFS=$as_save_IFS
42953 test -z "$as_dir" && as_dir=.
42954 for ac_exec_ext in '' $ac_executable_extensions; do
42955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42956 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42958 break 2
42959 fi
42960 done
42961 done
42962 IFS=$as_save_IFS
42963
42964 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42965 ;;
42966 esac
42967 fi
42968 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42969 if test -n "$SDL_CONFIG"; then
42970 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42971 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42972 else
42973 { echo "$as_me:$LINENO: result: no" >&5
42974 echo "${ECHO_T}no" >&6; }
42975 fi
42976
42977
42978 min_sdl_version=1.2.0
42979 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42980 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42981 no_sdl=""
42982 if test "$SDL_CONFIG" = "no" ; then
42983 no_sdl=yes
42984 else
42985 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42986 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42987
42988 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42989 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42990 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42991 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42992 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42993 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42994 if test "x$enable_sdltest" = "xyes" ; then
42995 ac_save_CFLAGS="$CFLAGS"
42996 ac_save_CXXFLAGS="$CXXFLAGS"
42997 ac_save_LIBS="$LIBS"
42998 CFLAGS="$CFLAGS $SDL_CFLAGS"
42999 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43000 LIBS="$LIBS $SDL_LIBS"
43001 rm -f conf.sdltest
43002 if test "$cross_compiling" = yes; then
43003 echo $ac_n "cross compiling; assumed OK... $ac_c"
43004 else
43005 cat >conftest.$ac_ext <<_ACEOF
43006 /* confdefs.h. */
43007 _ACEOF
43008 cat confdefs.h >>conftest.$ac_ext
43009 cat >>conftest.$ac_ext <<_ACEOF
43010 /* end confdefs.h. */
43011
43012 #include <stdio.h>
43013 #include <stdlib.h>
43014 #include <string.h>
43015 #include "SDL.h"
43016
43017 char*
43018 my_strdup (char *str)
43019 {
43020 char *new_str;
43021
43022 if (str)
43023 {
43024 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43025 strcpy (new_str, str);
43026 }
43027 else
43028 new_str = NULL;
43029
43030 return new_str;
43031 }
43032
43033 int main (int argc, char *argv[])
43034 {
43035 int major, minor, micro;
43036 char *tmp_version;
43037
43038 /* This hangs on some systems (?)
43039 system ("touch conf.sdltest");
43040 */
43041 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43042
43043 /* HP/UX 9 (%@#!) writes to sscanf strings */
43044 tmp_version = my_strdup("$min_sdl_version");
43045 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
43046 printf("%s, bad version string\n", "$min_sdl_version");
43047 exit(1);
43048 }
43049
43050 if (($sdl_major_version > major) ||
43051 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43052 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43053 {
43054 return 0;
43055 }
43056 else
43057 {
43058 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43059 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43060 printf("*** best to upgrade to the required version.\n");
43061 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43062 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43063 printf("*** config.cache before re-running configure\n");
43064 return 1;
43065 }
43066 }
43067
43068
43069 _ACEOF
43070 rm -f conftest$ac_exeext
43071 if { (ac_try="$ac_link"
43072 case "(($ac_try" in
43073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43074 *) ac_try_echo=$ac_try;;
43075 esac
43076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43077 (eval "$ac_link") 2>&5
43078 ac_status=$?
43079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43080 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43081 { (case "(($ac_try" in
43082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43083 *) ac_try_echo=$ac_try;;
43084 esac
43085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43086 (eval "$ac_try") 2>&5
43087 ac_status=$?
43088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43089 (exit $ac_status); }; }; then
43090 :
43091 else
43092 echo "$as_me: program exited with status $ac_status" >&5
43093 echo "$as_me: failed program was:" >&5
43094 sed 's/^/| /' conftest.$ac_ext >&5
43095
43096 ( exit $ac_status )
43097 no_sdl=yes
43098 fi
43099 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43100 fi
43101
43102
43103 CFLAGS="$ac_save_CFLAGS"
43104 CXXFLAGS="$ac_save_CXXFLAGS"
43105 LIBS="$ac_save_LIBS"
43106 fi
43107 fi
43108 if test "x$no_sdl" = x ; then
43109 { echo "$as_me:$LINENO: result: yes" >&5
43110 echo "${ECHO_T}yes" >&6; }
43111
43112 EXTRALIBS_SDL="$SDL_LIBS"
43113 CFLAGS="$SDL_CFLAGS $CFLAGS"
43114 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43115 cat >>confdefs.h <<\_ACEOF
43116 #define wxUSE_LIBSDL 1
43117 _ACEOF
43118
43119
43120 else
43121 { echo "$as_me:$LINENO: result: no" >&5
43122 echo "${ECHO_T}no" >&6; }
43123 if test "$SDL_CONFIG" = "no" ; then
43124 echo "*** The sdl-config script installed by SDL could not be found"
43125 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43126 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43127 echo "*** full path to sdl-config."
43128 else
43129 if test -f conf.sdltest ; then
43130 :
43131 else
43132 echo "*** Could not run SDL test program, checking why..."
43133 CFLAGS="$CFLAGS $SDL_CFLAGS"
43134 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43135 LIBS="$LIBS $SDL_LIBS"
43136 cat >conftest.$ac_ext <<_ACEOF
43137 /* confdefs.h. */
43138 _ACEOF
43139 cat confdefs.h >>conftest.$ac_ext
43140 cat >>conftest.$ac_ext <<_ACEOF
43141 /* end confdefs.h. */
43142
43143 #include <stdio.h>
43144 #include "SDL.h"
43145
43146 int main(int argc, char *argv[])
43147 { return 0; }
43148 #undef main
43149 #define main K_and_R_C_main
43150
43151 int
43152 main ()
43153 {
43154 return 0;
43155 ;
43156 return 0;
43157 }
43158 _ACEOF
43159 rm -f conftest.$ac_objext conftest$ac_exeext
43160 if { (ac_try="$ac_link"
43161 case "(($ac_try" in
43162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43163 *) ac_try_echo=$ac_try;;
43164 esac
43165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43166 (eval "$ac_link") 2>conftest.er1
43167 ac_status=$?
43168 grep -v '^ *+' conftest.er1 >conftest.err
43169 rm -f conftest.er1
43170 cat conftest.err >&5
43171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43172 (exit $ac_status); } && {
43173 test -z "$ac_c_werror_flag" ||
43174 test ! -s conftest.err
43175 } && test -s conftest$ac_exeext &&
43176 $as_test_x conftest$ac_exeext; then
43177 echo "*** The test program compiled, but did not run. This usually means"
43178 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43179 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43180 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43181 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43182 echo "*** is required on your system"
43183 echo "***"
43184 echo "*** If you have an old version installed, it is best to remove it, although"
43185 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43186 else
43187 echo "$as_me: failed program was:" >&5
43188 sed 's/^/| /' conftest.$ac_ext >&5
43189
43190 echo "*** The test program failed to compile or link. See the file config.log for the"
43191 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43192 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43193 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43194 fi
43195
43196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43197 conftest$ac_exeext conftest.$ac_ext
43198 CFLAGS="$ac_save_CFLAGS"
43199 CXXFLAGS="$ac_save_CXXFLAGS"
43200 LIBS="$ac_save_LIBS"
43201 fi
43202 fi
43203 SDL_CFLAGS=""
43204 SDL_LIBS=""
43205 wxUSE_LIBSDL="no"
43206 fi
43207
43208
43209 rm -f conf.sdltest
43210
43211 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43212 WITH_PLUGIN_SDL=1
43213 fi
43214 fi
43215 else
43216 if test "$wxUSE_MGL" = 1; then
43217 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
43218 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
43219 wxUSE_SOUND="no"
43220 fi
43221 fi
43222 fi
43223
43224 if test "$wxUSE_SOUND" = "yes"; then
43225 cat >>confdefs.h <<\_ACEOF
43226 #define wxUSE_SOUND 1
43227 _ACEOF
43228
43229 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
43230 fi
43231
43232 if test "$WXGTK2" = 1; then
43233
43234
43235 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43236 if test -n "$ac_tool_prefix"; then
43237 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43238 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
43239 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43241 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43242 echo $ECHO_N "(cached) $ECHO_C" >&6
43243 else
43244 case $PKG_CONFIG in
43245 [\\/]* | ?:[\\/]*)
43246 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
43247 ;;
43248 *)
43249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43250 for as_dir in $PATH
43251 do
43252 IFS=$as_save_IFS
43253 test -z "$as_dir" && as_dir=.
43254 for ac_exec_ext in '' $ac_executable_extensions; do
43255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43256 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43258 break 2
43259 fi
43260 done
43261 done
43262 IFS=$as_save_IFS
43263
43264 ;;
43265 esac
43266 fi
43267 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
43268 if test -n "$PKG_CONFIG"; then
43269 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43270 echo "${ECHO_T}$PKG_CONFIG" >&6; }
43271 else
43272 { echo "$as_me:$LINENO: result: no" >&5
43273 echo "${ECHO_T}no" >&6; }
43274 fi
43275
43276
43277 fi
43278 if test -z "$ac_cv_path_PKG_CONFIG"; then
43279 ac_pt_PKG_CONFIG=$PKG_CONFIG
43280 # Extract the first word of "pkg-config", so it can be a program name with args.
43281 set dummy pkg-config; ac_word=$2
43282 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43284 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43285 echo $ECHO_N "(cached) $ECHO_C" >&6
43286 else
43287 case $ac_pt_PKG_CONFIG in
43288 [\\/]* | ?:[\\/]*)
43289 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43290 ;;
43291 *)
43292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43293 for as_dir in $PATH
43294 do
43295 IFS=$as_save_IFS
43296 test -z "$as_dir" && as_dir=.
43297 for ac_exec_ext in '' $ac_executable_extensions; do
43298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43299 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43301 break 2
43302 fi
43303 done
43304 done
43305 IFS=$as_save_IFS
43306
43307 ;;
43308 esac
43309 fi
43310 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
43311 if test -n "$ac_pt_PKG_CONFIG"; then
43312 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43313 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
43314 else
43315 { echo "$as_me:$LINENO: result: no" >&5
43316 echo "${ECHO_T}no" >&6; }
43317 fi
43318
43319 if test "x$ac_pt_PKG_CONFIG" = x; then
43320 PKG_CONFIG=""
43321 else
43322 case $cross_compiling:$ac_tool_warned in
43323 yes:)
43324 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
43325 whose name does not start with the host triplet. If you think this
43326 configuration is useful to you, please write to autoconf@gnu.org." >&5
43327 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
43328 whose name does not start with the host triplet. If you think this
43329 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
43330 ac_tool_warned=yes ;;
43331 esac
43332 PKG_CONFIG=$ac_pt_PKG_CONFIG
43333 fi
43334 else
43335 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
43336 fi
43337
43338 fi
43339 if test -n "$PKG_CONFIG"; then
43340 _pkg_min_version=0.9.0
43341 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
43342 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
43343 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
43344 { echo "$as_me:$LINENO: result: yes" >&5
43345 echo "${ECHO_T}yes" >&6; }
43346 else
43347 { echo "$as_me:$LINENO: result: no" >&5
43348 echo "${ECHO_T}no" >&6; }
43349 PKG_CONFIG=""
43350 fi
43351
43352 fi
43353
43354 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43355
43356 if test "$wxUSE_GTKPRINT" = "yes" ; then
43357
43358
43359 pkg_failed=no
43360 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
43361 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
43362
43363 if test -n "$PKG_CONFIG"; then
43364 if test -n "$GTKPRINT_CFLAGS"; then
43365 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
43366 else
43367 if test -n "$PKG_CONFIG" && \
43368 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43369 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43370 ac_status=$?
43371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43372 (exit $ac_status); }; then
43373 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43374 else
43375 pkg_failed=yes
43376 fi
43377 fi
43378 else
43379 pkg_failed=untried
43380 fi
43381 if test -n "$PKG_CONFIG"; then
43382 if test -n "$GTKPRINT_LIBS"; then
43383 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
43384 else
43385 if test -n "$PKG_CONFIG" && \
43386 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43387 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43388 ac_status=$?
43389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43390 (exit $ac_status); }; then
43391 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43392 else
43393 pkg_failed=yes
43394 fi
43395 fi
43396 else
43397 pkg_failed=untried
43398 fi
43399
43400
43401
43402 if test $pkg_failed = yes; then
43403
43404 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43405 _pkg_short_errors_supported=yes
43406 else
43407 _pkg_short_errors_supported=no
43408 fi
43409 if test $_pkg_short_errors_supported = yes; then
43410 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43411 else
43412 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43413 fi
43414 # Put the nasty error message in config.log where it belongs
43415 echo "$GTKPRINT_PKG_ERRORS" >&5
43416
43417
43418 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43419 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43420 wxUSE_GTKPRINT="no"
43421
43422
43423 elif test $pkg_failed = untried; then
43424
43425 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43426 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43427 wxUSE_GTKPRINT="no"
43428
43429
43430 else
43431 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
43432 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
43433 { echo "$as_me:$LINENO: result: yes" >&5
43434 echo "${ECHO_T}yes" >&6; }
43435
43436 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
43437 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
43438 cat >>confdefs.h <<\_ACEOF
43439 #define wxUSE_GTKPRINT 1
43440 _ACEOF
43441
43442
43443 fi
43444 fi
43445
43446 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43447
43448
43449 pkg_failed=no
43450 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43451 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
43452
43453 if test -n "$PKG_CONFIG"; then
43454 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43455 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
43456 else
43457 if test -n "$PKG_CONFIG" && \
43458 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43459 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43460 ac_status=$?
43461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43462 (exit $ac_status); }; then
43463 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43464 else
43465 pkg_failed=yes
43466 fi
43467 fi
43468 else
43469 pkg_failed=untried
43470 fi
43471 if test -n "$PKG_CONFIG"; then
43472 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43473 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
43474 else
43475 if test -n "$PKG_CONFIG" && \
43476 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43477 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43478 ac_status=$?
43479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43480 (exit $ac_status); }; then
43481 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43482 else
43483 pkg_failed=yes
43484 fi
43485 fi
43486 else
43487 pkg_failed=untried
43488 fi
43489
43490
43491
43492 if test $pkg_failed = yes; then
43493
43494 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43495 _pkg_short_errors_supported=yes
43496 else
43497 _pkg_short_errors_supported=no
43498 fi
43499 if test $_pkg_short_errors_supported = yes; then
43500 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43501 else
43502 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43503 fi
43504 # Put the nasty error message in config.log where it belongs
43505 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43506
43507
43508 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43509 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43510 wxUSE_LIBGNOMEPRINT="no"
43511
43512
43513 elif test $pkg_failed = untried; then
43514
43515 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43516 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43517 wxUSE_LIBGNOMEPRINT="no"
43518
43519
43520 else
43521 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43522 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43523 { echo "$as_me:$LINENO: result: yes" >&5
43524 echo "${ECHO_T}yes" >&6; }
43525
43526 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
43527 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43528 cat >>confdefs.h <<\_ACEOF
43529 #define wxUSE_LIBGNOMEPRINT 1
43530 _ACEOF
43531
43532
43533 fi
43534 fi
43535 fi
43536
43537 if test "$wxUSE_MIMETYPE" = "yes" ; then
43538 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43539
43540
43541 pkg_failed=no
43542 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43543 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
43544
43545 if test -n "$PKG_CONFIG"; then
43546 if test -n "$GNOMEVFS_CFLAGS"; then
43547 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
43548 else
43549 if test -n "$PKG_CONFIG" && \
43550 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43551 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43552 ac_status=$?
43553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43554 (exit $ac_status); }; then
43555 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43556 else
43557 pkg_failed=yes
43558 fi
43559 fi
43560 else
43561 pkg_failed=untried
43562 fi
43563 if test -n "$PKG_CONFIG"; then
43564 if test -n "$GNOMEVFS_LIBS"; then
43565 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
43566 else
43567 if test -n "$PKG_CONFIG" && \
43568 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43569 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43570 ac_status=$?
43571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43572 (exit $ac_status); }; then
43573 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43574 else
43575 pkg_failed=yes
43576 fi
43577 fi
43578 else
43579 pkg_failed=untried
43580 fi
43581
43582
43583
43584 if test $pkg_failed = yes; then
43585
43586 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43587 _pkg_short_errors_supported=yes
43588 else
43589 _pkg_short_errors_supported=no
43590 fi
43591 if test $_pkg_short_errors_supported = yes; then
43592 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43593 else
43594 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43595 fi
43596 # Put the nasty error message in config.log where it belongs
43597 echo "$GNOMEVFS_PKG_ERRORS" >&5
43598
43599
43600 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43601 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43602 wxUSE_LIBGNOMEVFS="no"
43603
43604
43605 elif test $pkg_failed = untried; then
43606
43607 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43608 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43609 wxUSE_LIBGNOMEVFS="no"
43610
43611
43612 else
43613 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43614 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43615 { echo "$as_me:$LINENO: result: yes" >&5
43616 echo "${ECHO_T}yes" >&6; }
43617
43618 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
43619 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43620 cat >>confdefs.h <<\_ACEOF
43621 #define wxUSE_LIBGNOMEVFS 1
43622 _ACEOF
43623
43624
43625 fi
43626 fi
43627 fi
43628
43629 if test "$wxUSE_LIBHILDON" = "yes" ; then
43630
43631 pkg_failed=no
43632 { echo "$as_me:$LINENO: checking for HILDON" >&5
43633 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43634
43635 if test -n "$PKG_CONFIG"; then
43636 if test -n "$HILDON_CFLAGS"; then
43637 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43638 else
43639 if test -n "$PKG_CONFIG" && \
43640 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43641 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43642 ac_status=$?
43643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43644 (exit $ac_status); }; then
43645 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43646 else
43647 pkg_failed=yes
43648 fi
43649 fi
43650 else
43651 pkg_failed=untried
43652 fi
43653 if test -n "$PKG_CONFIG"; then
43654 if test -n "$HILDON_LIBS"; then
43655 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43656 else
43657 if test -n "$PKG_CONFIG" && \
43658 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43659 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43660 ac_status=$?
43661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43662 (exit $ac_status); }; then
43663 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43664 else
43665 pkg_failed=yes
43666 fi
43667 fi
43668 else
43669 pkg_failed=untried
43670 fi
43671
43672
43673
43674 if test $pkg_failed = yes; then
43675
43676 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43677 _pkg_short_errors_supported=yes
43678 else
43679 _pkg_short_errors_supported=no
43680 fi
43681 if test $_pkg_short_errors_supported = yes; then
43682 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43683 else
43684 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43685 fi
43686 # Put the nasty error message in config.log where it belongs
43687 echo "$HILDON_PKG_ERRORS" >&5
43688
43689
43690 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43691 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43692 wxUSE_LIBHILDON="no"
43693 ac_hildon_lgpl=0
43694
43695
43696 elif test $pkg_failed = untried; then
43697
43698 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43699 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43700 wxUSE_LIBHILDON="no"
43701 ac_hildon_lgpl=0
43702
43703
43704 else
43705 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43706 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43707 { echo "$as_me:$LINENO: result: yes" >&5
43708 echo "${ECHO_T}yes" >&6; }
43709
43710 EXTRALIBS_HILDON="$HILDON_LIBS"
43711 CFLAGS="$CFLAGS $HILDON_CFLAGS"
43712 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43713 cat >>confdefs.h <<\_ACEOF
43714 #define wxUSE_LIBHILDON 1
43715 _ACEOF
43716
43717 ac_hildon_lgpl=1
43718
43719 fi
43720
43721 if test "$ac_hildon_lgpl" = 0 ; then
43722
43723 pkg_failed=no
43724 { echo "$as_me:$LINENO: checking for HILDON2" >&5
43725 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
43726
43727 if test -n "$PKG_CONFIG"; then
43728 if test -n "$HILDON2_CFLAGS"; then
43729 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
43730 else
43731 if test -n "$PKG_CONFIG" && \
43732 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
43733 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
43734 ac_status=$?
43735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43736 (exit $ac_status); }; then
43737 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
43738 else
43739 pkg_failed=yes
43740 fi
43741 fi
43742 else
43743 pkg_failed=untried
43744 fi
43745 if test -n "$PKG_CONFIG"; then
43746 if test -n "$HILDON2_LIBS"; then
43747 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
43748 else
43749 if test -n "$PKG_CONFIG" && \
43750 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
43751 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
43752 ac_status=$?
43753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43754 (exit $ac_status); }; then
43755 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
43756 else
43757 pkg_failed=yes
43758 fi
43759 fi
43760 else
43761 pkg_failed=untried
43762 fi
43763
43764
43765
43766 if test $pkg_failed = yes; then
43767
43768 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43769 _pkg_short_errors_supported=yes
43770 else
43771 _pkg_short_errors_supported=no
43772 fi
43773 if test $_pkg_short_errors_supported = yes; then
43774 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
43775 else
43776 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
43777 fi
43778 # Put the nasty error message in config.log where it belongs
43779 echo "$HILDON2_PKG_ERRORS" >&5
43780
43781
43782 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
43783 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
43784 wxUSE_LIBHILDON2="no"
43785
43786
43787 elif test $pkg_failed = untried; then
43788
43789 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
43790 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
43791 wxUSE_LIBHILDON2="no"
43792
43793
43794 else
43795 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
43796 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
43797 { echo "$as_me:$LINENO: result: yes" >&5
43798 echo "${ECHO_T}yes" >&6; }
43799
43800 EXTRALIBS_HILDON="$HILDON2_LIBS"
43801 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
43802 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
43803 cat >>confdefs.h <<\_ACEOF
43804 #define wxUSE_LIBHILDON2 1
43805 _ACEOF
43806
43807
43808 fi
43809 fi
43810 fi
43811 fi
43812
43813 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43814 cat >>confdefs.h <<\_ACEOF
43815 #define wxUSE_CMDLINE_PARSER 1
43816 _ACEOF
43817
43818 fi
43819
43820 if test "$wxUSE_STOPWATCH" = "yes"; then
43821 cat >>confdefs.h <<\_ACEOF
43822 #define wxUSE_STOPWATCH 1
43823 _ACEOF
43824
43825 fi
43826
43827 if test "$wxUSE_DATETIME" = "yes"; then
43828 cat >>confdefs.h <<\_ACEOF
43829 #define wxUSE_DATETIME 1
43830 _ACEOF
43831
43832 fi
43833
43834 if test "$wxUSE_FILE" = "yes"; then
43835 cat >>confdefs.h <<\_ACEOF
43836 #define wxUSE_FILE 1
43837 _ACEOF
43838
43839 fi
43840
43841 if test "$wxUSE_FFILE" = "yes"; then
43842 cat >>confdefs.h <<\_ACEOF
43843 #define wxUSE_FFILE 1
43844 _ACEOF
43845
43846 fi
43847
43848 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43849 if test "$wxUSE_STREAMS" != yes; then
43850 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43851 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43852 wxUSE_ARCHIVE_STREAMS=no
43853 else
43854 cat >>confdefs.h <<\_ACEOF
43855 #define wxUSE_ARCHIVE_STREAMS 1
43856 _ACEOF
43857
43858 fi
43859 fi
43860
43861 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43862 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43863 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43864 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43865 elif test "$wxUSE_ZLIB" = "no"; then
43866 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43867 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43868 else
43869 cat >>confdefs.h <<\_ACEOF
43870 #define wxUSE_ZIPSTREAM 1
43871 _ACEOF
43872
43873 fi
43874 fi
43875
43876 if test "$wxUSE_TARSTREAM" = "yes"; then
43877 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43878 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43879 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43880 else
43881 cat >>confdefs.h <<\_ACEOF
43882 #define wxUSE_TARSTREAM 1
43883 _ACEOF
43884
43885 fi
43886 fi
43887
43888 if test "$wxUSE_FILESYSTEM" = "yes"; then
43889 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43890 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43891 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43892 wxUSE_FILESYSTEM=no
43893 else
43894 cat >>confdefs.h <<\_ACEOF
43895 #define wxUSE_FILESYSTEM 1
43896 _ACEOF
43897
43898 fi
43899 fi
43900
43901 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43902 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43903 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43904 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43905 else
43906 cat >>confdefs.h <<\_ACEOF
43907 #define wxUSE_FS_ARCHIVE 1
43908 _ACEOF
43909
43910 fi
43911 fi
43912
43913 if test "$wxUSE_FS_ZIP" = "yes"; then
43914 if test "$wxUSE_FS_ARCHIVE" != yes; then
43915 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43916 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43917 else
43918 cat >>confdefs.h <<\_ACEOF
43919 #define wxUSE_FS_ZIP 1
43920 _ACEOF
43921
43922 fi
43923 fi
43924
43925 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43926 if test "$USE_UNIX" != 1; then
43927 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43928 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43929 wxUSE_ON_FATAL_EXCEPTION=no
43930 else
43931 cat >>confdefs.h <<\_ACEOF
43932 #define wxUSE_ON_FATAL_EXCEPTION 1
43933 _ACEOF
43934
43935 fi
43936 fi
43937
43938 if test "$wxUSE_STACKWALKER" = "yes"; then
43939 cat >>confdefs.h <<\_ACEOF
43940 #define wxUSE_STACKWALKER 1
43941 _ACEOF
43942
43943 fi
43944
43945 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43946 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43947 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43948 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43949 wxUSE_DEBUGREPORT=no
43950 else
43951 cat >>confdefs.h <<\_ACEOF
43952 #define wxUSE_DEBUGREPORT 1
43953 _ACEOF
43954
43955 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43956 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43957 fi
43958 fi
43959 fi
43960
43961 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43962 cat >>confdefs.h <<\_ACEOF
43963 #define wxUSE_SNGLINST_CHECKER 1
43964 _ACEOF
43965
43966 fi
43967
43968 if test "$wxUSE_BUSYINFO" = "yes"; then
43969 cat >>confdefs.h <<\_ACEOF
43970 #define wxUSE_BUSYINFO 1
43971 _ACEOF
43972
43973 fi
43974
43975 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43976 cat >>confdefs.h <<\_ACEOF
43977 #define wxUSE_STD_IOSTREAM 1
43978 _ACEOF
43979
43980 fi
43981
43982 if test "$wxUSE_STD_STRING" = "yes"; then
43983 cat >>confdefs.h <<\_ACEOF
43984 #define wxUSE_STD_STRING 1
43985 _ACEOF
43986
43987 fi
43988
43989 if test "$wxUSE_STDPATHS" = "yes"; then
43990 cat >>confdefs.h <<\_ACEOF
43991 #define wxUSE_STDPATHS 1
43992 _ACEOF
43993
43994 fi
43995
43996 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43997 cat >>confdefs.h <<\_ACEOF
43998 #define wxUSE_TEXTBUFFER 1
43999 _ACEOF
44000
44001 fi
44002
44003 if test "$wxUSE_TEXTFILE" = "yes"; then
44004 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
44005 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
44006 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
44007 else
44008 cat >>confdefs.h <<\_ACEOF
44009 #define wxUSE_TEXTFILE 1
44010 _ACEOF
44011
44012 fi
44013 fi
44014
44015 if test "$wxUSE_CONFIG" = "yes" ; then
44016 if test "$wxUSE_TEXTFILE" != "yes"; then
44017 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
44018 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
44019 else
44020 cat >>confdefs.h <<\_ACEOF
44021 #define wxUSE_CONFIG 1
44022 _ACEOF
44023
44024 cat >>confdefs.h <<\_ACEOF
44025 #define wxUSE_CONFIG_NATIVE 1
44026 _ACEOF
44027
44028 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
44029 fi
44030 fi
44031
44032 if test "$wxUSE_INTL" = "yes" ; then
44033 if test "$wxUSE_FILE" != "yes"; then
44034 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
44035 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
44036 else
44037 cat >>confdefs.h <<\_ACEOF
44038 #define wxUSE_INTL 1
44039 _ACEOF
44040
44041 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
44042 GUIDIST="$GUIDIST INTL_DIST"
44043 fi
44044 fi
44045
44046 if test "$wxUSE_XLOCALE" = "yes" ; then
44047 cat >>confdefs.h <<\_ACEOF
44048 #define wxUSE_XLOCALE 1
44049 _ACEOF
44050
44051 { echo "$as_me:$LINENO: checking for locale_t" >&5
44052 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
44053 if test "${ac_cv_type_locale_t+set}" = set; then
44054 echo $ECHO_N "(cached) $ECHO_C" >&6
44055 else
44056 cat >conftest.$ac_ext <<_ACEOF
44057 /* confdefs.h. */
44058 _ACEOF
44059 cat confdefs.h >>conftest.$ac_ext
44060 cat >>conftest.$ac_ext <<_ACEOF
44061 /* end confdefs.h. */
44062 #include <xlocale.h>
44063 #include <locale.h>
44064
44065 typedef locale_t ac__type_new_;
44066 int
44067 main ()
44068 {
44069 if ((ac__type_new_ *) 0)
44070 return 0;
44071 if (sizeof (ac__type_new_))
44072 return 0;
44073 ;
44074 return 0;
44075 }
44076 _ACEOF
44077 rm -f conftest.$ac_objext
44078 if { (ac_try="$ac_compile"
44079 case "(($ac_try" in
44080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44081 *) ac_try_echo=$ac_try;;
44082 esac
44083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44084 (eval "$ac_compile") 2>conftest.er1
44085 ac_status=$?
44086 grep -v '^ *+' conftest.er1 >conftest.err
44087 rm -f conftest.er1
44088 cat conftest.err >&5
44089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44090 (exit $ac_status); } && {
44091 test -z "$ac_c_werror_flag" ||
44092 test ! -s conftest.err
44093 } && test -s conftest.$ac_objext; then
44094 ac_cv_type_locale_t=yes
44095 else
44096 echo "$as_me: failed program was:" >&5
44097 sed 's/^/| /' conftest.$ac_ext >&5
44098
44099 ac_cv_type_locale_t=no
44100 fi
44101
44102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44103 fi
44104 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
44105 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
44106 if test $ac_cv_type_locale_t = yes; then
44107
44108 cat >>confdefs.h <<_ACEOF
44109 #define HAVE_LOCALE_T 1
44110 _ACEOF
44111
44112
44113 fi
44114
44115 fi
44116
44117 if test "$wxUSE_LOG" = "yes"; then
44118 cat >>confdefs.h <<\_ACEOF
44119 #define wxUSE_LOG 1
44120 _ACEOF
44121
44122
44123 if test "$wxUSE_LOGGUI" = "yes"; then
44124 cat >>confdefs.h <<\_ACEOF
44125 #define wxUSE_LOGGUI 1
44126 _ACEOF
44127
44128 fi
44129
44130 if test "$wxUSE_LOGWINDOW" = "yes"; then
44131 cat >>confdefs.h <<\_ACEOF
44132 #define wxUSE_LOGWINDOW 1
44133 _ACEOF
44134
44135 fi
44136
44137 if test "$wxUSE_LOGDIALOG" = "yes"; then
44138 cat >>confdefs.h <<\_ACEOF
44139 #define wxUSE_LOG_DIALOG 1
44140 _ACEOF
44141
44142 fi
44143
44144 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
44145 fi
44146
44147 if test "$wxUSE_LONGLONG" = "yes"; then
44148 cat >>confdefs.h <<\_ACEOF
44149 #define wxUSE_LONGLONG 1
44150 _ACEOF
44151
44152 fi
44153
44154 if test "$wxUSE_GEOMETRY" = "yes"; then
44155 cat >>confdefs.h <<\_ACEOF
44156 #define wxUSE_GEOMETRY 1
44157 _ACEOF
44158
44159 fi
44160
44161 if test "$wxUSE_BASE64" = "yes"; then
44162 cat >>confdefs.h <<\_ACEOF
44163 #define wxUSE_BASE64 1
44164 _ACEOF
44165
44166 fi
44167
44168 if test "$wxUSE_STREAMS" = "yes" ; then
44169 cat >>confdefs.h <<\_ACEOF
44170 #define wxUSE_STREAMS 1
44171 _ACEOF
44172
44173 fi
44174
44175 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44176 cat >>confdefs.h <<\_ACEOF
44177 #define wxUSE_PRINTF_POS_PARAMS 1
44178 _ACEOF
44179
44180 fi
44181
44182 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
44183 cat >>confdefs.h <<\_ACEOF
44184 #define wxUSE_OBJC_UNIQUIFYING 1
44185 _ACEOF
44186
44187 fi
44188
44189
44190 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
44191 cat >>confdefs.h <<\_ACEOF
44192 #define wxUSE_CONSOLE_EVENTLOOP 1
44193 _ACEOF
44194
44195
44196 if test "$wxUSE_UNIX" = "yes"; then
44197 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
44198 cat >>confdefs.h <<\_ACEOF
44199 #define wxUSE_SELECT_DISPATCHER 1
44200 _ACEOF
44201
44202 fi
44203
44204 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
44205
44206 for ac_header in sys/epoll.h
44207 do
44208 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44209 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44210 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44211 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44212 echo $ECHO_N "(cached) $ECHO_C" >&6
44213 else
44214 cat >conftest.$ac_ext <<_ACEOF
44215 /* confdefs.h. */
44216 _ACEOF
44217 cat confdefs.h >>conftest.$ac_ext
44218 cat >>conftest.$ac_ext <<_ACEOF
44219 /* end confdefs.h. */
44220 $ac_includes_default
44221
44222 #include <$ac_header>
44223 _ACEOF
44224 rm -f conftest.$ac_objext
44225 if { (ac_try="$ac_compile"
44226 case "(($ac_try" in
44227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44228 *) ac_try_echo=$ac_try;;
44229 esac
44230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44231 (eval "$ac_compile") 2>conftest.er1
44232 ac_status=$?
44233 grep -v '^ *+' conftest.er1 >conftest.err
44234 rm -f conftest.er1
44235 cat conftest.err >&5
44236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44237 (exit $ac_status); } && {
44238 test -z "$ac_c_werror_flag" ||
44239 test ! -s conftest.err
44240 } && test -s conftest.$ac_objext; then
44241 eval "$as_ac_Header=yes"
44242 else
44243 echo "$as_me: failed program was:" >&5
44244 sed 's/^/| /' conftest.$ac_ext >&5
44245
44246 eval "$as_ac_Header=no"
44247 fi
44248
44249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44250 fi
44251 ac_res=`eval echo '${'$as_ac_Header'}'`
44252 { echo "$as_me:$LINENO: result: $ac_res" >&5
44253 echo "${ECHO_T}$ac_res" >&6; }
44254 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44255 cat >>confdefs.h <<_ACEOF
44256 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44257 _ACEOF
44258
44259 fi
44260
44261 done
44262
44263 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
44264 cat >>confdefs.h <<\_ACEOF
44265 #define wxUSE_EPOLL_DISPATCHER 1
44266 _ACEOF
44267
44268 else
44269 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
44270 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
44271 fi
44272 fi
44273 fi
44274 fi
44275
44276
44277
44278
44279 for ac_func in gettimeofday ftime
44280 do
44281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44282 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44284 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44285 echo $ECHO_N "(cached) $ECHO_C" >&6
44286 else
44287 cat >conftest.$ac_ext <<_ACEOF
44288 /* confdefs.h. */
44289 _ACEOF
44290 cat confdefs.h >>conftest.$ac_ext
44291 cat >>conftest.$ac_ext <<_ACEOF
44292 /* end confdefs.h. */
44293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44295 #define $ac_func innocuous_$ac_func
44296
44297 /* System header to define __stub macros and hopefully few prototypes,
44298 which can conflict with char $ac_func (); below.
44299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44300 <limits.h> exists even on freestanding compilers. */
44301
44302 #ifdef __STDC__
44303 # include <limits.h>
44304 #else
44305 # include <assert.h>
44306 #endif
44307
44308 #undef $ac_func
44309
44310 /* Override any GCC internal prototype to avoid an error.
44311 Use char because int might match the return type of a GCC
44312 builtin and then its argument prototype would still apply. */
44313 #ifdef __cplusplus
44314 extern "C"
44315 #endif
44316 char $ac_func ();
44317 /* The GNU C library defines this for functions which it implements
44318 to always fail with ENOSYS. Some functions are actually named
44319 something starting with __ and the normal name is an alias. */
44320 #if defined __stub_$ac_func || defined __stub___$ac_func
44321 choke me
44322 #endif
44323
44324 int
44325 main ()
44326 {
44327 return $ac_func ();
44328 ;
44329 return 0;
44330 }
44331 _ACEOF
44332 rm -f conftest.$ac_objext conftest$ac_exeext
44333 if { (ac_try="$ac_link"
44334 case "(($ac_try" in
44335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44336 *) ac_try_echo=$ac_try;;
44337 esac
44338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44339 (eval "$ac_link") 2>conftest.er1
44340 ac_status=$?
44341 grep -v '^ *+' conftest.er1 >conftest.err
44342 rm -f conftest.er1
44343 cat conftest.err >&5
44344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44345 (exit $ac_status); } && {
44346 test -z "$ac_c_werror_flag" ||
44347 test ! -s conftest.err
44348 } && test -s conftest$ac_exeext &&
44349 $as_test_x conftest$ac_exeext; then
44350 eval "$as_ac_var=yes"
44351 else
44352 echo "$as_me: failed program was:" >&5
44353 sed 's/^/| /' conftest.$ac_ext >&5
44354
44355 eval "$as_ac_var=no"
44356 fi
44357
44358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44359 conftest$ac_exeext conftest.$ac_ext
44360 fi
44361 ac_res=`eval echo '${'$as_ac_var'}'`
44362 { echo "$as_me:$LINENO: result: $ac_res" >&5
44363 echo "${ECHO_T}$ac_res" >&6; }
44364 if test `eval echo '${'$as_ac_var'}'` = yes; then
44365 cat >>confdefs.h <<_ACEOF
44366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44367 _ACEOF
44368 break
44369 fi
44370 done
44371
44372
44373 if test "$ac_cv_func_gettimeofday" = "yes"; then
44374 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44375 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
44376 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44377 echo $ECHO_N "(cached) $ECHO_C" >&6
44378 else
44379
44380 cat >conftest.$ac_ext <<_ACEOF
44381 /* confdefs.h. */
44382 _ACEOF
44383 cat confdefs.h >>conftest.$ac_ext
44384 cat >>conftest.$ac_ext <<_ACEOF
44385 /* end confdefs.h. */
44386
44387 #include <sys/time.h>
44388 #include <unistd.h>
44389
44390 int
44391 main ()
44392 {
44393
44394 struct timeval tv;
44395 gettimeofday(&tv, NULL);
44396
44397 ;
44398 return 0;
44399 }
44400 _ACEOF
44401 rm -f conftest.$ac_objext
44402 if { (ac_try="$ac_compile"
44403 case "(($ac_try" in
44404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44405 *) ac_try_echo=$ac_try;;
44406 esac
44407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44408 (eval "$ac_compile") 2>conftest.er1
44409 ac_status=$?
44410 grep -v '^ *+' conftest.er1 >conftest.err
44411 rm -f conftest.er1
44412 cat conftest.err >&5
44413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44414 (exit $ac_status); } && {
44415 test -z "$ac_c_werror_flag" ||
44416 test ! -s conftest.err
44417 } && test -s conftest.$ac_objext; then
44418 wx_cv_func_gettimeofday_has_2_args=yes
44419 else
44420 echo "$as_me: failed program was:" >&5
44421 sed 's/^/| /' conftest.$ac_ext >&5
44422
44423 cat >conftest.$ac_ext <<_ACEOF
44424 /* confdefs.h. */
44425 _ACEOF
44426 cat confdefs.h >>conftest.$ac_ext
44427 cat >>conftest.$ac_ext <<_ACEOF
44428 /* end confdefs.h. */
44429
44430 #include <sys/time.h>
44431 #include <unistd.h>
44432
44433 int
44434 main ()
44435 {
44436
44437 struct timeval tv;
44438 gettimeofday(&tv);
44439
44440 ;
44441 return 0;
44442 }
44443 _ACEOF
44444 rm -f conftest.$ac_objext
44445 if { (ac_try="$ac_compile"
44446 case "(($ac_try" in
44447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44448 *) ac_try_echo=$ac_try;;
44449 esac
44450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44451 (eval "$ac_compile") 2>conftest.er1
44452 ac_status=$?
44453 grep -v '^ *+' conftest.er1 >conftest.err
44454 rm -f conftest.er1
44455 cat conftest.err >&5
44456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44457 (exit $ac_status); } && {
44458 test -z "$ac_c_werror_flag" ||
44459 test ! -s conftest.err
44460 } && test -s conftest.$ac_objext; then
44461 wx_cv_func_gettimeofday_has_2_args=no
44462 else
44463 echo "$as_me: failed program was:" >&5
44464 sed 's/^/| /' conftest.$ac_ext >&5
44465
44466
44467 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44468 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44469 wx_cv_func_gettimeofday_has_2_args=unknown
44470
44471
44472 fi
44473
44474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44475
44476 fi
44477
44478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44479
44480 fi
44481 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44482 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
44483
44484 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44485 cat >>confdefs.h <<\_ACEOF
44486 #define WX_GETTIMEOFDAY_NO_TZ 1
44487 _ACEOF
44488
44489 fi
44490 fi
44491
44492 if test "$wxUSE_DATETIME" = "yes"; then
44493 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44494 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44495 if test "${wx_cv_var_timezone+set}" = set; then
44496 echo $ECHO_N "(cached) $ECHO_C" >&6
44497 else
44498
44499 ac_ext=cpp
44500 ac_cpp='$CXXCPP $CPPFLAGS'
44501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44504
44505 cat >conftest.$ac_ext <<_ACEOF
44506 /* confdefs.h. */
44507 _ACEOF
44508 cat confdefs.h >>conftest.$ac_ext
44509 cat >>conftest.$ac_ext <<_ACEOF
44510 /* end confdefs.h. */
44511
44512 #include <time.h>
44513
44514 int
44515 main ()
44516 {
44517
44518 int tz;
44519 tz = timezone;
44520
44521 ;
44522 return 0;
44523 }
44524 _ACEOF
44525 rm -f conftest.$ac_objext
44526 if { (ac_try="$ac_compile"
44527 case "(($ac_try" in
44528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44529 *) ac_try_echo=$ac_try;;
44530 esac
44531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44532 (eval "$ac_compile") 2>conftest.er1
44533 ac_status=$?
44534 grep -v '^ *+' conftest.er1 >conftest.err
44535 rm -f conftest.er1
44536 cat conftest.err >&5
44537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44538 (exit $ac_status); } && {
44539 test -z "$ac_cxx_werror_flag" ||
44540 test ! -s conftest.err
44541 } && test -s conftest.$ac_objext; then
44542
44543 wx_cv_var_timezone=timezone
44544
44545 else
44546 echo "$as_me: failed program was:" >&5
44547 sed 's/^/| /' conftest.$ac_ext >&5
44548
44549
44550 cat >conftest.$ac_ext <<_ACEOF
44551 /* confdefs.h. */
44552 _ACEOF
44553 cat confdefs.h >>conftest.$ac_ext
44554 cat >>conftest.$ac_ext <<_ACEOF
44555 /* end confdefs.h. */
44556
44557 #include <time.h>
44558
44559 int
44560 main ()
44561 {
44562
44563 int tz;
44564 tz = _timezone;
44565
44566 ;
44567 return 0;
44568 }
44569 _ACEOF
44570 rm -f conftest.$ac_objext
44571 if { (ac_try="$ac_compile"
44572 case "(($ac_try" in
44573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44574 *) ac_try_echo=$ac_try;;
44575 esac
44576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44577 (eval "$ac_compile") 2>conftest.er1
44578 ac_status=$?
44579 grep -v '^ *+' conftest.er1 >conftest.err
44580 rm -f conftest.er1
44581 cat conftest.err >&5
44582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44583 (exit $ac_status); } && {
44584 test -z "$ac_cxx_werror_flag" ||
44585 test ! -s conftest.err
44586 } && test -s conftest.$ac_objext; then
44587
44588 wx_cv_var_timezone=_timezone
44589
44590 else
44591 echo "$as_me: failed program was:" >&5
44592 sed 's/^/| /' conftest.$ac_ext >&5
44593
44594
44595 cat >conftest.$ac_ext <<_ACEOF
44596 /* confdefs.h. */
44597 _ACEOF
44598 cat confdefs.h >>conftest.$ac_ext
44599 cat >>conftest.$ac_ext <<_ACEOF
44600 /* end confdefs.h. */
44601
44602 #include <time.h>
44603
44604 int
44605 main ()
44606 {
44607
44608 int tz;
44609 tz = __timezone;
44610
44611 ;
44612 return 0;
44613 }
44614 _ACEOF
44615 rm -f conftest.$ac_objext
44616 if { (ac_try="$ac_compile"
44617 case "(($ac_try" in
44618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44619 *) ac_try_echo=$ac_try;;
44620 esac
44621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44622 (eval "$ac_compile") 2>conftest.er1
44623 ac_status=$?
44624 grep -v '^ *+' conftest.er1 >conftest.err
44625 rm -f conftest.er1
44626 cat conftest.err >&5
44627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44628 (exit $ac_status); } && {
44629 test -z "$ac_cxx_werror_flag" ||
44630 test ! -s conftest.err
44631 } && test -s conftest.$ac_objext; then
44632
44633 wx_cv_var_timezone=__timezone
44634
44635 else
44636 echo "$as_me: failed program was:" >&5
44637 sed 's/^/| /' conftest.$ac_ext >&5
44638
44639
44640 if test "$USE_DOS" = 0 ; then
44641 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44642 echo "$as_me: WARNING: no timezone variable" >&2;}
44643 fi
44644
44645
44646 fi
44647
44648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44649
44650
44651 fi
44652
44653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44654
44655
44656 fi
44657
44658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44659 ac_ext=c
44660 ac_cpp='$CPP $CPPFLAGS'
44661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44664
44665
44666
44667 fi
44668 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44669 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44670
44671 if test "x$wx_cv_var_timezone" != x ; then
44672 cat >>confdefs.h <<_ACEOF
44673 #define WX_TIMEZONE $wx_cv_var_timezone
44674 _ACEOF
44675
44676 fi
44677
44678
44679 for ac_func in localtime
44680 do
44681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44682 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44684 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44685 echo $ECHO_N "(cached) $ECHO_C" >&6
44686 else
44687 cat >conftest.$ac_ext <<_ACEOF
44688 /* confdefs.h. */
44689 _ACEOF
44690 cat confdefs.h >>conftest.$ac_ext
44691 cat >>conftest.$ac_ext <<_ACEOF
44692 /* end confdefs.h. */
44693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44695 #define $ac_func innocuous_$ac_func
44696
44697 /* System header to define __stub macros and hopefully few prototypes,
44698 which can conflict with char $ac_func (); below.
44699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44700 <limits.h> exists even on freestanding compilers. */
44701
44702 #ifdef __STDC__
44703 # include <limits.h>
44704 #else
44705 # include <assert.h>
44706 #endif
44707
44708 #undef $ac_func
44709
44710 /* Override any GCC internal prototype to avoid an error.
44711 Use char because int might match the return type of a GCC
44712 builtin and then its argument prototype would still apply. */
44713 #ifdef __cplusplus
44714 extern "C"
44715 #endif
44716 char $ac_func ();
44717 /* The GNU C library defines this for functions which it implements
44718 to always fail with ENOSYS. Some functions are actually named
44719 something starting with __ and the normal name is an alias. */
44720 #if defined __stub_$ac_func || defined __stub___$ac_func
44721 choke me
44722 #endif
44723
44724 int
44725 main ()
44726 {
44727 return $ac_func ();
44728 ;
44729 return 0;
44730 }
44731 _ACEOF
44732 rm -f conftest.$ac_objext conftest$ac_exeext
44733 if { (ac_try="$ac_link"
44734 case "(($ac_try" in
44735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44736 *) ac_try_echo=$ac_try;;
44737 esac
44738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44739 (eval "$ac_link") 2>conftest.er1
44740 ac_status=$?
44741 grep -v '^ *+' conftest.er1 >conftest.err
44742 rm -f conftest.er1
44743 cat conftest.err >&5
44744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44745 (exit $ac_status); } && {
44746 test -z "$ac_c_werror_flag" ||
44747 test ! -s conftest.err
44748 } && test -s conftest$ac_exeext &&
44749 $as_test_x conftest$ac_exeext; then
44750 eval "$as_ac_var=yes"
44751 else
44752 echo "$as_me: failed program was:" >&5
44753 sed 's/^/| /' conftest.$ac_ext >&5
44754
44755 eval "$as_ac_var=no"
44756 fi
44757
44758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44759 conftest$ac_exeext conftest.$ac_ext
44760 fi
44761 ac_res=`eval echo '${'$as_ac_var'}'`
44762 { echo "$as_me:$LINENO: result: $ac_res" >&5
44763 echo "${ECHO_T}$ac_res" >&6; }
44764 if test `eval echo '${'$as_ac_var'}'` = yes; then
44765 cat >>confdefs.h <<_ACEOF
44766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44767 _ACEOF
44768
44769 fi
44770 done
44771
44772
44773 if test "$ac_cv_func_localtime" = "yes"; then
44774 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44775 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44776 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44777 echo $ECHO_N "(cached) $ECHO_C" >&6
44778 else
44779
44780 cat >conftest.$ac_ext <<_ACEOF
44781 /* confdefs.h. */
44782 _ACEOF
44783 cat confdefs.h >>conftest.$ac_ext
44784 cat >>conftest.$ac_ext <<_ACEOF
44785 /* end confdefs.h. */
44786
44787 #include <time.h>
44788
44789 int
44790 main ()
44791 {
44792
44793 struct tm tm;
44794 tm.tm_gmtoff++;
44795
44796 ;
44797 return 0;
44798 }
44799 _ACEOF
44800 rm -f conftest.$ac_objext
44801 if { (ac_try="$ac_compile"
44802 case "(($ac_try" in
44803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44804 *) ac_try_echo=$ac_try;;
44805 esac
44806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44807 (eval "$ac_compile") 2>conftest.er1
44808 ac_status=$?
44809 grep -v '^ *+' conftest.er1 >conftest.err
44810 rm -f conftest.er1
44811 cat conftest.err >&5
44812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44813 (exit $ac_status); } && {
44814 test -z "$ac_c_werror_flag" ||
44815 test ! -s conftest.err
44816 } && test -s conftest.$ac_objext; then
44817
44818 wx_cv_struct_tm_has_gmtoff=yes
44819
44820 else
44821 echo "$as_me: failed program was:" >&5
44822 sed 's/^/| /' conftest.$ac_ext >&5
44823
44824 wx_cv_struct_tm_has_gmtoff=no
44825
44826 fi
44827
44828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44829
44830 fi
44831 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44832 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44833 fi
44834
44835 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44836 cat >>confdefs.h <<\_ACEOF
44837 #define WX_GMTOFF_IN_TM 1
44838 _ACEOF
44839
44840 fi
44841
44842 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44843 fi
44844
44845
44846 if test "$wxUSE_SOCKETS" = "yes"; then
44847 if test "$wxUSE_MGL" = 1; then
44848 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44849 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44850 wxUSE_SOCKETS="no"
44851 fi
44852 fi
44853
44854 if test "$wxUSE_SOCKETS" = "yes"; then
44855 if test "$TOOLKIT" != "MSW"; then
44856 { echo "$as_me:$LINENO: checking for socket" >&5
44857 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44858 if test "${ac_cv_func_socket+set}" = set; then
44859 echo $ECHO_N "(cached) $ECHO_C" >&6
44860 else
44861 cat >conftest.$ac_ext <<_ACEOF
44862 /* confdefs.h. */
44863 _ACEOF
44864 cat confdefs.h >>conftest.$ac_ext
44865 cat >>conftest.$ac_ext <<_ACEOF
44866 /* end confdefs.h. */
44867 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44869 #define socket innocuous_socket
44870
44871 /* System header to define __stub macros and hopefully few prototypes,
44872 which can conflict with char socket (); below.
44873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44874 <limits.h> exists even on freestanding compilers. */
44875
44876 #ifdef __STDC__
44877 # include <limits.h>
44878 #else
44879 # include <assert.h>
44880 #endif
44881
44882 #undef socket
44883
44884 /* Override any GCC internal prototype to avoid an error.
44885 Use char because int might match the return type of a GCC
44886 builtin and then its argument prototype would still apply. */
44887 #ifdef __cplusplus
44888 extern "C"
44889 #endif
44890 char socket ();
44891 /* The GNU C library defines this for functions which it implements
44892 to always fail with ENOSYS. Some functions are actually named
44893 something starting with __ and the normal name is an alias. */
44894 #if defined __stub_socket || defined __stub___socket
44895 choke me
44896 #endif
44897
44898 int
44899 main ()
44900 {
44901 return socket ();
44902 ;
44903 return 0;
44904 }
44905 _ACEOF
44906 rm -f conftest.$ac_objext conftest$ac_exeext
44907 if { (ac_try="$ac_link"
44908 case "(($ac_try" in
44909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44910 *) ac_try_echo=$ac_try;;
44911 esac
44912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44913 (eval "$ac_link") 2>conftest.er1
44914 ac_status=$?
44915 grep -v '^ *+' conftest.er1 >conftest.err
44916 rm -f conftest.er1
44917 cat conftest.err >&5
44918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44919 (exit $ac_status); } && {
44920 test -z "$ac_c_werror_flag" ||
44921 test ! -s conftest.err
44922 } && test -s conftest$ac_exeext &&
44923 $as_test_x conftest$ac_exeext; then
44924 ac_cv_func_socket=yes
44925 else
44926 echo "$as_me: failed program was:" >&5
44927 sed 's/^/| /' conftest.$ac_ext >&5
44928
44929 ac_cv_func_socket=no
44930 fi
44931
44932 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44933 conftest$ac_exeext conftest.$ac_ext
44934 fi
44935 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44936 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44937 if test $ac_cv_func_socket = yes; then
44938 :
44939 else
44940
44941 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44942 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44943 if test "${ac_cv_lib_socket_socket+set}" = set; then
44944 echo $ECHO_N "(cached) $ECHO_C" >&6
44945 else
44946 ac_check_lib_save_LIBS=$LIBS
44947 LIBS="-lsocket $LIBS"
44948 cat >conftest.$ac_ext <<_ACEOF
44949 /* confdefs.h. */
44950 _ACEOF
44951 cat confdefs.h >>conftest.$ac_ext
44952 cat >>conftest.$ac_ext <<_ACEOF
44953 /* end confdefs.h. */
44954
44955 /* Override any GCC internal prototype to avoid an error.
44956 Use char because int might match the return type of a GCC
44957 builtin and then its argument prototype would still apply. */
44958 #ifdef __cplusplus
44959 extern "C"
44960 #endif
44961 char socket ();
44962 int
44963 main ()
44964 {
44965 return socket ();
44966 ;
44967 return 0;
44968 }
44969 _ACEOF
44970 rm -f conftest.$ac_objext conftest$ac_exeext
44971 if { (ac_try="$ac_link"
44972 case "(($ac_try" in
44973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44974 *) ac_try_echo=$ac_try;;
44975 esac
44976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44977 (eval "$ac_link") 2>conftest.er1
44978 ac_status=$?
44979 grep -v '^ *+' conftest.er1 >conftest.err
44980 rm -f conftest.er1
44981 cat conftest.err >&5
44982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44983 (exit $ac_status); } && {
44984 test -z "$ac_c_werror_flag" ||
44985 test ! -s conftest.err
44986 } && test -s conftest$ac_exeext &&
44987 $as_test_x conftest$ac_exeext; then
44988 ac_cv_lib_socket_socket=yes
44989 else
44990 echo "$as_me: failed program was:" >&5
44991 sed 's/^/| /' conftest.$ac_ext >&5
44992
44993 ac_cv_lib_socket_socket=no
44994 fi
44995
44996 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44997 conftest$ac_exeext conftest.$ac_ext
44998 LIBS=$ac_check_lib_save_LIBS
44999 fi
45000 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
45001 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
45002 if test $ac_cv_lib_socket_socket = yes; then
45003 if test "$INET_LINK" != " -lsocket"; then
45004 INET_LINK="$INET_LINK -lsocket"
45005 fi
45006 else
45007
45008 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
45009 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
45010 wxUSE_SOCKETS=no
45011
45012
45013 fi
45014
45015
45016
45017 fi
45018
45019 fi
45020 fi
45021
45022 if test "$wxUSE_SOCKETS" = "yes" ; then
45023 if test "$TOOLKIT" != "MSW"; then
45024 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
45025 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
45026 if test "${wx_cv_type_getsockname3+set}" = set; then
45027 echo $ECHO_N "(cached) $ECHO_C" >&6
45028 else
45029
45030 ac_ext=cpp
45031 ac_cpp='$CXXCPP $CPPFLAGS'
45032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45035
45036 cat >conftest.$ac_ext <<_ACEOF
45037 /* confdefs.h. */
45038 _ACEOF
45039 cat confdefs.h >>conftest.$ac_ext
45040 cat >>conftest.$ac_ext <<_ACEOF
45041 /* end confdefs.h. */
45042
45043 #include <sys/types.h>
45044 #include <sys/socket.h>
45045
45046 int
45047 main ()
45048 {
45049
45050 socklen_t len;
45051 getsockname(0, 0, &len);
45052
45053 ;
45054 return 0;
45055 }
45056 _ACEOF
45057 rm -f conftest.$ac_objext
45058 if { (ac_try="$ac_compile"
45059 case "(($ac_try" in
45060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45061 *) ac_try_echo=$ac_try;;
45062 esac
45063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45064 (eval "$ac_compile") 2>conftest.er1
45065 ac_status=$?
45066 grep -v '^ *+' conftest.er1 >conftest.err
45067 rm -f conftest.er1
45068 cat conftest.err >&5
45069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45070 (exit $ac_status); } && {
45071 test -z "$ac_cxx_werror_flag" ||
45072 test ! -s conftest.err
45073 } && test -s conftest.$ac_objext; then
45074 wx_cv_type_getsockname3=socklen_t
45075 else
45076 echo "$as_me: failed program was:" >&5
45077 sed 's/^/| /' conftest.$ac_ext >&5
45078
45079
45080 CFLAGS_OLD="$CFLAGS"
45081 if test "$GCC" = yes ; then
45082 CFLAGS="-Werror $CFLAGS"
45083 fi
45084
45085 cat >conftest.$ac_ext <<_ACEOF
45086 /* confdefs.h. */
45087 _ACEOF
45088 cat confdefs.h >>conftest.$ac_ext
45089 cat >>conftest.$ac_ext <<_ACEOF
45090 /* end confdefs.h. */
45091
45092 #include <sys/types.h>
45093 #include <sys/socket.h>
45094
45095 int
45096 main ()
45097 {
45098
45099 size_t len;
45100 getsockname(0, 0, &len);
45101
45102 ;
45103 return 0;
45104 }
45105 _ACEOF
45106 rm -f conftest.$ac_objext
45107 if { (ac_try="$ac_compile"
45108 case "(($ac_try" in
45109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45110 *) ac_try_echo=$ac_try;;
45111 esac
45112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45113 (eval "$ac_compile") 2>conftest.er1
45114 ac_status=$?
45115 grep -v '^ *+' conftest.er1 >conftest.err
45116 rm -f conftest.er1
45117 cat conftest.err >&5
45118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45119 (exit $ac_status); } && {
45120 test -z "$ac_cxx_werror_flag" ||
45121 test ! -s conftest.err
45122 } && test -s conftest.$ac_objext; then
45123 wx_cv_type_getsockname3=size_t
45124 else
45125 echo "$as_me: failed program was:" >&5
45126 sed 's/^/| /' conftest.$ac_ext >&5
45127
45128 cat >conftest.$ac_ext <<_ACEOF
45129 /* confdefs.h. */
45130 _ACEOF
45131 cat confdefs.h >>conftest.$ac_ext
45132 cat >>conftest.$ac_ext <<_ACEOF
45133 /* end confdefs.h. */
45134
45135 #include <sys/types.h>
45136 #include <sys/socket.h>
45137
45138 int
45139 main ()
45140 {
45141
45142 int len;
45143 getsockname(0, 0, &len);
45144
45145 ;
45146 return 0;
45147 }
45148 _ACEOF
45149 rm -f conftest.$ac_objext
45150 if { (ac_try="$ac_compile"
45151 case "(($ac_try" in
45152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45153 *) ac_try_echo=$ac_try;;
45154 esac
45155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45156 (eval "$ac_compile") 2>conftest.er1
45157 ac_status=$?
45158 grep -v '^ *+' conftest.er1 >conftest.err
45159 rm -f conftest.er1
45160 cat conftest.err >&5
45161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45162 (exit $ac_status); } && {
45163 test -z "$ac_cxx_werror_flag" ||
45164 test ! -s conftest.err
45165 } && test -s conftest.$ac_objext; then
45166 wx_cv_type_getsockname3=int
45167 else
45168 echo "$as_me: failed program was:" >&5
45169 sed 's/^/| /' conftest.$ac_ext >&5
45170
45171 wx_cv_type_getsockname3=unknown
45172
45173 fi
45174
45175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45176
45177 fi
45178
45179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45180
45181 CFLAGS="$CFLAGS_OLD"
45182
45183
45184 fi
45185
45186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45187 ac_ext=c
45188 ac_cpp='$CPP $CPPFLAGS'
45189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45192
45193
45194 fi
45195 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45196 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
45197
45198 if test "$wx_cv_type_getsockname3" = "unknown"; then
45199 wxUSE_SOCKETS=no
45200 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45201 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45202 else
45203 cat >>confdefs.h <<_ACEOF
45204 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45205 _ACEOF
45206
45207 fi
45208 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45209 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
45210 if test "${wx_cv_type_getsockopt5+set}" = set; then
45211 echo $ECHO_N "(cached) $ECHO_C" >&6
45212 else
45213
45214 ac_ext=cpp
45215 ac_cpp='$CXXCPP $CPPFLAGS'
45216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45219
45220 cat >conftest.$ac_ext <<_ACEOF
45221 /* confdefs.h. */
45222 _ACEOF
45223 cat confdefs.h >>conftest.$ac_ext
45224 cat >>conftest.$ac_ext <<_ACEOF
45225 /* end confdefs.h. */
45226
45227 #include <sys/types.h>
45228 #include <sys/socket.h>
45229
45230 int
45231 main ()
45232 {
45233
45234 socklen_t len;
45235 getsockopt(0, 0, 0, 0, &len);
45236
45237 ;
45238 return 0;
45239 }
45240 _ACEOF
45241 rm -f conftest.$ac_objext
45242 if { (ac_try="$ac_compile"
45243 case "(($ac_try" in
45244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45245 *) ac_try_echo=$ac_try;;
45246 esac
45247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45248 (eval "$ac_compile") 2>conftest.er1
45249 ac_status=$?
45250 grep -v '^ *+' conftest.er1 >conftest.err
45251 rm -f conftest.er1
45252 cat conftest.err >&5
45253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45254 (exit $ac_status); } && {
45255 test -z "$ac_cxx_werror_flag" ||
45256 test ! -s conftest.err
45257 } && test -s conftest.$ac_objext; then
45258 wx_cv_type_getsockopt5=socklen_t
45259 else
45260 echo "$as_me: failed program was:" >&5
45261 sed 's/^/| /' conftest.$ac_ext >&5
45262
45263
45264 cat >conftest.$ac_ext <<_ACEOF
45265 /* confdefs.h. */
45266 _ACEOF
45267 cat confdefs.h >>conftest.$ac_ext
45268 cat >>conftest.$ac_ext <<_ACEOF
45269 /* end confdefs.h. */
45270
45271 #include <sys/types.h>
45272 #include <sys/socket.h>
45273
45274 int
45275 main ()
45276 {
45277
45278 size_t len;
45279 getsockopt(0, 0, 0, 0, &len);
45280
45281 ;
45282 return 0;
45283 }
45284 _ACEOF
45285 rm -f conftest.$ac_objext
45286 if { (ac_try="$ac_compile"
45287 case "(($ac_try" in
45288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45289 *) ac_try_echo=$ac_try;;
45290 esac
45291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45292 (eval "$ac_compile") 2>conftest.er1
45293 ac_status=$?
45294 grep -v '^ *+' conftest.er1 >conftest.err
45295 rm -f conftest.er1
45296 cat conftest.err >&5
45297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45298 (exit $ac_status); } && {
45299 test -z "$ac_cxx_werror_flag" ||
45300 test ! -s conftest.err
45301 } && test -s conftest.$ac_objext; then
45302 wx_cv_type_getsockopt5=size_t
45303 else
45304 echo "$as_me: failed program was:" >&5
45305 sed 's/^/| /' conftest.$ac_ext >&5
45306
45307 cat >conftest.$ac_ext <<_ACEOF
45308 /* confdefs.h. */
45309 _ACEOF
45310 cat confdefs.h >>conftest.$ac_ext
45311 cat >>conftest.$ac_ext <<_ACEOF
45312 /* end confdefs.h. */
45313
45314 #include <sys/types.h>
45315 #include <sys/socket.h>
45316
45317 int
45318 main ()
45319 {
45320
45321 int len;
45322 getsockopt(0, 0, 0, 0, &len);
45323
45324 ;
45325 return 0;
45326 }
45327 _ACEOF
45328 rm -f conftest.$ac_objext
45329 if { (ac_try="$ac_compile"
45330 case "(($ac_try" in
45331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45332 *) ac_try_echo=$ac_try;;
45333 esac
45334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45335 (eval "$ac_compile") 2>conftest.er1
45336 ac_status=$?
45337 grep -v '^ *+' conftest.er1 >conftest.err
45338 rm -f conftest.er1
45339 cat conftest.err >&5
45340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45341 (exit $ac_status); } && {
45342 test -z "$ac_cxx_werror_flag" ||
45343 test ! -s conftest.err
45344 } && test -s conftest.$ac_objext; then
45345 wx_cv_type_getsockopt5=int
45346 else
45347 echo "$as_me: failed program was:" >&5
45348 sed 's/^/| /' conftest.$ac_ext >&5
45349
45350 wx_cv_type_getsockopt5=unknown
45351
45352 fi
45353
45354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45355
45356 fi
45357
45358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45359
45360
45361 fi
45362
45363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45364 ac_ext=c
45365 ac_cpp='$CPP $CPPFLAGS'
45366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45369
45370
45371 fi
45372 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
45373 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
45374
45375 if test "$wx_cv_type_getsockopt5" = "unknown"; then
45376 wxUSE_SOCKETS=no
45377 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45378 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45379 else
45380 cat >>confdefs.h <<_ACEOF
45381 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45382 _ACEOF
45383
45384 fi
45385 fi
45386 fi
45387
45388 if test "$wxUSE_SOCKETS" = "yes" ; then
45389 if test "$wxUSE_IPV6" = "yes"; then
45390 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
45391 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
45392 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
45393 echo $ECHO_N "(cached) $ECHO_C" >&6
45394 else
45395
45396 cat >conftest.$ac_ext <<_ACEOF
45397 /* confdefs.h. */
45398 _ACEOF
45399 cat confdefs.h >>conftest.$ac_ext
45400 cat >>conftest.$ac_ext <<_ACEOF
45401 /* end confdefs.h. */
45402
45403 #include <sys/types.h>
45404 #include <sys/socket.h>
45405 #include <netinet/in.h>
45406
45407 int
45408 main ()
45409 {
45410
45411 struct sockaddr_in6 sa6;
45412
45413 ;
45414 return 0;
45415 }
45416 _ACEOF
45417 rm -f conftest.$ac_objext
45418 if { (ac_try="$ac_compile"
45419 case "(($ac_try" in
45420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45421 *) ac_try_echo=$ac_try;;
45422 esac
45423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45424 (eval "$ac_compile") 2>conftest.er1
45425 ac_status=$?
45426 grep -v '^ *+' conftest.er1 >conftest.err
45427 rm -f conftest.er1
45428 cat conftest.err >&5
45429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45430 (exit $ac_status); } && {
45431 test -z "$ac_c_werror_flag" ||
45432 test ! -s conftest.err
45433 } && test -s conftest.$ac_objext; then
45434 wx_cv_type_sockaddr_in6=yes
45435 else
45436 echo "$as_me: failed program was:" >&5
45437 sed 's/^/| /' conftest.$ac_ext >&5
45438
45439 wx_cv_type_sockaddr_in6=no
45440
45441 fi
45442
45443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45444
45445
45446 fi
45447 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
45448 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
45449
45450 if test "$wx_cv_type_sockaddr_in6"="yes"; then
45451 cat >>confdefs.h <<\_ACEOF
45452 #define wxUSE_IPV6 1
45453 _ACEOF
45454
45455 else
45456 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
45457 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
45458 fi
45459 fi
45460
45461 cat >>confdefs.h <<\_ACEOF
45462 #define wxUSE_SOCKETS 1
45463 _ACEOF
45464
45465 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45466 fi
45467
45468 if test "$wxUSE_PROTOCOL" = "yes"; then
45469 if test "$wxUSE_SOCKETS" != "yes"; then
45470 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45471 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45472 wxUSE_PROTOCOL=no
45473 fi
45474 fi
45475
45476 if test "$wxUSE_PROTOCOL" = "yes"; then
45477 cat >>confdefs.h <<\_ACEOF
45478 #define wxUSE_PROTOCOL 1
45479 _ACEOF
45480
45481
45482 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45483 cat >>confdefs.h <<\_ACEOF
45484 #define wxUSE_PROTOCOL_HTTP 1
45485 _ACEOF
45486
45487 fi
45488 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45489 cat >>confdefs.h <<\_ACEOF
45490 #define wxUSE_PROTOCOL_FTP 1
45491 _ACEOF
45492
45493 fi
45494 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45495 cat >>confdefs.h <<\_ACEOF
45496 #define wxUSE_PROTOCOL_FILE 1
45497 _ACEOF
45498
45499 fi
45500 else
45501 if test "$wxUSE_FS_INET" = "yes"; then
45502 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45503 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45504 wxUSE_FS_INET="no"
45505 fi
45506 fi
45507
45508 if test "$wxUSE_URL" = "yes"; then
45509 if test "$wxUSE_PROTOCOL" != "yes"; then
45510 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45511 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45512 wxUSE_URL=no
45513 fi
45514 if test "$wxUSE_URL" = "yes"; then
45515 cat >>confdefs.h <<\_ACEOF
45516 #define wxUSE_URL 1
45517 _ACEOF
45518
45519 fi
45520 fi
45521
45522 if test "$wxUSE_VARIANT" = "yes"; then
45523 cat >>confdefs.h <<\_ACEOF
45524 #define wxUSE_VARIANT 1
45525 _ACEOF
45526
45527 fi
45528
45529 if test "$wxUSE_FS_INET" = "yes"; then
45530 cat >>confdefs.h <<\_ACEOF
45531 #define wxUSE_FS_INET 1
45532 _ACEOF
45533
45534 fi
45535
45536
45537 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45538 wxUSE_JOYSTICK=no
45539
45540 if test "$TOOLKIT" = "MSW"; then
45541 wxUSE_JOYSTICK=yes
45542
45543 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45544 if test "$USE_DARWIN" = 1; then
45545 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45546 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45547 ac_ext=cpp
45548 ac_cpp='$CXXCPP $CPPFLAGS'
45549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45552
45553 cat >conftest.$ac_ext <<_ACEOF
45554 /* confdefs.h. */
45555 _ACEOF
45556 cat confdefs.h >>conftest.$ac_ext
45557 cat >>conftest.$ac_ext <<_ACEOF
45558 /* end confdefs.h. */
45559 #include <IOKit/hid/IOHIDLib.h>
45560 int
45561 main ()
45562 {
45563 IOHIDQueueInterface *qi = NULL;
45564 IOHIDCallbackFunction cb = NULL;
45565 qi->setEventCallout(NULL, cb, NULL, NULL);
45566 ;
45567 return 0;
45568 }
45569 _ACEOF
45570 rm -f conftest.$ac_objext
45571 if { (ac_try="$ac_compile"
45572 case "(($ac_try" in
45573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45574 *) ac_try_echo=$ac_try;;
45575 esac
45576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45577 (eval "$ac_compile") 2>conftest.er1
45578 ac_status=$?
45579 grep -v '^ *+' conftest.er1 >conftest.err
45580 rm -f conftest.er1
45581 cat conftest.err >&5
45582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45583 (exit $ac_status); } && {
45584 test -z "$ac_cxx_werror_flag" ||
45585 test ! -s conftest.err
45586 } && test -s conftest.$ac_objext; then
45587 wxUSE_JOYSTICK=yes
45588
45589 else
45590 echo "$as_me: failed program was:" >&5
45591 sed 's/^/| /' conftest.$ac_ext >&5
45592
45593
45594 fi
45595
45596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45597 ac_ext=c
45598 ac_cpp='$CPP $CPPFLAGS'
45599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45602
45603 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45604 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45605 fi
45606
45607 else
45608 if test "$wxUSE_MGL" != 1; then
45609
45610 for ac_header in linux/joystick.h
45611 do
45612 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45613 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45615 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45616 echo $ECHO_N "(cached) $ECHO_C" >&6
45617 else
45618 cat >conftest.$ac_ext <<_ACEOF
45619 /* confdefs.h. */
45620 _ACEOF
45621 cat confdefs.h >>conftest.$ac_ext
45622 cat >>conftest.$ac_ext <<_ACEOF
45623 /* end confdefs.h. */
45624 $ac_includes_default
45625
45626 #include <$ac_header>
45627 _ACEOF
45628 rm -f conftest.$ac_objext
45629 if { (ac_try="$ac_compile"
45630 case "(($ac_try" in
45631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45632 *) ac_try_echo=$ac_try;;
45633 esac
45634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45635 (eval "$ac_compile") 2>conftest.er1
45636 ac_status=$?
45637 grep -v '^ *+' conftest.er1 >conftest.err
45638 rm -f conftest.er1
45639 cat conftest.err >&5
45640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45641 (exit $ac_status); } && {
45642 test -z "$ac_c_werror_flag" ||
45643 test ! -s conftest.err
45644 } && test -s conftest.$ac_objext; then
45645 eval "$as_ac_Header=yes"
45646 else
45647 echo "$as_me: failed program was:" >&5
45648 sed 's/^/| /' conftest.$ac_ext >&5
45649
45650 eval "$as_ac_Header=no"
45651 fi
45652
45653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45654 fi
45655 ac_res=`eval echo '${'$as_ac_Header'}'`
45656 { echo "$as_me:$LINENO: result: $ac_res" >&5
45657 echo "${ECHO_T}$ac_res" >&6; }
45658 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45659 cat >>confdefs.h <<_ACEOF
45660 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45661 _ACEOF
45662 wxUSE_JOYSTICK=yes
45663 fi
45664
45665 done
45666
45667 fi
45668 fi
45669
45670 if test "$wxUSE_JOYSTICK" = "yes"; then
45671 cat >>confdefs.h <<\_ACEOF
45672 #define wxUSE_JOYSTICK 1
45673 _ACEOF
45674
45675 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45676 else
45677 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45678 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45679 fi
45680 fi
45681
45682
45683
45684 if test "$wxUSE_FONTENUM" = "yes" ; then
45685 cat >>confdefs.h <<\_ACEOF
45686 #define wxUSE_FONTENUM 1
45687 _ACEOF
45688
45689 fi
45690
45691 if test "$wxUSE_FONTMAP" = "yes" ; then
45692 cat >>confdefs.h <<\_ACEOF
45693 #define wxUSE_FONTMAP 1
45694 _ACEOF
45695
45696 fi
45697
45698 if test "$wxUSE_UNICODE" = "yes" ; then
45699 cat >>confdefs.h <<\_ACEOF
45700 #define wxUSE_UNICODE 1
45701 _ACEOF
45702
45703
45704 if test "$USE_WIN32" != 1; then
45705 wxUSE_UNICODE_MSLU=no
45706 fi
45707
45708 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45709 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45710 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45711 if test "${ac_cv_lib_unicows_main+set}" = set; then
45712 echo $ECHO_N "(cached) $ECHO_C" >&6
45713 else
45714 ac_check_lib_save_LIBS=$LIBS
45715 LIBS="-lunicows $LIBS"
45716 cat >conftest.$ac_ext <<_ACEOF
45717 /* confdefs.h. */
45718 _ACEOF
45719 cat confdefs.h >>conftest.$ac_ext
45720 cat >>conftest.$ac_ext <<_ACEOF
45721 /* end confdefs.h. */
45722
45723
45724 int
45725 main ()
45726 {
45727 return main ();
45728 ;
45729 return 0;
45730 }
45731 _ACEOF
45732 rm -f conftest.$ac_objext conftest$ac_exeext
45733 if { (ac_try="$ac_link"
45734 case "(($ac_try" in
45735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45736 *) ac_try_echo=$ac_try;;
45737 esac
45738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45739 (eval "$ac_link") 2>conftest.er1
45740 ac_status=$?
45741 grep -v '^ *+' conftest.er1 >conftest.err
45742 rm -f conftest.er1
45743 cat conftest.err >&5
45744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45745 (exit $ac_status); } && {
45746 test -z "$ac_c_werror_flag" ||
45747 test ! -s conftest.err
45748 } && test -s conftest$ac_exeext &&
45749 $as_test_x conftest$ac_exeext; then
45750 ac_cv_lib_unicows_main=yes
45751 else
45752 echo "$as_me: failed program was:" >&5
45753 sed 's/^/| /' conftest.$ac_ext >&5
45754
45755 ac_cv_lib_unicows_main=no
45756 fi
45757
45758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45759 conftest$ac_exeext conftest.$ac_ext
45760 LIBS=$ac_check_lib_save_LIBS
45761 fi
45762 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45763 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45764 if test $ac_cv_lib_unicows_main = yes; then
45765
45766 cat >>confdefs.h <<\_ACEOF
45767 #define wxUSE_UNICODE_MSLU 1
45768 _ACEOF
45769
45770
45771 else
45772
45773 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45774 Applications will only run on Windows NT/2000/XP!" >&5
45775 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45776 Applications will only run on Windows NT/2000/XP!" >&2;}
45777 wxUSE_UNICODE_MSLU=no
45778
45779 fi
45780
45781 fi
45782 fi
45783
45784 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45785 cat >>confdefs.h <<\_ACEOF
45786 #define wxUSE_UNICODE_UTF8 1
45787 _ACEOF
45788
45789
45790 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45791 cat >>confdefs.h <<\_ACEOF
45792 #define wxUSE_UTF8_LOCALE_ONLY 1
45793 _ACEOF
45794
45795 fi
45796 fi
45797
45798
45799 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45800 cat >>confdefs.h <<\_ACEOF
45801 #define wxUSE_CONSTRAINTS 1
45802 _ACEOF
45803
45804 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45805 fi
45806
45807 if test "$wxUSE_MDI" = "yes"; then
45808 cat >>confdefs.h <<\_ACEOF
45809 #define wxUSE_MDI 1
45810 _ACEOF
45811
45812
45813 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45814 cat >>confdefs.h <<\_ACEOF
45815 #define wxUSE_MDI_ARCHITECTURE 1
45816 _ACEOF
45817
45818 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45819 fi
45820 fi
45821
45822 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45823 cat >>confdefs.h <<\_ACEOF
45824 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45825 _ACEOF
45826
45827 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45828 fi
45829
45830 if test "$wxUSE_HELP" = "yes"; then
45831 cat >>confdefs.h <<\_ACEOF
45832 #define wxUSE_HELP 1
45833 _ACEOF
45834
45835 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45836
45837 if test "$wxUSE_MSW" = 1; then
45838 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45839 cat >>confdefs.h <<\_ACEOF
45840 #define wxUSE_MS_HTML_HELP 1
45841 _ACEOF
45842
45843 fi
45844 fi
45845
45846 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45847 if test "$wxUSE_HTML" = "yes"; then
45848 cat >>confdefs.h <<\_ACEOF
45849 #define wxUSE_WXHTML_HELP 1
45850 _ACEOF
45851
45852 else
45853 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45854 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45855 wxUSE_WXHTML_HELP=no
45856 fi
45857 fi
45858 fi
45859
45860 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45861 cat >>confdefs.h <<\_ACEOF
45862 #define wxUSE_PRINTING_ARCHITECTURE 1
45863 _ACEOF
45864
45865 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45866 fi
45867
45868 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45869 cat >>confdefs.h <<\_ACEOF
45870 #define wxUSE_POSTSCRIPT 1
45871 _ACEOF
45872
45873 fi
45874
45875 cat >>confdefs.h <<\_ACEOF
45876 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45877 _ACEOF
45878
45879
45880 if test "$wxUSE_SVG" = "yes"; then
45881 cat >>confdefs.h <<\_ACEOF
45882 #define wxUSE_SVG 1
45883 _ACEOF
45884
45885 fi
45886
45887
45888 if test "$wxUSE_METAFILE" = "yes"; then
45889 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45890 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45891 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45892 wxUSE_METAFILE=no
45893 fi
45894 fi
45895
45896
45897 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45898 -o "$wxUSE_CLIPBOARD" = "yes" \
45899 -o "$wxUSE_OLE" = "yes" \
45900 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45901 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45902 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45903 if test "${ac_cv_header_ole2_h+set}" = set; then
45904 echo $ECHO_N "(cached) $ECHO_C" >&6
45905 else
45906 cat >conftest.$ac_ext <<_ACEOF
45907 /* confdefs.h. */
45908 _ACEOF
45909 cat confdefs.h >>conftest.$ac_ext
45910 cat >>conftest.$ac_ext <<_ACEOF
45911 /* end confdefs.h. */
45912
45913
45914 #include <ole2.h>
45915 _ACEOF
45916 rm -f conftest.$ac_objext
45917 if { (ac_try="$ac_compile"
45918 case "(($ac_try" in
45919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45920 *) ac_try_echo=$ac_try;;
45921 esac
45922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45923 (eval "$ac_compile") 2>conftest.er1
45924 ac_status=$?
45925 grep -v '^ *+' conftest.er1 >conftest.err
45926 rm -f conftest.er1
45927 cat conftest.err >&5
45928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45929 (exit $ac_status); } && {
45930 test -z "$ac_c_werror_flag" ||
45931 test ! -s conftest.err
45932 } && test -s conftest.$ac_objext; then
45933 ac_cv_header_ole2_h=yes
45934 else
45935 echo "$as_me: failed program was:" >&5
45936 sed 's/^/| /' conftest.$ac_ext >&5
45937
45938 ac_cv_header_ole2_h=no
45939 fi
45940
45941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45942 fi
45943 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45944 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45945
45946
45947
45948 if test "$ac_cv_header_ole2_h" = "yes" ; then
45949 if test "$GCC" = yes ; then
45950 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45951 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45952 cat >conftest.$ac_ext <<_ACEOF
45953 /* confdefs.h. */
45954 _ACEOF
45955 cat confdefs.h >>conftest.$ac_ext
45956 cat >>conftest.$ac_ext <<_ACEOF
45957 /* end confdefs.h. */
45958 #include <windows.h>
45959 #include <ole2.h>
45960 int
45961 main ()
45962 {
45963
45964 ;
45965 return 0;
45966 }
45967 _ACEOF
45968 rm -f conftest.$ac_objext
45969 if { (ac_try="$ac_compile"
45970 case "(($ac_try" in
45971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45972 *) ac_try_echo=$ac_try;;
45973 esac
45974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45975 (eval "$ac_compile") 2>conftest.er1
45976 ac_status=$?
45977 grep -v '^ *+' conftest.er1 >conftest.err
45978 rm -f conftest.er1
45979 cat conftest.err >&5
45980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45981 (exit $ac_status); } && {
45982 test -z "$ac_c_werror_flag" ||
45983 test ! -s conftest.err
45984 } && test -s conftest.$ac_objext; then
45985 { echo "$as_me:$LINENO: result: no" >&5
45986 echo "${ECHO_T}no" >&6; }
45987 else
45988 echo "$as_me: failed program was:" >&5
45989 sed 's/^/| /' conftest.$ac_ext >&5
45990
45991 { echo "$as_me:$LINENO: result: yes" >&5
45992 echo "${ECHO_T}yes" >&6; }
45993 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45994 fi
45995
45996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45997 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45998 if test "$wxUSE_OLE" = "yes" ; then
45999 cat >>confdefs.h <<\_ACEOF
46000 #define wxUSE_OLE 1
46001 _ACEOF
46002
46003 cat >>confdefs.h <<\_ACEOF
46004 #define wxUSE_OLE_AUTOMATION 1
46005 _ACEOF
46006
46007 cat >>confdefs.h <<\_ACEOF
46008 #define wxUSE_ACTIVEX 1
46009 _ACEOF
46010
46011 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
46012 fi
46013 fi
46014
46015 if test "$wxUSE_DATAOBJ" = "yes" ; then
46016 cat >>confdefs.h <<\_ACEOF
46017 #define wxUSE_DATAOBJ 1
46018 _ACEOF
46019
46020 fi
46021 else
46022 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46023 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46024
46025 wxUSE_CLIPBOARD=no
46026 wxUSE_DRAG_AND_DROP=no
46027 wxUSE_DATAOBJ=no
46028 wxUSE_OLE=no
46029 fi
46030
46031 if test "$wxUSE_METAFILE" = "yes"; then
46032 cat >>confdefs.h <<\_ACEOF
46033 #define wxUSE_METAFILE 1
46034 _ACEOF
46035
46036
46037 cat >>confdefs.h <<\_ACEOF
46038 #define wxUSE_ENH_METAFILE 1
46039 _ACEOF
46040
46041 fi
46042 fi
46043
46044 if test "$wxUSE_IPC" = "yes"; then
46045 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46046 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46047 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46048 wxUSE_IPC=no
46049 fi
46050
46051 if test "$wxUSE_IPC" = "yes"; then
46052 cat >>confdefs.h <<\_ACEOF
46053 #define wxUSE_IPC 1
46054 _ACEOF
46055
46056 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46057 fi
46058 fi
46059
46060 if test "$wxUSE_DATAOBJ" = "yes"; then
46061 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46062 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
46063 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
46064 wxUSE_DATAOBJ=no
46065 else
46066 cat >>confdefs.h <<\_ACEOF
46067 #define wxUSE_DATAOBJ 1
46068 _ACEOF
46069
46070 fi
46071 else
46072 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46073 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46074 wxUSE_CLIPBOARD=no
46075 wxUSE_DRAG_AND_DROP=no
46076 fi
46077
46078 if test "$wxUSE_CLIPBOARD" = "yes"; then
46079 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46080 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
46081 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
46082 wxUSE_CLIPBOARD=no
46083 fi
46084
46085 if test "$wxUSE_CLIPBOARD" = "yes"; then
46086 cat >>confdefs.h <<\_ACEOF
46087 #define wxUSE_CLIPBOARD 1
46088 _ACEOF
46089
46090 fi
46091 fi
46092
46093 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46094 if test "$wxUSE_GTK" = 1; then
46095 if test "$WXGTK12" != 1; then
46096 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46097 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46098 wxUSE_DRAG_AND_DROP=no
46099 fi
46100 fi
46101
46102 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
46103 "$wxUSE_DFB" = 1; then
46104 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
46105 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
46106 wxUSE_DRAG_AND_DROP=no
46107 fi
46108
46109 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46110 cat >>confdefs.h <<\_ACEOF
46111 #define wxUSE_DRAG_AND_DROP 1
46112 _ACEOF
46113
46114 fi
46115
46116 fi
46117
46118 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46119 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
46120 fi
46121
46122 if test "$wxUSE_CLIPBOARD" = "yes"; then
46123 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
46124 fi
46125
46126 if test "$wxUSE_SPLINES" = "yes" ; then
46127 cat >>confdefs.h <<\_ACEOF
46128 #define wxUSE_SPLINES 1
46129 _ACEOF
46130
46131 fi
46132
46133 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46134 cat >>confdefs.h <<\_ACEOF
46135 #define wxUSE_MOUSEWHEEL 1
46136 _ACEOF
46137
46138 fi
46139
46140
46141 USES_CONTROLS=0
46142 if test "$wxUSE_CONTROLS" = "yes"; then
46143 USES_CONTROLS=1
46144 fi
46145
46146 if test "$wxUSE_ACCEL" = "yes"; then
46147 cat >>confdefs.h <<\_ACEOF
46148 #define wxUSE_ACCEL 1
46149 _ACEOF
46150
46151 USES_CONTROLS=1
46152 fi
46153
46154 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46155 cat >>confdefs.h <<\_ACEOF
46156 #define wxUSE_ANIMATIONCTRL 1
46157 _ACEOF
46158
46159 USES_CONTROLS=1
46160 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
46161 fi
46162
46163 if test "$wxUSE_BUTTON" = "yes"; then
46164 cat >>confdefs.h <<\_ACEOF
46165 #define wxUSE_BUTTON 1
46166 _ACEOF
46167
46168 USES_CONTROLS=1
46169 fi
46170
46171 if test "$wxUSE_BMPBUTTON" = "yes"; then
46172 cat >>confdefs.h <<\_ACEOF
46173 #define wxUSE_BMPBUTTON 1
46174 _ACEOF
46175
46176 USES_CONTROLS=1
46177 fi
46178
46179 if test "$wxUSE_CALCTRL" = "yes"; then
46180 cat >>confdefs.h <<\_ACEOF
46181 #define wxUSE_CALENDARCTRL 1
46182 _ACEOF
46183
46184 USES_CONTROLS=1
46185 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
46186 fi
46187
46188 if test "$wxUSE_CARET" = "yes"; then
46189 cat >>confdefs.h <<\_ACEOF
46190 #define wxUSE_CARET 1
46191 _ACEOF
46192
46193 USES_CONTROLS=1
46194 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
46195 fi
46196
46197 if test "$wxUSE_COLLPANE" = "yes"; then
46198 cat >>confdefs.h <<\_ACEOF
46199 #define wxUSE_COLLPANE 1
46200 _ACEOF
46201
46202 USES_CONTROLS=1
46203 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
46204 fi
46205
46206 if test "$wxUSE_COMBOBOX" = "yes"; then
46207 cat >>confdefs.h <<\_ACEOF
46208 #define wxUSE_COMBOBOX 1
46209 _ACEOF
46210
46211 USES_CONTROLS=1
46212 fi
46213
46214 if test "$wxUSE_COMBOCTRL" = "yes"; then
46215 cat >>confdefs.h <<\_ACEOF
46216 #define wxUSE_COMBOCTRL 1
46217 _ACEOF
46218
46219 USES_CONTROLS=1
46220 fi
46221
46222 if test "$wxUSE_CHOICE" = "yes"; then
46223 cat >>confdefs.h <<\_ACEOF
46224 #define wxUSE_CHOICE 1
46225 _ACEOF
46226
46227 USES_CONTROLS=1
46228 fi
46229
46230 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46231 cat >>confdefs.h <<\_ACEOF
46232 #define wxUSE_CHOICEBOOK 1
46233 _ACEOF
46234
46235 USES_CONTROLS=1
46236 fi
46237
46238 if test "$wxUSE_CHECKBOX" = "yes"; then
46239 cat >>confdefs.h <<\_ACEOF
46240 #define wxUSE_CHECKBOX 1
46241 _ACEOF
46242
46243 USES_CONTROLS=1
46244 fi
46245
46246 if test "$wxUSE_CHECKLST" = "yes"; then
46247 cat >>confdefs.h <<\_ACEOF
46248 #define wxUSE_CHECKLISTBOX 1
46249 _ACEOF
46250
46251 USES_CONTROLS=1
46252 fi
46253
46254 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46255 cat >>confdefs.h <<\_ACEOF
46256 #define wxUSE_COLOURPICKERCTRL 1
46257 _ACEOF
46258
46259 USES_CONTROLS=1
46260 fi
46261
46262 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46263 cat >>confdefs.h <<\_ACEOF
46264 #define wxUSE_DATEPICKCTRL 1
46265 _ACEOF
46266
46267 USES_CONTROLS=1
46268 fi
46269
46270 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46271 cat >>confdefs.h <<\_ACEOF
46272 #define wxUSE_DIRPICKERCTRL 1
46273 _ACEOF
46274
46275 USES_CONTROLS=1
46276 fi
46277
46278 if test "$wxUSE_FILECTRL" = "yes"; then
46279 cat >>confdefs.h <<\_ACEOF
46280 #define wxUSE_FILECTRL 1
46281 _ACEOF
46282
46283 USES_CONTROLS=1
46284 fi
46285
46286 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46287 cat >>confdefs.h <<\_ACEOF
46288 #define wxUSE_FILEPICKERCTRL 1
46289 _ACEOF
46290
46291 USES_CONTROLS=1
46292 fi
46293
46294 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46295 cat >>confdefs.h <<\_ACEOF
46296 #define wxUSE_FONTPICKERCTRL 1
46297 _ACEOF
46298
46299 USES_CONTROLS=1
46300 fi
46301
46302 if test "$wxUSE_DISPLAY" = "yes"; then
46303 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
46304 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
46305 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
46306 wxUSE_DISPLAY=no
46307 else
46308 cat >>confdefs.h <<\_ACEOF
46309 #define wxUSE_DISPLAY 1
46310 _ACEOF
46311
46312 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
46313 fi
46314 fi
46315
46316 if test "$wxUSE_DETECT_SM" = "yes"; then
46317 cat >>confdefs.h <<\_ACEOF
46318 #define wxUSE_DETECT_SM 1
46319 _ACEOF
46320
46321 fi
46322
46323 if test "$wxUSE_GAUGE" = "yes"; then
46324 cat >>confdefs.h <<\_ACEOF
46325 #define wxUSE_GAUGE 1
46326 _ACEOF
46327
46328 USES_CONTROLS=1
46329 fi
46330
46331 if test "$wxUSE_GRID" = "yes"; then
46332 cat >>confdefs.h <<\_ACEOF
46333 #define wxUSE_GRID 1
46334 _ACEOF
46335
46336 USES_CONTROLS=1
46337 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
46338 fi
46339
46340 if test "$wxUSE_HEADERCTRL" = "yes"; then
46341 cat >>confdefs.h <<\_ACEOF
46342 #define wxUSE_HEADERCTRL 1
46343 _ACEOF
46344
46345 USES_CONTROLS=1
46346 fi
46347
46348 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46349 cat >>confdefs.h <<\_ACEOF
46350 #define wxUSE_HYPERLINKCTRL 1
46351 _ACEOF
46352
46353 USES_CONTROLS=1
46354 fi
46355
46356 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46357 cat >>confdefs.h <<\_ACEOF
46358 #define wxUSE_BITMAPCOMBOBOX 1
46359 _ACEOF
46360
46361 USES_CONTROLS=1
46362 fi
46363
46364 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46365 cat >>confdefs.h <<\_ACEOF
46366 #define wxUSE_DATAVIEWCTRL 1
46367 _ACEOF
46368
46369 USES_CONTROLS=1
46370 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
46371 fi
46372
46373 if test "$wxUSE_IMAGLIST" = "yes"; then
46374 cat >>confdefs.h <<\_ACEOF
46375 #define wxUSE_IMAGLIST 1
46376 _ACEOF
46377
46378 fi
46379
46380 if test "$wxUSE_INFOBAR" = "yes"; then
46381 cat >>confdefs.h <<\_ACEOF
46382 #define wxUSE_INFOBAR 1
46383 _ACEOF
46384
46385 fi
46386
46387 if test "$wxUSE_LISTBOOK" = "yes"; then
46388 cat >>confdefs.h <<\_ACEOF
46389 #define wxUSE_LISTBOOK 1
46390 _ACEOF
46391
46392 USES_CONTROLS=1
46393 fi
46394
46395 if test "$wxUSE_LISTBOX" = "yes"; then
46396 cat >>confdefs.h <<\_ACEOF
46397 #define wxUSE_LISTBOX 1
46398 _ACEOF
46399
46400 USES_CONTROLS=1
46401 fi
46402
46403 if test "$wxUSE_LISTCTRL" = "yes"; then
46404 if test "$wxUSE_IMAGLIST" = "yes"; then
46405 cat >>confdefs.h <<\_ACEOF
46406 #define wxUSE_LISTCTRL 1
46407 _ACEOF
46408
46409 USES_CONTROLS=1
46410 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
46411 else
46412 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46413 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46414 fi
46415 fi
46416
46417 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
46418 cat >>confdefs.h <<\_ACEOF
46419 #define wxUSE_EDITABLELISTBOX 1
46420 _ACEOF
46421
46422 USES_CONTROLS=1
46423 fi
46424
46425 if test "$wxUSE_NOTEBOOK" = "yes"; then
46426 cat >>confdefs.h <<\_ACEOF
46427 #define wxUSE_NOTEBOOK 1
46428 _ACEOF
46429
46430 USES_CONTROLS=1
46431 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
46432 fi
46433
46434 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
46435 cat >>confdefs.h <<\_ACEOF
46436 #define wxUSE_NOTIFICATION_MESSAGE 1
46437 _ACEOF
46438
46439 fi
46440
46441 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46442 cat >>confdefs.h <<\_ACEOF
46443 #define wxUSE_ODCOMBOBOX 1
46444 _ACEOF
46445
46446 USES_CONTROLS=1
46447 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
46448 fi
46449
46450 if test "$wxUSE_RADIOBOX" = "yes"; then
46451 cat >>confdefs.h <<\_ACEOF
46452 #define wxUSE_RADIOBOX 1
46453 _ACEOF
46454
46455 USES_CONTROLS=1
46456 fi
46457
46458 if test "$wxUSE_RADIOBTN" = "yes"; then
46459 cat >>confdefs.h <<\_ACEOF
46460 #define wxUSE_RADIOBTN 1
46461 _ACEOF
46462
46463 USES_CONTROLS=1
46464 fi
46465
46466 if test "$wxUSE_REARRANGECTRL" = "yes"; then
46467 cat >>confdefs.h <<\_ACEOF
46468 #define wxUSE_REARRANGECTRL 1
46469 _ACEOF
46470
46471 fi
46472
46473 if test "$wxUSE_SASH" = "yes"; then
46474 cat >>confdefs.h <<\_ACEOF
46475 #define wxUSE_SASH 1
46476 _ACEOF
46477
46478 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
46479 fi
46480
46481 if test "$wxUSE_SCROLLBAR" = "yes"; then
46482 cat >>confdefs.h <<\_ACEOF
46483 #define wxUSE_SCROLLBAR 1
46484 _ACEOF
46485
46486 USES_CONTROLS=1
46487 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
46488 fi
46489
46490 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46491 cat >>confdefs.h <<\_ACEOF
46492 #define wxUSE_SEARCHCTRL 1
46493 _ACEOF
46494
46495 USES_CONTROLS=1
46496 fi
46497
46498 if test "$wxUSE_SLIDER" = "yes"; then
46499 cat >>confdefs.h <<\_ACEOF
46500 #define wxUSE_SLIDER 1
46501 _ACEOF
46502
46503 USES_CONTROLS=1
46504 fi
46505
46506 if test "$wxUSE_SPINBTN" = "yes"; then
46507 cat >>confdefs.h <<\_ACEOF
46508 #define wxUSE_SPINBTN 1
46509 _ACEOF
46510
46511 USES_CONTROLS=1
46512 fi
46513
46514 if test "$wxUSE_SPINCTRL" = "yes"; then
46515 cat >>confdefs.h <<\_ACEOF
46516 #define wxUSE_SPINCTRL 1
46517 _ACEOF
46518
46519 USES_CONTROLS=1
46520 fi
46521
46522 if test "$wxUSE_SPLITTER" = "yes"; then
46523 cat >>confdefs.h <<\_ACEOF
46524 #define wxUSE_SPLITTER 1
46525 _ACEOF
46526
46527 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
46528 fi
46529
46530 if test "$wxUSE_STATBMP" = "yes"; then
46531 cat >>confdefs.h <<\_ACEOF
46532 #define wxUSE_STATBMP 1
46533 _ACEOF
46534
46535 USES_CONTROLS=1
46536 fi
46537
46538 if test "$wxUSE_STATBOX" = "yes"; then
46539 cat >>confdefs.h <<\_ACEOF
46540 #define wxUSE_STATBOX 1
46541 _ACEOF
46542
46543 USES_CONTROLS=1
46544 fi
46545
46546 if test "$wxUSE_STATTEXT" = "yes"; then
46547 cat >>confdefs.h <<\_ACEOF
46548 #define wxUSE_STATTEXT 1
46549 _ACEOF
46550
46551 USES_CONTROLS=1
46552 fi
46553
46554 if test "$wxUSE_STATLINE" = "yes"; then
46555 cat >>confdefs.h <<\_ACEOF
46556 #define wxUSE_STATLINE 1
46557 _ACEOF
46558
46559 USES_CONTROLS=1
46560 fi
46561
46562 if test "$wxUSE_STATUSBAR" = "yes"; then
46563 cat >>confdefs.h <<\_ACEOF
46564 #define wxUSE_NATIVE_STATUSBAR 1
46565 _ACEOF
46566
46567 cat >>confdefs.h <<\_ACEOF
46568 #define wxUSE_STATUSBAR 1
46569 _ACEOF
46570
46571 USES_CONTROLS=1
46572
46573 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46574 fi
46575
46576 if test "$wxUSE_TEXTCTRL" = "yes"; then
46577 cat >>confdefs.h <<\_ACEOF
46578 #define wxUSE_TEXTCTRL 1
46579 _ACEOF
46580
46581 USES_CONTROLS=1
46582 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46583
46584 cat >>confdefs.h <<\_ACEOF
46585 #define wxUSE_RICHEDIT 1
46586 _ACEOF
46587
46588 cat >>confdefs.h <<\_ACEOF
46589 #define wxUSE_RICHEDIT2 1
46590 _ACEOF
46591
46592 fi
46593
46594 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46595 if test "$wxUSE_OLD_COCOA" = 1 ; then
46596 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46597 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46598 wxUSE_TOGGLEBTN=no
46599 fi
46600
46601 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46602 cat >>confdefs.h <<\_ACEOF
46603 #define wxUSE_TOGGLEBTN 1
46604 _ACEOF
46605
46606 USES_CONTROLS=1
46607 fi
46608 fi
46609
46610 if test "$wxUSE_TOOLBAR" = "yes"; then
46611 cat >>confdefs.h <<\_ACEOF
46612 #define wxUSE_TOOLBAR 1
46613 _ACEOF
46614
46615 USES_CONTROLS=1
46616
46617 if test "$wxUSE_UNIVERSAL" = "yes"; then
46618 wxUSE_TOOLBAR_NATIVE="no"
46619 else
46620 wxUSE_TOOLBAR_NATIVE="yes"
46621 cat >>confdefs.h <<\_ACEOF
46622 #define wxUSE_TOOLBAR_NATIVE 1
46623 _ACEOF
46624
46625 fi
46626
46627 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46628 fi
46629
46630 if test "$wxUSE_TOOLTIPS" = "yes"; then
46631 if test "$wxUSE_MOTIF" = 1; then
46632 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46633 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46634 else
46635 if test "$wxUSE_UNIVERSAL" = "yes"; then
46636 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46637 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46638 else
46639 cat >>confdefs.h <<\_ACEOF
46640 #define wxUSE_TOOLTIPS 1
46641 _ACEOF
46642
46643 fi
46644 fi
46645 fi
46646
46647 if test "$wxUSE_TREEBOOK" = "yes"; then
46648 cat >>confdefs.h <<\_ACEOF
46649 #define wxUSE_TREEBOOK 1
46650 _ACEOF
46651
46652 USES_CONTROLS=1
46653 fi
46654
46655 if test "$wxUSE_TOOLBOOK" = "yes"; then
46656 cat >>confdefs.h <<\_ACEOF
46657 #define wxUSE_TOOLBOOK 1
46658 _ACEOF
46659
46660 USES_CONTROLS=1
46661 fi
46662
46663 if test "$wxUSE_TREECTRL" = "yes"; then
46664 if test "$wxUSE_IMAGLIST" = "yes"; then
46665 cat >>confdefs.h <<\_ACEOF
46666 #define wxUSE_TREECTRL 1
46667 _ACEOF
46668
46669 USES_CONTROLS=1
46670 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46671 else
46672 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46673 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46674 fi
46675 fi
46676
46677 if test "$wxUSE_POPUPWIN" = "yes"; then
46678 if test "$wxUSE_OLD_COCOA" = 1 ; then
46679 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46680 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46681 else
46682 if test "$wxUSE_PM" = 1; then
46683 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46684 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46685 else
46686 cat >>confdefs.h <<\_ACEOF
46687 #define wxUSE_POPUPWIN 1
46688 _ACEOF
46689
46690 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46691
46692 USES_CONTROLS=1
46693 fi
46694 fi
46695 fi
46696
46697 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46698 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46699 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46700 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46701 else
46702 cat >>confdefs.h <<\_ACEOF
46703 #define wxUSE_DIALUP_MANAGER 1
46704 _ACEOF
46705
46706 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46707 fi
46708 fi
46709
46710 if test "$wxUSE_TIPWINDOW" = "yes"; then
46711 if test "$wxUSE_PM" = 1; then
46712 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46713 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46714 else
46715 cat >>confdefs.h <<\_ACEOF
46716 #define wxUSE_TIPWINDOW 1
46717 _ACEOF
46718
46719 fi
46720 fi
46721
46722 if test "$USES_CONTROLS" = 1; then
46723 cat >>confdefs.h <<\_ACEOF
46724 #define wxUSE_CONTROLS 1
46725 _ACEOF
46726
46727 fi
46728
46729
46730 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46731 cat >>confdefs.h <<\_ACEOF
46732 #define wxUSE_ACCESSIBILITY 1
46733 _ACEOF
46734
46735 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46736 fi
46737
46738 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46739 cat >>confdefs.h <<\_ACEOF
46740 #define wxUSE_DRAGIMAGE 1
46741 _ACEOF
46742
46743 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46744 fi
46745
46746 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46747 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46748 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46749 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46750 else
46751 cat >>confdefs.h <<\_ACEOF
46752 #define wxUSE_EXCEPTIONS 1
46753 _ACEOF
46754
46755 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46756 fi
46757 fi
46758
46759 USE_HTML=0
46760 if test "$wxUSE_HTML" = "yes"; then
46761 cat >>confdefs.h <<\_ACEOF
46762 #define wxUSE_HTML 1
46763 _ACEOF
46764
46765 USE_HTML=1
46766 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46767 fi
46768 if test "$wxUSE_WEBKIT" = "yes"; then
46769 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46770 old_CPPFLAGS="$CPPFLAGS"
46771 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46772 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46773 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46774 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46775 echo $ECHO_N "(cached) $ECHO_C" >&6
46776 else
46777 cat >conftest.$ac_ext <<_ACEOF
46778 /* confdefs.h. */
46779 _ACEOF
46780 cat confdefs.h >>conftest.$ac_ext
46781 cat >>conftest.$ac_ext <<_ACEOF
46782 /* end confdefs.h. */
46783
46784 #include <Carbon/Carbon.h>
46785 #include <WebKit/WebKit.h>
46786
46787
46788 #include <WebKit/HIWebView.h>
46789 _ACEOF
46790 rm -f conftest.$ac_objext
46791 if { (ac_try="$ac_compile"
46792 case "(($ac_try" in
46793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46794 *) ac_try_echo=$ac_try;;
46795 esac
46796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46797 (eval "$ac_compile") 2>conftest.er1
46798 ac_status=$?
46799 grep -v '^ *+' conftest.er1 >conftest.err
46800 rm -f conftest.er1
46801 cat conftest.err >&5
46802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46803 (exit $ac_status); } && {
46804 test -z "$ac_c_werror_flag" ||
46805 test ! -s conftest.err
46806 } && test -s conftest.$ac_objext; then
46807 ac_cv_header_WebKit_HIWebView_h=yes
46808 else
46809 echo "$as_me: failed program was:" >&5
46810 sed 's/^/| /' conftest.$ac_ext >&5
46811
46812 ac_cv_header_WebKit_HIWebView_h=no
46813 fi
46814
46815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46816 fi
46817 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46818 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46819 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46820
46821 cat >>confdefs.h <<\_ACEOF
46822 #define wxUSE_WEBKIT 1
46823 _ACEOF
46824
46825 WEBKIT_LINK="-framework WebKit"
46826
46827 else
46828
46829 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46830 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46831 wxUSE_WEBKIT=no
46832
46833 fi
46834
46835
46836 CPPFLAGS="$old_CPPFLAGS"
46837 elif test "$wxUSE_OLD_COCOA" = 1; then
46838 cat >>confdefs.h <<\_ACEOF
46839 #define wxUSE_WEBKIT 1
46840 _ACEOF
46841
46842 else
46843 wxUSE_WEBKIT=no
46844 fi
46845 if test "$wxUSE_WEBKIT" = "yes"; then
46846 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46847 fi
46848 fi
46849
46850 USE_XRC=0
46851 if test "$wxUSE_XRC" = "yes"; then
46852 if test "$wxUSE_XML" != "yes"; then
46853 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46854 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46855 wxUSE_XRC=no
46856 else
46857 cat >>confdefs.h <<\_ACEOF
46858 #define wxUSE_XRC 1
46859 _ACEOF
46860
46861 USE_XRC=1
46862 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46863 fi
46864 fi
46865
46866 USE_AUI=0
46867 if test "$wxUSE_AUI" = "yes"; then
46868 cat >>confdefs.h <<\_ACEOF
46869 #define wxUSE_AUI 1
46870 _ACEOF
46871
46872 USE_AUI=1
46873 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46874 fi
46875
46876 USE_PROPGRID=0
46877 if test "$wxUSE_PROPGRID" = "yes"; then
46878 cat >>confdefs.h <<\_ACEOF
46879 #define wxUSE_PROPGRID 1
46880 _ACEOF
46881
46882 USE_PROPGRID=1
46883 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46884 fi
46885
46886 USE_RIBBON=0
46887 if test "$wxUSE_RIBBON" = "yes"; then
46888 cat >>confdefs.h <<\_ACEOF
46889 #define wxUSE_RIBBON 1
46890 _ACEOF
46891
46892 USE_RIBBON=1
46893 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
46894 fi
46895
46896 USE_STC=0
46897 if test "$wxUSE_STC" = "yes"; then
46898 cat >>confdefs.h <<\_ACEOF
46899 #define wxUSE_STC 1
46900 _ACEOF
46901
46902 USE_STC=1
46903 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46904
46905 # Extract the first word of "python", so it can be a program name with args.
46906 set dummy python; ac_word=$2
46907 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46909 if test "${ac_cv_path_PYTHON+set}" = set; then
46910 echo $ECHO_N "(cached) $ECHO_C" >&6
46911 else
46912 case $PYTHON in
46913 [\\/]* | ?:[\\/]*)
46914 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
46915 ;;
46916 *)
46917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46918 for as_dir in $PATH
46919 do
46920 IFS=$as_save_IFS
46921 test -z "$as_dir" && as_dir=.
46922 for ac_exec_ext in '' $ac_executable_extensions; do
46923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46924 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
46925 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46926 break 2
46927 fi
46928 done
46929 done
46930 IFS=$as_save_IFS
46931
46932 ;;
46933 esac
46934 fi
46935 PYTHON=$ac_cv_path_PYTHON
46936 if test -n "$PYTHON"; then
46937 { echo "$as_me:$LINENO: result: $PYTHON" >&5
46938 echo "${ECHO_T}$PYTHON" >&6; }
46939 else
46940 { echo "$as_me:$LINENO: result: no" >&5
46941 echo "${ECHO_T}no" >&6; }
46942 fi
46943
46944
46945 if test "x$PYTHON" = "x"; then
46946 COND_PYTHON="#"
46947 fi
46948
46949 fi
46950
46951 if test "$wxUSE_MENUS" = "yes"; then
46952 cat >>confdefs.h <<\_ACEOF
46953 #define wxUSE_MENUS 1
46954 _ACEOF
46955
46956 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46957 fi
46958
46959 if test "$wxUSE_METAFILE" = "yes"; then
46960 cat >>confdefs.h <<\_ACEOF
46961 #define wxUSE_METAFILE 1
46962 _ACEOF
46963
46964 fi
46965
46966 if test "$wxUSE_MIMETYPE" = "yes"; then
46967 cat >>confdefs.h <<\_ACEOF
46968 #define wxUSE_MIMETYPE 1
46969 _ACEOF
46970
46971 fi
46972
46973 if test "$wxUSE_MINIFRAME" = "yes"; then
46974 cat >>confdefs.h <<\_ACEOF
46975 #define wxUSE_MINIFRAME 1
46976 _ACEOF
46977
46978 fi
46979
46980 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46981 cat >>confdefs.h <<\_ACEOF
46982 #define wxUSE_SYSTEM_OPTIONS 1
46983 _ACEOF
46984
46985 fi
46986
46987 if test "$wxUSE_TASKBARICON" = "yes"; then
46988 cat >>confdefs.h <<\_ACEOF
46989 #define wxUSE_TASKBARICON 1
46990 _ACEOF
46991
46992 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46993 fi
46994
46995
46996 if test "$wxUSE_VALIDATORS" = "yes"; then
46997 cat >>confdefs.h <<\_ACEOF
46998 #define wxUSE_VALIDATORS 1
46999 _ACEOF
47000
47001 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
47002 fi
47003
47004 if test "$wxUSE_PALETTE" = "yes" ; then
47005 if test "$wxUSE_DFB" = 1; then
47006 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
47007 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
47008 wxUSE_PALETTE=no
47009 else
47010 cat >>confdefs.h <<\_ACEOF
47011 #define wxUSE_PALETTE 1
47012 _ACEOF
47013
47014 fi
47015 fi
47016
47017 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
47018 LIBS=" -lunicows $LIBS"
47019 fi
47020
47021 USE_RICHTEXT=0
47022 if test "$wxUSE_RICHTEXT" = "yes"; then
47023 cat >>confdefs.h <<\_ACEOF
47024 #define wxUSE_RICHTEXT 1
47025 _ACEOF
47026
47027 USE_RICHTEXT=1
47028 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
47029 fi
47030
47031
47032 if test "$wxUSE_IMAGE" = "yes" ; then
47033 cat >>confdefs.h <<\_ACEOF
47034 #define wxUSE_IMAGE 1
47035 _ACEOF
47036
47037
47038 if test "$wxUSE_GIF" = "yes" ; then
47039 cat >>confdefs.h <<\_ACEOF
47040 #define wxUSE_GIF 1
47041 _ACEOF
47042
47043 fi
47044
47045 if test "$wxUSE_PCX" = "yes" ; then
47046 cat >>confdefs.h <<\_ACEOF
47047 #define wxUSE_PCX 1
47048 _ACEOF
47049
47050 fi
47051
47052 if test "$wxUSE_TGA" = "yes" ; then
47053 cat >>confdefs.h <<\_ACEOF
47054 #define wxUSE_TGA 1
47055 _ACEOF
47056
47057 fi
47058
47059 if test "$wxUSE_IFF" = "yes" ; then
47060 cat >>confdefs.h <<\_ACEOF
47061 #define wxUSE_IFF 1
47062 _ACEOF
47063
47064 fi
47065
47066 if test "$wxUSE_PNM" = "yes" ; then
47067 cat >>confdefs.h <<\_ACEOF
47068 #define wxUSE_PNM 1
47069 _ACEOF
47070
47071 fi
47072
47073 if test "$wxUSE_XPM" = "yes" ; then
47074 cat >>confdefs.h <<\_ACEOF
47075 #define wxUSE_XPM 1
47076 _ACEOF
47077
47078 fi
47079
47080 if test "$wxUSE_ICO_CUR" = "yes" ; then
47081 cat >>confdefs.h <<\_ACEOF
47082 #define wxUSE_ICO_CUR 1
47083 _ACEOF
47084
47085 fi
47086 fi
47087
47088
47089 if test "$wxUSE_ABOUTDLG" = "yes"; then
47090 cat >>confdefs.h <<\_ACEOF
47091 #define wxUSE_ABOUTDLG 1
47092 _ACEOF
47093
47094 fi
47095
47096 if test "$wxUSE_CHOICEDLG" = "yes"; then
47097 cat >>confdefs.h <<\_ACEOF
47098 #define wxUSE_CHOICEDLG 1
47099 _ACEOF
47100
47101 fi
47102
47103 if test "$wxUSE_COLOURDLG" = "yes"; then
47104 cat >>confdefs.h <<\_ACEOF
47105 #define wxUSE_COLOURDLG 1
47106 _ACEOF
47107
47108 fi
47109
47110 if test "$wxUSE_FILEDLG" = "yes"; then
47111 cat >>confdefs.h <<\_ACEOF
47112 #define wxUSE_FILEDLG 1
47113 _ACEOF
47114
47115 fi
47116
47117 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47118 cat >>confdefs.h <<\_ACEOF
47119 #define wxUSE_FINDREPLDLG 1
47120 _ACEOF
47121
47122 fi
47123
47124 if test "$wxUSE_FONTDLG" = "yes"; then
47125 cat >>confdefs.h <<\_ACEOF
47126 #define wxUSE_FONTDLG 1
47127 _ACEOF
47128
47129 fi
47130
47131 if test "$wxUSE_DIRDLG" = "yes"; then
47132 if test "$wxUSE_TREECTRL" != "yes"; then
47133 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47134 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47135 else
47136 cat >>confdefs.h <<\_ACEOF
47137 #define wxUSE_DIRDLG 1
47138 _ACEOF
47139
47140 fi
47141 fi
47142
47143 if test "$wxUSE_MSGDLG" = "yes"; then
47144 cat >>confdefs.h <<\_ACEOF
47145 #define wxUSE_MSGDLG 1
47146 _ACEOF
47147
47148 fi
47149
47150 if test "$wxUSE_NUMBERDLG" = "yes"; then
47151 cat >>confdefs.h <<\_ACEOF
47152 #define wxUSE_NUMBERDLG 1
47153 _ACEOF
47154
47155 fi
47156
47157 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47158 cat >>confdefs.h <<\_ACEOF
47159 #define wxUSE_PROGRESSDLG 1
47160 _ACEOF
47161
47162 fi
47163
47164 if test "$wxUSE_SPLASH" = "yes"; then
47165 cat >>confdefs.h <<\_ACEOF
47166 #define wxUSE_SPLASH 1
47167 _ACEOF
47168
47169 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47170 fi
47171
47172 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47173 cat >>confdefs.h <<\_ACEOF
47174 #define wxUSE_STARTUP_TIPS 1
47175 _ACEOF
47176
47177 fi
47178
47179 if test "$wxUSE_TEXTDLG" = "yes"; then
47180 cat >>confdefs.h <<\_ACEOF
47181 #define wxUSE_TEXTDLG 1
47182 _ACEOF
47183
47184 fi
47185
47186 if test "$wxUSE_WIZARDDLG" = "yes"; then
47187 cat >>confdefs.h <<\_ACEOF
47188 #define wxUSE_WIZARDDLG 1
47189 _ACEOF
47190
47191 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
47192 fi
47193
47194
47195 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
47196 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
47197 cat >>confdefs.h <<\_ACEOF
47198 #define wxUSE_OWNER_DRAWN 1
47199 _ACEOF
47200
47201 fi
47202 fi
47203
47204
47205 if test "$wxUSE_MSW" = 1 ; then
47206
47207 if test "$wxUSE_DC_CACHEING" = "yes"; then
47208 cat >>confdefs.h <<\_ACEOF
47209 #define wxUSE_DC_CACHEING 1
47210 _ACEOF
47211
47212 fi
47213
47214 if test "$wxUSE_DIB" = "yes"; then
47215 cat >>confdefs.h <<\_ACEOF
47216 #define wxUSE_WXDIB 1
47217 _ACEOF
47218
47219 fi
47220
47221 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
47222 cat >>confdefs.h <<\_ACEOF
47223 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
47224 _ACEOF
47225
47226 fi
47227
47228 if test "$wxUSE_UXTHEME" = "yes"; then
47229 cat >>confdefs.h <<\_ACEOF
47230 #define wxUSE_UXTHEME 1
47231 _ACEOF
47232
47233 fi
47234
47235 fi
47236
47237 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
47238 cat >>confdefs.h <<\_ACEOF
47239 #define wxUSE_AUTOID_MANAGEMENT 1
47240 _ACEOF
47241
47242 fi
47243
47244 if test "$USE_WIN32" = 1 ; then
47245 if test "$wxUSE_INICONF" = "yes"; then
47246 cat >>confdefs.h <<\_ACEOF
47247 #define wxUSE_INICONF 1
47248 _ACEOF
47249
47250 fi
47251
47252 if test "$wxUSE_REGKEY" = "yes"; then
47253 cat >>confdefs.h <<\_ACEOF
47254 #define wxUSE_REGKEY 1
47255 _ACEOF
47256
47257 fi
47258 fi
47259
47260
47261 if test "$wxUSE_MAC" = 1; then
47262 wxUSE_GRAPHICS_CONTEXT="yes"
47263 fi
47264
47265 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
47266 wx_has_graphics=0
47267 if test "$wxUSE_MSW" = 1; then
47268 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
47269 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
47270 if test "${wx_cv_lib_gdiplus+set}" = set; then
47271 echo $ECHO_N "(cached) $ECHO_C" >&6
47272 else
47273
47274 ac_ext=cpp
47275 ac_cpp='$CXXCPP $CPPFLAGS'
47276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47279
47280 cat >conftest.$ac_ext <<_ACEOF
47281 /* confdefs.h. */
47282 _ACEOF
47283 cat confdefs.h >>conftest.$ac_ext
47284 cat >>conftest.$ac_ext <<_ACEOF
47285 /* end confdefs.h. */
47286 #include <gdiplus.h>
47287 int
47288 main ()
47289 {
47290
47291 using namespace Gdiplus;
47292
47293 ;
47294 return 0;
47295 }
47296 _ACEOF
47297 rm -f conftest.$ac_objext
47298 if { (ac_try="$ac_compile"
47299 case "(($ac_try" in
47300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47301 *) ac_try_echo=$ac_try;;
47302 esac
47303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47304 (eval "$ac_compile") 2>conftest.er1
47305 ac_status=$?
47306 grep -v '^ *+' conftest.er1 >conftest.err
47307 rm -f conftest.er1
47308 cat conftest.err >&5
47309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47310 (exit $ac_status); } && {
47311 test -z "$ac_cxx_werror_flag" ||
47312 test ! -s conftest.err
47313 } && test -s conftest.$ac_objext; then
47314 wx_cv_lib_gdiplus=yes
47315 else
47316 echo "$as_me: failed program was:" >&5
47317 sed 's/^/| /' conftest.$ac_ext >&5
47318
47319 wx_cv_lib_gdiplus=no
47320
47321 fi
47322
47323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47324 ac_ext=c
47325 ac_cpp='$CPP $CPPFLAGS'
47326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47329
47330
47331
47332 fi
47333 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
47334 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
47335 if test "$wx_cv_lib_gdiplus" = "yes"; then
47336 wx_has_graphics=1
47337 fi
47338 elif test "$wxUSE_GTK" = 1; then
47339
47340 pkg_failed=no
47341 { echo "$as_me:$LINENO: checking for CAIRO" >&5
47342 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
47343
47344 if test -n "$PKG_CONFIG"; then
47345 if test -n "$CAIRO_CFLAGS"; then
47346 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
47347 else
47348 if test -n "$PKG_CONFIG" && \
47349 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47350 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47351 ac_status=$?
47352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47353 (exit $ac_status); }; then
47354 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
47355 else
47356 pkg_failed=yes
47357 fi
47358 fi
47359 else
47360 pkg_failed=untried
47361 fi
47362 if test -n "$PKG_CONFIG"; then
47363 if test -n "$CAIRO_LIBS"; then
47364 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
47365 else
47366 if test -n "$PKG_CONFIG" && \
47367 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47368 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47369 ac_status=$?
47370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47371 (exit $ac_status); }; then
47372 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
47373 else
47374 pkg_failed=yes
47375 fi
47376 fi
47377 else
47378 pkg_failed=untried
47379 fi
47380
47381
47382
47383 if test $pkg_failed = yes; then
47384
47385 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47386 _pkg_short_errors_supported=yes
47387 else
47388 _pkg_short_errors_supported=no
47389 fi
47390 if test $_pkg_short_errors_supported = yes; then
47391 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
47392 else
47393 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
47394 fi
47395 # Put the nasty error message in config.log where it belongs
47396 echo "$CAIRO_PKG_ERRORS" >&5
47397
47398 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
47399 echo "$as_me: WARNING: Cairo library not found" >&2;}
47400
47401 elif test $pkg_failed = untried; then
47402 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
47403 echo "$as_me: WARNING: Cairo library not found" >&2;}
47404
47405 else
47406 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
47407 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
47408 { echo "$as_me:$LINENO: result: yes" >&5
47409 echo "${ECHO_T}yes" >&6; }
47410 wx_has_graphics=1
47411 fi
47412 else
47413 wx_has_graphics=1
47414 fi
47415
47416 if test "$wx_has_graphics" = 1; then
47417 cat >>confdefs.h <<\_ACEOF
47418 #define wxUSE_GRAPHICS_CONTEXT 1
47419 _ACEOF
47420
47421 else
47422 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
47423 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
47424 fi
47425 fi
47426
47427
47428 USE_MEDIA=0
47429
47430 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
47431 USE_MEDIA=1
47432
47433 if test "$wxUSE_GTK" = 1; then
47434 wxUSE_GSTREAMER="no"
47435
47436 GST_VERSION_MAJOR=0
47437 GST_VERSION_MINOR=10
47438 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47439
47440 if test "$wxUSE_GSTREAMER8" = "no"; then
47441
47442 pkg_failed=no
47443 { echo "$as_me:$LINENO: checking for GST" >&5
47444 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47445
47446 if test -n "$PKG_CONFIG"; then
47447 if test -n "$GST_CFLAGS"; then
47448 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47449 else
47450 if test -n "$PKG_CONFIG" && \
47451 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47452 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47453 ac_status=$?
47454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47455 (exit $ac_status); }; then
47456 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47457 else
47458 pkg_failed=yes
47459 fi
47460 fi
47461 else
47462 pkg_failed=untried
47463 fi
47464 if test -n "$PKG_CONFIG"; then
47465 if test -n "$GST_LIBS"; then
47466 pkg_cv_GST_LIBS="$GST_LIBS"
47467 else
47468 if test -n "$PKG_CONFIG" && \
47469 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47470 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47471 ac_status=$?
47472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47473 (exit $ac_status); }; then
47474 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47475 else
47476 pkg_failed=yes
47477 fi
47478 fi
47479 else
47480 pkg_failed=untried
47481 fi
47482
47483
47484
47485 if test $pkg_failed = yes; then
47486
47487 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47488 _pkg_short_errors_supported=yes
47489 else
47490 _pkg_short_errors_supported=no
47491 fi
47492 if test $_pkg_short_errors_supported = yes; then
47493 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47494 else
47495 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47496 fi
47497 # Put the nasty error message in config.log where it belongs
47498 echo "$GST_PKG_ERRORS" >&5
47499
47500
47501 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47502 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47503 GST_VERSION_MINOR=8
47504
47505
47506 elif test $pkg_failed = untried; then
47507
47508 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47509 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47510 GST_VERSION_MINOR=8
47511
47512
47513 else
47514 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47515 GST_LIBS=$pkg_cv_GST_LIBS
47516 { echo "$as_me:$LINENO: result: yes" >&5
47517 echo "${ECHO_T}yes" >&6; }
47518
47519 wxUSE_GSTREAMER="yes"
47520 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47521
47522 fi
47523 else
47524 GST_VERSION_MINOR=8
47525 fi
47526
47527 if test $GST_VERSION_MINOR = "8"; then
47528 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47529
47530 pkg_failed=no
47531 { echo "$as_me:$LINENO: checking for GST" >&5
47532 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47533
47534 if test -n "$PKG_CONFIG"; then
47535 if test -n "$GST_CFLAGS"; then
47536 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47537 else
47538 if test -n "$PKG_CONFIG" && \
47539 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47540 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47541 ac_status=$?
47542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47543 (exit $ac_status); }; then
47544 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47545 else
47546 pkg_failed=yes
47547 fi
47548 fi
47549 else
47550 pkg_failed=untried
47551 fi
47552 if test -n "$PKG_CONFIG"; then
47553 if test -n "$GST_LIBS"; then
47554 pkg_cv_GST_LIBS="$GST_LIBS"
47555 else
47556 if test -n "$PKG_CONFIG" && \
47557 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47558 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47559 ac_status=$?
47560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47561 (exit $ac_status); }; then
47562 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47563 else
47564 pkg_failed=yes
47565 fi
47566 fi
47567 else
47568 pkg_failed=untried
47569 fi
47570
47571
47572
47573 if test $pkg_failed = yes; then
47574
47575 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47576 _pkg_short_errors_supported=yes
47577 else
47578 _pkg_short_errors_supported=no
47579 fi
47580 if test $_pkg_short_errors_supported = yes; then
47581 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47582 else
47583 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47584 fi
47585 # Put the nasty error message in config.log where it belongs
47586 echo "$GST_PKG_ERRORS" >&5
47587
47588
47589 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47590 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47591
47592 elif test $pkg_failed = untried; then
47593
47594 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47595 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47596
47597 else
47598 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47599 GST_LIBS=$pkg_cv_GST_LIBS
47600 { echo "$as_me:$LINENO: result: yes" >&5
47601 echo "${ECHO_T}yes" >&6; }
47602 wxUSE_GSTREAMER="yes"
47603 fi
47604 fi
47605
47606
47607 if test "$wxUSE_GSTREAMER" = "yes"; then
47608 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47609 EXTRALIBS_MEDIA="$GST_LIBS"
47610
47611 cat >>confdefs.h <<\_ACEOF
47612 #define wxUSE_GSTREAMER 1
47613 _ACEOF
47614
47615 else
47616 USE_MEDIA=0
47617 fi
47618 fi
47619
47620 if test $USE_MEDIA = 1; then
47621 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47622 cat >>confdefs.h <<\_ACEOF
47623 #define wxUSE_MEDIACTRL 1
47624 _ACEOF
47625
47626 else
47627 if test "$wxUSE_MEDIACTRL" = "yes"; then
47628 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
47629 echo "$as_me: error: GStreamer not available" >&2;}
47630 { (exit 1); exit 1; }; }
47631 else
47632 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
47633 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
47634 fi
47635 fi
47636 fi
47637
47638
47639 if test "$cross_compiling" != "no"; then
47640 OSINFO="\"$host\""
47641 else
47642 OSINFO=`uname -s -r -m`
47643 OSINFO="\"$OSINFO\""
47644 fi
47645
47646 cat >>confdefs.h <<_ACEOF
47647 #define WXWIN_OS_DESCRIPTION $OSINFO
47648 _ACEOF
47649
47650
47651
47652 if test "x$prefix" != "xNONE"; then
47653 wxPREFIX=$prefix
47654 else
47655 wxPREFIX=$ac_default_prefix
47656 fi
47657
47658 cat >>confdefs.h <<_ACEOF
47659 #define wxINSTALL_PREFIX "$wxPREFIX"
47660 _ACEOF
47661
47662
47663
47664
47665 STD_BASE_LIBS="base"
47666 STD_GUI_LIBS=""
47667 BUILT_WX_LIBS="base"
47668 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
47669
47670 if test "$wxUSE_SOCKETS" = "yes" ; then
47671 STD_BASE_LIBS="net $STD_BASE_LIBS"
47672 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
47673 fi
47674 if test "$wxUSE_XML" = "yes" ; then
47675 STD_BASE_LIBS="xml $STD_BASE_LIBS"
47676 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
47677 fi
47678
47679 if test "$wxUSE_GUI" = "yes"; then
47680 STD_GUI_LIBS="adv core"
47681 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
47682
47683 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47684 STD_GUI_LIBS="qa $STD_GUI_LIBS"
47685 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
47686 fi
47687 if test "$wxUSE_HTML" = "yes" ; then
47688 STD_GUI_LIBS="html $STD_GUI_LIBS"
47689 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
47690 fi
47691 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47692 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
47693 fi
47694 if test "$wxUSE_OPENGL" = "yes" ; then
47695 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
47696 fi
47697 if test "$wxUSE_AUI" = "yes" ; then
47698 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
47699 fi
47700 if test "$wxUSE_PROPGRID" = "yes" ; then
47701 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
47702 fi
47703 if test "$wxUSE_RIBBON" = "yes" ; then
47704 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
47705 fi
47706 if test "$wxUSE_RICHTEXT" = "yes" ; then
47707 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
47708 fi
47709 if test "$wxUSE_STC" = "yes" ; then
47710 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
47711 fi
47712 if test "$wxUSE_XRC" = "yes" ; then
47713 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
47714 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
47715 fi
47716 fi
47717
47718
47719
47720
47721
47722
47723
47724 EXTRA_FRAMEWORKS=
47725 if test "$wxUSE_MAC" = 1 ; then
47726 if test "$USE_DARWIN" = 1; then
47727 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
47728 fi
47729 fi
47730 if test "$wxUSE_OLD_COCOA" = 1 ; then
47731 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
47732 if test "$wxUSE_MEDIACTRL" = "yes"; then
47733 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
47734 fi
47735 fi
47736 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
47737 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47738 fi
47739
47740 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
47741 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
47742
47743 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47744
47745 if test "$wxUSE_GUI" = "yes"; then
47746
47747
47748 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47749 erase event exec font image minimal render \
47750 shaped svg taborder vscroll widgets wrapsizer"
47751
47752 if test "$wxUSE_MONOLITHIC" != "yes"; then
47753 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47754 fi
47755 if test "$TOOLKIT" = "MSW"; then
47756 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47757 if test "$wxUSE_UNIVERSAL" != "yes"; then
47758 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
47759 fi
47760 fi
47761 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47762 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47763 fi
47764 else
47765 SAMPLES_SUBDIRS="console"
47766 if test "$wxUSE_SOCKETS" = "yes" ; then
47767 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47768 fi
47769 if test "$wxUSE_IPC" = "yes" ; then
47770 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47771 fi
47772 fi
47773
47774
47775 if test "x$INTELCC" = "xyes" ; then
47776 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47777 elif test "$GCC" = yes ; then
47778 CWARNINGS="-Wall -Wundef"
47779 fi
47780
47781 if test "x$INTELCXX" = "xyes" ; then
47782 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47783 elif test "$GXX" = yes ; then
47784 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47785 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47786 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47787 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47788 echo $ECHO_N "(cached) $ECHO_C" >&6
47789 else
47790 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47791
47792 ac_ext=cpp
47793 ac_cpp='$CXXCPP $CPPFLAGS'
47794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47797
47798 ac_save_CXXFLAGS="$CXXFLAGS"
47799 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47800 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47801 cat >conftest.$ac_ext <<_ACEOF
47802 /* confdefs.h. */
47803 _ACEOF
47804 cat confdefs.h >>conftest.$ac_ext
47805 cat >>conftest.$ac_ext <<_ACEOF
47806 /* end confdefs.h. */
47807
47808 int
47809 main ()
47810 {
47811 return 0;
47812 ;
47813 return 0;
47814 }
47815 _ACEOF
47816 rm -f conftest.$ac_objext
47817 if { (ac_try="$ac_compile"
47818 case "(($ac_try" in
47819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47820 *) ac_try_echo=$ac_try;;
47821 esac
47822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47823 (eval "$ac_compile") 2>conftest.er1
47824 ac_status=$?
47825 grep -v '^ *+' conftest.er1 >conftest.err
47826 rm -f conftest.er1
47827 cat conftest.err >&5
47828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47829 (exit $ac_status); } && {
47830 test -z "$ac_cxx_werror_flag" ||
47831 test ! -s conftest.err
47832 } && test -s conftest.$ac_objext; then
47833 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47834 else
47835 echo "$as_me: failed program was:" >&5
47836 sed 's/^/| /' conftest.$ac_ext >&5
47837
47838
47839 fi
47840
47841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47842 done
47843 CXXFLAGS="$ac_save_CXXFLAGS"
47844 ac_ext=c
47845 ac_cpp='$CPP $CPPFLAGS'
47846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47849
47850
47851 fi
47852 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47853 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47854 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47855 .ok|.ok,*) ;;
47856 .|.no|.no,*) ;;
47857 *)
47858 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
47859 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47860 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47861 ac_status=$?
47862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47863 (exit $ac_status); }
47864 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47865 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47866 ac_status=$?
47867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47868 (exit $ac_status); }
47869 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47870 fi
47871 ;;
47872 esac
47873
47874
47875 if test "$wxUSE_MAC" = 1 ; then
47876 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
47877 fi
47878 fi
47879
47880
47881 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47882 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47883
47884
47885 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47886 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47887 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47888 $CPPFLAGS `
47889
47890 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47891 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47892 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47893 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47894 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47895
47896 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47897
47898
47899 if test "x$MWCC" = "xyes"; then
47900
47901 CC="$CC -cwd source -I-"
47902 CXX="$CXX -cwd source -I-"
47903 fi
47904
47905
47906 LIBS=`echo $LIBS`
47907 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47908 EXTRALIBS_XML="$EXPAT_LINK"
47909 EXTRALIBS_HTML="$MSPACK_LINK"
47910 EXTRALIBS_MEDIA="$GST_LIBS"
47911 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47912 if test "$wxUSE_GUI" = "yes"; then
47913 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47914 fi
47915 if test "$wxUSE_OPENGL" = "yes"; then
47916 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47917 fi
47918
47919 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47920
47921 WXCONFIG_LIBS="$LIBS"
47922
47923 if test "$wxUSE_REGEX" = "builtin" ; then
47924 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47925 fi
47926 if test "$wxUSE_EXPAT" = "builtin" ; then
47927 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47928 fi
47929 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47930 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47931 fi
47932 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47933 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47934 fi
47935 if test "$wxUSE_LIBPNG" = "builtin" ; then
47936 wxconfig_3rdparty="png $wxconfig_3rdparty"
47937 fi
47938 if test "$wxUSE_ZLIB" = "builtin" ; then
47939 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47940 fi
47941
47942 for i in $wxconfig_3rdparty ; do
47943 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47944 done
47945
47946
47947 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47948 WXUNIV=1
47949
47950 case "$wxUNIV_THEMES" in
47951 ''|all)
47952 cat >>confdefs.h <<\_ACEOF
47953 #define wxUSE_ALL_THEMES 1
47954 _ACEOF
47955
47956 ;;
47957
47958 *)
47959 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47960 cat >>confdefs.h <<_ACEOF
47961 #define wxUSE_THEME_$t 1
47962 _ACEOF
47963
47964 done
47965 esac
47966 else
47967 WXUNIV=0
47968 fi
47969
47970
47971
47972
47973
47974
47975
47976
47977 if test $wxUSE_MONOLITHIC = "yes" ; then
47978 MONOLITHIC=1
47979 else
47980 MONOLITHIC=0
47981 fi
47982
47983 if test $wxUSE_PLUGINS = "yes" ; then
47984 USE_PLUGINS=1
47985 else
47986 USE_PLUGINS=0
47987 fi
47988
47989 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47990 USE_QA=1
47991 else
47992 USE_QA=0
47993 fi
47994
47995 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47996 OFFICIAL_BUILD=1
47997 else
47998 OFFICIAL_BUILD=0
47999 fi
48000
48001
48002
48003
48004
48005
48006
48007
48008
48009
48010
48011
48012
48013
48014
48015
48016
48017
48018
48019
48020
48021
48022
48023
48024
48025
48026
48027 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
48028
48029
48030
48031
48032
48033
48034
48035
48036
48037
48038 case "$TOOLKIT" in
48039 GTK)
48040 TOOLKIT_DESC="GTK+"
48041 if test "$WXGTK2" = 1; then
48042 TOOLKIT_DESC="$TOOLKIT_DESC 2"
48043 if test "$wxUSE_GTKPRINT" = "yes" ; then
48044 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
48045 fi
48046 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
48047 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
48048 fi
48049 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
48050 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
48051 fi
48052 if test "$wxUSE_LIBHILDON" = "yes"; then
48053 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48054 fi
48055 if test "$wxUSE_LIBHILDON2" = "yes"; then
48056 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48057 fi
48058
48059 if test "$TOOLKIT_EXTRA" != ""; then
48060 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
48061 fi
48062 fi
48063 ;;
48064
48065 ?*)
48066 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
48067 ;;
48068
48069 *)
48070 TOOLKIT_DESC="base only"
48071 ;;
48072 esac
48073
48074 if test "$wxUSE_WINE" = "yes"; then
48075 BAKEFILE_FORCE_PLATFORM=win32
48076 fi
48077
48078 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
48079 then
48080 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
48081 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
48082 if test "${wx_cv_gcc_pch_bug+set}" = set; then
48083 echo $ECHO_N "(cached) $ECHO_C" >&6
48084 else
48085
48086 echo '#include <stdio.h>
48087 const wchar_t test_var[] = L"awidetest";' > conftest.h
48088
48089 echo '#include "conftest.h"
48090 int main()
48091 {
48092 printf("%ls", test_var);
48093 return 0;
48094 }' > conftest.cpp
48095
48096 wx_cv_gcc_pch_bug="pch not supported"
48097
48098 if $CXX conftest.h >/dev/null 2>&1
48099 then
48100 wx_cv_gcc_pch_bug=
48101
48102 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
48103 then
48104 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
48105 grep awidetest >/dev/null
48106 then
48107 wx_cv_gcc_pch_bug=no
48108 else
48109 wx_cv_gcc_pch_bug=yes
48110 fi
48111 fi
48112 fi
48113
48114 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
48115
48116 fi
48117 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
48118 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
48119
48120 if test "$wx_cv_gcc_pch_bug" = yes; then
48121 bk_use_pch=no
48122 fi
48123 fi
48124
48125
48126
48127
48128
48129
48130
48131 if test "x$BAKEFILE_HOST" = "x"; then
48132 if test "x${host}" = "x" ; then
48133 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
48134 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
48135 { (exit 1); exit 1; }; }
48136 fi
48137
48138 BAKEFILE_HOST="${host}"
48139 fi
48140
48141 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
48142
48143 if test -n "$ac_tool_prefix"; then
48144 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
48145 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
48146 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48148 if test "${ac_cv_prog_RANLIB+set}" = set; then
48149 echo $ECHO_N "(cached) $ECHO_C" >&6
48150 else
48151 if test -n "$RANLIB"; then
48152 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
48153 else
48154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48155 for as_dir in $PATH
48156 do
48157 IFS=$as_save_IFS
48158 test -z "$as_dir" && as_dir=.
48159 for ac_exec_ext in '' $ac_executable_extensions; do
48160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48161 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
48162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48163 break 2
48164 fi
48165 done
48166 done
48167 IFS=$as_save_IFS
48168
48169 fi
48170 fi
48171 RANLIB=$ac_cv_prog_RANLIB
48172 if test -n "$RANLIB"; then
48173 { echo "$as_me:$LINENO: result: $RANLIB" >&5
48174 echo "${ECHO_T}$RANLIB" >&6; }
48175 else
48176 { echo "$as_me:$LINENO: result: no" >&5
48177 echo "${ECHO_T}no" >&6; }
48178 fi
48179
48180
48181 fi
48182 if test -z "$ac_cv_prog_RANLIB"; then
48183 ac_ct_RANLIB=$RANLIB
48184 # Extract the first word of "ranlib", so it can be a program name with args.
48185 set dummy ranlib; ac_word=$2
48186 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48188 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
48189 echo $ECHO_N "(cached) $ECHO_C" >&6
48190 else
48191 if test -n "$ac_ct_RANLIB"; then
48192 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
48193 else
48194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48195 for as_dir in $PATH
48196 do
48197 IFS=$as_save_IFS
48198 test -z "$as_dir" && as_dir=.
48199 for ac_exec_ext in '' $ac_executable_extensions; do
48200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48201 ac_cv_prog_ac_ct_RANLIB="ranlib"
48202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48203 break 2
48204 fi
48205 done
48206 done
48207 IFS=$as_save_IFS
48208
48209 fi
48210 fi
48211 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
48212 if test -n "$ac_ct_RANLIB"; then
48213 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
48214 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
48215 else
48216 { echo "$as_me:$LINENO: result: no" >&5
48217 echo "${ECHO_T}no" >&6; }
48218 fi
48219
48220 if test "x$ac_ct_RANLIB" = x; then
48221 RANLIB=":"
48222 else
48223 case $cross_compiling:$ac_tool_warned in
48224 yes:)
48225 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48226 whose name does not start with the host triplet. If you think this
48227 configuration is useful to you, please write to autoconf@gnu.org." >&5
48228 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48229 whose name does not start with the host triplet. If you think this
48230 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48231 ac_tool_warned=yes ;;
48232 esac
48233 RANLIB=$ac_ct_RANLIB
48234 fi
48235 else
48236 RANLIB="$ac_cv_prog_RANLIB"
48237 fi
48238
48239 # Find a good install program. We prefer a C program (faster),
48240 # so one script is as good as another. But avoid the broken or
48241 # incompatible versions:
48242 # SysV /etc/install, /usr/sbin/install
48243 # SunOS /usr/etc/install
48244 # IRIX /sbin/install
48245 # AIX /bin/install
48246 # AmigaOS /C/install, which installs bootblocks on floppy discs
48247 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
48248 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
48249 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
48250 # OS/2's system install, which has a completely different semantic
48251 # ./install, which can be erroneously created by make from ./install.sh.
48252 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
48253 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
48254 if test -z "$INSTALL"; then
48255 if test "${ac_cv_path_install+set}" = set; then
48256 echo $ECHO_N "(cached) $ECHO_C" >&6
48257 else
48258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48259 for as_dir in $PATH
48260 do
48261 IFS=$as_save_IFS
48262 test -z "$as_dir" && as_dir=.
48263 # Account for people who put trailing slashes in PATH elements.
48264 case $as_dir/ in
48265 ./ | .// | /cC/* | \
48266 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
48267 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
48268 /usr/ucb/* ) ;;
48269 *)
48270 # OSF1 and SCO ODT 3.0 have their own names for install.
48271 # Don't use installbsd from OSF since it installs stuff as root
48272 # by default.
48273 for ac_prog in ginstall scoinst install; do
48274 for ac_exec_ext in '' $ac_executable_extensions; do
48275 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
48276 if test $ac_prog = install &&
48277 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48278 # AIX install. It has an incompatible calling convention.
48279 :
48280 elif test $ac_prog = install &&
48281 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48282 # program-specific install script used by HP pwplus--don't use.
48283 :
48284 else
48285 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
48286 break 3
48287 fi
48288 fi
48289 done
48290 done
48291 ;;
48292 esac
48293 done
48294 IFS=$as_save_IFS
48295
48296
48297 fi
48298 if test "${ac_cv_path_install+set}" = set; then
48299 INSTALL=$ac_cv_path_install
48300 else
48301 # As a last resort, use the slow shell script. Don't cache a
48302 # value for INSTALL within a source directory, because that will
48303 # break other packages using the cache if that directory is
48304 # removed, or if the value is a relative name.
48305 INSTALL=$ac_install_sh
48306 fi
48307 fi
48308 { echo "$as_me:$LINENO: result: $INSTALL" >&5
48309 echo "${ECHO_T}$INSTALL" >&6; }
48310
48311 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
48312 # It thinks the first close brace ends the variable substitution.
48313 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
48314
48315 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
48316
48317 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
48318
48319 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
48320 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
48321 LN_S=$as_ln_s
48322 if test "$LN_S" = "ln -s"; then
48323 { echo "$as_me:$LINENO: result: yes" >&5
48324 echo "${ECHO_T}yes" >&6; }
48325 else
48326 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
48327 echo "${ECHO_T}no, using $LN_S" >&6; }
48328 fi
48329
48330
48331 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48332 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48333 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48334 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
48335 echo $ECHO_N "(cached) $ECHO_C" >&6
48336 else
48337 cat >conftest.make <<\_ACEOF
48338 SHELL = /bin/sh
48339 all:
48340 @echo '@@@%%%=$(MAKE)=@@@%%%'
48341 _ACEOF
48342 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48343 case `${MAKE-make} -f conftest.make 2>/dev/null` in
48344 *@@@%%%=?*=@@@%%%*)
48345 eval ac_cv_prog_make_${ac_make}_set=yes;;
48346 *)
48347 eval ac_cv_prog_make_${ac_make}_set=no;;
48348 esac
48349 rm -f conftest.make
48350 fi
48351 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
48352 { echo "$as_me:$LINENO: result: yes" >&5
48353 echo "${ECHO_T}yes" >&6; }
48354 SET_MAKE=
48355 else
48356 { echo "$as_me:$LINENO: result: no" >&5
48357 echo "${ECHO_T}no" >&6; }
48358 SET_MAKE="MAKE=${MAKE-make}"
48359 fi
48360
48361
48362
48363 if test "x$SUNCXX" = "xyes"; then
48364 AR=$CXX
48365 AROPTIONS="-xar -o"
48366
48367 elif test "x$SGICC" = "xyes"; then
48368 AR=$CXX
48369 AROPTIONS="-ar -o"
48370
48371 else
48372 if test -n "$ac_tool_prefix"; then
48373 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
48374 set dummy ${ac_tool_prefix}ar; ac_word=$2
48375 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48377 if test "${ac_cv_prog_AR+set}" = set; then
48378 echo $ECHO_N "(cached) $ECHO_C" >&6
48379 else
48380 if test -n "$AR"; then
48381 ac_cv_prog_AR="$AR" # Let the user override the test.
48382 else
48383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48384 for as_dir in $PATH
48385 do
48386 IFS=$as_save_IFS
48387 test -z "$as_dir" && as_dir=.
48388 for ac_exec_ext in '' $ac_executable_extensions; do
48389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48390 ac_cv_prog_AR="${ac_tool_prefix}ar"
48391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48392 break 2
48393 fi
48394 done
48395 done
48396 IFS=$as_save_IFS
48397
48398 fi
48399 fi
48400 AR=$ac_cv_prog_AR
48401 if test -n "$AR"; then
48402 { echo "$as_me:$LINENO: result: $AR" >&5
48403 echo "${ECHO_T}$AR" >&6; }
48404 else
48405 { echo "$as_me:$LINENO: result: no" >&5
48406 echo "${ECHO_T}no" >&6; }
48407 fi
48408
48409
48410 fi
48411 if test -z "$ac_cv_prog_AR"; then
48412 ac_ct_AR=$AR
48413 # Extract the first word of "ar", so it can be a program name with args.
48414 set dummy ar; ac_word=$2
48415 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48417 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
48418 echo $ECHO_N "(cached) $ECHO_C" >&6
48419 else
48420 if test -n "$ac_ct_AR"; then
48421 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
48422 else
48423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48424 for as_dir in $PATH
48425 do
48426 IFS=$as_save_IFS
48427 test -z "$as_dir" && as_dir=.
48428 for ac_exec_ext in '' $ac_executable_extensions; do
48429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48430 ac_cv_prog_ac_ct_AR="ar"
48431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48432 break 2
48433 fi
48434 done
48435 done
48436 IFS=$as_save_IFS
48437
48438 fi
48439 fi
48440 ac_ct_AR=$ac_cv_prog_ac_ct_AR
48441 if test -n "$ac_ct_AR"; then
48442 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
48443 echo "${ECHO_T}$ac_ct_AR" >&6; }
48444 else
48445 { echo "$as_me:$LINENO: result: no" >&5
48446 echo "${ECHO_T}no" >&6; }
48447 fi
48448
48449 if test "x$ac_ct_AR" = x; then
48450 AR="ar"
48451 else
48452 case $cross_compiling:$ac_tool_warned in
48453 yes:)
48454 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48455 whose name does not start with the host triplet. If you think this
48456 configuration is useful to you, please write to autoconf@gnu.org." >&5
48457 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48458 whose name does not start with the host triplet. If you think this
48459 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48460 ac_tool_warned=yes ;;
48461 esac
48462 AR=$ac_ct_AR
48463 fi
48464 else
48465 AR="$ac_cv_prog_AR"
48466 fi
48467
48468 AROPTIONS=rcu
48469 fi
48470
48471
48472 if test -n "$ac_tool_prefix"; then
48473 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
48474 set dummy ${ac_tool_prefix}strip; ac_word=$2
48475 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48477 if test "${ac_cv_prog_STRIP+set}" = set; then
48478 echo $ECHO_N "(cached) $ECHO_C" >&6
48479 else
48480 if test -n "$STRIP"; then
48481 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
48482 else
48483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48484 for as_dir in $PATH
48485 do
48486 IFS=$as_save_IFS
48487 test -z "$as_dir" && as_dir=.
48488 for ac_exec_ext in '' $ac_executable_extensions; do
48489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48490 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
48491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48492 break 2
48493 fi
48494 done
48495 done
48496 IFS=$as_save_IFS
48497
48498 fi
48499 fi
48500 STRIP=$ac_cv_prog_STRIP
48501 if test -n "$STRIP"; then
48502 { echo "$as_me:$LINENO: result: $STRIP" >&5
48503 echo "${ECHO_T}$STRIP" >&6; }
48504 else
48505 { echo "$as_me:$LINENO: result: no" >&5
48506 echo "${ECHO_T}no" >&6; }
48507 fi
48508
48509
48510 fi
48511 if test -z "$ac_cv_prog_STRIP"; then
48512 ac_ct_STRIP=$STRIP
48513 # Extract the first word of "strip", so it can be a program name with args.
48514 set dummy strip; ac_word=$2
48515 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48517 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48518 echo $ECHO_N "(cached) $ECHO_C" >&6
48519 else
48520 if test -n "$ac_ct_STRIP"; then
48521 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
48522 else
48523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48524 for as_dir in $PATH
48525 do
48526 IFS=$as_save_IFS
48527 test -z "$as_dir" && as_dir=.
48528 for ac_exec_ext in '' $ac_executable_extensions; do
48529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48530 ac_cv_prog_ac_ct_STRIP="strip"
48531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48532 break 2
48533 fi
48534 done
48535 done
48536 IFS=$as_save_IFS
48537
48538 fi
48539 fi
48540 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
48541 if test -n "$ac_ct_STRIP"; then
48542 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48543 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
48544 else
48545 { echo "$as_me:$LINENO: result: no" >&5
48546 echo "${ECHO_T}no" >&6; }
48547 fi
48548
48549 if test "x$ac_ct_STRIP" = x; then
48550 STRIP=":"
48551 else
48552 case $cross_compiling:$ac_tool_warned in
48553 yes:)
48554 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48555 whose name does not start with the host triplet. If you think this
48556 configuration is useful to you, please write to autoconf@gnu.org." >&5
48557 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48558 whose name does not start with the host triplet. If you think this
48559 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48560 ac_tool_warned=yes ;;
48561 esac
48562 STRIP=$ac_ct_STRIP
48563 fi
48564 else
48565 STRIP="$ac_cv_prog_STRIP"
48566 fi
48567
48568 if test -n "$ac_tool_prefix"; then
48569 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48570 set dummy ${ac_tool_prefix}nm; ac_word=$2
48571 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48573 if test "${ac_cv_prog_NM+set}" = set; then
48574 echo $ECHO_N "(cached) $ECHO_C" >&6
48575 else
48576 if test -n "$NM"; then
48577 ac_cv_prog_NM="$NM" # Let the user override the test.
48578 else
48579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48580 for as_dir in $PATH
48581 do
48582 IFS=$as_save_IFS
48583 test -z "$as_dir" && as_dir=.
48584 for ac_exec_ext in '' $ac_executable_extensions; do
48585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48586 ac_cv_prog_NM="${ac_tool_prefix}nm"
48587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48588 break 2
48589 fi
48590 done
48591 done
48592 IFS=$as_save_IFS
48593
48594 fi
48595 fi
48596 NM=$ac_cv_prog_NM
48597 if test -n "$NM"; then
48598 { echo "$as_me:$LINENO: result: $NM" >&5
48599 echo "${ECHO_T}$NM" >&6; }
48600 else
48601 { echo "$as_me:$LINENO: result: no" >&5
48602 echo "${ECHO_T}no" >&6; }
48603 fi
48604
48605
48606 fi
48607 if test -z "$ac_cv_prog_NM"; then
48608 ac_ct_NM=$NM
48609 # Extract the first word of "nm", so it can be a program name with args.
48610 set dummy nm; ac_word=$2
48611 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48613 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48614 echo $ECHO_N "(cached) $ECHO_C" >&6
48615 else
48616 if test -n "$ac_ct_NM"; then
48617 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48618 else
48619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48620 for as_dir in $PATH
48621 do
48622 IFS=$as_save_IFS
48623 test -z "$as_dir" && as_dir=.
48624 for ac_exec_ext in '' $ac_executable_extensions; do
48625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48626 ac_cv_prog_ac_ct_NM="nm"
48627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48628 break 2
48629 fi
48630 done
48631 done
48632 IFS=$as_save_IFS
48633
48634 fi
48635 fi
48636 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48637 if test -n "$ac_ct_NM"; then
48638 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48639 echo "${ECHO_T}$ac_ct_NM" >&6; }
48640 else
48641 { echo "$as_me:$LINENO: result: no" >&5
48642 echo "${ECHO_T}no" >&6; }
48643 fi
48644
48645 if test "x$ac_ct_NM" = x; then
48646 NM=":"
48647 else
48648 case $cross_compiling:$ac_tool_warned in
48649 yes:)
48650 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48651 whose name does not start with the host triplet. If you think this
48652 configuration is useful to you, please write to autoconf@gnu.org." >&5
48653 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48654 whose name does not start with the host triplet. If you think this
48655 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48656 ac_tool_warned=yes ;;
48657 esac
48658 NM=$ac_ct_NM
48659 fi
48660 else
48661 NM="$ac_cv_prog_NM"
48662 fi
48663
48664
48665 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48666 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48667 INSTALL_TEST_DIR=acbftest$$
48668 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
48669 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
48670 rmdir $INSTALL_TEST_DIR
48671 INSTALL_DIR='$(INSTALL) -d'
48672 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48673 echo "${ECHO_T}$INSTALL -d" >&6; }
48674 else
48675 INSTALL_DIR="mkdir -p"
48676 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48677 echo "${ECHO_T}mkdir -p" >&6; }
48678 fi
48679
48680
48681 LDFLAGS_GUI=
48682 case ${BAKEFILE_HOST} in
48683 *-*-cygwin* | *-*-mingw32* )
48684 LDFLAGS_GUI="-mwindows"
48685 esac
48686
48687
48688 fi
48689
48690 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48691 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48692 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48693 echo $ECHO_N "(cached) $ECHO_C" >&6
48694 else
48695
48696 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48697 egrep -s GNU > /dev/null); then
48698 bakefile_cv_prog_makeisgnu="yes"
48699 else
48700 bakefile_cv_prog_makeisgnu="no"
48701 fi
48702
48703 fi
48704 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48705 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48706
48707 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48708 IF_GNU_MAKE=""
48709 else
48710 IF_GNU_MAKE="#"
48711 fi
48712
48713
48714
48715 PLATFORM_UNIX=0
48716 PLATFORM_WIN32=0
48717 PLATFORM_MSDOS=0
48718 PLATFORM_MAC=0
48719 PLATFORM_MACOS=0
48720 PLATFORM_MACOSX=0
48721 PLATFORM_OS2=0
48722 PLATFORM_BEOS=0
48723
48724 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48725 case "${BAKEFILE_HOST}" in
48726 *-*-mingw32* )
48727 PLATFORM_WIN32=1
48728 ;;
48729 *-pc-msdosdjgpp )
48730 PLATFORM_MSDOS=1
48731 ;;
48732 *-pc-os2_emx | *-pc-os2-emx )
48733 PLATFORM_OS2=1
48734 ;;
48735 *-*-darwin* )
48736 PLATFORM_MAC=1
48737 PLATFORM_MACOSX=1
48738 ;;
48739 *-*-beos* )
48740 PLATFORM_BEOS=1
48741 ;;
48742 powerpc-apple-macos* )
48743 PLATFORM_MAC=1
48744 PLATFORM_MACOS=1
48745 ;;
48746 * )
48747 PLATFORM_UNIX=1
48748 ;;
48749 esac
48750 else
48751 case "$BAKEFILE_FORCE_PLATFORM" in
48752 win32 )
48753 PLATFORM_WIN32=1
48754 ;;
48755 msdos )
48756 PLATFORM_MSDOS=1
48757 ;;
48758 os2 )
48759 PLATFORM_OS2=1
48760 ;;
48761 darwin )
48762 PLATFORM_MAC=1
48763 PLATFORM_MACOSX=1
48764 ;;
48765 unix )
48766 PLATFORM_UNIX=1
48767 ;;
48768 beos )
48769 PLATFORM_BEOS=1
48770 ;;
48771 * )
48772 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
48773 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
48774 { (exit 1); exit 1; }; }
48775 ;;
48776 esac
48777 fi
48778
48779
48780
48781
48782
48783
48784
48785
48786
48787
48788
48789 # Check whether --enable-omf was given.
48790 if test "${enable_omf+set}" = set; then
48791 enableval=$enable_omf; bk_os2_use_omf="$enableval"
48792 fi
48793
48794
48795 case "${BAKEFILE_HOST}" in
48796 *-*-darwin* )
48797 if test "x$GCC" = "xyes"; then
48798 CFLAGS="$CFLAGS -fno-common"
48799 CXXFLAGS="$CXXFLAGS -fno-common"
48800 fi
48801 if test "x$XLCC" = "xyes"; then
48802 CFLAGS="$CFLAGS -qnocommon"
48803 CXXFLAGS="$CXXFLAGS -qnocommon"
48804 fi
48805 ;;
48806
48807 *-pc-os2_emx | *-pc-os2-emx )
48808 if test "x$bk_os2_use_omf" = "xyes" ; then
48809 AR=emxomfar
48810 RANLIB=:
48811 LDFLAGS="-Zomf $LDFLAGS"
48812 CFLAGS="-Zomf $CFLAGS"
48813 CXXFLAGS="-Zomf $CXXFLAGS"
48814 OS2_LIBEXT="lib"
48815 else
48816 OS2_LIBEXT="a"
48817 fi
48818 ;;
48819
48820 i*86-*-beos* )
48821 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48822 ;;
48823 esac
48824
48825
48826 SO_SUFFIX="so"
48827 SO_SUFFIX_MODULE="so"
48828 EXEEXT=""
48829 LIBPREFIX="lib"
48830 LIBEXT=".a"
48831 DLLPREFIX="lib"
48832 DLLPREFIX_MODULE=""
48833 DLLIMP_SUFFIX=""
48834 dlldir="$libdir"
48835
48836 case "${BAKEFILE_HOST}" in
48837 ia64-hp-hpux* )
48838 ;;
48839 *-hp-hpux* )
48840 SO_SUFFIX="sl"
48841 SO_SUFFIX_MODULE="sl"
48842 ;;
48843 *-*-aix* )
48844 SO_SUFFIX="a"
48845 SO_SUFFIX_MODULE="a"
48846 ;;
48847 *-*-cygwin* )
48848 SO_SUFFIX="dll"
48849 SO_SUFFIX_MODULE="dll"
48850 DLLIMP_SUFFIX="dll.a"
48851 EXEEXT=".exe"
48852 DLLPREFIX="cyg"
48853 dlldir="$bindir"
48854 ;;
48855 *-*-mingw32* )
48856 SO_SUFFIX="dll"
48857 SO_SUFFIX_MODULE="dll"
48858 DLLIMP_SUFFIX="dll.a"
48859 EXEEXT=".exe"
48860 DLLPREFIX=""
48861 dlldir="$bindir"
48862 ;;
48863 *-pc-msdosdjgpp )
48864 EXEEXT=".exe"
48865 DLLPREFIX=""
48866 dlldir="$bindir"
48867 ;;
48868 *-pc-os2_emx | *-pc-os2-emx )
48869 SO_SUFFIX="dll"
48870 SO_SUFFIX_MODULE="dll"
48871 DLLIMP_SUFFIX=$OS2_LIBEXT
48872 EXEEXT=".exe"
48873 DLLPREFIX=""
48874 LIBPREFIX=""
48875 LIBEXT=".$OS2_LIBEXT"
48876 dlldir="$bindir"
48877 ;;
48878 *-*-darwin* )
48879 SO_SUFFIX="dylib"
48880 SO_SUFFIX_MODULE="bundle"
48881 ;;
48882 esac
48883
48884 if test "x$DLLIMP_SUFFIX" = "x" ; then
48885 DLLIMP_SUFFIX="$SO_SUFFIX"
48886 fi
48887
48888
48889
48890
48891
48892
48893
48894
48895
48896
48897
48898
48899 PIC_FLAG=""
48900 if test "x$GCC" = "xyes"; then
48901 PIC_FLAG="-fPIC"
48902 fi
48903
48904 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48905 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48906 WINDOWS_IMPLIB=0
48907
48908 case "${BAKEFILE_HOST}" in
48909 *-hp-hpux* )
48910 if test "x$GCC" != "xyes"; then
48911 LDFLAGS="$LDFLAGS -L/usr/lib"
48912
48913 SHARED_LD_CC="${CC} -b -o"
48914 SHARED_LD_CXX="${CXX} -b -o"
48915 PIC_FLAG="+Z"
48916 fi
48917 ;;
48918
48919 *-*-linux* )
48920 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48921 PIC_FLAG="-KPIC"
48922 elif test "x$SUNCXX" = "xyes"; then
48923 SHARED_LD_CC="${CC} -G -o"
48924 SHARED_LD_CXX="${CXX} -G -o"
48925 PIC_FLAG="-KPIC"
48926 fi
48927 ;;
48928
48929 *-*-solaris2* )
48930 if test "x$SUNCXX" = xyes ; then
48931 SHARED_LD_CC="${CC} -G -o"
48932 SHARED_LD_CXX="${CXX} -G -o"
48933 PIC_FLAG="-KPIC"
48934 fi
48935 ;;
48936
48937 *-*-darwin* )
48938
48939 D='$'
48940 cat <<EOF >shared-ld-sh
48941 #!/bin/sh
48942 #-----------------------------------------------------------------------------
48943 #-- Name: distrib/mac/shared-ld-sh
48944 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48945 #-- Author: Gilles Depeyrot
48946 #-- Copyright: (c) 2002 Gilles Depeyrot
48947 #-- Licence: any use permitted
48948 #-----------------------------------------------------------------------------
48949
48950 verbose=0
48951 args=""
48952 objects=""
48953 linking_flag="-dynamiclib"
48954 ldargs="-r -keep_private_externs -nostdlib"
48955
48956 if test "x${D}CXX" = "x"; then
48957 CXX="c++"
48958 fi
48959
48960 while test ${D}# -gt 0; do
48961 case ${D}1 in
48962
48963 -v)
48964 verbose=1
48965 ;;
48966
48967 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48968 # collect these options and values
48969 args="${D}{args} ${D}1 ${D}2"
48970 shift
48971 ;;
48972
48973 -arch|-isysroot)
48974 # collect these options and values
48975 ldargs="${D}{ldargs} ${D}1 ${D}2"
48976 shift
48977 ;;
48978
48979 -s|-Wl,*)
48980 # collect these load args
48981 ldargs="${D}{ldargs} ${D}1"
48982 ;;
48983
48984 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48985 # collect these options
48986 args="${D}{args} ${D}1"
48987 ;;
48988
48989 -dynamiclib|-bundle)
48990 linking_flag="${D}1"
48991 ;;
48992
48993 -*)
48994 echo "shared-ld: unhandled option '${D}1'"
48995 exit 1
48996 ;;
48997
48998 *.o | *.a | *.dylib)
48999 # collect object files
49000 objects="${D}{objects} ${D}1"
49001 ;;
49002
49003 *)
49004 echo "shared-ld: unhandled argument '${D}1'"
49005 exit 1
49006 ;;
49007
49008 esac
49009 shift
49010 done
49011
49012 status=0
49013
49014 #
49015 # Link one module containing all the others
49016 #
49017 if test ${D}{verbose} = 1; then
49018 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
49019 fi
49020 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
49021 status=${D}?
49022
49023 #
49024 # Link the shared library from the single module created, but only if the
49025 # previous command didn't fail:
49026 #
49027 if test ${D}{status} = 0; then
49028 if test ${D}{verbose} = 1; then
49029 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
49030 fi
49031 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
49032 status=${D}?
49033 fi
49034
49035 #
49036 # Remove intermediate module
49037 #
49038 rm -f master.${D}${D}.o
49039
49040 exit ${D}status
49041 EOF
49042
49043 chmod +x shared-ld-sh
49044
49045 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
49046 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
49047
49048
49049 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
49050 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
49051 if test "${bakefile_cv_gcc31+set}" = set; then
49052 echo $ECHO_N "(cached) $ECHO_C" >&6
49053 else
49054
49055 cat >conftest.$ac_ext <<_ACEOF
49056 /* confdefs.h. */
49057 _ACEOF
49058 cat confdefs.h >>conftest.$ac_ext
49059 cat >>conftest.$ac_ext <<_ACEOF
49060 /* end confdefs.h. */
49061
49062 int
49063 main ()
49064 {
49065
49066 #if (__GNUC__ < 3) || \
49067 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
49068 This is old gcc
49069 #endif
49070
49071 ;
49072 return 0;
49073 }
49074 _ACEOF
49075 rm -f conftest.$ac_objext
49076 if { (ac_try="$ac_compile"
49077 case "(($ac_try" in
49078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49079 *) ac_try_echo=$ac_try;;
49080 esac
49081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49082 (eval "$ac_compile") 2>conftest.er1
49083 ac_status=$?
49084 grep -v '^ *+' conftest.er1 >conftest.err
49085 rm -f conftest.er1
49086 cat conftest.err >&5
49087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49088 (exit $ac_status); } && {
49089 test -z "$ac_c_werror_flag" ||
49090 test ! -s conftest.err
49091 } && test -s conftest.$ac_objext; then
49092
49093 bakefile_cv_gcc31=yes
49094
49095 else
49096 echo "$as_me: failed program was:" >&5
49097 sed 's/^/| /' conftest.$ac_ext >&5
49098
49099
49100 bakefile_cv_gcc31=no
49101
49102
49103 fi
49104
49105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49106
49107 fi
49108 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
49109 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
49110 if test "$bakefile_cv_gcc31" = "no"; then
49111 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
49112 SHARED_LD_CXX="$SHARED_LD_CC"
49113 else
49114 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
49115 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
49116 fi
49117
49118 if test "x$GCC" == "xyes"; then
49119 PIC_FLAG="-dynamic -fPIC"
49120 fi
49121 if test "x$XLCC" = "xyes"; then
49122 PIC_FLAG="-dynamic -DPIC"
49123 fi
49124 ;;
49125
49126 *-*-aix* )
49127 if test "x$GCC" = "xyes"; then
49128 PIC_FLAG=""
49129
49130 case "${BAKEFILE_HOST}" in
49131 *-*-aix5* )
49132 LD_EXPFULL="-Wl,-bexpfull"
49133 ;;
49134 esac
49135
49136 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
49137 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
49138 else
49139 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
49140 set dummy makeC++SharedLib; ac_word=$2
49141 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49143 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
49144 echo $ECHO_N "(cached) $ECHO_C" >&6
49145 else
49146 if test -n "$AIX_CXX_LD"; then
49147 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
49148 else
49149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49150 for as_dir in $PATH
49151 do
49152 IFS=$as_save_IFS
49153 test -z "$as_dir" && as_dir=.
49154 for ac_exec_ext in '' $ac_executable_extensions; do
49155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49156 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
49157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49158 break 2
49159 fi
49160 done
49161 done
49162 IFS=$as_save_IFS
49163
49164 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
49165 fi
49166 fi
49167 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
49168 if test -n "$AIX_CXX_LD"; then
49169 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
49170 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
49171 else
49172 { echo "$as_me:$LINENO: result: no" >&5
49173 echo "${ECHO_T}no" >&6; }
49174 fi
49175
49176
49177 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
49178 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
49179 fi
49180 ;;
49181
49182 *-*-beos* )
49183 SHARED_LD_CC="${LD} -nostart -o"
49184 SHARED_LD_CXX="${LD} -nostart -o"
49185 ;;
49186
49187 *-*-irix* )
49188 if test "x$GCC" != "xyes"; then
49189 PIC_FLAG="-KPIC"
49190 fi
49191 ;;
49192
49193 *-*-cygwin* | *-*-mingw32* )
49194 PIC_FLAG=""
49195 SHARED_LD_CC="\$(CC) -shared -o"
49196 SHARED_LD_CXX="\$(CXX) -shared -o"
49197 WINDOWS_IMPLIB=1
49198 ;;
49199
49200 *-pc-os2_emx | *-pc-os2-emx )
49201 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49202 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49203 PIC_FLAG=""
49204
49205 D='$'
49206 cat <<EOF >dllar.sh
49207 #!/bin/sh
49208 #
49209 # dllar - a tool to build both a .dll and an .a file
49210 # from a set of object (.o) files for EMX/OS2.
49211 #
49212 # Written by Andrew Zabolotny, bit@freya.etu.ru
49213 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
49214 #
49215 # This script will accept a set of files on the command line.
49216 # All the public symbols from the .o files will be exported into
49217 # a .DEF file, then linker will be run (through gcc) against them to
49218 # build a shared library consisting of all given .o files. All libraries
49219 # (.a) will be first decompressed into component .o files then act as
49220 # described above. You can optionally give a description (-d "description")
49221 # which will be put into .DLL. To see the list of accepted options (as well
49222 # as command-line format) simply run this program without options. The .DLL
49223 # is built to be imported by name (there is no guarantee that new versions
49224 # of the library you build will have same ordinals for same symbols).
49225 #
49226 # dllar is free software; you can redistribute it and/or modify
49227 # it under the terms of the GNU General Public License as published by
49228 # the Free Software Foundation; either version 2, or (at your option)
49229 # any later version.
49230 #
49231 # dllar is distributed in the hope that it will be useful,
49232 # but WITHOUT ANY WARRANTY; without even the implied warranty of
49233 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49234 # GNU General Public License for more details.
49235 #
49236 # You should have received a copy of the GNU General Public License
49237 # along with dllar; see the file COPYING. If not, write to the Free
49238 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
49239 # 02111-1307, USA.
49240
49241 # To successfuly run this program you will need:
49242 # - Current drive should have LFN support (HPFS, ext2, network, etc)
49243 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
49244 # - gcc
49245 # (used to build the .dll)
49246 # - emxexp
49247 # (used to create .def file from .o files)
49248 # - emximp
49249 # (used to create .a file from .def file)
49250 # - GNU text utilites (cat, sort, uniq)
49251 # used to process emxexp output
49252 # - GNU file utilities (mv, rm)
49253 # - GNU sed
49254 # - lxlite (optional, see flag below)
49255 # (used for general .dll cleanup)
49256 #
49257
49258 flag_USE_LXLITE=1;
49259
49260 #
49261 # helper functions
49262 # basnam, variant of basename, which does _not_ remove the path, _iff_
49263 # second argument (suffix to remove) is given
49264 basnam(){
49265 case ${D}# in
49266 1)
49267 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
49268 ;;
49269 2)
49270 echo ${D}1 | sed 's/'${D}2'${D}//'
49271 ;;
49272 *)
49273 echo "error in basnam ${D}*"
49274 exit 8
49275 ;;
49276 esac
49277 }
49278
49279 # Cleanup temporary files and output
49280 CleanUp() {
49281 cd ${D}curDir
49282 for i in ${D}inputFiles ; do
49283 case ${D}i in
49284 *!)
49285 rm -rf \`basnam ${D}i !\`
49286 ;;
49287 *)
49288 ;;
49289 esac
49290 done
49291
49292 # Kill result in case of failure as there is just to many stupid make/nmake
49293 # things out there which doesn't do this.
49294 if [ ${D}# -eq 0 ]; then
49295 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
49296 fi
49297 }
49298
49299 # Print usage and exit script with rc=1.
49300 PrintHelp() {
49301 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
49302 echo ' [-name-mangler-script script.sh]'
49303 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
49304 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
49305 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
49306 echo ' [*.o] [*.a]'
49307 echo '*> "output_file" should have no extension.'
49308 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
49309 echo ' The import library name is derived from this and is set to "name".a,'
49310 echo ' unless overridden by -import'
49311 echo '*> "importlib_name" should have no extension.'
49312 echo ' If it has the .o, or .a extension, it is automatically removed.'
49313 echo ' This name is used as the import library name and may be longer and'
49314 echo ' more descriptive than the DLL name which has to follow the old '
49315 echo ' 8.3 convention of FAT.'
49316 echo '*> "script.sh may be given to override the output_file name by a'
49317 echo ' different name. It is mainly useful if the regular make process'
49318 echo ' of some package does not take into account OS/2 restriction of'
49319 echo ' DLL name lengths. It takes the importlib name as input and is'
49320 echo ' supposed to procude a shorter name as output. The script should'
49321 echo ' expect to get importlib_name without extension and should produce'
49322 echo ' a (max.) 8 letter name without extension.'
49323 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
49324 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
49325 echo ' These flags will be put at the start of GCC command line.'
49326 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
49327 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
49328 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
49329 echo ' If the last character of a symbol is "*", all symbols beginning'
49330 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
49331 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
49332 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
49333 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
49334 echo ' C runtime DLLs.'
49335 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
49336 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
49337 echo ' unchanged to GCC at the end of command line.'
49338 echo '*> If you create a DLL from a library and you do not specify -o,'
49339 echo ' the basename for DLL and import library will be set to library name,'
49340 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
49341 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
49342 echo ' library will be renamed into gcc_s.a.'
49343 echo '--------'
49344 echo 'Example:'
49345 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
49346 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
49347 CleanUp
49348 exit 1
49349 }
49350
49351 # Execute a command.
49352 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
49353 # @Uses Whatever CleanUp() uses.
49354 doCommand() {
49355 echo "${D}*"
49356 eval ${D}*
49357 rcCmd=${D}?
49358
49359 if [ ${D}rcCmd -ne 0 ]; then
49360 echo "command failed, exit code="${D}rcCmd
49361 CleanUp
49362 exit ${D}rcCmd
49363 fi
49364 }
49365
49366 # main routine
49367 # setup globals
49368 cmdLine=${D}*
49369 outFile=""
49370 outimpFile=""
49371 inputFiles=""
49372 renameScript=""
49373 description=""
49374 CC=gcc.exe
49375 CFLAGS="-s -Zcrtdll"
49376 EXTRA_CFLAGS=""
49377 EXPORT_BY_ORDINALS=0
49378 exclude_symbols=""
49379 library_flags=""
49380 curDir=\`pwd\`
49381 curDirS=curDir
49382 case ${D}curDirS in
49383 */)
49384 ;;
49385 *)
49386 curDirS=${D}{curDirS}"/"
49387 ;;
49388 esac
49389 # Parse commandline
49390 libsToLink=0
49391 omfLinking=0
49392 while [ ${D}1 ]; do
49393 case ${D}1 in
49394 -ord*)
49395 EXPORT_BY_ORDINALS=1;
49396 ;;
49397 -o*)
49398 shift
49399 outFile=${D}1
49400 ;;
49401 -i*)
49402 shift
49403 outimpFile=${D}1
49404 ;;
49405 -name-mangler-script)
49406 shift
49407 renameScript=${D}1
49408 ;;
49409 -d*)
49410 shift
49411 description=${D}1
49412 ;;
49413 -f*)
49414 shift
49415 CFLAGS=${D}1
49416 ;;
49417 -c*)
49418 shift
49419 CC=${D}1
49420 ;;
49421 -h*)
49422 PrintHelp
49423 ;;
49424 -ex*)
49425 shift
49426 exclude_symbols=${D}{exclude_symbols}${D}1" "
49427 ;;
49428 -libf*)
49429 shift
49430 library_flags=${D}{library_flags}${D}1" "
49431 ;;
49432 -nocrt*)
49433 CFLAGS="-s"
49434 ;;
49435 -nolxl*)
49436 flag_USE_LXLITE=0
49437 ;;
49438 -* | /*)
49439 case ${D}1 in
49440 -L* | -l*)
49441 libsToLink=1
49442 ;;
49443 -Zomf)
49444 omfLinking=1
49445 ;;
49446 *)
49447 ;;
49448 esac
49449 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49450 ;;
49451 *.dll)
49452 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
49453 if [ ${D}omfLinking -eq 1 ]; then
49454 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
49455 else
49456 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
49457 fi
49458 ;;
49459 *)
49460 found=0;
49461 if [ ${D}libsToLink -ne 0 ]; then
49462 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49463 else
49464 for file in ${D}1 ; do
49465 if [ -f ${D}file ]; then
49466 inputFiles="${D}{inputFiles} ${D}file"
49467 found=1
49468 fi
49469 done
49470 if [ ${D}found -eq 0 ]; then
49471 echo "ERROR: No file(s) found: "${D}1
49472 exit 8
49473 fi
49474 fi
49475 ;;
49476 esac
49477 shift
49478 done # iterate cmdline words
49479
49480 #
49481 if [ -z "${D}inputFiles" ]; then
49482 echo "dllar: no input files"
49483 PrintHelp
49484 fi
49485
49486 # Now extract all .o files from .a files
49487 newInputFiles=""
49488 for file in ${D}inputFiles ; do
49489 case ${D}file in
49490 *.a | *.lib)
49491 case ${D}file in
49492 *.a)
49493 suffix=".a"
49494 AR="ar"
49495 ;;
49496 *.lib)
49497 suffix=".lib"
49498 AR="emxomfar"
49499 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49500 ;;
49501 *)
49502 ;;
49503 esac
49504 dirname=\`basnam ${D}file ${D}suffix\`"_%"
49505 mkdir ${D}dirname
49506 if [ ${D}? -ne 0 ]; then
49507 echo "Failed to create subdirectory ./${D}dirname"
49508 CleanUp
49509 exit 8;
49510 fi
49511 # Append '!' to indicate archive
49512 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49513 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49514 cd ${D}curDir
49515 found=0;
49516 for subfile in ${D}dirname/*.o* ; do
49517 if [ -f ${D}subfile ]; then
49518 found=1
49519 if [ -s ${D}subfile ]; then
49520 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49521 newInputFiles="${D}newInputFiles ${D}subfile"
49522 fi
49523 fi
49524 done
49525 if [ ${D}found -eq 0 ]; then
49526 echo "WARNING: there are no files in archive \\'${D}file\\'"
49527 fi
49528 ;;
49529 *)
49530 newInputFiles="${D}{newInputFiles} ${D}file"
49531 ;;
49532 esac
49533 done
49534 inputFiles="${D}newInputFiles"
49535
49536 # Output filename(s).
49537 do_backup=0;
49538 if [ -z ${D}outFile ]; then
49539 do_backup=1;
49540 set outFile ${D}inputFiles; outFile=${D}2
49541 fi
49542
49543 # If it is an archive, remove the '!' and the '_%' suffixes
49544 case ${D}outFile in
49545 *_%!)
49546 outFile=\`basnam ${D}outFile _%!\`
49547 ;;
49548 *)
49549 ;;
49550 esac
49551 case ${D}outFile in
49552 *.dll)
49553 outFile=\`basnam ${D}outFile .dll\`
49554 ;;
49555 *.DLL)
49556 outFile=\`basnam ${D}outFile .DLL\`
49557 ;;
49558 *.o)
49559 outFile=\`basnam ${D}outFile .o\`
49560 ;;
49561 *.obj)
49562 outFile=\`basnam ${D}outFile .obj\`
49563 ;;
49564 *.a)
49565 outFile=\`basnam ${D}outFile .a\`
49566 ;;
49567 *.lib)
49568 outFile=\`basnam ${D}outFile .lib\`
49569 ;;
49570 *)
49571 ;;
49572 esac
49573 case ${D}outimpFile in
49574 *.a)
49575 outimpFile=\`basnam ${D}outimpFile .a\`
49576 ;;
49577 *.lib)
49578 outimpFile=\`basnam ${D}outimpFile .lib\`
49579 ;;
49580 *)
49581 ;;
49582 esac
49583 if [ -z ${D}outimpFile ]; then
49584 outimpFile=${D}outFile
49585 fi
49586 defFile="${D}{outFile}.def"
49587 arcFile="${D}{outimpFile}.a"
49588 arcFile2="${D}{outimpFile}.lib"
49589
49590 #create ${D}dllFile as something matching 8.3 restrictions,
49591 if [ -z ${D}renameScript ] ; then
49592 dllFile="${D}outFile"
49593 else
49594 dllFile=\`${D}renameScript ${D}outimpFile\`
49595 fi
49596
49597 if [ ${D}do_backup -ne 0 ] ; then
49598 if [ -f ${D}arcFile ] ; then
49599 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49600 fi
49601 if [ -f ${D}arcFile2 ] ; then
49602 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49603 fi
49604 fi
49605
49606 # Extract public symbols from all the object files.
49607 tmpdefFile=${D}{defFile}_%
49608 rm -f ${D}tmpdefFile
49609 for file in ${D}inputFiles ; do
49610 case ${D}file in
49611 *!)
49612 ;;
49613 *)
49614 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49615 ;;
49616 esac
49617 done
49618
49619 # Create the def file.
49620 rm -f ${D}defFile
49621 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49622 dllFile="${D}{dllFile}.dll"
49623 if [ ! -z ${D}description ]; then
49624 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49625 fi
49626 echo "EXPORTS" >> ${D}defFile
49627
49628 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49629 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49630
49631 # Checks if the export is ok or not.
49632 for word in ${D}exclude_symbols; do
49633 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49634 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49635 done
49636
49637
49638 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49639 sed "=" < ${D}tmpdefFile | \\
49640 sed '
49641 N
49642 : loop
49643 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49644 t loop
49645 ' > ${D}{tmpdefFile}%
49646 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49647 else
49648 rm -f ${D}{tmpdefFile}%
49649 fi
49650 cat ${D}tmpdefFile >> ${D}defFile
49651 rm -f ${D}tmpdefFile
49652
49653 # Do linking, create implib, and apply lxlite.
49654 gccCmdl="";
49655 for file in ${D}inputFiles ; do
49656 case ${D}file in
49657 *!)
49658 ;;
49659 *)
49660 gccCmdl="${D}gccCmdl ${D}file"
49661 ;;
49662 esac
49663 done
49664 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49665 touch "${D}{outFile}.dll"
49666
49667 doCommand "emximp -o ${D}arcFile ${D}defFile"
49668 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49669 add_flags="";
49670 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49671 add_flags="-ynd"
49672 fi
49673 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49674 fi
49675 doCommand "emxomf -s -l ${D}arcFile"
49676
49677 # Successful exit.
49678 CleanUp 1
49679 exit 0
49680 EOF
49681
49682 chmod +x dllar.sh
49683 ;;
49684
49685 powerpc-apple-macos* | \
49686 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49687 *-*-mirbsd* | \
49688 *-*-sunos4* | \
49689 *-*-osf* | \
49690 *-*-dgux5* | \
49691 *-*-sysv5* | \
49692 *-pc-msdosdjgpp )
49693 ;;
49694
49695 *)
49696 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49697 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49698 { (exit 1); exit 1; }; }
49699 esac
49700
49701 if test "x$PIC_FLAG" != "x" ; then
49702 PIC_FLAG="$PIC_FLAG -DPIC"
49703 fi
49704
49705 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49706 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49707 fi
49708 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49709 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49710 fi
49711
49712
49713
49714
49715
49716
49717
49718
49719
49720 USE_SOVERSION=0
49721 USE_SOVERLINUX=0
49722 USE_SOVERSOLARIS=0
49723 USE_SOVERCYGWIN=0
49724 USE_SOTWOSYMLINKS=0
49725 USE_MACVERSION=0
49726 SONAME_FLAG=
49727
49728 case "${BAKEFILE_HOST}" in
49729 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49730 *-*-k*bsd*-gnu | *-*-mirbsd* )
49731 if test "x$SUNCXX" = "xyes"; then
49732 SONAME_FLAG="-h "
49733 else
49734 SONAME_FLAG="-Wl,-soname,"
49735 fi
49736 USE_SOVERSION=1
49737 USE_SOVERLINUX=1
49738 USE_SOTWOSYMLINKS=1
49739 ;;
49740
49741 *-*-solaris2* )
49742 SONAME_FLAG="-h "
49743 USE_SOVERSION=1
49744 USE_SOVERSOLARIS=1
49745 ;;
49746
49747 *-*-darwin* )
49748 USE_MACVERSION=1
49749 USE_SOVERSION=1
49750 USE_SOTWOSYMLINKS=1
49751 ;;
49752
49753 *-*-cygwin* )
49754 USE_SOVERSION=1
49755 USE_SOVERCYGWIN=1
49756 ;;
49757 esac
49758
49759
49760
49761
49762
49763
49764
49765
49766
49767
49768 # Check whether --enable-dependency-tracking was given.
49769 if test "${enable_dependency_tracking+set}" = set; then
49770 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49771 fi
49772
49773
49774 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49775 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49776
49777 BK_DEPS=""
49778 if test "x$bk_use_trackdeps" = "xno" ; then
49779 DEPS_TRACKING=0
49780 { echo "$as_me:$LINENO: result: disabled" >&5
49781 echo "${ECHO_T}disabled" >&6; }
49782 else
49783 DEPS_TRACKING=1
49784
49785 if test "x$GCC" = "xyes"; then
49786 DEPSMODE=gcc
49787 case "${BAKEFILE_HOST}" in
49788 *-*-darwin* )
49789 DEPSFLAG="-no-cpp-precomp -MMD"
49790 ;;
49791 * )
49792 DEPSFLAG="-MMD"
49793 ;;
49794 esac
49795 { echo "$as_me:$LINENO: result: gcc" >&5
49796 echo "${ECHO_T}gcc" >&6; }
49797 elif test "x$MWCC" = "xyes"; then
49798 DEPSMODE=mwcc
49799 DEPSFLAG="-MM"
49800 { echo "$as_me:$LINENO: result: mwcc" >&5
49801 echo "${ECHO_T}mwcc" >&6; }
49802 elif test "x$SUNCC" = "xyes"; then
49803 DEPSMODE=unixcc
49804 DEPSFLAG="-xM1"
49805 { echo "$as_me:$LINENO: result: Sun cc" >&5
49806 echo "${ECHO_T}Sun cc" >&6; }
49807 elif test "x$SGICC" = "xyes"; then
49808 DEPSMODE=unixcc
49809 DEPSFLAG="-M"
49810 { echo "$as_me:$LINENO: result: SGI cc" >&5
49811 echo "${ECHO_T}SGI cc" >&6; }
49812 elif test "x$HPCC" = "xyes"; then
49813 DEPSMODE=unixcc
49814 DEPSFLAG="+make"
49815 { echo "$as_me:$LINENO: result: HP cc" >&5
49816 echo "${ECHO_T}HP cc" >&6; }
49817 elif test "x$COMPAQCC" = "xyes"; then
49818 DEPSMODE=gcc
49819 DEPSFLAG="-MD"
49820 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49821 echo "${ECHO_T}Compaq cc" >&6; }
49822 else
49823 DEPS_TRACKING=0
49824 { echo "$as_me:$LINENO: result: none" >&5
49825 echo "${ECHO_T}none" >&6; }
49826 fi
49827
49828 if test $DEPS_TRACKING = 1 ; then
49829
49830 D='$'
49831 cat <<EOF >bk-deps
49832 #!/bin/sh
49833
49834 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49835 # script. It is used to track C/C++ files dependencies in portable way.
49836 #
49837 # Permission is given to use this file in any way.
49838
49839 DEPSMODE=${DEPSMODE}
49840 DEPSFLAG="${DEPSFLAG}"
49841 DEPSDIRBASE=.deps
49842
49843 if test ${D}DEPSMODE = gcc ; then
49844 ${D}* ${D}{DEPSFLAG}
49845 status=${D}?
49846
49847 # determine location of created files:
49848 while test ${D}# -gt 0; do
49849 case "${D}1" in
49850 -o )
49851 shift
49852 objfile=${D}1
49853 ;;
49854 -* )
49855 ;;
49856 * )
49857 srcfile=${D}1
49858 ;;
49859 esac
49860 shift
49861 done
49862 objfilebase=\`basename ${D}objfile\`
49863 builddir=\`dirname ${D}objfile\`
49864 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49865 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49866 depsdir=${D}builddir/${D}DEPSDIRBASE
49867 mkdir -p ${D}depsdir
49868
49869 # if the compiler failed, we're done:
49870 if test ${D}{status} != 0 ; then
49871 rm -f ${D}depfile
49872 exit ${D}{status}
49873 fi
49874
49875 # move created file to the location we want it in:
49876 if test -f ${D}depfile ; then
49877 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49878 rm -f ${D}depfile
49879 else
49880 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49881 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
49882 if test ! -f ${D}depfile ; then
49883 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49884 depfile="${D}objfile.d"
49885 fi
49886 if test -f ${D}depfile ; then
49887 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49888 rm -f ${D}depfile
49889 fi
49890 fi
49891 exit 0
49892
49893 elif test ${D}DEPSMODE = mwcc ; then
49894 ${D}* || exit ${D}?
49895 # Run mwcc again with -MM and redirect into the dep file we want
49896 # NOTE: We can't use shift here because we need ${D}* to be valid
49897 prevarg=
49898 for arg in ${D}* ; do
49899 if test "${D}prevarg" = "-o"; then
49900 objfile=${D}arg
49901 else
49902 case "${D}arg" in
49903 -* )
49904 ;;
49905 * )
49906 srcfile=${D}arg
49907 ;;
49908 esac
49909 fi
49910 prevarg="${D}arg"
49911 done
49912
49913 objfilebase=\`basename ${D}objfile\`
49914 builddir=\`dirname ${D}objfile\`
49915 depsdir=${D}builddir/${D}DEPSDIRBASE
49916 mkdir -p ${D}depsdir
49917
49918 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49919 exit 0
49920
49921 elif test ${D}DEPSMODE = unixcc; then
49922 ${D}* || exit ${D}?
49923 # Run compiler again with deps flag and redirect into the dep file.
49924 # It doesn't work if the '-o FILE' option is used, but without it the
49925 # dependency file will contain the wrong name for the object. So it is
49926 # removed from the command line, and the dep file is fixed with sed.
49927 cmd=""
49928 while test ${D}# -gt 0; do
49929 case "${D}1" in
49930 -o )
49931 shift
49932 objfile=${D}1
49933 ;;
49934 * )
49935 eval arg${D}#=\\${D}1
49936 cmd="${D}cmd \\${D}arg${D}#"
49937 ;;
49938 esac
49939 shift
49940 done
49941
49942 objfilebase=\`basename ${D}objfile\`
49943 builddir=\`dirname ${D}objfile\`
49944 depsdir=${D}builddir/${D}DEPSDIRBASE
49945 mkdir -p ${D}depsdir
49946
49947 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49948 exit 0
49949
49950 else
49951 ${D}*
49952 exit ${D}?
49953 fi
49954 EOF
49955
49956 chmod +x bk-deps
49957 BK_DEPS="`pwd`/bk-deps"
49958 fi
49959 fi
49960
49961
49962
49963
49964
49965 case ${BAKEFILE_HOST} in
49966 *-*-cygwin* | *-*-mingw32* )
49967 if test -n "$ac_tool_prefix"; then
49968 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49969 set dummy ${ac_tool_prefix}windres; ac_word=$2
49970 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49972 if test "${ac_cv_prog_WINDRES+set}" = set; then
49973 echo $ECHO_N "(cached) $ECHO_C" >&6
49974 else
49975 if test -n "$WINDRES"; then
49976 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49977 else
49978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49979 for as_dir in $PATH
49980 do
49981 IFS=$as_save_IFS
49982 test -z "$as_dir" && as_dir=.
49983 for ac_exec_ext in '' $ac_executable_extensions; do
49984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49985 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49987 break 2
49988 fi
49989 done
49990 done
49991 IFS=$as_save_IFS
49992
49993 fi
49994 fi
49995 WINDRES=$ac_cv_prog_WINDRES
49996 if test -n "$WINDRES"; then
49997 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49998 echo "${ECHO_T}$WINDRES" >&6; }
49999 else
50000 { echo "$as_me:$LINENO: result: no" >&5
50001 echo "${ECHO_T}no" >&6; }
50002 fi
50003
50004
50005 fi
50006 if test -z "$ac_cv_prog_WINDRES"; then
50007 ac_ct_WINDRES=$WINDRES
50008 # Extract the first word of "windres", so it can be a program name with args.
50009 set dummy windres; ac_word=$2
50010 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50012 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
50013 echo $ECHO_N "(cached) $ECHO_C" >&6
50014 else
50015 if test -n "$ac_ct_WINDRES"; then
50016 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
50017 else
50018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50019 for as_dir in $PATH
50020 do
50021 IFS=$as_save_IFS
50022 test -z "$as_dir" && as_dir=.
50023 for ac_exec_ext in '' $ac_executable_extensions; do
50024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50025 ac_cv_prog_ac_ct_WINDRES="windres"
50026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50027 break 2
50028 fi
50029 done
50030 done
50031 IFS=$as_save_IFS
50032
50033 fi
50034 fi
50035 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
50036 if test -n "$ac_ct_WINDRES"; then
50037 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
50038 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
50039 else
50040 { echo "$as_me:$LINENO: result: no" >&5
50041 echo "${ECHO_T}no" >&6; }
50042 fi
50043
50044 if test "x$ac_ct_WINDRES" = x; then
50045 WINDRES=""
50046 else
50047 case $cross_compiling:$ac_tool_warned in
50048 yes:)
50049 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50050 whose name does not start with the host triplet. If you think this
50051 configuration is useful to you, please write to autoconf@gnu.org." >&5
50052 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50053 whose name does not start with the host triplet. If you think this
50054 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50055 ac_tool_warned=yes ;;
50056 esac
50057 WINDRES=$ac_ct_WINDRES
50058 fi
50059 else
50060 WINDRES="$ac_cv_prog_WINDRES"
50061 fi
50062
50063 ;;
50064
50065 *-*-darwin* | powerpc-apple-macos* )
50066 # Extract the first word of "Rez", so it can be a program name with args.
50067 set dummy Rez; ac_word=$2
50068 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50070 if test "${ac_cv_prog_REZ+set}" = set; then
50071 echo $ECHO_N "(cached) $ECHO_C" >&6
50072 else
50073 if test -n "$REZ"; then
50074 ac_cv_prog_REZ="$REZ" # Let the user override the test.
50075 else
50076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50077 for as_dir in $PATH
50078 do
50079 IFS=$as_save_IFS
50080 test -z "$as_dir" && as_dir=.
50081 for ac_exec_ext in '' $ac_executable_extensions; do
50082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50083 ac_cv_prog_REZ="Rez"
50084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50085 break 2
50086 fi
50087 done
50088 done
50089 IFS=$as_save_IFS
50090
50091 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
50092 fi
50093 fi
50094 REZ=$ac_cv_prog_REZ
50095 if test -n "$REZ"; then
50096 { echo "$as_me:$LINENO: result: $REZ" >&5
50097 echo "${ECHO_T}$REZ" >&6; }
50098 else
50099 { echo "$as_me:$LINENO: result: no" >&5
50100 echo "${ECHO_T}no" >&6; }
50101 fi
50102
50103
50104 # Extract the first word of "SetFile", so it can be a program name with args.
50105 set dummy SetFile; ac_word=$2
50106 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50108 if test "${ac_cv_prog_SETFILE+set}" = set; then
50109 echo $ECHO_N "(cached) $ECHO_C" >&6
50110 else
50111 if test -n "$SETFILE"; then
50112 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
50113 else
50114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50115 for as_dir in $PATH
50116 do
50117 IFS=$as_save_IFS
50118 test -z "$as_dir" && as_dir=.
50119 for ac_exec_ext in '' $ac_executable_extensions; do
50120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50121 ac_cv_prog_SETFILE="SetFile"
50122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50123 break 2
50124 fi
50125 done
50126 done
50127 IFS=$as_save_IFS
50128
50129 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
50130 fi
50131 fi
50132 SETFILE=$ac_cv_prog_SETFILE
50133 if test -n "$SETFILE"; then
50134 { echo "$as_me:$LINENO: result: $SETFILE" >&5
50135 echo "${ECHO_T}$SETFILE" >&6; }
50136 else
50137 { echo "$as_me:$LINENO: result: no" >&5
50138 echo "${ECHO_T}no" >&6; }
50139 fi
50140
50141
50142 ;;
50143 esac
50144
50145
50146
50147
50148
50149
50150
50151
50152
50153 BAKEFILE_BAKEFILE_M4_VERSION="0.2.8"
50154
50155
50156 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.8"
50157
50158
50159
50160 # Check whether --enable-precomp-headers was given.
50161 if test "${enable_precomp_headers+set}" = set; then
50162 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
50163 fi
50164
50165
50166 GCC_PCH=0
50167 ICC_PCH=0
50168 USE_PCH=0
50169 BK_MAKE_PCH=""
50170
50171 case ${BAKEFILE_HOST} in
50172 *-*-cygwin* )
50173 bk_use_pch="no"
50174 ;;
50175 esac
50176
50177 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
50178 if test "x$GCC" = "xyes"; then
50179 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
50180 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
50181 cat >conftest.$ac_ext <<_ACEOF
50182 /* confdefs.h. */
50183 _ACEOF
50184 cat confdefs.h >>conftest.$ac_ext
50185 cat >>conftest.$ac_ext <<_ACEOF
50186 /* end confdefs.h. */
50187
50188 int
50189 main ()
50190 {
50191
50192 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
50193 There is no PCH support
50194 #endif
50195 #if (__GNUC__ < 3)
50196 There is no PCH support
50197 #endif
50198 #if (__GNUC__ == 3) && \
50199 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
50200 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
50201 ( defined(__INTEL_COMPILER) )
50202 There is no PCH support
50203 #endif
50204
50205 ;
50206 return 0;
50207 }
50208 _ACEOF
50209 rm -f conftest.$ac_objext
50210 if { (ac_try="$ac_compile"
50211 case "(($ac_try" in
50212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50213 *) ac_try_echo=$ac_try;;
50214 esac
50215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50216 (eval "$ac_compile") 2>conftest.er1
50217 ac_status=$?
50218 grep -v '^ *+' conftest.er1 >conftest.err
50219 rm -f conftest.er1
50220 cat conftest.err >&5
50221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50222 (exit $ac_status); } && {
50223 test -z "$ac_c_werror_flag" ||
50224 test ! -s conftest.err
50225 } && test -s conftest.$ac_objext; then
50226
50227 { echo "$as_me:$LINENO: result: yes" >&5
50228 echo "${ECHO_T}yes" >&6; }
50229 GCC_PCH=1
50230
50231 else
50232 echo "$as_me: failed program was:" >&5
50233 sed 's/^/| /' conftest.$ac_ext >&5
50234
50235
50236 if test "$INTELCXX8" = "yes"; then
50237 { echo "$as_me:$LINENO: result: yes" >&5
50238 echo "${ECHO_T}yes" >&6; }
50239 ICC_PCH=1
50240 if test "$INTELCXX10" = "yes"; then
50241 ICC_PCH_CREATE_SWITCH="-pch-create"
50242 ICC_PCH_USE_SWITCH="-pch-use"
50243 else
50244 ICC_PCH_CREATE_SWITCH="-create-pch"
50245 ICC_PCH_USE_SWITCH="-use-pch"
50246 fi
50247 else
50248 { echo "$as_me:$LINENO: result: no" >&5
50249 echo "${ECHO_T}no" >&6; }
50250 fi
50251
50252 fi
50253
50254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50255 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
50256 USE_PCH=1
50257
50258 D='$'
50259 cat <<EOF >bk-make-pch
50260 #!/bin/sh
50261
50262 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50263 # script. It is used to generated precompiled headers.
50264 #
50265 # Permission is given to use this file in any way.
50266
50267 outfile="${D}{1}"
50268 header="${D}{2}"
50269 shift
50270 shift
50271
50272 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
50273
50274 compiler=""
50275 headerfile=""
50276
50277 while test ${D}{#} -gt 0; do
50278 add_to_cmdline=1
50279 case "${D}{1}" in
50280 -I* )
50281 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
50282 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
50283 headerfile="${D}{incdir}/${D}{header}"
50284 fi
50285 ;;
50286 -use-pch|-use_pch|-pch-use )
50287 shift
50288 add_to_cmdline=0
50289 ;;
50290 esac
50291 if test ${D}add_to_cmdline = 1 ; then
50292 compiler="${D}{compiler} ${D}{1}"
50293 fi
50294 shift
50295 done
50296
50297 if test "x${D}{headerfile}" = "x" ; then
50298 echo "error: can't find header ${D}{header} in include paths" >&2
50299 else
50300 if test -f ${D}{outfile} ; then
50301 rm -f ${D}{outfile}
50302 else
50303 mkdir -p \`dirname ${D}{outfile}\`
50304 fi
50305 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
50306 mkdir -p ${D}{builddir}/.deps
50307 if test "x${GCC_PCH}" = "x1" ; then
50308 # can do this because gcc is >= 3.4:
50309 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
50310 elif test "x${ICC_PCH}" = "x1" ; then
50311 filename=pch_gen-${D}${D}
50312 file=${D}{filename}.c
50313 dfile=${D}{filename}.d
50314 cat > ${D}file <<EOT
50315 #include "${D}header"
50316 EOT
50317 # using -MF icc complains about differing command lines in creation/use
50318 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
50319 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
50320 rm -f ${D}file ${D}dfile ${D}{filename}.o
50321 fi
50322 exit ${D}{?}
50323 fi
50324 EOF
50325
50326 chmod +x bk-make-pch
50327 BK_MAKE_PCH="`pwd`/bk-make-pch"
50328 fi
50329 fi
50330 fi
50331
50332
50333
50334
50335
50336
50337
50338 COND_BUILD_DEBUG="#"
50339 if test "x$BUILD" = "xdebug" ; then
50340 COND_BUILD_DEBUG=""
50341 fi
50342
50343 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
50344 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50345 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
50346 fi
50347
50348 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
50349 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50350 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
50351 fi
50352
50353 COND_BUILD_DEBUG_UNICODE_0="#"
50354 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50355 COND_BUILD_DEBUG_UNICODE_0=""
50356 fi
50357
50358 COND_BUILD_DEBUG_UNICODE_1="#"
50359 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50360 COND_BUILD_DEBUG_UNICODE_1=""
50361 fi
50362
50363 COND_BUILD_RELEASE="#"
50364 if test "x$BUILD" = "xrelease" ; then
50365 COND_BUILD_RELEASE=""
50366 fi
50367
50368 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
50369 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50370 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
50371 fi
50372
50373 COND_BUILD_RELEASE_UNICODE_0="#"
50374 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50375 COND_BUILD_RELEASE_UNICODE_0=""
50376 fi
50377
50378 COND_BUILD_RELEASE_UNICODE_1="#"
50379 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50380 COND_BUILD_RELEASE_UNICODE_1=""
50381 fi
50382
50383 COND_BUILD_debug="#"
50384 if test "x$BUILD" = "xdebug" ; then
50385 COND_BUILD_debug=""
50386 fi
50387
50388 COND_BUILD_debug_DEBUG_FLAG_default="#"
50389 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50390 COND_BUILD_debug_DEBUG_FLAG_default=""
50391 fi
50392
50393 COND_BUILD_debug_DEBUG_INFO_default="#"
50394 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50395 COND_BUILD_debug_DEBUG_INFO_default=""
50396 fi
50397
50398 COND_BUILD_debug_UNICODE_0="#"
50399 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50400 COND_BUILD_debug_UNICODE_0=""
50401 fi
50402
50403 COND_BUILD_debug_UNICODE_1="#"
50404 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50405 COND_BUILD_debug_UNICODE_1=""
50406 fi
50407
50408 COND_BUILD_release="#"
50409 if test "x$BUILD" = "xrelease" ; then
50410 COND_BUILD_release=""
50411 fi
50412
50413 COND_BUILD_release_DEBUG_INFO_default="#"
50414 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50415 COND_BUILD_release_DEBUG_INFO_default=""
50416 fi
50417
50418 COND_BUILD_release_UNICODE_0="#"
50419 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50420 COND_BUILD_release_UNICODE_0=""
50421 fi
50422
50423 COND_BUILD_release_UNICODE_1="#"
50424 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50425 COND_BUILD_release_UNICODE_1=""
50426 fi
50427
50428 COND_DEBUG_FLAG_0="#"
50429 if test "x$DEBUG_FLAG" = "x0" ; then
50430 COND_DEBUG_FLAG_0=""
50431 fi
50432
50433 COND_DEBUG_FLAG_1="#"
50434 if test "x$DEBUG_FLAG" = "x1" ; then
50435 COND_DEBUG_FLAG_1=""
50436 fi
50437
50438 COND_DEBUG_INFO_0="#"
50439 if test "x$DEBUG_INFO" = "x0" ; then
50440 COND_DEBUG_INFO_0=""
50441 fi
50442
50443 COND_DEBUG_INFO_1="#"
50444 if test "x$DEBUG_INFO" = "x1" ; then
50445 COND_DEBUG_INFO_1=""
50446 fi
50447
50448 COND_DEPS_TRACKING_0="#"
50449 if test "x$DEPS_TRACKING" = "x0" ; then
50450 COND_DEPS_TRACKING_0=""
50451 fi
50452
50453 COND_DEPS_TRACKING_1="#"
50454 if test "x$DEPS_TRACKING" = "x1" ; then
50455 COND_DEPS_TRACKING_1=""
50456 fi
50457
50458 COND_GCC_PCH_1="#"
50459 if test "x$GCC_PCH" = "x1" ; then
50460 COND_GCC_PCH_1=""
50461 fi
50462
50463 COND_ICC_PCH_1="#"
50464 if test "x$ICC_PCH" = "x1" ; then
50465 COND_ICC_PCH_1=""
50466 fi
50467
50468 COND_MONOLITHIC_0="#"
50469 if test "x$MONOLITHIC" = "x0" ; then
50470 COND_MONOLITHIC_0=""
50471 fi
50472
50473 COND_MONOLITHIC_0_SHARED_0="#"
50474 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
50475 COND_MONOLITHIC_0_SHARED_0=""
50476 fi
50477
50478 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
50479 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
50480 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
50481 fi
50482
50483 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
50484 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
50485 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
50486 fi
50487
50488 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
50489 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50490 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
50491 fi
50492
50493 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
50494 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50495 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
50496 fi
50497
50498 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
50499 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50500 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
50501 fi
50502
50503 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
50504 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50505 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
50506 fi
50507
50508 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
50509 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50510 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
50511 fi
50512
50513 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
50514 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50515 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
50516 fi
50517
50518 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
50519 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50520 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
50521 fi
50522
50523 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
50524 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50525 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
50526 fi
50527
50528 COND_MONOLITHIC_0_SHARED_1="#"
50529 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50530 COND_MONOLITHIC_0_SHARED_1=""
50531 fi
50532
50533 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
50534 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50535 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
50536 fi
50537
50538 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
50539 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50540 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
50541 fi
50542
50543 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
50544 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50545 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
50546 fi
50547
50548 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
50549 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50550 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
50551 fi
50552
50553 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
50554 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50555 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
50556 fi
50557
50558 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
50559 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
50560 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
50561 fi
50562
50563 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
50564 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
50565 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
50566 fi
50567
50568 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
50569 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50570 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
50571 fi
50572
50573 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
50574 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
50575 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
50576 fi
50577
50578 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
50579 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50580 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
50581 fi
50582
50583 COND_MONOLITHIC_0_USE_AUI_1="#"
50584 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
50585 COND_MONOLITHIC_0_USE_AUI_1=""
50586 fi
50587
50588 COND_MONOLITHIC_0_USE_GUI_1="#"
50589 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
50590 COND_MONOLITHIC_0_USE_GUI_1=""
50591 fi
50592
50593 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
50594 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50595 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
50596 fi
50597
50598 COND_MONOLITHIC_0_USE_HTML_1="#"
50599 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
50600 COND_MONOLITHIC_0_USE_HTML_1=""
50601 fi
50602
50603 COND_MONOLITHIC_0_USE_MEDIA_1="#"
50604 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50605 COND_MONOLITHIC_0_USE_MEDIA_1=""
50606 fi
50607
50608 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
50609 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50610 COND_MONOLITHIC_0_USE_PROPGRID_1=""
50611 fi
50612
50613 COND_MONOLITHIC_0_USE_QA_1="#"
50614 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
50615 COND_MONOLITHIC_0_USE_QA_1=""
50616 fi
50617
50618 COND_MONOLITHIC_0_USE_RIBBON_1="#"
50619 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50620 COND_MONOLITHIC_0_USE_RIBBON_1=""
50621 fi
50622
50623 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
50624 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50625 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
50626 fi
50627
50628 COND_MONOLITHIC_0_USE_STC_1="#"
50629 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50630 COND_MONOLITHIC_0_USE_STC_1=""
50631 fi
50632
50633 COND_MONOLITHIC_0_USE_XRC_1="#"
50634 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50635 COND_MONOLITHIC_0_USE_XRC_1=""
50636 fi
50637
50638 COND_MONOLITHIC_1="#"
50639 if test "x$MONOLITHIC" = "x1" ; then
50640 COND_MONOLITHIC_1=""
50641 fi
50642
50643 COND_MONOLITHIC_1_SHARED_0="#"
50644 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50645 COND_MONOLITHIC_1_SHARED_0=""
50646 fi
50647
50648 COND_MONOLITHIC_1_SHARED_1="#"
50649 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50650 COND_MONOLITHIC_1_SHARED_1=""
50651 fi
50652
50653 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50654 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50655 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50656 fi
50657
50658 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50659 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50660 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50661 fi
50662
50663 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50664 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50665 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50666 fi
50667
50668 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50669 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50670 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50671 fi
50672
50673 COND_PLATFORM_MACOSX_1="#"
50674 if test "x$PLATFORM_MACOSX" = "x1" ; then
50675 COND_PLATFORM_MACOSX_1=""
50676 fi
50677
50678 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
50679 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50680 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
50681 fi
50682
50683 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
50684 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
50685 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
50686 fi
50687
50688 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50689 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50690 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50691 fi
50692
50693 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50694 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50695 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50696 fi
50697
50698 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50699 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50700 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50701 fi
50702
50703 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50704 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50705 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50706 fi
50707
50708 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50709 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50710 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50711 fi
50712
50713 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
50714 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50715 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
50716 fi
50717
50718 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50719 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50720 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50721 fi
50722
50723 COND_PLATFORM_MACOS_1="#"
50724 if test "x$PLATFORM_MACOS" = "x1" ; then
50725 COND_PLATFORM_MACOS_1=""
50726 fi
50727
50728 COND_PLATFORM_MAC_0="#"
50729 if test "x$PLATFORM_MAC" = "x0" ; then
50730 COND_PLATFORM_MAC_0=""
50731 fi
50732
50733 COND_PLATFORM_MAC_1="#"
50734 if test "x$PLATFORM_MAC" = "x1" ; then
50735 COND_PLATFORM_MAC_1=""
50736 fi
50737
50738 COND_PLATFORM_MSDOS_0="#"
50739 if test "x$PLATFORM_MSDOS" = "x0" ; then
50740 COND_PLATFORM_MSDOS_0=""
50741 fi
50742
50743 COND_PLATFORM_MSDOS_1="#"
50744 if test "x$PLATFORM_MSDOS" = "x1" ; then
50745 COND_PLATFORM_MSDOS_1=""
50746 fi
50747
50748 COND_PLATFORM_OS2_1="#"
50749 if test "x$PLATFORM_OS2" = "x1" ; then
50750 COND_PLATFORM_OS2_1=""
50751 fi
50752
50753 COND_PLATFORM_UNIX_0="#"
50754 if test "x$PLATFORM_UNIX" = "x0" ; then
50755 COND_PLATFORM_UNIX_0=""
50756 fi
50757
50758 COND_PLATFORM_UNIX_1="#"
50759 if test "x$PLATFORM_UNIX" = "x1" ; then
50760 COND_PLATFORM_UNIX_1=""
50761 fi
50762
50763 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50764 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50765 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50766 fi
50767
50768 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50769 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50770 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50771 fi
50772
50773 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50774 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50775 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50776 fi
50777
50778 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50779 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50780 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50781 fi
50782
50783 COND_PLATFORM_WIN32_0="#"
50784 if test "x$PLATFORM_WIN32" = "x0" ; then
50785 COND_PLATFORM_WIN32_0=""
50786 fi
50787
50788 COND_PLATFORM_WIN32_1="#"
50789 if test "x$PLATFORM_WIN32" = "x1" ; then
50790 COND_PLATFORM_WIN32_1=""
50791 fi
50792
50793 COND_PLATFORM_WIN32_1_SHARED_0="#"
50794 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
50795 COND_PLATFORM_WIN32_1_SHARED_0=""
50796 fi
50797
50798 COND_SHARED_0="#"
50799 if test "x$SHARED" = "x0" ; then
50800 COND_SHARED_0=""
50801 fi
50802
50803 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50804 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50805 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50806 fi
50807
50808 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50809 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50810 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50811 fi
50812
50813 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50814 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50815 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50816 fi
50817
50818 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50819 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50820 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50821 fi
50822
50823 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50824 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50825 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50826 fi
50827
50828 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50829 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50830 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50831 fi
50832
50833 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50834 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50835 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50836 fi
50837
50838 COND_SHARED_0_USE_STC_1="#"
50839 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50840 COND_SHARED_0_USE_STC_1=""
50841 fi
50842
50843 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
50844 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50845 COND_SHARED_0_wxUSE_EXPAT_builtin=""
50846 fi
50847
50848 COND_SHARED_0_wxUSE_REGEX_builtin="#"
50849 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50850 COND_SHARED_0_wxUSE_REGEX_builtin=""
50851 fi
50852
50853 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
50854 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50855 COND_SHARED_0_wxUSE_ZLIB_builtin=""
50856 fi
50857
50858 COND_SHARED_1="#"
50859 if test "x$SHARED" = "x1" ; then
50860 COND_SHARED_1=""
50861 fi
50862
50863 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50864 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50865 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50866 fi
50867
50868 COND_TOOLKIT_="#"
50869 if test "x$TOOLKIT" = "x" ; then
50870 COND_TOOLKIT_=""
50871 fi
50872
50873 COND_TOOLKIT_COCOA="#"
50874 if test "x$TOOLKIT" = "xCOCOA" ; then
50875 COND_TOOLKIT_COCOA=""
50876 fi
50877
50878 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50879 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50880 COND_TOOLKIT_COCOA_USE_GUI_1=""
50881 fi
50882
50883 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50884 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50885 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50886 fi
50887
50888 COND_TOOLKIT_DFB="#"
50889 if test "x$TOOLKIT" = "xDFB" ; then
50890 COND_TOOLKIT_DFB=""
50891 fi
50892
50893 COND_TOOLKIT_DFB_USE_GUI_1="#"
50894 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50895 COND_TOOLKIT_DFB_USE_GUI_1=""
50896 fi
50897
50898 COND_TOOLKIT_GTK="#"
50899 if test "x$TOOLKIT" = "xGTK" ; then
50900 COND_TOOLKIT_GTK=""
50901 fi
50902
50903 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50904 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50905 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50906 fi
50907
50908 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50909 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50910 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50911 fi
50912
50913 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50914 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50915 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50916 fi
50917
50918 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50919 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50920 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50921 fi
50922
50923 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50924 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50925 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50926 fi
50927
50928 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50929 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50930 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50931 fi
50932
50933 COND_TOOLKIT_GTK_USE_GUI_1="#"
50934 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50935 COND_TOOLKIT_GTK_USE_GUI_1=""
50936 fi
50937
50938 COND_TOOLKIT_MAC="#"
50939 if test "x$TOOLKIT" = "xMAC" ; then
50940 COND_TOOLKIT_MAC=""
50941 fi
50942
50943 COND_TOOLKIT_MGL="#"
50944 if test "x$TOOLKIT" = "xMGL" ; then
50945 COND_TOOLKIT_MGL=""
50946 fi
50947
50948 COND_TOOLKIT_MGL_USE_GUI_1="#"
50949 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50950 COND_TOOLKIT_MGL_USE_GUI_1=""
50951 fi
50952
50953 COND_TOOLKIT_MOTIF="#"
50954 if test "x$TOOLKIT" = "xMOTIF" ; then
50955 COND_TOOLKIT_MOTIF=""
50956 fi
50957
50958 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50959 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50960 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50961 fi
50962
50963 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50964 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50965 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50966 fi
50967
50968 COND_TOOLKIT_MSW="#"
50969 if test "x$TOOLKIT" = "xMSW" ; then
50970 COND_TOOLKIT_MSW=""
50971 fi
50972
50973 COND_TOOLKIT_MSW_USE_GUI_1="#"
50974 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50975 COND_TOOLKIT_MSW_USE_GUI_1=""
50976 fi
50977
50978 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50979 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50980 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50981 fi
50982
50983 COND_TOOLKIT_MSW_WXUNIV_0="#"
50984 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50985 COND_TOOLKIT_MSW_WXUNIV_0=""
50986 fi
50987
50988 COND_TOOLKIT_OSX_CARBON="#"
50989 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50990 COND_TOOLKIT_OSX_CARBON=""
50991 fi
50992
50993 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50994 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50995 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50996 fi
50997
50998 COND_TOOLKIT_OSX_COCOA="#"
50999 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
51000 COND_TOOLKIT_OSX_COCOA=""
51001 fi
51002
51003 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51004 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51005 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51006 fi
51007
51008 COND_TOOLKIT_OSX_IPHONE="#"
51009 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
51010 COND_TOOLKIT_OSX_IPHONE=""
51011 fi
51012
51013 COND_TOOLKIT_PM="#"
51014 if test "x$TOOLKIT" = "xPM" ; then
51015 COND_TOOLKIT_PM=""
51016 fi
51017
51018 COND_TOOLKIT_PM_USE_GUI_1="#"
51019 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
51020 COND_TOOLKIT_PM_USE_GUI_1=""
51021 fi
51022
51023 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
51024 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51025 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
51026 fi
51027
51028 COND_TOOLKIT_WINCE="#"
51029 if test "x$TOOLKIT" = "xWINCE" ; then
51030 COND_TOOLKIT_WINCE=""
51031 fi
51032
51033 COND_TOOLKIT_WINCE_USE_GUI_1="#"
51034 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
51035 COND_TOOLKIT_WINCE_USE_GUI_1=""
51036 fi
51037
51038 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
51039 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51040 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
51041 fi
51042
51043 COND_TOOLKIT_WINCE_WXUNIV_0="#"
51044 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
51045 COND_TOOLKIT_WINCE_WXUNIV_0=""
51046 fi
51047
51048 COND_TOOLKIT_X11="#"
51049 if test "x$TOOLKIT" = "xX11" ; then
51050 COND_TOOLKIT_X11=""
51051 fi
51052
51053 COND_TOOLKIT_X11_USE_GUI_1="#"
51054 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
51055 COND_TOOLKIT_X11_USE_GUI_1=""
51056 fi
51057
51058 COND_UNICODE_1="#"
51059 if test "x$UNICODE" = "x1" ; then
51060 COND_UNICODE_1=""
51061 fi
51062
51063 COND_USE_CAIRO_1="#"
51064 if test "x$USE_CAIRO" = "x1" ; then
51065 COND_USE_CAIRO_1=""
51066 fi
51067
51068 COND_USE_EXCEPTIONS_0="#"
51069 if test "x$USE_EXCEPTIONS" = "x0" ; then
51070 COND_USE_EXCEPTIONS_0=""
51071 fi
51072
51073 COND_USE_EXCEPTIONS_1="#"
51074 if test "x$USE_EXCEPTIONS" = "x1" ; then
51075 COND_USE_EXCEPTIONS_1=""
51076 fi
51077
51078 COND_USE_GUI_0="#"
51079 if test "x$USE_GUI" = "x0" ; then
51080 COND_USE_GUI_0=""
51081 fi
51082
51083 COND_USE_GUI_1="#"
51084 if test "x$USE_GUI" = "x1" ; then
51085 COND_USE_GUI_1=""
51086 fi
51087
51088 COND_USE_GUI_1_USE_OPENGL_1="#"
51089 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51090 COND_USE_GUI_1_USE_OPENGL_1=""
51091 fi
51092
51093 COND_USE_GUI_1_WXUNIV_0="#"
51094 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51095 COND_USE_GUI_1_WXUNIV_0=""
51096 fi
51097
51098 COND_USE_GUI_1_WXUNIV_1="#"
51099 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
51100 COND_USE_GUI_1_WXUNIV_1=""
51101 fi
51102
51103 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51104 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51105 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51106 fi
51107
51108 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51109 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51110 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51111 fi
51112
51113 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51114 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51115 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51116 fi
51117
51118 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51119 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51120 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51121 fi
51122
51123 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51124 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51125 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51126 fi
51127
51128 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51129 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51130 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51131 fi
51132
51133 COND_USE_OPENGL_1="#"
51134 if test "x$USE_OPENGL" = "x1" ; then
51135 COND_USE_OPENGL_1=""
51136 fi
51137
51138 COND_USE_PCH_1="#"
51139 if test "x$USE_PCH" = "x1" ; then
51140 COND_USE_PCH_1=""
51141 fi
51142
51143 COND_USE_PLUGINS_0="#"
51144 if test "x$USE_PLUGINS" = "x0" ; then
51145 COND_USE_PLUGINS_0=""
51146 fi
51147
51148 COND_USE_RTTI_0="#"
51149 if test "x$USE_RTTI" = "x0" ; then
51150 COND_USE_RTTI_0=""
51151 fi
51152
51153 COND_USE_RTTI_1="#"
51154 if test "x$USE_RTTI" = "x1" ; then
51155 COND_USE_RTTI_1=""
51156 fi
51157
51158 COND_USE_SOTWOSYMLINKS_1="#"
51159 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
51160 COND_USE_SOTWOSYMLINKS_1=""
51161 fi
51162
51163 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
51164 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51165 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
51166 fi
51167
51168 COND_USE_SOVERLINUX_1="#"
51169 if test "x$USE_SOVERLINUX" = "x1" ; then
51170 COND_USE_SOVERLINUX_1=""
51171 fi
51172
51173 COND_USE_SOVERSION_0="#"
51174 if test "x$USE_SOVERSION" = "x0" ; then
51175 COND_USE_SOVERSION_0=""
51176 fi
51177
51178 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
51179 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
51180 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
51181 fi
51182
51183 COND_USE_SOVERSOLARIS_1="#"
51184 if test "x$USE_SOVERSOLARIS" = "x1" ; then
51185 COND_USE_SOVERSOLARIS_1=""
51186 fi
51187
51188 COND_USE_STC_1="#"
51189 if test "x$USE_STC" = "x1" ; then
51190 COND_USE_STC_1=""
51191 fi
51192
51193 COND_USE_THREADS_0="#"
51194 if test "x$USE_THREADS" = "x0" ; then
51195 COND_USE_THREADS_0=""
51196 fi
51197
51198 COND_USE_THREADS_1="#"
51199 if test "x$USE_THREADS" = "x1" ; then
51200 COND_USE_THREADS_1=""
51201 fi
51202
51203 COND_USE_XRC_1="#"
51204 if test "x$USE_XRC" = "x1" ; then
51205 COND_USE_XRC_1=""
51206 fi
51207
51208 COND_WINDOWS_IMPLIB_1="#"
51209 if test "x$WINDOWS_IMPLIB" = "x1" ; then
51210 COND_WINDOWS_IMPLIB_1=""
51211 fi
51212
51213 COND_WITH_PLUGIN_SDL_1="#"
51214 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
51215 COND_WITH_PLUGIN_SDL_1=""
51216 fi
51217
51218 COND_WXUNIV_0="#"
51219 if test "x$WXUNIV" = "x0" ; then
51220 COND_WXUNIV_0=""
51221 fi
51222
51223 COND_WXUNIV_1="#"
51224 if test "x$WXUNIV" = "x1" ; then
51225 COND_WXUNIV_1=""
51226 fi
51227
51228 COND_WXUSE_EXPAT_BUILTIN="#"
51229 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51230 COND_WXUSE_EXPAT_BUILTIN=""
51231 fi
51232
51233 COND_WXUSE_LIBJPEG_BUILTIN="#"
51234 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51235 COND_WXUSE_LIBJPEG_BUILTIN=""
51236 fi
51237
51238 COND_WXUSE_LIBPNG_BUILTIN="#"
51239 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51240 COND_WXUSE_LIBPNG_BUILTIN=""
51241 fi
51242
51243 COND_WXUSE_LIBTIFF_BUILTIN="#"
51244 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51245 COND_WXUSE_LIBTIFF_BUILTIN=""
51246 fi
51247
51248 COND_WXUSE_REGEX_BUILTIN="#"
51249 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51250 COND_WXUSE_REGEX_BUILTIN=""
51251 fi
51252
51253 COND_WXUSE_ZLIB_BUILTIN="#"
51254 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51255 COND_WXUSE_ZLIB_BUILTIN=""
51256 fi
51257
51258 COND_wxUSE_EXPAT_builtin="#"
51259 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51260 COND_wxUSE_EXPAT_builtin=""
51261 fi
51262
51263 COND_wxUSE_LIBJPEG_builtin="#"
51264 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51265 COND_wxUSE_LIBJPEG_builtin=""
51266 fi
51267
51268 COND_wxUSE_LIBPNG_builtin="#"
51269 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51270 COND_wxUSE_LIBPNG_builtin=""
51271 fi
51272
51273 COND_wxUSE_LIBTIFF_builtin="#"
51274 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51275 COND_wxUSE_LIBTIFF_builtin=""
51276 fi
51277
51278 COND_wxUSE_REGEX_builtin="#"
51279 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51280 COND_wxUSE_REGEX_builtin=""
51281 fi
51282
51283 COND_wxUSE_ZLIB_builtin="#"
51284 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51285 COND_wxUSE_ZLIB_builtin=""
51286 fi
51287
51288
51289
51290 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
51291 { { 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
51292 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;}
51293 { (exit 1); exit 1; }; }
51294 fi
51295
51296 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
51297 { { 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
51298 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;}
51299 { (exit 1); exit 1; }; }
51300 fi
51301
51302
51303 case ${INSTALL} in
51304 /* ) # Absolute
51305 ;;
51306 ?:* ) # Drive letter, considered as absolute.
51307 ;;
51308 *)
51309 INSTALL=`pwd`/${INSTALL} ;;
51310 esac
51311
51312 if test "$wxUSE_GUI" = "yes"; then
51313
51314 if test "$wxUSE_MSW" = 1 ; then
51315 if test "x$WINDRES" = "x"; then
51316 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
51317 echo "$as_me: error: Required windres program not found" >&2;}
51318 { (exit 1); exit 1; }; }
51319 fi
51320
51321 RESCOMP="$WINDRES $WINDRES_CPU_DEFINE"
51322 fi
51323
51324 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
51325 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
51326 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
51327
51328 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
51329
51330 # Extract the first word of "DeRez", so it can be a program name with args.
51331 set dummy DeRez; ac_word=$2
51332 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51334 if test "${ac_cv_prog_DEREZ+set}" = set; then
51335 echo $ECHO_N "(cached) $ECHO_C" >&6
51336 else
51337 if test -n "$DEREZ"; then
51338 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
51339 else
51340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51341 for as_dir in $PATH
51342 do
51343 IFS=$as_save_IFS
51344 test -z "$as_dir" && as_dir=.
51345 for ac_exec_ext in '' $ac_executable_extensions; do
51346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51347 ac_cv_prog_DEREZ="DeRez"
51348 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51349 break 2
51350 fi
51351 done
51352 done
51353 IFS=$as_save_IFS
51354
51355 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
51356 fi
51357 fi
51358 DEREZ=$ac_cv_prog_DEREZ
51359 if test -n "$DEREZ"; then
51360 { echo "$as_me:$LINENO: result: $DEREZ" >&5
51361 echo "${ECHO_T}$DEREZ" >&6; }
51362 else
51363 { echo "$as_me:$LINENO: result: no" >&5
51364 echo "${ECHO_T}no" >&6; }
51365 fi
51366
51367
51368
51369 MACSETFILE="\$(SETFILE)"
51370
51371 if test "$wxUSE_OSX_CARBON" = 1; then
51372 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
51373 RESCOMP="$REZ"
51374 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
51375 else
51376 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
51377 RESCOMP="cat /dev/null \| $REZ"
51378 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
51379 fi
51380
51381 else
51382 MACSETFILE="@true"
51383
51384 if test "$wxUSE_PM" = 1; then
51385 RESCOMP="emxbind"
51386 WXCONFIG_RESFLAGS="-ep"
51387
51388 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
51389 else
51390 POSTLINK_COMMAND="@true"
51391 fi
51392 fi
51393
51394 fi
51395
51396
51397 if test $GCC_PCH = 1
51398 then
51399 if test "$wx_cv_gcc_pch_bug" = yes; then
51400 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
51401 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
51402 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
51403 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
51404 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
51405 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
51406 fi
51407
51408 # Our WX_PRECOMP flag does not make sense for any language except C++ because
51409 # the headers that benefit from precompilation are mostly C++ headers.
51410 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
51411 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
51412 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
51413 fi
51414
51415
51416 if test "$wxUSE_MAC" = 1 ; then
51417 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
51418 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
51419 mv temp bk-deps
51420 chmod +x bk-deps
51421 fi
51422 fi
51423
51424 if test "$wxUSE_SHARED" = "yes"; then
51425 case "${host}" in
51426 *-pc-os2_emx | *-pc-os2-emx )
51427 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51428 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51429 cp -p ${srcdir}/src/os2/dllnames.sh .
51430 cp -p ${srcdir}/src/os2/dllar.sh .
51431 ;;
51432 esac
51433 fi
51434 if test "$wxUSE_OMF" = "yes"; then
51435 case "${host}" in
51436 *-pc-os2_emx | *-pc-os2-emx )
51437 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
51438 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51439 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51440 ;;
51441 esac
51442 fi
51443
51444 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
51445
51446
51447 case "${host}" in
51448 *-*-solaris2* )
51449 if test "$GCC" = yes; then
51450 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
51451 LIBS=`echo $LIBS | sed 's/-mt//'`
51452 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
51453 fi
51454 ;;
51455
51456 *-*-linux* )
51457 if test "x$SUNCXX" = xyes; then
51458 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
51459 LIBS=`echo $LIBS | sed 's/-pthread//'`
51460 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
51461 fi
51462 ;;
51463 esac
51464
51465 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
51466 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
51467 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
51468 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
51469
51470 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
51471
51472
51473
51474
51475
51476
51477
51478
51479
51480
51481
51482
51483
51484
51485
51486
51487
51488
51489
51490
51491
51492
51493
51494
51495
51496
51497
51498
51499
51500
51501
51502
51503
51504
51505
51506
51507
51508
51509
51510
51511
51512
51513
51514
51515
51516
51517
51518
51519
51520
51521
51522
51523
51524
51525
51526
51527
51528
51529
51530
51531 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
51532 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
51533 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
51534 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
51535 echo $ECHO_N "(cached) $ECHO_C" >&6
51536 else
51537 cat >conftest.make <<\_ACEOF
51538 SHELL = /bin/sh
51539 all:
51540 @echo '@@@%%%=$(MAKE)=@@@%%%'
51541 _ACEOF
51542 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
51543 case `${MAKE-make} -f conftest.make 2>/dev/null` in
51544 *@@@%%%=?*=@@@%%%*)
51545 eval ac_cv_prog_make_${ac_make}_set=yes;;
51546 *)
51547 eval ac_cv_prog_make_${ac_make}_set=no;;
51548 esac
51549 rm -f conftest.make
51550 fi
51551 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
51552 { echo "$as_me:$LINENO: result: yes" >&5
51553 echo "${ECHO_T}yes" >&6; }
51554 SET_MAKE=
51555 else
51556 { echo "$as_me:$LINENO: result: no" >&5
51557 echo "${ECHO_T}no" >&6; }
51558 SET_MAKE="MAKE=${MAKE-make}"
51559 fi
51560
51561
51562
51563 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
51564
51565
51566 if test "$USE_WIN32" = 1; then
51567 ac_config_commands="$ac_config_commands rcdefs.h"
51568
51569 fi
51570
51571 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
51572
51573
51574 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
51575
51576
51577 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
51578
51579
51580 if test "$wx_cv_version_script" = "yes"; then
51581 ac_config_files="$ac_config_files version-script"
51582
51583 fi
51584 ac_config_files="$ac_config_files Makefile"
51585
51586
51587 ac_config_commands="$ac_config_commands wx-config"
51588
51589
51590
51591 if test "$wxWITH_SUBDIRS" != "no"; then
51592 if test "$wxUSE_GUI" = "yes"; then
51593 SUBDIRS="samples demos utils"
51594 else
51595 SUBDIRS="samples utils"
51596 fi
51597
51598
51599
51600 # Check whether --with-cppunit-prefix was given.
51601 if test "${with_cppunit_prefix+set}" = set; then
51602 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
51603 else
51604 cppunit_config_prefix=""
51605 fi
51606
51607
51608 # Check whether --with-cppunit-exec-prefix was given.
51609 if test "${with_cppunit_exec_prefix+set}" = set; then
51610 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
51611 else
51612 cppunit_config_exec_prefix=""
51613 fi
51614
51615
51616 if test x$cppunit_config_exec_prefix != x ; then
51617 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
51618 if test x${CPPUNIT_CONFIG+set} != xset ; then
51619 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
51620 fi
51621 fi
51622 if test x$cppunit_config_prefix != x ; then
51623 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
51624 if test x${CPPUNIT_CONFIG+set} != xset ; then
51625 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
51626 fi
51627 fi
51628
51629 # Extract the first word of "cppunit-config", so it can be a program name with args.
51630 set dummy cppunit-config; ac_word=$2
51631 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51633 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51634 echo $ECHO_N "(cached) $ECHO_C" >&6
51635 else
51636 case $CPPUNIT_CONFIG in
51637 [\\/]* | ?:[\\/]*)
51638 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51639 ;;
51640 *)
51641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51642 for as_dir in $PATH
51643 do
51644 IFS=$as_save_IFS
51645 test -z "$as_dir" && as_dir=.
51646 for ac_exec_ext in '' $ac_executable_extensions; do
51647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51648 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51649 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51650 break 2
51651 fi
51652 done
51653 done
51654 IFS=$as_save_IFS
51655
51656 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51657 ;;
51658 esac
51659 fi
51660 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51661 if test -n "$CPPUNIT_CONFIG"; then
51662 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51663 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51664 else
51665 { echo "$as_me:$LINENO: result: no" >&5
51666 echo "${ECHO_T}no" >&6; }
51667 fi
51668
51669
51670 cppunit_version_min=1.8.0
51671
51672 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51673 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51674 no_cppunit=""
51675 if test "$CPPUNIT_CONFIG" = "no" ; then
51676 { echo "$as_me:$LINENO: result: no" >&5
51677 echo "${ECHO_T}no" >&6; }
51678 no_cppunit=yes
51679 else
51680 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51681 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51682 cppunit_version=`$CPPUNIT_CONFIG --version`
51683
51684 cppunit_major_version=`echo $cppunit_version | \
51685 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51686 cppunit_minor_version=`echo $cppunit_version | \
51687 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51688 cppunit_micro_version=`echo $cppunit_version | \
51689 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51690
51691 cppunit_major_min=`echo $cppunit_version_min | \
51692 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51693 cppunit_minor_min=`echo $cppunit_version_min | \
51694 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51695 cppunit_micro_min=`echo $cppunit_version_min | \
51696 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51697
51698 cppunit_version_proper=`expr \
51699 $cppunit_major_version \> $cppunit_major_min \| \
51700 $cppunit_major_version \= $cppunit_major_min \& \
51701 $cppunit_minor_version \> $cppunit_minor_min \| \
51702 $cppunit_major_version \= $cppunit_major_min \& \
51703 $cppunit_minor_version \= $cppunit_minor_min \& \
51704 $cppunit_micro_version \>= $cppunit_micro_min `
51705
51706 if test "$cppunit_version_proper" = "1" ; then
51707 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51708 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51709 else
51710 { echo "$as_me:$LINENO: result: no" >&5
51711 echo "${ECHO_T}no" >&6; }
51712 no_cppunit=yes
51713 fi
51714 fi
51715
51716 if test "x$no_cppunit" = x ; then
51717 SUBDIRS="$SUBDIRS tests"
51718 else
51719 CPPUNIT_CFLAGS=""
51720 CPPUNIT_LIBS=""
51721 :
51722 fi
51723
51724
51725
51726
51727
51728 for subdir in $SUBDIRS; do
51729 if test -d ${srcdir}/${subdir} ; then
51730 if test "$wxUSE_GUI" = "yes"; then
51731 if test ${subdir} = "samples"; then
51732 makefiles="samples/Makefile.in $makefiles"
51733 for sample in $SAMPLES_SUBDIRS; do
51734 if test -d $srcdir/samples/$sample; then
51735 makefiles="samples/$sample/Makefile.in $makefiles"
51736 fi
51737 done
51738 else
51739 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
51740 eval "disabled=\$$disabled_var"
51741 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
51742 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51743 fi
51744 else
51745 if test ${subdir} = "samples"; then
51746 makefiles="samples/Makefile.in $makefiles"
51747 for sample in `echo $SAMPLES_SUBDIRS`; do
51748 if test -d $srcdir/samples/$sample; then
51749 makefiles="samples/$sample/Makefile.in $makefiles"
51750 fi
51751 done
51752 elif test ${subdir} = "utils"; then
51753 makefiles=""
51754 for util in ifacecheck ; do
51755 if test -d $srcdir/utils/$util ; then
51756 makefiles="utils/$util/src/Makefile.in \
51757 $makefiles"
51758 fi
51759 done
51760 else
51761 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
51762 fi
51763 fi
51764
51765 for mkin in $makefiles ; do
51766 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51767 ac_config_files="$ac_config_files $mk"
51768
51769 done
51770 fi
51771 done
51772 fi
51773 cat >confcache <<\_ACEOF
51774 # This file is a shell script that caches the results of configure
51775 # tests run on this system so they can be shared between configure
51776 # scripts and configure runs, see configure's option --config-cache.
51777 # It is not useful on other systems. If it contains results you don't
51778 # want to keep, you may remove or edit it.
51779 #
51780 # config.status only pays attention to the cache file if you give it
51781 # the --recheck option to rerun configure.
51782 #
51783 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51784 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51785 # following values.
51786
51787 _ACEOF
51788
51789 # The following way of writing the cache mishandles newlines in values,
51790 # but we know of no workaround that is simple, portable, and efficient.
51791 # So, we kill variables containing newlines.
51792 # Ultrix sh set writes to stderr and can't be redirected directly,
51793 # and sets the high bit in the cache file unless we assign to the vars.
51794 (
51795 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51796 eval ac_val=\$$ac_var
51797 case $ac_val in #(
51798 *${as_nl}*)
51799 case $ac_var in #(
51800 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51801 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51802 esac
51803 case $ac_var in #(
51804 _ | IFS | as_nl) ;; #(
51805 *) $as_unset $ac_var ;;
51806 esac ;;
51807 esac
51808 done
51809
51810 (set) 2>&1 |
51811 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51812 *${as_nl}ac_space=\ *)
51813 # `set' does not quote correctly, so add quotes (double-quote
51814 # substitution turns \\\\ into \\, and sed turns \\ into \).
51815 sed -n \
51816 "s/'/'\\\\''/g;
51817 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51818 ;; #(
51819 *)
51820 # `set' quotes correctly as required by POSIX, so do not add quotes.
51821 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51822 ;;
51823 esac |
51824 sort
51825 ) |
51826 sed '
51827 /^ac_cv_env_/b end
51828 t clear
51829 :clear
51830 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51831 t end
51832 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51833 :end' >>confcache
51834 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
51835 if test -w "$cache_file"; then
51836 test "x$cache_file" != "x/dev/null" &&
51837 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51838 echo "$as_me: updating cache $cache_file" >&6;}
51839 cat confcache >$cache_file
51840 else
51841 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51842 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51843 fi
51844 fi
51845 rm -f confcache
51846
51847 test "x$prefix" = xNONE && prefix=$ac_default_prefix
51848 # Let make expand exec_prefix.
51849 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
51850
51851 DEFS=-DHAVE_CONFIG_H
51852
51853 ac_libobjs=
51854 ac_ltlibobjs=
51855 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
51856 # 1. Remove the extension, and $U if already installed.
51857 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
51858 ac_i=`echo "$ac_i" | sed "$ac_script"`
51859 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51860 # will be set to the directory where LIBOBJS objects are built.
51861 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51862 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51863 done
51864 LIBOBJS=$ac_libobjs
51865
51866 LTLIBOBJS=$ac_ltlibobjs
51867
51868
51869
51870 : ${CONFIG_STATUS=./config.status}
51871 ac_clean_files_save=$ac_clean_files
51872 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
51873 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51874 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51875 cat >$CONFIG_STATUS <<_ACEOF
51876 #! $SHELL
51877 # Generated by $as_me.
51878 # Run this file to recreate the current configuration.
51879 # Compiler output produced by configure, useful for debugging
51880 # configure, is in config.log if it exists.
51881
51882 debug=false
51883 ac_cs_recheck=false
51884 ac_cs_silent=false
51885 SHELL=\${CONFIG_SHELL-$SHELL}
51886 _ACEOF
51887
51888 cat >>$CONFIG_STATUS <<\_ACEOF
51889 ## --------------------- ##
51890 ## M4sh Initialization. ##
51891 ## --------------------- ##
51892
51893 # Be more Bourne compatible
51894 DUALCASE=1; export DUALCASE # for MKS sh
51895 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51896 emulate sh
51897 NULLCMD=:
51898 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51899 # is contrary to our usage. Disable this feature.
51900 alias -g '${1+"$@"}'='"$@"'
51901 setopt NO_GLOB_SUBST
51902 else
51903 case `(set -o) 2>/dev/null` in
51904 *posix*) set -o posix ;;
51905 esac
51906
51907 fi
51908
51909
51910
51911
51912 # PATH needs CR
51913 # Avoid depending upon Character Ranges.
51914 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51915 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51916 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51917 as_cr_digits='0123456789'
51918 as_cr_alnum=$as_cr_Letters$as_cr_digits
51919
51920 # The user is always right.
51921 if test "${PATH_SEPARATOR+set}" != set; then
51922 echo "#! /bin/sh" >conf$$.sh
51923 echo "exit 0" >>conf$$.sh
51924 chmod +x conf$$.sh
51925 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51926 PATH_SEPARATOR=';'
51927 else
51928 PATH_SEPARATOR=:
51929 fi
51930 rm -f conf$$.sh
51931 fi
51932
51933 # Support unset when possible.
51934 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51935 as_unset=unset
51936 else
51937 as_unset=false
51938 fi
51939
51940
51941 # IFS
51942 # We need space, tab and new line, in precisely that order. Quoting is
51943 # there to prevent editors from complaining about space-tab.
51944 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51945 # splitting by setting IFS to empty value.)
51946 as_nl='
51947 '
51948 IFS=" "" $as_nl"
51949
51950 # Find who we are. Look in the path if we contain no directory separator.
51951 case $0 in
51952 *[\\/]* ) as_myself=$0 ;;
51953 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51954 for as_dir in $PATH
51955 do
51956 IFS=$as_save_IFS
51957 test -z "$as_dir" && as_dir=.
51958 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51959 done
51960 IFS=$as_save_IFS
51961
51962 ;;
51963 esac
51964 # We did not find ourselves, most probably we were run as `sh COMMAND'
51965 # in which case we are not to be found in the path.
51966 if test "x$as_myself" = x; then
51967 as_myself=$0
51968 fi
51969 if test ! -f "$as_myself"; then
51970 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51971 { (exit 1); exit 1; }
51972 fi
51973
51974 # Work around bugs in pre-3.0 UWIN ksh.
51975 for as_var in ENV MAIL MAILPATH
51976 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51977 done
51978 PS1='$ '
51979 PS2='> '
51980 PS4='+ '
51981
51982 # NLS nuisances.
51983 for as_var in \
51984 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51985 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51986 LC_TELEPHONE LC_TIME
51987 do
51988 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51989 eval $as_var=C; export $as_var
51990 else
51991 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51992 fi
51993 done
51994
51995 # Required to use basename.
51996 if expr a : '\(a\)' >/dev/null 2>&1 &&
51997 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51998 as_expr=expr
51999 else
52000 as_expr=false
52001 fi
52002
52003 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
52004 as_basename=basename
52005 else
52006 as_basename=false
52007 fi
52008
52009
52010 # Name of the executable.
52011 as_me=`$as_basename -- "$0" ||
52012 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
52013 X"$0" : 'X\(//\)$' \| \
52014 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
52015 echo X/"$0" |
52016 sed '/^.*\/\([^/][^/]*\)\/*$/{
52017 s//\1/
52018 q
52019 }
52020 /^X\/\(\/\/\)$/{
52021 s//\1/
52022 q
52023 }
52024 /^X\/\(\/\).*/{
52025 s//\1/
52026 q
52027 }
52028 s/.*/./; q'`
52029
52030 # CDPATH.
52031 $as_unset CDPATH
52032
52033
52034
52035 as_lineno_1=$LINENO
52036 as_lineno_2=$LINENO
52037 test "x$as_lineno_1" != "x$as_lineno_2" &&
52038 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
52039
52040 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
52041 # uniformly replaced by the line number. The first 'sed' inserts a
52042 # line-number line after each line using $LINENO; the second 'sed'
52043 # does the real work. The second script uses 'N' to pair each
52044 # line-number line with the line containing $LINENO, and appends
52045 # trailing '-' during substitution so that $LINENO is not a special
52046 # case at line end.
52047 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
52048 # scripts with optimization help from Paolo Bonzini. Blame Lee
52049 # E. McMahon (1931-1989) for sed's syntax. :-)
52050 sed -n '
52051 p
52052 /[$]LINENO/=
52053 ' <$as_myself |
52054 sed '
52055 s/[$]LINENO.*/&-/
52056 t lineno
52057 b
52058 :lineno
52059 N
52060 :loop
52061 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
52062 t loop
52063 s/-\n.*//
52064 ' >$as_me.lineno &&
52065 chmod +x "$as_me.lineno" ||
52066 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
52067 { (exit 1); exit 1; }; }
52068
52069 # Don't try to exec as it changes $[0], causing all sort of problems
52070 # (the dirname of $[0] is not the place where we might find the
52071 # original and so on. Autoconf is especially sensitive to this).
52072 . "./$as_me.lineno"
52073 # Exit status is that of the last command.
52074 exit
52075 }
52076
52077
52078 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
52079 as_dirname=dirname
52080 else
52081 as_dirname=false
52082 fi
52083
52084 ECHO_C= ECHO_N= ECHO_T=
52085 case `echo -n x` in
52086 -n*)
52087 case `echo 'x\c'` in
52088 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
52089 *) ECHO_C='\c';;
52090 esac;;
52091 *)
52092 ECHO_N='-n';;
52093 esac
52094
52095 if expr a : '\(a\)' >/dev/null 2>&1 &&
52096 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52097 as_expr=expr
52098 else
52099 as_expr=false
52100 fi
52101
52102 rm -f conf$$ conf$$.exe conf$$.file
52103 if test -d conf$$.dir; then
52104 rm -f conf$$.dir/conf$$.file
52105 else
52106 rm -f conf$$.dir
52107 mkdir conf$$.dir
52108 fi
52109 echo >conf$$.file
52110 if ln -s conf$$.file conf$$ 2>/dev/null; then
52111 as_ln_s='ln -s'
52112 # ... but there are two gotchas:
52113 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
52114 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
52115 # In both cases, we have to default to `cp -p'.
52116 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
52117 as_ln_s='cp -p'
52118 elif ln conf$$.file conf$$ 2>/dev/null; then
52119 as_ln_s=ln
52120 else
52121 as_ln_s='cp -p'
52122 fi
52123 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
52124 rmdir conf$$.dir 2>/dev/null
52125
52126 if mkdir -p . 2>/dev/null; then
52127 as_mkdir_p=:
52128 else
52129 test -d ./-p && rmdir ./-p
52130 as_mkdir_p=false
52131 fi
52132
52133 if test -x / >/dev/null 2>&1; then
52134 as_test_x='test -x'
52135 else
52136 if ls -dL / >/dev/null 2>&1; then
52137 as_ls_L_option=L
52138 else
52139 as_ls_L_option=
52140 fi
52141 as_test_x='
52142 eval sh -c '\''
52143 if test -d "$1"; then
52144 test -d "$1/.";
52145 else
52146 case $1 in
52147 -*)set "./$1";;
52148 esac;
52149 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
52150 ???[sx]*):;;*)false;;esac;fi
52151 '\'' sh
52152 '
52153 fi
52154 as_executable_p=$as_test_x
52155
52156 # Sed expression to map a string onto a valid CPP name.
52157 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52158
52159 # Sed expression to map a string onto a valid variable name.
52160 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52161
52162
52163 exec 6>&1
52164
52165 # Save the log message, to keep $[0] and so on meaningful, and to
52166 # report actual input values of CONFIG_FILES etc. instead of their
52167 # values after options handling.
52168 ac_log="
52169 This file was extended by wxWidgets $as_me 2.9.1, which was
52170 generated by GNU Autoconf 2.61. Invocation command line was
52171
52172 CONFIG_FILES = $CONFIG_FILES
52173 CONFIG_HEADERS = $CONFIG_HEADERS
52174 CONFIG_LINKS = $CONFIG_LINKS
52175 CONFIG_COMMANDS = $CONFIG_COMMANDS
52176 $ $0 $@
52177
52178 on `(hostname || uname -n) 2>/dev/null | sed 1q`
52179 "
52180
52181 _ACEOF
52182
52183 cat >>$CONFIG_STATUS <<_ACEOF
52184 # Files that config.status was made for.
52185 config_files="$ac_config_files"
52186 config_headers="$ac_config_headers"
52187 config_commands="$ac_config_commands"
52188
52189 _ACEOF
52190
52191 cat >>$CONFIG_STATUS <<\_ACEOF
52192 ac_cs_usage="\
52193 \`$as_me' instantiates files from templates according to the
52194 current configuration.
52195
52196 Usage: $0 [OPTIONS] [FILE]...
52197
52198 -h, --help print this help, then exit
52199 -V, --version print version number and configuration settings, then exit
52200 -q, --quiet do not print progress messages
52201 -d, --debug don't remove temporary files
52202 --recheck update $as_me by reconfiguring in the same conditions
52203 --file=FILE[:TEMPLATE]
52204 instantiate the configuration file FILE
52205 --header=FILE[:TEMPLATE]
52206 instantiate the configuration header FILE
52207
52208 Configuration files:
52209 $config_files
52210
52211 Configuration headers:
52212 $config_headers
52213
52214 Configuration commands:
52215 $config_commands
52216
52217 Report bugs to <bug-autoconf@gnu.org>."
52218
52219 _ACEOF
52220 cat >>$CONFIG_STATUS <<_ACEOF
52221 ac_cs_version="\\
52222 wxWidgets config.status 2.9.1
52223 configured by $0, generated by GNU Autoconf 2.61,
52224 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
52225
52226 Copyright (C) 2006 Free Software Foundation, Inc.
52227 This config.status script is free software; the Free Software Foundation
52228 gives unlimited permission to copy, distribute and modify it."
52229
52230 ac_pwd='$ac_pwd'
52231 srcdir='$srcdir'
52232 INSTALL='$INSTALL'
52233 _ACEOF
52234
52235 cat >>$CONFIG_STATUS <<\_ACEOF
52236 # If no file are specified by the user, then we need to provide default
52237 # value. By we need to know if files were specified by the user.
52238 ac_need_defaults=:
52239 while test $# != 0
52240 do
52241 case $1 in
52242 --*=*)
52243 ac_option=`expr "X$1" : 'X\([^=]*\)='`
52244 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
52245 ac_shift=:
52246 ;;
52247 *)
52248 ac_option=$1
52249 ac_optarg=$2
52250 ac_shift=shift
52251 ;;
52252 esac
52253
52254 case $ac_option in
52255 # Handling of the options.
52256 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
52257 ac_cs_recheck=: ;;
52258 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
52259 echo "$ac_cs_version"; exit ;;
52260 --debug | --debu | --deb | --de | --d | -d )
52261 debug=: ;;
52262 --file | --fil | --fi | --f )
52263 $ac_shift
52264 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
52265 ac_need_defaults=false;;
52266 --header | --heade | --head | --hea )
52267 $ac_shift
52268 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
52269 ac_need_defaults=false;;
52270 --he | --h)
52271 # Conflict between --help and --header
52272 { echo "$as_me: error: ambiguous option: $1
52273 Try \`$0 --help' for more information." >&2
52274 { (exit 1); exit 1; }; };;
52275 --help | --hel | -h )
52276 echo "$ac_cs_usage"; exit ;;
52277 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
52278 | -silent | --silent | --silen | --sile | --sil | --si | --s)
52279 ac_cs_silent=: ;;
52280
52281 # This is an error.
52282 -*) { echo "$as_me: error: unrecognized option: $1
52283 Try \`$0 --help' for more information." >&2
52284 { (exit 1); exit 1; }; } ;;
52285
52286 *) ac_config_targets="$ac_config_targets $1"
52287 ac_need_defaults=false ;;
52288
52289 esac
52290 shift
52291 done
52292
52293 ac_configure_extra_args=
52294
52295 if $ac_cs_silent; then
52296 exec 6>/dev/null
52297 ac_configure_extra_args="$ac_configure_extra_args --silent"
52298 fi
52299
52300 _ACEOF
52301 cat >>$CONFIG_STATUS <<_ACEOF
52302 if \$ac_cs_recheck; then
52303 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
52304 CONFIG_SHELL=$SHELL
52305 export CONFIG_SHELL
52306 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
52307 fi
52308
52309 _ACEOF
52310 cat >>$CONFIG_STATUS <<\_ACEOF
52311 exec 5>>config.log
52312 {
52313 echo
52314 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
52315 ## Running $as_me. ##
52316 _ASBOX
52317 echo "$ac_log"
52318 } >&5
52319
52320 _ACEOF
52321 cat >>$CONFIG_STATUS <<_ACEOF
52322 #
52323 # INIT-COMMANDS
52324 #
52325
52326 CPP="$CPP"
52327 infile="$srcdir/include/wx/msw/genrcdefs.h"
52328 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
52329
52330
52331 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52332 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52333 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52334 LN_S="${LN_S}"
52335
52336
52337 _ACEOF
52338
52339 cat >>$CONFIG_STATUS <<\_ACEOF
52340
52341 # Handling of arguments.
52342 for ac_config_target in $ac_config_targets
52343 do
52344 case $ac_config_target in
52345 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
52346 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
52347 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
52348 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
52349 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
52350 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
52351 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
52352 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
52353 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
52354
52355 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
52356 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
52357 { (exit 1); exit 1; }; };;
52358 esac
52359 done
52360
52361
52362 # If the user did not use the arguments to specify the items to instantiate,
52363 # then the envvar interface is used. Set only those that are not.
52364 # We use the long form for the default assignment because of an extremely
52365 # bizarre bug on SunOS 4.1.3.
52366 if $ac_need_defaults; then
52367 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
52368 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
52369 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
52370 fi
52371
52372 # Have a temporary directory for convenience. Make it in the build tree
52373 # simply because there is no reason against having it here, and in addition,
52374 # creating and moving files from /tmp can sometimes cause problems.
52375 # Hook for its removal unless debugging.
52376 # Note that there is a small window in which the directory will not be cleaned:
52377 # after its creation but before its name has been assigned to `$tmp'.
52378 $debug ||
52379 {
52380 tmp=
52381 trap 'exit_status=$?
52382 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
52383 ' 0
52384 trap '{ (exit 1); exit 1; }' 1 2 13 15
52385 }
52386 # Create a (secure) tmp directory for tmp files.
52387
52388 {
52389 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
52390 test -n "$tmp" && test -d "$tmp"
52391 } ||
52392 {
52393 tmp=./conf$$-$RANDOM
52394 (umask 077 && mkdir "$tmp")
52395 } ||
52396 {
52397 echo "$me: cannot create a temporary directory in ." >&2
52398 { (exit 1); exit 1; }
52399 }
52400
52401 #
52402 # Set up the sed scripts for CONFIG_FILES section.
52403 #
52404
52405 # No need to generate the scripts if there are no CONFIG_FILES.
52406 # This happens for instance when ./config.status config.h
52407 if test -n "$CONFIG_FILES"; then
52408
52409 _ACEOF
52410
52411
52412
52413 ac_delim='%!_!# '
52414 for ac_last_try in false false false false false :; do
52415 cat >conf$$subs.sed <<_ACEOF
52416 SHELL!$SHELL$ac_delim
52417 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
52418 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
52419 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
52420 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
52421 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
52422 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
52423 exec_prefix!$exec_prefix$ac_delim
52424 prefix!$prefix$ac_delim
52425 program_transform_name!$program_transform_name$ac_delim
52426 bindir!$bindir$ac_delim
52427 sbindir!$sbindir$ac_delim
52428 libexecdir!$libexecdir$ac_delim
52429 datarootdir!$datarootdir$ac_delim
52430 datadir!$datadir$ac_delim
52431 sysconfdir!$sysconfdir$ac_delim
52432 sharedstatedir!$sharedstatedir$ac_delim
52433 localstatedir!$localstatedir$ac_delim
52434 includedir!$includedir$ac_delim
52435 oldincludedir!$oldincludedir$ac_delim
52436 docdir!$docdir$ac_delim
52437 infodir!$infodir$ac_delim
52438 htmldir!$htmldir$ac_delim
52439 dvidir!$dvidir$ac_delim
52440 pdfdir!$pdfdir$ac_delim
52441 psdir!$psdir$ac_delim
52442 libdir!$libdir$ac_delim
52443 localedir!$localedir$ac_delim
52444 mandir!$mandir$ac_delim
52445 DEFS!$DEFS$ac_delim
52446 ECHO_C!$ECHO_C$ac_delim
52447 ECHO_N!$ECHO_N$ac_delim
52448 ECHO_T!$ECHO_T$ac_delim
52449 LIBS!$LIBS$ac_delim
52450 build_alias!$build_alias$ac_delim
52451 host_alias!$host_alias$ac_delim
52452 target_alias!$target_alias$ac_delim
52453 build!$build$ac_delim
52454 build_cpu!$build_cpu$ac_delim
52455 build_vendor!$build_vendor$ac_delim
52456 build_os!$build_os$ac_delim
52457 host!$host$ac_delim
52458 host_cpu!$host_cpu$ac_delim
52459 host_vendor!$host_vendor$ac_delim
52460 host_os!$host_os$ac_delim
52461 wx_top_builddir!$wx_top_builddir$ac_delim
52462 CC!$CC$ac_delim
52463 CFLAGS!$CFLAGS$ac_delim
52464 LDFLAGS!$LDFLAGS$ac_delim
52465 CPPFLAGS!$CPPFLAGS$ac_delim
52466 ac_ct_CC!$ac_ct_CC$ac_delim
52467 EXEEXT!$EXEEXT$ac_delim
52468 OBJEXT!$OBJEXT$ac_delim
52469 CPP!$CPP$ac_delim
52470 GREP!$GREP$ac_delim
52471 EGREP!$EGREP$ac_delim
52472 CXX!$CXX$ac_delim
52473 CXXFLAGS!$CXXFLAGS$ac_delim
52474 ac_ct_CXX!$ac_ct_CXX$ac_delim
52475 AR!$AR$ac_delim
52476 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
52477 subdirs!$subdirs$ac_delim
52478 PKG_CONFIG!$PKG_CONFIG$ac_delim
52479 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
52480 GTK_LIBS!$GTK_LIBS$ac_delim
52481 GTK_CONFIG!$GTK_CONFIG$ac_delim
52482 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
52483 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
52484 XMKMF!$XMKMF$ac_delim
52485 X_CFLAGS!$X_CFLAGS$ac_delim
52486 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
52487 X_LIBS!$X_LIBS$ac_delim
52488 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
52489 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
52490 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
52491 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
52492 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
52493 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
52494 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
52495 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
52496 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
52497 LIBICONV!$LIBICONV$ac_delim
52498 GXX_VERSION!$GXX_VERSION$ac_delim
52499 SDL_CONFIG!$SDL_CONFIG$ac_delim
52500 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
52501 SDL_LIBS!$SDL_LIBS$ac_delim
52502 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
52503 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
52504 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
52505 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
52506 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
52507 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
52508 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
52509 HILDON_LIBS!$HILDON_LIBS$ac_delim
52510 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
52511 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
52512 PYTHON!$PYTHON$ac_delim
52513 _ACEOF
52514
52515 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52516 break
52517 elif $ac_last_try; then
52518 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52519 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52520 { (exit 1); exit 1; }; }
52521 else
52522 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52523 fi
52524 done
52525
52526 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52527 if test -n "$ac_eof"; then
52528 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52529 ac_eof=`expr $ac_eof + 1`
52530 fi
52531
52532 cat >>$CONFIG_STATUS <<_ACEOF
52533 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
52534 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52535 _ACEOF
52536 sed '
52537 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52538 s/^/s,@/; s/!/@,|#_!!_#|/
52539 :n
52540 t n
52541 s/'"$ac_delim"'$/,g/; t
52542 s/$/\\/; p
52543 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52544 ' >>$CONFIG_STATUS <conf$$subs.sed
52545 rm -f conf$$subs.sed
52546 cat >>$CONFIG_STATUS <<_ACEOF
52547 CEOF$ac_eof
52548 _ACEOF
52549
52550
52551 ac_delim='%!_!# '
52552 for ac_last_try in false false false false false :; do
52553 cat >conf$$subs.sed <<_ACEOF
52554 COND_PYTHON!$COND_PYTHON$ac_delim
52555 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
52556 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
52557 GST_CFLAGS!$GST_CFLAGS$ac_delim
52558 GST_LIBS!$GST_LIBS$ac_delim
52559 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
52560 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
52561 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
52562 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
52563 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
52564 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
52565 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
52566 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
52567 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
52568 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
52569 VENDOR!$VENDOR$ac_delim
52570 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
52571 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
52572 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
52573 WXUNIV!$WXUNIV$ac_delim
52574 MONOLITHIC!$MONOLITHIC$ac_delim
52575 USE_PLUGINS!$USE_PLUGINS$ac_delim
52576 CXXWARNINGS!$CXXWARNINGS$ac_delim
52577 EXTRALIBS!$EXTRALIBS$ac_delim
52578 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
52579 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
52580 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
52581 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
52582 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
52583 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
52584 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
52585 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
52586 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
52587 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
52588 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
52589 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
52590 UNICODE!$UNICODE$ac_delim
52591 DEBUG_INFO!$DEBUG_INFO$ac_delim
52592 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
52593 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
52594 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
52595 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
52596 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
52597 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
52598 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
52599 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
52600 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
52601 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
52602 RANLIB!$RANLIB$ac_delim
52603 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
52604 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
52605 INSTALL_DATA!$INSTALL_DATA$ac_delim
52606 LN_S!$LN_S$ac_delim
52607 SET_MAKE!$SET_MAKE$ac_delim
52608 MAKE_SET!$MAKE_SET$ac_delim
52609 AROPTIONS!$AROPTIONS$ac_delim
52610 STRIP!$STRIP$ac_delim
52611 NM!$NM$ac_delim
52612 INSTALL_DIR!$INSTALL_DIR$ac_delim
52613 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
52614 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
52615 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
52616 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
52617 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
52618 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
52619 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
52620 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
52621 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
52622 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
52623 SO_SUFFIX!$SO_SUFFIX$ac_delim
52624 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
52625 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
52626 LIBPREFIX!$LIBPREFIX$ac_delim
52627 LIBEXT!$LIBEXT$ac_delim
52628 DLLPREFIX!$DLLPREFIX$ac_delim
52629 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
52630 dlldir!$dlldir$ac_delim
52631 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
52632 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
52633 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
52634 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
52635 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
52636 PIC_FLAG!$PIC_FLAG$ac_delim
52637 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
52638 USE_SOVERSION!$USE_SOVERSION$ac_delim
52639 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
52640 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
52641 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
52642 USE_MACVERSION!$USE_MACVERSION$ac_delim
52643 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
52644 SONAME_FLAG!$SONAME_FLAG$ac_delim
52645 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52646 BK_DEPS!$BK_DEPS$ac_delim
52647 WINDRES!$WINDRES$ac_delim
52648 REZ!$REZ$ac_delim
52649 SETFILE!$SETFILE$ac_delim
52650 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
52651 _ACEOF
52652
52653 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52654 break
52655 elif $ac_last_try; then
52656 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52657 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52658 { (exit 1); exit 1; }; }
52659 else
52660 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52661 fi
52662 done
52663
52664 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52665 if test -n "$ac_eof"; then
52666 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52667 ac_eof=`expr $ac_eof + 1`
52668 fi
52669
52670 cat >>$CONFIG_STATUS <<_ACEOF
52671 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52672 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52673 _ACEOF
52674 sed '
52675 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52676 s/^/s,@/; s/!/@,|#_!!_#|/
52677 :n
52678 t n
52679 s/'"$ac_delim"'$/,g/; t
52680 s/$/\\/; p
52681 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52682 ' >>$CONFIG_STATUS <conf$$subs.sed
52683 rm -f conf$$subs.sed
52684 cat >>$CONFIG_STATUS <<_ACEOF
52685 CEOF$ac_eof
52686 _ACEOF
52687
52688
52689 ac_delim='%!_!# '
52690 for ac_last_try in false false false false false :; do
52691 cat >conf$$subs.sed <<_ACEOF
52692 GCC_PCH!$GCC_PCH$ac_delim
52693 ICC_PCH!$ICC_PCH$ac_delim
52694 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
52695 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52696 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52697 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52698 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52699 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52700 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52701 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52702 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52703 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52704 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52705 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52706 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52707 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52708 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52709 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52710 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52711 COND_BUILD_release!$COND_BUILD_release$ac_delim
52712 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52713 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52714 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52715 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
52716 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52717 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52718 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52719 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52720 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52721 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52722 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52723 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52724 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52725 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52726 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52727 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52728 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52729 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52730 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52731 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
52732 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52733 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52734 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52735 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52736 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52737 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52738 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52739 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52740 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52741 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52742 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
52743 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52744 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52745 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52746 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52747 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52748 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52749 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52750 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52751 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52752 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52753 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
52754 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52755 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52756 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52757 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52758 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52759 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52760 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52761 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52762 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52763 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52764 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52765 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52766 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
52767 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52768 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
52769 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52770 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
52771 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52772 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52773 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52774 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52775 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52776 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52777 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52778 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52779 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52780 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52781 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52782 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52783 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52784 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52785 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52786 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52787 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52788 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
52789 _ACEOF
52790
52791 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52792 break
52793 elif $ac_last_try; then
52794 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52795 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52796 { (exit 1); exit 1; }; }
52797 else
52798 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52799 fi
52800 done
52801
52802 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52803 if test -n "$ac_eof"; then
52804 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52805 ac_eof=`expr $ac_eof + 1`
52806 fi
52807
52808 cat >>$CONFIG_STATUS <<_ACEOF
52809 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52810 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52811 _ACEOF
52812 sed '
52813 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52814 s/^/s,@/; s/!/@,|#_!!_#|/
52815 :n
52816 t n
52817 s/'"$ac_delim"'$/,g/; t
52818 s/$/\\/; p
52819 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52820 ' >>$CONFIG_STATUS <conf$$subs.sed
52821 rm -f conf$$subs.sed
52822 cat >>$CONFIG_STATUS <<_ACEOF
52823 CEOF$ac_eof
52824 _ACEOF
52825
52826
52827 ac_delim='%!_!# '
52828 for ac_last_try in false false false false false :; do
52829 cat >conf$$subs.sed <<_ACEOF
52830 COND_SHARED_0!$COND_SHARED_0$ac_delim
52831 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52832 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52833 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52834 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52835 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52836 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52837 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52838 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52839 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52840 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52841 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52842 COND_SHARED_1!$COND_SHARED_1$ac_delim
52843 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52844 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52845 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52846 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52847 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52848 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52849 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52850 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52851 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52852 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52853 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52854 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52855 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52856 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52857 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52858 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52859 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52860 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52861 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52862 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52863 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52864 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52865 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52866 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52867 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52868 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52869 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52870 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52871 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52872 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52873 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52874 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52875 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52876 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52877 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52878 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52879 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52880 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52881 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52882 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52883 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
52884 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52885 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52886 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52887 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52888 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52889 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52890 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52891 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52892 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52893 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52894 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52895 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52896 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52897 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52898 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52899 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52900 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52901 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52902 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
52903 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52904 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52905 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52906 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
52907 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52908 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52909 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52910 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52911 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52912 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52913 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52914 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52915 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52916 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52917 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52918 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52919 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52920 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52921 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52922 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52923 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52924 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52925 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52926 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52927 _ACEOF
52928
52929 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52930 break
52931 elif $ac_last_try; then
52932 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52933 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52934 { (exit 1); exit 1; }; }
52935 else
52936 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52937 fi
52938 done
52939
52940 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52941 if test -n "$ac_eof"; then
52942 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52943 ac_eof=`expr $ac_eof + 1`
52944 fi
52945
52946 cat >>$CONFIG_STATUS <<_ACEOF
52947 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52948 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52949 _ACEOF
52950 sed '
52951 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52952 s/^/s,@/; s/!/@,|#_!!_#|/
52953 :n
52954 t n
52955 s/'"$ac_delim"'$/,g/; t
52956 s/$/\\/; p
52957 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52958 ' >>$CONFIG_STATUS <conf$$subs.sed
52959 rm -f conf$$subs.sed
52960 cat >>$CONFIG_STATUS <<_ACEOF
52961 CEOF$ac_eof
52962 _ACEOF
52963
52964
52965 ac_delim='%!_!# '
52966 for ac_last_try in false false false false false :; do
52967 cat >conf$$subs.sed <<_ACEOF
52968 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52969 DEREZ!$DEREZ$ac_delim
52970 SHARED!$SHARED$ac_delim
52971 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52972 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52973 USE_GUI!$USE_GUI$ac_delim
52974 AFMINSTALL!$AFMINSTALL$ac_delim
52975 WIN32INSTALL!$WIN32INSTALL$ac_delim
52976 TOOLKIT!$TOOLKIT$ac_delim
52977 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52978 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52979 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52980 cross_compiling!$cross_compiling$ac_delim
52981 WIDGET_SET!$WIDGET_SET$ac_delim
52982 WX_RELEASE!$WX_RELEASE$ac_delim
52983 WX_VERSION!$WX_VERSION$ac_delim
52984 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52985 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52986 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52987 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52988 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52989 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52990 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52991 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
52992 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52993 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52994 GUIDIST!$GUIDIST$ac_delim
52995 DISTDIR!$DISTDIR$ac_delim
52996 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52997 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52998 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52999 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
53000 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
53001 RESCOMP!$RESCOMP$ac_delim
53002 RESFLAGS!$RESFLAGS$ac_delim
53003 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
53004 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
53005 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
53006 LIBWXMACRES!$LIBWXMACRES$ac_delim
53007 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
53008 MACSETFILE!$MACSETFILE$ac_delim
53009 GCC!$GCC$ac_delim
53010 DLLTOOL!$DLLTOOL$ac_delim
53011 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
53012 LIBOBJS!$LIBOBJS$ac_delim
53013 LTLIBOBJS!$LTLIBOBJS$ac_delim
53014 _ACEOF
53015
53016 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 46; then
53017 break
53018 elif $ac_last_try; then
53019 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53020 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53021 { (exit 1); exit 1; }; }
53022 else
53023 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53024 fi
53025 done
53026
53027 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53028 if test -n "$ac_eof"; then
53029 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53030 ac_eof=`expr $ac_eof + 1`
53031 fi
53032
53033 cat >>$CONFIG_STATUS <<_ACEOF
53034 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
53035 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
53036 _ACEOF
53037 sed '
53038 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53039 s/^/s,@/; s/!/@,|#_!!_#|/
53040 :n
53041 t n
53042 s/'"$ac_delim"'$/,g/; t
53043 s/$/\\/; p
53044 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53045 ' >>$CONFIG_STATUS <conf$$subs.sed
53046 rm -f conf$$subs.sed
53047 cat >>$CONFIG_STATUS <<_ACEOF
53048 :end
53049 s/|#_!!_#|//g
53050 CEOF$ac_eof
53051 _ACEOF
53052
53053
53054 # VPATH may cause trouble with some makes, so we remove $(srcdir),
53055 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
53056 # trailing colons and then remove the whole line if VPATH becomes empty
53057 # (actually we leave an empty line to preserve line numbers).
53058 if test "x$srcdir" = x.; then
53059 ac_vpsub='/^[ ]*VPATH[ ]*=/{
53060 s/:*\$(srcdir):*/:/
53061 s/:*\${srcdir}:*/:/
53062 s/:*@srcdir@:*/:/
53063 s/^\([^=]*=[ ]*\):*/\1/
53064 s/:*$//
53065 s/^[^=]*=[ ]*$//
53066 }'
53067 fi
53068
53069 cat >>$CONFIG_STATUS <<\_ACEOF
53070 fi # test -n "$CONFIG_FILES"
53071
53072
53073 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
53074 do
53075 case $ac_tag in
53076 :[FHLC]) ac_mode=$ac_tag; continue;;
53077 esac
53078 case $ac_mode$ac_tag in
53079 :[FHL]*:*);;
53080 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
53081 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
53082 { (exit 1); exit 1; }; };;
53083 :[FH]-) ac_tag=-:-;;
53084 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
53085 esac
53086 ac_save_IFS=$IFS
53087 IFS=:
53088 set x $ac_tag
53089 IFS=$ac_save_IFS
53090 shift
53091 ac_file=$1
53092 shift
53093
53094 case $ac_mode in
53095 :L) ac_source=$1;;
53096 :[FH])
53097 ac_file_inputs=
53098 for ac_f
53099 do
53100 case $ac_f in
53101 -) ac_f="$tmp/stdin";;
53102 *) # Look for the file first in the build tree, then in the source tree
53103 # (if the path is not absolute). The absolute path cannot be DOS-style,
53104 # because $ac_f cannot contain `:'.
53105 test -f "$ac_f" ||
53106 case $ac_f in
53107 [\\/$]*) false;;
53108 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
53109 esac ||
53110 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
53111 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
53112 { (exit 1); exit 1; }; };;
53113 esac
53114 ac_file_inputs="$ac_file_inputs $ac_f"
53115 done
53116
53117 # Let's still pretend it is `configure' which instantiates (i.e., don't
53118 # use $as_me), people would be surprised to read:
53119 # /* config.h. Generated by config.status. */
53120 configure_input="Generated from "`IFS=:
53121 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
53122 if test x"$ac_file" != x-; then
53123 configure_input="$ac_file. $configure_input"
53124 { echo "$as_me:$LINENO: creating $ac_file" >&5
53125 echo "$as_me: creating $ac_file" >&6;}
53126 fi
53127
53128 case $ac_tag in
53129 *:-:* | *:-) cat >"$tmp/stdin";;
53130 esac
53131 ;;
53132 esac
53133
53134 ac_dir=`$as_dirname -- "$ac_file" ||
53135 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53136 X"$ac_file" : 'X\(//\)[^/]' \| \
53137 X"$ac_file" : 'X\(//\)$' \| \
53138 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
53139 echo X"$ac_file" |
53140 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53141 s//\1/
53142 q
53143 }
53144 /^X\(\/\/\)[^/].*/{
53145 s//\1/
53146 q
53147 }
53148 /^X\(\/\/\)$/{
53149 s//\1/
53150 q
53151 }
53152 /^X\(\/\).*/{
53153 s//\1/
53154 q
53155 }
53156 s/.*/./; q'`
53157 { as_dir="$ac_dir"
53158 case $as_dir in #(
53159 -*) as_dir=./$as_dir;;
53160 esac
53161 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53162 as_dirs=
53163 while :; do
53164 case $as_dir in #(
53165 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53166 *) as_qdir=$as_dir;;
53167 esac
53168 as_dirs="'$as_qdir' $as_dirs"
53169 as_dir=`$as_dirname -- "$as_dir" ||
53170 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53171 X"$as_dir" : 'X\(//\)[^/]' \| \
53172 X"$as_dir" : 'X\(//\)$' \| \
53173 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53174 echo X"$as_dir" |
53175 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53176 s//\1/
53177 q
53178 }
53179 /^X\(\/\/\)[^/].*/{
53180 s//\1/
53181 q
53182 }
53183 /^X\(\/\/\)$/{
53184 s//\1/
53185 q
53186 }
53187 /^X\(\/\).*/{
53188 s//\1/
53189 q
53190 }
53191 s/.*/./; q'`
53192 test -d "$as_dir" && break
53193 done
53194 test -z "$as_dirs" || eval "mkdir $as_dirs"
53195 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53196 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53197 { (exit 1); exit 1; }; }; }
53198 ac_builddir=.
53199
53200 case "$ac_dir" in
53201 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
53202 *)
53203 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53204 # A ".." for each directory in $ac_dir_suffix.
53205 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53206 case $ac_top_builddir_sub in
53207 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
53208 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
53209 esac ;;
53210 esac
53211 ac_abs_top_builddir=$ac_pwd
53212 ac_abs_builddir=$ac_pwd$ac_dir_suffix
53213 # for backward compatibility:
53214 ac_top_builddir=$ac_top_build_prefix
53215
53216 case $srcdir in
53217 .) # We are building in place.
53218 ac_srcdir=.
53219 ac_top_srcdir=$ac_top_builddir_sub
53220 ac_abs_top_srcdir=$ac_pwd ;;
53221 [\\/]* | ?:[\\/]* ) # Absolute name.
53222 ac_srcdir=$srcdir$ac_dir_suffix;
53223 ac_top_srcdir=$srcdir
53224 ac_abs_top_srcdir=$srcdir ;;
53225 *) # Relative name.
53226 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
53227 ac_top_srcdir=$ac_top_build_prefix$srcdir
53228 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
53229 esac
53230 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
53231
53232
53233 case $ac_mode in
53234 :F)
53235 #
53236 # CONFIG_FILE
53237 #
53238
53239 case $INSTALL in
53240 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
53241 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
53242 esac
53243 _ACEOF
53244
53245 cat >>$CONFIG_STATUS <<\_ACEOF
53246 # If the template does not know about datarootdir, expand it.
53247 # FIXME: This hack should be removed a few years after 2.60.
53248 ac_datarootdir_hack=; ac_datarootdir_seen=
53249
53250 case `sed -n '/datarootdir/ {
53251 p
53252 q
53253 }
53254 /@datadir@/p
53255 /@docdir@/p
53256 /@infodir@/p
53257 /@localedir@/p
53258 /@mandir@/p
53259 ' $ac_file_inputs` in
53260 *datarootdir*) ac_datarootdir_seen=yes;;
53261 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
53262 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
53263 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
53264 _ACEOF
53265 cat >>$CONFIG_STATUS <<_ACEOF
53266 ac_datarootdir_hack='
53267 s&@datadir@&$datadir&g
53268 s&@docdir@&$docdir&g
53269 s&@infodir@&$infodir&g
53270 s&@localedir@&$localedir&g
53271 s&@mandir@&$mandir&g
53272 s&\\\${datarootdir}&$datarootdir&g' ;;
53273 esac
53274 _ACEOF
53275
53276 # Neutralize VPATH when `$srcdir' = `.'.
53277 # Shell code in configure.ac might set extrasub.
53278 # FIXME: do we really want to maintain this feature?
53279 cat >>$CONFIG_STATUS <<_ACEOF
53280 sed "$ac_vpsub
53281 $extrasub
53282 _ACEOF
53283 cat >>$CONFIG_STATUS <<\_ACEOF
53284 :t
53285 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53286 s&@configure_input@&$configure_input&;t t
53287 s&@top_builddir@&$ac_top_builddir_sub&;t t
53288 s&@srcdir@&$ac_srcdir&;t t
53289 s&@abs_srcdir@&$ac_abs_srcdir&;t t
53290 s&@top_srcdir@&$ac_top_srcdir&;t t
53291 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
53292 s&@builddir@&$ac_builddir&;t t
53293 s&@abs_builddir@&$ac_abs_builddir&;t t
53294 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
53295 s&@INSTALL@&$ac_INSTALL&;t t
53296 $ac_datarootdir_hack
53297 " $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
53298
53299 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
53300 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
53301 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
53302 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
53303 which seems to be undefined. Please make sure it is defined." >&5
53304 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
53305 which seems to be undefined. Please make sure it is defined." >&2;}
53306
53307 rm -f "$tmp/stdin"
53308 case $ac_file in
53309 -) cat "$tmp/out"; rm -f "$tmp/out";;
53310 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
53311 esac
53312 ;;
53313 :H)
53314 #
53315 # CONFIG_HEADER
53316 #
53317 _ACEOF
53318
53319 # Transform confdefs.h into a sed script `conftest.defines', that
53320 # substitutes the proper values into config.h.in to produce config.h.
53321 rm -f conftest.defines conftest.tail
53322 # First, append a space to every undef/define line, to ease matching.
53323 echo 's/$/ /' >conftest.defines
53324 # Then, protect against being on the right side of a sed subst, or in
53325 # an unquoted here document, in config.status. If some macros were
53326 # called several times there might be several #defines for the same
53327 # symbol, which is useless. But do not sort them, since the last
53328 # AC_DEFINE must be honored.
53329 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
53330 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
53331 # NAME is the cpp macro being defined, VALUE is the value it is being given.
53332 # PARAMS is the parameter list in the macro definition--in most cases, it's
53333 # just an empty string.
53334 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
53335 ac_dB='\\)[ (].*,\\1define\\2'
53336 ac_dC=' '
53337 ac_dD=' ,'
53338
53339 uniq confdefs.h |
53340 sed -n '
53341 t rset
53342 :rset
53343 s/^[ ]*#[ ]*define[ ][ ]*//
53344 t ok
53345 d
53346 :ok
53347 s/[\\&,]/\\&/g
53348 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
53349 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
53350 ' >>conftest.defines
53351
53352 # Remove the space that was appended to ease matching.
53353 # Then replace #undef with comments. This is necessary, for
53354 # example, in the case of _POSIX_SOURCE, which is predefined and required
53355 # on some systems where configure will not decide to define it.
53356 # (The regexp can be short, since the line contains either #define or #undef.)
53357 echo 's/ $//
53358 s,^[ #]*u.*,/* & */,' >>conftest.defines
53359
53360 # Break up conftest.defines:
53361 ac_max_sed_lines=50
53362
53363 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
53364 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
53365 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
53366 # et cetera.
53367 ac_in='$ac_file_inputs'
53368 ac_out='"$tmp/out1"'
53369 ac_nxt='"$tmp/out2"'
53370
53371 while :
53372 do
53373 # Write a here document:
53374 cat >>$CONFIG_STATUS <<_ACEOF
53375 # First, check the format of the line:
53376 cat >"\$tmp/defines.sed" <<\\CEOF
53377 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
53378 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
53379 b
53380 :def
53381 _ACEOF
53382 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
53383 echo 'CEOF
53384 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
53385 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
53386 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
53387 grep . conftest.tail >/dev/null || break
53388 rm -f conftest.defines
53389 mv conftest.tail conftest.defines
53390 done
53391 rm -f conftest.defines conftest.tail
53392
53393 echo "ac_result=$ac_in" >>$CONFIG_STATUS
53394 cat >>$CONFIG_STATUS <<\_ACEOF
53395 if test x"$ac_file" != x-; then
53396 echo "/* $configure_input */" >"$tmp/config.h"
53397 cat "$ac_result" >>"$tmp/config.h"
53398 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
53399 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
53400 echo "$as_me: $ac_file is unchanged" >&6;}
53401 else
53402 rm -f $ac_file
53403 mv "$tmp/config.h" $ac_file
53404 fi
53405 else
53406 echo "/* $configure_input */"
53407 cat "$ac_result"
53408 fi
53409 rm -f "$tmp/out12"
53410 ;;
53411
53412 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
53413 echo "$as_me: executing $ac_file commands" >&6;}
53414 ;;
53415 esac
53416
53417
53418 case $ac_file$ac_mode in
53419 "rcdefs.h":C)
53420 mkdir -p $outdir &&
53421 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
53422 ;;
53423 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
53424 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
53425 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
53426 "wx-config":C) rm -f wx-config
53427 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
53428 ;;
53429
53430 esac
53431 done # for ac_tag
53432
53433
53434 { (exit 0); exit 0; }
53435 _ACEOF
53436 chmod +x $CONFIG_STATUS
53437 ac_clean_files=$ac_clean_files_save
53438
53439
53440 # configure is writing to config.log, and then calls config.status.
53441 # config.status does its own redirection, appending to config.log.
53442 # Unfortunately, on DOS this fails, as config.log is still kept open
53443 # by configure, so config.status won't be able to write to it; its
53444 # output is simply discarded. So we exec the FD to /dev/null,
53445 # effectively closing config.log, so it can be properly (re)opened and
53446 # appended to by config.status. When coming back to configure, we
53447 # need to make the FD available again.
53448 if test "$no_create" != yes; then
53449 ac_cs_success=:
53450 ac_config_status_args=
53451 test "$silent" = yes &&
53452 ac_config_status_args="$ac_config_status_args --quiet"
53453 exec 5>/dev/null
53454 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
53455 exec 5>>config.log
53456 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
53457 # would make configure fail if this is the last instruction.
53458 $ac_cs_success || { (exit 1); exit 1; }
53459 fi
53460
53461 #
53462 # CONFIG_SUBDIRS section.
53463 #
53464 if test "$no_recursion" != yes; then
53465
53466 # Remove --cache-file and --srcdir arguments so they do not pile up.
53467 ac_sub_configure_args=
53468 ac_prev=
53469 eval "set x $ac_configure_args"
53470 shift
53471 for ac_arg
53472 do
53473 if test -n "$ac_prev"; then
53474 ac_prev=
53475 continue
53476 fi
53477 case $ac_arg in
53478 -cache-file | --cache-file | --cache-fil | --cache-fi \
53479 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
53480 ac_prev=cache_file ;;
53481 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
53482 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
53483 | --c=*)
53484 ;;
53485 --config-cache | -C)
53486 ;;
53487 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
53488 ac_prev=srcdir ;;
53489 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
53490 ;;
53491 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
53492 ac_prev=prefix ;;
53493 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
53494 ;;
53495 *)
53496 case $ac_arg in
53497 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53498 esac
53499 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
53500 esac
53501 done
53502
53503 # Always prepend --prefix to ensure using the same prefix
53504 # in subdir configurations.
53505 ac_arg="--prefix=$prefix"
53506 case $ac_arg in
53507 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53508 esac
53509 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
53510
53511 # Pass --silent
53512 if test "$silent" = yes; then
53513 ac_sub_configure_args="--silent $ac_sub_configure_args"
53514 fi
53515
53516 ac_popdir=`pwd`
53517 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
53518
53519 # Do not complain, so a configure script can configure whichever
53520 # parts of a large source tree are present.
53521 test -d "$srcdir/$ac_dir" || continue
53522
53523 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
53524 echo "$as_me:$LINENO: $ac_msg" >&5
53525 echo "$ac_msg" >&6
53526 { as_dir="$ac_dir"
53527 case $as_dir in #(
53528 -*) as_dir=./$as_dir;;
53529 esac
53530 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53531 as_dirs=
53532 while :; do
53533 case $as_dir in #(
53534 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53535 *) as_qdir=$as_dir;;
53536 esac
53537 as_dirs="'$as_qdir' $as_dirs"
53538 as_dir=`$as_dirname -- "$as_dir" ||
53539 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53540 X"$as_dir" : 'X\(//\)[^/]' \| \
53541 X"$as_dir" : 'X\(//\)$' \| \
53542 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53543 echo X"$as_dir" |
53544 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53545 s//\1/
53546 q
53547 }
53548 /^X\(\/\/\)[^/].*/{
53549 s//\1/
53550 q
53551 }
53552 /^X\(\/\/\)$/{
53553 s//\1/
53554 q
53555 }
53556 /^X\(\/\).*/{
53557 s//\1/
53558 q
53559 }
53560 s/.*/./; q'`
53561 test -d "$as_dir" && break
53562 done
53563 test -z "$as_dirs" || eval "mkdir $as_dirs"
53564 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53565 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53566 { (exit 1); exit 1; }; }; }
53567 ac_builddir=.
53568
53569 case "$ac_dir" in
53570 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
53571 *)
53572 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53573 # A ".." for each directory in $ac_dir_suffix.
53574 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53575 case $ac_top_builddir_sub in
53576 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
53577 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
53578 esac ;;
53579 esac
53580 ac_abs_top_builddir=$ac_pwd
53581 ac_abs_builddir=$ac_pwd$ac_dir_suffix
53582 # for backward compatibility:
53583 ac_top_builddir=$ac_top_build_prefix
53584
53585 case $srcdir in
53586 .) # We are building in place.
53587 ac_srcdir=.
53588 ac_top_srcdir=$ac_top_builddir_sub
53589 ac_abs_top_srcdir=$ac_pwd ;;
53590 [\\/]* | ?:[\\/]* ) # Absolute name.
53591 ac_srcdir=$srcdir$ac_dir_suffix;
53592 ac_top_srcdir=$srcdir
53593 ac_abs_top_srcdir=$srcdir ;;
53594 *) # Relative name.
53595 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
53596 ac_top_srcdir=$ac_top_build_prefix$srcdir
53597 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
53598 esac
53599 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
53600
53601
53602 cd "$ac_dir"
53603
53604 # Check for guested configure; otherwise get Cygnus style configure.
53605 if test -f "$ac_srcdir/configure.gnu"; then
53606 ac_sub_configure=$ac_srcdir/configure.gnu
53607 elif test -f "$ac_srcdir/configure"; then
53608 ac_sub_configure=$ac_srcdir/configure
53609 elif test -f "$ac_srcdir/configure.in"; then
53610 # This should be Cygnus configure.
53611 ac_sub_configure=$ac_aux_dir/configure
53612 else
53613 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
53614 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
53615 ac_sub_configure=
53616 fi
53617
53618 # The recursion is here.
53619 if test -n "$ac_sub_configure"; then
53620 # Make the cache file name correct relative to the subdirectory.
53621 case $cache_file in
53622 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
53623 *) # Relative name.
53624 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
53625 esac
53626
53627 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
53628 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53629 # The eval makes quoting arguments work.
53630 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
53631 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
53632 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53633 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53634 { (exit 1); exit 1; }; }
53635 fi
53636
53637 cd "$ac_popdir"
53638 done
53639 fi
53640
53641
53642 echo
53643 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53644 echo ""
53645 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53646 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53647 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53648 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
53649 if test "$wxUSE_UNICODE" = "yes"; then
53650 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53651 echo " (using UTF-8)"
53652 else
53653 echo " (using wchar_t)"
53654 fi
53655 else
53656 echo
53657 fi
53658
53659 echo " What level of wxWidgets compatibility should be enabled?"
53660 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53661 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53662
53663 echo " Which libraries should wxWidgets use?"
53664 echo " STL ${wxUSE_STL}"
53665 echo " jpeg ${wxUSE_LIBJPEG-none}"
53666 echo " png ${wxUSE_LIBPNG-none}"
53667 echo " regex ${wxUSE_REGEX}"
53668 echo " tiff ${wxUSE_LIBTIFF-none}"
53669 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53670 echo " xpm ${wxUSE_LIBXPM-none}"
53671 fi
53672 echo " zlib ${wxUSE_ZLIB}"
53673 echo " expat ${wxUSE_EXPAT}"
53674 echo " libmspack ${wxUSE_LIBMSPACK}"
53675 echo " sdl ${wxUSE_LIBSDL}"
53676
53677 echo ""
53678