]> git.saurik.com Git - wxWidgets.git/blob - configure
added helper GTKShouldIgnoreEvent() to use in void GTK event handlers
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 60979 2009-06-10 14:56:18Z VZ .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
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.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
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 subdirs
680 PKG_CONFIG
681 GTK_CFLAGS
682 GTK_LIBS
683 GTK_CONFIG
684 DIRECTFB_CFLAGS
685 DIRECTFB_LIBS
686 XMKMF
687 X_CFLAGS
688 X_PRE_LIBS
689 X_LIBS
690 X_EXTRA_LIBS
691 PANGOX_CFLAGS
692 PANGOX_LIBS
693 PANGOFT2_CFLAGS
694 PANGOFT2_LIBS
695 PANGOXFT_CFLAGS
696 PANGOXFT_LIBS
697 CFLAGS_VISIBILITY
698 CXXFLAGS_VISIBILITY
699 LIBICONV
700 GXX_VERSION
701 SDL_CONFIG
702 SDL_CFLAGS
703 SDL_LIBS
704 GTKPRINT_CFLAGS
705 GTKPRINT_LIBS
706 LIBGNOMEPRINTUI_CFLAGS
707 LIBGNOMEPRINTUI_LIBS
708 GNOMEVFS_CFLAGS
709 GNOMEVFS_LIBS
710 HILDON_CFLAGS
711 HILDON_LIBS
712 PYTHON
713 COND_PYTHON
714 CAIRO_CFLAGS
715 CAIRO_LIBS
716 GST_CFLAGS
717 GST_LIBS
718 ALL_WX_LIBS
719 BUILT_WX_LIBS
720 STD_BASE_LIBS
721 STD_GUI_LIBS
722 wxUSE_ZLIB
723 wxUSE_REGEX
724 wxUSE_EXPAT
725 wxUSE_LIBJPEG
726 wxUSE_LIBPNG
727 wxUSE_LIBTIFF
728 VENDOR
729 OFFICIAL_BUILD
730 WX_FLAVOUR
731 WX_LIB_FLAVOUR
732 WXUNIV
733 MONOLITHIC
734 USE_PLUGINS
735 CXXWARNINGS
736 EXTRALIBS
737 EXTRALIBS_XML
738 EXTRALIBS_HTML
739 EXTRALIBS_MEDIA
740 EXTRALIBS_GUI
741 EXTRALIBS_OPENGL
742 EXTRALIBS_SDL
743 EXTRALIBS_STC
744 WITH_PLUGIN_SDL
745 EXTRALIBS_GTKPRINT
746 EXTRALIBS_GNOMEPRINT
747 EXTRALIBS_GNOMEVFS
748 EXTRALIBS_HILDON
749 UNICODE
750 BUILD
751 DEBUG_INFO
752 DEBUG_FLAG
753 TOOLKIT_LOWERCASE
754 TOOLKIT_VERSION
755 DYLIB_RPATH_INSTALL
756 DYLIB_RPATH_POSTLINK
757 SAMPLES_RPATH_FLAG
758 HEADER_PAD_OPTION
759 HOST_SUFFIX
760 CPPUNIT_CFLAGS
761 CPPUNIT_LIBS
762 RANLIB
763 INSTALL_PROGRAM
764 INSTALL_SCRIPT
765 INSTALL_DATA
766 LN_S
767 SET_MAKE
768 MAKE_SET
769 AROPTIONS
770 STRIP
771 NM
772 INSTALL_DIR
773 LDFLAGS_GUI
774 IF_GNU_MAKE
775 PLATFORM_UNIX
776 PLATFORM_WIN32
777 PLATFORM_MSDOS
778 PLATFORM_MAC
779 PLATFORM_MACOS
780 PLATFORM_MACOSX
781 PLATFORM_OS2
782 PLATFORM_BEOS
783 SO_SUFFIX
784 SO_SUFFIX_MODULE
785 DLLIMP_SUFFIX
786 LIBPREFIX
787 LIBEXT
788 DLLPREFIX
789 DLLPREFIX_MODULE
790 dlldir
791 AIX_CXX_LD
792 SHARED_LD_CC
793 SHARED_LD_CXX
794 SHARED_LD_MODULE_CC
795 SHARED_LD_MODULE_CXX
796 PIC_FLAG
797 WINDOWS_IMPLIB
798 USE_SOVERSION
799 USE_SOVERLINUX
800 USE_SOVERSOLARIS
801 USE_SOVERCYGWIN
802 USE_MACVERSION
803 USE_SOSYMLINKS
804 SONAME_FLAG
805 DEPS_TRACKING
806 BK_DEPS
807 WINDRES
808 REZ
809 SETFILE
810 OBJCXXFLAGS
811 GCC_PCH
812 ICC_PCH
813 ICC_PCH_CREATE_SWITCH
814 ICC_PCH_USE_SWITCH
815 BK_MAKE_PCH
816 COND_BUILD_DEBUG
817 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
818 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
819 COND_BUILD_DEBUG_UNICODE_0
820 COND_BUILD_DEBUG_UNICODE_1
821 COND_BUILD_RELEASE
822 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
823 COND_BUILD_RELEASE_UNICODE_0
824 COND_BUILD_RELEASE_UNICODE_1
825 COND_BUILD_debug
826 COND_BUILD_debug_DEBUG_FLAG_default
827 COND_BUILD_debug_DEBUG_INFO_default
828 COND_BUILD_debug_UNICODE_0
829 COND_BUILD_debug_UNICODE_1
830 COND_BUILD_release
831 COND_BUILD_release_DEBUG_INFO_default
832 COND_BUILD_release_UNICODE_0
833 COND_BUILD_release_UNICODE_1
834 COND_DEBUG_FLAG_1
835 COND_DEBUG_INFO_0
836 COND_DEBUG_INFO_1
837 COND_DEPS_TRACKING_0
838 COND_DEPS_TRACKING_1
839 COND_GCC_PCH_1
840 COND_ICC_PCH_1
841 COND_MONOLITHIC_0
842 COND_MONOLITHIC_0_SHARED_0
843 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
848 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
849 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
850 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
851 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
852 COND_MONOLITHIC_0_SHARED_1
853 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
854 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
855 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
856 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
857 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
858 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
859 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
860 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
861 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
862 COND_MONOLITHIC_0_USE_AUI_1
863 COND_MONOLITHIC_0_USE_GUI_1
864 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
865 COND_MONOLITHIC_0_USE_HTML_1
866 COND_MONOLITHIC_0_USE_MEDIA_1
867 COND_MONOLITHIC_0_USE_PROPGRID_1
868 COND_MONOLITHIC_0_USE_QA_1
869 COND_MONOLITHIC_0_USE_RICHTEXT_1
870 COND_MONOLITHIC_0_USE_STC_1
871 COND_MONOLITHIC_0_USE_XRC_1
872 COND_MONOLITHIC_1
873 COND_MONOLITHIC_1_SHARED_0
874 COND_MONOLITHIC_1_SHARED_1
875 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
876 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
877 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
878 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
879 COND_PLATFORM_MACOSX_1
880 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
881 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
882 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
883 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
884 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
885 COND_PLATFORM_MACOSX_1_USE_GUI_1
886 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
887 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
888 COND_PLATFORM_MACOS_1
889 COND_PLATFORM_MAC_0
890 COND_PLATFORM_MAC_1
891 COND_PLATFORM_MSDOS_0
892 COND_PLATFORM_MSDOS_1
893 COND_PLATFORM_OS2_1
894 COND_PLATFORM_UNIX_0
895 COND_PLATFORM_UNIX_1
896 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
897 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
898 COND_PLATFORM_UNIX_1_USE_GUI_1
899 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
900 COND_PLATFORM_WIN32_0
901 COND_PLATFORM_WIN32_1
902 COND_SHARED_0
903 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
904 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
905 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
906 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
907 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
908 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
909 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
910 COND_SHARED_0_USE_STC_1
911 COND_SHARED_0_wxUSE_EXPAT_builtin
912 COND_SHARED_0_wxUSE_REGEX_builtin
913 COND_SHARED_0_wxUSE_ZLIB_builtin
914 COND_SHARED_1
915 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
916 COND_TOOLKIT_
917 COND_TOOLKIT_COCOA
918 COND_TOOLKIT_COCOA_USE_GUI_1
919 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
920 COND_TOOLKIT_DFB
921 COND_TOOLKIT_DFB_USE_GUI_1
922 COND_TOOLKIT_GTK
923 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
924 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
925 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
926 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
927 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
928 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
929 COND_TOOLKIT_GTK_USE_GUI_1
930 COND_TOOLKIT_MAC
931 COND_TOOLKIT_MGL
932 COND_TOOLKIT_MGL_USE_GUI_1
933 COND_TOOLKIT_MOTIF
934 COND_TOOLKIT_MOTIF_USE_GUI_1
935 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
936 COND_TOOLKIT_MSW
937 COND_TOOLKIT_MSW_USE_GUI_1
938 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
939 COND_TOOLKIT_MSW_WXUNIV_0
940 COND_TOOLKIT_OSX_CARBON
941 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
942 COND_TOOLKIT_OSX_COCOA
943 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
944 COND_TOOLKIT_OSX_IPHONE
945 COND_TOOLKIT_PM
946 COND_TOOLKIT_PM_USE_GUI_1
947 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
948 COND_TOOLKIT_WINCE
949 COND_TOOLKIT_WINCE_USE_GUI_1
950 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
951 COND_TOOLKIT_WINCE_WXUNIV_0
952 COND_TOOLKIT_X11
953 COND_TOOLKIT_X11_USE_GUI_1
954 COND_UNICODE_1
955 COND_USE_EXCEPTIONS_0
956 COND_USE_EXCEPTIONS_1
957 COND_USE_GUI_0
958 COND_USE_GUI_1
959 COND_USE_GUI_1_USE_OPENGL_1
960 COND_USE_GUI_1_WXUNIV_0
961 COND_USE_GUI_1_WXUNIV_1
962 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
963 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
964 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
965 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
966 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
967 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
968 COND_USE_OPENGL_1
969 COND_USE_PCH_1
970 COND_USE_PLUGINS_0
971 COND_USE_RTTI_0
972 COND_USE_RTTI_1
973 COND_USE_SOSYMLINKS_1
974 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
975 COND_USE_SOVERLINUX_1
976 COND_USE_SOVERSION_0
977 COND_USE_SOVERSOLARIS_1
978 COND_USE_STC_1
979 COND_USE_THREADS_0
980 COND_USE_THREADS_1
981 COND_USE_XRC_1
982 COND_WINDOWS_IMPLIB_1
983 COND_WITH_PLUGIN_SDL_1
984 COND_WXUNIV_0
985 COND_WXUNIV_1
986 COND_WXUSE_EXPAT_BUILTIN
987 COND_WXUSE_LIBJPEG_BUILTIN
988 COND_WXUSE_LIBPNG_BUILTIN
989 COND_WXUSE_LIBTIFF_BUILTIN
990 COND_WXUSE_REGEX_BUILTIN
991 COND_WXUSE_ZLIB_BUILTIN
992 COND_wxUSE_EXPAT_builtin
993 COND_wxUSE_LIBJPEG_builtin
994 COND_wxUSE_LIBPNG_builtin
995 COND_wxUSE_LIBTIFF_builtin
996 COND_wxUSE_REGEX_builtin
997 COND_wxUSE_ZLIB_builtin
998 DEREZ
999 SHARED
1000 WX_LIBRARY_BASENAME_NOGUI
1001 WX_LIBRARY_BASENAME_GUI
1002 USE_GUI
1003 AFMINSTALL
1004 WIN32INSTALL
1005 TOOLKIT
1006 TOOLKIT_DIR
1007 TOOLCHAIN_NAME
1008 TOOLCHAIN_FULLNAME
1009 cross_compiling
1010 WIDGET_SET
1011 WX_RELEASE
1012 WX_VERSION
1013 WX_SUBVERSION
1014 WX_CHARTYPE
1015 WX_DEBUGTYPE
1016 WXCONFIG_CPPFLAGS
1017 WXCONFIG_CFLAGS
1018 WXCONFIG_CXXFLAGS
1019 WXCONFIG_LIBS
1020 WXCONFIG_RPATH
1021 WXCONFIG_LDFLAGS_GUI
1022 WXCONFIG_RESFLAGS
1023 GUIDIST
1024 DISTDIR
1025 SAMPLES_SUBDIRS
1026 LDFLAGS_GL
1027 OPENGL_LIBS
1028 DMALLOC_LIBS
1029 WX_VERSION_TAG
1030 RESCOMP
1031 RESFLAGS
1032 RESPROGRAMOBJ
1033 WX_RESOURCES_MACOSX_ASCII
1034 WX_RESOURCES_MACOSX_DATA
1035 LIBWXMACRES
1036 POSTLINK_COMMAND
1037 MACSETFILE
1038 GCC
1039 DLLTOOL
1040 CPPUNIT_CONFIG
1041 LIBOBJS
1042 LTLIBOBJS'
1043 ac_subst_files=''
1044 ac_precious_vars='build_alias
1045 host_alias
1046 target_alias
1047 CC
1048 CFLAGS
1049 LDFLAGS
1050 LIBS
1051 CPPFLAGS
1052 CPP
1053 CXX
1054 CXXFLAGS
1055 CCC
1056 PKG_CONFIG
1057 DIRECTFB_CFLAGS
1058 DIRECTFB_LIBS
1059 XMKMF
1060 PANGOX_CFLAGS
1061 PANGOX_LIBS
1062 PANGOFT2_CFLAGS
1063 PANGOFT2_LIBS
1064 PANGOXFT_CFLAGS
1065 PANGOXFT_LIBS
1066 GTKPRINT_CFLAGS
1067 GTKPRINT_LIBS
1068 LIBGNOMEPRINTUI_CFLAGS
1069 LIBGNOMEPRINTUI_LIBS
1070 GNOMEVFS_CFLAGS
1071 GNOMEVFS_LIBS
1072 HILDON_CFLAGS
1073 HILDON_LIBS
1074 CAIRO_CFLAGS
1075 CAIRO_LIBS
1076 GST_CFLAGS
1077 GST_LIBS'
1078 ac_subdirs_all='src/tiff
1079 src/expat'
1080
1081 # Initialize some variables set by options.
1082 ac_init_help=
1083 ac_init_version=false
1084 # The variables have the same names as the options, with
1085 # dashes changed to underlines.
1086 cache_file=/dev/null
1087 exec_prefix=NONE
1088 no_create=
1089 no_recursion=
1090 prefix=NONE
1091 program_prefix=NONE
1092 program_suffix=NONE
1093 program_transform_name=s,x,x,
1094 silent=
1095 site=
1096 srcdir=
1097 verbose=
1098 x_includes=NONE
1099 x_libraries=NONE
1100
1101 # Installation directory options.
1102 # These are left unexpanded so users can "make install exec_prefix=/foo"
1103 # and all the variables that are supposed to be based on exec_prefix
1104 # by default will actually change.
1105 # Use braces instead of parens because sh, perl, etc. also accept them.
1106 # (The list follows the same order as the GNU Coding Standards.)
1107 bindir='${exec_prefix}/bin'
1108 sbindir='${exec_prefix}/sbin'
1109 libexecdir='${exec_prefix}/libexec'
1110 datarootdir='${prefix}/share'
1111 datadir='${datarootdir}'
1112 sysconfdir='${prefix}/etc'
1113 sharedstatedir='${prefix}/com'
1114 localstatedir='${prefix}/var'
1115 includedir='${prefix}/include'
1116 oldincludedir='/usr/include'
1117 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1118 infodir='${datarootdir}/info'
1119 htmldir='${docdir}'
1120 dvidir='${docdir}'
1121 pdfdir='${docdir}'
1122 psdir='${docdir}'
1123 libdir='${exec_prefix}/lib'
1124 localedir='${datarootdir}/locale'
1125 mandir='${datarootdir}/man'
1126
1127 ac_prev=
1128 ac_dashdash=
1129 for ac_option
1130 do
1131 # If the previous option needs an argument, assign it.
1132 if test -n "$ac_prev"; then
1133 eval $ac_prev=\$ac_option
1134 ac_prev=
1135 continue
1136 fi
1137
1138 case $ac_option in
1139 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1140 *) ac_optarg=yes ;;
1141 esac
1142
1143 # Accept the important Cygnus configure options, so we can diagnose typos.
1144
1145 case $ac_dashdash$ac_option in
1146 --)
1147 ac_dashdash=yes ;;
1148
1149 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1150 ac_prev=bindir ;;
1151 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1152 bindir=$ac_optarg ;;
1153
1154 -build | --build | --buil | --bui | --bu)
1155 ac_prev=build_alias ;;
1156 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1157 build_alias=$ac_optarg ;;
1158
1159 -cache-file | --cache-file | --cache-fil | --cache-fi \
1160 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1161 ac_prev=cache_file ;;
1162 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1163 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1164 cache_file=$ac_optarg ;;
1165
1166 --config-cache | -C)
1167 cache_file=config.cache ;;
1168
1169 -datadir | --datadir | --datadi | --datad)
1170 ac_prev=datadir ;;
1171 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1172 datadir=$ac_optarg ;;
1173
1174 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1175 | --dataroo | --dataro | --datar)
1176 ac_prev=datarootdir ;;
1177 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1178 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1179 datarootdir=$ac_optarg ;;
1180
1181 -disable-* | --disable-*)
1182 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1183 # Reject names that are not valid shell variable names.
1184 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1185 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1186 { (exit 1); exit 1; }; }
1187 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1188 eval enable_$ac_feature=no ;;
1189
1190 -docdir | --docdir | --docdi | --doc | --do)
1191 ac_prev=docdir ;;
1192 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1193 docdir=$ac_optarg ;;
1194
1195 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1196 ac_prev=dvidir ;;
1197 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1198 dvidir=$ac_optarg ;;
1199
1200 -enable-* | --enable-*)
1201 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1202 # Reject names that are not valid shell variable names.
1203 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1204 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1205 { (exit 1); exit 1; }; }
1206 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1207 eval enable_$ac_feature=\$ac_optarg ;;
1208
1209 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1210 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1211 | --exec | --exe | --ex)
1212 ac_prev=exec_prefix ;;
1213 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1214 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1215 | --exec=* | --exe=* | --ex=*)
1216 exec_prefix=$ac_optarg ;;
1217
1218 -gas | --gas | --ga | --g)
1219 # Obsolete; use --with-gas.
1220 with_gas=yes ;;
1221
1222 -help | --help | --hel | --he | -h)
1223 ac_init_help=long ;;
1224 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1225 ac_init_help=recursive ;;
1226 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1227 ac_init_help=short ;;
1228
1229 -host | --host | --hos | --ho)
1230 ac_prev=host_alias ;;
1231 -host=* | --host=* | --hos=* | --ho=*)
1232 host_alias=$ac_optarg ;;
1233
1234 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1235 ac_prev=htmldir ;;
1236 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1237 | --ht=*)
1238 htmldir=$ac_optarg ;;
1239
1240 -includedir | --includedir | --includedi | --included | --include \
1241 | --includ | --inclu | --incl | --inc)
1242 ac_prev=includedir ;;
1243 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1244 | --includ=* | --inclu=* | --incl=* | --inc=*)
1245 includedir=$ac_optarg ;;
1246
1247 -infodir | --infodir | --infodi | --infod | --info | --inf)
1248 ac_prev=infodir ;;
1249 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1250 infodir=$ac_optarg ;;
1251
1252 -libdir | --libdir | --libdi | --libd)
1253 ac_prev=libdir ;;
1254 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1255 libdir=$ac_optarg ;;
1256
1257 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1258 | --libexe | --libex | --libe)
1259 ac_prev=libexecdir ;;
1260 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1261 | --libexe=* | --libex=* | --libe=*)
1262 libexecdir=$ac_optarg ;;
1263
1264 -localedir | --localedir | --localedi | --localed | --locale)
1265 ac_prev=localedir ;;
1266 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1267 localedir=$ac_optarg ;;
1268
1269 -localstatedir | --localstatedir | --localstatedi | --localstated \
1270 | --localstate | --localstat | --localsta | --localst | --locals)
1271 ac_prev=localstatedir ;;
1272 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1273 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1274 localstatedir=$ac_optarg ;;
1275
1276 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1277 ac_prev=mandir ;;
1278 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1279 mandir=$ac_optarg ;;
1280
1281 -nfp | --nfp | --nf)
1282 # Obsolete; use --without-fp.
1283 with_fp=no ;;
1284
1285 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1286 | --no-cr | --no-c | -n)
1287 no_create=yes ;;
1288
1289 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1290 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1291 no_recursion=yes ;;
1292
1293 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1294 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1295 | --oldin | --oldi | --old | --ol | --o)
1296 ac_prev=oldincludedir ;;
1297 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1298 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1299 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1300 oldincludedir=$ac_optarg ;;
1301
1302 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1303 ac_prev=prefix ;;
1304 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1305 prefix=$ac_optarg ;;
1306
1307 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1308 | --program-pre | --program-pr | --program-p)
1309 ac_prev=program_prefix ;;
1310 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1311 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1312 program_prefix=$ac_optarg ;;
1313
1314 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1315 | --program-suf | --program-su | --program-s)
1316 ac_prev=program_suffix ;;
1317 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1318 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1319 program_suffix=$ac_optarg ;;
1320
1321 -program-transform-name | --program-transform-name \
1322 | --program-transform-nam | --program-transform-na \
1323 | --program-transform-n | --program-transform- \
1324 | --program-transform | --program-transfor \
1325 | --program-transfo | --program-transf \
1326 | --program-trans | --program-tran \
1327 | --progr-tra | --program-tr | --program-t)
1328 ac_prev=program_transform_name ;;
1329 -program-transform-name=* | --program-transform-name=* \
1330 | --program-transform-nam=* | --program-transform-na=* \
1331 | --program-transform-n=* | --program-transform-=* \
1332 | --program-transform=* | --program-transfor=* \
1333 | --program-transfo=* | --program-transf=* \
1334 | --program-trans=* | --program-tran=* \
1335 | --progr-tra=* | --program-tr=* | --program-t=*)
1336 program_transform_name=$ac_optarg ;;
1337
1338 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1339 ac_prev=pdfdir ;;
1340 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1341 pdfdir=$ac_optarg ;;
1342
1343 -psdir | --psdir | --psdi | --psd | --ps)
1344 ac_prev=psdir ;;
1345 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1346 psdir=$ac_optarg ;;
1347
1348 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1349 | -silent | --silent | --silen | --sile | --sil)
1350 silent=yes ;;
1351
1352 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1353 ac_prev=sbindir ;;
1354 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1355 | --sbi=* | --sb=*)
1356 sbindir=$ac_optarg ;;
1357
1358 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1359 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1360 | --sharedst | --shareds | --shared | --share | --shar \
1361 | --sha | --sh)
1362 ac_prev=sharedstatedir ;;
1363 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1364 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1365 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1366 | --sha=* | --sh=*)
1367 sharedstatedir=$ac_optarg ;;
1368
1369 -site | --site | --sit)
1370 ac_prev=site ;;
1371 -site=* | --site=* | --sit=*)
1372 site=$ac_optarg ;;
1373
1374 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1375 ac_prev=srcdir ;;
1376 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1377 srcdir=$ac_optarg ;;
1378
1379 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1380 | --syscon | --sysco | --sysc | --sys | --sy)
1381 ac_prev=sysconfdir ;;
1382 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1383 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1384 sysconfdir=$ac_optarg ;;
1385
1386 -target | --target | --targe | --targ | --tar | --ta | --t)
1387 ac_prev=target_alias ;;
1388 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1389 target_alias=$ac_optarg ;;
1390
1391 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1392 verbose=yes ;;
1393
1394 -version | --version | --versio | --versi | --vers | -V)
1395 ac_init_version=: ;;
1396
1397 -with-* | --with-*)
1398 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1399 # Reject names that are not valid shell variable names.
1400 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1401 { echo "$as_me: error: invalid package name: $ac_package" >&2
1402 { (exit 1); exit 1; }; }
1403 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1404 eval with_$ac_package=\$ac_optarg ;;
1405
1406 -without-* | --without-*)
1407 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1408 # Reject names that are not valid shell variable names.
1409 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1410 { echo "$as_me: error: invalid package name: $ac_package" >&2
1411 { (exit 1); exit 1; }; }
1412 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1413 eval with_$ac_package=no ;;
1414
1415 --x)
1416 # Obsolete; use --with-x.
1417 with_x=yes ;;
1418
1419 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1420 | --x-incl | --x-inc | --x-in | --x-i)
1421 ac_prev=x_includes ;;
1422 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1423 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1424 x_includes=$ac_optarg ;;
1425
1426 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1427 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1428 ac_prev=x_libraries ;;
1429 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1430 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1431 x_libraries=$ac_optarg ;;
1432
1433 -*) { echo "$as_me: error: unrecognized option: $ac_option
1434 Try \`$0 --help' for more information." >&2
1435 { (exit 1); exit 1; }; }
1436 ;;
1437
1438 *=*)
1439 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1440 # Reject names that are not valid shell variable names.
1441 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1442 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1443 { (exit 1); exit 1; }; }
1444 eval $ac_envvar=\$ac_optarg
1445 export $ac_envvar ;;
1446
1447 *)
1448 # FIXME: should be removed in autoconf 3.0.
1449 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1450 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1451 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1452 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1453 ;;
1454
1455 esac
1456 done
1457
1458 if test -n "$ac_prev"; then
1459 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1460 { echo "$as_me: error: missing argument to $ac_option" >&2
1461 { (exit 1); exit 1; }; }
1462 fi
1463
1464 # Be sure to have absolute directory names.
1465 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1466 datadir sysconfdir sharedstatedir localstatedir includedir \
1467 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1468 libdir localedir mandir
1469 do
1470 eval ac_val=\$$ac_var
1471 case $ac_val in
1472 [\\/$]* | ?:[\\/]* ) continue;;
1473 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1474 esac
1475 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1476 { (exit 1); exit 1; }; }
1477 done
1478
1479 # There might be people who depend on the old broken behavior: `$host'
1480 # used to hold the argument of --host etc.
1481 # FIXME: To remove some day.
1482 build=$build_alias
1483 host=$host_alias
1484 target=$target_alias
1485
1486 # FIXME: To remove some day.
1487 if test "x$host_alias" != x; then
1488 if test "x$build_alias" = x; then
1489 cross_compiling=maybe
1490 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1491 If a cross compiler is detected then cross compile mode will be used." >&2
1492 elif test "x$build_alias" != "x$host_alias"; then
1493 cross_compiling=yes
1494 fi
1495 fi
1496
1497 ac_tool_prefix=
1498 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1499
1500 test "$silent" = yes && exec 6>/dev/null
1501
1502
1503 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1504 ac_ls_di=`ls -di .` &&
1505 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1506 { echo "$as_me: error: Working directory cannot be determined" >&2
1507 { (exit 1); exit 1; }; }
1508 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1509 { echo "$as_me: error: pwd does not report name of working directory" >&2
1510 { (exit 1); exit 1; }; }
1511
1512
1513 # Find the source files, if location was not specified.
1514 if test -z "$srcdir"; then
1515 ac_srcdir_defaulted=yes
1516 # Try the directory containing this script, then the parent directory.
1517 ac_confdir=`$as_dirname -- "$0" ||
1518 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1519 X"$0" : 'X\(//\)[^/]' \| \
1520 X"$0" : 'X\(//\)$' \| \
1521 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1522 echo X"$0" |
1523 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1524 s//\1/
1525 q
1526 }
1527 /^X\(\/\/\)[^/].*/{
1528 s//\1/
1529 q
1530 }
1531 /^X\(\/\/\)$/{
1532 s//\1/
1533 q
1534 }
1535 /^X\(\/\).*/{
1536 s//\1/
1537 q
1538 }
1539 s/.*/./; q'`
1540 srcdir=$ac_confdir
1541 if test ! -r "$srcdir/$ac_unique_file"; then
1542 srcdir=..
1543 fi
1544 else
1545 ac_srcdir_defaulted=no
1546 fi
1547 if test ! -r "$srcdir/$ac_unique_file"; then
1548 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1549 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1550 { (exit 1); exit 1; }; }
1551 fi
1552 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1553 ac_abs_confdir=`(
1554 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1555 { (exit 1); exit 1; }; }
1556 pwd)`
1557 # When building in place, set srcdir=.
1558 if test "$ac_abs_confdir" = "$ac_pwd"; then
1559 srcdir=.
1560 fi
1561 # Remove unnecessary trailing slashes from srcdir.
1562 # Double slashes in file names in object file debugging info
1563 # mess up M-x gdb in Emacs.
1564 case $srcdir in
1565 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1566 esac
1567 for ac_var in $ac_precious_vars; do
1568 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1569 eval ac_env_${ac_var}_value=\$${ac_var}
1570 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1571 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1572 done
1573
1574 #
1575 # Report the --help message.
1576 #
1577 if test "$ac_init_help" = "long"; then
1578 # Omit some internal or obsolete options to make the list less imposing.
1579 # This message is too long to be a string in the A/UX 3.1 sh.
1580 cat <<_ACEOF
1581 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1582
1583 Usage: $0 [OPTION]... [VAR=VALUE]...
1584
1585 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1586 VAR=VALUE. See below for descriptions of some of the useful variables.
1587
1588 Defaults for the options are specified in brackets.
1589
1590 Configuration:
1591 -h, --help display this help and exit
1592 --help=short display options specific to this package
1593 --help=recursive display the short help of all the included packages
1594 -V, --version display version information and exit
1595 -q, --quiet, --silent do not print \`checking...' messages
1596 --cache-file=FILE cache test results in FILE [disabled]
1597 -C, --config-cache alias for \`--cache-file=config.cache'
1598 -n, --no-create do not create output files
1599 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1600
1601 Installation directories:
1602 --prefix=PREFIX install architecture-independent files in PREFIX
1603 [$ac_default_prefix]
1604 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1605 [PREFIX]
1606
1607 By default, \`make install' will install all the files in
1608 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1609 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1610 for instance \`--prefix=\$HOME'.
1611
1612 For better control, use the options below.
1613
1614 Fine tuning of the installation directories:
1615 --bindir=DIR user executables [EPREFIX/bin]
1616 --sbindir=DIR system admin executables [EPREFIX/sbin]
1617 --libexecdir=DIR program executables [EPREFIX/libexec]
1618 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1619 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1620 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1621 --libdir=DIR object code libraries [EPREFIX/lib]
1622 --includedir=DIR C header files [PREFIX/include]
1623 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1624 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1625 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1626 --infodir=DIR info documentation [DATAROOTDIR/info]
1627 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1628 --mandir=DIR man documentation [DATAROOTDIR/man]
1629 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1630 --htmldir=DIR html documentation [DOCDIR]
1631 --dvidir=DIR dvi documentation [DOCDIR]
1632 --pdfdir=DIR pdf documentation [DOCDIR]
1633 --psdir=DIR ps documentation [DOCDIR]
1634 _ACEOF
1635
1636 cat <<\_ACEOF
1637
1638 X features:
1639 --x-includes=DIR X include files are in DIR
1640 --x-libraries=DIR X library files are in DIR
1641
1642 System types:
1643 --build=BUILD configure for building on BUILD [guessed]
1644 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1645 _ACEOF
1646 fi
1647
1648 if test -n "$ac_init_help"; then
1649 case $ac_init_help in
1650 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1651 esac
1652 cat <<\_ACEOF
1653
1654 Optional Features:
1655 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1656 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1657 --disable-gui don't build GUI parts of the library
1658 --enable-monolithic build wxWidgets as single library
1659 --enable-plugins build parts of wxWidgets as loadable components
1660 --enable-official_build official build of wxWidgets (win32 DLL only)
1661 --enable-vendor=VENDOR vendor name (win32 DLL only)
1662 --disable-all-features disable all optional features to build minimal library
1663 --enable-universal use wxWidgets GUI controls instead of native ones
1664 --enable-nanox use NanoX
1665 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1666 --enable-gpe use GNOME PDA Environment features if possible
1667 --disable-shared create static library instead of shared
1668 --enable-debug same as debug_flag and debug_info
1669 --enable-stl use STL for containers
1670 --enable-std_iostreams use standard C++ stream classes
1671 --enable-std_string use standard C++ string classes
1672 --disable-unicode compile without Unicode support
1673 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1674 --enable-utf8 use UTF-8 representation for strings (Unix only)
1675 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1676 --enable-extended_rtti use extended RTTI (XTI)
1677 --enable-omf use OMF object format
1678 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1679 --enable-debug_info create code with debugging information
1680 --disable-optimise compile without optimisations
1681 --enable-debug_gdb create code with extra GDB debugging information
1682 --enable-debug_cntxt use wxDebugContext
1683 --enable-mem_tracing create code with memory tracing
1684 --enable-profile create code with profiling information
1685 --enable-no_rtti create code without RTTI information
1686 --enable-no_exceptions create code without C++ exceptions handling
1687 --enable-permissive compile code disregarding strict ANSI
1688 --enable-no_deps create code without dependency information
1689 --disable-vararg_macros don't use vararg macros, even if they are supported
1690 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1691 --enable-compat26 enable wxWidgets 2.6 compatibility
1692 --disable-compat28 disable wxWidgets 2.8 compatibility
1693 --disable-rpath disable use of rpath for uninstalled builds
1694 --enable-objc_uniquifying enable Objective-C class name uniquifying
1695 --disable-visibility disable use of ELF symbols visibility even if supported
1696 --disable-tls disable use of compiler TLS support
1697 --enable-intl use internationalization system
1698 --enable-xlocale use x-locale support (requires wxLocale)
1699 --enable-config use wxConfig (and derived) classes
1700 --enable-protocols use wxProtocol and derived classes
1701 --enable-ftp use wxFTP (requires wxProtocol
1702 --enable-http use wxHTTP (requires wxProtocol
1703 --enable-fileproto use wxFileProto class (requires wxProtocol
1704 --enable-sockets use socket/network classes
1705 --enable-ipv6 enable IPv6 support in wxSocket
1706 --enable-ole use OLE classes (Win32 only)
1707 --enable-dataobj use data object classes
1708 --enable-ipc use interprocess communication (wxSocket etc.)
1709 --enable-baseevtloop use event loop in console programs too
1710 --enable-epollloop use wxEpollDispatcher class (Linux only)
1711 --enable-selectloop use wxSelectDispatcher class
1712 --enable-apple_ieee use the Apple IEEE codec
1713 --enable-arcstream use wxArchive streams
1714 --enable-base64 use base64 encoding/decoding functions
1715 --enable-backtrace use wxStackWalker class for getting backtraces
1716 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1717 --enable-cmdline use wxCmdLineParser class
1718 --enable-datetime use wxDateTime class
1719 --enable-debugreport use wxDebugReport class
1720 --enable-dialupman use dialup network classes
1721 --enable-dynlib use wxLibrary class for DLL loading
1722 --enable-dynamicloader use (new) wxDynamicLibrary class
1723 --enable-exceptions build exception-safe library
1724 --enable-ffile use wxFFile class
1725 --enable-file use wxFile class
1726 --enable-filesystem use virtual file systems classes
1727 --enable-fontenum use wxFontEnumerator class
1728 --enable-fontmap use font encodings conversion classes
1729 --enable-fs_archive use virtual archive filesystems
1730 --enable-fs_inet use virtual HTTP/FTP filesystems
1731 --enable-fs_zip now replaced by fs_archive
1732 --enable-geometry use geometry class
1733 --enable-log use logging system
1734 --enable-longlong use wxLongLong class
1735 --enable-mimetype use wxMimeTypesManager
1736 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1737 --enable-snglinst use wxSingleInstanceChecker class
1738 --enable-sound use wxSound class
1739 --enable-stdpaths use wxStandardPaths class
1740 --enable-stopwatch use wxStopWatch class
1741 --enable-streams use wxStream etc classes
1742 --enable-sysoptions use wxSystemOptions
1743 --enable-tarstream use wxTar streams
1744 --enable-textbuf use wxTextBuffer class
1745 --enable-textfile use wxTextFile class
1746 --enable-timer use wxTimer class
1747 --enable-variant use wxVariant class
1748 --enable-zipstream use wxZip streams
1749 --enable-url use wxURL class
1750 --enable-protocol use wxProtocol class
1751 --enable-protocol-http HTTP support in wxProtocol
1752 --enable-protocol-ftp FTP support in wxProtocol
1753 --enable-protocol-file FILE support in wxProtocol
1754 --enable-threads use threads
1755 --enable-iniconf use wxIniConfig (Win32 only)
1756 --enable-regkey use wxRegKey class (Win32 only)
1757 --enable-docview use document view architecture
1758 --enable-help use help subsystem
1759 --enable-mshtmlhelp use MS HTML Help (win32)
1760 --enable-html use wxHTML sub-library
1761 --enable-htmlhelp use wxHTML-based help
1762 --enable-xrc use XRC resources sub-library
1763 --enable-aui use AUI docking library
1764 --enable-propgrid use wxPropertyGrid library
1765 --enable-stc use wxStyledTextCtrl library
1766 --enable-constraints use layout-constraints system
1767 --enable-loggui use standard GUI logger
1768 --enable-logwin use wxLogWindow
1769 --enable-logdialog use wxLogDialog
1770 --enable-mdi use multiple document interface architecture
1771 --enable-mdidoc use docview architecture with MDI
1772 --enable-mediactrl use wxMediaCtrl class
1773 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1774 --enable-webkit use wxWebKitCtrl (Mac)
1775 --enable-richtext use wxRichTextCtrl
1776 --enable-graphics_ctx use graphics context 2D drawing API
1777 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1778 --enable-printarch use printing architecture
1779 --enable-svg use wxSVGFileDC device context
1780 --enable-clipboard use wxClipboard class
1781 --enable-dnd use Drag'n'Drop classes
1782 --enable-metafile use win32 metafiles
1783 --disable-controls disable compilation of all standard controls
1784 --enable-accel use accelerators
1785 --enable-animatectrl use wxAnimationCtrl class
1786 --enable-bmpbutton use wxBitmapButton class
1787 --enable-bmpcombobox use wxBitmapComboBox class
1788 --enable-button use wxButton class
1789 --enable-calendar use wxCalendarCtrl class
1790 --enable-caret use wxCaret class
1791 --enable-checkbox use wxCheckBox class
1792 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1793 --enable-choice use wxChoice class
1794 --enable-choicebook use wxChoicebook class
1795 --enable-collpane use wxCollapsiblePane class
1796 --enable-colourpicker use wxColourPickerCtrl class
1797 --enable-combobox use wxComboBox class
1798 --enable-comboctrl use wxComboCtrl class
1799 --enable-dataviewctrl use wxDataViewCtrl class
1800 --enable-datepick use wxDatePickerCtrl class
1801 --enable-detect_sm use code to detect X11 session manager
1802 --enable-dirpicker use wxDirPickerCtrl class
1803 --enable-display use wxDisplay class
1804 --enable-editablebox use wxEditableListBox class
1805 --enable-filectrl use wxFileCtrl class
1806 --enable-filepicker use wxFilePickerCtrl class
1807 --enable-fontpicker use wxFontPickerCtrl class
1808 --enable-gauge use wxGauge class
1809 --enable-grid use wxGrid class
1810 --enable-headerctrl use wxHeaderCtrl class
1811 --enable-hyperlink use wxHyperlinkCtrl class
1812 --enable-imaglist use wxImageList class
1813 --enable-listbook use wxListbook class
1814 --enable-listbox use wxListBox class
1815 --enable-listctrl use wxListCtrl class
1816 --enable-notebook use wxNotebook class
1817 --enable-notifmsg use wxNotificationMessage class
1818 --enable-odcombobox use wxOwnerDrawnComboBox class
1819 --enable-popupwin use wxPopUpWindow class
1820 --enable-radiobox use wxRadioBox class
1821 --enable-radiobtn use wxRadioButton class
1822 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1823 --enable-sash use wxSashWindow class
1824 --enable-scrollbar use wxScrollBar class and scrollable windows
1825 --enable-searchctrl use wxSearchCtrl class
1826 --enable-slider use wxSlider class
1827 --enable-spinbtn use wxSpinButton class
1828 --enable-spinctrl use wxSpinCtrl class
1829 --enable-splitter use wxSplitterWindow class
1830 --enable-statbmp use wxStaticBitmap class
1831 --enable-statbox use wxStaticBox class
1832 --enable-statline use wxStaticLine class
1833 --enable-stattext use wxStaticText class
1834 --enable-statusbar use wxStatusBar class
1835 --enable-taskbaricon use wxTaskBarIcon class
1836 --enable-tbarnative use native wxToolBar class
1837 --enable-textctrl use wxTextCtrl class
1838 --enable-tipwindow use wxTipWindow class
1839 --enable-togglebtn use wxToggleButton class
1840 --enable-toolbar use wxToolBar class
1841 --enable-toolbook use wxToolbook class
1842 --enable-treebook use wxTreebook class
1843 --enable-treectrl use wxTreeCtrl class
1844 --enable-commondlg use all common dialogs
1845 --enable-aboutdlg use wxAboutBox
1846 --enable-choicedlg use wxChoiceDialog
1847 --enable-coldlg use wxColourDialog
1848 --enable-filedlg use wxFileDialog
1849 --enable-finddlg use wxFindReplaceDialog
1850 --enable-fontdlg use wxFontDialog
1851 --enable-dirdlg use wxDirDialog
1852 --enable-msgdlg use wxMessageDialog
1853 --enable-numberdlg use wxNumberEntryDialog
1854 --enable-splash use wxSplashScreen
1855 --enable-textdlg use wxTextDialog
1856 --enable-tipdlg use startup tips
1857 --enable-progressdlg use wxProgressDialog
1858 --enable-wizarddlg use wxWizard
1859 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1860 --enable-miniframe use wxMiniFrame class
1861 --enable-tooltips use wxToolTip class
1862 --enable-splines use spline drawing code
1863 --enable-mousewheel use mousewheel
1864 --enable-validators use wxValidator and derived classes
1865 --enable-busyinfo use wxBusyInfo
1866 --enable-joystick use wxJoystick
1867 --enable-metafiles use wxMetaFile (Win32 only)
1868 --enable-dragimage use wxDragImage
1869 --enable-accessibility enable accessibility support
1870 --enable-palette use wxPalette class
1871 --enable-image use wxImage class
1872 --enable-gif use gif images (GIF file format)
1873 --enable-pcx use pcx images (PCX file format)
1874 --enable-tga use tga images (TGA file format)
1875 --enable-iff use iff images (IFF file format)
1876 --enable-pnm use pnm images (PNM file format)
1877 --enable-xpm use xpm images (XPM file format)
1878 --enable-ico_cur use Windows ICO and CUR formats
1879 --enable-dccache cache temporary wxDC objects (Win32 only)
1880 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1881 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1882 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1883 --enable-wxdib use wxDIB class (Win32 only)
1884 --enable-autoidman use automatic ids management
1885 --disable-largefile omit support for large files
1886 --disable-gtktest do not try to compile and run a test GTK+ program
1887 --disable-gtktest Do not try to compile and run a test GTK program
1888 --disable-sdltest Do not try to compile and run a test SDL program
1889 --enable-omf use OMF object format (OS/2)
1890 --disable-dependency-tracking
1891 don't use dependency tracking even if the compiler
1892 can
1893 --disable-precomp-headers
1894 don't use precompiled headers even if compiler can
1895
1896 Optional Packages:
1897 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1898 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1899 --without-subdirs don't generate makefiles for samples/demos/...
1900 --with-flavour=NAME specify a name to identify this build
1901 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1902 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1903 --with-motif use Motif/Lesstif
1904 --with-osx_carbon use Mac OS X (Carbon)
1905 --with-osx_cocoa use Mac OS X (Cocoa)
1906 --with-mac use Mac OS X (Default)
1907 --with-cocoa use Cocoa
1908 --with-wine use Wine
1909 --with-msw use MS-Windows
1910 --with-pm use OS/2 Presentation Manager
1911 --with-mgl use SciTech MGL
1912 --with-directfb use DirectFB
1913 --with-microwin use MicroWindows
1914 --with-x11 use X11
1915 --with-libpng use libpng (PNG image format)
1916 --with-libjpeg use libjpeg (JPEG file format)
1917 --with-libtiff use libtiff (TIFF file format)
1918 --with-libxpm use libxpm (XPM file format)
1919 --with-libiconv use libiconv (character conversion)
1920 --with-libmspack use libmspack (CHM help files loading)
1921 --without-gtkprint don't use GTK printing support
1922 --without-gnomeprint don't use GNOME printing libraries
1923 --with-gnomevfs use GNOME VFS for associating MIME types
1924 --with-hildon use Hildon framework for Nokia 770
1925 --with-opengl use OpenGL (or Mesa)
1926 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1927 --with-sdl use SDL for audio on Unix
1928 --with-regex enable support for wxRegEx class
1929 --with-zlib use zlib for LZW compression
1930 --with-expat enable XML support using expat parser
1931 --with-macosx-sdk=PATH use an OS X SDK at PATH
1932 --with-macosx-version-min=VER build binaries which require at least this OS X version
1933 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1934 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1935 --with-x use the X Window System
1936 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1937 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1938 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1939 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1940 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1941
1942 Some influential environment variables:
1943 CC C compiler command
1944 CFLAGS C compiler flags
1945 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1946 nonstandard directory <lib dir>
1947 LIBS libraries to pass to the linker, e.g. -l<library>
1948 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1949 you have headers in a nonstandard directory <include dir>
1950 CPP C preprocessor
1951 CXX C++ compiler command
1952 CXXFLAGS C++ compiler flags
1953 PKG_CONFIG path to pkg-config utility
1954 DIRECTFB_CFLAGS
1955 C compiler flags for DIRECTFB, overriding pkg-config
1956 DIRECTFB_LIBS
1957 linker flags for DIRECTFB, overriding pkg-config
1958 XMKMF Path to xmkmf, Makefile generator for X Window System
1959 PANGOX_CFLAGS
1960 C compiler flags for PANGOX, overriding pkg-config
1961 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1962 PANGOFT2_CFLAGS
1963 C compiler flags for PANGOFT2, overriding pkg-config
1964 PANGOFT2_LIBS
1965 linker flags for PANGOFT2, overriding pkg-config
1966 PANGOXFT_CFLAGS
1967 C compiler flags for PANGOXFT, overriding pkg-config
1968 PANGOXFT_LIBS
1969 linker flags for PANGOXFT, overriding pkg-config
1970 GTKPRINT_CFLAGS
1971 C compiler flags for GTKPRINT, overriding pkg-config
1972 GTKPRINT_LIBS
1973 linker flags for GTKPRINT, overriding pkg-config
1974 LIBGNOMEPRINTUI_CFLAGS
1975 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1976 LIBGNOMEPRINTUI_LIBS
1977 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1978 GNOMEVFS_CFLAGS
1979 C compiler flags for GNOMEVFS, overriding pkg-config
1980 GNOMEVFS_LIBS
1981 linker flags for GNOMEVFS, overriding pkg-config
1982 HILDON_CFLAGS
1983 C compiler flags for HILDON, overriding pkg-config
1984 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1985 CAIRO_CFLAGS
1986 C compiler flags for CAIRO, overriding pkg-config
1987 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1988 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1989 GST_LIBS linker flags for GST, overriding pkg-config
1990
1991 Use these variables to override the choices made by `configure' or to help
1992 it to find libraries and programs with nonstandard names/locations.
1993
1994 Report bugs to <wx-dev@lists.wxwidgets.org>.
1995 _ACEOF
1996 ac_status=$?
1997 fi
1998
1999 if test "$ac_init_help" = "recursive"; then
2000 # If there are subdirs, report their specific --help.
2001 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2002 test -d "$ac_dir" || continue
2003 ac_builddir=.
2004
2005 case "$ac_dir" in
2006 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2007 *)
2008 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2009 # A ".." for each directory in $ac_dir_suffix.
2010 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2011 case $ac_top_builddir_sub in
2012 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2013 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2014 esac ;;
2015 esac
2016 ac_abs_top_builddir=$ac_pwd
2017 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2018 # for backward compatibility:
2019 ac_top_builddir=$ac_top_build_prefix
2020
2021 case $srcdir in
2022 .) # We are building in place.
2023 ac_srcdir=.
2024 ac_top_srcdir=$ac_top_builddir_sub
2025 ac_abs_top_srcdir=$ac_pwd ;;
2026 [\\/]* | ?:[\\/]* ) # Absolute name.
2027 ac_srcdir=$srcdir$ac_dir_suffix;
2028 ac_top_srcdir=$srcdir
2029 ac_abs_top_srcdir=$srcdir ;;
2030 *) # Relative name.
2031 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2032 ac_top_srcdir=$ac_top_build_prefix$srcdir
2033 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2034 esac
2035 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2036
2037 cd "$ac_dir" || { ac_status=$?; continue; }
2038 # Check for guested configure.
2039 if test -f "$ac_srcdir/configure.gnu"; then
2040 echo &&
2041 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2042 elif test -f "$ac_srcdir/configure"; then
2043 echo &&
2044 $SHELL "$ac_srcdir/configure" --help=recursive
2045 else
2046 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2047 fi || ac_status=$?
2048 cd "$ac_pwd" || { ac_status=$?; break; }
2049 done
2050 fi
2051
2052 test -n "$ac_init_help" && exit $ac_status
2053 if $ac_init_version; then
2054 cat <<\_ACEOF
2055 wxWidgets configure 2.9.0
2056 generated by GNU Autoconf 2.61
2057
2058 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2059 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2060 This configure script is free software; the Free Software Foundation
2061 gives unlimited permission to copy, distribute and modify it.
2062 _ACEOF
2063 exit
2064 fi
2065 cat >config.log <<_ACEOF
2066 This file contains any messages produced by compilers while
2067 running configure, to aid debugging if configure makes a mistake.
2068
2069 It was created by wxWidgets $as_me 2.9.0, which was
2070 generated by GNU Autoconf 2.61. Invocation command line was
2071
2072 $ $0 $@
2073
2074 _ACEOF
2075 exec 5>>config.log
2076 {
2077 cat <<_ASUNAME
2078 ## --------- ##
2079 ## Platform. ##
2080 ## --------- ##
2081
2082 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2083 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2084 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2085 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2086 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2087
2088 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2089 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2090
2091 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2092 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2093 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2094 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2095 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2096 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2097 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2098
2099 _ASUNAME
2100
2101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2102 for as_dir in $PATH
2103 do
2104 IFS=$as_save_IFS
2105 test -z "$as_dir" && as_dir=.
2106 echo "PATH: $as_dir"
2107 done
2108 IFS=$as_save_IFS
2109
2110 } >&5
2111
2112 cat >&5 <<_ACEOF
2113
2114
2115 ## ----------- ##
2116 ## Core tests. ##
2117 ## ----------- ##
2118
2119 _ACEOF
2120
2121
2122 # Keep a trace of the command line.
2123 # Strip out --no-create and --no-recursion so they do not pile up.
2124 # Strip out --silent because we don't want to record it for future runs.
2125 # Also quote any args containing shell meta-characters.
2126 # Make two passes to allow for proper duplicate-argument suppression.
2127 ac_configure_args=
2128 ac_configure_args0=
2129 ac_configure_args1=
2130 ac_must_keep_next=false
2131 for ac_pass in 1 2
2132 do
2133 for ac_arg
2134 do
2135 case $ac_arg in
2136 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2137 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2138 | -silent | --silent | --silen | --sile | --sil)
2139 continue ;;
2140 *\'*)
2141 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2142 esac
2143 case $ac_pass in
2144 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2145 2)
2146 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2147 if test $ac_must_keep_next = true; then
2148 ac_must_keep_next=false # Got value, back to normal.
2149 else
2150 case $ac_arg in
2151 *=* | --config-cache | -C | -disable-* | --disable-* \
2152 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2153 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2154 | -with-* | --with-* | -without-* | --without-* | --x)
2155 case "$ac_configure_args0 " in
2156 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2157 esac
2158 ;;
2159 -* ) ac_must_keep_next=true ;;
2160 esac
2161 fi
2162 ac_configure_args="$ac_configure_args '$ac_arg'"
2163 ;;
2164 esac
2165 done
2166 done
2167 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2168 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2169
2170 # When interrupted or exit'd, cleanup temporary files, and complete
2171 # config.log. We remove comments because anyway the quotes in there
2172 # would cause problems or look ugly.
2173 # WARNING: Use '\'' to represent an apostrophe within the trap.
2174 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2175 trap 'exit_status=$?
2176 # Save into config.log some information that might help in debugging.
2177 {
2178 echo
2179
2180 cat <<\_ASBOX
2181 ## ---------------- ##
2182 ## Cache variables. ##
2183 ## ---------------- ##
2184 _ASBOX
2185 echo
2186 # The following way of writing the cache mishandles newlines in values,
2187 (
2188 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2189 eval ac_val=\$$ac_var
2190 case $ac_val in #(
2191 *${as_nl}*)
2192 case $ac_var in #(
2193 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2194 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2195 esac
2196 case $ac_var in #(
2197 _ | IFS | as_nl) ;; #(
2198 *) $as_unset $ac_var ;;
2199 esac ;;
2200 esac
2201 done
2202 (set) 2>&1 |
2203 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2204 *${as_nl}ac_space=\ *)
2205 sed -n \
2206 "s/'\''/'\''\\\\'\'''\''/g;
2207 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2208 ;; #(
2209 *)
2210 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2211 ;;
2212 esac |
2213 sort
2214 )
2215 echo
2216
2217 cat <<\_ASBOX
2218 ## ----------------- ##
2219 ## Output variables. ##
2220 ## ----------------- ##
2221 _ASBOX
2222 echo
2223 for ac_var in $ac_subst_vars
2224 do
2225 eval ac_val=\$$ac_var
2226 case $ac_val in
2227 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2228 esac
2229 echo "$ac_var='\''$ac_val'\''"
2230 done | sort
2231 echo
2232
2233 if test -n "$ac_subst_files"; then
2234 cat <<\_ASBOX
2235 ## ------------------- ##
2236 ## File substitutions. ##
2237 ## ------------------- ##
2238 _ASBOX
2239 echo
2240 for ac_var in $ac_subst_files
2241 do
2242 eval ac_val=\$$ac_var
2243 case $ac_val in
2244 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2245 esac
2246 echo "$ac_var='\''$ac_val'\''"
2247 done | sort
2248 echo
2249 fi
2250
2251 if test -s confdefs.h; then
2252 cat <<\_ASBOX
2253 ## ----------- ##
2254 ## confdefs.h. ##
2255 ## ----------- ##
2256 _ASBOX
2257 echo
2258 cat confdefs.h
2259 echo
2260 fi
2261 test "$ac_signal" != 0 &&
2262 echo "$as_me: caught signal $ac_signal"
2263 echo "$as_me: exit $exit_status"
2264 } >&5
2265 rm -f core *.core core.conftest.* &&
2266 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2267 exit $exit_status
2268 ' 0
2269 for ac_signal in 1 2 13 15; do
2270 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2271 done
2272 ac_signal=0
2273
2274 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2275 rm -f -r conftest* confdefs.h
2276
2277 # Predefined preprocessor variables.
2278
2279 cat >>confdefs.h <<_ACEOF
2280 #define PACKAGE_NAME "$PACKAGE_NAME"
2281 _ACEOF
2282
2283
2284 cat >>confdefs.h <<_ACEOF
2285 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2286 _ACEOF
2287
2288
2289 cat >>confdefs.h <<_ACEOF
2290 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2291 _ACEOF
2292
2293
2294 cat >>confdefs.h <<_ACEOF
2295 #define PACKAGE_STRING "$PACKAGE_STRING"
2296 _ACEOF
2297
2298
2299 cat >>confdefs.h <<_ACEOF
2300 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2301 _ACEOF
2302
2303
2304 # Let the site file select an alternate cache file if it wants to.
2305 # Prefer explicitly selected file to automatically selected ones.
2306 if test -n "$CONFIG_SITE"; then
2307 set x "$CONFIG_SITE"
2308 elif test "x$prefix" != xNONE; then
2309 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2310 else
2311 set x "$ac_default_prefix/share/config.site" \
2312 "$ac_default_prefix/etc/config.site"
2313 fi
2314 shift
2315 for ac_site_file
2316 do
2317 if test -r "$ac_site_file"; then
2318 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2319 echo "$as_me: loading site script $ac_site_file" >&6;}
2320 sed 's/^/| /' "$ac_site_file" >&5
2321 . "$ac_site_file"
2322 fi
2323 done
2324
2325 if test -r "$cache_file"; then
2326 # Some versions of bash will fail to source /dev/null (special
2327 # files actually), so we avoid doing that.
2328 if test -f "$cache_file"; then
2329 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2330 echo "$as_me: loading cache $cache_file" >&6;}
2331 case $cache_file in
2332 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2333 *) . "./$cache_file";;
2334 esac
2335 fi
2336 else
2337 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2338 echo "$as_me: creating cache $cache_file" >&6;}
2339 >$cache_file
2340 fi
2341
2342 # Check that the precious variables saved in the cache have kept the same
2343 # value.
2344 ac_cache_corrupted=false
2345 for ac_var in $ac_precious_vars; do
2346 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2347 eval ac_new_set=\$ac_env_${ac_var}_set
2348 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2349 eval ac_new_val=\$ac_env_${ac_var}_value
2350 case $ac_old_set,$ac_new_set in
2351 set,)
2352 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2353 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2354 ac_cache_corrupted=: ;;
2355 ,set)
2356 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2357 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2358 ac_cache_corrupted=: ;;
2359 ,);;
2360 *)
2361 if test "x$ac_old_val" != "x$ac_new_val"; then
2362 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2363 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2364 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2365 echo "$as_me: former value: $ac_old_val" >&2;}
2366 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2367 echo "$as_me: current value: $ac_new_val" >&2;}
2368 ac_cache_corrupted=:
2369 fi;;
2370 esac
2371 # Pass precious variables to config.status.
2372 if test "$ac_new_set" = set; then
2373 case $ac_new_val in
2374 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2375 *) ac_arg=$ac_var=$ac_new_val ;;
2376 esac
2377 case " $ac_configure_args " in
2378 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2379 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2380 esac
2381 fi
2382 done
2383 if $ac_cache_corrupted; then
2384 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2385 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2386 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2387 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2388 { (exit 1); exit 1; }; }
2389 fi
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415 ac_ext=c
2416 ac_cpp='$CPP $CPPFLAGS'
2417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2420
2421
2422
2423
2424
2425 ac_aux_dir=
2426 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2427 if test -f "$ac_dir/install-sh"; then
2428 ac_aux_dir=$ac_dir
2429 ac_install_sh="$ac_aux_dir/install-sh -c"
2430 break
2431 elif test -f "$ac_dir/install.sh"; then
2432 ac_aux_dir=$ac_dir
2433 ac_install_sh="$ac_aux_dir/install.sh -c"
2434 break
2435 elif test -f "$ac_dir/shtool"; then
2436 ac_aux_dir=$ac_dir
2437 ac_install_sh="$ac_aux_dir/shtool install -c"
2438 break
2439 fi
2440 done
2441 if test -z "$ac_aux_dir"; then
2442 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2443 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2444 { (exit 1); exit 1; }; }
2445 fi
2446
2447 # These three variables are undocumented and unsupported,
2448 # and are intended to be withdrawn in a future Autoconf release.
2449 # They can cause serious problems if a builder's source tree is in a directory
2450 # whose full name contains unusual characters.
2451 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2452 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2453 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2454
2455
2456 # Make sure we can run config.sub.
2457 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2458 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2459 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2460 { (exit 1); exit 1; }; }
2461
2462 { echo "$as_me:$LINENO: checking build system type" >&5
2463 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2464 if test "${ac_cv_build+set}" = set; then
2465 echo $ECHO_N "(cached) $ECHO_C" >&6
2466 else
2467 ac_build_alias=$build_alias
2468 test "x$ac_build_alias" = x &&
2469 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2470 test "x$ac_build_alias" = x &&
2471 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2472 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2473 { (exit 1); exit 1; }; }
2474 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2475 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2476 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2477 { (exit 1); exit 1; }; }
2478
2479 fi
2480 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2481 echo "${ECHO_T}$ac_cv_build" >&6; }
2482 case $ac_cv_build in
2483 *-*-*) ;;
2484 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2485 echo "$as_me: error: invalid value of canonical build" >&2;}
2486 { (exit 1); exit 1; }; };;
2487 esac
2488 build=$ac_cv_build
2489 ac_save_IFS=$IFS; IFS='-'
2490 set x $ac_cv_build
2491 shift
2492 build_cpu=$1
2493 build_vendor=$2
2494 shift; shift
2495 # Remember, the first character of IFS is used to create $*,
2496 # except with old shells:
2497 build_os=$*
2498 IFS=$ac_save_IFS
2499 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2500
2501
2502 { echo "$as_me:$LINENO: checking host system type" >&5
2503 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2504 if test "${ac_cv_host+set}" = set; then
2505 echo $ECHO_N "(cached) $ECHO_C" >&6
2506 else
2507 if test "x$host_alias" = x; then
2508 ac_cv_host=$ac_cv_build
2509 else
2510 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2511 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2512 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2513 { (exit 1); exit 1; }; }
2514 fi
2515
2516 fi
2517 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2518 echo "${ECHO_T}$ac_cv_host" >&6; }
2519 case $ac_cv_host in
2520 *-*-*) ;;
2521 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2522 echo "$as_me: error: invalid value of canonical host" >&2;}
2523 { (exit 1); exit 1; }; };;
2524 esac
2525 host=$ac_cv_host
2526 ac_save_IFS=$IFS; IFS='-'
2527 set x $ac_cv_host
2528 shift
2529 host_cpu=$1
2530 host_vendor=$2
2531 shift; shift
2532 # Remember, the first character of IFS is used to create $*,
2533 # except with old shells:
2534 host_os=$*
2535 IFS=$ac_save_IFS
2536 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2537
2538
2539
2540 if test "$cross_compiling" != "no"; then
2541 HOST_PREFIX="${host_alias}-"
2542 HOST_SUFFIX="-$host_alias"
2543 else
2544 HOST_PREFIX=
2545 HOST_SUFFIX=
2546 fi
2547
2548
2549 wx_major_version_number=2
2550 wx_minor_version_number=9
2551 wx_release_number=0
2552 wx_subrelease_number=0
2553
2554 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2555 WX_VERSION=$WX_RELEASE.$wx_release_number
2556 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2557
2558 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2559
2560
2561 wx_top_builddir="`pwd`"
2562
2563
2564
2565
2566 USE_UNIX=1
2567 USE_OS2=0
2568 USE_WIN32=0
2569 USE_DOS=0
2570 USE_BEOS=0
2571 USE_MAC=0
2572
2573 USE_AIX=
2574 USE_BSD= USE_DARWIN= USE_FREEBSD=
2575 USE_GNU= USE_HPUX=
2576 USE_LINUX=
2577 USE_NETBSD=
2578 USE_OPENBSD=
2579 USE_OSF= USE_SGI=
2580 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2581 USE_ULTRIX=
2582 USE_UNIXWARE=
2583
2584 USE_ALPHA=
2585
2586 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2587
2588 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2589
2590 DEFAULT_wxUSE_COCOA=0
2591 DEFAULT_wxUSE_GTK=0
2592 DEFAULT_wxUSE_OSX_CARBON=0
2593 DEFAULT_wxUSE_OSX_COCOA=0
2594 DEFAULT_wxUSE_MGL=0
2595 DEFAULT_wxUSE_MICROWIN=0
2596 DEFAULT_wxUSE_MOTIF=0
2597 DEFAULT_wxUSE_MSW=0
2598 DEFAULT_wxUSE_PM=0
2599 DEFAULT_wxUSE_X11=0
2600 DEFAULT_wxUSE_DFB=0
2601
2602 DEFAULT_DEFAULT_wxUSE_COCOA=0
2603 DEFAULT_DEFAULT_wxUSE_GTK=0
2604 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2605 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2606 DEFAULT_DEFAULT_wxUSE_MGL=0
2607 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2608 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2609 DEFAULT_DEFAULT_wxUSE_MSW=0
2610 DEFAULT_DEFAULT_wxUSE_PM=0
2611 DEFAULT_DEFAULT_wxUSE_X11=0
2612 DEFAULT_DEFAULT_wxUSE_DFB=0
2613
2614 PROGRAM_EXT=
2615 SAMPLES_RPATH_FLAG=
2616 DYLIB_RPATH_INSTALL=
2617 DYLIB_RPATH_POSTLINK=
2618
2619 DEFAULT_STD_FLAG=yes
2620
2621 case "${host}" in
2622 *-hp-hpux* )
2623 USE_HPUX=1
2624 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2625 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2626 cat >>confdefs.h <<\_ACEOF
2627 #define __HPUX__ 1
2628 _ACEOF
2629
2630
2631 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2632 ;;
2633 *-*-linux* )
2634 USE_LINUX=1
2635 cat >>confdefs.h <<\_ACEOF
2636 #define __LINUX__ 1
2637 _ACEOF
2638
2639 TMP=`uname -m`
2640 if test "x$TMP" = "xalpha"; then
2641 USE_ALPHA=1
2642 cat >>confdefs.h <<\_ACEOF
2643 #define __ALPHA__ 1
2644 _ACEOF
2645
2646 fi
2647 DEFAULT_DEFAULT_wxUSE_GTK=1
2648 ;;
2649 *-*-gnu* | *-*-k*bsd*-gnu )
2650 USE_GNU=1
2651 TMP=`uname -m`
2652 if test "x$TMP" = "xalpha"; then
2653 USE_ALPHA=1
2654 cat >>confdefs.h <<\_ACEOF
2655 #define __ALPHA__ 1
2656 _ACEOF
2657
2658 fi
2659 DEFAULT_DEFAULT_wxUSE_GTK=1
2660 ;;
2661 *-*-irix5* | *-*-irix6* )
2662 USE_SGI=1
2663 USE_SVR4=1
2664 cat >>confdefs.h <<\_ACEOF
2665 #define __SGI__ 1
2666 _ACEOF
2667
2668 cat >>confdefs.h <<\_ACEOF
2669 #define __SVR4__ 1
2670 _ACEOF
2671
2672 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2673 ;;
2674 *-*-solaris2* )
2675 USE_SUN=1
2676 USE_SOLARIS=1
2677 USE_SVR4=1
2678 cat >>confdefs.h <<\_ACEOF
2679 #define __SUN__ 1
2680 _ACEOF
2681
2682 cat >>confdefs.h <<\_ACEOF
2683 #define __SOLARIS__ 1
2684 _ACEOF
2685
2686 cat >>confdefs.h <<\_ACEOF
2687 #define __SVR4__ 1
2688 _ACEOF
2689
2690 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2691 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2692 ;;
2693 *-*-sunos4* )
2694 USE_SUN=1
2695 USE_SUNOS=1
2696 USE_BSD=1
2697 cat >>confdefs.h <<\_ACEOF
2698 #define __SUN__ 1
2699 _ACEOF
2700
2701 cat >>confdefs.h <<\_ACEOF
2702 #define __SUNOS__ 1
2703 _ACEOF
2704
2705 cat >>confdefs.h <<\_ACEOF
2706 #define __BSD__ 1
2707 _ACEOF
2708
2709 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2710 ;;
2711 *-*-freebsd*)
2712 USE_BSD=1
2713 USE_FREEBSD=1
2714 cat >>confdefs.h <<\_ACEOF
2715 #define __FREEBSD__ 1
2716 _ACEOF
2717
2718 cat >>confdefs.h <<\_ACEOF
2719 #define __BSD__ 1
2720 _ACEOF
2721
2722 DEFAULT_DEFAULT_wxUSE_GTK=1
2723 ;;
2724 *-*-openbsd*|*-*-mirbsd*)
2725 USE_BSD=1
2726 USE_OPENBSD=1
2727 cat >>confdefs.h <<\_ACEOF
2728 #define __OPENBSD__ 1
2729 _ACEOF
2730
2731 cat >>confdefs.h <<\_ACEOF
2732 #define __BSD__ 1
2733 _ACEOF
2734
2735 DEFAULT_DEFAULT_wxUSE_GTK=1
2736 ;;
2737 *-*-netbsd*)
2738 USE_BSD=1
2739 USE_NETBSD=1
2740 cat >>confdefs.h <<\_ACEOF
2741 #define __NETBSD__ 1
2742 _ACEOF
2743
2744 cat >>confdefs.h <<\_ACEOF
2745 #define __BSD__ 1
2746 _ACEOF
2747
2748 DEFAULT_DEFAULT_wxUSE_GTK=1
2749 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2750
2751 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2752 ;;
2753 *-*-osf* )
2754 USE_ALPHA=1
2755 USE_OSF=1
2756 cat >>confdefs.h <<\_ACEOF
2757 #define __ALPHA__ 1
2758 _ACEOF
2759
2760 cat >>confdefs.h <<\_ACEOF
2761 #define __OSF__ 1
2762 _ACEOF
2763
2764 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2765 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2766 ;;
2767 *-*-dgux5* )
2768 USE_ALPHA=1
2769 USE_SVR4=1
2770 cat >>confdefs.h <<\_ACEOF
2771 #define __ALPHA__ 1
2772 _ACEOF
2773
2774 cat >>confdefs.h <<\_ACEOF
2775 #define __SVR4__ 1
2776 _ACEOF
2777
2778 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2779 ;;
2780 *-*-sysv5* )
2781 USE_SYSV=1
2782 USE_SVR4=1
2783 cat >>confdefs.h <<\_ACEOF
2784 #define __SYSV__ 1
2785 _ACEOF
2786
2787 cat >>confdefs.h <<\_ACEOF
2788 #define __SVR4__ 1
2789 _ACEOF
2790
2791 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2792 ;;
2793 *-*-aix* )
2794 USE_AIX=1
2795 USE_SYSV=1
2796 USE_SVR4=1
2797 cat >>confdefs.h <<\_ACEOF
2798 #define __AIX__ 1
2799 _ACEOF
2800
2801 cat >>confdefs.h <<\_ACEOF
2802 #define __SYSV__ 1
2803 _ACEOF
2804
2805 cat >>confdefs.h <<\_ACEOF
2806 #define __SVR4__ 1
2807 _ACEOF
2808
2809 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2810 ;;
2811
2812 *-*-*UnixWare*)
2813 USE_SYSV=1
2814 USE_SVR4=1
2815 USE_UNIXWARE=1
2816 cat >>confdefs.h <<\_ACEOF
2817 #define __UNIXWARE__ 1
2818 _ACEOF
2819
2820 ;;
2821
2822 *-*-cygwin* | *-*-mingw32* )
2823 PROGRAM_EXT=".exe"
2824 DEFAULT_DEFAULT_wxUSE_MSW=1
2825 ;;
2826
2827 *-pc-msdosdjgpp )
2828 USE_UNIX=0
2829 USE_DOS=1
2830 cat >>confdefs.h <<\_ACEOF
2831 #define __DOS__ 1
2832 _ACEOF
2833
2834 PROGRAM_EXT=".exe"
2835 DEFAULT_DEFAULT_wxUSE_MGL=1
2836 ;;
2837
2838 *-pc-os2_emx | *-pc-os2-emx )
2839 cat >>confdefs.h <<\_ACEOF
2840 #define __EMX__ 1
2841 _ACEOF
2842
2843 USE_OS2=1
2844 cat >>confdefs.h <<\_ACEOF
2845 #define __OS2__ 1
2846 _ACEOF
2847
2848 PROGRAM_EXT=".exe"
2849 DEFAULT_DEFAULT_wxUSE_PM=1
2850 CXX=gcc
2851 LDFLAGS="$LDFLAGS -Zcrtdll"
2852 ac_executable_extensions=".exe"
2853 export ac_executable_extensions
2854 ac_save_IFS="$IFS"
2855 IFS='\\'
2856 ac_TEMP_PATH=
2857 for ac_dir in $PATH; do
2858 IFS=$ac_save_IFS
2859 if test -z "$ac_TEMP_PATH"; then
2860 ac_TEMP_PATH="$ac_dir"
2861 else
2862 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2863 fi
2864 done
2865 export PATH="$ac_TEMP_PATH"
2866 unset ac_TEMP_PATH
2867 DEFAULT_STD_FLAG=no
2868 ;;
2869
2870 *-*-darwin* )
2871 USE_BSD=1
2872 USE_DARWIN=1
2873 cat >>confdefs.h <<\_ACEOF
2874 #define __BSD__ 1
2875 _ACEOF
2876
2877 cat >>confdefs.h <<\_ACEOF
2878 #define __DARWIN__ 1
2879 _ACEOF
2880
2881 cat >>confdefs.h <<\_ACEOF
2882 #define TARGET_CARBON 1
2883 _ACEOF
2884
2885 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2886 ;;
2887
2888 *-*-beos* )
2889 USE_BEOS=1
2890 cat >>confdefs.h <<\_ACEOF
2891 #define __BEOS__ 1
2892 _ACEOF
2893
2894 ;;
2895
2896 *)
2897 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2898 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2899 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2900 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2901
2902 DEFAULT_DEFAULT_wxUSE_X11=1
2903 DEFAULT_wxUSE_SHARED=no
2904 esac
2905
2906
2907
2908 DEFAULT_wxUSE_ALL_FEATURES=yes
2909
2910 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2911 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2912
2913 DEFAULT_wxUSE_DMALLOC=no
2914 DEFAULT_wxUSE_LIBGNOMEVFS=no
2915 DEFAULT_wxUSE_LIBHILDON=no
2916 DEFAULT_wxUSE_LIBMSPACK=no
2917 DEFAULT_wxUSE_LIBSDL=no
2918
2919 DEFAULT_wxUSE_ACCESSIBILITY=no
2920 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2921 DEFAULT_wxUSE_IPV6=no
2922 DEFAULT_wxUSE_GSTREAMER8=no
2923
2924 DEFAULT_wxUSE_UNICODE_UTF8=auto
2925 DEFAULT_wxUSE_OPENGL=auto
2926 DEFAULT_wxUSE_MEDIACTRL=auto
2927 DEFAULT_wxUSE_COMPILER_TLS=auto
2928
2929 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2930
2931 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2932
2933 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2934
2935 DEFAULT_wxUSE_GTK2=yes
2936
2937 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2938
2939
2940
2941
2942
2943 enablestring=disable
2944 defaultval=
2945 if test -z "$defaultval"; then
2946 if test x"$enablestring" = xdisable; then
2947 defaultval=yes
2948 else
2949 defaultval=no
2950 fi
2951 fi
2952
2953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2954 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2955 # Check whether --enable-gui was given.
2956 if test "${enable_gui+set}" = set; then
2957 enableval=$enable_gui;
2958 if test "$enableval" = yes; then
2959 wx_cv_use_gui='wxUSE_GUI=yes'
2960 else
2961 wx_cv_use_gui='wxUSE_GUI=no'
2962 fi
2963
2964 else
2965
2966 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2967
2968 fi
2969
2970
2971 eval "$wx_cv_use_gui"
2972
2973 if test x"$enablestring" = xdisable; then
2974 if test $wxUSE_GUI = yes; then
2975 result=no
2976 else
2977 result=yes
2978 fi
2979 else
2980 result=$wxUSE_GUI
2981 fi
2982
2983 { echo "$as_me:$LINENO: result: $result" >&5
2984 echo "${ECHO_T}$result" >&6; }
2985
2986
2987 enablestring=
2988 defaultval=
2989 if test -z "$defaultval"; then
2990 if test x"$enablestring" = xdisable; then
2991 defaultval=yes
2992 else
2993 defaultval=no
2994 fi
2995 fi
2996
2997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2998 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
2999 # Check whether --enable-monolithic was given.
3000 if test "${enable_monolithic+set}" = set; then
3001 enableval=$enable_monolithic;
3002 if test "$enableval" = yes; then
3003 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3004 else
3005 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3006 fi
3007
3008 else
3009
3010 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3011
3012 fi
3013
3014
3015 eval "$wx_cv_use_monolithic"
3016
3017 if test x"$enablestring" = xdisable; then
3018 if test $wxUSE_MONOLITHIC = yes; then
3019 result=no
3020 else
3021 result=yes
3022 fi
3023 else
3024 result=$wxUSE_MONOLITHIC
3025 fi
3026
3027 { echo "$as_me:$LINENO: result: $result" >&5
3028 echo "${ECHO_T}$result" >&6; }
3029
3030
3031 enablestring=
3032 defaultval=
3033 if test -z "$defaultval"; then
3034 if test x"$enablestring" = xdisable; then
3035 defaultval=yes
3036 else
3037 defaultval=no
3038 fi
3039 fi
3040
3041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3042 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3043 # Check whether --enable-plugins was given.
3044 if test "${enable_plugins+set}" = set; then
3045 enableval=$enable_plugins;
3046 if test "$enableval" = yes; then
3047 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3048 else
3049 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3050 fi
3051
3052 else
3053
3054 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3055
3056 fi
3057
3058
3059 eval "$wx_cv_use_plugins"
3060
3061 if test x"$enablestring" = xdisable; then
3062 if test $wxUSE_PLUGINS = yes; then
3063 result=no
3064 else
3065 result=yes
3066 fi
3067 else
3068 result=$wxUSE_PLUGINS
3069 fi
3070
3071 { echo "$as_me:$LINENO: result: $result" >&5
3072 echo "${ECHO_T}$result" >&6; }
3073
3074
3075 withstring=without
3076 defaultval=$wxUSE_ALL_FEATURES
3077 if test -z "$defaultval"; then
3078 if test x"$withstring" = xwithout; then
3079 defaultval=yes
3080 else
3081 defaultval=no
3082 fi
3083 fi
3084 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3085 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3086
3087 # Check whether --with-subdirs was given.
3088 if test "${with_subdirs+set}" = set; then
3089 withval=$with_subdirs;
3090 if test "$withval" = yes; then
3091 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3092 else
3093 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3094 fi
3095
3096 else
3097
3098 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3099
3100 fi
3101
3102
3103 eval "$wx_cv_use_subdirs"
3104
3105 if test x"$withstring" = xwithout; then
3106 if test $wxWITH_SUBDIRS = yes; then
3107 result=no
3108 else
3109 result=yes
3110 fi
3111 else
3112 result=$wxWITH_SUBDIRS
3113 fi
3114
3115 { echo "$as_me:$LINENO: result: $result" >&5
3116 echo "${ECHO_T}$result" >&6; }
3117
3118
3119 # Check whether --with-flavour was given.
3120 if test "${with_flavour+set}" = set; then
3121 withval=$with_flavour; WX_FLAVOUR="$withval"
3122 fi
3123
3124
3125 enablestring=
3126 defaultval=
3127 if test -z "$defaultval"; then
3128 if test x"$enablestring" = xdisable; then
3129 defaultval=yes
3130 else
3131 defaultval=no
3132 fi
3133 fi
3134
3135 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3136 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3137 # Check whether --enable-official_build was given.
3138 if test "${enable_official_build+set}" = set; then
3139 enableval=$enable_official_build;
3140 if test "$enableval" = yes; then
3141 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3142 else
3143 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3144 fi
3145
3146 else
3147
3148 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3149
3150 fi
3151
3152
3153 eval "$wx_cv_use_official_build"
3154
3155 if test x"$enablestring" = xdisable; then
3156 if test $wxUSE_OFFICIAL_BUILD = yes; then
3157 result=no
3158 else
3159 result=yes
3160 fi
3161 else
3162 result=$wxUSE_OFFICIAL_BUILD
3163 fi
3164
3165 { echo "$as_me:$LINENO: result: $result" >&5
3166 echo "${ECHO_T}$result" >&6; }
3167
3168 # Check whether --enable-vendor was given.
3169 if test "${enable_vendor+set}" = set; then
3170 enableval=$enable_vendor; VENDOR="$enableval"
3171 fi
3172
3173 if test "x$VENDOR" = "x"; then
3174 VENDOR="custom"
3175 fi
3176
3177
3178 enablestring=disable
3179 defaultval=
3180 if test -z "$defaultval"; then
3181 if test x"$enablestring" = xdisable; then
3182 defaultval=yes
3183 else
3184 defaultval=no
3185 fi
3186 fi
3187
3188 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3189 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3190 # Check whether --enable-all-features was given.
3191 if test "${enable_all_features+set}" = set; then
3192 enableval=$enable_all_features;
3193 if test "$enableval" = yes; then
3194 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3195 else
3196 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3197 fi
3198
3199 else
3200
3201 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3202
3203 fi
3204
3205
3206 eval "$wx_cv_use_all_features"
3207
3208 if test x"$enablestring" = xdisable; then
3209 if test $wxUSE_ALL_FEATURES = yes; then
3210 result=no
3211 else
3212 result=yes
3213 fi
3214 else
3215 result=$wxUSE_ALL_FEATURES
3216 fi
3217
3218 { echo "$as_me:$LINENO: result: $result" >&5
3219 echo "${ECHO_T}$result" >&6; }
3220
3221
3222 if test "$wxUSE_ALL_FEATURES" = "no"; then
3223 DEFAULT_wxUSE_MEDIACTRL=no
3224 fi
3225
3226
3227 if test "$wxUSE_GUI" = "yes"; then
3228
3229
3230 enablestring=
3231 defaultval=
3232 if test -z "$defaultval"; then
3233 if test x"$enablestring" = xdisable; then
3234 defaultval=yes
3235 else
3236 defaultval=no
3237 fi
3238 fi
3239
3240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3241 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3242 # Check whether --enable-universal was given.
3243 if test "${enable_universal+set}" = set; then
3244 enableval=$enable_universal;
3245 if test "$enableval" = yes; then
3246 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3247 else
3248 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3249 fi
3250
3251 else
3252
3253 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3254
3255 fi
3256
3257
3258 eval "$wx_cv_use_universal"
3259
3260 if test x"$enablestring" = xdisable; then
3261 if test $wxUSE_UNIVERSAL = yes; then
3262 result=no
3263 else
3264 result=yes
3265 fi
3266 else
3267 result=$wxUSE_UNIVERSAL
3268 fi
3269
3270 { echo "$as_me:$LINENO: result: $result" >&5
3271 echo "${ECHO_T}$result" >&6; }
3272
3273 if test "$wxUSE_UNIVERSAL" = "yes"; then
3274
3275 # Check whether --with-themes was given.
3276 if test "${with_themes+set}" = set; then
3277 withval=$with_themes; wxUNIV_THEMES="$withval"
3278 fi
3279
3280 fi
3281
3282
3283 # Check whether --with-gtk was given.
3284 if test "${with_gtk+set}" = set; then
3285 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3286 fi
3287
3288
3289 # Check whether --with-motif was given.
3290 if test "${with_motif+set}" = set; then
3291 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3292 fi
3293
3294
3295 # Check whether --with-osx_carbon was given.
3296 if test "${with_osx_carbon+set}" = set; then
3297 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3298 fi
3299
3300
3301 # Check whether --with-osx_cocoa was given.
3302 if test "${with_osx_cocoa+set}" = set; then
3303 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3304 fi
3305
3306
3307 # Check whether --with-mac was given.
3308 if test "${with_mac+set}" = set; then
3309 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3310 fi
3311
3312
3313 # Check whether --with-cocoa was given.
3314 if test "${with_cocoa+set}" = set; then
3315 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3316 fi
3317
3318
3319 # Check whether --with-wine was given.
3320 if test "${with_wine+set}" = set; then
3321 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3322 fi
3323
3324
3325 # Check whether --with-msw was given.
3326 if test "${with_msw+set}" = set; then
3327 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3328 fi
3329
3330
3331 # Check whether --with-pm was given.
3332 if test "${with_pm+set}" = set; then
3333 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3334 fi
3335
3336
3337 # Check whether --with-mgl was given.
3338 if test "${with_mgl+set}" = set; then
3339 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3340 fi
3341
3342
3343 # Check whether --with-directfb was given.
3344 if test "${with_directfb+set}" = set; then
3345 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3346 fi
3347
3348
3349 # Check whether --with-microwin was given.
3350 if test "${with_microwin+set}" = set; then
3351 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3352 fi
3353
3354
3355 # Check whether --with-x11 was given.
3356 if test "${with_x11+set}" = set; then
3357 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3358 fi
3359
3360
3361 enablestring=
3362 defaultval=
3363 if test -z "$defaultval"; then
3364 if test x"$enablestring" = xdisable; then
3365 defaultval=yes
3366 else
3367 defaultval=no
3368 fi
3369 fi
3370
3371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3372 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3373 # Check whether --enable-nanox was given.
3374 if test "${enable_nanox+set}" = set; then
3375 enableval=$enable_nanox;
3376 if test "$enableval" = yes; then
3377 wx_cv_use_nanox='wxUSE_NANOX=yes'
3378 else
3379 wx_cv_use_nanox='wxUSE_NANOX=no'
3380 fi
3381
3382 else
3383
3384 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3385
3386 fi
3387
3388
3389 eval "$wx_cv_use_nanox"
3390
3391 if test x"$enablestring" = xdisable; then
3392 if test $wxUSE_NANOX = yes; then
3393 result=no
3394 else
3395 result=yes
3396 fi
3397 else
3398 result=$wxUSE_NANOX
3399 fi
3400
3401 { echo "$as_me:$LINENO: result: $result" >&5
3402 echo "${ECHO_T}$result" >&6; }
3403
3404
3405 # Check whether --enable-gtk2 was given.
3406 if test "${enable_gtk2+set}" = set; then
3407 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3408 fi
3409
3410
3411 enablestring=
3412 defaultval=
3413 if test -z "$defaultval"; then
3414 if test x"$enablestring" = xdisable; then
3415 defaultval=yes
3416 else
3417 defaultval=no
3418 fi
3419 fi
3420
3421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3422 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3423 # Check whether --enable-gpe was given.
3424 if test "${enable_gpe+set}" = set; then
3425 enableval=$enable_gpe;
3426 if test "$enableval" = yes; then
3427 wx_cv_use_gpe='wxUSE_GPE=yes'
3428 else
3429 wx_cv_use_gpe='wxUSE_GPE=no'
3430 fi
3431
3432 else
3433
3434 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3435
3436 fi
3437
3438
3439 eval "$wx_cv_use_gpe"
3440
3441 if test x"$enablestring" = xdisable; then
3442 if test $wxUSE_GPE = yes; then
3443 result=no
3444 else
3445 result=yes
3446 fi
3447 else
3448 result=$wxUSE_GPE
3449 fi
3450
3451 { echo "$as_me:$LINENO: result: $result" >&5
3452 echo "${ECHO_T}$result" >&6; }
3453
3454
3455
3456 { echo "$as_me:$LINENO: checking for toolkit" >&5
3457 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3458
3459
3460
3461 # In Wine, we need to default to MSW, not GTK or MOTIF
3462 if test "$wxUSE_WINE" = "yes"; then
3463 DEFAULT_DEFAULT_wxUSE_GTK=0
3464 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3465 DEFAULT_DEFAULT_wxUSE_MSW=1
3466 wxUSE_SHARED=no
3467 CC=${CC:-winegcc}
3468 CXX=${CXX:-wineg++}
3469 fi
3470
3471
3472 if test "$wxUSE_GUI" = "yes"; then
3473
3474 if test "$USE_BEOS" = 1; then
3475 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3476 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3477 { (exit 1); exit 1; }; }
3478 fi
3479
3480 if test "$TOOLKIT_GIVEN" = 1; then
3481 for toolkit in $ALL_TOOLKITS; do
3482 var=wxUSE_$toolkit
3483 eval "value=\$${var}"
3484 if test "x$value" = "xno"; then
3485 eval "$var=0"
3486 elif test "x$value" != "x"; then
3487 eval "$var=1"
3488 fi
3489
3490 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3491 eval "wx${toolkit}_VERSION=$value"
3492 fi
3493 done
3494 else
3495 for toolkit in $ALL_TOOLKITS; do
3496 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3497 eval "wxUSE_$toolkit=\$${var}"
3498 done
3499 fi
3500
3501 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3502 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3503 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3504
3505 case "${host}" in
3506 *-pc-os2_emx | *-pc-os2-emx )
3507 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3508 esac
3509
3510 case "$NUM_TOOLKITS" in
3511 1)
3512 ;;
3513 0)
3514 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3515 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3516 { (exit 1); exit 1; }; }
3517 ;;
3518 *)
3519 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3520 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3521 { (exit 1); exit 1; }; }
3522 esac
3523
3524 # to be removed when --disable-gtk2 isn't needed
3525 if test "x$wxUSE_GTK2" = "xyes"; then
3526 wxGTK_VERSION=2
3527 elif test "x$wxUSE_GTK2" = "xno"; then
3528 wxGTK_VERSION=1
3529 fi
3530
3531 for toolkit in $ALL_TOOLKITS; do
3532 var=wxUSE_$toolkit
3533 eval "value=\$${var}"
3534 if test "$value" = 1; then
3535 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3536 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3537 echo "${ECHO_T}$toolkit_echo" >&6; }
3538 fi
3539 done
3540 else
3541 if test "x$host_alias" != "x"; then
3542 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3543 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3544 else
3545 { echo "$as_me:$LINENO: result: base only" >&5
3546 echo "${ECHO_T}base only" >&6; }
3547 fi
3548 fi
3549
3550 wxUSE_MAC=0
3551 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3552 wxUSE_MAC=1
3553 fi
3554
3555
3556
3557 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3558 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3559
3560 # Check whether --with-libpng was given.
3561 if test "${with_libpng+set}" = set; then
3562 withval=$with_libpng;
3563 if test "$withval" = yes; then
3564 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3565 elif test "$withval" = no; then
3566 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3567 elif test "$withval" = sys; then
3568 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3569 elif test "$withval" = builtin; then
3570 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3571 else
3572 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3573 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3574 { (exit 1); exit 1; }; }
3575 fi
3576
3577 else
3578
3579 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3580
3581 fi
3582
3583
3584 eval "$wx_cv_use_libpng"
3585
3586 if test "$wxUSE_LIBPNG" = yes; then
3587 { echo "$as_me:$LINENO: result: yes" >&5
3588 echo "${ECHO_T}yes" >&6; }
3589 elif test "$wxUSE_LIBPNG" = no; then
3590 { echo "$as_me:$LINENO: result: no" >&5
3591 echo "${ECHO_T}no" >&6; }
3592 elif test "$wxUSE_LIBPNG" = sys; then
3593 { echo "$as_me:$LINENO: result: system version" >&5
3594 echo "${ECHO_T}system version" >&6; }
3595 elif test "$wxUSE_LIBPNG" = builtin; then
3596 { echo "$as_me:$LINENO: result: builtin version" >&5
3597 echo "${ECHO_T}builtin version" >&6; }
3598 else
3599 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3600 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3601 { (exit 1); exit 1; }; }
3602 fi
3603
3604
3605 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3606 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3607
3608 # Check whether --with-libjpeg was given.
3609 if test "${with_libjpeg+set}" = set; then
3610 withval=$with_libjpeg;
3611 if test "$withval" = yes; then
3612 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3613 elif test "$withval" = no; then
3614 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3615 elif test "$withval" = sys; then
3616 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3617 elif test "$withval" = builtin; then
3618 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3619 else
3620 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3621 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3622 { (exit 1); exit 1; }; }
3623 fi
3624
3625 else
3626
3627 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3628
3629 fi
3630
3631
3632 eval "$wx_cv_use_libjpeg"
3633
3634 if test "$wxUSE_LIBJPEG" = yes; then
3635 { echo "$as_me:$LINENO: result: yes" >&5
3636 echo "${ECHO_T}yes" >&6; }
3637 elif test "$wxUSE_LIBJPEG" = no; then
3638 { echo "$as_me:$LINENO: result: no" >&5
3639 echo "${ECHO_T}no" >&6; }
3640 elif test "$wxUSE_LIBJPEG" = sys; then
3641 { echo "$as_me:$LINENO: result: system version" >&5
3642 echo "${ECHO_T}system version" >&6; }
3643 elif test "$wxUSE_LIBJPEG" = builtin; then
3644 { echo "$as_me:$LINENO: result: builtin version" >&5
3645 echo "${ECHO_T}builtin version" >&6; }
3646 else
3647 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3648 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3649 { (exit 1); exit 1; }; }
3650 fi
3651
3652
3653 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3654 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3655
3656 # Check whether --with-libtiff was given.
3657 if test "${with_libtiff+set}" = set; then
3658 withval=$with_libtiff;
3659 if test "$withval" = yes; then
3660 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3661 elif test "$withval" = no; then
3662 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3663 elif test "$withval" = sys; then
3664 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3665 elif test "$withval" = builtin; then
3666 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3667 else
3668 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3669 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3670 { (exit 1); exit 1; }; }
3671 fi
3672
3673 else
3674
3675 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3676
3677 fi
3678
3679
3680 eval "$wx_cv_use_libtiff"
3681
3682 if test "$wxUSE_LIBTIFF" = yes; then
3683 { echo "$as_me:$LINENO: result: yes" >&5
3684 echo "${ECHO_T}yes" >&6; }
3685 elif test "$wxUSE_LIBTIFF" = no; then
3686 { echo "$as_me:$LINENO: result: no" >&5
3687 echo "${ECHO_T}no" >&6; }
3688 elif test "$wxUSE_LIBTIFF" = sys; then
3689 { echo "$as_me:$LINENO: result: system version" >&5
3690 echo "${ECHO_T}system version" >&6; }
3691 elif test "$wxUSE_LIBTIFF" = builtin; then
3692 { echo "$as_me:$LINENO: result: builtin version" >&5
3693 echo "${ECHO_T}builtin version" >&6; }
3694 else
3695 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3696 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3697 { (exit 1); exit 1; }; }
3698 fi
3699
3700
3701 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3702 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3703
3704 # Check whether --with-libxpm was given.
3705 if test "${with_libxpm+set}" = set; then
3706 withval=$with_libxpm;
3707 if test "$withval" = yes; then
3708 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3709 elif test "$withval" = no; then
3710 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3711 elif test "$withval" = sys; then
3712 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3713 elif test "$withval" = builtin; then
3714 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3715 else
3716 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3717 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3718 { (exit 1); exit 1; }; }
3719 fi
3720
3721 else
3722
3723 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3724
3725 fi
3726
3727
3728 eval "$wx_cv_use_libxpm"
3729
3730 if test "$wxUSE_LIBXPM" = yes; then
3731 { echo "$as_me:$LINENO: result: yes" >&5
3732 echo "${ECHO_T}yes" >&6; }
3733 elif test "$wxUSE_LIBXPM" = no; then
3734 { echo "$as_me:$LINENO: result: no" >&5
3735 echo "${ECHO_T}no" >&6; }
3736 elif test "$wxUSE_LIBXPM" = sys; then
3737 { echo "$as_me:$LINENO: result: system version" >&5
3738 echo "${ECHO_T}system version" >&6; }
3739 elif test "$wxUSE_LIBXPM" = builtin; then
3740 { echo "$as_me:$LINENO: result: builtin version" >&5
3741 echo "${ECHO_T}builtin version" >&6; }
3742 else
3743 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3744 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3745 { (exit 1); exit 1; }; }
3746 fi
3747
3748
3749 withstring=
3750 defaultval=$wxUSE_ALL_FEATURES
3751 if test -z "$defaultval"; then
3752 if test x"$withstring" = xwithout; then
3753 defaultval=yes
3754 else
3755 defaultval=no
3756 fi
3757 fi
3758 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3759 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3760
3761 # Check whether --with-libiconv was given.
3762 if test "${with_libiconv+set}" = set; then
3763 withval=$with_libiconv;
3764 if test "$withval" = yes; then
3765 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3766 else
3767 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3768 fi
3769
3770 else
3771
3772 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3773
3774 fi
3775
3776
3777 eval "$wx_cv_use_libiconv"
3778
3779 if test x"$withstring" = xwithout; then
3780 if test $wxUSE_LIBICONV = yes; then
3781 result=no
3782 else
3783 result=yes
3784 fi
3785 else
3786 result=$wxUSE_LIBICONV
3787 fi
3788
3789 { echo "$as_me:$LINENO: result: $result" >&5
3790 echo "${ECHO_T}$result" >&6; }
3791
3792
3793 withstring=
3794 defaultval=$wxUSE_ALL_FEATURES
3795 if test -z "$defaultval"; then
3796 if test x"$withstring" = xwithout; then
3797 defaultval=yes
3798 else
3799 defaultval=no
3800 fi
3801 fi
3802 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3803 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3804
3805 # Check whether --with-libmspack was given.
3806 if test "${with_libmspack+set}" = set; then
3807 withval=$with_libmspack;
3808 if test "$withval" = yes; then
3809 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3810 else
3811 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3812 fi
3813
3814 else
3815
3816 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3817
3818 fi
3819
3820
3821 eval "$wx_cv_use_libmspack"
3822
3823 if test x"$withstring" = xwithout; then
3824 if test $wxUSE_LIBMSPACK = yes; then
3825 result=no
3826 else
3827 result=yes
3828 fi
3829 else
3830 result=$wxUSE_LIBMSPACK
3831 fi
3832
3833 { echo "$as_me:$LINENO: result: $result" >&5
3834 echo "${ECHO_T}$result" >&6; }
3835
3836
3837 withstring=without
3838 defaultval=$wxUSE_ALL_FEATURES
3839 if test -z "$defaultval"; then
3840 if test x"$withstring" = xwithout; then
3841 defaultval=yes
3842 else
3843 defaultval=no
3844 fi
3845 fi
3846 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3847 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3848
3849 # Check whether --with-gtkprint was given.
3850 if test "${with_gtkprint+set}" = set; then
3851 withval=$with_gtkprint;
3852 if test "$withval" = yes; then
3853 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3854 else
3855 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3856 fi
3857
3858 else
3859
3860 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3861
3862 fi
3863
3864
3865 eval "$wx_cv_use_gtkprint"
3866
3867 if test x"$withstring" = xwithout; then
3868 if test $wxUSE_GTKPRINT = yes; then
3869 result=no
3870 else
3871 result=yes
3872 fi
3873 else
3874 result=$wxUSE_GTKPRINT
3875 fi
3876
3877 { echo "$as_me:$LINENO: result: $result" >&5
3878 echo "${ECHO_T}$result" >&6; }
3879
3880
3881 withstring=without
3882 defaultval=$wxUSE_ALL_FEATURES
3883 if test -z "$defaultval"; then
3884 if test x"$withstring" = xwithout; then
3885 defaultval=yes
3886 else
3887 defaultval=no
3888 fi
3889 fi
3890 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3891 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3892
3893 # Check whether --with-gnomeprint was given.
3894 if test "${with_gnomeprint+set}" = set; then
3895 withval=$with_gnomeprint;
3896 if test "$withval" = yes; then
3897 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3898 else
3899 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3900 fi
3901
3902 else
3903
3904 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3905
3906 fi
3907
3908
3909 eval "$wx_cv_use_gnomeprint"
3910
3911 if test x"$withstring" = xwithout; then
3912 if test $wxUSE_LIBGNOMEPRINT = yes; then
3913 result=no
3914 else
3915 result=yes
3916 fi
3917 else
3918 result=$wxUSE_LIBGNOMEPRINT
3919 fi
3920
3921 { echo "$as_me:$LINENO: result: $result" >&5
3922 echo "${ECHO_T}$result" >&6; }
3923
3924
3925 withstring=
3926 defaultval=$wxUSE_ALL_FEATURES
3927 if test -z "$defaultval"; then
3928 if test x"$withstring" = xwithout; then
3929 defaultval=yes
3930 else
3931 defaultval=no
3932 fi
3933 fi
3934 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3935 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3936
3937 # Check whether --with-gnomevfs was given.
3938 if test "${with_gnomevfs+set}" = set; then
3939 withval=$with_gnomevfs;
3940 if test "$withval" = yes; then
3941 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3942 else
3943 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3944 fi
3945
3946 else
3947
3948 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3949
3950 fi
3951
3952
3953 eval "$wx_cv_use_gnomevfs"
3954
3955 if test x"$withstring" = xwithout; then
3956 if test $wxUSE_LIBGNOMEVFS = yes; then
3957 result=no
3958 else
3959 result=yes
3960 fi
3961 else
3962 result=$wxUSE_LIBGNOMEVFS
3963 fi
3964
3965 { echo "$as_me:$LINENO: result: $result" >&5
3966 echo "${ECHO_T}$result" >&6; }
3967
3968
3969 withstring=
3970 defaultval=$wxUSE_ALL_FEATURES
3971 if test -z "$defaultval"; then
3972 if test x"$withstring" = xwithout; then
3973 defaultval=yes
3974 else
3975 defaultval=no
3976 fi
3977 fi
3978 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3979 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3980
3981 # Check whether --with-hildon was given.
3982 if test "${with_hildon+set}" = set; then
3983 withval=$with_hildon;
3984 if test "$withval" = yes; then
3985 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3986 else
3987 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3988 fi
3989
3990 else
3991
3992 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3993
3994 fi
3995
3996
3997 eval "$wx_cv_use_hildon"
3998
3999 if test x"$withstring" = xwithout; then
4000 if test $wxUSE_LIBHILDON = yes; then
4001 result=no
4002 else
4003 result=yes
4004 fi
4005 else
4006 result=$wxUSE_LIBHILDON
4007 fi
4008
4009 { echo "$as_me:$LINENO: result: $result" >&5
4010 echo "${ECHO_T}$result" >&6; }
4011
4012
4013 withstring=
4014 defaultval=$wxUSE_ALL_FEATURES
4015 if test -z "$defaultval"; then
4016 if test x"$withstring" = xwithout; then
4017 defaultval=yes
4018 else
4019 defaultval=no
4020 fi
4021 fi
4022 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4023 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4024
4025 # Check whether --with-opengl was given.
4026 if test "${with_opengl+set}" = set; then
4027 withval=$with_opengl;
4028 if test "$withval" = yes; then
4029 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4030 else
4031 wx_cv_use_opengl='wxUSE_OPENGL=no'
4032 fi
4033
4034 else
4035
4036 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4037
4038 fi
4039
4040
4041 eval "$wx_cv_use_opengl"
4042
4043 if test x"$withstring" = xwithout; then
4044 if test $wxUSE_OPENGL = yes; then
4045 result=no
4046 else
4047 result=yes
4048 fi
4049 else
4050 result=$wxUSE_OPENGL
4051 fi
4052
4053 { echo "$as_me:$LINENO: result: $result" >&5
4054 echo "${ECHO_T}$result" >&6; }
4055
4056
4057 fi
4058
4059
4060 withstring=
4061 defaultval=$wxUSE_ALL_FEATURES
4062 if test -z "$defaultval"; then
4063 if test x"$withstring" = xwithout; then
4064 defaultval=yes
4065 else
4066 defaultval=no
4067 fi
4068 fi
4069 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4070 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4071
4072 # Check whether --with-dmalloc was given.
4073 if test "${with_dmalloc+set}" = set; then
4074 withval=$with_dmalloc;
4075 if test "$withval" = yes; then
4076 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4077 else
4078 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4079 fi
4080
4081 else
4082
4083 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4084
4085 fi
4086
4087
4088 eval "$wx_cv_use_dmalloc"
4089
4090 if test x"$withstring" = xwithout; then
4091 if test $wxUSE_DMALLOC = yes; then
4092 result=no
4093 else
4094 result=yes
4095 fi
4096 else
4097 result=$wxUSE_DMALLOC
4098 fi
4099
4100 { echo "$as_me:$LINENO: result: $result" >&5
4101 echo "${ECHO_T}$result" >&6; }
4102
4103
4104 withstring=
4105 defaultval=$wxUSE_ALL_FEATURES
4106 if test -z "$defaultval"; then
4107 if test x"$withstring" = xwithout; then
4108 defaultval=yes
4109 else
4110 defaultval=no
4111 fi
4112 fi
4113 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4114 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4115
4116 # Check whether --with-sdl was given.
4117 if test "${with_sdl+set}" = set; then
4118 withval=$with_sdl;
4119 if test "$withval" = yes; then
4120 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4121 else
4122 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4123 fi
4124
4125 else
4126
4127 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4128
4129 fi
4130
4131
4132 eval "$wx_cv_use_sdl"
4133
4134 if test x"$withstring" = xwithout; then
4135 if test $wxUSE_LIBSDL = yes; then
4136 result=no
4137 else
4138 result=yes
4139 fi
4140 else
4141 result=$wxUSE_LIBSDL
4142 fi
4143
4144 { echo "$as_me:$LINENO: result: $result" >&5
4145 echo "${ECHO_T}$result" >&6; }
4146
4147
4148 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4149 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4150
4151 # Check whether --with-regex was given.
4152 if test "${with_regex+set}" = set; then
4153 withval=$with_regex;
4154 if test "$withval" = yes; then
4155 wx_cv_use_regex='wxUSE_REGEX=yes'
4156 elif test "$withval" = no; then
4157 wx_cv_use_regex='wxUSE_REGEX=no'
4158 elif test "$withval" = sys; then
4159 wx_cv_use_regex='wxUSE_REGEX=sys'
4160 elif test "$withval" = builtin; then
4161 wx_cv_use_regex='wxUSE_REGEX=builtin'
4162 else
4163 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4164 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4165 { (exit 1); exit 1; }; }
4166 fi
4167
4168 else
4169
4170 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4171
4172 fi
4173
4174
4175 eval "$wx_cv_use_regex"
4176
4177 if test "$wxUSE_REGEX" = yes; then
4178 { echo "$as_me:$LINENO: result: yes" >&5
4179 echo "${ECHO_T}yes" >&6; }
4180 elif test "$wxUSE_REGEX" = no; then
4181 { echo "$as_me:$LINENO: result: no" >&5
4182 echo "${ECHO_T}no" >&6; }
4183 elif test "$wxUSE_REGEX" = sys; then
4184 { echo "$as_me:$LINENO: result: system version" >&5
4185 echo "${ECHO_T}system version" >&6; }
4186 elif test "$wxUSE_REGEX" = builtin; then
4187 { echo "$as_me:$LINENO: result: builtin version" >&5
4188 echo "${ECHO_T}builtin version" >&6; }
4189 else
4190 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4191 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4192 { (exit 1); exit 1; }; }
4193 fi
4194
4195
4196 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4197 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4198
4199 # Check whether --with-zlib was given.
4200 if test "${with_zlib+set}" = set; then
4201 withval=$with_zlib;
4202 if test "$withval" = yes; then
4203 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4204 elif test "$withval" = no; then
4205 wx_cv_use_zlib='wxUSE_ZLIB=no'
4206 elif test "$withval" = sys; then
4207 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4208 elif test "$withval" = builtin; then
4209 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4210 else
4211 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4212 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4213 { (exit 1); exit 1; }; }
4214 fi
4215
4216 else
4217
4218 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4219
4220 fi
4221
4222
4223 eval "$wx_cv_use_zlib"
4224
4225 if test "$wxUSE_ZLIB" = yes; then
4226 { echo "$as_me:$LINENO: result: yes" >&5
4227 echo "${ECHO_T}yes" >&6; }
4228 elif test "$wxUSE_ZLIB" = no; then
4229 { echo "$as_me:$LINENO: result: no" >&5
4230 echo "${ECHO_T}no" >&6; }
4231 elif test "$wxUSE_ZLIB" = sys; then
4232 { echo "$as_me:$LINENO: result: system version" >&5
4233 echo "${ECHO_T}system version" >&6; }
4234 elif test "$wxUSE_ZLIB" = builtin; then
4235 { echo "$as_me:$LINENO: result: builtin version" >&5
4236 echo "${ECHO_T}builtin version" >&6; }
4237 else
4238 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4239 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4240 { (exit 1); exit 1; }; }
4241 fi
4242
4243
4244 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4245 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4246
4247 # Check whether --with-expat was given.
4248 if test "${with_expat+set}" = set; then
4249 withval=$with_expat;
4250 if test "$withval" = yes; then
4251 wx_cv_use_expat='wxUSE_EXPAT=yes'
4252 elif test "$withval" = no; then
4253 wx_cv_use_expat='wxUSE_EXPAT=no'
4254 elif test "$withval" = sys; then
4255 wx_cv_use_expat='wxUSE_EXPAT=sys'
4256 elif test "$withval" = builtin; then
4257 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4258 else
4259 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4260 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4261 { (exit 1); exit 1; }; }
4262 fi
4263
4264 else
4265
4266 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4267
4268 fi
4269
4270
4271 eval "$wx_cv_use_expat"
4272
4273 if test "$wxUSE_EXPAT" = yes; then
4274 { echo "$as_me:$LINENO: result: yes" >&5
4275 echo "${ECHO_T}yes" >&6; }
4276 elif test "$wxUSE_EXPAT" = no; then
4277 { echo "$as_me:$LINENO: result: no" >&5
4278 echo "${ECHO_T}no" >&6; }
4279 elif test "$wxUSE_EXPAT" = sys; then
4280 { echo "$as_me:$LINENO: result: system version" >&5
4281 echo "${ECHO_T}system version" >&6; }
4282 elif test "$wxUSE_EXPAT" = builtin; then
4283 { echo "$as_me:$LINENO: result: builtin version" >&5
4284 echo "${ECHO_T}builtin version" >&6; }
4285 else
4286 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4287 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4288 { (exit 1); exit 1; }; }
4289 fi
4290
4291
4292 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4293 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4294
4295 # Check whether --with-macosx-sdk was given.
4296 if test "${with_macosx_sdk+set}" = set; then
4297 withval=$with_macosx_sdk;
4298 wxUSE_MACOSX_SDK=$withval
4299 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4300
4301 fi
4302
4303 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4304 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4305
4306 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4307 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4308
4309 # Check whether --with-macosx-version-min was given.
4310 if test "${with_macosx_version_min+set}" = set; then
4311 withval=$with_macosx_version_min;
4312 wxUSE_MACOSX_VERSION_MIN=$withval
4313 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4314
4315 fi
4316
4317 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4318 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4319
4320
4321
4322 enablestring=disable
4323 defaultval=
4324 if test -z "$defaultval"; then
4325 if test x"$enablestring" = xdisable; then
4326 defaultval=yes
4327 else
4328 defaultval=no
4329 fi
4330 fi
4331
4332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4333 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4334 # Check whether --enable-shared was given.
4335 if test "${enable_shared+set}" = set; then
4336 enableval=$enable_shared;
4337 if test "$enableval" = yes; then
4338 wx_cv_use_shared='wxUSE_SHARED=yes'
4339 else
4340 wx_cv_use_shared='wxUSE_SHARED=no'
4341 fi
4342
4343 else
4344
4345 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4346
4347 fi
4348
4349
4350 eval "$wx_cv_use_shared"
4351
4352 if test x"$enablestring" = xdisable; then
4353 if test $wxUSE_SHARED = yes; then
4354 result=no
4355 else
4356 result=yes
4357 fi
4358 else
4359 result=$wxUSE_SHARED
4360 fi
4361
4362 { echo "$as_me:$LINENO: result: $result" >&5
4363 echo "${ECHO_T}$result" >&6; }
4364
4365
4366 enablestring=
4367 defaultval=
4368 if test -z "$defaultval"; then
4369 if test x"$enablestring" = xdisable; then
4370 defaultval=yes
4371 else
4372 defaultval=no
4373 fi
4374 fi
4375
4376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4377 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4378 # Check whether --enable-debug was given.
4379 if test "${enable_debug+set}" = set; then
4380 enableval=$enable_debug;
4381 if test "$enableval" = yes; then
4382 wx_cv_use_debug='wxUSE_DEBUG=yes'
4383 else
4384 wx_cv_use_debug='wxUSE_DEBUG=no'
4385 fi
4386
4387 else
4388
4389 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4390
4391 fi
4392
4393
4394 eval "$wx_cv_use_debug"
4395
4396 if test x"$enablestring" = xdisable; then
4397 if test $wxUSE_DEBUG = yes; then
4398 result=no
4399 else
4400 result=yes
4401 fi
4402 else
4403 result=$wxUSE_DEBUG
4404 fi
4405
4406 { echo "$as_me:$LINENO: result: $result" >&5
4407 echo "${ECHO_T}$result" >&6; }
4408
4409
4410 enablestring=
4411 defaultval=
4412 if test -z "$defaultval"; then
4413 if test x"$enablestring" = xdisable; then
4414 defaultval=yes
4415 else
4416 defaultval=no
4417 fi
4418 fi
4419
4420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4421 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4422 # Check whether --enable-stl was given.
4423 if test "${enable_stl+set}" = set; then
4424 enableval=$enable_stl;
4425 if test "$enableval" = yes; then
4426 wx_cv_use_stl='wxUSE_STL=yes'
4427 else
4428 wx_cv_use_stl='wxUSE_STL=no'
4429 fi
4430
4431 else
4432
4433 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4434
4435 fi
4436
4437
4438 eval "$wx_cv_use_stl"
4439
4440 if test x"$enablestring" = xdisable; then
4441 if test $wxUSE_STL = yes; then
4442 result=no
4443 else
4444 result=yes
4445 fi
4446 else
4447 result=$wxUSE_STL
4448 fi
4449
4450 { echo "$as_me:$LINENO: result: $result" >&5
4451 echo "${ECHO_T}$result" >&6; }
4452
4453
4454 enablestring=
4455 defaultval=
4456 if test -z "$defaultval"; then
4457 if test x"$enablestring" = xdisable; then
4458 defaultval=yes
4459 else
4460 defaultval=no
4461 fi
4462 fi
4463
4464 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4465 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4466 # Check whether --enable-std_iostreams was given.
4467 if test "${enable_std_iostreams+set}" = set; then
4468 enableval=$enable_std_iostreams;
4469 if test "$enableval" = yes; then
4470 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4471 else
4472 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4473 fi
4474
4475 else
4476
4477 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4478
4479 fi
4480
4481
4482 eval "$wx_cv_use_std_iostreams"
4483
4484 if test x"$enablestring" = xdisable; then
4485 if test $wxUSE_STD_IOSTREAM = yes; then
4486 result=no
4487 else
4488 result=yes
4489 fi
4490 else
4491 result=$wxUSE_STD_IOSTREAM
4492 fi
4493
4494 { echo "$as_me:$LINENO: result: $result" >&5
4495 echo "${ECHO_T}$result" >&6; }
4496
4497
4498 enablestring=
4499 defaultval=
4500 if test -z "$defaultval"; then
4501 if test x"$enablestring" = xdisable; then
4502 defaultval=yes
4503 else
4504 defaultval=no
4505 fi
4506 fi
4507
4508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4509 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4510 # Check whether --enable-std_string was given.
4511 if test "${enable_std_string+set}" = set; then
4512 enableval=$enable_std_string;
4513 if test "$enableval" = yes; then
4514 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4515 else
4516 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4517 fi
4518
4519 else
4520
4521 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4522
4523 fi
4524
4525
4526 eval "$wx_cv_use_std_string"
4527
4528 if test x"$enablestring" = xdisable; then
4529 if test $wxUSE_STD_STRING = yes; then
4530 result=no
4531 else
4532 result=yes
4533 fi
4534 else
4535 result=$wxUSE_STD_STRING
4536 fi
4537
4538 { echo "$as_me:$LINENO: result: $result" >&5
4539 echo "${ECHO_T}$result" >&6; }
4540
4541
4542 enablestring=disable
4543 defaultval=
4544 if test -z "$defaultval"; then
4545 if test x"$enablestring" = xdisable; then
4546 defaultval=yes
4547 else
4548 defaultval=no
4549 fi
4550 fi
4551
4552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4553 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4554 # Check whether --enable-unicode was given.
4555 if test "${enable_unicode+set}" = set; then
4556 enableval=$enable_unicode;
4557 if test "$enableval" = yes; then
4558 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4559 else
4560 wx_cv_use_unicode='wxUSE_UNICODE=no'
4561 fi
4562
4563 else
4564
4565 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4566
4567 fi
4568
4569
4570 eval "$wx_cv_use_unicode"
4571
4572 if test x"$enablestring" = xdisable; then
4573 if test $wxUSE_UNICODE = yes; then
4574 result=no
4575 else
4576 result=yes
4577 fi
4578 else
4579 result=$wxUSE_UNICODE
4580 fi
4581
4582 { echo "$as_me:$LINENO: result: $result" >&5
4583 echo "${ECHO_T}$result" >&6; }
4584
4585
4586 enablestring=
4587 defaultval=
4588 if test -z "$defaultval"; then
4589 if test x"$enablestring" = xdisable; then
4590 defaultval=yes
4591 else
4592 defaultval=no
4593 fi
4594 fi
4595
4596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4597 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4598 # Check whether --enable-mslu was given.
4599 if test "${enable_mslu+set}" = set; then
4600 enableval=$enable_mslu;
4601 if test "$enableval" = yes; then
4602 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4603 else
4604 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4605 fi
4606
4607 else
4608
4609 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4610
4611 fi
4612
4613
4614 eval "$wx_cv_use_mslu"
4615
4616 if test x"$enablestring" = xdisable; then
4617 if test $wxUSE_UNICODE_MSLU = yes; then
4618 result=no
4619 else
4620 result=yes
4621 fi
4622 else
4623 result=$wxUSE_UNICODE_MSLU
4624 fi
4625
4626 { echo "$as_me:$LINENO: result: $result" >&5
4627 echo "${ECHO_T}$result" >&6; }
4628
4629
4630 enablestring=
4631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4632 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4633 # Check whether --enable-utf8 was given.
4634 if test "${enable_utf8+set}" = set; then
4635 enableval=$enable_utf8;
4636 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4637
4638 else
4639
4640 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4641
4642 fi
4643
4644
4645 eval "$wx_cv_use_utf8"
4646
4647 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4648 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4649
4650
4651 enablestring=
4652 defaultval=
4653 if test -z "$defaultval"; then
4654 if test x"$enablestring" = xdisable; then
4655 defaultval=yes
4656 else
4657 defaultval=no
4658 fi
4659 fi
4660
4661 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4662 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4663 # Check whether --enable-utf8only was given.
4664 if test "${enable_utf8only+set}" = set; then
4665 enableval=$enable_utf8only;
4666 if test "$enableval" = yes; then
4667 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4668 else
4669 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4670 fi
4671
4672 else
4673
4674 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4675
4676 fi
4677
4678
4679 eval "$wx_cv_use_utf8only"
4680
4681 if test x"$enablestring" = xdisable; then
4682 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4683 result=no
4684 else
4685 result=yes
4686 fi
4687 else
4688 result=$wxUSE_UNICODE_UTF8_LOCALE
4689 fi
4690
4691 { echo "$as_me:$LINENO: result: $result" >&5
4692 echo "${ECHO_T}$result" >&6; }
4693
4694
4695 enablestring=
4696 defaultval=
4697 if test -z "$defaultval"; then
4698 if test x"$enablestring" = xdisable; then
4699 defaultval=yes
4700 else
4701 defaultval=no
4702 fi
4703 fi
4704
4705 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4706 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4707 # Check whether --enable-extended_rtti was given.
4708 if test "${enable_extended_rtti+set}" = set; then
4709 enableval=$enable_extended_rtti;
4710 if test "$enableval" = yes; then
4711 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4712 else
4713 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4714 fi
4715
4716 else
4717
4718 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4719
4720 fi
4721
4722
4723 eval "$wx_cv_use_extended_rtti"
4724
4725 if test x"$enablestring" = xdisable; then
4726 if test $wxUSE_EXTENDED_RTTI = yes; then
4727 result=no
4728 else
4729 result=yes
4730 fi
4731 else
4732 result=$wxUSE_EXTENDED_RTTI
4733 fi
4734
4735 { echo "$as_me:$LINENO: result: $result" >&5
4736 echo "${ECHO_T}$result" >&6; }
4737
4738 if test "$USE_OS2" = 1; then
4739 DEFAULT_wxUSE_OMF=no
4740
4741 enablestring=
4742 defaultval=
4743 if test -z "$defaultval"; then
4744 if test x"$enablestring" = xdisable; then
4745 defaultval=yes
4746 else
4747 defaultval=no
4748 fi
4749 fi
4750
4751 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4752 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4753 # Check whether --enable-omf was given.
4754 if test "${enable_omf+set}" = set; then
4755 enableval=$enable_omf;
4756 if test "$enableval" = yes; then
4757 wx_cv_use_omf='wxUSE_OMF=yes'
4758 else
4759 wx_cv_use_omf='wxUSE_OMF=no'
4760 fi
4761
4762 else
4763
4764 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4765
4766 fi
4767
4768
4769 eval "$wx_cv_use_omf"
4770
4771 if test x"$enablestring" = xdisable; then
4772 if test $wxUSE_OMF = yes; then
4773 result=no
4774 else
4775 result=yes
4776 fi
4777 else
4778 result=$wxUSE_OMF
4779 fi
4780
4781 { echo "$as_me:$LINENO: result: $result" >&5
4782 echo "${ECHO_T}$result" >&6; }
4783
4784 fi
4785
4786 if test "$wxUSE_DEBUG" = "yes"; then
4787 DEFAULT_wxUSE_DEBUG_FLAG=yes
4788 DEFAULT_wxUSE_DEBUG_INFO=yes
4789 BUILD=debug
4790 elif test "$wxUSE_DEBUG" = "no"; then
4791 DEFAULT_wxUSE_DEBUG_FLAG=no
4792 DEFAULT_wxUSE_DEBUG_INFO=no
4793 BUILD=release
4794 fi
4795
4796
4797 enablestring=
4798 defaultval=
4799 if test -z "$defaultval"; then
4800 if test x"$enablestring" = xdisable; then
4801 defaultval=yes
4802 else
4803 defaultval=no
4804 fi
4805 fi
4806
4807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4808 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4809 # Check whether --enable-debug_flag was given.
4810 if test "${enable_debug_flag+set}" = set; then
4811 enableval=$enable_debug_flag;
4812 if test "$enableval" = yes; then
4813 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4814 else
4815 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4816 fi
4817
4818 else
4819
4820 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4821
4822 fi
4823
4824
4825 eval "$wx_cv_use_debug_flag"
4826
4827 if test x"$enablestring" = xdisable; then
4828 if test $wxUSE_DEBUG_FLAG = yes; then
4829 result=no
4830 else
4831 result=yes
4832 fi
4833 else
4834 result=$wxUSE_DEBUG_FLAG
4835 fi
4836
4837 { echo "$as_me:$LINENO: result: $result" >&5
4838 echo "${ECHO_T}$result" >&6; }
4839
4840
4841 enablestring=
4842 defaultval=
4843 if test -z "$defaultval"; then
4844 if test x"$enablestring" = xdisable; then
4845 defaultval=yes
4846 else
4847 defaultval=no
4848 fi
4849 fi
4850
4851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4852 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4853 # Check whether --enable-debug_info was given.
4854 if test "${enable_debug_info+set}" = set; then
4855 enableval=$enable_debug_info;
4856 if test "$enableval" = yes; then
4857 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4858 else
4859 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4860 fi
4861
4862 else
4863
4864 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4865
4866 fi
4867
4868
4869 eval "$wx_cv_use_debug_info"
4870
4871 if test x"$enablestring" = xdisable; then
4872 if test $wxUSE_DEBUG_INFO = yes; then
4873 result=no
4874 else
4875 result=yes
4876 fi
4877 else
4878 result=$wxUSE_DEBUG_INFO
4879 fi
4880
4881 { echo "$as_me:$LINENO: result: $result" >&5
4882 echo "${ECHO_T}$result" >&6; }
4883
4884
4885 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4886 wxUSE_DEBUG=yes
4887 BUILD=debug
4888 fi
4889
4890 if test "$wxUSE_DEBUG" = "yes"; then
4891 DEFAULT_wxUSE_OPTIMISE=no
4892 fi
4893
4894
4895 enablestring=disable
4896 defaultval=
4897 if test -z "$defaultval"; then
4898 if test x"$enablestring" = xdisable; then
4899 defaultval=yes
4900 else
4901 defaultval=no
4902 fi
4903 fi
4904
4905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4906 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4907 # Check whether --enable-optimise was given.
4908 if test "${enable_optimise+set}" = set; then
4909 enableval=$enable_optimise;
4910 if test "$enableval" = yes; then
4911 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4912 else
4913 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4914 fi
4915
4916 else
4917
4918 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4919
4920 fi
4921
4922
4923 eval "$wx_cv_use_optimise"
4924
4925 if test x"$enablestring" = xdisable; then
4926 if test $wxUSE_OPTIMISE = yes; then
4927 result=no
4928 else
4929 result=yes
4930 fi
4931 else
4932 result=$wxUSE_OPTIMISE
4933 fi
4934
4935 { echo "$as_me:$LINENO: result: $result" >&5
4936 echo "${ECHO_T}$result" >&6; }
4937
4938
4939
4940 enablestring=
4941 defaultval=
4942 if test -z "$defaultval"; then
4943 if test x"$enablestring" = xdisable; then
4944 defaultval=yes
4945 else
4946 defaultval=no
4947 fi
4948 fi
4949
4950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4951 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4952 # Check whether --enable-debug_gdb was given.
4953 if test "${enable_debug_gdb+set}" = set; then
4954 enableval=$enable_debug_gdb;
4955 if test "$enableval" = yes; then
4956 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4957 else
4958 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4959 fi
4960
4961 else
4962
4963 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4964
4965 fi
4966
4967
4968 eval "$wx_cv_use_debug_gdb"
4969
4970 if test x"$enablestring" = xdisable; then
4971 if test $wxUSE_DEBUG_GDB = yes; then
4972 result=no
4973 else
4974 result=yes
4975 fi
4976 else
4977 result=$wxUSE_DEBUG_GDB
4978 fi
4979
4980 { echo "$as_me:$LINENO: result: $result" >&5
4981 echo "${ECHO_T}$result" >&6; }
4982
4983
4984 enablestring=
4985 defaultval=
4986 if test -z "$defaultval"; then
4987 if test x"$enablestring" = xdisable; then
4988 defaultval=yes
4989 else
4990 defaultval=no
4991 fi
4992 fi
4993
4994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4995 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4996 # Check whether --enable-debug_cntxt was given.
4997 if test "${enable_debug_cntxt+set}" = set; then
4998 enableval=$enable_debug_cntxt;
4999 if test "$enableval" = yes; then
5000 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5001 else
5002 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5003 fi
5004
5005 else
5006
5007 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5008
5009 fi
5010
5011
5012 eval "$wx_cv_use_debug_cntxt"
5013
5014 if test x"$enablestring" = xdisable; then
5015 if test $wxUSE_DEBUG_CONTEXT = yes; then
5016 result=no
5017 else
5018 result=yes
5019 fi
5020 else
5021 result=$wxUSE_DEBUG_CONTEXT
5022 fi
5023
5024 { echo "$as_me:$LINENO: result: $result" >&5
5025 echo "${ECHO_T}$result" >&6; }
5026
5027
5028 enablestring=
5029 defaultval=
5030 if test -z "$defaultval"; then
5031 if test x"$enablestring" = xdisable; then
5032 defaultval=yes
5033 else
5034 defaultval=no
5035 fi
5036 fi
5037
5038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5039 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5040 # Check whether --enable-mem_tracing was given.
5041 if test "${enable_mem_tracing+set}" = set; then
5042 enableval=$enable_mem_tracing;
5043 if test "$enableval" = yes; then
5044 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5045 else
5046 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5047 fi
5048
5049 else
5050
5051 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5052
5053 fi
5054
5055
5056 eval "$wx_cv_use_mem_tracing"
5057
5058 if test x"$enablestring" = xdisable; then
5059 if test $wxUSE_MEM_TRACING = yes; then
5060 result=no
5061 else
5062 result=yes
5063 fi
5064 else
5065 result=$wxUSE_MEM_TRACING
5066 fi
5067
5068 { echo "$as_me:$LINENO: result: $result" >&5
5069 echo "${ECHO_T}$result" >&6; }
5070
5071
5072 enablestring=
5073 defaultval=
5074 if test -z "$defaultval"; then
5075 if test x"$enablestring" = xdisable; then
5076 defaultval=yes
5077 else
5078 defaultval=no
5079 fi
5080 fi
5081
5082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5083 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5084 # Check whether --enable-profile was given.
5085 if test "${enable_profile+set}" = set; then
5086 enableval=$enable_profile;
5087 if test "$enableval" = yes; then
5088 wx_cv_use_profile='wxUSE_PROFILE=yes'
5089 else
5090 wx_cv_use_profile='wxUSE_PROFILE=no'
5091 fi
5092
5093 else
5094
5095 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5096
5097 fi
5098
5099
5100 eval "$wx_cv_use_profile"
5101
5102 if test x"$enablestring" = xdisable; then
5103 if test $wxUSE_PROFILE = yes; then
5104 result=no
5105 else
5106 result=yes
5107 fi
5108 else
5109 result=$wxUSE_PROFILE
5110 fi
5111
5112 { echo "$as_me:$LINENO: result: $result" >&5
5113 echo "${ECHO_T}$result" >&6; }
5114
5115
5116 enablestring=
5117 defaultval=
5118 if test -z "$defaultval"; then
5119 if test x"$enablestring" = xdisable; then
5120 defaultval=yes
5121 else
5122 defaultval=no
5123 fi
5124 fi
5125
5126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5127 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5128 # Check whether --enable-no_rtti was given.
5129 if test "${enable_no_rtti+set}" = set; then
5130 enableval=$enable_no_rtti;
5131 if test "$enableval" = yes; then
5132 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5133 else
5134 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5135 fi
5136
5137 else
5138
5139 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5140
5141 fi
5142
5143
5144 eval "$wx_cv_use_no_rtti"
5145
5146 if test x"$enablestring" = xdisable; then
5147 if test $wxUSE_NO_RTTI = yes; then
5148 result=no
5149 else
5150 result=yes
5151 fi
5152 else
5153 result=$wxUSE_NO_RTTI
5154 fi
5155
5156 { echo "$as_me:$LINENO: result: $result" >&5
5157 echo "${ECHO_T}$result" >&6; }
5158
5159
5160 enablestring=
5161 defaultval=
5162 if test -z "$defaultval"; then
5163 if test x"$enablestring" = xdisable; then
5164 defaultval=yes
5165 else
5166 defaultval=no
5167 fi
5168 fi
5169
5170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5171 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5172 # Check whether --enable-no_exceptions was given.
5173 if test "${enable_no_exceptions+set}" = set; then
5174 enableval=$enable_no_exceptions;
5175 if test "$enableval" = yes; then
5176 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5177 else
5178 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5179 fi
5180
5181 else
5182
5183 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5184
5185 fi
5186
5187
5188 eval "$wx_cv_use_no_exceptions"
5189
5190 if test x"$enablestring" = xdisable; then
5191 if test $wxUSE_NO_EXCEPTIONS = yes; then
5192 result=no
5193 else
5194 result=yes
5195 fi
5196 else
5197 result=$wxUSE_NO_EXCEPTIONS
5198 fi
5199
5200 { echo "$as_me:$LINENO: result: $result" >&5
5201 echo "${ECHO_T}$result" >&6; }
5202
5203
5204 enablestring=
5205 defaultval=
5206 if test -z "$defaultval"; then
5207 if test x"$enablestring" = xdisable; then
5208 defaultval=yes
5209 else
5210 defaultval=no
5211 fi
5212 fi
5213
5214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5215 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5216 # Check whether --enable-permissive was given.
5217 if test "${enable_permissive+set}" = set; then
5218 enableval=$enable_permissive;
5219 if test "$enableval" = yes; then
5220 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5221 else
5222 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5223 fi
5224
5225 else
5226
5227 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5228
5229 fi
5230
5231
5232 eval "$wx_cv_use_permissive"
5233
5234 if test x"$enablestring" = xdisable; then
5235 if test $wxUSE_PERMISSIVE = yes; then
5236 result=no
5237 else
5238 result=yes
5239 fi
5240 else
5241 result=$wxUSE_PERMISSIVE
5242 fi
5243
5244 { echo "$as_me:$LINENO: result: $result" >&5
5245 echo "${ECHO_T}$result" >&6; }
5246
5247
5248 enablestring=
5249 defaultval=
5250 if test -z "$defaultval"; then
5251 if test x"$enablestring" = xdisable; then
5252 defaultval=yes
5253 else
5254 defaultval=no
5255 fi
5256 fi
5257
5258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5259 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5260 # Check whether --enable-no_deps was given.
5261 if test "${enable_no_deps+set}" = set; then
5262 enableval=$enable_no_deps;
5263 if test "$enableval" = yes; then
5264 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5265 else
5266 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5267 fi
5268
5269 else
5270
5271 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5272
5273 fi
5274
5275
5276 eval "$wx_cv_use_no_deps"
5277
5278 if test x"$enablestring" = xdisable; then
5279 if test $wxUSE_NO_DEPS = yes; then
5280 result=no
5281 else
5282 result=yes
5283 fi
5284 else
5285 result=$wxUSE_NO_DEPS
5286 fi
5287
5288 { echo "$as_me:$LINENO: result: $result" >&5
5289 echo "${ECHO_T}$result" >&6; }
5290
5291
5292 enablestring=disable
5293 defaultval=
5294 if test -z "$defaultval"; then
5295 if test x"$enablestring" = xdisable; then
5296 defaultval=yes
5297 else
5298 defaultval=no
5299 fi
5300 fi
5301
5302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5303 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5304 # Check whether --enable-vararg_macros was given.
5305 if test "${enable_vararg_macros+set}" = set; then
5306 enableval=$enable_vararg_macros;
5307 if test "$enableval" = yes; then
5308 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5309 else
5310 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5311 fi
5312
5313 else
5314
5315 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5316
5317 fi
5318
5319
5320 eval "$wx_cv_use_vararg_macros"
5321
5322 if test x"$enablestring" = xdisable; then
5323 if test $wxUSE_VARARG_MACROS = yes; then
5324 result=no
5325 else
5326 result=yes
5327 fi
5328 else
5329 result=$wxUSE_VARARG_MACROS
5330 fi
5331
5332 { echo "$as_me:$LINENO: result: $result" >&5
5333 echo "${ECHO_T}$result" >&6; }
5334
5335
5336 enablestring=
5337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5338 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5339 # Check whether --enable-universal_binary was given.
5340 if test "${enable_universal_binary+set}" = set; then
5341 enableval=$enable_universal_binary;
5342 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5343
5344 else
5345
5346 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5347
5348 fi
5349
5350
5351 eval "$wx_cv_use_universal_binary"
5352
5353 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5354 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5355
5356
5357
5358 enablestring=
5359 defaultval=
5360 if test -z "$defaultval"; then
5361 if test x"$enablestring" = xdisable; then
5362 defaultval=yes
5363 else
5364 defaultval=no
5365 fi
5366 fi
5367
5368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5369 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5370 # Check whether --enable-compat26 was given.
5371 if test "${enable_compat26+set}" = set; then
5372 enableval=$enable_compat26;
5373 if test "$enableval" = yes; then
5374 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5375 else
5376 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5377 fi
5378
5379 else
5380
5381 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5382
5383 fi
5384
5385
5386 eval "$wx_cv_use_compat26"
5387
5388 if test x"$enablestring" = xdisable; then
5389 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5390 result=no
5391 else
5392 result=yes
5393 fi
5394 else
5395 result=$WXWIN_COMPATIBILITY_2_6
5396 fi
5397
5398 { echo "$as_me:$LINENO: result: $result" >&5
5399 echo "${ECHO_T}$result" >&6; }
5400
5401
5402 enablestring=disable
5403 defaultval=
5404 if test -z "$defaultval"; then
5405 if test x"$enablestring" = xdisable; then
5406 defaultval=yes
5407 else
5408 defaultval=no
5409 fi
5410 fi
5411
5412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5413 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5414 # Check whether --enable-compat28 was given.
5415 if test "${enable_compat28+set}" = set; then
5416 enableval=$enable_compat28;
5417 if test "$enableval" = yes; then
5418 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5419 else
5420 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5421 fi
5422
5423 else
5424
5425 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5426
5427 fi
5428
5429
5430 eval "$wx_cv_use_compat28"
5431
5432 if test x"$enablestring" = xdisable; then
5433 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5434 result=no
5435 else
5436 result=yes
5437 fi
5438 else
5439 result=$WXWIN_COMPATIBILITY_2_8
5440 fi
5441
5442 { echo "$as_me:$LINENO: result: $result" >&5
5443 echo "${ECHO_T}$result" >&6; }
5444
5445
5446
5447 enablestring=disable
5448 defaultval=
5449 if test -z "$defaultval"; then
5450 if test x"$enablestring" = xdisable; then
5451 defaultval=yes
5452 else
5453 defaultval=no
5454 fi
5455 fi
5456
5457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5458 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5459 # Check whether --enable-rpath was given.
5460 if test "${enable_rpath+set}" = set; then
5461 enableval=$enable_rpath;
5462 if test "$enableval" = yes; then
5463 wx_cv_use_rpath='wxUSE_RPATH=yes'
5464 else
5465 wx_cv_use_rpath='wxUSE_RPATH=no'
5466 fi
5467
5468 else
5469
5470 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5471
5472 fi
5473
5474
5475 eval "$wx_cv_use_rpath"
5476
5477 if test x"$enablestring" = xdisable; then
5478 if test $wxUSE_RPATH = yes; then
5479 result=no
5480 else
5481 result=yes
5482 fi
5483 else
5484 result=$wxUSE_RPATH
5485 fi
5486
5487 { echo "$as_me:$LINENO: result: $result" >&5
5488 echo "${ECHO_T}$result" >&6; }
5489
5490
5491
5492 enablestring=
5493 defaultval=
5494 if test -z "$defaultval"; then
5495 if test x"$enablestring" = xdisable; then
5496 defaultval=yes
5497 else
5498 defaultval=no
5499 fi
5500 fi
5501
5502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5503 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5504 # Check whether --enable-objc_uniquifying was given.
5505 if test "${enable_objc_uniquifying+set}" = set; then
5506 enableval=$enable_objc_uniquifying;
5507 if test "$enableval" = yes; then
5508 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5509 else
5510 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5511 fi
5512
5513 else
5514
5515 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5516
5517 fi
5518
5519
5520 eval "$wx_cv_use_objc_uniquifying"
5521
5522 if test x"$enablestring" = xdisable; then
5523 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5524 result=no
5525 else
5526 result=yes
5527 fi
5528 else
5529 result=$wxUSE_OBJC_UNIQUIFYING
5530 fi
5531
5532 { echo "$as_me:$LINENO: result: $result" >&5
5533 echo "${ECHO_T}$result" >&6; }
5534
5535
5536
5537 enablestring=disable
5538 defaultval=
5539 if test -z "$defaultval"; then
5540 if test x"$enablestring" = xdisable; then
5541 defaultval=yes
5542 else
5543 defaultval=no
5544 fi
5545 fi
5546
5547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5548 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5549 # Check whether --enable-visibility was given.
5550 if test "${enable_visibility+set}" = set; then
5551 enableval=$enable_visibility;
5552 if test "$enableval" = yes; then
5553 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5554 else
5555 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5556 fi
5557
5558 else
5559
5560 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5561
5562 fi
5563
5564
5565 eval "$wx_cv_use_visibility"
5566
5567 if test x"$enablestring" = xdisable; then
5568 if test $wxUSE_VISIBILITY = yes; then
5569 result=no
5570 else
5571 result=yes
5572 fi
5573 else
5574 result=$wxUSE_VISIBILITY
5575 fi
5576
5577 { echo "$as_me:$LINENO: result: $result" >&5
5578 echo "${ECHO_T}$result" >&6; }
5579
5580
5581 enablestring=disable
5582 defaultval=
5583 if test -z "$defaultval"; then
5584 if test x"$enablestring" = xdisable; then
5585 defaultval=yes
5586 else
5587 defaultval=no
5588 fi
5589 fi
5590
5591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5592 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5593 # Check whether --enable-tls was given.
5594 if test "${enable_tls+set}" = set; then
5595 enableval=$enable_tls;
5596 if test "$enableval" = yes; then
5597 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5598 else
5599 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5600 fi
5601
5602 else
5603
5604 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5605
5606 fi
5607
5608
5609 eval "$wx_cv_use_tls"
5610
5611 if test x"$enablestring" = xdisable; then
5612 if test $wxUSE_COMPILER_TLS = yes; then
5613 result=no
5614 else
5615 result=yes
5616 fi
5617 else
5618 result=$wxUSE_COMPILER_TLS
5619 fi
5620
5621 { echo "$as_me:$LINENO: result: $result" >&5
5622 echo "${ECHO_T}$result" >&6; }
5623
5624
5625
5626
5627 enablestring=
5628 defaultval=$wxUSE_ALL_FEATURES
5629 if test -z "$defaultval"; then
5630 if test x"$enablestring" = xdisable; then
5631 defaultval=yes
5632 else
5633 defaultval=no
5634 fi
5635 fi
5636
5637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5638 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5639 # Check whether --enable-intl was given.
5640 if test "${enable_intl+set}" = set; then
5641 enableval=$enable_intl;
5642 if test "$enableval" = yes; then
5643 wx_cv_use_intl='wxUSE_INTL=yes'
5644 else
5645 wx_cv_use_intl='wxUSE_INTL=no'
5646 fi
5647
5648 else
5649
5650 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5651
5652 fi
5653
5654
5655 eval "$wx_cv_use_intl"
5656
5657 if test x"$enablestring" = xdisable; then
5658 if test $wxUSE_INTL = yes; then
5659 result=no
5660 else
5661 result=yes
5662 fi
5663 else
5664 result=$wxUSE_INTL
5665 fi
5666
5667 { echo "$as_me:$LINENO: result: $result" >&5
5668 echo "${ECHO_T}$result" >&6; }
5669
5670
5671 enablestring=
5672 defaultval=$wxUSE_ALL_FEATURES
5673 if test -z "$defaultval"; then
5674 if test x"$enablestring" = xdisable; then
5675 defaultval=yes
5676 else
5677 defaultval=no
5678 fi
5679 fi
5680
5681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5682 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5683 # Check whether --enable-xlocale was given.
5684 if test "${enable_xlocale+set}" = set; then
5685 enableval=$enable_xlocale;
5686 if test "$enableval" = yes; then
5687 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5688 else
5689 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5690 fi
5691
5692 else
5693
5694 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5695
5696 fi
5697
5698
5699 eval "$wx_cv_use_xlocale"
5700
5701 if test x"$enablestring" = xdisable; then
5702 if test $wxUSE_XLOCALE = yes; then
5703 result=no
5704 else
5705 result=yes
5706 fi
5707 else
5708 result=$wxUSE_XLOCALE
5709 fi
5710
5711 { echo "$as_me:$LINENO: result: $result" >&5
5712 echo "${ECHO_T}$result" >&6; }
5713
5714
5715 enablestring=
5716 defaultval=$wxUSE_ALL_FEATURES
5717 if test -z "$defaultval"; then
5718 if test x"$enablestring" = xdisable; then
5719 defaultval=yes
5720 else
5721 defaultval=no
5722 fi
5723 fi
5724
5725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5726 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5727 # Check whether --enable-config was given.
5728 if test "${enable_config+set}" = set; then
5729 enableval=$enable_config;
5730 if test "$enableval" = yes; then
5731 wx_cv_use_config='wxUSE_CONFIG=yes'
5732 else
5733 wx_cv_use_config='wxUSE_CONFIG=no'
5734 fi
5735
5736 else
5737
5738 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5739
5740 fi
5741
5742
5743 eval "$wx_cv_use_config"
5744
5745 if test x"$enablestring" = xdisable; then
5746 if test $wxUSE_CONFIG = yes; then
5747 result=no
5748 else
5749 result=yes
5750 fi
5751 else
5752 result=$wxUSE_CONFIG
5753 fi
5754
5755 { echo "$as_me:$LINENO: result: $result" >&5
5756 echo "${ECHO_T}$result" >&6; }
5757
5758
5759
5760 enablestring=
5761 defaultval=$wxUSE_ALL_FEATURES
5762 if test -z "$defaultval"; then
5763 if test x"$enablestring" = xdisable; then
5764 defaultval=yes
5765 else
5766 defaultval=no
5767 fi
5768 fi
5769
5770 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5771 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5772 # Check whether --enable-protocols was given.
5773 if test "${enable_protocols+set}" = set; then
5774 enableval=$enable_protocols;
5775 if test "$enableval" = yes; then
5776 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5777 else
5778 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5779 fi
5780
5781 else
5782
5783 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5784
5785 fi
5786
5787
5788 eval "$wx_cv_use_protocols"
5789
5790 if test x"$enablestring" = xdisable; then
5791 if test $wxUSE_PROTOCOL = yes; then
5792 result=no
5793 else
5794 result=yes
5795 fi
5796 else
5797 result=$wxUSE_PROTOCOL
5798 fi
5799
5800 { echo "$as_me:$LINENO: result: $result" >&5
5801 echo "${ECHO_T}$result" >&6; }
5802
5803
5804 enablestring=
5805 defaultval=$wxUSE_ALL_FEATURES
5806 if test -z "$defaultval"; then
5807 if test x"$enablestring" = xdisable; then
5808 defaultval=yes
5809 else
5810 defaultval=no
5811 fi
5812 fi
5813
5814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5815 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5816 # Check whether --enable-ftp was given.
5817 if test "${enable_ftp+set}" = set; then
5818 enableval=$enable_ftp;
5819 if test "$enableval" = yes; then
5820 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5821 else
5822 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5823 fi
5824
5825 else
5826
5827 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5828
5829 fi
5830
5831
5832 eval "$wx_cv_use_ftp"
5833
5834 if test x"$enablestring" = xdisable; then
5835 if test $wxUSE_PROTOCOL_FTP = yes; then
5836 result=no
5837 else
5838 result=yes
5839 fi
5840 else
5841 result=$wxUSE_PROTOCOL_FTP
5842 fi
5843
5844 { echo "$as_me:$LINENO: result: $result" >&5
5845 echo "${ECHO_T}$result" >&6; }
5846
5847
5848 enablestring=
5849 defaultval=$wxUSE_ALL_FEATURES
5850 if test -z "$defaultval"; then
5851 if test x"$enablestring" = xdisable; then
5852 defaultval=yes
5853 else
5854 defaultval=no
5855 fi
5856 fi
5857
5858 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5859 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5860 # Check whether --enable-http was given.
5861 if test "${enable_http+set}" = set; then
5862 enableval=$enable_http;
5863 if test "$enableval" = yes; then
5864 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5865 else
5866 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5867 fi
5868
5869 else
5870
5871 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5872
5873 fi
5874
5875
5876 eval "$wx_cv_use_http"
5877
5878 if test x"$enablestring" = xdisable; then
5879 if test $wxUSE_PROTOCOL_HTTP = yes; then
5880 result=no
5881 else
5882 result=yes
5883 fi
5884 else
5885 result=$wxUSE_PROTOCOL_HTTP
5886 fi
5887
5888 { echo "$as_me:$LINENO: result: $result" >&5
5889 echo "${ECHO_T}$result" >&6; }
5890
5891
5892 enablestring=
5893 defaultval=$wxUSE_ALL_FEATURES
5894 if test -z "$defaultval"; then
5895 if test x"$enablestring" = xdisable; then
5896 defaultval=yes
5897 else
5898 defaultval=no
5899 fi
5900 fi
5901
5902 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5903 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5904 # Check whether --enable-fileproto was given.
5905 if test "${enable_fileproto+set}" = set; then
5906 enableval=$enable_fileproto;
5907 if test "$enableval" = yes; then
5908 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5909 else
5910 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5911 fi
5912
5913 else
5914
5915 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5916
5917 fi
5918
5919
5920 eval "$wx_cv_use_fileproto"
5921
5922 if test x"$enablestring" = xdisable; then
5923 if test $wxUSE_PROTOCOL_FILE = yes; then
5924 result=no
5925 else
5926 result=yes
5927 fi
5928 else
5929 result=$wxUSE_PROTOCOL_FILE
5930 fi
5931
5932 { echo "$as_me:$LINENO: result: $result" >&5
5933 echo "${ECHO_T}$result" >&6; }
5934
5935
5936 enablestring=
5937 defaultval=$wxUSE_ALL_FEATURES
5938 if test -z "$defaultval"; then
5939 if test x"$enablestring" = xdisable; then
5940 defaultval=yes
5941 else
5942 defaultval=no
5943 fi
5944 fi
5945
5946 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5947 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5948 # Check whether --enable-sockets was given.
5949 if test "${enable_sockets+set}" = set; then
5950 enableval=$enable_sockets;
5951 if test "$enableval" = yes; then
5952 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5953 else
5954 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5955 fi
5956
5957 else
5958
5959 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5960
5961 fi
5962
5963
5964 eval "$wx_cv_use_sockets"
5965
5966 if test x"$enablestring" = xdisable; then
5967 if test $wxUSE_SOCKETS = yes; then
5968 result=no
5969 else
5970 result=yes
5971 fi
5972 else
5973 result=$wxUSE_SOCKETS
5974 fi
5975
5976 { echo "$as_me:$LINENO: result: $result" >&5
5977 echo "${ECHO_T}$result" >&6; }
5978
5979
5980 enablestring=
5981 defaultval=$wxUSE_ALL_FEATURES
5982 if test -z "$defaultval"; then
5983 if test x"$enablestring" = xdisable; then
5984 defaultval=yes
5985 else
5986 defaultval=no
5987 fi
5988 fi
5989
5990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5991 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5992 # Check whether --enable-ipv6 was given.
5993 if test "${enable_ipv6+set}" = set; then
5994 enableval=$enable_ipv6;
5995 if test "$enableval" = yes; then
5996 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5997 else
5998 wx_cv_use_ipv6='wxUSE_IPV6=no'
5999 fi
6000
6001 else
6002
6003 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6004
6005 fi
6006
6007
6008 eval "$wx_cv_use_ipv6"
6009
6010 if test x"$enablestring" = xdisable; then
6011 if test $wxUSE_IPV6 = yes; then
6012 result=no
6013 else
6014 result=yes
6015 fi
6016 else
6017 result=$wxUSE_IPV6
6018 fi
6019
6020 { echo "$as_me:$LINENO: result: $result" >&5
6021 echo "${ECHO_T}$result" >&6; }
6022
6023
6024 enablestring=
6025 defaultval=$wxUSE_ALL_FEATURES
6026 if test -z "$defaultval"; then
6027 if test x"$enablestring" = xdisable; then
6028 defaultval=yes
6029 else
6030 defaultval=no
6031 fi
6032 fi
6033
6034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6035 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6036 # Check whether --enable-ole was given.
6037 if test "${enable_ole+set}" = set; then
6038 enableval=$enable_ole;
6039 if test "$enableval" = yes; then
6040 wx_cv_use_ole='wxUSE_OLE=yes'
6041 else
6042 wx_cv_use_ole='wxUSE_OLE=no'
6043 fi
6044
6045 else
6046
6047 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6048
6049 fi
6050
6051
6052 eval "$wx_cv_use_ole"
6053
6054 if test x"$enablestring" = xdisable; then
6055 if test $wxUSE_OLE = yes; then
6056 result=no
6057 else
6058 result=yes
6059 fi
6060 else
6061 result=$wxUSE_OLE
6062 fi
6063
6064 { echo "$as_me:$LINENO: result: $result" >&5
6065 echo "${ECHO_T}$result" >&6; }
6066
6067
6068 enablestring=
6069 defaultval=$wxUSE_ALL_FEATURES
6070 if test -z "$defaultval"; then
6071 if test x"$enablestring" = xdisable; then
6072 defaultval=yes
6073 else
6074 defaultval=no
6075 fi
6076 fi
6077
6078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6079 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6080 # Check whether --enable-dataobj was given.
6081 if test "${enable_dataobj+set}" = set; then
6082 enableval=$enable_dataobj;
6083 if test "$enableval" = yes; then
6084 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6085 else
6086 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6087 fi
6088
6089 else
6090
6091 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6092
6093 fi
6094
6095
6096 eval "$wx_cv_use_dataobj"
6097
6098 if test x"$enablestring" = xdisable; then
6099 if test $wxUSE_DATAOBJ = yes; then
6100 result=no
6101 else
6102 result=yes
6103 fi
6104 else
6105 result=$wxUSE_DATAOBJ
6106 fi
6107
6108 { echo "$as_me:$LINENO: result: $result" >&5
6109 echo "${ECHO_T}$result" >&6; }
6110
6111
6112
6113 enablestring=
6114 defaultval=$wxUSE_ALL_FEATURES
6115 if test -z "$defaultval"; then
6116 if test x"$enablestring" = xdisable; then
6117 defaultval=yes
6118 else
6119 defaultval=no
6120 fi
6121 fi
6122
6123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6124 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6125 # Check whether --enable-ipc was given.
6126 if test "${enable_ipc+set}" = set; then
6127 enableval=$enable_ipc;
6128 if test "$enableval" = yes; then
6129 wx_cv_use_ipc='wxUSE_IPC=yes'
6130 else
6131 wx_cv_use_ipc='wxUSE_IPC=no'
6132 fi
6133
6134 else
6135
6136 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6137
6138 fi
6139
6140
6141 eval "$wx_cv_use_ipc"
6142
6143 if test x"$enablestring" = xdisable; then
6144 if test $wxUSE_IPC = yes; then
6145 result=no
6146 else
6147 result=yes
6148 fi
6149 else
6150 result=$wxUSE_IPC
6151 fi
6152
6153 { echo "$as_me:$LINENO: result: $result" >&5
6154 echo "${ECHO_T}$result" >&6; }
6155
6156
6157
6158 enablestring=
6159 defaultval=$wxUSE_ALL_FEATURES
6160 if test -z "$defaultval"; then
6161 if test x"$enablestring" = xdisable; then
6162 defaultval=yes
6163 else
6164 defaultval=no
6165 fi
6166 fi
6167
6168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6169 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6170 # Check whether --enable-baseevtloop was given.
6171 if test "${enable_baseevtloop+set}" = set; then
6172 enableval=$enable_baseevtloop;
6173 if test "$enableval" = yes; then
6174 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6175 else
6176 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6177 fi
6178
6179 else
6180
6181 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6182
6183 fi
6184
6185
6186 eval "$wx_cv_use_baseevtloop"
6187
6188 if test x"$enablestring" = xdisable; then
6189 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6190 result=no
6191 else
6192 result=yes
6193 fi
6194 else
6195 result=$wxUSE_CONSOLE_EVENTLOOP
6196 fi
6197
6198 { echo "$as_me:$LINENO: result: $result" >&5
6199 echo "${ECHO_T}$result" >&6; }
6200
6201
6202 enablestring=
6203 defaultval=$wxUSE_ALL_FEATURES
6204 if test -z "$defaultval"; then
6205 if test x"$enablestring" = xdisable; then
6206 defaultval=yes
6207 else
6208 defaultval=no
6209 fi
6210 fi
6211
6212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6213 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6214 # Check whether --enable-epollloop was given.
6215 if test "${enable_epollloop+set}" = set; then
6216 enableval=$enable_epollloop;
6217 if test "$enableval" = yes; then
6218 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6219 else
6220 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6221 fi
6222
6223 else
6224
6225 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6226
6227 fi
6228
6229
6230 eval "$wx_cv_use_epollloop"
6231
6232 if test x"$enablestring" = xdisable; then
6233 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6234 result=no
6235 else
6236 result=yes
6237 fi
6238 else
6239 result=$wxUSE_EPOLL_DISPATCHER
6240 fi
6241
6242 { echo "$as_me:$LINENO: result: $result" >&5
6243 echo "${ECHO_T}$result" >&6; }
6244
6245
6246 enablestring=
6247 defaultval=$wxUSE_ALL_FEATURES
6248 if test -z "$defaultval"; then
6249 if test x"$enablestring" = xdisable; then
6250 defaultval=yes
6251 else
6252 defaultval=no
6253 fi
6254 fi
6255
6256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6257 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6258 # Check whether --enable-selectloop was given.
6259 if test "${enable_selectloop+set}" = set; then
6260 enableval=$enable_selectloop;
6261 if test "$enableval" = yes; then
6262 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6263 else
6264 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6265 fi
6266
6267 else
6268
6269 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6270
6271 fi
6272
6273
6274 eval "$wx_cv_use_selectloop"
6275
6276 if test x"$enablestring" = xdisable; then
6277 if test $wxUSE_SELECT_DISPATCHER = yes; then
6278 result=no
6279 else
6280 result=yes
6281 fi
6282 else
6283 result=$wxUSE_SELECT_DISPATCHER
6284 fi
6285
6286 { echo "$as_me:$LINENO: result: $result" >&5
6287 echo "${ECHO_T}$result" >&6; }
6288
6289
6290
6291 enablestring=
6292 defaultval=$wxUSE_ALL_FEATURES
6293 if test -z "$defaultval"; then
6294 if test x"$enablestring" = xdisable; then
6295 defaultval=yes
6296 else
6297 defaultval=no
6298 fi
6299 fi
6300
6301 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6302 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6303 # Check whether --enable-apple_ieee was given.
6304 if test "${enable_apple_ieee+set}" = set; then
6305 enableval=$enable_apple_ieee;
6306 if test "$enableval" = yes; then
6307 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6308 else
6309 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6310 fi
6311
6312 else
6313
6314 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6315
6316 fi
6317
6318
6319 eval "$wx_cv_use_apple_ieee"
6320
6321 if test x"$enablestring" = xdisable; then
6322 if test $wxUSE_APPLE_IEEE = yes; then
6323 result=no
6324 else
6325 result=yes
6326 fi
6327 else
6328 result=$wxUSE_APPLE_IEEE
6329 fi
6330
6331 { echo "$as_me:$LINENO: result: $result" >&5
6332 echo "${ECHO_T}$result" >&6; }
6333
6334
6335 enablestring=
6336 defaultval=$wxUSE_ALL_FEATURES
6337 if test -z "$defaultval"; then
6338 if test x"$enablestring" = xdisable; then
6339 defaultval=yes
6340 else
6341 defaultval=no
6342 fi
6343 fi
6344
6345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6346 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6347 # Check whether --enable-arcstream was given.
6348 if test "${enable_arcstream+set}" = set; then
6349 enableval=$enable_arcstream;
6350 if test "$enableval" = yes; then
6351 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6352 else
6353 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6354 fi
6355
6356 else
6357
6358 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6359
6360 fi
6361
6362
6363 eval "$wx_cv_use_arcstream"
6364
6365 if test x"$enablestring" = xdisable; then
6366 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6367 result=no
6368 else
6369 result=yes
6370 fi
6371 else
6372 result=$wxUSE_ARCHIVE_STREAMS
6373 fi
6374
6375 { echo "$as_me:$LINENO: result: $result" >&5
6376 echo "${ECHO_T}$result" >&6; }
6377
6378
6379 enablestring=
6380 defaultval=$wxUSE_ALL_FEATURES
6381 if test -z "$defaultval"; then
6382 if test x"$enablestring" = xdisable; then
6383 defaultval=yes
6384 else
6385 defaultval=no
6386 fi
6387 fi
6388
6389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6390 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6391 # Check whether --enable-base64 was given.
6392 if test "${enable_base64+set}" = set; then
6393 enableval=$enable_base64;
6394 if test "$enableval" = yes; then
6395 wx_cv_use_base64='wxUSE_BASE64=yes'
6396 else
6397 wx_cv_use_base64='wxUSE_BASE64=no'
6398 fi
6399
6400 else
6401
6402 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6403
6404 fi
6405
6406
6407 eval "$wx_cv_use_base64"
6408
6409 if test x"$enablestring" = xdisable; then
6410 if test $wxUSE_BASE64 = yes; then
6411 result=no
6412 else
6413 result=yes
6414 fi
6415 else
6416 result=$wxUSE_BASE64
6417 fi
6418
6419 { echo "$as_me:$LINENO: result: $result" >&5
6420 echo "${ECHO_T}$result" >&6; }
6421
6422
6423 enablestring=
6424 defaultval=$wxUSE_ALL_FEATURES
6425 if test -z "$defaultval"; then
6426 if test x"$enablestring" = xdisable; then
6427 defaultval=yes
6428 else
6429 defaultval=no
6430 fi
6431 fi
6432
6433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6434 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6435 # Check whether --enable-backtrace was given.
6436 if test "${enable_backtrace+set}" = set; then
6437 enableval=$enable_backtrace;
6438 if test "$enableval" = yes; then
6439 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6440 else
6441 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6442 fi
6443
6444 else
6445
6446 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6447
6448 fi
6449
6450
6451 eval "$wx_cv_use_backtrace"
6452
6453 if test x"$enablestring" = xdisable; then
6454 if test $wxUSE_STACKWALKER = yes; then
6455 result=no
6456 else
6457 result=yes
6458 fi
6459 else
6460 result=$wxUSE_STACKWALKER
6461 fi
6462
6463 { echo "$as_me:$LINENO: result: $result" >&5
6464 echo "${ECHO_T}$result" >&6; }
6465
6466
6467 enablestring=
6468 defaultval=$wxUSE_ALL_FEATURES
6469 if test -z "$defaultval"; then
6470 if test x"$enablestring" = xdisable; then
6471 defaultval=yes
6472 else
6473 defaultval=no
6474 fi
6475 fi
6476
6477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6478 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6479 # Check whether --enable-catch_segvs was given.
6480 if test "${enable_catch_segvs+set}" = set; then
6481 enableval=$enable_catch_segvs;
6482 if test "$enableval" = yes; then
6483 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6484 else
6485 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6486 fi
6487
6488 else
6489
6490 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6491
6492 fi
6493
6494
6495 eval "$wx_cv_use_catch_segvs"
6496
6497 if test x"$enablestring" = xdisable; then
6498 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6499 result=no
6500 else
6501 result=yes
6502 fi
6503 else
6504 result=$wxUSE_ON_FATAL_EXCEPTION
6505 fi
6506
6507 { echo "$as_me:$LINENO: result: $result" >&5
6508 echo "${ECHO_T}$result" >&6; }
6509
6510
6511 enablestring=
6512 defaultval=$wxUSE_ALL_FEATURES
6513 if test -z "$defaultval"; then
6514 if test x"$enablestring" = xdisable; then
6515 defaultval=yes
6516 else
6517 defaultval=no
6518 fi
6519 fi
6520
6521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6522 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6523 # Check whether --enable-cmdline was given.
6524 if test "${enable_cmdline+set}" = set; then
6525 enableval=$enable_cmdline;
6526 if test "$enableval" = yes; then
6527 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6528 else
6529 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6530 fi
6531
6532 else
6533
6534 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6535
6536 fi
6537
6538
6539 eval "$wx_cv_use_cmdline"
6540
6541 if test x"$enablestring" = xdisable; then
6542 if test $wxUSE_CMDLINE_PARSER = yes; then
6543 result=no
6544 else
6545 result=yes
6546 fi
6547 else
6548 result=$wxUSE_CMDLINE_PARSER
6549 fi
6550
6551 { echo "$as_me:$LINENO: result: $result" >&5
6552 echo "${ECHO_T}$result" >&6; }
6553
6554
6555 enablestring=
6556 defaultval=$wxUSE_ALL_FEATURES
6557 if test -z "$defaultval"; then
6558 if test x"$enablestring" = xdisable; then
6559 defaultval=yes
6560 else
6561 defaultval=no
6562 fi
6563 fi
6564
6565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6566 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6567 # Check whether --enable-datetime was given.
6568 if test "${enable_datetime+set}" = set; then
6569 enableval=$enable_datetime;
6570 if test "$enableval" = yes; then
6571 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6572 else
6573 wx_cv_use_datetime='wxUSE_DATETIME=no'
6574 fi
6575
6576 else
6577
6578 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6579
6580 fi
6581
6582
6583 eval "$wx_cv_use_datetime"
6584
6585 if test x"$enablestring" = xdisable; then
6586 if test $wxUSE_DATETIME = yes; then
6587 result=no
6588 else
6589 result=yes
6590 fi
6591 else
6592 result=$wxUSE_DATETIME
6593 fi
6594
6595 { echo "$as_me:$LINENO: result: $result" >&5
6596 echo "${ECHO_T}$result" >&6; }
6597
6598
6599 enablestring=
6600 defaultval=$wxUSE_ALL_FEATURES
6601 if test -z "$defaultval"; then
6602 if test x"$enablestring" = xdisable; then
6603 defaultval=yes
6604 else
6605 defaultval=no
6606 fi
6607 fi
6608
6609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6610 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6611 # Check whether --enable-debugreport was given.
6612 if test "${enable_debugreport+set}" = set; then
6613 enableval=$enable_debugreport;
6614 if test "$enableval" = yes; then
6615 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6616 else
6617 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6618 fi
6619
6620 else
6621
6622 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6623
6624 fi
6625
6626
6627 eval "$wx_cv_use_debugreport"
6628
6629 if test x"$enablestring" = xdisable; then
6630 if test $wxUSE_DEBUGREPORT = yes; then
6631 result=no
6632 else
6633 result=yes
6634 fi
6635 else
6636 result=$wxUSE_DEBUGREPORT
6637 fi
6638
6639 { echo "$as_me:$LINENO: result: $result" >&5
6640 echo "${ECHO_T}$result" >&6; }
6641
6642
6643 enablestring=
6644 defaultval=$wxUSE_ALL_FEATURES
6645 if test -z "$defaultval"; then
6646 if test x"$enablestring" = xdisable; then
6647 defaultval=yes
6648 else
6649 defaultval=no
6650 fi
6651 fi
6652
6653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6654 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6655 # Check whether --enable-dialupman was given.
6656 if test "${enable_dialupman+set}" = set; then
6657 enableval=$enable_dialupman;
6658 if test "$enableval" = yes; then
6659 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6660 else
6661 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6662 fi
6663
6664 else
6665
6666 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6667
6668 fi
6669
6670
6671 eval "$wx_cv_use_dialupman"
6672
6673 if test x"$enablestring" = xdisable; then
6674 if test $wxUSE_DIALUP_MANAGER = yes; then
6675 result=no
6676 else
6677 result=yes
6678 fi
6679 else
6680 result=$wxUSE_DIALUP_MANAGER
6681 fi
6682
6683 { echo "$as_me:$LINENO: result: $result" >&5
6684 echo "${ECHO_T}$result" >&6; }
6685
6686
6687 enablestring=
6688 defaultval=$wxUSE_ALL_FEATURES
6689 if test -z "$defaultval"; then
6690 if test x"$enablestring" = xdisable; then
6691 defaultval=yes
6692 else
6693 defaultval=no
6694 fi
6695 fi
6696
6697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6698 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6699 # Check whether --enable-dynlib was given.
6700 if test "${enable_dynlib+set}" = set; then
6701 enableval=$enable_dynlib;
6702 if test "$enableval" = yes; then
6703 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6704 else
6705 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6706 fi
6707
6708 else
6709
6710 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6711
6712 fi
6713
6714
6715 eval "$wx_cv_use_dynlib"
6716
6717 if test x"$enablestring" = xdisable; then
6718 if test $wxUSE_DYNLIB_CLASS = yes; then
6719 result=no
6720 else
6721 result=yes
6722 fi
6723 else
6724 result=$wxUSE_DYNLIB_CLASS
6725 fi
6726
6727 { echo "$as_me:$LINENO: result: $result" >&5
6728 echo "${ECHO_T}$result" >&6; }
6729
6730
6731 enablestring=
6732 defaultval=$wxUSE_ALL_FEATURES
6733 if test -z "$defaultval"; then
6734 if test x"$enablestring" = xdisable; then
6735 defaultval=yes
6736 else
6737 defaultval=no
6738 fi
6739 fi
6740
6741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6742 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6743 # Check whether --enable-dynamicloader was given.
6744 if test "${enable_dynamicloader+set}" = set; then
6745 enableval=$enable_dynamicloader;
6746 if test "$enableval" = yes; then
6747 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6748 else
6749 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6750 fi
6751
6752 else
6753
6754 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6755
6756 fi
6757
6758
6759 eval "$wx_cv_use_dynamicloader"
6760
6761 if test x"$enablestring" = xdisable; then
6762 if test $wxUSE_DYNAMIC_LOADER = yes; then
6763 result=no
6764 else
6765 result=yes
6766 fi
6767 else
6768 result=$wxUSE_DYNAMIC_LOADER
6769 fi
6770
6771 { echo "$as_me:$LINENO: result: $result" >&5
6772 echo "${ECHO_T}$result" >&6; }
6773
6774
6775 enablestring=
6776 defaultval=$wxUSE_ALL_FEATURES
6777 if test -z "$defaultval"; then
6778 if test x"$enablestring" = xdisable; then
6779 defaultval=yes
6780 else
6781 defaultval=no
6782 fi
6783 fi
6784
6785 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6786 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6787 # Check whether --enable-exceptions was given.
6788 if test "${enable_exceptions+set}" = set; then
6789 enableval=$enable_exceptions;
6790 if test "$enableval" = yes; then
6791 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6792 else
6793 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6794 fi
6795
6796 else
6797
6798 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6799
6800 fi
6801
6802
6803 eval "$wx_cv_use_exceptions"
6804
6805 if test x"$enablestring" = xdisable; then
6806 if test $wxUSE_EXCEPTIONS = yes; then
6807 result=no
6808 else
6809 result=yes
6810 fi
6811 else
6812 result=$wxUSE_EXCEPTIONS
6813 fi
6814
6815 { echo "$as_me:$LINENO: result: $result" >&5
6816 echo "${ECHO_T}$result" >&6; }
6817
6818
6819 enablestring=
6820 defaultval=$wxUSE_ALL_FEATURES
6821 if test -z "$defaultval"; then
6822 if test x"$enablestring" = xdisable; then
6823 defaultval=yes
6824 else
6825 defaultval=no
6826 fi
6827 fi
6828
6829 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6830 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6831 # Check whether --enable-ffile was given.
6832 if test "${enable_ffile+set}" = set; then
6833 enableval=$enable_ffile;
6834 if test "$enableval" = yes; then
6835 wx_cv_use_ffile='wxUSE_FFILE=yes'
6836 else
6837 wx_cv_use_ffile='wxUSE_FFILE=no'
6838 fi
6839
6840 else
6841
6842 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6843
6844 fi
6845
6846
6847 eval "$wx_cv_use_ffile"
6848
6849 if test x"$enablestring" = xdisable; then
6850 if test $wxUSE_FFILE = yes; then
6851 result=no
6852 else
6853 result=yes
6854 fi
6855 else
6856 result=$wxUSE_FFILE
6857 fi
6858
6859 { echo "$as_me:$LINENO: result: $result" >&5
6860 echo "${ECHO_T}$result" >&6; }
6861
6862
6863 enablestring=
6864 defaultval=$wxUSE_ALL_FEATURES
6865 if test -z "$defaultval"; then
6866 if test x"$enablestring" = xdisable; then
6867 defaultval=yes
6868 else
6869 defaultval=no
6870 fi
6871 fi
6872
6873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6874 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6875 # Check whether --enable-file was given.
6876 if test "${enable_file+set}" = set; then
6877 enableval=$enable_file;
6878 if test "$enableval" = yes; then
6879 wx_cv_use_file='wxUSE_FILE=yes'
6880 else
6881 wx_cv_use_file='wxUSE_FILE=no'
6882 fi
6883
6884 else
6885
6886 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6887
6888 fi
6889
6890
6891 eval "$wx_cv_use_file"
6892
6893 if test x"$enablestring" = xdisable; then
6894 if test $wxUSE_FILE = yes; then
6895 result=no
6896 else
6897 result=yes
6898 fi
6899 else
6900 result=$wxUSE_FILE
6901 fi
6902
6903 { echo "$as_me:$LINENO: result: $result" >&5
6904 echo "${ECHO_T}$result" >&6; }
6905
6906
6907 enablestring=
6908 defaultval=$wxUSE_ALL_FEATURES
6909 if test -z "$defaultval"; then
6910 if test x"$enablestring" = xdisable; then
6911 defaultval=yes
6912 else
6913 defaultval=no
6914 fi
6915 fi
6916
6917 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6918 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6919 # Check whether --enable-filesystem was given.
6920 if test "${enable_filesystem+set}" = set; then
6921 enableval=$enable_filesystem;
6922 if test "$enableval" = yes; then
6923 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6924 else
6925 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6926 fi
6927
6928 else
6929
6930 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6931
6932 fi
6933
6934
6935 eval "$wx_cv_use_filesystem"
6936
6937 if test x"$enablestring" = xdisable; then
6938 if test $wxUSE_FILESYSTEM = yes; then
6939 result=no
6940 else
6941 result=yes
6942 fi
6943 else
6944 result=$wxUSE_FILESYSTEM
6945 fi
6946
6947 { echo "$as_me:$LINENO: result: $result" >&5
6948 echo "${ECHO_T}$result" >&6; }
6949
6950
6951 enablestring=
6952 defaultval=$wxUSE_ALL_FEATURES
6953 if test -z "$defaultval"; then
6954 if test x"$enablestring" = xdisable; then
6955 defaultval=yes
6956 else
6957 defaultval=no
6958 fi
6959 fi
6960
6961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6962 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6963 # Check whether --enable-fontenum was given.
6964 if test "${enable_fontenum+set}" = set; then
6965 enableval=$enable_fontenum;
6966 if test "$enableval" = yes; then
6967 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6968 else
6969 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6970 fi
6971
6972 else
6973
6974 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6975
6976 fi
6977
6978
6979 eval "$wx_cv_use_fontenum"
6980
6981 if test x"$enablestring" = xdisable; then
6982 if test $wxUSE_FONTENUM = yes; then
6983 result=no
6984 else
6985 result=yes
6986 fi
6987 else
6988 result=$wxUSE_FONTENUM
6989 fi
6990
6991 { echo "$as_me:$LINENO: result: $result" >&5
6992 echo "${ECHO_T}$result" >&6; }
6993
6994
6995 enablestring=
6996 defaultval=$wxUSE_ALL_FEATURES
6997 if test -z "$defaultval"; then
6998 if test x"$enablestring" = xdisable; then
6999 defaultval=yes
7000 else
7001 defaultval=no
7002 fi
7003 fi
7004
7005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7006 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7007 # Check whether --enable-fontmap was given.
7008 if test "${enable_fontmap+set}" = set; then
7009 enableval=$enable_fontmap;
7010 if test "$enableval" = yes; then
7011 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7012 else
7013 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7014 fi
7015
7016 else
7017
7018 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7019
7020 fi
7021
7022
7023 eval "$wx_cv_use_fontmap"
7024
7025 if test x"$enablestring" = xdisable; then
7026 if test $wxUSE_FONTMAP = yes; then
7027 result=no
7028 else
7029 result=yes
7030 fi
7031 else
7032 result=$wxUSE_FONTMAP
7033 fi
7034
7035 { echo "$as_me:$LINENO: result: $result" >&5
7036 echo "${ECHO_T}$result" >&6; }
7037
7038
7039 enablestring=
7040 defaultval=$wxUSE_ALL_FEATURES
7041 if test -z "$defaultval"; then
7042 if test x"$enablestring" = xdisable; then
7043 defaultval=yes
7044 else
7045 defaultval=no
7046 fi
7047 fi
7048
7049 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7050 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7051 # Check whether --enable-fs_archive was given.
7052 if test "${enable_fs_archive+set}" = set; then
7053 enableval=$enable_fs_archive;
7054 if test "$enableval" = yes; then
7055 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7056 else
7057 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7058 fi
7059
7060 else
7061
7062 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7063
7064 fi
7065
7066
7067 eval "$wx_cv_use_fs_archive"
7068
7069 if test x"$enablestring" = xdisable; then
7070 if test $wxUSE_FS_ARCHIVE = yes; then
7071 result=no
7072 else
7073 result=yes
7074 fi
7075 else
7076 result=$wxUSE_FS_ARCHIVE
7077 fi
7078
7079 { echo "$as_me:$LINENO: result: $result" >&5
7080 echo "${ECHO_T}$result" >&6; }
7081
7082
7083 enablestring=
7084 defaultval=$wxUSE_ALL_FEATURES
7085 if test -z "$defaultval"; then
7086 if test x"$enablestring" = xdisable; then
7087 defaultval=yes
7088 else
7089 defaultval=no
7090 fi
7091 fi
7092
7093 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7094 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7095 # Check whether --enable-fs_inet was given.
7096 if test "${enable_fs_inet+set}" = set; then
7097 enableval=$enable_fs_inet;
7098 if test "$enableval" = yes; then
7099 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7100 else
7101 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7102 fi
7103
7104 else
7105
7106 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7107
7108 fi
7109
7110
7111 eval "$wx_cv_use_fs_inet"
7112
7113 if test x"$enablestring" = xdisable; then
7114 if test $wxUSE_FS_INET = yes; then
7115 result=no
7116 else
7117 result=yes
7118 fi
7119 else
7120 result=$wxUSE_FS_INET
7121 fi
7122
7123 { echo "$as_me:$LINENO: result: $result" >&5
7124 echo "${ECHO_T}$result" >&6; }
7125
7126
7127 enablestring=
7128 defaultval=$wxUSE_ALL_FEATURES
7129 if test -z "$defaultval"; then
7130 if test x"$enablestring" = xdisable; then
7131 defaultval=yes
7132 else
7133 defaultval=no
7134 fi
7135 fi
7136
7137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7138 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7139 # Check whether --enable-fs_zip was given.
7140 if test "${enable_fs_zip+set}" = set; then
7141 enableval=$enable_fs_zip;
7142 if test "$enableval" = yes; then
7143 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7144 else
7145 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7146 fi
7147
7148 else
7149
7150 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7151
7152 fi
7153
7154
7155 eval "$wx_cv_use_fs_zip"
7156
7157 if test x"$enablestring" = xdisable; then
7158 if test $wxUSE_FS_ZIP = yes; then
7159 result=no
7160 else
7161 result=yes
7162 fi
7163 else
7164 result=$wxUSE_FS_ZIP
7165 fi
7166
7167 { echo "$as_me:$LINENO: result: $result" >&5
7168 echo "${ECHO_T}$result" >&6; }
7169
7170
7171 enablestring=
7172 defaultval=$wxUSE_ALL_FEATURES
7173 if test -z "$defaultval"; then
7174 if test x"$enablestring" = xdisable; then
7175 defaultval=yes
7176 else
7177 defaultval=no
7178 fi
7179 fi
7180
7181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7182 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7183 # Check whether --enable-geometry was given.
7184 if test "${enable_geometry+set}" = set; then
7185 enableval=$enable_geometry;
7186 if test "$enableval" = yes; then
7187 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7188 else
7189 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7190 fi
7191
7192 else
7193
7194 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7195
7196 fi
7197
7198
7199 eval "$wx_cv_use_geometry"
7200
7201 if test x"$enablestring" = xdisable; then
7202 if test $wxUSE_GEOMETRY = yes; then
7203 result=no
7204 else
7205 result=yes
7206 fi
7207 else
7208 result=$wxUSE_GEOMETRY
7209 fi
7210
7211 { echo "$as_me:$LINENO: result: $result" >&5
7212 echo "${ECHO_T}$result" >&6; }
7213
7214
7215 enablestring=
7216 defaultval=$wxUSE_ALL_FEATURES
7217 if test -z "$defaultval"; then
7218 if test x"$enablestring" = xdisable; then
7219 defaultval=yes
7220 else
7221 defaultval=no
7222 fi
7223 fi
7224
7225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7226 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7227 # Check whether --enable-log was given.
7228 if test "${enable_log+set}" = set; then
7229 enableval=$enable_log;
7230 if test "$enableval" = yes; then
7231 wx_cv_use_log='wxUSE_LOG=yes'
7232 else
7233 wx_cv_use_log='wxUSE_LOG=no'
7234 fi
7235
7236 else
7237
7238 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7239
7240 fi
7241
7242
7243 eval "$wx_cv_use_log"
7244
7245 if test x"$enablestring" = xdisable; then
7246 if test $wxUSE_LOG = yes; then
7247 result=no
7248 else
7249 result=yes
7250 fi
7251 else
7252 result=$wxUSE_LOG
7253 fi
7254
7255 { echo "$as_me:$LINENO: result: $result" >&5
7256 echo "${ECHO_T}$result" >&6; }
7257
7258
7259 enablestring=
7260 defaultval=$wxUSE_ALL_FEATURES
7261 if test -z "$defaultval"; then
7262 if test x"$enablestring" = xdisable; then
7263 defaultval=yes
7264 else
7265 defaultval=no
7266 fi
7267 fi
7268
7269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7270 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7271 # Check whether --enable-longlong was given.
7272 if test "${enable_longlong+set}" = set; then
7273 enableval=$enable_longlong;
7274 if test "$enableval" = yes; then
7275 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7276 else
7277 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7278 fi
7279
7280 else
7281
7282 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7283
7284 fi
7285
7286
7287 eval "$wx_cv_use_longlong"
7288
7289 if test x"$enablestring" = xdisable; then
7290 if test $wxUSE_LONGLONG = yes; then
7291 result=no
7292 else
7293 result=yes
7294 fi
7295 else
7296 result=$wxUSE_LONGLONG
7297 fi
7298
7299 { echo "$as_me:$LINENO: result: $result" >&5
7300 echo "${ECHO_T}$result" >&6; }
7301
7302
7303 enablestring=
7304 defaultval=$wxUSE_ALL_FEATURES
7305 if test -z "$defaultval"; then
7306 if test x"$enablestring" = xdisable; then
7307 defaultval=yes
7308 else
7309 defaultval=no
7310 fi
7311 fi
7312
7313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7314 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7315 # Check whether --enable-mimetype was given.
7316 if test "${enable_mimetype+set}" = set; then
7317 enableval=$enable_mimetype;
7318 if test "$enableval" = yes; then
7319 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7320 else
7321 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7322 fi
7323
7324 else
7325
7326 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7327
7328 fi
7329
7330
7331 eval "$wx_cv_use_mimetype"
7332
7333 if test x"$enablestring" = xdisable; then
7334 if test $wxUSE_MIMETYPE = yes; then
7335 result=no
7336 else
7337 result=yes
7338 fi
7339 else
7340 result=$wxUSE_MIMETYPE
7341 fi
7342
7343 { echo "$as_me:$LINENO: result: $result" >&5
7344 echo "${ECHO_T}$result" >&6; }
7345
7346
7347 enablestring=
7348 defaultval=$wxUSE_ALL_FEATURES
7349 if test -z "$defaultval"; then
7350 if test x"$enablestring" = xdisable; then
7351 defaultval=yes
7352 else
7353 defaultval=no
7354 fi
7355 fi
7356
7357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7358 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7359 # Check whether --enable-printfposparam was given.
7360 if test "${enable_printfposparam+set}" = set; then
7361 enableval=$enable_printfposparam;
7362 if test "$enableval" = yes; then
7363 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7364 else
7365 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7366 fi
7367
7368 else
7369
7370 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7371
7372 fi
7373
7374
7375 eval "$wx_cv_use_printfposparam"
7376
7377 if test x"$enablestring" = xdisable; then
7378 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7379 result=no
7380 else
7381 result=yes
7382 fi
7383 else
7384 result=$wxUSE_PRINTF_POS_PARAMS
7385 fi
7386
7387 { echo "$as_me:$LINENO: result: $result" >&5
7388 echo "${ECHO_T}$result" >&6; }
7389
7390
7391 enablestring=
7392 defaultval=$wxUSE_ALL_FEATURES
7393 if test -z "$defaultval"; then
7394 if test x"$enablestring" = xdisable; then
7395 defaultval=yes
7396 else
7397 defaultval=no
7398 fi
7399 fi
7400
7401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7402 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7403 # Check whether --enable-snglinst was given.
7404 if test "${enable_snglinst+set}" = set; then
7405 enableval=$enable_snglinst;
7406 if test "$enableval" = yes; then
7407 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7408 else
7409 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7410 fi
7411
7412 else
7413
7414 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7415
7416 fi
7417
7418
7419 eval "$wx_cv_use_snglinst"
7420
7421 if test x"$enablestring" = xdisable; then
7422 if test $wxUSE_SNGLINST_CHECKER = yes; then
7423 result=no
7424 else
7425 result=yes
7426 fi
7427 else
7428 result=$wxUSE_SNGLINST_CHECKER
7429 fi
7430
7431 { echo "$as_me:$LINENO: result: $result" >&5
7432 echo "${ECHO_T}$result" >&6; }
7433
7434
7435 enablestring=
7436 defaultval=$wxUSE_ALL_FEATURES
7437 if test -z "$defaultval"; then
7438 if test x"$enablestring" = xdisable; then
7439 defaultval=yes
7440 else
7441 defaultval=no
7442 fi
7443 fi
7444
7445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7446 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7447 # Check whether --enable-sound was given.
7448 if test "${enable_sound+set}" = set; then
7449 enableval=$enable_sound;
7450 if test "$enableval" = yes; then
7451 wx_cv_use_sound='wxUSE_SOUND=yes'
7452 else
7453 wx_cv_use_sound='wxUSE_SOUND=no'
7454 fi
7455
7456 else
7457
7458 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7459
7460 fi
7461
7462
7463 eval "$wx_cv_use_sound"
7464
7465 if test x"$enablestring" = xdisable; then
7466 if test $wxUSE_SOUND = yes; then
7467 result=no
7468 else
7469 result=yes
7470 fi
7471 else
7472 result=$wxUSE_SOUND
7473 fi
7474
7475 { echo "$as_me:$LINENO: result: $result" >&5
7476 echo "${ECHO_T}$result" >&6; }
7477
7478
7479 enablestring=
7480 defaultval=$wxUSE_ALL_FEATURES
7481 if test -z "$defaultval"; then
7482 if test x"$enablestring" = xdisable; then
7483 defaultval=yes
7484 else
7485 defaultval=no
7486 fi
7487 fi
7488
7489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7490 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7491 # Check whether --enable-stdpaths was given.
7492 if test "${enable_stdpaths+set}" = set; then
7493 enableval=$enable_stdpaths;
7494 if test "$enableval" = yes; then
7495 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7496 else
7497 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7498 fi
7499
7500 else
7501
7502 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7503
7504 fi
7505
7506
7507 eval "$wx_cv_use_stdpaths"
7508
7509 if test x"$enablestring" = xdisable; then
7510 if test $wxUSE_STDPATHS = yes; then
7511 result=no
7512 else
7513 result=yes
7514 fi
7515 else
7516 result=$wxUSE_STDPATHS
7517 fi
7518
7519 { echo "$as_me:$LINENO: result: $result" >&5
7520 echo "${ECHO_T}$result" >&6; }
7521
7522
7523 enablestring=
7524 defaultval=$wxUSE_ALL_FEATURES
7525 if test -z "$defaultval"; then
7526 if test x"$enablestring" = xdisable; then
7527 defaultval=yes
7528 else
7529 defaultval=no
7530 fi
7531 fi
7532
7533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7534 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7535 # Check whether --enable-stopwatch was given.
7536 if test "${enable_stopwatch+set}" = set; then
7537 enableval=$enable_stopwatch;
7538 if test "$enableval" = yes; then
7539 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7540 else
7541 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7542 fi
7543
7544 else
7545
7546 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7547
7548 fi
7549
7550
7551 eval "$wx_cv_use_stopwatch"
7552
7553 if test x"$enablestring" = xdisable; then
7554 if test $wxUSE_STOPWATCH = yes; then
7555 result=no
7556 else
7557 result=yes
7558 fi
7559 else
7560 result=$wxUSE_STOPWATCH
7561 fi
7562
7563 { echo "$as_me:$LINENO: result: $result" >&5
7564 echo "${ECHO_T}$result" >&6; }
7565
7566
7567 enablestring=
7568 defaultval=$wxUSE_ALL_FEATURES
7569 if test -z "$defaultval"; then
7570 if test x"$enablestring" = xdisable; then
7571 defaultval=yes
7572 else
7573 defaultval=no
7574 fi
7575 fi
7576
7577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7578 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7579 # Check whether --enable-streams was given.
7580 if test "${enable_streams+set}" = set; then
7581 enableval=$enable_streams;
7582 if test "$enableval" = yes; then
7583 wx_cv_use_streams='wxUSE_STREAMS=yes'
7584 else
7585 wx_cv_use_streams='wxUSE_STREAMS=no'
7586 fi
7587
7588 else
7589
7590 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7591
7592 fi
7593
7594
7595 eval "$wx_cv_use_streams"
7596
7597 if test x"$enablestring" = xdisable; then
7598 if test $wxUSE_STREAMS = yes; then
7599 result=no
7600 else
7601 result=yes
7602 fi
7603 else
7604 result=$wxUSE_STREAMS
7605 fi
7606
7607 { echo "$as_me:$LINENO: result: $result" >&5
7608 echo "${ECHO_T}$result" >&6; }
7609
7610
7611 enablestring=
7612 defaultval=$wxUSE_ALL_FEATURES
7613 if test -z "$defaultval"; then
7614 if test x"$enablestring" = xdisable; then
7615 defaultval=yes
7616 else
7617 defaultval=no
7618 fi
7619 fi
7620
7621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7622 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7623 # Check whether --enable-system_options was given.
7624 if test "${enable_system_options+set}" = set; then
7625 enableval=$enable_system_options;
7626 if test "$enableval" = yes; then
7627 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7628 else
7629 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7630 fi
7631
7632 else
7633
7634 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7635
7636 fi
7637
7638
7639 eval "$wx_cv_use_system_options"
7640
7641 if test x"$enablestring" = xdisable; then
7642 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7643 result=no
7644 else
7645 result=yes
7646 fi
7647 else
7648 result=$wxUSE_SYSTEM_OPTIONS
7649 fi
7650
7651 { echo "$as_me:$LINENO: result: $result" >&5
7652 echo "${ECHO_T}$result" >&6; }
7653
7654
7655 enablestring=
7656 defaultval=$wxUSE_ALL_FEATURES
7657 if test -z "$defaultval"; then
7658 if test x"$enablestring" = xdisable; then
7659 defaultval=yes
7660 else
7661 defaultval=no
7662 fi
7663 fi
7664
7665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7666 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7667 # Check whether --enable-tarstream was given.
7668 if test "${enable_tarstream+set}" = set; then
7669 enableval=$enable_tarstream;
7670 if test "$enableval" = yes; then
7671 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7672 else
7673 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7674 fi
7675
7676 else
7677
7678 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7679
7680 fi
7681
7682
7683 eval "$wx_cv_use_tarstream"
7684
7685 if test x"$enablestring" = xdisable; then
7686 if test $wxUSE_TARSTREAM = yes; then
7687 result=no
7688 else
7689 result=yes
7690 fi
7691 else
7692 result=$wxUSE_TARSTREAM
7693 fi
7694
7695 { echo "$as_me:$LINENO: result: $result" >&5
7696 echo "${ECHO_T}$result" >&6; }
7697
7698
7699 enablestring=
7700 defaultval=$wxUSE_ALL_FEATURES
7701 if test -z "$defaultval"; then
7702 if test x"$enablestring" = xdisable; then
7703 defaultval=yes
7704 else
7705 defaultval=no
7706 fi
7707 fi
7708
7709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7710 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7711 # Check whether --enable-textbuf was given.
7712 if test "${enable_textbuf+set}" = set; then
7713 enableval=$enable_textbuf;
7714 if test "$enableval" = yes; then
7715 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7716 else
7717 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7718 fi
7719
7720 else
7721
7722 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7723
7724 fi
7725
7726
7727 eval "$wx_cv_use_textbuf"
7728
7729 if test x"$enablestring" = xdisable; then
7730 if test $wxUSE_TEXTBUFFER = yes; then
7731 result=no
7732 else
7733 result=yes
7734 fi
7735 else
7736 result=$wxUSE_TEXTBUFFER
7737 fi
7738
7739 { echo "$as_me:$LINENO: result: $result" >&5
7740 echo "${ECHO_T}$result" >&6; }
7741
7742
7743 enablestring=
7744 defaultval=$wxUSE_ALL_FEATURES
7745 if test -z "$defaultval"; then
7746 if test x"$enablestring" = xdisable; then
7747 defaultval=yes
7748 else
7749 defaultval=no
7750 fi
7751 fi
7752
7753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7754 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7755 # Check whether --enable-textfile was given.
7756 if test "${enable_textfile+set}" = set; then
7757 enableval=$enable_textfile;
7758 if test "$enableval" = yes; then
7759 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7760 else
7761 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7762 fi
7763
7764 else
7765
7766 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7767
7768 fi
7769
7770
7771 eval "$wx_cv_use_textfile"
7772
7773 if test x"$enablestring" = xdisable; then
7774 if test $wxUSE_TEXTFILE = yes; then
7775 result=no
7776 else
7777 result=yes
7778 fi
7779 else
7780 result=$wxUSE_TEXTFILE
7781 fi
7782
7783 { echo "$as_me:$LINENO: result: $result" >&5
7784 echo "${ECHO_T}$result" >&6; }
7785
7786
7787 enablestring=
7788 defaultval=$wxUSE_ALL_FEATURES
7789 if test -z "$defaultval"; then
7790 if test x"$enablestring" = xdisable; then
7791 defaultval=yes
7792 else
7793 defaultval=no
7794 fi
7795 fi
7796
7797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7798 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7799 # Check whether --enable-timer was given.
7800 if test "${enable_timer+set}" = set; then
7801 enableval=$enable_timer;
7802 if test "$enableval" = yes; then
7803 wx_cv_use_timer='wxUSE_TIMER=yes'
7804 else
7805 wx_cv_use_timer='wxUSE_TIMER=no'
7806 fi
7807
7808 else
7809
7810 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7811
7812 fi
7813
7814
7815 eval "$wx_cv_use_timer"
7816
7817 if test x"$enablestring" = xdisable; then
7818 if test $wxUSE_TIMER = yes; then
7819 result=no
7820 else
7821 result=yes
7822 fi
7823 else
7824 result=$wxUSE_TIMER
7825 fi
7826
7827 { echo "$as_me:$LINENO: result: $result" >&5
7828 echo "${ECHO_T}$result" >&6; }
7829
7830
7831 enablestring=
7832 defaultval=$wxUSE_ALL_FEATURES
7833 if test -z "$defaultval"; then
7834 if test x"$enablestring" = xdisable; then
7835 defaultval=yes
7836 else
7837 defaultval=no
7838 fi
7839 fi
7840
7841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7842 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7843 # Check whether --enable-variant was given.
7844 if test "${enable_variant+set}" = set; then
7845 enableval=$enable_variant;
7846 if test "$enableval" = yes; then
7847 wx_cv_use_variant='wxUSE_VARIANT=yes'
7848 else
7849 wx_cv_use_variant='wxUSE_VARIANT=no'
7850 fi
7851
7852 else
7853
7854 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7855
7856 fi
7857
7858
7859 eval "$wx_cv_use_variant"
7860
7861 if test x"$enablestring" = xdisable; then
7862 if test $wxUSE_VARIANT = yes; then
7863 result=no
7864 else
7865 result=yes
7866 fi
7867 else
7868 result=$wxUSE_VARIANT
7869 fi
7870
7871 { echo "$as_me:$LINENO: result: $result" >&5
7872 echo "${ECHO_T}$result" >&6; }
7873
7874
7875 enablestring=
7876 defaultval=$wxUSE_ALL_FEATURES
7877 if test -z "$defaultval"; then
7878 if test x"$enablestring" = xdisable; then
7879 defaultval=yes
7880 else
7881 defaultval=no
7882 fi
7883 fi
7884
7885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7886 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7887 # Check whether --enable-zipstream was given.
7888 if test "${enable_zipstream+set}" = set; then
7889 enableval=$enable_zipstream;
7890 if test "$enableval" = yes; then
7891 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7892 else
7893 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7894 fi
7895
7896 else
7897
7898 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7899
7900 fi
7901
7902
7903 eval "$wx_cv_use_zipstream"
7904
7905 if test x"$enablestring" = xdisable; then
7906 if test $wxUSE_ZIPSTREAM = yes; then
7907 result=no
7908 else
7909 result=yes
7910 fi
7911 else
7912 result=$wxUSE_ZIPSTREAM
7913 fi
7914
7915 { echo "$as_me:$LINENO: result: $result" >&5
7916 echo "${ECHO_T}$result" >&6; }
7917
7918
7919
7920 enablestring=
7921 defaultval=$wxUSE_ALL_FEATURES
7922 if test -z "$defaultval"; then
7923 if test x"$enablestring" = xdisable; then
7924 defaultval=yes
7925 else
7926 defaultval=no
7927 fi
7928 fi
7929
7930 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7931 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7932 # Check whether --enable-url was given.
7933 if test "${enable_url+set}" = set; then
7934 enableval=$enable_url;
7935 if test "$enableval" = yes; then
7936 wx_cv_use_url='wxUSE_URL=yes'
7937 else
7938 wx_cv_use_url='wxUSE_URL=no'
7939 fi
7940
7941 else
7942
7943 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7944
7945 fi
7946
7947
7948 eval "$wx_cv_use_url"
7949
7950 if test x"$enablestring" = xdisable; then
7951 if test $wxUSE_URL = yes; then
7952 result=no
7953 else
7954 result=yes
7955 fi
7956 else
7957 result=$wxUSE_URL
7958 fi
7959
7960 { echo "$as_me:$LINENO: result: $result" >&5
7961 echo "${ECHO_T}$result" >&6; }
7962
7963
7964 enablestring=
7965 defaultval=$wxUSE_ALL_FEATURES
7966 if test -z "$defaultval"; then
7967 if test x"$enablestring" = xdisable; then
7968 defaultval=yes
7969 else
7970 defaultval=no
7971 fi
7972 fi
7973
7974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7975 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7976 # Check whether --enable-protocol was given.
7977 if test "${enable_protocol+set}" = set; then
7978 enableval=$enable_protocol;
7979 if test "$enableval" = yes; then
7980 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7981 else
7982 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7983 fi
7984
7985 else
7986
7987 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7988
7989 fi
7990
7991
7992 eval "$wx_cv_use_protocol"
7993
7994 if test x"$enablestring" = xdisable; then
7995 if test $wxUSE_PROTOCOL = yes; then
7996 result=no
7997 else
7998 result=yes
7999 fi
8000 else
8001 result=$wxUSE_PROTOCOL
8002 fi
8003
8004 { echo "$as_me:$LINENO: result: $result" >&5
8005 echo "${ECHO_T}$result" >&6; }
8006
8007
8008 enablestring=
8009 defaultval=$wxUSE_ALL_FEATURES
8010 if test -z "$defaultval"; then
8011 if test x"$enablestring" = xdisable; then
8012 defaultval=yes
8013 else
8014 defaultval=no
8015 fi
8016 fi
8017
8018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8019 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8020 # Check whether --enable-protocol_http was given.
8021 if test "${enable_protocol_http+set}" = set; then
8022 enableval=$enable_protocol_http;
8023 if test "$enableval" = yes; then
8024 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8025 else
8026 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8027 fi
8028
8029 else
8030
8031 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8032
8033 fi
8034
8035
8036 eval "$wx_cv_use_protocol_http"
8037
8038 if test x"$enablestring" = xdisable; then
8039 if test $wxUSE_PROTOCOL_HTTP = yes; then
8040 result=no
8041 else
8042 result=yes
8043 fi
8044 else
8045 result=$wxUSE_PROTOCOL_HTTP
8046 fi
8047
8048 { echo "$as_me:$LINENO: result: $result" >&5
8049 echo "${ECHO_T}$result" >&6; }
8050
8051
8052 enablestring=
8053 defaultval=$wxUSE_ALL_FEATURES
8054 if test -z "$defaultval"; then
8055 if test x"$enablestring" = xdisable; then
8056 defaultval=yes
8057 else
8058 defaultval=no
8059 fi
8060 fi
8061
8062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8063 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8064 # Check whether --enable-protocol_ftp was given.
8065 if test "${enable_protocol_ftp+set}" = set; then
8066 enableval=$enable_protocol_ftp;
8067 if test "$enableval" = yes; then
8068 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8069 else
8070 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8071 fi
8072
8073 else
8074
8075 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8076
8077 fi
8078
8079
8080 eval "$wx_cv_use_protocol_ftp"
8081
8082 if test x"$enablestring" = xdisable; then
8083 if test $wxUSE_PROTOCOL_FTP = yes; then
8084 result=no
8085 else
8086 result=yes
8087 fi
8088 else
8089 result=$wxUSE_PROTOCOL_FTP
8090 fi
8091
8092 { echo "$as_me:$LINENO: result: $result" >&5
8093 echo "${ECHO_T}$result" >&6; }
8094
8095
8096 enablestring=
8097 defaultval=$wxUSE_ALL_FEATURES
8098 if test -z "$defaultval"; then
8099 if test x"$enablestring" = xdisable; then
8100 defaultval=yes
8101 else
8102 defaultval=no
8103 fi
8104 fi
8105
8106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8107 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8108 # Check whether --enable-protocol_file was given.
8109 if test "${enable_protocol_file+set}" = set; then
8110 enableval=$enable_protocol_file;
8111 if test "$enableval" = yes; then
8112 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8113 else
8114 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8115 fi
8116
8117 else
8118
8119 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8120
8121 fi
8122
8123
8124 eval "$wx_cv_use_protocol_file"
8125
8126 if test x"$enablestring" = xdisable; then
8127 if test $wxUSE_PROTOCOL_FILE = yes; then
8128 result=no
8129 else
8130 result=yes
8131 fi
8132 else
8133 result=$wxUSE_PROTOCOL_FILE
8134 fi
8135
8136 { echo "$as_me:$LINENO: result: $result" >&5
8137 echo "${ECHO_T}$result" >&6; }
8138
8139
8140
8141 enablestring=
8142 defaultval=$wxUSE_ALL_FEATURES
8143 if test -z "$defaultval"; then
8144 if test x"$enablestring" = xdisable; then
8145 defaultval=yes
8146 else
8147 defaultval=no
8148 fi
8149 fi
8150
8151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8152 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8153 # Check whether --enable-threads was given.
8154 if test "${enable_threads+set}" = set; then
8155 enableval=$enable_threads;
8156 if test "$enableval" = yes; then
8157 wx_cv_use_threads='wxUSE_THREADS=yes'
8158 else
8159 wx_cv_use_threads='wxUSE_THREADS=no'
8160 fi
8161
8162 else
8163
8164 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8165
8166 fi
8167
8168
8169 eval "$wx_cv_use_threads"
8170
8171 if test x"$enablestring" = xdisable; then
8172 if test $wxUSE_THREADS = yes; then
8173 result=no
8174 else
8175 result=yes
8176 fi
8177 else
8178 result=$wxUSE_THREADS
8179 fi
8180
8181 { echo "$as_me:$LINENO: result: $result" >&5
8182 echo "${ECHO_T}$result" >&6; }
8183
8184
8185
8186 enablestring=
8187 defaultval=
8188 if test -z "$defaultval"; then
8189 if test x"$enablestring" = xdisable; then
8190 defaultval=yes
8191 else
8192 defaultval=no
8193 fi
8194 fi
8195
8196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8197 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8198 # Check whether --enable-iniconf was given.
8199 if test "${enable_iniconf+set}" = set; then
8200 enableval=$enable_iniconf;
8201 if test "$enableval" = yes; then
8202 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8203 else
8204 wx_cv_use_iniconf='wxUSE_INICONF=no'
8205 fi
8206
8207 else
8208
8209 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8210
8211 fi
8212
8213
8214 eval "$wx_cv_use_iniconf"
8215
8216 if test x"$enablestring" = xdisable; then
8217 if test $wxUSE_INICONF = yes; then
8218 result=no
8219 else
8220 result=yes
8221 fi
8222 else
8223 result=$wxUSE_INICONF
8224 fi
8225
8226 { echo "$as_me:$LINENO: result: $result" >&5
8227 echo "${ECHO_T}$result" >&6; }
8228
8229
8230 enablestring=
8231 defaultval=$wxUSE_ALL_FEATURES
8232 if test -z "$defaultval"; then
8233 if test x"$enablestring" = xdisable; then
8234 defaultval=yes
8235 else
8236 defaultval=no
8237 fi
8238 fi
8239
8240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8241 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8242 # Check whether --enable-regkey was given.
8243 if test "${enable_regkey+set}" = set; then
8244 enableval=$enable_regkey;
8245 if test "$enableval" = yes; then
8246 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8247 else
8248 wx_cv_use_regkey='wxUSE_REGKEY=no'
8249 fi
8250
8251 else
8252
8253 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8254
8255 fi
8256
8257
8258 eval "$wx_cv_use_regkey"
8259
8260 if test x"$enablestring" = xdisable; then
8261 if test $wxUSE_REGKEY = yes; then
8262 result=no
8263 else
8264 result=yes
8265 fi
8266 else
8267 result=$wxUSE_REGKEY
8268 fi
8269
8270 { echo "$as_me:$LINENO: result: $result" >&5
8271 echo "${ECHO_T}$result" >&6; }
8272
8273
8274 if test "$wxUSE_GUI" = "yes"; then
8275
8276
8277
8278 enablestring=
8279 defaultval=$wxUSE_ALL_FEATURES
8280 if test -z "$defaultval"; then
8281 if test x"$enablestring" = xdisable; then
8282 defaultval=yes
8283 else
8284 defaultval=no
8285 fi
8286 fi
8287
8288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8289 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8290 # Check whether --enable-docview was given.
8291 if test "${enable_docview+set}" = set; then
8292 enableval=$enable_docview;
8293 if test "$enableval" = yes; then
8294 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8295 else
8296 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8297 fi
8298
8299 else
8300
8301 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8302
8303 fi
8304
8305
8306 eval "$wx_cv_use_docview"
8307
8308 if test x"$enablestring" = xdisable; then
8309 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8310 result=no
8311 else
8312 result=yes
8313 fi
8314 else
8315 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8316 fi
8317
8318 { echo "$as_me:$LINENO: result: $result" >&5
8319 echo "${ECHO_T}$result" >&6; }
8320
8321
8322 enablestring=
8323 defaultval=$wxUSE_ALL_FEATURES
8324 if test -z "$defaultval"; then
8325 if test x"$enablestring" = xdisable; then
8326 defaultval=yes
8327 else
8328 defaultval=no
8329 fi
8330 fi
8331
8332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8333 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8334 # Check whether --enable-help was given.
8335 if test "${enable_help+set}" = set; then
8336 enableval=$enable_help;
8337 if test "$enableval" = yes; then
8338 wx_cv_use_help='wxUSE_HELP=yes'
8339 else
8340 wx_cv_use_help='wxUSE_HELP=no'
8341 fi
8342
8343 else
8344
8345 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8346
8347 fi
8348
8349
8350 eval "$wx_cv_use_help"
8351
8352 if test x"$enablestring" = xdisable; then
8353 if test $wxUSE_HELP = yes; then
8354 result=no
8355 else
8356 result=yes
8357 fi
8358 else
8359 result=$wxUSE_HELP
8360 fi
8361
8362 { echo "$as_me:$LINENO: result: $result" >&5
8363 echo "${ECHO_T}$result" >&6; }
8364
8365
8366 enablestring=
8367 defaultval=$wxUSE_ALL_FEATURES
8368 if test -z "$defaultval"; then
8369 if test x"$enablestring" = xdisable; then
8370 defaultval=yes
8371 else
8372 defaultval=no
8373 fi
8374 fi
8375
8376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8377 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8378 # Check whether --enable-mshtmlhelp was given.
8379 if test "${enable_mshtmlhelp+set}" = set; then
8380 enableval=$enable_mshtmlhelp;
8381 if test "$enableval" = yes; then
8382 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8383 else
8384 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8385 fi
8386
8387 else
8388
8389 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8390
8391 fi
8392
8393
8394 eval "$wx_cv_use_mshtmlhelp"
8395
8396 if test x"$enablestring" = xdisable; then
8397 if test $wxUSE_MS_HTML_HELP = yes; then
8398 result=no
8399 else
8400 result=yes
8401 fi
8402 else
8403 result=$wxUSE_MS_HTML_HELP
8404 fi
8405
8406 { echo "$as_me:$LINENO: result: $result" >&5
8407 echo "${ECHO_T}$result" >&6; }
8408
8409
8410 enablestring=
8411 defaultval=$wxUSE_ALL_FEATURES
8412 if test -z "$defaultval"; then
8413 if test x"$enablestring" = xdisable; then
8414 defaultval=yes
8415 else
8416 defaultval=no
8417 fi
8418 fi
8419
8420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8421 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8422 # Check whether --enable-html was given.
8423 if test "${enable_html+set}" = set; then
8424 enableval=$enable_html;
8425 if test "$enableval" = yes; then
8426 wx_cv_use_html='wxUSE_HTML=yes'
8427 else
8428 wx_cv_use_html='wxUSE_HTML=no'
8429 fi
8430
8431 else
8432
8433 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8434
8435 fi
8436
8437
8438 eval "$wx_cv_use_html"
8439
8440 if test x"$enablestring" = xdisable; then
8441 if test $wxUSE_HTML = yes; then
8442 result=no
8443 else
8444 result=yes
8445 fi
8446 else
8447 result=$wxUSE_HTML
8448 fi
8449
8450 { echo "$as_me:$LINENO: result: $result" >&5
8451 echo "${ECHO_T}$result" >&6; }
8452
8453
8454 enablestring=
8455 defaultval=$wxUSE_ALL_FEATURES
8456 if test -z "$defaultval"; then
8457 if test x"$enablestring" = xdisable; then
8458 defaultval=yes
8459 else
8460 defaultval=no
8461 fi
8462 fi
8463
8464 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8465 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8466 # Check whether --enable-htmlhelp was given.
8467 if test "${enable_htmlhelp+set}" = set; then
8468 enableval=$enable_htmlhelp;
8469 if test "$enableval" = yes; then
8470 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8471 else
8472 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8473 fi
8474
8475 else
8476
8477 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8478
8479 fi
8480
8481
8482 eval "$wx_cv_use_htmlhelp"
8483
8484 if test x"$enablestring" = xdisable; then
8485 if test $wxUSE_WXHTML_HELP = yes; then
8486 result=no
8487 else
8488 result=yes
8489 fi
8490 else
8491 result=$wxUSE_WXHTML_HELP
8492 fi
8493
8494 { echo "$as_me:$LINENO: result: $result" >&5
8495 echo "${ECHO_T}$result" >&6; }
8496
8497
8498 enablestring=
8499 defaultval=$wxUSE_ALL_FEATURES
8500 if test -z "$defaultval"; then
8501 if test x"$enablestring" = xdisable; then
8502 defaultval=yes
8503 else
8504 defaultval=no
8505 fi
8506 fi
8507
8508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8509 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8510 # Check whether --enable-xrc was given.
8511 if test "${enable_xrc+set}" = set; then
8512 enableval=$enable_xrc;
8513 if test "$enableval" = yes; then
8514 wx_cv_use_xrc='wxUSE_XRC=yes'
8515 else
8516 wx_cv_use_xrc='wxUSE_XRC=no'
8517 fi
8518
8519 else
8520
8521 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8522
8523 fi
8524
8525
8526 eval "$wx_cv_use_xrc"
8527
8528 if test x"$enablestring" = xdisable; then
8529 if test $wxUSE_XRC = yes; then
8530 result=no
8531 else
8532 result=yes
8533 fi
8534 else
8535 result=$wxUSE_XRC
8536 fi
8537
8538 { echo "$as_me:$LINENO: result: $result" >&5
8539 echo "${ECHO_T}$result" >&6; }
8540
8541
8542 enablestring=
8543 defaultval=$wxUSE_ALL_FEATURES
8544 if test -z "$defaultval"; then
8545 if test x"$enablestring" = xdisable; then
8546 defaultval=yes
8547 else
8548 defaultval=no
8549 fi
8550 fi
8551
8552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8553 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8554 # Check whether --enable-aui was given.
8555 if test "${enable_aui+set}" = set; then
8556 enableval=$enable_aui;
8557 if test "$enableval" = yes; then
8558 wx_cv_use_aui='wxUSE_AUI=yes'
8559 else
8560 wx_cv_use_aui='wxUSE_AUI=no'
8561 fi
8562
8563 else
8564
8565 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8566
8567 fi
8568
8569
8570 eval "$wx_cv_use_aui"
8571
8572 if test x"$enablestring" = xdisable; then
8573 if test $wxUSE_AUI = yes; then
8574 result=no
8575 else
8576 result=yes
8577 fi
8578 else
8579 result=$wxUSE_AUI
8580 fi
8581
8582 { echo "$as_me:$LINENO: result: $result" >&5
8583 echo "${ECHO_T}$result" >&6; }
8584
8585
8586 enablestring=
8587 defaultval=$wxUSE_ALL_FEATURES
8588 if test -z "$defaultval"; then
8589 if test x"$enablestring" = xdisable; then
8590 defaultval=yes
8591 else
8592 defaultval=no
8593 fi
8594 fi
8595
8596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8597 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8598 # Check whether --enable-propgrid was given.
8599 if test "${enable_propgrid+set}" = set; then
8600 enableval=$enable_propgrid;
8601 if test "$enableval" = yes; then
8602 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8603 else
8604 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8605 fi
8606
8607 else
8608
8609 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8610
8611 fi
8612
8613
8614 eval "$wx_cv_use_propgrid"
8615
8616 if test x"$enablestring" = xdisable; then
8617 if test $wxUSE_PROPGRID = yes; then
8618 result=no
8619 else
8620 result=yes
8621 fi
8622 else
8623 result=$wxUSE_PROPGRID
8624 fi
8625
8626 { echo "$as_me:$LINENO: result: $result" >&5
8627 echo "${ECHO_T}$result" >&6; }
8628
8629
8630 enablestring=
8631 defaultval=$wxUSE_ALL_FEATURES
8632 if test -z "$defaultval"; then
8633 if test x"$enablestring" = xdisable; then
8634 defaultval=yes
8635 else
8636 defaultval=no
8637 fi
8638 fi
8639
8640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8641 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8642 # Check whether --enable-stc was given.
8643 if test "${enable_stc+set}" = set; then
8644 enableval=$enable_stc;
8645 if test "$enableval" = yes; then
8646 wx_cv_use_stc='wxUSE_STC=yes'
8647 else
8648 wx_cv_use_stc='wxUSE_STC=no'
8649 fi
8650
8651 else
8652
8653 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8654
8655 fi
8656
8657
8658 eval "$wx_cv_use_stc"
8659
8660 if test x"$enablestring" = xdisable; then
8661 if test $wxUSE_STC = yes; then
8662 result=no
8663 else
8664 result=yes
8665 fi
8666 else
8667 result=$wxUSE_STC
8668 fi
8669
8670 { echo "$as_me:$LINENO: result: $result" >&5
8671 echo "${ECHO_T}$result" >&6; }
8672
8673
8674 enablestring=
8675 defaultval=$wxUSE_ALL_FEATURES
8676 if test -z "$defaultval"; then
8677 if test x"$enablestring" = xdisable; then
8678 defaultval=yes
8679 else
8680 defaultval=no
8681 fi
8682 fi
8683
8684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8685 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8686 # Check whether --enable-constraints was given.
8687 if test "${enable_constraints+set}" = set; then
8688 enableval=$enable_constraints;
8689 if test "$enableval" = yes; then
8690 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8691 else
8692 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8693 fi
8694
8695 else
8696
8697 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8698
8699 fi
8700
8701
8702 eval "$wx_cv_use_constraints"
8703
8704 if test x"$enablestring" = xdisable; then
8705 if test $wxUSE_CONSTRAINTS = yes; then
8706 result=no
8707 else
8708 result=yes
8709 fi
8710 else
8711 result=$wxUSE_CONSTRAINTS
8712 fi
8713
8714 { echo "$as_me:$LINENO: result: $result" >&5
8715 echo "${ECHO_T}$result" >&6; }
8716
8717
8718 enablestring=
8719 defaultval=$wxUSE_ALL_FEATURES
8720 if test -z "$defaultval"; then
8721 if test x"$enablestring" = xdisable; then
8722 defaultval=yes
8723 else
8724 defaultval=no
8725 fi
8726 fi
8727
8728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8729 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8730 # Check whether --enable-loggui was given.
8731 if test "${enable_loggui+set}" = set; then
8732 enableval=$enable_loggui;
8733 if test "$enableval" = yes; then
8734 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8735 else
8736 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8737 fi
8738
8739 else
8740
8741 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8742
8743 fi
8744
8745
8746 eval "$wx_cv_use_loggui"
8747
8748 if test x"$enablestring" = xdisable; then
8749 if test $wxUSE_LOGGUI = yes; then
8750 result=no
8751 else
8752 result=yes
8753 fi
8754 else
8755 result=$wxUSE_LOGGUI
8756 fi
8757
8758 { echo "$as_me:$LINENO: result: $result" >&5
8759 echo "${ECHO_T}$result" >&6; }
8760
8761
8762 enablestring=
8763 defaultval=$wxUSE_ALL_FEATURES
8764 if test -z "$defaultval"; then
8765 if test x"$enablestring" = xdisable; then
8766 defaultval=yes
8767 else
8768 defaultval=no
8769 fi
8770 fi
8771
8772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8773 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8774 # Check whether --enable-logwin was given.
8775 if test "${enable_logwin+set}" = set; then
8776 enableval=$enable_logwin;
8777 if test "$enableval" = yes; then
8778 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8779 else
8780 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8781 fi
8782
8783 else
8784
8785 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8786
8787 fi
8788
8789
8790 eval "$wx_cv_use_logwin"
8791
8792 if test x"$enablestring" = xdisable; then
8793 if test $wxUSE_LOGWINDOW = yes; then
8794 result=no
8795 else
8796 result=yes
8797 fi
8798 else
8799 result=$wxUSE_LOGWINDOW
8800 fi
8801
8802 { echo "$as_me:$LINENO: result: $result" >&5
8803 echo "${ECHO_T}$result" >&6; }
8804
8805
8806 enablestring=
8807 defaultval=$wxUSE_ALL_FEATURES
8808 if test -z "$defaultval"; then
8809 if test x"$enablestring" = xdisable; then
8810 defaultval=yes
8811 else
8812 defaultval=no
8813 fi
8814 fi
8815
8816 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8817 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8818 # Check whether --enable-logdialog was given.
8819 if test "${enable_logdialog+set}" = set; then
8820 enableval=$enable_logdialog;
8821 if test "$enableval" = yes; then
8822 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8823 else
8824 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8825 fi
8826
8827 else
8828
8829 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8830
8831 fi
8832
8833
8834 eval "$wx_cv_use_logdialog"
8835
8836 if test x"$enablestring" = xdisable; then
8837 if test $wxUSE_LOGDIALOG = yes; then
8838 result=no
8839 else
8840 result=yes
8841 fi
8842 else
8843 result=$wxUSE_LOGDIALOG
8844 fi
8845
8846 { echo "$as_me:$LINENO: result: $result" >&5
8847 echo "${ECHO_T}$result" >&6; }
8848
8849
8850 enablestring=
8851 defaultval=$wxUSE_ALL_FEATURES
8852 if test -z "$defaultval"; then
8853 if test x"$enablestring" = xdisable; then
8854 defaultval=yes
8855 else
8856 defaultval=no
8857 fi
8858 fi
8859
8860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8861 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8862 # Check whether --enable-mdi was given.
8863 if test "${enable_mdi+set}" = set; then
8864 enableval=$enable_mdi;
8865 if test "$enableval" = yes; then
8866 wx_cv_use_mdi='wxUSE_MDI=yes'
8867 else
8868 wx_cv_use_mdi='wxUSE_MDI=no'
8869 fi
8870
8871 else
8872
8873 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8874
8875 fi
8876
8877
8878 eval "$wx_cv_use_mdi"
8879
8880 if test x"$enablestring" = xdisable; then
8881 if test $wxUSE_MDI = yes; then
8882 result=no
8883 else
8884 result=yes
8885 fi
8886 else
8887 result=$wxUSE_MDI
8888 fi
8889
8890 { echo "$as_me:$LINENO: result: $result" >&5
8891 echo "${ECHO_T}$result" >&6; }
8892
8893
8894 enablestring=
8895 defaultval=$wxUSE_ALL_FEATURES
8896 if test -z "$defaultval"; then
8897 if test x"$enablestring" = xdisable; then
8898 defaultval=yes
8899 else
8900 defaultval=no
8901 fi
8902 fi
8903
8904 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8905 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8906 # Check whether --enable-mdidoc was given.
8907 if test "${enable_mdidoc+set}" = set; then
8908 enableval=$enable_mdidoc;
8909 if test "$enableval" = yes; then
8910 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8911 else
8912 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8913 fi
8914
8915 else
8916
8917 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8918
8919 fi
8920
8921
8922 eval "$wx_cv_use_mdidoc"
8923
8924 if test x"$enablestring" = xdisable; then
8925 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8926 result=no
8927 else
8928 result=yes
8929 fi
8930 else
8931 result=$wxUSE_MDI_ARCHITECTURE
8932 fi
8933
8934 { echo "$as_me:$LINENO: result: $result" >&5
8935 echo "${ECHO_T}$result" >&6; }
8936
8937
8938 enablestring=
8939 defaultval=$wxUSE_ALL_FEATURES
8940 if test -z "$defaultval"; then
8941 if test x"$enablestring" = xdisable; then
8942 defaultval=yes
8943 else
8944 defaultval=no
8945 fi
8946 fi
8947
8948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8949 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8950 # Check whether --enable-mediactrl was given.
8951 if test "${enable_mediactrl+set}" = set; then
8952 enableval=$enable_mediactrl;
8953 if test "$enableval" = yes; then
8954 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8955 else
8956 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8957 fi
8958
8959 else
8960
8961 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8962
8963 fi
8964
8965
8966 eval "$wx_cv_use_mediactrl"
8967
8968 if test x"$enablestring" = xdisable; then
8969 if test $wxUSE_MEDIACTRL = yes; then
8970 result=no
8971 else
8972 result=yes
8973 fi
8974 else
8975 result=$wxUSE_MEDIACTRL
8976 fi
8977
8978 { echo "$as_me:$LINENO: result: $result" >&5
8979 echo "${ECHO_T}$result" >&6; }
8980
8981
8982 enablestring=
8983 defaultval=$wxUSE_ALL_FEATURES
8984 if test -z "$defaultval"; then
8985 if test x"$enablestring" = xdisable; then
8986 defaultval=yes
8987 else
8988 defaultval=no
8989 fi
8990 fi
8991
8992 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8993 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8994 # Check whether --enable-gstreamer8 was given.
8995 if test "${enable_gstreamer8+set}" = set; then
8996 enableval=$enable_gstreamer8;
8997 if test "$enableval" = yes; then
8998 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8999 else
9000 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9001 fi
9002
9003 else
9004
9005 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9006
9007 fi
9008
9009
9010 eval "$wx_cv_use_gstreamer8"
9011
9012 if test x"$enablestring" = xdisable; then
9013 if test $wxUSE_GSTREAMER8 = yes; then
9014 result=no
9015 else
9016 result=yes
9017 fi
9018 else
9019 result=$wxUSE_GSTREAMER8
9020 fi
9021
9022 { echo "$as_me:$LINENO: result: $result" >&5
9023 echo "${ECHO_T}$result" >&6; }
9024
9025
9026 enablestring=
9027 defaultval=$wxUSE_ALL_FEATURES
9028 if test -z "$defaultval"; then
9029 if test x"$enablestring" = xdisable; then
9030 defaultval=yes
9031 else
9032 defaultval=no
9033 fi
9034 fi
9035
9036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9037 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9038 # Check whether --enable-webkit was given.
9039 if test "${enable_webkit+set}" = set; then
9040 enableval=$enable_webkit;
9041 if test "$enableval" = yes; then
9042 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9043 else
9044 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9045 fi
9046
9047 else
9048
9049 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9050
9051 fi
9052
9053
9054 eval "$wx_cv_use_webkit"
9055
9056 if test x"$enablestring" = xdisable; then
9057 if test $wxUSE_WEBKIT = yes; then
9058 result=no
9059 else
9060 result=yes
9061 fi
9062 else
9063 result=$wxUSE_WEBKIT
9064 fi
9065
9066 { echo "$as_me:$LINENO: result: $result" >&5
9067 echo "${ECHO_T}$result" >&6; }
9068
9069
9070 enablestring=
9071 defaultval=$wxUSE_ALL_FEATURES
9072 if test -z "$defaultval"; then
9073 if test x"$enablestring" = xdisable; then
9074 defaultval=yes
9075 else
9076 defaultval=no
9077 fi
9078 fi
9079
9080 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9081 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9082 # Check whether --enable-richtext was given.
9083 if test "${enable_richtext+set}" = set; then
9084 enableval=$enable_richtext;
9085 if test "$enableval" = yes; then
9086 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9087 else
9088 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9089 fi
9090
9091 else
9092
9093 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9094
9095 fi
9096
9097
9098 eval "$wx_cv_use_richtext"
9099
9100 if test x"$enablestring" = xdisable; then
9101 if test $wxUSE_RICHTEXT = yes; then
9102 result=no
9103 else
9104 result=yes
9105 fi
9106 else
9107 result=$wxUSE_RICHTEXT
9108 fi
9109
9110 { echo "$as_me:$LINENO: result: $result" >&5
9111 echo "${ECHO_T}$result" >&6; }
9112
9113
9114 enablestring=
9115 defaultval=$wxUSE_ALL_FEATURES
9116 if test -z "$defaultval"; then
9117 if test x"$enablestring" = xdisable; then
9118 defaultval=yes
9119 else
9120 defaultval=no
9121 fi
9122 fi
9123
9124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9125 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9126 # Check whether --enable-graphics_ctx was given.
9127 if test "${enable_graphics_ctx+set}" = set; then
9128 enableval=$enable_graphics_ctx;
9129 if test "$enableval" = yes; then
9130 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9131 else
9132 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9133 fi
9134
9135 else
9136
9137 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9138
9139 fi
9140
9141
9142 eval "$wx_cv_use_graphics_ctx"
9143
9144 if test x"$enablestring" = xdisable; then
9145 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9146 result=no
9147 else
9148 result=yes
9149 fi
9150 else
9151 result=$wxUSE_GRAPHICS_CONTEXT
9152 fi
9153
9154 { echo "$as_me:$LINENO: result: $result" >&5
9155 echo "${ECHO_T}$result" >&6; }
9156
9157
9158 enablestring=
9159 defaultval=$wxUSE_ALL_FEATURES
9160 if test -z "$defaultval"; then
9161 if test x"$enablestring" = xdisable; then
9162 defaultval=yes
9163 else
9164 defaultval=no
9165 fi
9166 fi
9167
9168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9169 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9170 # Check whether --enable-postscript was given.
9171 if test "${enable_postscript+set}" = set; then
9172 enableval=$enable_postscript;
9173 if test "$enableval" = yes; then
9174 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9175 else
9176 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9177 fi
9178
9179 else
9180
9181 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9182
9183 fi
9184
9185
9186 eval "$wx_cv_use_postscript"
9187
9188 if test x"$enablestring" = xdisable; then
9189 if test $wxUSE_POSTSCRIPT = yes; then
9190 result=no
9191 else
9192 result=yes
9193 fi
9194 else
9195 result=$wxUSE_POSTSCRIPT
9196 fi
9197
9198 { echo "$as_me:$LINENO: result: $result" >&5
9199 echo "${ECHO_T}$result" >&6; }
9200
9201
9202 enablestring=
9203 defaultval=$wxUSE_ALL_FEATURES
9204 if test -z "$defaultval"; then
9205 if test x"$enablestring" = xdisable; then
9206 defaultval=yes
9207 else
9208 defaultval=no
9209 fi
9210 fi
9211
9212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9213 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9214 # Check whether --enable-printarch was given.
9215 if test "${enable_printarch+set}" = set; then
9216 enableval=$enable_printarch;
9217 if test "$enableval" = yes; then
9218 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9219 else
9220 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9221 fi
9222
9223 else
9224
9225 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9226
9227 fi
9228
9229
9230 eval "$wx_cv_use_printarch"
9231
9232 if test x"$enablestring" = xdisable; then
9233 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9234 result=no
9235 else
9236 result=yes
9237 fi
9238 else
9239 result=$wxUSE_PRINTING_ARCHITECTURE
9240 fi
9241
9242 { echo "$as_me:$LINENO: result: $result" >&5
9243 echo "${ECHO_T}$result" >&6; }
9244
9245
9246 enablestring=
9247 defaultval=$wxUSE_ALL_FEATURES
9248 if test -z "$defaultval"; then
9249 if test x"$enablestring" = xdisable; then
9250 defaultval=yes
9251 else
9252 defaultval=no
9253 fi
9254 fi
9255
9256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9257 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9258 # Check whether --enable-svg was given.
9259 if test "${enable_svg+set}" = set; then
9260 enableval=$enable_svg;
9261 if test "$enableval" = yes; then
9262 wx_cv_use_svg='wxUSE_SVG=yes'
9263 else
9264 wx_cv_use_svg='wxUSE_SVG=no'
9265 fi
9266
9267 else
9268
9269 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9270
9271 fi
9272
9273
9274 eval "$wx_cv_use_svg"
9275
9276 if test x"$enablestring" = xdisable; then
9277 if test $wxUSE_SVG = yes; then
9278 result=no
9279 else
9280 result=yes
9281 fi
9282 else
9283 result=$wxUSE_SVG
9284 fi
9285
9286 { echo "$as_me:$LINENO: result: $result" >&5
9287 echo "${ECHO_T}$result" >&6; }
9288
9289
9290
9291
9292 enablestring=
9293 defaultval=$wxUSE_ALL_FEATURES
9294 if test -z "$defaultval"; then
9295 if test x"$enablestring" = xdisable; then
9296 defaultval=yes
9297 else
9298 defaultval=no
9299 fi
9300 fi
9301
9302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9303 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9304 # Check whether --enable-clipboard was given.
9305 if test "${enable_clipboard+set}" = set; then
9306 enableval=$enable_clipboard;
9307 if test "$enableval" = yes; then
9308 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9309 else
9310 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9311 fi
9312
9313 else
9314
9315 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9316
9317 fi
9318
9319
9320 eval "$wx_cv_use_clipboard"
9321
9322 if test x"$enablestring" = xdisable; then
9323 if test $wxUSE_CLIPBOARD = yes; then
9324 result=no
9325 else
9326 result=yes
9327 fi
9328 else
9329 result=$wxUSE_CLIPBOARD
9330 fi
9331
9332 { echo "$as_me:$LINENO: result: $result" >&5
9333 echo "${ECHO_T}$result" >&6; }
9334
9335
9336 enablestring=
9337 defaultval=$wxUSE_ALL_FEATURES
9338 if test -z "$defaultval"; then
9339 if test x"$enablestring" = xdisable; then
9340 defaultval=yes
9341 else
9342 defaultval=no
9343 fi
9344 fi
9345
9346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9347 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9348 # Check whether --enable-dnd was given.
9349 if test "${enable_dnd+set}" = set; then
9350 enableval=$enable_dnd;
9351 if test "$enableval" = yes; then
9352 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9353 else
9354 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9355 fi
9356
9357 else
9358
9359 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9360
9361 fi
9362
9363
9364 eval "$wx_cv_use_dnd"
9365
9366 if test x"$enablestring" = xdisable; then
9367 if test $wxUSE_DRAG_AND_DROP = yes; then
9368 result=no
9369 else
9370 result=yes
9371 fi
9372 else
9373 result=$wxUSE_DRAG_AND_DROP
9374 fi
9375
9376 { echo "$as_me:$LINENO: result: $result" >&5
9377 echo "${ECHO_T}$result" >&6; }
9378
9379
9380 enablestring=
9381 defaultval=$wxUSE_ALL_FEATURES
9382 if test -z "$defaultval"; then
9383 if test x"$enablestring" = xdisable; then
9384 defaultval=yes
9385 else
9386 defaultval=no
9387 fi
9388 fi
9389
9390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9391 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9392 # Check whether --enable-metafile was given.
9393 if test "${enable_metafile+set}" = set; then
9394 enableval=$enable_metafile;
9395 if test "$enableval" = yes; then
9396 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9397 else
9398 wx_cv_use_metafile='wxUSE_METAFILE=no'
9399 fi
9400
9401 else
9402
9403 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9404
9405 fi
9406
9407
9408 eval "$wx_cv_use_metafile"
9409
9410 if test x"$enablestring" = xdisable; then
9411 if test $wxUSE_METAFILE = yes; then
9412 result=no
9413 else
9414 result=yes
9415 fi
9416 else
9417 result=$wxUSE_METAFILE
9418 fi
9419
9420 { echo "$as_me:$LINENO: result: $result" >&5
9421 echo "${ECHO_T}$result" >&6; }
9422
9423
9424
9425 DEFAULT_wxUSE_CONTROLS=none
9426
9427 enablestring=disable
9428 defaultval=
9429 if test -z "$defaultval"; then
9430 if test x"$enablestring" = xdisable; then
9431 defaultval=yes
9432 else
9433 defaultval=no
9434 fi
9435 fi
9436
9437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9438 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9439 # Check whether --enable-controls was given.
9440 if test "${enable_controls+set}" = set; then
9441 enableval=$enable_controls;
9442 if test "$enableval" = yes; then
9443 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9444 else
9445 wx_cv_use_controls='wxUSE_CONTROLS=no'
9446 fi
9447
9448 else
9449
9450 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9451
9452 fi
9453
9454
9455 eval "$wx_cv_use_controls"
9456
9457 if test x"$enablestring" = xdisable; then
9458 if test $wxUSE_CONTROLS = yes; then
9459 result=no
9460 else
9461 result=yes
9462 fi
9463 else
9464 result=$wxUSE_CONTROLS
9465 fi
9466
9467 { echo "$as_me:$LINENO: result: $result" >&5
9468 echo "${ECHO_T}$result" >&6; }
9469
9470
9471 if test "$wxUSE_CONTROLS" = "no"; then
9472 DEFAULT_wxUSE_ACCEL=no
9473 DEFAULT_wxUSE_ANIMATIONCTRL=no
9474 DEFAULT_wxUSE_BMPBUTTON=no
9475 DEFAULT_wxUSE_BUTTON=no
9476 DEFAULT_wxUSE_CALCTRL=no
9477 DEFAULT_wxUSE_CARET=no
9478 DEFAULT_wxUSE_CHECKBOX=no
9479 DEFAULT_wxUSE_CHECKLISTBOX=no
9480 DEFAULT_wxUSE_CHOICE=no
9481 DEFAULT_wxUSE_CHOICEBOOK=no
9482 DEFAULT_wxUSE_COLLPANE=no
9483 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9484 DEFAULT_wxUSE_COMBOBOX=no
9485 DEFAULT_wxUSE_COMBOBOX=no
9486 DEFAULT_wxUSE_DATAVIEWCTRL=no
9487 DEFAULT_wxUSE_DATEPICKCTRL=no
9488 DEFAULT_wxUSE_DETECT_SM=no
9489 DEFAULT_wxUSE_DIRPICKERCTRL=no
9490 DEFAULT_wxUSE_DISPLAY=no
9491 DEFAULT_wxUSE_FILECTRL=no
9492 DEFAULT_wxUSE_FILEPICKERCTRL=no
9493 DEFAULT_wxUSE_FONTPICKERCTRL=no
9494 DEFAULT_wxUSE_GAUGE=no
9495 DEFAULT_wxUSE_GRID=no
9496 DEFAULT_wxUSE_HEADERCTRL=no
9497 DEFAULT_wxUSE_HYPERLINKCTRL=no
9498 DEFAULT_wxUSE_IMAGLIST=no
9499 DEFAULT_wxUSE_LISTBOOK=no
9500 DEFAULT_wxUSE_LISTBOX=no
9501 DEFAULT_wxUSE_LISTCTRL=no
9502 DEFAULT_wxUSE_NOTEBOOK=no
9503 DEFAULT_wxUSE_POPUPWIN=no
9504 DEFAULT_wxUSE_RADIOBOX=no
9505 DEFAULT_wxUSE_RADIOBTN=no
9506 DEFAULT_wxUSE_REARRANGECTRL=no
9507 DEFAULT_wxUSE_SASH=no
9508 DEFAULT_wxUSE_SCROLLBAR=no
9509 DEFAULT_wxUSE_SEARCHCTRL=no
9510 DEFAULT_wxUSE_SLIDER=no
9511 DEFAULT_wxUSE_SPINBTN=no
9512 DEFAULT_wxUSE_SPINCTRL=no
9513 DEFAULT_wxUSE_SPLITTER=no
9514 DEFAULT_wxUSE_STATBMP=no
9515 DEFAULT_wxUSE_STATBOX=no
9516 DEFAULT_wxUSE_STATLINE=no
9517 DEFAULT_wxUSE_STATUSBAR=no
9518 DEFAULT_wxUSE_TIPWINDOW=no
9519 DEFAULT_wxUSE_TOGGLEBTN=no
9520 DEFAULT_wxUSE_TOOLBAR=no
9521 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9522 DEFAULT_wxUSE_TOOLBOOK=no
9523 DEFAULT_wxUSE_TOOLTIPS=no
9524 DEFAULT_wxUSE_TREEBOOK=no
9525 DEFAULT_wxUSE_TREECTRL=no
9526 fi
9527
9528
9529 enablestring=
9530 defaultval=$wxUSE_ALL_FEATURES
9531 if test -z "$defaultval"; then
9532 if test x"$enablestring" = xdisable; then
9533 defaultval=yes
9534 else
9535 defaultval=no
9536 fi
9537 fi
9538
9539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9540 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9541 # Check whether --enable-accel was given.
9542 if test "${enable_accel+set}" = set; then
9543 enableval=$enable_accel;
9544 if test "$enableval" = yes; then
9545 wx_cv_use_accel='wxUSE_ACCEL=yes'
9546 else
9547 wx_cv_use_accel='wxUSE_ACCEL=no'
9548 fi
9549
9550 else
9551
9552 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9553
9554 fi
9555
9556
9557 eval "$wx_cv_use_accel"
9558
9559 if test x"$enablestring" = xdisable; then
9560 if test $wxUSE_ACCEL = yes; then
9561 result=no
9562 else
9563 result=yes
9564 fi
9565 else
9566 result=$wxUSE_ACCEL
9567 fi
9568
9569 { echo "$as_me:$LINENO: result: $result" >&5
9570 echo "${ECHO_T}$result" >&6; }
9571
9572
9573 enablestring=
9574 defaultval=$wxUSE_ALL_FEATURES
9575 if test -z "$defaultval"; then
9576 if test x"$enablestring" = xdisable; then
9577 defaultval=yes
9578 else
9579 defaultval=no
9580 fi
9581 fi
9582
9583 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9584 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9585 # Check whether --enable-animatectrl was given.
9586 if test "${enable_animatectrl+set}" = set; then
9587 enableval=$enable_animatectrl;
9588 if test "$enableval" = yes; then
9589 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9590 else
9591 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9592 fi
9593
9594 else
9595
9596 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9597
9598 fi
9599
9600
9601 eval "$wx_cv_use_animatectrl"
9602
9603 if test x"$enablestring" = xdisable; then
9604 if test $wxUSE_ANIMATIONCTRL = yes; then
9605 result=no
9606 else
9607 result=yes
9608 fi
9609 else
9610 result=$wxUSE_ANIMATIONCTRL
9611 fi
9612
9613 { echo "$as_me:$LINENO: result: $result" >&5
9614 echo "${ECHO_T}$result" >&6; }
9615
9616
9617 enablestring=
9618 defaultval=$wxUSE_ALL_FEATURES
9619 if test -z "$defaultval"; then
9620 if test x"$enablestring" = xdisable; then
9621 defaultval=yes
9622 else
9623 defaultval=no
9624 fi
9625 fi
9626
9627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9628 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9629 # Check whether --enable-bmpbutton was given.
9630 if test "${enable_bmpbutton+set}" = set; then
9631 enableval=$enable_bmpbutton;
9632 if test "$enableval" = yes; then
9633 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9634 else
9635 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9636 fi
9637
9638 else
9639
9640 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9641
9642 fi
9643
9644
9645 eval "$wx_cv_use_bmpbutton"
9646
9647 if test x"$enablestring" = xdisable; then
9648 if test $wxUSE_BMPBUTTON = yes; then
9649 result=no
9650 else
9651 result=yes
9652 fi
9653 else
9654 result=$wxUSE_BMPBUTTON
9655 fi
9656
9657 { echo "$as_me:$LINENO: result: $result" >&5
9658 echo "${ECHO_T}$result" >&6; }
9659
9660
9661 enablestring=
9662 defaultval=$wxUSE_ALL_FEATURES
9663 if test -z "$defaultval"; then
9664 if test x"$enablestring" = xdisable; then
9665 defaultval=yes
9666 else
9667 defaultval=no
9668 fi
9669 fi
9670
9671 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9672 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9673 # Check whether --enable-bmpcombobox was given.
9674 if test "${enable_bmpcombobox+set}" = set; then
9675 enableval=$enable_bmpcombobox;
9676 if test "$enableval" = yes; then
9677 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9678 else
9679 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9680 fi
9681
9682 else
9683
9684 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9685
9686 fi
9687
9688
9689 eval "$wx_cv_use_bmpcombobox"
9690
9691 if test x"$enablestring" = xdisable; then
9692 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9693 result=no
9694 else
9695 result=yes
9696 fi
9697 else
9698 result=$wxUSE_BITMAPCOMBOBOX
9699 fi
9700
9701 { echo "$as_me:$LINENO: result: $result" >&5
9702 echo "${ECHO_T}$result" >&6; }
9703
9704
9705 enablestring=
9706 defaultval=$wxUSE_ALL_FEATURES
9707 if test -z "$defaultval"; then
9708 if test x"$enablestring" = xdisable; then
9709 defaultval=yes
9710 else
9711 defaultval=no
9712 fi
9713 fi
9714
9715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9716 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9717 # Check whether --enable-button was given.
9718 if test "${enable_button+set}" = set; then
9719 enableval=$enable_button;
9720 if test "$enableval" = yes; then
9721 wx_cv_use_button='wxUSE_BUTTON=yes'
9722 else
9723 wx_cv_use_button='wxUSE_BUTTON=no'
9724 fi
9725
9726 else
9727
9728 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9729
9730 fi
9731
9732
9733 eval "$wx_cv_use_button"
9734
9735 if test x"$enablestring" = xdisable; then
9736 if test $wxUSE_BUTTON = yes; then
9737 result=no
9738 else
9739 result=yes
9740 fi
9741 else
9742 result=$wxUSE_BUTTON
9743 fi
9744
9745 { echo "$as_me:$LINENO: result: $result" >&5
9746 echo "${ECHO_T}$result" >&6; }
9747
9748
9749 enablestring=
9750 defaultval=$wxUSE_ALL_FEATURES
9751 if test -z "$defaultval"; then
9752 if test x"$enablestring" = xdisable; then
9753 defaultval=yes
9754 else
9755 defaultval=no
9756 fi
9757 fi
9758
9759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9760 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9761 # Check whether --enable-calendar was given.
9762 if test "${enable_calendar+set}" = set; then
9763 enableval=$enable_calendar;
9764 if test "$enableval" = yes; then
9765 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9766 else
9767 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9768 fi
9769
9770 else
9771
9772 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9773
9774 fi
9775
9776
9777 eval "$wx_cv_use_calendar"
9778
9779 if test x"$enablestring" = xdisable; then
9780 if test $wxUSE_CALCTRL = yes; then
9781 result=no
9782 else
9783 result=yes
9784 fi
9785 else
9786 result=$wxUSE_CALCTRL
9787 fi
9788
9789 { echo "$as_me:$LINENO: result: $result" >&5
9790 echo "${ECHO_T}$result" >&6; }
9791
9792
9793 enablestring=
9794 defaultval=$wxUSE_ALL_FEATURES
9795 if test -z "$defaultval"; then
9796 if test x"$enablestring" = xdisable; then
9797 defaultval=yes
9798 else
9799 defaultval=no
9800 fi
9801 fi
9802
9803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9804 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9805 # Check whether --enable-caret was given.
9806 if test "${enable_caret+set}" = set; then
9807 enableval=$enable_caret;
9808 if test "$enableval" = yes; then
9809 wx_cv_use_caret='wxUSE_CARET=yes'
9810 else
9811 wx_cv_use_caret='wxUSE_CARET=no'
9812 fi
9813
9814 else
9815
9816 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9817
9818 fi
9819
9820
9821 eval "$wx_cv_use_caret"
9822
9823 if test x"$enablestring" = xdisable; then
9824 if test $wxUSE_CARET = yes; then
9825 result=no
9826 else
9827 result=yes
9828 fi
9829 else
9830 result=$wxUSE_CARET
9831 fi
9832
9833 { echo "$as_me:$LINENO: result: $result" >&5
9834 echo "${ECHO_T}$result" >&6; }
9835
9836
9837 enablestring=
9838 defaultval=$wxUSE_ALL_FEATURES
9839 if test -z "$defaultval"; then
9840 if test x"$enablestring" = xdisable; then
9841 defaultval=yes
9842 else
9843 defaultval=no
9844 fi
9845 fi
9846
9847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9848 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9849 # Check whether --enable-checkbox was given.
9850 if test "${enable_checkbox+set}" = set; then
9851 enableval=$enable_checkbox;
9852 if test "$enableval" = yes; then
9853 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9854 else
9855 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9856 fi
9857
9858 else
9859
9860 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9861
9862 fi
9863
9864
9865 eval "$wx_cv_use_checkbox"
9866
9867 if test x"$enablestring" = xdisable; then
9868 if test $wxUSE_CHECKBOX = yes; then
9869 result=no
9870 else
9871 result=yes
9872 fi
9873 else
9874 result=$wxUSE_CHECKBOX
9875 fi
9876
9877 { echo "$as_me:$LINENO: result: $result" >&5
9878 echo "${ECHO_T}$result" >&6; }
9879
9880
9881 enablestring=
9882 defaultval=$wxUSE_ALL_FEATURES
9883 if test -z "$defaultval"; then
9884 if test x"$enablestring" = xdisable; then
9885 defaultval=yes
9886 else
9887 defaultval=no
9888 fi
9889 fi
9890
9891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9892 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9893 # Check whether --enable-checklst was given.
9894 if test "${enable_checklst+set}" = set; then
9895 enableval=$enable_checklst;
9896 if test "$enableval" = yes; then
9897 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9898 else
9899 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9900 fi
9901
9902 else
9903
9904 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9905
9906 fi
9907
9908
9909 eval "$wx_cv_use_checklst"
9910
9911 if test x"$enablestring" = xdisable; then
9912 if test $wxUSE_CHECKLST = yes; then
9913 result=no
9914 else
9915 result=yes
9916 fi
9917 else
9918 result=$wxUSE_CHECKLST
9919 fi
9920
9921 { echo "$as_me:$LINENO: result: $result" >&5
9922 echo "${ECHO_T}$result" >&6; }
9923
9924
9925 enablestring=
9926 defaultval=$wxUSE_ALL_FEATURES
9927 if test -z "$defaultval"; then
9928 if test x"$enablestring" = xdisable; then
9929 defaultval=yes
9930 else
9931 defaultval=no
9932 fi
9933 fi
9934
9935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9936 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9937 # Check whether --enable-choice was given.
9938 if test "${enable_choice+set}" = set; then
9939 enableval=$enable_choice;
9940 if test "$enableval" = yes; then
9941 wx_cv_use_choice='wxUSE_CHOICE=yes'
9942 else
9943 wx_cv_use_choice='wxUSE_CHOICE=no'
9944 fi
9945
9946 else
9947
9948 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9949
9950 fi
9951
9952
9953 eval "$wx_cv_use_choice"
9954
9955 if test x"$enablestring" = xdisable; then
9956 if test $wxUSE_CHOICE = yes; then
9957 result=no
9958 else
9959 result=yes
9960 fi
9961 else
9962 result=$wxUSE_CHOICE
9963 fi
9964
9965 { echo "$as_me:$LINENO: result: $result" >&5
9966 echo "${ECHO_T}$result" >&6; }
9967
9968
9969 enablestring=
9970 defaultval=$wxUSE_ALL_FEATURES
9971 if test -z "$defaultval"; then
9972 if test x"$enablestring" = xdisable; then
9973 defaultval=yes
9974 else
9975 defaultval=no
9976 fi
9977 fi
9978
9979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9980 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9981 # Check whether --enable-choicebook was given.
9982 if test "${enable_choicebook+set}" = set; then
9983 enableval=$enable_choicebook;
9984 if test "$enableval" = yes; then
9985 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9986 else
9987 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9988 fi
9989
9990 else
9991
9992 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9993
9994 fi
9995
9996
9997 eval "$wx_cv_use_choicebook"
9998
9999 if test x"$enablestring" = xdisable; then
10000 if test $wxUSE_CHOICEBOOK = yes; then
10001 result=no
10002 else
10003 result=yes
10004 fi
10005 else
10006 result=$wxUSE_CHOICEBOOK
10007 fi
10008
10009 { echo "$as_me:$LINENO: result: $result" >&5
10010 echo "${ECHO_T}$result" >&6; }
10011
10012
10013 enablestring=
10014 defaultval=$wxUSE_ALL_FEATURES
10015 if test -z "$defaultval"; then
10016 if test x"$enablestring" = xdisable; then
10017 defaultval=yes
10018 else
10019 defaultval=no
10020 fi
10021 fi
10022
10023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10024 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10025 # Check whether --enable-collpane was given.
10026 if test "${enable_collpane+set}" = set; then
10027 enableval=$enable_collpane;
10028 if test "$enableval" = yes; then
10029 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10030 else
10031 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10032 fi
10033
10034 else
10035
10036 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10037
10038 fi
10039
10040
10041 eval "$wx_cv_use_collpane"
10042
10043 if test x"$enablestring" = xdisable; then
10044 if test $wxUSE_COLLPANE = yes; then
10045 result=no
10046 else
10047 result=yes
10048 fi
10049 else
10050 result=$wxUSE_COLLPANE
10051 fi
10052
10053 { echo "$as_me:$LINENO: result: $result" >&5
10054 echo "${ECHO_T}$result" >&6; }
10055
10056
10057 enablestring=
10058 defaultval=$wxUSE_ALL_FEATURES
10059 if test -z "$defaultval"; then
10060 if test x"$enablestring" = xdisable; then
10061 defaultval=yes
10062 else
10063 defaultval=no
10064 fi
10065 fi
10066
10067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10068 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10069 # Check whether --enable-colourpicker was given.
10070 if test "${enable_colourpicker+set}" = set; then
10071 enableval=$enable_colourpicker;
10072 if test "$enableval" = yes; then
10073 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10074 else
10075 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10076 fi
10077
10078 else
10079
10080 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10081
10082 fi
10083
10084
10085 eval "$wx_cv_use_colourpicker"
10086
10087 if test x"$enablestring" = xdisable; then
10088 if test $wxUSE_COLOURPICKERCTRL = yes; then
10089 result=no
10090 else
10091 result=yes
10092 fi
10093 else
10094 result=$wxUSE_COLOURPICKERCTRL
10095 fi
10096
10097 { echo "$as_me:$LINENO: result: $result" >&5
10098 echo "${ECHO_T}$result" >&6; }
10099
10100
10101 enablestring=
10102 defaultval=$wxUSE_ALL_FEATURES
10103 if test -z "$defaultval"; then
10104 if test x"$enablestring" = xdisable; then
10105 defaultval=yes
10106 else
10107 defaultval=no
10108 fi
10109 fi
10110
10111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10112 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10113 # Check whether --enable-combobox was given.
10114 if test "${enable_combobox+set}" = set; then
10115 enableval=$enable_combobox;
10116 if test "$enableval" = yes; then
10117 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10118 else
10119 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10120 fi
10121
10122 else
10123
10124 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10125
10126 fi
10127
10128
10129 eval "$wx_cv_use_combobox"
10130
10131 if test x"$enablestring" = xdisable; then
10132 if test $wxUSE_COMBOBOX = yes; then
10133 result=no
10134 else
10135 result=yes
10136 fi
10137 else
10138 result=$wxUSE_COMBOBOX
10139 fi
10140
10141 { echo "$as_me:$LINENO: result: $result" >&5
10142 echo "${ECHO_T}$result" >&6; }
10143
10144
10145 enablestring=
10146 defaultval=$wxUSE_ALL_FEATURES
10147 if test -z "$defaultval"; then
10148 if test x"$enablestring" = xdisable; then
10149 defaultval=yes
10150 else
10151 defaultval=no
10152 fi
10153 fi
10154
10155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10156 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10157 # Check whether --enable-comboctrl was given.
10158 if test "${enable_comboctrl+set}" = set; then
10159 enableval=$enable_comboctrl;
10160 if test "$enableval" = yes; then
10161 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10162 else
10163 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10164 fi
10165
10166 else
10167
10168 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10169
10170 fi
10171
10172
10173 eval "$wx_cv_use_comboctrl"
10174
10175 if test x"$enablestring" = xdisable; then
10176 if test $wxUSE_COMBOCTRL = yes; then
10177 result=no
10178 else
10179 result=yes
10180 fi
10181 else
10182 result=$wxUSE_COMBOCTRL
10183 fi
10184
10185 { echo "$as_me:$LINENO: result: $result" >&5
10186 echo "${ECHO_T}$result" >&6; }
10187
10188
10189 enablestring=
10190 defaultval=$wxUSE_ALL_FEATURES
10191 if test -z "$defaultval"; then
10192 if test x"$enablestring" = xdisable; then
10193 defaultval=yes
10194 else
10195 defaultval=no
10196 fi
10197 fi
10198
10199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10200 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10201 # Check whether --enable-dataviewctrl was given.
10202 if test "${enable_dataviewctrl+set}" = set; then
10203 enableval=$enable_dataviewctrl;
10204 if test "$enableval" = yes; then
10205 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10206 else
10207 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10208 fi
10209
10210 else
10211
10212 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10213
10214 fi
10215
10216
10217 eval "$wx_cv_use_dataviewctrl"
10218
10219 if test x"$enablestring" = xdisable; then
10220 if test $wxUSE_DATAVIEWCTRL = yes; then
10221 result=no
10222 else
10223 result=yes
10224 fi
10225 else
10226 result=$wxUSE_DATAVIEWCTRL
10227 fi
10228
10229 { echo "$as_me:$LINENO: result: $result" >&5
10230 echo "${ECHO_T}$result" >&6; }
10231
10232
10233 enablestring=
10234 defaultval=$wxUSE_ALL_FEATURES
10235 if test -z "$defaultval"; then
10236 if test x"$enablestring" = xdisable; then
10237 defaultval=yes
10238 else
10239 defaultval=no
10240 fi
10241 fi
10242
10243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10244 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10245 # Check whether --enable-datepick was given.
10246 if test "${enable_datepick+set}" = set; then
10247 enableval=$enable_datepick;
10248 if test "$enableval" = yes; then
10249 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10250 else
10251 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10252 fi
10253
10254 else
10255
10256 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10257
10258 fi
10259
10260
10261 eval "$wx_cv_use_datepick"
10262
10263 if test x"$enablestring" = xdisable; then
10264 if test $wxUSE_DATEPICKCTRL = yes; then
10265 result=no
10266 else
10267 result=yes
10268 fi
10269 else
10270 result=$wxUSE_DATEPICKCTRL
10271 fi
10272
10273 { echo "$as_me:$LINENO: result: $result" >&5
10274 echo "${ECHO_T}$result" >&6; }
10275
10276
10277 enablestring=
10278 defaultval=$wxUSE_ALL_FEATURES
10279 if test -z "$defaultval"; then
10280 if test x"$enablestring" = xdisable; then
10281 defaultval=yes
10282 else
10283 defaultval=no
10284 fi
10285 fi
10286
10287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10288 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10289 # Check whether --enable-detect_sm was given.
10290 if test "${enable_detect_sm+set}" = set; then
10291 enableval=$enable_detect_sm;
10292 if test "$enableval" = yes; then
10293 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10294 else
10295 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10296 fi
10297
10298 else
10299
10300 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10301
10302 fi
10303
10304
10305 eval "$wx_cv_use_detect_sm"
10306
10307 if test x"$enablestring" = xdisable; then
10308 if test $wxUSE_DETECT_SM = yes; then
10309 result=no
10310 else
10311 result=yes
10312 fi
10313 else
10314 result=$wxUSE_DETECT_SM
10315 fi
10316
10317 { echo "$as_me:$LINENO: result: $result" >&5
10318 echo "${ECHO_T}$result" >&6; }
10319
10320
10321 enablestring=
10322 defaultval=$wxUSE_ALL_FEATURES
10323 if test -z "$defaultval"; then
10324 if test x"$enablestring" = xdisable; then
10325 defaultval=yes
10326 else
10327 defaultval=no
10328 fi
10329 fi
10330
10331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10332 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10333 # Check whether --enable-dirpicker was given.
10334 if test "${enable_dirpicker+set}" = set; then
10335 enableval=$enable_dirpicker;
10336 if test "$enableval" = yes; then
10337 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10338 else
10339 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10340 fi
10341
10342 else
10343
10344 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10345
10346 fi
10347
10348
10349 eval "$wx_cv_use_dirpicker"
10350
10351 if test x"$enablestring" = xdisable; then
10352 if test $wxUSE_DIRPICKERCTRL = yes; then
10353 result=no
10354 else
10355 result=yes
10356 fi
10357 else
10358 result=$wxUSE_DIRPICKERCTRL
10359 fi
10360
10361 { echo "$as_me:$LINENO: result: $result" >&5
10362 echo "${ECHO_T}$result" >&6; }
10363
10364
10365 enablestring=
10366 defaultval=$wxUSE_ALL_FEATURES
10367 if test -z "$defaultval"; then
10368 if test x"$enablestring" = xdisable; then
10369 defaultval=yes
10370 else
10371 defaultval=no
10372 fi
10373 fi
10374
10375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10376 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10377 # Check whether --enable-display was given.
10378 if test "${enable_display+set}" = set; then
10379 enableval=$enable_display;
10380 if test "$enableval" = yes; then
10381 wx_cv_use_display='wxUSE_DISPLAY=yes'
10382 else
10383 wx_cv_use_display='wxUSE_DISPLAY=no'
10384 fi
10385
10386 else
10387
10388 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10389
10390 fi
10391
10392
10393 eval "$wx_cv_use_display"
10394
10395 if test x"$enablestring" = xdisable; then
10396 if test $wxUSE_DISPLAY = yes; then
10397 result=no
10398 else
10399 result=yes
10400 fi
10401 else
10402 result=$wxUSE_DISPLAY
10403 fi
10404
10405 { echo "$as_me:$LINENO: result: $result" >&5
10406 echo "${ECHO_T}$result" >&6; }
10407
10408
10409 enablestring=
10410 defaultval=$wxUSE_ALL_FEATURES
10411 if test -z "$defaultval"; then
10412 if test x"$enablestring" = xdisable; then
10413 defaultval=yes
10414 else
10415 defaultval=no
10416 fi
10417 fi
10418
10419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10420 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10421 # Check whether --enable-editablebox was given.
10422 if test "${enable_editablebox+set}" = set; then
10423 enableval=$enable_editablebox;
10424 if test "$enableval" = yes; then
10425 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10426 else
10427 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10428 fi
10429
10430 else
10431
10432 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10433
10434 fi
10435
10436
10437 eval "$wx_cv_use_editablebox"
10438
10439 if test x"$enablestring" = xdisable; then
10440 if test $wxUSE_EDITABLELISTBOX = yes; then
10441 result=no
10442 else
10443 result=yes
10444 fi
10445 else
10446 result=$wxUSE_EDITABLELISTBOX
10447 fi
10448
10449 { echo "$as_me:$LINENO: result: $result" >&5
10450 echo "${ECHO_T}$result" >&6; }
10451
10452
10453 enablestring=
10454 defaultval=$wxUSE_ALL_FEATURES
10455 if test -z "$defaultval"; then
10456 if test x"$enablestring" = xdisable; then
10457 defaultval=yes
10458 else
10459 defaultval=no
10460 fi
10461 fi
10462
10463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10464 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10465 # Check whether --enable-filectrl was given.
10466 if test "${enable_filectrl+set}" = set; then
10467 enableval=$enable_filectrl;
10468 if test "$enableval" = yes; then
10469 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10470 else
10471 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10472 fi
10473
10474 else
10475
10476 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10477
10478 fi
10479
10480
10481 eval "$wx_cv_use_filectrl"
10482
10483 if test x"$enablestring" = xdisable; then
10484 if test $wxUSE_FILECTRL = yes; then
10485 result=no
10486 else
10487 result=yes
10488 fi
10489 else
10490 result=$wxUSE_FILECTRL
10491 fi
10492
10493 { echo "$as_me:$LINENO: result: $result" >&5
10494 echo "${ECHO_T}$result" >&6; }
10495
10496
10497 enablestring=
10498 defaultval=$wxUSE_ALL_FEATURES
10499 if test -z "$defaultval"; then
10500 if test x"$enablestring" = xdisable; then
10501 defaultval=yes
10502 else
10503 defaultval=no
10504 fi
10505 fi
10506
10507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10508 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10509 # Check whether --enable-filepicker was given.
10510 if test "${enable_filepicker+set}" = set; then
10511 enableval=$enable_filepicker;
10512 if test "$enableval" = yes; then
10513 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10514 else
10515 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10516 fi
10517
10518 else
10519
10520 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10521
10522 fi
10523
10524
10525 eval "$wx_cv_use_filepicker"
10526
10527 if test x"$enablestring" = xdisable; then
10528 if test $wxUSE_FILEPICKERCTRL = yes; then
10529 result=no
10530 else
10531 result=yes
10532 fi
10533 else
10534 result=$wxUSE_FILEPICKERCTRL
10535 fi
10536
10537 { echo "$as_me:$LINENO: result: $result" >&5
10538 echo "${ECHO_T}$result" >&6; }
10539
10540
10541 enablestring=
10542 defaultval=$wxUSE_ALL_FEATURES
10543 if test -z "$defaultval"; then
10544 if test x"$enablestring" = xdisable; then
10545 defaultval=yes
10546 else
10547 defaultval=no
10548 fi
10549 fi
10550
10551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10552 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10553 # Check whether --enable-fontpicker was given.
10554 if test "${enable_fontpicker+set}" = set; then
10555 enableval=$enable_fontpicker;
10556 if test "$enableval" = yes; then
10557 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10558 else
10559 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10560 fi
10561
10562 else
10563
10564 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10565
10566 fi
10567
10568
10569 eval "$wx_cv_use_fontpicker"
10570
10571 if test x"$enablestring" = xdisable; then
10572 if test $wxUSE_FONTPICKERCTRL = yes; then
10573 result=no
10574 else
10575 result=yes
10576 fi
10577 else
10578 result=$wxUSE_FONTPICKERCTRL
10579 fi
10580
10581 { echo "$as_me:$LINENO: result: $result" >&5
10582 echo "${ECHO_T}$result" >&6; }
10583
10584
10585 enablestring=
10586 defaultval=$wxUSE_ALL_FEATURES
10587 if test -z "$defaultval"; then
10588 if test x"$enablestring" = xdisable; then
10589 defaultval=yes
10590 else
10591 defaultval=no
10592 fi
10593 fi
10594
10595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10596 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10597 # Check whether --enable-gauge was given.
10598 if test "${enable_gauge+set}" = set; then
10599 enableval=$enable_gauge;
10600 if test "$enableval" = yes; then
10601 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10602 else
10603 wx_cv_use_gauge='wxUSE_GAUGE=no'
10604 fi
10605
10606 else
10607
10608 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10609
10610 fi
10611
10612
10613 eval "$wx_cv_use_gauge"
10614
10615 if test x"$enablestring" = xdisable; then
10616 if test $wxUSE_GAUGE = yes; then
10617 result=no
10618 else
10619 result=yes
10620 fi
10621 else
10622 result=$wxUSE_GAUGE
10623 fi
10624
10625 { echo "$as_me:$LINENO: result: $result" >&5
10626 echo "${ECHO_T}$result" >&6; }
10627
10628
10629 enablestring=
10630 defaultval=$wxUSE_ALL_FEATURES
10631 if test -z "$defaultval"; then
10632 if test x"$enablestring" = xdisable; then
10633 defaultval=yes
10634 else
10635 defaultval=no
10636 fi
10637 fi
10638
10639 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10640 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10641 # Check whether --enable-grid was given.
10642 if test "${enable_grid+set}" = set; then
10643 enableval=$enable_grid;
10644 if test "$enableval" = yes; then
10645 wx_cv_use_grid='wxUSE_GRID=yes'
10646 else
10647 wx_cv_use_grid='wxUSE_GRID=no'
10648 fi
10649
10650 else
10651
10652 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10653
10654 fi
10655
10656
10657 eval "$wx_cv_use_grid"
10658
10659 if test x"$enablestring" = xdisable; then
10660 if test $wxUSE_GRID = yes; then
10661 result=no
10662 else
10663 result=yes
10664 fi
10665 else
10666 result=$wxUSE_GRID
10667 fi
10668
10669 { echo "$as_me:$LINENO: result: $result" >&5
10670 echo "${ECHO_T}$result" >&6; }
10671
10672
10673 enablestring=
10674 defaultval=$wxUSE_ALL_FEATURES
10675 if test -z "$defaultval"; then
10676 if test x"$enablestring" = xdisable; then
10677 defaultval=yes
10678 else
10679 defaultval=no
10680 fi
10681 fi
10682
10683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10684 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10685 # Check whether --enable-headerctrl was given.
10686 if test "${enable_headerctrl+set}" = set; then
10687 enableval=$enable_headerctrl;
10688 if test "$enableval" = yes; then
10689 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
10690 else
10691 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
10692 fi
10693
10694 else
10695
10696 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10697
10698 fi
10699
10700
10701 eval "$wx_cv_use_headerctrl"
10702
10703 if test x"$enablestring" = xdisable; then
10704 if test $wxUSE_HEADERCTRL = yes; then
10705 result=no
10706 else
10707 result=yes
10708 fi
10709 else
10710 result=$wxUSE_HEADERCTRL
10711 fi
10712
10713 { echo "$as_me:$LINENO: result: $result" >&5
10714 echo "${ECHO_T}$result" >&6; }
10715
10716
10717 enablestring=
10718 defaultval=$wxUSE_ALL_FEATURES
10719 if test -z "$defaultval"; then
10720 if test x"$enablestring" = xdisable; then
10721 defaultval=yes
10722 else
10723 defaultval=no
10724 fi
10725 fi
10726
10727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10728 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10729 # Check whether --enable-hyperlink was given.
10730 if test "${enable_hyperlink+set}" = set; then
10731 enableval=$enable_hyperlink;
10732 if test "$enableval" = yes; then
10733 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10734 else
10735 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10736 fi
10737
10738 else
10739
10740 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10741
10742 fi
10743
10744
10745 eval "$wx_cv_use_hyperlink"
10746
10747 if test x"$enablestring" = xdisable; then
10748 if test $wxUSE_HYPERLINKCTRL = yes; then
10749 result=no
10750 else
10751 result=yes
10752 fi
10753 else
10754 result=$wxUSE_HYPERLINKCTRL
10755 fi
10756
10757 { echo "$as_me:$LINENO: result: $result" >&5
10758 echo "${ECHO_T}$result" >&6; }
10759
10760
10761 enablestring=
10762 defaultval=$wxUSE_ALL_FEATURES
10763 if test -z "$defaultval"; then
10764 if test x"$enablestring" = xdisable; then
10765 defaultval=yes
10766 else
10767 defaultval=no
10768 fi
10769 fi
10770
10771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10772 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10773 # Check whether --enable-imaglist was given.
10774 if test "${enable_imaglist+set}" = set; then
10775 enableval=$enable_imaglist;
10776 if test "$enableval" = yes; then
10777 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10778 else
10779 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10780 fi
10781
10782 else
10783
10784 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10785
10786 fi
10787
10788
10789 eval "$wx_cv_use_imaglist"
10790
10791 if test x"$enablestring" = xdisable; then
10792 if test $wxUSE_IMAGLIST = yes; then
10793 result=no
10794 else
10795 result=yes
10796 fi
10797 else
10798 result=$wxUSE_IMAGLIST
10799 fi
10800
10801 { echo "$as_me:$LINENO: result: $result" >&5
10802 echo "${ECHO_T}$result" >&6; }
10803
10804
10805 enablestring=
10806 defaultval=$wxUSE_ALL_FEATURES
10807 if test -z "$defaultval"; then
10808 if test x"$enablestring" = xdisable; then
10809 defaultval=yes
10810 else
10811 defaultval=no
10812 fi
10813 fi
10814
10815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10816 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10817 # Check whether --enable-listbook was given.
10818 if test "${enable_listbook+set}" = set; then
10819 enableval=$enable_listbook;
10820 if test "$enableval" = yes; then
10821 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10822 else
10823 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10824 fi
10825
10826 else
10827
10828 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10829
10830 fi
10831
10832
10833 eval "$wx_cv_use_listbook"
10834
10835 if test x"$enablestring" = xdisable; then
10836 if test $wxUSE_LISTBOOK = yes; then
10837 result=no
10838 else
10839 result=yes
10840 fi
10841 else
10842 result=$wxUSE_LISTBOOK
10843 fi
10844
10845 { echo "$as_me:$LINENO: result: $result" >&5
10846 echo "${ECHO_T}$result" >&6; }
10847
10848
10849 enablestring=
10850 defaultval=$wxUSE_ALL_FEATURES
10851 if test -z "$defaultval"; then
10852 if test x"$enablestring" = xdisable; then
10853 defaultval=yes
10854 else
10855 defaultval=no
10856 fi
10857 fi
10858
10859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10860 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10861 # Check whether --enable-listbox was given.
10862 if test "${enable_listbox+set}" = set; then
10863 enableval=$enable_listbox;
10864 if test "$enableval" = yes; then
10865 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10866 else
10867 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10868 fi
10869
10870 else
10871
10872 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10873
10874 fi
10875
10876
10877 eval "$wx_cv_use_listbox"
10878
10879 if test x"$enablestring" = xdisable; then
10880 if test $wxUSE_LISTBOX = yes; then
10881 result=no
10882 else
10883 result=yes
10884 fi
10885 else
10886 result=$wxUSE_LISTBOX
10887 fi
10888
10889 { echo "$as_me:$LINENO: result: $result" >&5
10890 echo "${ECHO_T}$result" >&6; }
10891
10892
10893 enablestring=
10894 defaultval=$wxUSE_ALL_FEATURES
10895 if test -z "$defaultval"; then
10896 if test x"$enablestring" = xdisable; then
10897 defaultval=yes
10898 else
10899 defaultval=no
10900 fi
10901 fi
10902
10903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10904 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10905 # Check whether --enable-listctrl was given.
10906 if test "${enable_listctrl+set}" = set; then
10907 enableval=$enable_listctrl;
10908 if test "$enableval" = yes; then
10909 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10910 else
10911 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10912 fi
10913
10914 else
10915
10916 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10917
10918 fi
10919
10920
10921 eval "$wx_cv_use_listctrl"
10922
10923 if test x"$enablestring" = xdisable; then
10924 if test $wxUSE_LISTCTRL = yes; then
10925 result=no
10926 else
10927 result=yes
10928 fi
10929 else
10930 result=$wxUSE_LISTCTRL
10931 fi
10932
10933 { echo "$as_me:$LINENO: result: $result" >&5
10934 echo "${ECHO_T}$result" >&6; }
10935
10936
10937 enablestring=
10938 defaultval=$wxUSE_ALL_FEATURES
10939 if test -z "$defaultval"; then
10940 if test x"$enablestring" = xdisable; then
10941 defaultval=yes
10942 else
10943 defaultval=no
10944 fi
10945 fi
10946
10947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10948 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10949 # Check whether --enable-notebook was given.
10950 if test "${enable_notebook+set}" = set; then
10951 enableval=$enable_notebook;
10952 if test "$enableval" = yes; then
10953 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10954 else
10955 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10956 fi
10957
10958 else
10959
10960 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10961
10962 fi
10963
10964
10965 eval "$wx_cv_use_notebook"
10966
10967 if test x"$enablestring" = xdisable; then
10968 if test $wxUSE_NOTEBOOK = yes; then
10969 result=no
10970 else
10971 result=yes
10972 fi
10973 else
10974 result=$wxUSE_NOTEBOOK
10975 fi
10976
10977 { echo "$as_me:$LINENO: result: $result" >&5
10978 echo "${ECHO_T}$result" >&6; }
10979
10980
10981 enablestring=
10982 defaultval=$wxUSE_ALL_FEATURES
10983 if test -z "$defaultval"; then
10984 if test x"$enablestring" = xdisable; then
10985 defaultval=yes
10986 else
10987 defaultval=no
10988 fi
10989 fi
10990
10991 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10992 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10993 # Check whether --enable-notifmsg was given.
10994 if test "${enable_notifmsg+set}" = set; then
10995 enableval=$enable_notifmsg;
10996 if test "$enableval" = yes; then
10997 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
10998 else
10999 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11000 fi
11001
11002 else
11003
11004 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11005
11006 fi
11007
11008
11009 eval "$wx_cv_use_notifmsg"
11010
11011 if test x"$enablestring" = xdisable; then
11012 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
11013 result=no
11014 else
11015 result=yes
11016 fi
11017 else
11018 result=$wxUSE_NOTIFICATION_MESSAGE
11019 fi
11020
11021 { echo "$as_me:$LINENO: result: $result" >&5
11022 echo "${ECHO_T}$result" >&6; }
11023
11024
11025 enablestring=
11026 defaultval=$wxUSE_ALL_FEATURES
11027 if test -z "$defaultval"; then
11028 if test x"$enablestring" = xdisable; then
11029 defaultval=yes
11030 else
11031 defaultval=no
11032 fi
11033 fi
11034
11035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11036 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11037 # Check whether --enable-odcombobox was given.
11038 if test "${enable_odcombobox+set}" = set; then
11039 enableval=$enable_odcombobox;
11040 if test "$enableval" = yes; then
11041 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11042 else
11043 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11044 fi
11045
11046 else
11047
11048 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11049
11050 fi
11051
11052
11053 eval "$wx_cv_use_odcombobox"
11054
11055 if test x"$enablestring" = xdisable; then
11056 if test $wxUSE_ODCOMBOBOX = yes; then
11057 result=no
11058 else
11059 result=yes
11060 fi
11061 else
11062 result=$wxUSE_ODCOMBOBOX
11063 fi
11064
11065 { echo "$as_me:$LINENO: result: $result" >&5
11066 echo "${ECHO_T}$result" >&6; }
11067
11068
11069 enablestring=
11070 defaultval=$wxUSE_ALL_FEATURES
11071 if test -z "$defaultval"; then
11072 if test x"$enablestring" = xdisable; then
11073 defaultval=yes
11074 else
11075 defaultval=no
11076 fi
11077 fi
11078
11079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11080 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11081 # Check whether --enable-popupwin was given.
11082 if test "${enable_popupwin+set}" = set; then
11083 enableval=$enable_popupwin;
11084 if test "$enableval" = yes; then
11085 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11086 else
11087 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11088 fi
11089
11090 else
11091
11092 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11093
11094 fi
11095
11096
11097 eval "$wx_cv_use_popupwin"
11098
11099 if test x"$enablestring" = xdisable; then
11100 if test $wxUSE_POPUPWIN = yes; then
11101 result=no
11102 else
11103 result=yes
11104 fi
11105 else
11106 result=$wxUSE_POPUPWIN
11107 fi
11108
11109 { echo "$as_me:$LINENO: result: $result" >&5
11110 echo "${ECHO_T}$result" >&6; }
11111
11112
11113 enablestring=
11114 defaultval=$wxUSE_ALL_FEATURES
11115 if test -z "$defaultval"; then
11116 if test x"$enablestring" = xdisable; then
11117 defaultval=yes
11118 else
11119 defaultval=no
11120 fi
11121 fi
11122
11123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11124 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11125 # Check whether --enable-radiobox was given.
11126 if test "${enable_radiobox+set}" = set; then
11127 enableval=$enable_radiobox;
11128 if test "$enableval" = yes; then
11129 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11130 else
11131 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11132 fi
11133
11134 else
11135
11136 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11137
11138 fi
11139
11140
11141 eval "$wx_cv_use_radiobox"
11142
11143 if test x"$enablestring" = xdisable; then
11144 if test $wxUSE_RADIOBOX = yes; then
11145 result=no
11146 else
11147 result=yes
11148 fi
11149 else
11150 result=$wxUSE_RADIOBOX
11151 fi
11152
11153 { echo "$as_me:$LINENO: result: $result" >&5
11154 echo "${ECHO_T}$result" >&6; }
11155
11156
11157 enablestring=
11158 defaultval=$wxUSE_ALL_FEATURES
11159 if test -z "$defaultval"; then
11160 if test x"$enablestring" = xdisable; then
11161 defaultval=yes
11162 else
11163 defaultval=no
11164 fi
11165 fi
11166
11167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11168 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11169 # Check whether --enable-radiobtn was given.
11170 if test "${enable_radiobtn+set}" = set; then
11171 enableval=$enable_radiobtn;
11172 if test "$enableval" = yes; then
11173 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11174 else
11175 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11176 fi
11177
11178 else
11179
11180 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11181
11182 fi
11183
11184
11185 eval "$wx_cv_use_radiobtn"
11186
11187 if test x"$enablestring" = xdisable; then
11188 if test $wxUSE_RADIOBTN = yes; then
11189 result=no
11190 else
11191 result=yes
11192 fi
11193 else
11194 result=$wxUSE_RADIOBTN
11195 fi
11196
11197 { echo "$as_me:$LINENO: result: $result" >&5
11198 echo "${ECHO_T}$result" >&6; }
11199
11200
11201 enablestring=
11202 defaultval=$wxUSE_ALL_FEATURES
11203 if test -z "$defaultval"; then
11204 if test x"$enablestring" = xdisable; then
11205 defaultval=yes
11206 else
11207 defaultval=no
11208 fi
11209 fi
11210
11211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11212 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11213 # Check whether --enable-rearrangectrl was given.
11214 if test "${enable_rearrangectrl+set}" = set; then
11215 enableval=$enable_rearrangectrl;
11216 if test "$enableval" = yes; then
11217 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11218 else
11219 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11220 fi
11221
11222 else
11223
11224 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11225
11226 fi
11227
11228
11229 eval "$wx_cv_use_rearrangectrl"
11230
11231 if test x"$enablestring" = xdisable; then
11232 if test $wxUSE_REARRANGECTRL = yes; then
11233 result=no
11234 else
11235 result=yes
11236 fi
11237 else
11238 result=$wxUSE_REARRANGECTRL
11239 fi
11240
11241 { echo "$as_me:$LINENO: result: $result" >&5
11242 echo "${ECHO_T}$result" >&6; }
11243
11244
11245 enablestring=
11246 defaultval=$wxUSE_ALL_FEATURES
11247 if test -z "$defaultval"; then
11248 if test x"$enablestring" = xdisable; then
11249 defaultval=yes
11250 else
11251 defaultval=no
11252 fi
11253 fi
11254
11255 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11256 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11257 # Check whether --enable-sash was given.
11258 if test "${enable_sash+set}" = set; then
11259 enableval=$enable_sash;
11260 if test "$enableval" = yes; then
11261 wx_cv_use_sash='wxUSE_SASH=yes'
11262 else
11263 wx_cv_use_sash='wxUSE_SASH=no'
11264 fi
11265
11266 else
11267
11268 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11269
11270 fi
11271
11272
11273 eval "$wx_cv_use_sash"
11274
11275 if test x"$enablestring" = xdisable; then
11276 if test $wxUSE_SASH = yes; then
11277 result=no
11278 else
11279 result=yes
11280 fi
11281 else
11282 result=$wxUSE_SASH
11283 fi
11284
11285 { echo "$as_me:$LINENO: result: $result" >&5
11286 echo "${ECHO_T}$result" >&6; }
11287
11288
11289 enablestring=
11290 defaultval=$wxUSE_ALL_FEATURES
11291 if test -z "$defaultval"; then
11292 if test x"$enablestring" = xdisable; then
11293 defaultval=yes
11294 else
11295 defaultval=no
11296 fi
11297 fi
11298
11299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11300 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11301 # Check whether --enable-scrollbar was given.
11302 if test "${enable_scrollbar+set}" = set; then
11303 enableval=$enable_scrollbar;
11304 if test "$enableval" = yes; then
11305 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11306 else
11307 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11308 fi
11309
11310 else
11311
11312 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11313
11314 fi
11315
11316
11317 eval "$wx_cv_use_scrollbar"
11318
11319 if test x"$enablestring" = xdisable; then
11320 if test $wxUSE_SCROLLBAR = yes; then
11321 result=no
11322 else
11323 result=yes
11324 fi
11325 else
11326 result=$wxUSE_SCROLLBAR
11327 fi
11328
11329 { echo "$as_me:$LINENO: result: $result" >&5
11330 echo "${ECHO_T}$result" >&6; }
11331
11332
11333 enablestring=
11334 defaultval=$wxUSE_ALL_FEATURES
11335 if test -z "$defaultval"; then
11336 if test x"$enablestring" = xdisable; then
11337 defaultval=yes
11338 else
11339 defaultval=no
11340 fi
11341 fi
11342
11343 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11344 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11345 # Check whether --enable-searchctrl was given.
11346 if test "${enable_searchctrl+set}" = set; then
11347 enableval=$enable_searchctrl;
11348 if test "$enableval" = yes; then
11349 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11350 else
11351 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11352 fi
11353
11354 else
11355
11356 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11357
11358 fi
11359
11360
11361 eval "$wx_cv_use_searchctrl"
11362
11363 if test x"$enablestring" = xdisable; then
11364 if test $wxUSE_SEARCHCTRL = yes; then
11365 result=no
11366 else
11367 result=yes
11368 fi
11369 else
11370 result=$wxUSE_SEARCHCTRL
11371 fi
11372
11373 { echo "$as_me:$LINENO: result: $result" >&5
11374 echo "${ECHO_T}$result" >&6; }
11375
11376
11377 enablestring=
11378 defaultval=$wxUSE_ALL_FEATURES
11379 if test -z "$defaultval"; then
11380 if test x"$enablestring" = xdisable; then
11381 defaultval=yes
11382 else
11383 defaultval=no
11384 fi
11385 fi
11386
11387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11388 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11389 # Check whether --enable-slider was given.
11390 if test "${enable_slider+set}" = set; then
11391 enableval=$enable_slider;
11392 if test "$enableval" = yes; then
11393 wx_cv_use_slider='wxUSE_SLIDER=yes'
11394 else
11395 wx_cv_use_slider='wxUSE_SLIDER=no'
11396 fi
11397
11398 else
11399
11400 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11401
11402 fi
11403
11404
11405 eval "$wx_cv_use_slider"
11406
11407 if test x"$enablestring" = xdisable; then
11408 if test $wxUSE_SLIDER = yes; then
11409 result=no
11410 else
11411 result=yes
11412 fi
11413 else
11414 result=$wxUSE_SLIDER
11415 fi
11416
11417 { echo "$as_me:$LINENO: result: $result" >&5
11418 echo "${ECHO_T}$result" >&6; }
11419
11420
11421 enablestring=
11422 defaultval=$wxUSE_ALL_FEATURES
11423 if test -z "$defaultval"; then
11424 if test x"$enablestring" = xdisable; then
11425 defaultval=yes
11426 else
11427 defaultval=no
11428 fi
11429 fi
11430
11431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11432 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11433 # Check whether --enable-spinbtn was given.
11434 if test "${enable_spinbtn+set}" = set; then
11435 enableval=$enable_spinbtn;
11436 if test "$enableval" = yes; then
11437 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11438 else
11439 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11440 fi
11441
11442 else
11443
11444 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11445
11446 fi
11447
11448
11449 eval "$wx_cv_use_spinbtn"
11450
11451 if test x"$enablestring" = xdisable; then
11452 if test $wxUSE_SPINBTN = yes; then
11453 result=no
11454 else
11455 result=yes
11456 fi
11457 else
11458 result=$wxUSE_SPINBTN
11459 fi
11460
11461 { echo "$as_me:$LINENO: result: $result" >&5
11462 echo "${ECHO_T}$result" >&6; }
11463
11464
11465 enablestring=
11466 defaultval=$wxUSE_ALL_FEATURES
11467 if test -z "$defaultval"; then
11468 if test x"$enablestring" = xdisable; then
11469 defaultval=yes
11470 else
11471 defaultval=no
11472 fi
11473 fi
11474
11475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11476 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11477 # Check whether --enable-spinctrl was given.
11478 if test "${enable_spinctrl+set}" = set; then
11479 enableval=$enable_spinctrl;
11480 if test "$enableval" = yes; then
11481 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11482 else
11483 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11484 fi
11485
11486 else
11487
11488 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11489
11490 fi
11491
11492
11493 eval "$wx_cv_use_spinctrl"
11494
11495 if test x"$enablestring" = xdisable; then
11496 if test $wxUSE_SPINCTRL = yes; then
11497 result=no
11498 else
11499 result=yes
11500 fi
11501 else
11502 result=$wxUSE_SPINCTRL
11503 fi
11504
11505 { echo "$as_me:$LINENO: result: $result" >&5
11506 echo "${ECHO_T}$result" >&6; }
11507
11508
11509 enablestring=
11510 defaultval=$wxUSE_ALL_FEATURES
11511 if test -z "$defaultval"; then
11512 if test x"$enablestring" = xdisable; then
11513 defaultval=yes
11514 else
11515 defaultval=no
11516 fi
11517 fi
11518
11519 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11520 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11521 # Check whether --enable-splitter was given.
11522 if test "${enable_splitter+set}" = set; then
11523 enableval=$enable_splitter;
11524 if test "$enableval" = yes; then
11525 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11526 else
11527 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11528 fi
11529
11530 else
11531
11532 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11533
11534 fi
11535
11536
11537 eval "$wx_cv_use_splitter"
11538
11539 if test x"$enablestring" = xdisable; then
11540 if test $wxUSE_SPLITTER = yes; then
11541 result=no
11542 else
11543 result=yes
11544 fi
11545 else
11546 result=$wxUSE_SPLITTER
11547 fi
11548
11549 { echo "$as_me:$LINENO: result: $result" >&5
11550 echo "${ECHO_T}$result" >&6; }
11551
11552
11553 enablestring=
11554 defaultval=$wxUSE_ALL_FEATURES
11555 if test -z "$defaultval"; then
11556 if test x"$enablestring" = xdisable; then
11557 defaultval=yes
11558 else
11559 defaultval=no
11560 fi
11561 fi
11562
11563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11564 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11565 # Check whether --enable-statbmp was given.
11566 if test "${enable_statbmp+set}" = set; then
11567 enableval=$enable_statbmp;
11568 if test "$enableval" = yes; then
11569 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11570 else
11571 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11572 fi
11573
11574 else
11575
11576 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11577
11578 fi
11579
11580
11581 eval "$wx_cv_use_statbmp"
11582
11583 if test x"$enablestring" = xdisable; then
11584 if test $wxUSE_STATBMP = yes; then
11585 result=no
11586 else
11587 result=yes
11588 fi
11589 else
11590 result=$wxUSE_STATBMP
11591 fi
11592
11593 { echo "$as_me:$LINENO: result: $result" >&5
11594 echo "${ECHO_T}$result" >&6; }
11595
11596
11597 enablestring=
11598 defaultval=$wxUSE_ALL_FEATURES
11599 if test -z "$defaultval"; then
11600 if test x"$enablestring" = xdisable; then
11601 defaultval=yes
11602 else
11603 defaultval=no
11604 fi
11605 fi
11606
11607 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11608 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11609 # Check whether --enable-statbox was given.
11610 if test "${enable_statbox+set}" = set; then
11611 enableval=$enable_statbox;
11612 if test "$enableval" = yes; then
11613 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11614 else
11615 wx_cv_use_statbox='wxUSE_STATBOX=no'
11616 fi
11617
11618 else
11619
11620 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11621
11622 fi
11623
11624
11625 eval "$wx_cv_use_statbox"
11626
11627 if test x"$enablestring" = xdisable; then
11628 if test $wxUSE_STATBOX = yes; then
11629 result=no
11630 else
11631 result=yes
11632 fi
11633 else
11634 result=$wxUSE_STATBOX
11635 fi
11636
11637 { echo "$as_me:$LINENO: result: $result" >&5
11638 echo "${ECHO_T}$result" >&6; }
11639
11640
11641 enablestring=
11642 defaultval=$wxUSE_ALL_FEATURES
11643 if test -z "$defaultval"; then
11644 if test x"$enablestring" = xdisable; then
11645 defaultval=yes
11646 else
11647 defaultval=no
11648 fi
11649 fi
11650
11651 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11652 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11653 # Check whether --enable-statline was given.
11654 if test "${enable_statline+set}" = set; then
11655 enableval=$enable_statline;
11656 if test "$enableval" = yes; then
11657 wx_cv_use_statline='wxUSE_STATLINE=yes'
11658 else
11659 wx_cv_use_statline='wxUSE_STATLINE=no'
11660 fi
11661
11662 else
11663
11664 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11665
11666 fi
11667
11668
11669 eval "$wx_cv_use_statline"
11670
11671 if test x"$enablestring" = xdisable; then
11672 if test $wxUSE_STATLINE = yes; then
11673 result=no
11674 else
11675 result=yes
11676 fi
11677 else
11678 result=$wxUSE_STATLINE
11679 fi
11680
11681 { echo "$as_me:$LINENO: result: $result" >&5
11682 echo "${ECHO_T}$result" >&6; }
11683
11684
11685 enablestring=
11686 defaultval=$wxUSE_ALL_FEATURES
11687 if test -z "$defaultval"; then
11688 if test x"$enablestring" = xdisable; then
11689 defaultval=yes
11690 else
11691 defaultval=no
11692 fi
11693 fi
11694
11695 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11696 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11697 # Check whether --enable-stattext was given.
11698 if test "${enable_stattext+set}" = set; then
11699 enableval=$enable_stattext;
11700 if test "$enableval" = yes; then
11701 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11702 else
11703 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11704 fi
11705
11706 else
11707
11708 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11709
11710 fi
11711
11712
11713 eval "$wx_cv_use_stattext"
11714
11715 if test x"$enablestring" = xdisable; then
11716 if test $wxUSE_STATTEXT = yes; then
11717 result=no
11718 else
11719 result=yes
11720 fi
11721 else
11722 result=$wxUSE_STATTEXT
11723 fi
11724
11725 { echo "$as_me:$LINENO: result: $result" >&5
11726 echo "${ECHO_T}$result" >&6; }
11727
11728
11729 enablestring=
11730 defaultval=$wxUSE_ALL_FEATURES
11731 if test -z "$defaultval"; then
11732 if test x"$enablestring" = xdisable; then
11733 defaultval=yes
11734 else
11735 defaultval=no
11736 fi
11737 fi
11738
11739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11740 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11741 # Check whether --enable-statusbar was given.
11742 if test "${enable_statusbar+set}" = set; then
11743 enableval=$enable_statusbar;
11744 if test "$enableval" = yes; then
11745 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11746 else
11747 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11748 fi
11749
11750 else
11751
11752 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11753
11754 fi
11755
11756
11757 eval "$wx_cv_use_statusbar"
11758
11759 if test x"$enablestring" = xdisable; then
11760 if test $wxUSE_STATUSBAR = yes; then
11761 result=no
11762 else
11763 result=yes
11764 fi
11765 else
11766 result=$wxUSE_STATUSBAR
11767 fi
11768
11769 { echo "$as_me:$LINENO: result: $result" >&5
11770 echo "${ECHO_T}$result" >&6; }
11771
11772
11773 enablestring=
11774 defaultval=$wxUSE_ALL_FEATURES
11775 if test -z "$defaultval"; then
11776 if test x"$enablestring" = xdisable; then
11777 defaultval=yes
11778 else
11779 defaultval=no
11780 fi
11781 fi
11782
11783 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11784 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11785 # Check whether --enable-taskbaricon was given.
11786 if test "${enable_taskbaricon+set}" = set; then
11787 enableval=$enable_taskbaricon;
11788 if test "$enableval" = yes; then
11789 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11790 else
11791 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11792 fi
11793
11794 else
11795
11796 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11797
11798 fi
11799
11800
11801 eval "$wx_cv_use_taskbaricon"
11802
11803 if test x"$enablestring" = xdisable; then
11804 if test $wxUSE_TASKBARICON = yes; then
11805 result=no
11806 else
11807 result=yes
11808 fi
11809 else
11810 result=$wxUSE_TASKBARICON
11811 fi
11812
11813 { echo "$as_me:$LINENO: result: $result" >&5
11814 echo "${ECHO_T}$result" >&6; }
11815
11816
11817 enablestring=
11818 defaultval=$wxUSE_ALL_FEATURES
11819 if test -z "$defaultval"; then
11820 if test x"$enablestring" = xdisable; then
11821 defaultval=yes
11822 else
11823 defaultval=no
11824 fi
11825 fi
11826
11827 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11828 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11829 # Check whether --enable-tbarnative was given.
11830 if test "${enable_tbarnative+set}" = set; then
11831 enableval=$enable_tbarnative;
11832 if test "$enableval" = yes; then
11833 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11834 else
11835 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11836 fi
11837
11838 else
11839
11840 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11841
11842 fi
11843
11844
11845 eval "$wx_cv_use_tbarnative"
11846
11847 if test x"$enablestring" = xdisable; then
11848 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11849 result=no
11850 else
11851 result=yes
11852 fi
11853 else
11854 result=$wxUSE_TOOLBAR_NATIVE
11855 fi
11856
11857 { echo "$as_me:$LINENO: result: $result" >&5
11858 echo "${ECHO_T}$result" >&6; }
11859
11860
11861 enablestring=
11862 defaultval=$wxUSE_ALL_FEATURES
11863 if test -z "$defaultval"; then
11864 if test x"$enablestring" = xdisable; then
11865 defaultval=yes
11866 else
11867 defaultval=no
11868 fi
11869 fi
11870
11871 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11872 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11873 # Check whether --enable-textctrl was given.
11874 if test "${enable_textctrl+set}" = set; then
11875 enableval=$enable_textctrl;
11876 if test "$enableval" = yes; then
11877 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11878 else
11879 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11880 fi
11881
11882 else
11883
11884 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11885
11886 fi
11887
11888
11889 eval "$wx_cv_use_textctrl"
11890
11891 if test x"$enablestring" = xdisable; then
11892 if test $wxUSE_TEXTCTRL = yes; then
11893 result=no
11894 else
11895 result=yes
11896 fi
11897 else
11898 result=$wxUSE_TEXTCTRL
11899 fi
11900
11901 { echo "$as_me:$LINENO: result: $result" >&5
11902 echo "${ECHO_T}$result" >&6; }
11903
11904
11905 enablestring=
11906 defaultval=$wxUSE_ALL_FEATURES
11907 if test -z "$defaultval"; then
11908 if test x"$enablestring" = xdisable; then
11909 defaultval=yes
11910 else
11911 defaultval=no
11912 fi
11913 fi
11914
11915 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11916 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11917 # Check whether --enable-tipwindow was given.
11918 if test "${enable_tipwindow+set}" = set; then
11919 enableval=$enable_tipwindow;
11920 if test "$enableval" = yes; then
11921 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11922 else
11923 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11924 fi
11925
11926 else
11927
11928 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11929
11930 fi
11931
11932
11933 eval "$wx_cv_use_tipwindow"
11934
11935 if test x"$enablestring" = xdisable; then
11936 if test $wxUSE_TIPWINDOW = yes; then
11937 result=no
11938 else
11939 result=yes
11940 fi
11941 else
11942 result=$wxUSE_TIPWINDOW
11943 fi
11944
11945 { echo "$as_me:$LINENO: result: $result" >&5
11946 echo "${ECHO_T}$result" >&6; }
11947
11948
11949 enablestring=
11950 defaultval=$wxUSE_ALL_FEATURES
11951 if test -z "$defaultval"; then
11952 if test x"$enablestring" = xdisable; then
11953 defaultval=yes
11954 else
11955 defaultval=no
11956 fi
11957 fi
11958
11959 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11960 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11961 # Check whether --enable-togglebtn was given.
11962 if test "${enable_togglebtn+set}" = set; then
11963 enableval=$enable_togglebtn;
11964 if test "$enableval" = yes; then
11965 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11966 else
11967 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11968 fi
11969
11970 else
11971
11972 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11973
11974 fi
11975
11976
11977 eval "$wx_cv_use_togglebtn"
11978
11979 if test x"$enablestring" = xdisable; then
11980 if test $wxUSE_TOGGLEBTN = yes; then
11981 result=no
11982 else
11983 result=yes
11984 fi
11985 else
11986 result=$wxUSE_TOGGLEBTN
11987 fi
11988
11989 { echo "$as_me:$LINENO: result: $result" >&5
11990 echo "${ECHO_T}$result" >&6; }
11991
11992
11993 enablestring=
11994 defaultval=$wxUSE_ALL_FEATURES
11995 if test -z "$defaultval"; then
11996 if test x"$enablestring" = xdisable; then
11997 defaultval=yes
11998 else
11999 defaultval=no
12000 fi
12001 fi
12002
12003 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12004 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12005 # Check whether --enable-toolbar was given.
12006 if test "${enable_toolbar+set}" = set; then
12007 enableval=$enable_toolbar;
12008 if test "$enableval" = yes; then
12009 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12010 else
12011 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12012 fi
12013
12014 else
12015
12016 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12017
12018 fi
12019
12020
12021 eval "$wx_cv_use_toolbar"
12022
12023 if test x"$enablestring" = xdisable; then
12024 if test $wxUSE_TOOLBAR = yes; then
12025 result=no
12026 else
12027 result=yes
12028 fi
12029 else
12030 result=$wxUSE_TOOLBAR
12031 fi
12032
12033 { echo "$as_me:$LINENO: result: $result" >&5
12034 echo "${ECHO_T}$result" >&6; }
12035
12036
12037 enablestring=
12038 defaultval=$wxUSE_ALL_FEATURES
12039 if test -z "$defaultval"; then
12040 if test x"$enablestring" = xdisable; then
12041 defaultval=yes
12042 else
12043 defaultval=no
12044 fi
12045 fi
12046
12047 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12048 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12049 # Check whether --enable-toolbook was given.
12050 if test "${enable_toolbook+set}" = set; then
12051 enableval=$enable_toolbook;
12052 if test "$enableval" = yes; then
12053 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12054 else
12055 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12056 fi
12057
12058 else
12059
12060 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12061
12062 fi
12063
12064
12065 eval "$wx_cv_use_toolbook"
12066
12067 if test x"$enablestring" = xdisable; then
12068 if test $wxUSE_TOOLBOOK = yes; then
12069 result=no
12070 else
12071 result=yes
12072 fi
12073 else
12074 result=$wxUSE_TOOLBOOK
12075 fi
12076
12077 { echo "$as_me:$LINENO: result: $result" >&5
12078 echo "${ECHO_T}$result" >&6; }
12079
12080
12081 enablestring=
12082 defaultval=$wxUSE_ALL_FEATURES
12083 if test -z "$defaultval"; then
12084 if test x"$enablestring" = xdisable; then
12085 defaultval=yes
12086 else
12087 defaultval=no
12088 fi
12089 fi
12090
12091 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12092 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12093 # Check whether --enable-treebook was given.
12094 if test "${enable_treebook+set}" = set; then
12095 enableval=$enable_treebook;
12096 if test "$enableval" = yes; then
12097 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12098 else
12099 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12100 fi
12101
12102 else
12103
12104 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12105
12106 fi
12107
12108
12109 eval "$wx_cv_use_treebook"
12110
12111 if test x"$enablestring" = xdisable; then
12112 if test $wxUSE_TREEBOOK = yes; then
12113 result=no
12114 else
12115 result=yes
12116 fi
12117 else
12118 result=$wxUSE_TREEBOOK
12119 fi
12120
12121 { echo "$as_me:$LINENO: result: $result" >&5
12122 echo "${ECHO_T}$result" >&6; }
12123
12124
12125 enablestring=
12126 defaultval=$wxUSE_ALL_FEATURES
12127 if test -z "$defaultval"; then
12128 if test x"$enablestring" = xdisable; then
12129 defaultval=yes
12130 else
12131 defaultval=no
12132 fi
12133 fi
12134
12135 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12136 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12137 # Check whether --enable-treectrl was given.
12138 if test "${enable_treectrl+set}" = set; then
12139 enableval=$enable_treectrl;
12140 if test "$enableval" = yes; then
12141 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12142 else
12143 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12144 fi
12145
12146 else
12147
12148 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12149
12150 fi
12151
12152
12153 eval "$wx_cv_use_treectrl"
12154
12155 if test x"$enablestring" = xdisable; then
12156 if test $wxUSE_TREECTRL = yes; then
12157 result=no
12158 else
12159 result=yes
12160 fi
12161 else
12162 result=$wxUSE_TREECTRL
12163 fi
12164
12165 { echo "$as_me:$LINENO: result: $result" >&5
12166 echo "${ECHO_T}$result" >&6; }
12167
12168
12169
12170
12171 enablestring=
12172 defaultval=$wxUSE_ALL_FEATURES
12173 if test -z "$defaultval"; then
12174 if test x"$enablestring" = xdisable; then
12175 defaultval=yes
12176 else
12177 defaultval=no
12178 fi
12179 fi
12180
12181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12182 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12183 # Check whether --enable-commondlg was given.
12184 if test "${enable_commondlg+set}" = set; then
12185 enableval=$enable_commondlg;
12186 if test "$enableval" = yes; then
12187 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12188 else
12189 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12190 fi
12191
12192 else
12193
12194 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12195
12196 fi
12197
12198
12199 eval "$wx_cv_use_commondlg"
12200
12201 if test x"$enablestring" = xdisable; then
12202 if test $wxUSE_COMMONDLGS = yes; then
12203 result=no
12204 else
12205 result=yes
12206 fi
12207 else
12208 result=$wxUSE_COMMONDLGS
12209 fi
12210
12211 { echo "$as_me:$LINENO: result: $result" >&5
12212 echo "${ECHO_T}$result" >&6; }
12213
12214
12215 enablestring=
12216 defaultval=$wxUSE_ALL_FEATURES
12217 if test -z "$defaultval"; then
12218 if test x"$enablestring" = xdisable; then
12219 defaultval=yes
12220 else
12221 defaultval=no
12222 fi
12223 fi
12224
12225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12226 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12227 # Check whether --enable-aboutdlg was given.
12228 if test "${enable_aboutdlg+set}" = set; then
12229 enableval=$enable_aboutdlg;
12230 if test "$enableval" = yes; then
12231 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12232 else
12233 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12234 fi
12235
12236 else
12237
12238 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12239
12240 fi
12241
12242
12243 eval "$wx_cv_use_aboutdlg"
12244
12245 if test x"$enablestring" = xdisable; then
12246 if test $wxUSE_ABOUTDLG = yes; then
12247 result=no
12248 else
12249 result=yes
12250 fi
12251 else
12252 result=$wxUSE_ABOUTDLG
12253 fi
12254
12255 { echo "$as_me:$LINENO: result: $result" >&5
12256 echo "${ECHO_T}$result" >&6; }
12257
12258
12259 enablestring=
12260 defaultval=$wxUSE_ALL_FEATURES
12261 if test -z "$defaultval"; then
12262 if test x"$enablestring" = xdisable; then
12263 defaultval=yes
12264 else
12265 defaultval=no
12266 fi
12267 fi
12268
12269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12270 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12271 # Check whether --enable-choicedlg was given.
12272 if test "${enable_choicedlg+set}" = set; then
12273 enableval=$enable_choicedlg;
12274 if test "$enableval" = yes; then
12275 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12276 else
12277 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12278 fi
12279
12280 else
12281
12282 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12283
12284 fi
12285
12286
12287 eval "$wx_cv_use_choicedlg"
12288
12289 if test x"$enablestring" = xdisable; then
12290 if test $wxUSE_CHOICEDLG = yes; then
12291 result=no
12292 else
12293 result=yes
12294 fi
12295 else
12296 result=$wxUSE_CHOICEDLG
12297 fi
12298
12299 { echo "$as_me:$LINENO: result: $result" >&5
12300 echo "${ECHO_T}$result" >&6; }
12301
12302
12303 enablestring=
12304 defaultval=$wxUSE_ALL_FEATURES
12305 if test -z "$defaultval"; then
12306 if test x"$enablestring" = xdisable; then
12307 defaultval=yes
12308 else
12309 defaultval=no
12310 fi
12311 fi
12312
12313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12314 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12315 # Check whether --enable-coldlg was given.
12316 if test "${enable_coldlg+set}" = set; then
12317 enableval=$enable_coldlg;
12318 if test "$enableval" = yes; then
12319 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12320 else
12321 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12322 fi
12323
12324 else
12325
12326 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12327
12328 fi
12329
12330
12331 eval "$wx_cv_use_coldlg"
12332
12333 if test x"$enablestring" = xdisable; then
12334 if test $wxUSE_COLOURDLG = yes; then
12335 result=no
12336 else
12337 result=yes
12338 fi
12339 else
12340 result=$wxUSE_COLOURDLG
12341 fi
12342
12343 { echo "$as_me:$LINENO: result: $result" >&5
12344 echo "${ECHO_T}$result" >&6; }
12345
12346
12347 enablestring=
12348 defaultval=$wxUSE_ALL_FEATURES
12349 if test -z "$defaultval"; then
12350 if test x"$enablestring" = xdisable; then
12351 defaultval=yes
12352 else
12353 defaultval=no
12354 fi
12355 fi
12356
12357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12358 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12359 # Check whether --enable-filedlg was given.
12360 if test "${enable_filedlg+set}" = set; then
12361 enableval=$enable_filedlg;
12362 if test "$enableval" = yes; then
12363 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12364 else
12365 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12366 fi
12367
12368 else
12369
12370 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12371
12372 fi
12373
12374
12375 eval "$wx_cv_use_filedlg"
12376
12377 if test x"$enablestring" = xdisable; then
12378 if test $wxUSE_FILEDLG = yes; then
12379 result=no
12380 else
12381 result=yes
12382 fi
12383 else
12384 result=$wxUSE_FILEDLG
12385 fi
12386
12387 { echo "$as_me:$LINENO: result: $result" >&5
12388 echo "${ECHO_T}$result" >&6; }
12389
12390
12391 enablestring=
12392 defaultval=$wxUSE_ALL_FEATURES
12393 if test -z "$defaultval"; then
12394 if test x"$enablestring" = xdisable; then
12395 defaultval=yes
12396 else
12397 defaultval=no
12398 fi
12399 fi
12400
12401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12402 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12403 # Check whether --enable-finddlg was given.
12404 if test "${enable_finddlg+set}" = set; then
12405 enableval=$enable_finddlg;
12406 if test "$enableval" = yes; then
12407 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12408 else
12409 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12410 fi
12411
12412 else
12413
12414 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12415
12416 fi
12417
12418
12419 eval "$wx_cv_use_finddlg"
12420
12421 if test x"$enablestring" = xdisable; then
12422 if test $wxUSE_FINDREPLDLG = yes; then
12423 result=no
12424 else
12425 result=yes
12426 fi
12427 else
12428 result=$wxUSE_FINDREPLDLG
12429 fi
12430
12431 { echo "$as_me:$LINENO: result: $result" >&5
12432 echo "${ECHO_T}$result" >&6; }
12433
12434
12435 enablestring=
12436 defaultval=$wxUSE_ALL_FEATURES
12437 if test -z "$defaultval"; then
12438 if test x"$enablestring" = xdisable; then
12439 defaultval=yes
12440 else
12441 defaultval=no
12442 fi
12443 fi
12444
12445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12446 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12447 # Check whether --enable-fontdlg was given.
12448 if test "${enable_fontdlg+set}" = set; then
12449 enableval=$enable_fontdlg;
12450 if test "$enableval" = yes; then
12451 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12452 else
12453 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12454 fi
12455
12456 else
12457
12458 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12459
12460 fi
12461
12462
12463 eval "$wx_cv_use_fontdlg"
12464
12465 if test x"$enablestring" = xdisable; then
12466 if test $wxUSE_FONTDLG = yes; then
12467 result=no
12468 else
12469 result=yes
12470 fi
12471 else
12472 result=$wxUSE_FONTDLG
12473 fi
12474
12475 { echo "$as_me:$LINENO: result: $result" >&5
12476 echo "${ECHO_T}$result" >&6; }
12477
12478
12479 enablestring=
12480 defaultval=$wxUSE_ALL_FEATURES
12481 if test -z "$defaultval"; then
12482 if test x"$enablestring" = xdisable; then
12483 defaultval=yes
12484 else
12485 defaultval=no
12486 fi
12487 fi
12488
12489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12490 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12491 # Check whether --enable-dirdlg was given.
12492 if test "${enable_dirdlg+set}" = set; then
12493 enableval=$enable_dirdlg;
12494 if test "$enableval" = yes; then
12495 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12496 else
12497 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12498 fi
12499
12500 else
12501
12502 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12503
12504 fi
12505
12506
12507 eval "$wx_cv_use_dirdlg"
12508
12509 if test x"$enablestring" = xdisable; then
12510 if test $wxUSE_DIRDLG = yes; then
12511 result=no
12512 else
12513 result=yes
12514 fi
12515 else
12516 result=$wxUSE_DIRDLG
12517 fi
12518
12519 { echo "$as_me:$LINENO: result: $result" >&5
12520 echo "${ECHO_T}$result" >&6; }
12521
12522
12523 enablestring=
12524 defaultval=$wxUSE_ALL_FEATURES
12525 if test -z "$defaultval"; then
12526 if test x"$enablestring" = xdisable; then
12527 defaultval=yes
12528 else
12529 defaultval=no
12530 fi
12531 fi
12532
12533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12534 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12535 # Check whether --enable-msgdlg was given.
12536 if test "${enable_msgdlg+set}" = set; then
12537 enableval=$enable_msgdlg;
12538 if test "$enableval" = yes; then
12539 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12540 else
12541 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12542 fi
12543
12544 else
12545
12546 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12547
12548 fi
12549
12550
12551 eval "$wx_cv_use_msgdlg"
12552
12553 if test x"$enablestring" = xdisable; then
12554 if test $wxUSE_MSGDLG = yes; then
12555 result=no
12556 else
12557 result=yes
12558 fi
12559 else
12560 result=$wxUSE_MSGDLG
12561 fi
12562
12563 { echo "$as_me:$LINENO: result: $result" >&5
12564 echo "${ECHO_T}$result" >&6; }
12565
12566
12567 enablestring=
12568 defaultval=$wxUSE_ALL_FEATURES
12569 if test -z "$defaultval"; then
12570 if test x"$enablestring" = xdisable; then
12571 defaultval=yes
12572 else
12573 defaultval=no
12574 fi
12575 fi
12576
12577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12578 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12579 # Check whether --enable-numberdlg was given.
12580 if test "${enable_numberdlg+set}" = set; then
12581 enableval=$enable_numberdlg;
12582 if test "$enableval" = yes; then
12583 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12584 else
12585 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12586 fi
12587
12588 else
12589
12590 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12591
12592 fi
12593
12594
12595 eval "$wx_cv_use_numberdlg"
12596
12597 if test x"$enablestring" = xdisable; then
12598 if test $wxUSE_NUMBERDLG = yes; then
12599 result=no
12600 else
12601 result=yes
12602 fi
12603 else
12604 result=$wxUSE_NUMBERDLG
12605 fi
12606
12607 { echo "$as_me:$LINENO: result: $result" >&5
12608 echo "${ECHO_T}$result" >&6; }
12609
12610
12611 enablestring=
12612 defaultval=$wxUSE_ALL_FEATURES
12613 if test -z "$defaultval"; then
12614 if test x"$enablestring" = xdisable; then
12615 defaultval=yes
12616 else
12617 defaultval=no
12618 fi
12619 fi
12620
12621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12622 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12623 # Check whether --enable-splash was given.
12624 if test "${enable_splash+set}" = set; then
12625 enableval=$enable_splash;
12626 if test "$enableval" = yes; then
12627 wx_cv_use_splash='wxUSE_SPLASH=yes'
12628 else
12629 wx_cv_use_splash='wxUSE_SPLASH=no'
12630 fi
12631
12632 else
12633
12634 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12635
12636 fi
12637
12638
12639 eval "$wx_cv_use_splash"
12640
12641 if test x"$enablestring" = xdisable; then
12642 if test $wxUSE_SPLASH = yes; then
12643 result=no
12644 else
12645 result=yes
12646 fi
12647 else
12648 result=$wxUSE_SPLASH
12649 fi
12650
12651 { echo "$as_me:$LINENO: result: $result" >&5
12652 echo "${ECHO_T}$result" >&6; }
12653
12654
12655 enablestring=
12656 defaultval=$wxUSE_ALL_FEATURES
12657 if test -z "$defaultval"; then
12658 if test x"$enablestring" = xdisable; then
12659 defaultval=yes
12660 else
12661 defaultval=no
12662 fi
12663 fi
12664
12665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12666 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12667 # Check whether --enable-textdlg was given.
12668 if test "${enable_textdlg+set}" = set; then
12669 enableval=$enable_textdlg;
12670 if test "$enableval" = yes; then
12671 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12672 else
12673 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12674 fi
12675
12676 else
12677
12678 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12679
12680 fi
12681
12682
12683 eval "$wx_cv_use_textdlg"
12684
12685 if test x"$enablestring" = xdisable; then
12686 if test $wxUSE_TEXTDLG = yes; then
12687 result=no
12688 else
12689 result=yes
12690 fi
12691 else
12692 result=$wxUSE_TEXTDLG
12693 fi
12694
12695 { echo "$as_me:$LINENO: result: $result" >&5
12696 echo "${ECHO_T}$result" >&6; }
12697
12698
12699 enablestring=
12700 defaultval=$wxUSE_ALL_FEATURES
12701 if test -z "$defaultval"; then
12702 if test x"$enablestring" = xdisable; then
12703 defaultval=yes
12704 else
12705 defaultval=no
12706 fi
12707 fi
12708
12709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12710 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12711 # Check whether --enable-tipdlg was given.
12712 if test "${enable_tipdlg+set}" = set; then
12713 enableval=$enable_tipdlg;
12714 if test "$enableval" = yes; then
12715 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12716 else
12717 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12718 fi
12719
12720 else
12721
12722 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12723
12724 fi
12725
12726
12727 eval "$wx_cv_use_tipdlg"
12728
12729 if test x"$enablestring" = xdisable; then
12730 if test $wxUSE_STARTUP_TIPS = yes; then
12731 result=no
12732 else
12733 result=yes
12734 fi
12735 else
12736 result=$wxUSE_STARTUP_TIPS
12737 fi
12738
12739 { echo "$as_me:$LINENO: result: $result" >&5
12740 echo "${ECHO_T}$result" >&6; }
12741
12742
12743 enablestring=
12744 defaultval=$wxUSE_ALL_FEATURES
12745 if test -z "$defaultval"; then
12746 if test x"$enablestring" = xdisable; then
12747 defaultval=yes
12748 else
12749 defaultval=no
12750 fi
12751 fi
12752
12753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12754 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12755 # Check whether --enable-progressdlg was given.
12756 if test "${enable_progressdlg+set}" = set; then
12757 enableval=$enable_progressdlg;
12758 if test "$enableval" = yes; then
12759 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12760 else
12761 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12762 fi
12763
12764 else
12765
12766 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12767
12768 fi
12769
12770
12771 eval "$wx_cv_use_progressdlg"
12772
12773 if test x"$enablestring" = xdisable; then
12774 if test $wxUSE_PROGRESSDLG = yes; then
12775 result=no
12776 else
12777 result=yes
12778 fi
12779 else
12780 result=$wxUSE_PROGRESSDLG
12781 fi
12782
12783 { echo "$as_me:$LINENO: result: $result" >&5
12784 echo "${ECHO_T}$result" >&6; }
12785
12786
12787 enablestring=
12788 defaultval=$wxUSE_ALL_FEATURES
12789 if test -z "$defaultval"; then
12790 if test x"$enablestring" = xdisable; then
12791 defaultval=yes
12792 else
12793 defaultval=no
12794 fi
12795 fi
12796
12797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12798 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12799 # Check whether --enable-wizarddlg was given.
12800 if test "${enable_wizarddlg+set}" = set; then
12801 enableval=$enable_wizarddlg;
12802 if test "$enableval" = yes; then
12803 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12804 else
12805 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12806 fi
12807
12808 else
12809
12810 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12811
12812 fi
12813
12814
12815 eval "$wx_cv_use_wizarddlg"
12816
12817 if test x"$enablestring" = xdisable; then
12818 if test $wxUSE_WIZARDDLG = yes; then
12819 result=no
12820 else
12821 result=yes
12822 fi
12823 else
12824 result=$wxUSE_WIZARDDLG
12825 fi
12826
12827 { echo "$as_me:$LINENO: result: $result" >&5
12828 echo "${ECHO_T}$result" >&6; }
12829
12830
12831
12832
12833 enablestring=
12834 defaultval=$wxUSE_ALL_FEATURES
12835 if test -z "$defaultval"; then
12836 if test x"$enablestring" = xdisable; then
12837 defaultval=yes
12838 else
12839 defaultval=no
12840 fi
12841 fi
12842
12843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12844 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12845 # Check whether --enable-menus was given.
12846 if test "${enable_menus+set}" = set; then
12847 enableval=$enable_menus;
12848 if test "$enableval" = yes; then
12849 wx_cv_use_menus='wxUSE_MENUS=yes'
12850 else
12851 wx_cv_use_menus='wxUSE_MENUS=no'
12852 fi
12853
12854 else
12855
12856 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12857
12858 fi
12859
12860
12861 eval "$wx_cv_use_menus"
12862
12863 if test x"$enablestring" = xdisable; then
12864 if test $wxUSE_MENUS = yes; then
12865 result=no
12866 else
12867 result=yes
12868 fi
12869 else
12870 result=$wxUSE_MENUS
12871 fi
12872
12873 { echo "$as_me:$LINENO: result: $result" >&5
12874 echo "${ECHO_T}$result" >&6; }
12875
12876
12877 enablestring=
12878 defaultval=$wxUSE_ALL_FEATURES
12879 if test -z "$defaultval"; then
12880 if test x"$enablestring" = xdisable; then
12881 defaultval=yes
12882 else
12883 defaultval=no
12884 fi
12885 fi
12886
12887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12888 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12889 # Check whether --enable-miniframe was given.
12890 if test "${enable_miniframe+set}" = set; then
12891 enableval=$enable_miniframe;
12892 if test "$enableval" = yes; then
12893 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12894 else
12895 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12896 fi
12897
12898 else
12899
12900 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12901
12902 fi
12903
12904
12905 eval "$wx_cv_use_miniframe"
12906
12907 if test x"$enablestring" = xdisable; then
12908 if test $wxUSE_MINIFRAME = yes; then
12909 result=no
12910 else
12911 result=yes
12912 fi
12913 else
12914 result=$wxUSE_MINIFRAME
12915 fi
12916
12917 { echo "$as_me:$LINENO: result: $result" >&5
12918 echo "${ECHO_T}$result" >&6; }
12919
12920
12921 enablestring=
12922 defaultval=$wxUSE_ALL_FEATURES
12923 if test -z "$defaultval"; then
12924 if test x"$enablestring" = xdisable; then
12925 defaultval=yes
12926 else
12927 defaultval=no
12928 fi
12929 fi
12930
12931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12932 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12933 # Check whether --enable-tooltips was given.
12934 if test "${enable_tooltips+set}" = set; then
12935 enableval=$enable_tooltips;
12936 if test "$enableval" = yes; then
12937 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12938 else
12939 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12940 fi
12941
12942 else
12943
12944 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12945
12946 fi
12947
12948
12949 eval "$wx_cv_use_tooltips"
12950
12951 if test x"$enablestring" = xdisable; then
12952 if test $wxUSE_TOOLTIPS = yes; then
12953 result=no
12954 else
12955 result=yes
12956 fi
12957 else
12958 result=$wxUSE_TOOLTIPS
12959 fi
12960
12961 { echo "$as_me:$LINENO: result: $result" >&5
12962 echo "${ECHO_T}$result" >&6; }
12963
12964
12965 enablestring=
12966 defaultval=$wxUSE_ALL_FEATURES
12967 if test -z "$defaultval"; then
12968 if test x"$enablestring" = xdisable; then
12969 defaultval=yes
12970 else
12971 defaultval=no
12972 fi
12973 fi
12974
12975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12976 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12977 # Check whether --enable-splines was given.
12978 if test "${enable_splines+set}" = set; then
12979 enableval=$enable_splines;
12980 if test "$enableval" = yes; then
12981 wx_cv_use_splines='wxUSE_SPLINES=yes'
12982 else
12983 wx_cv_use_splines='wxUSE_SPLINES=no'
12984 fi
12985
12986 else
12987
12988 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12989
12990 fi
12991
12992
12993 eval "$wx_cv_use_splines"
12994
12995 if test x"$enablestring" = xdisable; then
12996 if test $wxUSE_SPLINES = yes; then
12997 result=no
12998 else
12999 result=yes
13000 fi
13001 else
13002 result=$wxUSE_SPLINES
13003 fi
13004
13005 { echo "$as_me:$LINENO: result: $result" >&5
13006 echo "${ECHO_T}$result" >&6; }
13007
13008
13009 enablestring=
13010 defaultval=$wxUSE_ALL_FEATURES
13011 if test -z "$defaultval"; then
13012 if test x"$enablestring" = xdisable; then
13013 defaultval=yes
13014 else
13015 defaultval=no
13016 fi
13017 fi
13018
13019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13020 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13021 # Check whether --enable-mousewheel was given.
13022 if test "${enable_mousewheel+set}" = set; then
13023 enableval=$enable_mousewheel;
13024 if test "$enableval" = yes; then
13025 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13026 else
13027 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13028 fi
13029
13030 else
13031
13032 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13033
13034 fi
13035
13036
13037 eval "$wx_cv_use_mousewheel"
13038
13039 if test x"$enablestring" = xdisable; then
13040 if test $wxUSE_MOUSEWHEEL = yes; then
13041 result=no
13042 else
13043 result=yes
13044 fi
13045 else
13046 result=$wxUSE_MOUSEWHEEL
13047 fi
13048
13049 { echo "$as_me:$LINENO: result: $result" >&5
13050 echo "${ECHO_T}$result" >&6; }
13051
13052
13053 enablestring=
13054 defaultval=$wxUSE_ALL_FEATURES
13055 if test -z "$defaultval"; then
13056 if test x"$enablestring" = xdisable; then
13057 defaultval=yes
13058 else
13059 defaultval=no
13060 fi
13061 fi
13062
13063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13064 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13065 # Check whether --enable-validators was given.
13066 if test "${enable_validators+set}" = set; then
13067 enableval=$enable_validators;
13068 if test "$enableval" = yes; then
13069 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13070 else
13071 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13072 fi
13073
13074 else
13075
13076 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13077
13078 fi
13079
13080
13081 eval "$wx_cv_use_validators"
13082
13083 if test x"$enablestring" = xdisable; then
13084 if test $wxUSE_VALIDATORS = yes; then
13085 result=no
13086 else
13087 result=yes
13088 fi
13089 else
13090 result=$wxUSE_VALIDATORS
13091 fi
13092
13093 { echo "$as_me:$LINENO: result: $result" >&5
13094 echo "${ECHO_T}$result" >&6; }
13095
13096
13097 enablestring=
13098 defaultval=$wxUSE_ALL_FEATURES
13099 if test -z "$defaultval"; then
13100 if test x"$enablestring" = xdisable; then
13101 defaultval=yes
13102 else
13103 defaultval=no
13104 fi
13105 fi
13106
13107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13108 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13109 # Check whether --enable-busyinfo was given.
13110 if test "${enable_busyinfo+set}" = set; then
13111 enableval=$enable_busyinfo;
13112 if test "$enableval" = yes; then
13113 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13114 else
13115 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13116 fi
13117
13118 else
13119
13120 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13121
13122 fi
13123
13124
13125 eval "$wx_cv_use_busyinfo"
13126
13127 if test x"$enablestring" = xdisable; then
13128 if test $wxUSE_BUSYINFO = yes; then
13129 result=no
13130 else
13131 result=yes
13132 fi
13133 else
13134 result=$wxUSE_BUSYINFO
13135 fi
13136
13137 { echo "$as_me:$LINENO: result: $result" >&5
13138 echo "${ECHO_T}$result" >&6; }
13139
13140
13141 enablestring=
13142 defaultval=$wxUSE_ALL_FEATURES
13143 if test -z "$defaultval"; then
13144 if test x"$enablestring" = xdisable; then
13145 defaultval=yes
13146 else
13147 defaultval=no
13148 fi
13149 fi
13150
13151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13152 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13153 # Check whether --enable-joystick was given.
13154 if test "${enable_joystick+set}" = set; then
13155 enableval=$enable_joystick;
13156 if test "$enableval" = yes; then
13157 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13158 else
13159 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13160 fi
13161
13162 else
13163
13164 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13165
13166 fi
13167
13168
13169 eval "$wx_cv_use_joystick"
13170
13171 if test x"$enablestring" = xdisable; then
13172 if test $wxUSE_JOYSTICK = yes; then
13173 result=no
13174 else
13175 result=yes
13176 fi
13177 else
13178 result=$wxUSE_JOYSTICK
13179 fi
13180
13181 { echo "$as_me:$LINENO: result: $result" >&5
13182 echo "${ECHO_T}$result" >&6; }
13183
13184
13185 enablestring=
13186 defaultval=$wxUSE_ALL_FEATURES
13187 if test -z "$defaultval"; then
13188 if test x"$enablestring" = xdisable; then
13189 defaultval=yes
13190 else
13191 defaultval=no
13192 fi
13193 fi
13194
13195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13196 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13197 # Check whether --enable-metafile was given.
13198 if test "${enable_metafile+set}" = set; then
13199 enableval=$enable_metafile;
13200 if test "$enableval" = yes; then
13201 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13202 else
13203 wx_cv_use_metafile='wxUSE_METAFILE=no'
13204 fi
13205
13206 else
13207
13208 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13209
13210 fi
13211
13212
13213 eval "$wx_cv_use_metafile"
13214
13215 if test x"$enablestring" = xdisable; then
13216 if test $wxUSE_METAFILE = yes; then
13217 result=no
13218 else
13219 result=yes
13220 fi
13221 else
13222 result=$wxUSE_METAFILE
13223 fi
13224
13225 { echo "$as_me:$LINENO: result: $result" >&5
13226 echo "${ECHO_T}$result" >&6; }
13227
13228
13229 enablestring=
13230 defaultval=$wxUSE_ALL_FEATURES
13231 if test -z "$defaultval"; then
13232 if test x"$enablestring" = xdisable; then
13233 defaultval=yes
13234 else
13235 defaultval=no
13236 fi
13237 fi
13238
13239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13240 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13241 # Check whether --enable-dragimage was given.
13242 if test "${enable_dragimage+set}" = set; then
13243 enableval=$enable_dragimage;
13244 if test "$enableval" = yes; then
13245 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13246 else
13247 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13248 fi
13249
13250 else
13251
13252 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13253
13254 fi
13255
13256
13257 eval "$wx_cv_use_dragimage"
13258
13259 if test x"$enablestring" = xdisable; then
13260 if test $wxUSE_DRAGIMAGE = yes; then
13261 result=no
13262 else
13263 result=yes
13264 fi
13265 else
13266 result=$wxUSE_DRAGIMAGE
13267 fi
13268
13269 { echo "$as_me:$LINENO: result: $result" >&5
13270 echo "${ECHO_T}$result" >&6; }
13271
13272
13273 enablestring=
13274 defaultval=$wxUSE_ALL_FEATURES
13275 if test -z "$defaultval"; then
13276 if test x"$enablestring" = xdisable; then
13277 defaultval=yes
13278 else
13279 defaultval=no
13280 fi
13281 fi
13282
13283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13284 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13285 # Check whether --enable-accessibility was given.
13286 if test "${enable_accessibility+set}" = set; then
13287 enableval=$enable_accessibility;
13288 if test "$enableval" = yes; then
13289 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13290 else
13291 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13292 fi
13293
13294 else
13295
13296 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13297
13298 fi
13299
13300
13301 eval "$wx_cv_use_accessibility"
13302
13303 if test x"$enablestring" = xdisable; then
13304 if test $wxUSE_ACCESSIBILITY = yes; then
13305 result=no
13306 else
13307 result=yes
13308 fi
13309 else
13310 result=$wxUSE_ACCESSIBILITY
13311 fi
13312
13313 { echo "$as_me:$LINENO: result: $result" >&5
13314 echo "${ECHO_T}$result" >&6; }
13315
13316
13317
13318
13319 enablestring=
13320 defaultval=$wxUSE_ALL_FEATURES
13321 if test -z "$defaultval"; then
13322 if test x"$enablestring" = xdisable; then
13323 defaultval=yes
13324 else
13325 defaultval=no
13326 fi
13327 fi
13328
13329 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13330 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13331 # Check whether --enable-palette was given.
13332 if test "${enable_palette+set}" = set; then
13333 enableval=$enable_palette;
13334 if test "$enableval" = yes; then
13335 wx_cv_use_palette='wxUSE_PALETTE=yes'
13336 else
13337 wx_cv_use_palette='wxUSE_PALETTE=no'
13338 fi
13339
13340 else
13341
13342 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13343
13344 fi
13345
13346
13347 eval "$wx_cv_use_palette"
13348
13349 if test x"$enablestring" = xdisable; then
13350 if test $wxUSE_PALETTE = yes; then
13351 result=no
13352 else
13353 result=yes
13354 fi
13355 else
13356 result=$wxUSE_PALETTE
13357 fi
13358
13359 { echo "$as_me:$LINENO: result: $result" >&5
13360 echo "${ECHO_T}$result" >&6; }
13361
13362
13363 enablestring=
13364 defaultval=$wxUSE_ALL_FEATURES
13365 if test -z "$defaultval"; then
13366 if test x"$enablestring" = xdisable; then
13367 defaultval=yes
13368 else
13369 defaultval=no
13370 fi
13371 fi
13372
13373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13374 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13375 # Check whether --enable-image was given.
13376 if test "${enable_image+set}" = set; then
13377 enableval=$enable_image;
13378 if test "$enableval" = yes; then
13379 wx_cv_use_image='wxUSE_IMAGE=yes'
13380 else
13381 wx_cv_use_image='wxUSE_IMAGE=no'
13382 fi
13383
13384 else
13385
13386 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13387
13388 fi
13389
13390
13391 eval "$wx_cv_use_image"
13392
13393 if test x"$enablestring" = xdisable; then
13394 if test $wxUSE_IMAGE = yes; then
13395 result=no
13396 else
13397 result=yes
13398 fi
13399 else
13400 result=$wxUSE_IMAGE
13401 fi
13402
13403 { echo "$as_me:$LINENO: result: $result" >&5
13404 echo "${ECHO_T}$result" >&6; }
13405
13406
13407 enablestring=
13408 defaultval=$wxUSE_ALL_FEATURES
13409 if test -z "$defaultval"; then
13410 if test x"$enablestring" = xdisable; then
13411 defaultval=yes
13412 else
13413 defaultval=no
13414 fi
13415 fi
13416
13417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13418 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13419 # Check whether --enable-gif was given.
13420 if test "${enable_gif+set}" = set; then
13421 enableval=$enable_gif;
13422 if test "$enableval" = yes; then
13423 wx_cv_use_gif='wxUSE_GIF=yes'
13424 else
13425 wx_cv_use_gif='wxUSE_GIF=no'
13426 fi
13427
13428 else
13429
13430 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13431
13432 fi
13433
13434
13435 eval "$wx_cv_use_gif"
13436
13437 if test x"$enablestring" = xdisable; then
13438 if test $wxUSE_GIF = yes; then
13439 result=no
13440 else
13441 result=yes
13442 fi
13443 else
13444 result=$wxUSE_GIF
13445 fi
13446
13447 { echo "$as_me:$LINENO: result: $result" >&5
13448 echo "${ECHO_T}$result" >&6; }
13449
13450
13451 enablestring=
13452 defaultval=$wxUSE_ALL_FEATURES
13453 if test -z "$defaultval"; then
13454 if test x"$enablestring" = xdisable; then
13455 defaultval=yes
13456 else
13457 defaultval=no
13458 fi
13459 fi
13460
13461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13462 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13463 # Check whether --enable-pcx was given.
13464 if test "${enable_pcx+set}" = set; then
13465 enableval=$enable_pcx;
13466 if test "$enableval" = yes; then
13467 wx_cv_use_pcx='wxUSE_PCX=yes'
13468 else
13469 wx_cv_use_pcx='wxUSE_PCX=no'
13470 fi
13471
13472 else
13473
13474 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13475
13476 fi
13477
13478
13479 eval "$wx_cv_use_pcx"
13480
13481 if test x"$enablestring" = xdisable; then
13482 if test $wxUSE_PCX = yes; then
13483 result=no
13484 else
13485 result=yes
13486 fi
13487 else
13488 result=$wxUSE_PCX
13489 fi
13490
13491 { echo "$as_me:$LINENO: result: $result" >&5
13492 echo "${ECHO_T}$result" >&6; }
13493
13494
13495 enablestring=
13496 defaultval=$wxUSE_ALL_FEATURES
13497 if test -z "$defaultval"; then
13498 if test x"$enablestring" = xdisable; then
13499 defaultval=yes
13500 else
13501 defaultval=no
13502 fi
13503 fi
13504
13505 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13506 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13507 # Check whether --enable-tga was given.
13508 if test "${enable_tga+set}" = set; then
13509 enableval=$enable_tga;
13510 if test "$enableval" = yes; then
13511 wx_cv_use_tga='wxUSE_TGA=yes'
13512 else
13513 wx_cv_use_tga='wxUSE_TGA=no'
13514 fi
13515
13516 else
13517
13518 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13519
13520 fi
13521
13522
13523 eval "$wx_cv_use_tga"
13524
13525 if test x"$enablestring" = xdisable; then
13526 if test $wxUSE_TGA = yes; then
13527 result=no
13528 else
13529 result=yes
13530 fi
13531 else
13532 result=$wxUSE_TGA
13533 fi
13534
13535 { echo "$as_me:$LINENO: result: $result" >&5
13536 echo "${ECHO_T}$result" >&6; }
13537
13538
13539 enablestring=
13540 defaultval=$wxUSE_ALL_FEATURES
13541 if test -z "$defaultval"; then
13542 if test x"$enablestring" = xdisable; then
13543 defaultval=yes
13544 else
13545 defaultval=no
13546 fi
13547 fi
13548
13549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13550 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13551 # Check whether --enable-iff was given.
13552 if test "${enable_iff+set}" = set; then
13553 enableval=$enable_iff;
13554 if test "$enableval" = yes; then
13555 wx_cv_use_iff='wxUSE_IFF=yes'
13556 else
13557 wx_cv_use_iff='wxUSE_IFF=no'
13558 fi
13559
13560 else
13561
13562 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13563
13564 fi
13565
13566
13567 eval "$wx_cv_use_iff"
13568
13569 if test x"$enablestring" = xdisable; then
13570 if test $wxUSE_IFF = yes; then
13571 result=no
13572 else
13573 result=yes
13574 fi
13575 else
13576 result=$wxUSE_IFF
13577 fi
13578
13579 { echo "$as_me:$LINENO: result: $result" >&5
13580 echo "${ECHO_T}$result" >&6; }
13581
13582
13583 enablestring=
13584 defaultval=$wxUSE_ALL_FEATURES
13585 if test -z "$defaultval"; then
13586 if test x"$enablestring" = xdisable; then
13587 defaultval=yes
13588 else
13589 defaultval=no
13590 fi
13591 fi
13592
13593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13594 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13595 # Check whether --enable-pnm was given.
13596 if test "${enable_pnm+set}" = set; then
13597 enableval=$enable_pnm;
13598 if test "$enableval" = yes; then
13599 wx_cv_use_pnm='wxUSE_PNM=yes'
13600 else
13601 wx_cv_use_pnm='wxUSE_PNM=no'
13602 fi
13603
13604 else
13605
13606 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13607
13608 fi
13609
13610
13611 eval "$wx_cv_use_pnm"
13612
13613 if test x"$enablestring" = xdisable; then
13614 if test $wxUSE_PNM = yes; then
13615 result=no
13616 else
13617 result=yes
13618 fi
13619 else
13620 result=$wxUSE_PNM
13621 fi
13622
13623 { echo "$as_me:$LINENO: result: $result" >&5
13624 echo "${ECHO_T}$result" >&6; }
13625
13626
13627 enablestring=
13628 defaultval=$wxUSE_ALL_FEATURES
13629 if test -z "$defaultval"; then
13630 if test x"$enablestring" = xdisable; then
13631 defaultval=yes
13632 else
13633 defaultval=no
13634 fi
13635 fi
13636
13637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13638 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13639 # Check whether --enable-xpm was given.
13640 if test "${enable_xpm+set}" = set; then
13641 enableval=$enable_xpm;
13642 if test "$enableval" = yes; then
13643 wx_cv_use_xpm='wxUSE_XPM=yes'
13644 else
13645 wx_cv_use_xpm='wxUSE_XPM=no'
13646 fi
13647
13648 else
13649
13650 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13651
13652 fi
13653
13654
13655 eval "$wx_cv_use_xpm"
13656
13657 if test x"$enablestring" = xdisable; then
13658 if test $wxUSE_XPM = yes; then
13659 result=no
13660 else
13661 result=yes
13662 fi
13663 else
13664 result=$wxUSE_XPM
13665 fi
13666
13667 { echo "$as_me:$LINENO: result: $result" >&5
13668 echo "${ECHO_T}$result" >&6; }
13669
13670
13671 enablestring=
13672 defaultval=$wxUSE_ALL_FEATURES
13673 if test -z "$defaultval"; then
13674 if test x"$enablestring" = xdisable; then
13675 defaultval=yes
13676 else
13677 defaultval=no
13678 fi
13679 fi
13680
13681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13682 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13683 # Check whether --enable-ico_cur was given.
13684 if test "${enable_ico_cur+set}" = set; then
13685 enableval=$enable_ico_cur;
13686 if test "$enableval" = yes; then
13687 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13688 else
13689 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13690 fi
13691
13692 else
13693
13694 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13695
13696 fi
13697
13698
13699 eval "$wx_cv_use_ico_cur"
13700
13701 if test x"$enablestring" = xdisable; then
13702 if test $wxUSE_ICO_CUR = yes; then
13703 result=no
13704 else
13705 result=yes
13706 fi
13707 else
13708 result=$wxUSE_ICO_CUR
13709 fi
13710
13711 { echo "$as_me:$LINENO: result: $result" >&5
13712 echo "${ECHO_T}$result" >&6; }
13713
13714
13715
13716
13717 enablestring=
13718 defaultval=$wxUSE_ALL_FEATURES
13719 if test -z "$defaultval"; then
13720 if test x"$enablestring" = xdisable; then
13721 defaultval=yes
13722 else
13723 defaultval=no
13724 fi
13725 fi
13726
13727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13728 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13729 # Check whether --enable-dccache was given.
13730 if test "${enable_dccache+set}" = set; then
13731 enableval=$enable_dccache;
13732 if test "$enableval" = yes; then
13733 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13734 else
13735 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13736 fi
13737
13738 else
13739
13740 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13741
13742 fi
13743
13744
13745 eval "$wx_cv_use_dccache"
13746
13747 if test x"$enablestring" = xdisable; then
13748 if test $wxUSE_DC_CACHEING = yes; then
13749 result=no
13750 else
13751 result=yes
13752 fi
13753 else
13754 result=$wxUSE_DC_CACHEING
13755 fi
13756
13757 { echo "$as_me:$LINENO: result: $result" >&5
13758 echo "${ECHO_T}$result" >&6; }
13759
13760
13761 enablestring=
13762 defaultval=$wxUSE_ALL_FEATURES
13763 if test -z "$defaultval"; then
13764 if test x"$enablestring" = xdisable; then
13765 defaultval=yes
13766 else
13767 defaultval=no
13768 fi
13769 fi
13770
13771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13772 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13773 # Check whether --enable-ps-in-msw was given.
13774 if test "${enable_ps_in_msw+set}" = set; then
13775 enableval=$enable_ps_in_msw;
13776 if test "$enableval" = yes; then
13777 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13778 else
13779 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13780 fi
13781
13782 else
13783
13784 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13785
13786 fi
13787
13788
13789 eval "$wx_cv_use_ps_in_msw"
13790
13791 if test x"$enablestring" = xdisable; then
13792 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13793 result=no
13794 else
13795 result=yes
13796 fi
13797 else
13798 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13799 fi
13800
13801 { echo "$as_me:$LINENO: result: $result" >&5
13802 echo "${ECHO_T}$result" >&6; }
13803
13804
13805 enablestring=
13806 defaultval=$wxUSE_ALL_FEATURES
13807 if test -z "$defaultval"; then
13808 if test x"$enablestring" = xdisable; then
13809 defaultval=yes
13810 else
13811 defaultval=no
13812 fi
13813 fi
13814
13815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13816 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13817 # Check whether --enable-ownerdrawn was given.
13818 if test "${enable_ownerdrawn+set}" = set; then
13819 enableval=$enable_ownerdrawn;
13820 if test "$enableval" = yes; then
13821 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13822 else
13823 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13824 fi
13825
13826 else
13827
13828 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13829
13830 fi
13831
13832
13833 eval "$wx_cv_use_ownerdrawn"
13834
13835 if test x"$enablestring" = xdisable; then
13836 if test $wxUSE_OWNER_DRAWN = yes; then
13837 result=no
13838 else
13839 result=yes
13840 fi
13841 else
13842 result=$wxUSE_OWNER_DRAWN
13843 fi
13844
13845 { echo "$as_me:$LINENO: result: $result" >&5
13846 echo "${ECHO_T}$result" >&6; }
13847
13848
13849 enablestring=
13850 defaultval=$wxUSE_ALL_FEATURES
13851 if test -z "$defaultval"; then
13852 if test x"$enablestring" = xdisable; then
13853 defaultval=yes
13854 else
13855 defaultval=no
13856 fi
13857 fi
13858
13859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13860 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13861 # Check whether --enable-uxtheme was given.
13862 if test "${enable_uxtheme+set}" = set; then
13863 enableval=$enable_uxtheme;
13864 if test "$enableval" = yes; then
13865 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13866 else
13867 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13868 fi
13869
13870 else
13871
13872 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13873
13874 fi
13875
13876
13877 eval "$wx_cv_use_uxtheme"
13878
13879 if test x"$enablestring" = xdisable; then
13880 if test $wxUSE_UXTHEME = yes; then
13881 result=no
13882 else
13883 result=yes
13884 fi
13885 else
13886 result=$wxUSE_UXTHEME
13887 fi
13888
13889 { echo "$as_me:$LINENO: result: $result" >&5
13890 echo "${ECHO_T}$result" >&6; }
13891
13892
13893 enablestring=
13894 defaultval=$wxUSE_ALL_FEATURES
13895 if test -z "$defaultval"; then
13896 if test x"$enablestring" = xdisable; then
13897 defaultval=yes
13898 else
13899 defaultval=no
13900 fi
13901 fi
13902
13903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13904 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13905 # Check whether --enable-wxdib was given.
13906 if test "${enable_wxdib+set}" = set; then
13907 enableval=$enable_wxdib;
13908 if test "$enableval" = yes; then
13909 wx_cv_use_wxdib='wxUSE_DIB=yes'
13910 else
13911 wx_cv_use_wxdib='wxUSE_DIB=no'
13912 fi
13913
13914 else
13915
13916 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13917
13918 fi
13919
13920
13921 eval "$wx_cv_use_wxdib"
13922
13923 if test x"$enablestring" = xdisable; then
13924 if test $wxUSE_DIB = yes; then
13925 result=no
13926 else
13927 result=yes
13928 fi
13929 else
13930 result=$wxUSE_DIB
13931 fi
13932
13933 { echo "$as_me:$LINENO: result: $result" >&5
13934 echo "${ECHO_T}$result" >&6; }
13935
13936
13937 if test "$wxUSE_MSW" != 1; then
13938 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13939 fi
13940
13941
13942 enablestring=
13943 defaultval=$wxUSE_ALL_FEATURES
13944 if test -z "$defaultval"; then
13945 if test x"$enablestring" = xdisable; then
13946 defaultval=yes
13947 else
13948 defaultval=no
13949 fi
13950 fi
13951
13952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13953 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13954 # Check whether --enable-autoidman was given.
13955 if test "${enable_autoidman+set}" = set; then
13956 enableval=$enable_autoidman;
13957 if test "$enableval" = yes; then
13958 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13959 else
13960 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13961 fi
13962
13963 else
13964
13965 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13966
13967 fi
13968
13969
13970 eval "$wx_cv_use_autoidman"
13971
13972 if test x"$enablestring" = xdisable; then
13973 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13974 result=no
13975 else
13976 result=yes
13977 fi
13978 else
13979 result=$wxUSE_AUTOID_MANAGEMENT
13980 fi
13981
13982 { echo "$as_me:$LINENO: result: $result" >&5
13983 echo "${ECHO_T}$result" >&6; }
13984
13985
13986 fi
13987
13988
13989 cat >confcache <<\_ACEOF
13990 # This file is a shell script that caches the results of configure
13991 # tests run on this system so they can be shared between configure
13992 # scripts and configure runs, see configure's option --config-cache.
13993 # It is not useful on other systems. If it contains results you don't
13994 # want to keep, you may remove or edit it.
13995 #
13996 # config.status only pays attention to the cache file if you give it
13997 # the --recheck option to rerun configure.
13998 #
13999 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14000 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14001 # following values.
14002
14003 _ACEOF
14004
14005 # The following way of writing the cache mishandles newlines in values,
14006 # but we know of no workaround that is simple, portable, and efficient.
14007 # So, we kill variables containing newlines.
14008 # Ultrix sh set writes to stderr and can't be redirected directly,
14009 # and sets the high bit in the cache file unless we assign to the vars.
14010 (
14011 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14012 eval ac_val=\$$ac_var
14013 case $ac_val in #(
14014 *${as_nl}*)
14015 case $ac_var in #(
14016 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14017 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14018 esac
14019 case $ac_var in #(
14020 _ | IFS | as_nl) ;; #(
14021 *) $as_unset $ac_var ;;
14022 esac ;;
14023 esac
14024 done
14025
14026 (set) 2>&1 |
14027 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14028 *${as_nl}ac_space=\ *)
14029 # `set' does not quote correctly, so add quotes (double-quote
14030 # substitution turns \\\\ into \\, and sed turns \\ into \).
14031 sed -n \
14032 "s/'/'\\\\''/g;
14033 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14034 ;; #(
14035 *)
14036 # `set' quotes correctly as required by POSIX, so do not add quotes.
14037 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14038 ;;
14039 esac |
14040 sort
14041 ) |
14042 sed '
14043 /^ac_cv_env_/b end
14044 t clear
14045 :clear
14046 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14047 t end
14048 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14049 :end' >>confcache
14050 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14051 if test -w "$cache_file"; then
14052 test "x$cache_file" != "x/dev/null" &&
14053 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14054 echo "$as_me: updating cache $cache_file" >&6;}
14055 cat confcache >$cache_file
14056 else
14057 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14058 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14059 fi
14060 fi
14061 rm -f confcache
14062
14063 CFLAGS=${CFLAGS:=}
14064
14065
14066
14067 ac_ext=c
14068 ac_cpp='$CPP $CPPFLAGS'
14069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14072 if test -n "$ac_tool_prefix"; then
14073 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14074 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14075 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14077 if test "${ac_cv_prog_CC+set}" = set; then
14078 echo $ECHO_N "(cached) $ECHO_C" >&6
14079 else
14080 if test -n "$CC"; then
14081 ac_cv_prog_CC="$CC" # Let the user override the test.
14082 else
14083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14084 for as_dir in $PATH
14085 do
14086 IFS=$as_save_IFS
14087 test -z "$as_dir" && as_dir=.
14088 for ac_exec_ext in '' $ac_executable_extensions; do
14089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14090 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14092 break 2
14093 fi
14094 done
14095 done
14096 IFS=$as_save_IFS
14097
14098 fi
14099 fi
14100 CC=$ac_cv_prog_CC
14101 if test -n "$CC"; then
14102 { echo "$as_me:$LINENO: result: $CC" >&5
14103 echo "${ECHO_T}$CC" >&6; }
14104 else
14105 { echo "$as_me:$LINENO: result: no" >&5
14106 echo "${ECHO_T}no" >&6; }
14107 fi
14108
14109
14110 fi
14111 if test -z "$ac_cv_prog_CC"; then
14112 ac_ct_CC=$CC
14113 # Extract the first word of "gcc", so it can be a program name with args.
14114 set dummy gcc; ac_word=$2
14115 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14117 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14118 echo $ECHO_N "(cached) $ECHO_C" >&6
14119 else
14120 if test -n "$ac_ct_CC"; then
14121 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14122 else
14123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14124 for as_dir in $PATH
14125 do
14126 IFS=$as_save_IFS
14127 test -z "$as_dir" && as_dir=.
14128 for ac_exec_ext in '' $ac_executable_extensions; do
14129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14130 ac_cv_prog_ac_ct_CC="gcc"
14131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14132 break 2
14133 fi
14134 done
14135 done
14136 IFS=$as_save_IFS
14137
14138 fi
14139 fi
14140 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14141 if test -n "$ac_ct_CC"; then
14142 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14143 echo "${ECHO_T}$ac_ct_CC" >&6; }
14144 else
14145 { echo "$as_me:$LINENO: result: no" >&5
14146 echo "${ECHO_T}no" >&6; }
14147 fi
14148
14149 if test "x$ac_ct_CC" = x; then
14150 CC=""
14151 else
14152 case $cross_compiling:$ac_tool_warned in
14153 yes:)
14154 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14155 whose name does not start with the host triplet. If you think this
14156 configuration is useful to you, please write to autoconf@gnu.org." >&5
14157 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14158 whose name does not start with the host triplet. If you think this
14159 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14160 ac_tool_warned=yes ;;
14161 esac
14162 CC=$ac_ct_CC
14163 fi
14164 else
14165 CC="$ac_cv_prog_CC"
14166 fi
14167
14168 if test -z "$CC"; then
14169 if test -n "$ac_tool_prefix"; then
14170 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14171 set dummy ${ac_tool_prefix}cc; ac_word=$2
14172 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14174 if test "${ac_cv_prog_CC+set}" = set; then
14175 echo $ECHO_N "(cached) $ECHO_C" >&6
14176 else
14177 if test -n "$CC"; then
14178 ac_cv_prog_CC="$CC" # Let the user override the test.
14179 else
14180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14181 for as_dir in $PATH
14182 do
14183 IFS=$as_save_IFS
14184 test -z "$as_dir" && as_dir=.
14185 for ac_exec_ext in '' $ac_executable_extensions; do
14186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14187 ac_cv_prog_CC="${ac_tool_prefix}cc"
14188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14189 break 2
14190 fi
14191 done
14192 done
14193 IFS=$as_save_IFS
14194
14195 fi
14196 fi
14197 CC=$ac_cv_prog_CC
14198 if test -n "$CC"; then
14199 { echo "$as_me:$LINENO: result: $CC" >&5
14200 echo "${ECHO_T}$CC" >&6; }
14201 else
14202 { echo "$as_me:$LINENO: result: no" >&5
14203 echo "${ECHO_T}no" >&6; }
14204 fi
14205
14206
14207 fi
14208 fi
14209 if test -z "$CC"; then
14210 # Extract the first word of "cc", so it can be a program name with args.
14211 set dummy cc; ac_word=$2
14212 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14214 if test "${ac_cv_prog_CC+set}" = set; then
14215 echo $ECHO_N "(cached) $ECHO_C" >&6
14216 else
14217 if test -n "$CC"; then
14218 ac_cv_prog_CC="$CC" # Let the user override the test.
14219 else
14220 ac_prog_rejected=no
14221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14222 for as_dir in $PATH
14223 do
14224 IFS=$as_save_IFS
14225 test -z "$as_dir" && as_dir=.
14226 for ac_exec_ext in '' $ac_executable_extensions; do
14227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14228 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14229 ac_prog_rejected=yes
14230 continue
14231 fi
14232 ac_cv_prog_CC="cc"
14233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14234 break 2
14235 fi
14236 done
14237 done
14238 IFS=$as_save_IFS
14239
14240 if test $ac_prog_rejected = yes; then
14241 # We found a bogon in the path, so make sure we never use it.
14242 set dummy $ac_cv_prog_CC
14243 shift
14244 if test $# != 0; then
14245 # We chose a different compiler from the bogus one.
14246 # However, it has the same basename, so the bogon will be chosen
14247 # first if we set CC to just the basename; use the full file name.
14248 shift
14249 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14250 fi
14251 fi
14252 fi
14253 fi
14254 CC=$ac_cv_prog_CC
14255 if test -n "$CC"; then
14256 { echo "$as_me:$LINENO: result: $CC" >&5
14257 echo "${ECHO_T}$CC" >&6; }
14258 else
14259 { echo "$as_me:$LINENO: result: no" >&5
14260 echo "${ECHO_T}no" >&6; }
14261 fi
14262
14263
14264 fi
14265 if test -z "$CC"; then
14266 if test -n "$ac_tool_prefix"; then
14267 for ac_prog in cl.exe
14268 do
14269 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14270 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14273 if test "${ac_cv_prog_CC+set}" = set; then
14274 echo $ECHO_N "(cached) $ECHO_C" >&6
14275 else
14276 if test -n "$CC"; then
14277 ac_cv_prog_CC="$CC" # Let the user override the test.
14278 else
14279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14280 for as_dir in $PATH
14281 do
14282 IFS=$as_save_IFS
14283 test -z "$as_dir" && as_dir=.
14284 for ac_exec_ext in '' $ac_executable_extensions; do
14285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14286 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14288 break 2
14289 fi
14290 done
14291 done
14292 IFS=$as_save_IFS
14293
14294 fi
14295 fi
14296 CC=$ac_cv_prog_CC
14297 if test -n "$CC"; then
14298 { echo "$as_me:$LINENO: result: $CC" >&5
14299 echo "${ECHO_T}$CC" >&6; }
14300 else
14301 { echo "$as_me:$LINENO: result: no" >&5
14302 echo "${ECHO_T}no" >&6; }
14303 fi
14304
14305
14306 test -n "$CC" && break
14307 done
14308 fi
14309 if test -z "$CC"; then
14310 ac_ct_CC=$CC
14311 for ac_prog in cl.exe
14312 do
14313 # Extract the first word of "$ac_prog", so it can be a program name with args.
14314 set dummy $ac_prog; ac_word=$2
14315 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14317 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14318 echo $ECHO_N "(cached) $ECHO_C" >&6
14319 else
14320 if test -n "$ac_ct_CC"; then
14321 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14322 else
14323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14324 for as_dir in $PATH
14325 do
14326 IFS=$as_save_IFS
14327 test -z "$as_dir" && as_dir=.
14328 for ac_exec_ext in '' $ac_executable_extensions; do
14329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14330 ac_cv_prog_ac_ct_CC="$ac_prog"
14331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14332 break 2
14333 fi
14334 done
14335 done
14336 IFS=$as_save_IFS
14337
14338 fi
14339 fi
14340 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14341 if test -n "$ac_ct_CC"; then
14342 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14343 echo "${ECHO_T}$ac_ct_CC" >&6; }
14344 else
14345 { echo "$as_me:$LINENO: result: no" >&5
14346 echo "${ECHO_T}no" >&6; }
14347 fi
14348
14349
14350 test -n "$ac_ct_CC" && break
14351 done
14352
14353 if test "x$ac_ct_CC" = x; then
14354 CC=""
14355 else
14356 case $cross_compiling:$ac_tool_warned in
14357 yes:)
14358 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14359 whose name does not start with the host triplet. If you think this
14360 configuration is useful to you, please write to autoconf@gnu.org." >&5
14361 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14362 whose name does not start with the host triplet. If you think this
14363 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14364 ac_tool_warned=yes ;;
14365 esac
14366 CC=$ac_ct_CC
14367 fi
14368 fi
14369
14370 fi
14371
14372
14373 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14374 See \`config.log' for more details." >&5
14375 echo "$as_me: error: no acceptable C compiler found in \$PATH
14376 See \`config.log' for more details." >&2;}
14377 { (exit 1); exit 1; }; }
14378
14379 # Provide some information about the compiler.
14380 echo "$as_me:$LINENO: checking for C compiler version" >&5
14381 ac_compiler=`set X $ac_compile; echo $2`
14382 { (ac_try="$ac_compiler --version >&5"
14383 case "(($ac_try" in
14384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14385 *) ac_try_echo=$ac_try;;
14386 esac
14387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14388 (eval "$ac_compiler --version >&5") 2>&5
14389 ac_status=$?
14390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14391 (exit $ac_status); }
14392 { (ac_try="$ac_compiler -v >&5"
14393 case "(($ac_try" in
14394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14395 *) ac_try_echo=$ac_try;;
14396 esac
14397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14398 (eval "$ac_compiler -v >&5") 2>&5
14399 ac_status=$?
14400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14401 (exit $ac_status); }
14402 { (ac_try="$ac_compiler -V >&5"
14403 case "(($ac_try" in
14404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14405 *) ac_try_echo=$ac_try;;
14406 esac
14407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14408 (eval "$ac_compiler -V >&5") 2>&5
14409 ac_status=$?
14410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14411 (exit $ac_status); }
14412
14413 cat >conftest.$ac_ext <<_ACEOF
14414 /* confdefs.h. */
14415 _ACEOF
14416 cat confdefs.h >>conftest.$ac_ext
14417 cat >>conftest.$ac_ext <<_ACEOF
14418 /* end confdefs.h. */
14419
14420 int
14421 main ()
14422 {
14423
14424 ;
14425 return 0;
14426 }
14427 _ACEOF
14428 ac_clean_files_save=$ac_clean_files
14429 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14430 # Try to create an executable without -o first, disregard a.out.
14431 # It will help us diagnose broken compilers, and finding out an intuition
14432 # of exeext.
14433 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14434 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14435 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14436 #
14437 # List of possible output files, starting from the most likely.
14438 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14439 # only as a last resort. b.out is created by i960 compilers.
14440 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14441 #
14442 # The IRIX 6 linker writes into existing files which may not be
14443 # executable, retaining their permissions. Remove them first so a
14444 # subsequent execution test works.
14445 ac_rmfiles=
14446 for ac_file in $ac_files
14447 do
14448 case $ac_file in
14449 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14450 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14451 esac
14452 done
14453 rm -f $ac_rmfiles
14454
14455 if { (ac_try="$ac_link_default"
14456 case "(($ac_try" in
14457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14458 *) ac_try_echo=$ac_try;;
14459 esac
14460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14461 (eval "$ac_link_default") 2>&5
14462 ac_status=$?
14463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14464 (exit $ac_status); }; then
14465 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14466 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14467 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14468 # so that the user can short-circuit this test for compilers unknown to
14469 # Autoconf.
14470 for ac_file in $ac_files ''
14471 do
14472 test -f "$ac_file" || continue
14473 case $ac_file in
14474 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14475 ;;
14476 [ab].out )
14477 # We found the default executable, but exeext='' is most
14478 # certainly right.
14479 break;;
14480 *.* )
14481 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14482 then :; else
14483 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14484 fi
14485 # We set ac_cv_exeext here because the later test for it is not
14486 # safe: cross compilers may not add the suffix if given an `-o'
14487 # argument, so we may need to know it at that point already.
14488 # Even if this section looks crufty: it has the advantage of
14489 # actually working.
14490 break;;
14491 * )
14492 break;;
14493 esac
14494 done
14495 test "$ac_cv_exeext" = no && ac_cv_exeext=
14496
14497 else
14498 ac_file=''
14499 fi
14500
14501 { echo "$as_me:$LINENO: result: $ac_file" >&5
14502 echo "${ECHO_T}$ac_file" >&6; }
14503 if test -z "$ac_file"; then
14504 echo "$as_me: failed program was:" >&5
14505 sed 's/^/| /' conftest.$ac_ext >&5
14506
14507 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14508 See \`config.log' for more details." >&5
14509 echo "$as_me: error: C compiler cannot create executables
14510 See \`config.log' for more details." >&2;}
14511 { (exit 77); exit 77; }; }
14512 fi
14513
14514 ac_exeext=$ac_cv_exeext
14515
14516 # Check that the compiler produces executables we can run. If not, either
14517 # the compiler is broken, or we cross compile.
14518 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14519 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14520 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14521 # If not cross compiling, check that we can run a simple program.
14522 if test "$cross_compiling" != yes; then
14523 if { ac_try='./$ac_file'
14524 { (case "(($ac_try" in
14525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14526 *) ac_try_echo=$ac_try;;
14527 esac
14528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14529 (eval "$ac_try") 2>&5
14530 ac_status=$?
14531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14532 (exit $ac_status); }; }; then
14533 cross_compiling=no
14534 else
14535 if test "$cross_compiling" = maybe; then
14536 cross_compiling=yes
14537 else
14538 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14539 If you meant to cross compile, use \`--host'.
14540 See \`config.log' for more details." >&5
14541 echo "$as_me: error: cannot run C compiled programs.
14542 If you meant to cross compile, use \`--host'.
14543 See \`config.log' for more details." >&2;}
14544 { (exit 1); exit 1; }; }
14545 fi
14546 fi
14547 fi
14548 { echo "$as_me:$LINENO: result: yes" >&5
14549 echo "${ECHO_T}yes" >&6; }
14550
14551 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14552 ac_clean_files=$ac_clean_files_save
14553 # Check that the compiler produces executables we can run. If not, either
14554 # the compiler is broken, or we cross compile.
14555 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14556 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14557 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14558 echo "${ECHO_T}$cross_compiling" >&6; }
14559
14560 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14561 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14562 if { (ac_try="$ac_link"
14563 case "(($ac_try" in
14564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14565 *) ac_try_echo=$ac_try;;
14566 esac
14567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14568 (eval "$ac_link") 2>&5
14569 ac_status=$?
14570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14571 (exit $ac_status); }; then
14572 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14573 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14574 # work properly (i.e., refer to `conftest.exe'), while it won't with
14575 # `rm'.
14576 for ac_file in conftest.exe conftest conftest.*; do
14577 test -f "$ac_file" || continue
14578 case $ac_file in
14579 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14580 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14581 break;;
14582 * ) break;;
14583 esac
14584 done
14585 else
14586 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14587 See \`config.log' for more details." >&5
14588 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14589 See \`config.log' for more details." >&2;}
14590 { (exit 1); exit 1; }; }
14591 fi
14592
14593 rm -f conftest$ac_cv_exeext
14594 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14595 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14596
14597 rm -f conftest.$ac_ext
14598 EXEEXT=$ac_cv_exeext
14599 ac_exeext=$EXEEXT
14600 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14601 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14602 if test "${ac_cv_objext+set}" = set; then
14603 echo $ECHO_N "(cached) $ECHO_C" >&6
14604 else
14605 cat >conftest.$ac_ext <<_ACEOF
14606 /* confdefs.h. */
14607 _ACEOF
14608 cat confdefs.h >>conftest.$ac_ext
14609 cat >>conftest.$ac_ext <<_ACEOF
14610 /* end confdefs.h. */
14611
14612 int
14613 main ()
14614 {
14615
14616 ;
14617 return 0;
14618 }
14619 _ACEOF
14620 rm -f conftest.o conftest.obj
14621 if { (ac_try="$ac_compile"
14622 case "(($ac_try" in
14623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14624 *) ac_try_echo=$ac_try;;
14625 esac
14626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14627 (eval "$ac_compile") 2>&5
14628 ac_status=$?
14629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14630 (exit $ac_status); }; then
14631 for ac_file in conftest.o conftest.obj conftest.*; do
14632 test -f "$ac_file" || continue;
14633 case $ac_file in
14634 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14635 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14636 break;;
14637 esac
14638 done
14639 else
14640 echo "$as_me: failed program was:" >&5
14641 sed 's/^/| /' conftest.$ac_ext >&5
14642
14643 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14644 See \`config.log' for more details." >&5
14645 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14646 See \`config.log' for more details." >&2;}
14647 { (exit 1); exit 1; }; }
14648 fi
14649
14650 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14651 fi
14652 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14653 echo "${ECHO_T}$ac_cv_objext" >&6; }
14654 OBJEXT=$ac_cv_objext
14655 ac_objext=$OBJEXT
14656 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14657 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14658 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14659 echo $ECHO_N "(cached) $ECHO_C" >&6
14660 else
14661 cat >conftest.$ac_ext <<_ACEOF
14662 /* confdefs.h. */
14663 _ACEOF
14664 cat confdefs.h >>conftest.$ac_ext
14665 cat >>conftest.$ac_ext <<_ACEOF
14666 /* end confdefs.h. */
14667
14668 int
14669 main ()
14670 {
14671 #ifndef __GNUC__
14672 choke me
14673 #endif
14674
14675 ;
14676 return 0;
14677 }
14678 _ACEOF
14679 rm -f conftest.$ac_objext
14680 if { (ac_try="$ac_compile"
14681 case "(($ac_try" in
14682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14683 *) ac_try_echo=$ac_try;;
14684 esac
14685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14686 (eval "$ac_compile") 2>conftest.er1
14687 ac_status=$?
14688 grep -v '^ *+' conftest.er1 >conftest.err
14689 rm -f conftest.er1
14690 cat conftest.err >&5
14691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14692 (exit $ac_status); } && {
14693 test -z "$ac_c_werror_flag" ||
14694 test ! -s conftest.err
14695 } && test -s conftest.$ac_objext; then
14696 ac_compiler_gnu=yes
14697 else
14698 echo "$as_me: failed program was:" >&5
14699 sed 's/^/| /' conftest.$ac_ext >&5
14700
14701 ac_compiler_gnu=no
14702 fi
14703
14704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14705 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14706
14707 fi
14708 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14709 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14710 GCC=`test $ac_compiler_gnu = yes && echo yes`
14711 ac_test_CFLAGS=${CFLAGS+set}
14712 ac_save_CFLAGS=$CFLAGS
14713 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14714 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14715 if test "${ac_cv_prog_cc_g+set}" = set; then
14716 echo $ECHO_N "(cached) $ECHO_C" >&6
14717 else
14718 ac_save_c_werror_flag=$ac_c_werror_flag
14719 ac_c_werror_flag=yes
14720 ac_cv_prog_cc_g=no
14721 CFLAGS="-g"
14722 cat >conftest.$ac_ext <<_ACEOF
14723 /* confdefs.h. */
14724 _ACEOF
14725 cat confdefs.h >>conftest.$ac_ext
14726 cat >>conftest.$ac_ext <<_ACEOF
14727 /* end confdefs.h. */
14728
14729 int
14730 main ()
14731 {
14732
14733 ;
14734 return 0;
14735 }
14736 _ACEOF
14737 rm -f conftest.$ac_objext
14738 if { (ac_try="$ac_compile"
14739 case "(($ac_try" in
14740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14741 *) ac_try_echo=$ac_try;;
14742 esac
14743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14744 (eval "$ac_compile") 2>conftest.er1
14745 ac_status=$?
14746 grep -v '^ *+' conftest.er1 >conftest.err
14747 rm -f conftest.er1
14748 cat conftest.err >&5
14749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14750 (exit $ac_status); } && {
14751 test -z "$ac_c_werror_flag" ||
14752 test ! -s conftest.err
14753 } && test -s conftest.$ac_objext; then
14754 ac_cv_prog_cc_g=yes
14755 else
14756 echo "$as_me: failed program was:" >&5
14757 sed 's/^/| /' conftest.$ac_ext >&5
14758
14759 CFLAGS=""
14760 cat >conftest.$ac_ext <<_ACEOF
14761 /* confdefs.h. */
14762 _ACEOF
14763 cat confdefs.h >>conftest.$ac_ext
14764 cat >>conftest.$ac_ext <<_ACEOF
14765 /* end confdefs.h. */
14766
14767 int
14768 main ()
14769 {
14770
14771 ;
14772 return 0;
14773 }
14774 _ACEOF
14775 rm -f conftest.$ac_objext
14776 if { (ac_try="$ac_compile"
14777 case "(($ac_try" in
14778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14779 *) ac_try_echo=$ac_try;;
14780 esac
14781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14782 (eval "$ac_compile") 2>conftest.er1
14783 ac_status=$?
14784 grep -v '^ *+' conftest.er1 >conftest.err
14785 rm -f conftest.er1
14786 cat conftest.err >&5
14787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14788 (exit $ac_status); } && {
14789 test -z "$ac_c_werror_flag" ||
14790 test ! -s conftest.err
14791 } && test -s conftest.$ac_objext; then
14792 :
14793 else
14794 echo "$as_me: failed program was:" >&5
14795 sed 's/^/| /' conftest.$ac_ext >&5
14796
14797 ac_c_werror_flag=$ac_save_c_werror_flag
14798 CFLAGS="-g"
14799 cat >conftest.$ac_ext <<_ACEOF
14800 /* confdefs.h. */
14801 _ACEOF
14802 cat confdefs.h >>conftest.$ac_ext
14803 cat >>conftest.$ac_ext <<_ACEOF
14804 /* end confdefs.h. */
14805
14806 int
14807 main ()
14808 {
14809
14810 ;
14811 return 0;
14812 }
14813 _ACEOF
14814 rm -f conftest.$ac_objext
14815 if { (ac_try="$ac_compile"
14816 case "(($ac_try" in
14817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14818 *) ac_try_echo=$ac_try;;
14819 esac
14820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14821 (eval "$ac_compile") 2>conftest.er1
14822 ac_status=$?
14823 grep -v '^ *+' conftest.er1 >conftest.err
14824 rm -f conftest.er1
14825 cat conftest.err >&5
14826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14827 (exit $ac_status); } && {
14828 test -z "$ac_c_werror_flag" ||
14829 test ! -s conftest.err
14830 } && test -s conftest.$ac_objext; then
14831 ac_cv_prog_cc_g=yes
14832 else
14833 echo "$as_me: failed program was:" >&5
14834 sed 's/^/| /' conftest.$ac_ext >&5
14835
14836
14837 fi
14838
14839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14840 fi
14841
14842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14843 fi
14844
14845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14846 ac_c_werror_flag=$ac_save_c_werror_flag
14847 fi
14848 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14849 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14850 if test "$ac_test_CFLAGS" = set; then
14851 CFLAGS=$ac_save_CFLAGS
14852 elif test $ac_cv_prog_cc_g = yes; then
14853 if test "$GCC" = yes; then
14854 CFLAGS="-g -O2"
14855 else
14856 CFLAGS="-g"
14857 fi
14858 else
14859 if test "$GCC" = yes; then
14860 CFLAGS="-O2"
14861 else
14862 CFLAGS=
14863 fi
14864 fi
14865 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14866 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14867 if test "${ac_cv_prog_cc_c89+set}" = set; then
14868 echo $ECHO_N "(cached) $ECHO_C" >&6
14869 else
14870 ac_cv_prog_cc_c89=no
14871 ac_save_CC=$CC
14872 cat >conftest.$ac_ext <<_ACEOF
14873 /* confdefs.h. */
14874 _ACEOF
14875 cat confdefs.h >>conftest.$ac_ext
14876 cat >>conftest.$ac_ext <<_ACEOF
14877 /* end confdefs.h. */
14878 #include <stdarg.h>
14879 #include <stdio.h>
14880 #include <sys/types.h>
14881 #include <sys/stat.h>
14882 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14883 struct buf { int x; };
14884 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14885 static char *e (p, i)
14886 char **p;
14887 int i;
14888 {
14889 return p[i];
14890 }
14891 static char *f (char * (*g) (char **, int), char **p, ...)
14892 {
14893 char *s;
14894 va_list v;
14895 va_start (v,p);
14896 s = g (p, va_arg (v,int));
14897 va_end (v);
14898 return s;
14899 }
14900
14901 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14902 function prototypes and stuff, but not '\xHH' hex character constants.
14903 These don't provoke an error unfortunately, instead are silently treated
14904 as 'x'. The following induces an error, until -std is added to get
14905 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14906 array size at least. It's necessary to write '\x00'==0 to get something
14907 that's true only with -std. */
14908 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14909
14910 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14911 inside strings and character constants. */
14912 #define FOO(x) 'x'
14913 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14914
14915 int test (int i, double x);
14916 struct s1 {int (*f) (int a);};
14917 struct s2 {int (*f) (double a);};
14918 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14919 int argc;
14920 char **argv;
14921 int
14922 main ()
14923 {
14924 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14925 ;
14926 return 0;
14927 }
14928 _ACEOF
14929 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14930 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14931 do
14932 CC="$ac_save_CC $ac_arg"
14933 rm -f conftest.$ac_objext
14934 if { (ac_try="$ac_compile"
14935 case "(($ac_try" in
14936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14937 *) ac_try_echo=$ac_try;;
14938 esac
14939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14940 (eval "$ac_compile") 2>conftest.er1
14941 ac_status=$?
14942 grep -v '^ *+' conftest.er1 >conftest.err
14943 rm -f conftest.er1
14944 cat conftest.err >&5
14945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14946 (exit $ac_status); } && {
14947 test -z "$ac_c_werror_flag" ||
14948 test ! -s conftest.err
14949 } && test -s conftest.$ac_objext; then
14950 ac_cv_prog_cc_c89=$ac_arg
14951 else
14952 echo "$as_me: failed program was:" >&5
14953 sed 's/^/| /' conftest.$ac_ext >&5
14954
14955
14956 fi
14957
14958 rm -f core conftest.err conftest.$ac_objext
14959 test "x$ac_cv_prog_cc_c89" != "xno" && break
14960 done
14961 rm -f conftest.$ac_ext
14962 CC=$ac_save_CC
14963
14964 fi
14965 # AC_CACHE_VAL
14966 case "x$ac_cv_prog_cc_c89" in
14967 x)
14968 { echo "$as_me:$LINENO: result: none needed" >&5
14969 echo "${ECHO_T}none needed" >&6; } ;;
14970 xno)
14971 { echo "$as_me:$LINENO: result: unsupported" >&5
14972 echo "${ECHO_T}unsupported" >&6; } ;;
14973 *)
14974 CC="$CC $ac_cv_prog_cc_c89"
14975 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14976 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14977 esac
14978
14979
14980 ac_ext=c
14981 ac_cpp='$CPP $CPPFLAGS'
14982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14985
14986
14987
14988
14989 ac_ext=c
14990 ac_cpp='$CPP $CPPFLAGS'
14991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14994
14995 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
14996 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
14997 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14998 echo $ECHO_N "(cached) $ECHO_C" >&6
14999 else
15000 cat >conftest.$ac_ext <<_ACEOF
15001 /* confdefs.h. */
15002 _ACEOF
15003 cat confdefs.h >>conftest.$ac_ext
15004 cat >>conftest.$ac_ext <<_ACEOF
15005 /* end confdefs.h. */
15006
15007 int
15008 main ()
15009 {
15010
15011 #ifndef __INTEL_COMPILER
15012 choke me
15013 #endif
15014
15015 ;
15016 return 0;
15017 }
15018 _ACEOF
15019 rm -f conftest.$ac_objext
15020 if { (ac_try="$ac_compile"
15021 case "(($ac_try" in
15022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15023 *) ac_try_echo=$ac_try;;
15024 esac
15025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15026 (eval "$ac_compile") 2>conftest.er1
15027 ac_status=$?
15028 grep -v '^ *+' conftest.er1 >conftest.err
15029 rm -f conftest.er1
15030 cat conftest.err >&5
15031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15032 (exit $ac_status); } && {
15033 test -z "$ac_c_werror_flag" ||
15034 test ! -s conftest.err
15035 } && test -s conftest.$ac_objext; then
15036 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15037 else
15038 echo "$as_me: failed program was:" >&5
15039 sed 's/^/| /' conftest.$ac_ext >&5
15040
15041 bakefile_cv_c_compiler___INTEL_COMPILER=no
15042
15043 fi
15044
15045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15046
15047
15048 fi
15049 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15050 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15051 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15052 :; INTELCC=yes
15053 else
15054 :;
15055 fi
15056 ac_ext=c
15057 ac_cpp='$CPP $CPPFLAGS'
15058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15061
15062
15063
15064
15065 if test "$INTELCC" = "yes"; then
15066
15067
15068 ac_ext=c
15069 ac_cpp='$CPP $CPPFLAGS'
15070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15073
15074 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15075 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15076 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15077 echo $ECHO_N "(cached) $ECHO_C" >&6
15078 else
15079 cat >conftest.$ac_ext <<_ACEOF
15080 /* confdefs.h. */
15081 _ACEOF
15082 cat confdefs.h >>conftest.$ac_ext
15083 cat >>conftest.$ac_ext <<_ACEOF
15084 /* end confdefs.h. */
15085
15086 int
15087 main ()
15088 {
15089
15090 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15091 choke me
15092 #endif
15093
15094 ;
15095 return 0;
15096 }
15097 _ACEOF
15098 rm -f conftest.$ac_objext
15099 if { (ac_try="$ac_compile"
15100 case "(($ac_try" in
15101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15102 *) ac_try_echo=$ac_try;;
15103 esac
15104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15105 (eval "$ac_compile") 2>conftest.er1
15106 ac_status=$?
15107 grep -v '^ *+' conftest.er1 >conftest.err
15108 rm -f conftest.er1
15109 cat conftest.err >&5
15110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15111 (exit $ac_status); } && {
15112 test -z "$ac_c_werror_flag" ||
15113 test ! -s conftest.err
15114 } && test -s conftest.$ac_objext; then
15115 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15116 else
15117 echo "$as_me: failed program was:" >&5
15118 sed 's/^/| /' conftest.$ac_ext >&5
15119
15120 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15121
15122 fi
15123
15124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15125
15126
15127 fi
15128 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15129 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15130 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15131 :; INTELCC8=yes
15132 else
15133 :;
15134 fi
15135 ac_ext=c
15136 ac_cpp='$CPP $CPPFLAGS'
15137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15140
15141
15142
15143
15144
15145 ac_ext=c
15146 ac_cpp='$CPP $CPPFLAGS'
15147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15150
15151 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15152 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15153 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15154 echo $ECHO_N "(cached) $ECHO_C" >&6
15155 else
15156 cat >conftest.$ac_ext <<_ACEOF
15157 /* confdefs.h. */
15158 _ACEOF
15159 cat confdefs.h >>conftest.$ac_ext
15160 cat >>conftest.$ac_ext <<_ACEOF
15161 /* end confdefs.h. */
15162
15163 int
15164 main ()
15165 {
15166
15167 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15168 choke me
15169 #endif
15170
15171 ;
15172 return 0;
15173 }
15174 _ACEOF
15175 rm -f conftest.$ac_objext
15176 if { (ac_try="$ac_compile"
15177 case "(($ac_try" in
15178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15179 *) ac_try_echo=$ac_try;;
15180 esac
15181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15182 (eval "$ac_compile") 2>conftest.er1
15183 ac_status=$?
15184 grep -v '^ *+' conftest.er1 >conftest.err
15185 rm -f conftest.er1
15186 cat conftest.err >&5
15187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15188 (exit $ac_status); } && {
15189 test -z "$ac_c_werror_flag" ||
15190 test ! -s conftest.err
15191 } && test -s conftest.$ac_objext; then
15192 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15193 else
15194 echo "$as_me: failed program was:" >&5
15195 sed 's/^/| /' conftest.$ac_ext >&5
15196
15197 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15198
15199 fi
15200
15201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15202
15203
15204 fi
15205 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15206 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15207 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15208 :; INTELCC10=yes
15209 else
15210 :;
15211 fi
15212 ac_ext=c
15213 ac_cpp='$CPP $CPPFLAGS'
15214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15217
15218
15219
15220 fi
15221
15222 if test "x$GCC" != "xyes"; then
15223 if test "xCC" = "xC"; then
15224 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15225 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15226 if test "${bakefile_cv_c_exto+set}" = set; then
15227 echo $ECHO_N "(cached) $ECHO_C" >&6
15228 else
15229 cat >conftest.$ac_ext <<_ACEOF
15230 /* confdefs.h. */
15231 _ACEOF
15232 cat confdefs.h >>conftest.$ac_ext
15233 cat >>conftest.$ac_ext <<_ACEOF
15234 /* end confdefs.h. */
15235
15236 int
15237 main ()
15238 {
15239
15240 ;
15241 return 0;
15242 }
15243 _ACEOF
15244 rm -f conftest.$ac_objext conftest.$ac_ext.o
15245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15246 (eval $ac_compile) 2>&5
15247 ac_status=$?
15248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15249 (exit $ac_status); }; then
15250 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15251 case $ac_file in
15252 conftest.$ac_ext.o)
15253 bakefile_cv_c_exto="-ext o"
15254 ;;
15255 *)
15256 ;;
15257 esac
15258 done
15259 else
15260 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15261 See \`config.log' for more details." >&5
15262 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15263 See \`config.log' for more details." >&2;}
15264 { (exit 1); exit 1; }; }
15265
15266 fi
15267
15268 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15269
15270 fi
15271 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15272 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15273 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15274 if test "c" = "c"; then
15275 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15276 fi
15277 if test "c" = "cxx"; then
15278 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15279 fi
15280 fi
15281
15282 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15283 unset ac_cv_prog_cc_g
15284 ac_test_CFLAGS=${CFLAGS+set}
15285 ac_save_CFLAGS=$CFLAGS
15286 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15287 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15288 if test "${ac_cv_prog_cc_g+set}" = set; then
15289 echo $ECHO_N "(cached) $ECHO_C" >&6
15290 else
15291 ac_save_c_werror_flag=$ac_c_werror_flag
15292 ac_c_werror_flag=yes
15293 ac_cv_prog_cc_g=no
15294 CFLAGS="-g"
15295 cat >conftest.$ac_ext <<_ACEOF
15296 /* confdefs.h. */
15297 _ACEOF
15298 cat confdefs.h >>conftest.$ac_ext
15299 cat >>conftest.$ac_ext <<_ACEOF
15300 /* end confdefs.h. */
15301
15302 int
15303 main ()
15304 {
15305
15306 ;
15307 return 0;
15308 }
15309 _ACEOF
15310 rm -f conftest.$ac_objext
15311 if { (ac_try="$ac_compile"
15312 case "(($ac_try" in
15313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15314 *) ac_try_echo=$ac_try;;
15315 esac
15316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15317 (eval "$ac_compile") 2>conftest.er1
15318 ac_status=$?
15319 grep -v '^ *+' conftest.er1 >conftest.err
15320 rm -f conftest.er1
15321 cat conftest.err >&5
15322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15323 (exit $ac_status); } && {
15324 test -z "$ac_c_werror_flag" ||
15325 test ! -s conftest.err
15326 } && test -s conftest.$ac_objext; then
15327 ac_cv_prog_cc_g=yes
15328 else
15329 echo "$as_me: failed program was:" >&5
15330 sed 's/^/| /' conftest.$ac_ext >&5
15331
15332 CFLAGS=""
15333 cat >conftest.$ac_ext <<_ACEOF
15334 /* confdefs.h. */
15335 _ACEOF
15336 cat confdefs.h >>conftest.$ac_ext
15337 cat >>conftest.$ac_ext <<_ACEOF
15338 /* end confdefs.h. */
15339
15340 int
15341 main ()
15342 {
15343
15344 ;
15345 return 0;
15346 }
15347 _ACEOF
15348 rm -f conftest.$ac_objext
15349 if { (ac_try="$ac_compile"
15350 case "(($ac_try" in
15351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15352 *) ac_try_echo=$ac_try;;
15353 esac
15354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15355 (eval "$ac_compile") 2>conftest.er1
15356 ac_status=$?
15357 grep -v '^ *+' conftest.er1 >conftest.err
15358 rm -f conftest.er1
15359 cat conftest.err >&5
15360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15361 (exit $ac_status); } && {
15362 test -z "$ac_c_werror_flag" ||
15363 test ! -s conftest.err
15364 } && test -s conftest.$ac_objext; then
15365 :
15366 else
15367 echo "$as_me: failed program was:" >&5
15368 sed 's/^/| /' conftest.$ac_ext >&5
15369
15370 ac_c_werror_flag=$ac_save_c_werror_flag
15371 CFLAGS="-g"
15372 cat >conftest.$ac_ext <<_ACEOF
15373 /* confdefs.h. */
15374 _ACEOF
15375 cat confdefs.h >>conftest.$ac_ext
15376 cat >>conftest.$ac_ext <<_ACEOF
15377 /* end confdefs.h. */
15378
15379 int
15380 main ()
15381 {
15382
15383 ;
15384 return 0;
15385 }
15386 _ACEOF
15387 rm -f conftest.$ac_objext
15388 if { (ac_try="$ac_compile"
15389 case "(($ac_try" in
15390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15391 *) ac_try_echo=$ac_try;;
15392 esac
15393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15394 (eval "$ac_compile") 2>conftest.er1
15395 ac_status=$?
15396 grep -v '^ *+' conftest.er1 >conftest.err
15397 rm -f conftest.er1
15398 cat conftest.err >&5
15399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15400 (exit $ac_status); } && {
15401 test -z "$ac_c_werror_flag" ||
15402 test ! -s conftest.err
15403 } && test -s conftest.$ac_objext; then
15404 ac_cv_prog_cc_g=yes
15405 else
15406 echo "$as_me: failed program was:" >&5
15407 sed 's/^/| /' conftest.$ac_ext >&5
15408
15409
15410 fi
15411
15412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15413 fi
15414
15415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15416 fi
15417
15418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15419 ac_c_werror_flag=$ac_save_c_werror_flag
15420 fi
15421 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15422 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15423 if test "$ac_test_CFLAGS" = set; then
15424 CFLAGS=$ac_save_CFLAGS
15425 elif test $ac_cv_prog_cc_g = yes; then
15426 if test "$GCC" = yes; then
15427 CFLAGS="-g -O2"
15428 else
15429 CFLAGS="-g"
15430 fi
15431 else
15432 if test "$GCC" = yes; then
15433 CFLAGS="-O2"
15434 else
15435 CFLAGS=
15436 fi
15437 fi
15438 fi
15439 fi
15440
15441 case `uname -s` in
15442 AIX*)
15443
15444
15445 ac_ext=c
15446 ac_cpp='$CPP $CPPFLAGS'
15447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15450
15451 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15452 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15453 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15454 echo $ECHO_N "(cached) $ECHO_C" >&6
15455 else
15456 cat >conftest.$ac_ext <<_ACEOF
15457 /* confdefs.h. */
15458 _ACEOF
15459 cat confdefs.h >>conftest.$ac_ext
15460 cat >>conftest.$ac_ext <<_ACEOF
15461 /* end confdefs.h. */
15462
15463 int
15464 main ()
15465 {
15466
15467 #ifndef __xlC__
15468 choke me
15469 #endif
15470
15471 ;
15472 return 0;
15473 }
15474 _ACEOF
15475 rm -f conftest.$ac_objext
15476 if { (ac_try="$ac_compile"
15477 case "(($ac_try" in
15478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15479 *) ac_try_echo=$ac_try;;
15480 esac
15481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15482 (eval "$ac_compile") 2>conftest.er1
15483 ac_status=$?
15484 grep -v '^ *+' conftest.er1 >conftest.err
15485 rm -f conftest.er1
15486 cat conftest.err >&5
15487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15488 (exit $ac_status); } && {
15489 test -z "$ac_c_werror_flag" ||
15490 test ! -s conftest.err
15491 } && test -s conftest.$ac_objext; then
15492 bakefile_cv_c_compiler___xlC__=yes
15493 else
15494 echo "$as_me: failed program was:" >&5
15495 sed 's/^/| /' conftest.$ac_ext >&5
15496
15497 bakefile_cv_c_compiler___xlC__=no
15498
15499 fi
15500
15501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15502
15503
15504 fi
15505 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15506 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15507 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15508 :; XLCC=yes
15509 else
15510 :;
15511 fi
15512 ac_ext=c
15513 ac_cpp='$CPP $CPPFLAGS'
15514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15517
15518
15519
15520 ;;
15521
15522 Darwin)
15523
15524
15525 ac_ext=c
15526 ac_cpp='$CPP $CPPFLAGS'
15527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15530
15531 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15532 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15533 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15534 echo $ECHO_N "(cached) $ECHO_C" >&6
15535 else
15536 cat >conftest.$ac_ext <<_ACEOF
15537 /* confdefs.h. */
15538 _ACEOF
15539 cat confdefs.h >>conftest.$ac_ext
15540 cat >>conftest.$ac_ext <<_ACEOF
15541 /* end confdefs.h. */
15542
15543 int
15544 main ()
15545 {
15546
15547 #ifndef __MWERKS__
15548 choke me
15549 #endif
15550
15551 ;
15552 return 0;
15553 }
15554 _ACEOF
15555 rm -f conftest.$ac_objext
15556 if { (ac_try="$ac_compile"
15557 case "(($ac_try" in
15558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15559 *) ac_try_echo=$ac_try;;
15560 esac
15561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15562 (eval "$ac_compile") 2>conftest.er1
15563 ac_status=$?
15564 grep -v '^ *+' conftest.er1 >conftest.err
15565 rm -f conftest.er1
15566 cat conftest.err >&5
15567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15568 (exit $ac_status); } && {
15569 test -z "$ac_c_werror_flag" ||
15570 test ! -s conftest.err
15571 } && test -s conftest.$ac_objext; then
15572 bakefile_cv_c_compiler___MWERKS__=yes
15573 else
15574 echo "$as_me: failed program was:" >&5
15575 sed 's/^/| /' conftest.$ac_ext >&5
15576
15577 bakefile_cv_c_compiler___MWERKS__=no
15578
15579 fi
15580
15581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15582
15583
15584 fi
15585 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15586 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15587 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15588 :; MWCC=yes
15589 else
15590 :;
15591 fi
15592 ac_ext=c
15593 ac_cpp='$CPP $CPPFLAGS'
15594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15597
15598
15599
15600 if test "$MWCC" != "yes"; then
15601
15602
15603 ac_ext=c
15604 ac_cpp='$CPP $CPPFLAGS'
15605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15608
15609 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15610 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15611 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15612 echo $ECHO_N "(cached) $ECHO_C" >&6
15613 else
15614 cat >conftest.$ac_ext <<_ACEOF
15615 /* confdefs.h. */
15616 _ACEOF
15617 cat confdefs.h >>conftest.$ac_ext
15618 cat >>conftest.$ac_ext <<_ACEOF
15619 /* end confdefs.h. */
15620
15621 int
15622 main ()
15623 {
15624
15625 #ifndef __xlC__
15626 choke me
15627 #endif
15628
15629 ;
15630 return 0;
15631 }
15632 _ACEOF
15633 rm -f conftest.$ac_objext
15634 if { (ac_try="$ac_compile"
15635 case "(($ac_try" in
15636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15637 *) ac_try_echo=$ac_try;;
15638 esac
15639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15640 (eval "$ac_compile") 2>conftest.er1
15641 ac_status=$?
15642 grep -v '^ *+' conftest.er1 >conftest.err
15643 rm -f conftest.er1
15644 cat conftest.err >&5
15645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15646 (exit $ac_status); } && {
15647 test -z "$ac_c_werror_flag" ||
15648 test ! -s conftest.err
15649 } && test -s conftest.$ac_objext; then
15650 bakefile_cv_c_compiler___xlC__=yes
15651 else
15652 echo "$as_me: failed program was:" >&5
15653 sed 's/^/| /' conftest.$ac_ext >&5
15654
15655 bakefile_cv_c_compiler___xlC__=no
15656
15657 fi
15658
15659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15660
15661
15662 fi
15663 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15664 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15665 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15666 :; XLCC=yes
15667 else
15668 :;
15669 fi
15670 ac_ext=c
15671 ac_cpp='$CPP $CPPFLAGS'
15672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15675
15676
15677
15678 fi
15679 ;;
15680
15681 IRIX*)
15682
15683
15684 ac_ext=c
15685 ac_cpp='$CPP $CPPFLAGS'
15686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15689
15690 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15691 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15692 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15693 echo $ECHO_N "(cached) $ECHO_C" >&6
15694 else
15695 cat >conftest.$ac_ext <<_ACEOF
15696 /* confdefs.h. */
15697 _ACEOF
15698 cat confdefs.h >>conftest.$ac_ext
15699 cat >>conftest.$ac_ext <<_ACEOF
15700 /* end confdefs.h. */
15701
15702 int
15703 main ()
15704 {
15705
15706 #ifndef _SGI_COMPILER_VERSION
15707 choke me
15708 #endif
15709
15710 ;
15711 return 0;
15712 }
15713 _ACEOF
15714 rm -f conftest.$ac_objext
15715 if { (ac_try="$ac_compile"
15716 case "(($ac_try" in
15717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15718 *) ac_try_echo=$ac_try;;
15719 esac
15720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15721 (eval "$ac_compile") 2>conftest.er1
15722 ac_status=$?
15723 grep -v '^ *+' conftest.er1 >conftest.err
15724 rm -f conftest.er1
15725 cat conftest.err >&5
15726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15727 (exit $ac_status); } && {
15728 test -z "$ac_c_werror_flag" ||
15729 test ! -s conftest.err
15730 } && test -s conftest.$ac_objext; then
15731 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15732 else
15733 echo "$as_me: failed program was:" >&5
15734 sed 's/^/| /' conftest.$ac_ext >&5
15735
15736 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15737
15738 fi
15739
15740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15741
15742
15743 fi
15744 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15745 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15746 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15747 :; SGICC=yes
15748 else
15749 :;
15750 fi
15751 ac_ext=c
15752 ac_cpp='$CPP $CPPFLAGS'
15753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15756
15757
15758
15759 ;;
15760
15761 Linux*)
15762 if test "$INTELCC" != "yes"; then
15763
15764
15765 ac_ext=c
15766 ac_cpp='$CPP $CPPFLAGS'
15767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15770
15771 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15772 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15773 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15774 echo $ECHO_N "(cached) $ECHO_C" >&6
15775 else
15776 cat >conftest.$ac_ext <<_ACEOF
15777 /* confdefs.h. */
15778 _ACEOF
15779 cat confdefs.h >>conftest.$ac_ext
15780 cat >>conftest.$ac_ext <<_ACEOF
15781 /* end confdefs.h. */
15782
15783 int
15784 main ()
15785 {
15786
15787 #ifndef __SUNPRO_C
15788 choke me
15789 #endif
15790
15791 ;
15792 return 0;
15793 }
15794 _ACEOF
15795 rm -f conftest.$ac_objext
15796 if { (ac_try="$ac_compile"
15797 case "(($ac_try" in
15798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15799 *) ac_try_echo=$ac_try;;
15800 esac
15801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15802 (eval "$ac_compile") 2>conftest.er1
15803 ac_status=$?
15804 grep -v '^ *+' conftest.er1 >conftest.err
15805 rm -f conftest.er1
15806 cat conftest.err >&5
15807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15808 (exit $ac_status); } && {
15809 test -z "$ac_c_werror_flag" ||
15810 test ! -s conftest.err
15811 } && test -s conftest.$ac_objext; then
15812 bakefile_cv_c_compiler___SUNPRO_C=yes
15813 else
15814 echo "$as_me: failed program was:" >&5
15815 sed 's/^/| /' conftest.$ac_ext >&5
15816
15817 bakefile_cv_c_compiler___SUNPRO_C=no
15818
15819 fi
15820
15821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15822
15823
15824 fi
15825 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15826 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15827 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15828 :; SUNCC=yes
15829 else
15830 :;
15831 fi
15832 ac_ext=c
15833 ac_cpp='$CPP $CPPFLAGS'
15834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15837
15838
15839
15840 fi
15841 ;;
15842
15843 HP-UX*)
15844
15845
15846 ac_ext=c
15847 ac_cpp='$CPP $CPPFLAGS'
15848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15851
15852 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15853 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15854 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15855 echo $ECHO_N "(cached) $ECHO_C" >&6
15856 else
15857 cat >conftest.$ac_ext <<_ACEOF
15858 /* confdefs.h. */
15859 _ACEOF
15860 cat confdefs.h >>conftest.$ac_ext
15861 cat >>conftest.$ac_ext <<_ACEOF
15862 /* end confdefs.h. */
15863
15864 int
15865 main ()
15866 {
15867
15868 #ifndef __HP_cc
15869 choke me
15870 #endif
15871
15872 ;
15873 return 0;
15874 }
15875 _ACEOF
15876 rm -f conftest.$ac_objext
15877 if { (ac_try="$ac_compile"
15878 case "(($ac_try" in
15879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15880 *) ac_try_echo=$ac_try;;
15881 esac
15882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15883 (eval "$ac_compile") 2>conftest.er1
15884 ac_status=$?
15885 grep -v '^ *+' conftest.er1 >conftest.err
15886 rm -f conftest.er1
15887 cat conftest.err >&5
15888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15889 (exit $ac_status); } && {
15890 test -z "$ac_c_werror_flag" ||
15891 test ! -s conftest.err
15892 } && test -s conftest.$ac_objext; then
15893 bakefile_cv_c_compiler___HP_cc=yes
15894 else
15895 echo "$as_me: failed program was:" >&5
15896 sed 's/^/| /' conftest.$ac_ext >&5
15897
15898 bakefile_cv_c_compiler___HP_cc=no
15899
15900 fi
15901
15902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15903
15904
15905 fi
15906 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15907 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15908 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15909 :; HPCC=yes
15910 else
15911 :;
15912 fi
15913 ac_ext=c
15914 ac_cpp='$CPP $CPPFLAGS'
15915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15918
15919
15920
15921 ;;
15922
15923 OSF1)
15924
15925
15926 ac_ext=c
15927 ac_cpp='$CPP $CPPFLAGS'
15928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15931
15932 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15933 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15934 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15935 echo $ECHO_N "(cached) $ECHO_C" >&6
15936 else
15937 cat >conftest.$ac_ext <<_ACEOF
15938 /* confdefs.h. */
15939 _ACEOF
15940 cat confdefs.h >>conftest.$ac_ext
15941 cat >>conftest.$ac_ext <<_ACEOF
15942 /* end confdefs.h. */
15943
15944 int
15945 main ()
15946 {
15947
15948 #ifndef __DECC
15949 choke me
15950 #endif
15951
15952 ;
15953 return 0;
15954 }
15955 _ACEOF
15956 rm -f conftest.$ac_objext
15957 if { (ac_try="$ac_compile"
15958 case "(($ac_try" in
15959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15960 *) ac_try_echo=$ac_try;;
15961 esac
15962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15963 (eval "$ac_compile") 2>conftest.er1
15964 ac_status=$?
15965 grep -v '^ *+' conftest.er1 >conftest.err
15966 rm -f conftest.er1
15967 cat conftest.err >&5
15968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15969 (exit $ac_status); } && {
15970 test -z "$ac_c_werror_flag" ||
15971 test ! -s conftest.err
15972 } && test -s conftest.$ac_objext; then
15973 bakefile_cv_c_compiler___DECC=yes
15974 else
15975 echo "$as_me: failed program was:" >&5
15976 sed 's/^/| /' conftest.$ac_ext >&5
15977
15978 bakefile_cv_c_compiler___DECC=no
15979
15980 fi
15981
15982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15983
15984
15985 fi
15986 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15987 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15988 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15989 :; COMPAQCC=yes
15990 else
15991 :;
15992 fi
15993 ac_ext=c
15994 ac_cpp='$CPP $CPPFLAGS'
15995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15998
15999
16000
16001 ;;
16002
16003 SunOS)
16004
16005
16006 ac_ext=c
16007 ac_cpp='$CPP $CPPFLAGS'
16008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16011
16012 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16013 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16014 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16015 echo $ECHO_N "(cached) $ECHO_C" >&6
16016 else
16017 cat >conftest.$ac_ext <<_ACEOF
16018 /* confdefs.h. */
16019 _ACEOF
16020 cat confdefs.h >>conftest.$ac_ext
16021 cat >>conftest.$ac_ext <<_ACEOF
16022 /* end confdefs.h. */
16023
16024 int
16025 main ()
16026 {
16027
16028 #ifndef __SUNPRO_C
16029 choke me
16030 #endif
16031
16032 ;
16033 return 0;
16034 }
16035 _ACEOF
16036 rm -f conftest.$ac_objext
16037 if { (ac_try="$ac_compile"
16038 case "(($ac_try" in
16039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16040 *) ac_try_echo=$ac_try;;
16041 esac
16042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16043 (eval "$ac_compile") 2>conftest.er1
16044 ac_status=$?
16045 grep -v '^ *+' conftest.er1 >conftest.err
16046 rm -f conftest.er1
16047 cat conftest.err >&5
16048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16049 (exit $ac_status); } && {
16050 test -z "$ac_c_werror_flag" ||
16051 test ! -s conftest.err
16052 } && test -s conftest.$ac_objext; then
16053 bakefile_cv_c_compiler___SUNPRO_C=yes
16054 else
16055 echo "$as_me: failed program was:" >&5
16056 sed 's/^/| /' conftest.$ac_ext >&5
16057
16058 bakefile_cv_c_compiler___SUNPRO_C=no
16059
16060 fi
16061
16062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16063
16064
16065 fi
16066 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16067 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16068 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16069 :; SUNCC=yes
16070 else
16071 :;
16072 fi
16073 ac_ext=c
16074 ac_cpp='$CPP $CPPFLAGS'
16075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16078
16079
16080
16081 ;;
16082 esac
16083 fi
16084
16085
16086
16087 ac_ext=c
16088 ac_cpp='$CPP $CPPFLAGS'
16089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16092 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16093 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16094 # On Suns, sometimes $CPP names a directory.
16095 if test -n "$CPP" && test -d "$CPP"; then
16096 CPP=
16097 fi
16098 if test -z "$CPP"; then
16099 if test "${ac_cv_prog_CPP+set}" = set; then
16100 echo $ECHO_N "(cached) $ECHO_C" >&6
16101 else
16102 # Double quotes because CPP needs to be expanded
16103 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16104 do
16105 ac_preproc_ok=false
16106 for ac_c_preproc_warn_flag in '' yes
16107 do
16108 # Use a header file that comes with gcc, so configuring glibc
16109 # with a fresh cross-compiler works.
16110 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16111 # <limits.h> exists even on freestanding compilers.
16112 # On the NeXT, cc -E runs the code through the compiler's parser,
16113 # not just through cpp. "Syntax error" is here to catch this case.
16114 cat >conftest.$ac_ext <<_ACEOF
16115 /* confdefs.h. */
16116 _ACEOF
16117 cat confdefs.h >>conftest.$ac_ext
16118 cat >>conftest.$ac_ext <<_ACEOF
16119 /* end confdefs.h. */
16120 #ifdef __STDC__
16121 # include <limits.h>
16122 #else
16123 # include <assert.h>
16124 #endif
16125 Syntax error
16126 _ACEOF
16127 if { (ac_try="$ac_cpp conftest.$ac_ext"
16128 case "(($ac_try" in
16129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16130 *) ac_try_echo=$ac_try;;
16131 esac
16132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16133 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16134 ac_status=$?
16135 grep -v '^ *+' conftest.er1 >conftest.err
16136 rm -f conftest.er1
16137 cat conftest.err >&5
16138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16139 (exit $ac_status); } >/dev/null && {
16140 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16141 test ! -s conftest.err
16142 }; then
16143 :
16144 else
16145 echo "$as_me: failed program was:" >&5
16146 sed 's/^/| /' conftest.$ac_ext >&5
16147
16148 # Broken: fails on valid input.
16149 continue
16150 fi
16151
16152 rm -f conftest.err conftest.$ac_ext
16153
16154 # OK, works on sane cases. Now check whether nonexistent headers
16155 # can be detected and how.
16156 cat >conftest.$ac_ext <<_ACEOF
16157 /* confdefs.h. */
16158 _ACEOF
16159 cat confdefs.h >>conftest.$ac_ext
16160 cat >>conftest.$ac_ext <<_ACEOF
16161 /* end confdefs.h. */
16162 #include <ac_nonexistent.h>
16163 _ACEOF
16164 if { (ac_try="$ac_cpp conftest.$ac_ext"
16165 case "(($ac_try" in
16166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16167 *) ac_try_echo=$ac_try;;
16168 esac
16169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16170 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16171 ac_status=$?
16172 grep -v '^ *+' conftest.er1 >conftest.err
16173 rm -f conftest.er1
16174 cat conftest.err >&5
16175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16176 (exit $ac_status); } >/dev/null && {
16177 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16178 test ! -s conftest.err
16179 }; then
16180 # Broken: success on invalid input.
16181 continue
16182 else
16183 echo "$as_me: failed program was:" >&5
16184 sed 's/^/| /' conftest.$ac_ext >&5
16185
16186 # Passes both tests.
16187 ac_preproc_ok=:
16188 break
16189 fi
16190
16191 rm -f conftest.err conftest.$ac_ext
16192
16193 done
16194 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16195 rm -f conftest.err conftest.$ac_ext
16196 if $ac_preproc_ok; then
16197 break
16198 fi
16199
16200 done
16201 ac_cv_prog_CPP=$CPP
16202
16203 fi
16204 CPP=$ac_cv_prog_CPP
16205 else
16206 ac_cv_prog_CPP=$CPP
16207 fi
16208 { echo "$as_me:$LINENO: result: $CPP" >&5
16209 echo "${ECHO_T}$CPP" >&6; }
16210 ac_preproc_ok=false
16211 for ac_c_preproc_warn_flag in '' yes
16212 do
16213 # Use a header file that comes with gcc, so configuring glibc
16214 # with a fresh cross-compiler works.
16215 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16216 # <limits.h> exists even on freestanding compilers.
16217 # On the NeXT, cc -E runs the code through the compiler's parser,
16218 # not just through cpp. "Syntax error" is here to catch this case.
16219 cat >conftest.$ac_ext <<_ACEOF
16220 /* confdefs.h. */
16221 _ACEOF
16222 cat confdefs.h >>conftest.$ac_ext
16223 cat >>conftest.$ac_ext <<_ACEOF
16224 /* end confdefs.h. */
16225 #ifdef __STDC__
16226 # include <limits.h>
16227 #else
16228 # include <assert.h>
16229 #endif
16230 Syntax error
16231 _ACEOF
16232 if { (ac_try="$ac_cpp conftest.$ac_ext"
16233 case "(($ac_try" in
16234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16235 *) ac_try_echo=$ac_try;;
16236 esac
16237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16238 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16239 ac_status=$?
16240 grep -v '^ *+' conftest.er1 >conftest.err
16241 rm -f conftest.er1
16242 cat conftest.err >&5
16243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16244 (exit $ac_status); } >/dev/null && {
16245 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16246 test ! -s conftest.err
16247 }; then
16248 :
16249 else
16250 echo "$as_me: failed program was:" >&5
16251 sed 's/^/| /' conftest.$ac_ext >&5
16252
16253 # Broken: fails on valid input.
16254 continue
16255 fi
16256
16257 rm -f conftest.err conftest.$ac_ext
16258
16259 # OK, works on sane cases. Now check whether nonexistent headers
16260 # can be detected and how.
16261 cat >conftest.$ac_ext <<_ACEOF
16262 /* confdefs.h. */
16263 _ACEOF
16264 cat confdefs.h >>conftest.$ac_ext
16265 cat >>conftest.$ac_ext <<_ACEOF
16266 /* end confdefs.h. */
16267 #include <ac_nonexistent.h>
16268 _ACEOF
16269 if { (ac_try="$ac_cpp conftest.$ac_ext"
16270 case "(($ac_try" in
16271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16272 *) ac_try_echo=$ac_try;;
16273 esac
16274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16275 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16276 ac_status=$?
16277 grep -v '^ *+' conftest.er1 >conftest.err
16278 rm -f conftest.er1
16279 cat conftest.err >&5
16280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16281 (exit $ac_status); } >/dev/null && {
16282 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16283 test ! -s conftest.err
16284 }; then
16285 # Broken: success on invalid input.
16286 continue
16287 else
16288 echo "$as_me: failed program was:" >&5
16289 sed 's/^/| /' conftest.$ac_ext >&5
16290
16291 # Passes both tests.
16292 ac_preproc_ok=:
16293 break
16294 fi
16295
16296 rm -f conftest.err conftest.$ac_ext
16297
16298 done
16299 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16300 rm -f conftest.err conftest.$ac_ext
16301 if $ac_preproc_ok; then
16302 :
16303 else
16304 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16305 See \`config.log' for more details." >&5
16306 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16307 See \`config.log' for more details." >&2;}
16308 { (exit 1); exit 1; }; }
16309 fi
16310
16311 ac_ext=c
16312 ac_cpp='$CPP $CPPFLAGS'
16313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16316
16317
16318 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16319 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16320 if test "${ac_cv_path_GREP+set}" = set; then
16321 echo $ECHO_N "(cached) $ECHO_C" >&6
16322 else
16323 # Extract the first word of "grep ggrep" to use in msg output
16324 if test -z "$GREP"; then
16325 set dummy grep ggrep; ac_prog_name=$2
16326 if test "${ac_cv_path_GREP+set}" = set; then
16327 echo $ECHO_N "(cached) $ECHO_C" >&6
16328 else
16329 ac_path_GREP_found=false
16330 # Loop through the user's path and test for each of PROGNAME-LIST
16331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16332 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16333 do
16334 IFS=$as_save_IFS
16335 test -z "$as_dir" && as_dir=.
16336 for ac_prog in grep ggrep; do
16337 for ac_exec_ext in '' $ac_executable_extensions; do
16338 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16339 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16340 # Check for GNU ac_path_GREP and select it if it is found.
16341 # Check for GNU $ac_path_GREP
16342 case `"$ac_path_GREP" --version 2>&1` in
16343 *GNU*)
16344 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16345 *)
16346 ac_count=0
16347 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16348 while :
16349 do
16350 cat "conftest.in" "conftest.in" >"conftest.tmp"
16351 mv "conftest.tmp" "conftest.in"
16352 cp "conftest.in" "conftest.nl"
16353 echo 'GREP' >> "conftest.nl"
16354 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16355 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16356 ac_count=`expr $ac_count + 1`
16357 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16358 # Best one so far, save it but keep looking for a better one
16359 ac_cv_path_GREP="$ac_path_GREP"
16360 ac_path_GREP_max=$ac_count
16361 fi
16362 # 10*(2^10) chars as input seems more than enough
16363 test $ac_count -gt 10 && break
16364 done
16365 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16366 esac
16367
16368
16369 $ac_path_GREP_found && break 3
16370 done
16371 done
16372
16373 done
16374 IFS=$as_save_IFS
16375
16376
16377 fi
16378
16379 GREP="$ac_cv_path_GREP"
16380 if test -z "$GREP"; then
16381 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16382 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16383 { (exit 1); exit 1; }; }
16384 fi
16385
16386 else
16387 ac_cv_path_GREP=$GREP
16388 fi
16389
16390
16391 fi
16392 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16393 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16394 GREP="$ac_cv_path_GREP"
16395
16396
16397 { echo "$as_me:$LINENO: checking for egrep" >&5
16398 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16399 if test "${ac_cv_path_EGREP+set}" = set; then
16400 echo $ECHO_N "(cached) $ECHO_C" >&6
16401 else
16402 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16403 then ac_cv_path_EGREP="$GREP -E"
16404 else
16405 # Extract the first word of "egrep" to use in msg output
16406 if test -z "$EGREP"; then
16407 set dummy egrep; ac_prog_name=$2
16408 if test "${ac_cv_path_EGREP+set}" = set; then
16409 echo $ECHO_N "(cached) $ECHO_C" >&6
16410 else
16411 ac_path_EGREP_found=false
16412 # Loop through the user's path and test for each of PROGNAME-LIST
16413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16414 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16415 do
16416 IFS=$as_save_IFS
16417 test -z "$as_dir" && as_dir=.
16418 for ac_prog in egrep; do
16419 for ac_exec_ext in '' $ac_executable_extensions; do
16420 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16421 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16422 # Check for GNU ac_path_EGREP and select it if it is found.
16423 # Check for GNU $ac_path_EGREP
16424 case `"$ac_path_EGREP" --version 2>&1` in
16425 *GNU*)
16426 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16427 *)
16428 ac_count=0
16429 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16430 while :
16431 do
16432 cat "conftest.in" "conftest.in" >"conftest.tmp"
16433 mv "conftest.tmp" "conftest.in"
16434 cp "conftest.in" "conftest.nl"
16435 echo 'EGREP' >> "conftest.nl"
16436 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16437 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16438 ac_count=`expr $ac_count + 1`
16439 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16440 # Best one so far, save it but keep looking for a better one
16441 ac_cv_path_EGREP="$ac_path_EGREP"
16442 ac_path_EGREP_max=$ac_count
16443 fi
16444 # 10*(2^10) chars as input seems more than enough
16445 test $ac_count -gt 10 && break
16446 done
16447 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16448 esac
16449
16450
16451 $ac_path_EGREP_found && break 3
16452 done
16453 done
16454
16455 done
16456 IFS=$as_save_IFS
16457
16458
16459 fi
16460
16461 EGREP="$ac_cv_path_EGREP"
16462 if test -z "$EGREP"; then
16463 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16464 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16465 { (exit 1); exit 1; }; }
16466 fi
16467
16468 else
16469 ac_cv_path_EGREP=$EGREP
16470 fi
16471
16472
16473 fi
16474 fi
16475 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16476 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16477 EGREP="$ac_cv_path_EGREP"
16478
16479
16480 if test $ac_cv_c_compiler_gnu = yes; then
16481 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16482 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16483 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16484 echo $ECHO_N "(cached) $ECHO_C" >&6
16485 else
16486 ac_pattern="Autoconf.*'x'"
16487 cat >conftest.$ac_ext <<_ACEOF
16488 /* confdefs.h. */
16489 _ACEOF
16490 cat confdefs.h >>conftest.$ac_ext
16491 cat >>conftest.$ac_ext <<_ACEOF
16492 /* end confdefs.h. */
16493 #include <sgtty.h>
16494 Autoconf TIOCGETP
16495 _ACEOF
16496 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16497 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16498 ac_cv_prog_gcc_traditional=yes
16499 else
16500 ac_cv_prog_gcc_traditional=no
16501 fi
16502 rm -f conftest*
16503
16504
16505 if test $ac_cv_prog_gcc_traditional = no; then
16506 cat >conftest.$ac_ext <<_ACEOF
16507 /* confdefs.h. */
16508 _ACEOF
16509 cat confdefs.h >>conftest.$ac_ext
16510 cat >>conftest.$ac_ext <<_ACEOF
16511 /* end confdefs.h. */
16512 #include <termio.h>
16513 Autoconf TCGETA
16514 _ACEOF
16515 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16516 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16517 ac_cv_prog_gcc_traditional=yes
16518 fi
16519 rm -f conftest*
16520
16521 fi
16522 fi
16523 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16524 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16525 if test $ac_cv_prog_gcc_traditional = yes; then
16526 CC="$CC -traditional"
16527 fi
16528 fi
16529
16530
16531 CXXFLAGS=${CXXFLAGS:=}
16532
16533
16534
16535 ac_ext=cpp
16536 ac_cpp='$CXXCPP $CPPFLAGS'
16537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16540 if test -z "$CXX"; then
16541 if test -n "$CCC"; then
16542 CXX=$CCC
16543 else
16544 if test -n "$ac_tool_prefix"; then
16545 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16546 do
16547 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16548 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16549 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16551 if test "${ac_cv_prog_CXX+set}" = set; then
16552 echo $ECHO_N "(cached) $ECHO_C" >&6
16553 else
16554 if test -n "$CXX"; then
16555 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16556 else
16557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16558 for as_dir in $PATH
16559 do
16560 IFS=$as_save_IFS
16561 test -z "$as_dir" && as_dir=.
16562 for ac_exec_ext in '' $ac_executable_extensions; do
16563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16564 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16566 break 2
16567 fi
16568 done
16569 done
16570 IFS=$as_save_IFS
16571
16572 fi
16573 fi
16574 CXX=$ac_cv_prog_CXX
16575 if test -n "$CXX"; then
16576 { echo "$as_me:$LINENO: result: $CXX" >&5
16577 echo "${ECHO_T}$CXX" >&6; }
16578 else
16579 { echo "$as_me:$LINENO: result: no" >&5
16580 echo "${ECHO_T}no" >&6; }
16581 fi
16582
16583
16584 test -n "$CXX" && break
16585 done
16586 fi
16587 if test -z "$CXX"; then
16588 ac_ct_CXX=$CXX
16589 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16590 do
16591 # Extract the first word of "$ac_prog", so it can be a program name with args.
16592 set dummy $ac_prog; ac_word=$2
16593 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16595 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16596 echo $ECHO_N "(cached) $ECHO_C" >&6
16597 else
16598 if test -n "$ac_ct_CXX"; then
16599 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16600 else
16601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16602 for as_dir in $PATH
16603 do
16604 IFS=$as_save_IFS
16605 test -z "$as_dir" && as_dir=.
16606 for ac_exec_ext in '' $ac_executable_extensions; do
16607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16608 ac_cv_prog_ac_ct_CXX="$ac_prog"
16609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16610 break 2
16611 fi
16612 done
16613 done
16614 IFS=$as_save_IFS
16615
16616 fi
16617 fi
16618 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16619 if test -n "$ac_ct_CXX"; then
16620 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16621 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16622 else
16623 { echo "$as_me:$LINENO: result: no" >&5
16624 echo "${ECHO_T}no" >&6; }
16625 fi
16626
16627
16628 test -n "$ac_ct_CXX" && break
16629 done
16630
16631 if test "x$ac_ct_CXX" = x; then
16632 CXX="g++"
16633 else
16634 case $cross_compiling:$ac_tool_warned in
16635 yes:)
16636 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16637 whose name does not start with the host triplet. If you think this
16638 configuration is useful to you, please write to autoconf@gnu.org." >&5
16639 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16640 whose name does not start with the host triplet. If you think this
16641 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16642 ac_tool_warned=yes ;;
16643 esac
16644 CXX=$ac_ct_CXX
16645 fi
16646 fi
16647
16648 fi
16649 fi
16650 # Provide some information about the compiler.
16651 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16652 ac_compiler=`set X $ac_compile; echo $2`
16653 { (ac_try="$ac_compiler --version >&5"
16654 case "(($ac_try" in
16655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16656 *) ac_try_echo=$ac_try;;
16657 esac
16658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16659 (eval "$ac_compiler --version >&5") 2>&5
16660 ac_status=$?
16661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16662 (exit $ac_status); }
16663 { (ac_try="$ac_compiler -v >&5"
16664 case "(($ac_try" in
16665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16666 *) ac_try_echo=$ac_try;;
16667 esac
16668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16669 (eval "$ac_compiler -v >&5") 2>&5
16670 ac_status=$?
16671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16672 (exit $ac_status); }
16673 { (ac_try="$ac_compiler -V >&5"
16674 case "(($ac_try" in
16675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16676 *) ac_try_echo=$ac_try;;
16677 esac
16678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16679 (eval "$ac_compiler -V >&5") 2>&5
16680 ac_status=$?
16681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16682 (exit $ac_status); }
16683
16684 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16685 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16686 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16687 echo $ECHO_N "(cached) $ECHO_C" >&6
16688 else
16689 cat >conftest.$ac_ext <<_ACEOF
16690 /* confdefs.h. */
16691 _ACEOF
16692 cat confdefs.h >>conftest.$ac_ext
16693 cat >>conftest.$ac_ext <<_ACEOF
16694 /* end confdefs.h. */
16695
16696 int
16697 main ()
16698 {
16699 #ifndef __GNUC__
16700 choke me
16701 #endif
16702
16703 ;
16704 return 0;
16705 }
16706 _ACEOF
16707 rm -f conftest.$ac_objext
16708 if { (ac_try="$ac_compile"
16709 case "(($ac_try" in
16710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16711 *) ac_try_echo=$ac_try;;
16712 esac
16713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16714 (eval "$ac_compile") 2>conftest.er1
16715 ac_status=$?
16716 grep -v '^ *+' conftest.er1 >conftest.err
16717 rm -f conftest.er1
16718 cat conftest.err >&5
16719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16720 (exit $ac_status); } && {
16721 test -z "$ac_cxx_werror_flag" ||
16722 test ! -s conftest.err
16723 } && test -s conftest.$ac_objext; then
16724 ac_compiler_gnu=yes
16725 else
16726 echo "$as_me: failed program was:" >&5
16727 sed 's/^/| /' conftest.$ac_ext >&5
16728
16729 ac_compiler_gnu=no
16730 fi
16731
16732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16733 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16734
16735 fi
16736 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16737 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16738 GXX=`test $ac_compiler_gnu = yes && echo yes`
16739 ac_test_CXXFLAGS=${CXXFLAGS+set}
16740 ac_save_CXXFLAGS=$CXXFLAGS
16741 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16742 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16743 if test "${ac_cv_prog_cxx_g+set}" = set; then
16744 echo $ECHO_N "(cached) $ECHO_C" >&6
16745 else
16746 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16747 ac_cxx_werror_flag=yes
16748 ac_cv_prog_cxx_g=no
16749 CXXFLAGS="-g"
16750 cat >conftest.$ac_ext <<_ACEOF
16751 /* confdefs.h. */
16752 _ACEOF
16753 cat confdefs.h >>conftest.$ac_ext
16754 cat >>conftest.$ac_ext <<_ACEOF
16755 /* end confdefs.h. */
16756
16757 int
16758 main ()
16759 {
16760
16761 ;
16762 return 0;
16763 }
16764 _ACEOF
16765 rm -f conftest.$ac_objext
16766 if { (ac_try="$ac_compile"
16767 case "(($ac_try" in
16768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16769 *) ac_try_echo=$ac_try;;
16770 esac
16771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16772 (eval "$ac_compile") 2>conftest.er1
16773 ac_status=$?
16774 grep -v '^ *+' conftest.er1 >conftest.err
16775 rm -f conftest.er1
16776 cat conftest.err >&5
16777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16778 (exit $ac_status); } && {
16779 test -z "$ac_cxx_werror_flag" ||
16780 test ! -s conftest.err
16781 } && test -s conftest.$ac_objext; then
16782 ac_cv_prog_cxx_g=yes
16783 else
16784 echo "$as_me: failed program was:" >&5
16785 sed 's/^/| /' conftest.$ac_ext >&5
16786
16787 CXXFLAGS=""
16788 cat >conftest.$ac_ext <<_ACEOF
16789 /* confdefs.h. */
16790 _ACEOF
16791 cat confdefs.h >>conftest.$ac_ext
16792 cat >>conftest.$ac_ext <<_ACEOF
16793 /* end confdefs.h. */
16794
16795 int
16796 main ()
16797 {
16798
16799 ;
16800 return 0;
16801 }
16802 _ACEOF
16803 rm -f conftest.$ac_objext
16804 if { (ac_try="$ac_compile"
16805 case "(($ac_try" in
16806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16807 *) ac_try_echo=$ac_try;;
16808 esac
16809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16810 (eval "$ac_compile") 2>conftest.er1
16811 ac_status=$?
16812 grep -v '^ *+' conftest.er1 >conftest.err
16813 rm -f conftest.er1
16814 cat conftest.err >&5
16815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16816 (exit $ac_status); } && {
16817 test -z "$ac_cxx_werror_flag" ||
16818 test ! -s conftest.err
16819 } && test -s conftest.$ac_objext; then
16820 :
16821 else
16822 echo "$as_me: failed program was:" >&5
16823 sed 's/^/| /' conftest.$ac_ext >&5
16824
16825 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16826 CXXFLAGS="-g"
16827 cat >conftest.$ac_ext <<_ACEOF
16828 /* confdefs.h. */
16829 _ACEOF
16830 cat confdefs.h >>conftest.$ac_ext
16831 cat >>conftest.$ac_ext <<_ACEOF
16832 /* end confdefs.h. */
16833
16834 int
16835 main ()
16836 {
16837
16838 ;
16839 return 0;
16840 }
16841 _ACEOF
16842 rm -f conftest.$ac_objext
16843 if { (ac_try="$ac_compile"
16844 case "(($ac_try" in
16845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16846 *) ac_try_echo=$ac_try;;
16847 esac
16848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16849 (eval "$ac_compile") 2>conftest.er1
16850 ac_status=$?
16851 grep -v '^ *+' conftest.er1 >conftest.err
16852 rm -f conftest.er1
16853 cat conftest.err >&5
16854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16855 (exit $ac_status); } && {
16856 test -z "$ac_cxx_werror_flag" ||
16857 test ! -s conftest.err
16858 } && test -s conftest.$ac_objext; then
16859 ac_cv_prog_cxx_g=yes
16860 else
16861 echo "$as_me: failed program was:" >&5
16862 sed 's/^/| /' conftest.$ac_ext >&5
16863
16864
16865 fi
16866
16867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16868 fi
16869
16870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16871 fi
16872
16873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16874 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16875 fi
16876 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16877 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16878 if test "$ac_test_CXXFLAGS" = set; then
16879 CXXFLAGS=$ac_save_CXXFLAGS
16880 elif test $ac_cv_prog_cxx_g = yes; then
16881 if test "$GXX" = yes; then
16882 CXXFLAGS="-g -O2"
16883 else
16884 CXXFLAGS="-g"
16885 fi
16886 else
16887 if test "$GXX" = yes; then
16888 CXXFLAGS="-O2"
16889 else
16890 CXXFLAGS=
16891 fi
16892 fi
16893 ac_ext=c
16894 ac_cpp='$CPP $CPPFLAGS'
16895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16898
16899
16900
16901
16902 ac_ext=cpp
16903 ac_cpp='$CXXCPP $CPPFLAGS'
16904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16907
16908 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16909 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16910 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16911 echo $ECHO_N "(cached) $ECHO_C" >&6
16912 else
16913 cat >conftest.$ac_ext <<_ACEOF
16914 /* confdefs.h. */
16915 _ACEOF
16916 cat confdefs.h >>conftest.$ac_ext
16917 cat >>conftest.$ac_ext <<_ACEOF
16918 /* end confdefs.h. */
16919
16920 int
16921 main ()
16922 {
16923
16924 #ifndef __INTEL_COMPILER
16925 choke me
16926 #endif
16927
16928 ;
16929 return 0;
16930 }
16931 _ACEOF
16932 rm -f conftest.$ac_objext
16933 if { (ac_try="$ac_compile"
16934 case "(($ac_try" in
16935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16936 *) ac_try_echo=$ac_try;;
16937 esac
16938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16939 (eval "$ac_compile") 2>conftest.er1
16940 ac_status=$?
16941 grep -v '^ *+' conftest.er1 >conftest.err
16942 rm -f conftest.er1
16943 cat conftest.err >&5
16944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16945 (exit $ac_status); } && {
16946 test -z "$ac_cxx_werror_flag" ||
16947 test ! -s conftest.err
16948 } && test -s conftest.$ac_objext; then
16949 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16950 else
16951 echo "$as_me: failed program was:" >&5
16952 sed 's/^/| /' conftest.$ac_ext >&5
16953
16954 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16955
16956 fi
16957
16958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16959
16960
16961 fi
16962 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16963 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16964 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16965 :; INTELCXX=yes
16966 else
16967 :;
16968 fi
16969 ac_ext=c
16970 ac_cpp='$CPP $CPPFLAGS'
16971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16974
16975
16976
16977
16978 if test "$INTELCXX" = "yes"; then
16979
16980
16981 ac_ext=cpp
16982 ac_cpp='$CXXCPP $CPPFLAGS'
16983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16986
16987 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
16988 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
16989 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16990 echo $ECHO_N "(cached) $ECHO_C" >&6
16991 else
16992 cat >conftest.$ac_ext <<_ACEOF
16993 /* confdefs.h. */
16994 _ACEOF
16995 cat confdefs.h >>conftest.$ac_ext
16996 cat >>conftest.$ac_ext <<_ACEOF
16997 /* end confdefs.h. */
16998
16999 int
17000 main ()
17001 {
17002
17003 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17004 choke me
17005 #endif
17006
17007 ;
17008 return 0;
17009 }
17010 _ACEOF
17011 rm -f conftest.$ac_objext
17012 if { (ac_try="$ac_compile"
17013 case "(($ac_try" in
17014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17015 *) ac_try_echo=$ac_try;;
17016 esac
17017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17018 (eval "$ac_compile") 2>conftest.er1
17019 ac_status=$?
17020 grep -v '^ *+' conftest.er1 >conftest.err
17021 rm -f conftest.er1
17022 cat conftest.err >&5
17023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17024 (exit $ac_status); } && {
17025 test -z "$ac_cxx_werror_flag" ||
17026 test ! -s conftest.err
17027 } && test -s conftest.$ac_objext; then
17028 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17029 else
17030 echo "$as_me: failed program was:" >&5
17031 sed 's/^/| /' conftest.$ac_ext >&5
17032
17033 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17034
17035 fi
17036
17037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17038
17039
17040 fi
17041 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17042 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17043 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17044 :; INTELCXX8=yes
17045 else
17046 :;
17047 fi
17048 ac_ext=c
17049 ac_cpp='$CPP $CPPFLAGS'
17050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17053
17054
17055
17056
17057
17058 ac_ext=cpp
17059 ac_cpp='$CXXCPP $CPPFLAGS'
17060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17063
17064 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17065 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17066 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17067 echo $ECHO_N "(cached) $ECHO_C" >&6
17068 else
17069 cat >conftest.$ac_ext <<_ACEOF
17070 /* confdefs.h. */
17071 _ACEOF
17072 cat confdefs.h >>conftest.$ac_ext
17073 cat >>conftest.$ac_ext <<_ACEOF
17074 /* end confdefs.h. */
17075
17076 int
17077 main ()
17078 {
17079
17080 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17081 choke me
17082 #endif
17083
17084 ;
17085 return 0;
17086 }
17087 _ACEOF
17088 rm -f conftest.$ac_objext
17089 if { (ac_try="$ac_compile"
17090 case "(($ac_try" in
17091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17092 *) ac_try_echo=$ac_try;;
17093 esac
17094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17095 (eval "$ac_compile") 2>conftest.er1
17096 ac_status=$?
17097 grep -v '^ *+' conftest.er1 >conftest.err
17098 rm -f conftest.er1
17099 cat conftest.err >&5
17100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17101 (exit $ac_status); } && {
17102 test -z "$ac_cxx_werror_flag" ||
17103 test ! -s conftest.err
17104 } && test -s conftest.$ac_objext; then
17105 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17106 else
17107 echo "$as_me: failed program was:" >&5
17108 sed 's/^/| /' conftest.$ac_ext >&5
17109
17110 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17111
17112 fi
17113
17114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17115
17116
17117 fi
17118 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17119 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17120 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17121 :; INTELCXX10=yes
17122 else
17123 :;
17124 fi
17125 ac_ext=c
17126 ac_cpp='$CPP $CPPFLAGS'
17127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17130
17131
17132
17133 fi
17134
17135 if test "x$GCXX" != "xyes"; then
17136 if test "xCXX" = "xC"; then
17137 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17138 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17139 if test "${bakefile_cv_c_exto+set}" = set; then
17140 echo $ECHO_N "(cached) $ECHO_C" >&6
17141 else
17142 cat >conftest.$ac_ext <<_ACEOF
17143 /* confdefs.h. */
17144 _ACEOF
17145 cat confdefs.h >>conftest.$ac_ext
17146 cat >>conftest.$ac_ext <<_ACEOF
17147 /* end confdefs.h. */
17148
17149 int
17150 main ()
17151 {
17152
17153 ;
17154 return 0;
17155 }
17156 _ACEOF
17157 rm -f conftest.$ac_objext conftest.$ac_ext.o
17158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17159 (eval $ac_compile) 2>&5
17160 ac_status=$?
17161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17162 (exit $ac_status); }; then
17163 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17164 case $ac_file in
17165 conftest.$ac_ext.o)
17166 bakefile_cv_c_exto="-ext o"
17167 ;;
17168 *)
17169 ;;
17170 esac
17171 done
17172 else
17173 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17174 See \`config.log' for more details." >&5
17175 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17176 See \`config.log' for more details." >&2;}
17177 { (exit 1); exit 1; }; }
17178
17179 fi
17180
17181 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17182
17183 fi
17184 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17185 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17186 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17187 if test "c" = "c"; then
17188 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17189 fi
17190 if test "c" = "cxx"; then
17191 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17192 fi
17193 fi
17194
17195 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17196 unset ac_cv_prog_cc_g
17197 ac_test_CFLAGS=${CFLAGS+set}
17198 ac_save_CFLAGS=$CFLAGS
17199 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17200 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17201 if test "${ac_cv_prog_cc_g+set}" = set; then
17202 echo $ECHO_N "(cached) $ECHO_C" >&6
17203 else
17204 ac_save_c_werror_flag=$ac_c_werror_flag
17205 ac_c_werror_flag=yes
17206 ac_cv_prog_cc_g=no
17207 CFLAGS="-g"
17208 cat >conftest.$ac_ext <<_ACEOF
17209 /* confdefs.h. */
17210 _ACEOF
17211 cat confdefs.h >>conftest.$ac_ext
17212 cat >>conftest.$ac_ext <<_ACEOF
17213 /* end confdefs.h. */
17214
17215 int
17216 main ()
17217 {
17218
17219 ;
17220 return 0;
17221 }
17222 _ACEOF
17223 rm -f conftest.$ac_objext
17224 if { (ac_try="$ac_compile"
17225 case "(($ac_try" in
17226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17227 *) ac_try_echo=$ac_try;;
17228 esac
17229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17230 (eval "$ac_compile") 2>conftest.er1
17231 ac_status=$?
17232 grep -v '^ *+' conftest.er1 >conftest.err
17233 rm -f conftest.er1
17234 cat conftest.err >&5
17235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17236 (exit $ac_status); } && {
17237 test -z "$ac_c_werror_flag" ||
17238 test ! -s conftest.err
17239 } && test -s conftest.$ac_objext; then
17240 ac_cv_prog_cc_g=yes
17241 else
17242 echo "$as_me: failed program was:" >&5
17243 sed 's/^/| /' conftest.$ac_ext >&5
17244
17245 CFLAGS=""
17246 cat >conftest.$ac_ext <<_ACEOF
17247 /* confdefs.h. */
17248 _ACEOF
17249 cat confdefs.h >>conftest.$ac_ext
17250 cat >>conftest.$ac_ext <<_ACEOF
17251 /* end confdefs.h. */
17252
17253 int
17254 main ()
17255 {
17256
17257 ;
17258 return 0;
17259 }
17260 _ACEOF
17261 rm -f conftest.$ac_objext
17262 if { (ac_try="$ac_compile"
17263 case "(($ac_try" in
17264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17265 *) ac_try_echo=$ac_try;;
17266 esac
17267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17268 (eval "$ac_compile") 2>conftest.er1
17269 ac_status=$?
17270 grep -v '^ *+' conftest.er1 >conftest.err
17271 rm -f conftest.er1
17272 cat conftest.err >&5
17273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17274 (exit $ac_status); } && {
17275 test -z "$ac_c_werror_flag" ||
17276 test ! -s conftest.err
17277 } && test -s conftest.$ac_objext; then
17278 :
17279 else
17280 echo "$as_me: failed program was:" >&5
17281 sed 's/^/| /' conftest.$ac_ext >&5
17282
17283 ac_c_werror_flag=$ac_save_c_werror_flag
17284 CFLAGS="-g"
17285 cat >conftest.$ac_ext <<_ACEOF
17286 /* confdefs.h. */
17287 _ACEOF
17288 cat confdefs.h >>conftest.$ac_ext
17289 cat >>conftest.$ac_ext <<_ACEOF
17290 /* end confdefs.h. */
17291
17292 int
17293 main ()
17294 {
17295
17296 ;
17297 return 0;
17298 }
17299 _ACEOF
17300 rm -f conftest.$ac_objext
17301 if { (ac_try="$ac_compile"
17302 case "(($ac_try" in
17303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17304 *) ac_try_echo=$ac_try;;
17305 esac
17306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17307 (eval "$ac_compile") 2>conftest.er1
17308 ac_status=$?
17309 grep -v '^ *+' conftest.er1 >conftest.err
17310 rm -f conftest.er1
17311 cat conftest.err >&5
17312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17313 (exit $ac_status); } && {
17314 test -z "$ac_c_werror_flag" ||
17315 test ! -s conftest.err
17316 } && test -s conftest.$ac_objext; then
17317 ac_cv_prog_cc_g=yes
17318 else
17319 echo "$as_me: failed program was:" >&5
17320 sed 's/^/| /' conftest.$ac_ext >&5
17321
17322
17323 fi
17324
17325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17326 fi
17327
17328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17329 fi
17330
17331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17332 ac_c_werror_flag=$ac_save_c_werror_flag
17333 fi
17334 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17335 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17336 if test "$ac_test_CFLAGS" = set; then
17337 CFLAGS=$ac_save_CFLAGS
17338 elif test $ac_cv_prog_cc_g = yes; then
17339 if test "$GCC" = yes; then
17340 CFLAGS="-g -O2"
17341 else
17342 CFLAGS="-g"
17343 fi
17344 else
17345 if test "$GCC" = yes; then
17346 CFLAGS="-O2"
17347 else
17348 CFLAGS=
17349 fi
17350 fi
17351 fi
17352 fi
17353
17354 case `uname -s` in
17355 AIX*)
17356
17357
17358 ac_ext=cpp
17359 ac_cpp='$CXXCPP $CPPFLAGS'
17360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17363
17364 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17365 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17366 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17367 echo $ECHO_N "(cached) $ECHO_C" >&6
17368 else
17369 cat >conftest.$ac_ext <<_ACEOF
17370 /* confdefs.h. */
17371 _ACEOF
17372 cat confdefs.h >>conftest.$ac_ext
17373 cat >>conftest.$ac_ext <<_ACEOF
17374 /* end confdefs.h. */
17375
17376 int
17377 main ()
17378 {
17379
17380 #ifndef __xlC__
17381 choke me
17382 #endif
17383
17384 ;
17385 return 0;
17386 }
17387 _ACEOF
17388 rm -f conftest.$ac_objext
17389 if { (ac_try="$ac_compile"
17390 case "(($ac_try" in
17391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17392 *) ac_try_echo=$ac_try;;
17393 esac
17394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17395 (eval "$ac_compile") 2>conftest.er1
17396 ac_status=$?
17397 grep -v '^ *+' conftest.er1 >conftest.err
17398 rm -f conftest.er1
17399 cat conftest.err >&5
17400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17401 (exit $ac_status); } && {
17402 test -z "$ac_cxx_werror_flag" ||
17403 test ! -s conftest.err
17404 } && test -s conftest.$ac_objext; then
17405 bakefile_cv_cxx_compiler___xlC__=yes
17406 else
17407 echo "$as_me: failed program was:" >&5
17408 sed 's/^/| /' conftest.$ac_ext >&5
17409
17410 bakefile_cv_cxx_compiler___xlC__=no
17411
17412 fi
17413
17414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17415
17416
17417 fi
17418 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17419 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17420 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17421 :; XLCXX=yes
17422 else
17423 :;
17424 fi
17425 ac_ext=c
17426 ac_cpp='$CPP $CPPFLAGS'
17427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17430
17431
17432
17433 ;;
17434
17435 Darwin)
17436
17437
17438 ac_ext=cpp
17439 ac_cpp='$CXXCPP $CPPFLAGS'
17440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17443
17444 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17445 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17446 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17447 echo $ECHO_N "(cached) $ECHO_C" >&6
17448 else
17449 cat >conftest.$ac_ext <<_ACEOF
17450 /* confdefs.h. */
17451 _ACEOF
17452 cat confdefs.h >>conftest.$ac_ext
17453 cat >>conftest.$ac_ext <<_ACEOF
17454 /* end confdefs.h. */
17455
17456 int
17457 main ()
17458 {
17459
17460 #ifndef __MWERKS__
17461 choke me
17462 #endif
17463
17464 ;
17465 return 0;
17466 }
17467 _ACEOF
17468 rm -f conftest.$ac_objext
17469 if { (ac_try="$ac_compile"
17470 case "(($ac_try" in
17471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17472 *) ac_try_echo=$ac_try;;
17473 esac
17474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17475 (eval "$ac_compile") 2>conftest.er1
17476 ac_status=$?
17477 grep -v '^ *+' conftest.er1 >conftest.err
17478 rm -f conftest.er1
17479 cat conftest.err >&5
17480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17481 (exit $ac_status); } && {
17482 test -z "$ac_cxx_werror_flag" ||
17483 test ! -s conftest.err
17484 } && test -s conftest.$ac_objext; then
17485 bakefile_cv_cxx_compiler___MWERKS__=yes
17486 else
17487 echo "$as_me: failed program was:" >&5
17488 sed 's/^/| /' conftest.$ac_ext >&5
17489
17490 bakefile_cv_cxx_compiler___MWERKS__=no
17491
17492 fi
17493
17494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17495
17496
17497 fi
17498 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17499 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17500 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17501 :; MWCXX=yes
17502 else
17503 :;
17504 fi
17505 ac_ext=c
17506 ac_cpp='$CPP $CPPFLAGS'
17507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17510
17511
17512
17513 if test "$MWCXX" != "yes"; then
17514
17515
17516 ac_ext=cpp
17517 ac_cpp='$CXXCPP $CPPFLAGS'
17518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17521
17522 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17523 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17524 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17525 echo $ECHO_N "(cached) $ECHO_C" >&6
17526 else
17527 cat >conftest.$ac_ext <<_ACEOF
17528 /* confdefs.h. */
17529 _ACEOF
17530 cat confdefs.h >>conftest.$ac_ext
17531 cat >>conftest.$ac_ext <<_ACEOF
17532 /* end confdefs.h. */
17533
17534 int
17535 main ()
17536 {
17537
17538 #ifndef __xlC__
17539 choke me
17540 #endif
17541
17542 ;
17543 return 0;
17544 }
17545 _ACEOF
17546 rm -f conftest.$ac_objext
17547 if { (ac_try="$ac_compile"
17548 case "(($ac_try" in
17549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17550 *) ac_try_echo=$ac_try;;
17551 esac
17552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17553 (eval "$ac_compile") 2>conftest.er1
17554 ac_status=$?
17555 grep -v '^ *+' conftest.er1 >conftest.err
17556 rm -f conftest.er1
17557 cat conftest.err >&5
17558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17559 (exit $ac_status); } && {
17560 test -z "$ac_cxx_werror_flag" ||
17561 test ! -s conftest.err
17562 } && test -s conftest.$ac_objext; then
17563 bakefile_cv_cxx_compiler___xlC__=yes
17564 else
17565 echo "$as_me: failed program was:" >&5
17566 sed 's/^/| /' conftest.$ac_ext >&5
17567
17568 bakefile_cv_cxx_compiler___xlC__=no
17569
17570 fi
17571
17572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17573
17574
17575 fi
17576 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17577 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17578 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17579 :; XLCXX=yes
17580 else
17581 :;
17582 fi
17583 ac_ext=c
17584 ac_cpp='$CPP $CPPFLAGS'
17585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17588
17589
17590
17591 fi
17592 ;;
17593
17594 IRIX*)
17595
17596
17597 ac_ext=cpp
17598 ac_cpp='$CXXCPP $CPPFLAGS'
17599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17602
17603 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17604 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17605 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17606 echo $ECHO_N "(cached) $ECHO_C" >&6
17607 else
17608 cat >conftest.$ac_ext <<_ACEOF
17609 /* confdefs.h. */
17610 _ACEOF
17611 cat confdefs.h >>conftest.$ac_ext
17612 cat >>conftest.$ac_ext <<_ACEOF
17613 /* end confdefs.h. */
17614
17615 int
17616 main ()
17617 {
17618
17619 #ifndef _SGI_COMPILER_VERSION
17620 choke me
17621 #endif
17622
17623 ;
17624 return 0;
17625 }
17626 _ACEOF
17627 rm -f conftest.$ac_objext
17628 if { (ac_try="$ac_compile"
17629 case "(($ac_try" in
17630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17631 *) ac_try_echo=$ac_try;;
17632 esac
17633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17634 (eval "$ac_compile") 2>conftest.er1
17635 ac_status=$?
17636 grep -v '^ *+' conftest.er1 >conftest.err
17637 rm -f conftest.er1
17638 cat conftest.err >&5
17639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17640 (exit $ac_status); } && {
17641 test -z "$ac_cxx_werror_flag" ||
17642 test ! -s conftest.err
17643 } && test -s conftest.$ac_objext; then
17644 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17645 else
17646 echo "$as_me: failed program was:" >&5
17647 sed 's/^/| /' conftest.$ac_ext >&5
17648
17649 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17650
17651 fi
17652
17653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17654
17655
17656 fi
17657 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17658 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17659 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17660 :; SGICXX=yes
17661 else
17662 :;
17663 fi
17664 ac_ext=c
17665 ac_cpp='$CPP $CPPFLAGS'
17666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17669
17670
17671
17672 ;;
17673
17674 Linux*)
17675 if test "$INTELCXX" != "yes"; then
17676
17677
17678 ac_ext=cpp
17679 ac_cpp='$CXXCPP $CPPFLAGS'
17680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17683
17684 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17685 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17686 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17687 echo $ECHO_N "(cached) $ECHO_C" >&6
17688 else
17689 cat >conftest.$ac_ext <<_ACEOF
17690 /* confdefs.h. */
17691 _ACEOF
17692 cat confdefs.h >>conftest.$ac_ext
17693 cat >>conftest.$ac_ext <<_ACEOF
17694 /* end confdefs.h. */
17695
17696 int
17697 main ()
17698 {
17699
17700 #ifndef __SUNPRO_CC
17701 choke me
17702 #endif
17703
17704 ;
17705 return 0;
17706 }
17707 _ACEOF
17708 rm -f conftest.$ac_objext
17709 if { (ac_try="$ac_compile"
17710 case "(($ac_try" in
17711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17712 *) ac_try_echo=$ac_try;;
17713 esac
17714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17715 (eval "$ac_compile") 2>conftest.er1
17716 ac_status=$?
17717 grep -v '^ *+' conftest.er1 >conftest.err
17718 rm -f conftest.er1
17719 cat conftest.err >&5
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); } && {
17722 test -z "$ac_cxx_werror_flag" ||
17723 test ! -s conftest.err
17724 } && test -s conftest.$ac_objext; then
17725 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17726 else
17727 echo "$as_me: failed program was:" >&5
17728 sed 's/^/| /' conftest.$ac_ext >&5
17729
17730 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17731
17732 fi
17733
17734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17735
17736
17737 fi
17738 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17739 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17740 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17741 :; SUNCXX=yes
17742 else
17743 :;
17744 fi
17745 ac_ext=c
17746 ac_cpp='$CPP $CPPFLAGS'
17747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17750
17751
17752
17753 fi
17754 ;;
17755
17756 HP-UX*)
17757
17758
17759 ac_ext=cpp
17760 ac_cpp='$CXXCPP $CPPFLAGS'
17761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17764
17765 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17766 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17767 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17768 echo $ECHO_N "(cached) $ECHO_C" >&6
17769 else
17770 cat >conftest.$ac_ext <<_ACEOF
17771 /* confdefs.h. */
17772 _ACEOF
17773 cat confdefs.h >>conftest.$ac_ext
17774 cat >>conftest.$ac_ext <<_ACEOF
17775 /* end confdefs.h. */
17776
17777 int
17778 main ()
17779 {
17780
17781 #ifndef __HP_aCC
17782 choke me
17783 #endif
17784
17785 ;
17786 return 0;
17787 }
17788 _ACEOF
17789 rm -f conftest.$ac_objext
17790 if { (ac_try="$ac_compile"
17791 case "(($ac_try" in
17792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17793 *) ac_try_echo=$ac_try;;
17794 esac
17795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17796 (eval "$ac_compile") 2>conftest.er1
17797 ac_status=$?
17798 grep -v '^ *+' conftest.er1 >conftest.err
17799 rm -f conftest.er1
17800 cat conftest.err >&5
17801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17802 (exit $ac_status); } && {
17803 test -z "$ac_cxx_werror_flag" ||
17804 test ! -s conftest.err
17805 } && test -s conftest.$ac_objext; then
17806 bakefile_cv_cxx_compiler___HP_aCC=yes
17807 else
17808 echo "$as_me: failed program was:" >&5
17809 sed 's/^/| /' conftest.$ac_ext >&5
17810
17811 bakefile_cv_cxx_compiler___HP_aCC=no
17812
17813 fi
17814
17815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17816
17817
17818 fi
17819 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17820 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17821 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17822 :; HPCXX=yes
17823 else
17824 :;
17825 fi
17826 ac_ext=c
17827 ac_cpp='$CPP $CPPFLAGS'
17828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17831
17832
17833
17834 ;;
17835
17836 OSF1)
17837
17838
17839 ac_ext=cpp
17840 ac_cpp='$CXXCPP $CPPFLAGS'
17841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17844
17845 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17846 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17847 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17848 echo $ECHO_N "(cached) $ECHO_C" >&6
17849 else
17850 cat >conftest.$ac_ext <<_ACEOF
17851 /* confdefs.h. */
17852 _ACEOF
17853 cat confdefs.h >>conftest.$ac_ext
17854 cat >>conftest.$ac_ext <<_ACEOF
17855 /* end confdefs.h. */
17856
17857 int
17858 main ()
17859 {
17860
17861 #ifndef __DECCXX
17862 choke me
17863 #endif
17864
17865 ;
17866 return 0;
17867 }
17868 _ACEOF
17869 rm -f conftest.$ac_objext
17870 if { (ac_try="$ac_compile"
17871 case "(($ac_try" in
17872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17873 *) ac_try_echo=$ac_try;;
17874 esac
17875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17876 (eval "$ac_compile") 2>conftest.er1
17877 ac_status=$?
17878 grep -v '^ *+' conftest.er1 >conftest.err
17879 rm -f conftest.er1
17880 cat conftest.err >&5
17881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17882 (exit $ac_status); } && {
17883 test -z "$ac_cxx_werror_flag" ||
17884 test ! -s conftest.err
17885 } && test -s conftest.$ac_objext; then
17886 bakefile_cv_cxx_compiler___DECCXX=yes
17887 else
17888 echo "$as_me: failed program was:" >&5
17889 sed 's/^/| /' conftest.$ac_ext >&5
17890
17891 bakefile_cv_cxx_compiler___DECCXX=no
17892
17893 fi
17894
17895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17896
17897
17898 fi
17899 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17900 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17901 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17902 :; COMPAQCXX=yes
17903 else
17904 :;
17905 fi
17906 ac_ext=c
17907 ac_cpp='$CPP $CPPFLAGS'
17908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17911
17912
17913
17914 ;;
17915
17916 SunOS)
17917
17918
17919 ac_ext=cpp
17920 ac_cpp='$CXXCPP $CPPFLAGS'
17921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17924
17925 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17926 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17927 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17928 echo $ECHO_N "(cached) $ECHO_C" >&6
17929 else
17930 cat >conftest.$ac_ext <<_ACEOF
17931 /* confdefs.h. */
17932 _ACEOF
17933 cat confdefs.h >>conftest.$ac_ext
17934 cat >>conftest.$ac_ext <<_ACEOF
17935 /* end confdefs.h. */
17936
17937 int
17938 main ()
17939 {
17940
17941 #ifndef __SUNPRO_CC
17942 choke me
17943 #endif
17944
17945 ;
17946 return 0;
17947 }
17948 _ACEOF
17949 rm -f conftest.$ac_objext
17950 if { (ac_try="$ac_compile"
17951 case "(($ac_try" in
17952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17953 *) ac_try_echo=$ac_try;;
17954 esac
17955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17956 (eval "$ac_compile") 2>conftest.er1
17957 ac_status=$?
17958 grep -v '^ *+' conftest.er1 >conftest.err
17959 rm -f conftest.er1
17960 cat conftest.err >&5
17961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17962 (exit $ac_status); } && {
17963 test -z "$ac_cxx_werror_flag" ||
17964 test ! -s conftest.err
17965 } && test -s conftest.$ac_objext; then
17966 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17967 else
17968 echo "$as_me: failed program was:" >&5
17969 sed 's/^/| /' conftest.$ac_ext >&5
17970
17971 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17972
17973 fi
17974
17975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17976
17977
17978 fi
17979 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17980 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17981 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17982 :; SUNCXX=yes
17983 else
17984 :;
17985 fi
17986 ac_ext=c
17987 ac_cpp='$CPP $CPPFLAGS'
17988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17991
17992
17993
17994 ;;
17995 esac
17996 fi
17997
17998
17999
18000 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18001 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18002 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18003 { (exit 1); exit 1; }; }
18004 fi
18005
18006 if test "x$SUNCXX" != xyes; then
18007 if test -n "$ac_tool_prefix"; then
18008 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18009 set dummy ${ac_tool_prefix}ar; ac_word=$2
18010 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18012 if test "${ac_cv_prog_AR+set}" = set; then
18013 echo $ECHO_N "(cached) $ECHO_C" >&6
18014 else
18015 if test -n "$AR"; then
18016 ac_cv_prog_AR="$AR" # Let the user override the test.
18017 else
18018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18019 for as_dir in $PATH
18020 do
18021 IFS=$as_save_IFS
18022 test -z "$as_dir" && as_dir=.
18023 for ac_exec_ext in '' $ac_executable_extensions; do
18024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18025 ac_cv_prog_AR="${ac_tool_prefix}ar"
18026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18027 break 2
18028 fi
18029 done
18030 done
18031 IFS=$as_save_IFS
18032
18033 fi
18034 fi
18035 AR=$ac_cv_prog_AR
18036 if test -n "$AR"; then
18037 { echo "$as_me:$LINENO: result: $AR" >&5
18038 echo "${ECHO_T}$AR" >&6; }
18039 else
18040 { echo "$as_me:$LINENO: result: no" >&5
18041 echo "${ECHO_T}no" >&6; }
18042 fi
18043
18044
18045 fi
18046 if test -z "$ac_cv_prog_AR"; then
18047 ac_ct_AR=$AR
18048 # Extract the first word of "ar", so it can be a program name with args.
18049 set dummy ar; ac_word=$2
18050 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18052 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18053 echo $ECHO_N "(cached) $ECHO_C" >&6
18054 else
18055 if test -n "$ac_ct_AR"; then
18056 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18057 else
18058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18059 for as_dir in $PATH
18060 do
18061 IFS=$as_save_IFS
18062 test -z "$as_dir" && as_dir=.
18063 for ac_exec_ext in '' $ac_executable_extensions; do
18064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18065 ac_cv_prog_ac_ct_AR="ar"
18066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18067 break 2
18068 fi
18069 done
18070 done
18071 IFS=$as_save_IFS
18072
18073 fi
18074 fi
18075 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18076 if test -n "$ac_ct_AR"; then
18077 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18078 echo "${ECHO_T}$ac_ct_AR" >&6; }
18079 else
18080 { echo "$as_me:$LINENO: result: no" >&5
18081 echo "${ECHO_T}no" >&6; }
18082 fi
18083
18084 if test "x$ac_ct_AR" = x; then
18085 AR=""
18086 else
18087 case $cross_compiling:$ac_tool_warned in
18088 yes:)
18089 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18090 whose name does not start with the host triplet. If you think this
18091 configuration is useful to you, please write to autoconf@gnu.org." >&5
18092 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18093 whose name does not start with the host triplet. If you think this
18094 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18095 ac_tool_warned=yes ;;
18096 esac
18097 AR=$ac_ct_AR
18098 fi
18099 else
18100 AR="$ac_cv_prog_AR"
18101 fi
18102
18103 if test "x$AR" = "x" ; then
18104 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18105 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18106 { (exit 1); exit 1; }; }
18107 fi
18108 fi
18109
18110 retest_macosx_linking=no
18111
18112 #if test "$wxUSE_MAC" = 1; then
18113 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18114 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18115 # Implicitly turn on the new --with-macosx-sdk using the default
18116 # SDK which provides the behavior this option has always had.
18117 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18118 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18119 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18120 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18121 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18122 wxUSE_MACOSX_SDK=yes
18123 fi
18124 else
18125 # Complain to user if he specified an argument to --enable-universal_binary
18126 # and also 1) specified --with-macosx-sdk using the default (yes) or
18127 # 2) specified --with-macosx-sdk using a path or 3) specified
18128 # --without-macosx-sdk (no).
18129 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18130 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18131 See \`config.log' for more details." >&5
18132 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18133 See \`config.log' for more details." >&2;}
18134 { (exit 1); exit 1; }; }
18135 else
18136 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18137 # special-case the empty string because the below test simply
18138 # converts "no" to the empty string anyway.
18139 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18140 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18141 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18142 fi
18143 fi
18144 OSX_UNIV_OPTS="-arch ppc -arch i386"
18145 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18146 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18147 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18148 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18149 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18150 retest_macosx_linking=yes
18151
18152 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18153 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18154 bk_use_pch=no
18155 fi
18156 #fi
18157
18158 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18159 wxUSE_MACOSX_SDK=
18160 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18161 # TODO: Search for most recent SDK and use it.
18162 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18163 fi
18164
18165
18166 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18167 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18168 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18169 if ! test -d "$wxUSE_MACOSX_SDK"; then
18170 { { echo "$as_me:$LINENO: error: not found
18171 See \`config.log' for more details." >&5
18172 echo "$as_me: error: not found
18173 See \`config.log' for more details." >&2;}
18174 { (exit 1); exit 1; }; }
18175 else
18176 { echo "$as_me:$LINENO: result: exists" >&5
18177 echo "${ECHO_T}exists" >&6; }
18178 fi
18179 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18180 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18181 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18182 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18183 retest_macosx_linking=yes
18184 fi
18185
18186 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18187 wxUSE_MACOSX_VERSION_MIN=
18188 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18189 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18190 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18191 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18192
18193 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/'`
18194
18195 # If that failed, try again with the new key
18196 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18197
18198 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/'`
18199
18200 fi
18201
18202 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18203 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18204 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18205 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18206 else
18207 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18208 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18209 wxUSE_MACOSX_VERSION_MIN=
18210 fi
18211 else
18212 wxUSE_MACOSX_VERSION_MIN=
18213 fi
18214 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18215 if test "$wxUSE_MAC" = 1; then
18216 # otherwise configure stops on leopard for universal_binary
18217 wxUSE_MACOSX_VERSION_MIN=10.4
18218 fi
18219 fi
18220
18221 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18222 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18223 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18224 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18225 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18226 retest_macosx_linking=yes
18227 fi
18228
18229 if test "x$retest_macosx_linking" = "xyes"; then
18230 ac_ext=c
18231 ac_cpp='$CPP $CPPFLAGS'
18232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18235
18236 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18237 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18238 cat >conftest.$ac_ext <<_ACEOF
18239 /* confdefs.h. */
18240 _ACEOF
18241 cat confdefs.h >>conftest.$ac_ext
18242 cat >>conftest.$ac_ext <<_ACEOF
18243 /* end confdefs.h. */
18244
18245 int
18246 main ()
18247 {
18248
18249 ;
18250 return 0;
18251 }
18252 _ACEOF
18253 rm -f conftest.$ac_objext conftest$ac_exeext
18254 if { (ac_try="$ac_link"
18255 case "(($ac_try" in
18256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18257 *) ac_try_echo=$ac_try;;
18258 esac
18259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18260 (eval "$ac_link") 2>conftest.er1
18261 ac_status=$?
18262 grep -v '^ *+' conftest.er1 >conftest.err
18263 rm -f conftest.er1
18264 cat conftest.err >&5
18265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18266 (exit $ac_status); } && {
18267 test -z "$ac_c_werror_flag" ||
18268 test ! -s conftest.err
18269 } && test -s conftest$ac_exeext &&
18270 $as_test_x conftest$ac_exeext; then
18271 { echo "$as_me:$LINENO: result: yes" >&5
18272 echo "${ECHO_T}yes" >&6; }
18273 else
18274 echo "$as_me: failed program was:" >&5
18275 sed 's/^/| /' conftest.$ac_ext >&5
18276
18277 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18278 See \`config.log' for more details." >&5
18279 echo "$as_me: error: no. Try a different SDK
18280 See \`config.log' for more details." >&2;}
18281 { (exit 1); exit 1; }; }; exit 1
18282 fi
18283
18284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18285 conftest$ac_exeext conftest.$ac_ext
18286 ac_ext=c
18287 ac_cpp='$CPP $CPPFLAGS'
18288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18291
18292
18293 ac_ext=cpp
18294 ac_cpp='$CXXCPP $CPPFLAGS'
18295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18298
18299 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18300 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18301 cat >conftest.$ac_ext <<_ACEOF
18302 /* confdefs.h. */
18303 _ACEOF
18304 cat confdefs.h >>conftest.$ac_ext
18305 cat >>conftest.$ac_ext <<_ACEOF
18306 /* end confdefs.h. */
18307
18308 int
18309 main ()
18310 {
18311
18312 ;
18313 return 0;
18314 }
18315 _ACEOF
18316 rm -f conftest.$ac_objext conftest$ac_exeext
18317 if { (ac_try="$ac_link"
18318 case "(($ac_try" in
18319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18320 *) ac_try_echo=$ac_try;;
18321 esac
18322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18323 (eval "$ac_link") 2>conftest.er1
18324 ac_status=$?
18325 grep -v '^ *+' conftest.er1 >conftest.err
18326 rm -f conftest.er1
18327 cat conftest.err >&5
18328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18329 (exit $ac_status); } && {
18330 test -z "$ac_cxx_werror_flag" ||
18331 test ! -s conftest.err
18332 } && test -s conftest$ac_exeext &&
18333 $as_test_x conftest$ac_exeext; then
18334 { echo "$as_me:$LINENO: result: yes" >&5
18335 echo "${ECHO_T}yes" >&6; }
18336 else
18337 echo "$as_me: failed program was:" >&5
18338 sed 's/^/| /' conftest.$ac_ext >&5
18339
18340 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18341 See \`config.log' for more details." >&5
18342 echo "$as_me: error: no. Try a different SDK
18343 See \`config.log' for more details." >&2;}
18344 { (exit 1); exit 1; }; }; exit 1
18345 fi
18346
18347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18348 conftest$ac_exeext conftest.$ac_ext
18349 ac_ext=c
18350 ac_cpp='$CPP $CPPFLAGS'
18351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18354
18355 fi
18356
18357
18358 case "${host}" in
18359
18360 *-*-darwin* )
18361 INSTALL_PROGRAM="cp -fp"
18362 INSTALL_DATA="cp -fp"
18363 ;;
18364 *)
18365 ;;
18366 esac
18367
18368
18369 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18370 CXXFLAGS="-qunique $CXXFLAGS"
18371 fi
18372
18373 case "${host}" in
18374 powerpc-*-darwin* )
18375 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18376 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18377 cat >conftest.$ac_ext <<_ACEOF
18378 /* confdefs.h. */
18379 _ACEOF
18380 cat confdefs.h >>conftest.$ac_ext
18381 cat >>conftest.$ac_ext <<_ACEOF
18382 /* end confdefs.h. */
18383
18384 int
18385 main ()
18386 {
18387 #ifndef __POWERPC__
18388 choke me for lack of PowerPC
18389 #endif
18390
18391 ;
18392 return 0;
18393 }
18394 _ACEOF
18395 rm -f conftest.$ac_objext
18396 if { (ac_try="$ac_compile"
18397 case "(($ac_try" in
18398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18399 *) ac_try_echo=$ac_try;;
18400 esac
18401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18402 (eval "$ac_compile") 2>conftest.er1
18403 ac_status=$?
18404 grep -v '^ *+' conftest.er1 >conftest.err
18405 rm -f conftest.er1
18406 cat conftest.err >&5
18407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18408 (exit $ac_status); } && {
18409 test -z "$ac_c_werror_flag" ||
18410 test ! -s conftest.err
18411 } && test -s conftest.$ac_objext; then
18412 { echo "$as_me:$LINENO: result: yes" >&5
18413 echo "${ECHO_T}yes" >&6; }
18414 else
18415 echo "$as_me: failed program was:" >&5
18416 sed 's/^/| /' conftest.$ac_ext >&5
18417
18418 { echo "$as_me:$LINENO: result: no" >&5
18419 echo "${ECHO_T}no" >&6; }
18420 cat >>confdefs.h <<\_ACEOF
18421 #define __POWERPC__ 1
18422 _ACEOF
18423
18424
18425 fi
18426
18427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18428 ;;
18429 esac
18430
18431 case "${host}" in
18432 *-*-darwin* )
18433 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18434 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18435 cat >conftest.$ac_ext <<_ACEOF
18436 /* confdefs.h. */
18437 _ACEOF
18438 cat confdefs.h >>conftest.$ac_ext
18439 cat >>conftest.$ac_ext <<_ACEOF
18440 /* end confdefs.h. */
18441 #include <CoreFoundation/CFBase.h>
18442
18443 int
18444 main ()
18445 {
18446
18447 ;
18448 return 0;
18449 }
18450 _ACEOF
18451 rm -f conftest.$ac_objext
18452 if { (ac_try="$ac_compile"
18453 case "(($ac_try" in
18454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18455 *) ac_try_echo=$ac_try;;
18456 esac
18457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18458 (eval "$ac_compile") 2>conftest.er1
18459 ac_status=$?
18460 grep -v '^ *+' conftest.er1 >conftest.err
18461 rm -f conftest.er1
18462 cat conftest.err >&5
18463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18464 (exit $ac_status); } && {
18465 test -z "$ac_c_werror_flag" ||
18466 test ! -s conftest.err
18467 } && test -s conftest.$ac_objext; then
18468 { echo "$as_me:$LINENO: result: yes" >&5
18469 echo "${ECHO_T}yes" >&6; }
18470 else
18471 echo "$as_me: failed program was:" >&5
18472 sed 's/^/| /' conftest.$ac_ext >&5
18473
18474 { echo "$as_me:$LINENO: result: no" >&5
18475 echo "${ECHO_T}no" >&6; }
18476 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18477 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18478 cat >conftest.$ac_ext <<_ACEOF
18479 /* confdefs.h. */
18480 _ACEOF
18481 cat confdefs.h >>conftest.$ac_ext
18482 cat >>conftest.$ac_ext <<_ACEOF
18483 /* end confdefs.h. */
18484 #define __CF_USE_FRAMEWORK_INCLUDES__
18485 #include <CoreFoundation/CFBase.h>
18486
18487 int
18488 main ()
18489 {
18490
18491 ;
18492 return 0;
18493 }
18494 _ACEOF
18495 rm -f conftest.$ac_objext
18496 if { (ac_try="$ac_compile"
18497 case "(($ac_try" in
18498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18499 *) ac_try_echo=$ac_try;;
18500 esac
18501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18502 (eval "$ac_compile") 2>conftest.er1
18503 ac_status=$?
18504 grep -v '^ *+' conftest.er1 >conftest.err
18505 rm -f conftest.er1
18506 cat conftest.err >&5
18507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18508 (exit $ac_status); } && {
18509 test -z "$ac_c_werror_flag" ||
18510 test ! -s conftest.err
18511 } && test -s conftest.$ac_objext; then
18512 { echo "$as_me:$LINENO: result: yes" >&5
18513 echo "${ECHO_T}yes" >&6; }
18514 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18515 else
18516 echo "$as_me: failed program was:" >&5
18517 sed 's/^/| /' conftest.$ac_ext >&5
18518
18519 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18520 See \`config.log' for more details." >&5
18521 echo "$as_me: error: no. CoreFoundation not available.
18522 See \`config.log' for more details." >&2;}
18523 { (exit 1); exit 1; }; }
18524
18525 fi
18526
18527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18528
18529
18530 fi
18531
18532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18533 ;;
18534 esac
18535
18536 wants_win32=0
18537 doesnt_want_win32=0
18538 case "${host}" in
18539 *-*-cygwin*)
18540 if test "$wxUSE_MSW" = 1 ; then
18541 wants_win32=1
18542 else
18543 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18544 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18545 if test "${wx_cv_nocygwin+set}" = set; then
18546 echo $ECHO_N "(cached) $ECHO_C" >&6
18547 else
18548
18549 cat >conftest.$ac_ext <<_ACEOF
18550 /* confdefs.h. */
18551 _ACEOF
18552 cat confdefs.h >>conftest.$ac_ext
18553 cat >>conftest.$ac_ext <<_ACEOF
18554 /* end confdefs.h. */
18555
18556 int
18557 main ()
18558 {
18559
18560 #ifdef __MINGW32__
18561 choke me
18562 #endif
18563
18564 ;
18565 return 0;
18566 }
18567 _ACEOF
18568 rm -f conftest.$ac_objext
18569 if { (ac_try="$ac_compile"
18570 case "(($ac_try" in
18571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18572 *) ac_try_echo=$ac_try;;
18573 esac
18574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18575 (eval "$ac_compile") 2>conftest.er1
18576 ac_status=$?
18577 grep -v '^ *+' conftest.er1 >conftest.err
18578 rm -f conftest.er1
18579 cat conftest.err >&5
18580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18581 (exit $ac_status); } && {
18582 test -z "$ac_c_werror_flag" ||
18583 test ! -s conftest.err
18584 } && test -s conftest.$ac_objext; then
18585 wx_cv_nocygwin=no
18586 else
18587 echo "$as_me: failed program was:" >&5
18588 sed 's/^/| /' conftest.$ac_ext >&5
18589
18590 wx_cv_nocygwin=yes
18591
18592 fi
18593
18594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18595
18596
18597 fi
18598 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18599 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18600
18601 if test "$wx_cv_nocygwin" = "yes"; then
18602 wants_win32=1
18603 else
18604 doesnt_want_win32=1
18605 fi
18606 fi
18607 if test "$wants_win32" = 1 ; then
18608 BAKEFILE_FORCE_PLATFORM=win32
18609 fi
18610 ;;
18611 *-*-mingw*)
18612 wants_win32=1
18613 ;;
18614 esac
18615
18616 if test "$wxUSE_WINE" = "yes"; then
18617 wants_win32=1
18618 LDFLAGS_GUI="-mwindows"
18619 fi
18620
18621 if test "$wants_win32" = 1 ; then
18622 USE_UNIX=0
18623 USE_WIN32=1
18624 cat >>confdefs.h <<\_ACEOF
18625 #define __WIN32__ 1
18626 _ACEOF
18627
18628 cat >>confdefs.h <<\_ACEOF
18629 #define __WIN95__ 1
18630 _ACEOF
18631
18632 cat >>confdefs.h <<\_ACEOF
18633 #define __WINDOWS__ 1
18634 _ACEOF
18635
18636 cat >>confdefs.h <<\_ACEOF
18637 #define __GNUWIN32__ 1
18638 _ACEOF
18639
18640 cat >>confdefs.h <<\_ACEOF
18641 #define STRICT 1
18642 _ACEOF
18643
18644 fi
18645 if test "$doesnt_want_win32" = 1 ; then
18646 USE_UNIX=1
18647 USE_WIN32=0
18648 fi
18649
18650 if test "$USE_UNIX" = 1 ; then
18651 wxUSE_UNIX=yes
18652 cat >>confdefs.h <<\_ACEOF
18653 #define __UNIX__ 1
18654 _ACEOF
18655
18656 fi
18657
18658 case "${host}" in
18659 *-pc-os2_emx | *-pc-os2-emx )
18660 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18661 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18662 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18663 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18664 echo $ECHO_N "(cached) $ECHO_C" >&6
18665 else
18666 ac_check_lib_save_LIBS=$LIBS
18667 LIBS="-lcExt $LIBS"
18668 cat >conftest.$ac_ext <<_ACEOF
18669 /* confdefs.h. */
18670 _ACEOF
18671 cat confdefs.h >>conftest.$ac_ext
18672 cat >>conftest.$ac_ext <<_ACEOF
18673 /* end confdefs.h. */
18674
18675 /* Override any GCC internal prototype to avoid an error.
18676 Use char because int might match the return type of a GCC
18677 builtin and then its argument prototype would still apply. */
18678 #ifdef __cplusplus
18679 extern "C"
18680 #endif
18681 char drand48 ();
18682 int
18683 main ()
18684 {
18685 return drand48 ();
18686 ;
18687 return 0;
18688 }
18689 _ACEOF
18690 rm -f conftest.$ac_objext conftest$ac_exeext
18691 if { (ac_try="$ac_link"
18692 case "(($ac_try" in
18693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18694 *) ac_try_echo=$ac_try;;
18695 esac
18696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18697 (eval "$ac_link") 2>conftest.er1
18698 ac_status=$?
18699 grep -v '^ *+' conftest.er1 >conftest.err
18700 rm -f conftest.er1
18701 cat conftest.err >&5
18702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18703 (exit $ac_status); } && {
18704 test -z "$ac_c_werror_flag" ||
18705 test ! -s conftest.err
18706 } && test -s conftest$ac_exeext &&
18707 $as_test_x conftest$ac_exeext; then
18708 ac_cv_lib_cExt_drand48=yes
18709 else
18710 echo "$as_me: failed program was:" >&5
18711 sed 's/^/| /' conftest.$ac_ext >&5
18712
18713 ac_cv_lib_cExt_drand48=no
18714 fi
18715
18716 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18717 conftest$ac_exeext conftest.$ac_ext
18718 LIBS=$ac_check_lib_save_LIBS
18719 fi
18720 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18721 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18722 if test $ac_cv_lib_cExt_drand48 = yes; then
18723 LIBS="$LIBS -lcExt"
18724 fi
18725
18726 else
18727 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18728 fi
18729 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18730 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18731 if test "${wx_cv_gccversion+set}" = set; then
18732 echo $ECHO_N "(cached) $ECHO_C" >&6
18733 else
18734
18735 if test "$cross_compiling" = yes; then
18736 wx_cv_gccversion="EMX2"
18737
18738 else
18739 cat >conftest.$ac_ext <<_ACEOF
18740 /* confdefs.h. */
18741 _ACEOF
18742 cat confdefs.h >>conftest.$ac_ext
18743 cat >>conftest.$ac_ext <<_ACEOF
18744 /* end confdefs.h. */
18745
18746 #include <stdio.h>
18747
18748 int main()
18749 {
18750 FILE *f=fopen("conftestval", "w");
18751 if (!f) exit(1);
18752 fprintf(f,
18753 #if (__GNUC__ < 3)
18754 "EMX2"
18755 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18756 "EMX3"
18757 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18758 "Innotek5"
18759 #else
18760 "Innotek6"
18761 #endif
18762 );
18763 exit(0);
18764 }
18765
18766 _ACEOF
18767 rm -f conftest$ac_exeext
18768 if { (ac_try="$ac_link"
18769 case "(($ac_try" in
18770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18771 *) ac_try_echo=$ac_try;;
18772 esac
18773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18774 (eval "$ac_link") 2>&5
18775 ac_status=$?
18776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18777 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18778 { (case "(($ac_try" in
18779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18780 *) ac_try_echo=$ac_try;;
18781 esac
18782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18783 (eval "$ac_try") 2>&5
18784 ac_status=$?
18785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18786 (exit $ac_status); }; }; then
18787 wx_cv_gccversion=`cat conftestval`
18788 else
18789 echo "$as_me: program exited with status $ac_status" >&5
18790 echo "$as_me: failed program was:" >&5
18791 sed 's/^/| /' conftest.$ac_ext >&5
18792
18793 ( exit $ac_status )
18794 wx_cv_gccversion="EMX2"
18795 fi
18796 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18797 fi
18798
18799
18800
18801 fi
18802 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18803 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18804 if test "$wx_cv_gccversion" = "EMX2"; then
18805 LIBS="$LIBS -lstdcpp"
18806 LDFLAGS="$LDFLAGS -Zsysv-signals"
18807 else
18808 if test "$wx_cv_gccversion" = "EMX3"; then
18809 LIBS="$LIBS -lstdcxx -lgcc"
18810 LDFLAGS="$LDFLAGS -Zsysv-signals"
18811 else
18812 LIBS="$LIBS -lstdc++"
18813 fi
18814 fi
18815 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18816 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18817 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18818 wxUSE_OMF=yes
18819 enable_omf=yes
18820 fi
18821 ;;
18822 *)
18823
18824 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18825 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18826 if test "${ac_cv_string_strcasecmp+set}" = set; then
18827 echo $ECHO_N "(cached) $ECHO_C" >&6
18828 else
18829
18830 cat >conftest.$ac_ext <<_ACEOF
18831 /* confdefs.h. */
18832 _ACEOF
18833 cat confdefs.h >>conftest.$ac_ext
18834 cat >>conftest.$ac_ext <<_ACEOF
18835 /* end confdefs.h. */
18836
18837 #include <string.h>
18838
18839 int
18840 main ()
18841 {
18842
18843 strcasecmp("foo", "bar");
18844
18845 ;
18846 return 0;
18847 }
18848 _ACEOF
18849 rm -f conftest.$ac_objext conftest$ac_exeext
18850 if { (ac_try="$ac_link"
18851 case "(($ac_try" in
18852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18853 *) ac_try_echo=$ac_try;;
18854 esac
18855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18856 (eval "$ac_link") 2>conftest.er1
18857 ac_status=$?
18858 grep -v '^ *+' conftest.er1 >conftest.err
18859 rm -f conftest.er1
18860 cat conftest.err >&5
18861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18862 (exit $ac_status); } && {
18863 test -z "$ac_c_werror_flag" ||
18864 test ! -s conftest.err
18865 } && test -s conftest$ac_exeext &&
18866 $as_test_x conftest$ac_exeext; then
18867 ac_cv_string_strcasecmp=yes
18868 else
18869 echo "$as_me: failed program was:" >&5
18870 sed 's/^/| /' conftest.$ac_ext >&5
18871
18872 ac_cv_string_strcasecmp=no
18873
18874 fi
18875
18876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18877 conftest$ac_exeext conftest.$ac_ext
18878
18879 fi
18880 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18881 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18882
18883 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18884 cat >>confdefs.h <<\_ACEOF
18885 #define HAVE_STRCASECMP_IN_STRING_H 1
18886 _ACEOF
18887
18888 else
18889 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18890 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18891 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18892 echo $ECHO_N "(cached) $ECHO_C" >&6
18893 else
18894
18895 cat >conftest.$ac_ext <<_ACEOF
18896 /* confdefs.h. */
18897 _ACEOF
18898 cat confdefs.h >>conftest.$ac_ext
18899 cat >>conftest.$ac_ext <<_ACEOF
18900 /* end confdefs.h. */
18901
18902 #include <strings.h>
18903
18904 int
18905 main ()
18906 {
18907
18908 strcasecmp("foo", "bar");
18909
18910 ;
18911 return 0;
18912 }
18913 _ACEOF
18914 rm -f conftest.$ac_objext conftest$ac_exeext
18915 if { (ac_try="$ac_link"
18916 case "(($ac_try" in
18917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18918 *) ac_try_echo=$ac_try;;
18919 esac
18920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18921 (eval "$ac_link") 2>conftest.er1
18922 ac_status=$?
18923 grep -v '^ *+' conftest.er1 >conftest.err
18924 rm -f conftest.er1
18925 cat conftest.err >&5
18926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18927 (exit $ac_status); } && {
18928 test -z "$ac_c_werror_flag" ||
18929 test ! -s conftest.err
18930 } && test -s conftest$ac_exeext &&
18931 $as_test_x conftest$ac_exeext; then
18932 ac_cv_strings_strcasecmp=yes
18933 else
18934 echo "$as_me: failed program was:" >&5
18935 sed 's/^/| /' conftest.$ac_ext >&5
18936
18937 ac_cv_strings_strcasecmp=no
18938
18939 fi
18940
18941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18942 conftest$ac_exeext conftest.$ac_ext
18943
18944 fi
18945 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18946 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18947
18948 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18949 cat >>confdefs.h <<\_ACEOF
18950 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18951 _ACEOF
18952
18953 else
18954 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18955 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18956 { (exit 1); exit 1; }; }
18957 fi
18958 fi
18959
18960 ;;
18961 esac
18962
18963
18964 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18965 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18966 if test "${ac_cv_header_stdc+set}" = set; then
18967 echo $ECHO_N "(cached) $ECHO_C" >&6
18968 else
18969 cat >conftest.$ac_ext <<_ACEOF
18970 /* confdefs.h. */
18971 _ACEOF
18972 cat confdefs.h >>conftest.$ac_ext
18973 cat >>conftest.$ac_ext <<_ACEOF
18974 /* end confdefs.h. */
18975 #include <stdlib.h>
18976 #include <stdarg.h>
18977 #include <string.h>
18978 #include <float.h>
18979
18980 int
18981 main ()
18982 {
18983
18984 ;
18985 return 0;
18986 }
18987 _ACEOF
18988 rm -f conftest.$ac_objext
18989 if { (ac_try="$ac_compile"
18990 case "(($ac_try" in
18991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18992 *) ac_try_echo=$ac_try;;
18993 esac
18994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18995 (eval "$ac_compile") 2>conftest.er1
18996 ac_status=$?
18997 grep -v '^ *+' conftest.er1 >conftest.err
18998 rm -f conftest.er1
18999 cat conftest.err >&5
19000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19001 (exit $ac_status); } && {
19002 test -z "$ac_c_werror_flag" ||
19003 test ! -s conftest.err
19004 } && test -s conftest.$ac_objext; then
19005 ac_cv_header_stdc=yes
19006 else
19007 echo "$as_me: failed program was:" >&5
19008 sed 's/^/| /' conftest.$ac_ext >&5
19009
19010 ac_cv_header_stdc=no
19011 fi
19012
19013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19014
19015 if test $ac_cv_header_stdc = yes; then
19016 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19017 cat >conftest.$ac_ext <<_ACEOF
19018 /* confdefs.h. */
19019 _ACEOF
19020 cat confdefs.h >>conftest.$ac_ext
19021 cat >>conftest.$ac_ext <<_ACEOF
19022 /* end confdefs.h. */
19023 #include <string.h>
19024
19025 _ACEOF
19026 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19027 $EGREP "memchr" >/dev/null 2>&1; then
19028 :
19029 else
19030 ac_cv_header_stdc=no
19031 fi
19032 rm -f conftest*
19033
19034 fi
19035
19036 if test $ac_cv_header_stdc = yes; then
19037 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19038 cat >conftest.$ac_ext <<_ACEOF
19039 /* confdefs.h. */
19040 _ACEOF
19041 cat confdefs.h >>conftest.$ac_ext
19042 cat >>conftest.$ac_ext <<_ACEOF
19043 /* end confdefs.h. */
19044 #include <stdlib.h>
19045
19046 _ACEOF
19047 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19048 $EGREP "free" >/dev/null 2>&1; then
19049 :
19050 else
19051 ac_cv_header_stdc=no
19052 fi
19053 rm -f conftest*
19054
19055 fi
19056
19057 if test $ac_cv_header_stdc = yes; then
19058 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19059 if test "$cross_compiling" = yes; then
19060 :
19061 else
19062 cat >conftest.$ac_ext <<_ACEOF
19063 /* confdefs.h. */
19064 _ACEOF
19065 cat confdefs.h >>conftest.$ac_ext
19066 cat >>conftest.$ac_ext <<_ACEOF
19067 /* end confdefs.h. */
19068 #include <ctype.h>
19069 #include <stdlib.h>
19070 #if ((' ' & 0x0FF) == 0x020)
19071 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19072 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19073 #else
19074 # define ISLOWER(c) \
19075 (('a' <= (c) && (c) <= 'i') \
19076 || ('j' <= (c) && (c) <= 'r') \
19077 || ('s' <= (c) && (c) <= 'z'))
19078 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19079 #endif
19080
19081 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19082 int
19083 main ()
19084 {
19085 int i;
19086 for (i = 0; i < 256; i++)
19087 if (XOR (islower (i), ISLOWER (i))
19088 || toupper (i) != TOUPPER (i))
19089 return 2;
19090 return 0;
19091 }
19092 _ACEOF
19093 rm -f conftest$ac_exeext
19094 if { (ac_try="$ac_link"
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_link") 2>&5
19101 ac_status=$?
19102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19103 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19104 { (case "(($ac_try" in
19105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19106 *) ac_try_echo=$ac_try;;
19107 esac
19108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19109 (eval "$ac_try") 2>&5
19110 ac_status=$?
19111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19112 (exit $ac_status); }; }; then
19113 :
19114 else
19115 echo "$as_me: program exited with status $ac_status" >&5
19116 echo "$as_me: failed program was:" >&5
19117 sed 's/^/| /' conftest.$ac_ext >&5
19118
19119 ( exit $ac_status )
19120 ac_cv_header_stdc=no
19121 fi
19122 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19123 fi
19124
19125
19126 fi
19127 fi
19128 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19129 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19130 if test $ac_cv_header_stdc = yes; then
19131
19132 cat >>confdefs.h <<\_ACEOF
19133 #define STDC_HEADERS 1
19134 _ACEOF
19135
19136 fi
19137
19138 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19139
19140
19141
19142
19143
19144
19145
19146
19147
19148 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19149 inttypes.h stdint.h unistd.h
19150 do
19151 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19152 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19153 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19154 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19155 echo $ECHO_N "(cached) $ECHO_C" >&6
19156 else
19157 cat >conftest.$ac_ext <<_ACEOF
19158 /* confdefs.h. */
19159 _ACEOF
19160 cat confdefs.h >>conftest.$ac_ext
19161 cat >>conftest.$ac_ext <<_ACEOF
19162 /* end confdefs.h. */
19163 $ac_includes_default
19164
19165 #include <$ac_header>
19166 _ACEOF
19167 rm -f conftest.$ac_objext
19168 if { (ac_try="$ac_compile"
19169 case "(($ac_try" in
19170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19171 *) ac_try_echo=$ac_try;;
19172 esac
19173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19174 (eval "$ac_compile") 2>conftest.er1
19175 ac_status=$?
19176 grep -v '^ *+' conftest.er1 >conftest.err
19177 rm -f conftest.er1
19178 cat conftest.err >&5
19179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19180 (exit $ac_status); } && {
19181 test -z "$ac_c_werror_flag" ||
19182 test ! -s conftest.err
19183 } && test -s conftest.$ac_objext; then
19184 eval "$as_ac_Header=yes"
19185 else
19186 echo "$as_me: failed program was:" >&5
19187 sed 's/^/| /' conftest.$ac_ext >&5
19188
19189 eval "$as_ac_Header=no"
19190 fi
19191
19192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19193 fi
19194 ac_res=`eval echo '${'$as_ac_Header'}'`
19195 { echo "$as_me:$LINENO: result: $ac_res" >&5
19196 echo "${ECHO_T}$ac_res" >&6; }
19197 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19198 cat >>confdefs.h <<_ACEOF
19199 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19200 _ACEOF
19201
19202 fi
19203
19204 done
19205
19206
19207
19208
19209 for ac_header in langinfo.h wchar.h
19210 do
19211 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19212 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19213 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19214 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19215 echo $ECHO_N "(cached) $ECHO_C" >&6
19216 else
19217 cat >conftest.$ac_ext <<_ACEOF
19218 /* confdefs.h. */
19219 _ACEOF
19220 cat confdefs.h >>conftest.$ac_ext
19221 cat >>conftest.$ac_ext <<_ACEOF
19222 /* end confdefs.h. */
19223 $ac_includes_default
19224
19225 #include <$ac_header>
19226 _ACEOF
19227 rm -f conftest.$ac_objext
19228 if { (ac_try="$ac_compile"
19229 case "(($ac_try" in
19230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19231 *) ac_try_echo=$ac_try;;
19232 esac
19233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19234 (eval "$ac_compile") 2>conftest.er1
19235 ac_status=$?
19236 grep -v '^ *+' conftest.er1 >conftest.err
19237 rm -f conftest.er1
19238 cat conftest.err >&5
19239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19240 (exit $ac_status); } && {
19241 test -z "$ac_c_werror_flag" ||
19242 test ! -s conftest.err
19243 } && test -s conftest.$ac_objext; then
19244 eval "$as_ac_Header=yes"
19245 else
19246 echo "$as_me: failed program was:" >&5
19247 sed 's/^/| /' conftest.$ac_ext >&5
19248
19249 eval "$as_ac_Header=no"
19250 fi
19251
19252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19253 fi
19254 ac_res=`eval echo '${'$as_ac_Header'}'`
19255 { echo "$as_me:$LINENO: result: $ac_res" >&5
19256 echo "${ECHO_T}$ac_res" >&6; }
19257 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19258 cat >>confdefs.h <<_ACEOF
19259 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19260 _ACEOF
19261
19262 fi
19263
19264 done
19265
19266
19267 if test "$ac_cv_header_wchar_h" != "yes"; then
19268
19269 for ac_header in wcstr.h
19270 do
19271 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19272 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19273 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19274 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19275 echo $ECHO_N "(cached) $ECHO_C" >&6
19276 else
19277 cat >conftest.$ac_ext <<_ACEOF
19278 /* confdefs.h. */
19279 _ACEOF
19280 cat confdefs.h >>conftest.$ac_ext
19281 cat >>conftest.$ac_ext <<_ACEOF
19282 /* end confdefs.h. */
19283 $ac_includes_default
19284
19285 #include <$ac_header>
19286 _ACEOF
19287 rm -f conftest.$ac_objext
19288 if { (ac_try="$ac_compile"
19289 case "(($ac_try" in
19290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19291 *) ac_try_echo=$ac_try;;
19292 esac
19293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19294 (eval "$ac_compile") 2>conftest.er1
19295 ac_status=$?
19296 grep -v '^ *+' conftest.er1 >conftest.err
19297 rm -f conftest.er1
19298 cat conftest.err >&5
19299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19300 (exit $ac_status); } && {
19301 test -z "$ac_c_werror_flag" ||
19302 test ! -s conftest.err
19303 } && test -s conftest.$ac_objext; then
19304 eval "$as_ac_Header=yes"
19305 else
19306 echo "$as_me: failed program was:" >&5
19307 sed 's/^/| /' conftest.$ac_ext >&5
19308
19309 eval "$as_ac_Header=no"
19310 fi
19311
19312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19313 fi
19314 ac_res=`eval echo '${'$as_ac_Header'}'`
19315 { echo "$as_me:$LINENO: result: $ac_res" >&5
19316 echo "${ECHO_T}$ac_res" >&6; }
19317 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19318 cat >>confdefs.h <<_ACEOF
19319 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19320 _ACEOF
19321
19322 fi
19323
19324 done
19325
19326 fi
19327
19328 case "${host}" in
19329 *-pc-os2_emx | *-pc-os2-emx )
19330 if test $ac_cv_header_langinfo_h = "yes" \
19331 -a \( "$wx_cv_gccversion" = "EMX2" \
19332 -o "$wx_cv_gccversion" = "EMX3" \
19333 -o "$wx_cv_gccversion" = "Innotek5" \); then
19334 LIBS="$LIBS -lintl"
19335 fi
19336 ;;
19337 esac
19338
19339 if test "$USE_UNIX" = 1 ; then
19340
19341 for ac_header in sys/select.h
19342 do
19343 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19344 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19345 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19346 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19347 echo $ECHO_N "(cached) $ECHO_C" >&6
19348 else
19349 cat >conftest.$ac_ext <<_ACEOF
19350 /* confdefs.h. */
19351 _ACEOF
19352 cat confdefs.h >>conftest.$ac_ext
19353 cat >>conftest.$ac_ext <<_ACEOF
19354 /* end confdefs.h. */
19355 $ac_includes_default
19356
19357 #include <$ac_header>
19358 _ACEOF
19359 rm -f conftest.$ac_objext
19360 if { (ac_try="$ac_compile"
19361 case "(($ac_try" in
19362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19363 *) ac_try_echo=$ac_try;;
19364 esac
19365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19366 (eval "$ac_compile") 2>conftest.er1
19367 ac_status=$?
19368 grep -v '^ *+' conftest.er1 >conftest.err
19369 rm -f conftest.er1
19370 cat conftest.err >&5
19371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19372 (exit $ac_status); } && {
19373 test -z "$ac_c_werror_flag" ||
19374 test ! -s conftest.err
19375 } && test -s conftest.$ac_objext; then
19376 eval "$as_ac_Header=yes"
19377 else
19378 echo "$as_me: failed program was:" >&5
19379 sed 's/^/| /' conftest.$ac_ext >&5
19380
19381 eval "$as_ac_Header=no"
19382 fi
19383
19384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19385 fi
19386 ac_res=`eval echo '${'$as_ac_Header'}'`
19387 { echo "$as_me:$LINENO: result: $ac_res" >&5
19388 echo "${ECHO_T}$ac_res" >&6; }
19389 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19390 cat >>confdefs.h <<_ACEOF
19391 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19392 _ACEOF
19393
19394 fi
19395
19396 done
19397
19398 fi
19399
19400
19401 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19402 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19403 if test "${ac_cv_c_const+set}" = set; then
19404 echo $ECHO_N "(cached) $ECHO_C" >&6
19405 else
19406 cat >conftest.$ac_ext <<_ACEOF
19407 /* confdefs.h. */
19408 _ACEOF
19409 cat confdefs.h >>conftest.$ac_ext
19410 cat >>conftest.$ac_ext <<_ACEOF
19411 /* end confdefs.h. */
19412
19413 int
19414 main ()
19415 {
19416 /* FIXME: Include the comments suggested by Paul. */
19417 #ifndef __cplusplus
19418 /* Ultrix mips cc rejects this. */
19419 typedef int charset[2];
19420 const charset cs;
19421 /* SunOS 4.1.1 cc rejects this. */
19422 char const *const *pcpcc;
19423 char **ppc;
19424 /* NEC SVR4.0.2 mips cc rejects this. */
19425 struct point {int x, y;};
19426 static struct point const zero = {0,0};
19427 /* AIX XL C 1.02.0.0 rejects this.
19428 It does not let you subtract one const X* pointer from another in
19429 an arm of an if-expression whose if-part is not a constant
19430 expression */
19431 const char *g = "string";
19432 pcpcc = &g + (g ? g-g : 0);
19433 /* HPUX 7.0 cc rejects these. */
19434 ++pcpcc;
19435 ppc = (char**) pcpcc;
19436 pcpcc = (char const *const *) ppc;
19437 { /* SCO 3.2v4 cc rejects this. */
19438 char *t;
19439 char const *s = 0 ? (char *) 0 : (char const *) 0;
19440
19441 *t++ = 0;
19442 if (s) return 0;
19443 }
19444 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19445 int x[] = {25, 17};
19446 const int *foo = &x[0];
19447 ++foo;
19448 }
19449 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19450 typedef const int *iptr;
19451 iptr p = 0;
19452 ++p;
19453 }
19454 { /* AIX XL C 1.02.0.0 rejects this saying
19455 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19456 struct s { int j; const int *ap[3]; };
19457 struct s *b; b->j = 5;
19458 }
19459 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19460 const int foo = 10;
19461 if (!foo) return 0;
19462 }
19463 return !cs[0] && !zero.x;
19464 #endif
19465
19466 ;
19467 return 0;
19468 }
19469 _ACEOF
19470 rm -f conftest.$ac_objext
19471 if { (ac_try="$ac_compile"
19472 case "(($ac_try" in
19473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19474 *) ac_try_echo=$ac_try;;
19475 esac
19476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19477 (eval "$ac_compile") 2>conftest.er1
19478 ac_status=$?
19479 grep -v '^ *+' conftest.er1 >conftest.err
19480 rm -f conftest.er1
19481 cat conftest.err >&5
19482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19483 (exit $ac_status); } && {
19484 test -z "$ac_c_werror_flag" ||
19485 test ! -s conftest.err
19486 } && test -s conftest.$ac_objext; then
19487 ac_cv_c_const=yes
19488 else
19489 echo "$as_me: failed program was:" >&5
19490 sed 's/^/| /' conftest.$ac_ext >&5
19491
19492 ac_cv_c_const=no
19493 fi
19494
19495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19496 fi
19497 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19498 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19499 if test $ac_cv_c_const = no; then
19500
19501 cat >>confdefs.h <<\_ACEOF
19502 #define const
19503 _ACEOF
19504
19505 fi
19506
19507 { echo "$as_me:$LINENO: checking for inline" >&5
19508 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19509 if test "${ac_cv_c_inline+set}" = set; then
19510 echo $ECHO_N "(cached) $ECHO_C" >&6
19511 else
19512 ac_cv_c_inline=no
19513 for ac_kw in inline __inline__ __inline; do
19514 cat >conftest.$ac_ext <<_ACEOF
19515 /* confdefs.h. */
19516 _ACEOF
19517 cat confdefs.h >>conftest.$ac_ext
19518 cat >>conftest.$ac_ext <<_ACEOF
19519 /* end confdefs.h. */
19520 #ifndef __cplusplus
19521 typedef int foo_t;
19522 static $ac_kw foo_t static_foo () {return 0; }
19523 $ac_kw foo_t foo () {return 0; }
19524 #endif
19525
19526 _ACEOF
19527 rm -f conftest.$ac_objext
19528 if { (ac_try="$ac_compile"
19529 case "(($ac_try" in
19530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19531 *) ac_try_echo=$ac_try;;
19532 esac
19533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19534 (eval "$ac_compile") 2>conftest.er1
19535 ac_status=$?
19536 grep -v '^ *+' conftest.er1 >conftest.err
19537 rm -f conftest.er1
19538 cat conftest.err >&5
19539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19540 (exit $ac_status); } && {
19541 test -z "$ac_c_werror_flag" ||
19542 test ! -s conftest.err
19543 } && test -s conftest.$ac_objext; then
19544 ac_cv_c_inline=$ac_kw
19545 else
19546 echo "$as_me: failed program was:" >&5
19547 sed 's/^/| /' conftest.$ac_ext >&5
19548
19549
19550 fi
19551
19552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19553 test "$ac_cv_c_inline" != no && break
19554 done
19555
19556 fi
19557 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19558 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19559
19560
19561 case $ac_cv_c_inline in
19562 inline | yes) ;;
19563 *)
19564 case $ac_cv_c_inline in
19565 no) ac_val=;;
19566 *) ac_val=$ac_cv_c_inline;;
19567 esac
19568 cat >>confdefs.h <<_ACEOF
19569 #ifndef __cplusplus
19570 #define inline $ac_val
19571 #endif
19572 _ACEOF
19573 ;;
19574 esac
19575
19576
19577 { echo "$as_me:$LINENO: checking for short" >&5
19578 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19579 if test "${ac_cv_type_short+set}" = set; then
19580 echo $ECHO_N "(cached) $ECHO_C" >&6
19581 else
19582 cat >conftest.$ac_ext <<_ACEOF
19583 /* confdefs.h. */
19584 _ACEOF
19585 cat confdefs.h >>conftest.$ac_ext
19586 cat >>conftest.$ac_ext <<_ACEOF
19587 /* end confdefs.h. */
19588 $ac_includes_default
19589 typedef short ac__type_new_;
19590 int
19591 main ()
19592 {
19593 if ((ac__type_new_ *) 0)
19594 return 0;
19595 if (sizeof (ac__type_new_))
19596 return 0;
19597 ;
19598 return 0;
19599 }
19600 _ACEOF
19601 rm -f conftest.$ac_objext
19602 if { (ac_try="$ac_compile"
19603 case "(($ac_try" in
19604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19605 *) ac_try_echo=$ac_try;;
19606 esac
19607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19608 (eval "$ac_compile") 2>conftest.er1
19609 ac_status=$?
19610 grep -v '^ *+' conftest.er1 >conftest.err
19611 rm -f conftest.er1
19612 cat conftest.err >&5
19613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19614 (exit $ac_status); } && {
19615 test -z "$ac_c_werror_flag" ||
19616 test ! -s conftest.err
19617 } && test -s conftest.$ac_objext; then
19618 ac_cv_type_short=yes
19619 else
19620 echo "$as_me: failed program was:" >&5
19621 sed 's/^/| /' conftest.$ac_ext >&5
19622
19623 ac_cv_type_short=no
19624 fi
19625
19626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19627 fi
19628 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19629 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19630
19631 # The cast to long int works around a bug in the HP C Compiler
19632 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19633 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19634 # This bug is HP SR number 8606223364.
19635 { echo "$as_me:$LINENO: checking size of short" >&5
19636 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19637 if test "${ac_cv_sizeof_short+set}" = set; then
19638 echo $ECHO_N "(cached) $ECHO_C" >&6
19639 else
19640 if test "$cross_compiling" = yes; then
19641 # Depending upon the size, compute the lo and hi bounds.
19642 cat >conftest.$ac_ext <<_ACEOF
19643 /* confdefs.h. */
19644 _ACEOF
19645 cat confdefs.h >>conftest.$ac_ext
19646 cat >>conftest.$ac_ext <<_ACEOF
19647 /* end confdefs.h. */
19648 $ac_includes_default
19649 typedef short ac__type_sizeof_;
19650 int
19651 main ()
19652 {
19653 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19654 test_array [0] = 0
19655
19656 ;
19657 return 0;
19658 }
19659 _ACEOF
19660 rm -f conftest.$ac_objext
19661 if { (ac_try="$ac_compile"
19662 case "(($ac_try" in
19663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19664 *) ac_try_echo=$ac_try;;
19665 esac
19666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19667 (eval "$ac_compile") 2>conftest.er1
19668 ac_status=$?
19669 grep -v '^ *+' conftest.er1 >conftest.err
19670 rm -f conftest.er1
19671 cat conftest.err >&5
19672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19673 (exit $ac_status); } && {
19674 test -z "$ac_c_werror_flag" ||
19675 test ! -s conftest.err
19676 } && test -s conftest.$ac_objext; then
19677 ac_lo=0 ac_mid=0
19678 while :; do
19679 cat >conftest.$ac_ext <<_ACEOF
19680 /* confdefs.h. */
19681 _ACEOF
19682 cat confdefs.h >>conftest.$ac_ext
19683 cat >>conftest.$ac_ext <<_ACEOF
19684 /* end confdefs.h. */
19685 $ac_includes_default
19686 typedef short ac__type_sizeof_;
19687 int
19688 main ()
19689 {
19690 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19691 test_array [0] = 0
19692
19693 ;
19694 return 0;
19695 }
19696 _ACEOF
19697 rm -f conftest.$ac_objext
19698 if { (ac_try="$ac_compile"
19699 case "(($ac_try" in
19700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19701 *) ac_try_echo=$ac_try;;
19702 esac
19703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19704 (eval "$ac_compile") 2>conftest.er1
19705 ac_status=$?
19706 grep -v '^ *+' conftest.er1 >conftest.err
19707 rm -f conftest.er1
19708 cat conftest.err >&5
19709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19710 (exit $ac_status); } && {
19711 test -z "$ac_c_werror_flag" ||
19712 test ! -s conftest.err
19713 } && test -s conftest.$ac_objext; then
19714 ac_hi=$ac_mid; break
19715 else
19716 echo "$as_me: failed program was:" >&5
19717 sed 's/^/| /' conftest.$ac_ext >&5
19718
19719 ac_lo=`expr $ac_mid + 1`
19720 if test $ac_lo -le $ac_mid; then
19721 ac_lo= ac_hi=
19722 break
19723 fi
19724 ac_mid=`expr 2 '*' $ac_mid + 1`
19725 fi
19726
19727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19728 done
19729 else
19730 echo "$as_me: failed program was:" >&5
19731 sed 's/^/| /' conftest.$ac_ext >&5
19732
19733 cat >conftest.$ac_ext <<_ACEOF
19734 /* confdefs.h. */
19735 _ACEOF
19736 cat confdefs.h >>conftest.$ac_ext
19737 cat >>conftest.$ac_ext <<_ACEOF
19738 /* end confdefs.h. */
19739 $ac_includes_default
19740 typedef short ac__type_sizeof_;
19741 int
19742 main ()
19743 {
19744 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19745 test_array [0] = 0
19746
19747 ;
19748 return 0;
19749 }
19750 _ACEOF
19751 rm -f conftest.$ac_objext
19752 if { (ac_try="$ac_compile"
19753 case "(($ac_try" in
19754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19755 *) ac_try_echo=$ac_try;;
19756 esac
19757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19758 (eval "$ac_compile") 2>conftest.er1
19759 ac_status=$?
19760 grep -v '^ *+' conftest.er1 >conftest.err
19761 rm -f conftest.er1
19762 cat conftest.err >&5
19763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19764 (exit $ac_status); } && {
19765 test -z "$ac_c_werror_flag" ||
19766 test ! -s conftest.err
19767 } && test -s conftest.$ac_objext; then
19768 ac_hi=-1 ac_mid=-1
19769 while :; do
19770 cat >conftest.$ac_ext <<_ACEOF
19771 /* confdefs.h. */
19772 _ACEOF
19773 cat confdefs.h >>conftest.$ac_ext
19774 cat >>conftest.$ac_ext <<_ACEOF
19775 /* end confdefs.h. */
19776 $ac_includes_default
19777 typedef short ac__type_sizeof_;
19778 int
19779 main ()
19780 {
19781 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19782 test_array [0] = 0
19783
19784 ;
19785 return 0;
19786 }
19787 _ACEOF
19788 rm -f conftest.$ac_objext
19789 if { (ac_try="$ac_compile"
19790 case "(($ac_try" in
19791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19792 *) ac_try_echo=$ac_try;;
19793 esac
19794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19795 (eval "$ac_compile") 2>conftest.er1
19796 ac_status=$?
19797 grep -v '^ *+' conftest.er1 >conftest.err
19798 rm -f conftest.er1
19799 cat conftest.err >&5
19800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19801 (exit $ac_status); } && {
19802 test -z "$ac_c_werror_flag" ||
19803 test ! -s conftest.err
19804 } && test -s conftest.$ac_objext; then
19805 ac_lo=$ac_mid; break
19806 else
19807 echo "$as_me: failed program was:" >&5
19808 sed 's/^/| /' conftest.$ac_ext >&5
19809
19810 ac_hi=`expr '(' $ac_mid ')' - 1`
19811 if test $ac_mid -le $ac_hi; then
19812 ac_lo= ac_hi=
19813 break
19814 fi
19815 ac_mid=`expr 2 '*' $ac_mid`
19816 fi
19817
19818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19819 done
19820 else
19821 echo "$as_me: failed program was:" >&5
19822 sed 's/^/| /' conftest.$ac_ext >&5
19823
19824 ac_lo= ac_hi=
19825 fi
19826
19827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19828 fi
19829
19830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19831 # Binary search between lo and hi bounds.
19832 while test "x$ac_lo" != "x$ac_hi"; do
19833 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19834 cat >conftest.$ac_ext <<_ACEOF
19835 /* confdefs.h. */
19836 _ACEOF
19837 cat confdefs.h >>conftest.$ac_ext
19838 cat >>conftest.$ac_ext <<_ACEOF
19839 /* end confdefs.h. */
19840 $ac_includes_default
19841 typedef short ac__type_sizeof_;
19842 int
19843 main ()
19844 {
19845 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19846 test_array [0] = 0
19847
19848 ;
19849 return 0;
19850 }
19851 _ACEOF
19852 rm -f conftest.$ac_objext
19853 if { (ac_try="$ac_compile"
19854 case "(($ac_try" in
19855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19856 *) ac_try_echo=$ac_try;;
19857 esac
19858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19859 (eval "$ac_compile") 2>conftest.er1
19860 ac_status=$?
19861 grep -v '^ *+' conftest.er1 >conftest.err
19862 rm -f conftest.er1
19863 cat conftest.err >&5
19864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19865 (exit $ac_status); } && {
19866 test -z "$ac_c_werror_flag" ||
19867 test ! -s conftest.err
19868 } && test -s conftest.$ac_objext; then
19869 ac_hi=$ac_mid
19870 else
19871 echo "$as_me: failed program was:" >&5
19872 sed 's/^/| /' conftest.$ac_ext >&5
19873
19874 ac_lo=`expr '(' $ac_mid ')' + 1`
19875 fi
19876
19877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19878 done
19879 case $ac_lo in
19880 ?*) ac_cv_sizeof_short=$ac_lo;;
19881 '') if test "$ac_cv_type_short" = yes; then
19882 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19883 See \`config.log' for more details." >&5
19884 echo "$as_me: error: cannot compute sizeof (short)
19885 See \`config.log' for more details." >&2;}
19886 { (exit 77); exit 77; }; }
19887 else
19888 ac_cv_sizeof_short=0
19889 fi ;;
19890 esac
19891 else
19892 cat >conftest.$ac_ext <<_ACEOF
19893 /* confdefs.h. */
19894 _ACEOF
19895 cat confdefs.h >>conftest.$ac_ext
19896 cat >>conftest.$ac_ext <<_ACEOF
19897 /* end confdefs.h. */
19898 $ac_includes_default
19899 typedef short ac__type_sizeof_;
19900 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19901 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19902 #include <stdio.h>
19903 #include <stdlib.h>
19904 int
19905 main ()
19906 {
19907
19908 FILE *f = fopen ("conftest.val", "w");
19909 if (! f)
19910 return 1;
19911 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19912 {
19913 long int i = longval ();
19914 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19915 return 1;
19916 fprintf (f, "%ld\n", i);
19917 }
19918 else
19919 {
19920 unsigned long int i = ulongval ();
19921 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19922 return 1;
19923 fprintf (f, "%lu\n", i);
19924 }
19925 return ferror (f) || fclose (f) != 0;
19926
19927 ;
19928 return 0;
19929 }
19930 _ACEOF
19931 rm -f conftest$ac_exeext
19932 if { (ac_try="$ac_link"
19933 case "(($ac_try" in
19934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19935 *) ac_try_echo=$ac_try;;
19936 esac
19937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19938 (eval "$ac_link") 2>&5
19939 ac_status=$?
19940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19941 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19942 { (case "(($ac_try" in
19943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19944 *) ac_try_echo=$ac_try;;
19945 esac
19946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19947 (eval "$ac_try") 2>&5
19948 ac_status=$?
19949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19950 (exit $ac_status); }; }; then
19951 ac_cv_sizeof_short=`cat conftest.val`
19952 else
19953 echo "$as_me: program exited with status $ac_status" >&5
19954 echo "$as_me: failed program was:" >&5
19955 sed 's/^/| /' conftest.$ac_ext >&5
19956
19957 ( exit $ac_status )
19958 if test "$ac_cv_type_short" = yes; then
19959 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19960 See \`config.log' for more details." >&5
19961 echo "$as_me: error: cannot compute sizeof (short)
19962 See \`config.log' for more details." >&2;}
19963 { (exit 77); exit 77; }; }
19964 else
19965 ac_cv_sizeof_short=0
19966 fi
19967 fi
19968 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19969 fi
19970 rm -f conftest.val
19971 fi
19972 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19973 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19974
19975
19976
19977 cat >>confdefs.h <<_ACEOF
19978 #define SIZEOF_SHORT $ac_cv_sizeof_short
19979 _ACEOF
19980
19981
19982 { echo "$as_me:$LINENO: checking for void *" >&5
19983 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19984 if test "${ac_cv_type_void_p+set}" = set; then
19985 echo $ECHO_N "(cached) $ECHO_C" >&6
19986 else
19987 cat >conftest.$ac_ext <<_ACEOF
19988 /* confdefs.h. */
19989 _ACEOF
19990 cat confdefs.h >>conftest.$ac_ext
19991 cat >>conftest.$ac_ext <<_ACEOF
19992 /* end confdefs.h. */
19993 $ac_includes_default
19994 typedef void * ac__type_new_;
19995 int
19996 main ()
19997 {
19998 if ((ac__type_new_ *) 0)
19999 return 0;
20000 if (sizeof (ac__type_new_))
20001 return 0;
20002 ;
20003 return 0;
20004 }
20005 _ACEOF
20006 rm -f conftest.$ac_objext
20007 if { (ac_try="$ac_compile"
20008 case "(($ac_try" in
20009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20010 *) ac_try_echo=$ac_try;;
20011 esac
20012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20013 (eval "$ac_compile") 2>conftest.er1
20014 ac_status=$?
20015 grep -v '^ *+' conftest.er1 >conftest.err
20016 rm -f conftest.er1
20017 cat conftest.err >&5
20018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20019 (exit $ac_status); } && {
20020 test -z "$ac_c_werror_flag" ||
20021 test ! -s conftest.err
20022 } && test -s conftest.$ac_objext; then
20023 ac_cv_type_void_p=yes
20024 else
20025 echo "$as_me: failed program was:" >&5
20026 sed 's/^/| /' conftest.$ac_ext >&5
20027
20028 ac_cv_type_void_p=no
20029 fi
20030
20031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20032 fi
20033 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20034 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20035
20036 # The cast to long int works around a bug in the HP C Compiler
20037 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20038 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20039 # This bug is HP SR number 8606223364.
20040 { echo "$as_me:$LINENO: checking size of void *" >&5
20041 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20042 if test "${ac_cv_sizeof_void_p+set}" = set; then
20043 echo $ECHO_N "(cached) $ECHO_C" >&6
20044 else
20045 if test "$cross_compiling" = yes; then
20046 # Depending upon the size, compute the lo and hi bounds.
20047 cat >conftest.$ac_ext <<_ACEOF
20048 /* confdefs.h. */
20049 _ACEOF
20050 cat confdefs.h >>conftest.$ac_ext
20051 cat >>conftest.$ac_ext <<_ACEOF
20052 /* end confdefs.h. */
20053 $ac_includes_default
20054 typedef void * ac__type_sizeof_;
20055 int
20056 main ()
20057 {
20058 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20059 test_array [0] = 0
20060
20061 ;
20062 return 0;
20063 }
20064 _ACEOF
20065 rm -f conftest.$ac_objext
20066 if { (ac_try="$ac_compile"
20067 case "(($ac_try" in
20068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20069 *) ac_try_echo=$ac_try;;
20070 esac
20071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20072 (eval "$ac_compile") 2>conftest.er1
20073 ac_status=$?
20074 grep -v '^ *+' conftest.er1 >conftest.err
20075 rm -f conftest.er1
20076 cat conftest.err >&5
20077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20078 (exit $ac_status); } && {
20079 test -z "$ac_c_werror_flag" ||
20080 test ! -s conftest.err
20081 } && test -s conftest.$ac_objext; then
20082 ac_lo=0 ac_mid=0
20083 while :; do
20084 cat >conftest.$ac_ext <<_ACEOF
20085 /* confdefs.h. */
20086 _ACEOF
20087 cat confdefs.h >>conftest.$ac_ext
20088 cat >>conftest.$ac_ext <<_ACEOF
20089 /* end confdefs.h. */
20090 $ac_includes_default
20091 typedef void * ac__type_sizeof_;
20092 int
20093 main ()
20094 {
20095 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20096 test_array [0] = 0
20097
20098 ;
20099 return 0;
20100 }
20101 _ACEOF
20102 rm -f conftest.$ac_objext
20103 if { (ac_try="$ac_compile"
20104 case "(($ac_try" in
20105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20106 *) ac_try_echo=$ac_try;;
20107 esac
20108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20109 (eval "$ac_compile") 2>conftest.er1
20110 ac_status=$?
20111 grep -v '^ *+' conftest.er1 >conftest.err
20112 rm -f conftest.er1
20113 cat conftest.err >&5
20114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20115 (exit $ac_status); } && {
20116 test -z "$ac_c_werror_flag" ||
20117 test ! -s conftest.err
20118 } && test -s conftest.$ac_objext; then
20119 ac_hi=$ac_mid; break
20120 else
20121 echo "$as_me: failed program was:" >&5
20122 sed 's/^/| /' conftest.$ac_ext >&5
20123
20124 ac_lo=`expr $ac_mid + 1`
20125 if test $ac_lo -le $ac_mid; then
20126 ac_lo= ac_hi=
20127 break
20128 fi
20129 ac_mid=`expr 2 '*' $ac_mid + 1`
20130 fi
20131
20132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20133 done
20134 else
20135 echo "$as_me: failed program was:" >&5
20136 sed 's/^/| /' conftest.$ac_ext >&5
20137
20138 cat >conftest.$ac_ext <<_ACEOF
20139 /* confdefs.h. */
20140 _ACEOF
20141 cat confdefs.h >>conftest.$ac_ext
20142 cat >>conftest.$ac_ext <<_ACEOF
20143 /* end confdefs.h. */
20144 $ac_includes_default
20145 typedef void * ac__type_sizeof_;
20146 int
20147 main ()
20148 {
20149 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20150 test_array [0] = 0
20151
20152 ;
20153 return 0;
20154 }
20155 _ACEOF
20156 rm -f conftest.$ac_objext
20157 if { (ac_try="$ac_compile"
20158 case "(($ac_try" in
20159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20160 *) ac_try_echo=$ac_try;;
20161 esac
20162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20163 (eval "$ac_compile") 2>conftest.er1
20164 ac_status=$?
20165 grep -v '^ *+' conftest.er1 >conftest.err
20166 rm -f conftest.er1
20167 cat conftest.err >&5
20168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20169 (exit $ac_status); } && {
20170 test -z "$ac_c_werror_flag" ||
20171 test ! -s conftest.err
20172 } && test -s conftest.$ac_objext; then
20173 ac_hi=-1 ac_mid=-1
20174 while :; do
20175 cat >conftest.$ac_ext <<_ACEOF
20176 /* confdefs.h. */
20177 _ACEOF
20178 cat confdefs.h >>conftest.$ac_ext
20179 cat >>conftest.$ac_ext <<_ACEOF
20180 /* end confdefs.h. */
20181 $ac_includes_default
20182 typedef void * ac__type_sizeof_;
20183 int
20184 main ()
20185 {
20186 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20187 test_array [0] = 0
20188
20189 ;
20190 return 0;
20191 }
20192 _ACEOF
20193 rm -f conftest.$ac_objext
20194 if { (ac_try="$ac_compile"
20195 case "(($ac_try" in
20196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20197 *) ac_try_echo=$ac_try;;
20198 esac
20199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20200 (eval "$ac_compile") 2>conftest.er1
20201 ac_status=$?
20202 grep -v '^ *+' conftest.er1 >conftest.err
20203 rm -f conftest.er1
20204 cat conftest.err >&5
20205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20206 (exit $ac_status); } && {
20207 test -z "$ac_c_werror_flag" ||
20208 test ! -s conftest.err
20209 } && test -s conftest.$ac_objext; then
20210 ac_lo=$ac_mid; break
20211 else
20212 echo "$as_me: failed program was:" >&5
20213 sed 's/^/| /' conftest.$ac_ext >&5
20214
20215 ac_hi=`expr '(' $ac_mid ')' - 1`
20216 if test $ac_mid -le $ac_hi; then
20217 ac_lo= ac_hi=
20218 break
20219 fi
20220 ac_mid=`expr 2 '*' $ac_mid`
20221 fi
20222
20223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20224 done
20225 else
20226 echo "$as_me: failed program was:" >&5
20227 sed 's/^/| /' conftest.$ac_ext >&5
20228
20229 ac_lo= ac_hi=
20230 fi
20231
20232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20233 fi
20234
20235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20236 # Binary search between lo and hi bounds.
20237 while test "x$ac_lo" != "x$ac_hi"; do
20238 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20239 cat >conftest.$ac_ext <<_ACEOF
20240 /* confdefs.h. */
20241 _ACEOF
20242 cat confdefs.h >>conftest.$ac_ext
20243 cat >>conftest.$ac_ext <<_ACEOF
20244 /* end confdefs.h. */
20245 $ac_includes_default
20246 typedef void * ac__type_sizeof_;
20247 int
20248 main ()
20249 {
20250 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20251 test_array [0] = 0
20252
20253 ;
20254 return 0;
20255 }
20256 _ACEOF
20257 rm -f conftest.$ac_objext
20258 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
20265 ac_status=$?
20266 grep -v '^ *+' conftest.er1 >conftest.err
20267 rm -f conftest.er1
20268 cat conftest.err >&5
20269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20270 (exit $ac_status); } && {
20271 test -z "$ac_c_werror_flag" ||
20272 test ! -s conftest.err
20273 } && test -s conftest.$ac_objext; then
20274 ac_hi=$ac_mid
20275 else
20276 echo "$as_me: failed program was:" >&5
20277 sed 's/^/| /' conftest.$ac_ext >&5
20278
20279 ac_lo=`expr '(' $ac_mid ')' + 1`
20280 fi
20281
20282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20283 done
20284 case $ac_lo in
20285 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20286 '') if test "$ac_cv_type_void_p" = yes; then
20287 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20288 See \`config.log' for more details." >&5
20289 echo "$as_me: error: cannot compute sizeof (void *)
20290 See \`config.log' for more details." >&2;}
20291 { (exit 77); exit 77; }; }
20292 else
20293 ac_cv_sizeof_void_p=0
20294 fi ;;
20295 esac
20296 else
20297 cat >conftest.$ac_ext <<_ACEOF
20298 /* confdefs.h. */
20299 _ACEOF
20300 cat confdefs.h >>conftest.$ac_ext
20301 cat >>conftest.$ac_ext <<_ACEOF
20302 /* end confdefs.h. */
20303 $ac_includes_default
20304 typedef void * ac__type_sizeof_;
20305 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20306 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20307 #include <stdio.h>
20308 #include <stdlib.h>
20309 int
20310 main ()
20311 {
20312
20313 FILE *f = fopen ("conftest.val", "w");
20314 if (! f)
20315 return 1;
20316 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20317 {
20318 long int i = longval ();
20319 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20320 return 1;
20321 fprintf (f, "%ld\n", i);
20322 }
20323 else
20324 {
20325 unsigned long int i = ulongval ();
20326 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20327 return 1;
20328 fprintf (f, "%lu\n", i);
20329 }
20330 return ferror (f) || fclose (f) != 0;
20331
20332 ;
20333 return 0;
20334 }
20335 _ACEOF
20336 rm -f conftest$ac_exeext
20337 if { (ac_try="$ac_link"
20338 case "(($ac_try" in
20339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20340 *) ac_try_echo=$ac_try;;
20341 esac
20342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20343 (eval "$ac_link") 2>&5
20344 ac_status=$?
20345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20346 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20347 { (case "(($ac_try" in
20348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20349 *) ac_try_echo=$ac_try;;
20350 esac
20351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20352 (eval "$ac_try") 2>&5
20353 ac_status=$?
20354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20355 (exit $ac_status); }; }; then
20356 ac_cv_sizeof_void_p=`cat conftest.val`
20357 else
20358 echo "$as_me: program exited with status $ac_status" >&5
20359 echo "$as_me: failed program was:" >&5
20360 sed 's/^/| /' conftest.$ac_ext >&5
20361
20362 ( exit $ac_status )
20363 if test "$ac_cv_type_void_p" = yes; then
20364 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20365 See \`config.log' for more details." >&5
20366 echo "$as_me: error: cannot compute sizeof (void *)
20367 See \`config.log' for more details." >&2;}
20368 { (exit 77); exit 77; }; }
20369 else
20370 ac_cv_sizeof_void_p=0
20371 fi
20372 fi
20373 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20374 fi
20375 rm -f conftest.val
20376 fi
20377 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20378 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20379
20380
20381
20382 cat >>confdefs.h <<_ACEOF
20383 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20384 _ACEOF
20385
20386
20387 { echo "$as_me:$LINENO: checking for int" >&5
20388 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20389 if test "${ac_cv_type_int+set}" = set; then
20390 echo $ECHO_N "(cached) $ECHO_C" >&6
20391 else
20392 cat >conftest.$ac_ext <<_ACEOF
20393 /* confdefs.h. */
20394 _ACEOF
20395 cat confdefs.h >>conftest.$ac_ext
20396 cat >>conftest.$ac_ext <<_ACEOF
20397 /* end confdefs.h. */
20398 $ac_includes_default
20399 typedef int ac__type_new_;
20400 int
20401 main ()
20402 {
20403 if ((ac__type_new_ *) 0)
20404 return 0;
20405 if (sizeof (ac__type_new_))
20406 return 0;
20407 ;
20408 return 0;
20409 }
20410 _ACEOF
20411 rm -f conftest.$ac_objext
20412 if { (ac_try="$ac_compile"
20413 case "(($ac_try" in
20414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20415 *) ac_try_echo=$ac_try;;
20416 esac
20417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20418 (eval "$ac_compile") 2>conftest.er1
20419 ac_status=$?
20420 grep -v '^ *+' conftest.er1 >conftest.err
20421 rm -f conftest.er1
20422 cat conftest.err >&5
20423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20424 (exit $ac_status); } && {
20425 test -z "$ac_c_werror_flag" ||
20426 test ! -s conftest.err
20427 } && test -s conftest.$ac_objext; then
20428 ac_cv_type_int=yes
20429 else
20430 echo "$as_me: failed program was:" >&5
20431 sed 's/^/| /' conftest.$ac_ext >&5
20432
20433 ac_cv_type_int=no
20434 fi
20435
20436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20437 fi
20438 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20439 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20440
20441 # The cast to long int works around a bug in the HP C Compiler
20442 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20443 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20444 # This bug is HP SR number 8606223364.
20445 { echo "$as_me:$LINENO: checking size of int" >&5
20446 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20447 if test "${ac_cv_sizeof_int+set}" = set; then
20448 echo $ECHO_N "(cached) $ECHO_C" >&6
20449 else
20450 if test "$cross_compiling" = yes; then
20451 # Depending upon the size, compute the lo and hi bounds.
20452 cat >conftest.$ac_ext <<_ACEOF
20453 /* confdefs.h. */
20454 _ACEOF
20455 cat confdefs.h >>conftest.$ac_ext
20456 cat >>conftest.$ac_ext <<_ACEOF
20457 /* end confdefs.h. */
20458 $ac_includes_default
20459 typedef int ac__type_sizeof_;
20460 int
20461 main ()
20462 {
20463 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20464 test_array [0] = 0
20465
20466 ;
20467 return 0;
20468 }
20469 _ACEOF
20470 rm -f conftest.$ac_objext
20471 if { (ac_try="$ac_compile"
20472 case "(($ac_try" in
20473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20474 *) ac_try_echo=$ac_try;;
20475 esac
20476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20477 (eval "$ac_compile") 2>conftest.er1
20478 ac_status=$?
20479 grep -v '^ *+' conftest.er1 >conftest.err
20480 rm -f conftest.er1
20481 cat conftest.err >&5
20482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20483 (exit $ac_status); } && {
20484 test -z "$ac_c_werror_flag" ||
20485 test ! -s conftest.err
20486 } && test -s conftest.$ac_objext; then
20487 ac_lo=0 ac_mid=0
20488 while :; do
20489 cat >conftest.$ac_ext <<_ACEOF
20490 /* confdefs.h. */
20491 _ACEOF
20492 cat confdefs.h >>conftest.$ac_ext
20493 cat >>conftest.$ac_ext <<_ACEOF
20494 /* end confdefs.h. */
20495 $ac_includes_default
20496 typedef int ac__type_sizeof_;
20497 int
20498 main ()
20499 {
20500 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20501 test_array [0] = 0
20502
20503 ;
20504 return 0;
20505 }
20506 _ACEOF
20507 rm -f conftest.$ac_objext
20508 if { (ac_try="$ac_compile"
20509 case "(($ac_try" in
20510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20511 *) ac_try_echo=$ac_try;;
20512 esac
20513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20514 (eval "$ac_compile") 2>conftest.er1
20515 ac_status=$?
20516 grep -v '^ *+' conftest.er1 >conftest.err
20517 rm -f conftest.er1
20518 cat conftest.err >&5
20519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20520 (exit $ac_status); } && {
20521 test -z "$ac_c_werror_flag" ||
20522 test ! -s conftest.err
20523 } && test -s conftest.$ac_objext; then
20524 ac_hi=$ac_mid; break
20525 else
20526 echo "$as_me: failed program was:" >&5
20527 sed 's/^/| /' conftest.$ac_ext >&5
20528
20529 ac_lo=`expr $ac_mid + 1`
20530 if test $ac_lo -le $ac_mid; then
20531 ac_lo= ac_hi=
20532 break
20533 fi
20534 ac_mid=`expr 2 '*' $ac_mid + 1`
20535 fi
20536
20537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20538 done
20539 else
20540 echo "$as_me: failed program was:" >&5
20541 sed 's/^/| /' conftest.$ac_ext >&5
20542
20543 cat >conftest.$ac_ext <<_ACEOF
20544 /* confdefs.h. */
20545 _ACEOF
20546 cat confdefs.h >>conftest.$ac_ext
20547 cat >>conftest.$ac_ext <<_ACEOF
20548 /* end confdefs.h. */
20549 $ac_includes_default
20550 typedef int ac__type_sizeof_;
20551 int
20552 main ()
20553 {
20554 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20555 test_array [0] = 0
20556
20557 ;
20558 return 0;
20559 }
20560 _ACEOF
20561 rm -f conftest.$ac_objext
20562 if { (ac_try="$ac_compile"
20563 case "(($ac_try" in
20564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20565 *) ac_try_echo=$ac_try;;
20566 esac
20567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20568 (eval "$ac_compile") 2>conftest.er1
20569 ac_status=$?
20570 grep -v '^ *+' conftest.er1 >conftest.err
20571 rm -f conftest.er1
20572 cat conftest.err >&5
20573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20574 (exit $ac_status); } && {
20575 test -z "$ac_c_werror_flag" ||
20576 test ! -s conftest.err
20577 } && test -s conftest.$ac_objext; then
20578 ac_hi=-1 ac_mid=-1
20579 while :; do
20580 cat >conftest.$ac_ext <<_ACEOF
20581 /* confdefs.h. */
20582 _ACEOF
20583 cat confdefs.h >>conftest.$ac_ext
20584 cat >>conftest.$ac_ext <<_ACEOF
20585 /* end confdefs.h. */
20586 $ac_includes_default
20587 typedef int ac__type_sizeof_;
20588 int
20589 main ()
20590 {
20591 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20592 test_array [0] = 0
20593
20594 ;
20595 return 0;
20596 }
20597 _ACEOF
20598 rm -f conftest.$ac_objext
20599 if { (ac_try="$ac_compile"
20600 case "(($ac_try" in
20601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20602 *) ac_try_echo=$ac_try;;
20603 esac
20604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20605 (eval "$ac_compile") 2>conftest.er1
20606 ac_status=$?
20607 grep -v '^ *+' conftest.er1 >conftest.err
20608 rm -f conftest.er1
20609 cat conftest.err >&5
20610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20611 (exit $ac_status); } && {
20612 test -z "$ac_c_werror_flag" ||
20613 test ! -s conftest.err
20614 } && test -s conftest.$ac_objext; then
20615 ac_lo=$ac_mid; break
20616 else
20617 echo "$as_me: failed program was:" >&5
20618 sed 's/^/| /' conftest.$ac_ext >&5
20619
20620 ac_hi=`expr '(' $ac_mid ')' - 1`
20621 if test $ac_mid -le $ac_hi; then
20622 ac_lo= ac_hi=
20623 break
20624 fi
20625 ac_mid=`expr 2 '*' $ac_mid`
20626 fi
20627
20628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20629 done
20630 else
20631 echo "$as_me: failed program was:" >&5
20632 sed 's/^/| /' conftest.$ac_ext >&5
20633
20634 ac_lo= ac_hi=
20635 fi
20636
20637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20638 fi
20639
20640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20641 # Binary search between lo and hi bounds.
20642 while test "x$ac_lo" != "x$ac_hi"; do
20643 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20644 cat >conftest.$ac_ext <<_ACEOF
20645 /* confdefs.h. */
20646 _ACEOF
20647 cat confdefs.h >>conftest.$ac_ext
20648 cat >>conftest.$ac_ext <<_ACEOF
20649 /* end confdefs.h. */
20650 $ac_includes_default
20651 typedef int ac__type_sizeof_;
20652 int
20653 main ()
20654 {
20655 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20656 test_array [0] = 0
20657
20658 ;
20659 return 0;
20660 }
20661 _ACEOF
20662 rm -f conftest.$ac_objext
20663 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
20670 ac_status=$?
20671 grep -v '^ *+' conftest.er1 >conftest.err
20672 rm -f conftest.er1
20673 cat conftest.err >&5
20674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20675 (exit $ac_status); } && {
20676 test -z "$ac_c_werror_flag" ||
20677 test ! -s conftest.err
20678 } && test -s conftest.$ac_objext; then
20679 ac_hi=$ac_mid
20680 else
20681 echo "$as_me: failed program was:" >&5
20682 sed 's/^/| /' conftest.$ac_ext >&5
20683
20684 ac_lo=`expr '(' $ac_mid ')' + 1`
20685 fi
20686
20687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20688 done
20689 case $ac_lo in
20690 ?*) ac_cv_sizeof_int=$ac_lo;;
20691 '') if test "$ac_cv_type_int" = yes; then
20692 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20693 See \`config.log' for more details." >&5
20694 echo "$as_me: error: cannot compute sizeof (int)
20695 See \`config.log' for more details." >&2;}
20696 { (exit 77); exit 77; }; }
20697 else
20698 ac_cv_sizeof_int=0
20699 fi ;;
20700 esac
20701 else
20702 cat >conftest.$ac_ext <<_ACEOF
20703 /* confdefs.h. */
20704 _ACEOF
20705 cat confdefs.h >>conftest.$ac_ext
20706 cat >>conftest.$ac_ext <<_ACEOF
20707 /* end confdefs.h. */
20708 $ac_includes_default
20709 typedef int ac__type_sizeof_;
20710 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20711 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20712 #include <stdio.h>
20713 #include <stdlib.h>
20714 int
20715 main ()
20716 {
20717
20718 FILE *f = fopen ("conftest.val", "w");
20719 if (! f)
20720 return 1;
20721 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20722 {
20723 long int i = longval ();
20724 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20725 return 1;
20726 fprintf (f, "%ld\n", i);
20727 }
20728 else
20729 {
20730 unsigned long int i = ulongval ();
20731 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20732 return 1;
20733 fprintf (f, "%lu\n", i);
20734 }
20735 return ferror (f) || fclose (f) != 0;
20736
20737 ;
20738 return 0;
20739 }
20740 _ACEOF
20741 rm -f conftest$ac_exeext
20742 if { (ac_try="$ac_link"
20743 case "(($ac_try" in
20744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20745 *) ac_try_echo=$ac_try;;
20746 esac
20747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20748 (eval "$ac_link") 2>&5
20749 ac_status=$?
20750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20751 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20752 { (case "(($ac_try" in
20753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20754 *) ac_try_echo=$ac_try;;
20755 esac
20756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20757 (eval "$ac_try") 2>&5
20758 ac_status=$?
20759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20760 (exit $ac_status); }; }; then
20761 ac_cv_sizeof_int=`cat conftest.val`
20762 else
20763 echo "$as_me: program exited with status $ac_status" >&5
20764 echo "$as_me: failed program was:" >&5
20765 sed 's/^/| /' conftest.$ac_ext >&5
20766
20767 ( exit $ac_status )
20768 if test "$ac_cv_type_int" = yes; then
20769 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20770 See \`config.log' for more details." >&5
20771 echo "$as_me: error: cannot compute sizeof (int)
20772 See \`config.log' for more details." >&2;}
20773 { (exit 77); exit 77; }; }
20774 else
20775 ac_cv_sizeof_int=0
20776 fi
20777 fi
20778 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20779 fi
20780 rm -f conftest.val
20781 fi
20782 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20783 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20784
20785
20786
20787 cat >>confdefs.h <<_ACEOF
20788 #define SIZEOF_INT $ac_cv_sizeof_int
20789 _ACEOF
20790
20791
20792 { echo "$as_me:$LINENO: checking for long" >&5
20793 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20794 if test "${ac_cv_type_long+set}" = set; then
20795 echo $ECHO_N "(cached) $ECHO_C" >&6
20796 else
20797 cat >conftest.$ac_ext <<_ACEOF
20798 /* confdefs.h. */
20799 _ACEOF
20800 cat confdefs.h >>conftest.$ac_ext
20801 cat >>conftest.$ac_ext <<_ACEOF
20802 /* end confdefs.h. */
20803 $ac_includes_default
20804 typedef long ac__type_new_;
20805 int
20806 main ()
20807 {
20808 if ((ac__type_new_ *) 0)
20809 return 0;
20810 if (sizeof (ac__type_new_))
20811 return 0;
20812 ;
20813 return 0;
20814 }
20815 _ACEOF
20816 rm -f conftest.$ac_objext
20817 if { (ac_try="$ac_compile"
20818 case "(($ac_try" in
20819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20820 *) ac_try_echo=$ac_try;;
20821 esac
20822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20823 (eval "$ac_compile") 2>conftest.er1
20824 ac_status=$?
20825 grep -v '^ *+' conftest.er1 >conftest.err
20826 rm -f conftest.er1
20827 cat conftest.err >&5
20828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20829 (exit $ac_status); } && {
20830 test -z "$ac_c_werror_flag" ||
20831 test ! -s conftest.err
20832 } && test -s conftest.$ac_objext; then
20833 ac_cv_type_long=yes
20834 else
20835 echo "$as_me: failed program was:" >&5
20836 sed 's/^/| /' conftest.$ac_ext >&5
20837
20838 ac_cv_type_long=no
20839 fi
20840
20841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20842 fi
20843 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20844 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20845
20846 # The cast to long int works around a bug in the HP C Compiler
20847 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20848 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20849 # This bug is HP SR number 8606223364.
20850 { echo "$as_me:$LINENO: checking size of long" >&5
20851 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20852 if test "${ac_cv_sizeof_long+set}" = set; then
20853 echo $ECHO_N "(cached) $ECHO_C" >&6
20854 else
20855 if test "$cross_compiling" = yes; then
20856 # Depending upon the size, compute the lo and hi bounds.
20857 cat >conftest.$ac_ext <<_ACEOF
20858 /* confdefs.h. */
20859 _ACEOF
20860 cat confdefs.h >>conftest.$ac_ext
20861 cat >>conftest.$ac_ext <<_ACEOF
20862 /* end confdefs.h. */
20863 $ac_includes_default
20864 typedef long ac__type_sizeof_;
20865 int
20866 main ()
20867 {
20868 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20869 test_array [0] = 0
20870
20871 ;
20872 return 0;
20873 }
20874 _ACEOF
20875 rm -f conftest.$ac_objext
20876 if { (ac_try="$ac_compile"
20877 case "(($ac_try" in
20878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20879 *) ac_try_echo=$ac_try;;
20880 esac
20881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20882 (eval "$ac_compile") 2>conftest.er1
20883 ac_status=$?
20884 grep -v '^ *+' conftest.er1 >conftest.err
20885 rm -f conftest.er1
20886 cat conftest.err >&5
20887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20888 (exit $ac_status); } && {
20889 test -z "$ac_c_werror_flag" ||
20890 test ! -s conftest.err
20891 } && test -s conftest.$ac_objext; then
20892 ac_lo=0 ac_mid=0
20893 while :; do
20894 cat >conftest.$ac_ext <<_ACEOF
20895 /* confdefs.h. */
20896 _ACEOF
20897 cat confdefs.h >>conftest.$ac_ext
20898 cat >>conftest.$ac_ext <<_ACEOF
20899 /* end confdefs.h. */
20900 $ac_includes_default
20901 typedef long ac__type_sizeof_;
20902 int
20903 main ()
20904 {
20905 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20906 test_array [0] = 0
20907
20908 ;
20909 return 0;
20910 }
20911 _ACEOF
20912 rm -f conftest.$ac_objext
20913 if { (ac_try="$ac_compile"
20914 case "(($ac_try" in
20915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20916 *) ac_try_echo=$ac_try;;
20917 esac
20918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20919 (eval "$ac_compile") 2>conftest.er1
20920 ac_status=$?
20921 grep -v '^ *+' conftest.er1 >conftest.err
20922 rm -f conftest.er1
20923 cat conftest.err >&5
20924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20925 (exit $ac_status); } && {
20926 test -z "$ac_c_werror_flag" ||
20927 test ! -s conftest.err
20928 } && test -s conftest.$ac_objext; then
20929 ac_hi=$ac_mid; break
20930 else
20931 echo "$as_me: failed program was:" >&5
20932 sed 's/^/| /' conftest.$ac_ext >&5
20933
20934 ac_lo=`expr $ac_mid + 1`
20935 if test $ac_lo -le $ac_mid; then
20936 ac_lo= ac_hi=
20937 break
20938 fi
20939 ac_mid=`expr 2 '*' $ac_mid + 1`
20940 fi
20941
20942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20943 done
20944 else
20945 echo "$as_me: failed program was:" >&5
20946 sed 's/^/| /' conftest.$ac_ext >&5
20947
20948 cat >conftest.$ac_ext <<_ACEOF
20949 /* confdefs.h. */
20950 _ACEOF
20951 cat confdefs.h >>conftest.$ac_ext
20952 cat >>conftest.$ac_ext <<_ACEOF
20953 /* end confdefs.h. */
20954 $ac_includes_default
20955 typedef long ac__type_sizeof_;
20956 int
20957 main ()
20958 {
20959 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20960 test_array [0] = 0
20961
20962 ;
20963 return 0;
20964 }
20965 _ACEOF
20966 rm -f conftest.$ac_objext
20967 if { (ac_try="$ac_compile"
20968 case "(($ac_try" in
20969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20970 *) ac_try_echo=$ac_try;;
20971 esac
20972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20973 (eval "$ac_compile") 2>conftest.er1
20974 ac_status=$?
20975 grep -v '^ *+' conftest.er1 >conftest.err
20976 rm -f conftest.er1
20977 cat conftest.err >&5
20978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20979 (exit $ac_status); } && {
20980 test -z "$ac_c_werror_flag" ||
20981 test ! -s conftest.err
20982 } && test -s conftest.$ac_objext; then
20983 ac_hi=-1 ac_mid=-1
20984 while :; do
20985 cat >conftest.$ac_ext <<_ACEOF
20986 /* confdefs.h. */
20987 _ACEOF
20988 cat confdefs.h >>conftest.$ac_ext
20989 cat >>conftest.$ac_ext <<_ACEOF
20990 /* end confdefs.h. */
20991 $ac_includes_default
20992 typedef long ac__type_sizeof_;
20993 int
20994 main ()
20995 {
20996 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20997 test_array [0] = 0
20998
20999 ;
21000 return 0;
21001 }
21002 _ACEOF
21003 rm -f conftest.$ac_objext
21004 if { (ac_try="$ac_compile"
21005 case "(($ac_try" in
21006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21007 *) ac_try_echo=$ac_try;;
21008 esac
21009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21010 (eval "$ac_compile") 2>conftest.er1
21011 ac_status=$?
21012 grep -v '^ *+' conftest.er1 >conftest.err
21013 rm -f conftest.er1
21014 cat conftest.err >&5
21015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21016 (exit $ac_status); } && {
21017 test -z "$ac_c_werror_flag" ||
21018 test ! -s conftest.err
21019 } && test -s conftest.$ac_objext; then
21020 ac_lo=$ac_mid; break
21021 else
21022 echo "$as_me: failed program was:" >&5
21023 sed 's/^/| /' conftest.$ac_ext >&5
21024
21025 ac_hi=`expr '(' $ac_mid ')' - 1`
21026 if test $ac_mid -le $ac_hi; then
21027 ac_lo= ac_hi=
21028 break
21029 fi
21030 ac_mid=`expr 2 '*' $ac_mid`
21031 fi
21032
21033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21034 done
21035 else
21036 echo "$as_me: failed program was:" >&5
21037 sed 's/^/| /' conftest.$ac_ext >&5
21038
21039 ac_lo= ac_hi=
21040 fi
21041
21042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21043 fi
21044
21045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21046 # Binary search between lo and hi bounds.
21047 while test "x$ac_lo" != "x$ac_hi"; do
21048 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21049 cat >conftest.$ac_ext <<_ACEOF
21050 /* confdefs.h. */
21051 _ACEOF
21052 cat confdefs.h >>conftest.$ac_ext
21053 cat >>conftest.$ac_ext <<_ACEOF
21054 /* end confdefs.h. */
21055 $ac_includes_default
21056 typedef long ac__type_sizeof_;
21057 int
21058 main ()
21059 {
21060 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21061 test_array [0] = 0
21062
21063 ;
21064 return 0;
21065 }
21066 _ACEOF
21067 rm -f conftest.$ac_objext
21068 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
21075 ac_status=$?
21076 grep -v '^ *+' conftest.er1 >conftest.err
21077 rm -f conftest.er1
21078 cat conftest.err >&5
21079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21080 (exit $ac_status); } && {
21081 test -z "$ac_c_werror_flag" ||
21082 test ! -s conftest.err
21083 } && test -s conftest.$ac_objext; then
21084 ac_hi=$ac_mid
21085 else
21086 echo "$as_me: failed program was:" >&5
21087 sed 's/^/| /' conftest.$ac_ext >&5
21088
21089 ac_lo=`expr '(' $ac_mid ')' + 1`
21090 fi
21091
21092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21093 done
21094 case $ac_lo in
21095 ?*) ac_cv_sizeof_long=$ac_lo;;
21096 '') if test "$ac_cv_type_long" = yes; then
21097 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21098 See \`config.log' for more details." >&5
21099 echo "$as_me: error: cannot compute sizeof (long)
21100 See \`config.log' for more details." >&2;}
21101 { (exit 77); exit 77; }; }
21102 else
21103 ac_cv_sizeof_long=0
21104 fi ;;
21105 esac
21106 else
21107 cat >conftest.$ac_ext <<_ACEOF
21108 /* confdefs.h. */
21109 _ACEOF
21110 cat confdefs.h >>conftest.$ac_ext
21111 cat >>conftest.$ac_ext <<_ACEOF
21112 /* end confdefs.h. */
21113 $ac_includes_default
21114 typedef long ac__type_sizeof_;
21115 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21116 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21117 #include <stdio.h>
21118 #include <stdlib.h>
21119 int
21120 main ()
21121 {
21122
21123 FILE *f = fopen ("conftest.val", "w");
21124 if (! f)
21125 return 1;
21126 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21127 {
21128 long int i = longval ();
21129 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21130 return 1;
21131 fprintf (f, "%ld\n", i);
21132 }
21133 else
21134 {
21135 unsigned long int i = ulongval ();
21136 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21137 return 1;
21138 fprintf (f, "%lu\n", i);
21139 }
21140 return ferror (f) || fclose (f) != 0;
21141
21142 ;
21143 return 0;
21144 }
21145 _ACEOF
21146 rm -f conftest$ac_exeext
21147 if { (ac_try="$ac_link"
21148 case "(($ac_try" in
21149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21150 *) ac_try_echo=$ac_try;;
21151 esac
21152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21153 (eval "$ac_link") 2>&5
21154 ac_status=$?
21155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21156 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21157 { (case "(($ac_try" in
21158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21159 *) ac_try_echo=$ac_try;;
21160 esac
21161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21162 (eval "$ac_try") 2>&5
21163 ac_status=$?
21164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21165 (exit $ac_status); }; }; then
21166 ac_cv_sizeof_long=`cat conftest.val`
21167 else
21168 echo "$as_me: program exited with status $ac_status" >&5
21169 echo "$as_me: failed program was:" >&5
21170 sed 's/^/| /' conftest.$ac_ext >&5
21171
21172 ( exit $ac_status )
21173 if test "$ac_cv_type_long" = yes; then
21174 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21175 See \`config.log' for more details." >&5
21176 echo "$as_me: error: cannot compute sizeof (long)
21177 See \`config.log' for more details." >&2;}
21178 { (exit 77); exit 77; }; }
21179 else
21180 ac_cv_sizeof_long=0
21181 fi
21182 fi
21183 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21184 fi
21185 rm -f conftest.val
21186 fi
21187 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21188 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21189
21190
21191
21192 cat >>confdefs.h <<_ACEOF
21193 #define SIZEOF_LONG $ac_cv_sizeof_long
21194 _ACEOF
21195
21196
21197 { echo "$as_me:$LINENO: checking for size_t" >&5
21198 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21199 if test "${ac_cv_type_size_t+set}" = set; then
21200 echo $ECHO_N "(cached) $ECHO_C" >&6
21201 else
21202 cat >conftest.$ac_ext <<_ACEOF
21203 /* confdefs.h. */
21204 _ACEOF
21205 cat confdefs.h >>conftest.$ac_ext
21206 cat >>conftest.$ac_ext <<_ACEOF
21207 /* end confdefs.h. */
21208 $ac_includes_default
21209 typedef size_t ac__type_new_;
21210 int
21211 main ()
21212 {
21213 if ((ac__type_new_ *) 0)
21214 return 0;
21215 if (sizeof (ac__type_new_))
21216 return 0;
21217 ;
21218 return 0;
21219 }
21220 _ACEOF
21221 rm -f conftest.$ac_objext
21222 if { (ac_try="$ac_compile"
21223 case "(($ac_try" in
21224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21225 *) ac_try_echo=$ac_try;;
21226 esac
21227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21228 (eval "$ac_compile") 2>conftest.er1
21229 ac_status=$?
21230 grep -v '^ *+' conftest.er1 >conftest.err
21231 rm -f conftest.er1
21232 cat conftest.err >&5
21233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21234 (exit $ac_status); } && {
21235 test -z "$ac_c_werror_flag" ||
21236 test ! -s conftest.err
21237 } && test -s conftest.$ac_objext; then
21238 ac_cv_type_size_t=yes
21239 else
21240 echo "$as_me: failed program was:" >&5
21241 sed 's/^/| /' conftest.$ac_ext >&5
21242
21243 ac_cv_type_size_t=no
21244 fi
21245
21246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21247 fi
21248 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21249 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21250
21251 # The cast to long int works around a bug in the HP C Compiler
21252 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21253 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21254 # This bug is HP SR number 8606223364.
21255 { echo "$as_me:$LINENO: checking size of size_t" >&5
21256 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21257 if test "${ac_cv_sizeof_size_t+set}" = set; then
21258 echo $ECHO_N "(cached) $ECHO_C" >&6
21259 else
21260 if test "$cross_compiling" = yes; then
21261 # Depending upon the size, compute the lo and hi bounds.
21262 cat >conftest.$ac_ext <<_ACEOF
21263 /* confdefs.h. */
21264 _ACEOF
21265 cat confdefs.h >>conftest.$ac_ext
21266 cat >>conftest.$ac_ext <<_ACEOF
21267 /* end confdefs.h. */
21268 $ac_includes_default
21269 typedef size_t ac__type_sizeof_;
21270 int
21271 main ()
21272 {
21273 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21274 test_array [0] = 0
21275
21276 ;
21277 return 0;
21278 }
21279 _ACEOF
21280 rm -f conftest.$ac_objext
21281 if { (ac_try="$ac_compile"
21282 case "(($ac_try" in
21283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21284 *) ac_try_echo=$ac_try;;
21285 esac
21286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21287 (eval "$ac_compile") 2>conftest.er1
21288 ac_status=$?
21289 grep -v '^ *+' conftest.er1 >conftest.err
21290 rm -f conftest.er1
21291 cat conftest.err >&5
21292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21293 (exit $ac_status); } && {
21294 test -z "$ac_c_werror_flag" ||
21295 test ! -s conftest.err
21296 } && test -s conftest.$ac_objext; then
21297 ac_lo=0 ac_mid=0
21298 while :; do
21299 cat >conftest.$ac_ext <<_ACEOF
21300 /* confdefs.h. */
21301 _ACEOF
21302 cat confdefs.h >>conftest.$ac_ext
21303 cat >>conftest.$ac_ext <<_ACEOF
21304 /* end confdefs.h. */
21305 $ac_includes_default
21306 typedef size_t ac__type_sizeof_;
21307 int
21308 main ()
21309 {
21310 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21311 test_array [0] = 0
21312
21313 ;
21314 return 0;
21315 }
21316 _ACEOF
21317 rm -f conftest.$ac_objext
21318 if { (ac_try="$ac_compile"
21319 case "(($ac_try" in
21320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21321 *) ac_try_echo=$ac_try;;
21322 esac
21323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21324 (eval "$ac_compile") 2>conftest.er1
21325 ac_status=$?
21326 grep -v '^ *+' conftest.er1 >conftest.err
21327 rm -f conftest.er1
21328 cat conftest.err >&5
21329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21330 (exit $ac_status); } && {
21331 test -z "$ac_c_werror_flag" ||
21332 test ! -s conftest.err
21333 } && test -s conftest.$ac_objext; then
21334 ac_hi=$ac_mid; break
21335 else
21336 echo "$as_me: failed program was:" >&5
21337 sed 's/^/| /' conftest.$ac_ext >&5
21338
21339 ac_lo=`expr $ac_mid + 1`
21340 if test $ac_lo -le $ac_mid; then
21341 ac_lo= ac_hi=
21342 break
21343 fi
21344 ac_mid=`expr 2 '*' $ac_mid + 1`
21345 fi
21346
21347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21348 done
21349 else
21350 echo "$as_me: failed program was:" >&5
21351 sed 's/^/| /' conftest.$ac_ext >&5
21352
21353 cat >conftest.$ac_ext <<_ACEOF
21354 /* confdefs.h. */
21355 _ACEOF
21356 cat confdefs.h >>conftest.$ac_ext
21357 cat >>conftest.$ac_ext <<_ACEOF
21358 /* end confdefs.h. */
21359 $ac_includes_default
21360 typedef size_t ac__type_sizeof_;
21361 int
21362 main ()
21363 {
21364 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21365 test_array [0] = 0
21366
21367 ;
21368 return 0;
21369 }
21370 _ACEOF
21371 rm -f conftest.$ac_objext
21372 if { (ac_try="$ac_compile"
21373 case "(($ac_try" in
21374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21375 *) ac_try_echo=$ac_try;;
21376 esac
21377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21378 (eval "$ac_compile") 2>conftest.er1
21379 ac_status=$?
21380 grep -v '^ *+' conftest.er1 >conftest.err
21381 rm -f conftest.er1
21382 cat conftest.err >&5
21383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21384 (exit $ac_status); } && {
21385 test -z "$ac_c_werror_flag" ||
21386 test ! -s conftest.err
21387 } && test -s conftest.$ac_objext; then
21388 ac_hi=-1 ac_mid=-1
21389 while :; do
21390 cat >conftest.$ac_ext <<_ACEOF
21391 /* confdefs.h. */
21392 _ACEOF
21393 cat confdefs.h >>conftest.$ac_ext
21394 cat >>conftest.$ac_ext <<_ACEOF
21395 /* end confdefs.h. */
21396 $ac_includes_default
21397 typedef size_t ac__type_sizeof_;
21398 int
21399 main ()
21400 {
21401 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21402 test_array [0] = 0
21403
21404 ;
21405 return 0;
21406 }
21407 _ACEOF
21408 rm -f conftest.$ac_objext
21409 if { (ac_try="$ac_compile"
21410 case "(($ac_try" in
21411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21412 *) ac_try_echo=$ac_try;;
21413 esac
21414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21415 (eval "$ac_compile") 2>conftest.er1
21416 ac_status=$?
21417 grep -v '^ *+' conftest.er1 >conftest.err
21418 rm -f conftest.er1
21419 cat conftest.err >&5
21420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21421 (exit $ac_status); } && {
21422 test -z "$ac_c_werror_flag" ||
21423 test ! -s conftest.err
21424 } && test -s conftest.$ac_objext; then
21425 ac_lo=$ac_mid; break
21426 else
21427 echo "$as_me: failed program was:" >&5
21428 sed 's/^/| /' conftest.$ac_ext >&5
21429
21430 ac_hi=`expr '(' $ac_mid ')' - 1`
21431 if test $ac_mid -le $ac_hi; then
21432 ac_lo= ac_hi=
21433 break
21434 fi
21435 ac_mid=`expr 2 '*' $ac_mid`
21436 fi
21437
21438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21439 done
21440 else
21441 echo "$as_me: failed program was:" >&5
21442 sed 's/^/| /' conftest.$ac_ext >&5
21443
21444 ac_lo= ac_hi=
21445 fi
21446
21447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21448 fi
21449
21450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21451 # Binary search between lo and hi bounds.
21452 while test "x$ac_lo" != "x$ac_hi"; do
21453 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21454 cat >conftest.$ac_ext <<_ACEOF
21455 /* confdefs.h. */
21456 _ACEOF
21457 cat confdefs.h >>conftest.$ac_ext
21458 cat >>conftest.$ac_ext <<_ACEOF
21459 /* end confdefs.h. */
21460 $ac_includes_default
21461 typedef size_t ac__type_sizeof_;
21462 int
21463 main ()
21464 {
21465 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21466 test_array [0] = 0
21467
21468 ;
21469 return 0;
21470 }
21471 _ACEOF
21472 rm -f conftest.$ac_objext
21473 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
21480 ac_status=$?
21481 grep -v '^ *+' conftest.er1 >conftest.err
21482 rm -f conftest.er1
21483 cat conftest.err >&5
21484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21485 (exit $ac_status); } && {
21486 test -z "$ac_c_werror_flag" ||
21487 test ! -s conftest.err
21488 } && test -s conftest.$ac_objext; then
21489 ac_hi=$ac_mid
21490 else
21491 echo "$as_me: failed program was:" >&5
21492 sed 's/^/| /' conftest.$ac_ext >&5
21493
21494 ac_lo=`expr '(' $ac_mid ')' + 1`
21495 fi
21496
21497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21498 done
21499 case $ac_lo in
21500 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21501 '') if test "$ac_cv_type_size_t" = yes; then
21502 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21503 See \`config.log' for more details." >&5
21504 echo "$as_me: error: cannot compute sizeof (size_t)
21505 See \`config.log' for more details." >&2;}
21506 { (exit 77); exit 77; }; }
21507 else
21508 ac_cv_sizeof_size_t=0
21509 fi ;;
21510 esac
21511 else
21512 cat >conftest.$ac_ext <<_ACEOF
21513 /* confdefs.h. */
21514 _ACEOF
21515 cat confdefs.h >>conftest.$ac_ext
21516 cat >>conftest.$ac_ext <<_ACEOF
21517 /* end confdefs.h. */
21518 $ac_includes_default
21519 typedef size_t ac__type_sizeof_;
21520 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21521 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21522 #include <stdio.h>
21523 #include <stdlib.h>
21524 int
21525 main ()
21526 {
21527
21528 FILE *f = fopen ("conftest.val", "w");
21529 if (! f)
21530 return 1;
21531 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21532 {
21533 long int i = longval ();
21534 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21535 return 1;
21536 fprintf (f, "%ld\n", i);
21537 }
21538 else
21539 {
21540 unsigned long int i = ulongval ();
21541 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21542 return 1;
21543 fprintf (f, "%lu\n", i);
21544 }
21545 return ferror (f) || fclose (f) != 0;
21546
21547 ;
21548 return 0;
21549 }
21550 _ACEOF
21551 rm -f conftest$ac_exeext
21552 if { (ac_try="$ac_link"
21553 case "(($ac_try" in
21554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21555 *) ac_try_echo=$ac_try;;
21556 esac
21557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21558 (eval "$ac_link") 2>&5
21559 ac_status=$?
21560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21561 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21562 { (case "(($ac_try" in
21563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21564 *) ac_try_echo=$ac_try;;
21565 esac
21566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21567 (eval "$ac_try") 2>&5
21568 ac_status=$?
21569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21570 (exit $ac_status); }; }; then
21571 ac_cv_sizeof_size_t=`cat conftest.val`
21572 else
21573 echo "$as_me: program exited with status $ac_status" >&5
21574 echo "$as_me: failed program was:" >&5
21575 sed 's/^/| /' conftest.$ac_ext >&5
21576
21577 ( exit $ac_status )
21578 if test "$ac_cv_type_size_t" = yes; then
21579 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21580 See \`config.log' for more details." >&5
21581 echo "$as_me: error: cannot compute sizeof (size_t)
21582 See \`config.log' for more details." >&2;}
21583 { (exit 77); exit 77; }; }
21584 else
21585 ac_cv_sizeof_size_t=0
21586 fi
21587 fi
21588 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21589 fi
21590 rm -f conftest.val
21591 fi
21592 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21593 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21594
21595
21596
21597 cat >>confdefs.h <<_ACEOF
21598 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21599 _ACEOF
21600
21601
21602
21603 case "${host}" in
21604 arm-*-linux* )
21605 { echo "$as_me:$LINENO: checking for long long" >&5
21606 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21607 if test "${ac_cv_type_long_long+set}" = set; then
21608 echo $ECHO_N "(cached) $ECHO_C" >&6
21609 else
21610 cat >conftest.$ac_ext <<_ACEOF
21611 /* confdefs.h. */
21612 _ACEOF
21613 cat confdefs.h >>conftest.$ac_ext
21614 cat >>conftest.$ac_ext <<_ACEOF
21615 /* end confdefs.h. */
21616 $ac_includes_default
21617 typedef long long ac__type_new_;
21618 int
21619 main ()
21620 {
21621 if ((ac__type_new_ *) 0)
21622 return 0;
21623 if (sizeof (ac__type_new_))
21624 return 0;
21625 ;
21626 return 0;
21627 }
21628 _ACEOF
21629 rm -f conftest.$ac_objext
21630 if { (ac_try="$ac_compile"
21631 case "(($ac_try" in
21632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21633 *) ac_try_echo=$ac_try;;
21634 esac
21635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21636 (eval "$ac_compile") 2>conftest.er1
21637 ac_status=$?
21638 grep -v '^ *+' conftest.er1 >conftest.err
21639 rm -f conftest.er1
21640 cat conftest.err >&5
21641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21642 (exit $ac_status); } && {
21643 test -z "$ac_c_werror_flag" ||
21644 test ! -s conftest.err
21645 } && test -s conftest.$ac_objext; then
21646 ac_cv_type_long_long=yes
21647 else
21648 echo "$as_me: failed program was:" >&5
21649 sed 's/^/| /' conftest.$ac_ext >&5
21650
21651 ac_cv_type_long_long=no
21652 fi
21653
21654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21655 fi
21656 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21657 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21658
21659 # The cast to long int works around a bug in the HP C Compiler
21660 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21661 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21662 # This bug is HP SR number 8606223364.
21663 { echo "$as_me:$LINENO: checking size of long long" >&5
21664 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21665 if test "${ac_cv_sizeof_long_long+set}" = set; then
21666 echo $ECHO_N "(cached) $ECHO_C" >&6
21667 else
21668 if test "$cross_compiling" = yes; then
21669 # Depending upon the size, compute the lo and hi bounds.
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 long long 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_lo=0 ac_mid=0
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 long long 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_hi=$ac_mid; break
21743 else
21744 echo "$as_me: failed program was:" >&5
21745 sed 's/^/| /' conftest.$ac_ext >&5
21746
21747 ac_lo=`expr $ac_mid + 1`
21748 if test $ac_lo -le $ac_mid; then
21749 ac_lo= ac_hi=
21750 break
21751 fi
21752 ac_mid=`expr 2 '*' $ac_mid + 1`
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 cat >conftest.$ac_ext <<_ACEOF
21762 /* confdefs.h. */
21763 _ACEOF
21764 cat confdefs.h >>conftest.$ac_ext
21765 cat >>conftest.$ac_ext <<_ACEOF
21766 /* end confdefs.h. */
21767 $ac_includes_default
21768 typedef long long ac__type_sizeof_;
21769 int
21770 main ()
21771 {
21772 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21773 test_array [0] = 0
21774
21775 ;
21776 return 0;
21777 }
21778 _ACEOF
21779 rm -f conftest.$ac_objext
21780 if { (ac_try="$ac_compile"
21781 case "(($ac_try" in
21782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21783 *) ac_try_echo=$ac_try;;
21784 esac
21785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21786 (eval "$ac_compile") 2>conftest.er1
21787 ac_status=$?
21788 grep -v '^ *+' conftest.er1 >conftest.err
21789 rm -f conftest.er1
21790 cat conftest.err >&5
21791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21792 (exit $ac_status); } && {
21793 test -z "$ac_c_werror_flag" ||
21794 test ! -s conftest.err
21795 } && test -s conftest.$ac_objext; then
21796 ac_hi=-1 ac_mid=-1
21797 while :; do
21798 cat >conftest.$ac_ext <<_ACEOF
21799 /* confdefs.h. */
21800 _ACEOF
21801 cat confdefs.h >>conftest.$ac_ext
21802 cat >>conftest.$ac_ext <<_ACEOF
21803 /* end confdefs.h. */
21804 $ac_includes_default
21805 typedef long long ac__type_sizeof_;
21806 int
21807 main ()
21808 {
21809 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21810 test_array [0] = 0
21811
21812 ;
21813 return 0;
21814 }
21815 _ACEOF
21816 rm -f conftest.$ac_objext
21817 if { (ac_try="$ac_compile"
21818 case "(($ac_try" in
21819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21820 *) ac_try_echo=$ac_try;;
21821 esac
21822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21823 (eval "$ac_compile") 2>conftest.er1
21824 ac_status=$?
21825 grep -v '^ *+' conftest.er1 >conftest.err
21826 rm -f conftest.er1
21827 cat conftest.err >&5
21828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21829 (exit $ac_status); } && {
21830 test -z "$ac_c_werror_flag" ||
21831 test ! -s conftest.err
21832 } && test -s conftest.$ac_objext; then
21833 ac_lo=$ac_mid; break
21834 else
21835 echo "$as_me: failed program was:" >&5
21836 sed 's/^/| /' conftest.$ac_ext >&5
21837
21838 ac_hi=`expr '(' $ac_mid ')' - 1`
21839 if test $ac_mid -le $ac_hi; then
21840 ac_lo= ac_hi=
21841 break
21842 fi
21843 ac_mid=`expr 2 '*' $ac_mid`
21844 fi
21845
21846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21847 done
21848 else
21849 echo "$as_me: failed program was:" >&5
21850 sed 's/^/| /' conftest.$ac_ext >&5
21851
21852 ac_lo= ac_hi=
21853 fi
21854
21855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21856 fi
21857
21858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21859 # Binary search between lo and hi bounds.
21860 while test "x$ac_lo" != "x$ac_hi"; do
21861 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21862 cat >conftest.$ac_ext <<_ACEOF
21863 /* confdefs.h. */
21864 _ACEOF
21865 cat confdefs.h >>conftest.$ac_ext
21866 cat >>conftest.$ac_ext <<_ACEOF
21867 /* end confdefs.h. */
21868 $ac_includes_default
21869 typedef long long ac__type_sizeof_;
21870 int
21871 main ()
21872 {
21873 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21874 test_array [0] = 0
21875
21876 ;
21877 return 0;
21878 }
21879 _ACEOF
21880 rm -f conftest.$ac_objext
21881 if { (ac_try="$ac_compile"
21882 case "(($ac_try" in
21883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21884 *) ac_try_echo=$ac_try;;
21885 esac
21886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21887 (eval "$ac_compile") 2>conftest.er1
21888 ac_status=$?
21889 grep -v '^ *+' conftest.er1 >conftest.err
21890 rm -f conftest.er1
21891 cat conftest.err >&5
21892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21893 (exit $ac_status); } && {
21894 test -z "$ac_c_werror_flag" ||
21895 test ! -s conftest.err
21896 } && test -s conftest.$ac_objext; then
21897 ac_hi=$ac_mid
21898 else
21899 echo "$as_me: failed program was:" >&5
21900 sed 's/^/| /' conftest.$ac_ext >&5
21901
21902 ac_lo=`expr '(' $ac_mid ')' + 1`
21903 fi
21904
21905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21906 done
21907 case $ac_lo in
21908 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21909 '') if test "$ac_cv_type_long_long" = yes; then
21910 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21911 See \`config.log' for more details." >&5
21912 echo "$as_me: error: cannot compute sizeof (long long)
21913 See \`config.log' for more details." >&2;}
21914 { (exit 77); exit 77; }; }
21915 else
21916 ac_cv_sizeof_long_long=0
21917 fi ;;
21918 esac
21919 else
21920 cat >conftest.$ac_ext <<_ACEOF
21921 /* confdefs.h. */
21922 _ACEOF
21923 cat confdefs.h >>conftest.$ac_ext
21924 cat >>conftest.$ac_ext <<_ACEOF
21925 /* end confdefs.h. */
21926 $ac_includes_default
21927 typedef long long ac__type_sizeof_;
21928 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21929 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21930 #include <stdio.h>
21931 #include <stdlib.h>
21932 int
21933 main ()
21934 {
21935
21936 FILE *f = fopen ("conftest.val", "w");
21937 if (! f)
21938 return 1;
21939 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21940 {
21941 long int i = longval ();
21942 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21943 return 1;
21944 fprintf (f, "%ld\n", i);
21945 }
21946 else
21947 {
21948 unsigned long int i = ulongval ();
21949 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21950 return 1;
21951 fprintf (f, "%lu\n", i);
21952 }
21953 return ferror (f) || fclose (f) != 0;
21954
21955 ;
21956 return 0;
21957 }
21958 _ACEOF
21959 rm -f conftest$ac_exeext
21960 if { (ac_try="$ac_link"
21961 case "(($ac_try" in
21962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21963 *) ac_try_echo=$ac_try;;
21964 esac
21965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21966 (eval "$ac_link") 2>&5
21967 ac_status=$?
21968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21969 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21970 { (case "(($ac_try" in
21971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21972 *) ac_try_echo=$ac_try;;
21973 esac
21974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21975 (eval "$ac_try") 2>&5
21976 ac_status=$?
21977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21978 (exit $ac_status); }; }; then
21979 ac_cv_sizeof_long_long=`cat conftest.val`
21980 else
21981 echo "$as_me: program exited with status $ac_status" >&5
21982 echo "$as_me: failed program was:" >&5
21983 sed 's/^/| /' conftest.$ac_ext >&5
21984
21985 ( exit $ac_status )
21986 if test "$ac_cv_type_long_long" = yes; then
21987 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21988 See \`config.log' for more details." >&5
21989 echo "$as_me: error: cannot compute sizeof (long long)
21990 See \`config.log' for more details." >&2;}
21991 { (exit 77); exit 77; }; }
21992 else
21993 ac_cv_sizeof_long_long=0
21994 fi
21995 fi
21996 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21997 fi
21998 rm -f conftest.val
21999 fi
22000 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22001 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22002
22003
22004
22005 cat >>confdefs.h <<_ACEOF
22006 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22007 _ACEOF
22008
22009
22010 ;;
22011 *-hp-hpux* )
22012 { echo "$as_me:$LINENO: checking for long long" >&5
22013 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22014 if test "${ac_cv_type_long_long+set}" = set; then
22015 echo $ECHO_N "(cached) $ECHO_C" >&6
22016 else
22017 cat >conftest.$ac_ext <<_ACEOF
22018 /* confdefs.h. */
22019 _ACEOF
22020 cat confdefs.h >>conftest.$ac_ext
22021 cat >>conftest.$ac_ext <<_ACEOF
22022 /* end confdefs.h. */
22023 $ac_includes_default
22024 typedef long long ac__type_new_;
22025 int
22026 main ()
22027 {
22028 if ((ac__type_new_ *) 0)
22029 return 0;
22030 if (sizeof (ac__type_new_))
22031 return 0;
22032 ;
22033 return 0;
22034 }
22035 _ACEOF
22036 rm -f conftest.$ac_objext
22037 if { (ac_try="$ac_compile"
22038 case "(($ac_try" in
22039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22040 *) ac_try_echo=$ac_try;;
22041 esac
22042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22043 (eval "$ac_compile") 2>conftest.er1
22044 ac_status=$?
22045 grep -v '^ *+' conftest.er1 >conftest.err
22046 rm -f conftest.er1
22047 cat conftest.err >&5
22048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22049 (exit $ac_status); } && {
22050 test -z "$ac_c_werror_flag" ||
22051 test ! -s conftest.err
22052 } && test -s conftest.$ac_objext; then
22053 ac_cv_type_long_long=yes
22054 else
22055 echo "$as_me: failed program was:" >&5
22056 sed 's/^/| /' conftest.$ac_ext >&5
22057
22058 ac_cv_type_long_long=no
22059 fi
22060
22061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22062 fi
22063 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22064 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22065
22066 # The cast to long int works around a bug in the HP C Compiler
22067 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22068 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22069 # This bug is HP SR number 8606223364.
22070 { echo "$as_me:$LINENO: checking size of long long" >&5
22071 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22072 if test "${ac_cv_sizeof_long_long+set}" = set; then
22073 echo $ECHO_N "(cached) $ECHO_C" >&6
22074 else
22075 if test "$cross_compiling" = yes; then
22076 # Depending upon the size, compute the lo and hi bounds.
22077 cat >conftest.$ac_ext <<_ACEOF
22078 /* confdefs.h. */
22079 _ACEOF
22080 cat confdefs.h >>conftest.$ac_ext
22081 cat >>conftest.$ac_ext <<_ACEOF
22082 /* end confdefs.h. */
22083 $ac_includes_default
22084 typedef long long ac__type_sizeof_;
22085 int
22086 main ()
22087 {
22088 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22089 test_array [0] = 0
22090
22091 ;
22092 return 0;
22093 }
22094 _ACEOF
22095 rm -f conftest.$ac_objext
22096 if { (ac_try="$ac_compile"
22097 case "(($ac_try" in
22098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22099 *) ac_try_echo=$ac_try;;
22100 esac
22101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22102 (eval "$ac_compile") 2>conftest.er1
22103 ac_status=$?
22104 grep -v '^ *+' conftest.er1 >conftest.err
22105 rm -f conftest.er1
22106 cat conftest.err >&5
22107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22108 (exit $ac_status); } && {
22109 test -z "$ac_c_werror_flag" ||
22110 test ! -s conftest.err
22111 } && test -s conftest.$ac_objext; then
22112 ac_lo=0 ac_mid=0
22113 while :; do
22114 cat >conftest.$ac_ext <<_ACEOF
22115 /* confdefs.h. */
22116 _ACEOF
22117 cat confdefs.h >>conftest.$ac_ext
22118 cat >>conftest.$ac_ext <<_ACEOF
22119 /* end confdefs.h. */
22120 $ac_includes_default
22121 typedef long long ac__type_sizeof_;
22122 int
22123 main ()
22124 {
22125 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22126 test_array [0] = 0
22127
22128 ;
22129 return 0;
22130 }
22131 _ACEOF
22132 rm -f conftest.$ac_objext
22133 if { (ac_try="$ac_compile"
22134 case "(($ac_try" in
22135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22136 *) ac_try_echo=$ac_try;;
22137 esac
22138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22139 (eval "$ac_compile") 2>conftest.er1
22140 ac_status=$?
22141 grep -v '^ *+' conftest.er1 >conftest.err
22142 rm -f conftest.er1
22143 cat conftest.err >&5
22144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22145 (exit $ac_status); } && {
22146 test -z "$ac_c_werror_flag" ||
22147 test ! -s conftest.err
22148 } && test -s conftest.$ac_objext; then
22149 ac_hi=$ac_mid; break
22150 else
22151 echo "$as_me: failed program was:" >&5
22152 sed 's/^/| /' conftest.$ac_ext >&5
22153
22154 ac_lo=`expr $ac_mid + 1`
22155 if test $ac_lo -le $ac_mid; then
22156 ac_lo= ac_hi=
22157 break
22158 fi
22159 ac_mid=`expr 2 '*' $ac_mid + 1`
22160 fi
22161
22162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22163 done
22164 else
22165 echo "$as_me: failed program was:" >&5
22166 sed 's/^/| /' conftest.$ac_ext >&5
22167
22168 cat >conftest.$ac_ext <<_ACEOF
22169 /* confdefs.h. */
22170 _ACEOF
22171 cat confdefs.h >>conftest.$ac_ext
22172 cat >>conftest.$ac_ext <<_ACEOF
22173 /* end confdefs.h. */
22174 $ac_includes_default
22175 typedef long long ac__type_sizeof_;
22176 int
22177 main ()
22178 {
22179 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22180 test_array [0] = 0
22181
22182 ;
22183 return 0;
22184 }
22185 _ACEOF
22186 rm -f conftest.$ac_objext
22187 if { (ac_try="$ac_compile"
22188 case "(($ac_try" in
22189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22190 *) ac_try_echo=$ac_try;;
22191 esac
22192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22193 (eval "$ac_compile") 2>conftest.er1
22194 ac_status=$?
22195 grep -v '^ *+' conftest.er1 >conftest.err
22196 rm -f conftest.er1
22197 cat conftest.err >&5
22198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22199 (exit $ac_status); } && {
22200 test -z "$ac_c_werror_flag" ||
22201 test ! -s conftest.err
22202 } && test -s conftest.$ac_objext; then
22203 ac_hi=-1 ac_mid=-1
22204 while :; do
22205 cat >conftest.$ac_ext <<_ACEOF
22206 /* confdefs.h. */
22207 _ACEOF
22208 cat confdefs.h >>conftest.$ac_ext
22209 cat >>conftest.$ac_ext <<_ACEOF
22210 /* end confdefs.h. */
22211 $ac_includes_default
22212 typedef long long ac__type_sizeof_;
22213 int
22214 main ()
22215 {
22216 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22217 test_array [0] = 0
22218
22219 ;
22220 return 0;
22221 }
22222 _ACEOF
22223 rm -f conftest.$ac_objext
22224 if { (ac_try="$ac_compile"
22225 case "(($ac_try" in
22226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22227 *) ac_try_echo=$ac_try;;
22228 esac
22229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22230 (eval "$ac_compile") 2>conftest.er1
22231 ac_status=$?
22232 grep -v '^ *+' conftest.er1 >conftest.err
22233 rm -f conftest.er1
22234 cat conftest.err >&5
22235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22236 (exit $ac_status); } && {
22237 test -z "$ac_c_werror_flag" ||
22238 test ! -s conftest.err
22239 } && test -s conftest.$ac_objext; then
22240 ac_lo=$ac_mid; break
22241 else
22242 echo "$as_me: failed program was:" >&5
22243 sed 's/^/| /' conftest.$ac_ext >&5
22244
22245 ac_hi=`expr '(' $ac_mid ')' - 1`
22246 if test $ac_mid -le $ac_hi; then
22247 ac_lo= ac_hi=
22248 break
22249 fi
22250 ac_mid=`expr 2 '*' $ac_mid`
22251 fi
22252
22253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22254 done
22255 else
22256 echo "$as_me: failed program was:" >&5
22257 sed 's/^/| /' conftest.$ac_ext >&5
22258
22259 ac_lo= ac_hi=
22260 fi
22261
22262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22263 fi
22264
22265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22266 # Binary search between lo and hi bounds.
22267 while test "x$ac_lo" != "x$ac_hi"; do
22268 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22269 cat >conftest.$ac_ext <<_ACEOF
22270 /* confdefs.h. */
22271 _ACEOF
22272 cat confdefs.h >>conftest.$ac_ext
22273 cat >>conftest.$ac_ext <<_ACEOF
22274 /* end confdefs.h. */
22275 $ac_includes_default
22276 typedef long long ac__type_sizeof_;
22277 int
22278 main ()
22279 {
22280 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22281 test_array [0] = 0
22282
22283 ;
22284 return 0;
22285 }
22286 _ACEOF
22287 rm -f conftest.$ac_objext
22288 if { (ac_try="$ac_compile"
22289 case "(($ac_try" in
22290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22291 *) ac_try_echo=$ac_try;;
22292 esac
22293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22294 (eval "$ac_compile") 2>conftest.er1
22295 ac_status=$?
22296 grep -v '^ *+' conftest.er1 >conftest.err
22297 rm -f conftest.er1
22298 cat conftest.err >&5
22299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22300 (exit $ac_status); } && {
22301 test -z "$ac_c_werror_flag" ||
22302 test ! -s conftest.err
22303 } && test -s conftest.$ac_objext; then
22304 ac_hi=$ac_mid
22305 else
22306 echo "$as_me: failed program was:" >&5
22307 sed 's/^/| /' conftest.$ac_ext >&5
22308
22309 ac_lo=`expr '(' $ac_mid ')' + 1`
22310 fi
22311
22312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22313 done
22314 case $ac_lo in
22315 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22316 '') if test "$ac_cv_type_long_long" = yes; then
22317 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22318 See \`config.log' for more details." >&5
22319 echo "$as_me: error: cannot compute sizeof (long long)
22320 See \`config.log' for more details." >&2;}
22321 { (exit 77); exit 77; }; }
22322 else
22323 ac_cv_sizeof_long_long=0
22324 fi ;;
22325 esac
22326 else
22327 cat >conftest.$ac_ext <<_ACEOF
22328 /* confdefs.h. */
22329 _ACEOF
22330 cat confdefs.h >>conftest.$ac_ext
22331 cat >>conftest.$ac_ext <<_ACEOF
22332 /* end confdefs.h. */
22333 $ac_includes_default
22334 typedef long long ac__type_sizeof_;
22335 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22336 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22337 #include <stdio.h>
22338 #include <stdlib.h>
22339 int
22340 main ()
22341 {
22342
22343 FILE *f = fopen ("conftest.val", "w");
22344 if (! f)
22345 return 1;
22346 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22347 {
22348 long int i = longval ();
22349 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22350 return 1;
22351 fprintf (f, "%ld\n", i);
22352 }
22353 else
22354 {
22355 unsigned long int i = ulongval ();
22356 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22357 return 1;
22358 fprintf (f, "%lu\n", i);
22359 }
22360 return ferror (f) || fclose (f) != 0;
22361
22362 ;
22363 return 0;
22364 }
22365 _ACEOF
22366 rm -f conftest$ac_exeext
22367 if { (ac_try="$ac_link"
22368 case "(($ac_try" in
22369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22370 *) ac_try_echo=$ac_try;;
22371 esac
22372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22373 (eval "$ac_link") 2>&5
22374 ac_status=$?
22375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22376 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22377 { (case "(($ac_try" in
22378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22379 *) ac_try_echo=$ac_try;;
22380 esac
22381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22382 (eval "$ac_try") 2>&5
22383 ac_status=$?
22384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22385 (exit $ac_status); }; }; then
22386 ac_cv_sizeof_long_long=`cat conftest.val`
22387 else
22388 echo "$as_me: program exited with status $ac_status" >&5
22389 echo "$as_me: failed program was:" >&5
22390 sed 's/^/| /' conftest.$ac_ext >&5
22391
22392 ( exit $ac_status )
22393 if test "$ac_cv_type_long_long" = yes; then
22394 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22395 See \`config.log' for more details." >&5
22396 echo "$as_me: error: cannot compute sizeof (long long)
22397 See \`config.log' for more details." >&2;}
22398 { (exit 77); exit 77; }; }
22399 else
22400 ac_cv_sizeof_long_long=0
22401 fi
22402 fi
22403 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22404 fi
22405 rm -f conftest.val
22406 fi
22407 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22408 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22409
22410
22411
22412 cat >>confdefs.h <<_ACEOF
22413 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22414 _ACEOF
22415
22416
22417 if test "$ac_cv_sizeof_long_long" != 0; then
22418 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22419 fi
22420 ;;
22421 * )
22422 { echo "$as_me:$LINENO: checking for long long" >&5
22423 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22424 if test "${ac_cv_type_long_long+set}" = set; then
22425 echo $ECHO_N "(cached) $ECHO_C" >&6
22426 else
22427 cat >conftest.$ac_ext <<_ACEOF
22428 /* confdefs.h. */
22429 _ACEOF
22430 cat confdefs.h >>conftest.$ac_ext
22431 cat >>conftest.$ac_ext <<_ACEOF
22432 /* end confdefs.h. */
22433 $ac_includes_default
22434 typedef long long ac__type_new_;
22435 int
22436 main ()
22437 {
22438 if ((ac__type_new_ *) 0)
22439 return 0;
22440 if (sizeof (ac__type_new_))
22441 return 0;
22442 ;
22443 return 0;
22444 }
22445 _ACEOF
22446 rm -f conftest.$ac_objext
22447 if { (ac_try="$ac_compile"
22448 case "(($ac_try" in
22449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22450 *) ac_try_echo=$ac_try;;
22451 esac
22452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22453 (eval "$ac_compile") 2>conftest.er1
22454 ac_status=$?
22455 grep -v '^ *+' conftest.er1 >conftest.err
22456 rm -f conftest.er1
22457 cat conftest.err >&5
22458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22459 (exit $ac_status); } && {
22460 test -z "$ac_c_werror_flag" ||
22461 test ! -s conftest.err
22462 } && test -s conftest.$ac_objext; then
22463 ac_cv_type_long_long=yes
22464 else
22465 echo "$as_me: failed program was:" >&5
22466 sed 's/^/| /' conftest.$ac_ext >&5
22467
22468 ac_cv_type_long_long=no
22469 fi
22470
22471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22472 fi
22473 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22474 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22475
22476 # The cast to long int works around a bug in the HP C Compiler
22477 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22478 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22479 # This bug is HP SR number 8606223364.
22480 { echo "$as_me:$LINENO: checking size of long long" >&5
22481 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22482 if test "${ac_cv_sizeof_long_long+set}" = set; then
22483 echo $ECHO_N "(cached) $ECHO_C" >&6
22484 else
22485 if test "$cross_compiling" = yes; then
22486 # Depending upon the size, compute the lo and hi bounds.
22487 cat >conftest.$ac_ext <<_ACEOF
22488 /* confdefs.h. */
22489 _ACEOF
22490 cat confdefs.h >>conftest.$ac_ext
22491 cat >>conftest.$ac_ext <<_ACEOF
22492 /* end confdefs.h. */
22493 $ac_includes_default
22494 typedef long long ac__type_sizeof_;
22495 int
22496 main ()
22497 {
22498 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22499 test_array [0] = 0
22500
22501 ;
22502 return 0;
22503 }
22504 _ACEOF
22505 rm -f conftest.$ac_objext
22506 if { (ac_try="$ac_compile"
22507 case "(($ac_try" in
22508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22509 *) ac_try_echo=$ac_try;;
22510 esac
22511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22512 (eval "$ac_compile") 2>conftest.er1
22513 ac_status=$?
22514 grep -v '^ *+' conftest.er1 >conftest.err
22515 rm -f conftest.er1
22516 cat conftest.err >&5
22517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22518 (exit $ac_status); } && {
22519 test -z "$ac_c_werror_flag" ||
22520 test ! -s conftest.err
22521 } && test -s conftest.$ac_objext; then
22522 ac_lo=0 ac_mid=0
22523 while :; do
22524 cat >conftest.$ac_ext <<_ACEOF
22525 /* confdefs.h. */
22526 _ACEOF
22527 cat confdefs.h >>conftest.$ac_ext
22528 cat >>conftest.$ac_ext <<_ACEOF
22529 /* end confdefs.h. */
22530 $ac_includes_default
22531 typedef long long ac__type_sizeof_;
22532 int
22533 main ()
22534 {
22535 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22536 test_array [0] = 0
22537
22538 ;
22539 return 0;
22540 }
22541 _ACEOF
22542 rm -f conftest.$ac_objext
22543 if { (ac_try="$ac_compile"
22544 case "(($ac_try" in
22545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22546 *) ac_try_echo=$ac_try;;
22547 esac
22548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22549 (eval "$ac_compile") 2>conftest.er1
22550 ac_status=$?
22551 grep -v '^ *+' conftest.er1 >conftest.err
22552 rm -f conftest.er1
22553 cat conftest.err >&5
22554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22555 (exit $ac_status); } && {
22556 test -z "$ac_c_werror_flag" ||
22557 test ! -s conftest.err
22558 } && test -s conftest.$ac_objext; then
22559 ac_hi=$ac_mid; break
22560 else
22561 echo "$as_me: failed program was:" >&5
22562 sed 's/^/| /' conftest.$ac_ext >&5
22563
22564 ac_lo=`expr $ac_mid + 1`
22565 if test $ac_lo -le $ac_mid; then
22566 ac_lo= ac_hi=
22567 break
22568 fi
22569 ac_mid=`expr 2 '*' $ac_mid + 1`
22570 fi
22571
22572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22573 done
22574 else
22575 echo "$as_me: failed program was:" >&5
22576 sed 's/^/| /' conftest.$ac_ext >&5
22577
22578 cat >conftest.$ac_ext <<_ACEOF
22579 /* confdefs.h. */
22580 _ACEOF
22581 cat confdefs.h >>conftest.$ac_ext
22582 cat >>conftest.$ac_ext <<_ACEOF
22583 /* end confdefs.h. */
22584 $ac_includes_default
22585 typedef long long ac__type_sizeof_;
22586 int
22587 main ()
22588 {
22589 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22590 test_array [0] = 0
22591
22592 ;
22593 return 0;
22594 }
22595 _ACEOF
22596 rm -f conftest.$ac_objext
22597 if { (ac_try="$ac_compile"
22598 case "(($ac_try" in
22599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22600 *) ac_try_echo=$ac_try;;
22601 esac
22602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22603 (eval "$ac_compile") 2>conftest.er1
22604 ac_status=$?
22605 grep -v '^ *+' conftest.er1 >conftest.err
22606 rm -f conftest.er1
22607 cat conftest.err >&5
22608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22609 (exit $ac_status); } && {
22610 test -z "$ac_c_werror_flag" ||
22611 test ! -s conftest.err
22612 } && test -s conftest.$ac_objext; then
22613 ac_hi=-1 ac_mid=-1
22614 while :; do
22615 cat >conftest.$ac_ext <<_ACEOF
22616 /* confdefs.h. */
22617 _ACEOF
22618 cat confdefs.h >>conftest.$ac_ext
22619 cat >>conftest.$ac_ext <<_ACEOF
22620 /* end confdefs.h. */
22621 $ac_includes_default
22622 typedef long long ac__type_sizeof_;
22623 int
22624 main ()
22625 {
22626 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22627 test_array [0] = 0
22628
22629 ;
22630 return 0;
22631 }
22632 _ACEOF
22633 rm -f conftest.$ac_objext
22634 if { (ac_try="$ac_compile"
22635 case "(($ac_try" in
22636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22637 *) ac_try_echo=$ac_try;;
22638 esac
22639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22640 (eval "$ac_compile") 2>conftest.er1
22641 ac_status=$?
22642 grep -v '^ *+' conftest.er1 >conftest.err
22643 rm -f conftest.er1
22644 cat conftest.err >&5
22645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22646 (exit $ac_status); } && {
22647 test -z "$ac_c_werror_flag" ||
22648 test ! -s conftest.err
22649 } && test -s conftest.$ac_objext; then
22650 ac_lo=$ac_mid; break
22651 else
22652 echo "$as_me: failed program was:" >&5
22653 sed 's/^/| /' conftest.$ac_ext >&5
22654
22655 ac_hi=`expr '(' $ac_mid ')' - 1`
22656 if test $ac_mid -le $ac_hi; then
22657 ac_lo= ac_hi=
22658 break
22659 fi
22660 ac_mid=`expr 2 '*' $ac_mid`
22661 fi
22662
22663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22664 done
22665 else
22666 echo "$as_me: failed program was:" >&5
22667 sed 's/^/| /' conftest.$ac_ext >&5
22668
22669 ac_lo= ac_hi=
22670 fi
22671
22672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22673 fi
22674
22675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22676 # Binary search between lo and hi bounds.
22677 while test "x$ac_lo" != "x$ac_hi"; do
22678 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22679 cat >conftest.$ac_ext <<_ACEOF
22680 /* confdefs.h. */
22681 _ACEOF
22682 cat confdefs.h >>conftest.$ac_ext
22683 cat >>conftest.$ac_ext <<_ACEOF
22684 /* end confdefs.h. */
22685 $ac_includes_default
22686 typedef long long ac__type_sizeof_;
22687 int
22688 main ()
22689 {
22690 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22691 test_array [0] = 0
22692
22693 ;
22694 return 0;
22695 }
22696 _ACEOF
22697 rm -f conftest.$ac_objext
22698 if { (ac_try="$ac_compile"
22699 case "(($ac_try" in
22700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22701 *) ac_try_echo=$ac_try;;
22702 esac
22703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22704 (eval "$ac_compile") 2>conftest.er1
22705 ac_status=$?
22706 grep -v '^ *+' conftest.er1 >conftest.err
22707 rm -f conftest.er1
22708 cat conftest.err >&5
22709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22710 (exit $ac_status); } && {
22711 test -z "$ac_c_werror_flag" ||
22712 test ! -s conftest.err
22713 } && test -s conftest.$ac_objext; then
22714 ac_hi=$ac_mid
22715 else
22716 echo "$as_me: failed program was:" >&5
22717 sed 's/^/| /' conftest.$ac_ext >&5
22718
22719 ac_lo=`expr '(' $ac_mid ')' + 1`
22720 fi
22721
22722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22723 done
22724 case $ac_lo in
22725 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22726 '') if test "$ac_cv_type_long_long" = yes; then
22727 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22728 See \`config.log' for more details." >&5
22729 echo "$as_me: error: cannot compute sizeof (long long)
22730 See \`config.log' for more details." >&2;}
22731 { (exit 77); exit 77; }; }
22732 else
22733 ac_cv_sizeof_long_long=0
22734 fi ;;
22735 esac
22736 else
22737 cat >conftest.$ac_ext <<_ACEOF
22738 /* confdefs.h. */
22739 _ACEOF
22740 cat confdefs.h >>conftest.$ac_ext
22741 cat >>conftest.$ac_ext <<_ACEOF
22742 /* end confdefs.h. */
22743 $ac_includes_default
22744 typedef long long ac__type_sizeof_;
22745 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22746 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22747 #include <stdio.h>
22748 #include <stdlib.h>
22749 int
22750 main ()
22751 {
22752
22753 FILE *f = fopen ("conftest.val", "w");
22754 if (! f)
22755 return 1;
22756 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22757 {
22758 long int i = longval ();
22759 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22760 return 1;
22761 fprintf (f, "%ld\n", i);
22762 }
22763 else
22764 {
22765 unsigned long int i = ulongval ();
22766 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22767 return 1;
22768 fprintf (f, "%lu\n", i);
22769 }
22770 return ferror (f) || fclose (f) != 0;
22771
22772 ;
22773 return 0;
22774 }
22775 _ACEOF
22776 rm -f conftest$ac_exeext
22777 if { (ac_try="$ac_link"
22778 case "(($ac_try" in
22779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22780 *) ac_try_echo=$ac_try;;
22781 esac
22782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22783 (eval "$ac_link") 2>&5
22784 ac_status=$?
22785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22786 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22787 { (case "(($ac_try" in
22788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22789 *) ac_try_echo=$ac_try;;
22790 esac
22791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22792 (eval "$ac_try") 2>&5
22793 ac_status=$?
22794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22795 (exit $ac_status); }; }; then
22796 ac_cv_sizeof_long_long=`cat conftest.val`
22797 else
22798 echo "$as_me: program exited with status $ac_status" >&5
22799 echo "$as_me: failed program was:" >&5
22800 sed 's/^/| /' conftest.$ac_ext >&5
22801
22802 ( exit $ac_status )
22803 if test "$ac_cv_type_long_long" = yes; then
22804 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22805 See \`config.log' for more details." >&5
22806 echo "$as_me: error: cannot compute sizeof (long long)
22807 See \`config.log' for more details." >&2;}
22808 { (exit 77); exit 77; }; }
22809 else
22810 ac_cv_sizeof_long_long=0
22811 fi
22812 fi
22813 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22814 fi
22815 rm -f conftest.val
22816 fi
22817 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22818 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22819
22820
22821
22822 cat >>confdefs.h <<_ACEOF
22823 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22824 _ACEOF
22825
22826
22827 esac
22828
22829 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22830 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22831 if test "${ac_cv_type_wchar_t+set}" = set; then
22832 echo $ECHO_N "(cached) $ECHO_C" >&6
22833 else
22834 cat >conftest.$ac_ext <<_ACEOF
22835 /* confdefs.h. */
22836 _ACEOF
22837 cat confdefs.h >>conftest.$ac_ext
22838 cat >>conftest.$ac_ext <<_ACEOF
22839 /* end confdefs.h. */
22840
22841 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22842 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22843 # error "fake wchar_t"
22844 #endif
22845 #ifdef HAVE_WCHAR_H
22846 # ifdef __CYGWIN__
22847 # include <stddef.h>
22848 # endif
22849 # include <wchar.h>
22850 #endif
22851 #ifdef HAVE_STDLIB_H
22852 # include <stdlib.h>
22853 #endif
22854 #include <stdio.h>
22855
22856
22857
22858 typedef wchar_t ac__type_new_;
22859 int
22860 main ()
22861 {
22862 if ((ac__type_new_ *) 0)
22863 return 0;
22864 if (sizeof (ac__type_new_))
22865 return 0;
22866 ;
22867 return 0;
22868 }
22869 _ACEOF
22870 rm -f conftest.$ac_objext
22871 if { (ac_try="$ac_compile"
22872 case "(($ac_try" in
22873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22874 *) ac_try_echo=$ac_try;;
22875 esac
22876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22877 (eval "$ac_compile") 2>conftest.er1
22878 ac_status=$?
22879 grep -v '^ *+' conftest.er1 >conftest.err
22880 rm -f conftest.er1
22881 cat conftest.err >&5
22882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22883 (exit $ac_status); } && {
22884 test -z "$ac_c_werror_flag" ||
22885 test ! -s conftest.err
22886 } && test -s conftest.$ac_objext; then
22887 ac_cv_type_wchar_t=yes
22888 else
22889 echo "$as_me: failed program was:" >&5
22890 sed 's/^/| /' conftest.$ac_ext >&5
22891
22892 ac_cv_type_wchar_t=no
22893 fi
22894
22895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22896 fi
22897 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22898 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22899
22900 # The cast to long int works around a bug in the HP C Compiler
22901 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22902 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22903 # This bug is HP SR number 8606223364.
22904 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22905 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22906 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22907 echo $ECHO_N "(cached) $ECHO_C" >&6
22908 else
22909 if test "$cross_compiling" = yes; then
22910 # Depending upon the size, compute the lo and hi bounds.
22911 cat >conftest.$ac_ext <<_ACEOF
22912 /* confdefs.h. */
22913 _ACEOF
22914 cat confdefs.h >>conftest.$ac_ext
22915 cat >>conftest.$ac_ext <<_ACEOF
22916 /* end confdefs.h. */
22917
22918 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22919 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22920 # error "fake wchar_t"
22921 #endif
22922 #ifdef HAVE_WCHAR_H
22923 # ifdef __CYGWIN__
22924 # include <stddef.h>
22925 # endif
22926 # include <wchar.h>
22927 #endif
22928 #ifdef HAVE_STDLIB_H
22929 # include <stdlib.h>
22930 #endif
22931 #include <stdio.h>
22932
22933
22934
22935 typedef wchar_t ac__type_sizeof_;
22936 int
22937 main ()
22938 {
22939 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22940 test_array [0] = 0
22941
22942 ;
22943 return 0;
22944 }
22945 _ACEOF
22946 rm -f conftest.$ac_objext
22947 if { (ac_try="$ac_compile"
22948 case "(($ac_try" in
22949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22950 *) ac_try_echo=$ac_try;;
22951 esac
22952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22953 (eval "$ac_compile") 2>conftest.er1
22954 ac_status=$?
22955 grep -v '^ *+' conftest.er1 >conftest.err
22956 rm -f conftest.er1
22957 cat conftest.err >&5
22958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22959 (exit $ac_status); } && {
22960 test -z "$ac_c_werror_flag" ||
22961 test ! -s conftest.err
22962 } && test -s conftest.$ac_objext; then
22963 ac_lo=0 ac_mid=0
22964 while :; do
22965 cat >conftest.$ac_ext <<_ACEOF
22966 /* confdefs.h. */
22967 _ACEOF
22968 cat confdefs.h >>conftest.$ac_ext
22969 cat >>conftest.$ac_ext <<_ACEOF
22970 /* end confdefs.h. */
22971
22972 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22973 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22974 # error "fake wchar_t"
22975 #endif
22976 #ifdef HAVE_WCHAR_H
22977 # ifdef __CYGWIN__
22978 # include <stddef.h>
22979 # endif
22980 # include <wchar.h>
22981 #endif
22982 #ifdef HAVE_STDLIB_H
22983 # include <stdlib.h>
22984 #endif
22985 #include <stdio.h>
22986
22987
22988
22989 typedef wchar_t ac__type_sizeof_;
22990 int
22991 main ()
22992 {
22993 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22994 test_array [0] = 0
22995
22996 ;
22997 return 0;
22998 }
22999 _ACEOF
23000 rm -f conftest.$ac_objext
23001 if { (ac_try="$ac_compile"
23002 case "(($ac_try" in
23003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23004 *) ac_try_echo=$ac_try;;
23005 esac
23006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23007 (eval "$ac_compile") 2>conftest.er1
23008 ac_status=$?
23009 grep -v '^ *+' conftest.er1 >conftest.err
23010 rm -f conftest.er1
23011 cat conftest.err >&5
23012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23013 (exit $ac_status); } && {
23014 test -z "$ac_c_werror_flag" ||
23015 test ! -s conftest.err
23016 } && test -s conftest.$ac_objext; then
23017 ac_hi=$ac_mid; break
23018 else
23019 echo "$as_me: failed program was:" >&5
23020 sed 's/^/| /' conftest.$ac_ext >&5
23021
23022 ac_lo=`expr $ac_mid + 1`
23023 if test $ac_lo -le $ac_mid; then
23024 ac_lo= ac_hi=
23025 break
23026 fi
23027 ac_mid=`expr 2 '*' $ac_mid + 1`
23028 fi
23029
23030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23031 done
23032 else
23033 echo "$as_me: failed program was:" >&5
23034 sed 's/^/| /' conftest.$ac_ext >&5
23035
23036 cat >conftest.$ac_ext <<_ACEOF
23037 /* confdefs.h. */
23038 _ACEOF
23039 cat confdefs.h >>conftest.$ac_ext
23040 cat >>conftest.$ac_ext <<_ACEOF
23041 /* end confdefs.h. */
23042
23043 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23044 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23045 # error "fake wchar_t"
23046 #endif
23047 #ifdef HAVE_WCHAR_H
23048 # ifdef __CYGWIN__
23049 # include <stddef.h>
23050 # endif
23051 # include <wchar.h>
23052 #endif
23053 #ifdef HAVE_STDLIB_H
23054 # include <stdlib.h>
23055 #endif
23056 #include <stdio.h>
23057
23058
23059
23060 typedef wchar_t ac__type_sizeof_;
23061 int
23062 main ()
23063 {
23064 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23065 test_array [0] = 0
23066
23067 ;
23068 return 0;
23069 }
23070 _ACEOF
23071 rm -f conftest.$ac_objext
23072 if { (ac_try="$ac_compile"
23073 case "(($ac_try" in
23074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23075 *) ac_try_echo=$ac_try;;
23076 esac
23077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23078 (eval "$ac_compile") 2>conftest.er1
23079 ac_status=$?
23080 grep -v '^ *+' conftest.er1 >conftest.err
23081 rm -f conftest.er1
23082 cat conftest.err >&5
23083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23084 (exit $ac_status); } && {
23085 test -z "$ac_c_werror_flag" ||
23086 test ! -s conftest.err
23087 } && test -s conftest.$ac_objext; then
23088 ac_hi=-1 ac_mid=-1
23089 while :; do
23090 cat >conftest.$ac_ext <<_ACEOF
23091 /* confdefs.h. */
23092 _ACEOF
23093 cat confdefs.h >>conftest.$ac_ext
23094 cat >>conftest.$ac_ext <<_ACEOF
23095 /* end confdefs.h. */
23096
23097 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23098 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23099 # error "fake wchar_t"
23100 #endif
23101 #ifdef HAVE_WCHAR_H
23102 # ifdef __CYGWIN__
23103 # include <stddef.h>
23104 # endif
23105 # include <wchar.h>
23106 #endif
23107 #ifdef HAVE_STDLIB_H
23108 # include <stdlib.h>
23109 #endif
23110 #include <stdio.h>
23111
23112
23113
23114 typedef wchar_t ac__type_sizeof_;
23115 int
23116 main ()
23117 {
23118 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23119 test_array [0] = 0
23120
23121 ;
23122 return 0;
23123 }
23124 _ACEOF
23125 rm -f conftest.$ac_objext
23126 if { (ac_try="$ac_compile"
23127 case "(($ac_try" in
23128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23129 *) ac_try_echo=$ac_try;;
23130 esac
23131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23132 (eval "$ac_compile") 2>conftest.er1
23133 ac_status=$?
23134 grep -v '^ *+' conftest.er1 >conftest.err
23135 rm -f conftest.er1
23136 cat conftest.err >&5
23137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23138 (exit $ac_status); } && {
23139 test -z "$ac_c_werror_flag" ||
23140 test ! -s conftest.err
23141 } && test -s conftest.$ac_objext; then
23142 ac_lo=$ac_mid; break
23143 else
23144 echo "$as_me: failed program was:" >&5
23145 sed 's/^/| /' conftest.$ac_ext >&5
23146
23147 ac_hi=`expr '(' $ac_mid ')' - 1`
23148 if test $ac_mid -le $ac_hi; then
23149 ac_lo= ac_hi=
23150 break
23151 fi
23152 ac_mid=`expr 2 '*' $ac_mid`
23153 fi
23154
23155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23156 done
23157 else
23158 echo "$as_me: failed program was:" >&5
23159 sed 's/^/| /' conftest.$ac_ext >&5
23160
23161 ac_lo= ac_hi=
23162 fi
23163
23164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23165 fi
23166
23167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23168 # Binary search between lo and hi bounds.
23169 while test "x$ac_lo" != "x$ac_hi"; do
23170 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23171 cat >conftest.$ac_ext <<_ACEOF
23172 /* confdefs.h. */
23173 _ACEOF
23174 cat confdefs.h >>conftest.$ac_ext
23175 cat >>conftest.$ac_ext <<_ACEOF
23176 /* end confdefs.h. */
23177
23178 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23179 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23180 # error "fake wchar_t"
23181 #endif
23182 #ifdef HAVE_WCHAR_H
23183 # ifdef __CYGWIN__
23184 # include <stddef.h>
23185 # endif
23186 # include <wchar.h>
23187 #endif
23188 #ifdef HAVE_STDLIB_H
23189 # include <stdlib.h>
23190 #endif
23191 #include <stdio.h>
23192
23193
23194
23195 typedef wchar_t ac__type_sizeof_;
23196 int
23197 main ()
23198 {
23199 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23200 test_array [0] = 0
23201
23202 ;
23203 return 0;
23204 }
23205 _ACEOF
23206 rm -f conftest.$ac_objext
23207 if { (ac_try="$ac_compile"
23208 case "(($ac_try" in
23209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23210 *) ac_try_echo=$ac_try;;
23211 esac
23212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23213 (eval "$ac_compile") 2>conftest.er1
23214 ac_status=$?
23215 grep -v '^ *+' conftest.er1 >conftest.err
23216 rm -f conftest.er1
23217 cat conftest.err >&5
23218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23219 (exit $ac_status); } && {
23220 test -z "$ac_c_werror_flag" ||
23221 test ! -s conftest.err
23222 } && test -s conftest.$ac_objext; then
23223 ac_hi=$ac_mid
23224 else
23225 echo "$as_me: failed program was:" >&5
23226 sed 's/^/| /' conftest.$ac_ext >&5
23227
23228 ac_lo=`expr '(' $ac_mid ')' + 1`
23229 fi
23230
23231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23232 done
23233 case $ac_lo in
23234 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23235 '') if test "$ac_cv_type_wchar_t" = yes; then
23236 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23237 See \`config.log' for more details." >&5
23238 echo "$as_me: error: cannot compute sizeof (wchar_t)
23239 See \`config.log' for more details." >&2;}
23240 { (exit 77); exit 77; }; }
23241 else
23242 ac_cv_sizeof_wchar_t=0
23243 fi ;;
23244 esac
23245 else
23246 cat >conftest.$ac_ext <<_ACEOF
23247 /* confdefs.h. */
23248 _ACEOF
23249 cat confdefs.h >>conftest.$ac_ext
23250 cat >>conftest.$ac_ext <<_ACEOF
23251 /* end confdefs.h. */
23252
23253 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23254 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23255 # error "fake wchar_t"
23256 #endif
23257 #ifdef HAVE_WCHAR_H
23258 # ifdef __CYGWIN__
23259 # include <stddef.h>
23260 # endif
23261 # include <wchar.h>
23262 #endif
23263 #ifdef HAVE_STDLIB_H
23264 # include <stdlib.h>
23265 #endif
23266 #include <stdio.h>
23267
23268
23269
23270 typedef wchar_t ac__type_sizeof_;
23271 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23272 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23273 #include <stdio.h>
23274 #include <stdlib.h>
23275 int
23276 main ()
23277 {
23278
23279 FILE *f = fopen ("conftest.val", "w");
23280 if (! f)
23281 return 1;
23282 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23283 {
23284 long int i = longval ();
23285 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23286 return 1;
23287 fprintf (f, "%ld\n", i);
23288 }
23289 else
23290 {
23291 unsigned long int i = ulongval ();
23292 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23293 return 1;
23294 fprintf (f, "%lu\n", i);
23295 }
23296 return ferror (f) || fclose (f) != 0;
23297
23298 ;
23299 return 0;
23300 }
23301 _ACEOF
23302 rm -f conftest$ac_exeext
23303 if { (ac_try="$ac_link"
23304 case "(($ac_try" in
23305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23306 *) ac_try_echo=$ac_try;;
23307 esac
23308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23309 (eval "$ac_link") 2>&5
23310 ac_status=$?
23311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23312 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23313 { (case "(($ac_try" in
23314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23315 *) ac_try_echo=$ac_try;;
23316 esac
23317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23318 (eval "$ac_try") 2>&5
23319 ac_status=$?
23320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23321 (exit $ac_status); }; }; then
23322 ac_cv_sizeof_wchar_t=`cat conftest.val`
23323 else
23324 echo "$as_me: program exited with status $ac_status" >&5
23325 echo "$as_me: failed program was:" >&5
23326 sed 's/^/| /' conftest.$ac_ext >&5
23327
23328 ( exit $ac_status )
23329 if test "$ac_cv_type_wchar_t" = yes; then
23330 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23331 See \`config.log' for more details." >&5
23332 echo "$as_me: error: cannot compute sizeof (wchar_t)
23333 See \`config.log' for more details." >&2;}
23334 { (exit 77); exit 77; }; }
23335 else
23336 ac_cv_sizeof_wchar_t=0
23337 fi
23338 fi
23339 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23340 fi
23341 rm -f conftest.val
23342 fi
23343 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23344 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23345
23346
23347
23348 cat >>confdefs.h <<_ACEOF
23349 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23350 _ACEOF
23351
23352
23353 if test "$ac_cv_sizeof_wchar_t" != 0; then
23354 wxUSE_WCHAR_T=yes
23355 else
23356 wxUSE_WCHAR_T=no
23357 fi
23358
23359 { echo "$as_me:$LINENO: checking for va_copy" >&5
23360 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23361 if test "${wx_cv_func_va_copy+set}" = set; then
23362 echo $ECHO_N "(cached) $ECHO_C" >&6
23363 else
23364
23365 ac_ext=cpp
23366 ac_cpp='$CXXCPP $CPPFLAGS'
23367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23370
23371 cat >conftest.$ac_ext <<_ACEOF
23372
23373 #include <stdarg.h>
23374 void foo(char *f, ...)
23375 {
23376 va_list ap1, ap2;
23377 va_start(ap1, f);
23378 va_copy(ap2, ap1);
23379 va_end(ap2);
23380 va_end(ap1);
23381 }
23382 int main()
23383 {
23384 foo("hi", 17);
23385 return 0;
23386 }
23387 _ACEOF
23388 rm -f conftest.$ac_objext conftest$ac_exeext
23389 if { (ac_try="$ac_link"
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_link") 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_cxx_werror_flag" ||
23403 test ! -s conftest.err
23404 } && test -s conftest$ac_exeext &&
23405 $as_test_x conftest$ac_exeext; then
23406 wx_cv_func_va_copy=yes
23407 else
23408 echo "$as_me: failed program was:" >&5
23409 sed 's/^/| /' conftest.$ac_ext >&5
23410
23411 wx_cv_func_va_copy=no
23412
23413 fi
23414
23415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23416 conftest$ac_exeext conftest.$ac_ext
23417 ac_ext=c
23418 ac_cpp='$CPP $CPPFLAGS'
23419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23422
23423
23424
23425 fi
23426 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23427 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23428
23429 if test $wx_cv_func_va_copy = "yes"; then
23430 cat >>confdefs.h <<\_ACEOF
23431 #define HAVE_VA_COPY 1
23432 _ACEOF
23433
23434 else
23435 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23436 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23437 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23438 echo $ECHO_N "(cached) $ECHO_C" >&6
23439 else
23440
23441 if test "$cross_compiling" = yes; then
23442 wx_cv_type_va_list_lvalue=yes
23443
23444 else
23445 cat >conftest.$ac_ext <<_ACEOF
23446
23447 #include <stdarg.h>
23448 int foo(char *f, ...)
23449 {
23450 va_list ap1, ap2;
23451 va_start(ap1, f);
23452 ap2 = ap1;
23453 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23454 return 1;
23455 va_end(ap2);
23456 va_end(ap1);
23457 return 0;
23458 }
23459 int main()
23460 {
23461 return foo("hi", 17);
23462 }
23463 _ACEOF
23464 rm -f conftest$ac_exeext
23465 if { (ac_try="$ac_link"
23466 case "(($ac_try" in
23467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23468 *) ac_try_echo=$ac_try;;
23469 esac
23470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23471 (eval "$ac_link") 2>&5
23472 ac_status=$?
23473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23474 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23475 { (case "(($ac_try" in
23476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23477 *) ac_try_echo=$ac_try;;
23478 esac
23479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23480 (eval "$ac_try") 2>&5
23481 ac_status=$?
23482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23483 (exit $ac_status); }; }; then
23484 wx_cv_type_va_list_lvalue=yes
23485 else
23486 echo "$as_me: program exited with status $ac_status" >&5
23487 echo "$as_me: failed program was:" >&5
23488 sed 's/^/| /' conftest.$ac_ext >&5
23489
23490 ( exit $ac_status )
23491 wx_cv_type_va_list_lvalue=no
23492 fi
23493 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23494 fi
23495
23496
23497
23498
23499 fi
23500 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23501 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23502
23503 if test $wx_cv_type_va_list_lvalue != "yes"; then
23504 cat >>confdefs.h <<\_ACEOF
23505 #define VA_LIST_IS_ARRAY 1
23506 _ACEOF
23507
23508 fi
23509 fi
23510
23511 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23512
23513 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23514 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23515 if test "${wx_cv_have_variadic_macros+set}" = set; then
23516 echo $ECHO_N "(cached) $ECHO_C" >&6
23517 else
23518
23519 ac_ext=cpp
23520 ac_cpp='$CXXCPP $CPPFLAGS'
23521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23524
23525 cat >conftest.$ac_ext <<_ACEOF
23526 /* confdefs.h. */
23527 _ACEOF
23528 cat confdefs.h >>conftest.$ac_ext
23529 cat >>conftest.$ac_ext <<_ACEOF
23530 /* end confdefs.h. */
23531
23532 #include <stdio.h>
23533 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23534
23535 int
23536 main ()
23537 {
23538
23539 test("%s %d %p", "test", 1, 0);
23540
23541
23542 ;
23543 return 0;
23544 }
23545 _ACEOF
23546 rm -f conftest.$ac_objext
23547 if { (ac_try="$ac_compile"
23548 case "(($ac_try" in
23549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23550 *) ac_try_echo=$ac_try;;
23551 esac
23552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23553 (eval "$ac_compile") 2>conftest.er1
23554 ac_status=$?
23555 grep -v '^ *+' conftest.er1 >conftest.err
23556 rm -f conftest.er1
23557 cat conftest.err >&5
23558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23559 (exit $ac_status); } && {
23560 test -z "$ac_cxx_werror_flag" ||
23561 test ! -s conftest.err
23562 } && test -s conftest.$ac_objext; then
23563 wx_cv_have_variadic_macros=yes
23564 else
23565 echo "$as_me: failed program was:" >&5
23566 sed 's/^/| /' conftest.$ac_ext >&5
23567
23568 wx_cv_have_variadic_macros=no
23569
23570 fi
23571
23572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23573 ac_ext=c
23574 ac_cpp='$CPP $CPPFLAGS'
23575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23578
23579
23580
23581 fi
23582 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23583 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23584
23585 if test $wx_cv_have_variadic_macros = "yes"; then
23586 cat >>confdefs.h <<\_ACEOF
23587 #define HAVE_VARIADIC_MACROS 1
23588 _ACEOF
23589
23590 fi
23591
23592 fi
23593
23594 LARGEFILE_CPPFLAGS=
23595 # Check whether --enable-largefile was given.
23596 if test "${enable_largefile+set}" = set; then
23597 enableval=$enable_largefile;
23598 fi
23599
23600 if test "$enable_largefile" != no; then
23601 wx_largefile=no
23602
23603 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23604 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23605 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23606 echo $ECHO_N "(cached) $ECHO_C" >&6
23607 else
23608
23609 cat >conftest.$ac_ext <<_ACEOF
23610 /* confdefs.h. */
23611 _ACEOF
23612 cat confdefs.h >>conftest.$ac_ext
23613 cat >>conftest.$ac_ext <<_ACEOF
23614 /* end confdefs.h. */
23615 #define _FILE_OFFSET_BITS 64
23616 #include <sys/types.h>
23617 int
23618 main ()
23619 {
23620 typedef struct {
23621 unsigned int field: sizeof(off_t) == 8;
23622 } wxlf;
23623
23624 ;
23625 return 0;
23626 }
23627 _ACEOF
23628 rm -f conftest.$ac_objext
23629 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
23636 ac_status=$?
23637 grep -v '^ *+' conftest.er1 >conftest.err
23638 rm -f conftest.er1
23639 cat conftest.err >&5
23640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23641 (exit $ac_status); } && {
23642 test -z "$ac_c_werror_flag" ||
23643 test ! -s conftest.err
23644 } && test -s conftest.$ac_objext; then
23645 ac_cv_sys_file_offset_bits=64
23646 else
23647 echo "$as_me: failed program was:" >&5
23648 sed 's/^/| /' conftest.$ac_ext >&5
23649
23650 ac_cv_sys_file_offset_bits=no
23651 fi
23652
23653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23654
23655
23656 fi
23657 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23658 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23659
23660 if test "$ac_cv_sys_file_offset_bits" != no; then
23661 wx_largefile=yes
23662 cat >>confdefs.h <<_ACEOF
23663 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23664 _ACEOF
23665
23666 fi
23667
23668 if test "x$wx_largefile" != "xyes"; then
23669
23670 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23671 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23672 if test "${ac_cv_sys_large_files+set}" = set; then
23673 echo $ECHO_N "(cached) $ECHO_C" >&6
23674 else
23675
23676 cat >conftest.$ac_ext <<_ACEOF
23677 /* confdefs.h. */
23678 _ACEOF
23679 cat confdefs.h >>conftest.$ac_ext
23680 cat >>conftest.$ac_ext <<_ACEOF
23681 /* end confdefs.h. */
23682 #define _LARGE_FILES 1
23683 #include <sys/types.h>
23684 int
23685 main ()
23686 {
23687 typedef struct {
23688 unsigned int field: sizeof(off_t) == 8;
23689 } wxlf;
23690
23691 ;
23692 return 0;
23693 }
23694 _ACEOF
23695 rm -f conftest.$ac_objext
23696 if { (ac_try="$ac_compile"
23697 case "(($ac_try" in
23698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23699 *) ac_try_echo=$ac_try;;
23700 esac
23701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23702 (eval "$ac_compile") 2>conftest.er1
23703 ac_status=$?
23704 grep -v '^ *+' conftest.er1 >conftest.err
23705 rm -f conftest.er1
23706 cat conftest.err >&5
23707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23708 (exit $ac_status); } && {
23709 test -z "$ac_c_werror_flag" ||
23710 test ! -s conftest.err
23711 } && test -s conftest.$ac_objext; then
23712 ac_cv_sys_large_files=1
23713 else
23714 echo "$as_me: failed program was:" >&5
23715 sed 's/^/| /' conftest.$ac_ext >&5
23716
23717 ac_cv_sys_large_files=no
23718 fi
23719
23720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23721
23722
23723 fi
23724 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23725 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23726
23727 if test "$ac_cv_sys_large_files" != no; then
23728 wx_largefile=yes
23729 cat >>confdefs.h <<_ACEOF
23730 #define _LARGE_FILES $ac_cv_sys_large_files
23731 _ACEOF
23732
23733 fi
23734
23735 fi
23736
23737 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23738 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23739 if test "x$wx_largefile" = "xyes"; then
23740 cat >>confdefs.h <<\_ACEOF
23741 #define HAVE_LARGEFILE_SUPPORT 1
23742 _ACEOF
23743
23744 fi
23745 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23746 echo "${ECHO_T}$wx_largefile" >&6; }
23747 fi
23748
23749 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23750 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23751 elif test "$ac_cv_sys_large_files" = 1; then
23752 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23753 fi
23754
23755 if test -n "$LARGEFILE_CPPFLAGS"; then
23756 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23757
23758 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23759 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23760 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23761 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23762 echo $ECHO_N "(cached) $ECHO_C" >&6
23763 else
23764
23765 ac_ext=cpp
23766 ac_cpp='$CXXCPP $CPPFLAGS'
23767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23770
23771 cat >conftest.$ac_ext <<_ACEOF
23772 /* confdefs.h. */
23773 _ACEOF
23774 cat confdefs.h >>conftest.$ac_ext
23775 cat >>conftest.$ac_ext <<_ACEOF
23776 /* end confdefs.h. */
23777
23778 int
23779 main ()
23780 {
23781
23782 #ifndef __STDC_EXT__
23783 choke me
23784 #endif
23785
23786 ;
23787 return 0;
23788 }
23789 _ACEOF
23790 rm -f conftest.$ac_objext
23791 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
23798 ac_status=$?
23799 grep -v '^ *+' conftest.er1 >conftest.err
23800 rm -f conftest.er1
23801 cat conftest.err >&5
23802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23803 (exit $ac_status); } && {
23804 test -z "$ac_cxx_werror_flag" ||
23805 test ! -s conftest.err
23806 } && test -s conftest.$ac_objext; then
23807 wx_cv_STDC_EXT_required=no
23808 else
23809 echo "$as_me: failed program was:" >&5
23810 sed 's/^/| /' conftest.$ac_ext >&5
23811
23812 wx_cv_STDC_EXT_required=yes
23813
23814 fi
23815
23816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23817 ac_ext=c
23818 ac_cpp='$CPP $CPPFLAGS'
23819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23822
23823
23824
23825 fi
23826 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23827 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23828 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23829 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23830 fi
23831 fi
23832 fi
23833
23834 ac_ext=cpp
23835 ac_cpp='$CXXCPP $CPPFLAGS'
23836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23839
23840 old_CPPFLAGS="$CPPFLAGS"
23841 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
23842 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23843 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23844 if test "${ac_cv_sys_largefile_source+set}" = set; then
23845 echo $ECHO_N "(cached) $ECHO_C" >&6
23846 else
23847 while :; do
23848 cat >conftest.$ac_ext <<_ACEOF
23849 /* confdefs.h. */
23850 _ACEOF
23851 cat confdefs.h >>conftest.$ac_ext
23852 cat >>conftest.$ac_ext <<_ACEOF
23853 /* end confdefs.h. */
23854 #include <sys/types.h> /* for off_t */
23855 #include <stdio.h>
23856 int
23857 main ()
23858 {
23859 int (*fp) (FILE *, off_t, int) = fseeko;
23860 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23861 ;
23862 return 0;
23863 }
23864 _ACEOF
23865 rm -f conftest.$ac_objext conftest$ac_exeext
23866 if { (ac_try="$ac_link"
23867 case "(($ac_try" in
23868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23869 *) ac_try_echo=$ac_try;;
23870 esac
23871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23872 (eval "$ac_link") 2>conftest.er1
23873 ac_status=$?
23874 grep -v '^ *+' conftest.er1 >conftest.err
23875 rm -f conftest.er1
23876 cat conftest.err >&5
23877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23878 (exit $ac_status); } && {
23879 test -z "$ac_cxx_werror_flag" ||
23880 test ! -s conftest.err
23881 } && test -s conftest$ac_exeext &&
23882 $as_test_x conftest$ac_exeext; then
23883 ac_cv_sys_largefile_source=no; break
23884 else
23885 echo "$as_me: failed program was:" >&5
23886 sed 's/^/| /' conftest.$ac_ext >&5
23887
23888
23889 fi
23890
23891 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23892 conftest$ac_exeext conftest.$ac_ext
23893 cat >conftest.$ac_ext <<_ACEOF
23894 /* confdefs.h. */
23895 _ACEOF
23896 cat confdefs.h >>conftest.$ac_ext
23897 cat >>conftest.$ac_ext <<_ACEOF
23898 /* end confdefs.h. */
23899 #define _LARGEFILE_SOURCE 1
23900 #include <sys/types.h> /* for off_t */
23901 #include <stdio.h>
23902 int
23903 main ()
23904 {
23905 int (*fp) (FILE *, off_t, int) = fseeko;
23906 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23907 ;
23908 return 0;
23909 }
23910 _ACEOF
23911 rm -f conftest.$ac_objext conftest$ac_exeext
23912 if { (ac_try="$ac_link"
23913 case "(($ac_try" in
23914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23915 *) ac_try_echo=$ac_try;;
23916 esac
23917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23918 (eval "$ac_link") 2>conftest.er1
23919 ac_status=$?
23920 grep -v '^ *+' conftest.er1 >conftest.err
23921 rm -f conftest.er1
23922 cat conftest.err >&5
23923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23924 (exit $ac_status); } && {
23925 test -z "$ac_cxx_werror_flag" ||
23926 test ! -s conftest.err
23927 } && test -s conftest$ac_exeext &&
23928 $as_test_x conftest$ac_exeext; then
23929 ac_cv_sys_largefile_source=1; break
23930 else
23931 echo "$as_me: failed program was:" >&5
23932 sed 's/^/| /' conftest.$ac_ext >&5
23933
23934
23935 fi
23936
23937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23938 conftest$ac_exeext conftest.$ac_ext
23939 ac_cv_sys_largefile_source=unknown
23940 break
23941 done
23942 fi
23943 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23944 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23945 case $ac_cv_sys_largefile_source in #(
23946 no | unknown) ;;
23947 *)
23948 cat >>confdefs.h <<_ACEOF
23949 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23950 _ACEOF
23951 ;;
23952 esac
23953 rm -f conftest*
23954
23955 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23956 # in glibc 2.1.3, but that breaks too many other things.
23957 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23958 if test $ac_cv_sys_largefile_source != unknown; then
23959
23960 cat >>confdefs.h <<\_ACEOF
23961 #define HAVE_FSEEKO 1
23962 _ACEOF
23963
23964 fi
23965
23966 CPPFLAGS="$old_CPPFLAGS"
23967 ac_ext=c
23968 ac_cpp='$CPP $CPPFLAGS'
23969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23972
23973 if test "$ac_cv_sys_largefile_source" != no; then
23974 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23975 fi
23976
23977 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23978 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23979 if test "${ac_cv_c_bigendian+set}" = set; then
23980 echo $ECHO_N "(cached) $ECHO_C" >&6
23981 else
23982 ac_cv_c_bigendian=unknown
23983 # See if sys/param.h defines the BYTE_ORDER macro.
23984 cat >conftest.$ac_ext <<_ACEOF
23985 /* confdefs.h. */
23986 _ACEOF
23987 cat confdefs.h >>conftest.$ac_ext
23988 cat >>conftest.$ac_ext <<_ACEOF
23989 /* end confdefs.h. */
23990 #include <sys/types.h>
23991 #include <sys/param.h>
23992 int
23993 main ()
23994 {
23995
23996 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23997 bogus endian macros
23998 #endif
23999 ;
24000 return 0;
24001 }
24002 _ACEOF
24003 rm -f conftest.$ac_objext
24004 if { (ac_try="$ac_compile"
24005 case "(($ac_try" in
24006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24007 *) ac_try_echo=$ac_try;;
24008 esac
24009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24010 (eval "$ac_compile") 2>conftest.er1
24011 ac_status=$?
24012 grep -v '^ *+' conftest.er1 >conftest.err
24013 rm -f conftest.er1
24014 cat conftest.err >&5
24015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24016 (exit $ac_status); } && {
24017 test -z "$ac_c_werror_flag" ||
24018 test ! -s conftest.err
24019 } && test -s conftest.$ac_objext; then
24020 # It does; now see whether it defined to BIG_ENDIAN or not.
24021 cat >conftest.$ac_ext <<_ACEOF
24022 /* confdefs.h. */
24023 _ACEOF
24024 cat confdefs.h >>conftest.$ac_ext
24025 cat >>conftest.$ac_ext <<_ACEOF
24026 /* end confdefs.h. */
24027 #include <sys/types.h>
24028 #include <sys/param.h>
24029 int
24030 main ()
24031 {
24032
24033 #if BYTE_ORDER != BIG_ENDIAN
24034 not big endian
24035 #endif
24036 ;
24037 return 0;
24038 }
24039 _ACEOF
24040 rm -f conftest.$ac_objext
24041 if { (ac_try="$ac_compile"
24042 case "(($ac_try" in
24043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24044 *) ac_try_echo=$ac_try;;
24045 esac
24046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24047 (eval "$ac_compile") 2>conftest.er1
24048 ac_status=$?
24049 grep -v '^ *+' conftest.er1 >conftest.err
24050 rm -f conftest.er1
24051 cat conftest.err >&5
24052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24053 (exit $ac_status); } && {
24054 test -z "$ac_c_werror_flag" ||
24055 test ! -s conftest.err
24056 } && test -s conftest.$ac_objext; then
24057 ac_cv_c_bigendian=yes
24058 else
24059 echo "$as_me: failed program was:" >&5
24060 sed 's/^/| /' conftest.$ac_ext >&5
24061
24062 ac_cv_c_bigendian=no
24063 fi
24064
24065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24066 else
24067 echo "$as_me: failed program was:" >&5
24068 sed 's/^/| /' conftest.$ac_ext >&5
24069
24070
24071 fi
24072
24073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24074 if test $ac_cv_c_bigendian = unknown; then
24075 if test "$cross_compiling" = yes; then
24076 ac_cv_c_bigendian=unknown
24077 else
24078 cat >conftest.$ac_ext <<_ACEOF
24079 /* confdefs.h. */
24080 _ACEOF
24081 cat confdefs.h >>conftest.$ac_ext
24082 cat >>conftest.$ac_ext <<_ACEOF
24083 /* end confdefs.h. */
24084 main () {
24085 /* Are we little or big endian? From Harbison&Steele. */
24086 union
24087 {
24088 long l;
24089 char c[sizeof (long)];
24090 } u;
24091 u.l = 1;
24092 exit (u.c[sizeof (long) - 1] == 1);
24093 }
24094 _ACEOF
24095 rm -f conftest$ac_exeext
24096 if { (ac_try="$ac_link"
24097 case "(($ac_try" in
24098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24099 *) ac_try_echo=$ac_try;;
24100 esac
24101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24102 (eval "$ac_link") 2>&5
24103 ac_status=$?
24104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24105 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24106 { (case "(($ac_try" in
24107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24108 *) ac_try_echo=$ac_try;;
24109 esac
24110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24111 (eval "$ac_try") 2>&5
24112 ac_status=$?
24113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24114 (exit $ac_status); }; }; then
24115 ac_cv_c_bigendian=no
24116 else
24117 echo "$as_me: program exited with status $ac_status" >&5
24118 echo "$as_me: failed program was:" >&5
24119 sed 's/^/| /' conftest.$ac_ext >&5
24120
24121 ( exit $ac_status )
24122 ac_cv_c_bigendian=yes
24123 fi
24124 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24125 fi
24126
24127
24128 fi
24129 fi
24130 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24131 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24132 if test $ac_cv_c_bigendian = unknown; then
24133 { 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
24134 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;}
24135 fi
24136 if test $ac_cv_c_bigendian = yes; then
24137 cat >>confdefs.h <<\_ACEOF
24138 #define WORDS_BIGENDIAN 1
24139 _ACEOF
24140
24141 fi
24142
24143
24144
24145
24146 ac_ext=cpp
24147 ac_cpp='$CXXCPP $CPPFLAGS'
24148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24151
24152
24153
24154 for ac_header in iostream
24155 do
24156 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24157 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24158 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24159 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24160 echo $ECHO_N "(cached) $ECHO_C" >&6
24161 else
24162 cat >conftest.$ac_ext <<_ACEOF
24163 /* confdefs.h. */
24164 _ACEOF
24165 cat confdefs.h >>conftest.$ac_ext
24166 cat >>conftest.$ac_ext <<_ACEOF
24167 /* end confdefs.h. */
24168
24169
24170 #include <$ac_header>
24171 _ACEOF
24172 rm -f conftest.$ac_objext
24173 if { (ac_try="$ac_compile"
24174 case "(($ac_try" in
24175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24176 *) ac_try_echo=$ac_try;;
24177 esac
24178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24179 (eval "$ac_compile") 2>conftest.er1
24180 ac_status=$?
24181 grep -v '^ *+' conftest.er1 >conftest.err
24182 rm -f conftest.er1
24183 cat conftest.err >&5
24184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24185 (exit $ac_status); } && {
24186 test -z "$ac_cxx_werror_flag" ||
24187 test ! -s conftest.err
24188 } && test -s conftest.$ac_objext; then
24189 eval "$as_ac_Header=yes"
24190 else
24191 echo "$as_me: failed program was:" >&5
24192 sed 's/^/| /' conftest.$ac_ext >&5
24193
24194 eval "$as_ac_Header=no"
24195 fi
24196
24197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24198 fi
24199 ac_res=`eval echo '${'$as_ac_Header'}'`
24200 { echo "$as_me:$LINENO: result: $ac_res" >&5
24201 echo "${ECHO_T}$ac_res" >&6; }
24202 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24203 cat >>confdefs.h <<_ACEOF
24204 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24205 _ACEOF
24206
24207 fi
24208
24209 done
24210
24211
24212 if test "$ac_cv_header_iostream" = "yes" ; then
24213 :
24214 else
24215 cat >>confdefs.h <<\_ACEOF
24216 #define wxUSE_IOSTREAMH 1
24217 _ACEOF
24218
24219 fi
24220
24221 ac_ext=c
24222 ac_cpp='$CPP $CPPFLAGS'
24223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24226
24227
24228
24229
24230 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24231 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24232 if test "${wx_cv_explicit+set}" = set; then
24233 echo $ECHO_N "(cached) $ECHO_C" >&6
24234 else
24235
24236
24237 ac_ext=cpp
24238 ac_cpp='$CXXCPP $CPPFLAGS'
24239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24242
24243
24244 cat >conftest.$ac_ext <<_ACEOF
24245 /* confdefs.h. */
24246 _ACEOF
24247 cat confdefs.h >>conftest.$ac_ext
24248 cat >>conftest.$ac_ext <<_ACEOF
24249 /* end confdefs.h. */
24250
24251 class Foo { public: explicit Foo(int) {} };
24252
24253 int
24254 main ()
24255 {
24256
24257 return 0;
24258
24259 ;
24260 return 0;
24261 }
24262 _ACEOF
24263 rm -f conftest.$ac_objext
24264 if { (ac_try="$ac_compile"
24265 case "(($ac_try" in
24266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24267 *) ac_try_echo=$ac_try;;
24268 esac
24269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24270 (eval "$ac_compile") 2>conftest.er1
24271 ac_status=$?
24272 grep -v '^ *+' conftest.er1 >conftest.err
24273 rm -f conftest.er1
24274 cat conftest.err >&5
24275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24276 (exit $ac_status); } && {
24277 test -z "$ac_cxx_werror_flag" ||
24278 test ! -s conftest.err
24279 } && test -s conftest.$ac_objext; then
24280
24281 cat >conftest.$ac_ext <<_ACEOF
24282 /* confdefs.h. */
24283 _ACEOF
24284 cat confdefs.h >>conftest.$ac_ext
24285 cat >>conftest.$ac_ext <<_ACEOF
24286 /* end confdefs.h. */
24287
24288 class Foo { public: explicit Foo(int) {} };
24289 static void TakeFoo(const Foo& foo) { }
24290
24291 int
24292 main ()
24293 {
24294
24295 TakeFoo(17);
24296 return 0;
24297
24298 ;
24299 return 0;
24300 }
24301 _ACEOF
24302 rm -f conftest.$ac_objext
24303 if { (ac_try="$ac_compile"
24304 case "(($ac_try" in
24305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24306 *) ac_try_echo=$ac_try;;
24307 esac
24308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24309 (eval "$ac_compile") 2>conftest.er1
24310 ac_status=$?
24311 grep -v '^ *+' conftest.er1 >conftest.err
24312 rm -f conftest.er1
24313 cat conftest.err >&5
24314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24315 (exit $ac_status); } && {
24316 test -z "$ac_cxx_werror_flag" ||
24317 test ! -s conftest.err
24318 } && test -s conftest.$ac_objext; then
24319 wx_cv_explicit=no
24320 else
24321 echo "$as_me: failed program was:" >&5
24322 sed 's/^/| /' conftest.$ac_ext >&5
24323
24324 wx_cv_explicit=yes
24325
24326 fi
24327
24328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24329
24330 else
24331 echo "$as_me: failed program was:" >&5
24332 sed 's/^/| /' conftest.$ac_ext >&5
24333
24334 wx_cv_explicit=no
24335
24336 fi
24337
24338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24339
24340 ac_ext=c
24341 ac_cpp='$CPP $CPPFLAGS'
24342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24345
24346
24347 fi
24348 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24349 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24350
24351 if test "$wx_cv_explicit" = "yes"; then
24352 cat >>confdefs.h <<\_ACEOF
24353 #define HAVE_EXPLICIT 1
24354 _ACEOF
24355
24356 fi
24357
24358
24359 if test "x$SUNCXX" = xyes; then
24360 CXXFLAGS="-features=tmplife $CXXFLAGS"
24361 fi
24362
24363 if test "x$SUNCC" = xyes; then
24364 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24365 fi
24366
24367 if test "x$SGICC" = "xyes"; then
24368 CFLAGS="-woff 3970 $CFLAGS"
24369 fi
24370 if test "x$SGICXX" = "xyes"; then
24371 CXXFLAGS="-woff 3970 $CXXFLAGS"
24372 fi
24373
24374 if test "x$HPCC" = "xyes"; then
24375 CFLAGS="+W 2011,2450 $CFLAGS"
24376 fi
24377 if test "x$HPCXX" = "xyes"; then
24378 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24379 fi
24380
24381 if test "x$COMPAQCXX" = "xyes"; then
24382 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24383 fi
24384
24385 ac_ext=cpp
24386 ac_cpp='$CXXCPP $CPPFLAGS'
24387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24390
24391
24392 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24393 if test "$wxUSE_UNICODE" = "yes"; then
24394 std_string="std::wstring"
24395 char_type="wchar_t"
24396 else
24397 std_string="std::string"
24398 char_type="char"
24399 fi
24400
24401 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24402 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24403 if test "${wx_cv_class_stdstring+set}" = set; then
24404 echo $ECHO_N "(cached) $ECHO_C" >&6
24405 else
24406
24407 cat >conftest.$ac_ext <<_ACEOF
24408 /* confdefs.h. */
24409 _ACEOF
24410 cat confdefs.h >>conftest.$ac_ext
24411 cat >>conftest.$ac_ext <<_ACEOF
24412 /* end confdefs.h. */
24413 #include <string>
24414 int
24415 main ()
24416 {
24417 $std_string foo;
24418 ;
24419 return 0;
24420 }
24421 _ACEOF
24422 rm -f conftest.$ac_objext
24423 if { (ac_try="$ac_compile"
24424 case "(($ac_try" in
24425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24426 *) ac_try_echo=$ac_try;;
24427 esac
24428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24429 (eval "$ac_compile") 2>conftest.er1
24430 ac_status=$?
24431 grep -v '^ *+' conftest.er1 >conftest.err
24432 rm -f conftest.er1
24433 cat conftest.err >&5
24434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24435 (exit $ac_status); } && {
24436 test -z "$ac_cxx_werror_flag" ||
24437 test ! -s conftest.err
24438 } && test -s conftest.$ac_objext; then
24439 wx_cv_class_stdstring=yes
24440 else
24441 echo "$as_me: failed program was:" >&5
24442 sed 's/^/| /' conftest.$ac_ext >&5
24443
24444 wx_cv_class_stdstring=no
24445
24446 fi
24447
24448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24449
24450
24451 fi
24452 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24453 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24454
24455 if test "$wx_cv_class_stdstring" = yes; then
24456 if test "$wxUSE_UNICODE" = "yes"; then
24457 cat >>confdefs.h <<\_ACEOF
24458 #define HAVE_STD_WSTRING 1
24459 _ACEOF
24460
24461 fi
24462 else
24463 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24464 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24465 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24466 echo $ECHO_N "(cached) $ECHO_C" >&6
24467 else
24468
24469 cat >conftest.$ac_ext <<_ACEOF
24470 /* confdefs.h. */
24471 _ACEOF
24472 cat confdefs.h >>conftest.$ac_ext
24473 cat >>conftest.$ac_ext <<_ACEOF
24474 /* end confdefs.h. */
24475
24476 #ifdef HAVE_WCHAR_H
24477 # ifdef __CYGWIN__
24478 # include <stddef.h>
24479 # endif
24480 # include <wchar.h>
24481 #endif
24482 #ifdef HAVE_STDLIB_H
24483 # include <stdlib.h>
24484 #endif
24485 #include <stdio.h>
24486 #include <string>
24487
24488 int
24489 main ()
24490 {
24491 std::basic_string<$char_type> foo;
24492 const $char_type* dummy = foo.c_str();
24493 ;
24494 return 0;
24495 }
24496 _ACEOF
24497 rm -f conftest.$ac_objext
24498 if { (ac_try="$ac_compile"
24499 case "(($ac_try" in
24500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24501 *) ac_try_echo=$ac_try;;
24502 esac
24503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24504 (eval "$ac_compile") 2>conftest.er1
24505 ac_status=$?
24506 grep -v '^ *+' conftest.er1 >conftest.err
24507 rm -f conftest.er1
24508 cat conftest.err >&5
24509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24510 (exit $ac_status); } && {
24511 test -z "$ac_cxx_werror_flag" ||
24512 test ! -s conftest.err
24513 } && test -s conftest.$ac_objext; then
24514 wx_cv_class_stdbasicstring=yes
24515 else
24516 echo "$as_me: failed program was:" >&5
24517 sed 's/^/| /' conftest.$ac_ext >&5
24518
24519 wx_cv_class_stdbasicstring=no
24520
24521 fi
24522
24523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24524
24525
24526 fi
24527 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24528 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24529
24530 if test "$wx_cv_class_stdbasicstring" != yes; then
24531 if test "$wxUSE_STL" = "yes"; then
24532 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24533 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24534 { (exit 1); exit 1; }; }
24535 elif test "$wxUSE_STD_STRING" = "yes"; then
24536 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24537 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24538 { (exit 1); exit 1; }; }
24539 else
24540 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24541 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24542 wxUSE_STD_STRING=no
24543 fi
24544 fi
24545 fi
24546 fi
24547
24548 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24549 { echo "$as_me:$LINENO: checking for std::istream" >&5
24550 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24551 if test "${ac_cv_type_std__istream+set}" = set; then
24552 echo $ECHO_N "(cached) $ECHO_C" >&6
24553 else
24554 cat >conftest.$ac_ext <<_ACEOF
24555 /* confdefs.h. */
24556 _ACEOF
24557 cat confdefs.h >>conftest.$ac_ext
24558 cat >>conftest.$ac_ext <<_ACEOF
24559 /* end confdefs.h. */
24560 #include <iostream>
24561
24562 typedef std::istream ac__type_new_;
24563 int
24564 main ()
24565 {
24566 if ((ac__type_new_ *) 0)
24567 return 0;
24568 if (sizeof (ac__type_new_))
24569 return 0;
24570 ;
24571 return 0;
24572 }
24573 _ACEOF
24574 rm -f conftest.$ac_objext
24575 if { (ac_try="$ac_compile"
24576 case "(($ac_try" in
24577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24578 *) ac_try_echo=$ac_try;;
24579 esac
24580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24581 (eval "$ac_compile") 2>conftest.er1
24582 ac_status=$?
24583 grep -v '^ *+' conftest.er1 >conftest.err
24584 rm -f conftest.er1
24585 cat conftest.err >&5
24586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24587 (exit $ac_status); } && {
24588 test -z "$ac_cxx_werror_flag" ||
24589 test ! -s conftest.err
24590 } && test -s conftest.$ac_objext; then
24591 ac_cv_type_std__istream=yes
24592 else
24593 echo "$as_me: failed program was:" >&5
24594 sed 's/^/| /' conftest.$ac_ext >&5
24595
24596 ac_cv_type_std__istream=no
24597 fi
24598
24599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24600 fi
24601 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24602 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24603 if test $ac_cv_type_std__istream = yes; then
24604
24605 cat >>confdefs.h <<_ACEOF
24606 #define HAVE_STD__ISTREAM 1
24607 _ACEOF
24608
24609
24610 else
24611 wxUSE_STD_IOSTREAM=no
24612 fi
24613 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24614 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24615 if test "${ac_cv_type_std__ostream+set}" = set; then
24616 echo $ECHO_N "(cached) $ECHO_C" >&6
24617 else
24618 cat >conftest.$ac_ext <<_ACEOF
24619 /* confdefs.h. */
24620 _ACEOF
24621 cat confdefs.h >>conftest.$ac_ext
24622 cat >>conftest.$ac_ext <<_ACEOF
24623 /* end confdefs.h. */
24624 #include <iostream>
24625
24626 typedef std::ostream ac__type_new_;
24627 int
24628 main ()
24629 {
24630 if ((ac__type_new_ *) 0)
24631 return 0;
24632 if (sizeof (ac__type_new_))
24633 return 0;
24634 ;
24635 return 0;
24636 }
24637 _ACEOF
24638 rm -f conftest.$ac_objext
24639 if { (ac_try="$ac_compile"
24640 case "(($ac_try" in
24641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24642 *) ac_try_echo=$ac_try;;
24643 esac
24644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24645 (eval "$ac_compile") 2>conftest.er1
24646 ac_status=$?
24647 grep -v '^ *+' conftest.er1 >conftest.err
24648 rm -f conftest.er1
24649 cat conftest.err >&5
24650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24651 (exit $ac_status); } && {
24652 test -z "$ac_cxx_werror_flag" ||
24653 test ! -s conftest.err
24654 } && test -s conftest.$ac_objext; then
24655 ac_cv_type_std__ostream=yes
24656 else
24657 echo "$as_me: failed program was:" >&5
24658 sed 's/^/| /' conftest.$ac_ext >&5
24659
24660 ac_cv_type_std__ostream=no
24661 fi
24662
24663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24664 fi
24665 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24666 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24667 if test $ac_cv_type_std__ostream = yes; then
24668
24669 cat >>confdefs.h <<_ACEOF
24670 #define HAVE_STD__OSTREAM 1
24671 _ACEOF
24672
24673
24674 else
24675 wxUSE_STD_IOSTREAM=no
24676 fi
24677
24678
24679 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24680 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24681 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24682 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24683 { (exit 1); exit 1; }; }
24684 else
24685 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24686 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24687 fi
24688 fi
24689 fi
24690
24691 if test "$wxUSE_STL" = "yes"; then
24692 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24693 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24694 if test "${wx_cv_lib_stl+set}" = set; then
24695 echo $ECHO_N "(cached) $ECHO_C" >&6
24696 else
24697 cat >conftest.$ac_ext <<_ACEOF
24698 /* confdefs.h. */
24699 _ACEOF
24700 cat confdefs.h >>conftest.$ac_ext
24701 cat >>conftest.$ac_ext <<_ACEOF
24702 /* end confdefs.h. */
24703 #include <string>
24704 #include <functional>
24705 #include <algorithm>
24706 #include <vector>
24707 #include <list>
24708 int
24709 main ()
24710 {
24711 std::vector<int> moo;
24712 std::list<int> foo;
24713 std::vector<int>::iterator it =
24714 std::find_if(moo.begin(), moo.end(),
24715 std::bind2nd(std::less<int>(), 3));
24716 ;
24717 return 0;
24718 }
24719 _ACEOF
24720 rm -f conftest.$ac_objext
24721 if { (ac_try="$ac_compile"
24722 case "(($ac_try" in
24723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24724 *) ac_try_echo=$ac_try;;
24725 esac
24726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24727 (eval "$ac_compile") 2>conftest.er1
24728 ac_status=$?
24729 grep -v '^ *+' conftest.er1 >conftest.err
24730 rm -f conftest.er1
24731 cat conftest.err >&5
24732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24733 (exit $ac_status); } && {
24734 test -z "$ac_cxx_werror_flag" ||
24735 test ! -s conftest.err
24736 } && test -s conftest.$ac_objext; then
24737 wx_cv_lib_stl=yes
24738 else
24739 echo "$as_me: failed program was:" >&5
24740 sed 's/^/| /' conftest.$ac_ext >&5
24741
24742 wx_cv_lib_stl=no
24743
24744 fi
24745
24746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24747
24748 fi
24749 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24750 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24751
24752 if test "$wx_cv_lib_stl" != yes; then
24753 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24754 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24755 { (exit 1); exit 1; }; }
24756 fi
24757
24758 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24759 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24760 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24761 echo $ECHO_N "(cached) $ECHO_C" >&6
24762 else
24763 cat >conftest.$ac_ext <<_ACEOF
24764 /* confdefs.h. */
24765 _ACEOF
24766 cat confdefs.h >>conftest.$ac_ext
24767 cat >>conftest.$ac_ext <<_ACEOF
24768 /* end confdefs.h. */
24769 #include <string>
24770 int
24771 main ()
24772 {
24773 std::string foo, bar;
24774 foo.compare(bar);
24775 foo.compare(1, 1, bar);
24776 foo.compare(1, 1, bar, 1, 1);
24777 foo.compare("");
24778 foo.compare(1, 1, "");
24779 foo.compare(1, 1, "", 2);
24780 ;
24781 return 0;
24782 }
24783 _ACEOF
24784 rm -f conftest.$ac_objext
24785 if { (ac_try="$ac_compile"
24786 case "(($ac_try" in
24787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24788 *) ac_try_echo=$ac_try;;
24789 esac
24790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24791 (eval "$ac_compile") 2>conftest.er1
24792 ac_status=$?
24793 grep -v '^ *+' conftest.er1 >conftest.err
24794 rm -f conftest.er1
24795 cat conftest.err >&5
24796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24797 (exit $ac_status); } && {
24798 test -z "$ac_cxx_werror_flag" ||
24799 test ! -s conftest.err
24800 } && test -s conftest.$ac_objext; then
24801 wx_cv_func_stdstring_compare=yes
24802 else
24803 echo "$as_me: failed program was:" >&5
24804 sed 's/^/| /' conftest.$ac_ext >&5
24805
24806 wx_cv_func_stdstring_compare=no
24807
24808 fi
24809
24810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24811
24812 fi
24813 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24814 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24815
24816 if test "$wx_cv_func_stdstring_compare" = yes; then
24817 cat >>confdefs.h <<\_ACEOF
24818 #define HAVE_STD_STRING_COMPARE 1
24819 _ACEOF
24820
24821 fi
24822
24823 if test "$wx_cv_class_gnuhashmapset" = yes; then
24824 cat >>confdefs.h <<\_ACEOF
24825 #define HAVE_EXT_HASH_MAP 1
24826 _ACEOF
24827
24828 cat >>confdefs.h <<\_ACEOF
24829 #define HAVE_GNU_CXX_HASH_MAP 1
24830 _ACEOF
24831
24832 fi
24833
24834 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24835 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24836 if test "${ac_cv_header_unordered_map+set}" = set; then
24837 echo $ECHO_N "(cached) $ECHO_C" >&6
24838 else
24839 cat >conftest.$ac_ext <<_ACEOF
24840 /* confdefs.h. */
24841 _ACEOF
24842 cat confdefs.h >>conftest.$ac_ext
24843 cat >>conftest.$ac_ext <<_ACEOF
24844 /* end confdefs.h. */
24845
24846
24847
24848 #include <unordered_map>
24849 _ACEOF
24850 rm -f conftest.$ac_objext
24851 if { (ac_try="$ac_compile"
24852 case "(($ac_try" in
24853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24854 *) ac_try_echo=$ac_try;;
24855 esac
24856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24857 (eval "$ac_compile") 2>conftest.er1
24858 ac_status=$?
24859 grep -v '^ *+' conftest.er1 >conftest.err
24860 rm -f conftest.er1
24861 cat conftest.err >&5
24862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24863 (exit $ac_status); } && {
24864 test -z "$ac_cxx_werror_flag" ||
24865 test ! -s conftest.err
24866 } && test -s conftest.$ac_objext; then
24867 ac_cv_header_unordered_map=yes
24868 else
24869 echo "$as_me: failed program was:" >&5
24870 sed 's/^/| /' conftest.$ac_ext >&5
24871
24872 ac_cv_header_unordered_map=no
24873 fi
24874
24875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24876 fi
24877 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24878 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24879 if test $ac_cv_header_unordered_map = yes; then
24880 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24881 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24882 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24883 echo $ECHO_N "(cached) $ECHO_C" >&6
24884 else
24885 cat >conftest.$ac_ext <<_ACEOF
24886 /* confdefs.h. */
24887 _ACEOF
24888 cat confdefs.h >>conftest.$ac_ext
24889 cat >>conftest.$ac_ext <<_ACEOF
24890 /* end confdefs.h. */
24891 #include <unordered_map>
24892 #include <unordered_set>
24893 int
24894 main ()
24895 {
24896 std::unordered_map<double*, char*> test1;
24897 std::unordered_set<char*> test2;
24898 ;
24899 return 0;
24900 }
24901 _ACEOF
24902 rm -f conftest.$ac_objext
24903 if { (ac_try="$ac_compile"
24904 case "(($ac_try" in
24905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24906 *) ac_try_echo=$ac_try;;
24907 esac
24908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24909 (eval "$ac_compile") 2>conftest.er1
24910 ac_status=$?
24911 grep -v '^ *+' conftest.er1 >conftest.err
24912 rm -f conftest.er1
24913 cat conftest.err >&5
24914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24915 (exit $ac_status); } && {
24916 test -z "$ac_cxx_werror_flag" ||
24917 test ! -s conftest.err
24918 } && test -s conftest.$ac_objext; then
24919 wx_cv_class_stdunorderedmapset=yes
24920 else
24921 echo "$as_me: failed program was:" >&5
24922 sed 's/^/| /' conftest.$ac_ext >&5
24923
24924 wx_cv_class_stdunorderedmapset=no
24925 fi
24926
24927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24928
24929
24930 fi
24931 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24932 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24933 fi
24934
24935
24936
24937 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24938 cat >>confdefs.h <<\_ACEOF
24939 #define HAVE_STD_UNORDERED_MAP 1
24940 _ACEOF
24941
24942 cat >>confdefs.h <<\_ACEOF
24943 #define HAVE_STD_UNORDERED_SET 1
24944 _ACEOF
24945
24946 else
24947 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24948 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24949 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24950 echo $ECHO_N "(cached) $ECHO_C" >&6
24951 else
24952 cat >conftest.$ac_ext <<_ACEOF
24953 /* confdefs.h. */
24954 _ACEOF
24955 cat confdefs.h >>conftest.$ac_ext
24956 cat >>conftest.$ac_ext <<_ACEOF
24957 /* end confdefs.h. */
24958
24959
24960
24961 #include <tr1/unordered_map>
24962 _ACEOF
24963 rm -f conftest.$ac_objext
24964 if { (ac_try="$ac_compile"
24965 case "(($ac_try" in
24966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24967 *) ac_try_echo=$ac_try;;
24968 esac
24969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24970 (eval "$ac_compile") 2>conftest.er1
24971 ac_status=$?
24972 grep -v '^ *+' conftest.er1 >conftest.err
24973 rm -f conftest.er1
24974 cat conftest.err >&5
24975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24976 (exit $ac_status); } && {
24977 test -z "$ac_cxx_werror_flag" ||
24978 test ! -s conftest.err
24979 } && test -s conftest.$ac_objext; then
24980 ac_cv_header_tr1_unordered_map=yes
24981 else
24982 echo "$as_me: failed program was:" >&5
24983 sed 's/^/| /' conftest.$ac_ext >&5
24984
24985 ac_cv_header_tr1_unordered_map=no
24986 fi
24987
24988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24989 fi
24990 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
24991 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
24992 if test $ac_cv_header_tr1_unordered_map = yes; then
24993 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
24994 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
24995 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
24996 echo $ECHO_N "(cached) $ECHO_C" >&6
24997 else
24998 cat >conftest.$ac_ext <<_ACEOF
24999 /* confdefs.h. */
25000 _ACEOF
25001 cat confdefs.h >>conftest.$ac_ext
25002 cat >>conftest.$ac_ext <<_ACEOF
25003 /* end confdefs.h. */
25004 #include <tr1/unordered_map>
25005 #include <tr1/unordered_set>
25006 int
25007 main ()
25008 {
25009 std::tr1::unordered_map<double*, char*> test1;
25010 std::tr1::unordered_set<char*> test2;
25011 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25012 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25013 #endif
25014 ;
25015 return 0;
25016 }
25017 _ACEOF
25018 rm -f conftest.$ac_objext
25019 if { (ac_try="$ac_compile"
25020 case "(($ac_try" in
25021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25022 *) ac_try_echo=$ac_try;;
25023 esac
25024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25025 (eval "$ac_compile") 2>conftest.er1
25026 ac_status=$?
25027 grep -v '^ *+' conftest.er1 >conftest.err
25028 rm -f conftest.er1
25029 cat conftest.err >&5
25030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25031 (exit $ac_status); } && {
25032 test -z "$ac_cxx_werror_flag" ||
25033 test ! -s conftest.err
25034 } && test -s conftest.$ac_objext; then
25035 wx_cv_class_tr1unorderedmapset=yes
25036 else
25037 echo "$as_me: failed program was:" >&5
25038 sed 's/^/| /' conftest.$ac_ext >&5
25039
25040 wx_cv_class_tr1unorderedmapset=no
25041 fi
25042
25043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25044
25045
25046 fi
25047 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25048 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25049 fi
25050
25051
25052
25053 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25054 cat >>confdefs.h <<\_ACEOF
25055 #define HAVE_TR1_UNORDERED_MAP 1
25056 _ACEOF
25057
25058 cat >>confdefs.h <<\_ACEOF
25059 #define HAVE_TR1_UNORDERED_SET 1
25060 _ACEOF
25061
25062 else
25063 { echo "$as_me:$LINENO: checking for hash_map" >&5
25064 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25065 if test "${ac_cv_header_hash_map+set}" = set; then
25066 echo $ECHO_N "(cached) $ECHO_C" >&6
25067 else
25068 cat >conftest.$ac_ext <<_ACEOF
25069 /* confdefs.h. */
25070 _ACEOF
25071 cat confdefs.h >>conftest.$ac_ext
25072 cat >>conftest.$ac_ext <<_ACEOF
25073 /* end confdefs.h. */
25074
25075
25076
25077 #include <hash_map>
25078 _ACEOF
25079 rm -f conftest.$ac_objext
25080 if { (ac_try="$ac_compile"
25081 case "(($ac_try" in
25082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25083 *) ac_try_echo=$ac_try;;
25084 esac
25085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25086 (eval "$ac_compile") 2>conftest.er1
25087 ac_status=$?
25088 grep -v '^ *+' conftest.er1 >conftest.err
25089 rm -f conftest.er1
25090 cat conftest.err >&5
25091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25092 (exit $ac_status); } && {
25093 test -z "$ac_cxx_werror_flag" ||
25094 test ! -s conftest.err
25095 } && test -s conftest.$ac_objext; then
25096 ac_cv_header_hash_map=yes
25097 else
25098 echo "$as_me: failed program was:" >&5
25099 sed 's/^/| /' conftest.$ac_ext >&5
25100
25101 ac_cv_header_hash_map=no
25102 fi
25103
25104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25105 fi
25106 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25107 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25108 if test $ac_cv_header_hash_map = yes; then
25109 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25110 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25111 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25112 echo $ECHO_N "(cached) $ECHO_C" >&6
25113 else
25114 cat >conftest.$ac_ext <<_ACEOF
25115 /* confdefs.h. */
25116 _ACEOF
25117 cat confdefs.h >>conftest.$ac_ext
25118 cat >>conftest.$ac_ext <<_ACEOF
25119 /* end confdefs.h. */
25120 #include <hash_map>
25121 #include <hash_set>
25122 int
25123 main ()
25124 {
25125 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25126 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25127 ;
25128 return 0;
25129 }
25130 _ACEOF
25131 rm -f conftest.$ac_objext
25132 if { (ac_try="$ac_compile"
25133 case "(($ac_try" in
25134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25135 *) ac_try_echo=$ac_try;;
25136 esac
25137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25138 (eval "$ac_compile") 2>conftest.er1
25139 ac_status=$?
25140 grep -v '^ *+' conftest.er1 >conftest.err
25141 rm -f conftest.er1
25142 cat conftest.err >&5
25143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25144 (exit $ac_status); } && {
25145 test -z "$ac_cxx_werror_flag" ||
25146 test ! -s conftest.err
25147 } && test -s conftest.$ac_objext; then
25148 wx_cv_class_stdhashmapset=yes
25149 else
25150 echo "$as_me: failed program was:" >&5
25151 sed 's/^/| /' conftest.$ac_ext >&5
25152
25153 wx_cv_class_stdhashmapset=no
25154 fi
25155
25156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25157
25158
25159 fi
25160 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25161 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25162 fi
25163
25164
25165
25166 if test "$wx_cv_class_stdhashmapset" = yes; then
25167 cat >>confdefs.h <<\_ACEOF
25168 #define HAVE_HASH_MAP 1
25169 _ACEOF
25170
25171 cat >>confdefs.h <<\_ACEOF
25172 #define HAVE_STD_HASH_MAP 1
25173 _ACEOF
25174
25175 fi
25176
25177 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25178 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25179 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25180 echo $ECHO_N "(cached) $ECHO_C" >&6
25181 else
25182 cat >conftest.$ac_ext <<_ACEOF
25183 /* confdefs.h. */
25184 _ACEOF
25185 cat confdefs.h >>conftest.$ac_ext
25186 cat >>conftest.$ac_ext <<_ACEOF
25187 /* end confdefs.h. */
25188
25189
25190
25191 #include <ext/hash_map>
25192 _ACEOF
25193 rm -f conftest.$ac_objext
25194 if { (ac_try="$ac_compile"
25195 case "(($ac_try" in
25196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25197 *) ac_try_echo=$ac_try;;
25198 esac
25199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25200 (eval "$ac_compile") 2>conftest.er1
25201 ac_status=$?
25202 grep -v '^ *+' conftest.er1 >conftest.err
25203 rm -f conftest.er1
25204 cat conftest.err >&5
25205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25206 (exit $ac_status); } && {
25207 test -z "$ac_cxx_werror_flag" ||
25208 test ! -s conftest.err
25209 } && test -s conftest.$ac_objext; then
25210 ac_cv_header_ext_hash_map=yes
25211 else
25212 echo "$as_me: failed program was:" >&5
25213 sed 's/^/| /' conftest.$ac_ext >&5
25214
25215 ac_cv_header_ext_hash_map=no
25216 fi
25217
25218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25219 fi
25220 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25221 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25222 if test $ac_cv_header_ext_hash_map = yes; then
25223 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25224 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25225 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25226 echo $ECHO_N "(cached) $ECHO_C" >&6
25227 else
25228 cat >conftest.$ac_ext <<_ACEOF
25229 /* confdefs.h. */
25230 _ACEOF
25231 cat confdefs.h >>conftest.$ac_ext
25232 cat >>conftest.$ac_ext <<_ACEOF
25233 /* end confdefs.h. */
25234 #include <ext/hash_map>
25235 #include <ext/hash_set>
25236 int
25237 main ()
25238 {
25239 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25240 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25241 ;
25242 return 0;
25243 }
25244 _ACEOF
25245 rm -f conftest.$ac_objext
25246 if { (ac_try="$ac_compile"
25247 case "(($ac_try" in
25248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25249 *) ac_try_echo=$ac_try;;
25250 esac
25251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25252 (eval "$ac_compile") 2>conftest.er1
25253 ac_status=$?
25254 grep -v '^ *+' conftest.er1 >conftest.err
25255 rm -f conftest.er1
25256 cat conftest.err >&5
25257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25258 (exit $ac_status); } && {
25259 test -z "$ac_cxx_werror_flag" ||
25260 test ! -s conftest.err
25261 } && test -s conftest.$ac_objext; then
25262 wx_cv_class_gnuhashmapset=yes
25263 else
25264 echo "$as_me: failed program was:" >&5
25265 sed 's/^/| /' conftest.$ac_ext >&5
25266
25267 wx_cv_class_gnuhashmapset=no
25268 fi
25269
25270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25271
25272
25273 fi
25274 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25275 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25276 fi
25277
25278
25279
25280 fi
25281 fi
25282 fi
25283
25284
25285
25286 if test -n "$GCC"; then
25287 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25288 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25289 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25290 echo $ECHO_N "(cached) $ECHO_C" >&6
25291 else
25292
25293 cat >conftest.$ac_ext <<_ACEOF
25294 /* confdefs.h. */
25295 _ACEOF
25296 cat confdefs.h >>conftest.$ac_ext
25297 cat >>conftest.$ac_ext <<_ACEOF
25298 /* end confdefs.h. */
25299
25300 int
25301 main ()
25302 {
25303
25304 unsigned int value=0;
25305 /* wxAtomicInc doesn't use return value here */
25306 __sync_fetch_and_add(&value, 2);
25307 __sync_sub_and_fetch(&value, 1);
25308 /* but wxAtomicDec does, so mimic that: */
25309 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25310
25311 ;
25312 return 0;
25313 }
25314 _ACEOF
25315 rm -f conftest.$ac_objext conftest$ac_exeext
25316 if { (ac_try="$ac_link"
25317 case "(($ac_try" in
25318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25319 *) ac_try_echo=$ac_try;;
25320 esac
25321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25322 (eval "$ac_link") 2>conftest.er1
25323 ac_status=$?
25324 grep -v '^ *+' conftest.er1 >conftest.err
25325 rm -f conftest.er1
25326 cat conftest.err >&5
25327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25328 (exit $ac_status); } && {
25329 test -z "$ac_cxx_werror_flag" ||
25330 test ! -s conftest.err
25331 } && test -s conftest$ac_exeext &&
25332 $as_test_x conftest$ac_exeext; then
25333 wx_cv_cc_gcc_atomic_builtins=yes
25334 else
25335 echo "$as_me: failed program was:" >&5
25336 sed 's/^/| /' conftest.$ac_ext >&5
25337
25338 wx_cv_cc_gcc_atomic_builtins=no
25339 fi
25340
25341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25342 conftest$ac_exeext conftest.$ac_ext
25343
25344 fi
25345
25346 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25347 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25348 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25349 cat >>confdefs.h <<\_ACEOF
25350 #define HAVE_GCC_ATOMIC_BUILTINS 1
25351 _ACEOF
25352
25353 fi
25354 fi
25355
25356
25357 ac_ext=c
25358 ac_cpp='$CPP $CPPFLAGS'
25359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25362
25363
25364
25365 SEARCH_INCLUDE="\
25366 /usr/local/include \
25367 /usr/local/X11/include \
25368 /usr/local/include/X11 \
25369 /usr/local/X11R6/include \
25370 /usr/local/include/X11R6 \
25371 \
25372 /usr/Motif-2.1/include \
25373 /usr/Motif-1.2/include \
25374 /usr/include/Motif1.2 \
25375 \
25376 /usr/dt/include \
25377 /usr/openwin/include \
25378 \
25379 /usr/include/Xm \
25380 \
25381 /usr/X11R6/include \
25382 /usr/X11R6.4/include \
25383 \
25384 /usr/include/X11R6 \
25385 \
25386 /usr/X11/include \
25387 /usr/include/X11 \
25388 \
25389 /usr/XFree86/include/X11 \
25390 /usr/pkg/include \
25391 \
25392 /usr/local/X1R5/include \
25393 /usr/local/include/X11R5 \
25394 /usr/X11R5/include \
25395 /usr/include/X11R5 \
25396 \
25397 /usr/local/X11R4/include \
25398 /usr/local/include/X11R4 \
25399 /usr/X11R4/include \
25400 /usr/include/X11R4 \
25401 \
25402 /usr/openwin/share/include"
25403
25404 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25405 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25406
25407 case "${host}" in
25408 *-*-irix6* )
25409 if test "${wx_cv_std_libpath+set}" = set; then
25410 echo $ECHO_N "(cached) $ECHO_C" >&6
25411 else
25412
25413 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25414 for e in a so sl dylib dll.a; do
25415 libc="$d/libc.$e"
25416 if test -f $libc; then
25417 save_LIBS="$LIBS"
25418 LIBS="$libc"
25419 cat >conftest.$ac_ext <<_ACEOF
25420 int main() { return 0; }
25421 _ACEOF
25422 rm -f conftest.$ac_objext conftest$ac_exeext
25423 if { (ac_try="$ac_link"
25424 case "(($ac_try" in
25425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25426 *) ac_try_echo=$ac_try;;
25427 esac
25428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25429 (eval "$ac_link") 2>conftest.er1
25430 ac_status=$?
25431 grep -v '^ *+' conftest.er1 >conftest.err
25432 rm -f conftest.er1
25433 cat conftest.err >&5
25434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25435 (exit $ac_status); } && {
25436 test -z "$ac_c_werror_flag" ||
25437 test ! -s conftest.err
25438 } && test -s conftest$ac_exeext &&
25439 $as_test_x conftest$ac_exeext; then
25440 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25441 else
25442 echo "$as_me: failed program was:" >&5
25443 sed 's/^/| /' conftest.$ac_ext >&5
25444
25445
25446 fi
25447
25448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25449 conftest$ac_exeext conftest.$ac_ext
25450 LIBS="$save_LIBS"
25451 if test "x$wx_cv_std_libpath" != "x"; then
25452 break 2
25453 fi
25454 fi
25455 done
25456 done
25457 if test "x$wx_cv_std_libpath" = "x"; then
25458 wx_cv_std_libpath="lib"
25459 fi
25460
25461
25462 fi
25463
25464 ;;
25465
25466 *-*-solaris2* )
25467 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25468 wx_cv_std_libpath="lib/64"
25469 else
25470 wx_cv_std_libpath="lib"
25471 fi
25472 ;;
25473
25474 *-*-linux* )
25475 if test "$ac_cv_sizeof_void_p" = 8 -a \
25476 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25477 wx_cv_std_libpath="lib64"
25478 else
25479 wx_cv_std_libpath="lib"
25480 fi
25481 ;;
25482
25483 *)
25484 wx_cv_std_libpath="lib";
25485 ;;
25486 esac
25487
25488 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25489 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25490
25491 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25492
25493 if test "$build" != "$host" -a "$GCC" = yes; then
25494 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25495 cross_root=`dirname $cross_root`
25496 cross_root=`dirname $cross_root`
25497
25498 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25499 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25500 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25501
25502 if test -z "$PKG_CONFIG_PATH"; then
25503 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25504 export PKG_CONFIG_PATH
25505 fi
25506
25507 if test -z "$x_includes" -o "$x_includes" = NONE; then
25508
25509 ac_find_includes=
25510 for ac_dir in $SEARCH_INCLUDE /usr/include;
25511 do
25512 if test -f "$ac_dir/X11/Intrinsic.h"; then
25513 ac_find_includes=$ac_dir
25514 break
25515 fi
25516 done
25517
25518 x_includes=$ac_find_includes
25519 fi
25520 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25521
25522 ac_find_libraries=
25523 for ac_dir in $SEARCH_LIB;
25524 do
25525 for ac_extension in a so sl dylib dll.a; do
25526 if test -f "$ac_dir/libXt.$ac_extension"; then
25527 ac_find_libraries=$ac_dir
25528 break 2
25529 fi
25530 done
25531 done
25532
25533 x_libraries=$ac_find_libraries
25534 fi
25535 fi
25536 fi
25537
25538
25539 cat >confcache <<\_ACEOF
25540 # This file is a shell script that caches the results of configure
25541 # tests run on this system so they can be shared between configure
25542 # scripts and configure runs, see configure's option --config-cache.
25543 # It is not useful on other systems. If it contains results you don't
25544 # want to keep, you may remove or edit it.
25545 #
25546 # config.status only pays attention to the cache file if you give it
25547 # the --recheck option to rerun configure.
25548 #
25549 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25550 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25551 # following values.
25552
25553 _ACEOF
25554
25555 # The following way of writing the cache mishandles newlines in values,
25556 # but we know of no workaround that is simple, portable, and efficient.
25557 # So, we kill variables containing newlines.
25558 # Ultrix sh set writes to stderr and can't be redirected directly,
25559 # and sets the high bit in the cache file unless we assign to the vars.
25560 (
25561 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25562 eval ac_val=\$$ac_var
25563 case $ac_val in #(
25564 *${as_nl}*)
25565 case $ac_var in #(
25566 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25567 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25568 esac
25569 case $ac_var in #(
25570 _ | IFS | as_nl) ;; #(
25571 *) $as_unset $ac_var ;;
25572 esac ;;
25573 esac
25574 done
25575
25576 (set) 2>&1 |
25577 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25578 *${as_nl}ac_space=\ *)
25579 # `set' does not quote correctly, so add quotes (double-quote
25580 # substitution turns \\\\ into \\, and sed turns \\ into \).
25581 sed -n \
25582 "s/'/'\\\\''/g;
25583 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25584 ;; #(
25585 *)
25586 # `set' quotes correctly as required by POSIX, so do not add quotes.
25587 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25588 ;;
25589 esac |
25590 sort
25591 ) |
25592 sed '
25593 /^ac_cv_env_/b end
25594 t clear
25595 :clear
25596 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25597 t end
25598 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25599 :end' >>confcache
25600 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25601 if test -w "$cache_file"; then
25602 test "x$cache_file" != "x/dev/null" &&
25603 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25604 echo "$as_me: updating cache $cache_file" >&6;}
25605 cat confcache >$cache_file
25606 else
25607 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25608 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25609 fi
25610 fi
25611 rm -f confcache
25612
25613 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25614 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25615 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25616 if test "${wx_cv_lib_glibc21+set}" = set; then
25617 echo $ECHO_N "(cached) $ECHO_C" >&6
25618 else
25619
25620 cat >conftest.$ac_ext <<_ACEOF
25621 /* confdefs.h. */
25622 _ACEOF
25623 cat confdefs.h >>conftest.$ac_ext
25624 cat >>conftest.$ac_ext <<_ACEOF
25625 /* end confdefs.h. */
25626 #include <features.h>
25627 int
25628 main ()
25629 {
25630
25631 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25632 not glibc 2.1
25633 #endif
25634
25635 ;
25636 return 0;
25637 }
25638 _ACEOF
25639 rm -f conftest.$ac_objext
25640 if { (ac_try="$ac_compile"
25641 case "(($ac_try" in
25642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25643 *) ac_try_echo=$ac_try;;
25644 esac
25645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25646 (eval "$ac_compile") 2>conftest.er1
25647 ac_status=$?
25648 grep -v '^ *+' conftest.er1 >conftest.err
25649 rm -f conftest.er1
25650 cat conftest.err >&5
25651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25652 (exit $ac_status); } && {
25653 test -z "$ac_c_werror_flag" ||
25654 test ! -s conftest.err
25655 } && test -s conftest.$ac_objext; then
25656
25657 wx_cv_lib_glibc21=yes
25658
25659 else
25660 echo "$as_me: failed program was:" >&5
25661 sed 's/^/| /' conftest.$ac_ext >&5
25662
25663
25664 wx_cv_lib_glibc21=no
25665
25666
25667 fi
25668
25669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25670
25671 fi
25672 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25673 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25674 if test "$wx_cv_lib_glibc21" = "yes"; then
25675 cat >>confdefs.h <<\_ACEOF
25676 #define wxHAVE_GLIBC2 1
25677 _ACEOF
25678
25679 fi
25680 fi
25681
25682 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25683 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25684 cat >>confdefs.h <<\_ACEOF
25685 #define _GNU_SOURCE 1
25686 _ACEOF
25687
25688 fi
25689 fi
25690
25691 have_cos=0
25692 have_floor=0
25693
25694 for ac_func in cos
25695 do
25696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25697 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25699 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25700 echo $ECHO_N "(cached) $ECHO_C" >&6
25701 else
25702 cat >conftest.$ac_ext <<_ACEOF
25703 /* confdefs.h. */
25704 _ACEOF
25705 cat confdefs.h >>conftest.$ac_ext
25706 cat >>conftest.$ac_ext <<_ACEOF
25707 /* end confdefs.h. */
25708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25710 #define $ac_func innocuous_$ac_func
25711
25712 /* System header to define __stub macros and hopefully few prototypes,
25713 which can conflict with char $ac_func (); below.
25714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25715 <limits.h> exists even on freestanding compilers. */
25716
25717 #ifdef __STDC__
25718 # include <limits.h>
25719 #else
25720 # include <assert.h>
25721 #endif
25722
25723 #undef $ac_func
25724
25725 /* Override any GCC internal prototype to avoid an error.
25726 Use char because int might match the return type of a GCC
25727 builtin and then its argument prototype would still apply. */
25728 #ifdef __cplusplus
25729 extern "C"
25730 #endif
25731 char $ac_func ();
25732 /* The GNU C library defines this for functions which it implements
25733 to always fail with ENOSYS. Some functions are actually named
25734 something starting with __ and the normal name is an alias. */
25735 #if defined __stub_$ac_func || defined __stub___$ac_func
25736 choke me
25737 #endif
25738
25739 int
25740 main ()
25741 {
25742 return $ac_func ();
25743 ;
25744 return 0;
25745 }
25746 _ACEOF
25747 rm -f conftest.$ac_objext conftest$ac_exeext
25748 if { (ac_try="$ac_link"
25749 case "(($ac_try" in
25750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25751 *) ac_try_echo=$ac_try;;
25752 esac
25753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25754 (eval "$ac_link") 2>conftest.er1
25755 ac_status=$?
25756 grep -v '^ *+' conftest.er1 >conftest.err
25757 rm -f conftest.er1
25758 cat conftest.err >&5
25759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25760 (exit $ac_status); } && {
25761 test -z "$ac_c_werror_flag" ||
25762 test ! -s conftest.err
25763 } && test -s conftest$ac_exeext &&
25764 $as_test_x conftest$ac_exeext; then
25765 eval "$as_ac_var=yes"
25766 else
25767 echo "$as_me: failed program was:" >&5
25768 sed 's/^/| /' conftest.$ac_ext >&5
25769
25770 eval "$as_ac_var=no"
25771 fi
25772
25773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25774 conftest$ac_exeext conftest.$ac_ext
25775 fi
25776 ac_res=`eval echo '${'$as_ac_var'}'`
25777 { echo "$as_me:$LINENO: result: $ac_res" >&5
25778 echo "${ECHO_T}$ac_res" >&6; }
25779 if test `eval echo '${'$as_ac_var'}'` = yes; then
25780 cat >>confdefs.h <<_ACEOF
25781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25782 _ACEOF
25783 have_cos=1
25784 fi
25785 done
25786
25787
25788 for ac_func in floor
25789 do
25790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25791 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25793 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25794 echo $ECHO_N "(cached) $ECHO_C" >&6
25795 else
25796 cat >conftest.$ac_ext <<_ACEOF
25797 /* confdefs.h. */
25798 _ACEOF
25799 cat confdefs.h >>conftest.$ac_ext
25800 cat >>conftest.$ac_ext <<_ACEOF
25801 /* end confdefs.h. */
25802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25804 #define $ac_func innocuous_$ac_func
25805
25806 /* System header to define __stub macros and hopefully few prototypes,
25807 which can conflict with char $ac_func (); below.
25808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25809 <limits.h> exists even on freestanding compilers. */
25810
25811 #ifdef __STDC__
25812 # include <limits.h>
25813 #else
25814 # include <assert.h>
25815 #endif
25816
25817 #undef $ac_func
25818
25819 /* Override any GCC internal prototype to avoid an error.
25820 Use char because int might match the return type of a GCC
25821 builtin and then its argument prototype would still apply. */
25822 #ifdef __cplusplus
25823 extern "C"
25824 #endif
25825 char $ac_func ();
25826 /* The GNU C library defines this for functions which it implements
25827 to always fail with ENOSYS. Some functions are actually named
25828 something starting with __ and the normal name is an alias. */
25829 #if defined __stub_$ac_func || defined __stub___$ac_func
25830 choke me
25831 #endif
25832
25833 int
25834 main ()
25835 {
25836 return $ac_func ();
25837 ;
25838 return 0;
25839 }
25840 _ACEOF
25841 rm -f conftest.$ac_objext conftest$ac_exeext
25842 if { (ac_try="$ac_link"
25843 case "(($ac_try" in
25844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25845 *) ac_try_echo=$ac_try;;
25846 esac
25847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25848 (eval "$ac_link") 2>conftest.er1
25849 ac_status=$?
25850 grep -v '^ *+' conftest.er1 >conftest.err
25851 rm -f conftest.er1
25852 cat conftest.err >&5
25853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25854 (exit $ac_status); } && {
25855 test -z "$ac_c_werror_flag" ||
25856 test ! -s conftest.err
25857 } && test -s conftest$ac_exeext &&
25858 $as_test_x conftest$ac_exeext; then
25859 eval "$as_ac_var=yes"
25860 else
25861 echo "$as_me: failed program was:" >&5
25862 sed 's/^/| /' conftest.$ac_ext >&5
25863
25864 eval "$as_ac_var=no"
25865 fi
25866
25867 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25868 conftest$ac_exeext conftest.$ac_ext
25869 fi
25870 ac_res=`eval echo '${'$as_ac_var'}'`
25871 { echo "$as_me:$LINENO: result: $ac_res" >&5
25872 echo "${ECHO_T}$ac_res" >&6; }
25873 if test `eval echo '${'$as_ac_var'}'` = yes; then
25874 cat >>confdefs.h <<_ACEOF
25875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25876 _ACEOF
25877 have_floor=1
25878 fi
25879 done
25880
25881 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25882 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25883 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25884 { echo "$as_me:$LINENO: result: yes" >&5
25885 echo "${ECHO_T}yes" >&6; }
25886 else
25887 { echo "$as_me:$LINENO: result: no" >&5
25888 echo "${ECHO_T}no" >&6; }
25889 LIBS="$LIBS -lm"
25890 # use different functions to avoid configure caching
25891 have_sin=0
25892 have_ceil=0
25893
25894 for ac_func in sin
25895 do
25896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25897 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25899 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25900 echo $ECHO_N "(cached) $ECHO_C" >&6
25901 else
25902 cat >conftest.$ac_ext <<_ACEOF
25903 /* confdefs.h. */
25904 _ACEOF
25905 cat confdefs.h >>conftest.$ac_ext
25906 cat >>conftest.$ac_ext <<_ACEOF
25907 /* end confdefs.h. */
25908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25910 #define $ac_func innocuous_$ac_func
25911
25912 /* System header to define __stub macros and hopefully few prototypes,
25913 which can conflict with char $ac_func (); below.
25914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25915 <limits.h> exists even on freestanding compilers. */
25916
25917 #ifdef __STDC__
25918 # include <limits.h>
25919 #else
25920 # include <assert.h>
25921 #endif
25922
25923 #undef $ac_func
25924
25925 /* Override any GCC internal prototype to avoid an error.
25926 Use char because int might match the return type of a GCC
25927 builtin and then its argument prototype would still apply. */
25928 #ifdef __cplusplus
25929 extern "C"
25930 #endif
25931 char $ac_func ();
25932 /* The GNU C library defines this for functions which it implements
25933 to always fail with ENOSYS. Some functions are actually named
25934 something starting with __ and the normal name is an alias. */
25935 #if defined __stub_$ac_func || defined __stub___$ac_func
25936 choke me
25937 #endif
25938
25939 int
25940 main ()
25941 {
25942 return $ac_func ();
25943 ;
25944 return 0;
25945 }
25946 _ACEOF
25947 rm -f conftest.$ac_objext conftest$ac_exeext
25948 if { (ac_try="$ac_link"
25949 case "(($ac_try" in
25950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25951 *) ac_try_echo=$ac_try;;
25952 esac
25953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25954 (eval "$ac_link") 2>conftest.er1
25955 ac_status=$?
25956 grep -v '^ *+' conftest.er1 >conftest.err
25957 rm -f conftest.er1
25958 cat conftest.err >&5
25959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25960 (exit $ac_status); } && {
25961 test -z "$ac_c_werror_flag" ||
25962 test ! -s conftest.err
25963 } && test -s conftest$ac_exeext &&
25964 $as_test_x conftest$ac_exeext; then
25965 eval "$as_ac_var=yes"
25966 else
25967 echo "$as_me: failed program was:" >&5
25968 sed 's/^/| /' conftest.$ac_ext >&5
25969
25970 eval "$as_ac_var=no"
25971 fi
25972
25973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25974 conftest$ac_exeext conftest.$ac_ext
25975 fi
25976 ac_res=`eval echo '${'$as_ac_var'}'`
25977 { echo "$as_me:$LINENO: result: $ac_res" >&5
25978 echo "${ECHO_T}$ac_res" >&6; }
25979 if test `eval echo '${'$as_ac_var'}'` = yes; then
25980 cat >>confdefs.h <<_ACEOF
25981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25982 _ACEOF
25983 have_sin=1
25984 fi
25985 done
25986
25987
25988 for ac_func in ceil
25989 do
25990 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25991 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25993 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25994 echo $ECHO_N "(cached) $ECHO_C" >&6
25995 else
25996 cat >conftest.$ac_ext <<_ACEOF
25997 /* confdefs.h. */
25998 _ACEOF
25999 cat confdefs.h >>conftest.$ac_ext
26000 cat >>conftest.$ac_ext <<_ACEOF
26001 /* end confdefs.h. */
26002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26004 #define $ac_func innocuous_$ac_func
26005
26006 /* System header to define __stub macros and hopefully few prototypes,
26007 which can conflict with char $ac_func (); below.
26008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26009 <limits.h> exists even on freestanding compilers. */
26010
26011 #ifdef __STDC__
26012 # include <limits.h>
26013 #else
26014 # include <assert.h>
26015 #endif
26016
26017 #undef $ac_func
26018
26019 /* Override any GCC internal prototype to avoid an error.
26020 Use char because int might match the return type of a GCC
26021 builtin and then its argument prototype would still apply. */
26022 #ifdef __cplusplus
26023 extern "C"
26024 #endif
26025 char $ac_func ();
26026 /* The GNU C library defines this for functions which it implements
26027 to always fail with ENOSYS. Some functions are actually named
26028 something starting with __ and the normal name is an alias. */
26029 #if defined __stub_$ac_func || defined __stub___$ac_func
26030 choke me
26031 #endif
26032
26033 int
26034 main ()
26035 {
26036 return $ac_func ();
26037 ;
26038 return 0;
26039 }
26040 _ACEOF
26041 rm -f conftest.$ac_objext conftest$ac_exeext
26042 if { (ac_try="$ac_link"
26043 case "(($ac_try" in
26044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26045 *) ac_try_echo=$ac_try;;
26046 esac
26047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26048 (eval "$ac_link") 2>conftest.er1
26049 ac_status=$?
26050 grep -v '^ *+' conftest.er1 >conftest.err
26051 rm -f conftest.er1
26052 cat conftest.err >&5
26053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26054 (exit $ac_status); } && {
26055 test -z "$ac_c_werror_flag" ||
26056 test ! -s conftest.err
26057 } && test -s conftest$ac_exeext &&
26058 $as_test_x conftest$ac_exeext; then
26059 eval "$as_ac_var=yes"
26060 else
26061 echo "$as_me: failed program was:" >&5
26062 sed 's/^/| /' conftest.$ac_ext >&5
26063
26064 eval "$as_ac_var=no"
26065 fi
26066
26067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26068 conftest$ac_exeext conftest.$ac_ext
26069 fi
26070 ac_res=`eval echo '${'$as_ac_var'}'`
26071 { echo "$as_me:$LINENO: result: $ac_res" >&5
26072 echo "${ECHO_T}$ac_res" >&6; }
26073 if test `eval echo '${'$as_ac_var'}'` = yes; then
26074 cat >>confdefs.h <<_ACEOF
26075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26076 _ACEOF
26077 have_ceil=1
26078 fi
26079 done
26080
26081 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26082 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26083 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26084 { echo "$as_me:$LINENO: result: yes" >&5
26085 echo "${ECHO_T}yes" >&6; }
26086 else
26087 { echo "$as_me:$LINENO: result: no" >&5
26088 echo "${ECHO_T}no" >&6; }
26089 # not sure we should warn the user, crash, etc.
26090 fi
26091 fi
26092
26093 ac_ext=cpp
26094 ac_cpp='$CXXCPP $CPPFLAGS'
26095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26098
26099 if test "wxUSE_UNICODE" = "yes"; then
26100
26101 for wx_func in wcstoull
26102 do
26103 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26104 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26105 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26106 echo $ECHO_N "(cached) $ECHO_C" >&6
26107 else
26108
26109 cat >conftest.$ac_ext <<_ACEOF
26110
26111 /* confdefs.h. */
26112 _ACEOF
26113 cat confdefs.h >>conftest.$ac_ext
26114 cat >>conftest.$ac_ext <<_ACEOF
26115 /* end confdefs.h. */
26116
26117
26118 $ac_includes_default
26119
26120 int
26121 main ()
26122 {
26123
26124 #ifndef $wx_func
26125 &$wx_func;
26126 #endif
26127
26128
26129 ;
26130 return 0;
26131 }
26132
26133 _ACEOF
26134 rm -f conftest.$ac_objext conftest$ac_exeext
26135 if { (ac_try="$ac_link"
26136 case "(($ac_try" in
26137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26138 *) ac_try_echo=$ac_try;;
26139 esac
26140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26141 (eval "$ac_link") 2>conftest.er1
26142 ac_status=$?
26143 grep -v '^ *+' conftest.er1 >conftest.err
26144 rm -f conftest.er1
26145 cat conftest.err >&5
26146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26147 (exit $ac_status); } && {
26148 test -z "$ac_cxx_werror_flag" ||
26149 test ! -s conftest.err
26150 } && test -s conftest$ac_exeext &&
26151 $as_test_x conftest$ac_exeext; then
26152 eval wx_cv_func_$wx_func=yes
26153 else
26154 echo "$as_me: failed program was:" >&5
26155 sed 's/^/| /' conftest.$ac_ext >&5
26156
26157 eval wx_cv_func_$wx_func=no
26158 fi
26159
26160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26161 conftest$ac_exeext conftest.$ac_ext
26162
26163 fi
26164 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26165 { echo "$as_me:$LINENO: result: $ac_res" >&5
26166 echo "${ECHO_T}$ac_res" >&6; }
26167
26168 if eval test \$wx_cv_func_$wx_func = yes
26169 then
26170 cat >>confdefs.h <<_ACEOF
26171 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26172 _ACEOF
26173
26174
26175 else
26176 :
26177
26178 fi
26179 done
26180
26181 else
26182
26183 for wx_func in strtoull
26184 do
26185 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26186 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26187 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26188 echo $ECHO_N "(cached) $ECHO_C" >&6
26189 else
26190
26191 cat >conftest.$ac_ext <<_ACEOF
26192
26193 /* confdefs.h. */
26194 _ACEOF
26195 cat confdefs.h >>conftest.$ac_ext
26196 cat >>conftest.$ac_ext <<_ACEOF
26197 /* end confdefs.h. */
26198
26199
26200 $ac_includes_default
26201
26202 int
26203 main ()
26204 {
26205
26206 #ifndef $wx_func
26207 &$wx_func;
26208 #endif
26209
26210
26211 ;
26212 return 0;
26213 }
26214
26215 _ACEOF
26216 rm -f conftest.$ac_objext conftest$ac_exeext
26217 if { (ac_try="$ac_link"
26218 case "(($ac_try" in
26219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26220 *) ac_try_echo=$ac_try;;
26221 esac
26222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26223 (eval "$ac_link") 2>conftest.er1
26224 ac_status=$?
26225 grep -v '^ *+' conftest.er1 >conftest.err
26226 rm -f conftest.er1
26227 cat conftest.err >&5
26228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26229 (exit $ac_status); } && {
26230 test -z "$ac_cxx_werror_flag" ||
26231 test ! -s conftest.err
26232 } && test -s conftest$ac_exeext &&
26233 $as_test_x conftest$ac_exeext; then
26234 eval wx_cv_func_$wx_func=yes
26235 else
26236 echo "$as_me: failed program was:" >&5
26237 sed 's/^/| /' conftest.$ac_ext >&5
26238
26239 eval wx_cv_func_$wx_func=no
26240 fi
26241
26242 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26243 conftest$ac_exeext conftest.$ac_ext
26244
26245 fi
26246 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26247 { echo "$as_me:$LINENO: result: $ac_res" >&5
26248 echo "${ECHO_T}$ac_res" >&6; }
26249
26250 if eval test \$wx_cv_func_$wx_func = yes
26251 then
26252 cat >>confdefs.h <<_ACEOF
26253 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26254 _ACEOF
26255
26256
26257 else
26258 :
26259
26260 fi
26261 done
26262
26263 fi
26264 ac_ext=c
26265 ac_cpp='$CPP $CPPFLAGS'
26266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26269
26270
26271
26272
26273 if test "$wxUSE_REGEX" != "no"; then
26274 cat >>confdefs.h <<\_ACEOF
26275 #define wxUSE_REGEX 1
26276 _ACEOF
26277
26278
26279 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26280 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26281 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26282 wxUSE_REGEX=builtin
26283 fi
26284
26285 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26286 { echo "$as_me:$LINENO: checking for regex.h" >&5
26287 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26288 if test "${ac_cv_header_regex_h+set}" = set; then
26289 echo $ECHO_N "(cached) $ECHO_C" >&6
26290 else
26291 cat >conftest.$ac_ext <<_ACEOF
26292 /* confdefs.h. */
26293 _ACEOF
26294 cat confdefs.h >>conftest.$ac_ext
26295 cat >>conftest.$ac_ext <<_ACEOF
26296 /* end confdefs.h. */
26297
26298
26299 #include <regex.h>
26300 _ACEOF
26301 rm -f conftest.$ac_objext
26302 if { (ac_try="$ac_compile"
26303 case "(($ac_try" in
26304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26305 *) ac_try_echo=$ac_try;;
26306 esac
26307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26308 (eval "$ac_compile") 2>conftest.er1
26309 ac_status=$?
26310 grep -v '^ *+' conftest.er1 >conftest.err
26311 rm -f conftest.er1
26312 cat conftest.err >&5
26313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26314 (exit $ac_status); } && {
26315 test -z "$ac_c_werror_flag" ||
26316 test ! -s conftest.err
26317 } && test -s conftest.$ac_objext; then
26318 ac_cv_header_regex_h=yes
26319 else
26320 echo "$as_me: failed program was:" >&5
26321 sed 's/^/| /' conftest.$ac_ext >&5
26322
26323 ac_cv_header_regex_h=no
26324 fi
26325
26326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26327 fi
26328 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26329 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26330 if test $ac_cv_header_regex_h = yes; then
26331
26332
26333 for ac_func in regcomp re_search
26334 do
26335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26336 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26338 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26339 echo $ECHO_N "(cached) $ECHO_C" >&6
26340 else
26341 cat >conftest.$ac_ext <<_ACEOF
26342 /* confdefs.h. */
26343 _ACEOF
26344 cat confdefs.h >>conftest.$ac_ext
26345 cat >>conftest.$ac_ext <<_ACEOF
26346 /* end confdefs.h. */
26347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26349 #define $ac_func innocuous_$ac_func
26350
26351 /* System header to define __stub macros and hopefully few prototypes,
26352 which can conflict with char $ac_func (); below.
26353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26354 <limits.h> exists even on freestanding compilers. */
26355
26356 #ifdef __STDC__
26357 # include <limits.h>
26358 #else
26359 # include <assert.h>
26360 #endif
26361
26362 #undef $ac_func
26363
26364 /* Override any GCC internal prototype to avoid an error.
26365 Use char because int might match the return type of a GCC
26366 builtin and then its argument prototype would still apply. */
26367 #ifdef __cplusplus
26368 extern "C"
26369 #endif
26370 char $ac_func ();
26371 /* The GNU C library defines this for functions which it implements
26372 to always fail with ENOSYS. Some functions are actually named
26373 something starting with __ and the normal name is an alias. */
26374 #if defined __stub_$ac_func || defined __stub___$ac_func
26375 choke me
26376 #endif
26377
26378 int
26379 main ()
26380 {
26381 return $ac_func ();
26382 ;
26383 return 0;
26384 }
26385 _ACEOF
26386 rm -f conftest.$ac_objext conftest$ac_exeext
26387 if { (ac_try="$ac_link"
26388 case "(($ac_try" in
26389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26390 *) ac_try_echo=$ac_try;;
26391 esac
26392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26393 (eval "$ac_link") 2>conftest.er1
26394 ac_status=$?
26395 grep -v '^ *+' conftest.er1 >conftest.err
26396 rm -f conftest.er1
26397 cat conftest.err >&5
26398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26399 (exit $ac_status); } && {
26400 test -z "$ac_c_werror_flag" ||
26401 test ! -s conftest.err
26402 } && test -s conftest$ac_exeext &&
26403 $as_test_x conftest$ac_exeext; then
26404 eval "$as_ac_var=yes"
26405 else
26406 echo "$as_me: failed program was:" >&5
26407 sed 's/^/| /' conftest.$ac_ext >&5
26408
26409 eval "$as_ac_var=no"
26410 fi
26411
26412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26413 conftest$ac_exeext conftest.$ac_ext
26414 fi
26415 ac_res=`eval echo '${'$as_ac_var'}'`
26416 { echo "$as_me:$LINENO: result: $ac_res" >&5
26417 echo "${ECHO_T}$ac_res" >&6; }
26418 if test `eval echo '${'$as_ac_var'}'` = yes; then
26419 cat >>confdefs.h <<_ACEOF
26420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26421 _ACEOF
26422
26423 fi
26424 done
26425
26426 fi
26427
26428
26429
26430 if test "x$ac_cv_func_regcomp" != "xyes"; then
26431 if test "$wxUSE_REGEX" = "sys" ; then
26432 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26433 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26434 { (exit 1); exit 1; }; }
26435 else
26436 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26437 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26438 wxUSE_REGEX=builtin
26439 fi
26440 else
26441 wxUSE_REGEX=sys
26442 cat >>confdefs.h <<\_ACEOF
26443 #define WX_NO_REGEX_ADVANCED 1
26444 _ACEOF
26445
26446 fi
26447 fi
26448 fi
26449
26450
26451 ZLIB_LINK=
26452 if test "$wxUSE_ZLIB" != "no" ; then
26453 cat >>confdefs.h <<\_ACEOF
26454 #define wxUSE_ZLIB 1
26455 _ACEOF
26456
26457
26458 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26459 if test "$USE_DARWIN" = 1; then
26460 system_zlib_h_ok="yes"
26461 else
26462 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26463 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26464 if test "${ac_cv_header_zlib_h+set}" = set; then
26465 echo $ECHO_N "(cached) $ECHO_C" >&6
26466 else
26467 if test "$cross_compiling" = yes; then
26468 unset ac_cv_header_zlib_h
26469
26470 else
26471 cat >conftest.$ac_ext <<_ACEOF
26472 /* confdefs.h. */
26473 _ACEOF
26474 cat confdefs.h >>conftest.$ac_ext
26475 cat >>conftest.$ac_ext <<_ACEOF
26476 /* end confdefs.h. */
26477
26478 #include <zlib.h>
26479 #include <stdio.h>
26480
26481 int main()
26482 {
26483 FILE *f=fopen("conftestval", "w");
26484 if (!f) exit(1);
26485 fprintf(f, "%s",
26486 ZLIB_VERSION[0] == '1' &&
26487 (ZLIB_VERSION[2] > '1' ||
26488 (ZLIB_VERSION[2] == '1' &&
26489 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26490 exit(0);
26491 }
26492
26493 _ACEOF
26494 rm -f conftest$ac_exeext
26495 if { (ac_try="$ac_link"
26496 case "(($ac_try" in
26497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26498 *) ac_try_echo=$ac_try;;
26499 esac
26500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26501 (eval "$ac_link") 2>&5
26502 ac_status=$?
26503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26504 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26505 { (case "(($ac_try" in
26506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26507 *) ac_try_echo=$ac_try;;
26508 esac
26509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26510 (eval "$ac_try") 2>&5
26511 ac_status=$?
26512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26513 (exit $ac_status); }; }; then
26514 ac_cv_header_zlib_h=`cat conftestval`
26515 else
26516 echo "$as_me: program exited with status $ac_status" >&5
26517 echo "$as_me: failed program was:" >&5
26518 sed 's/^/| /' conftest.$ac_ext >&5
26519
26520 ( exit $ac_status )
26521 ac_cv_header_zlib_h=no
26522 fi
26523 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26524 fi
26525
26526
26527
26528 fi
26529 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26530 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26531 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26532 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26533 if test "${ac_cv_header_zlib_h+set}" = set; then
26534 echo $ECHO_N "(cached) $ECHO_C" >&6
26535 else
26536 cat >conftest.$ac_ext <<_ACEOF
26537 /* confdefs.h. */
26538 _ACEOF
26539 cat confdefs.h >>conftest.$ac_ext
26540 cat >>conftest.$ac_ext <<_ACEOF
26541 /* end confdefs.h. */
26542
26543
26544 #include <zlib.h>
26545 _ACEOF
26546 rm -f conftest.$ac_objext
26547 if { (ac_try="$ac_compile"
26548 case "(($ac_try" in
26549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26550 *) ac_try_echo=$ac_try;;
26551 esac
26552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26553 (eval "$ac_compile") 2>conftest.er1
26554 ac_status=$?
26555 grep -v '^ *+' conftest.er1 >conftest.err
26556 rm -f conftest.er1
26557 cat conftest.err >&5
26558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26559 (exit $ac_status); } && {
26560 test -z "$ac_c_werror_flag" ||
26561 test ! -s conftest.err
26562 } && test -s conftest.$ac_objext; then
26563 ac_cv_header_zlib_h=yes
26564 else
26565 echo "$as_me: failed program was:" >&5
26566 sed 's/^/| /' conftest.$ac_ext >&5
26567
26568 ac_cv_header_zlib_h=no
26569 fi
26570
26571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26572 fi
26573 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26574 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26575
26576
26577
26578 system_zlib_h_ok=$ac_cv_header_zlib_h
26579 fi
26580
26581 if test "$system_zlib_h_ok" = "yes"; then
26582 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26583 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26584 if test "${ac_cv_lib_z_deflate+set}" = set; then
26585 echo $ECHO_N "(cached) $ECHO_C" >&6
26586 else
26587 ac_check_lib_save_LIBS=$LIBS
26588 LIBS="-lz $LIBS"
26589 cat >conftest.$ac_ext <<_ACEOF
26590 /* confdefs.h. */
26591 _ACEOF
26592 cat confdefs.h >>conftest.$ac_ext
26593 cat >>conftest.$ac_ext <<_ACEOF
26594 /* end confdefs.h. */
26595
26596 /* Override any GCC internal prototype to avoid an error.
26597 Use char because int might match the return type of a GCC
26598 builtin and then its argument prototype would still apply. */
26599 #ifdef __cplusplus
26600 extern "C"
26601 #endif
26602 char deflate ();
26603 int
26604 main ()
26605 {
26606 return deflate ();
26607 ;
26608 return 0;
26609 }
26610 _ACEOF
26611 rm -f conftest.$ac_objext conftest$ac_exeext
26612 if { (ac_try="$ac_link"
26613 case "(($ac_try" in
26614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26615 *) ac_try_echo=$ac_try;;
26616 esac
26617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26618 (eval "$ac_link") 2>conftest.er1
26619 ac_status=$?
26620 grep -v '^ *+' conftest.er1 >conftest.err
26621 rm -f conftest.er1
26622 cat conftest.err >&5
26623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26624 (exit $ac_status); } && {
26625 test -z "$ac_c_werror_flag" ||
26626 test ! -s conftest.err
26627 } && test -s conftest$ac_exeext &&
26628 $as_test_x conftest$ac_exeext; then
26629 ac_cv_lib_z_deflate=yes
26630 else
26631 echo "$as_me: failed program was:" >&5
26632 sed 's/^/| /' conftest.$ac_ext >&5
26633
26634 ac_cv_lib_z_deflate=no
26635 fi
26636
26637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26638 conftest$ac_exeext conftest.$ac_ext
26639 LIBS=$ac_check_lib_save_LIBS
26640 fi
26641 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26642 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26643 if test $ac_cv_lib_z_deflate = yes; then
26644 ZLIB_LINK=" -lz"
26645 fi
26646
26647 fi
26648
26649 if test "x$ZLIB_LINK" = "x" ; then
26650 if test "$wxUSE_ZLIB" = "sys" ; then
26651 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26652 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26653 { (exit 1); exit 1; }; }
26654 else
26655 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26656 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26657 wxUSE_ZLIB=builtin
26658 fi
26659 else
26660 wxUSE_ZLIB=sys
26661 fi
26662 fi
26663 fi
26664
26665
26666 PNG_LINK=
26667 if test "$wxUSE_LIBPNG" != "no" ; then
26668 cat >>confdefs.h <<\_ACEOF
26669 #define wxUSE_LIBPNG 1
26670 _ACEOF
26671
26672
26673 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26674 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26675 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26676 wxUSE_LIBPNG=sys
26677 fi
26678
26679 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26680 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26681 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26682 wxUSE_LIBPNG=builtin
26683 fi
26684
26685 if test "$wxUSE_MGL" != 1 ; then
26686 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26687 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26688 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26689 if test "${ac_cv_header_png_h+set}" = set; then
26690 echo $ECHO_N "(cached) $ECHO_C" >&6
26691 else
26692 if test "$cross_compiling" = yes; then
26693 unset ac_cv_header_png_h
26694
26695 else
26696 cat >conftest.$ac_ext <<_ACEOF
26697 /* confdefs.h. */
26698 _ACEOF
26699 cat confdefs.h >>conftest.$ac_ext
26700 cat >>conftest.$ac_ext <<_ACEOF
26701 /* end confdefs.h. */
26702
26703 #include <png.h>
26704 #include <stdio.h>
26705
26706 int main()
26707 {
26708 FILE *f=fopen("conftestval", "w");
26709 if (!f) exit(1);
26710 fprintf(f, "%s",
26711 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26712 exit(0);
26713 }
26714
26715 _ACEOF
26716 rm -f conftest$ac_exeext
26717 if { (ac_try="$ac_link"
26718 case "(($ac_try" in
26719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26720 *) ac_try_echo=$ac_try;;
26721 esac
26722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26723 (eval "$ac_link") 2>&5
26724 ac_status=$?
26725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26726 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26727 { (case "(($ac_try" in
26728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26729 *) ac_try_echo=$ac_try;;
26730 esac
26731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26732 (eval "$ac_try") 2>&5
26733 ac_status=$?
26734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26735 (exit $ac_status); }; }; then
26736 ac_cv_header_png_h=`cat conftestval`
26737 else
26738 echo "$as_me: program exited with status $ac_status" >&5
26739 echo "$as_me: failed program was:" >&5
26740 sed 's/^/| /' conftest.$ac_ext >&5
26741
26742 ( exit $ac_status )
26743 ac_cv_header_png_h=no
26744 fi
26745 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26746 fi
26747
26748
26749
26750 fi
26751 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26752 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26753 { echo "$as_me:$LINENO: checking for png.h" >&5
26754 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26755 if test "${ac_cv_header_png_h+set}" = set; then
26756 echo $ECHO_N "(cached) $ECHO_C" >&6
26757 else
26758 cat >conftest.$ac_ext <<_ACEOF
26759 /* confdefs.h. */
26760 _ACEOF
26761 cat confdefs.h >>conftest.$ac_ext
26762 cat >>conftest.$ac_ext <<_ACEOF
26763 /* end confdefs.h. */
26764
26765
26766 #include <png.h>
26767 _ACEOF
26768 rm -f conftest.$ac_objext
26769 if { (ac_try="$ac_compile"
26770 case "(($ac_try" in
26771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26772 *) ac_try_echo=$ac_try;;
26773 esac
26774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26775 (eval "$ac_compile") 2>conftest.er1
26776 ac_status=$?
26777 grep -v '^ *+' conftest.er1 >conftest.err
26778 rm -f conftest.er1
26779 cat conftest.err >&5
26780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26781 (exit $ac_status); } && {
26782 test -z "$ac_c_werror_flag" ||
26783 test ! -s conftest.err
26784 } && test -s conftest.$ac_objext; then
26785 ac_cv_header_png_h=yes
26786 else
26787 echo "$as_me: failed program was:" >&5
26788 sed 's/^/| /' conftest.$ac_ext >&5
26789
26790 ac_cv_header_png_h=no
26791 fi
26792
26793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26794 fi
26795 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26796 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26797
26798
26799
26800 if test "$ac_cv_header_png_h" = "yes"; then
26801 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26802 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26803 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26804 echo $ECHO_N "(cached) $ECHO_C" >&6
26805 else
26806 ac_check_lib_save_LIBS=$LIBS
26807 LIBS="-lpng -lz -lm $LIBS"
26808 cat >conftest.$ac_ext <<_ACEOF
26809 /* confdefs.h. */
26810 _ACEOF
26811 cat confdefs.h >>conftest.$ac_ext
26812 cat >>conftest.$ac_ext <<_ACEOF
26813 /* end confdefs.h. */
26814
26815 /* Override any GCC internal prototype to avoid an error.
26816 Use char because int might match the return type of a GCC
26817 builtin and then its argument prototype would still apply. */
26818 #ifdef __cplusplus
26819 extern "C"
26820 #endif
26821 char png_check_sig ();
26822 int
26823 main ()
26824 {
26825 return png_check_sig ();
26826 ;
26827 return 0;
26828 }
26829 _ACEOF
26830 rm -f conftest.$ac_objext conftest$ac_exeext
26831 if { (ac_try="$ac_link"
26832 case "(($ac_try" in
26833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26834 *) ac_try_echo=$ac_try;;
26835 esac
26836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26837 (eval "$ac_link") 2>conftest.er1
26838 ac_status=$?
26839 grep -v '^ *+' conftest.er1 >conftest.err
26840 rm -f conftest.er1
26841 cat conftest.err >&5
26842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26843 (exit $ac_status); } && {
26844 test -z "$ac_c_werror_flag" ||
26845 test ! -s conftest.err
26846 } && test -s conftest$ac_exeext &&
26847 $as_test_x conftest$ac_exeext; then
26848 ac_cv_lib_png_png_check_sig=yes
26849 else
26850 echo "$as_me: failed program was:" >&5
26851 sed 's/^/| /' conftest.$ac_ext >&5
26852
26853 ac_cv_lib_png_png_check_sig=no
26854 fi
26855
26856 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26857 conftest$ac_exeext conftest.$ac_ext
26858 LIBS=$ac_check_lib_save_LIBS
26859 fi
26860 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26861 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26862 if test $ac_cv_lib_png_png_check_sig = yes; then
26863 PNG_LINK=" -lpng -lz"
26864 fi
26865
26866 fi
26867
26868 if test "x$PNG_LINK" = "x" ; then
26869 if test "$wxUSE_LIBPNG" = "sys" ; then
26870 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26871 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26872 { (exit 1); exit 1; }; }
26873 else
26874 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26875 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26876 wxUSE_LIBPNG=builtin
26877 fi
26878 else
26879 wxUSE_LIBPNG=sys
26880 fi
26881 fi
26882 fi
26883 fi
26884
26885
26886 JPEG_LINK=
26887 if test "$wxUSE_LIBJPEG" != "no" ; then
26888 cat >>confdefs.h <<\_ACEOF
26889 #define wxUSE_LIBJPEG 1
26890 _ACEOF
26891
26892
26893 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26894 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26895 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26896 wxUSE_LIBJPEG=sys
26897 fi
26898
26899 if test "$wxUSE_MGL" != 1 ; then
26900 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26901 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26902 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26903 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26904 echo $ECHO_N "(cached) $ECHO_C" >&6
26905 else
26906 cat >conftest.$ac_ext <<_ACEOF
26907 /* confdefs.h. */
26908 _ACEOF
26909 cat confdefs.h >>conftest.$ac_ext
26910 cat >>conftest.$ac_ext <<_ACEOF
26911 /* end confdefs.h. */
26912
26913 #undef HAVE_STDLIB_H
26914 #include <stdio.h>
26915 #include <jpeglib.h>
26916
26917 int
26918 main ()
26919 {
26920
26921
26922 ;
26923 return 0;
26924 }
26925 _ACEOF
26926 rm -f conftest.$ac_objext
26927 if { (ac_try="$ac_compile"
26928 case "(($ac_try" in
26929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26930 *) ac_try_echo=$ac_try;;
26931 esac
26932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26933 (eval "$ac_compile") 2>conftest.er1
26934 ac_status=$?
26935 grep -v '^ *+' conftest.er1 >conftest.err
26936 rm -f conftest.er1
26937 cat conftest.err >&5
26938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26939 (exit $ac_status); } && {
26940 test -z "$ac_c_werror_flag" ||
26941 test ! -s conftest.err
26942 } && test -s conftest.$ac_objext; then
26943 ac_cv_header_jpeglib_h=yes
26944 else
26945 echo "$as_me: failed program was:" >&5
26946 sed 's/^/| /' conftest.$ac_ext >&5
26947
26948 ac_cv_header_jpeglib_h=no
26949
26950 fi
26951
26952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26953
26954 fi
26955
26956 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26957 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26958
26959 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26960 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26961 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26962 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26963 echo $ECHO_N "(cached) $ECHO_C" >&6
26964 else
26965 ac_check_lib_save_LIBS=$LIBS
26966 LIBS="-ljpeg $LIBS"
26967 cat >conftest.$ac_ext <<_ACEOF
26968 /* confdefs.h. */
26969 _ACEOF
26970 cat confdefs.h >>conftest.$ac_ext
26971 cat >>conftest.$ac_ext <<_ACEOF
26972 /* end confdefs.h. */
26973
26974 /* Override any GCC internal prototype to avoid an error.
26975 Use char because int might match the return type of a GCC
26976 builtin and then its argument prototype would still apply. */
26977 #ifdef __cplusplus
26978 extern "C"
26979 #endif
26980 char jpeg_read_header ();
26981 int
26982 main ()
26983 {
26984 return jpeg_read_header ();
26985 ;
26986 return 0;
26987 }
26988 _ACEOF
26989 rm -f conftest.$ac_objext conftest$ac_exeext
26990 if { (ac_try="$ac_link"
26991 case "(($ac_try" in
26992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26993 *) ac_try_echo=$ac_try;;
26994 esac
26995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26996 (eval "$ac_link") 2>conftest.er1
26997 ac_status=$?
26998 grep -v '^ *+' conftest.er1 >conftest.err
26999 rm -f conftest.er1
27000 cat conftest.err >&5
27001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27002 (exit $ac_status); } && {
27003 test -z "$ac_c_werror_flag" ||
27004 test ! -s conftest.err
27005 } && test -s conftest$ac_exeext &&
27006 $as_test_x conftest$ac_exeext; then
27007 ac_cv_lib_jpeg_jpeg_read_header=yes
27008 else
27009 echo "$as_me: failed program was:" >&5
27010 sed 's/^/| /' conftest.$ac_ext >&5
27011
27012 ac_cv_lib_jpeg_jpeg_read_header=no
27013 fi
27014
27015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27016 conftest$ac_exeext conftest.$ac_ext
27017 LIBS=$ac_check_lib_save_LIBS
27018 fi
27019 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27020 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27021 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27022 JPEG_LINK=" -ljpeg"
27023 fi
27024
27025 fi
27026
27027 if test "x$JPEG_LINK" = "x" ; then
27028 if test "$wxUSE_LIBJPEG" = "sys" ; then
27029 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27030 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27031 { (exit 1); exit 1; }; }
27032 else
27033 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27034 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27035 wxUSE_LIBJPEG=builtin
27036 fi
27037 else
27038 wxUSE_LIBJPEG=sys
27039
27040 if test "$wxUSE_MSW" = 1; then
27041 { echo "$as_me:$LINENO: checking for boolean" >&5
27042 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27043 if test "${ac_cv_type_boolean+set}" = set; then
27044 echo $ECHO_N "(cached) $ECHO_C" >&6
27045 else
27046 cat >conftest.$ac_ext <<_ACEOF
27047 /* confdefs.h. */
27048 _ACEOF
27049 cat confdefs.h >>conftest.$ac_ext
27050 cat >>conftest.$ac_ext <<_ACEOF
27051 /* end confdefs.h. */
27052 #include <windows.h>
27053
27054 typedef boolean ac__type_new_;
27055 int
27056 main ()
27057 {
27058 if ((ac__type_new_ *) 0)
27059 return 0;
27060 if (sizeof (ac__type_new_))
27061 return 0;
27062 ;
27063 return 0;
27064 }
27065 _ACEOF
27066 rm -f conftest.$ac_objext
27067 if { (ac_try="$ac_compile"
27068 case "(($ac_try" in
27069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27070 *) ac_try_echo=$ac_try;;
27071 esac
27072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27073 (eval "$ac_compile") 2>conftest.er1
27074 ac_status=$?
27075 grep -v '^ *+' conftest.er1 >conftest.err
27076 rm -f conftest.er1
27077 cat conftest.err >&5
27078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27079 (exit $ac_status); } && {
27080 test -z "$ac_c_werror_flag" ||
27081 test ! -s conftest.err
27082 } && test -s conftest.$ac_objext; then
27083 ac_cv_type_boolean=yes
27084 else
27085 echo "$as_me: failed program was:" >&5
27086 sed 's/^/| /' conftest.$ac_ext >&5
27087
27088 ac_cv_type_boolean=no
27089 fi
27090
27091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27092 fi
27093 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27094 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27095 if test $ac_cv_type_boolean = yes; then
27096
27097 cat >>confdefs.h <<_ACEOF
27098 #define HAVE_BOOLEAN 1
27099 _ACEOF
27100
27101
27102 { echo "$as_me:$LINENO: checking for boolean" >&5
27103 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27104 if test "${ac_cv_type_boolean+set}" = set; then
27105 echo $ECHO_N "(cached) $ECHO_C" >&6
27106 else
27107 cat >conftest.$ac_ext <<_ACEOF
27108 /* confdefs.h. */
27109 _ACEOF
27110 cat confdefs.h >>conftest.$ac_ext
27111 cat >>conftest.$ac_ext <<_ACEOF
27112 /* end confdefs.h. */
27113
27114 #undef HAVE_BOOLEAN
27115 #include <stdio.h>
27116 #include <jpeglib.h>
27117
27118
27119 typedef boolean ac__type_new_;
27120 int
27121 main ()
27122 {
27123 if ((ac__type_new_ *) 0)
27124 return 0;
27125 if (sizeof (ac__type_new_))
27126 return 0;
27127 ;
27128 return 0;
27129 }
27130 _ACEOF
27131 rm -f conftest.$ac_objext
27132 if { (ac_try="$ac_compile"
27133 case "(($ac_try" in
27134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27135 *) ac_try_echo=$ac_try;;
27136 esac
27137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27138 (eval "$ac_compile") 2>conftest.er1
27139 ac_status=$?
27140 grep -v '^ *+' conftest.er1 >conftest.err
27141 rm -f conftest.er1
27142 cat conftest.err >&5
27143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27144 (exit $ac_status); } && {
27145 test -z "$ac_c_werror_flag" ||
27146 test ! -s conftest.err
27147 } && test -s conftest.$ac_objext; then
27148 ac_cv_type_boolean=yes
27149 else
27150 echo "$as_me: failed program was:" >&5
27151 sed 's/^/| /' conftest.$ac_ext >&5
27152
27153 ac_cv_type_boolean=no
27154 fi
27155
27156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27157 fi
27158 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27159 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27160
27161 # The cast to long int works around a bug in the HP C Compiler
27162 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27163 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27164 # This bug is HP SR number 8606223364.
27165 { echo "$as_me:$LINENO: checking size of boolean" >&5
27166 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27167 if test "${ac_cv_sizeof_boolean+set}" = set; then
27168 echo $ECHO_N "(cached) $ECHO_C" >&6
27169 else
27170 if test "$cross_compiling" = yes; then
27171 # Depending upon the size, compute the lo and hi bounds.
27172 cat >conftest.$ac_ext <<_ACEOF
27173 /* confdefs.h. */
27174 _ACEOF
27175 cat confdefs.h >>conftest.$ac_ext
27176 cat >>conftest.$ac_ext <<_ACEOF
27177 /* end confdefs.h. */
27178
27179 #undef HAVE_BOOLEAN
27180 #include <stdio.h>
27181 #include <jpeglib.h>
27182
27183
27184 typedef boolean ac__type_sizeof_;
27185 int
27186 main ()
27187 {
27188 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27189 test_array [0] = 0
27190
27191 ;
27192 return 0;
27193 }
27194 _ACEOF
27195 rm -f conftest.$ac_objext
27196 if { (ac_try="$ac_compile"
27197 case "(($ac_try" in
27198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27199 *) ac_try_echo=$ac_try;;
27200 esac
27201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27202 (eval "$ac_compile") 2>conftest.er1
27203 ac_status=$?
27204 grep -v '^ *+' conftest.er1 >conftest.err
27205 rm -f conftest.er1
27206 cat conftest.err >&5
27207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27208 (exit $ac_status); } && {
27209 test -z "$ac_c_werror_flag" ||
27210 test ! -s conftest.err
27211 } && test -s conftest.$ac_objext; then
27212 ac_lo=0 ac_mid=0
27213 while :; do
27214 cat >conftest.$ac_ext <<_ACEOF
27215 /* confdefs.h. */
27216 _ACEOF
27217 cat confdefs.h >>conftest.$ac_ext
27218 cat >>conftest.$ac_ext <<_ACEOF
27219 /* end confdefs.h. */
27220
27221 #undef HAVE_BOOLEAN
27222 #include <stdio.h>
27223 #include <jpeglib.h>
27224
27225
27226 typedef boolean ac__type_sizeof_;
27227 int
27228 main ()
27229 {
27230 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27231 test_array [0] = 0
27232
27233 ;
27234 return 0;
27235 }
27236 _ACEOF
27237 rm -f conftest.$ac_objext
27238 if { (ac_try="$ac_compile"
27239 case "(($ac_try" in
27240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27241 *) ac_try_echo=$ac_try;;
27242 esac
27243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27244 (eval "$ac_compile") 2>conftest.er1
27245 ac_status=$?
27246 grep -v '^ *+' conftest.er1 >conftest.err
27247 rm -f conftest.er1
27248 cat conftest.err >&5
27249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27250 (exit $ac_status); } && {
27251 test -z "$ac_c_werror_flag" ||
27252 test ! -s conftest.err
27253 } && test -s conftest.$ac_objext; then
27254 ac_hi=$ac_mid; break
27255 else
27256 echo "$as_me: failed program was:" >&5
27257 sed 's/^/| /' conftest.$ac_ext >&5
27258
27259 ac_lo=`expr $ac_mid + 1`
27260 if test $ac_lo -le $ac_mid; then
27261 ac_lo= ac_hi=
27262 break
27263 fi
27264 ac_mid=`expr 2 '*' $ac_mid + 1`
27265 fi
27266
27267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27268 done
27269 else
27270 echo "$as_me: failed program was:" >&5
27271 sed 's/^/| /' conftest.$ac_ext >&5
27272
27273 cat >conftest.$ac_ext <<_ACEOF
27274 /* confdefs.h. */
27275 _ACEOF
27276 cat confdefs.h >>conftest.$ac_ext
27277 cat >>conftest.$ac_ext <<_ACEOF
27278 /* end confdefs.h. */
27279
27280 #undef HAVE_BOOLEAN
27281 #include <stdio.h>
27282 #include <jpeglib.h>
27283
27284
27285 typedef boolean ac__type_sizeof_;
27286 int
27287 main ()
27288 {
27289 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27290 test_array [0] = 0
27291
27292 ;
27293 return 0;
27294 }
27295 _ACEOF
27296 rm -f conftest.$ac_objext
27297 if { (ac_try="$ac_compile"
27298 case "(($ac_try" in
27299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27300 *) ac_try_echo=$ac_try;;
27301 esac
27302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27303 (eval "$ac_compile") 2>conftest.er1
27304 ac_status=$?
27305 grep -v '^ *+' conftest.er1 >conftest.err
27306 rm -f conftest.er1
27307 cat conftest.err >&5
27308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27309 (exit $ac_status); } && {
27310 test -z "$ac_c_werror_flag" ||
27311 test ! -s conftest.err
27312 } && test -s conftest.$ac_objext; then
27313 ac_hi=-1 ac_mid=-1
27314 while :; do
27315 cat >conftest.$ac_ext <<_ACEOF
27316 /* confdefs.h. */
27317 _ACEOF
27318 cat confdefs.h >>conftest.$ac_ext
27319 cat >>conftest.$ac_ext <<_ACEOF
27320 /* end confdefs.h. */
27321
27322 #undef HAVE_BOOLEAN
27323 #include <stdio.h>
27324 #include <jpeglib.h>
27325
27326
27327 typedef boolean ac__type_sizeof_;
27328 int
27329 main ()
27330 {
27331 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27332 test_array [0] = 0
27333
27334 ;
27335 return 0;
27336 }
27337 _ACEOF
27338 rm -f conftest.$ac_objext
27339 if { (ac_try="$ac_compile"
27340 case "(($ac_try" in
27341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27342 *) ac_try_echo=$ac_try;;
27343 esac
27344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27345 (eval "$ac_compile") 2>conftest.er1
27346 ac_status=$?
27347 grep -v '^ *+' conftest.er1 >conftest.err
27348 rm -f conftest.er1
27349 cat conftest.err >&5
27350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27351 (exit $ac_status); } && {
27352 test -z "$ac_c_werror_flag" ||
27353 test ! -s conftest.err
27354 } && test -s conftest.$ac_objext; then
27355 ac_lo=$ac_mid; break
27356 else
27357 echo "$as_me: failed program was:" >&5
27358 sed 's/^/| /' conftest.$ac_ext >&5
27359
27360 ac_hi=`expr '(' $ac_mid ')' - 1`
27361 if test $ac_mid -le $ac_hi; then
27362 ac_lo= ac_hi=
27363 break
27364 fi
27365 ac_mid=`expr 2 '*' $ac_mid`
27366 fi
27367
27368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27369 done
27370 else
27371 echo "$as_me: failed program was:" >&5
27372 sed 's/^/| /' conftest.$ac_ext >&5
27373
27374 ac_lo= ac_hi=
27375 fi
27376
27377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27378 fi
27379
27380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27381 # Binary search between lo and hi bounds.
27382 while test "x$ac_lo" != "x$ac_hi"; do
27383 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27384 cat >conftest.$ac_ext <<_ACEOF
27385 /* confdefs.h. */
27386 _ACEOF
27387 cat confdefs.h >>conftest.$ac_ext
27388 cat >>conftest.$ac_ext <<_ACEOF
27389 /* end confdefs.h. */
27390
27391 #undef HAVE_BOOLEAN
27392 #include <stdio.h>
27393 #include <jpeglib.h>
27394
27395
27396 typedef boolean ac__type_sizeof_;
27397 int
27398 main ()
27399 {
27400 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27401 test_array [0] = 0
27402
27403 ;
27404 return 0;
27405 }
27406 _ACEOF
27407 rm -f conftest.$ac_objext
27408 if { (ac_try="$ac_compile"
27409 case "(($ac_try" in
27410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27411 *) ac_try_echo=$ac_try;;
27412 esac
27413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27414 (eval "$ac_compile") 2>conftest.er1
27415 ac_status=$?
27416 grep -v '^ *+' conftest.er1 >conftest.err
27417 rm -f conftest.er1
27418 cat conftest.err >&5
27419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27420 (exit $ac_status); } && {
27421 test -z "$ac_c_werror_flag" ||
27422 test ! -s conftest.err
27423 } && test -s conftest.$ac_objext; then
27424 ac_hi=$ac_mid
27425 else
27426 echo "$as_me: failed program was:" >&5
27427 sed 's/^/| /' conftest.$ac_ext >&5
27428
27429 ac_lo=`expr '(' $ac_mid ')' + 1`
27430 fi
27431
27432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27433 done
27434 case $ac_lo in
27435 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27436 '') if test "$ac_cv_type_boolean" = yes; then
27437 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27438 See \`config.log' for more details." >&5
27439 echo "$as_me: error: cannot compute sizeof (boolean)
27440 See \`config.log' for more details." >&2;}
27441 { (exit 77); exit 77; }; }
27442 else
27443 ac_cv_sizeof_boolean=0
27444 fi ;;
27445 esac
27446 else
27447 cat >conftest.$ac_ext <<_ACEOF
27448 /* confdefs.h. */
27449 _ACEOF
27450 cat confdefs.h >>conftest.$ac_ext
27451 cat >>conftest.$ac_ext <<_ACEOF
27452 /* end confdefs.h. */
27453
27454 #undef HAVE_BOOLEAN
27455 #include <stdio.h>
27456 #include <jpeglib.h>
27457
27458
27459 typedef boolean ac__type_sizeof_;
27460 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27461 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27462 #include <stdio.h>
27463 #include <stdlib.h>
27464 int
27465 main ()
27466 {
27467
27468 FILE *f = fopen ("conftest.val", "w");
27469 if (! f)
27470 return 1;
27471 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27472 {
27473 long int i = longval ();
27474 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27475 return 1;
27476 fprintf (f, "%ld\n", i);
27477 }
27478 else
27479 {
27480 unsigned long int i = ulongval ();
27481 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27482 return 1;
27483 fprintf (f, "%lu\n", i);
27484 }
27485 return ferror (f) || fclose (f) != 0;
27486
27487 ;
27488 return 0;
27489 }
27490 _ACEOF
27491 rm -f conftest$ac_exeext
27492 if { (ac_try="$ac_link"
27493 case "(($ac_try" in
27494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27495 *) ac_try_echo=$ac_try;;
27496 esac
27497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27498 (eval "$ac_link") 2>&5
27499 ac_status=$?
27500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27501 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27502 { (case "(($ac_try" in
27503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27504 *) ac_try_echo=$ac_try;;
27505 esac
27506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27507 (eval "$ac_try") 2>&5
27508 ac_status=$?
27509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27510 (exit $ac_status); }; }; then
27511 ac_cv_sizeof_boolean=`cat conftest.val`
27512 else
27513 echo "$as_me: program exited with status $ac_status" >&5
27514 echo "$as_me: failed program was:" >&5
27515 sed 's/^/| /' conftest.$ac_ext >&5
27516
27517 ( exit $ac_status )
27518 if test "$ac_cv_type_boolean" = yes; then
27519 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27520 See \`config.log' for more details." >&5
27521 echo "$as_me: error: cannot compute sizeof (boolean)
27522 See \`config.log' for more details." >&2;}
27523 { (exit 77); exit 77; }; }
27524 else
27525 ac_cv_sizeof_boolean=0
27526 fi
27527 fi
27528 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27529 fi
27530 rm -f conftest.val
27531 fi
27532 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27533 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27534
27535
27536
27537 cat >>confdefs.h <<_ACEOF
27538 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27539 _ACEOF
27540
27541
27542 cat >>confdefs.h <<_ACEOF
27543 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27544 _ACEOF
27545
27546
27547 fi
27548
27549 fi
27550 fi
27551 fi
27552 fi
27553 fi
27554
27555
27556 TIFF_LINK=
27557 TIFF_PREREQ_LINKS=-lm
27558 if test "$wxUSE_LIBTIFF" != "no" ; then
27559 cat >>confdefs.h <<\_ACEOF
27560 #define wxUSE_LIBTIFF 1
27561 _ACEOF
27562
27563
27564 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27565 if test "$wxUSE_LIBJPEG" = "sys"; then
27566 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27567 fi
27568 if test "$wxUSE_ZLIB" = "sys"; then
27569 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27570 fi
27571 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27572 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27573 if test "${ac_cv_header_tiffio_h+set}" = set; then
27574 echo $ECHO_N "(cached) $ECHO_C" >&6
27575 else
27576 cat >conftest.$ac_ext <<_ACEOF
27577 /* confdefs.h. */
27578 _ACEOF
27579 cat confdefs.h >>conftest.$ac_ext
27580 cat >>conftest.$ac_ext <<_ACEOF
27581 /* end confdefs.h. */
27582
27583
27584
27585 #include <tiffio.h>
27586 _ACEOF
27587 rm -f conftest.$ac_objext
27588 if { (ac_try="$ac_compile"
27589 case "(($ac_try" in
27590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27591 *) ac_try_echo=$ac_try;;
27592 esac
27593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27594 (eval "$ac_compile") 2>conftest.er1
27595 ac_status=$?
27596 grep -v '^ *+' conftest.er1 >conftest.err
27597 rm -f conftest.er1
27598 cat conftest.err >&5
27599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27600 (exit $ac_status); } && {
27601 test -z "$ac_c_werror_flag" ||
27602 test ! -s conftest.err
27603 } && test -s conftest.$ac_objext; then
27604 ac_cv_header_tiffio_h=yes
27605 else
27606 echo "$as_me: failed program was:" >&5
27607 sed 's/^/| /' conftest.$ac_ext >&5
27608
27609 ac_cv_header_tiffio_h=no
27610 fi
27611
27612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27613 fi
27614 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27615 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27616 if test $ac_cv_header_tiffio_h = yes; then
27617
27618 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27619 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27620 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27621 echo $ECHO_N "(cached) $ECHO_C" >&6
27622 else
27623 ac_check_lib_save_LIBS=$LIBS
27624 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27625 cat >conftest.$ac_ext <<_ACEOF
27626 /* confdefs.h. */
27627 _ACEOF
27628 cat confdefs.h >>conftest.$ac_ext
27629 cat >>conftest.$ac_ext <<_ACEOF
27630 /* end confdefs.h. */
27631
27632 /* Override any GCC internal prototype to avoid an error.
27633 Use char because int might match the return type of a GCC
27634 builtin and then its argument prototype would still apply. */
27635 #ifdef __cplusplus
27636 extern "C"
27637 #endif
27638 char TIFFError ();
27639 int
27640 main ()
27641 {
27642 return TIFFError ();
27643 ;
27644 return 0;
27645 }
27646 _ACEOF
27647 rm -f conftest.$ac_objext conftest$ac_exeext
27648 if { (ac_try="$ac_link"
27649 case "(($ac_try" in
27650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27651 *) ac_try_echo=$ac_try;;
27652 esac
27653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27654 (eval "$ac_link") 2>conftest.er1
27655 ac_status=$?
27656 grep -v '^ *+' conftest.er1 >conftest.err
27657 rm -f conftest.er1
27658 cat conftest.err >&5
27659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27660 (exit $ac_status); } && {
27661 test -z "$ac_c_werror_flag" ||
27662 test ! -s conftest.err
27663 } && test -s conftest$ac_exeext &&
27664 $as_test_x conftest$ac_exeext; then
27665 ac_cv_lib_tiff_TIFFError=yes
27666 else
27667 echo "$as_me: failed program was:" >&5
27668 sed 's/^/| /' conftest.$ac_ext >&5
27669
27670 ac_cv_lib_tiff_TIFFError=no
27671 fi
27672
27673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27674 conftest$ac_exeext conftest.$ac_ext
27675 LIBS=$ac_check_lib_save_LIBS
27676 fi
27677 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27678 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27679 if test $ac_cv_lib_tiff_TIFFError = yes; then
27680 TIFF_LINK=" -ltiff"
27681 fi
27682
27683
27684 fi
27685
27686
27687
27688 if test "x$TIFF_LINK" = "x" ; then
27689 if test "$wxUSE_LIBTIFF" = "sys" ; then
27690 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27691 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27692 { (exit 1); exit 1; }; }
27693 else
27694 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27695 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27696 wxUSE_LIBTIFF=builtin
27697 fi
27698 else
27699 wxUSE_LIBTIFF=sys
27700 fi
27701 fi
27702 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27703 if test "$wxUSE_LIBJPEG" = "no"; then
27704 ac_configure_args="$ac_configure_args --disable-jpeg"
27705 fi
27706 subdirs="$subdirs src/tiff"
27707
27708 fi
27709 fi
27710
27711
27712 if test "$wxUSE_WCHAR_T" != "yes"; then
27713 if test "$wxUSE_EXPAT" != "no"; then
27714 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27715 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27716 wxUSE_EXPAT=no
27717 fi
27718 if test "$wxUSE_XML" != "no"; then
27719 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27720 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27721 wxUSE_XML=no
27722 fi
27723 fi
27724
27725 if test "$wxUSE_EXPAT" != "no"; then
27726 wxUSE_XML=yes
27727 cat >>confdefs.h <<\_ACEOF
27728 #define wxUSE_EXPAT 1
27729 _ACEOF
27730
27731 cat >>confdefs.h <<\_ACEOF
27732 #define wxUSE_XML 1
27733 _ACEOF
27734
27735
27736 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27737 { echo "$as_me:$LINENO: checking for expat.h" >&5
27738 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27739 if test "${ac_cv_header_expat_h+set}" = set; then
27740 echo $ECHO_N "(cached) $ECHO_C" >&6
27741 else
27742 cat >conftest.$ac_ext <<_ACEOF
27743 /* confdefs.h. */
27744 _ACEOF
27745 cat confdefs.h >>conftest.$ac_ext
27746 cat >>conftest.$ac_ext <<_ACEOF
27747 /* end confdefs.h. */
27748
27749
27750 #include <expat.h>
27751 _ACEOF
27752 rm -f conftest.$ac_objext
27753 if { (ac_try="$ac_compile"
27754 case "(($ac_try" in
27755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27756 *) ac_try_echo=$ac_try;;
27757 esac
27758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27759 (eval "$ac_compile") 2>conftest.er1
27760 ac_status=$?
27761 grep -v '^ *+' conftest.er1 >conftest.err
27762 rm -f conftest.er1
27763 cat conftest.err >&5
27764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27765 (exit $ac_status); } && {
27766 test -z "$ac_c_werror_flag" ||
27767 test ! -s conftest.err
27768 } && test -s conftest.$ac_objext; then
27769 ac_cv_header_expat_h=yes
27770 else
27771 echo "$as_me: failed program was:" >&5
27772 sed 's/^/| /' conftest.$ac_ext >&5
27773
27774 ac_cv_header_expat_h=no
27775 fi
27776
27777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27778 fi
27779 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27780 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27781 if test $ac_cv_header_expat_h = yes; then
27782 found_expat_h=1
27783 fi
27784
27785
27786 if test "x$found_expat_h" = "x1"; then
27787 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27788 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27789 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27790 echo $ECHO_N "(cached) $ECHO_C" >&6
27791 else
27792
27793 ac_ext=cpp
27794 ac_cpp='$CXXCPP $CPPFLAGS'
27795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27798
27799 cat >conftest.$ac_ext <<_ACEOF
27800 /* confdefs.h. */
27801 _ACEOF
27802 cat confdefs.h >>conftest.$ac_ext
27803 cat >>conftest.$ac_ext <<_ACEOF
27804 /* end confdefs.h. */
27805 #include <expat.h>
27806 int
27807 main ()
27808 {
27809
27810 ;
27811 return 0;
27812 }
27813 _ACEOF
27814 rm -f conftest.$ac_objext
27815 if { (ac_try="$ac_compile"
27816 case "(($ac_try" in
27817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27818 *) ac_try_echo=$ac_try;;
27819 esac
27820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27821 (eval "$ac_compile") 2>conftest.er1
27822 ac_status=$?
27823 grep -v '^ *+' conftest.er1 >conftest.err
27824 rm -f conftest.er1
27825 cat conftest.err >&5
27826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27827 (exit $ac_status); } && {
27828 test -z "$ac_cxx_werror_flag" ||
27829 test ! -s conftest.err
27830 } && test -s conftest.$ac_objext; then
27831 wx_cv_expat_is_not_broken=yes
27832 else
27833 echo "$as_me: failed program was:" >&5
27834 sed 's/^/| /' conftest.$ac_ext >&5
27835
27836 wx_cv_expat_is_not_broken=no
27837
27838 fi
27839
27840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27841 ac_ext=c
27842 ac_cpp='$CPP $CPPFLAGS'
27843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27846
27847
27848
27849 fi
27850 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27851 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27852 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27853 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27854 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27855 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27856 echo $ECHO_N "(cached) $ECHO_C" >&6
27857 else
27858 ac_check_lib_save_LIBS=$LIBS
27859 LIBS="-lexpat $LIBS"
27860 cat >conftest.$ac_ext <<_ACEOF
27861 /* confdefs.h. */
27862 _ACEOF
27863 cat confdefs.h >>conftest.$ac_ext
27864 cat >>conftest.$ac_ext <<_ACEOF
27865 /* end confdefs.h. */
27866
27867 /* Override any GCC internal prototype to avoid an error.
27868 Use char because int might match the return type of a GCC
27869 builtin and then its argument prototype would still apply. */
27870 #ifdef __cplusplus
27871 extern "C"
27872 #endif
27873 char XML_ParserCreate ();
27874 int
27875 main ()
27876 {
27877 return XML_ParserCreate ();
27878 ;
27879 return 0;
27880 }
27881 _ACEOF
27882 rm -f conftest.$ac_objext conftest$ac_exeext
27883 if { (ac_try="$ac_link"
27884 case "(($ac_try" in
27885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27886 *) ac_try_echo=$ac_try;;
27887 esac
27888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27889 (eval "$ac_link") 2>conftest.er1
27890 ac_status=$?
27891 grep -v '^ *+' conftest.er1 >conftest.err
27892 rm -f conftest.er1
27893 cat conftest.err >&5
27894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27895 (exit $ac_status); } && {
27896 test -z "$ac_c_werror_flag" ||
27897 test ! -s conftest.err
27898 } && test -s conftest$ac_exeext &&
27899 $as_test_x conftest$ac_exeext; then
27900 ac_cv_lib_expat_XML_ParserCreate=yes
27901 else
27902 echo "$as_me: failed program was:" >&5
27903 sed 's/^/| /' conftest.$ac_ext >&5
27904
27905 ac_cv_lib_expat_XML_ParserCreate=no
27906 fi
27907
27908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27909 conftest$ac_exeext conftest.$ac_ext
27910 LIBS=$ac_check_lib_save_LIBS
27911 fi
27912 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27913 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27914 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27915 EXPAT_LINK=" -lexpat"
27916 fi
27917
27918 fi
27919 fi
27920 if test "x$EXPAT_LINK" = "x" ; then
27921 if test "$wxUSE_EXPAT" = "sys" ; then
27922 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27923 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27924 { (exit 1); exit 1; }; }
27925 else
27926 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27927 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27928 wxUSE_EXPAT=builtin
27929 fi
27930 else
27931 wxUSE_EXPAT=sys
27932 fi
27933 fi
27934 if test "$wxUSE_EXPAT" = "builtin" ; then
27935 subdirs="$subdirs src/expat"
27936
27937 fi
27938 fi
27939
27940
27941
27942 if test "$wxUSE_LIBMSPACK" != "no"; then
27943 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27944 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27945 if test "${ac_cv_header_mspack_h+set}" = set; then
27946 echo $ECHO_N "(cached) $ECHO_C" >&6
27947 else
27948 cat >conftest.$ac_ext <<_ACEOF
27949 /* confdefs.h. */
27950 _ACEOF
27951 cat confdefs.h >>conftest.$ac_ext
27952 cat >>conftest.$ac_ext <<_ACEOF
27953 /* end confdefs.h. */
27954
27955
27956 #include <mspack.h>
27957 _ACEOF
27958 rm -f conftest.$ac_objext
27959 if { (ac_try="$ac_compile"
27960 case "(($ac_try" in
27961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27962 *) ac_try_echo=$ac_try;;
27963 esac
27964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27965 (eval "$ac_compile") 2>conftest.er1
27966 ac_status=$?
27967 grep -v '^ *+' conftest.er1 >conftest.err
27968 rm -f conftest.er1
27969 cat conftest.err >&5
27970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27971 (exit $ac_status); } && {
27972 test -z "$ac_c_werror_flag" ||
27973 test ! -s conftest.err
27974 } && test -s conftest.$ac_objext; then
27975 ac_cv_header_mspack_h=yes
27976 else
27977 echo "$as_me: failed program was:" >&5
27978 sed 's/^/| /' conftest.$ac_ext >&5
27979
27980 ac_cv_header_mspack_h=no
27981 fi
27982
27983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27984 fi
27985 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27986 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27987 if test $ac_cv_header_mspack_h = yes; then
27988 found_mspack_h=1
27989 fi
27990
27991
27992 if test "x$found_mspack_h" = "x1"; then
27993 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27994 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27995 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27996 echo $ECHO_N "(cached) $ECHO_C" >&6
27997 else
27998 ac_check_lib_save_LIBS=$LIBS
27999 LIBS="-lmspack $LIBS"
28000 cat >conftest.$ac_ext <<_ACEOF
28001 /* confdefs.h. */
28002 _ACEOF
28003 cat confdefs.h >>conftest.$ac_ext
28004 cat >>conftest.$ac_ext <<_ACEOF
28005 /* end confdefs.h. */
28006
28007 /* Override any GCC internal prototype to avoid an error.
28008 Use char because int might match the return type of a GCC
28009 builtin and then its argument prototype would still apply. */
28010 #ifdef __cplusplus
28011 extern "C"
28012 #endif
28013 char mspack_create_chm_decompressor ();
28014 int
28015 main ()
28016 {
28017 return mspack_create_chm_decompressor ();
28018 ;
28019 return 0;
28020 }
28021 _ACEOF
28022 rm -f conftest.$ac_objext conftest$ac_exeext
28023 if { (ac_try="$ac_link"
28024 case "(($ac_try" in
28025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28026 *) ac_try_echo=$ac_try;;
28027 esac
28028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28029 (eval "$ac_link") 2>conftest.er1
28030 ac_status=$?
28031 grep -v '^ *+' conftest.er1 >conftest.err
28032 rm -f conftest.er1
28033 cat conftest.err >&5
28034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28035 (exit $ac_status); } && {
28036 test -z "$ac_c_werror_flag" ||
28037 test ! -s conftest.err
28038 } && test -s conftest$ac_exeext &&
28039 $as_test_x conftest$ac_exeext; then
28040 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28041 else
28042 echo "$as_me: failed program was:" >&5
28043 sed 's/^/| /' conftest.$ac_ext >&5
28044
28045 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28046 fi
28047
28048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28049 conftest$ac_exeext conftest.$ac_ext
28050 LIBS=$ac_check_lib_save_LIBS
28051 fi
28052 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28053 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28054 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28055 MSPACK_LINK=" -lmspack"
28056 fi
28057
28058 fi
28059 if test "x$MSPACK_LINK" = "x" ; then
28060 wxUSE_LIBMSPACK=no
28061 fi
28062 fi
28063
28064 if test "$wxUSE_LIBMSPACK" != "no"; then
28065 cat >>confdefs.h <<\_ACEOF
28066 #define wxUSE_LIBMSPACK 1
28067 _ACEOF
28068
28069 fi
28070
28071
28072
28073 AFMINSTALL=
28074 WIN32INSTALL=
28075
28076 TOOLKIT=
28077 TOOLKIT_INCLUDE=
28078 WIDGET_SET=
28079
28080 if test "$USE_WIN32" = 1 ; then
28081
28082 for ac_header in w32api.h
28083 do
28084 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28085 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28086 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28087 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28088 echo $ECHO_N "(cached) $ECHO_C" >&6
28089 else
28090 cat >conftest.$ac_ext <<_ACEOF
28091 /* confdefs.h. */
28092 _ACEOF
28093 cat confdefs.h >>conftest.$ac_ext
28094 cat >>conftest.$ac_ext <<_ACEOF
28095 /* end confdefs.h. */
28096
28097
28098 #include <$ac_header>
28099 _ACEOF
28100 rm -f conftest.$ac_objext
28101 if { (ac_try="$ac_compile"
28102 case "(($ac_try" in
28103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28104 *) ac_try_echo=$ac_try;;
28105 esac
28106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28107 (eval "$ac_compile") 2>conftest.er1
28108 ac_status=$?
28109 grep -v '^ *+' conftest.er1 >conftest.err
28110 rm -f conftest.er1
28111 cat conftest.err >&5
28112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28113 (exit $ac_status); } && {
28114 test -z "$ac_c_werror_flag" ||
28115 test ! -s conftest.err
28116 } && test -s conftest.$ac_objext; then
28117 eval "$as_ac_Header=yes"
28118 else
28119 echo "$as_me: failed program was:" >&5
28120 sed 's/^/| /' conftest.$ac_ext >&5
28121
28122 eval "$as_ac_Header=no"
28123 fi
28124
28125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28126 fi
28127 ac_res=`eval echo '${'$as_ac_Header'}'`
28128 { echo "$as_me:$LINENO: result: $ac_res" >&5
28129 echo "${ECHO_T}$ac_res" >&6; }
28130 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28131 cat >>confdefs.h <<_ACEOF
28132 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28133 _ACEOF
28134
28135 fi
28136
28137 done
28138
28139 { echo "$as_me:$LINENO: checking for windows.h" >&5
28140 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28141 if test "${ac_cv_header_windows_h+set}" = set; then
28142 echo $ECHO_N "(cached) $ECHO_C" >&6
28143 else
28144 cat >conftest.$ac_ext <<_ACEOF
28145 /* confdefs.h. */
28146 _ACEOF
28147 cat confdefs.h >>conftest.$ac_ext
28148 cat >>conftest.$ac_ext <<_ACEOF
28149 /* end confdefs.h. */
28150
28151
28152 #include <windows.h>
28153 _ACEOF
28154 rm -f conftest.$ac_objext
28155 if { (ac_try="$ac_compile"
28156 case "(($ac_try" in
28157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28158 *) ac_try_echo=$ac_try;;
28159 esac
28160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28161 (eval "$ac_compile") 2>conftest.er1
28162 ac_status=$?
28163 grep -v '^ *+' conftest.er1 >conftest.err
28164 rm -f conftest.er1
28165 cat conftest.err >&5
28166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28167 (exit $ac_status); } && {
28168 test -z "$ac_c_werror_flag" ||
28169 test ! -s conftest.err
28170 } && test -s conftest.$ac_objext; then
28171 ac_cv_header_windows_h=yes
28172 else
28173 echo "$as_me: failed program was:" >&5
28174 sed 's/^/| /' conftest.$ac_ext >&5
28175
28176 ac_cv_header_windows_h=no
28177 fi
28178
28179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28180 fi
28181 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28182 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28183 if test $ac_cv_header_windows_h = yes; then
28184 :
28185 else
28186
28187 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28188 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28189 { (exit 1); exit 1; }; }
28190
28191 fi
28192
28193
28194
28195 case "${host}" in
28196 x86_64-*-mingw32* )
28197 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28198 ;;
28199 * )
28200 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28201 ;;
28202 esac
28203 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28204 LIBS="$LIBS -loleacc"
28205 fi
28206
28207 case "${host}" in
28208 *-*-cygwin* )
28209 LIBS="$LIBS -lkernel32 -luser32"
28210 esac
28211
28212 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28213 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28214
28215 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28216
28217 WIN32INSTALL=win32install
28218
28219 { echo "$as_me:$LINENO: checking for pbt.h" >&5
28220 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
28221 if test "${ac_cv_header_pbt_h+set}" = set; then
28222 echo $ECHO_N "(cached) $ECHO_C" >&6
28223 else
28224 cat >conftest.$ac_ext <<_ACEOF
28225 /* confdefs.h. */
28226 _ACEOF
28227 cat confdefs.h >>conftest.$ac_ext
28228 cat >>conftest.$ac_ext <<_ACEOF
28229 /* end confdefs.h. */
28230
28231
28232 #include <pbt.h>
28233 _ACEOF
28234 rm -f conftest.$ac_objext
28235 if { (ac_try="$ac_compile"
28236 case "(($ac_try" in
28237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28238 *) ac_try_echo=$ac_try;;
28239 esac
28240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28241 (eval "$ac_compile") 2>conftest.er1
28242 ac_status=$?
28243 grep -v '^ *+' conftest.er1 >conftest.err
28244 rm -f conftest.er1
28245 cat conftest.err >&5
28246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28247 (exit $ac_status); } && {
28248 test -z "$ac_c_werror_flag" ||
28249 test ! -s conftest.err
28250 } && test -s conftest.$ac_objext; then
28251 ac_cv_header_pbt_h=yes
28252 else
28253 echo "$as_me: failed program was:" >&5
28254 sed 's/^/| /' conftest.$ac_ext >&5
28255
28256 ac_cv_header_pbt_h=no
28257 fi
28258
28259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28260 fi
28261 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28262 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28263 if test $ac_cv_header_pbt_h = yes; then
28264 :
28265 else
28266 cat >>confdefs.h <<\_ACEOF
28267 #define NEED_PBT_H 1
28268 _ACEOF
28269
28270 fi
28271
28272
28273 fi
28274
28275 if test "$wxUSE_GUI" = "yes"; then
28276 USE_GUI=1
28277
28278 GUI_TK_LIBRARY=
28279
28280 WXGTK12=
28281 WXGTK127=
28282 WXGTK2=
28283 WXGPE=
28284
28285 if test "$wxUSE_COCOA" = 1 ; then
28286 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28287 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28288 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28289 wxUSE_PRINTING_ARCHITECTURE=no
28290 fi
28291 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28292 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28293 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28294 wxUSE_DRAG_AND_DROP=no
28295 fi
28296 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28297 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28298 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28299 wxUSE_DRAGIMAGE=no
28300 fi
28301 fi
28302
28303 if test "$wxUSE_MSW" = 1 ; then
28304 TOOLKIT=MSW
28305 GUIDIST=MSW_DIST
28306
28307 case "${host}" in
28308 *-*-mingw32* )
28309 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28310 esac
28311 fi
28312
28313 if test "$wxUSE_GTK" = 1; then
28314 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28315 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28316
28317 gtk_version_cached=1
28318 if test "${wx_cv_lib_gtk+set}" = set; then
28319 echo $ECHO_N "(cached) $ECHO_C" >&6
28320 else
28321
28322 gtk_version_cached=0
28323 { echo "$as_me:$LINENO: result: " >&5
28324 echo "${ECHO_T}" >&6; }
28325
28326 GTK_MODULES=
28327 if test "$wxUSE_THREADS" = "yes"; then
28328 GTK_MODULES=gthread
28329 fi
28330
28331 wx_cv_lib_gtk=
28332 if test "x$wxGTK_VERSION" != "x1"
28333 then
28334 case "${host}" in
28335 *-*-solaris2* )
28336 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28337 enable_gtktest=no
28338 fi
28339 esac
28340
28341 # Check whether --enable-gtktest was given.
28342 if test "${enable_gtktest+set}" = set; then
28343 enableval=$enable_gtktest;
28344 else
28345 enable_gtktest=yes
28346 fi
28347
28348
28349 pkg_config_args=gtk+-2.0
28350 for module in . $GTK_MODULES
28351 do
28352 case "$module" in
28353 gthread)
28354 pkg_config_args="$pkg_config_args gthread-2.0"
28355 ;;
28356 esac
28357 done
28358
28359 no_gtk=""
28360
28361 # Extract the first word of "pkg-config", so it can be a program name with args.
28362 set dummy pkg-config; ac_word=$2
28363 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28365 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28366 echo $ECHO_N "(cached) $ECHO_C" >&6
28367 else
28368 case $PKG_CONFIG in
28369 [\\/]* | ?:[\\/]*)
28370 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28371 ;;
28372 *)
28373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28374 for as_dir in $PATH
28375 do
28376 IFS=$as_save_IFS
28377 test -z "$as_dir" && as_dir=.
28378 for ac_exec_ext in '' $ac_executable_extensions; do
28379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28380 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28382 break 2
28383 fi
28384 done
28385 done
28386 IFS=$as_save_IFS
28387
28388 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28389 ;;
28390 esac
28391 fi
28392 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28393 if test -n "$PKG_CONFIG"; then
28394 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28395 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28396 else
28397 { echo "$as_me:$LINENO: result: no" >&5
28398 echo "${ECHO_T}no" >&6; }
28399 fi
28400
28401
28402
28403 if test x$PKG_CONFIG != xno ; then
28404 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28405 :
28406 else
28407 echo "*** pkg-config too old; version 0.7 or better required."
28408 no_gtk=yes
28409 PKG_CONFIG=no
28410 fi
28411 else
28412 no_gtk=yes
28413 fi
28414
28415 min_gtk_version=2.4.0
28416 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28417 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28418
28419 if test x$PKG_CONFIG != xno ; then
28420 ## don't try to run the test against uninstalled libtool libs
28421 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28422 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28423 enable_gtktest=no
28424 fi
28425
28426 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28427 :
28428 else
28429 no_gtk=yes
28430 fi
28431 fi
28432
28433 if test x"$no_gtk" = x ; then
28434 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28435 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28436 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28437 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28438 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28439 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28440 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28441 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28442 if test "x$enable_gtktest" = "xyes" ; then
28443 ac_save_CFLAGS="$CFLAGS"
28444 ac_save_LIBS="$LIBS"
28445 CFLAGS="$CFLAGS $GTK_CFLAGS"
28446 LIBS="$GTK_LIBS $LIBS"
28447 rm -f conf.gtktest
28448 if test "$cross_compiling" = yes; then
28449 echo $ac_n "cross compiling; assumed OK... $ac_c"
28450 else
28451 cat >conftest.$ac_ext <<_ACEOF
28452 /* confdefs.h. */
28453 _ACEOF
28454 cat confdefs.h >>conftest.$ac_ext
28455 cat >>conftest.$ac_ext <<_ACEOF
28456 /* end confdefs.h. */
28457
28458 #include <gtk/gtk.h>
28459 #include <stdio.h>
28460 #include <stdlib.h>
28461
28462 int
28463 main ()
28464 {
28465 int major, minor, micro;
28466 char *tmp_version;
28467
28468 system ("touch conf.gtktest");
28469
28470 /* HP/UX 9 (%@#!) writes to sscanf strings */
28471 tmp_version = g_strdup("$min_gtk_version");
28472 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28473 printf("%s, bad version string\n", "$min_gtk_version");
28474 exit(1);
28475 }
28476
28477 if ((gtk_major_version != $gtk_config_major_version) ||
28478 (gtk_minor_version != $gtk_config_minor_version) ||
28479 (gtk_micro_version != $gtk_config_micro_version))
28480 {
28481 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28482 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28483 gtk_major_version, gtk_minor_version, gtk_micro_version);
28484 printf ("*** was found! If pkg-config was correct, then it is best\n");
28485 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28486 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28487 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28488 printf("*** required on your system.\n");
28489 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28490 printf("*** to point to the correct configuration files\n");
28491 }
28492 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28493 (gtk_minor_version != GTK_MINOR_VERSION) ||
28494 (gtk_micro_version != GTK_MICRO_VERSION))
28495 {
28496 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28497 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28498 printf("*** library (version %d.%d.%d)\n",
28499 gtk_major_version, gtk_minor_version, gtk_micro_version);
28500 }
28501 else
28502 {
28503 if ((gtk_major_version > major) ||
28504 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28505 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28506 {
28507 return 0;
28508 }
28509 else
28510 {
28511 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28512 gtk_major_version, gtk_minor_version, gtk_micro_version);
28513 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28514 major, minor, micro);
28515 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28516 printf("***\n");
28517 printf("*** If you have already installed a sufficiently new version, this error\n");
28518 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28519 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28520 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28521 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28522 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28523 printf("*** so that the correct libraries are found at run-time))\n");
28524 }
28525 }
28526 return 1;
28527 }
28528
28529 _ACEOF
28530 rm -f conftest$ac_exeext
28531 if { (ac_try="$ac_link"
28532 case "(($ac_try" in
28533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28534 *) ac_try_echo=$ac_try;;
28535 esac
28536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28537 (eval "$ac_link") 2>&5
28538 ac_status=$?
28539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28540 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28541 { (case "(($ac_try" in
28542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28543 *) ac_try_echo=$ac_try;;
28544 esac
28545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28546 (eval "$ac_try") 2>&5
28547 ac_status=$?
28548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28549 (exit $ac_status); }; }; then
28550 :
28551 else
28552 echo "$as_me: program exited with status $ac_status" >&5
28553 echo "$as_me: failed program was:" >&5
28554 sed 's/^/| /' conftest.$ac_ext >&5
28555
28556 ( exit $ac_status )
28557 no_gtk=yes
28558 fi
28559 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28560 fi
28561
28562
28563 CFLAGS="$ac_save_CFLAGS"
28564 LIBS="$ac_save_LIBS"
28565 fi
28566 fi
28567 if test "x$no_gtk" = x ; then
28568 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28569 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28570 wx_cv_lib_gtk=2.0
28571 else
28572 { echo "$as_me:$LINENO: result: no" >&5
28573 echo "${ECHO_T}no" >&6; }
28574 if test "$PKG_CONFIG" = "no" ; then
28575 echo "*** A new enough version of pkg-config was not found."
28576 echo "*** See http://pkgconfig.sourceforge.net"
28577 else
28578 if test -f conf.gtktest ; then
28579 :
28580 else
28581 echo "*** Could not run GTK+ test program, checking why..."
28582 ac_save_CFLAGS="$CFLAGS"
28583 ac_save_LIBS="$LIBS"
28584 CFLAGS="$CFLAGS $GTK_CFLAGS"
28585 LIBS="$LIBS $GTK_LIBS"
28586 cat >conftest.$ac_ext <<_ACEOF
28587 /* confdefs.h. */
28588 _ACEOF
28589 cat confdefs.h >>conftest.$ac_ext
28590 cat >>conftest.$ac_ext <<_ACEOF
28591 /* end confdefs.h. */
28592
28593 #include <gtk/gtk.h>
28594 #include <stdio.h>
28595
28596 int
28597 main ()
28598 {
28599 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28600 ;
28601 return 0;
28602 }
28603 _ACEOF
28604 rm -f conftest.$ac_objext conftest$ac_exeext
28605 if { (ac_try="$ac_link"
28606 case "(($ac_try" in
28607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28608 *) ac_try_echo=$ac_try;;
28609 esac
28610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28611 (eval "$ac_link") 2>conftest.er1
28612 ac_status=$?
28613 grep -v '^ *+' conftest.er1 >conftest.err
28614 rm -f conftest.er1
28615 cat conftest.err >&5
28616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28617 (exit $ac_status); } && {
28618 test -z "$ac_c_werror_flag" ||
28619 test ! -s conftest.err
28620 } && test -s conftest$ac_exeext &&
28621 $as_test_x conftest$ac_exeext; then
28622 echo "*** The test program compiled, but did not run. This usually means"
28623 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28624 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28625 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28626 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28627 echo "*** is required on your system"
28628 echo "***"
28629 echo "*** If you have an old version installed, it is best to remove it, although"
28630 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28631 else
28632 echo "$as_me: failed program was:" >&5
28633 sed 's/^/| /' conftest.$ac_ext >&5
28634
28635 echo "*** The test program failed to compile or link. See the file config.log for the"
28636 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28637 fi
28638
28639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28640 conftest$ac_exeext conftest.$ac_ext
28641 CFLAGS="$ac_save_CFLAGS"
28642 LIBS="$ac_save_LIBS"
28643 fi
28644 fi
28645 GTK_CFLAGS=""
28646 GTK_LIBS=""
28647 :
28648 fi
28649
28650
28651 rm -f conf.gtktest
28652
28653
28654 case "${host}" in
28655 *-*-solaris2* )
28656 if test "$wxUSE_SHARED" != "yes"; then
28657 GTK_LIBS="$GTK_LIBS -lX11"
28658 fi
28659 esac
28660 fi
28661
28662 if test -z "$wx_cv_lib_gtk"; then
28663 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28664
28665 # Check whether --with-gtk-prefix was given.
28666 if test "${with_gtk_prefix+set}" = set; then
28667 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28668 else
28669 gtk_config_prefix=""
28670 fi
28671
28672
28673 # Check whether --with-gtk-exec-prefix was given.
28674 if test "${with_gtk_exec_prefix+set}" = set; then
28675 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28676 else
28677 gtk_config_exec_prefix=""
28678 fi
28679
28680 # Check whether --enable-gtktest was given.
28681 if test "${enable_gtktest+set}" = set; then
28682 enableval=$enable_gtktest;
28683 else
28684 enable_gtktest=yes
28685 fi
28686
28687
28688 for module in . $GTK_MODULES
28689 do
28690 case "$module" in
28691 gthread)
28692 gtk_config_args="$gtk_config_args gthread"
28693 ;;
28694 esac
28695 done
28696
28697 if test x$gtk_config_exec_prefix != x ; then
28698 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28699 if test x${GTK_CONFIG+set} != xset ; then
28700 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28701 fi
28702 fi
28703 if test x$gtk_config_prefix != x ; then
28704 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28705 if test x${GTK_CONFIG+set} != xset ; then
28706 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28707 fi
28708 fi
28709
28710 # Extract the first word of "gtk-config", so it can be a program name with args.
28711 set dummy gtk-config; ac_word=$2
28712 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28714 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28715 echo $ECHO_N "(cached) $ECHO_C" >&6
28716 else
28717 case $GTK_CONFIG in
28718 [\\/]* | ?:[\\/]*)
28719 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28720 ;;
28721 *)
28722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28723 for as_dir in $PATH
28724 do
28725 IFS=$as_save_IFS
28726 test -z "$as_dir" && as_dir=.
28727 for ac_exec_ext in '' $ac_executable_extensions; do
28728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28729 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28731 break 2
28732 fi
28733 done
28734 done
28735 IFS=$as_save_IFS
28736
28737 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28738 ;;
28739 esac
28740 fi
28741 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28742 if test -n "$GTK_CONFIG"; then
28743 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28744 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28745 else
28746 { echo "$as_me:$LINENO: result: no" >&5
28747 echo "${ECHO_T}no" >&6; }
28748 fi
28749
28750
28751 min_gtk_version=1.2.7
28752 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28753 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28754 no_gtk=""
28755 if test "$GTK_CONFIG" = "no" ; then
28756 no_gtk=yes
28757 else
28758 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28759 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28760 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28761 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28762 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28763 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28764 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28765 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28766 if test "x$enable_gtktest" = "xyes" ; then
28767 ac_save_CFLAGS="$CFLAGS"
28768 ac_save_LIBS="$LIBS"
28769 CFLAGS="$CFLAGS $GTK_CFLAGS"
28770 LIBS="$GTK_LIBS $LIBS"
28771 rm -f conf.gtktest
28772 if test "$cross_compiling" = yes; then
28773 echo $ac_n "cross compiling; assumed OK... $ac_c"
28774 else
28775 cat >conftest.$ac_ext <<_ACEOF
28776 /* confdefs.h. */
28777 _ACEOF
28778 cat confdefs.h >>conftest.$ac_ext
28779 cat >>conftest.$ac_ext <<_ACEOF
28780 /* end confdefs.h. */
28781
28782 #include <gtk/gtk.h>
28783 #include <stdio.h>
28784 #include <stdlib.h>
28785
28786 int
28787 main ()
28788 {
28789 int major, minor, micro;
28790 char *tmp_version;
28791
28792 system ("touch conf.gtktest");
28793
28794 /* HP/UX 9 (%@#!) writes to sscanf strings */
28795 tmp_version = g_strdup("$min_gtk_version");
28796 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28797 printf("%s, bad version string\n", "$min_gtk_version");
28798 exit(1);
28799 }
28800
28801 if ((gtk_major_version != $gtk_config_major_version) ||
28802 (gtk_minor_version != $gtk_config_minor_version) ||
28803 (gtk_micro_version != $gtk_config_micro_version))
28804 {
28805 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28806 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28807 gtk_major_version, gtk_minor_version, gtk_micro_version);
28808 printf ("*** was found! If gtk-config was correct, then it is best\n");
28809 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28810 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28811 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28812 printf("*** required on your system.\n");
28813 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28814 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28815 printf("*** before re-running configure\n");
28816 }
28817 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28818 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28819 (gtk_minor_version != GTK_MINOR_VERSION) ||
28820 (gtk_micro_version != GTK_MICRO_VERSION))
28821 {
28822 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28823 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28824 printf("*** library (version %d.%d.%d)\n",
28825 gtk_major_version, gtk_minor_version, gtk_micro_version);
28826 }
28827 #endif /* defined (GTK_MAJOR_VERSION) ... */
28828 else
28829 {
28830 if ((gtk_major_version > major) ||
28831 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28832 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28833 {
28834 return 0;
28835 }
28836 else
28837 {
28838 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28839 gtk_major_version, gtk_minor_version, gtk_micro_version);
28840 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28841 major, minor, micro);
28842 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28843 printf("***\n");
28844 printf("*** If you have already installed a sufficiently new version, this error\n");
28845 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28846 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28847 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28848 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28849 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28850 printf("*** so that the correct libraries are found at run-time))\n");
28851 }
28852 }
28853 return 1;
28854 }
28855
28856 _ACEOF
28857 rm -f conftest$ac_exeext
28858 if { (ac_try="$ac_link"
28859 case "(($ac_try" in
28860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28861 *) ac_try_echo=$ac_try;;
28862 esac
28863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28864 (eval "$ac_link") 2>&5
28865 ac_status=$?
28866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28867 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28868 { (case "(($ac_try" in
28869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28870 *) ac_try_echo=$ac_try;;
28871 esac
28872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28873 (eval "$ac_try") 2>&5
28874 ac_status=$?
28875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28876 (exit $ac_status); }; }; then
28877 :
28878 else
28879 echo "$as_me: program exited with status $ac_status" >&5
28880 echo "$as_me: failed program was:" >&5
28881 sed 's/^/| /' conftest.$ac_ext >&5
28882
28883 ( exit $ac_status )
28884 no_gtk=yes
28885 fi
28886 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28887 fi
28888
28889
28890 CFLAGS="$ac_save_CFLAGS"
28891 LIBS="$ac_save_LIBS"
28892 fi
28893 fi
28894 if test "x$no_gtk" = x ; then
28895 { echo "$as_me:$LINENO: result: yes" >&5
28896 echo "${ECHO_T}yes" >&6; }
28897 wx_cv_lib_gtk=1.2.7
28898 else
28899 { echo "$as_me:$LINENO: result: no" >&5
28900 echo "${ECHO_T}no" >&6; }
28901 if test "$GTK_CONFIG" = "no" ; then
28902 echo "*** The gtk-config script installed by GTK could not be found"
28903 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28904 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28905 echo "*** full path to gtk-config."
28906 else
28907 if test -f conf.gtktest ; then
28908 :
28909 else
28910 echo "*** Could not run GTK test program, checking why..."
28911 CFLAGS="$CFLAGS $GTK_CFLAGS"
28912 LIBS="$LIBS $GTK_LIBS"
28913 cat >conftest.$ac_ext <<_ACEOF
28914 /* confdefs.h. */
28915 _ACEOF
28916 cat confdefs.h >>conftest.$ac_ext
28917 cat >>conftest.$ac_ext <<_ACEOF
28918 /* end confdefs.h. */
28919
28920 #include <gtk/gtk.h>
28921 #include <stdio.h>
28922
28923 int
28924 main ()
28925 {
28926 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28927 ;
28928 return 0;
28929 }
28930 _ACEOF
28931 rm -f conftest.$ac_objext conftest$ac_exeext
28932 if { (ac_try="$ac_link"
28933 case "(($ac_try" in
28934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28935 *) ac_try_echo=$ac_try;;
28936 esac
28937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28938 (eval "$ac_link") 2>conftest.er1
28939 ac_status=$?
28940 grep -v '^ *+' conftest.er1 >conftest.err
28941 rm -f conftest.er1
28942 cat conftest.err >&5
28943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28944 (exit $ac_status); } && {
28945 test -z "$ac_c_werror_flag" ||
28946 test ! -s conftest.err
28947 } && test -s conftest$ac_exeext &&
28948 $as_test_x conftest$ac_exeext; then
28949 echo "*** The test program compiled, but did not run. This usually means"
28950 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28951 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28952 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28953 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28954 echo "*** is required on your system"
28955 echo "***"
28956 echo "*** If you have an old version installed, it is best to remove it, although"
28957 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28958 echo "***"
28959 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28960 echo "*** came with the system with the command"
28961 echo "***"
28962 echo "*** rpm --erase --nodeps gtk gtk-devel"
28963 else
28964 echo "$as_me: failed program was:" >&5
28965 sed 's/^/| /' conftest.$ac_ext >&5
28966
28967 echo "*** The test program failed to compile or link. See the file config.log for the"
28968 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28969 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28970 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28971 fi
28972
28973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28974 conftest$ac_exeext conftest.$ac_ext
28975 CFLAGS="$ac_save_CFLAGS"
28976 LIBS="$ac_save_LIBS"
28977 fi
28978 fi
28979 GTK_CFLAGS=""
28980 GTK_LIBS=""
28981 :
28982 fi
28983
28984
28985 rm -f conf.gtktest
28986
28987
28988 if test -z "$wx_cv_lib_gtk"; then
28989
28990 # Check whether --with-gtk-prefix was given.
28991 if test "${with_gtk_prefix+set}" = set; then
28992 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28993 else
28994 gtk_config_prefix=""
28995 fi
28996
28997
28998 # Check whether --with-gtk-exec-prefix was given.
28999 if test "${with_gtk_exec_prefix+set}" = set; then
29000 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29001 else
29002 gtk_config_exec_prefix=""
29003 fi
29004
29005 # Check whether --enable-gtktest was given.
29006 if test "${enable_gtktest+set}" = set; then
29007 enableval=$enable_gtktest;
29008 else
29009 enable_gtktest=yes
29010 fi
29011
29012
29013 for module in . $GTK_MODULES
29014 do
29015 case "$module" in
29016 gthread)
29017 gtk_config_args="$gtk_config_args gthread"
29018 ;;
29019 esac
29020 done
29021
29022 if test x$gtk_config_exec_prefix != x ; then
29023 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29024 if test x${GTK_CONFIG+set} != xset ; then
29025 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29026 fi
29027 fi
29028 if test x$gtk_config_prefix != x ; then
29029 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29030 if test x${GTK_CONFIG+set} != xset ; then
29031 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29032 fi
29033 fi
29034
29035 # Extract the first word of "gtk-config", so it can be a program name with args.
29036 set dummy gtk-config; ac_word=$2
29037 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29039 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29040 echo $ECHO_N "(cached) $ECHO_C" >&6
29041 else
29042 case $GTK_CONFIG in
29043 [\\/]* | ?:[\\/]*)
29044 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29045 ;;
29046 *)
29047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29048 for as_dir in $PATH
29049 do
29050 IFS=$as_save_IFS
29051 test -z "$as_dir" && as_dir=.
29052 for ac_exec_ext in '' $ac_executable_extensions; do
29053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29054 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29056 break 2
29057 fi
29058 done
29059 done
29060 IFS=$as_save_IFS
29061
29062 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29063 ;;
29064 esac
29065 fi
29066 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29067 if test -n "$GTK_CONFIG"; then
29068 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29069 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29070 else
29071 { echo "$as_me:$LINENO: result: no" >&5
29072 echo "${ECHO_T}no" >&6; }
29073 fi
29074
29075
29076 min_gtk_version=1.2.3
29077 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29078 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29079 no_gtk=""
29080 if test "$GTK_CONFIG" = "no" ; then
29081 no_gtk=yes
29082 else
29083 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29084 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29085 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29086 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29087 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29088 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29089 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29090 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29091 if test "x$enable_gtktest" = "xyes" ; then
29092 ac_save_CFLAGS="$CFLAGS"
29093 ac_save_LIBS="$LIBS"
29094 CFLAGS="$CFLAGS $GTK_CFLAGS"
29095 LIBS="$GTK_LIBS $LIBS"
29096 rm -f conf.gtktest
29097 if test "$cross_compiling" = yes; then
29098 echo $ac_n "cross compiling; assumed OK... $ac_c"
29099 else
29100 cat >conftest.$ac_ext <<_ACEOF
29101 /* confdefs.h. */
29102 _ACEOF
29103 cat confdefs.h >>conftest.$ac_ext
29104 cat >>conftest.$ac_ext <<_ACEOF
29105 /* end confdefs.h. */
29106
29107 #include <gtk/gtk.h>
29108 #include <stdio.h>
29109 #include <stdlib.h>
29110
29111 int
29112 main ()
29113 {
29114 int major, minor, micro;
29115 char *tmp_version;
29116
29117 system ("touch conf.gtktest");
29118
29119 /* HP/UX 9 (%@#!) writes to sscanf strings */
29120 tmp_version = g_strdup("$min_gtk_version");
29121 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29122 printf("%s, bad version string\n", "$min_gtk_version");
29123 exit(1);
29124 }
29125
29126 if ((gtk_major_version != $gtk_config_major_version) ||
29127 (gtk_minor_version != $gtk_config_minor_version) ||
29128 (gtk_micro_version != $gtk_config_micro_version))
29129 {
29130 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29131 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29132 gtk_major_version, gtk_minor_version, gtk_micro_version);
29133 printf ("*** was found! If gtk-config was correct, then it is best\n");
29134 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29135 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29136 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29137 printf("*** required on your system.\n");
29138 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29139 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29140 printf("*** before re-running configure\n");
29141 }
29142 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29143 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29144 (gtk_minor_version != GTK_MINOR_VERSION) ||
29145 (gtk_micro_version != GTK_MICRO_VERSION))
29146 {
29147 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29148 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29149 printf("*** library (version %d.%d.%d)\n",
29150 gtk_major_version, gtk_minor_version, gtk_micro_version);
29151 }
29152 #endif /* defined (GTK_MAJOR_VERSION) ... */
29153 else
29154 {
29155 if ((gtk_major_version > major) ||
29156 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29157 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29158 {
29159 return 0;
29160 }
29161 else
29162 {
29163 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29164 gtk_major_version, gtk_minor_version, gtk_micro_version);
29165 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29166 major, minor, micro);
29167 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29168 printf("***\n");
29169 printf("*** If you have already installed a sufficiently new version, this error\n");
29170 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29171 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29172 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29173 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29174 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29175 printf("*** so that the correct libraries are found at run-time))\n");
29176 }
29177 }
29178 return 1;
29179 }
29180
29181 _ACEOF
29182 rm -f conftest$ac_exeext
29183 if { (ac_try="$ac_link"
29184 case "(($ac_try" in
29185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29186 *) ac_try_echo=$ac_try;;
29187 esac
29188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29189 (eval "$ac_link") 2>&5
29190 ac_status=$?
29191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29192 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29193 { (case "(($ac_try" in
29194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29195 *) ac_try_echo=$ac_try;;
29196 esac
29197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29198 (eval "$ac_try") 2>&5
29199 ac_status=$?
29200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29201 (exit $ac_status); }; }; then
29202 :
29203 else
29204 echo "$as_me: program exited with status $ac_status" >&5
29205 echo "$as_me: failed program was:" >&5
29206 sed 's/^/| /' conftest.$ac_ext >&5
29207
29208 ( exit $ac_status )
29209 no_gtk=yes
29210 fi
29211 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29212 fi
29213
29214
29215 CFLAGS="$ac_save_CFLAGS"
29216 LIBS="$ac_save_LIBS"
29217 fi
29218 fi
29219 if test "x$no_gtk" = x ; then
29220 { echo "$as_me:$LINENO: result: yes" >&5
29221 echo "${ECHO_T}yes" >&6; }
29222 wx_cv_lib_gtk=1.2.3
29223 else
29224 { echo "$as_me:$LINENO: result: no" >&5
29225 echo "${ECHO_T}no" >&6; }
29226 if test "$GTK_CONFIG" = "no" ; then
29227 echo "*** The gtk-config script installed by GTK could not be found"
29228 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29229 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29230 echo "*** full path to gtk-config."
29231 else
29232 if test -f conf.gtktest ; then
29233 :
29234 else
29235 echo "*** Could not run GTK test program, checking why..."
29236 CFLAGS="$CFLAGS $GTK_CFLAGS"
29237 LIBS="$LIBS $GTK_LIBS"
29238 cat >conftest.$ac_ext <<_ACEOF
29239 /* confdefs.h. */
29240 _ACEOF
29241 cat confdefs.h >>conftest.$ac_ext
29242 cat >>conftest.$ac_ext <<_ACEOF
29243 /* end confdefs.h. */
29244
29245 #include <gtk/gtk.h>
29246 #include <stdio.h>
29247
29248 int
29249 main ()
29250 {
29251 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29252 ;
29253 return 0;
29254 }
29255 _ACEOF
29256 rm -f conftest.$ac_objext conftest$ac_exeext
29257 if { (ac_try="$ac_link"
29258 case "(($ac_try" in
29259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29260 *) ac_try_echo=$ac_try;;
29261 esac
29262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29263 (eval "$ac_link") 2>conftest.er1
29264 ac_status=$?
29265 grep -v '^ *+' conftest.er1 >conftest.err
29266 rm -f conftest.er1
29267 cat conftest.err >&5
29268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29269 (exit $ac_status); } && {
29270 test -z "$ac_c_werror_flag" ||
29271 test ! -s conftest.err
29272 } && test -s conftest$ac_exeext &&
29273 $as_test_x conftest$ac_exeext; then
29274 echo "*** The test program compiled, but did not run. This usually means"
29275 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29276 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29277 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29278 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29279 echo "*** is required on your system"
29280 echo "***"
29281 echo "*** If you have an old version installed, it is best to remove it, although"
29282 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29283 echo "***"
29284 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29285 echo "*** came with the system with the command"
29286 echo "***"
29287 echo "*** rpm --erase --nodeps gtk gtk-devel"
29288 else
29289 echo "$as_me: failed program was:" >&5
29290 sed 's/^/| /' conftest.$ac_ext >&5
29291
29292 echo "*** The test program failed to compile or link. See the file config.log for the"
29293 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29294 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29295 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29296 fi
29297
29298 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29299 conftest$ac_exeext conftest.$ac_ext
29300 CFLAGS="$ac_save_CFLAGS"
29301 LIBS="$ac_save_LIBS"
29302 fi
29303 fi
29304 GTK_CFLAGS=""
29305 GTK_LIBS=""
29306 :
29307 fi
29308
29309
29310 rm -f conf.gtktest
29311
29312 fi
29313 fi
29314 fi
29315
29316 if test -z "$wx_cv_lib_gtk"; then
29317 wx_cv_lib_gtk=none
29318 else
29319 wx_cv_cflags_gtk=$GTK_CFLAGS
29320 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29321 fi
29322
29323
29324 fi
29325
29326
29327 if test "$gtk_version_cached" = 1; then
29328 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29329 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29330 fi
29331
29332 case "$wx_cv_lib_gtk" in
29333 2.0) WXGTK2=1
29334 TOOLKIT_VERSION=2
29335 ;;
29336 1.2.7) WXGTK127=1
29337 WXGTK12=1
29338 ;;
29339 1.2.3) WXGTK12=1
29340 ;;
29341 *) { { echo "$as_me:$LINENO: error:
29342 The development files for GTK+ were not found. For GTK+ 2, please
29343 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29344 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29345 and that the version is 1.2.3 or above. Also check that the
29346 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29347 --libs' are in the LD_LIBRARY_PATH or equivalent.
29348 " >&5
29349 echo "$as_me: error:
29350 The development files for GTK+ were not found. For GTK+ 2, please
29351 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29352 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29353 and that the version is 1.2.3 or above. Also check that the
29354 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29355 --libs' are in the LD_LIBRARY_PATH or equivalent.
29356 " >&2;}
29357 { (exit 1); exit 1; }; }
29358 ;;
29359 esac
29360
29361 if test "$WXGTK2" = 1; then
29362 save_CFLAGS="$CFLAGS"
29363 save_LIBS="$LIBS"
29364 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29365 LIBS="$LIBS $wx_cv_libs_gtk"
29366
29367 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29368 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29369 cat >conftest.$ac_ext <<_ACEOF
29370 /* confdefs.h. */
29371 _ACEOF
29372 cat confdefs.h >>conftest.$ac_ext
29373 cat >>conftest.$ac_ext <<_ACEOF
29374 /* end confdefs.h. */
29375
29376 #include <gtk/gtk.h>
29377
29378 int
29379 main ()
29380 {
29381
29382 #if !GTK_CHECK_VERSION(2,10,0)
29383 Not GTK+ 2.10
29384 #endif
29385
29386 ;
29387 return 0;
29388 }
29389 _ACEOF
29390 rm -f conftest.$ac_objext
29391 if { (ac_try="$ac_compile"
29392 case "(($ac_try" in
29393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29394 *) ac_try_echo=$ac_try;;
29395 esac
29396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29397 (eval "$ac_compile") 2>conftest.er1
29398 ac_status=$?
29399 grep -v '^ *+' conftest.er1 >conftest.err
29400 rm -f conftest.er1
29401 cat conftest.err >&5
29402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29403 (exit $ac_status); } && {
29404 test -z "$ac_c_werror_flag" ||
29405 test ! -s conftest.err
29406 } && test -s conftest.$ac_objext; then
29407
29408 cat >>confdefs.h <<\_ACEOF
29409 #define __WXGTK210__ 1
29410 _ACEOF
29411
29412 cat >>confdefs.h <<\_ACEOF
29413 #define __WXGTK26__ 1
29414 _ACEOF
29415
29416 { echo "$as_me:$LINENO: result: yes" >&5
29417 echo "${ECHO_T}yes" >&6; }
29418 ac_wxgtk210=1
29419
29420 else
29421 echo "$as_me: failed program was:" >&5
29422 sed 's/^/| /' conftest.$ac_ext >&5
29423
29424
29425 { echo "$as_me:$LINENO: result: no" >&5
29426 echo "${ECHO_T}no" >&6; }
29427 ac_wxgtk210=0
29428
29429 fi
29430
29431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29432
29433 if test "$ac_wxgtk210" = 0; then
29434 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29435 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29436 cat >conftest.$ac_ext <<_ACEOF
29437 /* confdefs.h. */
29438 _ACEOF
29439 cat confdefs.h >>conftest.$ac_ext
29440 cat >>conftest.$ac_ext <<_ACEOF
29441 /* end confdefs.h. */
29442
29443 #include <gtk/gtk.h>
29444
29445 int
29446 main ()
29447 {
29448
29449 #if !GTK_CHECK_VERSION(2,6,0)
29450 Not GTK+ 2.6
29451 #endif
29452
29453 ;
29454 return 0;
29455 }
29456 _ACEOF
29457 rm -f conftest.$ac_objext
29458 if { (ac_try="$ac_compile"
29459 case "(($ac_try" in
29460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29461 *) ac_try_echo=$ac_try;;
29462 esac
29463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29464 (eval "$ac_compile") 2>conftest.er1
29465 ac_status=$?
29466 grep -v '^ *+' conftest.er1 >conftest.err
29467 rm -f conftest.er1
29468 cat conftest.err >&5
29469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29470 (exit $ac_status); } && {
29471 test -z "$ac_c_werror_flag" ||
29472 test ! -s conftest.err
29473 } && test -s conftest.$ac_objext; then
29474
29475 cat >>confdefs.h <<\_ACEOF
29476 #define __WXGTK26__ 1
29477 _ACEOF
29478
29479 { echo "$as_me:$LINENO: result: yes" >&5
29480 echo "${ECHO_T}yes" >&6; }
29481 ac_wxgtk26=1
29482
29483 else
29484 echo "$as_me: failed program was:" >&5
29485 sed 's/^/| /' conftest.$ac_ext >&5
29486
29487
29488 { echo "$as_me:$LINENO: result: no" >&5
29489 echo "${ECHO_T}no" >&6; }
29490 ac_wxgtk26=0
29491
29492 fi
29493
29494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29495 fi
29496
29497 CFLAGS="$save_CFLAGS"
29498 LIBS="$save_LIBS"
29499 else
29500 if test "$wxUSE_UNICODE" = "yes"; then
29501 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29502 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29503 wxUSE_UNICODE=no
29504 fi
29505
29506 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29507 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29508 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29509 echo $ECHO_N "(cached) $ECHO_C" >&6
29510 else
29511 ac_check_lib_save_LIBS=$LIBS
29512 LIBS="-lgdk $LIBS"
29513 cat >conftest.$ac_ext <<_ACEOF
29514 /* confdefs.h. */
29515 _ACEOF
29516 cat confdefs.h >>conftest.$ac_ext
29517 cat >>conftest.$ac_ext <<_ACEOF
29518 /* end confdefs.h. */
29519
29520 /* Override any GCC internal prototype to avoid an error.
29521 Use char because int might match the return type of a GCC
29522 builtin and then its argument prototype would still apply. */
29523 #ifdef __cplusplus
29524 extern "C"
29525 #endif
29526 char gdk_im_open ();
29527 int
29528 main ()
29529 {
29530 return gdk_im_open ();
29531 ;
29532 return 0;
29533 }
29534 _ACEOF
29535 rm -f conftest.$ac_objext conftest$ac_exeext
29536 if { (ac_try="$ac_link"
29537 case "(($ac_try" in
29538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29539 *) ac_try_echo=$ac_try;;
29540 esac
29541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29542 (eval "$ac_link") 2>conftest.er1
29543 ac_status=$?
29544 grep -v '^ *+' conftest.er1 >conftest.err
29545 rm -f conftest.er1
29546 cat conftest.err >&5
29547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29548 (exit $ac_status); } && {
29549 test -z "$ac_c_werror_flag" ||
29550 test ! -s conftest.err
29551 } && test -s conftest$ac_exeext &&
29552 $as_test_x conftest$ac_exeext; then
29553 ac_cv_lib_gdk_gdk_im_open=yes
29554 else
29555 echo "$as_me: failed program was:" >&5
29556 sed 's/^/| /' conftest.$ac_ext >&5
29557
29558 ac_cv_lib_gdk_gdk_im_open=no
29559 fi
29560
29561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29562 conftest$ac_exeext conftest.$ac_ext
29563 LIBS=$ac_check_lib_save_LIBS
29564 fi
29565 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29566 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29567 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29568 cat >>confdefs.h <<\_ACEOF
29569 #define HAVE_XIM 1
29570 _ACEOF
29571
29572 fi
29573
29574
29575 if test "$USE_DARWIN" != 1; then
29576
29577 for ac_func in poll
29578 do
29579 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29580 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29582 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29583 echo $ECHO_N "(cached) $ECHO_C" >&6
29584 else
29585 cat >conftest.$ac_ext <<_ACEOF
29586 /* confdefs.h. */
29587 _ACEOF
29588 cat confdefs.h >>conftest.$ac_ext
29589 cat >>conftest.$ac_ext <<_ACEOF
29590 /* end confdefs.h. */
29591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29593 #define $ac_func innocuous_$ac_func
29594
29595 /* System header to define __stub macros and hopefully few prototypes,
29596 which can conflict with char $ac_func (); below.
29597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29598 <limits.h> exists even on freestanding compilers. */
29599
29600 #ifdef __STDC__
29601 # include <limits.h>
29602 #else
29603 # include <assert.h>
29604 #endif
29605
29606 #undef $ac_func
29607
29608 /* Override any GCC internal prototype to avoid an error.
29609 Use char because int might match the return type of a GCC
29610 builtin and then its argument prototype would still apply. */
29611 #ifdef __cplusplus
29612 extern "C"
29613 #endif
29614 char $ac_func ();
29615 /* The GNU C library defines this for functions which it implements
29616 to always fail with ENOSYS. Some functions are actually named
29617 something starting with __ and the normal name is an alias. */
29618 #if defined __stub_$ac_func || defined __stub___$ac_func
29619 choke me
29620 #endif
29621
29622 int
29623 main ()
29624 {
29625 return $ac_func ();
29626 ;
29627 return 0;
29628 }
29629 _ACEOF
29630 rm -f conftest.$ac_objext conftest$ac_exeext
29631 if { (ac_try="$ac_link"
29632 case "(($ac_try" in
29633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29634 *) ac_try_echo=$ac_try;;
29635 esac
29636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29637 (eval "$ac_link") 2>conftest.er1
29638 ac_status=$?
29639 grep -v '^ *+' conftest.er1 >conftest.err
29640 rm -f conftest.er1
29641 cat conftest.err >&5
29642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29643 (exit $ac_status); } && {
29644 test -z "$ac_c_werror_flag" ||
29645 test ! -s conftest.err
29646 } && test -s conftest$ac_exeext &&
29647 $as_test_x conftest$ac_exeext; then
29648 eval "$as_ac_var=yes"
29649 else
29650 echo "$as_me: failed program was:" >&5
29651 sed 's/^/| /' conftest.$ac_ext >&5
29652
29653 eval "$as_ac_var=no"
29654 fi
29655
29656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29657 conftest$ac_exeext conftest.$ac_ext
29658 fi
29659 ac_res=`eval echo '${'$as_ac_var'}'`
29660 { echo "$as_me:$LINENO: result: $ac_res" >&5
29661 echo "${ECHO_T}$ac_res" >&6; }
29662 if test `eval echo '${'$as_ac_var'}'` = yes; then
29663 cat >>confdefs.h <<_ACEOF
29664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29665 _ACEOF
29666
29667 fi
29668 done
29669
29670 fi
29671 fi
29672
29673 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29674 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29675
29676 AFMINSTALL=afminstall
29677 TOOLKIT=GTK
29678 GUIDIST=GTK_DIST
29679
29680 if test "$wxUSE_GPE" = "yes"; then
29681 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29682 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29683
29684 ac_find_libraries=
29685 for ac_dir in $SEARCH_LIB;
29686 do
29687 for ac_extension in a so sl dylib dll.a; do
29688 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29689 ac_find_libraries=$ac_dir
29690 break 2
29691 fi
29692 done
29693 done
29694
29695 if test "$ac_find_libraries" != "" ; then
29696
29697 if test "$ac_find_libraries" = "default location"; then
29698 ac_path_to_link=""
29699 else
29700 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29701 result=$?
29702 if test $result = 0; then
29703 ac_path_to_link=""
29704 else
29705 ac_path_to_link=" -L$ac_find_libraries"
29706 fi
29707 fi
29708
29709 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29710 WXGPE=1
29711 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29712 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29713 else
29714 { echo "$as_me:$LINENO: result: not found" >&5
29715 echo "${ECHO_T}not found" >&6; }
29716 fi
29717
29718 fi
29719 fi
29720
29721 if test "$wxUSE_MGL" = 1; then
29722 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29723 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29724 if test "x$MGL_ROOT" = x ; then
29725 { echo "$as_me:$LINENO: result: not found" >&5
29726 echo "${ECHO_T}not found" >&6; }
29727 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29728 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29729 { (exit 1); exit 1; }; }
29730 else
29731 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29732 echo "${ECHO_T}$MGL_ROOT" >&6; }
29733 fi
29734
29735 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29736 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29737 case "${host}" in
29738 *-*-linux* )
29739 if test "x$wxUSE_SHARED" = xyes ; then
29740 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29741 else
29742 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29743 fi
29744 ;;
29745 *-pc-msdosdjgpp )
29746 mgl_os_candidates="dos32/dj2"
29747 ;;
29748 *)
29749 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29750 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29751 { (exit 1); exit 1; }; }
29752 esac
29753
29754 mgl_lib_type=""
29755 mgl_os=""
29756
29757 for mgl_os_i in $mgl_os_candidates ; do
29758 if test "x$mgl_os" = x ; then
29759 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29760 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29761 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29762 mgl_lib_type=debug
29763 mgl_os=$mgl_os_i
29764 fi
29765 fi
29766 if test "x$mgl_lib_type" = x ; then
29767 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29768 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29769 mgl_lib_type=release
29770 mgl_os=$mgl_os_i
29771 fi
29772 fi
29773 fi
29774 done
29775
29776 if test "x$mgl_os" = x ; then
29777 { echo "$as_me:$LINENO: result: not found" >&5
29778 echo "${ECHO_T}not found" >&6; }
29779 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29780 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29781 { (exit 1); exit 1; }; }
29782 fi
29783 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29784 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29785
29786 wxUSE_UNIVERSAL="yes"
29787
29788 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29789 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29790
29791 AFMINSTALL=afminstall
29792 TOOLKIT=MGL
29793 GUIDIST=MGL_DIST
29794 fi
29795
29796 if test "$wxUSE_DFB" = 1; then
29797
29798
29799 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29800 if test -n "$ac_tool_prefix"; then
29801 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29802 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29803 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29805 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29806 echo $ECHO_N "(cached) $ECHO_C" >&6
29807 else
29808 case $PKG_CONFIG in
29809 [\\/]* | ?:[\\/]*)
29810 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29811 ;;
29812 *)
29813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29814 for as_dir in $PATH
29815 do
29816 IFS=$as_save_IFS
29817 test -z "$as_dir" && as_dir=.
29818 for ac_exec_ext in '' $ac_executable_extensions; do
29819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29820 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29822 break 2
29823 fi
29824 done
29825 done
29826 IFS=$as_save_IFS
29827
29828 ;;
29829 esac
29830 fi
29831 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29832 if test -n "$PKG_CONFIG"; then
29833 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29834 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29835 else
29836 { echo "$as_me:$LINENO: result: no" >&5
29837 echo "${ECHO_T}no" >&6; }
29838 fi
29839
29840
29841 fi
29842 if test -z "$ac_cv_path_PKG_CONFIG"; then
29843 ac_pt_PKG_CONFIG=$PKG_CONFIG
29844 # Extract the first word of "pkg-config", so it can be a program name with args.
29845 set dummy pkg-config; ac_word=$2
29846 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29847 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29848 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29849 echo $ECHO_N "(cached) $ECHO_C" >&6
29850 else
29851 case $ac_pt_PKG_CONFIG in
29852 [\\/]* | ?:[\\/]*)
29853 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29854 ;;
29855 *)
29856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29857 for as_dir in $PATH
29858 do
29859 IFS=$as_save_IFS
29860 test -z "$as_dir" && as_dir=.
29861 for ac_exec_ext in '' $ac_executable_extensions; do
29862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29863 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29865 break 2
29866 fi
29867 done
29868 done
29869 IFS=$as_save_IFS
29870
29871 ;;
29872 esac
29873 fi
29874 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29875 if test -n "$ac_pt_PKG_CONFIG"; then
29876 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29877 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29878 else
29879 { echo "$as_me:$LINENO: result: no" >&5
29880 echo "${ECHO_T}no" >&6; }
29881 fi
29882
29883 if test "x$ac_pt_PKG_CONFIG" = x; then
29884 PKG_CONFIG=""
29885 else
29886 case $cross_compiling:$ac_tool_warned in
29887 yes:)
29888 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29889 whose name does not start with the host triplet. If you think this
29890 configuration is useful to you, please write to autoconf@gnu.org." >&5
29891 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29892 whose name does not start with the host triplet. If you think this
29893 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29894 ac_tool_warned=yes ;;
29895 esac
29896 PKG_CONFIG=$ac_pt_PKG_CONFIG
29897 fi
29898 else
29899 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29900 fi
29901
29902 fi
29903 if test -n "$PKG_CONFIG"; then
29904 _pkg_min_version=0.9.0
29905 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29906 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29907 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29908 { echo "$as_me:$LINENO: result: yes" >&5
29909 echo "${ECHO_T}yes" >&6; }
29910 else
29911 { echo "$as_me:$LINENO: result: no" >&5
29912 echo "${ECHO_T}no" >&6; }
29913 PKG_CONFIG=""
29914 fi
29915
29916 fi
29917
29918
29919 pkg_failed=no
29920 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29921 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29922
29923 if test -n "$PKG_CONFIG"; then
29924 if test -n "$DIRECTFB_CFLAGS"; then
29925 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29926 else
29927 if test -n "$PKG_CONFIG" && \
29928 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29929 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29930 ac_status=$?
29931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29932 (exit $ac_status); }; then
29933 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29934 else
29935 pkg_failed=yes
29936 fi
29937 fi
29938 else
29939 pkg_failed=untried
29940 fi
29941 if test -n "$PKG_CONFIG"; then
29942 if test -n "$DIRECTFB_LIBS"; then
29943 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29944 else
29945 if test -n "$PKG_CONFIG" && \
29946 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29947 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29948 ac_status=$?
29949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29950 (exit $ac_status); }; then
29951 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29952 else
29953 pkg_failed=yes
29954 fi
29955 fi
29956 else
29957 pkg_failed=untried
29958 fi
29959
29960
29961
29962 if test $pkg_failed = yes; then
29963
29964 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29965 _pkg_short_errors_supported=yes
29966 else
29967 _pkg_short_errors_supported=no
29968 fi
29969 if test $_pkg_short_errors_supported = yes; then
29970 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29971 else
29972 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29973 fi
29974 # Put the nasty error message in config.log where it belongs
29975 echo "$DIRECTFB_PKG_ERRORS" >&5
29976
29977
29978 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29979 echo "$as_me: error: DirectFB not found." >&2;}
29980 { (exit 1); exit 1; }; }
29981
29982
29983 elif test $pkg_failed = untried; then
29984
29985 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29986 echo "$as_me: error: DirectFB not found." >&2;}
29987 { (exit 1); exit 1; }; }
29988
29989
29990 else
29991 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29992 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29993 { echo "$as_me:$LINENO: result: yes" >&5
29994 echo "${ECHO_T}yes" >&6; }
29995
29996 wxUSE_UNIVERSAL="yes"
29997 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29998 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29999 TOOLKIT=DFB
30000 GUIDIST=DFB_DIST
30001
30002 fi
30003 fi
30004
30005 if test "$wxUSE_MICROWIN" = 1; then
30006 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30007 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30008 if test "x$MICROWINDOWS" = x ; then
30009 { echo "$as_me:$LINENO: result: not found" >&5
30010 echo "${ECHO_T}not found" >&6; }
30011 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30012 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30013 { (exit 1); exit 1; }; }
30014 else
30015 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30016 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30017 fi
30018
30019 if test -f $MICROWINDOWS/lib/libmwin.a; then
30020 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
30021 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
30022 else
30023 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30024 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30025 { (exit 1); exit 1; }; }
30026 fi
30027
30028 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30029 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30030
30031 wxUSE_UNIVERSAL="yes"
30032
30033 AFMINSTALL=afminstall
30034 TOOLKIT=MICROWIN
30035 GUIDIST=MICROWIN_DIST
30036
30037 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30038 fi
30039
30040 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30041 { echo "$as_me:$LINENO: checking for X" >&5
30042 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30043
30044
30045 # Check whether --with-x was given.
30046 if test "${with_x+set}" = set; then
30047 withval=$with_x;
30048 fi
30049
30050 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30051 if test "x$with_x" = xno; then
30052 # The user explicitly disabled X.
30053 have_x=disabled
30054 else
30055 case $x_includes,$x_libraries in #(
30056 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30057 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
30058 { (exit 1); exit 1; }; };; #(
30059 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30060 echo $ECHO_N "(cached) $ECHO_C" >&6
30061 else
30062 # One or both of the vars are not set, and there is no cached value.
30063 ac_x_includes=no ac_x_libraries=no
30064 rm -f -r conftest.dir
30065 if mkdir conftest.dir; then
30066 cd conftest.dir
30067 cat >Imakefile <<'_ACEOF'
30068 incroot:
30069 @echo incroot='${INCROOT}'
30070 usrlibdir:
30071 @echo usrlibdir='${USRLIBDIR}'
30072 libdir:
30073 @echo libdir='${LIBDIR}'
30074 _ACEOF
30075 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30076 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30077 for ac_var in incroot usrlibdir libdir; do
30078 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
30079 done
30080 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30081 for ac_extension in a so sl; do
30082 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30083 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30084 ac_im_usrlibdir=$ac_im_libdir; break
30085 fi
30086 done
30087 # Screen out bogus values from the imake configuration. They are
30088 # bogus both because they are the default anyway, and because
30089 # using them would break gcc on systems where it needs fixed includes.
30090 case $ac_im_incroot in
30091 /usr/include) ac_x_includes= ;;
30092 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30093 esac
30094 case $ac_im_usrlibdir in
30095 /usr/lib | /lib) ;;
30096 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30097 esac
30098 fi
30099 cd ..
30100 rm -f -r conftest.dir
30101 fi
30102
30103 # Standard set of common directories for X headers.
30104 # Check X11 before X11Rn because it is often a symlink to the current release.
30105 ac_x_header_dirs='
30106 /usr/X11/include
30107 /usr/X11R6/include
30108 /usr/X11R5/include
30109 /usr/X11R4/include
30110
30111 /usr/include/X11
30112 /usr/include/X11R6
30113 /usr/include/X11R5
30114 /usr/include/X11R4
30115
30116 /usr/local/X11/include
30117 /usr/local/X11R6/include
30118 /usr/local/X11R5/include
30119 /usr/local/X11R4/include
30120
30121 /usr/local/include/X11
30122 /usr/local/include/X11R6
30123 /usr/local/include/X11R5
30124 /usr/local/include/X11R4
30125
30126 /usr/X386/include
30127 /usr/x386/include
30128 /usr/XFree86/include/X11
30129
30130 /usr/include
30131 /usr/local/include
30132 /usr/unsupported/include
30133 /usr/athena/include
30134 /usr/local/x11r5/include
30135 /usr/lpp/Xamples/include
30136
30137 /usr/openwin/include
30138 /usr/openwin/share/include'
30139
30140 if test "$ac_x_includes" = no; then
30141 # Guess where to find include files, by looking for Xlib.h.
30142 # First, try using that file with no special directory specified.
30143 cat >conftest.$ac_ext <<_ACEOF
30144 /* confdefs.h. */
30145 _ACEOF
30146 cat confdefs.h >>conftest.$ac_ext
30147 cat >>conftest.$ac_ext <<_ACEOF
30148 /* end confdefs.h. */
30149 #include <X11/Xlib.h>
30150 _ACEOF
30151 if { (ac_try="$ac_cpp conftest.$ac_ext"
30152 case "(($ac_try" in
30153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30154 *) ac_try_echo=$ac_try;;
30155 esac
30156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30157 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30158 ac_status=$?
30159 grep -v '^ *+' conftest.er1 >conftest.err
30160 rm -f conftest.er1
30161 cat conftest.err >&5
30162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30163 (exit $ac_status); } >/dev/null && {
30164 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30165 test ! -s conftest.err
30166 }; then
30167 # We can compile using X headers with no special include directory.
30168 ac_x_includes=
30169 else
30170 echo "$as_me: failed program was:" >&5
30171 sed 's/^/| /' conftest.$ac_ext >&5
30172
30173 for ac_dir in $ac_x_header_dirs; do
30174 if test -r "$ac_dir/X11/Xlib.h"; then
30175 ac_x_includes=$ac_dir
30176 break
30177 fi
30178 done
30179 fi
30180
30181 rm -f conftest.err conftest.$ac_ext
30182 fi # $ac_x_includes = no
30183
30184 if test "$ac_x_libraries" = no; then
30185 # Check for the libraries.
30186 # See if we find them without any special options.
30187 # Don't add to $LIBS permanently.
30188 ac_save_LIBS=$LIBS
30189 LIBS="-lX11 $LIBS"
30190 cat >conftest.$ac_ext <<_ACEOF
30191 /* confdefs.h. */
30192 _ACEOF
30193 cat confdefs.h >>conftest.$ac_ext
30194 cat >>conftest.$ac_ext <<_ACEOF
30195 /* end confdefs.h. */
30196 #include <X11/Xlib.h>
30197 int
30198 main ()
30199 {
30200 XrmInitialize ()
30201 ;
30202 return 0;
30203 }
30204 _ACEOF
30205 rm -f conftest.$ac_objext conftest$ac_exeext
30206 if { (ac_try="$ac_link"
30207 case "(($ac_try" in
30208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30209 *) ac_try_echo=$ac_try;;
30210 esac
30211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30212 (eval "$ac_link") 2>conftest.er1
30213 ac_status=$?
30214 grep -v '^ *+' conftest.er1 >conftest.err
30215 rm -f conftest.er1
30216 cat conftest.err >&5
30217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30218 (exit $ac_status); } && {
30219 test -z "$ac_c_werror_flag" ||
30220 test ! -s conftest.err
30221 } && test -s conftest$ac_exeext &&
30222 $as_test_x conftest$ac_exeext; then
30223 LIBS=$ac_save_LIBS
30224 # We can link X programs with no special library path.
30225 ac_x_libraries=
30226 else
30227 echo "$as_me: failed program was:" >&5
30228 sed 's/^/| /' conftest.$ac_ext >&5
30229
30230 LIBS=$ac_save_LIBS
30231 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30232 do
30233 # Don't even attempt the hair of trying to link an X program!
30234 for ac_extension in a so sl; do
30235 if test -r "$ac_dir/libX11.$ac_extension"; then
30236 ac_x_libraries=$ac_dir
30237 break 2
30238 fi
30239 done
30240 done
30241 fi
30242
30243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30244 conftest$ac_exeext conftest.$ac_ext
30245 fi # $ac_x_libraries = no
30246
30247 case $ac_x_includes,$ac_x_libraries in #(
30248 no,* | *,no | *\'*)
30249 # Didn't find X, or a directory has "'" in its name.
30250 ac_cv_have_x="have_x=no";; #(
30251 *)
30252 # Record where we found X for the cache.
30253 ac_cv_have_x="have_x=yes\
30254 ac_x_includes='$ac_x_includes'\
30255 ac_x_libraries='$ac_x_libraries'"
30256 esac
30257 fi
30258 ;; #(
30259 *) have_x=yes;;
30260 esac
30261 eval "$ac_cv_have_x"
30262 fi # $with_x != no
30263
30264 if test "$have_x" != yes; then
30265 { echo "$as_me:$LINENO: result: $have_x" >&5
30266 echo "${ECHO_T}$have_x" >&6; }
30267 no_x=yes
30268 else
30269 # If each of the values was on the command line, it overrides each guess.
30270 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30271 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30272 # Update the cache value to reflect the command line values.
30273 ac_cv_have_x="have_x=yes\
30274 ac_x_includes='$x_includes'\
30275 ac_x_libraries='$x_libraries'"
30276 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30277 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30278 fi
30279
30280 if test "$no_x" = yes; then
30281 # Not all programs may use this symbol, but it does not hurt to define it.
30282
30283 cat >>confdefs.h <<\_ACEOF
30284 #define X_DISPLAY_MISSING 1
30285 _ACEOF
30286
30287 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30288 else
30289 if test -n "$x_includes"; then
30290 X_CFLAGS="$X_CFLAGS -I$x_includes"
30291 fi
30292
30293 # It would also be nice to do this for all -L options, not just this one.
30294 if test -n "$x_libraries"; then
30295 X_LIBS="$X_LIBS -L$x_libraries"
30296 # For Solaris; some versions of Sun CC require a space after -R and
30297 # others require no space. Words are not sufficient . . . .
30298 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30299 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30300 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30301 ac_xsave_c_werror_flag=$ac_c_werror_flag
30302 ac_c_werror_flag=yes
30303 cat >conftest.$ac_ext <<_ACEOF
30304 /* confdefs.h. */
30305 _ACEOF
30306 cat confdefs.h >>conftest.$ac_ext
30307 cat >>conftest.$ac_ext <<_ACEOF
30308 /* end confdefs.h. */
30309
30310 int
30311 main ()
30312 {
30313
30314 ;
30315 return 0;
30316 }
30317 _ACEOF
30318 rm -f conftest.$ac_objext conftest$ac_exeext
30319 if { (ac_try="$ac_link"
30320 case "(($ac_try" in
30321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30322 *) ac_try_echo=$ac_try;;
30323 esac
30324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30325 (eval "$ac_link") 2>conftest.er1
30326 ac_status=$?
30327 grep -v '^ *+' conftest.er1 >conftest.err
30328 rm -f conftest.er1
30329 cat conftest.err >&5
30330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30331 (exit $ac_status); } && {
30332 test -z "$ac_c_werror_flag" ||
30333 test ! -s conftest.err
30334 } && test -s conftest$ac_exeext &&
30335 $as_test_x conftest$ac_exeext; then
30336 { echo "$as_me:$LINENO: result: no" >&5
30337 echo "${ECHO_T}no" >&6; }
30338 X_LIBS="$X_LIBS -R$x_libraries"
30339 else
30340 echo "$as_me: failed program was:" >&5
30341 sed 's/^/| /' conftest.$ac_ext >&5
30342
30343 LIBS="$ac_xsave_LIBS -R $x_libraries"
30344 cat >conftest.$ac_ext <<_ACEOF
30345 /* confdefs.h. */
30346 _ACEOF
30347 cat confdefs.h >>conftest.$ac_ext
30348 cat >>conftest.$ac_ext <<_ACEOF
30349 /* end confdefs.h. */
30350
30351 int
30352 main ()
30353 {
30354
30355 ;
30356 return 0;
30357 }
30358 _ACEOF
30359 rm -f conftest.$ac_objext conftest$ac_exeext
30360 if { (ac_try="$ac_link"
30361 case "(($ac_try" in
30362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30363 *) ac_try_echo=$ac_try;;
30364 esac
30365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30366 (eval "$ac_link") 2>conftest.er1
30367 ac_status=$?
30368 grep -v '^ *+' conftest.er1 >conftest.err
30369 rm -f conftest.er1
30370 cat conftest.err >&5
30371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30372 (exit $ac_status); } && {
30373 test -z "$ac_c_werror_flag" ||
30374 test ! -s conftest.err
30375 } && test -s conftest$ac_exeext &&
30376 $as_test_x conftest$ac_exeext; then
30377 { echo "$as_me:$LINENO: result: yes" >&5
30378 echo "${ECHO_T}yes" >&6; }
30379 X_LIBS="$X_LIBS -R $x_libraries"
30380 else
30381 echo "$as_me: failed program was:" >&5
30382 sed 's/^/| /' conftest.$ac_ext >&5
30383
30384 { echo "$as_me:$LINENO: result: neither works" >&5
30385 echo "${ECHO_T}neither works" >&6; }
30386 fi
30387
30388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30389 conftest$ac_exeext conftest.$ac_ext
30390 fi
30391
30392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30393 conftest$ac_exeext conftest.$ac_ext
30394 ac_c_werror_flag=$ac_xsave_c_werror_flag
30395 LIBS=$ac_xsave_LIBS
30396 fi
30397
30398 # Check for system-dependent libraries X programs must link with.
30399 # Do this before checking for the system-independent R6 libraries
30400 # (-lICE), since we may need -lsocket or whatever for X linking.
30401
30402 if test "$ISC" = yes; then
30403 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30404 else
30405 # Martyn Johnson says this is needed for Ultrix, if the X
30406 # libraries were built with DECnet support. And Karl Berry says
30407 # the Alpha needs dnet_stub (dnet does not exist).
30408 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30409 cat >conftest.$ac_ext <<_ACEOF
30410 /* confdefs.h. */
30411 _ACEOF
30412 cat confdefs.h >>conftest.$ac_ext
30413 cat >>conftest.$ac_ext <<_ACEOF
30414 /* end confdefs.h. */
30415
30416 /* Override any GCC internal prototype to avoid an error.
30417 Use char because int might match the return type of a GCC
30418 builtin and then its argument prototype would still apply. */
30419 #ifdef __cplusplus
30420 extern "C"
30421 #endif
30422 char XOpenDisplay ();
30423 int
30424 main ()
30425 {
30426 return XOpenDisplay ();
30427 ;
30428 return 0;
30429 }
30430 _ACEOF
30431 rm -f conftest.$ac_objext conftest$ac_exeext
30432 if { (ac_try="$ac_link"
30433 case "(($ac_try" in
30434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30435 *) ac_try_echo=$ac_try;;
30436 esac
30437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30438 (eval "$ac_link") 2>conftest.er1
30439 ac_status=$?
30440 grep -v '^ *+' conftest.er1 >conftest.err
30441 rm -f conftest.er1
30442 cat conftest.err >&5
30443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30444 (exit $ac_status); } && {
30445 test -z "$ac_c_werror_flag" ||
30446 test ! -s conftest.err
30447 } && test -s conftest$ac_exeext &&
30448 $as_test_x conftest$ac_exeext; then
30449 :
30450 else
30451 echo "$as_me: failed program was:" >&5
30452 sed 's/^/| /' conftest.$ac_ext >&5
30453
30454 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30455 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30456 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30457 echo $ECHO_N "(cached) $ECHO_C" >&6
30458 else
30459 ac_check_lib_save_LIBS=$LIBS
30460 LIBS="-ldnet $LIBS"
30461 cat >conftest.$ac_ext <<_ACEOF
30462 /* confdefs.h. */
30463 _ACEOF
30464 cat confdefs.h >>conftest.$ac_ext
30465 cat >>conftest.$ac_ext <<_ACEOF
30466 /* end confdefs.h. */
30467
30468 /* Override any GCC internal prototype to avoid an error.
30469 Use char because int might match the return type of a GCC
30470 builtin and then its argument prototype would still apply. */
30471 #ifdef __cplusplus
30472 extern "C"
30473 #endif
30474 char dnet_ntoa ();
30475 int
30476 main ()
30477 {
30478 return dnet_ntoa ();
30479 ;
30480 return 0;
30481 }
30482 _ACEOF
30483 rm -f conftest.$ac_objext conftest$ac_exeext
30484 if { (ac_try="$ac_link"
30485 case "(($ac_try" in
30486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30487 *) ac_try_echo=$ac_try;;
30488 esac
30489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30490 (eval "$ac_link") 2>conftest.er1
30491 ac_status=$?
30492 grep -v '^ *+' conftest.er1 >conftest.err
30493 rm -f conftest.er1
30494 cat conftest.err >&5
30495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30496 (exit $ac_status); } && {
30497 test -z "$ac_c_werror_flag" ||
30498 test ! -s conftest.err
30499 } && test -s conftest$ac_exeext &&
30500 $as_test_x conftest$ac_exeext; then
30501 ac_cv_lib_dnet_dnet_ntoa=yes
30502 else
30503 echo "$as_me: failed program was:" >&5
30504 sed 's/^/| /' conftest.$ac_ext >&5
30505
30506 ac_cv_lib_dnet_dnet_ntoa=no
30507 fi
30508
30509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30510 conftest$ac_exeext conftest.$ac_ext
30511 LIBS=$ac_check_lib_save_LIBS
30512 fi
30513 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30514 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30515 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30516 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30517 fi
30518
30519 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30520 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30521 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30522 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30523 echo $ECHO_N "(cached) $ECHO_C" >&6
30524 else
30525 ac_check_lib_save_LIBS=$LIBS
30526 LIBS="-ldnet_stub $LIBS"
30527 cat >conftest.$ac_ext <<_ACEOF
30528 /* confdefs.h. */
30529 _ACEOF
30530 cat confdefs.h >>conftest.$ac_ext
30531 cat >>conftest.$ac_ext <<_ACEOF
30532 /* end confdefs.h. */
30533
30534 /* Override any GCC internal prototype to avoid an error.
30535 Use char because int might match the return type of a GCC
30536 builtin and then its argument prototype would still apply. */
30537 #ifdef __cplusplus
30538 extern "C"
30539 #endif
30540 char dnet_ntoa ();
30541 int
30542 main ()
30543 {
30544 return dnet_ntoa ();
30545 ;
30546 return 0;
30547 }
30548 _ACEOF
30549 rm -f conftest.$ac_objext conftest$ac_exeext
30550 if { (ac_try="$ac_link"
30551 case "(($ac_try" in
30552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30553 *) ac_try_echo=$ac_try;;
30554 esac
30555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30556 (eval "$ac_link") 2>conftest.er1
30557 ac_status=$?
30558 grep -v '^ *+' conftest.er1 >conftest.err
30559 rm -f conftest.er1
30560 cat conftest.err >&5
30561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30562 (exit $ac_status); } && {
30563 test -z "$ac_c_werror_flag" ||
30564 test ! -s conftest.err
30565 } && test -s conftest$ac_exeext &&
30566 $as_test_x conftest$ac_exeext; then
30567 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30568 else
30569 echo "$as_me: failed program was:" >&5
30570 sed 's/^/| /' conftest.$ac_ext >&5
30571
30572 ac_cv_lib_dnet_stub_dnet_ntoa=no
30573 fi
30574
30575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30576 conftest$ac_exeext conftest.$ac_ext
30577 LIBS=$ac_check_lib_save_LIBS
30578 fi
30579 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30580 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30581 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30582 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30583 fi
30584
30585 fi
30586 fi
30587
30588 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30589 conftest$ac_exeext conftest.$ac_ext
30590 LIBS="$ac_xsave_LIBS"
30591
30592 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30593 # to get the SysV transport functions.
30594 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30595 # needs -lnsl.
30596 # The nsl library prevents programs from opening the X display
30597 # on Irix 5.2, according to T.E. Dickey.
30598 # The functions gethostbyname, getservbyname, and inet_addr are
30599 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30600 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30601 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30602 if test "${ac_cv_func_gethostbyname+set}" = set; then
30603 echo $ECHO_N "(cached) $ECHO_C" >&6
30604 else
30605 cat >conftest.$ac_ext <<_ACEOF
30606 /* confdefs.h. */
30607 _ACEOF
30608 cat confdefs.h >>conftest.$ac_ext
30609 cat >>conftest.$ac_ext <<_ACEOF
30610 /* end confdefs.h. */
30611 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30613 #define gethostbyname innocuous_gethostbyname
30614
30615 /* System header to define __stub macros and hopefully few prototypes,
30616 which can conflict with char gethostbyname (); below.
30617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30618 <limits.h> exists even on freestanding compilers. */
30619
30620 #ifdef __STDC__
30621 # include <limits.h>
30622 #else
30623 # include <assert.h>
30624 #endif
30625
30626 #undef gethostbyname
30627
30628 /* Override any GCC internal prototype to avoid an error.
30629 Use char because int might match the return type of a GCC
30630 builtin and then its argument prototype would still apply. */
30631 #ifdef __cplusplus
30632 extern "C"
30633 #endif
30634 char gethostbyname ();
30635 /* The GNU C library defines this for functions which it implements
30636 to always fail with ENOSYS. Some functions are actually named
30637 something starting with __ and the normal name is an alias. */
30638 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30639 choke me
30640 #endif
30641
30642 int
30643 main ()
30644 {
30645 return gethostbyname ();
30646 ;
30647 return 0;
30648 }
30649 _ACEOF
30650 rm -f conftest.$ac_objext conftest$ac_exeext
30651 if { (ac_try="$ac_link"
30652 case "(($ac_try" in
30653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30654 *) ac_try_echo=$ac_try;;
30655 esac
30656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30657 (eval "$ac_link") 2>conftest.er1
30658 ac_status=$?
30659 grep -v '^ *+' conftest.er1 >conftest.err
30660 rm -f conftest.er1
30661 cat conftest.err >&5
30662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30663 (exit $ac_status); } && {
30664 test -z "$ac_c_werror_flag" ||
30665 test ! -s conftest.err
30666 } && test -s conftest$ac_exeext &&
30667 $as_test_x conftest$ac_exeext; then
30668 ac_cv_func_gethostbyname=yes
30669 else
30670 echo "$as_me: failed program was:" >&5
30671 sed 's/^/| /' conftest.$ac_ext >&5
30672
30673 ac_cv_func_gethostbyname=no
30674 fi
30675
30676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30677 conftest$ac_exeext conftest.$ac_ext
30678 fi
30679 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30680 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30681
30682 if test $ac_cv_func_gethostbyname = no; then
30683 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30684 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30685 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30686 echo $ECHO_N "(cached) $ECHO_C" >&6
30687 else
30688 ac_check_lib_save_LIBS=$LIBS
30689 LIBS="-lnsl $LIBS"
30690 cat >conftest.$ac_ext <<_ACEOF
30691 /* confdefs.h. */
30692 _ACEOF
30693 cat confdefs.h >>conftest.$ac_ext
30694 cat >>conftest.$ac_ext <<_ACEOF
30695 /* end confdefs.h. */
30696
30697 /* Override any GCC internal prototype to avoid an error.
30698 Use char because int might match the return type of a GCC
30699 builtin and then its argument prototype would still apply. */
30700 #ifdef __cplusplus
30701 extern "C"
30702 #endif
30703 char gethostbyname ();
30704 int
30705 main ()
30706 {
30707 return gethostbyname ();
30708 ;
30709 return 0;
30710 }
30711 _ACEOF
30712 rm -f conftest.$ac_objext conftest$ac_exeext
30713 if { (ac_try="$ac_link"
30714 case "(($ac_try" in
30715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30716 *) ac_try_echo=$ac_try;;
30717 esac
30718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30719 (eval "$ac_link") 2>conftest.er1
30720 ac_status=$?
30721 grep -v '^ *+' conftest.er1 >conftest.err
30722 rm -f conftest.er1
30723 cat conftest.err >&5
30724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30725 (exit $ac_status); } && {
30726 test -z "$ac_c_werror_flag" ||
30727 test ! -s conftest.err
30728 } && test -s conftest$ac_exeext &&
30729 $as_test_x conftest$ac_exeext; then
30730 ac_cv_lib_nsl_gethostbyname=yes
30731 else
30732 echo "$as_me: failed program was:" >&5
30733 sed 's/^/| /' conftest.$ac_ext >&5
30734
30735 ac_cv_lib_nsl_gethostbyname=no
30736 fi
30737
30738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30739 conftest$ac_exeext conftest.$ac_ext
30740 LIBS=$ac_check_lib_save_LIBS
30741 fi
30742 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30743 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30744 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30745 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30746 fi
30747
30748 if test $ac_cv_lib_nsl_gethostbyname = no; then
30749 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30750 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30751 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30752 echo $ECHO_N "(cached) $ECHO_C" >&6
30753 else
30754 ac_check_lib_save_LIBS=$LIBS
30755 LIBS="-lbsd $LIBS"
30756 cat >conftest.$ac_ext <<_ACEOF
30757 /* confdefs.h. */
30758 _ACEOF
30759 cat confdefs.h >>conftest.$ac_ext
30760 cat >>conftest.$ac_ext <<_ACEOF
30761 /* end confdefs.h. */
30762
30763 /* Override any GCC internal prototype to avoid an error.
30764 Use char because int might match the return type of a GCC
30765 builtin and then its argument prototype would still apply. */
30766 #ifdef __cplusplus
30767 extern "C"
30768 #endif
30769 char gethostbyname ();
30770 int
30771 main ()
30772 {
30773 return gethostbyname ();
30774 ;
30775 return 0;
30776 }
30777 _ACEOF
30778 rm -f conftest.$ac_objext conftest$ac_exeext
30779 if { (ac_try="$ac_link"
30780 case "(($ac_try" in
30781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30782 *) ac_try_echo=$ac_try;;
30783 esac
30784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30785 (eval "$ac_link") 2>conftest.er1
30786 ac_status=$?
30787 grep -v '^ *+' conftest.er1 >conftest.err
30788 rm -f conftest.er1
30789 cat conftest.err >&5
30790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30791 (exit $ac_status); } && {
30792 test -z "$ac_c_werror_flag" ||
30793 test ! -s conftest.err
30794 } && test -s conftest$ac_exeext &&
30795 $as_test_x conftest$ac_exeext; then
30796 ac_cv_lib_bsd_gethostbyname=yes
30797 else
30798 echo "$as_me: failed program was:" >&5
30799 sed 's/^/| /' conftest.$ac_ext >&5
30800
30801 ac_cv_lib_bsd_gethostbyname=no
30802 fi
30803
30804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30805 conftest$ac_exeext conftest.$ac_ext
30806 LIBS=$ac_check_lib_save_LIBS
30807 fi
30808 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30809 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30810 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30811 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30812 fi
30813
30814 fi
30815 fi
30816
30817 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30818 # socket/setsockopt and other routines are undefined under SCO ODT
30819 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30820 # on later versions), says Simon Leinen: it contains gethostby*
30821 # variants that don't use the name server (or something). -lsocket
30822 # must be given before -lnsl if both are needed. We assume that
30823 # if connect needs -lnsl, so does gethostbyname.
30824 { echo "$as_me:$LINENO: checking for connect" >&5
30825 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30826 if test "${ac_cv_func_connect+set}" = set; then
30827 echo $ECHO_N "(cached) $ECHO_C" >&6
30828 else
30829 cat >conftest.$ac_ext <<_ACEOF
30830 /* confdefs.h. */
30831 _ACEOF
30832 cat confdefs.h >>conftest.$ac_ext
30833 cat >>conftest.$ac_ext <<_ACEOF
30834 /* end confdefs.h. */
30835 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30837 #define connect innocuous_connect
30838
30839 /* System header to define __stub macros and hopefully few prototypes,
30840 which can conflict with char connect (); below.
30841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30842 <limits.h> exists even on freestanding compilers. */
30843
30844 #ifdef __STDC__
30845 # include <limits.h>
30846 #else
30847 # include <assert.h>
30848 #endif
30849
30850 #undef connect
30851
30852 /* Override any GCC internal prototype to avoid an error.
30853 Use char because int might match the return type of a GCC
30854 builtin and then its argument prototype would still apply. */
30855 #ifdef __cplusplus
30856 extern "C"
30857 #endif
30858 char connect ();
30859 /* The GNU C library defines this for functions which it implements
30860 to always fail with ENOSYS. Some functions are actually named
30861 something starting with __ and the normal name is an alias. */
30862 #if defined __stub_connect || defined __stub___connect
30863 choke me
30864 #endif
30865
30866 int
30867 main ()
30868 {
30869 return connect ();
30870 ;
30871 return 0;
30872 }
30873 _ACEOF
30874 rm -f conftest.$ac_objext conftest$ac_exeext
30875 if { (ac_try="$ac_link"
30876 case "(($ac_try" in
30877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30878 *) ac_try_echo=$ac_try;;
30879 esac
30880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30881 (eval "$ac_link") 2>conftest.er1
30882 ac_status=$?
30883 grep -v '^ *+' conftest.er1 >conftest.err
30884 rm -f conftest.er1
30885 cat conftest.err >&5
30886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30887 (exit $ac_status); } && {
30888 test -z "$ac_c_werror_flag" ||
30889 test ! -s conftest.err
30890 } && test -s conftest$ac_exeext &&
30891 $as_test_x conftest$ac_exeext; then
30892 ac_cv_func_connect=yes
30893 else
30894 echo "$as_me: failed program was:" >&5
30895 sed 's/^/| /' conftest.$ac_ext >&5
30896
30897 ac_cv_func_connect=no
30898 fi
30899
30900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30901 conftest$ac_exeext conftest.$ac_ext
30902 fi
30903 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30904 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30905
30906 if test $ac_cv_func_connect = no; then
30907 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30908 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30909 if test "${ac_cv_lib_socket_connect+set}" = set; then
30910 echo $ECHO_N "(cached) $ECHO_C" >&6
30911 else
30912 ac_check_lib_save_LIBS=$LIBS
30913 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30914 cat >conftest.$ac_ext <<_ACEOF
30915 /* confdefs.h. */
30916 _ACEOF
30917 cat confdefs.h >>conftest.$ac_ext
30918 cat >>conftest.$ac_ext <<_ACEOF
30919 /* end confdefs.h. */
30920
30921 /* Override any GCC internal prototype to avoid an error.
30922 Use char because int might match the return type of a GCC
30923 builtin and then its argument prototype would still apply. */
30924 #ifdef __cplusplus
30925 extern "C"
30926 #endif
30927 char connect ();
30928 int
30929 main ()
30930 {
30931 return connect ();
30932 ;
30933 return 0;
30934 }
30935 _ACEOF
30936 rm -f conftest.$ac_objext conftest$ac_exeext
30937 if { (ac_try="$ac_link"
30938 case "(($ac_try" in
30939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30940 *) ac_try_echo=$ac_try;;
30941 esac
30942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30943 (eval "$ac_link") 2>conftest.er1
30944 ac_status=$?
30945 grep -v '^ *+' conftest.er1 >conftest.err
30946 rm -f conftest.er1
30947 cat conftest.err >&5
30948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30949 (exit $ac_status); } && {
30950 test -z "$ac_c_werror_flag" ||
30951 test ! -s conftest.err
30952 } && test -s conftest$ac_exeext &&
30953 $as_test_x conftest$ac_exeext; then
30954 ac_cv_lib_socket_connect=yes
30955 else
30956 echo "$as_me: failed program was:" >&5
30957 sed 's/^/| /' conftest.$ac_ext >&5
30958
30959 ac_cv_lib_socket_connect=no
30960 fi
30961
30962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30963 conftest$ac_exeext conftest.$ac_ext
30964 LIBS=$ac_check_lib_save_LIBS
30965 fi
30966 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30967 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30968 if test $ac_cv_lib_socket_connect = yes; then
30969 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30970 fi
30971
30972 fi
30973
30974 # Guillermo Gomez says -lposix is necessary on A/UX.
30975 { echo "$as_me:$LINENO: checking for remove" >&5
30976 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30977 if test "${ac_cv_func_remove+set}" = set; then
30978 echo $ECHO_N "(cached) $ECHO_C" >&6
30979 else
30980 cat >conftest.$ac_ext <<_ACEOF
30981 /* confdefs.h. */
30982 _ACEOF
30983 cat confdefs.h >>conftest.$ac_ext
30984 cat >>conftest.$ac_ext <<_ACEOF
30985 /* end confdefs.h. */
30986 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30988 #define remove innocuous_remove
30989
30990 /* System header to define __stub macros and hopefully few prototypes,
30991 which can conflict with char remove (); below.
30992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30993 <limits.h> exists even on freestanding compilers. */
30994
30995 #ifdef __STDC__
30996 # include <limits.h>
30997 #else
30998 # include <assert.h>
30999 #endif
31000
31001 #undef remove
31002
31003 /* Override any GCC internal prototype to avoid an error.
31004 Use char because int might match the return type of a GCC
31005 builtin and then its argument prototype would still apply. */
31006 #ifdef __cplusplus
31007 extern "C"
31008 #endif
31009 char remove ();
31010 /* The GNU C library defines this for functions which it implements
31011 to always fail with ENOSYS. Some functions are actually named
31012 something starting with __ and the normal name is an alias. */
31013 #if defined __stub_remove || defined __stub___remove
31014 choke me
31015 #endif
31016
31017 int
31018 main ()
31019 {
31020 return remove ();
31021 ;
31022 return 0;
31023 }
31024 _ACEOF
31025 rm -f conftest.$ac_objext conftest$ac_exeext
31026 if { (ac_try="$ac_link"
31027 case "(($ac_try" in
31028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31029 *) ac_try_echo=$ac_try;;
31030 esac
31031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31032 (eval "$ac_link") 2>conftest.er1
31033 ac_status=$?
31034 grep -v '^ *+' conftest.er1 >conftest.err
31035 rm -f conftest.er1
31036 cat conftest.err >&5
31037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31038 (exit $ac_status); } && {
31039 test -z "$ac_c_werror_flag" ||
31040 test ! -s conftest.err
31041 } && test -s conftest$ac_exeext &&
31042 $as_test_x conftest$ac_exeext; then
31043 ac_cv_func_remove=yes
31044 else
31045 echo "$as_me: failed program was:" >&5
31046 sed 's/^/| /' conftest.$ac_ext >&5
31047
31048 ac_cv_func_remove=no
31049 fi
31050
31051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31052 conftest$ac_exeext conftest.$ac_ext
31053 fi
31054 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31055 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31056
31057 if test $ac_cv_func_remove = no; then
31058 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31059 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31060 if test "${ac_cv_lib_posix_remove+set}" = set; then
31061 echo $ECHO_N "(cached) $ECHO_C" >&6
31062 else
31063 ac_check_lib_save_LIBS=$LIBS
31064 LIBS="-lposix $LIBS"
31065 cat >conftest.$ac_ext <<_ACEOF
31066 /* confdefs.h. */
31067 _ACEOF
31068 cat confdefs.h >>conftest.$ac_ext
31069 cat >>conftest.$ac_ext <<_ACEOF
31070 /* end confdefs.h. */
31071
31072 /* Override any GCC internal prototype to avoid an error.
31073 Use char because int might match the return type of a GCC
31074 builtin and then its argument prototype would still apply. */
31075 #ifdef __cplusplus
31076 extern "C"
31077 #endif
31078 char remove ();
31079 int
31080 main ()
31081 {
31082 return remove ();
31083 ;
31084 return 0;
31085 }
31086 _ACEOF
31087 rm -f conftest.$ac_objext conftest$ac_exeext
31088 if { (ac_try="$ac_link"
31089 case "(($ac_try" in
31090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31091 *) ac_try_echo=$ac_try;;
31092 esac
31093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31094 (eval "$ac_link") 2>conftest.er1
31095 ac_status=$?
31096 grep -v '^ *+' conftest.er1 >conftest.err
31097 rm -f conftest.er1
31098 cat conftest.err >&5
31099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31100 (exit $ac_status); } && {
31101 test -z "$ac_c_werror_flag" ||
31102 test ! -s conftest.err
31103 } && test -s conftest$ac_exeext &&
31104 $as_test_x conftest$ac_exeext; then
31105 ac_cv_lib_posix_remove=yes
31106 else
31107 echo "$as_me: failed program was:" >&5
31108 sed 's/^/| /' conftest.$ac_ext >&5
31109
31110 ac_cv_lib_posix_remove=no
31111 fi
31112
31113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31114 conftest$ac_exeext conftest.$ac_ext
31115 LIBS=$ac_check_lib_save_LIBS
31116 fi
31117 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31118 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31119 if test $ac_cv_lib_posix_remove = yes; then
31120 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31121 fi
31122
31123 fi
31124
31125 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31126 { echo "$as_me:$LINENO: checking for shmat" >&5
31127 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31128 if test "${ac_cv_func_shmat+set}" = set; then
31129 echo $ECHO_N "(cached) $ECHO_C" >&6
31130 else
31131 cat >conftest.$ac_ext <<_ACEOF
31132 /* confdefs.h. */
31133 _ACEOF
31134 cat confdefs.h >>conftest.$ac_ext
31135 cat >>conftest.$ac_ext <<_ACEOF
31136 /* end confdefs.h. */
31137 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31139 #define shmat innocuous_shmat
31140
31141 /* System header to define __stub macros and hopefully few prototypes,
31142 which can conflict with char shmat (); below.
31143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31144 <limits.h> exists even on freestanding compilers. */
31145
31146 #ifdef __STDC__
31147 # include <limits.h>
31148 #else
31149 # include <assert.h>
31150 #endif
31151
31152 #undef shmat
31153
31154 /* Override any GCC internal prototype to avoid an error.
31155 Use char because int might match the return type of a GCC
31156 builtin and then its argument prototype would still apply. */
31157 #ifdef __cplusplus
31158 extern "C"
31159 #endif
31160 char shmat ();
31161 /* The GNU C library defines this for functions which it implements
31162 to always fail with ENOSYS. Some functions are actually named
31163 something starting with __ and the normal name is an alias. */
31164 #if defined __stub_shmat || defined __stub___shmat
31165 choke me
31166 #endif
31167
31168 int
31169 main ()
31170 {
31171 return shmat ();
31172 ;
31173 return 0;
31174 }
31175 _ACEOF
31176 rm -f conftest.$ac_objext conftest$ac_exeext
31177 if { (ac_try="$ac_link"
31178 case "(($ac_try" in
31179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31180 *) ac_try_echo=$ac_try;;
31181 esac
31182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31183 (eval "$ac_link") 2>conftest.er1
31184 ac_status=$?
31185 grep -v '^ *+' conftest.er1 >conftest.err
31186 rm -f conftest.er1
31187 cat conftest.err >&5
31188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31189 (exit $ac_status); } && {
31190 test -z "$ac_c_werror_flag" ||
31191 test ! -s conftest.err
31192 } && test -s conftest$ac_exeext &&
31193 $as_test_x conftest$ac_exeext; then
31194 ac_cv_func_shmat=yes
31195 else
31196 echo "$as_me: failed program was:" >&5
31197 sed 's/^/| /' conftest.$ac_ext >&5
31198
31199 ac_cv_func_shmat=no
31200 fi
31201
31202 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31203 conftest$ac_exeext conftest.$ac_ext
31204 fi
31205 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31206 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31207
31208 if test $ac_cv_func_shmat = no; then
31209 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31210 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31211 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31212 echo $ECHO_N "(cached) $ECHO_C" >&6
31213 else
31214 ac_check_lib_save_LIBS=$LIBS
31215 LIBS="-lipc $LIBS"
31216 cat >conftest.$ac_ext <<_ACEOF
31217 /* confdefs.h. */
31218 _ACEOF
31219 cat confdefs.h >>conftest.$ac_ext
31220 cat >>conftest.$ac_ext <<_ACEOF
31221 /* end confdefs.h. */
31222
31223 /* Override any GCC internal prototype to avoid an error.
31224 Use char because int might match the return type of a GCC
31225 builtin and then its argument prototype would still apply. */
31226 #ifdef __cplusplus
31227 extern "C"
31228 #endif
31229 char shmat ();
31230 int
31231 main ()
31232 {
31233 return shmat ();
31234 ;
31235 return 0;
31236 }
31237 _ACEOF
31238 rm -f conftest.$ac_objext conftest$ac_exeext
31239 if { (ac_try="$ac_link"
31240 case "(($ac_try" in
31241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31242 *) ac_try_echo=$ac_try;;
31243 esac
31244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31245 (eval "$ac_link") 2>conftest.er1
31246 ac_status=$?
31247 grep -v '^ *+' conftest.er1 >conftest.err
31248 rm -f conftest.er1
31249 cat conftest.err >&5
31250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31251 (exit $ac_status); } && {
31252 test -z "$ac_c_werror_flag" ||
31253 test ! -s conftest.err
31254 } && test -s conftest$ac_exeext &&
31255 $as_test_x conftest$ac_exeext; then
31256 ac_cv_lib_ipc_shmat=yes
31257 else
31258 echo "$as_me: failed program was:" >&5
31259 sed 's/^/| /' conftest.$ac_ext >&5
31260
31261 ac_cv_lib_ipc_shmat=no
31262 fi
31263
31264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31265 conftest$ac_exeext conftest.$ac_ext
31266 LIBS=$ac_check_lib_save_LIBS
31267 fi
31268 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31269 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31270 if test $ac_cv_lib_ipc_shmat = yes; then
31271 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31272 fi
31273
31274 fi
31275 fi
31276
31277 # Check for libraries that X11R6 Xt/Xaw programs need.
31278 ac_save_LDFLAGS=$LDFLAGS
31279 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31280 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31281 # check for ICE first), but we must link in the order -lSM -lICE or
31282 # we get undefined symbols. So assume we have SM if we have ICE.
31283 # These have to be linked with before -lX11, unlike the other
31284 # libraries we check for below, so use a different variable.
31285 # John Interrante, Karl Berry
31286 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31287 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31288 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31289 echo $ECHO_N "(cached) $ECHO_C" >&6
31290 else
31291 ac_check_lib_save_LIBS=$LIBS
31292 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31293 cat >conftest.$ac_ext <<_ACEOF
31294 /* confdefs.h. */
31295 _ACEOF
31296 cat confdefs.h >>conftest.$ac_ext
31297 cat >>conftest.$ac_ext <<_ACEOF
31298 /* end confdefs.h. */
31299
31300 /* Override any GCC internal prototype to avoid an error.
31301 Use char because int might match the return type of a GCC
31302 builtin and then its argument prototype would still apply. */
31303 #ifdef __cplusplus
31304 extern "C"
31305 #endif
31306 char IceConnectionNumber ();
31307 int
31308 main ()
31309 {
31310 return IceConnectionNumber ();
31311 ;
31312 return 0;
31313 }
31314 _ACEOF
31315 rm -f conftest.$ac_objext conftest$ac_exeext
31316 if { (ac_try="$ac_link"
31317 case "(($ac_try" in
31318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31319 *) ac_try_echo=$ac_try;;
31320 esac
31321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31322 (eval "$ac_link") 2>conftest.er1
31323 ac_status=$?
31324 grep -v '^ *+' conftest.er1 >conftest.err
31325 rm -f conftest.er1
31326 cat conftest.err >&5
31327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31328 (exit $ac_status); } && {
31329 test -z "$ac_c_werror_flag" ||
31330 test ! -s conftest.err
31331 } && test -s conftest$ac_exeext &&
31332 $as_test_x conftest$ac_exeext; then
31333 ac_cv_lib_ICE_IceConnectionNumber=yes
31334 else
31335 echo "$as_me: failed program was:" >&5
31336 sed 's/^/| /' conftest.$ac_ext >&5
31337
31338 ac_cv_lib_ICE_IceConnectionNumber=no
31339 fi
31340
31341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31342 conftest$ac_exeext conftest.$ac_ext
31343 LIBS=$ac_check_lib_save_LIBS
31344 fi
31345 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31346 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31347 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31348 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31349 fi
31350
31351 LDFLAGS=$ac_save_LDFLAGS
31352
31353 fi
31354
31355
31356 if test "$no_x" = "yes"; then
31357 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31358 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31359 { (exit 1); exit 1; }; }
31360 fi
31361
31362 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31363 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31364 AFMINSTALL=afminstall
31365 COMPILED_X_PROGRAM=0
31366
31367 fi
31368
31369 if test "$wxUSE_X11" = 1; then
31370 if test "$wxUSE_NANOX" = "yes"; then
31371 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31372 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31373 if test "x$MICROWIN" = x ; then
31374 { echo "$as_me:$LINENO: result: not found" >&5
31375 echo "${ECHO_T}not found" >&6; }
31376 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31377 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31378 { (exit 1); exit 1; }; }
31379 else
31380 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31381 echo "${ECHO_T}$MICROWIN" >&6; }
31382 cat >>confdefs.h <<\_ACEOF
31383 #define wxUSE_NANOX 1
31384 _ACEOF
31385
31386 fi
31387 fi
31388
31389 if test "$wxUSE_UNICODE" = "yes"; then
31390
31391
31392 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31393 if test -n "$ac_tool_prefix"; then
31394 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31395 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31396 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31398 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31399 echo $ECHO_N "(cached) $ECHO_C" >&6
31400 else
31401 case $PKG_CONFIG in
31402 [\\/]* | ?:[\\/]*)
31403 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31404 ;;
31405 *)
31406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31407 for as_dir in $PATH
31408 do
31409 IFS=$as_save_IFS
31410 test -z "$as_dir" && as_dir=.
31411 for ac_exec_ext in '' $ac_executable_extensions; do
31412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31413 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31415 break 2
31416 fi
31417 done
31418 done
31419 IFS=$as_save_IFS
31420
31421 ;;
31422 esac
31423 fi
31424 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31425 if test -n "$PKG_CONFIG"; then
31426 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31427 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31428 else
31429 { echo "$as_me:$LINENO: result: no" >&5
31430 echo "${ECHO_T}no" >&6; }
31431 fi
31432
31433
31434 fi
31435 if test -z "$ac_cv_path_PKG_CONFIG"; then
31436 ac_pt_PKG_CONFIG=$PKG_CONFIG
31437 # Extract the first word of "pkg-config", so it can be a program name with args.
31438 set dummy pkg-config; ac_word=$2
31439 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31441 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31442 echo $ECHO_N "(cached) $ECHO_C" >&6
31443 else
31444 case $ac_pt_PKG_CONFIG in
31445 [\\/]* | ?:[\\/]*)
31446 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31447 ;;
31448 *)
31449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31450 for as_dir in $PATH
31451 do
31452 IFS=$as_save_IFS
31453 test -z "$as_dir" && as_dir=.
31454 for ac_exec_ext in '' $ac_executable_extensions; do
31455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31456 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31458 break 2
31459 fi
31460 done
31461 done
31462 IFS=$as_save_IFS
31463
31464 ;;
31465 esac
31466 fi
31467 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31468 if test -n "$ac_pt_PKG_CONFIG"; then
31469 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31470 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31471 else
31472 { echo "$as_me:$LINENO: result: no" >&5
31473 echo "${ECHO_T}no" >&6; }
31474 fi
31475
31476 if test "x$ac_pt_PKG_CONFIG" = x; then
31477 PKG_CONFIG=""
31478 else
31479 case $cross_compiling:$ac_tool_warned in
31480 yes:)
31481 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31482 whose name does not start with the host triplet. If you think this
31483 configuration is useful to you, please write to autoconf@gnu.org." >&5
31484 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31485 whose name does not start with the host triplet. If you think this
31486 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31487 ac_tool_warned=yes ;;
31488 esac
31489 PKG_CONFIG=$ac_pt_PKG_CONFIG
31490 fi
31491 else
31492 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31493 fi
31494
31495 fi
31496 if test -n "$PKG_CONFIG"; then
31497 _pkg_min_version=0.9.0
31498 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31499 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31500 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31501 { echo "$as_me:$LINENO: result: yes" >&5
31502 echo "${ECHO_T}yes" >&6; }
31503 else
31504 { echo "$as_me:$LINENO: result: no" >&5
31505 echo "${ECHO_T}no" >&6; }
31506 PKG_CONFIG=""
31507 fi
31508
31509 fi
31510
31511
31512 pkg_failed=no
31513 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31514 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31515
31516 if test -n "$PKG_CONFIG"; then
31517 if test -n "$PANGOX_CFLAGS"; then
31518 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31519 else
31520 if test -n "$PKG_CONFIG" && \
31521 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31522 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31523 ac_status=$?
31524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31525 (exit $ac_status); }; then
31526 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31527 else
31528 pkg_failed=yes
31529 fi
31530 fi
31531 else
31532 pkg_failed=untried
31533 fi
31534 if test -n "$PKG_CONFIG"; then
31535 if test -n "$PANGOX_LIBS"; then
31536 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31537 else
31538 if test -n "$PKG_CONFIG" && \
31539 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31540 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31541 ac_status=$?
31542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31543 (exit $ac_status); }; then
31544 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31545 else
31546 pkg_failed=yes
31547 fi
31548 fi
31549 else
31550 pkg_failed=untried
31551 fi
31552
31553
31554
31555 if test $pkg_failed = yes; then
31556
31557 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31558 _pkg_short_errors_supported=yes
31559 else
31560 _pkg_short_errors_supported=no
31561 fi
31562 if test $_pkg_short_errors_supported = yes; then
31563 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31564 else
31565 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31566 fi
31567 # Put the nasty error message in config.log where it belongs
31568 echo "$PANGOX_PKG_ERRORS" >&5
31569
31570
31571 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31572 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31573 { (exit 1); exit 1; }; }
31574
31575
31576 elif test $pkg_failed = untried; then
31577
31578 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31579 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31580 { (exit 1); exit 1; }; }
31581
31582
31583 else
31584 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31585 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31586 { echo "$as_me:$LINENO: result: yes" >&5
31587 echo "${ECHO_T}yes" >&6; }
31588
31589 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31590 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31591 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31592
31593 fi
31594
31595 pkg_failed=no
31596 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31597 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31598
31599 if test -n "$PKG_CONFIG"; then
31600 if test -n "$PANGOFT2_CFLAGS"; then
31601 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31602 else
31603 if test -n "$PKG_CONFIG" && \
31604 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31605 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31606 ac_status=$?
31607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31608 (exit $ac_status); }; then
31609 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31610 else
31611 pkg_failed=yes
31612 fi
31613 fi
31614 else
31615 pkg_failed=untried
31616 fi
31617 if test -n "$PKG_CONFIG"; then
31618 if test -n "$PANGOFT2_LIBS"; then
31619 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31620 else
31621 if test -n "$PKG_CONFIG" && \
31622 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31623 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31624 ac_status=$?
31625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31626 (exit $ac_status); }; then
31627 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31628 else
31629 pkg_failed=yes
31630 fi
31631 fi
31632 else
31633 pkg_failed=untried
31634 fi
31635
31636
31637
31638 if test $pkg_failed = yes; then
31639
31640 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31641 _pkg_short_errors_supported=yes
31642 else
31643 _pkg_short_errors_supported=no
31644 fi
31645 if test $_pkg_short_errors_supported = yes; then
31646 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31647 else
31648 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31649 fi
31650 # Put the nasty error message in config.log where it belongs
31651 echo "$PANGOFT2_PKG_ERRORS" >&5
31652
31653
31654 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31655 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31656 wxUSE_PRINTING_ARCHITECTURE="no"
31657
31658
31659 elif test $pkg_failed = untried; then
31660
31661 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31662 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31663 wxUSE_PRINTING_ARCHITECTURE="no"
31664
31665
31666 else
31667 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31668 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31669 { echo "$as_me:$LINENO: result: yes" >&5
31670 echo "${ECHO_T}yes" >&6; }
31671
31672 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31673 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31674 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31675
31676 fi
31677
31678 pkg_failed=no
31679 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31680 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31681
31682 if test -n "$PKG_CONFIG"; then
31683 if test -n "$PANGOXFT_CFLAGS"; then
31684 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31685 else
31686 if test -n "$PKG_CONFIG" && \
31687 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31688 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31689 ac_status=$?
31690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31691 (exit $ac_status); }; then
31692 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31693 else
31694 pkg_failed=yes
31695 fi
31696 fi
31697 else
31698 pkg_failed=untried
31699 fi
31700 if test -n "$PKG_CONFIG"; then
31701 if test -n "$PANGOXFT_LIBS"; then
31702 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31703 else
31704 if test -n "$PKG_CONFIG" && \
31705 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31706 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31707 ac_status=$?
31708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31709 (exit $ac_status); }; then
31710 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31711 else
31712 pkg_failed=yes
31713 fi
31714 fi
31715 else
31716 pkg_failed=untried
31717 fi
31718
31719
31720
31721 if test $pkg_failed = yes; then
31722
31723 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31724 _pkg_short_errors_supported=yes
31725 else
31726 _pkg_short_errors_supported=no
31727 fi
31728 if test $_pkg_short_errors_supported = yes; then
31729 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31730 else
31731 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31732 fi
31733 # Put the nasty error message in config.log where it belongs
31734 echo "$PANGOXFT_PKG_ERRORS" >&5
31735
31736
31737 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31738 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31739
31740
31741 elif test $pkg_failed = untried; then
31742
31743 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31744 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31745
31746
31747 else
31748 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31749 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31750 { echo "$as_me:$LINENO: result: yes" >&5
31751 echo "${ECHO_T}yes" >&6; }
31752
31753 cat >>confdefs.h <<\_ACEOF
31754 #define HAVE_PANGO_XFT 1
31755 _ACEOF
31756
31757 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31758 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31759 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31760
31761 fi
31762 save_LIBS="$LIBS"
31763 LIBS="$LIBS $PANGOX_LIBS"
31764
31765 for ac_func in pango_font_family_is_monospace
31766 do
31767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31768 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31770 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31771 echo $ECHO_N "(cached) $ECHO_C" >&6
31772 else
31773 cat >conftest.$ac_ext <<_ACEOF
31774 /* confdefs.h. */
31775 _ACEOF
31776 cat confdefs.h >>conftest.$ac_ext
31777 cat >>conftest.$ac_ext <<_ACEOF
31778 /* end confdefs.h. */
31779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31781 #define $ac_func innocuous_$ac_func
31782
31783 /* System header to define __stub macros and hopefully few prototypes,
31784 which can conflict with char $ac_func (); below.
31785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31786 <limits.h> exists even on freestanding compilers. */
31787
31788 #ifdef __STDC__
31789 # include <limits.h>
31790 #else
31791 # include <assert.h>
31792 #endif
31793
31794 #undef $ac_func
31795
31796 /* Override any GCC internal prototype to avoid an error.
31797 Use char because int might match the return type of a GCC
31798 builtin and then its argument prototype would still apply. */
31799 #ifdef __cplusplus
31800 extern "C"
31801 #endif
31802 char $ac_func ();
31803 /* The GNU C library defines this for functions which it implements
31804 to always fail with ENOSYS. Some functions are actually named
31805 something starting with __ and the normal name is an alias. */
31806 #if defined __stub_$ac_func || defined __stub___$ac_func
31807 choke me
31808 #endif
31809
31810 int
31811 main ()
31812 {
31813 return $ac_func ();
31814 ;
31815 return 0;
31816 }
31817 _ACEOF
31818 rm -f conftest.$ac_objext conftest$ac_exeext
31819 if { (ac_try="$ac_link"
31820 case "(($ac_try" in
31821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31822 *) ac_try_echo=$ac_try;;
31823 esac
31824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31825 (eval "$ac_link") 2>conftest.er1
31826 ac_status=$?
31827 grep -v '^ *+' conftest.er1 >conftest.err
31828 rm -f conftest.er1
31829 cat conftest.err >&5
31830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31831 (exit $ac_status); } && {
31832 test -z "$ac_c_werror_flag" ||
31833 test ! -s conftest.err
31834 } && test -s conftest$ac_exeext &&
31835 $as_test_x conftest$ac_exeext; then
31836 eval "$as_ac_var=yes"
31837 else
31838 echo "$as_me: failed program was:" >&5
31839 sed 's/^/| /' conftest.$ac_ext >&5
31840
31841 eval "$as_ac_var=no"
31842 fi
31843
31844 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31845 conftest$ac_exeext conftest.$ac_ext
31846 fi
31847 ac_res=`eval echo '${'$as_ac_var'}'`
31848 { echo "$as_me:$LINENO: result: $ac_res" >&5
31849 echo "${ECHO_T}$ac_res" >&6; }
31850 if test `eval echo '${'$as_ac_var'}'` = yes; then
31851 cat >>confdefs.h <<_ACEOF
31852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31853 _ACEOF
31854
31855 fi
31856 done
31857
31858 LIBS="$save_LIBS"
31859 fi
31860
31861 wxUSE_UNIVERSAL="yes"
31862
31863 if test "$wxUSE_NANOX" = "yes"; then
31864 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31865 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"
31866 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31867 else
31868 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31869 fi
31870
31871 TOOLKIT=X11
31872 GUIDIST=X11_DIST
31873 fi
31874
31875 if test "$wxUSE_MOTIF" = 1; then
31876 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31877 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31878
31879 ac_find_includes=
31880 for ac_dir in $SEARCH_INCLUDE /usr/include;
31881 do
31882 if test -f "$ac_dir/Xm/Xm.h"; then
31883 ac_find_includes=$ac_dir
31884 break
31885 fi
31886 done
31887
31888 if test "$ac_find_includes" != "" ; then
31889 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31890 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31891
31892 if test "x$ac_find_includes" = "x/usr/include"; then
31893 ac_path_to_include=""
31894 else
31895 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31896 result=$?
31897 if test $result = 0; then
31898 ac_path_to_include=""
31899 else
31900 ac_path_to_include=" -I$ac_find_includes"
31901 fi
31902 fi
31903
31904 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31905 else
31906 save_CFLAGS=$CFLAGS
31907 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31908
31909 cat >conftest.$ac_ext <<_ACEOF
31910 /* confdefs.h. */
31911 _ACEOF
31912 cat confdefs.h >>conftest.$ac_ext
31913 cat >>conftest.$ac_ext <<_ACEOF
31914 /* end confdefs.h. */
31915
31916 #include <Xm/Xm.h>
31917
31918 int
31919 main ()
31920 {
31921
31922 int version;
31923 version = xmUseVersion;
31924
31925 ;
31926 return 0;
31927 }
31928 _ACEOF
31929 rm -f conftest.$ac_objext
31930 if { (ac_try="$ac_compile"
31931 case "(($ac_try" in
31932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31933 *) ac_try_echo=$ac_try;;
31934 esac
31935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31936 (eval "$ac_compile") 2>conftest.er1
31937 ac_status=$?
31938 grep -v '^ *+' conftest.er1 >conftest.err
31939 rm -f conftest.er1
31940 cat conftest.err >&5
31941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31942 (exit $ac_status); } && {
31943 test -z "$ac_c_werror_flag" ||
31944 test ! -s conftest.err
31945 } && test -s conftest.$ac_objext; then
31946
31947 { echo "$as_me:$LINENO: result: found in default search path" >&5
31948 echo "${ECHO_T}found in default search path" >&6; }
31949 COMPILED_X_PROGRAM=1
31950
31951 else
31952 echo "$as_me: failed program was:" >&5
31953 sed 's/^/| /' conftest.$ac_ext >&5
31954
31955
31956 { echo "$as_me:$LINENO: result: no" >&5
31957 echo "${ECHO_T}no" >&6; }
31958 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31959 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31960 { (exit 1); exit 1; }; }
31961
31962
31963 fi
31964
31965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31966
31967 CFLAGS=$save_CFLAGS
31968 fi
31969
31970
31971 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31972 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31973
31974 ac_find_libraries=
31975 for ac_dir in $SEARCH_LIB;
31976 do
31977 for ac_extension in a so sl dylib dll.a; do
31978 if test -f "$ac_dir/libXm.$ac_extension"; then
31979 ac_find_libraries=$ac_dir
31980 break 2
31981 fi
31982 done
31983 done
31984
31985
31986 if test "x$ac_find_libraries" != "x" ; then
31987 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31988 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31989
31990
31991 if test "$ac_find_libraries" = "default location"; then
31992 ac_path_to_link=""
31993 else
31994 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31995 result=$?
31996 if test $result = 0; then
31997 ac_path_to_link=""
31998 else
31999 ac_path_to_link=" -L$ac_find_libraries"
32000 fi
32001 fi
32002
32003 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32004 else
32005 save_CFLAGS=$CFLAGS
32006 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32007 save_LIBS="$LIBS"
32008 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32009
32010 cat >conftest.$ac_ext <<_ACEOF
32011 /* confdefs.h. */
32012 _ACEOF
32013 cat confdefs.h >>conftest.$ac_ext
32014 cat >>conftest.$ac_ext <<_ACEOF
32015 /* end confdefs.h. */
32016
32017 #include <Xm/Xm.h>
32018
32019 int
32020 main ()
32021 {
32022
32023 int version;
32024 version = xmUseVersion;
32025
32026 ;
32027 return 0;
32028 }
32029 _ACEOF
32030 rm -f conftest.$ac_objext conftest$ac_exeext
32031 if { (ac_try="$ac_link"
32032 case "(($ac_try" in
32033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32034 *) ac_try_echo=$ac_try;;
32035 esac
32036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32037 (eval "$ac_link") 2>conftest.er1
32038 ac_status=$?
32039 grep -v '^ *+' conftest.er1 >conftest.err
32040 rm -f conftest.er1
32041 cat conftest.err >&5
32042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32043 (exit $ac_status); } && {
32044 test -z "$ac_c_werror_flag" ||
32045 test ! -s conftest.err
32046 } && test -s conftest$ac_exeext &&
32047 $as_test_x conftest$ac_exeext; then
32048
32049 { echo "$as_me:$LINENO: result: found in default search path" >&5
32050 echo "${ECHO_T}found in default search path" >&6; }
32051 COMPILED_X_PROGRAM=1
32052
32053 else
32054 echo "$as_me: failed program was:" >&5
32055 sed 's/^/| /' conftest.$ac_ext >&5
32056
32057
32058 { echo "$as_me:$LINENO: result: no" >&5
32059 echo "${ECHO_T}no" >&6; }
32060 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32061 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32062 { (exit 1); exit 1; }; }
32063
32064
32065 fi
32066
32067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32068 conftest$ac_exeext conftest.$ac_ext
32069
32070 CFLAGS=$save_CFLAGS
32071 LIBS="$save_LIBS"
32072 fi
32073
32074 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32075 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32076 libp_link=""
32077 libsm_ice_link=""
32078 libs_found=0
32079 for libp in "" " -lXp"; do
32080 if test "$libs_found" = 0; then
32081 for libsm_ice in "" " -lSM -lICE"; do
32082 if test "$libs_found" = 0; then
32083 save_LIBS="$LIBS"
32084 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32085 save_CFLAGS=$CFLAGS
32086 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32087
32088 cat >conftest.$ac_ext <<_ACEOF
32089 /* confdefs.h. */
32090 _ACEOF
32091 cat confdefs.h >>conftest.$ac_ext
32092 cat >>conftest.$ac_ext <<_ACEOF
32093 /* end confdefs.h. */
32094
32095 #include <Xm/Xm.h>
32096 #include <Xm/List.h>
32097
32098 int
32099 main ()
32100 {
32101
32102 XmString string = NULL;
32103 Widget w = NULL;
32104 int position = 0;
32105 XmListAddItem(w, string, position);
32106
32107 ;
32108 return 0;
32109 }
32110 _ACEOF
32111 rm -f conftest.$ac_objext conftest$ac_exeext
32112 if { (ac_try="$ac_link"
32113 case "(($ac_try" in
32114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32115 *) ac_try_echo=$ac_try;;
32116 esac
32117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32118 (eval "$ac_link") 2>conftest.er1
32119 ac_status=$?
32120 grep -v '^ *+' conftest.er1 >conftest.err
32121 rm -f conftest.er1
32122 cat conftest.err >&5
32123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32124 (exit $ac_status); } && {
32125 test -z "$ac_c_werror_flag" ||
32126 test ! -s conftest.err
32127 } && test -s conftest$ac_exeext &&
32128 $as_test_x conftest$ac_exeext; then
32129
32130 libp_link="$libp"
32131 libsm_ice_link="$libsm_ice"
32132 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32133 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32134 libs_found=1
32135
32136 else
32137 echo "$as_me: failed program was:" >&5
32138 sed 's/^/| /' conftest.$ac_ext >&5
32139
32140
32141
32142 fi
32143
32144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32145 conftest$ac_exeext conftest.$ac_ext
32146
32147 LIBS="$save_LIBS"
32148 CFLAGS=$save_CFLAGS
32149 fi
32150 done
32151 fi
32152 done
32153
32154 if test "$libs_found" = 0; then
32155 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32156 echo "${ECHO_T}can't find the right libraries" >&6; }
32157 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32158 echo "$as_me: error: can't link a simple motif program" >&2;}
32159 { (exit 1); exit 1; }; }
32160 fi
32161
32162 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32163 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32164 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32165 echo $ECHO_N "(cached) $ECHO_C" >&6
32166 else
32167 ac_check_lib_save_LIBS=$LIBS
32168 LIBS="-lSgm $LIBS"
32169 cat >conftest.$ac_ext <<_ACEOF
32170 /* confdefs.h. */
32171 _ACEOF
32172 cat confdefs.h >>conftest.$ac_ext
32173 cat >>conftest.$ac_ext <<_ACEOF
32174 /* end confdefs.h. */
32175
32176 /* Override any GCC internal prototype to avoid an error.
32177 Use char because int might match the return type of a GCC
32178 builtin and then its argument prototype would still apply. */
32179 #ifdef __cplusplus
32180 extern "C"
32181 #endif
32182 char SgCreateList ();
32183 int
32184 main ()
32185 {
32186 return SgCreateList ();
32187 ;
32188 return 0;
32189 }
32190 _ACEOF
32191 rm -f conftest.$ac_objext conftest$ac_exeext
32192 if { (ac_try="$ac_link"
32193 case "(($ac_try" in
32194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32195 *) ac_try_echo=$ac_try;;
32196 esac
32197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32198 (eval "$ac_link") 2>conftest.er1
32199 ac_status=$?
32200 grep -v '^ *+' conftest.er1 >conftest.err
32201 rm -f conftest.er1
32202 cat conftest.err >&5
32203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32204 (exit $ac_status); } && {
32205 test -z "$ac_c_werror_flag" ||
32206 test ! -s conftest.err
32207 } && test -s conftest$ac_exeext &&
32208 $as_test_x conftest$ac_exeext; then
32209 ac_cv_lib_Sgm_SgCreateList=yes
32210 else
32211 echo "$as_me: failed program was:" >&5
32212 sed 's/^/| /' conftest.$ac_ext >&5
32213
32214 ac_cv_lib_Sgm_SgCreateList=no
32215 fi
32216
32217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32218 conftest$ac_exeext conftest.$ac_ext
32219 LIBS=$ac_check_lib_save_LIBS
32220 fi
32221 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32222 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32223 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32224 libsgm_link=" -lSgm"
32225 fi
32226
32227
32228 save_CFLAGS=$CFLAGS
32229 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32230
32231 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32232 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32233 if test "${wx_cv_lib_motif2+set}" = set; then
32234 echo $ECHO_N "(cached) $ECHO_C" >&6
32235 else
32236 cat >conftest.$ac_ext <<_ACEOF
32237 /* confdefs.h. */
32238 _ACEOF
32239 cat confdefs.h >>conftest.$ac_ext
32240 cat >>conftest.$ac_ext <<_ACEOF
32241 /* end confdefs.h. */
32242
32243 #include <Xm/Xm.h>
32244
32245 int
32246 main ()
32247 {
32248
32249 #if XmVersion < 2000
32250 Not Motif 2
32251 #endif
32252
32253 ;
32254 return 0;
32255 }
32256 _ACEOF
32257 rm -f conftest.$ac_objext
32258 if { (ac_try="$ac_compile"
32259 case "(($ac_try" in
32260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32261 *) ac_try_echo=$ac_try;;
32262 esac
32263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32264 (eval "$ac_compile") 2>conftest.er1
32265 ac_status=$?
32266 grep -v '^ *+' conftest.er1 >conftest.err
32267 rm -f conftest.er1
32268 cat conftest.err >&5
32269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32270 (exit $ac_status); } && {
32271 test -z "$ac_c_werror_flag" ||
32272 test ! -s conftest.err
32273 } && test -s conftest.$ac_objext; then
32274 wx_cv_lib_motif2="yes"
32275 else
32276 echo "$as_me: failed program was:" >&5
32277 sed 's/^/| /' conftest.$ac_ext >&5
32278
32279 wx_cv_lib_motif2="no"
32280 fi
32281
32282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32283 fi
32284 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32285 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32286 if test "$wx_cv_lib_motif2" = "yes"; then
32287 cat >>confdefs.h <<\_ACEOF
32288 #define __WXMOTIF20__ 1
32289 _ACEOF
32290
32291 else
32292 cat >>confdefs.h <<\_ACEOF
32293 #define __WXMOTIF20__ 0
32294 _ACEOF
32295
32296 fi
32297
32298 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32299 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32300 if test "${wx_cv_lib_lesstif+set}" = set; then
32301 echo $ECHO_N "(cached) $ECHO_C" >&6
32302 else
32303 cat >conftest.$ac_ext <<_ACEOF
32304 /* confdefs.h. */
32305 _ACEOF
32306 cat confdefs.h >>conftest.$ac_ext
32307 cat >>conftest.$ac_ext <<_ACEOF
32308 /* end confdefs.h. */
32309
32310 #include <Xm/Xm.h>
32311
32312 int
32313 main ()
32314 {
32315
32316 #if !defined(LesstifVersion) || LesstifVersion <= 0
32317 Not Lesstif
32318 #endif
32319
32320 ;
32321 return 0;
32322 }
32323 _ACEOF
32324 rm -f conftest.$ac_objext
32325 if { (ac_try="$ac_compile"
32326 case "(($ac_try" in
32327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32328 *) ac_try_echo=$ac_try;;
32329 esac
32330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32331 (eval "$ac_compile") 2>conftest.er1
32332 ac_status=$?
32333 grep -v '^ *+' conftest.er1 >conftest.err
32334 rm -f conftest.er1
32335 cat conftest.err >&5
32336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32337 (exit $ac_status); } && {
32338 test -z "$ac_c_werror_flag" ||
32339 test ! -s conftest.err
32340 } && test -s conftest.$ac_objext; then
32341 wx_cv_lib_lesstif="yes"
32342 else
32343 echo "$as_me: failed program was:" >&5
32344 sed 's/^/| /' conftest.$ac_ext >&5
32345
32346 wx_cv_lib_lesstif="no"
32347 fi
32348
32349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32350
32351 fi
32352 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32353 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32354 if test "$wx_cv_lib_lesstif" = "yes"; then
32355 cat >>confdefs.h <<\_ACEOF
32356 #define __WXLESSTIF__ 1
32357 _ACEOF
32358
32359 else
32360 cat >>confdefs.h <<\_ACEOF
32361 #define __WXLESSTIF__ 0
32362 _ACEOF
32363
32364 fi
32365
32366 CFLAGS=$save_CFLAGS
32367
32368 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32369 TOOLKIT=MOTIF
32370 GUIDIST=MOTIF_DIST
32371 fi
32372
32373 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32374 if test "$wxUSE_LIBXPM" = "sys"; then
32375 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32376 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32377
32378 ac_find_libraries=
32379 for ac_dir in $SEARCH_LIB;
32380 do
32381 for ac_extension in a so sl dylib dll.a; do
32382 if test -f "$ac_dir/libXpm.$ac_extension"; then
32383 ac_find_libraries=$ac_dir
32384 break 2
32385 fi
32386 done
32387 done
32388
32389 if test "$ac_find_libraries" != "" ; then
32390
32391 if test "$ac_find_libraries" = "default location"; then
32392 ac_path_to_link=""
32393 else
32394 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32395 result=$?
32396 if test $result = 0; then
32397 ac_path_to_link=""
32398 else
32399 ac_path_to_link=" -L$ac_find_libraries"
32400 fi
32401 fi
32402
32403 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32404 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32405 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32406
32407 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32408 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32409 if test "${wx_cv_x11_xpm_h+set}" = set; then
32410 echo $ECHO_N "(cached) $ECHO_C" >&6
32411 else
32412
32413 save_CFLAGS=$CFLAGS
32414 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32415
32416 cat >conftest.$ac_ext <<_ACEOF
32417 /* confdefs.h. */
32418 _ACEOF
32419 cat confdefs.h >>conftest.$ac_ext
32420 cat >>conftest.$ac_ext <<_ACEOF
32421 /* end confdefs.h. */
32422
32423 #include <X11/xpm.h>
32424
32425 int
32426 main ()
32427 {
32428
32429 int version;
32430 version = XpmLibraryVersion();
32431
32432 ;
32433 return 0;
32434 }
32435 _ACEOF
32436 rm -f conftest.$ac_objext
32437 if { (ac_try="$ac_compile"
32438 case "(($ac_try" in
32439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32440 *) ac_try_echo=$ac_try;;
32441 esac
32442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32443 (eval "$ac_compile") 2>conftest.er1
32444 ac_status=$?
32445 grep -v '^ *+' conftest.er1 >conftest.err
32446 rm -f conftest.er1
32447 cat conftest.err >&5
32448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32449 (exit $ac_status); } && {
32450 test -z "$ac_c_werror_flag" ||
32451 test ! -s conftest.err
32452 } && test -s conftest.$ac_objext; then
32453 wx_cv_x11_xpm_h=yes
32454 else
32455 echo "$as_me: failed program was:" >&5
32456 sed 's/^/| /' conftest.$ac_ext >&5
32457
32458 wx_cv_x11_xpm_h=no
32459
32460 fi
32461
32462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32463
32464 CFLAGS=$save_CFLAGS
32465
32466
32467 fi
32468 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32469 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32470
32471 if test $wx_cv_x11_xpm_h = "yes"; then
32472 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32473 cat >>confdefs.h <<\_ACEOF
32474 #define wxHAVE_LIB_XPM 1
32475 _ACEOF
32476
32477 else
32478 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32479 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32480 fi
32481 fi
32482
32483 fi
32484
32485 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32486 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32487 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32488 echo $ECHO_N "(cached) $ECHO_C" >&6
32489 else
32490 ac_check_lib_save_LIBS=$LIBS
32491 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32492 cat >conftest.$ac_ext <<_ACEOF
32493 /* confdefs.h. */
32494 _ACEOF
32495 cat confdefs.h >>conftest.$ac_ext
32496 cat >>conftest.$ac_ext <<_ACEOF
32497 /* end confdefs.h. */
32498
32499 /* Override any GCC internal prototype to avoid an error.
32500 Use char because int might match the return type of a GCC
32501 builtin and then its argument prototype would still apply. */
32502 #ifdef __cplusplus
32503 extern "C"
32504 #endif
32505 char XShapeQueryExtension ();
32506 int
32507 main ()
32508 {
32509 return XShapeQueryExtension ();
32510 ;
32511 return 0;
32512 }
32513 _ACEOF
32514 rm -f conftest.$ac_objext conftest$ac_exeext
32515 if { (ac_try="$ac_link"
32516 case "(($ac_try" in
32517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32518 *) ac_try_echo=$ac_try;;
32519 esac
32520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32521 (eval "$ac_link") 2>conftest.er1
32522 ac_status=$?
32523 grep -v '^ *+' conftest.er1 >conftest.err
32524 rm -f conftest.er1
32525 cat conftest.err >&5
32526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32527 (exit $ac_status); } && {
32528 test -z "$ac_c_werror_flag" ||
32529 test ! -s conftest.err
32530 } && test -s conftest$ac_exeext &&
32531 $as_test_x conftest$ac_exeext; then
32532 ac_cv_lib_Xext_XShapeQueryExtension=yes
32533 else
32534 echo "$as_me: failed program was:" >&5
32535 sed 's/^/| /' conftest.$ac_ext >&5
32536
32537 ac_cv_lib_Xext_XShapeQueryExtension=no
32538 fi
32539
32540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32541 conftest$ac_exeext conftest.$ac_ext
32542 LIBS=$ac_check_lib_save_LIBS
32543 fi
32544 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32545 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32546 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32547
32548 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32549 wxHAVE_XEXT_LIB=1
32550
32551 fi
32552
32553
32554 if test "$wxHAVE_XEXT_LIB" = 1; then
32555 save_CFLAGS="$CFLAGS"
32556 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32557
32558 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32559 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32560 cat >conftest.$ac_ext <<_ACEOF
32561 /* confdefs.h. */
32562 _ACEOF
32563 cat confdefs.h >>conftest.$ac_ext
32564 cat >>conftest.$ac_ext <<_ACEOF
32565 /* end confdefs.h. */
32566
32567 #include <X11/Xlib.h>
32568 #include <X11/extensions/shape.h>
32569
32570 int
32571 main ()
32572 {
32573
32574 int dummy1, dummy2;
32575 XShapeQueryExtension((Display*)NULL,
32576 (int*)NULL, (int*)NULL);
32577
32578 ;
32579 return 0;
32580 }
32581 _ACEOF
32582 rm -f conftest.$ac_objext
32583 if { (ac_try="$ac_compile"
32584 case "(($ac_try" in
32585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32586 *) ac_try_echo=$ac_try;;
32587 esac
32588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32589 (eval "$ac_compile") 2>conftest.er1
32590 ac_status=$?
32591 grep -v '^ *+' conftest.er1 >conftest.err
32592 rm -f conftest.er1
32593 cat conftest.err >&5
32594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32595 (exit $ac_status); } && {
32596 test -z "$ac_c_werror_flag" ||
32597 test ! -s conftest.err
32598 } && test -s conftest.$ac_objext; then
32599
32600 cat >>confdefs.h <<\_ACEOF
32601 #define HAVE_XSHAPE 1
32602 _ACEOF
32603
32604 { echo "$as_me:$LINENO: result: found" >&5
32605 echo "${ECHO_T}found" >&6; }
32606
32607 else
32608 echo "$as_me: failed program was:" >&5
32609 sed 's/^/| /' conftest.$ac_ext >&5
32610
32611
32612 { echo "$as_me:$LINENO: result: not found" >&5
32613 echo "${ECHO_T}not found" >&6; }
32614
32615 fi
32616
32617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32618 CFLAGS="$save_CFLAGS"
32619
32620 fi
32621 fi
32622
32623 if test "$wxUSE_OSX_CARBON" = 1; then
32624 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32625 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32626 if test "$GCC" = yes; then
32627 { echo "$as_me:$LINENO: result: gcc" >&5
32628 echo "${ECHO_T}gcc" >&6; }
32629 CPPFLAGS_PASCAL="-fpascal-strings"
32630 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32631 { echo "$as_me:$LINENO: result: xlc" >&5
32632 echo "${ECHO_T}xlc" >&6; }
32633 CPPFLAGS_PASCAL="-qmacpstr"
32634 else
32635 { echo "$as_me:$LINENO: result: none" >&5
32636 echo "${ECHO_T}none" >&6; }
32637 fi
32638
32639 if test "x$wxUSE_UNIX" = "xyes"; then
32640 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32641 else
32642 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32643 fi
32644
32645 TOOLKIT=OSX_CARBON
32646 GUIDIST=OSX_CARBON_DIST
32647 WXBASEPORT="_carbon"
32648 fi
32649
32650 if test "$wxUSE_OSX_COCOA" = 1; then
32651 TOOLKIT=OSX_COCOA
32652 GUIDIST=OSX_COCOA_DIST
32653 fi
32654
32655 if test "$wxUSE_COCOA" = 1; then
32656 TOOLKIT=COCOA
32657 GUIDIST=COCOA_DIST
32658 fi
32659
32660 if test "$wxUSE_PM" = 1; then
32661 TOOLKIT=PM
32662 GUIDIST=PM_DIST
32663 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32664 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32665 if test "${wx_cv_spbcdata+set}" = set; then
32666 echo $ECHO_N "(cached) $ECHO_C" >&6
32667 else
32668
32669 cat >conftest.$ac_ext <<_ACEOF
32670 /* confdefs.h. */
32671 _ACEOF
32672 cat confdefs.h >>conftest.$ac_ext
32673 cat >>conftest.$ac_ext <<_ACEOF
32674 /* end confdefs.h. */
32675
32676 #define INCL_PM
32677 #include <os2.h>
32678
32679 int
32680 main ()
32681 {
32682
32683 SPBCDATA test;
32684
32685 ;
32686 return 0;
32687 }
32688 _ACEOF
32689 rm -f conftest.$ac_objext
32690 if { (ac_try="$ac_compile"
32691 case "(($ac_try" in
32692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32693 *) ac_try_echo=$ac_try;;
32694 esac
32695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32696 (eval "$ac_compile") 2>conftest.er1
32697 ac_status=$?
32698 grep -v '^ *+' conftest.er1 >conftest.err
32699 rm -f conftest.er1
32700 cat conftest.err >&5
32701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32702 (exit $ac_status); } && {
32703 test -z "$ac_c_werror_flag" ||
32704 test ! -s conftest.err
32705 } && test -s conftest.$ac_objext; then
32706 wx_cv_spbcdata=yes
32707 else
32708 echo "$as_me: failed program was:" >&5
32709 sed 's/^/| /' conftest.$ac_ext >&5
32710
32711 wx_cv_spbcdata=no
32712
32713 fi
32714
32715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32716
32717
32718 fi
32719 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32720 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32721
32722 if test $wx_cv_spbcdata = "yes"; then
32723 cat >>confdefs.h <<\_ACEOF
32724 #define HAVE_SPBCDATA 1
32725 _ACEOF
32726
32727 fi
32728 fi
32729
32730 if test "$TOOLKIT" = "PM" ; then
32731 TOOLKIT_DIR="os2"
32732 else
32733 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32734 fi
32735
32736 if test "$wxUSE_UNIVERSAL" = "yes"; then
32737 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32738 WIDGET_SET=univ
32739 fi
32740
32741 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32742 DISTDIR="wx\$(TOOLKIT)"
32743 else
32744 USE_GUI=0
32745
32746 TOOLKIT_DIR="base"
32747
32748 if test "$USE_WIN32" = 1 ; then
32749 TOOLKIT="MSW"
32750 fi
32751
32752 GUIDIST="BASE_DIST"
32753 DISTDIR="wxBase"
32754 fi
32755
32756
32757
32758 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32759 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32760 wxUSE_UNICODE_UTF8=yes
32761 elif test "$USE_OS2" = 1 ; then
32762 wxUSE_UNICODE_UTF8=yes
32763 else
32764 wxUSE_UNICODE_UTF8=no
32765 fi
32766 fi
32767
32768
32769 if test "$wxUSE_GUI" = "yes"; then
32770 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32771
32772 for ac_header in X11/Xlib.h
32773 do
32774 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32775 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32777 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32778 echo $ECHO_N "(cached) $ECHO_C" >&6
32779 else
32780 cat >conftest.$ac_ext <<_ACEOF
32781 /* confdefs.h. */
32782 _ACEOF
32783 cat confdefs.h >>conftest.$ac_ext
32784 cat >>conftest.$ac_ext <<_ACEOF
32785 /* end confdefs.h. */
32786
32787
32788 #include <$ac_header>
32789 _ACEOF
32790 rm -f conftest.$ac_objext
32791 if { (ac_try="$ac_compile"
32792 case "(($ac_try" in
32793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32794 *) ac_try_echo=$ac_try;;
32795 esac
32796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32797 (eval "$ac_compile") 2>conftest.er1
32798 ac_status=$?
32799 grep -v '^ *+' conftest.er1 >conftest.err
32800 rm -f conftest.er1
32801 cat conftest.err >&5
32802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32803 (exit $ac_status); } && {
32804 test -z "$ac_c_werror_flag" ||
32805 test ! -s conftest.err
32806 } && test -s conftest.$ac_objext; then
32807 eval "$as_ac_Header=yes"
32808 else
32809 echo "$as_me: failed program was:" >&5
32810 sed 's/^/| /' conftest.$ac_ext >&5
32811
32812 eval "$as_ac_Header=no"
32813 fi
32814
32815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32816 fi
32817 ac_res=`eval echo '${'$as_ac_Header'}'`
32818 { echo "$as_me:$LINENO: result: $ac_res" >&5
32819 echo "${ECHO_T}$ac_res" >&6; }
32820 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32821 cat >>confdefs.h <<_ACEOF
32822 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32823 _ACEOF
32824
32825 fi
32826
32827 done
32828
32829
32830 for ac_header in X11/XKBlib.h
32831 do
32832 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32833 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32834 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32835 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32836 echo $ECHO_N "(cached) $ECHO_C" >&6
32837 else
32838 cat >conftest.$ac_ext <<_ACEOF
32839 /* confdefs.h. */
32840 _ACEOF
32841 cat confdefs.h >>conftest.$ac_ext
32842 cat >>conftest.$ac_ext <<_ACEOF
32843 /* end confdefs.h. */
32844
32845 #if HAVE_X11_XLIB_H
32846 #include <X11/Xlib.h>
32847 #endif
32848
32849
32850 #include <$ac_header>
32851 _ACEOF
32852 rm -f conftest.$ac_objext
32853 if { (ac_try="$ac_compile"
32854 case "(($ac_try" in
32855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32856 *) ac_try_echo=$ac_try;;
32857 esac
32858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32859 (eval "$ac_compile") 2>conftest.er1
32860 ac_status=$?
32861 grep -v '^ *+' conftest.er1 >conftest.err
32862 rm -f conftest.er1
32863 cat conftest.err >&5
32864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32865 (exit $ac_status); } && {
32866 test -z "$ac_c_werror_flag" ||
32867 test ! -s conftest.err
32868 } && test -s conftest.$ac_objext; then
32869 eval "$as_ac_Header=yes"
32870 else
32871 echo "$as_me: failed program was:" >&5
32872 sed 's/^/| /' conftest.$ac_ext >&5
32873
32874 eval "$as_ac_Header=no"
32875 fi
32876
32877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32878 fi
32879 ac_res=`eval echo '${'$as_ac_Header'}'`
32880 { echo "$as_me:$LINENO: result: $ac_res" >&5
32881 echo "${ECHO_T}$ac_res" >&6; }
32882 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32883 cat >>confdefs.h <<_ACEOF
32884 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32885 _ACEOF
32886
32887 fi
32888
32889 done
32890
32891 fi
32892 fi
32893
32894
32895
32896 if test "$wxUSE_DISPLAY" = "yes"; then
32897 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32898 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32899 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32900
32901 ac_find_libraries=
32902 for ac_dir in $SEARCH_LIB;
32903 do
32904 for ac_extension in a so sl dylib dll.a; do
32905 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32906 ac_find_libraries=$ac_dir
32907 break 2
32908 fi
32909 done
32910 done
32911
32912 if test "$ac_find_libraries" != "" ; then
32913
32914 if test "$ac_find_libraries" = "default location"; then
32915 ac_path_to_link=""
32916 else
32917 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32918 result=$?
32919 if test $result = 0; then
32920 ac_path_to_link=""
32921 else
32922 ac_path_to_link=" -L$ac_find_libraries"
32923 fi
32924 fi
32925
32926 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32927 LDFLAGS="$LDFLAGS $ac_path_to_link"
32928 fi
32929 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32930 { echo "$as_me:$LINENO: result: yes" >&5
32931 echo "${ECHO_T}yes" >&6; }
32932
32933 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32934 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32935
32936 ac_find_libraries=
32937 for ac_dir in $SEARCH_LIB;
32938 do
32939 for ac_extension in a so sl dylib dll.a; do
32940 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32941 ac_find_libraries=$ac_dir
32942 break 2
32943 fi
32944 done
32945 done
32946
32947 if test "$ac_find_libraries" != "" ; then
32948 { echo "$as_me:$LINENO: result: yes" >&5
32949 echo "${ECHO_T}yes" >&6; }
32950
32951 for ac_header in X11/extensions/xf86vmode.h
32952 do
32953 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32954 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32955 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32956 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32957 echo $ECHO_N "(cached) $ECHO_C" >&6
32958 else
32959 cat >conftest.$ac_ext <<_ACEOF
32960 /* confdefs.h. */
32961 _ACEOF
32962 cat confdefs.h >>conftest.$ac_ext
32963 cat >>conftest.$ac_ext <<_ACEOF
32964 /* end confdefs.h. */
32965
32966 #if HAVE_X11_XLIB_H
32967 #include <X11/Xlib.h>
32968 #endif
32969
32970
32971 #include <$ac_header>
32972 _ACEOF
32973 rm -f conftest.$ac_objext
32974 if { (ac_try="$ac_compile"
32975 case "(($ac_try" in
32976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32977 *) ac_try_echo=$ac_try;;
32978 esac
32979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32980 (eval "$ac_compile") 2>conftest.er1
32981 ac_status=$?
32982 grep -v '^ *+' conftest.er1 >conftest.err
32983 rm -f conftest.er1
32984 cat conftest.err >&5
32985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32986 (exit $ac_status); } && {
32987 test -z "$ac_c_werror_flag" ||
32988 test ! -s conftest.err
32989 } && test -s conftest.$ac_objext; then
32990 eval "$as_ac_Header=yes"
32991 else
32992 echo "$as_me: failed program was:" >&5
32993 sed 's/^/| /' conftest.$ac_ext >&5
32994
32995 eval "$as_ac_Header=no"
32996 fi
32997
32998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32999 fi
33000 ac_res=`eval echo '${'$as_ac_Header'}'`
33001 { echo "$as_me:$LINENO: result: $ac_res" >&5
33002 echo "${ECHO_T}$ac_res" >&6; }
33003 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33004 cat >>confdefs.h <<_ACEOF
33005 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33006 _ACEOF
33007
33008 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
33009
33010 fi
33011
33012 done
33013
33014 else
33015 { echo "$as_me:$LINENO: result: no" >&5
33016 echo "${ECHO_T}no" >&6; }
33017 fi
33018
33019 else
33020 { echo "$as_me:$LINENO: result: no" >&5
33021 echo "${ECHO_T}no" >&6; }
33022 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33023 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33024 wxUSE_DISPLAY="no"
33025 fi
33026 elif test "$wxUSE_MSW" = 1; then
33027 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33028 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33029 if test "${ac_cv_header_ddraw_h+set}" = set; then
33030 echo $ECHO_N "(cached) $ECHO_C" >&6
33031 else
33032 cat >conftest.$ac_ext <<_ACEOF
33033 /* confdefs.h. */
33034 _ACEOF
33035 cat confdefs.h >>conftest.$ac_ext
33036 cat >>conftest.$ac_ext <<_ACEOF
33037 /* end confdefs.h. */
33038 #include <windows.h>
33039
33040 #include <ddraw.h>
33041 _ACEOF
33042 rm -f conftest.$ac_objext
33043 if { (ac_try="$ac_compile"
33044 case "(($ac_try" in
33045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33046 *) ac_try_echo=$ac_try;;
33047 esac
33048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33049 (eval "$ac_compile") 2>conftest.er1
33050 ac_status=$?
33051 grep -v '^ *+' conftest.er1 >conftest.err
33052 rm -f conftest.er1
33053 cat conftest.err >&5
33054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33055 (exit $ac_status); } && {
33056 test -z "$ac_c_werror_flag" ||
33057 test ! -s conftest.err
33058 } && test -s conftest.$ac_objext; then
33059 ac_cv_header_ddraw_h=yes
33060 else
33061 echo "$as_me: failed program was:" >&5
33062 sed 's/^/| /' conftest.$ac_ext >&5
33063
33064 ac_cv_header_ddraw_h=no
33065 fi
33066
33067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33068 fi
33069 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33070 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33071
33072
33073 fi
33074 fi
33075
33076 if test "$wxUSE_DETECT_SM" = "yes"; then
33077 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33078 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33079 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33080
33081 ac_find_libraries=
33082 for ac_dir in $SEARCH_LIB;
33083 do
33084 for ac_extension in a so sl dylib dll.a; do
33085 if test -f "$ac_dir/libSM.$ac_extension"; then
33086 ac_find_libraries=$ac_dir
33087 break 2
33088 fi
33089 done
33090 done
33091
33092 if test "$ac_find_libraries" != "" ; then
33093
33094 if test "$ac_find_libraries" = "default location"; then
33095 ac_path_to_link=""
33096 else
33097 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33098 result=$?
33099 if test $result = 0; then
33100 ac_path_to_link=""
33101 else
33102 ac_path_to_link=" -L$ac_find_libraries"
33103 fi
33104 fi
33105
33106 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33107 LDFLAGS="$LDFLAGS $ac_path_to_link"
33108 fi
33109 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33110 { echo "$as_me:$LINENO: result: yes" >&5
33111 echo "${ECHO_T}yes" >&6; }
33112 else
33113 { echo "$as_me:$LINENO: result: no" >&5
33114 echo "${ECHO_T}no" >&6; }
33115 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33116 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33117 wxUSE_DETECT_SM="no"
33118 fi
33119 else
33120 wxUSE_DETECT_SM="no"
33121 fi
33122 fi
33123
33124
33125
33126 USE_OPENGL=0
33127 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33128
33129
33130 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33131 OPENGL_LIBS="-framework OpenGL -framework AGL"
33132 elif test "$wxUSE_MSW" = 1; then
33133 OPENGL_LIBS="-lopengl32 -lglu32"
33134 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33135
33136 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33137 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33138
33139 ac_find_includes=
33140 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33141 do
33142 if test -f "$ac_dir/GL/gl.h"; then
33143 ac_find_includes=$ac_dir
33144 break
33145 fi
33146 done
33147
33148 if test "$ac_find_includes" != "" ; then
33149 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33150 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33151
33152 if test "x$ac_find_includes" = "x/usr/include"; then
33153 ac_path_to_include=""
33154 else
33155 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33156 result=$?
33157 if test $result = 0; then
33158 ac_path_to_include=""
33159 else
33160 ac_path_to_include=" -I$ac_find_includes"
33161 fi
33162 fi
33163
33164 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33165 else
33166 { echo "$as_me:$LINENO: result: not found" >&5
33167 echo "${ECHO_T}not found" >&6; }
33168 fi
33169
33170 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33171 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33172 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33173 echo $ECHO_N "(cached) $ECHO_C" >&6
33174 else
33175 cat >conftest.$ac_ext <<_ACEOF
33176 /* confdefs.h. */
33177 _ACEOF
33178 cat confdefs.h >>conftest.$ac_ext
33179 cat >>conftest.$ac_ext <<_ACEOF
33180 /* end confdefs.h. */
33181
33182
33183 #include <GL/gl.h>
33184 _ACEOF
33185 rm -f conftest.$ac_objext
33186 if { (ac_try="$ac_compile"
33187 case "(($ac_try" in
33188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33189 *) ac_try_echo=$ac_try;;
33190 esac
33191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33192 (eval "$ac_compile") 2>conftest.er1
33193 ac_status=$?
33194 grep -v '^ *+' conftest.er1 >conftest.err
33195 rm -f conftest.er1
33196 cat conftest.err >&5
33197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33198 (exit $ac_status); } && {
33199 test -z "$ac_c_werror_flag" ||
33200 test ! -s conftest.err
33201 } && test -s conftest.$ac_objext; then
33202 ac_cv_header_GL_gl_h=yes
33203 else
33204 echo "$as_me: failed program was:" >&5
33205 sed 's/^/| /' conftest.$ac_ext >&5
33206
33207 ac_cv_header_GL_gl_h=no
33208 fi
33209
33210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33211 fi
33212 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33213 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33214 if test $ac_cv_header_GL_gl_h = yes; then
33215
33216 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33217 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33218 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33219 echo $ECHO_N "(cached) $ECHO_C" >&6
33220 else
33221 cat >conftest.$ac_ext <<_ACEOF
33222 /* confdefs.h. */
33223 _ACEOF
33224 cat confdefs.h >>conftest.$ac_ext
33225 cat >>conftest.$ac_ext <<_ACEOF
33226 /* end confdefs.h. */
33227
33228
33229 #include <GL/glu.h>
33230 _ACEOF
33231 rm -f conftest.$ac_objext
33232 if { (ac_try="$ac_compile"
33233 case "(($ac_try" in
33234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33235 *) ac_try_echo=$ac_try;;
33236 esac
33237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33238 (eval "$ac_compile") 2>conftest.er1
33239 ac_status=$?
33240 grep -v '^ *+' conftest.er1 >conftest.err
33241 rm -f conftest.er1
33242 cat conftest.err >&5
33243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33244 (exit $ac_status); } && {
33245 test -z "$ac_c_werror_flag" ||
33246 test ! -s conftest.err
33247 } && test -s conftest.$ac_objext; then
33248 ac_cv_header_GL_glu_h=yes
33249 else
33250 echo "$as_me: failed program was:" >&5
33251 sed 's/^/| /' conftest.$ac_ext >&5
33252
33253 ac_cv_header_GL_glu_h=no
33254 fi
33255
33256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33257 fi
33258 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33259 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33260 if test $ac_cv_header_GL_glu_h = yes; then
33261
33262 found_gl=0
33263
33264 { echo "$as_me:$LINENO: checking for -lGL" >&5
33265 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33266
33267 ac_find_libraries=
33268 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33269 do
33270 for ac_extension in a so sl dylib dll.a; do
33271 if test -f "$ac_dir/libGL.$ac_extension"; then
33272 ac_find_libraries=$ac_dir
33273 break 2
33274 fi
33275 done
33276 done
33277
33278 if test "$ac_find_libraries" != "" ; then
33279 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33280 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33281
33282
33283 if test "$ac_find_libraries" = "default location"; then
33284 ac_path_to_link=""
33285 else
33286 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33287 result=$?
33288 if test $result = 0; then
33289 ac_path_to_link=""
33290 else
33291 ac_path_to_link=" -L$ac_find_libraries"
33292 fi
33293 fi
33294
33295 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33296 LDFLAGS_GL="$ac_path_to_link"
33297 fi
33298
33299 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33300 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33301
33302 ac_find_libraries=
33303 for ac_dir in $SEARCH_LIB;
33304 do
33305 for ac_extension in a so sl dylib dll.a; do
33306 if test -f "$ac_dir/libGLU.$ac_extension"; then
33307 ac_find_libraries=$ac_dir
33308 break 2
33309 fi
33310 done
33311 done
33312
33313 if test "$ac_find_libraries" != "" ; then
33314
33315 if test "$ac_find_libraries" = "default location"; then
33316 ac_path_to_link=""
33317 else
33318 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33319 result=$?
33320 if test $result = 0; then
33321 ac_path_to_link=""
33322 else
33323 ac_path_to_link=" -L$ac_find_libraries"
33324 fi
33325 fi
33326
33327 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33328 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33329 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33330 fi
33331
33332 found_gl=1
33333 OPENGL_LIBS="-lGL -lGLU"
33334 { echo "$as_me:$LINENO: result: yes" >&5
33335 echo "${ECHO_T}yes" >&6; }
33336 else
33337 { echo "$as_me:$LINENO: result: no" >&5
33338 echo "${ECHO_T}no" >&6; }
33339 fi
33340 else
33341 { echo "$as_me:$LINENO: result: no" >&5
33342 echo "${ECHO_T}no" >&6; }
33343 fi
33344
33345 if test "$found_gl" != 1; then
33346 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33347 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33348
33349 ac_find_libraries=
33350 for ac_dir in $SEARCH_LIB;
33351 do
33352 for ac_extension in a so sl dylib dll.a; do
33353 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33354 ac_find_libraries=$ac_dir
33355 break 2
33356 fi
33357 done
33358 done
33359
33360 if test "$ac_find_libraries" != "" ; then
33361
33362 if test "$ac_find_libraries" = "default location"; then
33363 ac_path_to_link=""
33364 else
33365 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33366 result=$?
33367 if test $result = 0; then
33368 ac_path_to_link=""
33369 else
33370 ac_path_to_link=" -L$ac_find_libraries"
33371 fi
33372 fi
33373
33374 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33375 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33376 { echo "$as_me:$LINENO: result: yes" >&5
33377 echo "${ECHO_T}yes" >&6; }
33378 else
33379 { echo "$as_me:$LINENO: result: no" >&5
33380 echo "${ECHO_T}no" >&6; }
33381 fi
33382 fi
33383
33384 fi
33385
33386
33387
33388 fi
33389
33390
33391
33392 if test "x$OPENGL_LIBS" = "x"; then
33393 if test "$wxUSE_OPENGL" = "yes"; then
33394 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33395 echo "$as_me: error: OpenGL libraries not available" >&2;}
33396 { (exit 1); exit 1; }; }
33397 else
33398 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33399 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33400 wxUSE_OPENGL=no
33401 USE_OPENGL=0
33402 fi
33403 else
33404 wxUSE_OPENGL=yes
33405 fi
33406 else
33407 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33408 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33409 wxUSE_OPENGL="no"
33410 fi
33411
33412 if test "$wxUSE_OPENGL" = "yes"; then
33413 USE_OPENGL=1
33414 cat >>confdefs.h <<\_ACEOF
33415 #define wxUSE_OPENGL 1
33416 _ACEOF
33417
33418 cat >>confdefs.h <<\_ACEOF
33419 #define wxUSE_GLCANVAS 1
33420 _ACEOF
33421
33422 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33423 fi
33424 fi
33425
33426
33427 if test -n "$TOOLKIT" ; then
33428 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33429 fi
33430
33431
33432
33433 if test "$wxUSE_SHARED" = "yes"; then
33434 case "${host}" in
33435 *-pc-msdosdjgpp )
33436 wxUSE_SHARED=no
33437 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33438 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33439 ;;
33440 esac
33441 fi
33442
33443 if test "$wxUSE_SHARED" = "yes"; then
33444
33445
33446 case "${host}" in
33447 *-*-cygwin* | *-*-mingw* )
33448 wx_cv_version_script=no
33449 ;;
33450
33451 *)
33452 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33453 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33454 if test "${wx_cv_version_script+set}" = set; then
33455 echo $ECHO_N "(cached) $ECHO_C" >&6
33456 else
33457
33458 echo "VER_1 { *; };" >conftest.sym
33459 echo "int main() { return 0; }" >conftest.cpp
33460
33461 if { ac_try='
33462 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33463 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33465 (eval $ac_try) 2>&5
33466 ac_status=$?
33467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33468 (exit $ac_status); }; } ; then
33469 if test -s conftest.stderr ; then
33470 wx_cv_version_script=no
33471 else
33472 wx_cv_version_script=yes
33473 fi
33474 else
33475 wx_cv_version_script=no
33476 fi
33477
33478 if test $wx_cv_version_script = yes
33479 then
33480 echo "struct B { virtual ~B() { } }; \
33481 struct D : public B { }; \
33482 void F() { D d; }" > conftest.cpp
33483
33484 if { ac_try='
33485 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33486 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33488 (eval $ac_try) 2>&5
33489 ac_status=$?
33490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33491 (exit $ac_status); }; } &&
33492 { ac_try='
33493 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33494 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33496 (eval $ac_try) 2>&5
33497 ac_status=$?
33498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33499 (exit $ac_status); }; }
33500 then
33501 if { ac_try='
33502 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33503 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33505 (eval $ac_try) 2>&5
33506 ac_status=$?
33507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33508 (exit $ac_status); }; }
33509 then
33510 wx_cv_version_script=yes
33511 else
33512 wx_cv_version_script=no
33513 fi
33514 fi
33515 fi
33516
33517 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33518 rm -f conftest1.output conftest2.output conftest3.output
33519
33520 fi
33521 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33522 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33523
33524 if test $wx_cv_version_script = yes ; then
33525 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33526 fi
33527 ;;
33528 esac
33529
33530
33531 if test "$wxUSE_VISIBILITY" != "no"; then
33532
33533
33534 if test -n "$GCC"; then
33535 CFLAGS_VISIBILITY="-fvisibility=hidden"
33536 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33537 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33538 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33539 if test "${wx_cv_cc_visibility+set}" = set; then
33540 echo $ECHO_N "(cached) $ECHO_C" >&6
33541 else
33542
33543 wx_save_CXXFLAGS="$CXXFLAGS"
33544 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33545 ac_ext=cpp
33546 ac_cpp='$CXXCPP $CPPFLAGS'
33547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33550
33551 cat >conftest.$ac_ext <<_ACEOF
33552 /* confdefs.h. */
33553 _ACEOF
33554 cat confdefs.h >>conftest.$ac_ext
33555 cat >>conftest.$ac_ext <<_ACEOF
33556 /* end confdefs.h. */
33557
33558 /* we need gcc >= 4.0, older versions with visibility support
33559 didn't have class visibility: */
33560 #if defined(__GNUC__) && __GNUC__ < 4
33561 error this gcc is too old;
33562 #endif
33563
33564 /* visibility only makes sense for ELF shared libs: */
33565 #if !defined(__ELF__) && !defined(__APPLE__)
33566 error this platform has no visibility;
33567 #endif
33568
33569 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33570 extern __attribute__((__visibility__("default"))) int exportedvar;
33571 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33572 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33573 class __attribute__((__visibility__("default"))) Foo {
33574 Foo() {}
33575 };
33576
33577 int
33578 main ()
33579 {
33580
33581 ;
33582 return 0;
33583 }
33584 _ACEOF
33585 rm -f conftest.$ac_objext
33586 if { (ac_try="$ac_compile"
33587 case "(($ac_try" in
33588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33589 *) ac_try_echo=$ac_try;;
33590 esac
33591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33592 (eval "$ac_compile") 2>conftest.er1
33593 ac_status=$?
33594 grep -v '^ *+' conftest.er1 >conftest.err
33595 rm -f conftest.er1
33596 cat conftest.err >&5
33597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33598 (exit $ac_status); } && {
33599 test -z "$ac_cxx_werror_flag" ||
33600 test ! -s conftest.err
33601 } && test -s conftest.$ac_objext; then
33602 wx_cv_cc_visibility=yes
33603 else
33604 echo "$as_me: failed program was:" >&5
33605 sed 's/^/| /' conftest.$ac_ext >&5
33606
33607 wx_cv_cc_visibility=no
33608 fi
33609
33610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33611 ac_ext=c
33612 ac_cpp='$CPP $CPPFLAGS'
33613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33616
33617 CXXFLAGS="$wx_save_CXXFLAGS"
33618 fi
33619
33620 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33621 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33622 if test $wx_cv_cc_visibility = yes; then
33623 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33624 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33625 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33626 echo $ECHO_N "(cached) $ECHO_C" >&6
33627 else
33628
33629 wx_save_CXXFLAGS="$CXXFLAGS"
33630 wx_save_LDFLAGS="$LDFLAGS"
33631 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33632 LDFLAGS="$LDFLAGS -shared -fPIC"
33633 ac_ext=cpp
33634 ac_cpp='$CXXCPP $CPPFLAGS'
33635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33638
33639 cat >conftest.$ac_ext <<_ACEOF
33640 /* confdefs.h. */
33641 _ACEOF
33642 cat confdefs.h >>conftest.$ac_ext
33643 cat >>conftest.$ac_ext <<_ACEOF
33644 /* end confdefs.h. */
33645
33646 #include <string>
33647
33648 int
33649 main ()
33650 {
33651
33652 std::string s("hello");
33653 return s.length();
33654
33655 ;
33656 return 0;
33657 }
33658 _ACEOF
33659 rm -f conftest.$ac_objext conftest$ac_exeext
33660 if { (ac_try="$ac_link"
33661 case "(($ac_try" in
33662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33663 *) ac_try_echo=$ac_try;;
33664 esac
33665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33666 (eval "$ac_link") 2>conftest.er1
33667 ac_status=$?
33668 grep -v '^ *+' conftest.er1 >conftest.err
33669 rm -f conftest.er1
33670 cat conftest.err >&5
33671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33672 (exit $ac_status); } && {
33673 test -z "$ac_cxx_werror_flag" ||
33674 test ! -s conftest.err
33675 } && test -s conftest$ac_exeext &&
33676 $as_test_x conftest$ac_exeext; then
33677 wx_cv_cc_broken_libstdcxx_visibility=no
33678 else
33679 echo "$as_me: failed program was:" >&5
33680 sed 's/^/| /' conftest.$ac_ext >&5
33681
33682 wx_cv_cc_broken_libstdcxx_visibility=yes
33683 fi
33684
33685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33686 conftest$ac_exeext conftest.$ac_ext
33687 ac_ext=c
33688 ac_cpp='$CPP $CPPFLAGS'
33689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33692
33693 CXXFLAGS="$wx_save_CXXFLAGS"
33694 LDFLAGS="$wx_save_LDFLAGS"
33695 fi
33696
33697 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33698 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33699
33700 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33701 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33702 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33703 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33704 echo $ECHO_N "(cached) $ECHO_C" >&6
33705 else
33706
33707 ac_ext=cpp
33708 ac_cpp='$CXXCPP $CPPFLAGS'
33709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33712
33713 cat >conftest.$ac_ext <<_ACEOF
33714 /* confdefs.h. */
33715 _ACEOF
33716 cat confdefs.h >>conftest.$ac_ext
33717 cat >>conftest.$ac_ext <<_ACEOF
33718 /* end confdefs.h. */
33719
33720 #pragma GCC visibility push(default)
33721 #include <string>
33722 #pragma GCC visibility pop
33723
33724 int
33725 main ()
33726 {
33727
33728 std::string s("hello");
33729 return s.length();
33730
33731 ;
33732 return 0;
33733 }
33734 _ACEOF
33735 rm -f conftest.$ac_objext conftest$ac_exeext
33736 if { (ac_try="$ac_link"
33737 case "(($ac_try" in
33738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33739 *) ac_try_echo=$ac_try;;
33740 esac
33741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33742 (eval "$ac_link") 2>conftest.er1
33743 ac_status=$?
33744 grep -v '^ *+' conftest.er1 >conftest.err
33745 rm -f conftest.er1
33746 cat conftest.err >&5
33747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33748 (exit $ac_status); } && {
33749 test -z "$ac_cxx_werror_flag" ||
33750 test ! -s conftest.err
33751 } && test -s conftest$ac_exeext &&
33752 $as_test_x conftest$ac_exeext; then
33753 wx_cv_cc_visibility_workaround=no
33754 else
33755 echo "$as_me: failed program was:" >&5
33756 sed 's/^/| /' conftest.$ac_ext >&5
33757
33758 wx_cv_cc_visibility_workaround=yes
33759 fi
33760
33761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33762 conftest$ac_exeext conftest.$ac_ext
33763 ac_ext=c
33764 ac_cpp='$CPP $CPPFLAGS'
33765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33768
33769
33770 fi
33771
33772 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33773 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33774
33775 if test $wx_cv_cc_visibility_workaround = no; then
33776 wx_cv_cc_visibility=no
33777 fi
33778 fi
33779 fi
33780
33781 if test $wx_cv_cc_visibility = yes; then
33782 cat >>confdefs.h <<\_ACEOF
33783 #define HAVE_VISIBILITY 1
33784 _ACEOF
33785
33786 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33787 cat >>confdefs.h <<\_ACEOF
33788 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33789 _ACEOF
33790
33791 fi
33792 else
33793 CFLAGS_VISIBILITY=""
33794 CXXFLAGS_VISIBILITY=""
33795 fi
33796
33797
33798 fi
33799
33800 fi
33801
33802 if test "x$SUNCXX" = xyes; then
33803 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33804 WXCONFIG_RPATH="-R\$libdir"
33805 else
33806 case "${host}" in
33807 *-*-linux* | *-*-gnu* )
33808 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33809 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33810 ;;
33811
33812 *-*-solaris2* )
33813
33814 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33815
33816 saveLdflags="$LDFLAGS"
33817 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33818 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33819 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33820 cat >conftest.$ac_ext <<_ACEOF
33821 /* confdefs.h. */
33822 _ACEOF
33823 cat confdefs.h >>conftest.$ac_ext
33824 cat >>conftest.$ac_ext <<_ACEOF
33825 /* end confdefs.h. */
33826
33827 int
33828 main ()
33829 {
33830
33831 ;
33832 return 0;
33833 }
33834 _ACEOF
33835 rm -f conftest.$ac_objext conftest$ac_exeext
33836 if { (ac_try="$ac_link"
33837 case "(($ac_try" in
33838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33839 *) ac_try_echo=$ac_try;;
33840 esac
33841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33842 (eval "$ac_link") 2>conftest.er1
33843 ac_status=$?
33844 grep -v '^ *+' conftest.er1 >conftest.err
33845 rm -f conftest.er1
33846 cat conftest.err >&5
33847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33848 (exit $ac_status); } && {
33849 test -z "$ac_c_werror_flag" ||
33850 test ! -s conftest.err
33851 } && test -s conftest$ac_exeext &&
33852 $as_test_x conftest$ac_exeext; then
33853
33854 { echo "$as_me:$LINENO: result: yes" >&5
33855 echo "${ECHO_T}yes" >&6; }
33856 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33857 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33858
33859 else
33860 echo "$as_me: failed program was:" >&5
33861 sed 's/^/| /' conftest.$ac_ext >&5
33862
33863
33864 { echo "$as_me:$LINENO: result: no" >&5
33865 echo "${ECHO_T}no" >&6; }
33866 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33867 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33868 LDFLAGS="$saveLdflags -Wl,-R,/"
33869 cat >conftest.$ac_ext <<_ACEOF
33870 /* confdefs.h. */
33871 _ACEOF
33872 cat confdefs.h >>conftest.$ac_ext
33873 cat >>conftest.$ac_ext <<_ACEOF
33874 /* end confdefs.h. */
33875
33876 int
33877 main ()
33878 {
33879
33880 ;
33881 return 0;
33882 }
33883 _ACEOF
33884 rm -f conftest.$ac_objext conftest$ac_exeext
33885 if { (ac_try="$ac_link"
33886 case "(($ac_try" in
33887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33888 *) ac_try_echo=$ac_try;;
33889 esac
33890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33891 (eval "$ac_link") 2>conftest.er1
33892 ac_status=$?
33893 grep -v '^ *+' conftest.er1 >conftest.err
33894 rm -f conftest.er1
33895 cat conftest.err >&5
33896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33897 (exit $ac_status); } && {
33898 test -z "$ac_c_werror_flag" ||
33899 test ! -s conftest.err
33900 } && test -s conftest$ac_exeext &&
33901 $as_test_x conftest$ac_exeext; then
33902
33903 { echo "$as_me:$LINENO: result: yes" >&5
33904 echo "${ECHO_T}yes" >&6; }
33905 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33906 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33907
33908 else
33909 echo "$as_me: failed program was:" >&5
33910 sed 's/^/| /' conftest.$ac_ext >&5
33911
33912
33913 { echo "$as_me:$LINENO: result: no" >&5
33914 echo "${ECHO_T}no" >&6; }
33915
33916 fi
33917
33918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33919 conftest$ac_exeext conftest.$ac_ext
33920
33921 fi
33922
33923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33924 conftest$ac_exeext conftest.$ac_ext
33925 LDFLAGS="$saveLdflags"
33926 ;;
33927
33928 *-*-darwin* )
33929 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
33930 if test "$install_name_tool" -a -x "$install_name_tool"; then
33931 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
33932 cat <<EOF >change-install-names
33933 #!/bin/sh
33934 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33935 for i in \${libnames} ; do
33936 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
33937 for dep in \${libnames} ; do
33938 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
33939 done
33940 done
33941 EOF
33942 chmod +x change-install-names
33943 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
33944 fi
33945
33946 HEADER_PAD_OPTION="-headerpad_max_install_names"
33947 ;;
33948
33949 *-*-cygwin* | *-*-mingw32* )
33950 ;;
33951
33952 *-*-hpux* )
33953 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33954 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33955 ;;
33956
33957 esac
33958 fi
33959
33960 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33961
33962 if test $wxUSE_RPATH = "no"; then
33963 SAMPLES_RPATH_FLAG=''
33964 DYLIB_PATH_POSTLINK=''
33965 WXCONFIG_RPATH=''
33966 fi
33967
33968 SHARED=1
33969
33970 else
33971
33972 config_linkage_component="-static"
33973 SHARED=0
33974
33975 fi
33976
33977
33978 UNICODE=0
33979 lib_unicode_suffix=
33980 WX_CHARTYPE="ansi"
33981 if test "$wxUSE_UNICODE" = "yes"; then
33982 lib_unicode_suffix=u
33983 WX_CHARTYPE="unicode"
33984 UNICODE=1
33985 fi
33986
33987 lib_debug_suffix=
33988 WX_DEBUGTYPE="release"
33989 DEBUG_FLAG=0
33990 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33991 lib_debug_suffix=d
33992 WX_DEBUGTYPE="debug"
33993 DEBUG_FLAG=1
33994 fi
33995
33996 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33997 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33998
33999 DEBUG_INFO=0
34000 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34001 DEBUG_INFO=1
34002 fi
34003
34004 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
34005
34006 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
34007
34008 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34009
34010
34011 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
34012 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34013 else
34014 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34015 fi
34016 if test "${TOOLKIT_DIR}" = "os2"; then
34017 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34018 else
34019 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34020 fi
34021
34022
34023
34024 if test "$wxUSE_COCOA" = 1; then
34025
34026 ac_ext=c
34027 ac_cpp='$CPP $CPPFLAGS'
34028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34031
34032 ac_ext=m
34033
34034 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34035 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34036 cat >conftest.$ac_ext <<_ACEOF
34037 /* confdefs.h. */
34038 _ACEOF
34039 cat confdefs.h >>conftest.$ac_ext
34040 cat >>conftest.$ac_ext <<_ACEOF
34041 /* end confdefs.h. */
34042 #include <AppKit/NSEvent.h>
34043 #include <CoreFoundation/CoreFoundation.h>
34044
34045 int
34046 main ()
34047 {
34048
34049 ;
34050 return 0;
34051 }
34052 _ACEOF
34053 rm -f conftest.$ac_objext
34054 if { (ac_try="$ac_compile"
34055 case "(($ac_try" in
34056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34057 *) ac_try_echo=$ac_try;;
34058 esac
34059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34060 (eval "$ac_compile") 2>conftest.er1
34061 ac_status=$?
34062 grep -v '^ *+' conftest.er1 >conftest.err
34063 rm -f conftest.er1
34064 cat conftest.err >&5
34065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34066 (exit $ac_status); } && {
34067 test -z "$ac_c_werror_flag" ||
34068 test ! -s conftest.err
34069 } && test -s conftest.$ac_objext; then
34070 { echo "$as_me:$LINENO: result: no" >&5
34071 echo "${ECHO_T}no" >&6; }
34072 else
34073 echo "$as_me: failed program was:" >&5
34074 sed 's/^/| /' conftest.$ac_ext >&5
34075
34076 { echo "$as_me:$LINENO: result: yes" >&5
34077 echo "${ECHO_T}yes" >&6; }
34078 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34079 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34080 cat >conftest.$ac_ext <<_ACEOF
34081 /* confdefs.h. */
34082 _ACEOF
34083 cat confdefs.h >>conftest.$ac_ext
34084 cat >>conftest.$ac_ext <<_ACEOF
34085 /* end confdefs.h. */
34086 #define __Point__ 1
34087 #include <AppKit/NSEvent.h>
34088 #include <CoreFoundation/CoreFoundation.h>
34089
34090 int
34091 main ()
34092 {
34093
34094 ;
34095 return 0;
34096 }
34097 _ACEOF
34098 rm -f conftest.$ac_objext
34099 if { (ac_try="$ac_compile"
34100 case "(($ac_try" in
34101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34102 *) ac_try_echo=$ac_try;;
34103 esac
34104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34105 (eval "$ac_compile") 2>conftest.er1
34106 ac_status=$?
34107 grep -v '^ *+' conftest.er1 >conftest.err
34108 rm -f conftest.er1
34109 cat conftest.err >&5
34110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34111 (exit $ac_status); } && {
34112 test -z "$ac_c_werror_flag" ||
34113 test ! -s conftest.err
34114 } && test -s conftest.$ac_objext; then
34115 { echo "$as_me:$LINENO: result: yes" >&5
34116 echo "${ECHO_T}yes" >&6; }
34117 cat >>confdefs.h <<\_ACEOF
34118 #define __Point__ 1
34119 _ACEOF
34120
34121
34122 else
34123 echo "$as_me: failed program was:" >&5
34124 sed 's/^/| /' conftest.$ac_ext >&5
34125
34126 { { echo "$as_me:$LINENO: error: no
34127 See \`config.log' for more details." >&5
34128 echo "$as_me: error: no
34129 See \`config.log' for more details." >&2;}
34130 { (exit 1); exit 1; }; }
34131
34132 fi
34133
34134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34135
34136 fi
34137
34138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34139 ac_ext=c
34140 ac_cpp='$CPP $CPPFLAGS'
34141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34144
34145 fi
34146
34147
34148 { echo "$as_me:$LINENO: checking for mode_t" >&5
34149 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34150 if test "${ac_cv_type_mode_t+set}" = set; then
34151 echo $ECHO_N "(cached) $ECHO_C" >&6
34152 else
34153 cat >conftest.$ac_ext <<_ACEOF
34154 /* confdefs.h. */
34155 _ACEOF
34156 cat confdefs.h >>conftest.$ac_ext
34157 cat >>conftest.$ac_ext <<_ACEOF
34158 /* end confdefs.h. */
34159 $ac_includes_default
34160 typedef mode_t ac__type_new_;
34161 int
34162 main ()
34163 {
34164 if ((ac__type_new_ *) 0)
34165 return 0;
34166 if (sizeof (ac__type_new_))
34167 return 0;
34168 ;
34169 return 0;
34170 }
34171 _ACEOF
34172 rm -f conftest.$ac_objext
34173 if { (ac_try="$ac_compile"
34174 case "(($ac_try" in
34175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34176 *) ac_try_echo=$ac_try;;
34177 esac
34178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34179 (eval "$ac_compile") 2>conftest.er1
34180 ac_status=$?
34181 grep -v '^ *+' conftest.er1 >conftest.err
34182 rm -f conftest.er1
34183 cat conftest.err >&5
34184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34185 (exit $ac_status); } && {
34186 test -z "$ac_c_werror_flag" ||
34187 test ! -s conftest.err
34188 } && test -s conftest.$ac_objext; then
34189 ac_cv_type_mode_t=yes
34190 else
34191 echo "$as_me: failed program was:" >&5
34192 sed 's/^/| /' conftest.$ac_ext >&5
34193
34194 ac_cv_type_mode_t=no
34195 fi
34196
34197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34198 fi
34199 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34200 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34201 if test $ac_cv_type_mode_t = yes; then
34202 :
34203 else
34204
34205 cat >>confdefs.h <<_ACEOF
34206 #define mode_t int
34207 _ACEOF
34208
34209 fi
34210
34211 { echo "$as_me:$LINENO: checking for off_t" >&5
34212 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34213 if test "${ac_cv_type_off_t+set}" = set; then
34214 echo $ECHO_N "(cached) $ECHO_C" >&6
34215 else
34216 cat >conftest.$ac_ext <<_ACEOF
34217 /* confdefs.h. */
34218 _ACEOF
34219 cat confdefs.h >>conftest.$ac_ext
34220 cat >>conftest.$ac_ext <<_ACEOF
34221 /* end confdefs.h. */
34222 $ac_includes_default
34223 typedef off_t ac__type_new_;
34224 int
34225 main ()
34226 {
34227 if ((ac__type_new_ *) 0)
34228 return 0;
34229 if (sizeof (ac__type_new_))
34230 return 0;
34231 ;
34232 return 0;
34233 }
34234 _ACEOF
34235 rm -f conftest.$ac_objext
34236 if { (ac_try="$ac_compile"
34237 case "(($ac_try" in
34238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34239 *) ac_try_echo=$ac_try;;
34240 esac
34241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34242 (eval "$ac_compile") 2>conftest.er1
34243 ac_status=$?
34244 grep -v '^ *+' conftest.er1 >conftest.err
34245 rm -f conftest.er1
34246 cat conftest.err >&5
34247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34248 (exit $ac_status); } && {
34249 test -z "$ac_c_werror_flag" ||
34250 test ! -s conftest.err
34251 } && test -s conftest.$ac_objext; then
34252 ac_cv_type_off_t=yes
34253 else
34254 echo "$as_me: failed program was:" >&5
34255 sed 's/^/| /' conftest.$ac_ext >&5
34256
34257 ac_cv_type_off_t=no
34258 fi
34259
34260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34261 fi
34262 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34263 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34264 if test $ac_cv_type_off_t = yes; then
34265 :
34266 else
34267
34268 cat >>confdefs.h <<_ACEOF
34269 #define off_t long int
34270 _ACEOF
34271
34272 fi
34273
34274 { echo "$as_me:$LINENO: checking for pid_t" >&5
34275 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34276 if test "${ac_cv_type_pid_t+set}" = set; then
34277 echo $ECHO_N "(cached) $ECHO_C" >&6
34278 else
34279 cat >conftest.$ac_ext <<_ACEOF
34280 /* confdefs.h. */
34281 _ACEOF
34282 cat confdefs.h >>conftest.$ac_ext
34283 cat >>conftest.$ac_ext <<_ACEOF
34284 /* end confdefs.h. */
34285 $ac_includes_default
34286 typedef pid_t ac__type_new_;
34287 int
34288 main ()
34289 {
34290 if ((ac__type_new_ *) 0)
34291 return 0;
34292 if (sizeof (ac__type_new_))
34293 return 0;
34294 ;
34295 return 0;
34296 }
34297 _ACEOF
34298 rm -f conftest.$ac_objext
34299 if { (ac_try="$ac_compile"
34300 case "(($ac_try" in
34301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34302 *) ac_try_echo=$ac_try;;
34303 esac
34304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34305 (eval "$ac_compile") 2>conftest.er1
34306 ac_status=$?
34307 grep -v '^ *+' conftest.er1 >conftest.err
34308 rm -f conftest.er1
34309 cat conftest.err >&5
34310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34311 (exit $ac_status); } && {
34312 test -z "$ac_c_werror_flag" ||
34313 test ! -s conftest.err
34314 } && test -s conftest.$ac_objext; then
34315 ac_cv_type_pid_t=yes
34316 else
34317 echo "$as_me: failed program was:" >&5
34318 sed 's/^/| /' conftest.$ac_ext >&5
34319
34320 ac_cv_type_pid_t=no
34321 fi
34322
34323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34324 fi
34325 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34326 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34327 if test $ac_cv_type_pid_t = yes; then
34328 :
34329 else
34330
34331 cat >>confdefs.h <<_ACEOF
34332 #define pid_t int
34333 _ACEOF
34334
34335 fi
34336
34337 { echo "$as_me:$LINENO: checking for size_t" >&5
34338 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34339 if test "${ac_cv_type_size_t+set}" = set; then
34340 echo $ECHO_N "(cached) $ECHO_C" >&6
34341 else
34342 cat >conftest.$ac_ext <<_ACEOF
34343 /* confdefs.h. */
34344 _ACEOF
34345 cat confdefs.h >>conftest.$ac_ext
34346 cat >>conftest.$ac_ext <<_ACEOF
34347 /* end confdefs.h. */
34348 $ac_includes_default
34349 typedef size_t ac__type_new_;
34350 int
34351 main ()
34352 {
34353 if ((ac__type_new_ *) 0)
34354 return 0;
34355 if (sizeof (ac__type_new_))
34356 return 0;
34357 ;
34358 return 0;
34359 }
34360 _ACEOF
34361 rm -f conftest.$ac_objext
34362 if { (ac_try="$ac_compile"
34363 case "(($ac_try" in
34364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34365 *) ac_try_echo=$ac_try;;
34366 esac
34367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34368 (eval "$ac_compile") 2>conftest.er1
34369 ac_status=$?
34370 grep -v '^ *+' conftest.er1 >conftest.err
34371 rm -f conftest.er1
34372 cat conftest.err >&5
34373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34374 (exit $ac_status); } && {
34375 test -z "$ac_c_werror_flag" ||
34376 test ! -s conftest.err
34377 } && test -s conftest.$ac_objext; then
34378 ac_cv_type_size_t=yes
34379 else
34380 echo "$as_me: failed program was:" >&5
34381 sed 's/^/| /' conftest.$ac_ext >&5
34382
34383 ac_cv_type_size_t=no
34384 fi
34385
34386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34387 fi
34388 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34389 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34390 if test $ac_cv_type_size_t = yes; then
34391 :
34392 else
34393
34394 cat >>confdefs.h <<_ACEOF
34395 #define size_t unsigned int
34396 _ACEOF
34397
34398 fi
34399
34400
34401 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34402 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34403 if test "${ac_cv_type_ssize_t+set}" = set; then
34404 echo $ECHO_N "(cached) $ECHO_C" >&6
34405 else
34406 cat >conftest.$ac_ext <<_ACEOF
34407 /* confdefs.h. */
34408 _ACEOF
34409 cat confdefs.h >>conftest.$ac_ext
34410 cat >>conftest.$ac_ext <<_ACEOF
34411 /* end confdefs.h. */
34412 $ac_includes_default
34413 typedef ssize_t ac__type_new_;
34414 int
34415 main ()
34416 {
34417 if ((ac__type_new_ *) 0)
34418 return 0;
34419 if (sizeof (ac__type_new_))
34420 return 0;
34421 ;
34422 return 0;
34423 }
34424 _ACEOF
34425 rm -f conftest.$ac_objext
34426 if { (ac_try="$ac_compile"
34427 case "(($ac_try" in
34428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34429 *) ac_try_echo=$ac_try;;
34430 esac
34431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34432 (eval "$ac_compile") 2>conftest.er1
34433 ac_status=$?
34434 grep -v '^ *+' conftest.er1 >conftest.err
34435 rm -f conftest.er1
34436 cat conftest.err >&5
34437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34438 (exit $ac_status); } && {
34439 test -z "$ac_c_werror_flag" ||
34440 test ! -s conftest.err
34441 } && test -s conftest.$ac_objext; then
34442 ac_cv_type_ssize_t=yes
34443 else
34444 echo "$as_me: failed program was:" >&5
34445 sed 's/^/| /' conftest.$ac_ext >&5
34446
34447 ac_cv_type_ssize_t=no
34448 fi
34449
34450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34451 fi
34452 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34453 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34454 if test $ac_cv_type_ssize_t = yes; then
34455
34456 cat >>confdefs.h <<_ACEOF
34457 #define HAVE_SSIZE_T 1
34458 _ACEOF
34459
34460
34461 fi
34462
34463
34464 ac_ext=cpp
34465 ac_cpp='$CXXCPP $CPPFLAGS'
34466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34469 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34470 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34471 if test "${wx_cv_size_t_is_uint+set}" = set; then
34472 echo $ECHO_N "(cached) $ECHO_C" >&6
34473 else
34474
34475 cat >conftest.$ac_ext <<_ACEOF
34476 /* confdefs.h. */
34477 _ACEOF
34478 cat confdefs.h >>conftest.$ac_ext
34479 cat >>conftest.$ac_ext <<_ACEOF
34480 /* end confdefs.h. */
34481 #include <stddef.h>
34482 int
34483 main ()
34484 {
34485
34486 return 0; }
34487
34488 struct Foo { void foo(size_t); void foo(unsigned int); };
34489
34490 int bar() {
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_cxx_werror_flag" ||
34511 test ! -s conftest.err
34512 } && test -s conftest.$ac_objext; then
34513 wx_cv_size_t_is_uint=no
34514 else
34515 echo "$as_me: failed program was:" >&5
34516 sed 's/^/| /' conftest.$ac_ext >&5
34517
34518 wx_cv_size_t_is_uint=yes
34519
34520 fi
34521
34522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34523
34524
34525 fi
34526 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34527 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34528
34529 if test "$wx_cv_size_t_is_uint" = "yes"; then
34530 cat >>confdefs.h <<\_ACEOF
34531 #define wxSIZE_T_IS_UINT 1
34532 _ACEOF
34533
34534 else
34535 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34536 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34537 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34538 echo $ECHO_N "(cached) $ECHO_C" >&6
34539 else
34540 cat >conftest.$ac_ext <<_ACEOF
34541 /* confdefs.h. */
34542 _ACEOF
34543 cat confdefs.h >>conftest.$ac_ext
34544 cat >>conftest.$ac_ext <<_ACEOF
34545 /* end confdefs.h. */
34546 #include <stddef.h>
34547 int
34548 main ()
34549 {
34550
34551 return 0; }
34552
34553 struct Foo { void foo(size_t); void foo(unsigned long); };
34554
34555 int bar() {
34556
34557 ;
34558 return 0;
34559 }
34560 _ACEOF
34561 rm -f conftest.$ac_objext
34562 if { (ac_try="$ac_compile"
34563 case "(($ac_try" in
34564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34565 *) ac_try_echo=$ac_try;;
34566 esac
34567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34568 (eval "$ac_compile") 2>conftest.er1
34569 ac_status=$?
34570 grep -v '^ *+' conftest.er1 >conftest.err
34571 rm -f conftest.er1
34572 cat conftest.err >&5
34573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34574 (exit $ac_status); } && {
34575 test -z "$ac_cxx_werror_flag" ||
34576 test ! -s conftest.err
34577 } && test -s conftest.$ac_objext; then
34578 wx_cv_size_t_is_ulong=no
34579 else
34580 echo "$as_me: failed program was:" >&5
34581 sed 's/^/| /' conftest.$ac_ext >&5
34582
34583 wx_cv_size_t_is_ulong=yes
34584
34585 fi
34586
34587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34588
34589 fi
34590 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34591 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34592
34593 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34594 cat >>confdefs.h <<\_ACEOF
34595 #define wxSIZE_T_IS_ULONG 1
34596 _ACEOF
34597
34598 fi
34599 fi
34600
34601 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34602 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34603 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34604 echo $ECHO_N "(cached) $ECHO_C" >&6
34605 else
34606 cat >conftest.$ac_ext <<_ACEOF
34607 /* confdefs.h. */
34608 _ACEOF
34609 cat confdefs.h >>conftest.$ac_ext
34610 cat >>conftest.$ac_ext <<_ACEOF
34611 /* end confdefs.h. */
34612 #include <wchar.h>
34613 int
34614 main ()
34615 {
34616
34617 return 0; }
34618
34619 struct Foo { void foo(wchar_t);
34620 void foo(unsigned short);
34621 void foo(unsigned int);
34622 void foo(unsigned long); };
34623
34624 int bar() {
34625
34626 ;
34627 return 0;
34628 }
34629 _ACEOF
34630 rm -f conftest.$ac_objext
34631 if { (ac_try="$ac_compile"
34632 case "(($ac_try" in
34633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34634 *) ac_try_echo=$ac_try;;
34635 esac
34636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34637 (eval "$ac_compile") 2>conftest.er1
34638 ac_status=$?
34639 grep -v '^ *+' conftest.er1 >conftest.err
34640 rm -f conftest.er1
34641 cat conftest.err >&5
34642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34643 (exit $ac_status); } && {
34644 test -z "$ac_cxx_werror_flag" ||
34645 test ! -s conftest.err
34646 } && test -s conftest.$ac_objext; then
34647 wx_cv_wchar_t_is_separate_type=yes
34648 else
34649 echo "$as_me: failed program was:" >&5
34650 sed 's/^/| /' conftest.$ac_ext >&5
34651
34652 wx_cv_wchar_t_is_separate_type=no
34653
34654 fi
34655
34656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34657
34658 fi
34659 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34660 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34661
34662 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34663 cat >>confdefs.h <<\_ACEOF
34664 #define wxWCHAR_T_IS_REAL_TYPE 1
34665 _ACEOF
34666
34667 else
34668 cat >>confdefs.h <<\_ACEOF
34669 #define wxWCHAR_T_IS_REAL_TYPE 0
34670 _ACEOF
34671
34672 fi
34673
34674 ac_ext=c
34675 ac_cpp='$CPP $CPPFLAGS'
34676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34679
34680
34681 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34682 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34683 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34684 echo $ECHO_N "(cached) $ECHO_C" >&6
34685 else
34686
34687 cat >conftest.$ac_ext <<_ACEOF
34688 /* confdefs.h. */
34689 _ACEOF
34690 cat confdefs.h >>conftest.$ac_ext
34691 cat >>conftest.$ac_ext <<_ACEOF
34692 /* end confdefs.h. */
34693 #include <pwd.h>
34694 int
34695 main ()
34696 {
34697
34698 char *p;
34699 struct passwd *pw;
34700 p = pw->pw_gecos;
34701
34702 ;
34703 return 0;
34704 }
34705 _ACEOF
34706 rm -f conftest.$ac_objext
34707 if { (ac_try="$ac_compile"
34708 case "(($ac_try" in
34709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34710 *) ac_try_echo=$ac_try;;
34711 esac
34712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34713 (eval "$ac_compile") 2>conftest.er1
34714 ac_status=$?
34715 grep -v '^ *+' conftest.er1 >conftest.err
34716 rm -f conftest.er1
34717 cat conftest.err >&5
34718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34719 (exit $ac_status); } && {
34720 test -z "$ac_c_werror_flag" ||
34721 test ! -s conftest.err
34722 } && test -s conftest.$ac_objext; then
34723
34724 wx_cv_struct_pw_gecos=yes
34725
34726 else
34727 echo "$as_me: failed program was:" >&5
34728 sed 's/^/| /' conftest.$ac_ext >&5
34729
34730
34731 wx_cv_struct_pw_gecos=no
34732
34733
34734 fi
34735
34736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34737
34738
34739 fi
34740 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34741 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34742
34743 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34744 cat >>confdefs.h <<\_ACEOF
34745 #define HAVE_PW_GECOS 1
34746 _ACEOF
34747
34748 fi
34749
34750
34751 if test "$wxUSE_WCHAR_T" = "yes"; then
34752 cat >>confdefs.h <<\_ACEOF
34753 #define wxUSE_WCHAR_T 1
34754 _ACEOF
34755
34756
34757 WCSLEN_FOUND=0
34758 WCHAR_LINK=
34759
34760 for ac_func in wcslen
34761 do
34762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34763 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34765 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34766 echo $ECHO_N "(cached) $ECHO_C" >&6
34767 else
34768 cat >conftest.$ac_ext <<_ACEOF
34769 /* confdefs.h. */
34770 _ACEOF
34771 cat confdefs.h >>conftest.$ac_ext
34772 cat >>conftest.$ac_ext <<_ACEOF
34773 /* end confdefs.h. */
34774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34776 #define $ac_func innocuous_$ac_func
34777
34778 /* System header to define __stub macros and hopefully few prototypes,
34779 which can conflict with char $ac_func (); below.
34780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34781 <limits.h> exists even on freestanding compilers. */
34782
34783 #ifdef __STDC__
34784 # include <limits.h>
34785 #else
34786 # include <assert.h>
34787 #endif
34788
34789 #undef $ac_func
34790
34791 /* Override any GCC internal prototype to avoid an error.
34792 Use char because int might match the return type of a GCC
34793 builtin and then its argument prototype would still apply. */
34794 #ifdef __cplusplus
34795 extern "C"
34796 #endif
34797 char $ac_func ();
34798 /* The GNU C library defines this for functions which it implements
34799 to always fail with ENOSYS. Some functions are actually named
34800 something starting with __ and the normal name is an alias. */
34801 #if defined __stub_$ac_func || defined __stub___$ac_func
34802 choke me
34803 #endif
34804
34805 int
34806 main ()
34807 {
34808 return $ac_func ();
34809 ;
34810 return 0;
34811 }
34812 _ACEOF
34813 rm -f conftest.$ac_objext conftest$ac_exeext
34814 if { (ac_try="$ac_link"
34815 case "(($ac_try" in
34816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34817 *) ac_try_echo=$ac_try;;
34818 esac
34819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34820 (eval "$ac_link") 2>conftest.er1
34821 ac_status=$?
34822 grep -v '^ *+' conftest.er1 >conftest.err
34823 rm -f conftest.er1
34824 cat conftest.err >&5
34825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34826 (exit $ac_status); } && {
34827 test -z "$ac_c_werror_flag" ||
34828 test ! -s conftest.err
34829 } && test -s conftest$ac_exeext &&
34830 $as_test_x conftest$ac_exeext; then
34831 eval "$as_ac_var=yes"
34832 else
34833 echo "$as_me: failed program was:" >&5
34834 sed 's/^/| /' conftest.$ac_ext >&5
34835
34836 eval "$as_ac_var=no"
34837 fi
34838
34839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34840 conftest$ac_exeext conftest.$ac_ext
34841 fi
34842 ac_res=`eval echo '${'$as_ac_var'}'`
34843 { echo "$as_me:$LINENO: result: $ac_res" >&5
34844 echo "${ECHO_T}$ac_res" >&6; }
34845 if test `eval echo '${'$as_ac_var'}'` = yes; then
34846 cat >>confdefs.h <<_ACEOF
34847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34848 _ACEOF
34849 WCSLEN_FOUND=1
34850 fi
34851 done
34852
34853
34854 if test "$WCSLEN_FOUND" = 0; then
34855 if test "$TOOLKIT" = "MSW"; then
34856 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34857 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34858 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34859 echo $ECHO_N "(cached) $ECHO_C" >&6
34860 else
34861 ac_check_lib_save_LIBS=$LIBS
34862 LIBS="-lmsvcrt $LIBS"
34863 cat >conftest.$ac_ext <<_ACEOF
34864 /* confdefs.h. */
34865 _ACEOF
34866 cat confdefs.h >>conftest.$ac_ext
34867 cat >>conftest.$ac_ext <<_ACEOF
34868 /* end confdefs.h. */
34869
34870 /* Override any GCC internal prototype to avoid an error.
34871 Use char because int might match the return type of a GCC
34872 builtin and then its argument prototype would still apply. */
34873 #ifdef __cplusplus
34874 extern "C"
34875 #endif
34876 char wcslen ();
34877 int
34878 main ()
34879 {
34880 return wcslen ();
34881 ;
34882 return 0;
34883 }
34884 _ACEOF
34885 rm -f conftest.$ac_objext conftest$ac_exeext
34886 if { (ac_try="$ac_link"
34887 case "(($ac_try" in
34888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34889 *) ac_try_echo=$ac_try;;
34890 esac
34891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34892 (eval "$ac_link") 2>conftest.er1
34893 ac_status=$?
34894 grep -v '^ *+' conftest.er1 >conftest.err
34895 rm -f conftest.er1
34896 cat conftest.err >&5
34897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34898 (exit $ac_status); } && {
34899 test -z "$ac_c_werror_flag" ||
34900 test ! -s conftest.err
34901 } && test -s conftest$ac_exeext &&
34902 $as_test_x conftest$ac_exeext; then
34903 ac_cv_lib_msvcrt_wcslen=yes
34904 else
34905 echo "$as_me: failed program was:" >&5
34906 sed 's/^/| /' conftest.$ac_ext >&5
34907
34908 ac_cv_lib_msvcrt_wcslen=no
34909 fi
34910
34911 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34912 conftest$ac_exeext conftest.$ac_ext
34913 LIBS=$ac_check_lib_save_LIBS
34914 fi
34915 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34916 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34917 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34918 WCHAR_OK=1
34919 fi
34920
34921 else
34922 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34923 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34924 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34925 echo $ECHO_N "(cached) $ECHO_C" >&6
34926 else
34927 ac_check_lib_save_LIBS=$LIBS
34928 LIBS="-lw $LIBS"
34929 cat >conftest.$ac_ext <<_ACEOF
34930 /* confdefs.h. */
34931 _ACEOF
34932 cat confdefs.h >>conftest.$ac_ext
34933 cat >>conftest.$ac_ext <<_ACEOF
34934 /* end confdefs.h. */
34935
34936 /* Override any GCC internal prototype to avoid an error.
34937 Use char because int might match the return type of a GCC
34938 builtin and then its argument prototype would still apply. */
34939 #ifdef __cplusplus
34940 extern "C"
34941 #endif
34942 char wcslen ();
34943 int
34944 main ()
34945 {
34946 return wcslen ();
34947 ;
34948 return 0;
34949 }
34950 _ACEOF
34951 rm -f conftest.$ac_objext conftest$ac_exeext
34952 if { (ac_try="$ac_link"
34953 case "(($ac_try" in
34954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34955 *) ac_try_echo=$ac_try;;
34956 esac
34957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34958 (eval "$ac_link") 2>conftest.er1
34959 ac_status=$?
34960 grep -v '^ *+' conftest.er1 >conftest.err
34961 rm -f conftest.er1
34962 cat conftest.err >&5
34963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34964 (exit $ac_status); } && {
34965 test -z "$ac_c_werror_flag" ||
34966 test ! -s conftest.err
34967 } && test -s conftest$ac_exeext &&
34968 $as_test_x conftest$ac_exeext; then
34969 ac_cv_lib_w_wcslen=yes
34970 else
34971 echo "$as_me: failed program was:" >&5
34972 sed 's/^/| /' conftest.$ac_ext >&5
34973
34974 ac_cv_lib_w_wcslen=no
34975 fi
34976
34977 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34978 conftest$ac_exeext conftest.$ac_ext
34979 LIBS=$ac_check_lib_save_LIBS
34980 fi
34981 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34982 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34983 if test $ac_cv_lib_w_wcslen = yes; then
34984
34985 WCHAR_LINK=" -lw"
34986 WCSLEN_FOUND=1
34987
34988 fi
34989
34990 fi
34991 fi
34992
34993 if test "$WCSLEN_FOUND" = 1; then
34994 cat >>confdefs.h <<\_ACEOF
34995 #define HAVE_WCSLEN 1
34996 _ACEOF
34997
34998 fi
34999
35000
35001
35002
35003
35004
35005 for ac_func in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
35006 do
35007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35008 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35010 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35011 echo $ECHO_N "(cached) $ECHO_C" >&6
35012 else
35013 cat >conftest.$ac_ext <<_ACEOF
35014 /* confdefs.h. */
35015 _ACEOF
35016 cat confdefs.h >>conftest.$ac_ext
35017 cat >>conftest.$ac_ext <<_ACEOF
35018 /* end confdefs.h. */
35019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35021 #define $ac_func innocuous_$ac_func
35022
35023 /* System header to define __stub macros and hopefully few prototypes,
35024 which can conflict with char $ac_func (); below.
35025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35026 <limits.h> exists even on freestanding compilers. */
35027
35028 #ifdef __STDC__
35029 # include <limits.h>
35030 #else
35031 # include <assert.h>
35032 #endif
35033
35034 #undef $ac_func
35035
35036 /* Override any GCC internal prototype to avoid an error.
35037 Use char because int might match the return type of a GCC
35038 builtin and then its argument prototype would still apply. */
35039 #ifdef __cplusplus
35040 extern "C"
35041 #endif
35042 char $ac_func ();
35043 /* The GNU C library defines this for functions which it implements
35044 to always fail with ENOSYS. Some functions are actually named
35045 something starting with __ and the normal name is an alias. */
35046 #if defined __stub_$ac_func || defined __stub___$ac_func
35047 choke me
35048 #endif
35049
35050 int
35051 main ()
35052 {
35053 return $ac_func ();
35054 ;
35055 return 0;
35056 }
35057 _ACEOF
35058 rm -f conftest.$ac_objext conftest$ac_exeext
35059 if { (ac_try="$ac_link"
35060 case "(($ac_try" in
35061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35062 *) ac_try_echo=$ac_try;;
35063 esac
35064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35065 (eval "$ac_link") 2>conftest.er1
35066 ac_status=$?
35067 grep -v '^ *+' conftest.er1 >conftest.err
35068 rm -f conftest.er1
35069 cat conftest.err >&5
35070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35071 (exit $ac_status); } && {
35072 test -z "$ac_c_werror_flag" ||
35073 test ! -s conftest.err
35074 } && test -s conftest$ac_exeext &&
35075 $as_test_x conftest$ac_exeext; then
35076 eval "$as_ac_var=yes"
35077 else
35078 echo "$as_me: failed program was:" >&5
35079 sed 's/^/| /' conftest.$ac_ext >&5
35080
35081 eval "$as_ac_var=no"
35082 fi
35083
35084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35085 conftest$ac_exeext conftest.$ac_ext
35086 fi
35087 ac_res=`eval echo '${'$as_ac_var'}'`
35088 { echo "$as_me:$LINENO: result: $ac_res" >&5
35089 echo "${ECHO_T}$ac_res" >&6; }
35090 if test `eval echo '${'$as_ac_var'}'` = yes; then
35091 cat >>confdefs.h <<_ACEOF
35092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35093 _ACEOF
35094
35095 fi
35096 done
35097
35098
35099 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35100 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35101 fi
35102
35103 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35104 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35105 if test "${ac_cv_type_mbstate_t+set}" = set; then
35106 echo $ECHO_N "(cached) $ECHO_C" >&6
35107 else
35108 cat >conftest.$ac_ext <<_ACEOF
35109 /* confdefs.h. */
35110 _ACEOF
35111 cat confdefs.h >>conftest.$ac_ext
35112 cat >>conftest.$ac_ext <<_ACEOF
35113 /* end confdefs.h. */
35114 #include <wchar.h>
35115
35116 typedef mbstate_t ac__type_new_;
35117 int
35118 main ()
35119 {
35120 if ((ac__type_new_ *) 0)
35121 return 0;
35122 if (sizeof (ac__type_new_))
35123 return 0;
35124 ;
35125 return 0;
35126 }
35127 _ACEOF
35128 rm -f conftest.$ac_objext
35129 if { (ac_try="$ac_compile"
35130 case "(($ac_try" in
35131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35132 *) ac_try_echo=$ac_try;;
35133 esac
35134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35135 (eval "$ac_compile") 2>conftest.er1
35136 ac_status=$?
35137 grep -v '^ *+' conftest.er1 >conftest.err
35138 rm -f conftest.er1
35139 cat conftest.err >&5
35140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35141 (exit $ac_status); } && {
35142 test -z "$ac_c_werror_flag" ||
35143 test ! -s conftest.err
35144 } && test -s conftest.$ac_objext; then
35145 ac_cv_type_mbstate_t=yes
35146 else
35147 echo "$as_me: failed program was:" >&5
35148 sed 's/^/| /' conftest.$ac_ext >&5
35149
35150 ac_cv_type_mbstate_t=no
35151 fi
35152
35153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35154 fi
35155 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35156 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35157 if test $ac_cv_type_mbstate_t = yes; then
35158
35159 cat >>confdefs.h <<_ACEOF
35160 #define HAVE_MBSTATE_T 1
35161 _ACEOF
35162
35163
35164 for ac_func in wcsrtombs
35165 do
35166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35167 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35169 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35170 echo $ECHO_N "(cached) $ECHO_C" >&6
35171 else
35172 cat >conftest.$ac_ext <<_ACEOF
35173 /* confdefs.h. */
35174 _ACEOF
35175 cat confdefs.h >>conftest.$ac_ext
35176 cat >>conftest.$ac_ext <<_ACEOF
35177 /* end confdefs.h. */
35178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35180 #define $ac_func innocuous_$ac_func
35181
35182 /* System header to define __stub macros and hopefully few prototypes,
35183 which can conflict with char $ac_func (); below.
35184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35185 <limits.h> exists even on freestanding compilers. */
35186
35187 #ifdef __STDC__
35188 # include <limits.h>
35189 #else
35190 # include <assert.h>
35191 #endif
35192
35193 #undef $ac_func
35194
35195 /* Override any GCC internal prototype to avoid an error.
35196 Use char because int might match the return type of a GCC
35197 builtin and then its argument prototype would still apply. */
35198 #ifdef __cplusplus
35199 extern "C"
35200 #endif
35201 char $ac_func ();
35202 /* The GNU C library defines this for functions which it implements
35203 to always fail with ENOSYS. Some functions are actually named
35204 something starting with __ and the normal name is an alias. */
35205 #if defined __stub_$ac_func || defined __stub___$ac_func
35206 choke me
35207 #endif
35208
35209 int
35210 main ()
35211 {
35212 return $ac_func ();
35213 ;
35214 return 0;
35215 }
35216 _ACEOF
35217 rm -f conftest.$ac_objext conftest$ac_exeext
35218 if { (ac_try="$ac_link"
35219 case "(($ac_try" in
35220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35221 *) ac_try_echo=$ac_try;;
35222 esac
35223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35224 (eval "$ac_link") 2>conftest.er1
35225 ac_status=$?
35226 grep -v '^ *+' conftest.er1 >conftest.err
35227 rm -f conftest.er1
35228 cat conftest.err >&5
35229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35230 (exit $ac_status); } && {
35231 test -z "$ac_c_werror_flag" ||
35232 test ! -s conftest.err
35233 } && test -s conftest$ac_exeext &&
35234 $as_test_x conftest$ac_exeext; then
35235 eval "$as_ac_var=yes"
35236 else
35237 echo "$as_me: failed program was:" >&5
35238 sed 's/^/| /' conftest.$ac_ext >&5
35239
35240 eval "$as_ac_var=no"
35241 fi
35242
35243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35244 conftest$ac_exeext conftest.$ac_ext
35245 fi
35246 ac_res=`eval echo '${'$as_ac_var'}'`
35247 { echo "$as_me:$LINENO: result: $ac_res" >&5
35248 echo "${ECHO_T}$ac_res" >&6; }
35249 if test `eval echo '${'$as_ac_var'}'` = yes; then
35250 cat >>confdefs.h <<_ACEOF
35251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35252 _ACEOF
35253
35254 fi
35255 done
35256
35257 fi
35258
35259 else
35260 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35261 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35262 fi
35263
35264
35265
35266
35267 for ac_func in snprintf vsnprintf vsscanf
35268 do
35269 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35270 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35272 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35273 echo $ECHO_N "(cached) $ECHO_C" >&6
35274 else
35275 cat >conftest.$ac_ext <<_ACEOF
35276 /* confdefs.h. */
35277 _ACEOF
35278 cat confdefs.h >>conftest.$ac_ext
35279 cat >>conftest.$ac_ext <<_ACEOF
35280 /* end confdefs.h. */
35281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35283 #define $ac_func innocuous_$ac_func
35284
35285 /* System header to define __stub macros and hopefully few prototypes,
35286 which can conflict with char $ac_func (); below.
35287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35288 <limits.h> exists even on freestanding compilers. */
35289
35290 #ifdef __STDC__
35291 # include <limits.h>
35292 #else
35293 # include <assert.h>
35294 #endif
35295
35296 #undef $ac_func
35297
35298 /* Override any GCC internal prototype to avoid an error.
35299 Use char because int might match the return type of a GCC
35300 builtin and then its argument prototype would still apply. */
35301 #ifdef __cplusplus
35302 extern "C"
35303 #endif
35304 char $ac_func ();
35305 /* The GNU C library defines this for functions which it implements
35306 to always fail with ENOSYS. Some functions are actually named
35307 something starting with __ and the normal name is an alias. */
35308 #if defined __stub_$ac_func || defined __stub___$ac_func
35309 choke me
35310 #endif
35311
35312 int
35313 main ()
35314 {
35315 return $ac_func ();
35316 ;
35317 return 0;
35318 }
35319 _ACEOF
35320 rm -f conftest.$ac_objext conftest$ac_exeext
35321 if { (ac_try="$ac_link"
35322 case "(($ac_try" in
35323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35324 *) ac_try_echo=$ac_try;;
35325 esac
35326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35327 (eval "$ac_link") 2>conftest.er1
35328 ac_status=$?
35329 grep -v '^ *+' conftest.er1 >conftest.err
35330 rm -f conftest.er1
35331 cat conftest.err >&5
35332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35333 (exit $ac_status); } && {
35334 test -z "$ac_c_werror_flag" ||
35335 test ! -s conftest.err
35336 } && test -s conftest$ac_exeext &&
35337 $as_test_x conftest$ac_exeext; then
35338 eval "$as_ac_var=yes"
35339 else
35340 echo "$as_me: failed program was:" >&5
35341 sed 's/^/| /' conftest.$ac_ext >&5
35342
35343 eval "$as_ac_var=no"
35344 fi
35345
35346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35347 conftest$ac_exeext conftest.$ac_ext
35348 fi
35349 ac_res=`eval echo '${'$as_ac_var'}'`
35350 { echo "$as_me:$LINENO: result: $ac_res" >&5
35351 echo "${ECHO_T}$ac_res" >&6; }
35352 if test `eval echo '${'$as_ac_var'}'` = yes; then
35353 cat >>confdefs.h <<_ACEOF
35354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35355 _ACEOF
35356
35357 fi
35358 done
35359
35360
35361 ac_ext=cpp
35362 ac_cpp='$CXXCPP $CPPFLAGS'
35363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35366
35367 if test "$ac_cv_func_vsnprintf" = "yes"; then
35368 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35369 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35370 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35371 echo $ECHO_N "(cached) $ECHO_C" >&6
35372 else
35373
35374 cat >conftest.$ac_ext <<_ACEOF
35375 /* confdefs.h. */
35376 _ACEOF
35377 cat confdefs.h >>conftest.$ac_ext
35378 cat >>conftest.$ac_ext <<_ACEOF
35379 /* end confdefs.h. */
35380
35381 #include <stdio.h>
35382 #include <stdarg.h>
35383 #ifdef __MSL__
35384 #if __MSL__ >= 0x6000
35385 namespace std {}
35386 using namespace std;
35387 #endif
35388 #endif
35389
35390 int
35391 main ()
35392 {
35393
35394 char *buf;
35395 va_list ap;
35396 vsnprintf(buf, 10u, "%s", ap);
35397
35398 ;
35399 return 0;
35400 }
35401 _ACEOF
35402 rm -f conftest.$ac_objext
35403 if { (ac_try="$ac_compile"
35404 case "(($ac_try" in
35405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35406 *) ac_try_echo=$ac_try;;
35407 esac
35408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35409 (eval "$ac_compile") 2>conftest.er1
35410 ac_status=$?
35411 grep -v '^ *+' conftest.er1 >conftest.err
35412 rm -f conftest.er1
35413 cat conftest.err >&5
35414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35415 (exit $ac_status); } && {
35416 test -z "$ac_cxx_werror_flag" ||
35417 test ! -s conftest.err
35418 } && test -s conftest.$ac_objext; then
35419 wx_cv_func_vsnprintf_decl=yes
35420 else
35421 echo "$as_me: failed program was:" >&5
35422 sed 's/^/| /' conftest.$ac_ext >&5
35423
35424 wx_cv_func_vsnprintf_decl=no
35425
35426 fi
35427
35428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35429
35430
35431 fi
35432 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35433 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35434
35435 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35436 cat >>confdefs.h <<\_ACEOF
35437 #define HAVE_VSNPRINTF_DECL 1
35438 _ACEOF
35439
35440
35441 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35442 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35443 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35444 echo $ECHO_N "(cached) $ECHO_C" >&6
35445 else
35446
35447 cat >conftest.$ac_ext <<_ACEOF
35448 /* confdefs.h. */
35449 _ACEOF
35450 cat confdefs.h >>conftest.$ac_ext
35451 cat >>conftest.$ac_ext <<_ACEOF
35452 /* end confdefs.h. */
35453
35454 #include <stdio.h>
35455 #include <stdarg.h>
35456 #ifdef __MSL__
35457 #if __MSL__ >= 0x6000
35458 namespace std {}
35459 using namespace std;
35460 #endif
35461 #endif
35462
35463 int
35464 main ()
35465 {
35466
35467 char *buf;
35468 va_list ap;
35469 const char *fmt = "%s";
35470 vsnprintf(buf, 10u, fmt, ap);
35471
35472 ;
35473 return 0;
35474 }
35475 _ACEOF
35476 rm -f conftest.$ac_objext
35477 if { (ac_try="$ac_compile"
35478 case "(($ac_try" in
35479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35480 *) ac_try_echo=$ac_try;;
35481 esac
35482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35483 (eval "$ac_compile") 2>conftest.er1
35484 ac_status=$?
35485 grep -v '^ *+' conftest.er1 >conftest.err
35486 rm -f conftest.er1
35487 cat conftest.err >&5
35488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35489 (exit $ac_status); } && {
35490 test -z "$ac_cxx_werror_flag" ||
35491 test ! -s conftest.err
35492 } && test -s conftest.$ac_objext; then
35493 wx_cv_func_broken_vsnprintf_decl=no
35494 else
35495 echo "$as_me: failed program was:" >&5
35496 sed 's/^/| /' conftest.$ac_ext >&5
35497
35498 wx_cv_func_broken_vsnprintf_decl=yes
35499
35500 fi
35501
35502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35503
35504
35505 fi
35506 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35507 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35508
35509 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35510 cat >>confdefs.h <<\_ACEOF
35511 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35512 _ACEOF
35513
35514 fi
35515 fi
35516 fi
35517
35518 if test "$ac_cv_func_snprintf" = "yes"; then
35519 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35520 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35521 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35522 echo $ECHO_N "(cached) $ECHO_C" >&6
35523 else
35524
35525 cat >conftest.$ac_ext <<_ACEOF
35526 /* confdefs.h. */
35527 _ACEOF
35528 cat confdefs.h >>conftest.$ac_ext
35529 cat >>conftest.$ac_ext <<_ACEOF
35530 /* end confdefs.h. */
35531
35532 #include <stdio.h>
35533 #include <stdarg.h>
35534 #ifdef __MSL__
35535 #if __MSL__ >= 0x6000
35536 namespace std {}
35537 using namespace std;
35538 #endif
35539 #endif
35540
35541 int
35542 main ()
35543 {
35544
35545 char *buf;
35546 snprintf(buf, 10u, "%s", "wx");
35547
35548 ;
35549 return 0;
35550 }
35551 _ACEOF
35552 rm -f conftest.$ac_objext
35553 if { (ac_try="$ac_compile"
35554 case "(($ac_try" in
35555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35556 *) ac_try_echo=$ac_try;;
35557 esac
35558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35559 (eval "$ac_compile") 2>conftest.er1
35560 ac_status=$?
35561 grep -v '^ *+' conftest.er1 >conftest.err
35562 rm -f conftest.er1
35563 cat conftest.err >&5
35564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35565 (exit $ac_status); } && {
35566 test -z "$ac_cxx_werror_flag" ||
35567 test ! -s conftest.err
35568 } && test -s conftest.$ac_objext; then
35569 wx_cv_func_snprintf_decl=yes
35570 else
35571 echo "$as_me: failed program was:" >&5
35572 sed 's/^/| /' conftest.$ac_ext >&5
35573
35574 wx_cv_func_snprintf_decl=no
35575
35576 fi
35577
35578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35579
35580
35581 fi
35582 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35583 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35584
35585 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35586 cat >>confdefs.h <<\_ACEOF
35587 #define HAVE_SNPRINTF_DECL 1
35588 _ACEOF
35589
35590 fi
35591
35592 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35593
35594 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35595 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35596 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35597 echo $ECHO_N "(cached) $ECHO_C" >&6
35598 else
35599
35600 if test "$cross_compiling" = yes; then
35601
35602 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35603 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35604 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35605 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35606 wx_cv_func_snprintf_pos_params=no
35607
35608
35609 else
35610 cat >conftest.$ac_ext <<_ACEOF
35611 /* confdefs.h. */
35612 _ACEOF
35613 cat confdefs.h >>conftest.$ac_ext
35614 cat >>conftest.$ac_ext <<_ACEOF
35615 /* end confdefs.h. */
35616
35617 #include <stdio.h>
35618
35619 int main (void)
35620 {
35621 char buffer[128];
35622 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35623 if (strcmp ("2 3 1", buffer) == 0)
35624 exit (0);
35625 exit (1);
35626 }
35627
35628 _ACEOF
35629 rm -f conftest$ac_exeext
35630 if { (ac_try="$ac_link"
35631 case "(($ac_try" in
35632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35633 *) ac_try_echo=$ac_try;;
35634 esac
35635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35636 (eval "$ac_link") 2>&5
35637 ac_status=$?
35638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35639 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35640 { (case "(($ac_try" in
35641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35642 *) ac_try_echo=$ac_try;;
35643 esac
35644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35645 (eval "$ac_try") 2>&5
35646 ac_status=$?
35647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35648 (exit $ac_status); }; }; then
35649 wx_cv_func_snprintf_pos_params=no
35650 else
35651 echo "$as_me: program exited with status $ac_status" >&5
35652 echo "$as_me: failed program was:" >&5
35653 sed 's/^/| /' conftest.$ac_ext >&5
35654
35655 ( exit $ac_status )
35656 wx_cv_func_snprintf_pos_params=yes
35657 fi
35658 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35659 fi
35660
35661
35662
35663
35664 fi
35665 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35666 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35667
35668 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35669 cat >>confdefs.h <<\_ACEOF
35670 #define HAVE_UNIX98_PRINTF 1
35671 _ACEOF
35672
35673 fi
35674 fi
35675 fi
35676
35677 if test "$ac_cv_func_vsscanf" = "yes"; then
35678 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35679 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35680 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35681 echo $ECHO_N "(cached) $ECHO_C" >&6
35682 else
35683
35684 cat >conftest.$ac_ext <<_ACEOF
35685 /* confdefs.h. */
35686 _ACEOF
35687 cat confdefs.h >>conftest.$ac_ext
35688 cat >>conftest.$ac_ext <<_ACEOF
35689 /* end confdefs.h. */
35690
35691 #include <stdio.h>
35692 #include <stdarg.h>
35693 #ifdef __MSL__
35694 #if __MSL__ >= 0x6000
35695 namespace std {}
35696 using namespace std;
35697 #endif
35698 #endif
35699
35700 int
35701 main ()
35702 {
35703
35704 char *buf;
35705 va_list args;
35706 vsscanf(buf, "%s", args);
35707
35708 ;
35709 return 0;
35710 }
35711 _ACEOF
35712 rm -f conftest.$ac_objext
35713 if { (ac_try="$ac_compile"
35714 case "(($ac_try" in
35715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35716 *) ac_try_echo=$ac_try;;
35717 esac
35718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35719 (eval "$ac_compile") 2>conftest.er1
35720 ac_status=$?
35721 grep -v '^ *+' conftest.er1 >conftest.err
35722 rm -f conftest.er1
35723 cat conftest.err >&5
35724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35725 (exit $ac_status); } && {
35726 test -z "$ac_cxx_werror_flag" ||
35727 test ! -s conftest.err
35728 } && test -s conftest.$ac_objext; then
35729 wx_cv_func_vsscanf_decl=yes
35730 else
35731 echo "$as_me: failed program was:" >&5
35732 sed 's/^/| /' conftest.$ac_ext >&5
35733
35734 wx_cv_func_vsscanf_decl=no
35735
35736 fi
35737
35738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35739
35740
35741 fi
35742 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35743 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35744
35745 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35746 cat >>confdefs.h <<\_ACEOF
35747 #define HAVE_VSSCANF_DECL 1
35748 _ACEOF
35749
35750 fi
35751 fi
35752 ac_ext=c
35753 ac_cpp='$CPP $CPPFLAGS'
35754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35757
35758
35759 if test "$wxUSE_UNICODE" = yes; then
35760
35761 wchar_headers="#include <stdio.h>
35762 #include <wchar.h>"
35763 case "${host}" in
35764 *-*-solaris2* )
35765
35766 for ac_header in widec.h
35767 do
35768 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35769 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35770 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35771 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35772 echo $ECHO_N "(cached) $ECHO_C" >&6
35773 else
35774 cat >conftest.$ac_ext <<_ACEOF
35775 /* confdefs.h. */
35776 _ACEOF
35777 cat confdefs.h >>conftest.$ac_ext
35778 cat >>conftest.$ac_ext <<_ACEOF
35779 /* end confdefs.h. */
35780 $ac_includes_default
35781
35782 #include <$ac_header>
35783 _ACEOF
35784 rm -f conftest.$ac_objext
35785 if { (ac_try="$ac_compile"
35786 case "(($ac_try" in
35787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35788 *) ac_try_echo=$ac_try;;
35789 esac
35790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35791 (eval "$ac_compile") 2>conftest.er1
35792 ac_status=$?
35793 grep -v '^ *+' conftest.er1 >conftest.err
35794 rm -f conftest.er1
35795 cat conftest.err >&5
35796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35797 (exit $ac_status); } && {
35798 test -z "$ac_c_werror_flag" ||
35799 test ! -s conftest.err
35800 } && test -s conftest.$ac_objext; then
35801 eval "$as_ac_Header=yes"
35802 else
35803 echo "$as_me: failed program was:" >&5
35804 sed 's/^/| /' conftest.$ac_ext >&5
35805
35806 eval "$as_ac_Header=no"
35807 fi
35808
35809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35810 fi
35811 ac_res=`eval echo '${'$as_ac_Header'}'`
35812 { echo "$as_me:$LINENO: result: $ac_res" >&5
35813 echo "${ECHO_T}$ac_res" >&6; }
35814 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35815 cat >>confdefs.h <<_ACEOF
35816 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35817 _ACEOF
35818
35819 fi
35820
35821 done
35822
35823 if test "$ac_cv_header_widec_h" = "yes"; then
35824 wchar_headers="$wchar_headers
35825 #include <widec.h>"
35826 fi
35827 esac
35828
35829
35830 for wx_func in putws fputws wprintf vswprintf vswscanf
35831 do
35832 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35833 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35834 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35835 echo $ECHO_N "(cached) $ECHO_C" >&6
35836 else
35837
35838 cat >conftest.$ac_ext <<_ACEOF
35839
35840 /* confdefs.h. */
35841 _ACEOF
35842 cat confdefs.h >>conftest.$ac_ext
35843 cat >>conftest.$ac_ext <<_ACEOF
35844 /* end confdefs.h. */
35845
35846 $wchar_headers
35847 $ac_includes_default
35848
35849 int
35850 main ()
35851 {
35852
35853 #ifndef $wx_func
35854 &$wx_func;
35855 #endif
35856
35857
35858 ;
35859 return 0;
35860 }
35861
35862 _ACEOF
35863 rm -f conftest.$ac_objext conftest$ac_exeext
35864 if { (ac_try="$ac_link"
35865 case "(($ac_try" in
35866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35867 *) ac_try_echo=$ac_try;;
35868 esac
35869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35870 (eval "$ac_link") 2>conftest.er1
35871 ac_status=$?
35872 grep -v '^ *+' conftest.er1 >conftest.err
35873 rm -f conftest.er1
35874 cat conftest.err >&5
35875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35876 (exit $ac_status); } && {
35877 test -z "$ac_c_werror_flag" ||
35878 test ! -s conftest.err
35879 } && test -s conftest$ac_exeext &&
35880 $as_test_x conftest$ac_exeext; then
35881 eval wx_cv_func_$wx_func=yes
35882 else
35883 echo "$as_me: failed program was:" >&5
35884 sed 's/^/| /' conftest.$ac_ext >&5
35885
35886 eval wx_cv_func_$wx_func=no
35887 fi
35888
35889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35890 conftest$ac_exeext conftest.$ac_ext
35891
35892 fi
35893 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35894 { echo "$as_me:$LINENO: result: $ac_res" >&5
35895 echo "${ECHO_T}$ac_res" >&6; }
35896
35897 if eval test \$wx_cv_func_$wx_func = yes
35898 then
35899 cat >>confdefs.h <<_ACEOF
35900 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35901 _ACEOF
35902
35903
35904 else
35905 :
35906
35907 fi
35908 done
35909
35910
35911 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35912 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35913 cat >conftest.$ac_ext <<_ACEOF
35914 /* confdefs.h. */
35915 _ACEOF
35916 cat confdefs.h >>conftest.$ac_ext
35917 cat >>conftest.$ac_ext <<_ACEOF
35918 /* end confdefs.h. */
35919 #include <wchar.h>
35920 int
35921 main ()
35922 {
35923 &_vsnwprintf;
35924 ;
35925 return 0;
35926 }
35927 _ACEOF
35928 rm -f conftest.$ac_objext
35929 if { (ac_try="$ac_compile"
35930 case "(($ac_try" in
35931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35932 *) ac_try_echo=$ac_try;;
35933 esac
35934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35935 (eval "$ac_compile") 2>conftest.er1
35936 ac_status=$?
35937 grep -v '^ *+' conftest.er1 >conftest.err
35938 rm -f conftest.er1
35939 cat conftest.err >&5
35940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35941 (exit $ac_status); } && {
35942 test -z "$ac_c_werror_flag" ||
35943 test ! -s conftest.err
35944 } && test -s conftest.$ac_objext; then
35945 { echo "$as_me:$LINENO: result: yes" >&5
35946 echo "${ECHO_T}yes" >&6; }
35947 cat >>confdefs.h <<\_ACEOF
35948 #define HAVE__VSNWPRINTF 1
35949 _ACEOF
35950
35951 else
35952 echo "$as_me: failed program was:" >&5
35953 sed 's/^/| /' conftest.$ac_ext >&5
35954
35955 { echo "$as_me:$LINENO: result: no" >&5
35956 echo "${ECHO_T}no" >&6; }
35957 fi
35958
35959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35960 fi
35961
35962 if test "$wxUSE_FILE" = "yes"; then
35963
35964 for wx_func in fsync
35965 do
35966 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35967 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35968 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35969 echo $ECHO_N "(cached) $ECHO_C" >&6
35970 else
35971
35972 cat >conftest.$ac_ext <<_ACEOF
35973
35974 /* confdefs.h. */
35975 _ACEOF
35976 cat confdefs.h >>conftest.$ac_ext
35977 cat >>conftest.$ac_ext <<_ACEOF
35978 /* end confdefs.h. */
35979
35980
35981 $ac_includes_default
35982
35983 int
35984 main ()
35985 {
35986
35987 #ifndef $wx_func
35988 &$wx_func;
35989 #endif
35990
35991
35992 ;
35993 return 0;
35994 }
35995
35996 _ACEOF
35997 rm -f conftest.$ac_objext conftest$ac_exeext
35998 if { (ac_try="$ac_link"
35999 case "(($ac_try" in
36000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36001 *) ac_try_echo=$ac_try;;
36002 esac
36003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36004 (eval "$ac_link") 2>conftest.er1
36005 ac_status=$?
36006 grep -v '^ *+' conftest.er1 >conftest.err
36007 rm -f conftest.er1
36008 cat conftest.err >&5
36009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36010 (exit $ac_status); } && {
36011 test -z "$ac_c_werror_flag" ||
36012 test ! -s conftest.err
36013 } && test -s conftest$ac_exeext &&
36014 $as_test_x conftest$ac_exeext; then
36015 eval wx_cv_func_$wx_func=yes
36016 else
36017 echo "$as_me: failed program was:" >&5
36018 sed 's/^/| /' conftest.$ac_ext >&5
36019
36020 eval wx_cv_func_$wx_func=no
36021 fi
36022
36023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36024 conftest$ac_exeext conftest.$ac_ext
36025
36026 fi
36027 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36028 { echo "$as_me:$LINENO: result: $ac_res" >&5
36029 echo "${ECHO_T}$ac_res" >&6; }
36030
36031 if eval test \$wx_cv_func_$wx_func = yes
36032 then
36033 cat >>confdefs.h <<_ACEOF
36034 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36035 _ACEOF
36036
36037
36038 else
36039 :
36040
36041 fi
36042 done
36043
36044 fi
36045
36046 ac_ext=cpp
36047 ac_cpp='$CXXCPP $CPPFLAGS'
36048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36051
36052
36053 for wx_func in round
36054 do
36055 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36056 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36057 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36058 echo $ECHO_N "(cached) $ECHO_C" >&6
36059 else
36060
36061 cat >conftest.$ac_ext <<_ACEOF
36062
36063 /* confdefs.h. */
36064 _ACEOF
36065 cat confdefs.h >>conftest.$ac_ext
36066 cat >>conftest.$ac_ext <<_ACEOF
36067 /* end confdefs.h. */
36068
36069 #include <math.h>
36070 $ac_includes_default
36071
36072 int
36073 main ()
36074 {
36075
36076 #ifndef $wx_func
36077 &$wx_func;
36078 #endif
36079
36080
36081 ;
36082 return 0;
36083 }
36084
36085 _ACEOF
36086 rm -f conftest.$ac_objext conftest$ac_exeext
36087 if { (ac_try="$ac_link"
36088 case "(($ac_try" in
36089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36090 *) ac_try_echo=$ac_try;;
36091 esac
36092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36093 (eval "$ac_link") 2>conftest.er1
36094 ac_status=$?
36095 grep -v '^ *+' conftest.er1 >conftest.err
36096 rm -f conftest.er1
36097 cat conftest.err >&5
36098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36099 (exit $ac_status); } && {
36100 test -z "$ac_cxx_werror_flag" ||
36101 test ! -s conftest.err
36102 } && test -s conftest$ac_exeext &&
36103 $as_test_x conftest$ac_exeext; then
36104 eval wx_cv_func_$wx_func=yes
36105 else
36106 echo "$as_me: failed program was:" >&5
36107 sed 's/^/| /' conftest.$ac_ext >&5
36108
36109 eval wx_cv_func_$wx_func=no
36110 fi
36111
36112 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36113 conftest$ac_exeext conftest.$ac_ext
36114
36115 fi
36116 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36117 { echo "$as_me:$LINENO: result: $ac_res" >&5
36118 echo "${ECHO_T}$ac_res" >&6; }
36119
36120 if eval test \$wx_cv_func_$wx_func = yes
36121 then
36122 cat >>confdefs.h <<_ACEOF
36123 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36124 _ACEOF
36125
36126
36127 else
36128 :
36129
36130 fi
36131 done
36132
36133 ac_ext=c
36134 ac_cpp='$CPP $CPPFLAGS'
36135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36138
36139
36140 if test "$TOOLKIT" != "MSW"; then
36141
36142 if test "$wxUSE_LIBICONV" != "no" ; then
36143
36144
36145
36146 # Check whether --with-libiconv-prefix was given.
36147 if test "${with_libiconv_prefix+set}" = set; then
36148 withval=$with_libiconv_prefix;
36149 for dir in `echo "$withval" | tr : ' '`; do
36150 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36151 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36152 done
36153
36154 fi
36155
36156
36157 { echo "$as_me:$LINENO: checking for iconv" >&5
36158 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36159 if test "${am_cv_func_iconv+set}" = set; then
36160 echo $ECHO_N "(cached) $ECHO_C" >&6
36161 else
36162
36163 am_cv_func_iconv="no, consider installing GNU libiconv"
36164 am_cv_lib_iconv=no
36165 cat >conftest.$ac_ext <<_ACEOF
36166 /* confdefs.h. */
36167 _ACEOF
36168 cat confdefs.h >>conftest.$ac_ext
36169 cat >>conftest.$ac_ext <<_ACEOF
36170 /* end confdefs.h. */
36171 #include <stdlib.h>
36172 #include <iconv.h>
36173 int
36174 main ()
36175 {
36176 iconv_t cd = iconv_open("","");
36177 iconv(cd,NULL,NULL,NULL,NULL);
36178 iconv_close(cd);
36179 ;
36180 return 0;
36181 }
36182 _ACEOF
36183 rm -f conftest.$ac_objext conftest$ac_exeext
36184 if { (ac_try="$ac_link"
36185 case "(($ac_try" in
36186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36187 *) ac_try_echo=$ac_try;;
36188 esac
36189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36190 (eval "$ac_link") 2>conftest.er1
36191 ac_status=$?
36192 grep -v '^ *+' conftest.er1 >conftest.err
36193 rm -f conftest.er1
36194 cat conftest.err >&5
36195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36196 (exit $ac_status); } && {
36197 test -z "$ac_c_werror_flag" ||
36198 test ! -s conftest.err
36199 } && test -s conftest$ac_exeext &&
36200 $as_test_x conftest$ac_exeext; then
36201 am_cv_func_iconv=yes
36202 else
36203 echo "$as_me: failed program was:" >&5
36204 sed 's/^/| /' conftest.$ac_ext >&5
36205
36206
36207 fi
36208
36209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36210 conftest$ac_exeext conftest.$ac_ext
36211 if test "$am_cv_func_iconv" != yes; then
36212 am_save_LIBS="$LIBS"
36213 LIBS="$LIBS -liconv"
36214 cat >conftest.$ac_ext <<_ACEOF
36215 /* confdefs.h. */
36216 _ACEOF
36217 cat confdefs.h >>conftest.$ac_ext
36218 cat >>conftest.$ac_ext <<_ACEOF
36219 /* end confdefs.h. */
36220 #include <stdlib.h>
36221 #include <iconv.h>
36222 int
36223 main ()
36224 {
36225 iconv_t cd = iconv_open("","");
36226 iconv(cd,NULL,NULL,NULL,NULL);
36227 iconv_close(cd);
36228 ;
36229 return 0;
36230 }
36231 _ACEOF
36232 rm -f conftest.$ac_objext conftest$ac_exeext
36233 if { (ac_try="$ac_link"
36234 case "(($ac_try" in
36235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36236 *) ac_try_echo=$ac_try;;
36237 esac
36238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36239 (eval "$ac_link") 2>conftest.er1
36240 ac_status=$?
36241 grep -v '^ *+' conftest.er1 >conftest.err
36242 rm -f conftest.er1
36243 cat conftest.err >&5
36244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36245 (exit $ac_status); } && {
36246 test -z "$ac_c_werror_flag" ||
36247 test ! -s conftest.err
36248 } && test -s conftest$ac_exeext &&
36249 $as_test_x conftest$ac_exeext; then
36250 am_cv_lib_iconv=yes
36251 am_cv_func_iconv=yes
36252 else
36253 echo "$as_me: failed program was:" >&5
36254 sed 's/^/| /' conftest.$ac_ext >&5
36255
36256
36257 fi
36258
36259 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36260 conftest$ac_exeext conftest.$ac_ext
36261 LIBS="$am_save_LIBS"
36262 fi
36263
36264 fi
36265 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36266 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36267 if test "$am_cv_func_iconv" = yes; then
36268
36269 cat >>confdefs.h <<\_ACEOF
36270 #define HAVE_ICONV 1
36271 _ACEOF
36272
36273 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36274 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36275 if test "${wx_cv_func_iconv_const+set}" = set; then
36276 echo $ECHO_N "(cached) $ECHO_C" >&6
36277 else
36278 cat >conftest.$ac_ext <<_ACEOF
36279 /* confdefs.h. */
36280 _ACEOF
36281 cat confdefs.h >>conftest.$ac_ext
36282 cat >>conftest.$ac_ext <<_ACEOF
36283 /* end confdefs.h. */
36284
36285 #include <stdlib.h>
36286 #include <iconv.h>
36287 extern
36288 #ifdef __cplusplus
36289 "C"
36290 #endif
36291 #if defined(__STDC__) || defined(__cplusplus)
36292 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36293 #else
36294 size_t iconv();
36295 #endif
36296
36297 int
36298 main ()
36299 {
36300
36301 ;
36302 return 0;
36303 }
36304 _ACEOF
36305 rm -f conftest.$ac_objext
36306 if { (ac_try="$ac_compile"
36307 case "(($ac_try" in
36308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36309 *) ac_try_echo=$ac_try;;
36310 esac
36311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36312 (eval "$ac_compile") 2>conftest.er1
36313 ac_status=$?
36314 grep -v '^ *+' conftest.er1 >conftest.err
36315 rm -f conftest.er1
36316 cat conftest.err >&5
36317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36318 (exit $ac_status); } && {
36319 test -z "$ac_c_werror_flag" ||
36320 test ! -s conftest.err
36321 } && test -s conftest.$ac_objext; then
36322 wx_cv_func_iconv_const="no"
36323 else
36324 echo "$as_me: failed program was:" >&5
36325 sed 's/^/| /' conftest.$ac_ext >&5
36326
36327 wx_cv_func_iconv_const="yes"
36328
36329 fi
36330
36331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36332
36333 fi
36334 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36335 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36336
36337 iconv_const=
36338 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36339 iconv_const="const"
36340 fi
36341
36342
36343 cat >>confdefs.h <<_ACEOF
36344 #define ICONV_CONST $iconv_const
36345 _ACEOF
36346
36347 fi
36348 LIBICONV=
36349 if test "$am_cv_lib_iconv" = yes; then
36350 LIBICONV="-liconv"
36351 fi
36352
36353
36354 LIBS="$LIBICONV $LIBS"
36355 fi
36356
36357 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36358
36359 for ac_func in sigaction
36360 do
36361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36362 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36364 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36365 echo $ECHO_N "(cached) $ECHO_C" >&6
36366 else
36367 cat >conftest.$ac_ext <<_ACEOF
36368 /* confdefs.h. */
36369 _ACEOF
36370 cat confdefs.h >>conftest.$ac_ext
36371 cat >>conftest.$ac_ext <<_ACEOF
36372 /* end confdefs.h. */
36373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36374 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36375 #define $ac_func innocuous_$ac_func
36376
36377 /* System header to define __stub macros and hopefully few prototypes,
36378 which can conflict with char $ac_func (); below.
36379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36380 <limits.h> exists even on freestanding compilers. */
36381
36382 #ifdef __STDC__
36383 # include <limits.h>
36384 #else
36385 # include <assert.h>
36386 #endif
36387
36388 #undef $ac_func
36389
36390 /* Override any GCC internal prototype to avoid an error.
36391 Use char because int might match the return type of a GCC
36392 builtin and then its argument prototype would still apply. */
36393 #ifdef __cplusplus
36394 extern "C"
36395 #endif
36396 char $ac_func ();
36397 /* The GNU C library defines this for functions which it implements
36398 to always fail with ENOSYS. Some functions are actually named
36399 something starting with __ and the normal name is an alias. */
36400 #if defined __stub_$ac_func || defined __stub___$ac_func
36401 choke me
36402 #endif
36403
36404 int
36405 main ()
36406 {
36407 return $ac_func ();
36408 ;
36409 return 0;
36410 }
36411 _ACEOF
36412 rm -f conftest.$ac_objext conftest$ac_exeext
36413 if { (ac_try="$ac_link"
36414 case "(($ac_try" in
36415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36416 *) ac_try_echo=$ac_try;;
36417 esac
36418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36419 (eval "$ac_link") 2>conftest.er1
36420 ac_status=$?
36421 grep -v '^ *+' conftest.er1 >conftest.err
36422 rm -f conftest.er1
36423 cat conftest.err >&5
36424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36425 (exit $ac_status); } && {
36426 test -z "$ac_c_werror_flag" ||
36427 test ! -s conftest.err
36428 } && test -s conftest$ac_exeext &&
36429 $as_test_x conftest$ac_exeext; then
36430 eval "$as_ac_var=yes"
36431 else
36432 echo "$as_me: failed program was:" >&5
36433 sed 's/^/| /' conftest.$ac_ext >&5
36434
36435 eval "$as_ac_var=no"
36436 fi
36437
36438 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36439 conftest$ac_exeext conftest.$ac_ext
36440 fi
36441 ac_res=`eval echo '${'$as_ac_var'}'`
36442 { echo "$as_me:$LINENO: result: $ac_res" >&5
36443 echo "${ECHO_T}$ac_res" >&6; }
36444 if test `eval echo '${'$as_ac_var'}'` = yes; then
36445 cat >>confdefs.h <<_ACEOF
36446 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36447 _ACEOF
36448
36449 fi
36450 done
36451
36452
36453 if test "$ac_cv_func_sigaction" = "no"; then
36454 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36455 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36456 wxUSE_ON_FATAL_EXCEPTION=no
36457 fi
36458
36459 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36460 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36461 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36462 if test "${wx_cv_type_sa_handler+set}" = set; then
36463 echo $ECHO_N "(cached) $ECHO_C" >&6
36464 else
36465
36466 ac_ext=cpp
36467 ac_cpp='$CXXCPP $CPPFLAGS'
36468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36471
36472 cat >conftest.$ac_ext <<_ACEOF
36473 /* confdefs.h. */
36474 _ACEOF
36475 cat confdefs.h >>conftest.$ac_ext
36476 cat >>conftest.$ac_ext <<_ACEOF
36477 /* end confdefs.h. */
36478 #include <signal.h>
36479 int
36480 main ()
36481 {
36482
36483 extern void testSigHandler(int);
36484
36485 struct sigaction sa;
36486 sa.sa_handler = testSigHandler;
36487
36488 ;
36489 return 0;
36490 }
36491 _ACEOF
36492 rm -f conftest.$ac_objext
36493 if { (ac_try="$ac_compile"
36494 case "(($ac_try" in
36495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36496 *) ac_try_echo=$ac_try;;
36497 esac
36498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36499 (eval "$ac_compile") 2>conftest.er1
36500 ac_status=$?
36501 grep -v '^ *+' conftest.er1 >conftest.err
36502 rm -f conftest.er1
36503 cat conftest.err >&5
36504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36505 (exit $ac_status); } && {
36506 test -z "$ac_cxx_werror_flag" ||
36507 test ! -s conftest.err
36508 } && test -s conftest.$ac_objext; then
36509
36510 wx_cv_type_sa_handler=int
36511
36512 else
36513 echo "$as_me: failed program was:" >&5
36514 sed 's/^/| /' conftest.$ac_ext >&5
36515
36516
36517 wx_cv_type_sa_handler=void
36518
36519 fi
36520
36521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36522 ac_ext=c
36523 ac_cpp='$CPP $CPPFLAGS'
36524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36527
36528
36529 fi
36530 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36531 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36532
36533 cat >>confdefs.h <<_ACEOF
36534 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36535 _ACEOF
36536
36537 fi
36538 fi
36539
36540 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36541 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36542 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36543 if test "${wx_cv_func_backtrace+set}" = set; then
36544 echo $ECHO_N "(cached) $ECHO_C" >&6
36545 else
36546
36547 ac_ext=cpp
36548 ac_cpp='$CXXCPP $CPPFLAGS'
36549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36552
36553 cat >conftest.$ac_ext <<_ACEOF
36554 /* confdefs.h. */
36555 _ACEOF
36556 cat confdefs.h >>conftest.$ac_ext
36557 cat >>conftest.$ac_ext <<_ACEOF
36558 /* end confdefs.h. */
36559 #include <execinfo.h>
36560 int
36561 main ()
36562 {
36563
36564 void *trace[1];
36565 char **messages;
36566
36567 backtrace(trace, 1);
36568 messages = backtrace_symbols(trace, 1);
36569
36570 ;
36571 return 0;
36572 }
36573 _ACEOF
36574 rm -f conftest.$ac_objext
36575 if { (ac_try="$ac_compile"
36576 case "(($ac_try" in
36577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36578 *) ac_try_echo=$ac_try;;
36579 esac
36580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36581 (eval "$ac_compile") 2>conftest.er1
36582 ac_status=$?
36583 grep -v '^ *+' conftest.er1 >conftest.err
36584 rm -f conftest.er1
36585 cat conftest.err >&5
36586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36587 (exit $ac_status); } && {
36588 test -z "$ac_cxx_werror_flag" ||
36589 test ! -s conftest.err
36590 } && test -s conftest.$ac_objext; then
36591 wx_cv_func_backtrace=yes
36592 else
36593 echo "$as_me: failed program was:" >&5
36594 sed 's/^/| /' conftest.$ac_ext >&5
36595
36596 wx_cv_func_backtrace=no
36597
36598 fi
36599
36600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36601 ac_ext=c
36602 ac_cpp='$CPP $CPPFLAGS'
36603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36606
36607
36608
36609 fi
36610 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36611 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36612
36613
36614 if test "$wx_cv_func_backtrace" = "no"; then
36615 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36616 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36617 wxUSE_STACKWALKER=no
36618 else
36619 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36620 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36621 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36622 echo $ECHO_N "(cached) $ECHO_C" >&6
36623 else
36624
36625 ac_ext=cpp
36626 ac_cpp='$CXXCPP $CPPFLAGS'
36627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36630
36631 cat >conftest.$ac_ext <<_ACEOF
36632 /* confdefs.h. */
36633 _ACEOF
36634 cat confdefs.h >>conftest.$ac_ext
36635 cat >>conftest.$ac_ext <<_ACEOF
36636 /* end confdefs.h. */
36637 #include <cxxabi.h>
36638 int
36639 main ()
36640 {
36641
36642 int rc;
36643 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36644
36645 ;
36646 return 0;
36647 }
36648 _ACEOF
36649 rm -f conftest.$ac_objext conftest$ac_exeext
36650 if { (ac_try="$ac_link"
36651 case "(($ac_try" in
36652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36653 *) ac_try_echo=$ac_try;;
36654 esac
36655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36656 (eval "$ac_link") 2>conftest.er1
36657 ac_status=$?
36658 grep -v '^ *+' conftest.er1 >conftest.err
36659 rm -f conftest.er1
36660 cat conftest.err >&5
36661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36662 (exit $ac_status); } && {
36663 test -z "$ac_cxx_werror_flag" ||
36664 test ! -s conftest.err
36665 } && test -s conftest$ac_exeext &&
36666 $as_test_x conftest$ac_exeext; then
36667 wx_cv_func_cxa_demangle=yes
36668 else
36669 echo "$as_me: failed program was:" >&5
36670 sed 's/^/| /' conftest.$ac_ext >&5
36671
36672 wx_cv_func_cxa_demangle=no
36673
36674 fi
36675
36676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36677 conftest$ac_exeext conftest.$ac_ext
36678 ac_ext=c
36679 ac_cpp='$CPP $CPPFLAGS'
36680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36683
36684
36685
36686 fi
36687 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36688 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36689
36690 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36691 cat >>confdefs.h <<\_ACEOF
36692 #define HAVE_CXA_DEMANGLE 1
36693 _ACEOF
36694
36695 fi
36696 fi
36697 fi
36698
36699 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36700 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36701 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36702 wxUSE_STACKWALKER=no
36703 fi
36704
36705
36706
36707
36708 for ac_func in mkstemp mktemp
36709 do
36710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36711 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36713 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36714 echo $ECHO_N "(cached) $ECHO_C" >&6
36715 else
36716 cat >conftest.$ac_ext <<_ACEOF
36717 /* confdefs.h. */
36718 _ACEOF
36719 cat confdefs.h >>conftest.$ac_ext
36720 cat >>conftest.$ac_ext <<_ACEOF
36721 /* end confdefs.h. */
36722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36724 #define $ac_func innocuous_$ac_func
36725
36726 /* System header to define __stub macros and hopefully few prototypes,
36727 which can conflict with char $ac_func (); below.
36728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36729 <limits.h> exists even on freestanding compilers. */
36730
36731 #ifdef __STDC__
36732 # include <limits.h>
36733 #else
36734 # include <assert.h>
36735 #endif
36736
36737 #undef $ac_func
36738
36739 /* Override any GCC internal prototype to avoid an error.
36740 Use char because int might match the return type of a GCC
36741 builtin and then its argument prototype would still apply. */
36742 #ifdef __cplusplus
36743 extern "C"
36744 #endif
36745 char $ac_func ();
36746 /* The GNU C library defines this for functions which it implements
36747 to always fail with ENOSYS. Some functions are actually named
36748 something starting with __ and the normal name is an alias. */
36749 #if defined __stub_$ac_func || defined __stub___$ac_func
36750 choke me
36751 #endif
36752
36753 int
36754 main ()
36755 {
36756 return $ac_func ();
36757 ;
36758 return 0;
36759 }
36760 _ACEOF
36761 rm -f conftest.$ac_objext conftest$ac_exeext
36762 if { (ac_try="$ac_link"
36763 case "(($ac_try" in
36764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36765 *) ac_try_echo=$ac_try;;
36766 esac
36767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36768 (eval "$ac_link") 2>conftest.er1
36769 ac_status=$?
36770 grep -v '^ *+' conftest.er1 >conftest.err
36771 rm -f conftest.er1
36772 cat conftest.err >&5
36773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36774 (exit $ac_status); } && {
36775 test -z "$ac_c_werror_flag" ||
36776 test ! -s conftest.err
36777 } && test -s conftest$ac_exeext &&
36778 $as_test_x conftest$ac_exeext; then
36779 eval "$as_ac_var=yes"
36780 else
36781 echo "$as_me: failed program was:" >&5
36782 sed 's/^/| /' conftest.$ac_ext >&5
36783
36784 eval "$as_ac_var=no"
36785 fi
36786
36787 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36788 conftest$ac_exeext conftest.$ac_ext
36789 fi
36790 ac_res=`eval echo '${'$as_ac_var'}'`
36791 { echo "$as_me:$LINENO: result: $ac_res" >&5
36792 echo "${ECHO_T}$ac_res" >&6; }
36793 if test `eval echo '${'$as_ac_var'}'` = yes; then
36794 cat >>confdefs.h <<_ACEOF
36795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36796 _ACEOF
36797 break
36798 fi
36799 done
36800
36801
36802 { echo "$as_me:$LINENO: checking for statfs" >&5
36803 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36804 if test "${wx_cv_func_statfs+set}" = set; then
36805 echo $ECHO_N "(cached) $ECHO_C" >&6
36806 else
36807 cat >conftest.$ac_ext <<_ACEOF
36808 /* confdefs.h. */
36809 _ACEOF
36810 cat confdefs.h >>conftest.$ac_ext
36811 cat >>conftest.$ac_ext <<_ACEOF
36812 /* end confdefs.h. */
36813
36814 #if defined(__BSD__)
36815 #include <sys/param.h>
36816 #include <sys/mount.h>
36817 #else
36818 #include <sys/vfs.h>
36819 #endif
36820
36821 int
36822 main ()
36823 {
36824
36825 long l;
36826 struct statfs fs;
36827 statfs("/", &fs);
36828 l = fs.f_bsize;
36829 l += fs.f_blocks;
36830 l += fs.f_bavail;
36831
36832 ;
36833 return 0;
36834 }
36835 _ACEOF
36836 rm -f conftest.$ac_objext
36837 if { (ac_try="$ac_compile"
36838 case "(($ac_try" in
36839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36840 *) ac_try_echo=$ac_try;;
36841 esac
36842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36843 (eval "$ac_compile") 2>conftest.er1
36844 ac_status=$?
36845 grep -v '^ *+' conftest.er1 >conftest.err
36846 rm -f conftest.er1
36847 cat conftest.err >&5
36848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36849 (exit $ac_status); } && {
36850 test -z "$ac_c_werror_flag" ||
36851 test ! -s conftest.err
36852 } && test -s conftest.$ac_objext; then
36853 wx_cv_func_statfs=yes
36854 else
36855 echo "$as_me: failed program was:" >&5
36856 sed 's/^/| /' conftest.$ac_ext >&5
36857
36858 wx_cv_func_statfs=no
36859
36860 fi
36861
36862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36863
36864 fi
36865 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36866 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36867
36868 if test "$wx_cv_func_statfs" = "yes"; then
36869 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36870 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36871 if test "${wx_cv_func_statfs_decl+set}" = set; then
36872 echo $ECHO_N "(cached) $ECHO_C" >&6
36873 else
36874 ac_ext=cpp
36875 ac_cpp='$CXXCPP $CPPFLAGS'
36876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36879
36880 cat >conftest.$ac_ext <<_ACEOF
36881 /* confdefs.h. */
36882 _ACEOF
36883 cat confdefs.h >>conftest.$ac_ext
36884 cat >>conftest.$ac_ext <<_ACEOF
36885 /* end confdefs.h. */
36886
36887 #if defined(__BSD__)
36888 #include <sys/param.h>
36889 #include <sys/mount.h>
36890 #else
36891 #include <sys/vfs.h>
36892 #endif
36893
36894 int
36895 main ()
36896 {
36897
36898 struct statfs fs;
36899 statfs("", &fs);
36900
36901 ;
36902 return 0;
36903 }
36904 _ACEOF
36905 rm -f conftest.$ac_objext
36906 if { (ac_try="$ac_compile"
36907 case "(($ac_try" in
36908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36909 *) ac_try_echo=$ac_try;;
36910 esac
36911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36912 (eval "$ac_compile") 2>conftest.er1
36913 ac_status=$?
36914 grep -v '^ *+' conftest.er1 >conftest.err
36915 rm -f conftest.er1
36916 cat conftest.err >&5
36917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36918 (exit $ac_status); } && {
36919 test -z "$ac_cxx_werror_flag" ||
36920 test ! -s conftest.err
36921 } && test -s conftest.$ac_objext; then
36922 wx_cv_func_statfs_decl=yes
36923 else
36924 echo "$as_me: failed program was:" >&5
36925 sed 's/^/| /' conftest.$ac_ext >&5
36926
36927 wx_cv_func_statfs_decl=no
36928
36929 fi
36930
36931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36932 ac_ext=c
36933 ac_cpp='$CPP $CPPFLAGS'
36934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36937
36938
36939 fi
36940 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36941 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36942
36943 if test "$wx_cv_func_statfs_decl" = "yes"; then
36944 cat >>confdefs.h <<\_ACEOF
36945 #define HAVE_STATFS_DECL 1
36946 _ACEOF
36947
36948 fi
36949
36950 wx_cv_type_statvfs_t="struct statfs"
36951 cat >>confdefs.h <<\_ACEOF
36952 #define HAVE_STATFS 1
36953 _ACEOF
36954
36955 else
36956 { echo "$as_me:$LINENO: checking for statvfs" >&5
36957 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36958 if test "${wx_cv_func_statvfs+set}" = set; then
36959 echo $ECHO_N "(cached) $ECHO_C" >&6
36960 else
36961 cat >conftest.$ac_ext <<_ACEOF
36962 /* confdefs.h. */
36963 _ACEOF
36964 cat confdefs.h >>conftest.$ac_ext
36965 cat >>conftest.$ac_ext <<_ACEOF
36966 /* end confdefs.h. */
36967
36968 #include <stddef.h>
36969 #include <sys/statvfs.h>
36970
36971 int
36972 main ()
36973 {
36974
36975 statvfs("/", NULL);
36976
36977 ;
36978 return 0;
36979 }
36980 _ACEOF
36981 rm -f conftest.$ac_objext
36982 if { (ac_try="$ac_compile"
36983 case "(($ac_try" in
36984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36985 *) ac_try_echo=$ac_try;;
36986 esac
36987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36988 (eval "$ac_compile") 2>conftest.er1
36989 ac_status=$?
36990 grep -v '^ *+' conftest.er1 >conftest.err
36991 rm -f conftest.er1
36992 cat conftest.err >&5
36993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36994 (exit $ac_status); } && {
36995 test -z "$ac_c_werror_flag" ||
36996 test ! -s conftest.err
36997 } && test -s conftest.$ac_objext; then
36998 wx_cv_func_statvfs=yes
36999 else
37000 echo "$as_me: failed program was:" >&5
37001 sed 's/^/| /' conftest.$ac_ext >&5
37002
37003 wx_cv_func_statvfs=no
37004
37005 fi
37006
37007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37008
37009 fi
37010 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37011 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
37012
37013 if test "$wx_cv_func_statvfs" = "yes"; then
37014 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37015 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
37016 if test "${wx_cv_type_statvfs_t+set}" = set; then
37017 echo $ECHO_N "(cached) $ECHO_C" >&6
37018 else
37019 ac_ext=cpp
37020 ac_cpp='$CXXCPP $CPPFLAGS'
37021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37024
37025 cat >conftest.$ac_ext <<_ACEOF
37026 /* confdefs.h. */
37027 _ACEOF
37028 cat confdefs.h >>conftest.$ac_ext
37029 cat >>conftest.$ac_ext <<_ACEOF
37030 /* end confdefs.h. */
37031
37032 #include <sys/statvfs.h>
37033
37034 int
37035 main ()
37036 {
37037
37038 long l;
37039 statvfs_t fs;
37040 statvfs("/", &fs);
37041 l = fs.f_bsize;
37042 l += fs.f_blocks;
37043 l += fs.f_bavail;
37044
37045 ;
37046 return 0;
37047 }
37048 _ACEOF
37049 rm -f conftest.$ac_objext
37050 if { (ac_try="$ac_compile"
37051 case "(($ac_try" in
37052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37053 *) ac_try_echo=$ac_try;;
37054 esac
37055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37056 (eval "$ac_compile") 2>conftest.er1
37057 ac_status=$?
37058 grep -v '^ *+' conftest.er1 >conftest.err
37059 rm -f conftest.er1
37060 cat conftest.err >&5
37061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37062 (exit $ac_status); } && {
37063 test -z "$ac_cxx_werror_flag" ||
37064 test ! -s conftest.err
37065 } && test -s conftest.$ac_objext; then
37066 wx_cv_type_statvfs_t=statvfs_t
37067 else
37068 echo "$as_me: failed program was:" >&5
37069 sed 's/^/| /' conftest.$ac_ext >&5
37070
37071
37072 cat >conftest.$ac_ext <<_ACEOF
37073 /* confdefs.h. */
37074 _ACEOF
37075 cat confdefs.h >>conftest.$ac_ext
37076 cat >>conftest.$ac_ext <<_ACEOF
37077 /* end confdefs.h. */
37078
37079 #include <sys/statvfs.h>
37080
37081 int
37082 main ()
37083 {
37084
37085 long l;
37086 struct statvfs fs;
37087 statvfs("/", &fs);
37088 l = fs.f_bsize;
37089 l += fs.f_blocks;
37090 l += fs.f_bavail;
37091
37092 ;
37093 return 0;
37094 }
37095 _ACEOF
37096 rm -f conftest.$ac_objext
37097 if { (ac_try="$ac_compile"
37098 case "(($ac_try" in
37099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37100 *) ac_try_echo=$ac_try;;
37101 esac
37102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37103 (eval "$ac_compile") 2>conftest.er1
37104 ac_status=$?
37105 grep -v '^ *+' conftest.er1 >conftest.err
37106 rm -f conftest.er1
37107 cat conftest.err >&5
37108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37109 (exit $ac_status); } && {
37110 test -z "$ac_cxx_werror_flag" ||
37111 test ! -s conftest.err
37112 } && test -s conftest.$ac_objext; then
37113 wx_cv_type_statvfs_t="struct statvfs"
37114 else
37115 echo "$as_me: failed program was:" >&5
37116 sed 's/^/| /' conftest.$ac_ext >&5
37117
37118 wx_cv_type_statvfs_t="unknown"
37119
37120 fi
37121
37122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37123
37124
37125 fi
37126
37127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37128 ac_ext=c
37129 ac_cpp='$CPP $CPPFLAGS'
37130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37133
37134
37135 fi
37136 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37137 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37138
37139 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37140 cat >>confdefs.h <<\_ACEOF
37141 #define HAVE_STATVFS 1
37142 _ACEOF
37143
37144 fi
37145 else
37146 wx_cv_type_statvfs_t="unknown"
37147 fi
37148 fi
37149
37150 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37151 cat >>confdefs.h <<_ACEOF
37152 #define WX_STATFS_T $wx_cv_type_statvfs_t
37153 _ACEOF
37154
37155 else
37156 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37157 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37158 fi
37159
37160 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37161
37162
37163 for ac_func in fcntl flock
37164 do
37165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37166 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37168 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37169 echo $ECHO_N "(cached) $ECHO_C" >&6
37170 else
37171 cat >conftest.$ac_ext <<_ACEOF
37172 /* confdefs.h. */
37173 _ACEOF
37174 cat confdefs.h >>conftest.$ac_ext
37175 cat >>conftest.$ac_ext <<_ACEOF
37176 /* end confdefs.h. */
37177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37179 #define $ac_func innocuous_$ac_func
37180
37181 /* System header to define __stub macros and hopefully few prototypes,
37182 which can conflict with char $ac_func (); below.
37183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37184 <limits.h> exists even on freestanding compilers. */
37185
37186 #ifdef __STDC__
37187 # include <limits.h>
37188 #else
37189 # include <assert.h>
37190 #endif
37191
37192 #undef $ac_func
37193
37194 /* Override any GCC internal prototype to avoid an error.
37195 Use char because int might match the return type of a GCC
37196 builtin and then its argument prototype would still apply. */
37197 #ifdef __cplusplus
37198 extern "C"
37199 #endif
37200 char $ac_func ();
37201 /* The GNU C library defines this for functions which it implements
37202 to always fail with ENOSYS. Some functions are actually named
37203 something starting with __ and the normal name is an alias. */
37204 #if defined __stub_$ac_func || defined __stub___$ac_func
37205 choke me
37206 #endif
37207
37208 int
37209 main ()
37210 {
37211 return $ac_func ();
37212 ;
37213 return 0;
37214 }
37215 _ACEOF
37216 rm -f conftest.$ac_objext conftest$ac_exeext
37217 if { (ac_try="$ac_link"
37218 case "(($ac_try" in
37219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37220 *) ac_try_echo=$ac_try;;
37221 esac
37222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37223 (eval "$ac_link") 2>conftest.er1
37224 ac_status=$?
37225 grep -v '^ *+' conftest.er1 >conftest.err
37226 rm -f conftest.er1
37227 cat conftest.err >&5
37228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37229 (exit $ac_status); } && {
37230 test -z "$ac_c_werror_flag" ||
37231 test ! -s conftest.err
37232 } && test -s conftest$ac_exeext &&
37233 $as_test_x conftest$ac_exeext; then
37234 eval "$as_ac_var=yes"
37235 else
37236 echo "$as_me: failed program was:" >&5
37237 sed 's/^/| /' conftest.$ac_ext >&5
37238
37239 eval "$as_ac_var=no"
37240 fi
37241
37242 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37243 conftest$ac_exeext conftest.$ac_ext
37244 fi
37245 ac_res=`eval echo '${'$as_ac_var'}'`
37246 { echo "$as_me:$LINENO: result: $ac_res" >&5
37247 echo "${ECHO_T}$ac_res" >&6; }
37248 if test `eval echo '${'$as_ac_var'}'` = yes; then
37249 cat >>confdefs.h <<_ACEOF
37250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37251 _ACEOF
37252 break
37253 fi
37254 done
37255
37256
37257 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37258 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37259 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37260 wxUSE_SNGLINST_CHECKER=no
37261 fi
37262 fi
37263
37264
37265
37266 for ac_func in setenv putenv
37267 do
37268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37269 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37271 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37272 echo $ECHO_N "(cached) $ECHO_C" >&6
37273 else
37274 cat >conftest.$ac_ext <<_ACEOF
37275 /* confdefs.h. */
37276 _ACEOF
37277 cat confdefs.h >>conftest.$ac_ext
37278 cat >>conftest.$ac_ext <<_ACEOF
37279 /* end confdefs.h. */
37280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37282 #define $ac_func innocuous_$ac_func
37283
37284 /* System header to define __stub macros and hopefully few prototypes,
37285 which can conflict with char $ac_func (); below.
37286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37287 <limits.h> exists even on freestanding compilers. */
37288
37289 #ifdef __STDC__
37290 # include <limits.h>
37291 #else
37292 # include <assert.h>
37293 #endif
37294
37295 #undef $ac_func
37296
37297 /* Override any GCC internal prototype to avoid an error.
37298 Use char because int might match the return type of a GCC
37299 builtin and then its argument prototype would still apply. */
37300 #ifdef __cplusplus
37301 extern "C"
37302 #endif
37303 char $ac_func ();
37304 /* The GNU C library defines this for functions which it implements
37305 to always fail with ENOSYS. Some functions are actually named
37306 something starting with __ and the normal name is an alias. */
37307 #if defined __stub_$ac_func || defined __stub___$ac_func
37308 choke me
37309 #endif
37310
37311 int
37312 main ()
37313 {
37314 return $ac_func ();
37315 ;
37316 return 0;
37317 }
37318 _ACEOF
37319 rm -f conftest.$ac_objext conftest$ac_exeext
37320 if { (ac_try="$ac_link"
37321 case "(($ac_try" in
37322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37323 *) ac_try_echo=$ac_try;;
37324 esac
37325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37326 (eval "$ac_link") 2>conftest.er1
37327 ac_status=$?
37328 grep -v '^ *+' conftest.er1 >conftest.err
37329 rm -f conftest.er1
37330 cat conftest.err >&5
37331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37332 (exit $ac_status); } && {
37333 test -z "$ac_c_werror_flag" ||
37334 test ! -s conftest.err
37335 } && test -s conftest$ac_exeext &&
37336 $as_test_x conftest$ac_exeext; then
37337 eval "$as_ac_var=yes"
37338 else
37339 echo "$as_me: failed program was:" >&5
37340 sed 's/^/| /' conftest.$ac_ext >&5
37341
37342 eval "$as_ac_var=no"
37343 fi
37344
37345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37346 conftest$ac_exeext conftest.$ac_ext
37347 fi
37348 ac_res=`eval echo '${'$as_ac_var'}'`
37349 { echo "$as_me:$LINENO: result: $ac_res" >&5
37350 echo "${ECHO_T}$ac_res" >&6; }
37351 if test `eval echo '${'$as_ac_var'}'` = yes; then
37352 cat >>confdefs.h <<_ACEOF
37353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37354 _ACEOF
37355 break
37356 fi
37357 done
37358
37359 if test "$ac_cv_func_setenv" = "yes"; then
37360
37361 for ac_func in unsetenv
37362 do
37363 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37364 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37365 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37366 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37367 echo $ECHO_N "(cached) $ECHO_C" >&6
37368 else
37369 cat >conftest.$ac_ext <<_ACEOF
37370 /* confdefs.h. */
37371 _ACEOF
37372 cat confdefs.h >>conftest.$ac_ext
37373 cat >>conftest.$ac_ext <<_ACEOF
37374 /* end confdefs.h. */
37375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37377 #define $ac_func innocuous_$ac_func
37378
37379 /* System header to define __stub macros and hopefully few prototypes,
37380 which can conflict with char $ac_func (); below.
37381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37382 <limits.h> exists even on freestanding compilers. */
37383
37384 #ifdef __STDC__
37385 # include <limits.h>
37386 #else
37387 # include <assert.h>
37388 #endif
37389
37390 #undef $ac_func
37391
37392 /* Override any GCC internal prototype to avoid an error.
37393 Use char because int might match the return type of a GCC
37394 builtin and then its argument prototype would still apply. */
37395 #ifdef __cplusplus
37396 extern "C"
37397 #endif
37398 char $ac_func ();
37399 /* The GNU C library defines this for functions which it implements
37400 to always fail with ENOSYS. Some functions are actually named
37401 something starting with __ and the normal name is an alias. */
37402 #if defined __stub_$ac_func || defined __stub___$ac_func
37403 choke me
37404 #endif
37405
37406 int
37407 main ()
37408 {
37409 return $ac_func ();
37410 ;
37411 return 0;
37412 }
37413 _ACEOF
37414 rm -f conftest.$ac_objext conftest$ac_exeext
37415 if { (ac_try="$ac_link"
37416 case "(($ac_try" in
37417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37418 *) ac_try_echo=$ac_try;;
37419 esac
37420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37421 (eval "$ac_link") 2>conftest.er1
37422 ac_status=$?
37423 grep -v '^ *+' conftest.er1 >conftest.err
37424 rm -f conftest.er1
37425 cat conftest.err >&5
37426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37427 (exit $ac_status); } && {
37428 test -z "$ac_c_werror_flag" ||
37429 test ! -s conftest.err
37430 } && test -s conftest$ac_exeext &&
37431 $as_test_x conftest$ac_exeext; then
37432 eval "$as_ac_var=yes"
37433 else
37434 echo "$as_me: failed program was:" >&5
37435 sed 's/^/| /' conftest.$ac_ext >&5
37436
37437 eval "$as_ac_var=no"
37438 fi
37439
37440 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37441 conftest$ac_exeext conftest.$ac_ext
37442 fi
37443 ac_res=`eval echo '${'$as_ac_var'}'`
37444 { echo "$as_me:$LINENO: result: $ac_res" >&5
37445 echo "${ECHO_T}$ac_res" >&6; }
37446 if test `eval echo '${'$as_ac_var'}'` = yes; then
37447 cat >>confdefs.h <<_ACEOF
37448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37449 _ACEOF
37450
37451 fi
37452 done
37453
37454 fi
37455
37456 HAVE_SOME_SLEEP_FUNC=0
37457 if test "$USE_BEOS" = 1; then
37458 cat >>confdefs.h <<\_ACEOF
37459 #define HAVE_SLEEP 1
37460 _ACEOF
37461
37462 HAVE_SOME_SLEEP_FUNC=1
37463 fi
37464
37465 if test "$USE_DARWIN" = 1; then
37466 cat >>confdefs.h <<\_ACEOF
37467 #define HAVE_USLEEP 1
37468 _ACEOF
37469
37470 HAVE_SOME_SLEEP_FUNC=1
37471 fi
37472
37473 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37474 POSIX4_LINK=
37475
37476 for ac_func in nanosleep
37477 do
37478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37479 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37481 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37482 echo $ECHO_N "(cached) $ECHO_C" >&6
37483 else
37484 cat >conftest.$ac_ext <<_ACEOF
37485 /* confdefs.h. */
37486 _ACEOF
37487 cat confdefs.h >>conftest.$ac_ext
37488 cat >>conftest.$ac_ext <<_ACEOF
37489 /* end confdefs.h. */
37490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37492 #define $ac_func innocuous_$ac_func
37493
37494 /* System header to define __stub macros and hopefully few prototypes,
37495 which can conflict with char $ac_func (); below.
37496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37497 <limits.h> exists even on freestanding compilers. */
37498
37499 #ifdef __STDC__
37500 # include <limits.h>
37501 #else
37502 # include <assert.h>
37503 #endif
37504
37505 #undef $ac_func
37506
37507 /* Override any GCC internal prototype to avoid an error.
37508 Use char because int might match the return type of a GCC
37509 builtin and then its argument prototype would still apply. */
37510 #ifdef __cplusplus
37511 extern "C"
37512 #endif
37513 char $ac_func ();
37514 /* The GNU C library defines this for functions which it implements
37515 to always fail with ENOSYS. Some functions are actually named
37516 something starting with __ and the normal name is an alias. */
37517 #if defined __stub_$ac_func || defined __stub___$ac_func
37518 choke me
37519 #endif
37520
37521 int
37522 main ()
37523 {
37524 return $ac_func ();
37525 ;
37526 return 0;
37527 }
37528 _ACEOF
37529 rm -f conftest.$ac_objext conftest$ac_exeext
37530 if { (ac_try="$ac_link"
37531 case "(($ac_try" in
37532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37533 *) ac_try_echo=$ac_try;;
37534 esac
37535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37536 (eval "$ac_link") 2>conftest.er1
37537 ac_status=$?
37538 grep -v '^ *+' conftest.er1 >conftest.err
37539 rm -f conftest.er1
37540 cat conftest.err >&5
37541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37542 (exit $ac_status); } && {
37543 test -z "$ac_c_werror_flag" ||
37544 test ! -s conftest.err
37545 } && test -s conftest$ac_exeext &&
37546 $as_test_x conftest$ac_exeext; then
37547 eval "$as_ac_var=yes"
37548 else
37549 echo "$as_me: failed program was:" >&5
37550 sed 's/^/| /' conftest.$ac_ext >&5
37551
37552 eval "$as_ac_var=no"
37553 fi
37554
37555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37556 conftest$ac_exeext conftest.$ac_ext
37557 fi
37558 ac_res=`eval echo '${'$as_ac_var'}'`
37559 { echo "$as_me:$LINENO: result: $ac_res" >&5
37560 echo "${ECHO_T}$ac_res" >&6; }
37561 if test `eval echo '${'$as_ac_var'}'` = yes; then
37562 cat >>confdefs.h <<_ACEOF
37563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37564 _ACEOF
37565 cat >>confdefs.h <<\_ACEOF
37566 #define HAVE_NANOSLEEP 1
37567 _ACEOF
37568
37569 else
37570
37571 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37572 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37573 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37574 echo $ECHO_N "(cached) $ECHO_C" >&6
37575 else
37576 ac_check_lib_save_LIBS=$LIBS
37577 LIBS="-lposix4 $LIBS"
37578 cat >conftest.$ac_ext <<_ACEOF
37579 /* confdefs.h. */
37580 _ACEOF
37581 cat confdefs.h >>conftest.$ac_ext
37582 cat >>conftest.$ac_ext <<_ACEOF
37583 /* end confdefs.h. */
37584
37585 /* Override any GCC internal prototype to avoid an error.
37586 Use char because int might match the return type of a GCC
37587 builtin and then its argument prototype would still apply. */
37588 #ifdef __cplusplus
37589 extern "C"
37590 #endif
37591 char nanosleep ();
37592 int
37593 main ()
37594 {
37595 return nanosleep ();
37596 ;
37597 return 0;
37598 }
37599 _ACEOF
37600 rm -f conftest.$ac_objext conftest$ac_exeext
37601 if { (ac_try="$ac_link"
37602 case "(($ac_try" in
37603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37604 *) ac_try_echo=$ac_try;;
37605 esac
37606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37607 (eval "$ac_link") 2>conftest.er1
37608 ac_status=$?
37609 grep -v '^ *+' conftest.er1 >conftest.err
37610 rm -f conftest.er1
37611 cat conftest.err >&5
37612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37613 (exit $ac_status); } && {
37614 test -z "$ac_c_werror_flag" ||
37615 test ! -s conftest.err
37616 } && test -s conftest$ac_exeext &&
37617 $as_test_x conftest$ac_exeext; then
37618 ac_cv_lib_posix4_nanosleep=yes
37619 else
37620 echo "$as_me: failed program was:" >&5
37621 sed 's/^/| /' conftest.$ac_ext >&5
37622
37623 ac_cv_lib_posix4_nanosleep=no
37624 fi
37625
37626 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37627 conftest$ac_exeext conftest.$ac_ext
37628 LIBS=$ac_check_lib_save_LIBS
37629 fi
37630 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37631 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37632 if test $ac_cv_lib_posix4_nanosleep = yes; then
37633
37634 cat >>confdefs.h <<\_ACEOF
37635 #define HAVE_NANOSLEEP 1
37636 _ACEOF
37637
37638 POSIX4_LINK=" -lposix4"
37639
37640 else
37641
37642
37643 for wx_func in usleep
37644 do
37645 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37646 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37647 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37648 echo $ECHO_N "(cached) $ECHO_C" >&6
37649 else
37650
37651 cat >conftest.$ac_ext <<_ACEOF
37652
37653 /* confdefs.h. */
37654 _ACEOF
37655 cat confdefs.h >>conftest.$ac_ext
37656 cat >>conftest.$ac_ext <<_ACEOF
37657 /* end confdefs.h. */
37658
37659
37660 $ac_includes_default
37661
37662 int
37663 main ()
37664 {
37665
37666 #ifndef $wx_func
37667 &$wx_func;
37668 #endif
37669
37670
37671 ;
37672 return 0;
37673 }
37674
37675 _ACEOF
37676 rm -f conftest.$ac_objext conftest$ac_exeext
37677 if { (ac_try="$ac_link"
37678 case "(($ac_try" in
37679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37680 *) ac_try_echo=$ac_try;;
37681 esac
37682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37683 (eval "$ac_link") 2>conftest.er1
37684 ac_status=$?
37685 grep -v '^ *+' conftest.er1 >conftest.err
37686 rm -f conftest.er1
37687 cat conftest.err >&5
37688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37689 (exit $ac_status); } && {
37690 test -z "$ac_c_werror_flag" ||
37691 test ! -s conftest.err
37692 } && test -s conftest$ac_exeext &&
37693 $as_test_x conftest$ac_exeext; then
37694 eval wx_cv_func_$wx_func=yes
37695 else
37696 echo "$as_me: failed program was:" >&5
37697 sed 's/^/| /' conftest.$ac_ext >&5
37698
37699 eval wx_cv_func_$wx_func=no
37700 fi
37701
37702 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37703 conftest$ac_exeext conftest.$ac_ext
37704
37705 fi
37706 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37707 { echo "$as_me:$LINENO: result: $ac_res" >&5
37708 echo "${ECHO_T}$ac_res" >&6; }
37709
37710 if eval test \$wx_cv_func_$wx_func = yes
37711 then
37712 cat >>confdefs.h <<_ACEOF
37713 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37714 _ACEOF
37715
37716
37717 else
37718 :
37719 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37720 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37721
37722 fi
37723 done
37724
37725
37726
37727 fi
37728
37729
37730
37731 fi
37732 done
37733
37734 fi
37735
37736
37737 for wx_func in uname
37738 do
37739 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37740 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37741 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37742 echo $ECHO_N "(cached) $ECHO_C" >&6
37743 else
37744
37745 cat >conftest.$ac_ext <<_ACEOF
37746
37747 /* confdefs.h. */
37748 _ACEOF
37749 cat confdefs.h >>conftest.$ac_ext
37750 cat >>conftest.$ac_ext <<_ACEOF
37751 /* end confdefs.h. */
37752
37753 #include <sys/utsname.h>
37754 $ac_includes_default
37755
37756 int
37757 main ()
37758 {
37759
37760 #ifndef $wx_func
37761 &$wx_func;
37762 #endif
37763
37764
37765 ;
37766 return 0;
37767 }
37768
37769 _ACEOF
37770 rm -f conftest.$ac_objext conftest$ac_exeext
37771 if { (ac_try="$ac_link"
37772 case "(($ac_try" in
37773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37774 *) ac_try_echo=$ac_try;;
37775 esac
37776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37777 (eval "$ac_link") 2>conftest.er1
37778 ac_status=$?
37779 grep -v '^ *+' conftest.er1 >conftest.err
37780 rm -f conftest.er1
37781 cat conftest.err >&5
37782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37783 (exit $ac_status); } && {
37784 test -z "$ac_c_werror_flag" ||
37785 test ! -s conftest.err
37786 } && test -s conftest$ac_exeext &&
37787 $as_test_x conftest$ac_exeext; then
37788 eval wx_cv_func_$wx_func=yes
37789 else
37790 echo "$as_me: failed program was:" >&5
37791 sed 's/^/| /' conftest.$ac_ext >&5
37792
37793 eval wx_cv_func_$wx_func=no
37794 fi
37795
37796 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37797 conftest$ac_exeext conftest.$ac_ext
37798
37799 fi
37800 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37801 { echo "$as_me:$LINENO: result: $ac_res" >&5
37802 echo "${ECHO_T}$ac_res" >&6; }
37803
37804 if eval test \$wx_cv_func_$wx_func = yes
37805 then
37806 cat >>confdefs.h <<_ACEOF
37807 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37808 _ACEOF
37809
37810
37811 else
37812 :
37813
37814 fi
37815 done
37816
37817 if test "$wx_cv_func_uname" != yes; then
37818
37819 for wx_func in gethostname
37820 do
37821 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37822 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37823 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37824 echo $ECHO_N "(cached) $ECHO_C" >&6
37825 else
37826
37827 cat >conftest.$ac_ext <<_ACEOF
37828
37829 /* confdefs.h. */
37830 _ACEOF
37831 cat confdefs.h >>conftest.$ac_ext
37832 cat >>conftest.$ac_ext <<_ACEOF
37833 /* end confdefs.h. */
37834
37835
37836 $ac_includes_default
37837
37838 int
37839 main ()
37840 {
37841
37842 #ifndef $wx_func
37843 &$wx_func;
37844 #endif
37845
37846
37847 ;
37848 return 0;
37849 }
37850
37851 _ACEOF
37852 rm -f conftest.$ac_objext conftest$ac_exeext
37853 if { (ac_try="$ac_link"
37854 case "(($ac_try" in
37855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37856 *) ac_try_echo=$ac_try;;
37857 esac
37858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37859 (eval "$ac_link") 2>conftest.er1
37860 ac_status=$?
37861 grep -v '^ *+' conftest.er1 >conftest.err
37862 rm -f conftest.er1
37863 cat conftest.err >&5
37864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37865 (exit $ac_status); } && {
37866 test -z "$ac_c_werror_flag" ||
37867 test ! -s conftest.err
37868 } && test -s conftest$ac_exeext &&
37869 $as_test_x conftest$ac_exeext; then
37870 eval wx_cv_func_$wx_func=yes
37871 else
37872 echo "$as_me: failed program was:" >&5
37873 sed 's/^/| /' conftest.$ac_ext >&5
37874
37875 eval wx_cv_func_$wx_func=no
37876 fi
37877
37878 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37879 conftest$ac_exeext conftest.$ac_ext
37880
37881 fi
37882 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37883 { echo "$as_me:$LINENO: result: $ac_res" >&5
37884 echo "${ECHO_T}$ac_res" >&6; }
37885
37886 if eval test \$wx_cv_func_$wx_func = yes
37887 then
37888 cat >>confdefs.h <<_ACEOF
37889 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37890 _ACEOF
37891
37892
37893 else
37894 :
37895
37896 fi
37897 done
37898
37899 fi
37900
37901
37902 for wx_func in strtok_r
37903 do
37904 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37905 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37906 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37907 echo $ECHO_N "(cached) $ECHO_C" >&6
37908 else
37909
37910 cat >conftest.$ac_ext <<_ACEOF
37911
37912 /* confdefs.h. */
37913 _ACEOF
37914 cat confdefs.h >>conftest.$ac_ext
37915 cat >>conftest.$ac_ext <<_ACEOF
37916 /* end confdefs.h. */
37917
37918 #define _REENTRANT
37919 $ac_includes_default
37920
37921 int
37922 main ()
37923 {
37924
37925 #ifndef $wx_func
37926 &$wx_func;
37927 #endif
37928
37929
37930 ;
37931 return 0;
37932 }
37933
37934 _ACEOF
37935 rm -f conftest.$ac_objext conftest$ac_exeext
37936 if { (ac_try="$ac_link"
37937 case "(($ac_try" in
37938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37939 *) ac_try_echo=$ac_try;;
37940 esac
37941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37942 (eval "$ac_link") 2>conftest.er1
37943 ac_status=$?
37944 grep -v '^ *+' conftest.er1 >conftest.err
37945 rm -f conftest.er1
37946 cat conftest.err >&5
37947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37948 (exit $ac_status); } && {
37949 test -z "$ac_c_werror_flag" ||
37950 test ! -s conftest.err
37951 } && test -s conftest$ac_exeext &&
37952 $as_test_x conftest$ac_exeext; then
37953 eval wx_cv_func_$wx_func=yes
37954 else
37955 echo "$as_me: failed program was:" >&5
37956 sed 's/^/| /' conftest.$ac_ext >&5
37957
37958 eval wx_cv_func_$wx_func=no
37959 fi
37960
37961 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37962 conftest$ac_exeext conftest.$ac_ext
37963
37964 fi
37965 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37966 { echo "$as_me:$LINENO: result: $ac_res" >&5
37967 echo "${ECHO_T}$ac_res" >&6; }
37968
37969 if eval test \$wx_cv_func_$wx_func = yes
37970 then
37971 cat >>confdefs.h <<_ACEOF
37972 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37973 _ACEOF
37974
37975
37976 else
37977 :
37978
37979 fi
37980 done
37981
37982
37983 INET_LINK=
37984
37985 for ac_func in inet_addr
37986 do
37987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37988 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37990 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37991 echo $ECHO_N "(cached) $ECHO_C" >&6
37992 else
37993 cat >conftest.$ac_ext <<_ACEOF
37994 /* confdefs.h. */
37995 _ACEOF
37996 cat confdefs.h >>conftest.$ac_ext
37997 cat >>conftest.$ac_ext <<_ACEOF
37998 /* end confdefs.h. */
37999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38001 #define $ac_func innocuous_$ac_func
38002
38003 /* System header to define __stub macros and hopefully few prototypes,
38004 which can conflict with char $ac_func (); below.
38005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38006 <limits.h> exists even on freestanding compilers. */
38007
38008 #ifdef __STDC__
38009 # include <limits.h>
38010 #else
38011 # include <assert.h>
38012 #endif
38013
38014 #undef $ac_func
38015
38016 /* Override any GCC internal prototype to avoid an error.
38017 Use char because int might match the return type of a GCC
38018 builtin and then its argument prototype would still apply. */
38019 #ifdef __cplusplus
38020 extern "C"
38021 #endif
38022 char $ac_func ();
38023 /* The GNU C library defines this for functions which it implements
38024 to always fail with ENOSYS. Some functions are actually named
38025 something starting with __ and the normal name is an alias. */
38026 #if defined __stub_$ac_func || defined __stub___$ac_func
38027 choke me
38028 #endif
38029
38030 int
38031 main ()
38032 {
38033 return $ac_func ();
38034 ;
38035 return 0;
38036 }
38037 _ACEOF
38038 rm -f conftest.$ac_objext conftest$ac_exeext
38039 if { (ac_try="$ac_link"
38040 case "(($ac_try" in
38041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38042 *) ac_try_echo=$ac_try;;
38043 esac
38044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38045 (eval "$ac_link") 2>conftest.er1
38046 ac_status=$?
38047 grep -v '^ *+' conftest.er1 >conftest.err
38048 rm -f conftest.er1
38049 cat conftest.err >&5
38050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38051 (exit $ac_status); } && {
38052 test -z "$ac_c_werror_flag" ||
38053 test ! -s conftest.err
38054 } && test -s conftest$ac_exeext &&
38055 $as_test_x conftest$ac_exeext; then
38056 eval "$as_ac_var=yes"
38057 else
38058 echo "$as_me: failed program was:" >&5
38059 sed 's/^/| /' conftest.$ac_ext >&5
38060
38061 eval "$as_ac_var=no"
38062 fi
38063
38064 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38065 conftest$ac_exeext conftest.$ac_ext
38066 fi
38067 ac_res=`eval echo '${'$as_ac_var'}'`
38068 { echo "$as_me:$LINENO: result: $ac_res" >&5
38069 echo "${ECHO_T}$ac_res" >&6; }
38070 if test `eval echo '${'$as_ac_var'}'` = yes; then
38071 cat >>confdefs.h <<_ACEOF
38072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38073 _ACEOF
38074 cat >>confdefs.h <<\_ACEOF
38075 #define HAVE_INET_ADDR 1
38076 _ACEOF
38077
38078 else
38079
38080 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38081 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38082 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38083 echo $ECHO_N "(cached) $ECHO_C" >&6
38084 else
38085 ac_check_lib_save_LIBS=$LIBS
38086 LIBS="-lnsl $LIBS"
38087 cat >conftest.$ac_ext <<_ACEOF
38088 /* confdefs.h. */
38089 _ACEOF
38090 cat confdefs.h >>conftest.$ac_ext
38091 cat >>conftest.$ac_ext <<_ACEOF
38092 /* end confdefs.h. */
38093
38094 /* Override any GCC internal prototype to avoid an error.
38095 Use char because int might match the return type of a GCC
38096 builtin and then its argument prototype would still apply. */
38097 #ifdef __cplusplus
38098 extern "C"
38099 #endif
38100 char inet_addr ();
38101 int
38102 main ()
38103 {
38104 return inet_addr ();
38105 ;
38106 return 0;
38107 }
38108 _ACEOF
38109 rm -f conftest.$ac_objext conftest$ac_exeext
38110 if { (ac_try="$ac_link"
38111 case "(($ac_try" in
38112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38113 *) ac_try_echo=$ac_try;;
38114 esac
38115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38116 (eval "$ac_link") 2>conftest.er1
38117 ac_status=$?
38118 grep -v '^ *+' conftest.er1 >conftest.err
38119 rm -f conftest.er1
38120 cat conftest.err >&5
38121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38122 (exit $ac_status); } && {
38123 test -z "$ac_c_werror_flag" ||
38124 test ! -s conftest.err
38125 } && test -s conftest$ac_exeext &&
38126 $as_test_x conftest$ac_exeext; then
38127 ac_cv_lib_nsl_inet_addr=yes
38128 else
38129 echo "$as_me: failed program was:" >&5
38130 sed 's/^/| /' conftest.$ac_ext >&5
38131
38132 ac_cv_lib_nsl_inet_addr=no
38133 fi
38134
38135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38136 conftest$ac_exeext conftest.$ac_ext
38137 LIBS=$ac_check_lib_save_LIBS
38138 fi
38139 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38140 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38141 if test $ac_cv_lib_nsl_inet_addr = yes; then
38142 INET_LINK="nsl"
38143 else
38144
38145 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38146 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38147 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38148 echo $ECHO_N "(cached) $ECHO_C" >&6
38149 else
38150 ac_check_lib_save_LIBS=$LIBS
38151 LIBS="-lresolv $LIBS"
38152 cat >conftest.$ac_ext <<_ACEOF
38153 /* confdefs.h. */
38154 _ACEOF
38155 cat confdefs.h >>conftest.$ac_ext
38156 cat >>conftest.$ac_ext <<_ACEOF
38157 /* end confdefs.h. */
38158
38159 /* Override any GCC internal prototype to avoid an error.
38160 Use char because int might match the return type of a GCC
38161 builtin and then its argument prototype would still apply. */
38162 #ifdef __cplusplus
38163 extern "C"
38164 #endif
38165 char inet_addr ();
38166 int
38167 main ()
38168 {
38169 return inet_addr ();
38170 ;
38171 return 0;
38172 }
38173 _ACEOF
38174 rm -f conftest.$ac_objext conftest$ac_exeext
38175 if { (ac_try="$ac_link"
38176 case "(($ac_try" in
38177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38178 *) ac_try_echo=$ac_try;;
38179 esac
38180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38181 (eval "$ac_link") 2>conftest.er1
38182 ac_status=$?
38183 grep -v '^ *+' conftest.er1 >conftest.err
38184 rm -f conftest.er1
38185 cat conftest.err >&5
38186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38187 (exit $ac_status); } && {
38188 test -z "$ac_c_werror_flag" ||
38189 test ! -s conftest.err
38190 } && test -s conftest$ac_exeext &&
38191 $as_test_x conftest$ac_exeext; then
38192 ac_cv_lib_resolv_inet_addr=yes
38193 else
38194 echo "$as_me: failed program was:" >&5
38195 sed 's/^/| /' conftest.$ac_ext >&5
38196
38197 ac_cv_lib_resolv_inet_addr=no
38198 fi
38199
38200 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38201 conftest$ac_exeext conftest.$ac_ext
38202 LIBS=$ac_check_lib_save_LIBS
38203 fi
38204 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38205 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38206 if test $ac_cv_lib_resolv_inet_addr = yes; then
38207 INET_LINK="resolv"
38208 else
38209
38210 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38211 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38212 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38213 echo $ECHO_N "(cached) $ECHO_C" >&6
38214 else
38215 ac_check_lib_save_LIBS=$LIBS
38216 LIBS="-lsocket $LIBS"
38217 cat >conftest.$ac_ext <<_ACEOF
38218 /* confdefs.h. */
38219 _ACEOF
38220 cat confdefs.h >>conftest.$ac_ext
38221 cat >>conftest.$ac_ext <<_ACEOF
38222 /* end confdefs.h. */
38223
38224 /* Override any GCC internal prototype to avoid an error.
38225 Use char because int might match the return type of a GCC
38226 builtin and then its argument prototype would still apply. */
38227 #ifdef __cplusplus
38228 extern "C"
38229 #endif
38230 char inet_addr ();
38231 int
38232 main ()
38233 {
38234 return inet_addr ();
38235 ;
38236 return 0;
38237 }
38238 _ACEOF
38239 rm -f conftest.$ac_objext conftest$ac_exeext
38240 if { (ac_try="$ac_link"
38241 case "(($ac_try" in
38242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38243 *) ac_try_echo=$ac_try;;
38244 esac
38245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38246 (eval "$ac_link") 2>conftest.er1
38247 ac_status=$?
38248 grep -v '^ *+' conftest.er1 >conftest.err
38249 rm -f conftest.er1
38250 cat conftest.err >&5
38251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38252 (exit $ac_status); } && {
38253 test -z "$ac_c_werror_flag" ||
38254 test ! -s conftest.err
38255 } && test -s conftest$ac_exeext &&
38256 $as_test_x conftest$ac_exeext; then
38257 ac_cv_lib_socket_inet_addr=yes
38258 else
38259 echo "$as_me: failed program was:" >&5
38260 sed 's/^/| /' conftest.$ac_ext >&5
38261
38262 ac_cv_lib_socket_inet_addr=no
38263 fi
38264
38265 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38266 conftest$ac_exeext conftest.$ac_ext
38267 LIBS=$ac_check_lib_save_LIBS
38268 fi
38269 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38270 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38271 if test $ac_cv_lib_socket_inet_addr = yes; then
38272 INET_LINK="socket"
38273
38274 fi
38275
38276
38277
38278 fi
38279
38280
38281
38282 fi
38283
38284
38285
38286 fi
38287 done
38288
38289
38290
38291 for ac_func in inet_aton
38292 do
38293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38294 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38296 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38297 echo $ECHO_N "(cached) $ECHO_C" >&6
38298 else
38299 cat >conftest.$ac_ext <<_ACEOF
38300 /* confdefs.h. */
38301 _ACEOF
38302 cat confdefs.h >>conftest.$ac_ext
38303 cat >>conftest.$ac_ext <<_ACEOF
38304 /* end confdefs.h. */
38305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38307 #define $ac_func innocuous_$ac_func
38308
38309 /* System header to define __stub macros and hopefully few prototypes,
38310 which can conflict with char $ac_func (); below.
38311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38312 <limits.h> exists even on freestanding compilers. */
38313
38314 #ifdef __STDC__
38315 # include <limits.h>
38316 #else
38317 # include <assert.h>
38318 #endif
38319
38320 #undef $ac_func
38321
38322 /* Override any GCC internal prototype to avoid an error.
38323 Use char because int might match the return type of a GCC
38324 builtin and then its argument prototype would still apply. */
38325 #ifdef __cplusplus
38326 extern "C"
38327 #endif
38328 char $ac_func ();
38329 /* The GNU C library defines this for functions which it implements
38330 to always fail with ENOSYS. Some functions are actually named
38331 something starting with __ and the normal name is an alias. */
38332 #if defined __stub_$ac_func || defined __stub___$ac_func
38333 choke me
38334 #endif
38335
38336 int
38337 main ()
38338 {
38339 return $ac_func ();
38340 ;
38341 return 0;
38342 }
38343 _ACEOF
38344 rm -f conftest.$ac_objext conftest$ac_exeext
38345 if { (ac_try="$ac_link"
38346 case "(($ac_try" in
38347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38348 *) ac_try_echo=$ac_try;;
38349 esac
38350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38351 (eval "$ac_link") 2>conftest.er1
38352 ac_status=$?
38353 grep -v '^ *+' conftest.er1 >conftest.err
38354 rm -f conftest.er1
38355 cat conftest.err >&5
38356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38357 (exit $ac_status); } && {
38358 test -z "$ac_c_werror_flag" ||
38359 test ! -s conftest.err
38360 } && test -s conftest$ac_exeext &&
38361 $as_test_x conftest$ac_exeext; then
38362 eval "$as_ac_var=yes"
38363 else
38364 echo "$as_me: failed program was:" >&5
38365 sed 's/^/| /' conftest.$ac_ext >&5
38366
38367 eval "$as_ac_var=no"
38368 fi
38369
38370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38371 conftest$ac_exeext conftest.$ac_ext
38372 fi
38373 ac_res=`eval echo '${'$as_ac_var'}'`
38374 { echo "$as_me:$LINENO: result: $ac_res" >&5
38375 echo "${ECHO_T}$ac_res" >&6; }
38376 if test `eval echo '${'$as_ac_var'}'` = yes; then
38377 cat >>confdefs.h <<_ACEOF
38378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38379 _ACEOF
38380 cat >>confdefs.h <<\_ACEOF
38381 #define HAVE_INET_ATON 1
38382 _ACEOF
38383
38384 else
38385
38386 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38387 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38388 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38389 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38390 echo $ECHO_N "(cached) $ECHO_C" >&6
38391 else
38392 ac_check_lib_save_LIBS=$LIBS
38393 LIBS="-l$INET_LINK $LIBS"
38394 cat >conftest.$ac_ext <<_ACEOF
38395 /* confdefs.h. */
38396 _ACEOF
38397 cat confdefs.h >>conftest.$ac_ext
38398 cat >>conftest.$ac_ext <<_ACEOF
38399 /* end confdefs.h. */
38400
38401 /* Override any GCC internal prototype to avoid an error.
38402 Use char because int might match the return type of a GCC
38403 builtin and then its argument prototype would still apply. */
38404 #ifdef __cplusplus
38405 extern "C"
38406 #endif
38407 char inet_aton ();
38408 int
38409 main ()
38410 {
38411 return inet_aton ();
38412 ;
38413 return 0;
38414 }
38415 _ACEOF
38416 rm -f conftest.$ac_objext conftest$ac_exeext
38417 if { (ac_try="$ac_link"
38418 case "(($ac_try" in
38419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38420 *) ac_try_echo=$ac_try;;
38421 esac
38422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38423 (eval "$ac_link") 2>conftest.er1
38424 ac_status=$?
38425 grep -v '^ *+' conftest.er1 >conftest.err
38426 rm -f conftest.er1
38427 cat conftest.err >&5
38428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38429 (exit $ac_status); } && {
38430 test -z "$ac_c_werror_flag" ||
38431 test ! -s conftest.err
38432 } && test -s conftest$ac_exeext &&
38433 $as_test_x conftest$ac_exeext; then
38434 eval "$as_ac_Lib=yes"
38435 else
38436 echo "$as_me: failed program was:" >&5
38437 sed 's/^/| /' conftest.$ac_ext >&5
38438
38439 eval "$as_ac_Lib=no"
38440 fi
38441
38442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38443 conftest$ac_exeext conftest.$ac_ext
38444 LIBS=$ac_check_lib_save_LIBS
38445 fi
38446 ac_res=`eval echo '${'$as_ac_Lib'}'`
38447 { echo "$as_me:$LINENO: result: $ac_res" >&5
38448 echo "${ECHO_T}$ac_res" >&6; }
38449 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38450 cat >>confdefs.h <<\_ACEOF
38451 #define HAVE_INET_ATON 1
38452 _ACEOF
38453
38454 fi
38455
38456
38457 fi
38458 done
38459
38460
38461 if test "x$INET_LINK" != "x"; then
38462 cat >>confdefs.h <<\_ACEOF
38463 #define HAVE_INET_ADDR 1
38464 _ACEOF
38465
38466 INET_LINK=" -l$INET_LINK"
38467 fi
38468
38469
38470 for wx_func in fdopen
38471 do
38472 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38473 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38474 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38475 echo $ECHO_N "(cached) $ECHO_C" >&6
38476 else
38477
38478 cat >conftest.$ac_ext <<_ACEOF
38479
38480 /* confdefs.h. */
38481 _ACEOF
38482 cat confdefs.h >>conftest.$ac_ext
38483 cat >>conftest.$ac_ext <<_ACEOF
38484 /* end confdefs.h. */
38485
38486
38487 $ac_includes_default
38488
38489 int
38490 main ()
38491 {
38492
38493 #ifndef $wx_func
38494 &$wx_func;
38495 #endif
38496
38497
38498 ;
38499 return 0;
38500 }
38501
38502 _ACEOF
38503 rm -f conftest.$ac_objext conftest$ac_exeext
38504 if { (ac_try="$ac_link"
38505 case "(($ac_try" in
38506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38507 *) ac_try_echo=$ac_try;;
38508 esac
38509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38510 (eval "$ac_link") 2>conftest.er1
38511 ac_status=$?
38512 grep -v '^ *+' conftest.er1 >conftest.err
38513 rm -f conftest.er1
38514 cat conftest.err >&5
38515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38516 (exit $ac_status); } && {
38517 test -z "$ac_c_werror_flag" ||
38518 test ! -s conftest.err
38519 } && test -s conftest$ac_exeext &&
38520 $as_test_x conftest$ac_exeext; then
38521 eval wx_cv_func_$wx_func=yes
38522 else
38523 echo "$as_me: failed program was:" >&5
38524 sed 's/^/| /' conftest.$ac_ext >&5
38525
38526 eval wx_cv_func_$wx_func=no
38527 fi
38528
38529 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38530 conftest$ac_exeext conftest.$ac_ext
38531
38532 fi
38533 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38534 { echo "$as_me:$LINENO: result: $ac_res" >&5
38535 echo "${ECHO_T}$ac_res" >&6; }
38536
38537 if eval test \$wx_cv_func_$wx_func = yes
38538 then
38539 cat >>confdefs.h <<_ACEOF
38540 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38541 _ACEOF
38542
38543
38544 else
38545 :
38546
38547 fi
38548 done
38549
38550
38551 if test "$wxUSE_TARSTREAM" = "yes"; then
38552
38553 for wx_func in sysconf
38554 do
38555 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38556 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38557 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38558 echo $ECHO_N "(cached) $ECHO_C" >&6
38559 else
38560
38561 cat >conftest.$ac_ext <<_ACEOF
38562
38563 /* confdefs.h. */
38564 _ACEOF
38565 cat confdefs.h >>conftest.$ac_ext
38566 cat >>conftest.$ac_ext <<_ACEOF
38567 /* end confdefs.h. */
38568
38569
38570 $ac_includes_default
38571
38572 int
38573 main ()
38574 {
38575
38576 #ifndef $wx_func
38577 &$wx_func;
38578 #endif
38579
38580
38581 ;
38582 return 0;
38583 }
38584
38585 _ACEOF
38586 rm -f conftest.$ac_objext conftest$ac_exeext
38587 if { (ac_try="$ac_link"
38588 case "(($ac_try" in
38589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38590 *) ac_try_echo=$ac_try;;
38591 esac
38592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38593 (eval "$ac_link") 2>conftest.er1
38594 ac_status=$?
38595 grep -v '^ *+' conftest.er1 >conftest.err
38596 rm -f conftest.er1
38597 cat conftest.err >&5
38598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38599 (exit $ac_status); } && {
38600 test -z "$ac_c_werror_flag" ||
38601 test ! -s conftest.err
38602 } && test -s conftest$ac_exeext &&
38603 $as_test_x conftest$ac_exeext; then
38604 eval wx_cv_func_$wx_func=yes
38605 else
38606 echo "$as_me: failed program was:" >&5
38607 sed 's/^/| /' conftest.$ac_ext >&5
38608
38609 eval wx_cv_func_$wx_func=no
38610 fi
38611
38612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38613 conftest$ac_exeext conftest.$ac_ext
38614
38615 fi
38616 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38617 { echo "$as_me:$LINENO: result: $ac_res" >&5
38618 echo "${ECHO_T}$ac_res" >&6; }
38619
38620 if eval test \$wx_cv_func_$wx_func = yes
38621 then
38622 cat >>confdefs.h <<_ACEOF
38623 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38624 _ACEOF
38625
38626
38627 else
38628 :
38629
38630 fi
38631 done
38632
38633
38634
38635 for wx_func in getpwuid_r
38636 do
38637 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38638 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38639 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38640 echo $ECHO_N "(cached) $ECHO_C" >&6
38641 else
38642
38643 cat >conftest.$ac_ext <<_ACEOF
38644
38645 /* confdefs.h. */
38646 _ACEOF
38647 cat confdefs.h >>conftest.$ac_ext
38648 cat >>conftest.$ac_ext <<_ACEOF
38649 /* end confdefs.h. */
38650
38651
38652 #define _REENTRANT
38653 #include <pwd.h>
38654
38655 $ac_includes_default
38656
38657 int
38658 main ()
38659 {
38660
38661 #ifndef $wx_func
38662 &$wx_func;
38663 #endif
38664
38665 struct passwd pw, *ppw;
38666 char buf[1024];
38667 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38668
38669
38670 ;
38671 return 0;
38672 }
38673
38674 _ACEOF
38675 rm -f conftest.$ac_objext conftest$ac_exeext
38676 if { (ac_try="$ac_link"
38677 case "(($ac_try" in
38678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38679 *) ac_try_echo=$ac_try;;
38680 esac
38681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38682 (eval "$ac_link") 2>conftest.er1
38683 ac_status=$?
38684 grep -v '^ *+' conftest.er1 >conftest.err
38685 rm -f conftest.er1
38686 cat conftest.err >&5
38687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38688 (exit $ac_status); } && {
38689 test -z "$ac_c_werror_flag" ||
38690 test ! -s conftest.err
38691 } && test -s conftest$ac_exeext &&
38692 $as_test_x conftest$ac_exeext; then
38693 eval wx_cv_func_$wx_func=yes
38694 else
38695 echo "$as_me: failed program was:" >&5
38696 sed 's/^/| /' conftest.$ac_ext >&5
38697
38698 eval wx_cv_func_$wx_func=no
38699 fi
38700
38701 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38702 conftest$ac_exeext conftest.$ac_ext
38703
38704 fi
38705 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38706 { echo "$as_me:$LINENO: result: $ac_res" >&5
38707 echo "${ECHO_T}$ac_res" >&6; }
38708
38709 if eval test \$wx_cv_func_$wx_func = yes
38710 then
38711 cat >>confdefs.h <<_ACEOF
38712 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38713 _ACEOF
38714
38715
38716 else
38717 :
38718
38719 fi
38720 done
38721
38722
38723
38724 for wx_func in getgrgid_r
38725 do
38726 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38727 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38728 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38729 echo $ECHO_N "(cached) $ECHO_C" >&6
38730 else
38731
38732 cat >conftest.$ac_ext <<_ACEOF
38733
38734 /* confdefs.h. */
38735 _ACEOF
38736 cat confdefs.h >>conftest.$ac_ext
38737 cat >>conftest.$ac_ext <<_ACEOF
38738 /* end confdefs.h. */
38739
38740
38741 #define _REENTRANT
38742 #include <grp.h>
38743
38744 $ac_includes_default
38745
38746 int
38747 main ()
38748 {
38749
38750 #ifndef $wx_func
38751 &$wx_func;
38752 #endif
38753
38754 struct group grp, *pgrp;
38755 char buf[1024];
38756 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38757
38758
38759 ;
38760 return 0;
38761 }
38762
38763 _ACEOF
38764 rm -f conftest.$ac_objext conftest$ac_exeext
38765 if { (ac_try="$ac_link"
38766 case "(($ac_try" in
38767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38768 *) ac_try_echo=$ac_try;;
38769 esac
38770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38771 (eval "$ac_link") 2>conftest.er1
38772 ac_status=$?
38773 grep -v '^ *+' conftest.er1 >conftest.err
38774 rm -f conftest.er1
38775 cat conftest.err >&5
38776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38777 (exit $ac_status); } && {
38778 test -z "$ac_c_werror_flag" ||
38779 test ! -s conftest.err
38780 } && test -s conftest$ac_exeext &&
38781 $as_test_x conftest$ac_exeext; then
38782 eval wx_cv_func_$wx_func=yes
38783 else
38784 echo "$as_me: failed program was:" >&5
38785 sed 's/^/| /' conftest.$ac_ext >&5
38786
38787 eval wx_cv_func_$wx_func=no
38788 fi
38789
38790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38791 conftest$ac_exeext conftest.$ac_ext
38792
38793 fi
38794 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38795 { echo "$as_me:$LINENO: result: $ac_res" >&5
38796 echo "${ECHO_T}$ac_res" >&6; }
38797
38798 if eval test \$wx_cv_func_$wx_func = yes
38799 then
38800 cat >>confdefs.h <<_ACEOF
38801 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38802 _ACEOF
38803
38804
38805 else
38806 :
38807
38808 fi
38809 done
38810
38811 fi
38812
38813 fi
38814
38815
38816
38817 cat >confcache <<\_ACEOF
38818 # This file is a shell script that caches the results of configure
38819 # tests run on this system so they can be shared between configure
38820 # scripts and configure runs, see configure's option --config-cache.
38821 # It is not useful on other systems. If it contains results you don't
38822 # want to keep, you may remove or edit it.
38823 #
38824 # config.status only pays attention to the cache file if you give it
38825 # the --recheck option to rerun configure.
38826 #
38827 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38828 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38829 # following values.
38830
38831 _ACEOF
38832
38833 # The following way of writing the cache mishandles newlines in values,
38834 # but we know of no workaround that is simple, portable, and efficient.
38835 # So, we kill variables containing newlines.
38836 # Ultrix sh set writes to stderr and can't be redirected directly,
38837 # and sets the high bit in the cache file unless we assign to the vars.
38838 (
38839 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38840 eval ac_val=\$$ac_var
38841 case $ac_val in #(
38842 *${as_nl}*)
38843 case $ac_var in #(
38844 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38845 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38846 esac
38847 case $ac_var in #(
38848 _ | IFS | as_nl) ;; #(
38849 *) $as_unset $ac_var ;;
38850 esac ;;
38851 esac
38852 done
38853
38854 (set) 2>&1 |
38855 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38856 *${as_nl}ac_space=\ *)
38857 # `set' does not quote correctly, so add quotes (double-quote
38858 # substitution turns \\\\ into \\, and sed turns \\ into \).
38859 sed -n \
38860 "s/'/'\\\\''/g;
38861 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38862 ;; #(
38863 *)
38864 # `set' quotes correctly as required by POSIX, so do not add quotes.
38865 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38866 ;;
38867 esac |
38868 sort
38869 ) |
38870 sed '
38871 /^ac_cv_env_/b end
38872 t clear
38873 :clear
38874 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38875 t end
38876 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38877 :end' >>confcache
38878 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38879 if test -w "$cache_file"; then
38880 test "x$cache_file" != "x/dev/null" &&
38881 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38882 echo "$as_me: updating cache $cache_file" >&6;}
38883 cat confcache >$cache_file
38884 else
38885 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38886 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38887 fi
38888 fi
38889 rm -f confcache
38890
38891
38892 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38893
38894
38895 THREADS_LINK=
38896 THREADS_CFLAGS=
38897
38898 if test "$wxUSE_THREADS" = "yes" ; then
38899 if test "$USE_BEOS" = 1; then
38900 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38901 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38902 wxUSE_THREADS="no"
38903 fi
38904 fi
38905
38906 if test "$wxUSE_THREADS" = "yes" ; then
38907
38908
38909 THREAD_OPTS="-pthread"
38910 if test "x$SUNCXX" = xyes; then
38911 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38912 fi
38913
38914 case "${host}" in
38915 *-*-solaris2* | *-*-sunos4* )
38916 if test "x$GCC" = "xyes"; then
38917 THREAD_OPTS="-pthreads $THREAD_OPTS"
38918 fi
38919 ;;
38920 *-*-freebsd*)
38921 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38922 ;;
38923 *-*-darwin* | *-*-cygwin* )
38924 THREAD_OPTS=""
38925 ;;
38926 *-*-aix*)
38927 THREAD_OPTS="pthreads"
38928 ;;
38929 *-hp-hpux* )
38930 if test "x$GCC" = "xyes"; then
38931 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38932 THREAD_OPTS=""
38933 else
38934 THREAD_OPTS="-mt"
38935 fi
38936 ;;
38937
38938 *-*-irix* )
38939 if test "x$GCC" = "xyes"; then
38940 THREAD_OPTS=""
38941 fi
38942 ;;
38943
38944 *-*-*UnixWare*)
38945 if test "x$GCC" != "xyes"; then
38946 THREAD_OPTS="-Ethread"
38947 fi
38948 ;;
38949 esac
38950
38951 THREAD_OPTS="$THREAD_OPTS pthread none"
38952
38953 THREADS_OK=no
38954 for flag in $THREAD_OPTS; do
38955 case $flag in
38956 none)
38957 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38958 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38959 ;;
38960
38961 -*)
38962 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38963 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38964 THREADS_CFLAGS="$flag"
38965 ;;
38966
38967 *)
38968 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38969 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38970 THREADS_LINK="-l$flag"
38971 ;;
38972 esac
38973
38974 save_LIBS="$LIBS"
38975 save_CFLAGS="$CFLAGS"
38976 LIBS="$THREADS_LINK $LIBS"
38977 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38978
38979 cat >conftest.$ac_ext <<_ACEOF
38980 /* confdefs.h. */
38981 _ACEOF
38982 cat confdefs.h >>conftest.$ac_ext
38983 cat >>conftest.$ac_ext <<_ACEOF
38984 /* end confdefs.h. */
38985 #include <pthread.h>
38986 int
38987 main ()
38988 {
38989 pthread_create(0,0,0,0);
38990 ;
38991 return 0;
38992 }
38993 _ACEOF
38994 rm -f conftest.$ac_objext conftest$ac_exeext
38995 if { (ac_try="$ac_link"
38996 case "(($ac_try" in
38997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38998 *) ac_try_echo=$ac_try;;
38999 esac
39000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39001 (eval "$ac_link") 2>conftest.er1
39002 ac_status=$?
39003 grep -v '^ *+' conftest.er1 >conftest.err
39004 rm -f conftest.er1
39005 cat conftest.err >&5
39006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39007 (exit $ac_status); } && {
39008 test -z "$ac_c_werror_flag" ||
39009 test ! -s conftest.err
39010 } && test -s conftest$ac_exeext &&
39011 $as_test_x conftest$ac_exeext; then
39012 THREADS_OK=yes
39013 else
39014 echo "$as_me: failed program was:" >&5
39015 sed 's/^/| /' conftest.$ac_ext >&5
39016
39017
39018 fi
39019
39020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39021 conftest$ac_exeext conftest.$ac_ext
39022
39023 LIBS="$save_LIBS"
39024 CFLAGS="$save_CFLAGS"
39025
39026 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39027 echo "${ECHO_T}$THREADS_OK" >&6; }
39028 if test "x$THREADS_OK" = "xyes"; then
39029 break;
39030 fi
39031
39032 THREADS_LINK=""
39033 THREADS_CFLAGS=""
39034 done
39035
39036 if test "x$THREADS_OK" != "xyes"; then
39037 wxUSE_THREADS=no
39038 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39039 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39040 else
39041 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39042 LIBS="$THREADS_LINK $LIBS"
39043
39044 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39045 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39046 flag=no
39047 case "${host}" in
39048 *-aix*)
39049 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39050 flag="-D_THREAD_SAFE"
39051 ;;
39052 *-freebsd*)
39053 flag="-D_THREAD_SAFE"
39054 ;;
39055 *-hp-hpux* )
39056 flag="-D_REENTRANT"
39057 if test "x$GCC" != "xyes"; then
39058 flag="$flag -D_RWSTD_MULTI_THREAD"
39059 fi
39060 ;;
39061 *solaris* | alpha*-osf*)
39062 flag="-D_REENTRANT"
39063 ;;
39064 esac
39065 { echo "$as_me:$LINENO: result: ${flag}" >&5
39066 echo "${ECHO_T}${flag}" >&6; }
39067 if test "x$flag" != xno; then
39068 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39069 fi
39070
39071 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39072 fi
39073 fi
39074
39075 if test "$wxUSE_THREADS" = "yes" ; then
39076
39077 for ac_func in thr_setconcurrency
39078 do
39079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39080 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39082 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39083 echo $ECHO_N "(cached) $ECHO_C" >&6
39084 else
39085 cat >conftest.$ac_ext <<_ACEOF
39086 /* confdefs.h. */
39087 _ACEOF
39088 cat confdefs.h >>conftest.$ac_ext
39089 cat >>conftest.$ac_ext <<_ACEOF
39090 /* end confdefs.h. */
39091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39093 #define $ac_func innocuous_$ac_func
39094
39095 /* System header to define __stub macros and hopefully few prototypes,
39096 which can conflict with char $ac_func (); below.
39097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39098 <limits.h> exists even on freestanding compilers. */
39099
39100 #ifdef __STDC__
39101 # include <limits.h>
39102 #else
39103 # include <assert.h>
39104 #endif
39105
39106 #undef $ac_func
39107
39108 /* Override any GCC internal prototype to avoid an error.
39109 Use char because int might match the return type of a GCC
39110 builtin and then its argument prototype would still apply. */
39111 #ifdef __cplusplus
39112 extern "C"
39113 #endif
39114 char $ac_func ();
39115 /* The GNU C library defines this for functions which it implements
39116 to always fail with ENOSYS. Some functions are actually named
39117 something starting with __ and the normal name is an alias. */
39118 #if defined __stub_$ac_func || defined __stub___$ac_func
39119 choke me
39120 #endif
39121
39122 int
39123 main ()
39124 {
39125 return $ac_func ();
39126 ;
39127 return 0;
39128 }
39129 _ACEOF
39130 rm -f conftest.$ac_objext conftest$ac_exeext
39131 if { (ac_try="$ac_link"
39132 case "(($ac_try" in
39133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39134 *) ac_try_echo=$ac_try;;
39135 esac
39136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39137 (eval "$ac_link") 2>conftest.er1
39138 ac_status=$?
39139 grep -v '^ *+' conftest.er1 >conftest.err
39140 rm -f conftest.er1
39141 cat conftest.err >&5
39142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39143 (exit $ac_status); } && {
39144 test -z "$ac_c_werror_flag" ||
39145 test ! -s conftest.err
39146 } && test -s conftest$ac_exeext &&
39147 $as_test_x conftest$ac_exeext; then
39148 eval "$as_ac_var=yes"
39149 else
39150 echo "$as_me: failed program was:" >&5
39151 sed 's/^/| /' conftest.$ac_ext >&5
39152
39153 eval "$as_ac_var=no"
39154 fi
39155
39156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39157 conftest$ac_exeext conftest.$ac_ext
39158 fi
39159 ac_res=`eval echo '${'$as_ac_var'}'`
39160 { echo "$as_me:$LINENO: result: $ac_res" >&5
39161 echo "${ECHO_T}$ac_res" >&6; }
39162 if test `eval echo '${'$as_ac_var'}'` = yes; then
39163 cat >>confdefs.h <<_ACEOF
39164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39165 _ACEOF
39166
39167 fi
39168 done
39169
39170
39171 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39172 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39173 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39174 echo $ECHO_N "(cached) $ECHO_C" >&6
39175 else
39176
39177 ac_ext=cpp
39178 ac_cpp='$CXXCPP $CPPFLAGS'
39179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39182
39183 cat >conftest.$ac_ext <<_ACEOF
39184 /* confdefs.h. */
39185 _ACEOF
39186 cat confdefs.h >>conftest.$ac_ext
39187 cat >>conftest.$ac_ext <<_ACEOF
39188 /* end confdefs.h. */
39189 #include <pthread.h>
39190 void ThreadCleanupFunc(void *p);
39191
39192 int
39193 main ()
39194 {
39195
39196 void *p;
39197 pthread_cleanup_push(ThreadCleanupFunc, p);
39198 pthread_cleanup_pop(0);
39199
39200 ;
39201 return 0;
39202 }
39203 _ACEOF
39204 rm -f conftest.$ac_objext
39205 if { (ac_try="$ac_compile"
39206 case "(($ac_try" in
39207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39208 *) ac_try_echo=$ac_try;;
39209 esac
39210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39211 (eval "$ac_compile") 2>conftest.er1
39212 ac_status=$?
39213 grep -v '^ *+' conftest.er1 >conftest.err
39214 rm -f conftest.er1
39215 cat conftest.err >&5
39216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39217 (exit $ac_status); } && {
39218 test -z "$ac_cxx_werror_flag" ||
39219 test ! -s conftest.err
39220 } && test -s conftest.$ac_objext; then
39221
39222 wx_cv_func_pthread_cleanup=yes
39223
39224 else
39225 echo "$as_me: failed program was:" >&5
39226 sed 's/^/| /' conftest.$ac_ext >&5
39227
39228
39229 wx_cv_func_pthread_cleanup=no
39230
39231
39232 fi
39233
39234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39235 ac_ext=c
39236 ac_cpp='$CPP $CPPFLAGS'
39237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39240
39241
39242 fi
39243 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39244 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39245 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39246 cat >>confdefs.h <<\_ACEOF
39247 #define wxHAVE_PTHREAD_CLEANUP 1
39248 _ACEOF
39249
39250 fi
39251
39252
39253 for ac_header in sched.h
39254 do
39255 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39256 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39257 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39258 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39259 echo $ECHO_N "(cached) $ECHO_C" >&6
39260 else
39261 cat >conftest.$ac_ext <<_ACEOF
39262 /* confdefs.h. */
39263 _ACEOF
39264 cat confdefs.h >>conftest.$ac_ext
39265 cat >>conftest.$ac_ext <<_ACEOF
39266 /* end confdefs.h. */
39267 $ac_includes_default
39268
39269 #include <$ac_header>
39270 _ACEOF
39271 rm -f conftest.$ac_objext
39272 if { (ac_try="$ac_compile"
39273 case "(($ac_try" in
39274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39275 *) ac_try_echo=$ac_try;;
39276 esac
39277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39278 (eval "$ac_compile") 2>conftest.er1
39279 ac_status=$?
39280 grep -v '^ *+' conftest.er1 >conftest.err
39281 rm -f conftest.er1
39282 cat conftest.err >&5
39283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39284 (exit $ac_status); } && {
39285 test -z "$ac_c_werror_flag" ||
39286 test ! -s conftest.err
39287 } && test -s conftest.$ac_objext; then
39288 eval "$as_ac_Header=yes"
39289 else
39290 echo "$as_me: failed program was:" >&5
39291 sed 's/^/| /' conftest.$ac_ext >&5
39292
39293 eval "$as_ac_Header=no"
39294 fi
39295
39296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39297 fi
39298 ac_res=`eval echo '${'$as_ac_Header'}'`
39299 { echo "$as_me:$LINENO: result: $ac_res" >&5
39300 echo "${ECHO_T}$ac_res" >&6; }
39301 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39302 cat >>confdefs.h <<_ACEOF
39303 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39304 _ACEOF
39305
39306 fi
39307
39308 done
39309
39310 if test "$ac_cv_header_sched_h" = "yes"; then
39311 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39312 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39313 if test "${ac_cv_func_sched_yield+set}" = set; then
39314 echo $ECHO_N "(cached) $ECHO_C" >&6
39315 else
39316 cat >conftest.$ac_ext <<_ACEOF
39317 /* confdefs.h. */
39318 _ACEOF
39319 cat confdefs.h >>conftest.$ac_ext
39320 cat >>conftest.$ac_ext <<_ACEOF
39321 /* end confdefs.h. */
39322 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39324 #define sched_yield innocuous_sched_yield
39325
39326 /* System header to define __stub macros and hopefully few prototypes,
39327 which can conflict with char sched_yield (); below.
39328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39329 <limits.h> exists even on freestanding compilers. */
39330
39331 #ifdef __STDC__
39332 # include <limits.h>
39333 #else
39334 # include <assert.h>
39335 #endif
39336
39337 #undef sched_yield
39338
39339 /* Override any GCC internal prototype to avoid an error.
39340 Use char because int might match the return type of a GCC
39341 builtin and then its argument prototype would still apply. */
39342 #ifdef __cplusplus
39343 extern "C"
39344 #endif
39345 char sched_yield ();
39346 /* The GNU C library defines this for functions which it implements
39347 to always fail with ENOSYS. Some functions are actually named
39348 something starting with __ and the normal name is an alias. */
39349 #if defined __stub_sched_yield || defined __stub___sched_yield
39350 choke me
39351 #endif
39352
39353 int
39354 main ()
39355 {
39356 return sched_yield ();
39357 ;
39358 return 0;
39359 }
39360 _ACEOF
39361 rm -f conftest.$ac_objext conftest$ac_exeext
39362 if { (ac_try="$ac_link"
39363 case "(($ac_try" in
39364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39365 *) ac_try_echo=$ac_try;;
39366 esac
39367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39368 (eval "$ac_link") 2>conftest.er1
39369 ac_status=$?
39370 grep -v '^ *+' conftest.er1 >conftest.err
39371 rm -f conftest.er1
39372 cat conftest.err >&5
39373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39374 (exit $ac_status); } && {
39375 test -z "$ac_c_werror_flag" ||
39376 test ! -s conftest.err
39377 } && test -s conftest$ac_exeext &&
39378 $as_test_x conftest$ac_exeext; then
39379 ac_cv_func_sched_yield=yes
39380 else
39381 echo "$as_me: failed program was:" >&5
39382 sed 's/^/| /' conftest.$ac_ext >&5
39383
39384 ac_cv_func_sched_yield=no
39385 fi
39386
39387 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39388 conftest$ac_exeext conftest.$ac_ext
39389 fi
39390 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39391 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39392 if test $ac_cv_func_sched_yield = yes; then
39393 cat >>confdefs.h <<\_ACEOF
39394 #define HAVE_SCHED_YIELD 1
39395 _ACEOF
39396
39397 else
39398
39399 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39400 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39401 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39402 echo $ECHO_N "(cached) $ECHO_C" >&6
39403 else
39404 ac_check_lib_save_LIBS=$LIBS
39405 LIBS="-lposix4 $LIBS"
39406 cat >conftest.$ac_ext <<_ACEOF
39407 /* confdefs.h. */
39408 _ACEOF
39409 cat confdefs.h >>conftest.$ac_ext
39410 cat >>conftest.$ac_ext <<_ACEOF
39411 /* end confdefs.h. */
39412
39413 /* Override any GCC internal prototype to avoid an error.
39414 Use char because int might match the return type of a GCC
39415 builtin and then its argument prototype would still apply. */
39416 #ifdef __cplusplus
39417 extern "C"
39418 #endif
39419 char sched_yield ();
39420 int
39421 main ()
39422 {
39423 return sched_yield ();
39424 ;
39425 return 0;
39426 }
39427 _ACEOF
39428 rm -f conftest.$ac_objext conftest$ac_exeext
39429 if { (ac_try="$ac_link"
39430 case "(($ac_try" in
39431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39432 *) ac_try_echo=$ac_try;;
39433 esac
39434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39435 (eval "$ac_link") 2>conftest.er1
39436 ac_status=$?
39437 grep -v '^ *+' conftest.er1 >conftest.err
39438 rm -f conftest.er1
39439 cat conftest.err >&5
39440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39441 (exit $ac_status); } && {
39442 test -z "$ac_c_werror_flag" ||
39443 test ! -s conftest.err
39444 } && test -s conftest$ac_exeext &&
39445 $as_test_x conftest$ac_exeext; then
39446 ac_cv_lib_posix4_sched_yield=yes
39447 else
39448 echo "$as_me: failed program was:" >&5
39449 sed 's/^/| /' conftest.$ac_ext >&5
39450
39451 ac_cv_lib_posix4_sched_yield=no
39452 fi
39453
39454 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39455 conftest$ac_exeext conftest.$ac_ext
39456 LIBS=$ac_check_lib_save_LIBS
39457 fi
39458 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39459 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39460 if test $ac_cv_lib_posix4_sched_yield = yes; then
39461 cat >>confdefs.h <<\_ACEOF
39462 #define HAVE_SCHED_YIELD 1
39463 _ACEOF
39464 POSIX4_LINK=" -lposix4"
39465 else
39466 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39467 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39468
39469 fi
39470
39471
39472
39473 fi
39474
39475 fi
39476
39477 HAVE_PRIOR_FUNCS=0
39478 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39479 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39480 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39481 echo $ECHO_N "(cached) $ECHO_C" >&6
39482 else
39483 cat >conftest.$ac_ext <<_ACEOF
39484 /* confdefs.h. */
39485 _ACEOF
39486 cat confdefs.h >>conftest.$ac_ext
39487 cat >>conftest.$ac_ext <<_ACEOF
39488 /* end confdefs.h. */
39489 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39491 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39492
39493 /* System header to define __stub macros and hopefully few prototypes,
39494 which can conflict with char pthread_attr_getschedpolicy (); below.
39495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39496 <limits.h> exists even on freestanding compilers. */
39497
39498 #ifdef __STDC__
39499 # include <limits.h>
39500 #else
39501 # include <assert.h>
39502 #endif
39503
39504 #undef pthread_attr_getschedpolicy
39505
39506 /* Override any GCC internal prototype to avoid an error.
39507 Use char because int might match the return type of a GCC
39508 builtin and then its argument prototype would still apply. */
39509 #ifdef __cplusplus
39510 extern "C"
39511 #endif
39512 char pthread_attr_getschedpolicy ();
39513 /* The GNU C library defines this for functions which it implements
39514 to always fail with ENOSYS. Some functions are actually named
39515 something starting with __ and the normal name is an alias. */
39516 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39517 choke me
39518 #endif
39519
39520 int
39521 main ()
39522 {
39523 return pthread_attr_getschedpolicy ();
39524 ;
39525 return 0;
39526 }
39527 _ACEOF
39528 rm -f conftest.$ac_objext conftest$ac_exeext
39529 if { (ac_try="$ac_link"
39530 case "(($ac_try" in
39531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39532 *) ac_try_echo=$ac_try;;
39533 esac
39534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39535 (eval "$ac_link") 2>conftest.er1
39536 ac_status=$?
39537 grep -v '^ *+' conftest.er1 >conftest.err
39538 rm -f conftest.er1
39539 cat conftest.err >&5
39540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39541 (exit $ac_status); } && {
39542 test -z "$ac_c_werror_flag" ||
39543 test ! -s conftest.err
39544 } && test -s conftest$ac_exeext &&
39545 $as_test_x conftest$ac_exeext; then
39546 ac_cv_func_pthread_attr_getschedpolicy=yes
39547 else
39548 echo "$as_me: failed program was:" >&5
39549 sed 's/^/| /' conftest.$ac_ext >&5
39550
39551 ac_cv_func_pthread_attr_getschedpolicy=no
39552 fi
39553
39554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39555 conftest$ac_exeext conftest.$ac_ext
39556 fi
39557 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39558 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39559 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39560 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39561 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39562 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39563 echo $ECHO_N "(cached) $ECHO_C" >&6
39564 else
39565 cat >conftest.$ac_ext <<_ACEOF
39566 /* confdefs.h. */
39567 _ACEOF
39568 cat confdefs.h >>conftest.$ac_ext
39569 cat >>conftest.$ac_ext <<_ACEOF
39570 /* end confdefs.h. */
39571 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39573 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39574
39575 /* System header to define __stub macros and hopefully few prototypes,
39576 which can conflict with char pthread_attr_setschedparam (); below.
39577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39578 <limits.h> exists even on freestanding compilers. */
39579
39580 #ifdef __STDC__
39581 # include <limits.h>
39582 #else
39583 # include <assert.h>
39584 #endif
39585
39586 #undef pthread_attr_setschedparam
39587
39588 /* Override any GCC internal prototype to avoid an error.
39589 Use char because int might match the return type of a GCC
39590 builtin and then its argument prototype would still apply. */
39591 #ifdef __cplusplus
39592 extern "C"
39593 #endif
39594 char pthread_attr_setschedparam ();
39595 /* The GNU C library defines this for functions which it implements
39596 to always fail with ENOSYS. Some functions are actually named
39597 something starting with __ and the normal name is an alias. */
39598 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39599 choke me
39600 #endif
39601
39602 int
39603 main ()
39604 {
39605 return pthread_attr_setschedparam ();
39606 ;
39607 return 0;
39608 }
39609 _ACEOF
39610 rm -f conftest.$ac_objext conftest$ac_exeext
39611 if { (ac_try="$ac_link"
39612 case "(($ac_try" in
39613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39614 *) ac_try_echo=$ac_try;;
39615 esac
39616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39617 (eval "$ac_link") 2>conftest.er1
39618 ac_status=$?
39619 grep -v '^ *+' conftest.er1 >conftest.err
39620 rm -f conftest.er1
39621 cat conftest.err >&5
39622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39623 (exit $ac_status); } && {
39624 test -z "$ac_c_werror_flag" ||
39625 test ! -s conftest.err
39626 } && test -s conftest$ac_exeext &&
39627 $as_test_x conftest$ac_exeext; then
39628 ac_cv_func_pthread_attr_setschedparam=yes
39629 else
39630 echo "$as_me: failed program was:" >&5
39631 sed 's/^/| /' conftest.$ac_ext >&5
39632
39633 ac_cv_func_pthread_attr_setschedparam=no
39634 fi
39635
39636 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39637 conftest$ac_exeext conftest.$ac_ext
39638 fi
39639 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39640 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39641 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39642 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39643 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39644 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39645 echo $ECHO_N "(cached) $ECHO_C" >&6
39646 else
39647 cat >conftest.$ac_ext <<_ACEOF
39648 /* confdefs.h. */
39649 _ACEOF
39650 cat confdefs.h >>conftest.$ac_ext
39651 cat >>conftest.$ac_ext <<_ACEOF
39652 /* end confdefs.h. */
39653 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39655 #define sched_get_priority_max innocuous_sched_get_priority_max
39656
39657 /* System header to define __stub macros and hopefully few prototypes,
39658 which can conflict with char sched_get_priority_max (); below.
39659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39660 <limits.h> exists even on freestanding compilers. */
39661
39662 #ifdef __STDC__
39663 # include <limits.h>
39664 #else
39665 # include <assert.h>
39666 #endif
39667
39668 #undef sched_get_priority_max
39669
39670 /* Override any GCC internal prototype to avoid an error.
39671 Use char because int might match the return type of a GCC
39672 builtin and then its argument prototype would still apply. */
39673 #ifdef __cplusplus
39674 extern "C"
39675 #endif
39676 char sched_get_priority_max ();
39677 /* The GNU C library defines this for functions which it implements
39678 to always fail with ENOSYS. Some functions are actually named
39679 something starting with __ and the normal name is an alias. */
39680 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39681 choke me
39682 #endif
39683
39684 int
39685 main ()
39686 {
39687 return sched_get_priority_max ();
39688 ;
39689 return 0;
39690 }
39691 _ACEOF
39692 rm -f conftest.$ac_objext conftest$ac_exeext
39693 if { (ac_try="$ac_link"
39694 case "(($ac_try" in
39695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39696 *) ac_try_echo=$ac_try;;
39697 esac
39698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39699 (eval "$ac_link") 2>conftest.er1
39700 ac_status=$?
39701 grep -v '^ *+' conftest.er1 >conftest.err
39702 rm -f conftest.er1
39703 cat conftest.err >&5
39704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39705 (exit $ac_status); } && {
39706 test -z "$ac_c_werror_flag" ||
39707 test ! -s conftest.err
39708 } && test -s conftest$ac_exeext &&
39709 $as_test_x conftest$ac_exeext; then
39710 ac_cv_func_sched_get_priority_max=yes
39711 else
39712 echo "$as_me: failed program was:" >&5
39713 sed 's/^/| /' conftest.$ac_ext >&5
39714
39715 ac_cv_func_sched_get_priority_max=no
39716 fi
39717
39718 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39719 conftest$ac_exeext conftest.$ac_ext
39720 fi
39721 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39722 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39723 if test $ac_cv_func_sched_get_priority_max = yes; then
39724 HAVE_PRIOR_FUNCS=1
39725 else
39726 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39727 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39728 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39729 echo $ECHO_N "(cached) $ECHO_C" >&6
39730 else
39731 ac_check_lib_save_LIBS=$LIBS
39732 LIBS="-lposix4 $LIBS"
39733 cat >conftest.$ac_ext <<_ACEOF
39734 /* confdefs.h. */
39735 _ACEOF
39736 cat confdefs.h >>conftest.$ac_ext
39737 cat >>conftest.$ac_ext <<_ACEOF
39738 /* end confdefs.h. */
39739
39740 /* Override any GCC internal prototype to avoid an error.
39741 Use char because int might match the return type of a GCC
39742 builtin and then its argument prototype would still apply. */
39743 #ifdef __cplusplus
39744 extern "C"
39745 #endif
39746 char sched_get_priority_max ();
39747 int
39748 main ()
39749 {
39750 return sched_get_priority_max ();
39751 ;
39752 return 0;
39753 }
39754 _ACEOF
39755 rm -f conftest.$ac_objext conftest$ac_exeext
39756 if { (ac_try="$ac_link"
39757 case "(($ac_try" in
39758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39759 *) ac_try_echo=$ac_try;;
39760 esac
39761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39762 (eval "$ac_link") 2>conftest.er1
39763 ac_status=$?
39764 grep -v '^ *+' conftest.er1 >conftest.err
39765 rm -f conftest.er1
39766 cat conftest.err >&5
39767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39768 (exit $ac_status); } && {
39769 test -z "$ac_c_werror_flag" ||
39770 test ! -s conftest.err
39771 } && test -s conftest$ac_exeext &&
39772 $as_test_x conftest$ac_exeext; then
39773 ac_cv_lib_posix4_sched_get_priority_max=yes
39774 else
39775 echo "$as_me: failed program was:" >&5
39776 sed 's/^/| /' conftest.$ac_ext >&5
39777
39778 ac_cv_lib_posix4_sched_get_priority_max=no
39779 fi
39780
39781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39782 conftest$ac_exeext conftest.$ac_ext
39783 LIBS=$ac_check_lib_save_LIBS
39784 fi
39785 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39786 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39787 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39788
39789 HAVE_PRIOR_FUNCS=1
39790 POSIX4_LINK=" -lposix4"
39791
39792 fi
39793
39794
39795 fi
39796
39797
39798 fi
39799
39800
39801 fi
39802
39803
39804 if test "$HAVE_PRIOR_FUNCS" = 1; then
39805 cat >>confdefs.h <<\_ACEOF
39806 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39807 _ACEOF
39808
39809 else
39810 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39811 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39812 fi
39813
39814 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39815 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39816 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39817 echo $ECHO_N "(cached) $ECHO_C" >&6
39818 else
39819 cat >conftest.$ac_ext <<_ACEOF
39820 /* confdefs.h. */
39821 _ACEOF
39822 cat confdefs.h >>conftest.$ac_ext
39823 cat >>conftest.$ac_ext <<_ACEOF
39824 /* end confdefs.h. */
39825 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39827 #define pthread_cancel innocuous_pthread_cancel
39828
39829 /* System header to define __stub macros and hopefully few prototypes,
39830 which can conflict with char pthread_cancel (); below.
39831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39832 <limits.h> exists even on freestanding compilers. */
39833
39834 #ifdef __STDC__
39835 # include <limits.h>
39836 #else
39837 # include <assert.h>
39838 #endif
39839
39840 #undef pthread_cancel
39841
39842 /* Override any GCC internal prototype to avoid an error.
39843 Use char because int might match the return type of a GCC
39844 builtin and then its argument prototype would still apply. */
39845 #ifdef __cplusplus
39846 extern "C"
39847 #endif
39848 char pthread_cancel ();
39849 /* The GNU C library defines this for functions which it implements
39850 to always fail with ENOSYS. Some functions are actually named
39851 something starting with __ and the normal name is an alias. */
39852 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39853 choke me
39854 #endif
39855
39856 int
39857 main ()
39858 {
39859 return pthread_cancel ();
39860 ;
39861 return 0;
39862 }
39863 _ACEOF
39864 rm -f conftest.$ac_objext conftest$ac_exeext
39865 if { (ac_try="$ac_link"
39866 case "(($ac_try" in
39867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39868 *) ac_try_echo=$ac_try;;
39869 esac
39870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39871 (eval "$ac_link") 2>conftest.er1
39872 ac_status=$?
39873 grep -v '^ *+' conftest.er1 >conftest.err
39874 rm -f conftest.er1
39875 cat conftest.err >&5
39876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39877 (exit $ac_status); } && {
39878 test -z "$ac_c_werror_flag" ||
39879 test ! -s conftest.err
39880 } && test -s conftest$ac_exeext &&
39881 $as_test_x conftest$ac_exeext; then
39882 ac_cv_func_pthread_cancel=yes
39883 else
39884 echo "$as_me: failed program was:" >&5
39885 sed 's/^/| /' conftest.$ac_ext >&5
39886
39887 ac_cv_func_pthread_cancel=no
39888 fi
39889
39890 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39891 conftest$ac_exeext conftest.$ac_ext
39892 fi
39893 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39894 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39895 if test $ac_cv_func_pthread_cancel = yes; then
39896 cat >>confdefs.h <<\_ACEOF
39897 #define HAVE_PTHREAD_CANCEL 1
39898 _ACEOF
39899
39900 else
39901 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39902 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39903 fi
39904
39905
39906 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39907 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39908 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39909 echo $ECHO_N "(cached) $ECHO_C" >&6
39910 else
39911 cat >conftest.$ac_ext <<_ACEOF
39912 /* confdefs.h. */
39913 _ACEOF
39914 cat confdefs.h >>conftest.$ac_ext
39915 cat >>conftest.$ac_ext <<_ACEOF
39916 /* end confdefs.h. */
39917 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39919 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39920
39921 /* System header to define __stub macros and hopefully few prototypes,
39922 which can conflict with char pthread_mutex_timedlock (); below.
39923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39924 <limits.h> exists even on freestanding compilers. */
39925
39926 #ifdef __STDC__
39927 # include <limits.h>
39928 #else
39929 # include <assert.h>
39930 #endif
39931
39932 #undef pthread_mutex_timedlock
39933
39934 /* Override any GCC internal prototype to avoid an error.
39935 Use char because int might match the return type of a GCC
39936 builtin and then its argument prototype would still apply. */
39937 #ifdef __cplusplus
39938 extern "C"
39939 #endif
39940 char pthread_mutex_timedlock ();
39941 /* The GNU C library defines this for functions which it implements
39942 to always fail with ENOSYS. Some functions are actually named
39943 something starting with __ and the normal name is an alias. */
39944 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39945 choke me
39946 #endif
39947
39948 int
39949 main ()
39950 {
39951 return pthread_mutex_timedlock ();
39952 ;
39953 return 0;
39954 }
39955 _ACEOF
39956 rm -f conftest.$ac_objext conftest$ac_exeext
39957 if { (ac_try="$ac_link"
39958 case "(($ac_try" in
39959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39960 *) ac_try_echo=$ac_try;;
39961 esac
39962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39963 (eval "$ac_link") 2>conftest.er1
39964 ac_status=$?
39965 grep -v '^ *+' conftest.er1 >conftest.err
39966 rm -f conftest.er1
39967 cat conftest.err >&5
39968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39969 (exit $ac_status); } && {
39970 test -z "$ac_c_werror_flag" ||
39971 test ! -s conftest.err
39972 } && test -s conftest$ac_exeext &&
39973 $as_test_x conftest$ac_exeext; then
39974 ac_cv_func_pthread_mutex_timedlock=yes
39975 else
39976 echo "$as_me: failed program was:" >&5
39977 sed 's/^/| /' conftest.$ac_ext >&5
39978
39979 ac_cv_func_pthread_mutex_timedlock=no
39980 fi
39981
39982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39983 conftest$ac_exeext conftest.$ac_ext
39984 fi
39985 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39986 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39987 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39988 cat >>confdefs.h <<\_ACEOF
39989 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39990 _ACEOF
39991
39992 else
39993 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39994 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39995 fi
39996
39997
39998 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39999 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
40000 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40001 echo $ECHO_N "(cached) $ECHO_C" >&6
40002 else
40003 cat >conftest.$ac_ext <<_ACEOF
40004 /* confdefs.h. */
40005 _ACEOF
40006 cat confdefs.h >>conftest.$ac_ext
40007 cat >>conftest.$ac_ext <<_ACEOF
40008 /* end confdefs.h. */
40009 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40011 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40012
40013 /* System header to define __stub macros and hopefully few prototypes,
40014 which can conflict with char pthread_attr_setstacksize (); below.
40015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40016 <limits.h> exists even on freestanding compilers. */
40017
40018 #ifdef __STDC__
40019 # include <limits.h>
40020 #else
40021 # include <assert.h>
40022 #endif
40023
40024 #undef pthread_attr_setstacksize
40025
40026 /* Override any GCC internal prototype to avoid an error.
40027 Use char because int might match the return type of a GCC
40028 builtin and then its argument prototype would still apply. */
40029 #ifdef __cplusplus
40030 extern "C"
40031 #endif
40032 char pthread_attr_setstacksize ();
40033 /* The GNU C library defines this for functions which it implements
40034 to always fail with ENOSYS. Some functions are actually named
40035 something starting with __ and the normal name is an alias. */
40036 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40037 choke me
40038 #endif
40039
40040 int
40041 main ()
40042 {
40043 return pthread_attr_setstacksize ();
40044 ;
40045 return 0;
40046 }
40047 _ACEOF
40048 rm -f conftest.$ac_objext conftest$ac_exeext
40049 if { (ac_try="$ac_link"
40050 case "(($ac_try" in
40051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40052 *) ac_try_echo=$ac_try;;
40053 esac
40054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40055 (eval "$ac_link") 2>conftest.er1
40056 ac_status=$?
40057 grep -v '^ *+' conftest.er1 >conftest.err
40058 rm -f conftest.er1
40059 cat conftest.err >&5
40060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40061 (exit $ac_status); } && {
40062 test -z "$ac_c_werror_flag" ||
40063 test ! -s conftest.err
40064 } && test -s conftest$ac_exeext &&
40065 $as_test_x conftest$ac_exeext; then
40066 ac_cv_func_pthread_attr_setstacksize=yes
40067 else
40068 echo "$as_me: failed program was:" >&5
40069 sed 's/^/| /' conftest.$ac_ext >&5
40070
40071 ac_cv_func_pthread_attr_setstacksize=no
40072 fi
40073
40074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40075 conftest$ac_exeext conftest.$ac_ext
40076 fi
40077 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40078 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40079 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40080 cat >>confdefs.h <<\_ACEOF
40081 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40082 _ACEOF
40083
40084 fi
40085
40086
40087
40088 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40089 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40090 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40091 echo $ECHO_N "(cached) $ECHO_C" >&6
40092 else
40093
40094 cat >conftest.$ac_ext <<_ACEOF
40095 /* confdefs.h. */
40096 _ACEOF
40097 cat confdefs.h >>conftest.$ac_ext
40098 cat >>conftest.$ac_ext <<_ACEOF
40099 /* end confdefs.h. */
40100 #include <pthread.h>
40101 int
40102 main ()
40103 {
40104
40105 pthread_mutexattr_t attr;
40106 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40107
40108 ;
40109 return 0;
40110 }
40111 _ACEOF
40112 rm -f conftest.$ac_objext
40113 if { (ac_try="$ac_compile"
40114 case "(($ac_try" in
40115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40116 *) ac_try_echo=$ac_try;;
40117 esac
40118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40119 (eval "$ac_compile") 2>conftest.er1
40120 ac_status=$?
40121 grep -v '^ *+' conftest.er1 >conftest.err
40122 rm -f conftest.er1
40123 cat conftest.err >&5
40124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40125 (exit $ac_status); } && {
40126 test -z "$ac_c_werror_flag" ||
40127 test ! -s conftest.err
40128 } && test -s conftest.$ac_objext; then
40129 wx_cv_type_pthread_mutexattr_t=yes
40130 else
40131 echo "$as_me: failed program was:" >&5
40132 sed 's/^/| /' conftest.$ac_ext >&5
40133
40134 wx_cv_type_pthread_mutexattr_t=no
40135
40136 fi
40137
40138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40139
40140 fi
40141 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40142 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40143
40144 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40145 cat >>confdefs.h <<\_ACEOF
40146 #define HAVE_PTHREAD_MUTEXATTR_T 1
40147 _ACEOF
40148
40149
40150 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40151 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40152 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40153 echo $ECHO_N "(cached) $ECHO_C" >&6
40154 else
40155
40156 cat >conftest.$ac_ext <<_ACEOF
40157 /* confdefs.h. */
40158 _ACEOF
40159 cat confdefs.h >>conftest.$ac_ext
40160 cat >>conftest.$ac_ext <<_ACEOF
40161 /* end confdefs.h. */
40162 #include <pthread.h>
40163 int
40164 main ()
40165 {
40166
40167 pthread_mutexattr_t attr;
40168 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40169
40170 ;
40171 return 0;
40172 }
40173 _ACEOF
40174 rm -f conftest.$ac_objext
40175 if { (ac_try="$ac_compile"
40176 case "(($ac_try" in
40177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40178 *) ac_try_echo=$ac_try;;
40179 esac
40180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40181 (eval "$ac_compile") 2>conftest.er1
40182 ac_status=$?
40183 grep -v '^ *+' conftest.er1 >conftest.err
40184 rm -f conftest.er1
40185 cat conftest.err >&5
40186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40187 (exit $ac_status); } && {
40188 test -z "$ac_c_werror_flag" ||
40189 test ! -s conftest.err
40190 } && test -s conftest.$ac_objext; then
40191 wx_cv_func_pthread_mutexattr_settype_decl=yes
40192 else
40193 echo "$as_me: failed program was:" >&5
40194 sed 's/^/| /' conftest.$ac_ext >&5
40195
40196 wx_cv_func_pthread_mutexattr_settype_decl=no
40197
40198 fi
40199
40200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40201
40202 fi
40203 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40204 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40205 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40206 cat >>confdefs.h <<\_ACEOF
40207 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40208 _ACEOF
40209
40210 fi
40211 else
40212 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40213 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40214 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40215 echo $ECHO_N "(cached) $ECHO_C" >&6
40216 else
40217
40218 cat >conftest.$ac_ext <<_ACEOF
40219 /* confdefs.h. */
40220 _ACEOF
40221 cat confdefs.h >>conftest.$ac_ext
40222 cat >>conftest.$ac_ext <<_ACEOF
40223 /* end confdefs.h. */
40224 #include <pthread.h>
40225 int
40226 main ()
40227 {
40228
40229 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40230
40231 ;
40232 return 0;
40233 }
40234 _ACEOF
40235 rm -f conftest.$ac_objext
40236 if { (ac_try="$ac_compile"
40237 case "(($ac_try" in
40238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40239 *) ac_try_echo=$ac_try;;
40240 esac
40241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40242 (eval "$ac_compile") 2>conftest.er1
40243 ac_status=$?
40244 grep -v '^ *+' conftest.er1 >conftest.err
40245 rm -f conftest.er1
40246 cat conftest.err >&5
40247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40248 (exit $ac_status); } && {
40249 test -z "$ac_c_werror_flag" ||
40250 test ! -s conftest.err
40251 } && test -s conftest.$ac_objext; then
40252
40253 wx_cv_type_pthread_rec_mutex_init=yes
40254
40255 else
40256 echo "$as_me: failed program was:" >&5
40257 sed 's/^/| /' conftest.$ac_ext >&5
40258
40259
40260 wx_cv_type_pthread_rec_mutex_init=no
40261
40262
40263 fi
40264
40265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40266
40267 fi
40268 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40269 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40270 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40271 cat >>confdefs.h <<\_ACEOF
40272 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40273 _ACEOF
40274
40275 else
40276 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40277 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40278 fi
40279 fi
40280
40281 if test "$wxUSE_COMPILER_TLS" = "auto"; then
40282 if test "$USE_NETBSD" = 1; then
40283 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
40284 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
40285 wxUSE_COMPILER_TLS=no
40286 else
40287 wxUSE_COMPILER_TLS=yes
40288 fi
40289 fi
40290
40291 if test "$wxUSE_COMPILER_TLS" = "yes"; then
40292 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40293 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40294 if test "${wx_cv_cc___thread+set}" = set; then
40295 echo $ECHO_N "(cached) $ECHO_C" >&6
40296 else
40297
40298 cat >conftest.$ac_ext <<_ACEOF
40299 /* confdefs.h. */
40300 _ACEOF
40301 cat confdefs.h >>conftest.$ac_ext
40302 cat >>conftest.$ac_ext <<_ACEOF
40303 /* end confdefs.h. */
40304 #include <pthread.h>
40305 int
40306 main ()
40307 {
40308
40309 static __thread int n = 0;
40310 static __thread int *p = 0;
40311
40312 ;
40313 return 0;
40314 }
40315 _ACEOF
40316 rm -f conftest.$ac_objext
40317 if { (ac_try="$ac_compile"
40318 case "(($ac_try" in
40319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40320 *) ac_try_echo=$ac_try;;
40321 esac
40322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40323 (eval "$ac_compile") 2>conftest.er1
40324 ac_status=$?
40325 grep -v '^ *+' conftest.er1 >conftest.err
40326 rm -f conftest.er1
40327 cat conftest.err >&5
40328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40329 (exit $ac_status); } && {
40330 test -z "$ac_c_werror_flag" ||
40331 test ! -s conftest.err
40332 } && test -s conftest.$ac_objext; then
40333 wx_cv_cc___thread=yes
40334 else
40335 echo "$as_me: failed program was:" >&5
40336 sed 's/^/| /' conftest.$ac_ext >&5
40337
40338 wx_cv_cc___thread=no
40339
40340 fi
40341
40342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40343
40344
40345 fi
40346 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40347 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40348
40349 if test "$wx_cv_cc___thread" = "yes"; then
40350
40351 GXX_VERSION=""
40352
40353
40354
40355 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40356 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40357
40358 if test "x$GCC" = "xyes" ; then
40359
40360 if test -z "" ; then
40361
40362 ax_gcc_option_test="int main()
40363 {
40364 return 0;
40365 }"
40366
40367 else
40368
40369 ax_gcc_option_test=""
40370
40371 fi
40372
40373
40374 # Dump the test program to file
40375 cat <<EOF > conftest.c
40376 $ax_gcc_option_test
40377 EOF
40378
40379 # Dump back the file to the log, useful for debugging purposes
40380 { ac_try='cat conftest.c 1>&5'
40381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40382 (eval $ac_try) 2>&5
40383 ac_status=$?
40384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40385 (exit $ac_status); }; }
40386
40387 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40389 (eval $ac_try) 2>&5
40390 ac_status=$?
40391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40392 (exit $ac_status); }; } ; then
40393
40394 { echo "$as_me:$LINENO: result: yes" >&5
40395 echo "${ECHO_T}yes" >&6; }
40396
40397 ax_gcc_version_option=yes
40398
40399
40400 else
40401
40402 { echo "$as_me:$LINENO: result: no" >&5
40403 echo "${ECHO_T}no" >&6; }
40404
40405 ax_gcc_version_option=no
40406
40407
40408 fi
40409
40410
40411 else
40412
40413 { echo "$as_me:$LINENO: result: no gcc available" >&5
40414 echo "${ECHO_T}no gcc available" >&6; }
40415
40416 fi
40417
40418
40419 if test "x$GXX" = "xyes"; then
40420
40421 if test "x$ax_gxx_version_option" != "no"; then
40422
40423 { echo "$as_me:$LINENO: checking gxx version" >&5
40424 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40425 if test "${ax_cv_gxx_version+set}" = set; then
40426 echo $ECHO_N "(cached) $ECHO_C" >&6
40427 else
40428
40429 ax_cv_gxx_version="`$CXX -dumpversion`"
40430 if test "x$ax_cv_gxx_version" = "x"; then
40431
40432 ax_cv_gxx_version=""
40433
40434 fi
40435
40436
40437 fi
40438 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40439 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40440 GXX_VERSION=$ax_cv_gxx_version
40441
40442 fi
40443
40444
40445 fi
40446
40447
40448
40449 if test -n "$ax_cv_gxx_version"; then
40450 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40451 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40452 case "$ax_cv_gxx_version" in
40453 1.* | 2.* | 3.* )
40454 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40455 echo "${ECHO_T}no, it's broken" >&6; }
40456 wx_cv_cc___thread=no
40457 ;;
40458 *)
40459 { echo "$as_me:$LINENO: result: yes, it works" >&5
40460 echo "${ECHO_T}yes, it works" >&6; }
40461 ;;
40462 esac
40463 fi
40464 fi
40465
40466 if test "$wx_cv_cc___thread" = "yes"; then
40467 cat >>confdefs.h <<\_ACEOF
40468 #define HAVE___THREAD_KEYWORD 1
40469 _ACEOF
40470
40471 fi
40472 fi
40473 fi
40474
40475 else
40476 if test "$wxUSE_THREADS" = "yes" ; then
40477 case "${host}" in
40478 x86_64-*-mingw32* )
40479 ;;
40480 *-*-mingw32* )
40481 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40482 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40483 if test "${wx_cv_cflags_mthread+set}" = set; then
40484 echo $ECHO_N "(cached) $ECHO_C" >&6
40485 else
40486
40487 CFLAGS_OLD="$CFLAGS"
40488 CFLAGS="-mthreads $CFLAGS"
40489 cat >conftest.$ac_ext <<_ACEOF
40490 /* confdefs.h. */
40491 _ACEOF
40492 cat confdefs.h >>conftest.$ac_ext
40493 cat >>conftest.$ac_ext <<_ACEOF
40494 /* end confdefs.h. */
40495
40496 int
40497 main ()
40498 {
40499
40500 ;
40501 return 0;
40502 }
40503 _ACEOF
40504 rm -f conftest.$ac_objext
40505 if { (ac_try="$ac_compile"
40506 case "(($ac_try" in
40507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40508 *) ac_try_echo=$ac_try;;
40509 esac
40510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40511 (eval "$ac_compile") 2>conftest.er1
40512 ac_status=$?
40513 grep -v '^ *+' conftest.er1 >conftest.err
40514 rm -f conftest.er1
40515 cat conftest.err >&5
40516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40517 (exit $ac_status); } && {
40518 test -z "$ac_c_werror_flag" ||
40519 test ! -s conftest.err
40520 } && test -s conftest.$ac_objext; then
40521 wx_cv_cflags_mthread=yes
40522 else
40523 echo "$as_me: failed program was:" >&5
40524 sed 's/^/| /' conftest.$ac_ext >&5
40525
40526 wx_cv_cflags_mthread=no
40527
40528 fi
40529
40530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40531
40532
40533 fi
40534 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40535 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40536
40537 if test "$wx_cv_cflags_mthread" = "yes"; then
40538 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40539 LDFLAGS="$LDFLAGS -mthreads"
40540 else
40541 CFLAGS="$CFLAGS_OLD"
40542 fi
40543 ;;
40544 *-pc-os2*emx )
40545 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40546 LDFLAGS="$LDFLAGS -Zmt"
40547 ;;
40548 esac
40549 fi
40550 fi
40551
40552 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40553 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40554 if test "${ac_cv_func_localtime_r+set}" = set; then
40555 echo $ECHO_N "(cached) $ECHO_C" >&6
40556 else
40557 cat >conftest.$ac_ext <<_ACEOF
40558 /* confdefs.h. */
40559 _ACEOF
40560 cat confdefs.h >>conftest.$ac_ext
40561 cat >>conftest.$ac_ext <<_ACEOF
40562 /* end confdefs.h. */
40563 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40565 #define localtime_r innocuous_localtime_r
40566
40567 /* System header to define __stub macros and hopefully few prototypes,
40568 which can conflict with char localtime_r (); below.
40569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40570 <limits.h> exists even on freestanding compilers. */
40571
40572 #ifdef __STDC__
40573 # include <limits.h>
40574 #else
40575 # include <assert.h>
40576 #endif
40577
40578 #undef localtime_r
40579
40580 /* Override any GCC internal prototype to avoid an error.
40581 Use char because int might match the return type of a GCC
40582 builtin and then its argument prototype would still apply. */
40583 #ifdef __cplusplus
40584 extern "C"
40585 #endif
40586 char localtime_r ();
40587 /* The GNU C library defines this for functions which it implements
40588 to always fail with ENOSYS. Some functions are actually named
40589 something starting with __ and the normal name is an alias. */
40590 #if defined __stub_localtime_r || defined __stub___localtime_r
40591 choke me
40592 #endif
40593
40594 int
40595 main ()
40596 {
40597 return localtime_r ();
40598 ;
40599 return 0;
40600 }
40601 _ACEOF
40602 rm -f conftest.$ac_objext conftest$ac_exeext
40603 if { (ac_try="$ac_link"
40604 case "(($ac_try" in
40605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40606 *) ac_try_echo=$ac_try;;
40607 esac
40608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40609 (eval "$ac_link") 2>conftest.er1
40610 ac_status=$?
40611 grep -v '^ *+' conftest.er1 >conftest.err
40612 rm -f conftest.er1
40613 cat conftest.err >&5
40614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40615 (exit $ac_status); } && {
40616 test -z "$ac_c_werror_flag" ||
40617 test ! -s conftest.err
40618 } && test -s conftest$ac_exeext &&
40619 $as_test_x conftest$ac_exeext; then
40620 ac_cv_func_localtime_r=yes
40621 else
40622 echo "$as_me: failed program was:" >&5
40623 sed 's/^/| /' conftest.$ac_ext >&5
40624
40625 ac_cv_func_localtime_r=no
40626 fi
40627
40628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40629 conftest$ac_exeext conftest.$ac_ext
40630 fi
40631 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40632 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40633 if test $ac_cv_func_localtime_r = yes; then
40634 cat >>confdefs.h <<\_ACEOF
40635 #define HAVE_LOCALTIME_R 1
40636 _ACEOF
40637
40638 fi
40639
40640 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40641 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40642 if test "${ac_cv_func_gmtime_r+set}" = set; then
40643 echo $ECHO_N "(cached) $ECHO_C" >&6
40644 else
40645 cat >conftest.$ac_ext <<_ACEOF
40646 /* confdefs.h. */
40647 _ACEOF
40648 cat confdefs.h >>conftest.$ac_ext
40649 cat >>conftest.$ac_ext <<_ACEOF
40650 /* end confdefs.h. */
40651 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40653 #define gmtime_r innocuous_gmtime_r
40654
40655 /* System header to define __stub macros and hopefully few prototypes,
40656 which can conflict with char gmtime_r (); below.
40657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40658 <limits.h> exists even on freestanding compilers. */
40659
40660 #ifdef __STDC__
40661 # include <limits.h>
40662 #else
40663 # include <assert.h>
40664 #endif
40665
40666 #undef gmtime_r
40667
40668 /* Override any GCC internal prototype to avoid an error.
40669 Use char because int might match the return type of a GCC
40670 builtin and then its argument prototype would still apply. */
40671 #ifdef __cplusplus
40672 extern "C"
40673 #endif
40674 char gmtime_r ();
40675 /* The GNU C library defines this for functions which it implements
40676 to always fail with ENOSYS. Some functions are actually named
40677 something starting with __ and the normal name is an alias. */
40678 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40679 choke me
40680 #endif
40681
40682 int
40683 main ()
40684 {
40685 return gmtime_r ();
40686 ;
40687 return 0;
40688 }
40689 _ACEOF
40690 rm -f conftest.$ac_objext conftest$ac_exeext
40691 if { (ac_try="$ac_link"
40692 case "(($ac_try" in
40693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40694 *) ac_try_echo=$ac_try;;
40695 esac
40696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40697 (eval "$ac_link") 2>conftest.er1
40698 ac_status=$?
40699 grep -v '^ *+' conftest.er1 >conftest.err
40700 rm -f conftest.er1
40701 cat conftest.err >&5
40702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40703 (exit $ac_status); } && {
40704 test -z "$ac_c_werror_flag" ||
40705 test ! -s conftest.err
40706 } && test -s conftest$ac_exeext &&
40707 $as_test_x conftest$ac_exeext; then
40708 ac_cv_func_gmtime_r=yes
40709 else
40710 echo "$as_me: failed program was:" >&5
40711 sed 's/^/| /' conftest.$ac_ext >&5
40712
40713 ac_cv_func_gmtime_r=no
40714 fi
40715
40716 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40717 conftest$ac_exeext conftest.$ac_ext
40718 fi
40719 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40720 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40721 if test $ac_cv_func_gmtime_r = yes; then
40722 cat >>confdefs.h <<\_ACEOF
40723 #define HAVE_GMTIME_R 1
40724 _ACEOF
40725
40726 fi
40727
40728
40729
40730
40731 ac_ext=c
40732 ac_cpp='$CPP $CPPFLAGS'
40733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40736
40737 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40738 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40739
40740 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40741 echo $ECHO_N "(cached) $ECHO_C" >&6
40742 else
40743
40744
40745 ################################################################
40746
40747 ac_cv_func_which_gethostbyname_r=unknown
40748
40749 #
40750 # ONE ARGUMENT (sanity check)
40751 #
40752
40753 # This should fail, as there is no variant of gethostbyname_r() that takes
40754 # a single argument. If it actually compiles, then we can assume that
40755 # netdb.h is not declaring the function, and the compiler is thereby
40756 # assuming an implicit prototype. In which case, we're out of luck.
40757 #
40758 cat >conftest.$ac_ext <<_ACEOF
40759 /* confdefs.h. */
40760 _ACEOF
40761 cat confdefs.h >>conftest.$ac_ext
40762 cat >>conftest.$ac_ext <<_ACEOF
40763 /* end confdefs.h. */
40764 #include <netdb.h>
40765 int
40766 main ()
40767 {
40768
40769 char *name = "www.gnu.org";
40770 (void)gethostbyname_r(name) /* ; */
40771
40772 ;
40773 return 0;
40774 }
40775 _ACEOF
40776 rm -f conftest.$ac_objext
40777 if { (ac_try="$ac_compile"
40778 case "(($ac_try" in
40779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40780 *) ac_try_echo=$ac_try;;
40781 esac
40782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40783 (eval "$ac_compile") 2>conftest.er1
40784 ac_status=$?
40785 grep -v '^ *+' conftest.er1 >conftest.err
40786 rm -f conftest.er1
40787 cat conftest.err >&5
40788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40789 (exit $ac_status); } && {
40790 test -z "$ac_c_werror_flag" ||
40791 test ! -s conftest.err
40792 } && test -s conftest.$ac_objext; then
40793 ac_cv_func_which_gethostbyname_r=no
40794 else
40795 echo "$as_me: failed program was:" >&5
40796 sed 's/^/| /' conftest.$ac_ext >&5
40797
40798
40799 fi
40800
40801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40802
40803 #
40804 # SIX ARGUMENTS
40805 # (e.g. Linux)
40806 #
40807
40808 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40809
40810 cat >conftest.$ac_ext <<_ACEOF
40811 /* confdefs.h. */
40812 _ACEOF
40813 cat confdefs.h >>conftest.$ac_ext
40814 cat >>conftest.$ac_ext <<_ACEOF
40815 /* end confdefs.h. */
40816 #include <netdb.h>
40817 int
40818 main ()
40819 {
40820
40821 char *name = "www.gnu.org";
40822 struct hostent ret, *retp;
40823 char buf[1024];
40824 int buflen = 1024;
40825 int my_h_errno;
40826 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40827
40828 ;
40829 return 0;
40830 }
40831 _ACEOF
40832 rm -f conftest.$ac_objext
40833 if { (ac_try="$ac_compile"
40834 case "(($ac_try" in
40835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40836 *) ac_try_echo=$ac_try;;
40837 esac
40838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40839 (eval "$ac_compile") 2>conftest.er1
40840 ac_status=$?
40841 grep -v '^ *+' conftest.er1 >conftest.err
40842 rm -f conftest.er1
40843 cat conftest.err >&5
40844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40845 (exit $ac_status); } && {
40846 test -z "$ac_c_werror_flag" ||
40847 test ! -s conftest.err
40848 } && test -s conftest.$ac_objext; then
40849 ac_cv_func_which_gethostbyname_r=six
40850 else
40851 echo "$as_me: failed program was:" >&5
40852 sed 's/^/| /' conftest.$ac_ext >&5
40853
40854
40855 fi
40856
40857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40858
40859 fi
40860
40861 #
40862 # FIVE ARGUMENTS
40863 # (e.g. Solaris)
40864 #
40865
40866 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40867
40868 cat >conftest.$ac_ext <<_ACEOF
40869 /* confdefs.h. */
40870 _ACEOF
40871 cat confdefs.h >>conftest.$ac_ext
40872 cat >>conftest.$ac_ext <<_ACEOF
40873 /* end confdefs.h. */
40874 #include <netdb.h>
40875 int
40876 main ()
40877 {
40878
40879 char *name = "www.gnu.org";
40880 struct hostent ret;
40881 char buf[1024];
40882 int buflen = 1024;
40883 int my_h_errno;
40884 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40885
40886 ;
40887 return 0;
40888 }
40889 _ACEOF
40890 rm -f conftest.$ac_objext
40891 if { (ac_try="$ac_compile"
40892 case "(($ac_try" in
40893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40894 *) ac_try_echo=$ac_try;;
40895 esac
40896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40897 (eval "$ac_compile") 2>conftest.er1
40898 ac_status=$?
40899 grep -v '^ *+' conftest.er1 >conftest.err
40900 rm -f conftest.er1
40901 cat conftest.err >&5
40902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40903 (exit $ac_status); } && {
40904 test -z "$ac_c_werror_flag" ||
40905 test ! -s conftest.err
40906 } && test -s conftest.$ac_objext; then
40907 ac_cv_func_which_gethostbyname_r=five
40908 else
40909 echo "$as_me: failed program was:" >&5
40910 sed 's/^/| /' conftest.$ac_ext >&5
40911
40912
40913 fi
40914
40915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40916
40917 fi
40918
40919 #
40920 # THREE ARGUMENTS
40921 # (e.g. AIX, HP-UX, Tru64)
40922 #
40923
40924 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40925
40926 cat >conftest.$ac_ext <<_ACEOF
40927 /* confdefs.h. */
40928 _ACEOF
40929 cat confdefs.h >>conftest.$ac_ext
40930 cat >>conftest.$ac_ext <<_ACEOF
40931 /* end confdefs.h. */
40932 #include <netdb.h>
40933 int
40934 main ()
40935 {
40936
40937 char *name = "www.gnu.org";
40938 struct hostent ret;
40939 struct hostent_data data;
40940 (void)gethostbyname_r(name, &ret, &data) /* ; */
40941
40942 ;
40943 return 0;
40944 }
40945 _ACEOF
40946 rm -f conftest.$ac_objext
40947 if { (ac_try="$ac_compile"
40948 case "(($ac_try" in
40949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40950 *) ac_try_echo=$ac_try;;
40951 esac
40952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40953 (eval "$ac_compile") 2>conftest.er1
40954 ac_status=$?
40955 grep -v '^ *+' conftest.er1 >conftest.err
40956 rm -f conftest.er1
40957 cat conftest.err >&5
40958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40959 (exit $ac_status); } && {
40960 test -z "$ac_c_werror_flag" ||
40961 test ! -s conftest.err
40962 } && test -s conftest.$ac_objext; then
40963 ac_cv_func_which_gethostbyname_r=three
40964 else
40965 echo "$as_me: failed program was:" >&5
40966 sed 's/^/| /' conftest.$ac_ext >&5
40967
40968
40969 fi
40970
40971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40972
40973 fi
40974
40975 ################################################################
40976
40977
40978 fi
40979
40980 case "$ac_cv_func_which_gethostbyname_r" in
40981 three)
40982 { echo "$as_me:$LINENO: result: three" >&5
40983 echo "${ECHO_T}three" >&6; }
40984 cat >>confdefs.h <<\_ACEOF
40985 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40986 _ACEOF
40987
40988 ;;
40989
40990 five)
40991 { echo "$as_me:$LINENO: result: five" >&5
40992 echo "${ECHO_T}five" >&6; }
40993 cat >>confdefs.h <<\_ACEOF
40994 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40995 _ACEOF
40996
40997 ;;
40998
40999 six)
41000 { echo "$as_me:$LINENO: result: six" >&5
41001 echo "${ECHO_T}six" >&6; }
41002 cat >>confdefs.h <<\_ACEOF
41003 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41004 _ACEOF
41005
41006 ;;
41007
41008 no)
41009 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41010 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
41011 ;;
41012
41013 unknown)
41014 { echo "$as_me:$LINENO: result: can't tell" >&5
41015 echo "${ECHO_T}can't tell" >&6; }
41016 ;;
41017
41018 *)
41019 { { echo "$as_me:$LINENO: error: internal error" >&5
41020 echo "$as_me: error: internal error" >&2;}
41021 { (exit 1); exit 1; }; }
41022 ;;
41023 esac
41024
41025 ac_ext=c
41026 ac_cpp='$CPP $CPPFLAGS'
41027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41030
41031
41032
41033 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41034 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41035 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
41036 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
41037 if test "${ac_cv_func_gethostbyname+set}" = set; then
41038 echo $ECHO_N "(cached) $ECHO_C" >&6
41039 else
41040 cat >conftest.$ac_ext <<_ACEOF
41041 /* confdefs.h. */
41042 _ACEOF
41043 cat confdefs.h >>conftest.$ac_ext
41044 cat >>conftest.$ac_ext <<_ACEOF
41045 /* end confdefs.h. */
41046 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41048 #define gethostbyname innocuous_gethostbyname
41049
41050 /* System header to define __stub macros and hopefully few prototypes,
41051 which can conflict with char gethostbyname (); below.
41052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41053 <limits.h> exists even on freestanding compilers. */
41054
41055 #ifdef __STDC__
41056 # include <limits.h>
41057 #else
41058 # include <assert.h>
41059 #endif
41060
41061 #undef gethostbyname
41062
41063 /* Override any GCC internal prototype to avoid an error.
41064 Use char because int might match the return type of a GCC
41065 builtin and then its argument prototype would still apply. */
41066 #ifdef __cplusplus
41067 extern "C"
41068 #endif
41069 char gethostbyname ();
41070 /* The GNU C library defines this for functions which it implements
41071 to always fail with ENOSYS. Some functions are actually named
41072 something starting with __ and the normal name is an alias. */
41073 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41074 choke me
41075 #endif
41076
41077 int
41078 main ()
41079 {
41080 return gethostbyname ();
41081 ;
41082 return 0;
41083 }
41084 _ACEOF
41085 rm -f conftest.$ac_objext conftest$ac_exeext
41086 if { (ac_try="$ac_link"
41087 case "(($ac_try" in
41088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41089 *) ac_try_echo=$ac_try;;
41090 esac
41091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41092 (eval "$ac_link") 2>conftest.er1
41093 ac_status=$?
41094 grep -v '^ *+' conftest.er1 >conftest.err
41095 rm -f conftest.er1
41096 cat conftest.err >&5
41097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41098 (exit $ac_status); } && {
41099 test -z "$ac_c_werror_flag" ||
41100 test ! -s conftest.err
41101 } && test -s conftest$ac_exeext &&
41102 $as_test_x conftest$ac_exeext; then
41103 ac_cv_func_gethostbyname=yes
41104 else
41105 echo "$as_me: failed program was:" >&5
41106 sed 's/^/| /' conftest.$ac_ext >&5
41107
41108 ac_cv_func_gethostbyname=no
41109 fi
41110
41111 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41112 conftest$ac_exeext conftest.$ac_ext
41113 fi
41114 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41115 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41116 if test $ac_cv_func_gethostbyname = yes; then
41117 cat >>confdefs.h <<\_ACEOF
41118 #define HAVE_GETHOSTBYNAME 1
41119 _ACEOF
41120
41121 fi
41122
41123 fi
41124
41125 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41126 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41127 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41128 echo $ECHO_N "(cached) $ECHO_C" >&6
41129 else
41130
41131 ac_ext=cpp
41132 ac_cpp='$CXXCPP $CPPFLAGS'
41133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41136
41137
41138 cat >conftest.$ac_ext <<_ACEOF
41139 /* confdefs.h. */
41140 _ACEOF
41141 cat confdefs.h >>conftest.$ac_ext
41142 cat >>conftest.$ac_ext <<_ACEOF
41143 /* end confdefs.h. */
41144 #include <netdb.h>
41145 int
41146 main ()
41147 {
41148
41149 char *name;
41150 char *proto;
41151 struct servent *se, *res;
41152 char buffer[2048];
41153 int buflen = 2048;
41154 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41155
41156 ;
41157 return 0;
41158 }
41159 _ACEOF
41160 rm -f conftest.$ac_objext
41161 if { (ac_try="$ac_compile"
41162 case "(($ac_try" in
41163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41164 *) ac_try_echo=$ac_try;;
41165 esac
41166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41167 (eval "$ac_compile") 2>conftest.er1
41168 ac_status=$?
41169 grep -v '^ *+' conftest.er1 >conftest.err
41170 rm -f conftest.er1
41171 cat conftest.err >&5
41172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41173 (exit $ac_status); } && {
41174 test -z "$ac_cxx_werror_flag" ||
41175 test ! -s conftest.err
41176 } && test -s conftest.$ac_objext; then
41177 ac_cv_func_which_getservbyname_r=six
41178 else
41179 echo "$as_me: failed program was:" >&5
41180 sed 's/^/| /' conftest.$ac_ext >&5
41181
41182
41183 cat >conftest.$ac_ext <<_ACEOF
41184 /* confdefs.h. */
41185 _ACEOF
41186 cat confdefs.h >>conftest.$ac_ext
41187 cat >>conftest.$ac_ext <<_ACEOF
41188 /* end confdefs.h. */
41189 #include <netdb.h>
41190 int
41191 main ()
41192 {
41193
41194 char *name;
41195 char *proto;
41196 struct servent *se;
41197 char buffer[2048];
41198 int buflen = 2048;
41199 (void) getservbyname_r(name, proto, se, buffer, buflen)
41200
41201 ;
41202 return 0;
41203 }
41204 _ACEOF
41205 rm -f conftest.$ac_objext
41206 if { (ac_try="$ac_compile"
41207 case "(($ac_try" in
41208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41209 *) ac_try_echo=$ac_try;;
41210 esac
41211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41212 (eval "$ac_compile") 2>conftest.er1
41213 ac_status=$?
41214 grep -v '^ *+' conftest.er1 >conftest.err
41215 rm -f conftest.er1
41216 cat conftest.err >&5
41217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41218 (exit $ac_status); } && {
41219 test -z "$ac_cxx_werror_flag" ||
41220 test ! -s conftest.err
41221 } && test -s conftest.$ac_objext; then
41222 ac_cv_func_which_getservbyname_r=five
41223 else
41224 echo "$as_me: failed program was:" >&5
41225 sed 's/^/| /' conftest.$ac_ext >&5
41226
41227
41228 cat >conftest.$ac_ext <<_ACEOF
41229 /* confdefs.h. */
41230 _ACEOF
41231 cat confdefs.h >>conftest.$ac_ext
41232 cat >>conftest.$ac_ext <<_ACEOF
41233 /* end confdefs.h. */
41234 #include <netdb.h>
41235 int
41236 main ()
41237 {
41238
41239 char *name;
41240 char *proto;
41241 struct servent *se;
41242 struct servent_data data;
41243 (void) getservbyname_r(name, proto, se, &data);
41244
41245 ;
41246 return 0;
41247 }
41248 _ACEOF
41249 rm -f conftest.$ac_objext
41250 if { (ac_try="$ac_compile"
41251 case "(($ac_try" in
41252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41253 *) ac_try_echo=$ac_try;;
41254 esac
41255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41256 (eval "$ac_compile") 2>conftest.er1
41257 ac_status=$?
41258 grep -v '^ *+' conftest.er1 >conftest.err
41259 rm -f conftest.er1
41260 cat conftest.err >&5
41261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41262 (exit $ac_status); } && {
41263 test -z "$ac_cxx_werror_flag" ||
41264 test ! -s conftest.err
41265 } && test -s conftest.$ac_objext; then
41266 ac_cv_func_which_getservbyname_r=four
41267 else
41268 echo "$as_me: failed program was:" >&5
41269 sed 's/^/| /' conftest.$ac_ext >&5
41270
41271 ac_cv_func_which_getservbyname_r=no
41272
41273 fi
41274
41275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41276
41277
41278 fi
41279
41280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41281
41282
41283 fi
41284
41285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41286 ac_ext=c
41287 ac_cpp='$CPP $CPPFLAGS'
41288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41291
41292
41293
41294 fi
41295 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41296 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41297
41298 if test $ac_cv_func_which_getservbyname_r = six; then
41299 cat >>confdefs.h <<\_ACEOF
41300 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41301 _ACEOF
41302
41303 elif test $ac_cv_func_which_getservbyname_r = five; then
41304 cat >>confdefs.h <<\_ACEOF
41305 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41306 _ACEOF
41307
41308 elif test $ac_cv_func_which_getservbyname_r = four; then
41309 cat >>confdefs.h <<\_ACEOF
41310 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41311 _ACEOF
41312
41313 fi
41314
41315
41316 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41317 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41318
41319 for ac_func in getservbyname
41320 do
41321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41322 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41324 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41325 echo $ECHO_N "(cached) $ECHO_C" >&6
41326 else
41327 cat >conftest.$ac_ext <<_ACEOF
41328 /* confdefs.h. */
41329 _ACEOF
41330 cat confdefs.h >>conftest.$ac_ext
41331 cat >>conftest.$ac_ext <<_ACEOF
41332 /* end confdefs.h. */
41333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41335 #define $ac_func innocuous_$ac_func
41336
41337 /* System header to define __stub macros and hopefully few prototypes,
41338 which can conflict with char $ac_func (); below.
41339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41340 <limits.h> exists even on freestanding compilers. */
41341
41342 #ifdef __STDC__
41343 # include <limits.h>
41344 #else
41345 # include <assert.h>
41346 #endif
41347
41348 #undef $ac_func
41349
41350 /* Override any GCC internal prototype to avoid an error.
41351 Use char because int might match the return type of a GCC
41352 builtin and then its argument prototype would still apply. */
41353 #ifdef __cplusplus
41354 extern "C"
41355 #endif
41356 char $ac_func ();
41357 /* The GNU C library defines this for functions which it implements
41358 to always fail with ENOSYS. Some functions are actually named
41359 something starting with __ and the normal name is an alias. */
41360 #if defined __stub_$ac_func || defined __stub___$ac_func
41361 choke me
41362 #endif
41363
41364 int
41365 main ()
41366 {
41367 return $ac_func ();
41368 ;
41369 return 0;
41370 }
41371 _ACEOF
41372 rm -f conftest.$ac_objext conftest$ac_exeext
41373 if { (ac_try="$ac_link"
41374 case "(($ac_try" in
41375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41376 *) ac_try_echo=$ac_try;;
41377 esac
41378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41379 (eval "$ac_link") 2>conftest.er1
41380 ac_status=$?
41381 grep -v '^ *+' conftest.er1 >conftest.err
41382 rm -f conftest.er1
41383 cat conftest.err >&5
41384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41385 (exit $ac_status); } && {
41386 test -z "$ac_c_werror_flag" ||
41387 test ! -s conftest.err
41388 } && test -s conftest$ac_exeext &&
41389 $as_test_x conftest$ac_exeext; then
41390 eval "$as_ac_var=yes"
41391 else
41392 echo "$as_me: failed program was:" >&5
41393 sed 's/^/| /' conftest.$ac_ext >&5
41394
41395 eval "$as_ac_var=no"
41396 fi
41397
41398 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41399 conftest$ac_exeext conftest.$ac_ext
41400 fi
41401 ac_res=`eval echo '${'$as_ac_var'}'`
41402 { echo "$as_me:$LINENO: result: $ac_res" >&5
41403 echo "${ECHO_T}$ac_res" >&6; }
41404 if test `eval echo '${'$as_ac_var'}'` = yes; then
41405 cat >>confdefs.h <<_ACEOF
41406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41407 _ACEOF
41408 cat >>confdefs.h <<\_ACEOF
41409 #define HAVE_GETSERVBYNAME 1
41410 _ACEOF
41411
41412 fi
41413 done
41414
41415 fi
41416
41417 if test "$wxUSE_THREADS" = "yes"; then
41418 cat >>confdefs.h <<\_ACEOF
41419 #define wxUSE_THREADS 1
41420 _ACEOF
41421
41422
41423 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41424 else
41425 if test "$wx_cv_func_strtok_r" = "yes"; then
41426 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41427 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41428 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41429 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41430 { echo "$as_me:$LINENO: result: yes" >&5
41431 echo "${ECHO_T}yes" >&6; }
41432 else
41433 { echo "$as_me:$LINENO: result: no" >&5
41434 echo "${ECHO_T}no" >&6; }
41435 fi
41436 fi
41437 fi
41438
41439 if test "$WXGTK2" = 1 ; then
41440 cat >>confdefs.h <<_ACEOF
41441 #define __WXGTK20__ $WXGTK2
41442 _ACEOF
41443
41444 WXGTK12=1
41445 fi
41446
41447 if test "$WXGTK12" = 1 ; then
41448 cat >>confdefs.h <<_ACEOF
41449 #define __WXGTK12__ $WXGTK12
41450 _ACEOF
41451
41452 fi
41453
41454 if test "$WXGTK127" = 1 ; then
41455 cat >>confdefs.h <<_ACEOF
41456 #define __WXGTK127__ $WXGTK127
41457 _ACEOF
41458
41459 fi
41460
41461 if test "$WXGPE" = 1 ; then
41462 cat >>confdefs.h <<_ACEOF
41463 #define __WXGPE__ $WXGPE
41464 _ACEOF
41465
41466 fi
41467
41468 DEBUG_CFLAGS=
41469 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
41470 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
41471 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
41472 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
41473 DEBUG_CFLAGS="-g"
41474 fi
41475
41476 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41477 wxUSE_DEBUG_INFO=yes
41478 if test "$GCC" = yes; then
41479 DEBUG_CFLAGS="-ggdb"
41480 fi
41481 fi
41482
41483 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41484 cat >>confdefs.h <<\_ACEOF
41485 #define WXDEBUG 1
41486 _ACEOF
41487
41488 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41489 else
41490 if test "$wxUSE_GTK" = 1 ; then
41491 if test "x$wxGTK_VERSION" = "x1" ; then
41492 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41493 fi
41494 fi
41495 fi
41496
41497 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41498 cat >>confdefs.h <<\_ACEOF
41499 #define wxUSE_MEMORY_TRACING 1
41500 _ACEOF
41501
41502 cat >>confdefs.h <<\_ACEOF
41503 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41504 _ACEOF
41505
41506 cat >>confdefs.h <<\_ACEOF
41507 #define wxUSE_DEBUG_NEW_ALWAYS 1
41508 _ACEOF
41509
41510 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41511 fi
41512
41513 if test "$wxUSE_DMALLOC" = "yes" ; then
41514 DMALLOC_LIBS="-ldmallocthcxx"
41515 fi
41516
41517 PROFILE_FLAGS=
41518 if test "$wxUSE_PROFILE" = "yes" ; then
41519 PROFILE_FLAGS=" -pg"
41520 fi
41521
41522 if test "$GCC" = "yes" ; then
41523 if test "$wxUSE_NO_RTTI" = "yes" ; then
41524 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41525 fi
41526 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41527 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41528 fi
41529 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41530 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41531 fi
41532
41533 case "${host}" in
41534 powerpc*-*-aix* )
41535 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41536 ;;
41537 *-hppa* )
41538 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41539 ;;
41540 esac
41541 fi
41542
41543 OPTIMISE_CFLAGS=
41544 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
41545 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
41546 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
41547 else
41548 if test "$wxUSE_OPTIMISE" = "no" ; then
41549 if test "$GCC" = yes ; then
41550 OPTIMISE_CFLAGS="-O0"
41551 fi
41552 else
41553 if test "$GCC" = yes ; then
41554 case "${host}" in
41555 *-pc-os2_emx | *-pc-os2-emx )
41556 OPTIMISE_CFLAGS="-O2"
41557 ;;
41558 *)
41559 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41560 ;;
41561 esac
41562 else
41563 OPTIMISE_CFLAGS="-O"
41564 fi
41565 fi
41566 fi
41567
41568
41569 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41570 cat >>confdefs.h <<\_ACEOF
41571 #define WXWIN_COMPATIBILITY_2_6 1
41572 _ACEOF
41573
41574
41575 WXWIN_COMPATIBILITY_2_8="yes"
41576 fi
41577
41578 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41579 cat >>confdefs.h <<\_ACEOF
41580 #define WXWIN_COMPATIBILITY_2_8 1
41581 _ACEOF
41582
41583 fi
41584
41585
41586 if test "$wxUSE_GUI" = "yes"; then
41587 cat >>confdefs.h <<\_ACEOF
41588 #define wxUSE_GUI 1
41589 _ACEOF
41590
41591
41592 fi
41593
41594
41595 if test "$wxUSE_UNIX" = "yes"; then
41596 cat >>confdefs.h <<\_ACEOF
41597 #define wxUSE_UNIX 1
41598 _ACEOF
41599
41600 fi
41601
41602
41603 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41604
41605 HAVE_DL_FUNCS=0
41606 HAVE_SHL_FUNCS=0
41607 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41608 if test "$USE_DOS" = 1; then
41609 HAVE_DL_FUNCS=0
41610 else
41611
41612 for ac_func in dlopen
41613 do
41614 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41615 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41616 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41617 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41618 echo $ECHO_N "(cached) $ECHO_C" >&6
41619 else
41620 cat >conftest.$ac_ext <<_ACEOF
41621 /* confdefs.h. */
41622 _ACEOF
41623 cat confdefs.h >>conftest.$ac_ext
41624 cat >>conftest.$ac_ext <<_ACEOF
41625 /* end confdefs.h. */
41626 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41628 #define $ac_func innocuous_$ac_func
41629
41630 /* System header to define __stub macros and hopefully few prototypes,
41631 which can conflict with char $ac_func (); below.
41632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41633 <limits.h> exists even on freestanding compilers. */
41634
41635 #ifdef __STDC__
41636 # include <limits.h>
41637 #else
41638 # include <assert.h>
41639 #endif
41640
41641 #undef $ac_func
41642
41643 /* Override any GCC internal prototype to avoid an error.
41644 Use char because int might match the return type of a GCC
41645 builtin and then its argument prototype would still apply. */
41646 #ifdef __cplusplus
41647 extern "C"
41648 #endif
41649 char $ac_func ();
41650 /* The GNU C library defines this for functions which it implements
41651 to always fail with ENOSYS. Some functions are actually named
41652 something starting with __ and the normal name is an alias. */
41653 #if defined __stub_$ac_func || defined __stub___$ac_func
41654 choke me
41655 #endif
41656
41657 int
41658 main ()
41659 {
41660 return $ac_func ();
41661 ;
41662 return 0;
41663 }
41664 _ACEOF
41665 rm -f conftest.$ac_objext conftest$ac_exeext
41666 if { (ac_try="$ac_link"
41667 case "(($ac_try" in
41668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41669 *) ac_try_echo=$ac_try;;
41670 esac
41671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41672 (eval "$ac_link") 2>conftest.er1
41673 ac_status=$?
41674 grep -v '^ *+' conftest.er1 >conftest.err
41675 rm -f conftest.er1
41676 cat conftest.err >&5
41677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41678 (exit $ac_status); } && {
41679 test -z "$ac_c_werror_flag" ||
41680 test ! -s conftest.err
41681 } && test -s conftest$ac_exeext &&
41682 $as_test_x conftest$ac_exeext; then
41683 eval "$as_ac_var=yes"
41684 else
41685 echo "$as_me: failed program was:" >&5
41686 sed 's/^/| /' conftest.$ac_ext >&5
41687
41688 eval "$as_ac_var=no"
41689 fi
41690
41691 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41692 conftest$ac_exeext conftest.$ac_ext
41693 fi
41694 ac_res=`eval echo '${'$as_ac_var'}'`
41695 { echo "$as_me:$LINENO: result: $ac_res" >&5
41696 echo "${ECHO_T}$ac_res" >&6; }
41697 if test `eval echo '${'$as_ac_var'}'` = yes; then
41698 cat >>confdefs.h <<_ACEOF
41699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41700 _ACEOF
41701
41702 cat >>confdefs.h <<\_ACEOF
41703 #define HAVE_DLOPEN 1
41704 _ACEOF
41705
41706 HAVE_DL_FUNCS=1
41707
41708 else
41709
41710 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41711 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41712 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41713 echo $ECHO_N "(cached) $ECHO_C" >&6
41714 else
41715 ac_check_lib_save_LIBS=$LIBS
41716 LIBS="-ldl $LIBS"
41717 cat >conftest.$ac_ext <<_ACEOF
41718 /* confdefs.h. */
41719 _ACEOF
41720 cat confdefs.h >>conftest.$ac_ext
41721 cat >>conftest.$ac_ext <<_ACEOF
41722 /* end confdefs.h. */
41723
41724 /* Override any GCC internal prototype to avoid an error.
41725 Use char because int might match the return type of a GCC
41726 builtin and then its argument prototype would still apply. */
41727 #ifdef __cplusplus
41728 extern "C"
41729 #endif
41730 char dlopen ();
41731 int
41732 main ()
41733 {
41734 return dlopen ();
41735 ;
41736 return 0;
41737 }
41738 _ACEOF
41739 rm -f conftest.$ac_objext conftest$ac_exeext
41740 if { (ac_try="$ac_link"
41741 case "(($ac_try" in
41742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41743 *) ac_try_echo=$ac_try;;
41744 esac
41745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41746 (eval "$ac_link") 2>conftest.er1
41747 ac_status=$?
41748 grep -v '^ *+' conftest.er1 >conftest.err
41749 rm -f conftest.er1
41750 cat conftest.err >&5
41751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41752 (exit $ac_status); } && {
41753 test -z "$ac_c_werror_flag" ||
41754 test ! -s conftest.err
41755 } && test -s conftest$ac_exeext &&
41756 $as_test_x conftest$ac_exeext; then
41757 ac_cv_lib_dl_dlopen=yes
41758 else
41759 echo "$as_me: failed program was:" >&5
41760 sed 's/^/| /' conftest.$ac_ext >&5
41761
41762 ac_cv_lib_dl_dlopen=no
41763 fi
41764
41765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41766 conftest$ac_exeext conftest.$ac_ext
41767 LIBS=$ac_check_lib_save_LIBS
41768 fi
41769 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41770 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41771 if test $ac_cv_lib_dl_dlopen = yes; then
41772
41773 cat >>confdefs.h <<\_ACEOF
41774 #define HAVE_DLOPEN 1
41775 _ACEOF
41776
41777 HAVE_DL_FUNCS=1
41778 DL_LINK=" -ldl$DL_LINK"
41779
41780 else
41781
41782
41783 for ac_func in shl_load
41784 do
41785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41786 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41788 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41789 echo $ECHO_N "(cached) $ECHO_C" >&6
41790 else
41791 cat >conftest.$ac_ext <<_ACEOF
41792 /* confdefs.h. */
41793 _ACEOF
41794 cat confdefs.h >>conftest.$ac_ext
41795 cat >>conftest.$ac_ext <<_ACEOF
41796 /* end confdefs.h. */
41797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41799 #define $ac_func innocuous_$ac_func
41800
41801 /* System header to define __stub macros and hopefully few prototypes,
41802 which can conflict with char $ac_func (); below.
41803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41804 <limits.h> exists even on freestanding compilers. */
41805
41806 #ifdef __STDC__
41807 # include <limits.h>
41808 #else
41809 # include <assert.h>
41810 #endif
41811
41812 #undef $ac_func
41813
41814 /* Override any GCC internal prototype to avoid an error.
41815 Use char because int might match the return type of a GCC
41816 builtin and then its argument prototype would still apply. */
41817 #ifdef __cplusplus
41818 extern "C"
41819 #endif
41820 char $ac_func ();
41821 /* The GNU C library defines this for functions which it implements
41822 to always fail with ENOSYS. Some functions are actually named
41823 something starting with __ and the normal name is an alias. */
41824 #if defined __stub_$ac_func || defined __stub___$ac_func
41825 choke me
41826 #endif
41827
41828 int
41829 main ()
41830 {
41831 return $ac_func ();
41832 ;
41833 return 0;
41834 }
41835 _ACEOF
41836 rm -f conftest.$ac_objext conftest$ac_exeext
41837 if { (ac_try="$ac_link"
41838 case "(($ac_try" in
41839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41840 *) ac_try_echo=$ac_try;;
41841 esac
41842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41843 (eval "$ac_link") 2>conftest.er1
41844 ac_status=$?
41845 grep -v '^ *+' conftest.er1 >conftest.err
41846 rm -f conftest.er1
41847 cat conftest.err >&5
41848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41849 (exit $ac_status); } && {
41850 test -z "$ac_c_werror_flag" ||
41851 test ! -s conftest.err
41852 } && test -s conftest$ac_exeext &&
41853 $as_test_x conftest$ac_exeext; then
41854 eval "$as_ac_var=yes"
41855 else
41856 echo "$as_me: failed program was:" >&5
41857 sed 's/^/| /' conftest.$ac_ext >&5
41858
41859 eval "$as_ac_var=no"
41860 fi
41861
41862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41863 conftest$ac_exeext conftest.$ac_ext
41864 fi
41865 ac_res=`eval echo '${'$as_ac_var'}'`
41866 { echo "$as_me:$LINENO: result: $ac_res" >&5
41867 echo "${ECHO_T}$ac_res" >&6; }
41868 if test `eval echo '${'$as_ac_var'}'` = yes; then
41869 cat >>confdefs.h <<_ACEOF
41870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41871 _ACEOF
41872
41873 cat >>confdefs.h <<\_ACEOF
41874 #define HAVE_SHL_LOAD 1
41875 _ACEOF
41876
41877 HAVE_SHL_FUNCS=1
41878
41879 else
41880
41881 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41882 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41883 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41884 echo $ECHO_N "(cached) $ECHO_C" >&6
41885 else
41886 ac_check_lib_save_LIBS=$LIBS
41887 LIBS="-lshl_load $LIBS"
41888 cat >conftest.$ac_ext <<_ACEOF
41889 /* confdefs.h. */
41890 _ACEOF
41891 cat confdefs.h >>conftest.$ac_ext
41892 cat >>conftest.$ac_ext <<_ACEOF
41893 /* end confdefs.h. */
41894
41895 /* Override any GCC internal prototype to avoid an error.
41896 Use char because int might match the return type of a GCC
41897 builtin and then its argument prototype would still apply. */
41898 #ifdef __cplusplus
41899 extern "C"
41900 #endif
41901 char dld ();
41902 int
41903 main ()
41904 {
41905 return dld ();
41906 ;
41907 return 0;
41908 }
41909 _ACEOF
41910 rm -f conftest.$ac_objext conftest$ac_exeext
41911 if { (ac_try="$ac_link"
41912 case "(($ac_try" in
41913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41914 *) ac_try_echo=$ac_try;;
41915 esac
41916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41917 (eval "$ac_link") 2>conftest.er1
41918 ac_status=$?
41919 grep -v '^ *+' conftest.er1 >conftest.err
41920 rm -f conftest.er1
41921 cat conftest.err >&5
41922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41923 (exit $ac_status); } && {
41924 test -z "$ac_c_werror_flag" ||
41925 test ! -s conftest.err
41926 } && test -s conftest$ac_exeext &&
41927 $as_test_x conftest$ac_exeext; then
41928 ac_cv_lib_shl_load_dld=yes
41929 else
41930 echo "$as_me: failed program was:" >&5
41931 sed 's/^/| /' conftest.$ac_ext >&5
41932
41933 ac_cv_lib_shl_load_dld=no
41934 fi
41935
41936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41937 conftest$ac_exeext conftest.$ac_ext
41938 LIBS=$ac_check_lib_save_LIBS
41939 fi
41940 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41941 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41942 if test $ac_cv_lib_shl_load_dld = yes; then
41943
41944 HAVE_SHL_FUNCS=1
41945 DL_LINK=" -ldld$DL_LINK"
41946
41947 fi
41948
41949
41950 fi
41951 done
41952
41953
41954 fi
41955
41956
41957 fi
41958 done
41959
41960
41961 if test "$HAVE_DL_FUNCS" = 1; then
41962
41963 for ac_func in dlerror
41964 do
41965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41966 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41968 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41969 echo $ECHO_N "(cached) $ECHO_C" >&6
41970 else
41971 cat >conftest.$ac_ext <<_ACEOF
41972 /* confdefs.h. */
41973 _ACEOF
41974 cat confdefs.h >>conftest.$ac_ext
41975 cat >>conftest.$ac_ext <<_ACEOF
41976 /* end confdefs.h. */
41977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41979 #define $ac_func innocuous_$ac_func
41980
41981 /* System header to define __stub macros and hopefully few prototypes,
41982 which can conflict with char $ac_func (); below.
41983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41984 <limits.h> exists even on freestanding compilers. */
41985
41986 #ifdef __STDC__
41987 # include <limits.h>
41988 #else
41989 # include <assert.h>
41990 #endif
41991
41992 #undef $ac_func
41993
41994 /* Override any GCC internal prototype to avoid an error.
41995 Use char because int might match the return type of a GCC
41996 builtin and then its argument prototype would still apply. */
41997 #ifdef __cplusplus
41998 extern "C"
41999 #endif
42000 char $ac_func ();
42001 /* The GNU C library defines this for functions which it implements
42002 to always fail with ENOSYS. Some functions are actually named
42003 something starting with __ and the normal name is an alias. */
42004 #if defined __stub_$ac_func || defined __stub___$ac_func
42005 choke me
42006 #endif
42007
42008 int
42009 main ()
42010 {
42011 return $ac_func ();
42012 ;
42013 return 0;
42014 }
42015 _ACEOF
42016 rm -f conftest.$ac_objext conftest$ac_exeext
42017 if { (ac_try="$ac_link"
42018 case "(($ac_try" in
42019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42020 *) ac_try_echo=$ac_try;;
42021 esac
42022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42023 (eval "$ac_link") 2>conftest.er1
42024 ac_status=$?
42025 grep -v '^ *+' conftest.er1 >conftest.err
42026 rm -f conftest.er1
42027 cat conftest.err >&5
42028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42029 (exit $ac_status); } && {
42030 test -z "$ac_c_werror_flag" ||
42031 test ! -s conftest.err
42032 } && test -s conftest$ac_exeext &&
42033 $as_test_x conftest$ac_exeext; then
42034 eval "$as_ac_var=yes"
42035 else
42036 echo "$as_me: failed program was:" >&5
42037 sed 's/^/| /' conftest.$ac_ext >&5
42038
42039 eval "$as_ac_var=no"
42040 fi
42041
42042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42043 conftest$ac_exeext conftest.$ac_ext
42044 fi
42045 ac_res=`eval echo '${'$as_ac_var'}'`
42046 { echo "$as_me:$LINENO: result: $ac_res" >&5
42047 echo "${ECHO_T}$ac_res" >&6; }
42048 if test `eval echo '${'$as_ac_var'}'` = yes; then
42049 cat >>confdefs.h <<_ACEOF
42050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42051 _ACEOF
42052 cat >>confdefs.h <<\_ACEOF
42053 #define HAVE_DLERROR 1
42054 _ACEOF
42055
42056 else
42057
42058 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42059 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42060 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42061 echo $ECHO_N "(cached) $ECHO_C" >&6
42062 else
42063 ac_check_lib_save_LIBS=$LIBS
42064 LIBS="-ldl $LIBS"
42065 cat >conftest.$ac_ext <<_ACEOF
42066 /* confdefs.h. */
42067 _ACEOF
42068 cat confdefs.h >>conftest.$ac_ext
42069 cat >>conftest.$ac_ext <<_ACEOF
42070 /* end confdefs.h. */
42071
42072 /* Override any GCC internal prototype to avoid an error.
42073 Use char because int might match the return type of a GCC
42074 builtin and then its argument prototype would still apply. */
42075 #ifdef __cplusplus
42076 extern "C"
42077 #endif
42078 char dlerror ();
42079 int
42080 main ()
42081 {
42082 return dlerror ();
42083 ;
42084 return 0;
42085 }
42086 _ACEOF
42087 rm -f conftest.$ac_objext conftest$ac_exeext
42088 if { (ac_try="$ac_link"
42089 case "(($ac_try" in
42090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42091 *) ac_try_echo=$ac_try;;
42092 esac
42093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42094 (eval "$ac_link") 2>conftest.er1
42095 ac_status=$?
42096 grep -v '^ *+' conftest.er1 >conftest.err
42097 rm -f conftest.er1
42098 cat conftest.err >&5
42099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42100 (exit $ac_status); } && {
42101 test -z "$ac_c_werror_flag" ||
42102 test ! -s conftest.err
42103 } && test -s conftest$ac_exeext &&
42104 $as_test_x conftest$ac_exeext; then
42105 ac_cv_lib_dl_dlerror=yes
42106 else
42107 echo "$as_me: failed program was:" >&5
42108 sed 's/^/| /' conftest.$ac_ext >&5
42109
42110 ac_cv_lib_dl_dlerror=no
42111 fi
42112
42113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42114 conftest$ac_exeext conftest.$ac_ext
42115 LIBS=$ac_check_lib_save_LIBS
42116 fi
42117 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42118 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42119 if test $ac_cv_lib_dl_dlerror = yes; then
42120 cat >>confdefs.h <<\_ACEOF
42121 #define HAVE_DLERROR 1
42122 _ACEOF
42123
42124 fi
42125
42126
42127
42128 fi
42129 done
42130
42131 fi
42132 fi
42133
42134 if test "$USE_DARWIN" = 1; then
42135 HAVE_DL_FUNCS=1
42136 fi
42137
42138 if test "$HAVE_DL_FUNCS" = 0; then
42139 if test "$HAVE_SHL_FUNCS" = 0; then
42140 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42141 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42142 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42143 wxUSE_DYNAMIC_LOADER=no
42144 wxUSE_DYNLIB_CLASS=no
42145 else
42146 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42147 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42148 fi
42149 fi
42150 fi
42151 fi
42152 fi
42153
42154 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42155 cat >>confdefs.h <<\_ACEOF
42156 #define wxUSE_DYNAMIC_LOADER 1
42157 _ACEOF
42158
42159 fi
42160 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42161 cat >>confdefs.h <<\_ACEOF
42162 #define wxUSE_DYNLIB_CLASS 1
42163 _ACEOF
42164
42165 fi
42166
42167
42168
42169 if test "$wxUSE_PLUGINS" = "yes" ; then
42170 if test "$wxUSE_SHARED" = "no" ; then
42171 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42172 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42173 wxUSE_PLUGINS=no
42174 fi
42175 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42176 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42177 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42178 wxUSE_PLUGINS=no
42179 fi
42180 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42181 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42182 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42183 wxUSE_PLUGINS=no
42184 fi
42185 if test "$wxUSE_PLUGINS" = "yes" ; then
42186 cat >>confdefs.h <<\_ACEOF
42187 #define wxUSE_PLUGINS 1
42188 _ACEOF
42189
42190 fi
42191 fi
42192
42193
42194 if test "$wxUSE_STL" = "yes"; then
42195 cat >>confdefs.h <<\_ACEOF
42196 #define wxUSE_STL 1
42197 _ACEOF
42198
42199 fi
42200
42201 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42202 cat >>confdefs.h <<\_ACEOF
42203 #define wxUSE_EXTENDED_RTTI 1
42204 _ACEOF
42205
42206 fi
42207
42208 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42209 cat >>confdefs.h <<\_ACEOF
42210 #define wxUSE_APPLE_IEEE 1
42211 _ACEOF
42212
42213 fi
42214
42215 if test "$wxUSE_TIMER" = "yes"; then
42216 cat >>confdefs.h <<\_ACEOF
42217 #define wxUSE_TIMER 1
42218 _ACEOF
42219
42220 fi
42221
42222 if test "$USE_UNIX" = 1 ; then
42223 if test "$wxUSE_MGL" != 1; then
42224 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42225 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42226 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42227 echo $ECHO_N "(cached) $ECHO_C" >&6
42228 else
42229
42230 cat >conftest.$ac_ext <<_ACEOF
42231 /* confdefs.h. */
42232 _ACEOF
42233 cat confdefs.h >>conftest.$ac_ext
42234 cat >>conftest.$ac_ext <<_ACEOF
42235 /* end confdefs.h. */
42236
42237 #include <sys/ioctl.h>
42238 #include <sys/soundcard.h>
42239
42240 int
42241 main ()
42242 {
42243
42244 ioctl(0, SNDCTL_DSP_SPEED, 0);
42245
42246 ;
42247 return 0;
42248 }
42249 _ACEOF
42250 rm -f conftest.$ac_objext conftest$ac_exeext
42251 if { (ac_try="$ac_link"
42252 case "(($ac_try" in
42253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42254 *) ac_try_echo=$ac_try;;
42255 esac
42256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42257 (eval "$ac_link") 2>conftest.er1
42258 ac_status=$?
42259 grep -v '^ *+' conftest.er1 >conftest.err
42260 rm -f conftest.er1
42261 cat conftest.err >&5
42262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42263 (exit $ac_status); } && {
42264 test -z "$ac_c_werror_flag" ||
42265 test ! -s conftest.err
42266 } && test -s conftest$ac_exeext &&
42267 $as_test_x conftest$ac_exeext; then
42268 ac_cv_header_sys_soundcard=yes
42269 else
42270 echo "$as_me: failed program was:" >&5
42271 sed 's/^/| /' conftest.$ac_ext >&5
42272
42273
42274 saveLibs="$LIBS"
42275 LIBS="$saveLibs -lossaudio"
42276 cat >conftest.$ac_ext <<_ACEOF
42277 /* confdefs.h. */
42278 _ACEOF
42279 cat confdefs.h >>conftest.$ac_ext
42280 cat >>conftest.$ac_ext <<_ACEOF
42281 /* end confdefs.h. */
42282
42283 #include <sys/ioctl.h>
42284 #include <sys/soundcard.h>
42285
42286 int
42287 main ()
42288 {
42289
42290 ioctl(0, SNDCTL_DSP_SPEED, 0);
42291
42292 ;
42293 return 0;
42294 }
42295 _ACEOF
42296 rm -f conftest.$ac_objext conftest$ac_exeext
42297 if { (ac_try="$ac_link"
42298 case "(($ac_try" in
42299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42300 *) ac_try_echo=$ac_try;;
42301 esac
42302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42303 (eval "$ac_link") 2>conftest.er1
42304 ac_status=$?
42305 grep -v '^ *+' conftest.er1 >conftest.err
42306 rm -f conftest.er1
42307 cat conftest.err >&5
42308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42309 (exit $ac_status); } && {
42310 test -z "$ac_c_werror_flag" ||
42311 test ! -s conftest.err
42312 } && test -s conftest$ac_exeext &&
42313 $as_test_x conftest$ac_exeext; then
42314 ac_cv_header_sys_soundcard=yes
42315 else
42316 echo "$as_me: failed program was:" >&5
42317 sed 's/^/| /' conftest.$ac_ext >&5
42318
42319
42320 LIBS="$saveLibs"
42321 ac_cv_header_sys_soundcard=no
42322
42323
42324 fi
42325
42326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42327 conftest$ac_exeext conftest.$ac_ext
42328
42329
42330 fi
42331
42332 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42333 conftest$ac_exeext conftest.$ac_ext
42334
42335 fi
42336 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42337 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42338 fi
42339
42340 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42341 cat >>confdefs.h <<\_ACEOF
42342 #define HAVE_SYS_SOUNDCARD_H 1
42343 _ACEOF
42344
42345 fi
42346 fi
42347
42348 WITH_PLUGIN_SDL=0
42349 if test "$wxUSE_SOUND" = "yes"; then
42350 if test "$USE_UNIX" = 1 ; then
42351 if test "$wxUSE_LIBSDL" != "no"; then
42352
42353 # Check whether --with-sdl-prefix was given.
42354 if test "${with_sdl_prefix+set}" = set; then
42355 withval=$with_sdl_prefix; sdl_prefix="$withval"
42356 else
42357 sdl_prefix=""
42358 fi
42359
42360
42361 # Check whether --with-sdl-exec-prefix was given.
42362 if test "${with_sdl_exec_prefix+set}" = set; then
42363 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42364 else
42365 sdl_exec_prefix=""
42366 fi
42367
42368 # Check whether --enable-sdltest was given.
42369 if test "${enable_sdltest+set}" = set; then
42370 enableval=$enable_sdltest;
42371 else
42372 enable_sdltest=yes
42373 fi
42374
42375
42376 if test x$sdl_exec_prefix != x ; then
42377 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42378 if test x${SDL_CONFIG+set} != xset ; then
42379 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42380 fi
42381 fi
42382 if test x$sdl_prefix != x ; then
42383 sdl_args="$sdl_args --prefix=$sdl_prefix"
42384 if test x${SDL_CONFIG+set} != xset ; then
42385 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42386 fi
42387 fi
42388
42389 if test "x$prefix" != xNONE; then
42390 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42391 fi
42392 # Extract the first word of "sdl-config", so it can be a program name with args.
42393 set dummy sdl-config; ac_word=$2
42394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42396 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42397 echo $ECHO_N "(cached) $ECHO_C" >&6
42398 else
42399 case $SDL_CONFIG in
42400 [\\/]* | ?:[\\/]*)
42401 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42402 ;;
42403 *)
42404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42405 for as_dir in $PATH
42406 do
42407 IFS=$as_save_IFS
42408 test -z "$as_dir" && as_dir=.
42409 for ac_exec_ext in '' $ac_executable_extensions; do
42410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42411 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42413 break 2
42414 fi
42415 done
42416 done
42417 IFS=$as_save_IFS
42418
42419 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42420 ;;
42421 esac
42422 fi
42423 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42424 if test -n "$SDL_CONFIG"; then
42425 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42426 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42427 else
42428 { echo "$as_me:$LINENO: result: no" >&5
42429 echo "${ECHO_T}no" >&6; }
42430 fi
42431
42432
42433 min_sdl_version=1.2.0
42434 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42435 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42436 no_sdl=""
42437 if test "$SDL_CONFIG" = "no" ; then
42438 no_sdl=yes
42439 else
42440 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42441 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42442
42443 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42444 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42445 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42446 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42447 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42448 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42449 if test "x$enable_sdltest" = "xyes" ; then
42450 ac_save_CFLAGS="$CFLAGS"
42451 ac_save_CXXFLAGS="$CXXFLAGS"
42452 ac_save_LIBS="$LIBS"
42453 CFLAGS="$CFLAGS $SDL_CFLAGS"
42454 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42455 LIBS="$LIBS $SDL_LIBS"
42456 rm -f conf.sdltest
42457 if test "$cross_compiling" = yes; then
42458 echo $ac_n "cross compiling; assumed OK... $ac_c"
42459 else
42460 cat >conftest.$ac_ext <<_ACEOF
42461 /* confdefs.h. */
42462 _ACEOF
42463 cat confdefs.h >>conftest.$ac_ext
42464 cat >>conftest.$ac_ext <<_ACEOF
42465 /* end confdefs.h. */
42466
42467 #include <stdio.h>
42468 #include <stdlib.h>
42469 #include <string.h>
42470 #include "SDL.h"
42471
42472 char*
42473 my_strdup (char *str)
42474 {
42475 char *new_str;
42476
42477 if (str)
42478 {
42479 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42480 strcpy (new_str, str);
42481 }
42482 else
42483 new_str = NULL;
42484
42485 return new_str;
42486 }
42487
42488 int main (int argc, char *argv[])
42489 {
42490 int major, minor, micro;
42491 char *tmp_version;
42492
42493 /* This hangs on some systems (?)
42494 system ("touch conf.sdltest");
42495 */
42496 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42497
42498 /* HP/UX 9 (%@#!) writes to sscanf strings */
42499 tmp_version = my_strdup("$min_sdl_version");
42500 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42501 printf("%s, bad version string\n", "$min_sdl_version");
42502 exit(1);
42503 }
42504
42505 if (($sdl_major_version > major) ||
42506 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42507 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42508 {
42509 return 0;
42510 }
42511 else
42512 {
42513 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42514 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42515 printf("*** best to upgrade to the required version.\n");
42516 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42517 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42518 printf("*** config.cache before re-running configure\n");
42519 return 1;
42520 }
42521 }
42522
42523
42524 _ACEOF
42525 rm -f conftest$ac_exeext
42526 if { (ac_try="$ac_link"
42527 case "(($ac_try" in
42528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42529 *) ac_try_echo=$ac_try;;
42530 esac
42531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42532 (eval "$ac_link") 2>&5
42533 ac_status=$?
42534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42535 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42536 { (case "(($ac_try" in
42537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42538 *) ac_try_echo=$ac_try;;
42539 esac
42540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42541 (eval "$ac_try") 2>&5
42542 ac_status=$?
42543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42544 (exit $ac_status); }; }; then
42545 :
42546 else
42547 echo "$as_me: program exited with status $ac_status" >&5
42548 echo "$as_me: failed program was:" >&5
42549 sed 's/^/| /' conftest.$ac_ext >&5
42550
42551 ( exit $ac_status )
42552 no_sdl=yes
42553 fi
42554 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42555 fi
42556
42557
42558 CFLAGS="$ac_save_CFLAGS"
42559 CXXFLAGS="$ac_save_CXXFLAGS"
42560 LIBS="$ac_save_LIBS"
42561 fi
42562 fi
42563 if test "x$no_sdl" = x ; then
42564 { echo "$as_me:$LINENO: result: yes" >&5
42565 echo "${ECHO_T}yes" >&6; }
42566
42567 EXTRALIBS_SDL="$SDL_LIBS"
42568 CFLAGS="$SDL_CFLAGS $CFLAGS"
42569 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42570 cat >>confdefs.h <<\_ACEOF
42571 #define wxUSE_LIBSDL 1
42572 _ACEOF
42573
42574
42575 else
42576 { echo "$as_me:$LINENO: result: no" >&5
42577 echo "${ECHO_T}no" >&6; }
42578 if test "$SDL_CONFIG" = "no" ; then
42579 echo "*** The sdl-config script installed by SDL could not be found"
42580 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42581 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42582 echo "*** full path to sdl-config."
42583 else
42584 if test -f conf.sdltest ; then
42585 :
42586 else
42587 echo "*** Could not run SDL test program, checking why..."
42588 CFLAGS="$CFLAGS $SDL_CFLAGS"
42589 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42590 LIBS="$LIBS $SDL_LIBS"
42591 cat >conftest.$ac_ext <<_ACEOF
42592 /* confdefs.h. */
42593 _ACEOF
42594 cat confdefs.h >>conftest.$ac_ext
42595 cat >>conftest.$ac_ext <<_ACEOF
42596 /* end confdefs.h. */
42597
42598 #include <stdio.h>
42599 #include "SDL.h"
42600
42601 int main(int argc, char *argv[])
42602 { return 0; }
42603 #undef main
42604 #define main K_and_R_C_main
42605
42606 int
42607 main ()
42608 {
42609 return 0;
42610 ;
42611 return 0;
42612 }
42613 _ACEOF
42614 rm -f conftest.$ac_objext conftest$ac_exeext
42615 if { (ac_try="$ac_link"
42616 case "(($ac_try" in
42617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42618 *) ac_try_echo=$ac_try;;
42619 esac
42620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42621 (eval "$ac_link") 2>conftest.er1
42622 ac_status=$?
42623 grep -v '^ *+' conftest.er1 >conftest.err
42624 rm -f conftest.er1
42625 cat conftest.err >&5
42626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42627 (exit $ac_status); } && {
42628 test -z "$ac_c_werror_flag" ||
42629 test ! -s conftest.err
42630 } && test -s conftest$ac_exeext &&
42631 $as_test_x conftest$ac_exeext; then
42632 echo "*** The test program compiled, but did not run. This usually means"
42633 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42634 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42635 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42636 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42637 echo "*** is required on your system"
42638 echo "***"
42639 echo "*** If you have an old version installed, it is best to remove it, although"
42640 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42641 else
42642 echo "$as_me: failed program was:" >&5
42643 sed 's/^/| /' conftest.$ac_ext >&5
42644
42645 echo "*** The test program failed to compile or link. See the file config.log for the"
42646 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42647 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42648 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42649 fi
42650
42651 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42652 conftest$ac_exeext conftest.$ac_ext
42653 CFLAGS="$ac_save_CFLAGS"
42654 CXXFLAGS="$ac_save_CXXFLAGS"
42655 LIBS="$ac_save_LIBS"
42656 fi
42657 fi
42658 SDL_CFLAGS=""
42659 SDL_LIBS=""
42660 wxUSE_LIBSDL="no"
42661 fi
42662
42663
42664 rm -f conf.sdltest
42665
42666 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42667 WITH_PLUGIN_SDL=1
42668 fi
42669 fi
42670 else
42671 if test "$wxUSE_MGL" = 1; then
42672 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42673 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42674 wxUSE_SOUND="no"
42675 fi
42676 fi
42677 fi
42678
42679 if test "$wxUSE_SOUND" = "yes"; then
42680 cat >>confdefs.h <<\_ACEOF
42681 #define wxUSE_SOUND 1
42682 _ACEOF
42683
42684 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42685 fi
42686
42687 if test "$WXGTK2" = 1; then
42688
42689
42690 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42691 if test -n "$ac_tool_prefix"; then
42692 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42693 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42694 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42696 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42697 echo $ECHO_N "(cached) $ECHO_C" >&6
42698 else
42699 case $PKG_CONFIG in
42700 [\\/]* | ?:[\\/]*)
42701 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42702 ;;
42703 *)
42704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42705 for as_dir in $PATH
42706 do
42707 IFS=$as_save_IFS
42708 test -z "$as_dir" && as_dir=.
42709 for ac_exec_ext in '' $ac_executable_extensions; do
42710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42711 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42713 break 2
42714 fi
42715 done
42716 done
42717 IFS=$as_save_IFS
42718
42719 ;;
42720 esac
42721 fi
42722 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42723 if test -n "$PKG_CONFIG"; then
42724 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42725 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42726 else
42727 { echo "$as_me:$LINENO: result: no" >&5
42728 echo "${ECHO_T}no" >&6; }
42729 fi
42730
42731
42732 fi
42733 if test -z "$ac_cv_path_PKG_CONFIG"; then
42734 ac_pt_PKG_CONFIG=$PKG_CONFIG
42735 # Extract the first word of "pkg-config", so it can be a program name with args.
42736 set dummy pkg-config; ac_word=$2
42737 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42739 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42740 echo $ECHO_N "(cached) $ECHO_C" >&6
42741 else
42742 case $ac_pt_PKG_CONFIG in
42743 [\\/]* | ?:[\\/]*)
42744 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42745 ;;
42746 *)
42747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42748 for as_dir in $PATH
42749 do
42750 IFS=$as_save_IFS
42751 test -z "$as_dir" && as_dir=.
42752 for ac_exec_ext in '' $ac_executable_extensions; do
42753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42754 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42756 break 2
42757 fi
42758 done
42759 done
42760 IFS=$as_save_IFS
42761
42762 ;;
42763 esac
42764 fi
42765 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42766 if test -n "$ac_pt_PKG_CONFIG"; then
42767 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42768 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42769 else
42770 { echo "$as_me:$LINENO: result: no" >&5
42771 echo "${ECHO_T}no" >&6; }
42772 fi
42773
42774 if test "x$ac_pt_PKG_CONFIG" = x; then
42775 PKG_CONFIG=""
42776 else
42777 case $cross_compiling:$ac_tool_warned in
42778 yes:)
42779 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42780 whose name does not start with the host triplet. If you think this
42781 configuration is useful to you, please write to autoconf@gnu.org." >&5
42782 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42783 whose name does not start with the host triplet. If you think this
42784 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42785 ac_tool_warned=yes ;;
42786 esac
42787 PKG_CONFIG=$ac_pt_PKG_CONFIG
42788 fi
42789 else
42790 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42791 fi
42792
42793 fi
42794 if test -n "$PKG_CONFIG"; then
42795 _pkg_min_version=0.9.0
42796 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42797 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42798 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42799 { echo "$as_me:$LINENO: result: yes" >&5
42800 echo "${ECHO_T}yes" >&6; }
42801 else
42802 { echo "$as_me:$LINENO: result: no" >&5
42803 echo "${ECHO_T}no" >&6; }
42804 PKG_CONFIG=""
42805 fi
42806
42807 fi
42808
42809 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42810
42811 if test "$wxUSE_GTKPRINT" = "yes" ; then
42812
42813
42814 pkg_failed=no
42815 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42816 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42817
42818 if test -n "$PKG_CONFIG"; then
42819 if test -n "$GTKPRINT_CFLAGS"; then
42820 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42821 else
42822 if test -n "$PKG_CONFIG" && \
42823 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42824 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42825 ac_status=$?
42826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42827 (exit $ac_status); }; then
42828 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42829 else
42830 pkg_failed=yes
42831 fi
42832 fi
42833 else
42834 pkg_failed=untried
42835 fi
42836 if test -n "$PKG_CONFIG"; then
42837 if test -n "$GTKPRINT_LIBS"; then
42838 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42839 else
42840 if test -n "$PKG_CONFIG" && \
42841 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42842 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42843 ac_status=$?
42844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42845 (exit $ac_status); }; then
42846 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42847 else
42848 pkg_failed=yes
42849 fi
42850 fi
42851 else
42852 pkg_failed=untried
42853 fi
42854
42855
42856
42857 if test $pkg_failed = yes; then
42858
42859 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42860 _pkg_short_errors_supported=yes
42861 else
42862 _pkg_short_errors_supported=no
42863 fi
42864 if test $_pkg_short_errors_supported = yes; then
42865 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42866 else
42867 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42868 fi
42869 # Put the nasty error message in config.log where it belongs
42870 echo "$GTKPRINT_PKG_ERRORS" >&5
42871
42872
42873 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42874 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42875 wxUSE_GTKPRINT="no"
42876
42877
42878 elif test $pkg_failed = untried; then
42879
42880 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42881 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42882 wxUSE_GTKPRINT="no"
42883
42884
42885 else
42886 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42887 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42888 { echo "$as_me:$LINENO: result: yes" >&5
42889 echo "${ECHO_T}yes" >&6; }
42890
42891 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42892 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42893 cat >>confdefs.h <<\_ACEOF
42894 #define wxUSE_GTKPRINT 1
42895 _ACEOF
42896
42897
42898 fi
42899 fi
42900
42901 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42902
42903
42904 pkg_failed=no
42905 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42906 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42907
42908 if test -n "$PKG_CONFIG"; then
42909 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42910 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42911 else
42912 if test -n "$PKG_CONFIG" && \
42913 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42914 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42915 ac_status=$?
42916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42917 (exit $ac_status); }; then
42918 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42919 else
42920 pkg_failed=yes
42921 fi
42922 fi
42923 else
42924 pkg_failed=untried
42925 fi
42926 if test -n "$PKG_CONFIG"; then
42927 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42928 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42929 else
42930 if test -n "$PKG_CONFIG" && \
42931 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42932 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42933 ac_status=$?
42934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42935 (exit $ac_status); }; then
42936 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42937 else
42938 pkg_failed=yes
42939 fi
42940 fi
42941 else
42942 pkg_failed=untried
42943 fi
42944
42945
42946
42947 if test $pkg_failed = yes; then
42948
42949 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42950 _pkg_short_errors_supported=yes
42951 else
42952 _pkg_short_errors_supported=no
42953 fi
42954 if test $_pkg_short_errors_supported = yes; then
42955 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42956 else
42957 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42958 fi
42959 # Put the nasty error message in config.log where it belongs
42960 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42961
42962
42963 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42964 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42965 wxUSE_LIBGNOMEPRINT="no"
42966
42967
42968 elif test $pkg_failed = untried; then
42969
42970 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42971 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42972 wxUSE_LIBGNOMEPRINT="no"
42973
42974
42975 else
42976 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42977 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42978 { echo "$as_me:$LINENO: result: yes" >&5
42979 echo "${ECHO_T}yes" >&6; }
42980
42981 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42982 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42983 cat >>confdefs.h <<\_ACEOF
42984 #define wxUSE_LIBGNOMEPRINT 1
42985 _ACEOF
42986
42987
42988 fi
42989 fi
42990 fi
42991
42992 if test "$wxUSE_MIMETYPE" = "yes" ; then
42993 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42994
42995
42996 pkg_failed=no
42997 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42998 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42999
43000 if test -n "$PKG_CONFIG"; then
43001 if test -n "$GNOMEVFS_CFLAGS"; then
43002 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
43003 else
43004 if test -n "$PKG_CONFIG" && \
43005 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43006 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43007 ac_status=$?
43008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43009 (exit $ac_status); }; then
43010 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43011 else
43012 pkg_failed=yes
43013 fi
43014 fi
43015 else
43016 pkg_failed=untried
43017 fi
43018 if test -n "$PKG_CONFIG"; then
43019 if test -n "$GNOMEVFS_LIBS"; then
43020 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
43021 else
43022 if test -n "$PKG_CONFIG" && \
43023 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43024 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43025 ac_status=$?
43026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43027 (exit $ac_status); }; then
43028 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43029 else
43030 pkg_failed=yes
43031 fi
43032 fi
43033 else
43034 pkg_failed=untried
43035 fi
43036
43037
43038
43039 if test $pkg_failed = yes; then
43040
43041 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43042 _pkg_short_errors_supported=yes
43043 else
43044 _pkg_short_errors_supported=no
43045 fi
43046 if test $_pkg_short_errors_supported = yes; then
43047 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43048 else
43049 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43050 fi
43051 # Put the nasty error message in config.log where it belongs
43052 echo "$GNOMEVFS_PKG_ERRORS" >&5
43053
43054
43055 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43056 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43057 wxUSE_LIBGNOMEVFS="no"
43058
43059
43060 elif test $pkg_failed = untried; then
43061
43062 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43063 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43064 wxUSE_LIBGNOMEVFS="no"
43065
43066
43067 else
43068 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43069 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43070 { echo "$as_me:$LINENO: result: yes" >&5
43071 echo "${ECHO_T}yes" >&6; }
43072
43073 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
43074 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43075 cat >>confdefs.h <<\_ACEOF
43076 #define wxUSE_LIBGNOMEVFS 1
43077 _ACEOF
43078
43079
43080 fi
43081 fi
43082 fi
43083
43084 if test "$wxUSE_LIBHILDON" = "yes" ; then
43085
43086 pkg_failed=no
43087 { echo "$as_me:$LINENO: checking for HILDON" >&5
43088 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43089
43090 if test -n "$PKG_CONFIG"; then
43091 if test -n "$HILDON_CFLAGS"; then
43092 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43093 else
43094 if test -n "$PKG_CONFIG" && \
43095 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43096 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43097 ac_status=$?
43098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43099 (exit $ac_status); }; then
43100 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43101 else
43102 pkg_failed=yes
43103 fi
43104 fi
43105 else
43106 pkg_failed=untried
43107 fi
43108 if test -n "$PKG_CONFIG"; then
43109 if test -n "$HILDON_LIBS"; then
43110 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43111 else
43112 if test -n "$PKG_CONFIG" && \
43113 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43114 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43115 ac_status=$?
43116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43117 (exit $ac_status); }; then
43118 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43119 else
43120 pkg_failed=yes
43121 fi
43122 fi
43123 else
43124 pkg_failed=untried
43125 fi
43126
43127
43128
43129 if test $pkg_failed = yes; then
43130
43131 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43132 _pkg_short_errors_supported=yes
43133 else
43134 _pkg_short_errors_supported=no
43135 fi
43136 if test $_pkg_short_errors_supported = yes; then
43137 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43138 else
43139 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43140 fi
43141 # Put the nasty error message in config.log where it belongs
43142 echo "$HILDON_PKG_ERRORS" >&5
43143
43144
43145 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43146 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43147 wxUSE_LIBHILDON="no"
43148
43149
43150 elif test $pkg_failed = untried; then
43151
43152 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43153 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43154 wxUSE_LIBHILDON="no"
43155
43156
43157 else
43158 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43159 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43160 { echo "$as_me:$LINENO: result: yes" >&5
43161 echo "${ECHO_T}yes" >&6; }
43162
43163 EXTRALIBS_HILDON="$HILDON_LIBS"
43164 CFLAGS="$CFLAGS $HILDON_CFLAGS"
43165 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43166 cat >>confdefs.h <<\_ACEOF
43167 #define wxUSE_LIBHILDON 1
43168 _ACEOF
43169
43170
43171 fi
43172 fi
43173 fi
43174
43175 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43176 cat >>confdefs.h <<\_ACEOF
43177 #define wxUSE_CMDLINE_PARSER 1
43178 _ACEOF
43179
43180 fi
43181
43182 if test "$wxUSE_STOPWATCH" = "yes"; then
43183 cat >>confdefs.h <<\_ACEOF
43184 #define wxUSE_STOPWATCH 1
43185 _ACEOF
43186
43187 fi
43188
43189 if test "$wxUSE_DATETIME" = "yes"; then
43190 cat >>confdefs.h <<\_ACEOF
43191 #define wxUSE_DATETIME 1
43192 _ACEOF
43193
43194 fi
43195
43196 if test "$wxUSE_FILE" = "yes"; then
43197 cat >>confdefs.h <<\_ACEOF
43198 #define wxUSE_FILE 1
43199 _ACEOF
43200
43201 fi
43202
43203 if test "$wxUSE_FFILE" = "yes"; then
43204 cat >>confdefs.h <<\_ACEOF
43205 #define wxUSE_FFILE 1
43206 _ACEOF
43207
43208 fi
43209
43210 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43211 if test "$wxUSE_STREAMS" != yes; then
43212 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43213 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43214 wxUSE_ARCHIVE_STREAMS=no
43215 else
43216 cat >>confdefs.h <<\_ACEOF
43217 #define wxUSE_ARCHIVE_STREAMS 1
43218 _ACEOF
43219
43220 fi
43221 fi
43222
43223 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43224 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43225 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43226 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43227 elif test "$wxUSE_ZLIB" = "no"; then
43228 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43229 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43230 else
43231 cat >>confdefs.h <<\_ACEOF
43232 #define wxUSE_ZIPSTREAM 1
43233 _ACEOF
43234
43235 fi
43236 fi
43237
43238 if test "$wxUSE_TARSTREAM" = "yes"; then
43239 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43240 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43241 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43242 else
43243 cat >>confdefs.h <<\_ACEOF
43244 #define wxUSE_TARSTREAM 1
43245 _ACEOF
43246
43247 fi
43248 fi
43249
43250 if test "$wxUSE_FILESYSTEM" = "yes"; then
43251 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43252 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43253 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43254 wxUSE_FILESYSTEM=no
43255 else
43256 cat >>confdefs.h <<\_ACEOF
43257 #define wxUSE_FILESYSTEM 1
43258 _ACEOF
43259
43260 fi
43261 fi
43262
43263 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43264 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43265 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43266 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43267 else
43268 cat >>confdefs.h <<\_ACEOF
43269 #define wxUSE_FS_ARCHIVE 1
43270 _ACEOF
43271
43272 fi
43273 fi
43274
43275 if test "$wxUSE_FS_ZIP" = "yes"; then
43276 if test "$wxUSE_FS_ARCHIVE" != yes; then
43277 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43278 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43279 else
43280 cat >>confdefs.h <<\_ACEOF
43281 #define wxUSE_FS_ZIP 1
43282 _ACEOF
43283
43284 fi
43285 fi
43286
43287 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43288 if test "$USE_UNIX" != 1; then
43289 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43290 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43291 wxUSE_ON_FATAL_EXCEPTION=no
43292 else
43293 cat >>confdefs.h <<\_ACEOF
43294 #define wxUSE_ON_FATAL_EXCEPTION 1
43295 _ACEOF
43296
43297 fi
43298 fi
43299
43300 if test "$wxUSE_STACKWALKER" = "yes"; then
43301 cat >>confdefs.h <<\_ACEOF
43302 #define wxUSE_STACKWALKER 1
43303 _ACEOF
43304
43305 fi
43306
43307 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43308 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43309 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43310 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43311 wxUSE_DEBUGREPORT=no
43312 else
43313 cat >>confdefs.h <<\_ACEOF
43314 #define wxUSE_DEBUGREPORT 1
43315 _ACEOF
43316
43317 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43318 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43319 fi
43320 fi
43321 fi
43322
43323 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43324 cat >>confdefs.h <<\_ACEOF
43325 #define wxUSE_SNGLINST_CHECKER 1
43326 _ACEOF
43327
43328 fi
43329
43330 if test "$wxUSE_BUSYINFO" = "yes"; then
43331 cat >>confdefs.h <<\_ACEOF
43332 #define wxUSE_BUSYINFO 1
43333 _ACEOF
43334
43335 fi
43336
43337 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43338 cat >>confdefs.h <<\_ACEOF
43339 #define wxUSE_STD_IOSTREAM 1
43340 _ACEOF
43341
43342 fi
43343
43344 if test "$wxUSE_STD_STRING" = "yes"; then
43345 cat >>confdefs.h <<\_ACEOF
43346 #define wxUSE_STD_STRING 1
43347 _ACEOF
43348
43349 fi
43350
43351 if test "$wxUSE_STDPATHS" = "yes"; then
43352 cat >>confdefs.h <<\_ACEOF
43353 #define wxUSE_STDPATHS 1
43354 _ACEOF
43355
43356 fi
43357
43358 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43359 cat >>confdefs.h <<\_ACEOF
43360 #define wxUSE_TEXTBUFFER 1
43361 _ACEOF
43362
43363 fi
43364
43365 if test "$wxUSE_TEXTFILE" = "yes"; then
43366 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43367 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43368 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43369 else
43370 cat >>confdefs.h <<\_ACEOF
43371 #define wxUSE_TEXTFILE 1
43372 _ACEOF
43373
43374 fi
43375 fi
43376
43377 if test "$wxUSE_CONFIG" = "yes" ; then
43378 if test "$wxUSE_TEXTFILE" != "yes"; then
43379 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43380 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43381 else
43382 cat >>confdefs.h <<\_ACEOF
43383 #define wxUSE_CONFIG 1
43384 _ACEOF
43385
43386 cat >>confdefs.h <<\_ACEOF
43387 #define wxUSE_CONFIG_NATIVE 1
43388 _ACEOF
43389
43390 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43391 fi
43392 fi
43393
43394 if test "$wxUSE_INTL" = "yes" ; then
43395 if test "$wxUSE_FILE" != "yes"; then
43396 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43397 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43398 else
43399 cat >>confdefs.h <<\_ACEOF
43400 #define wxUSE_INTL 1
43401 _ACEOF
43402
43403 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43404 GUIDIST="$GUIDIST INTL_DIST"
43405 fi
43406 fi
43407
43408 if test "$wxUSE_XLOCALE" = "yes" ; then
43409 cat >>confdefs.h <<\_ACEOF
43410 #define wxUSE_XLOCALE 1
43411 _ACEOF
43412
43413 { echo "$as_me:$LINENO: checking for locale_t" >&5
43414 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43415 if test "${ac_cv_type_locale_t+set}" = set; then
43416 echo $ECHO_N "(cached) $ECHO_C" >&6
43417 else
43418 cat >conftest.$ac_ext <<_ACEOF
43419 /* confdefs.h. */
43420 _ACEOF
43421 cat confdefs.h >>conftest.$ac_ext
43422 cat >>conftest.$ac_ext <<_ACEOF
43423 /* end confdefs.h. */
43424 #include <xlocale.h>
43425 #include <locale.h>
43426
43427 typedef locale_t ac__type_new_;
43428 int
43429 main ()
43430 {
43431 if ((ac__type_new_ *) 0)
43432 return 0;
43433 if (sizeof (ac__type_new_))
43434 return 0;
43435 ;
43436 return 0;
43437 }
43438 _ACEOF
43439 rm -f conftest.$ac_objext
43440 if { (ac_try="$ac_compile"
43441 case "(($ac_try" in
43442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43443 *) ac_try_echo=$ac_try;;
43444 esac
43445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43446 (eval "$ac_compile") 2>conftest.er1
43447 ac_status=$?
43448 grep -v '^ *+' conftest.er1 >conftest.err
43449 rm -f conftest.er1
43450 cat conftest.err >&5
43451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43452 (exit $ac_status); } && {
43453 test -z "$ac_c_werror_flag" ||
43454 test ! -s conftest.err
43455 } && test -s conftest.$ac_objext; then
43456 ac_cv_type_locale_t=yes
43457 else
43458 echo "$as_me: failed program was:" >&5
43459 sed 's/^/| /' conftest.$ac_ext >&5
43460
43461 ac_cv_type_locale_t=no
43462 fi
43463
43464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43465 fi
43466 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43467 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43468 if test $ac_cv_type_locale_t = yes; then
43469
43470 cat >>confdefs.h <<_ACEOF
43471 #define HAVE_LOCALE_T 1
43472 _ACEOF
43473
43474
43475 fi
43476
43477 fi
43478
43479 if test "$wxUSE_LOG" = "yes"; then
43480 cat >>confdefs.h <<\_ACEOF
43481 #define wxUSE_LOG 1
43482 _ACEOF
43483
43484
43485 if test "$wxUSE_LOGGUI" = "yes"; then
43486 cat >>confdefs.h <<\_ACEOF
43487 #define wxUSE_LOGGUI 1
43488 _ACEOF
43489
43490 fi
43491
43492 if test "$wxUSE_LOGWINDOW" = "yes"; then
43493 cat >>confdefs.h <<\_ACEOF
43494 #define wxUSE_LOGWINDOW 1
43495 _ACEOF
43496
43497 fi
43498
43499 if test "$wxUSE_LOGDIALOG" = "yes"; then
43500 cat >>confdefs.h <<\_ACEOF
43501 #define wxUSE_LOG_DIALOG 1
43502 _ACEOF
43503
43504 fi
43505
43506 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43507 fi
43508
43509 if test "$wxUSE_LONGLONG" = "yes"; then
43510 cat >>confdefs.h <<\_ACEOF
43511 #define wxUSE_LONGLONG 1
43512 _ACEOF
43513
43514 fi
43515
43516 if test "$wxUSE_GEOMETRY" = "yes"; then
43517 cat >>confdefs.h <<\_ACEOF
43518 #define wxUSE_GEOMETRY 1
43519 _ACEOF
43520
43521 fi
43522
43523 if test "$wxUSE_BASE64" = "yes"; then
43524 cat >>confdefs.h <<\_ACEOF
43525 #define wxUSE_BASE64 1
43526 _ACEOF
43527
43528 fi
43529
43530 if test "$wxUSE_STREAMS" = "yes" ; then
43531 cat >>confdefs.h <<\_ACEOF
43532 #define wxUSE_STREAMS 1
43533 _ACEOF
43534
43535 fi
43536
43537 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43538 cat >>confdefs.h <<\_ACEOF
43539 #define wxUSE_PRINTF_POS_PARAMS 1
43540 _ACEOF
43541
43542 fi
43543
43544 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43545 cat >>confdefs.h <<\_ACEOF
43546 #define wxUSE_OBJC_UNIQUIFYING 1
43547 _ACEOF
43548
43549 fi
43550
43551
43552 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43553 cat >>confdefs.h <<\_ACEOF
43554 #define wxUSE_CONSOLE_EVENTLOOP 1
43555 _ACEOF
43556
43557
43558 if test "$wxUSE_UNIX" = "yes"; then
43559 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43560 cat >>confdefs.h <<\_ACEOF
43561 #define wxUSE_SELECT_DISPATCHER 1
43562 _ACEOF
43563
43564 fi
43565
43566 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43567
43568 for ac_header in sys/epoll.h
43569 do
43570 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43571 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43572 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43573 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43574 echo $ECHO_N "(cached) $ECHO_C" >&6
43575 else
43576 cat >conftest.$ac_ext <<_ACEOF
43577 /* confdefs.h. */
43578 _ACEOF
43579 cat confdefs.h >>conftest.$ac_ext
43580 cat >>conftest.$ac_ext <<_ACEOF
43581 /* end confdefs.h. */
43582 $ac_includes_default
43583
43584 #include <$ac_header>
43585 _ACEOF
43586 rm -f conftest.$ac_objext
43587 if { (ac_try="$ac_compile"
43588 case "(($ac_try" in
43589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43590 *) ac_try_echo=$ac_try;;
43591 esac
43592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43593 (eval "$ac_compile") 2>conftest.er1
43594 ac_status=$?
43595 grep -v '^ *+' conftest.er1 >conftest.err
43596 rm -f conftest.er1
43597 cat conftest.err >&5
43598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43599 (exit $ac_status); } && {
43600 test -z "$ac_c_werror_flag" ||
43601 test ! -s conftest.err
43602 } && test -s conftest.$ac_objext; then
43603 eval "$as_ac_Header=yes"
43604 else
43605 echo "$as_me: failed program was:" >&5
43606 sed 's/^/| /' conftest.$ac_ext >&5
43607
43608 eval "$as_ac_Header=no"
43609 fi
43610
43611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43612 fi
43613 ac_res=`eval echo '${'$as_ac_Header'}'`
43614 { echo "$as_me:$LINENO: result: $ac_res" >&5
43615 echo "${ECHO_T}$ac_res" >&6; }
43616 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43617 cat >>confdefs.h <<_ACEOF
43618 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43619 _ACEOF
43620
43621 fi
43622
43623 done
43624
43625 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43626 cat >>confdefs.h <<\_ACEOF
43627 #define wxUSE_EPOLL_DISPATCHER 1
43628 _ACEOF
43629
43630 else
43631 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43632 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43633 fi
43634 fi
43635 fi
43636 fi
43637
43638
43639
43640
43641 for ac_func in gettimeofday ftime
43642 do
43643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43644 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43646 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43647 echo $ECHO_N "(cached) $ECHO_C" >&6
43648 else
43649 cat >conftest.$ac_ext <<_ACEOF
43650 /* confdefs.h. */
43651 _ACEOF
43652 cat confdefs.h >>conftest.$ac_ext
43653 cat >>conftest.$ac_ext <<_ACEOF
43654 /* end confdefs.h. */
43655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43657 #define $ac_func innocuous_$ac_func
43658
43659 /* System header to define __stub macros and hopefully few prototypes,
43660 which can conflict with char $ac_func (); below.
43661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43662 <limits.h> exists even on freestanding compilers. */
43663
43664 #ifdef __STDC__
43665 # include <limits.h>
43666 #else
43667 # include <assert.h>
43668 #endif
43669
43670 #undef $ac_func
43671
43672 /* Override any GCC internal prototype to avoid an error.
43673 Use char because int might match the return type of a GCC
43674 builtin and then its argument prototype would still apply. */
43675 #ifdef __cplusplus
43676 extern "C"
43677 #endif
43678 char $ac_func ();
43679 /* The GNU C library defines this for functions which it implements
43680 to always fail with ENOSYS. Some functions are actually named
43681 something starting with __ and the normal name is an alias. */
43682 #if defined __stub_$ac_func || defined __stub___$ac_func
43683 choke me
43684 #endif
43685
43686 int
43687 main ()
43688 {
43689 return $ac_func ();
43690 ;
43691 return 0;
43692 }
43693 _ACEOF
43694 rm -f conftest.$ac_objext conftest$ac_exeext
43695 if { (ac_try="$ac_link"
43696 case "(($ac_try" in
43697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43698 *) ac_try_echo=$ac_try;;
43699 esac
43700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43701 (eval "$ac_link") 2>conftest.er1
43702 ac_status=$?
43703 grep -v '^ *+' conftest.er1 >conftest.err
43704 rm -f conftest.er1
43705 cat conftest.err >&5
43706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43707 (exit $ac_status); } && {
43708 test -z "$ac_c_werror_flag" ||
43709 test ! -s conftest.err
43710 } && test -s conftest$ac_exeext &&
43711 $as_test_x conftest$ac_exeext; then
43712 eval "$as_ac_var=yes"
43713 else
43714 echo "$as_me: failed program was:" >&5
43715 sed 's/^/| /' conftest.$ac_ext >&5
43716
43717 eval "$as_ac_var=no"
43718 fi
43719
43720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43721 conftest$ac_exeext conftest.$ac_ext
43722 fi
43723 ac_res=`eval echo '${'$as_ac_var'}'`
43724 { echo "$as_me:$LINENO: result: $ac_res" >&5
43725 echo "${ECHO_T}$ac_res" >&6; }
43726 if test `eval echo '${'$as_ac_var'}'` = yes; then
43727 cat >>confdefs.h <<_ACEOF
43728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43729 _ACEOF
43730 break
43731 fi
43732 done
43733
43734
43735 if test "$ac_cv_func_gettimeofday" = "yes"; then
43736 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43737 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43738 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43739 echo $ECHO_N "(cached) $ECHO_C" >&6
43740 else
43741
43742 cat >conftest.$ac_ext <<_ACEOF
43743 /* confdefs.h. */
43744 _ACEOF
43745 cat confdefs.h >>conftest.$ac_ext
43746 cat >>conftest.$ac_ext <<_ACEOF
43747 /* end confdefs.h. */
43748
43749 #include <sys/time.h>
43750 #include <unistd.h>
43751
43752 int
43753 main ()
43754 {
43755
43756 struct timeval tv;
43757 gettimeofday(&tv, NULL);
43758
43759 ;
43760 return 0;
43761 }
43762 _ACEOF
43763 rm -f conftest.$ac_objext
43764 if { (ac_try="$ac_compile"
43765 case "(($ac_try" in
43766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43767 *) ac_try_echo=$ac_try;;
43768 esac
43769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43770 (eval "$ac_compile") 2>conftest.er1
43771 ac_status=$?
43772 grep -v '^ *+' conftest.er1 >conftest.err
43773 rm -f conftest.er1
43774 cat conftest.err >&5
43775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43776 (exit $ac_status); } && {
43777 test -z "$ac_c_werror_flag" ||
43778 test ! -s conftest.err
43779 } && test -s conftest.$ac_objext; then
43780 wx_cv_func_gettimeofday_has_2_args=yes
43781 else
43782 echo "$as_me: failed program was:" >&5
43783 sed 's/^/| /' conftest.$ac_ext >&5
43784
43785 cat >conftest.$ac_ext <<_ACEOF
43786 /* confdefs.h. */
43787 _ACEOF
43788 cat confdefs.h >>conftest.$ac_ext
43789 cat >>conftest.$ac_ext <<_ACEOF
43790 /* end confdefs.h. */
43791
43792 #include <sys/time.h>
43793 #include <unistd.h>
43794
43795 int
43796 main ()
43797 {
43798
43799 struct timeval tv;
43800 gettimeofday(&tv);
43801
43802 ;
43803 return 0;
43804 }
43805 _ACEOF
43806 rm -f conftest.$ac_objext
43807 if { (ac_try="$ac_compile"
43808 case "(($ac_try" in
43809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43810 *) ac_try_echo=$ac_try;;
43811 esac
43812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43813 (eval "$ac_compile") 2>conftest.er1
43814 ac_status=$?
43815 grep -v '^ *+' conftest.er1 >conftest.err
43816 rm -f conftest.er1
43817 cat conftest.err >&5
43818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43819 (exit $ac_status); } && {
43820 test -z "$ac_c_werror_flag" ||
43821 test ! -s conftest.err
43822 } && test -s conftest.$ac_objext; then
43823 wx_cv_func_gettimeofday_has_2_args=no
43824 else
43825 echo "$as_me: failed program was:" >&5
43826 sed 's/^/| /' conftest.$ac_ext >&5
43827
43828
43829 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43830 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43831 wx_cv_func_gettimeofday_has_2_args=unknown
43832
43833
43834 fi
43835
43836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43837
43838 fi
43839
43840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43841
43842 fi
43843 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43844 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43845
43846 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43847 cat >>confdefs.h <<\_ACEOF
43848 #define WX_GETTIMEOFDAY_NO_TZ 1
43849 _ACEOF
43850
43851 fi
43852 fi
43853
43854 if test "$wxUSE_DATETIME" = "yes"; then
43855 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43856 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43857 if test "${wx_cv_var_timezone+set}" = set; then
43858 echo $ECHO_N "(cached) $ECHO_C" >&6
43859 else
43860
43861 ac_ext=cpp
43862 ac_cpp='$CXXCPP $CPPFLAGS'
43863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43866
43867 cat >conftest.$ac_ext <<_ACEOF
43868 /* confdefs.h. */
43869 _ACEOF
43870 cat confdefs.h >>conftest.$ac_ext
43871 cat >>conftest.$ac_ext <<_ACEOF
43872 /* end confdefs.h. */
43873
43874 #include <time.h>
43875
43876 int
43877 main ()
43878 {
43879
43880 int tz;
43881 tz = timezone;
43882
43883 ;
43884 return 0;
43885 }
43886 _ACEOF
43887 rm -f conftest.$ac_objext
43888 if { (ac_try="$ac_compile"
43889 case "(($ac_try" in
43890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43891 *) ac_try_echo=$ac_try;;
43892 esac
43893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43894 (eval "$ac_compile") 2>conftest.er1
43895 ac_status=$?
43896 grep -v '^ *+' conftest.er1 >conftest.err
43897 rm -f conftest.er1
43898 cat conftest.err >&5
43899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43900 (exit $ac_status); } && {
43901 test -z "$ac_cxx_werror_flag" ||
43902 test ! -s conftest.err
43903 } && test -s conftest.$ac_objext; then
43904
43905 wx_cv_var_timezone=timezone
43906
43907 else
43908 echo "$as_me: failed program was:" >&5
43909 sed 's/^/| /' conftest.$ac_ext >&5
43910
43911
43912 cat >conftest.$ac_ext <<_ACEOF
43913 /* confdefs.h. */
43914 _ACEOF
43915 cat confdefs.h >>conftest.$ac_ext
43916 cat >>conftest.$ac_ext <<_ACEOF
43917 /* end confdefs.h. */
43918
43919 #include <time.h>
43920
43921 int
43922 main ()
43923 {
43924
43925 int tz;
43926 tz = _timezone;
43927
43928 ;
43929 return 0;
43930 }
43931 _ACEOF
43932 rm -f conftest.$ac_objext
43933 if { (ac_try="$ac_compile"
43934 case "(($ac_try" in
43935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43936 *) ac_try_echo=$ac_try;;
43937 esac
43938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43939 (eval "$ac_compile") 2>conftest.er1
43940 ac_status=$?
43941 grep -v '^ *+' conftest.er1 >conftest.err
43942 rm -f conftest.er1
43943 cat conftest.err >&5
43944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43945 (exit $ac_status); } && {
43946 test -z "$ac_cxx_werror_flag" ||
43947 test ! -s conftest.err
43948 } && test -s conftest.$ac_objext; then
43949
43950 wx_cv_var_timezone=_timezone
43951
43952 else
43953 echo "$as_me: failed program was:" >&5
43954 sed 's/^/| /' conftest.$ac_ext >&5
43955
43956
43957 cat >conftest.$ac_ext <<_ACEOF
43958 /* confdefs.h. */
43959 _ACEOF
43960 cat confdefs.h >>conftest.$ac_ext
43961 cat >>conftest.$ac_ext <<_ACEOF
43962 /* end confdefs.h. */
43963
43964 #include <time.h>
43965
43966 int
43967 main ()
43968 {
43969
43970 int tz;
43971 tz = __timezone;
43972
43973 ;
43974 return 0;
43975 }
43976 _ACEOF
43977 rm -f conftest.$ac_objext
43978 if { (ac_try="$ac_compile"
43979 case "(($ac_try" in
43980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43981 *) ac_try_echo=$ac_try;;
43982 esac
43983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43984 (eval "$ac_compile") 2>conftest.er1
43985 ac_status=$?
43986 grep -v '^ *+' conftest.er1 >conftest.err
43987 rm -f conftest.er1
43988 cat conftest.err >&5
43989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43990 (exit $ac_status); } && {
43991 test -z "$ac_cxx_werror_flag" ||
43992 test ! -s conftest.err
43993 } && test -s conftest.$ac_objext; then
43994
43995 wx_cv_var_timezone=__timezone
43996
43997 else
43998 echo "$as_me: failed program was:" >&5
43999 sed 's/^/| /' conftest.$ac_ext >&5
44000
44001
44002 if test "$USE_DOS" = 0 ; then
44003 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44004 echo "$as_me: WARNING: no timezone variable" >&2;}
44005 fi
44006
44007
44008 fi
44009
44010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44011
44012
44013 fi
44014
44015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44016
44017
44018 fi
44019
44020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44021 ac_ext=c
44022 ac_cpp='$CPP $CPPFLAGS'
44023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44026
44027
44028
44029 fi
44030 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44031 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44032
44033 if test "x$wx_cv_var_timezone" != x ; then
44034 cat >>confdefs.h <<_ACEOF
44035 #define WX_TIMEZONE $wx_cv_var_timezone
44036 _ACEOF
44037
44038 fi
44039
44040
44041 for ac_func in localtime
44042 do
44043 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44044 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44046 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44047 echo $ECHO_N "(cached) $ECHO_C" >&6
44048 else
44049 cat >conftest.$ac_ext <<_ACEOF
44050 /* confdefs.h. */
44051 _ACEOF
44052 cat confdefs.h >>conftest.$ac_ext
44053 cat >>conftest.$ac_ext <<_ACEOF
44054 /* end confdefs.h. */
44055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44057 #define $ac_func innocuous_$ac_func
44058
44059 /* System header to define __stub macros and hopefully few prototypes,
44060 which can conflict with char $ac_func (); below.
44061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44062 <limits.h> exists even on freestanding compilers. */
44063
44064 #ifdef __STDC__
44065 # include <limits.h>
44066 #else
44067 # include <assert.h>
44068 #endif
44069
44070 #undef $ac_func
44071
44072 /* Override any GCC internal prototype to avoid an error.
44073 Use char because int might match the return type of a GCC
44074 builtin and then its argument prototype would still apply. */
44075 #ifdef __cplusplus
44076 extern "C"
44077 #endif
44078 char $ac_func ();
44079 /* The GNU C library defines this for functions which it implements
44080 to always fail with ENOSYS. Some functions are actually named
44081 something starting with __ and the normal name is an alias. */
44082 #if defined __stub_$ac_func || defined __stub___$ac_func
44083 choke me
44084 #endif
44085
44086 int
44087 main ()
44088 {
44089 return $ac_func ();
44090 ;
44091 return 0;
44092 }
44093 _ACEOF
44094 rm -f conftest.$ac_objext conftest$ac_exeext
44095 if { (ac_try="$ac_link"
44096 case "(($ac_try" in
44097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44098 *) ac_try_echo=$ac_try;;
44099 esac
44100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44101 (eval "$ac_link") 2>conftest.er1
44102 ac_status=$?
44103 grep -v '^ *+' conftest.er1 >conftest.err
44104 rm -f conftest.er1
44105 cat conftest.err >&5
44106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44107 (exit $ac_status); } && {
44108 test -z "$ac_c_werror_flag" ||
44109 test ! -s conftest.err
44110 } && test -s conftest$ac_exeext &&
44111 $as_test_x conftest$ac_exeext; then
44112 eval "$as_ac_var=yes"
44113 else
44114 echo "$as_me: failed program was:" >&5
44115 sed 's/^/| /' conftest.$ac_ext >&5
44116
44117 eval "$as_ac_var=no"
44118 fi
44119
44120 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44121 conftest$ac_exeext conftest.$ac_ext
44122 fi
44123 ac_res=`eval echo '${'$as_ac_var'}'`
44124 { echo "$as_me:$LINENO: result: $ac_res" >&5
44125 echo "${ECHO_T}$ac_res" >&6; }
44126 if test `eval echo '${'$as_ac_var'}'` = yes; then
44127 cat >>confdefs.h <<_ACEOF
44128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44129 _ACEOF
44130
44131 fi
44132 done
44133
44134
44135 if test "$ac_cv_func_localtime" = "yes"; then
44136 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44137 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44138 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44139 echo $ECHO_N "(cached) $ECHO_C" >&6
44140 else
44141
44142 cat >conftest.$ac_ext <<_ACEOF
44143 /* confdefs.h. */
44144 _ACEOF
44145 cat confdefs.h >>conftest.$ac_ext
44146 cat >>conftest.$ac_ext <<_ACEOF
44147 /* end confdefs.h. */
44148
44149 #include <time.h>
44150
44151 int
44152 main ()
44153 {
44154
44155 struct tm tm;
44156 tm.tm_gmtoff++;
44157
44158 ;
44159 return 0;
44160 }
44161 _ACEOF
44162 rm -f conftest.$ac_objext
44163 if { (ac_try="$ac_compile"
44164 case "(($ac_try" in
44165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44166 *) ac_try_echo=$ac_try;;
44167 esac
44168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44169 (eval "$ac_compile") 2>conftest.er1
44170 ac_status=$?
44171 grep -v '^ *+' conftest.er1 >conftest.err
44172 rm -f conftest.er1
44173 cat conftest.err >&5
44174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44175 (exit $ac_status); } && {
44176 test -z "$ac_c_werror_flag" ||
44177 test ! -s conftest.err
44178 } && test -s conftest.$ac_objext; then
44179
44180 wx_cv_struct_tm_has_gmtoff=yes
44181
44182 else
44183 echo "$as_me: failed program was:" >&5
44184 sed 's/^/| /' conftest.$ac_ext >&5
44185
44186 wx_cv_struct_tm_has_gmtoff=no
44187
44188 fi
44189
44190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44191
44192 fi
44193 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44194 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44195 fi
44196
44197 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44198 cat >>confdefs.h <<\_ACEOF
44199 #define WX_GMTOFF_IN_TM 1
44200 _ACEOF
44201
44202 fi
44203
44204 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44205 fi
44206
44207
44208 if test "$wxUSE_SOCKETS" = "yes"; then
44209 if test "$wxUSE_MGL" = 1; then
44210 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44211 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44212 wxUSE_SOCKETS="no"
44213 fi
44214 fi
44215
44216 if test "$wxUSE_SOCKETS" = "yes"; then
44217 if test "$TOOLKIT" != "MSW"; then
44218 { echo "$as_me:$LINENO: checking for socket" >&5
44219 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44220 if test "${ac_cv_func_socket+set}" = set; then
44221 echo $ECHO_N "(cached) $ECHO_C" >&6
44222 else
44223 cat >conftest.$ac_ext <<_ACEOF
44224 /* confdefs.h. */
44225 _ACEOF
44226 cat confdefs.h >>conftest.$ac_ext
44227 cat >>conftest.$ac_ext <<_ACEOF
44228 /* end confdefs.h. */
44229 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44231 #define socket innocuous_socket
44232
44233 /* System header to define __stub macros and hopefully few prototypes,
44234 which can conflict with char socket (); below.
44235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44236 <limits.h> exists even on freestanding compilers. */
44237
44238 #ifdef __STDC__
44239 # include <limits.h>
44240 #else
44241 # include <assert.h>
44242 #endif
44243
44244 #undef socket
44245
44246 /* Override any GCC internal prototype to avoid an error.
44247 Use char because int might match the return type of a GCC
44248 builtin and then its argument prototype would still apply. */
44249 #ifdef __cplusplus
44250 extern "C"
44251 #endif
44252 char socket ();
44253 /* The GNU C library defines this for functions which it implements
44254 to always fail with ENOSYS. Some functions are actually named
44255 something starting with __ and the normal name is an alias. */
44256 #if defined __stub_socket || defined __stub___socket
44257 choke me
44258 #endif
44259
44260 int
44261 main ()
44262 {
44263 return socket ();
44264 ;
44265 return 0;
44266 }
44267 _ACEOF
44268 rm -f conftest.$ac_objext conftest$ac_exeext
44269 if { (ac_try="$ac_link"
44270 case "(($ac_try" in
44271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44272 *) ac_try_echo=$ac_try;;
44273 esac
44274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44275 (eval "$ac_link") 2>conftest.er1
44276 ac_status=$?
44277 grep -v '^ *+' conftest.er1 >conftest.err
44278 rm -f conftest.er1
44279 cat conftest.err >&5
44280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44281 (exit $ac_status); } && {
44282 test -z "$ac_c_werror_flag" ||
44283 test ! -s conftest.err
44284 } && test -s conftest$ac_exeext &&
44285 $as_test_x conftest$ac_exeext; then
44286 ac_cv_func_socket=yes
44287 else
44288 echo "$as_me: failed program was:" >&5
44289 sed 's/^/| /' conftest.$ac_ext >&5
44290
44291 ac_cv_func_socket=no
44292 fi
44293
44294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44295 conftest$ac_exeext conftest.$ac_ext
44296 fi
44297 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44298 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44299 if test $ac_cv_func_socket = yes; then
44300 :
44301 else
44302
44303 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44304 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44305 if test "${ac_cv_lib_socket_socket+set}" = set; then
44306 echo $ECHO_N "(cached) $ECHO_C" >&6
44307 else
44308 ac_check_lib_save_LIBS=$LIBS
44309 LIBS="-lsocket $LIBS"
44310 cat >conftest.$ac_ext <<_ACEOF
44311 /* confdefs.h. */
44312 _ACEOF
44313 cat confdefs.h >>conftest.$ac_ext
44314 cat >>conftest.$ac_ext <<_ACEOF
44315 /* end confdefs.h. */
44316
44317 /* Override any GCC internal prototype to avoid an error.
44318 Use char because int might match the return type of a GCC
44319 builtin and then its argument prototype would still apply. */
44320 #ifdef __cplusplus
44321 extern "C"
44322 #endif
44323 char socket ();
44324 int
44325 main ()
44326 {
44327 return socket ();
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 ac_cv_lib_socket_socket=yes
44351 else
44352 echo "$as_me: failed program was:" >&5
44353 sed 's/^/| /' conftest.$ac_ext >&5
44354
44355 ac_cv_lib_socket_socket=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 LIBS=$ac_check_lib_save_LIBS
44361 fi
44362 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44363 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44364 if test $ac_cv_lib_socket_socket = yes; then
44365 if test "$INET_LINK" != " -lsocket"; then
44366 INET_LINK="$INET_LINK -lsocket"
44367 fi
44368 else
44369
44370 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44371 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44372 wxUSE_SOCKETS=no
44373
44374
44375 fi
44376
44377
44378
44379 fi
44380
44381 fi
44382 fi
44383
44384 if test "$wxUSE_SOCKETS" = "yes" ; then
44385 if test "$TOOLKIT" != "MSW"; then
44386 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44387 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44388 if test "${wx_cv_type_getsockname3+set}" = set; then
44389 echo $ECHO_N "(cached) $ECHO_C" >&6
44390 else
44391
44392 ac_ext=cpp
44393 ac_cpp='$CXXCPP $CPPFLAGS'
44394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44397
44398 cat >conftest.$ac_ext <<_ACEOF
44399 /* confdefs.h. */
44400 _ACEOF
44401 cat confdefs.h >>conftest.$ac_ext
44402 cat >>conftest.$ac_ext <<_ACEOF
44403 /* end confdefs.h. */
44404
44405 #include <sys/types.h>
44406 #include <sys/socket.h>
44407
44408 int
44409 main ()
44410 {
44411
44412 socklen_t len;
44413 getsockname(0, 0, &len);
44414
44415 ;
44416 return 0;
44417 }
44418 _ACEOF
44419 rm -f conftest.$ac_objext
44420 if { (ac_try="$ac_compile"
44421 case "(($ac_try" in
44422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44423 *) ac_try_echo=$ac_try;;
44424 esac
44425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44426 (eval "$ac_compile") 2>conftest.er1
44427 ac_status=$?
44428 grep -v '^ *+' conftest.er1 >conftest.err
44429 rm -f conftest.er1
44430 cat conftest.err >&5
44431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44432 (exit $ac_status); } && {
44433 test -z "$ac_cxx_werror_flag" ||
44434 test ! -s conftest.err
44435 } && test -s conftest.$ac_objext; then
44436 wx_cv_type_getsockname3=socklen_t
44437 else
44438 echo "$as_me: failed program was:" >&5
44439 sed 's/^/| /' conftest.$ac_ext >&5
44440
44441
44442 CFLAGS_OLD="$CFLAGS"
44443 if test "$GCC" = yes ; then
44444 CFLAGS="-Werror $CFLAGS"
44445 fi
44446
44447 cat >conftest.$ac_ext <<_ACEOF
44448 /* confdefs.h. */
44449 _ACEOF
44450 cat confdefs.h >>conftest.$ac_ext
44451 cat >>conftest.$ac_ext <<_ACEOF
44452 /* end confdefs.h. */
44453
44454 #include <sys/types.h>
44455 #include <sys/socket.h>
44456
44457 int
44458 main ()
44459 {
44460
44461 size_t len;
44462 getsockname(0, 0, &len);
44463
44464 ;
44465 return 0;
44466 }
44467 _ACEOF
44468 rm -f conftest.$ac_objext
44469 if { (ac_try="$ac_compile"
44470 case "(($ac_try" in
44471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44472 *) ac_try_echo=$ac_try;;
44473 esac
44474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44475 (eval "$ac_compile") 2>conftest.er1
44476 ac_status=$?
44477 grep -v '^ *+' conftest.er1 >conftest.err
44478 rm -f conftest.er1
44479 cat conftest.err >&5
44480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44481 (exit $ac_status); } && {
44482 test -z "$ac_cxx_werror_flag" ||
44483 test ! -s conftest.err
44484 } && test -s conftest.$ac_objext; then
44485 wx_cv_type_getsockname3=size_t
44486 else
44487 echo "$as_me: failed program was:" >&5
44488 sed 's/^/| /' conftest.$ac_ext >&5
44489
44490 cat >conftest.$ac_ext <<_ACEOF
44491 /* confdefs.h. */
44492 _ACEOF
44493 cat confdefs.h >>conftest.$ac_ext
44494 cat >>conftest.$ac_ext <<_ACEOF
44495 /* end confdefs.h. */
44496
44497 #include <sys/types.h>
44498 #include <sys/socket.h>
44499
44500 int
44501 main ()
44502 {
44503
44504 int len;
44505 getsockname(0, 0, &len);
44506
44507 ;
44508 return 0;
44509 }
44510 _ACEOF
44511 rm -f conftest.$ac_objext
44512 if { (ac_try="$ac_compile"
44513 case "(($ac_try" in
44514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44515 *) ac_try_echo=$ac_try;;
44516 esac
44517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44518 (eval "$ac_compile") 2>conftest.er1
44519 ac_status=$?
44520 grep -v '^ *+' conftest.er1 >conftest.err
44521 rm -f conftest.er1
44522 cat conftest.err >&5
44523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44524 (exit $ac_status); } && {
44525 test -z "$ac_cxx_werror_flag" ||
44526 test ! -s conftest.err
44527 } && test -s conftest.$ac_objext; then
44528 wx_cv_type_getsockname3=int
44529 else
44530 echo "$as_me: failed program was:" >&5
44531 sed 's/^/| /' conftest.$ac_ext >&5
44532
44533 wx_cv_type_getsockname3=unknown
44534
44535 fi
44536
44537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44538
44539 fi
44540
44541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44542
44543 CFLAGS="$CFLAGS_OLD"
44544
44545
44546 fi
44547
44548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44549 ac_ext=c
44550 ac_cpp='$CPP $CPPFLAGS'
44551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44554
44555
44556 fi
44557 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44558 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44559
44560 if test "$wx_cv_type_getsockname3" = "unknown"; then
44561 wxUSE_SOCKETS=no
44562 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44563 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44564 else
44565 cat >>confdefs.h <<_ACEOF
44566 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44567 _ACEOF
44568
44569 fi
44570 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44571 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44572 if test "${wx_cv_type_getsockopt5+set}" = set; then
44573 echo $ECHO_N "(cached) $ECHO_C" >&6
44574 else
44575
44576 ac_ext=cpp
44577 ac_cpp='$CXXCPP $CPPFLAGS'
44578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44581
44582 cat >conftest.$ac_ext <<_ACEOF
44583 /* confdefs.h. */
44584 _ACEOF
44585 cat confdefs.h >>conftest.$ac_ext
44586 cat >>conftest.$ac_ext <<_ACEOF
44587 /* end confdefs.h. */
44588
44589 #include <sys/types.h>
44590 #include <sys/socket.h>
44591
44592 int
44593 main ()
44594 {
44595
44596 socklen_t len;
44597 getsockopt(0, 0, 0, 0, &len);
44598
44599 ;
44600 return 0;
44601 }
44602 _ACEOF
44603 rm -f conftest.$ac_objext
44604 if { (ac_try="$ac_compile"
44605 case "(($ac_try" in
44606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44607 *) ac_try_echo=$ac_try;;
44608 esac
44609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44610 (eval "$ac_compile") 2>conftest.er1
44611 ac_status=$?
44612 grep -v '^ *+' conftest.er1 >conftest.err
44613 rm -f conftest.er1
44614 cat conftest.err >&5
44615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44616 (exit $ac_status); } && {
44617 test -z "$ac_cxx_werror_flag" ||
44618 test ! -s conftest.err
44619 } && test -s conftest.$ac_objext; then
44620 wx_cv_type_getsockopt5=socklen_t
44621 else
44622 echo "$as_me: failed program was:" >&5
44623 sed 's/^/| /' conftest.$ac_ext >&5
44624
44625
44626 cat >conftest.$ac_ext <<_ACEOF
44627 /* confdefs.h. */
44628 _ACEOF
44629 cat confdefs.h >>conftest.$ac_ext
44630 cat >>conftest.$ac_ext <<_ACEOF
44631 /* end confdefs.h. */
44632
44633 #include <sys/types.h>
44634 #include <sys/socket.h>
44635
44636 int
44637 main ()
44638 {
44639
44640 size_t len;
44641 getsockopt(0, 0, 0, 0, &len);
44642
44643 ;
44644 return 0;
44645 }
44646 _ACEOF
44647 rm -f conftest.$ac_objext
44648 if { (ac_try="$ac_compile"
44649 case "(($ac_try" in
44650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44651 *) ac_try_echo=$ac_try;;
44652 esac
44653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44654 (eval "$ac_compile") 2>conftest.er1
44655 ac_status=$?
44656 grep -v '^ *+' conftest.er1 >conftest.err
44657 rm -f conftest.er1
44658 cat conftest.err >&5
44659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44660 (exit $ac_status); } && {
44661 test -z "$ac_cxx_werror_flag" ||
44662 test ! -s conftest.err
44663 } && test -s conftest.$ac_objext; then
44664 wx_cv_type_getsockopt5=size_t
44665 else
44666 echo "$as_me: failed program was:" >&5
44667 sed 's/^/| /' conftest.$ac_ext >&5
44668
44669 cat >conftest.$ac_ext <<_ACEOF
44670 /* confdefs.h. */
44671 _ACEOF
44672 cat confdefs.h >>conftest.$ac_ext
44673 cat >>conftest.$ac_ext <<_ACEOF
44674 /* end confdefs.h. */
44675
44676 #include <sys/types.h>
44677 #include <sys/socket.h>
44678
44679 int
44680 main ()
44681 {
44682
44683 int len;
44684 getsockopt(0, 0, 0, 0, &len);
44685
44686 ;
44687 return 0;
44688 }
44689 _ACEOF
44690 rm -f conftest.$ac_objext
44691 if { (ac_try="$ac_compile"
44692 case "(($ac_try" in
44693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44694 *) ac_try_echo=$ac_try;;
44695 esac
44696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44697 (eval "$ac_compile") 2>conftest.er1
44698 ac_status=$?
44699 grep -v '^ *+' conftest.er1 >conftest.err
44700 rm -f conftest.er1
44701 cat conftest.err >&5
44702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44703 (exit $ac_status); } && {
44704 test -z "$ac_cxx_werror_flag" ||
44705 test ! -s conftest.err
44706 } && test -s conftest.$ac_objext; then
44707 wx_cv_type_getsockopt5=int
44708 else
44709 echo "$as_me: failed program was:" >&5
44710 sed 's/^/| /' conftest.$ac_ext >&5
44711
44712 wx_cv_type_getsockopt5=unknown
44713
44714 fi
44715
44716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44717
44718 fi
44719
44720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44721
44722
44723 fi
44724
44725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44726 ac_ext=c
44727 ac_cpp='$CPP $CPPFLAGS'
44728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44731
44732
44733 fi
44734 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44735 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44736
44737 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44738 wxUSE_SOCKETS=no
44739 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44740 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44741 else
44742 cat >>confdefs.h <<_ACEOF
44743 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44744 _ACEOF
44745
44746 fi
44747 fi
44748 fi
44749
44750 if test "$wxUSE_SOCKETS" = "yes" ; then
44751 if test "$wxUSE_IPV6" = "yes"; then
44752 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44753 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44754 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44755 echo $ECHO_N "(cached) $ECHO_C" >&6
44756 else
44757
44758 cat >conftest.$ac_ext <<_ACEOF
44759 /* confdefs.h. */
44760 _ACEOF
44761 cat confdefs.h >>conftest.$ac_ext
44762 cat >>conftest.$ac_ext <<_ACEOF
44763 /* end confdefs.h. */
44764
44765 #include <sys/types.h>
44766 #include <sys/socket.h>
44767 #include <netinet/in.h>
44768
44769 int
44770 main ()
44771 {
44772
44773 struct sockaddr_in6 sa6;
44774
44775 ;
44776 return 0;
44777 }
44778 _ACEOF
44779 rm -f conftest.$ac_objext
44780 if { (ac_try="$ac_compile"
44781 case "(($ac_try" in
44782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44783 *) ac_try_echo=$ac_try;;
44784 esac
44785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44786 (eval "$ac_compile") 2>conftest.er1
44787 ac_status=$?
44788 grep -v '^ *+' conftest.er1 >conftest.err
44789 rm -f conftest.er1
44790 cat conftest.err >&5
44791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44792 (exit $ac_status); } && {
44793 test -z "$ac_c_werror_flag" ||
44794 test ! -s conftest.err
44795 } && test -s conftest.$ac_objext; then
44796 wx_cv_type_sockaddr_in6=yes
44797 else
44798 echo "$as_me: failed program was:" >&5
44799 sed 's/^/| /' conftest.$ac_ext >&5
44800
44801 wx_cv_type_sockaddr_in6=no
44802
44803 fi
44804
44805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44806
44807
44808 fi
44809 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44810 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44811
44812 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44813 cat >>confdefs.h <<\_ACEOF
44814 #define wxUSE_IPV6 1
44815 _ACEOF
44816
44817 else
44818 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44819 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44820 fi
44821 fi
44822
44823 cat >>confdefs.h <<\_ACEOF
44824 #define wxUSE_SOCKETS 1
44825 _ACEOF
44826
44827 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44828 fi
44829
44830 if test "$wxUSE_PROTOCOL" = "yes"; then
44831 if test "$wxUSE_SOCKETS" != "yes"; then
44832 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44833 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44834 wxUSE_PROTOCOL=no
44835 fi
44836 fi
44837
44838 if test "$wxUSE_PROTOCOL" = "yes"; then
44839 cat >>confdefs.h <<\_ACEOF
44840 #define wxUSE_PROTOCOL 1
44841 _ACEOF
44842
44843
44844 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44845 cat >>confdefs.h <<\_ACEOF
44846 #define wxUSE_PROTOCOL_HTTP 1
44847 _ACEOF
44848
44849 fi
44850 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44851 cat >>confdefs.h <<\_ACEOF
44852 #define wxUSE_PROTOCOL_FTP 1
44853 _ACEOF
44854
44855 fi
44856 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44857 cat >>confdefs.h <<\_ACEOF
44858 #define wxUSE_PROTOCOL_FILE 1
44859 _ACEOF
44860
44861 fi
44862 else
44863 if test "$wxUSE_FS_INET" = "yes"; then
44864 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44865 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44866 wxUSE_FS_INET="no"
44867 fi
44868 fi
44869
44870 if test "$wxUSE_URL" = "yes"; then
44871 if test "$wxUSE_PROTOCOL" != "yes"; then
44872 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44873 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44874 wxUSE_URL=no
44875 fi
44876 if test "$wxUSE_URL" = "yes"; then
44877 cat >>confdefs.h <<\_ACEOF
44878 #define wxUSE_URL 1
44879 _ACEOF
44880
44881 fi
44882 fi
44883
44884 if test "$wxUSE_VARIANT" = "yes"; then
44885 cat >>confdefs.h <<\_ACEOF
44886 #define wxUSE_VARIANT 1
44887 _ACEOF
44888
44889 fi
44890
44891 if test "$wxUSE_FS_INET" = "yes"; then
44892 cat >>confdefs.h <<\_ACEOF
44893 #define wxUSE_FS_INET 1
44894 _ACEOF
44895
44896 fi
44897
44898
44899 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44900 wxUSE_JOYSTICK=no
44901
44902 if test "$TOOLKIT" = "MSW"; then
44903 wxUSE_JOYSTICK=yes
44904
44905 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
44906 if test "$USE_DARWIN" = 1; then
44907 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44908 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44909 ac_ext=cpp
44910 ac_cpp='$CXXCPP $CPPFLAGS'
44911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44914
44915 cat >conftest.$ac_ext <<_ACEOF
44916 /* confdefs.h. */
44917 _ACEOF
44918 cat confdefs.h >>conftest.$ac_ext
44919 cat >>conftest.$ac_ext <<_ACEOF
44920 /* end confdefs.h. */
44921 #include <IOKit/hid/IOHIDLib.h>
44922 int
44923 main ()
44924 {
44925 IOHIDQueueInterface *qi = NULL;
44926 IOHIDCallbackFunction cb = NULL;
44927 qi->setEventCallout(NULL, cb, NULL, NULL);
44928 ;
44929 return 0;
44930 }
44931 _ACEOF
44932 rm -f conftest.$ac_objext
44933 if { (ac_try="$ac_compile"
44934 case "(($ac_try" in
44935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44936 *) ac_try_echo=$ac_try;;
44937 esac
44938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44939 (eval "$ac_compile") 2>conftest.er1
44940 ac_status=$?
44941 grep -v '^ *+' conftest.er1 >conftest.err
44942 rm -f conftest.er1
44943 cat conftest.err >&5
44944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44945 (exit $ac_status); } && {
44946 test -z "$ac_cxx_werror_flag" ||
44947 test ! -s conftest.err
44948 } && test -s conftest.$ac_objext; then
44949 wxUSE_JOYSTICK=yes
44950
44951 else
44952 echo "$as_me: failed program was:" >&5
44953 sed 's/^/| /' conftest.$ac_ext >&5
44954
44955
44956 fi
44957
44958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44959 ac_ext=c
44960 ac_cpp='$CPP $CPPFLAGS'
44961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44964
44965 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44966 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44967 fi
44968
44969 else
44970 if test "$wxUSE_MGL" != 1; then
44971
44972 for ac_header in linux/joystick.h
44973 do
44974 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44975 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44977 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44978 echo $ECHO_N "(cached) $ECHO_C" >&6
44979 else
44980 cat >conftest.$ac_ext <<_ACEOF
44981 /* confdefs.h. */
44982 _ACEOF
44983 cat confdefs.h >>conftest.$ac_ext
44984 cat >>conftest.$ac_ext <<_ACEOF
44985 /* end confdefs.h. */
44986 $ac_includes_default
44987
44988 #include <$ac_header>
44989 _ACEOF
44990 rm -f conftest.$ac_objext
44991 if { (ac_try="$ac_compile"
44992 case "(($ac_try" in
44993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44994 *) ac_try_echo=$ac_try;;
44995 esac
44996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44997 (eval "$ac_compile") 2>conftest.er1
44998 ac_status=$?
44999 grep -v '^ *+' conftest.er1 >conftest.err
45000 rm -f conftest.er1
45001 cat conftest.err >&5
45002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45003 (exit $ac_status); } && {
45004 test -z "$ac_c_werror_flag" ||
45005 test ! -s conftest.err
45006 } && test -s conftest.$ac_objext; then
45007 eval "$as_ac_Header=yes"
45008 else
45009 echo "$as_me: failed program was:" >&5
45010 sed 's/^/| /' conftest.$ac_ext >&5
45011
45012 eval "$as_ac_Header=no"
45013 fi
45014
45015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45016 fi
45017 ac_res=`eval echo '${'$as_ac_Header'}'`
45018 { echo "$as_me:$LINENO: result: $ac_res" >&5
45019 echo "${ECHO_T}$ac_res" >&6; }
45020 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45021 cat >>confdefs.h <<_ACEOF
45022 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45023 _ACEOF
45024 wxUSE_JOYSTICK=yes
45025 fi
45026
45027 done
45028
45029 fi
45030 fi
45031
45032 if test "$wxUSE_JOYSTICK" = "yes"; then
45033 cat >>confdefs.h <<\_ACEOF
45034 #define wxUSE_JOYSTICK 1
45035 _ACEOF
45036
45037 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45038 else
45039 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45040 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45041 fi
45042 fi
45043
45044
45045
45046 if test "$wxUSE_FONTENUM" = "yes" ; then
45047 cat >>confdefs.h <<\_ACEOF
45048 #define wxUSE_FONTENUM 1
45049 _ACEOF
45050
45051 fi
45052
45053 if test "$wxUSE_FONTMAP" = "yes" ; then
45054 cat >>confdefs.h <<\_ACEOF
45055 #define wxUSE_FONTMAP 1
45056 _ACEOF
45057
45058 fi
45059
45060 if test "$wxUSE_UNICODE" = "yes" ; then
45061 cat >>confdefs.h <<\_ACEOF
45062 #define wxUSE_UNICODE 1
45063 _ACEOF
45064
45065
45066 if test "$USE_WIN32" != 1; then
45067 wxUSE_UNICODE_MSLU=no
45068 fi
45069
45070 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45071 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45072 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45073 if test "${ac_cv_lib_unicows_main+set}" = set; then
45074 echo $ECHO_N "(cached) $ECHO_C" >&6
45075 else
45076 ac_check_lib_save_LIBS=$LIBS
45077 LIBS="-lunicows $LIBS"
45078 cat >conftest.$ac_ext <<_ACEOF
45079 /* confdefs.h. */
45080 _ACEOF
45081 cat confdefs.h >>conftest.$ac_ext
45082 cat >>conftest.$ac_ext <<_ACEOF
45083 /* end confdefs.h. */
45084
45085
45086 int
45087 main ()
45088 {
45089 return main ();
45090 ;
45091 return 0;
45092 }
45093 _ACEOF
45094 rm -f conftest.$ac_objext conftest$ac_exeext
45095 if { (ac_try="$ac_link"
45096 case "(($ac_try" in
45097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45098 *) ac_try_echo=$ac_try;;
45099 esac
45100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45101 (eval "$ac_link") 2>conftest.er1
45102 ac_status=$?
45103 grep -v '^ *+' conftest.er1 >conftest.err
45104 rm -f conftest.er1
45105 cat conftest.err >&5
45106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45107 (exit $ac_status); } && {
45108 test -z "$ac_c_werror_flag" ||
45109 test ! -s conftest.err
45110 } && test -s conftest$ac_exeext &&
45111 $as_test_x conftest$ac_exeext; then
45112 ac_cv_lib_unicows_main=yes
45113 else
45114 echo "$as_me: failed program was:" >&5
45115 sed 's/^/| /' conftest.$ac_ext >&5
45116
45117 ac_cv_lib_unicows_main=no
45118 fi
45119
45120 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45121 conftest$ac_exeext conftest.$ac_ext
45122 LIBS=$ac_check_lib_save_LIBS
45123 fi
45124 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45125 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45126 if test $ac_cv_lib_unicows_main = yes; then
45127
45128 cat >>confdefs.h <<\_ACEOF
45129 #define wxUSE_UNICODE_MSLU 1
45130 _ACEOF
45131
45132
45133 else
45134
45135 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45136 Applications will only run on Windows NT/2000/XP!" >&5
45137 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45138 Applications will only run on Windows NT/2000/XP!" >&2;}
45139 wxUSE_UNICODE_MSLU=no
45140
45141 fi
45142
45143 fi
45144 fi
45145
45146 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45147 cat >>confdefs.h <<\_ACEOF
45148 #define wxUSE_UNICODE_UTF8 1
45149 _ACEOF
45150
45151
45152 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45153 cat >>confdefs.h <<\_ACEOF
45154 #define wxUSE_UTF8_LOCALE_ONLY 1
45155 _ACEOF
45156
45157 fi
45158 fi
45159
45160
45161 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45162 cat >>confdefs.h <<\_ACEOF
45163 #define wxUSE_CONSTRAINTS 1
45164 _ACEOF
45165
45166 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45167 fi
45168
45169 if test "$wxUSE_MDI" = "yes"; then
45170 cat >>confdefs.h <<\_ACEOF
45171 #define wxUSE_MDI 1
45172 _ACEOF
45173
45174
45175 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45176 cat >>confdefs.h <<\_ACEOF
45177 #define wxUSE_MDI_ARCHITECTURE 1
45178 _ACEOF
45179
45180 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45181 fi
45182 fi
45183
45184 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45185 cat >>confdefs.h <<\_ACEOF
45186 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45187 _ACEOF
45188
45189 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45190 fi
45191
45192 if test "$wxUSE_HELP" = "yes"; then
45193 cat >>confdefs.h <<\_ACEOF
45194 #define wxUSE_HELP 1
45195 _ACEOF
45196
45197 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45198
45199 if test "$wxUSE_MSW" = 1; then
45200 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45201 cat >>confdefs.h <<\_ACEOF
45202 #define wxUSE_MS_HTML_HELP 1
45203 _ACEOF
45204
45205 fi
45206 fi
45207
45208 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45209 if test "$wxUSE_HTML" = "yes"; then
45210 cat >>confdefs.h <<\_ACEOF
45211 #define wxUSE_WXHTML_HELP 1
45212 _ACEOF
45213
45214 else
45215 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45216 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45217 wxUSE_WXHTML_HELP=no
45218 fi
45219 fi
45220 fi
45221
45222 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45223 cat >>confdefs.h <<\_ACEOF
45224 #define wxUSE_PRINTING_ARCHITECTURE 1
45225 _ACEOF
45226
45227 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45228 fi
45229
45230 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45231 cat >>confdefs.h <<\_ACEOF
45232 #define wxUSE_POSTSCRIPT 1
45233 _ACEOF
45234
45235 fi
45236
45237 cat >>confdefs.h <<\_ACEOF
45238 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45239 _ACEOF
45240
45241
45242 if test "$wxUSE_SVG" = "yes"; then
45243 cat >>confdefs.h <<\_ACEOF
45244 #define wxUSE_SVG 1
45245 _ACEOF
45246
45247 fi
45248
45249
45250 if test "$wxUSE_METAFILE" = "yes"; then
45251 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45252 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45253 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45254 wxUSE_METAFILE=no
45255 fi
45256 fi
45257
45258
45259 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45260 -o "$wxUSE_CLIPBOARD" = "yes" \
45261 -o "$wxUSE_OLE" = "yes" \
45262 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45263 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45264 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45265 if test "${ac_cv_header_ole2_h+set}" = set; then
45266 echo $ECHO_N "(cached) $ECHO_C" >&6
45267 else
45268 cat >conftest.$ac_ext <<_ACEOF
45269 /* confdefs.h. */
45270 _ACEOF
45271 cat confdefs.h >>conftest.$ac_ext
45272 cat >>conftest.$ac_ext <<_ACEOF
45273 /* end confdefs.h. */
45274
45275
45276 #include <ole2.h>
45277 _ACEOF
45278 rm -f conftest.$ac_objext
45279 if { (ac_try="$ac_compile"
45280 case "(($ac_try" in
45281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45282 *) ac_try_echo=$ac_try;;
45283 esac
45284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45285 (eval "$ac_compile") 2>conftest.er1
45286 ac_status=$?
45287 grep -v '^ *+' conftest.er1 >conftest.err
45288 rm -f conftest.er1
45289 cat conftest.err >&5
45290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45291 (exit $ac_status); } && {
45292 test -z "$ac_c_werror_flag" ||
45293 test ! -s conftest.err
45294 } && test -s conftest.$ac_objext; then
45295 ac_cv_header_ole2_h=yes
45296 else
45297 echo "$as_me: failed program was:" >&5
45298 sed 's/^/| /' conftest.$ac_ext >&5
45299
45300 ac_cv_header_ole2_h=no
45301 fi
45302
45303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45304 fi
45305 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45306 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45307
45308
45309
45310 if test "$ac_cv_header_ole2_h" = "yes" ; then
45311 if test "$GCC" = yes ; then
45312 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45313 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45314 cat >conftest.$ac_ext <<_ACEOF
45315 /* confdefs.h. */
45316 _ACEOF
45317 cat confdefs.h >>conftest.$ac_ext
45318 cat >>conftest.$ac_ext <<_ACEOF
45319 /* end confdefs.h. */
45320 #include <windows.h>
45321 #include <ole2.h>
45322 int
45323 main ()
45324 {
45325
45326 ;
45327 return 0;
45328 }
45329 _ACEOF
45330 rm -f conftest.$ac_objext
45331 if { (ac_try="$ac_compile"
45332 case "(($ac_try" in
45333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45334 *) ac_try_echo=$ac_try;;
45335 esac
45336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45337 (eval "$ac_compile") 2>conftest.er1
45338 ac_status=$?
45339 grep -v '^ *+' conftest.er1 >conftest.err
45340 rm -f conftest.er1
45341 cat conftest.err >&5
45342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45343 (exit $ac_status); } && {
45344 test -z "$ac_c_werror_flag" ||
45345 test ! -s conftest.err
45346 } && test -s conftest.$ac_objext; then
45347 { echo "$as_me:$LINENO: result: no" >&5
45348 echo "${ECHO_T}no" >&6; }
45349 else
45350 echo "$as_me: failed program was:" >&5
45351 sed 's/^/| /' conftest.$ac_ext >&5
45352
45353 { echo "$as_me:$LINENO: result: yes" >&5
45354 echo "${ECHO_T}yes" >&6; }
45355 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45356 fi
45357
45358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45359 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45360 if test "$wxUSE_OLE" = "yes" ; then
45361 cat >>confdefs.h <<\_ACEOF
45362 #define wxUSE_OLE 1
45363 _ACEOF
45364
45365 cat >>confdefs.h <<\_ACEOF
45366 #define wxUSE_OLE_AUTOMATION 1
45367 _ACEOF
45368
45369 cat >>confdefs.h <<\_ACEOF
45370 #define wxUSE_ACTIVEX 1
45371 _ACEOF
45372
45373 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45374 fi
45375 fi
45376
45377 if test "$wxUSE_DATAOBJ" = "yes" ; then
45378 cat >>confdefs.h <<\_ACEOF
45379 #define wxUSE_DATAOBJ 1
45380 _ACEOF
45381
45382 fi
45383 else
45384 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45385 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45386
45387 wxUSE_CLIPBOARD=no
45388 wxUSE_DRAG_AND_DROP=no
45389 wxUSE_DATAOBJ=no
45390 wxUSE_OLE=no
45391 fi
45392
45393 if test "$wxUSE_METAFILE" = "yes"; then
45394 cat >>confdefs.h <<\_ACEOF
45395 #define wxUSE_METAFILE 1
45396 _ACEOF
45397
45398
45399 cat >>confdefs.h <<\_ACEOF
45400 #define wxUSE_ENH_METAFILE 1
45401 _ACEOF
45402
45403 fi
45404 fi
45405
45406 if test "$wxUSE_IPC" = "yes"; then
45407 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45408 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45409 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45410 wxUSE_IPC=no
45411 fi
45412
45413 if test "$wxUSE_IPC" = "yes"; then
45414 cat >>confdefs.h <<\_ACEOF
45415 #define wxUSE_IPC 1
45416 _ACEOF
45417
45418 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45419 fi
45420 fi
45421
45422 if test "$wxUSE_DATAOBJ" = "yes"; then
45423 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45424 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45425 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45426 wxUSE_DATAOBJ=no
45427 else
45428 cat >>confdefs.h <<\_ACEOF
45429 #define wxUSE_DATAOBJ 1
45430 _ACEOF
45431
45432 fi
45433 else
45434 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45435 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45436 wxUSE_CLIPBOARD=no
45437 wxUSE_DRAG_AND_DROP=no
45438 fi
45439
45440 if test "$wxUSE_CLIPBOARD" = "yes"; then
45441 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45442 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45443 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45444 wxUSE_CLIPBOARD=no
45445 fi
45446
45447 if test "$wxUSE_CLIPBOARD" = "yes"; then
45448 cat >>confdefs.h <<\_ACEOF
45449 #define wxUSE_CLIPBOARD 1
45450 _ACEOF
45451
45452 fi
45453 fi
45454
45455 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45456 if test "$wxUSE_GTK" = 1; then
45457 if test "$WXGTK12" != 1; then
45458 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45459 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45460 wxUSE_DRAG_AND_DROP=no
45461 fi
45462 fi
45463
45464 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45465 "$wxUSE_DFB" = 1; then
45466 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45467 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45468 wxUSE_DRAG_AND_DROP=no
45469 fi
45470
45471 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45472 cat >>confdefs.h <<\_ACEOF
45473 #define wxUSE_DRAG_AND_DROP 1
45474 _ACEOF
45475
45476 fi
45477
45478 fi
45479
45480 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45481 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45482 fi
45483
45484 if test "$wxUSE_CLIPBOARD" = "yes"; then
45485 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
45486 fi
45487
45488 if test "$wxUSE_SPLINES" = "yes" ; then
45489 cat >>confdefs.h <<\_ACEOF
45490 #define wxUSE_SPLINES 1
45491 _ACEOF
45492
45493 fi
45494
45495 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45496 cat >>confdefs.h <<\_ACEOF
45497 #define wxUSE_MOUSEWHEEL 1
45498 _ACEOF
45499
45500 fi
45501
45502
45503 USES_CONTROLS=0
45504 if test "$wxUSE_CONTROLS" = "yes"; then
45505 USES_CONTROLS=1
45506 fi
45507
45508 if test "$wxUSE_ACCEL" = "yes"; then
45509 cat >>confdefs.h <<\_ACEOF
45510 #define wxUSE_ACCEL 1
45511 _ACEOF
45512
45513 USES_CONTROLS=1
45514 fi
45515
45516 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45517 cat >>confdefs.h <<\_ACEOF
45518 #define wxUSE_ANIMATIONCTRL 1
45519 _ACEOF
45520
45521 USES_CONTROLS=1
45522 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45523 fi
45524
45525 if test "$wxUSE_BUTTON" = "yes"; then
45526 cat >>confdefs.h <<\_ACEOF
45527 #define wxUSE_BUTTON 1
45528 _ACEOF
45529
45530 USES_CONTROLS=1
45531 fi
45532
45533 if test "$wxUSE_BMPBUTTON" = "yes"; then
45534 cat >>confdefs.h <<\_ACEOF
45535 #define wxUSE_BMPBUTTON 1
45536 _ACEOF
45537
45538 USES_CONTROLS=1
45539 fi
45540
45541 if test "$wxUSE_CALCTRL" = "yes"; then
45542 cat >>confdefs.h <<\_ACEOF
45543 #define wxUSE_CALENDARCTRL 1
45544 _ACEOF
45545
45546 USES_CONTROLS=1
45547 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45548 fi
45549
45550 if test "$wxUSE_CARET" = "yes"; then
45551 cat >>confdefs.h <<\_ACEOF
45552 #define wxUSE_CARET 1
45553 _ACEOF
45554
45555 USES_CONTROLS=1
45556 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45557 fi
45558
45559 if test "$wxUSE_COLLPANE" = "yes"; then
45560 cat >>confdefs.h <<\_ACEOF
45561 #define wxUSE_COLLPANE 1
45562 _ACEOF
45563
45564 USES_CONTROLS=1
45565 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45566 fi
45567
45568 if test "$wxUSE_COMBOBOX" = "yes"; then
45569 cat >>confdefs.h <<\_ACEOF
45570 #define wxUSE_COMBOBOX 1
45571 _ACEOF
45572
45573 USES_CONTROLS=1
45574 fi
45575
45576 if test "$wxUSE_COMBOCTRL" = "yes"; then
45577 cat >>confdefs.h <<\_ACEOF
45578 #define wxUSE_COMBOCTRL 1
45579 _ACEOF
45580
45581 USES_CONTROLS=1
45582 fi
45583
45584 if test "$wxUSE_CHOICE" = "yes"; then
45585 cat >>confdefs.h <<\_ACEOF
45586 #define wxUSE_CHOICE 1
45587 _ACEOF
45588
45589 USES_CONTROLS=1
45590 fi
45591
45592 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45593 cat >>confdefs.h <<\_ACEOF
45594 #define wxUSE_CHOICEBOOK 1
45595 _ACEOF
45596
45597 USES_CONTROLS=1
45598 fi
45599
45600 if test "$wxUSE_CHECKBOX" = "yes"; then
45601 cat >>confdefs.h <<\_ACEOF
45602 #define wxUSE_CHECKBOX 1
45603 _ACEOF
45604
45605 USES_CONTROLS=1
45606 fi
45607
45608 if test "$wxUSE_CHECKLST" = "yes"; then
45609 cat >>confdefs.h <<\_ACEOF
45610 #define wxUSE_CHECKLISTBOX 1
45611 _ACEOF
45612
45613 USES_CONTROLS=1
45614 fi
45615
45616 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45617 cat >>confdefs.h <<\_ACEOF
45618 #define wxUSE_COLOURPICKERCTRL 1
45619 _ACEOF
45620
45621 USES_CONTROLS=1
45622 fi
45623
45624 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45625 cat >>confdefs.h <<\_ACEOF
45626 #define wxUSE_DATEPICKCTRL 1
45627 _ACEOF
45628
45629 USES_CONTROLS=1
45630 fi
45631
45632 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45633 cat >>confdefs.h <<\_ACEOF
45634 #define wxUSE_DIRPICKERCTRL 1
45635 _ACEOF
45636
45637 USES_CONTROLS=1
45638 fi
45639
45640 if test "$wxUSE_FILECTRL" = "yes"; then
45641 cat >>confdefs.h <<\_ACEOF
45642 #define wxUSE_FILECTRL 1
45643 _ACEOF
45644
45645 USES_CONTROLS=1
45646 fi
45647
45648 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45649 cat >>confdefs.h <<\_ACEOF
45650 #define wxUSE_FILEPICKERCTRL 1
45651 _ACEOF
45652
45653 USES_CONTROLS=1
45654 fi
45655
45656 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45657 cat >>confdefs.h <<\_ACEOF
45658 #define wxUSE_FONTPICKERCTRL 1
45659 _ACEOF
45660
45661 USES_CONTROLS=1
45662 fi
45663
45664 if test "$wxUSE_DISPLAY" = "yes"; then
45665 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45666 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45667 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45668 wxUSE_DISPLAY=no
45669 else
45670 cat >>confdefs.h <<\_ACEOF
45671 #define wxUSE_DISPLAY 1
45672 _ACEOF
45673
45674 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45675 fi
45676 fi
45677
45678 if test "$wxUSE_DETECT_SM" = "yes"; then
45679 cat >>confdefs.h <<\_ACEOF
45680 #define wxUSE_DETECT_SM 1
45681 _ACEOF
45682
45683 fi
45684
45685 if test "$wxUSE_GAUGE" = "yes"; then
45686 cat >>confdefs.h <<\_ACEOF
45687 #define wxUSE_GAUGE 1
45688 _ACEOF
45689
45690 USES_CONTROLS=1
45691 fi
45692
45693 if test "$wxUSE_GRID" = "yes"; then
45694 cat >>confdefs.h <<\_ACEOF
45695 #define wxUSE_GRID 1
45696 _ACEOF
45697
45698 USES_CONTROLS=1
45699 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45700 fi
45701
45702 if test "$wxUSE_HEADERCTRL" = "yes"; then
45703 cat >>confdefs.h <<\_ACEOF
45704 #define wxUSE_HEADERCTRL 1
45705 _ACEOF
45706
45707 USES_CONTROLS=1
45708 fi
45709
45710 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45711 cat >>confdefs.h <<\_ACEOF
45712 #define wxUSE_HYPERLINKCTRL 1
45713 _ACEOF
45714
45715 USES_CONTROLS=1
45716 fi
45717
45718 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45719 cat >>confdefs.h <<\_ACEOF
45720 #define wxUSE_BITMAPCOMBOBOX 1
45721 _ACEOF
45722
45723 USES_CONTROLS=1
45724 fi
45725
45726 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45727 cat >>confdefs.h <<\_ACEOF
45728 #define wxUSE_DATAVIEWCTRL 1
45729 _ACEOF
45730
45731 USES_CONTROLS=1
45732 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45733 fi
45734
45735 if test "$wxUSE_IMAGLIST" = "yes"; then
45736 cat >>confdefs.h <<\_ACEOF
45737 #define wxUSE_IMAGLIST 1
45738 _ACEOF
45739
45740 fi
45741
45742 if test "$wxUSE_LISTBOOK" = "yes"; then
45743 cat >>confdefs.h <<\_ACEOF
45744 #define wxUSE_LISTBOOK 1
45745 _ACEOF
45746
45747 USES_CONTROLS=1
45748 fi
45749
45750 if test "$wxUSE_LISTBOX" = "yes"; then
45751 cat >>confdefs.h <<\_ACEOF
45752 #define wxUSE_LISTBOX 1
45753 _ACEOF
45754
45755 USES_CONTROLS=1
45756 fi
45757
45758 if test "$wxUSE_LISTCTRL" = "yes"; then
45759 if test "$wxUSE_IMAGLIST" = "yes"; then
45760 cat >>confdefs.h <<\_ACEOF
45761 #define wxUSE_LISTCTRL 1
45762 _ACEOF
45763
45764 USES_CONTROLS=1
45765 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45766 else
45767 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45768 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45769 fi
45770 fi
45771
45772 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45773 cat >>confdefs.h <<\_ACEOF
45774 #define wxUSE_EDITABLELISTBOX 1
45775 _ACEOF
45776
45777 USES_CONTROLS=1
45778 fi
45779
45780 if test "$wxUSE_NOTEBOOK" = "yes"; then
45781 cat >>confdefs.h <<\_ACEOF
45782 #define wxUSE_NOTEBOOK 1
45783 _ACEOF
45784
45785 USES_CONTROLS=1
45786 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45787 fi
45788
45789 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45790 cat >>confdefs.h <<\_ACEOF
45791 #define wxUSE_NOTIFICATION_MESSAGE 1
45792 _ACEOF
45793
45794 fi
45795
45796 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45797 cat >>confdefs.h <<\_ACEOF
45798 #define wxUSE_ODCOMBOBOX 1
45799 _ACEOF
45800
45801 USES_CONTROLS=1
45802 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45803 fi
45804
45805 if test "$wxUSE_RADIOBOX" = "yes"; then
45806 cat >>confdefs.h <<\_ACEOF
45807 #define wxUSE_RADIOBOX 1
45808 _ACEOF
45809
45810 USES_CONTROLS=1
45811 fi
45812
45813 if test "$wxUSE_RADIOBTN" = "yes"; then
45814 cat >>confdefs.h <<\_ACEOF
45815 #define wxUSE_RADIOBTN 1
45816 _ACEOF
45817
45818 USES_CONTROLS=1
45819 fi
45820
45821 if test "$wxUSE_REARRANGECTRL" = "yes"; then
45822 cat >>confdefs.h <<\_ACEOF
45823 #define wxUSE_REARRANGECTRL 1
45824 _ACEOF
45825
45826 fi
45827
45828 if test "$wxUSE_SASH" = "yes"; then
45829 cat >>confdefs.h <<\_ACEOF
45830 #define wxUSE_SASH 1
45831 _ACEOF
45832
45833 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45834 fi
45835
45836 if test "$wxUSE_SCROLLBAR" = "yes"; then
45837 cat >>confdefs.h <<\_ACEOF
45838 #define wxUSE_SCROLLBAR 1
45839 _ACEOF
45840
45841 USES_CONTROLS=1
45842 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
45843 fi
45844
45845 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45846 cat >>confdefs.h <<\_ACEOF
45847 #define wxUSE_SEARCHCTRL 1
45848 _ACEOF
45849
45850 USES_CONTROLS=1
45851 fi
45852
45853 if test "$wxUSE_SLIDER" = "yes"; then
45854 cat >>confdefs.h <<\_ACEOF
45855 #define wxUSE_SLIDER 1
45856 _ACEOF
45857
45858 USES_CONTROLS=1
45859 fi
45860
45861 if test "$wxUSE_SPINBTN" = "yes"; then
45862 cat >>confdefs.h <<\_ACEOF
45863 #define wxUSE_SPINBTN 1
45864 _ACEOF
45865
45866 USES_CONTROLS=1
45867 fi
45868
45869 if test "$wxUSE_SPINCTRL" = "yes"; then
45870 cat >>confdefs.h <<\_ACEOF
45871 #define wxUSE_SPINCTRL 1
45872 _ACEOF
45873
45874 USES_CONTROLS=1
45875 fi
45876
45877 if test "$wxUSE_SPLITTER" = "yes"; then
45878 cat >>confdefs.h <<\_ACEOF
45879 #define wxUSE_SPLITTER 1
45880 _ACEOF
45881
45882 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45883 fi
45884
45885 if test "$wxUSE_STATBMP" = "yes"; then
45886 cat >>confdefs.h <<\_ACEOF
45887 #define wxUSE_STATBMP 1
45888 _ACEOF
45889
45890 USES_CONTROLS=1
45891 fi
45892
45893 if test "$wxUSE_STATBOX" = "yes"; then
45894 cat >>confdefs.h <<\_ACEOF
45895 #define wxUSE_STATBOX 1
45896 _ACEOF
45897
45898 USES_CONTROLS=1
45899 fi
45900
45901 if test "$wxUSE_STATTEXT" = "yes"; then
45902 cat >>confdefs.h <<\_ACEOF
45903 #define wxUSE_STATTEXT 1
45904 _ACEOF
45905
45906 USES_CONTROLS=1
45907 fi
45908
45909 if test "$wxUSE_STATLINE" = "yes"; then
45910 cat >>confdefs.h <<\_ACEOF
45911 #define wxUSE_STATLINE 1
45912 _ACEOF
45913
45914 USES_CONTROLS=1
45915 fi
45916
45917 if test "$wxUSE_STATUSBAR" = "yes"; then
45918 cat >>confdefs.h <<\_ACEOF
45919 #define wxUSE_NATIVE_STATUSBAR 1
45920 _ACEOF
45921
45922 cat >>confdefs.h <<\_ACEOF
45923 #define wxUSE_STATUSBAR 1
45924 _ACEOF
45925
45926 USES_CONTROLS=1
45927
45928 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45929 fi
45930
45931 if test "$wxUSE_TEXTCTRL" = "yes"; then
45932 cat >>confdefs.h <<\_ACEOF
45933 #define wxUSE_TEXTCTRL 1
45934 _ACEOF
45935
45936 USES_CONTROLS=1
45937 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45938
45939 cat >>confdefs.h <<\_ACEOF
45940 #define wxUSE_RICHEDIT 1
45941 _ACEOF
45942
45943 cat >>confdefs.h <<\_ACEOF
45944 #define wxUSE_RICHEDIT2 1
45945 _ACEOF
45946
45947 fi
45948
45949 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45950 if test "$wxUSE_COCOA" = 1 ; then
45951 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45952 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45953 wxUSE_TOGGLEBTN=no
45954 fi
45955
45956 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45957 cat >>confdefs.h <<\_ACEOF
45958 #define wxUSE_TOGGLEBTN 1
45959 _ACEOF
45960
45961 USES_CONTROLS=1
45962 fi
45963 fi
45964
45965 if test "$wxUSE_TOOLBAR" = "yes"; then
45966 cat >>confdefs.h <<\_ACEOF
45967 #define wxUSE_TOOLBAR 1
45968 _ACEOF
45969
45970 USES_CONTROLS=1
45971
45972 if test "$wxUSE_UNIVERSAL" = "yes"; then
45973 wxUSE_TOOLBAR_NATIVE="no"
45974 else
45975 wxUSE_TOOLBAR_NATIVE="yes"
45976 cat >>confdefs.h <<\_ACEOF
45977 #define wxUSE_TOOLBAR_NATIVE 1
45978 _ACEOF
45979
45980 fi
45981
45982 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45983 fi
45984
45985 if test "$wxUSE_TOOLTIPS" = "yes"; then
45986 if test "$wxUSE_MOTIF" = 1; then
45987 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45988 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45989 else
45990 if test "$wxUSE_UNIVERSAL" = "yes"; then
45991 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45992 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45993 else
45994 cat >>confdefs.h <<\_ACEOF
45995 #define wxUSE_TOOLTIPS 1
45996 _ACEOF
45997
45998 fi
45999 fi
46000 fi
46001
46002 if test "$wxUSE_TREEBOOK" = "yes"; then
46003 cat >>confdefs.h <<\_ACEOF
46004 #define wxUSE_TREEBOOK 1
46005 _ACEOF
46006
46007 USES_CONTROLS=1
46008 fi
46009
46010 if test "$wxUSE_TOOLBOOK" = "yes"; then
46011 cat >>confdefs.h <<\_ACEOF
46012 #define wxUSE_TOOLBOOK 1
46013 _ACEOF
46014
46015 USES_CONTROLS=1
46016 fi
46017
46018 if test "$wxUSE_TREECTRL" = "yes"; then
46019 if test "$wxUSE_IMAGLIST" = "yes"; then
46020 cat >>confdefs.h <<\_ACEOF
46021 #define wxUSE_TREECTRL 1
46022 _ACEOF
46023
46024 USES_CONTROLS=1
46025 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46026 else
46027 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46028 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46029 fi
46030 fi
46031
46032 if test "$wxUSE_POPUPWIN" = "yes"; then
46033 if test "$wxUSE_COCOA" = 1 ; then
46034 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46035 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46036 else
46037 if test "$wxUSE_PM" = 1; then
46038 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46039 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46040 else
46041 cat >>confdefs.h <<\_ACEOF
46042 #define wxUSE_POPUPWIN 1
46043 _ACEOF
46044
46045 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46046
46047 USES_CONTROLS=1
46048 fi
46049 fi
46050 fi
46051
46052 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46053 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46054 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46055 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46056 else
46057 cat >>confdefs.h <<\_ACEOF
46058 #define wxUSE_DIALUP_MANAGER 1
46059 _ACEOF
46060
46061 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46062 fi
46063 fi
46064
46065 if test "$wxUSE_TIPWINDOW" = "yes"; then
46066 if test "$wxUSE_PM" = 1; then
46067 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46068 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46069 else
46070 cat >>confdefs.h <<\_ACEOF
46071 #define wxUSE_TIPWINDOW 1
46072 _ACEOF
46073
46074 fi
46075 fi
46076
46077 if test "$USES_CONTROLS" = 1; then
46078 cat >>confdefs.h <<\_ACEOF
46079 #define wxUSE_CONTROLS 1
46080 _ACEOF
46081
46082 fi
46083
46084
46085 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46086 cat >>confdefs.h <<\_ACEOF
46087 #define wxUSE_ACCESSIBILITY 1
46088 _ACEOF
46089
46090 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46091 fi
46092
46093 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46094 cat >>confdefs.h <<\_ACEOF
46095 #define wxUSE_DRAGIMAGE 1
46096 _ACEOF
46097
46098 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46099 fi
46100
46101 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46102 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46103 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46104 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46105 else
46106 cat >>confdefs.h <<\_ACEOF
46107 #define wxUSE_EXCEPTIONS 1
46108 _ACEOF
46109
46110 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46111 fi
46112 fi
46113
46114 USE_HTML=0
46115 if test "$wxUSE_HTML" = "yes"; then
46116 cat >>confdefs.h <<\_ACEOF
46117 #define wxUSE_HTML 1
46118 _ACEOF
46119
46120 USE_HTML=1
46121 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46122 fi
46123 if test "$wxUSE_WEBKIT" = "yes"; then
46124 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46125 old_CPPFLAGS="$CPPFLAGS"
46126 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46127 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46128 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46129 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46130 echo $ECHO_N "(cached) $ECHO_C" >&6
46131 else
46132 cat >conftest.$ac_ext <<_ACEOF
46133 /* confdefs.h. */
46134 _ACEOF
46135 cat confdefs.h >>conftest.$ac_ext
46136 cat >>conftest.$ac_ext <<_ACEOF
46137 /* end confdefs.h. */
46138
46139 #include <Carbon/Carbon.h>
46140 #include <WebKit/WebKit.h>
46141
46142
46143 #include <WebKit/HIWebView.h>
46144 _ACEOF
46145 rm -f conftest.$ac_objext
46146 if { (ac_try="$ac_compile"
46147 case "(($ac_try" in
46148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46149 *) ac_try_echo=$ac_try;;
46150 esac
46151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46152 (eval "$ac_compile") 2>conftest.er1
46153 ac_status=$?
46154 grep -v '^ *+' conftest.er1 >conftest.err
46155 rm -f conftest.er1
46156 cat conftest.err >&5
46157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46158 (exit $ac_status); } && {
46159 test -z "$ac_c_werror_flag" ||
46160 test ! -s conftest.err
46161 } && test -s conftest.$ac_objext; then
46162 ac_cv_header_WebKit_HIWebView_h=yes
46163 else
46164 echo "$as_me: failed program was:" >&5
46165 sed 's/^/| /' conftest.$ac_ext >&5
46166
46167 ac_cv_header_WebKit_HIWebView_h=no
46168 fi
46169
46170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46171 fi
46172 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46173 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46174 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46175
46176 cat >>confdefs.h <<\_ACEOF
46177 #define wxUSE_WEBKIT 1
46178 _ACEOF
46179
46180 WEBKIT_LINK="-framework WebKit"
46181
46182 else
46183
46184 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46185 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46186 wxUSE_WEBKIT=no
46187
46188 fi
46189
46190
46191 CPPFLAGS="$old_CPPFLAGS"
46192 elif test "$wxUSE_COCOA" = 1; then
46193 cat >>confdefs.h <<\_ACEOF
46194 #define wxUSE_WEBKIT 1
46195 _ACEOF
46196
46197 else
46198 wxUSE_WEBKIT=no
46199 fi
46200 if test "$wxUSE_WEBKIT" = "yes"; then
46201 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46202 fi
46203 fi
46204
46205 USE_XRC=0
46206 if test "$wxUSE_XRC" = "yes"; then
46207 if test "$wxUSE_XML" != "yes"; then
46208 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46209 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46210 wxUSE_XRC=no
46211 else
46212 cat >>confdefs.h <<\_ACEOF
46213 #define wxUSE_XRC 1
46214 _ACEOF
46215
46216 USE_XRC=1
46217 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46218 fi
46219 fi
46220
46221 USE_AUI=0
46222 if test "$wxUSE_AUI" = "yes"; then
46223 cat >>confdefs.h <<\_ACEOF
46224 #define wxUSE_AUI 1
46225 _ACEOF
46226
46227 USE_AUI=1
46228 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46229 fi
46230
46231 USE_PROPGRID=0
46232 if test "$wxUSE_PROPGRID" = "yes"; then
46233 cat >>confdefs.h <<\_ACEOF
46234 #define wxUSE_PROPGRID 1
46235 _ACEOF
46236
46237 USE_PROPGRID=1
46238 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46239 fi
46240
46241 USE_STC=0
46242 if test "$wxUSE_STC" = "yes"; then
46243 cat >>confdefs.h <<\_ACEOF
46244 #define wxUSE_STC 1
46245 _ACEOF
46246
46247 USE_STC=1
46248 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46249
46250 # Extract the first word of "python", so it can be a program name with args.
46251 set dummy python; ac_word=$2
46252 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46254 if test "${ac_cv_path_PYTHON+set}" = set; then
46255 echo $ECHO_N "(cached) $ECHO_C" >&6
46256 else
46257 case $PYTHON in
46258 [\\/]* | ?:[\\/]*)
46259 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
46260 ;;
46261 *)
46262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46263 for as_dir in $PATH
46264 do
46265 IFS=$as_save_IFS
46266 test -z "$as_dir" && as_dir=.
46267 for ac_exec_ext in '' $ac_executable_extensions; do
46268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46269 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
46270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46271 break 2
46272 fi
46273 done
46274 done
46275 IFS=$as_save_IFS
46276
46277 ;;
46278 esac
46279 fi
46280 PYTHON=$ac_cv_path_PYTHON
46281 if test -n "$PYTHON"; then
46282 { echo "$as_me:$LINENO: result: $PYTHON" >&5
46283 echo "${ECHO_T}$PYTHON" >&6; }
46284 else
46285 { echo "$as_me:$LINENO: result: no" >&5
46286 echo "${ECHO_T}no" >&6; }
46287 fi
46288
46289
46290 if test "x$PYTHON" = "x"; then
46291 COND_PYTHON="#"
46292 fi
46293
46294 fi
46295
46296 if test "$wxUSE_MENUS" = "yes"; then
46297 cat >>confdefs.h <<\_ACEOF
46298 #define wxUSE_MENUS 1
46299 _ACEOF
46300
46301 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46302 fi
46303
46304 if test "$wxUSE_METAFILE" = "yes"; then
46305 cat >>confdefs.h <<\_ACEOF
46306 #define wxUSE_METAFILE 1
46307 _ACEOF
46308
46309 fi
46310
46311 if test "$wxUSE_MIMETYPE" = "yes"; then
46312 cat >>confdefs.h <<\_ACEOF
46313 #define wxUSE_MIMETYPE 1
46314 _ACEOF
46315
46316 fi
46317
46318 if test "$wxUSE_MINIFRAME" = "yes"; then
46319 cat >>confdefs.h <<\_ACEOF
46320 #define wxUSE_MINIFRAME 1
46321 _ACEOF
46322
46323 fi
46324
46325 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46326 cat >>confdefs.h <<\_ACEOF
46327 #define wxUSE_SYSTEM_OPTIONS 1
46328 _ACEOF
46329
46330 fi
46331
46332 if test "$wxUSE_TASKBARICON" = "yes"; then
46333 cat >>confdefs.h <<\_ACEOF
46334 #define wxUSE_TASKBARICON 1
46335 _ACEOF
46336
46337 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46338 fi
46339
46340
46341 if test "$wxUSE_VALIDATORS" = "yes"; then
46342 cat >>confdefs.h <<\_ACEOF
46343 #define wxUSE_VALIDATORS 1
46344 _ACEOF
46345
46346 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46347 fi
46348
46349 if test "$wxUSE_PALETTE" = "yes" ; then
46350 if test "$wxUSE_DFB" = 1; then
46351 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46352 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46353 wxUSE_PALETTE=no
46354 else
46355 cat >>confdefs.h <<\_ACEOF
46356 #define wxUSE_PALETTE 1
46357 _ACEOF
46358
46359 fi
46360 fi
46361
46362 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46363 LIBS=" -lunicows $LIBS"
46364 fi
46365
46366 USE_RICHTEXT=0
46367 if test "$wxUSE_RICHTEXT" = "yes"; then
46368 cat >>confdefs.h <<\_ACEOF
46369 #define wxUSE_RICHTEXT 1
46370 _ACEOF
46371
46372 USE_RICHTEXT=1
46373 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46374 fi
46375
46376
46377 if test "$wxUSE_IMAGE" = "yes" ; then
46378 cat >>confdefs.h <<\_ACEOF
46379 #define wxUSE_IMAGE 1
46380 _ACEOF
46381
46382
46383 if test "$wxUSE_GIF" = "yes" ; then
46384 cat >>confdefs.h <<\_ACEOF
46385 #define wxUSE_GIF 1
46386 _ACEOF
46387
46388 fi
46389
46390 if test "$wxUSE_PCX" = "yes" ; then
46391 cat >>confdefs.h <<\_ACEOF
46392 #define wxUSE_PCX 1
46393 _ACEOF
46394
46395 fi
46396
46397 if test "$wxUSE_TGA" = "yes" ; then
46398 cat >>confdefs.h <<\_ACEOF
46399 #define wxUSE_TGA 1
46400 _ACEOF
46401
46402 fi
46403
46404 if test "$wxUSE_IFF" = "yes" ; then
46405 cat >>confdefs.h <<\_ACEOF
46406 #define wxUSE_IFF 1
46407 _ACEOF
46408
46409 fi
46410
46411 if test "$wxUSE_PNM" = "yes" ; then
46412 cat >>confdefs.h <<\_ACEOF
46413 #define wxUSE_PNM 1
46414 _ACEOF
46415
46416 fi
46417
46418 if test "$wxUSE_XPM" = "yes" ; then
46419 cat >>confdefs.h <<\_ACEOF
46420 #define wxUSE_XPM 1
46421 _ACEOF
46422
46423 fi
46424
46425 if test "$wxUSE_ICO_CUR" = "yes" ; then
46426 cat >>confdefs.h <<\_ACEOF
46427 #define wxUSE_ICO_CUR 1
46428 _ACEOF
46429
46430 fi
46431 fi
46432
46433
46434 if test "$wxUSE_ABOUTDLG" = "yes"; then
46435 cat >>confdefs.h <<\_ACEOF
46436 #define wxUSE_ABOUTDLG 1
46437 _ACEOF
46438
46439 fi
46440
46441 if test "$wxUSE_CHOICEDLG" = "yes"; then
46442 cat >>confdefs.h <<\_ACEOF
46443 #define wxUSE_CHOICEDLG 1
46444 _ACEOF
46445
46446 fi
46447
46448 if test "$wxUSE_COLOURDLG" = "yes"; then
46449 cat >>confdefs.h <<\_ACEOF
46450 #define wxUSE_COLOURDLG 1
46451 _ACEOF
46452
46453 fi
46454
46455 if test "$wxUSE_FILEDLG" = "yes"; then
46456 cat >>confdefs.h <<\_ACEOF
46457 #define wxUSE_FILEDLG 1
46458 _ACEOF
46459
46460 fi
46461
46462 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46463 cat >>confdefs.h <<\_ACEOF
46464 #define wxUSE_FINDREPLDLG 1
46465 _ACEOF
46466
46467 fi
46468
46469 if test "$wxUSE_FONTDLG" = "yes"; then
46470 cat >>confdefs.h <<\_ACEOF
46471 #define wxUSE_FONTDLG 1
46472 _ACEOF
46473
46474 fi
46475
46476 if test "$wxUSE_DIRDLG" = "yes"; then
46477 if test "$wxUSE_TREECTRL" != "yes"; then
46478 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46479 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46480 else
46481 cat >>confdefs.h <<\_ACEOF
46482 #define wxUSE_DIRDLG 1
46483 _ACEOF
46484
46485 fi
46486 fi
46487
46488 if test "$wxUSE_MSGDLG" = "yes"; then
46489 cat >>confdefs.h <<\_ACEOF
46490 #define wxUSE_MSGDLG 1
46491 _ACEOF
46492
46493 fi
46494
46495 if test "$wxUSE_NUMBERDLG" = "yes"; then
46496 cat >>confdefs.h <<\_ACEOF
46497 #define wxUSE_NUMBERDLG 1
46498 _ACEOF
46499
46500 fi
46501
46502 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46503 cat >>confdefs.h <<\_ACEOF
46504 #define wxUSE_PROGRESSDLG 1
46505 _ACEOF
46506
46507 fi
46508
46509 if test "$wxUSE_SPLASH" = "yes"; then
46510 cat >>confdefs.h <<\_ACEOF
46511 #define wxUSE_SPLASH 1
46512 _ACEOF
46513
46514 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46515 fi
46516
46517 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46518 cat >>confdefs.h <<\_ACEOF
46519 #define wxUSE_STARTUP_TIPS 1
46520 _ACEOF
46521
46522 fi
46523
46524 if test "$wxUSE_TEXTDLG" = "yes"; then
46525 cat >>confdefs.h <<\_ACEOF
46526 #define wxUSE_TEXTDLG 1
46527 _ACEOF
46528
46529 fi
46530
46531 if test "$wxUSE_WIZARDDLG" = "yes"; then
46532 cat >>confdefs.h <<\_ACEOF
46533 #define wxUSE_WIZARDDLG 1
46534 _ACEOF
46535
46536 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46537 fi
46538
46539
46540 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46541 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46542 cat >>confdefs.h <<\_ACEOF
46543 #define wxUSE_OWNER_DRAWN 1
46544 _ACEOF
46545
46546 fi
46547 fi
46548
46549
46550 if test "$wxUSE_MSW" = 1 ; then
46551
46552 if test "$wxUSE_DC_CACHEING" = "yes"; then
46553 cat >>confdefs.h <<\_ACEOF
46554 #define wxUSE_DC_CACHEING 1
46555 _ACEOF
46556
46557 fi
46558
46559 if test "$wxUSE_DIB" = "yes"; then
46560 cat >>confdefs.h <<\_ACEOF
46561 #define wxUSE_WXDIB 1
46562 _ACEOF
46563
46564 fi
46565
46566 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46567 cat >>confdefs.h <<\_ACEOF
46568 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46569 _ACEOF
46570
46571 fi
46572
46573 if test "$wxUSE_UXTHEME" = "yes"; then
46574 cat >>confdefs.h <<\_ACEOF
46575 #define wxUSE_UXTHEME 1
46576 _ACEOF
46577
46578 fi
46579
46580 fi
46581
46582 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46583 cat >>confdefs.h <<\_ACEOF
46584 #define wxUSE_AUTOID_MANAGEMENT 1
46585 _ACEOF
46586
46587 fi
46588
46589 if test "$USE_WIN32" = 1 ; then
46590 if test "$wxUSE_INICONF" = "yes"; then
46591 cat >>confdefs.h <<\_ACEOF
46592 #define wxUSE_INICONF 1
46593 _ACEOF
46594
46595 fi
46596
46597 if test "$wxUSE_REGKEY" = "yes"; then
46598 cat >>confdefs.h <<\_ACEOF
46599 #define wxUSE_REGKEY 1
46600 _ACEOF
46601
46602 fi
46603 fi
46604
46605
46606 if test "$wxUSE_MAC" = 1; then
46607 wxUSE_GRAPHICS_CONTEXT="yes"
46608 fi
46609
46610 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46611 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46612 cat >>confdefs.h <<\_ACEOF
46613 #define wxUSE_GRAPHICS_CONTEXT 1
46614 _ACEOF
46615
46616 elif test "$wxUSE_GTK" != 1; then
46617 cat >>confdefs.h <<\_ACEOF
46618 #define wxUSE_GRAPHICS_CONTEXT 1
46619 _ACEOF
46620
46621 else
46622
46623 pkg_failed=no
46624 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46625 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46626
46627 if test -n "$PKG_CONFIG"; then
46628 if test -n "$CAIRO_CFLAGS"; then
46629 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46630 else
46631 if test -n "$PKG_CONFIG" && \
46632 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46633 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46634 ac_status=$?
46635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46636 (exit $ac_status); }; then
46637 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46638 else
46639 pkg_failed=yes
46640 fi
46641 fi
46642 else
46643 pkg_failed=untried
46644 fi
46645 if test -n "$PKG_CONFIG"; then
46646 if test -n "$CAIRO_LIBS"; then
46647 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46648 else
46649 if test -n "$PKG_CONFIG" && \
46650 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46651 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46652 ac_status=$?
46653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46654 (exit $ac_status); }; then
46655 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46656 else
46657 pkg_failed=yes
46658 fi
46659 fi
46660 else
46661 pkg_failed=untried
46662 fi
46663
46664
46665
46666 if test $pkg_failed = yes; then
46667
46668 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46669 _pkg_short_errors_supported=yes
46670 else
46671 _pkg_short_errors_supported=no
46672 fi
46673 if test $_pkg_short_errors_supported = yes; then
46674 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46675 else
46676 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46677 fi
46678 # Put the nasty error message in config.log where it belongs
46679 echo "$CAIRO_PKG_ERRORS" >&5
46680
46681 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46682 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46683
46684 elif test $pkg_failed = untried; then
46685 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46686 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46687
46688 else
46689 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46690 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46691 { echo "$as_me:$LINENO: result: yes" >&5
46692 echo "${ECHO_T}yes" >&6; }
46693 cat >>confdefs.h <<\_ACEOF
46694 #define wxUSE_GRAPHICS_CONTEXT 1
46695 _ACEOF
46696
46697 fi
46698 fi
46699 fi
46700
46701
46702 USE_MEDIA=0
46703
46704 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
46705 USE_MEDIA=1
46706
46707 if test "$wxUSE_GTK" = 1; then
46708 wxUSE_GSTREAMER="no"
46709
46710 GST_VERSION_MAJOR=0
46711 GST_VERSION_MINOR=10
46712 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46713
46714 if test "$wxUSE_GSTREAMER8" = "no"; then
46715
46716 pkg_failed=no
46717 { echo "$as_me:$LINENO: checking for GST" >&5
46718 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46719
46720 if test -n "$PKG_CONFIG"; then
46721 if test -n "$GST_CFLAGS"; then
46722 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46723 else
46724 if test -n "$PKG_CONFIG" && \
46725 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46726 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46727 ac_status=$?
46728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46729 (exit $ac_status); }; then
46730 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46731 else
46732 pkg_failed=yes
46733 fi
46734 fi
46735 else
46736 pkg_failed=untried
46737 fi
46738 if test -n "$PKG_CONFIG"; then
46739 if test -n "$GST_LIBS"; then
46740 pkg_cv_GST_LIBS="$GST_LIBS"
46741 else
46742 if test -n "$PKG_CONFIG" && \
46743 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46744 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46745 ac_status=$?
46746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46747 (exit $ac_status); }; then
46748 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46749 else
46750 pkg_failed=yes
46751 fi
46752 fi
46753 else
46754 pkg_failed=untried
46755 fi
46756
46757
46758
46759 if test $pkg_failed = yes; then
46760
46761 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46762 _pkg_short_errors_supported=yes
46763 else
46764 _pkg_short_errors_supported=no
46765 fi
46766 if test $_pkg_short_errors_supported = yes; then
46767 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46768 else
46769 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46770 fi
46771 # Put the nasty error message in config.log where it belongs
46772 echo "$GST_PKG_ERRORS" >&5
46773
46774
46775 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46776 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46777 GST_VERSION_MINOR=8
46778
46779
46780 elif test $pkg_failed = untried; then
46781
46782 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46783 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46784 GST_VERSION_MINOR=8
46785
46786
46787 else
46788 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46789 GST_LIBS=$pkg_cv_GST_LIBS
46790 { echo "$as_me:$LINENO: result: yes" >&5
46791 echo "${ECHO_T}yes" >&6; }
46792
46793 wxUSE_GSTREAMER="yes"
46794 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46795
46796 fi
46797 else
46798 GST_VERSION_MINOR=8
46799 fi
46800
46801 if test $GST_VERSION_MINOR = "8"; then
46802 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46803
46804 pkg_failed=no
46805 { echo "$as_me:$LINENO: checking for GST" >&5
46806 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46807
46808 if test -n "$PKG_CONFIG"; then
46809 if test -n "$GST_CFLAGS"; then
46810 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46811 else
46812 if test -n "$PKG_CONFIG" && \
46813 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46814 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46815 ac_status=$?
46816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46817 (exit $ac_status); }; then
46818 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46819 else
46820 pkg_failed=yes
46821 fi
46822 fi
46823 else
46824 pkg_failed=untried
46825 fi
46826 if test -n "$PKG_CONFIG"; then
46827 if test -n "$GST_LIBS"; then
46828 pkg_cv_GST_LIBS="$GST_LIBS"
46829 else
46830 if test -n "$PKG_CONFIG" && \
46831 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46832 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46833 ac_status=$?
46834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46835 (exit $ac_status); }; then
46836 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46837 else
46838 pkg_failed=yes
46839 fi
46840 fi
46841 else
46842 pkg_failed=untried
46843 fi
46844
46845
46846
46847 if test $pkg_failed = yes; then
46848
46849 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46850 _pkg_short_errors_supported=yes
46851 else
46852 _pkg_short_errors_supported=no
46853 fi
46854 if test $_pkg_short_errors_supported = yes; then
46855 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46856 else
46857 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46858 fi
46859 # Put the nasty error message in config.log where it belongs
46860 echo "$GST_PKG_ERRORS" >&5
46861
46862
46863 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46864 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46865
46866 elif test $pkg_failed = untried; then
46867
46868 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46869 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46870
46871 else
46872 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46873 GST_LIBS=$pkg_cv_GST_LIBS
46874 { echo "$as_me:$LINENO: result: yes" >&5
46875 echo "${ECHO_T}yes" >&6; }
46876 wxUSE_GSTREAMER="yes"
46877 fi
46878 fi
46879
46880
46881 if test "$wxUSE_GSTREAMER" = "yes"; then
46882 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46883 EXTRALIBS_MEDIA="$GST_LIBS"
46884
46885 cat >>confdefs.h <<\_ACEOF
46886 #define wxUSE_GSTREAMER 1
46887 _ACEOF
46888
46889 else
46890 USE_MEDIA=0
46891 fi
46892 fi
46893
46894 if test $USE_MEDIA = 1; then
46895 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46896 cat >>confdefs.h <<\_ACEOF
46897 #define wxUSE_MEDIACTRL 1
46898 _ACEOF
46899
46900 else
46901 if test "$wxUSE_MEDIACTRL" = "yes"; then
46902 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
46903 echo "$as_me: error: GStreamer not available" >&2;}
46904 { (exit 1); exit 1; }; }
46905 else
46906 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
46907 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
46908 fi
46909 fi
46910 fi
46911
46912
46913 if test "$cross_compiling" != "no"; then
46914 OSINFO="\"$host\""
46915 else
46916 OSINFO=`uname -s -r -m`
46917 OSINFO="\"$OSINFO\""
46918 fi
46919
46920 cat >>confdefs.h <<_ACEOF
46921 #define WXWIN_OS_DESCRIPTION $OSINFO
46922 _ACEOF
46923
46924
46925
46926 if test "x$prefix" != "xNONE"; then
46927 wxPREFIX=$prefix
46928 else
46929 wxPREFIX=$ac_default_prefix
46930 fi
46931
46932 cat >>confdefs.h <<_ACEOF
46933 #define wxINSTALL_PREFIX "$wxPREFIX"
46934 _ACEOF
46935
46936
46937
46938
46939 STD_BASE_LIBS="base"
46940 STD_GUI_LIBS=""
46941 BUILT_WX_LIBS="base"
46942 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46943
46944 if test "$wxUSE_SOCKETS" = "yes" ; then
46945 STD_BASE_LIBS="net $STD_BASE_LIBS"
46946 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46947 fi
46948 if test "$wxUSE_XML" = "yes" ; then
46949 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46950 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46951 fi
46952
46953 if test "$wxUSE_GUI" = "yes"; then
46954 STD_GUI_LIBS="adv core"
46955 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46956
46957 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46958 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46959 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46960 fi
46961 if test "$wxUSE_HTML" = "yes" ; then
46962 STD_GUI_LIBS="html $STD_GUI_LIBS"
46963 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46964 fi
46965 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46966 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46967 fi
46968 if test "$wxUSE_OPENGL" = "yes" ; then
46969 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46970 fi
46971 if test "$wxUSE_AUI" = "yes" ; then
46972 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46973 fi
46974 if test "$wxUSE_PROPGRID" = "yes" ; then
46975 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
46976 fi
46977 if test "$wxUSE_RICHTEXT" = "yes" ; then
46978 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
46979 fi
46980 if test "$wxUSE_STC" = "yes" ; then
46981 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46982 fi
46983 if test "$wxUSE_XRC" = "yes" ; then
46984 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46985 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46986 fi
46987 fi
46988
46989
46990
46991
46992
46993
46994
46995
46996 if test "$wxUSE_MAC" = 1 ; then
46997 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46998 if test "$USE_DARWIN" = 1; then
46999 LDFLAGS="$LDFLAGS -framework QuickTime"
47000 fi
47001 fi
47002 if test "$USE_DARWIN" = 1; then
47003 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
47004 fi
47005 fi
47006 if test "$wxUSE_COCOA" = 1 ; then
47007 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47008 if test "$wxUSE_MEDIACTRL" = "yes"; then
47009 LDFLAGS="$LDFLAGS -framework QuickTime"
47010 fi
47011 fi
47012 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47013 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47014 fi
47015
47016 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47017
47018 if test "$wxUSE_GUI" = "yes"; then
47019
47020
47021 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47022 erase event exec font image minimal render \
47023 shaped svg taborder vscroll widgets wrapsizer"
47024
47025 if test "$wxUSE_MONOLITHIC" != "yes"; then
47026 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47027 fi
47028 if test "$TOOLKIT" = "MSW"; then
47029 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47030 if test "$wxUSE_UNIVERSAL" != "yes"; then
47031 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47032 fi
47033 fi
47034 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47035 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47036 fi
47037 else
47038 SAMPLES_SUBDIRS="console"
47039 if test "$wxUSE_SOCKETS" = "yes" ; then
47040 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47041 fi
47042 if test "$wxUSE_IPC" = "yes" ; then
47043 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47044 fi
47045 fi
47046
47047
47048 if test "x$INTELCC" = "xyes" ; then
47049 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47050 elif test "$GCC" = yes ; then
47051 CWARNINGS="-Wall -Wundef"
47052 fi
47053
47054 if test "x$INTELCXX" = "xyes" ; then
47055 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47056 elif test "$GXX" = yes ; then
47057 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47058 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47059 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47060 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47061 echo $ECHO_N "(cached) $ECHO_C" >&6
47062 else
47063 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47064
47065 ac_ext=cpp
47066 ac_cpp='$CXXCPP $CPPFLAGS'
47067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47070
47071 ac_save_CXXFLAGS="$CXXFLAGS"
47072 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47073 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47074 cat >conftest.$ac_ext <<_ACEOF
47075 /* confdefs.h. */
47076 _ACEOF
47077 cat confdefs.h >>conftest.$ac_ext
47078 cat >>conftest.$ac_ext <<_ACEOF
47079 /* end confdefs.h. */
47080
47081 int
47082 main ()
47083 {
47084 return 0;
47085 ;
47086 return 0;
47087 }
47088 _ACEOF
47089 rm -f conftest.$ac_objext
47090 if { (ac_try="$ac_compile"
47091 case "(($ac_try" in
47092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47093 *) ac_try_echo=$ac_try;;
47094 esac
47095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47096 (eval "$ac_compile") 2>conftest.er1
47097 ac_status=$?
47098 grep -v '^ *+' conftest.er1 >conftest.err
47099 rm -f conftest.er1
47100 cat conftest.err >&5
47101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47102 (exit $ac_status); } && {
47103 test -z "$ac_cxx_werror_flag" ||
47104 test ! -s conftest.err
47105 } && test -s conftest.$ac_objext; then
47106 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47107 else
47108 echo "$as_me: failed program was:" >&5
47109 sed 's/^/| /' conftest.$ac_ext >&5
47110
47111
47112 fi
47113
47114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47115 done
47116 CXXFLAGS="$ac_save_CXXFLAGS"
47117 ac_ext=c
47118 ac_cpp='$CPP $CPPFLAGS'
47119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47122
47123
47124 fi
47125 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47126 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47127 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47128 .ok|.ok,*) ;;
47129 .|.no|.no,*) ;;
47130 *)
47131 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
47132 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47133 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47134 ac_status=$?
47135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47136 (exit $ac_status); }
47137 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47138 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47139 ac_status=$?
47140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47141 (exit $ac_status); }
47142 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47143 fi
47144 ;;
47145 esac
47146
47147 fi
47148
47149
47150 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47151 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47152
47153
47154 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47155 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47156 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47157 $CPPFLAGS `
47158
47159 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47160 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47161 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47162 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47163 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47164
47165 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47166
47167
47168 if test "x$MWCC" = "xyes"; then
47169
47170 CC="$CC -cwd source -I-"
47171 CXX="$CXX -cwd source -I-"
47172 fi
47173
47174
47175 LIBS=`echo $LIBS`
47176 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47177 EXTRALIBS_XML="$EXPAT_LINK"
47178 EXTRALIBS_HTML="$MSPACK_LINK"
47179 EXTRALIBS_MEDIA="$GST_LIBS"
47180 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47181 if test "$wxUSE_GUI" = "yes"; then
47182 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47183 fi
47184 if test "$wxUSE_OPENGL" = "yes"; then
47185 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47186 fi
47187
47188 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47189
47190 WXCONFIG_LIBS="$LIBS"
47191
47192 if test "$wxUSE_REGEX" = "builtin" ; then
47193 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47194 fi
47195 if test "$wxUSE_EXPAT" = "builtin" ; then
47196 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47197 fi
47198 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47199 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47200 fi
47201 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47202 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47203 fi
47204 if test "$wxUSE_LIBPNG" = "builtin" ; then
47205 wxconfig_3rdparty="png $wxconfig_3rdparty"
47206 fi
47207 if test "$wxUSE_ZLIB" = "builtin" ; then
47208 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47209 fi
47210
47211 for i in $wxconfig_3rdparty ; do
47212 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47213 done
47214
47215
47216 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47217 WXUNIV=1
47218
47219 case "$wxUNIV_THEMES" in
47220 ''|all)
47221 cat >>confdefs.h <<\_ACEOF
47222 #define wxUSE_ALL_THEMES 1
47223 _ACEOF
47224
47225 ;;
47226
47227 *)
47228 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47229 cat >>confdefs.h <<_ACEOF
47230 #define wxUSE_THEME_$t 1
47231 _ACEOF
47232
47233 done
47234 esac
47235 else
47236 WXUNIV=0
47237 fi
47238
47239
47240
47241
47242
47243
47244
47245
47246 if test $wxUSE_MONOLITHIC = "yes" ; then
47247 MONOLITHIC=1
47248 else
47249 MONOLITHIC=0
47250 fi
47251
47252 if test $wxUSE_PLUGINS = "yes" ; then
47253 USE_PLUGINS=1
47254 else
47255 USE_PLUGINS=0
47256 fi
47257
47258 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47259 USE_QA=1
47260 else
47261 USE_QA=0
47262 fi
47263
47264 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47265 OFFICIAL_BUILD=1
47266 else
47267 OFFICIAL_BUILD=0
47268 fi
47269
47270
47271
47272
47273
47274
47275
47276
47277
47278
47279
47280
47281
47282
47283
47284
47285
47286
47287
47288
47289
47290
47291
47292
47293
47294
47295
47296
47297 TOOLKIT_LOWERCASE=xxx
47298 if test "$TOOLKIT" = "MAC"; then
47299 TOOLKIT_LOWERCASE=osx_carbon
47300 fi
47301 if test "$TOOLKIT" = "OSX_CARBON"; then
47302 TOOLKIT_LOWERCASE=osx_carbon
47303 fi
47304 if test "$TOOLKIT" = "OSX_COCOA"; then
47305 TOOLKIT_LOWERCASE=osx_cocoa
47306 fi
47307 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47308 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47309 fi
47310
47311
47312
47313
47314
47315
47316
47317
47318
47319
47320 case "$TOOLKIT" in
47321 GTK)
47322 TOOLKIT_DESC="GTK+"
47323 if test "$WXGTK2" = 1; then
47324 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47325 if test "$wxUSE_GTKPRINT" = "yes" ; then
47326 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
47327 fi
47328 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47329 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47330 fi
47331 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47332 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47333 fi
47334 if test "$wxUSE_LIBHILDON" = "yes"; then
47335 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47336 fi
47337
47338 if test "$TOOLKIT_EXTRA" != ""; then
47339 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47340 fi
47341 fi
47342 ;;
47343
47344 ?*)
47345 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47346 ;;
47347
47348 *)
47349 TOOLKIT_DESC="base only"
47350 ;;
47351 esac
47352
47353 if test "$wxUSE_WINE" = "yes"; then
47354 BAKEFILE_FORCE_PLATFORM=win32
47355 fi
47356
47357 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47358 then
47359 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47360 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47361 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47362 echo $ECHO_N "(cached) $ECHO_C" >&6
47363 else
47364
47365 echo '#include <stdio.h>
47366 const wchar_t test_var[] = L"awidetest";' > conftest.h
47367
47368 echo '#include "conftest.h"
47369 int main()
47370 {
47371 printf("%ls", test_var);
47372 return 0;
47373 }' > conftest.cpp
47374
47375 wx_cv_gcc_pch_bug="pch not supported"
47376
47377 if $CXX conftest.h >/dev/null 2>&1
47378 then
47379 wx_cv_gcc_pch_bug=
47380
47381 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47382 then
47383 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47384 grep awidetest >/dev/null
47385 then
47386 wx_cv_gcc_pch_bug=no
47387 else
47388 wx_cv_gcc_pch_bug=yes
47389 fi
47390 fi
47391 fi
47392
47393 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47394
47395 fi
47396 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47397 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47398
47399 if test "$wx_cv_gcc_pch_bug" = yes; then
47400 bk_use_pch=no
47401 fi
47402 fi
47403
47404
47405
47406
47407
47408
47409
47410 if test "x$BAKEFILE_HOST" = "x"; then
47411 if test "x${host}" = "x" ; then
47412 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47413 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47414 { (exit 1); exit 1; }; }
47415 fi
47416
47417 BAKEFILE_HOST="${host}"
47418 fi
47419
47420 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47421
47422 if test -n "$ac_tool_prefix"; then
47423 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47424 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47425 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47427 if test "${ac_cv_prog_RANLIB+set}" = set; then
47428 echo $ECHO_N "(cached) $ECHO_C" >&6
47429 else
47430 if test -n "$RANLIB"; then
47431 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47432 else
47433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47434 for as_dir in $PATH
47435 do
47436 IFS=$as_save_IFS
47437 test -z "$as_dir" && as_dir=.
47438 for ac_exec_ext in '' $ac_executable_extensions; do
47439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47440 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47442 break 2
47443 fi
47444 done
47445 done
47446 IFS=$as_save_IFS
47447
47448 fi
47449 fi
47450 RANLIB=$ac_cv_prog_RANLIB
47451 if test -n "$RANLIB"; then
47452 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47453 echo "${ECHO_T}$RANLIB" >&6; }
47454 else
47455 { echo "$as_me:$LINENO: result: no" >&5
47456 echo "${ECHO_T}no" >&6; }
47457 fi
47458
47459
47460 fi
47461 if test -z "$ac_cv_prog_RANLIB"; then
47462 ac_ct_RANLIB=$RANLIB
47463 # Extract the first word of "ranlib", so it can be a program name with args.
47464 set dummy ranlib; ac_word=$2
47465 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47467 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47468 echo $ECHO_N "(cached) $ECHO_C" >&6
47469 else
47470 if test -n "$ac_ct_RANLIB"; then
47471 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47472 else
47473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47474 for as_dir in $PATH
47475 do
47476 IFS=$as_save_IFS
47477 test -z "$as_dir" && as_dir=.
47478 for ac_exec_ext in '' $ac_executable_extensions; do
47479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47480 ac_cv_prog_ac_ct_RANLIB="ranlib"
47481 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47482 break 2
47483 fi
47484 done
47485 done
47486 IFS=$as_save_IFS
47487
47488 fi
47489 fi
47490 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47491 if test -n "$ac_ct_RANLIB"; then
47492 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47493 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47494 else
47495 { echo "$as_me:$LINENO: result: no" >&5
47496 echo "${ECHO_T}no" >&6; }
47497 fi
47498
47499 if test "x$ac_ct_RANLIB" = x; then
47500 RANLIB=":"
47501 else
47502 case $cross_compiling:$ac_tool_warned in
47503 yes:)
47504 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47505 whose name does not start with the host triplet. If you think this
47506 configuration is useful to you, please write to autoconf@gnu.org." >&5
47507 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47508 whose name does not start with the host triplet. If you think this
47509 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47510 ac_tool_warned=yes ;;
47511 esac
47512 RANLIB=$ac_ct_RANLIB
47513 fi
47514 else
47515 RANLIB="$ac_cv_prog_RANLIB"
47516 fi
47517
47518 # Find a good install program. We prefer a C program (faster),
47519 # so one script is as good as another. But avoid the broken or
47520 # incompatible versions:
47521 # SysV /etc/install, /usr/sbin/install
47522 # SunOS /usr/etc/install
47523 # IRIX /sbin/install
47524 # AIX /bin/install
47525 # AmigaOS /C/install, which installs bootblocks on floppy discs
47526 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47527 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47528 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47529 # OS/2's system install, which has a completely different semantic
47530 # ./install, which can be erroneously created by make from ./install.sh.
47531 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47532 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47533 if test -z "$INSTALL"; then
47534 if test "${ac_cv_path_install+set}" = set; then
47535 echo $ECHO_N "(cached) $ECHO_C" >&6
47536 else
47537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47538 for as_dir in $PATH
47539 do
47540 IFS=$as_save_IFS
47541 test -z "$as_dir" && as_dir=.
47542 # Account for people who put trailing slashes in PATH elements.
47543 case $as_dir/ in
47544 ./ | .// | /cC/* | \
47545 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47546 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47547 /usr/ucb/* ) ;;
47548 *)
47549 # OSF1 and SCO ODT 3.0 have their own names for install.
47550 # Don't use installbsd from OSF since it installs stuff as root
47551 # by default.
47552 for ac_prog in ginstall scoinst install; do
47553 for ac_exec_ext in '' $ac_executable_extensions; do
47554 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47555 if test $ac_prog = install &&
47556 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47557 # AIX install. It has an incompatible calling convention.
47558 :
47559 elif test $ac_prog = install &&
47560 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47561 # program-specific install script used by HP pwplus--don't use.
47562 :
47563 else
47564 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47565 break 3
47566 fi
47567 fi
47568 done
47569 done
47570 ;;
47571 esac
47572 done
47573 IFS=$as_save_IFS
47574
47575
47576 fi
47577 if test "${ac_cv_path_install+set}" = set; then
47578 INSTALL=$ac_cv_path_install
47579 else
47580 # As a last resort, use the slow shell script. Don't cache a
47581 # value for INSTALL within a source directory, because that will
47582 # break other packages using the cache if that directory is
47583 # removed, or if the value is a relative name.
47584 INSTALL=$ac_install_sh
47585 fi
47586 fi
47587 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47588 echo "${ECHO_T}$INSTALL" >&6; }
47589
47590 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47591 # It thinks the first close brace ends the variable substitution.
47592 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47593
47594 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47595
47596 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47597
47598 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47599 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47600 LN_S=$as_ln_s
47601 if test "$LN_S" = "ln -s"; then
47602 { echo "$as_me:$LINENO: result: yes" >&5
47603 echo "${ECHO_T}yes" >&6; }
47604 else
47605 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47606 echo "${ECHO_T}no, using $LN_S" >&6; }
47607 fi
47608
47609
47610 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47611 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47612 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47613 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
47614 echo $ECHO_N "(cached) $ECHO_C" >&6
47615 else
47616 cat >conftest.make <<\_ACEOF
47617 SHELL = /bin/sh
47618 all:
47619 @echo '@@@%%%=$(MAKE)=@@@%%%'
47620 _ACEOF
47621 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47622 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47623 *@@@%%%=?*=@@@%%%*)
47624 eval ac_cv_prog_make_${ac_make}_set=yes;;
47625 *)
47626 eval ac_cv_prog_make_${ac_make}_set=no;;
47627 esac
47628 rm -f conftest.make
47629 fi
47630 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
47631 { echo "$as_me:$LINENO: result: yes" >&5
47632 echo "${ECHO_T}yes" >&6; }
47633 SET_MAKE=
47634 else
47635 { echo "$as_me:$LINENO: result: no" >&5
47636 echo "${ECHO_T}no" >&6; }
47637 SET_MAKE="MAKE=${MAKE-make}"
47638 fi
47639
47640
47641
47642 if test "x$SUNCXX" = "xyes"; then
47643 AR=$CXX
47644 AROPTIONS="-xar -o"
47645
47646 elif test "x$SGICC" = "xyes"; then
47647 AR=$CXX
47648 AROPTIONS="-ar -o"
47649
47650 else
47651 if test -n "$ac_tool_prefix"; then
47652 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47653 set dummy ${ac_tool_prefix}ar; ac_word=$2
47654 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47656 if test "${ac_cv_prog_AR+set}" = set; then
47657 echo $ECHO_N "(cached) $ECHO_C" >&6
47658 else
47659 if test -n "$AR"; then
47660 ac_cv_prog_AR="$AR" # Let the user override the test.
47661 else
47662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47663 for as_dir in $PATH
47664 do
47665 IFS=$as_save_IFS
47666 test -z "$as_dir" && as_dir=.
47667 for ac_exec_ext in '' $ac_executable_extensions; do
47668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47669 ac_cv_prog_AR="${ac_tool_prefix}ar"
47670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47671 break 2
47672 fi
47673 done
47674 done
47675 IFS=$as_save_IFS
47676
47677 fi
47678 fi
47679 AR=$ac_cv_prog_AR
47680 if test -n "$AR"; then
47681 { echo "$as_me:$LINENO: result: $AR" >&5
47682 echo "${ECHO_T}$AR" >&6; }
47683 else
47684 { echo "$as_me:$LINENO: result: no" >&5
47685 echo "${ECHO_T}no" >&6; }
47686 fi
47687
47688
47689 fi
47690 if test -z "$ac_cv_prog_AR"; then
47691 ac_ct_AR=$AR
47692 # Extract the first word of "ar", so it can be a program name with args.
47693 set dummy ar; ac_word=$2
47694 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47696 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47697 echo $ECHO_N "(cached) $ECHO_C" >&6
47698 else
47699 if test -n "$ac_ct_AR"; then
47700 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47701 else
47702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47703 for as_dir in $PATH
47704 do
47705 IFS=$as_save_IFS
47706 test -z "$as_dir" && as_dir=.
47707 for ac_exec_ext in '' $ac_executable_extensions; do
47708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47709 ac_cv_prog_ac_ct_AR="ar"
47710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47711 break 2
47712 fi
47713 done
47714 done
47715 IFS=$as_save_IFS
47716
47717 fi
47718 fi
47719 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47720 if test -n "$ac_ct_AR"; then
47721 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47722 echo "${ECHO_T}$ac_ct_AR" >&6; }
47723 else
47724 { echo "$as_me:$LINENO: result: no" >&5
47725 echo "${ECHO_T}no" >&6; }
47726 fi
47727
47728 if test "x$ac_ct_AR" = x; then
47729 AR="ar"
47730 else
47731 case $cross_compiling:$ac_tool_warned in
47732 yes:)
47733 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47734 whose name does not start with the host triplet. If you think this
47735 configuration is useful to you, please write to autoconf@gnu.org." >&5
47736 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47737 whose name does not start with the host triplet. If you think this
47738 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47739 ac_tool_warned=yes ;;
47740 esac
47741 AR=$ac_ct_AR
47742 fi
47743 else
47744 AR="$ac_cv_prog_AR"
47745 fi
47746
47747 AROPTIONS=rcu
47748 fi
47749
47750
47751 if test -n "$ac_tool_prefix"; then
47752 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47753 set dummy ${ac_tool_prefix}strip; ac_word=$2
47754 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47756 if test "${ac_cv_prog_STRIP+set}" = set; then
47757 echo $ECHO_N "(cached) $ECHO_C" >&6
47758 else
47759 if test -n "$STRIP"; then
47760 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47761 else
47762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47763 for as_dir in $PATH
47764 do
47765 IFS=$as_save_IFS
47766 test -z "$as_dir" && as_dir=.
47767 for ac_exec_ext in '' $ac_executable_extensions; do
47768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47769 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47771 break 2
47772 fi
47773 done
47774 done
47775 IFS=$as_save_IFS
47776
47777 fi
47778 fi
47779 STRIP=$ac_cv_prog_STRIP
47780 if test -n "$STRIP"; then
47781 { echo "$as_me:$LINENO: result: $STRIP" >&5
47782 echo "${ECHO_T}$STRIP" >&6; }
47783 else
47784 { echo "$as_me:$LINENO: result: no" >&5
47785 echo "${ECHO_T}no" >&6; }
47786 fi
47787
47788
47789 fi
47790 if test -z "$ac_cv_prog_STRIP"; then
47791 ac_ct_STRIP=$STRIP
47792 # Extract the first word of "strip", so it can be a program name with args.
47793 set dummy strip; ac_word=$2
47794 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47796 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47797 echo $ECHO_N "(cached) $ECHO_C" >&6
47798 else
47799 if test -n "$ac_ct_STRIP"; then
47800 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47801 else
47802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47803 for as_dir in $PATH
47804 do
47805 IFS=$as_save_IFS
47806 test -z "$as_dir" && as_dir=.
47807 for ac_exec_ext in '' $ac_executable_extensions; do
47808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47809 ac_cv_prog_ac_ct_STRIP="strip"
47810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47811 break 2
47812 fi
47813 done
47814 done
47815 IFS=$as_save_IFS
47816
47817 fi
47818 fi
47819 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47820 if test -n "$ac_ct_STRIP"; then
47821 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47822 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47823 else
47824 { echo "$as_me:$LINENO: result: no" >&5
47825 echo "${ECHO_T}no" >&6; }
47826 fi
47827
47828 if test "x$ac_ct_STRIP" = x; then
47829 STRIP=":"
47830 else
47831 case $cross_compiling:$ac_tool_warned in
47832 yes:)
47833 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47834 whose name does not start with the host triplet. If you think this
47835 configuration is useful to you, please write to autoconf@gnu.org." >&5
47836 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47837 whose name does not start with the host triplet. If you think this
47838 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47839 ac_tool_warned=yes ;;
47840 esac
47841 STRIP=$ac_ct_STRIP
47842 fi
47843 else
47844 STRIP="$ac_cv_prog_STRIP"
47845 fi
47846
47847 if test -n "$ac_tool_prefix"; then
47848 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47849 set dummy ${ac_tool_prefix}nm; ac_word=$2
47850 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47852 if test "${ac_cv_prog_NM+set}" = set; then
47853 echo $ECHO_N "(cached) $ECHO_C" >&6
47854 else
47855 if test -n "$NM"; then
47856 ac_cv_prog_NM="$NM" # Let the user override the test.
47857 else
47858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47859 for as_dir in $PATH
47860 do
47861 IFS=$as_save_IFS
47862 test -z "$as_dir" && as_dir=.
47863 for ac_exec_ext in '' $ac_executable_extensions; do
47864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47865 ac_cv_prog_NM="${ac_tool_prefix}nm"
47866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47867 break 2
47868 fi
47869 done
47870 done
47871 IFS=$as_save_IFS
47872
47873 fi
47874 fi
47875 NM=$ac_cv_prog_NM
47876 if test -n "$NM"; then
47877 { echo "$as_me:$LINENO: result: $NM" >&5
47878 echo "${ECHO_T}$NM" >&6; }
47879 else
47880 { echo "$as_me:$LINENO: result: no" >&5
47881 echo "${ECHO_T}no" >&6; }
47882 fi
47883
47884
47885 fi
47886 if test -z "$ac_cv_prog_NM"; then
47887 ac_ct_NM=$NM
47888 # Extract the first word of "nm", so it can be a program name with args.
47889 set dummy nm; ac_word=$2
47890 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47892 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47893 echo $ECHO_N "(cached) $ECHO_C" >&6
47894 else
47895 if test -n "$ac_ct_NM"; then
47896 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47897 else
47898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47899 for as_dir in $PATH
47900 do
47901 IFS=$as_save_IFS
47902 test -z "$as_dir" && as_dir=.
47903 for ac_exec_ext in '' $ac_executable_extensions; do
47904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47905 ac_cv_prog_ac_ct_NM="nm"
47906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47907 break 2
47908 fi
47909 done
47910 done
47911 IFS=$as_save_IFS
47912
47913 fi
47914 fi
47915 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47916 if test -n "$ac_ct_NM"; then
47917 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47918 echo "${ECHO_T}$ac_ct_NM" >&6; }
47919 else
47920 { echo "$as_me:$LINENO: result: no" >&5
47921 echo "${ECHO_T}no" >&6; }
47922 fi
47923
47924 if test "x$ac_ct_NM" = x; then
47925 NM=":"
47926 else
47927 case $cross_compiling:$ac_tool_warned in
47928 yes:)
47929 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47930 whose name does not start with the host triplet. If you think this
47931 configuration is useful to you, please write to autoconf@gnu.org." >&5
47932 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47933 whose name does not start with the host triplet. If you think this
47934 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47935 ac_tool_warned=yes ;;
47936 esac
47937 NM=$ac_ct_NM
47938 fi
47939 else
47940 NM="$ac_cv_prog_NM"
47941 fi
47942
47943
47944 { echo "$as_me:$LINENO: checking for command to install directories" >&5
47945 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
47946 INSTALL_TEST_DIR=acbftest$$
47947 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
47948 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
47949 rmdir $INSTALL_TEST_DIR
47950 INSTALL_DIR='$(INSTALL) -d'
47951 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
47952 echo "${ECHO_T}$INSTALL -d" >&6; }
47953 else
47954 INSTALL_DIR="mkdir -p"
47955 { echo "$as_me:$LINENO: result: mkdir -p" >&5
47956 echo "${ECHO_T}mkdir -p" >&6; }
47957 fi
47958
47959
47960 LDFLAGS_GUI=
47961 case ${BAKEFILE_HOST} in
47962 *-*-cygwin* | *-*-mingw32* )
47963 LDFLAGS_GUI="-mwindows"
47964 esac
47965
47966
47967 fi
47968
47969 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47970 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47971 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47972 echo $ECHO_N "(cached) $ECHO_C" >&6
47973 else
47974
47975 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47976 egrep -s GNU > /dev/null); then
47977 bakefile_cv_prog_makeisgnu="yes"
47978 else
47979 bakefile_cv_prog_makeisgnu="no"
47980 fi
47981
47982 fi
47983 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47984 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47985
47986 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47987 IF_GNU_MAKE=""
47988 else
47989 IF_GNU_MAKE="#"
47990 fi
47991
47992
47993
47994 PLATFORM_UNIX=0
47995 PLATFORM_WIN32=0
47996 PLATFORM_MSDOS=0
47997 PLATFORM_MAC=0
47998 PLATFORM_MACOS=0
47999 PLATFORM_MACOSX=0
48000 PLATFORM_OS2=0
48001 PLATFORM_BEOS=0
48002
48003 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48004 case "${BAKEFILE_HOST}" in
48005 *-*-mingw32* )
48006 PLATFORM_WIN32=1
48007 ;;
48008 *-pc-msdosdjgpp )
48009 PLATFORM_MSDOS=1
48010 ;;
48011 *-pc-os2_emx | *-pc-os2-emx )
48012 PLATFORM_OS2=1
48013 ;;
48014 *-*-darwin* )
48015 PLATFORM_MAC=1
48016 PLATFORM_MACOSX=1
48017 ;;
48018 *-*-beos* )
48019 PLATFORM_BEOS=1
48020 ;;
48021 powerpc-apple-macos* )
48022 PLATFORM_MAC=1
48023 PLATFORM_MACOS=1
48024 ;;
48025 * )
48026 PLATFORM_UNIX=1
48027 ;;
48028 esac
48029 else
48030 case "$BAKEFILE_FORCE_PLATFORM" in
48031 win32 )
48032 PLATFORM_WIN32=1
48033 ;;
48034 msdos )
48035 PLATFORM_MSDOS=1
48036 ;;
48037 os2 )
48038 PLATFORM_OS2=1
48039 ;;
48040 darwin )
48041 PLATFORM_MAC=1
48042 PLATFORM_MACOSX=1
48043 ;;
48044 unix )
48045 PLATFORM_UNIX=1
48046 ;;
48047 beos )
48048 PLATFORM_BEOS=1
48049 ;;
48050 * )
48051 ;;
48052 esac
48053 fi
48054
48055
48056
48057
48058
48059
48060
48061
48062
48063
48064
48065 # Check whether --enable-omf was given.
48066 if test "${enable_omf+set}" = set; then
48067 enableval=$enable_omf; bk_os2_use_omf="$enableval"
48068 fi
48069
48070
48071 case "${BAKEFILE_HOST}" in
48072 *-*-darwin* )
48073 if test "x$GCC" = "xyes"; then
48074 CFLAGS="$CFLAGS -fno-common"
48075 CXXFLAGS="$CXXFLAGS -fno-common"
48076 fi
48077 if test "x$XLCC" = "xyes"; then
48078 CFLAGS="$CFLAGS -qnocommon"
48079 CXXFLAGS="$CXXFLAGS -qnocommon"
48080 fi
48081 ;;
48082
48083 *-pc-os2_emx | *-pc-os2-emx )
48084 if test "x$bk_os2_use_omf" = "xyes" ; then
48085 AR=emxomfar
48086 RANLIB=:
48087 LDFLAGS="-Zomf $LDFLAGS"
48088 CFLAGS="-Zomf $CFLAGS"
48089 CXXFLAGS="-Zomf $CXXFLAGS"
48090 OS2_LIBEXT="lib"
48091 else
48092 OS2_LIBEXT="a"
48093 fi
48094 ;;
48095
48096 i*86-*-beos* )
48097 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48098 ;;
48099 esac
48100
48101
48102 SO_SUFFIX="so"
48103 SO_SUFFIX_MODULE="so"
48104 EXEEXT=""
48105 LIBPREFIX="lib"
48106 LIBEXT=".a"
48107 DLLPREFIX="lib"
48108 DLLPREFIX_MODULE=""
48109 DLLIMP_SUFFIX=""
48110 dlldir="$libdir"
48111
48112 case "${BAKEFILE_HOST}" in
48113 ia64-hp-hpux* )
48114 ;;
48115 *-hp-hpux* )
48116 SO_SUFFIX="sl"
48117 SO_SUFFIX_MODULE="sl"
48118 ;;
48119 *-*-aix* )
48120 SO_SUFFIX="a"
48121 SO_SUFFIX_MODULE="a"
48122 ;;
48123 *-*-cygwin* )
48124 SO_SUFFIX="dll"
48125 SO_SUFFIX_MODULE="dll"
48126 DLLIMP_SUFFIX="dll.a"
48127 EXEEXT=".exe"
48128 DLLPREFIX="cyg"
48129 dlldir="$bindir"
48130 ;;
48131 *-*-mingw32* )
48132 SO_SUFFIX="dll"
48133 SO_SUFFIX_MODULE="dll"
48134 DLLIMP_SUFFIX="dll.a"
48135 EXEEXT=".exe"
48136 DLLPREFIX=""
48137 dlldir="$bindir"
48138 ;;
48139 *-pc-msdosdjgpp )
48140 EXEEXT=".exe"
48141 DLLPREFIX=""
48142 dlldir="$bindir"
48143 ;;
48144 *-pc-os2_emx | *-pc-os2-emx )
48145 SO_SUFFIX="dll"
48146 SO_SUFFIX_MODULE="dll"
48147 DLLIMP_SUFFIX=$OS2_LIBEXT
48148 EXEEXT=".exe"
48149 DLLPREFIX=""
48150 LIBPREFIX=""
48151 LIBEXT=".$OS2_LIBEXT"
48152 dlldir="$bindir"
48153 ;;
48154 *-*-darwin* )
48155 SO_SUFFIX="dylib"
48156 SO_SUFFIX_MODULE="bundle"
48157 ;;
48158 esac
48159
48160 if test "x$DLLIMP_SUFFIX" = "x" ; then
48161 DLLIMP_SUFFIX="$SO_SUFFIX"
48162 fi
48163
48164
48165
48166
48167
48168
48169
48170
48171
48172
48173
48174
48175 PIC_FLAG=""
48176 if test "x$GCC" = "xyes"; then
48177 PIC_FLAG="-fPIC"
48178 fi
48179
48180 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48181 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48182 WINDOWS_IMPLIB=0
48183
48184 case "${BAKEFILE_HOST}" in
48185 *-hp-hpux* )
48186 if test "x$GCC" != "xyes"; then
48187 LDFLAGS="$LDFLAGS -L/usr/lib"
48188
48189 SHARED_LD_CC="${CC} -b -o"
48190 SHARED_LD_CXX="${CXX} -b -o"
48191 PIC_FLAG="+Z"
48192 fi
48193 ;;
48194
48195 *-*-linux* )
48196 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48197 PIC_FLAG="-KPIC"
48198 elif test "x$SUNCXX" = "xyes"; then
48199 SHARED_LD_CC="${CC} -G -o"
48200 SHARED_LD_CXX="${CXX} -G -o"
48201 PIC_FLAG="-KPIC"
48202 fi
48203 ;;
48204
48205 *-*-solaris2* )
48206 if test "x$SUNCXX" = xyes ; then
48207 SHARED_LD_CC="${CC} -G -o"
48208 SHARED_LD_CXX="${CXX} -G -o"
48209 PIC_FLAG="-KPIC"
48210 fi
48211 ;;
48212
48213 *-*-darwin* )
48214
48215 D='$'
48216 cat <<EOF >shared-ld-sh
48217 #!/bin/sh
48218 #-----------------------------------------------------------------------------
48219 #-- Name: distrib/mac/shared-ld-sh
48220 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48221 #-- Author: Gilles Depeyrot
48222 #-- Copyright: (c) 2002 Gilles Depeyrot
48223 #-- Licence: any use permitted
48224 #-----------------------------------------------------------------------------
48225
48226 verbose=0
48227 args=""
48228 objects=""
48229 linking_flag="-dynamiclib"
48230 ldargs="-r -keep_private_externs -nostdlib"
48231
48232 if test "x${D}CXX" = "x"; then
48233 CXX="c++"
48234 fi
48235
48236 while test ${D}# -gt 0; do
48237 case ${D}1 in
48238
48239 -v)
48240 verbose=1
48241 ;;
48242
48243 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48244 # collect these options and values
48245 args="${D}{args} ${D}1 ${D}2"
48246 shift
48247 ;;
48248
48249 -arch|-isysroot)
48250 # collect these options and values
48251 ldargs="${D}{ldargs} ${D}1 ${D}2"
48252 shift
48253 ;;
48254
48255 -s|-Wl,*)
48256 # collect these load args
48257 ldargs="${D}{ldargs} ${D}1"
48258 ;;
48259
48260 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48261 # collect these options
48262 args="${D}{args} ${D}1"
48263 ;;
48264
48265 -dynamiclib|-bundle)
48266 linking_flag="${D}1"
48267 ;;
48268
48269 -*)
48270 echo "shared-ld: unhandled option '${D}1'"
48271 exit 1
48272 ;;
48273
48274 *.o | *.a | *.dylib)
48275 # collect object files
48276 objects="${D}{objects} ${D}1"
48277 ;;
48278
48279 *)
48280 echo "shared-ld: unhandled argument '${D}1'"
48281 exit 1
48282 ;;
48283
48284 esac
48285 shift
48286 done
48287
48288 status=0
48289
48290 #
48291 # Link one module containing all the others
48292 #
48293 if test ${D}{verbose} = 1; then
48294 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48295 fi
48296 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48297 status=${D}?
48298
48299 #
48300 # Link the shared library from the single module created, but only if the
48301 # previous command didn't fail:
48302 #
48303 if test ${D}{status} = 0; then
48304 if test ${D}{verbose} = 1; then
48305 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48306 fi
48307 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48308 status=${D}?
48309 fi
48310
48311 #
48312 # Remove intermediate module
48313 #
48314 rm -f master.${D}${D}.o
48315
48316 exit ${D}status
48317 EOF
48318
48319 chmod +x shared-ld-sh
48320
48321 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48322 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48323
48324
48325 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48326 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48327 if test "${bakefile_cv_gcc31+set}" = set; then
48328 echo $ECHO_N "(cached) $ECHO_C" >&6
48329 else
48330
48331 cat >conftest.$ac_ext <<_ACEOF
48332 /* confdefs.h. */
48333 _ACEOF
48334 cat confdefs.h >>conftest.$ac_ext
48335 cat >>conftest.$ac_ext <<_ACEOF
48336 /* end confdefs.h. */
48337
48338 int
48339 main ()
48340 {
48341
48342 #if (__GNUC__ < 3) || \
48343 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48344 This is old gcc
48345 #endif
48346
48347 ;
48348 return 0;
48349 }
48350 _ACEOF
48351 rm -f conftest.$ac_objext
48352 if { (ac_try="$ac_compile"
48353 case "(($ac_try" in
48354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48355 *) ac_try_echo=$ac_try;;
48356 esac
48357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48358 (eval "$ac_compile") 2>conftest.er1
48359 ac_status=$?
48360 grep -v '^ *+' conftest.er1 >conftest.err
48361 rm -f conftest.er1
48362 cat conftest.err >&5
48363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48364 (exit $ac_status); } && {
48365 test -z "$ac_c_werror_flag" ||
48366 test ! -s conftest.err
48367 } && test -s conftest.$ac_objext; then
48368
48369 bakefile_cv_gcc31=yes
48370
48371 else
48372 echo "$as_me: failed program was:" >&5
48373 sed 's/^/| /' conftest.$ac_ext >&5
48374
48375
48376 bakefile_cv_gcc31=no
48377
48378
48379 fi
48380
48381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48382
48383 fi
48384 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48385 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48386 if test "$bakefile_cv_gcc31" = "no"; then
48387 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48388 SHARED_LD_CXX="$SHARED_LD_CC"
48389 else
48390 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48391 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48392 fi
48393
48394 if test "x$GCC" == "xyes"; then
48395 PIC_FLAG="-dynamic -fPIC"
48396 fi
48397 if test "x$XLCC" = "xyes"; then
48398 PIC_FLAG="-dynamic -DPIC"
48399 fi
48400 ;;
48401
48402 *-*-aix* )
48403 if test "x$GCC" = "xyes"; then
48404 PIC_FLAG=""
48405
48406 case "${BAKEFILE_HOST}" in
48407 *-*-aix5* )
48408 LD_EXPFULL="-Wl,-bexpfull"
48409 ;;
48410 esac
48411
48412 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48413 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48414 else
48415 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48416 set dummy makeC++SharedLib; ac_word=$2
48417 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48419 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48420 echo $ECHO_N "(cached) $ECHO_C" >&6
48421 else
48422 if test -n "$AIX_CXX_LD"; then
48423 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48424 else
48425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48426 for as_dir in $PATH
48427 do
48428 IFS=$as_save_IFS
48429 test -z "$as_dir" && as_dir=.
48430 for ac_exec_ext in '' $ac_executable_extensions; do
48431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48432 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48434 break 2
48435 fi
48436 done
48437 done
48438 IFS=$as_save_IFS
48439
48440 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48441 fi
48442 fi
48443 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48444 if test -n "$AIX_CXX_LD"; then
48445 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48446 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48447 else
48448 { echo "$as_me:$LINENO: result: no" >&5
48449 echo "${ECHO_T}no" >&6; }
48450 fi
48451
48452
48453 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48454 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48455 fi
48456 ;;
48457
48458 *-*-beos* )
48459 SHARED_LD_CC="${LD} -nostart -o"
48460 SHARED_LD_CXX="${LD} -nostart -o"
48461 ;;
48462
48463 *-*-irix* )
48464 if test "x$GCC" != "xyes"; then
48465 PIC_FLAG="-KPIC"
48466 fi
48467 ;;
48468
48469 *-*-cygwin* | *-*-mingw32* )
48470 PIC_FLAG=""
48471 SHARED_LD_CC="\$(CC) -shared -o"
48472 SHARED_LD_CXX="\$(CXX) -shared -o"
48473 WINDOWS_IMPLIB=1
48474 ;;
48475
48476 *-pc-os2_emx | *-pc-os2-emx )
48477 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48478 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48479 PIC_FLAG=""
48480
48481 D='$'
48482 cat <<EOF >dllar.sh
48483 #!/bin/sh
48484 #
48485 # dllar - a tool to build both a .dll and an .a file
48486 # from a set of object (.o) files for EMX/OS2.
48487 #
48488 # Written by Andrew Zabolotny, bit@freya.etu.ru
48489 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48490 #
48491 # This script will accept a set of files on the command line.
48492 # All the public symbols from the .o files will be exported into
48493 # a .DEF file, then linker will be run (through gcc) against them to
48494 # build a shared library consisting of all given .o files. All libraries
48495 # (.a) will be first decompressed into component .o files then act as
48496 # described above. You can optionally give a description (-d "description")
48497 # which will be put into .DLL. To see the list of accepted options (as well
48498 # as command-line format) simply run this program without options. The .DLL
48499 # is built to be imported by name (there is no guarantee that new versions
48500 # of the library you build will have same ordinals for same symbols).
48501 #
48502 # dllar is free software; you can redistribute it and/or modify
48503 # it under the terms of the GNU General Public License as published by
48504 # the Free Software Foundation; either version 2, or (at your option)
48505 # any later version.
48506 #
48507 # dllar is distributed in the hope that it will be useful,
48508 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48509 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48510 # GNU General Public License for more details.
48511 #
48512 # You should have received a copy of the GNU General Public License
48513 # along with dllar; see the file COPYING. If not, write to the Free
48514 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48515 # 02111-1307, USA.
48516
48517 # To successfuly run this program you will need:
48518 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48519 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48520 # - gcc
48521 # (used to build the .dll)
48522 # - emxexp
48523 # (used to create .def file from .o files)
48524 # - emximp
48525 # (used to create .a file from .def file)
48526 # - GNU text utilites (cat, sort, uniq)
48527 # used to process emxexp output
48528 # - GNU file utilities (mv, rm)
48529 # - GNU sed
48530 # - lxlite (optional, see flag below)
48531 # (used for general .dll cleanup)
48532 #
48533
48534 flag_USE_LXLITE=1;
48535
48536 #
48537 # helper functions
48538 # basnam, variant of basename, which does _not_ remove the path, _iff_
48539 # second argument (suffix to remove) is given
48540 basnam(){
48541 case ${D}# in
48542 1)
48543 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48544 ;;
48545 2)
48546 echo ${D}1 | sed 's/'${D}2'${D}//'
48547 ;;
48548 *)
48549 echo "error in basnam ${D}*"
48550 exit 8
48551 ;;
48552 esac
48553 }
48554
48555 # Cleanup temporary files and output
48556 CleanUp() {
48557 cd ${D}curDir
48558 for i in ${D}inputFiles ; do
48559 case ${D}i in
48560 *!)
48561 rm -rf \`basnam ${D}i !\`
48562 ;;
48563 *)
48564 ;;
48565 esac
48566 done
48567
48568 # Kill result in case of failure as there is just to many stupid make/nmake
48569 # things out there which doesn't do this.
48570 if [ ${D}# -eq 0 ]; then
48571 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48572 fi
48573 }
48574
48575 # Print usage and exit script with rc=1.
48576 PrintHelp() {
48577 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48578 echo ' [-name-mangler-script script.sh]'
48579 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48580 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48581 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48582 echo ' [*.o] [*.a]'
48583 echo '*> "output_file" should have no extension.'
48584 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48585 echo ' The import library name is derived from this and is set to "name".a,'
48586 echo ' unless overridden by -import'
48587 echo '*> "importlib_name" should have no extension.'
48588 echo ' If it has the .o, or .a extension, it is automatically removed.'
48589 echo ' This name is used as the import library name and may be longer and'
48590 echo ' more descriptive than the DLL name which has to follow the old '
48591 echo ' 8.3 convention of FAT.'
48592 echo '*> "script.sh may be given to override the output_file name by a'
48593 echo ' different name. It is mainly useful if the regular make process'
48594 echo ' of some package does not take into account OS/2 restriction of'
48595 echo ' DLL name lengths. It takes the importlib name as input and is'
48596 echo ' supposed to procude a shorter name as output. The script should'
48597 echo ' expect to get importlib_name without extension and should produce'
48598 echo ' a (max.) 8 letter name without extension.'
48599 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48600 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48601 echo ' These flags will be put at the start of GCC command line.'
48602 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48603 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48604 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48605 echo ' If the last character of a symbol is "*", all symbols beginning'
48606 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48607 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48608 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48609 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48610 echo ' C runtime DLLs.'
48611 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48612 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48613 echo ' unchanged to GCC at the end of command line.'
48614 echo '*> If you create a DLL from a library and you do not specify -o,'
48615 echo ' the basename for DLL and import library will be set to library name,'
48616 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48617 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48618 echo ' library will be renamed into gcc_s.a.'
48619 echo '--------'
48620 echo 'Example:'
48621 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48622 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48623 CleanUp
48624 exit 1
48625 }
48626
48627 # Execute a command.
48628 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48629 # @Uses Whatever CleanUp() uses.
48630 doCommand() {
48631 echo "${D}*"
48632 eval ${D}*
48633 rcCmd=${D}?
48634
48635 if [ ${D}rcCmd -ne 0 ]; then
48636 echo "command failed, exit code="${D}rcCmd
48637 CleanUp
48638 exit ${D}rcCmd
48639 fi
48640 }
48641
48642 # main routine
48643 # setup globals
48644 cmdLine=${D}*
48645 outFile=""
48646 outimpFile=""
48647 inputFiles=""
48648 renameScript=""
48649 description=""
48650 CC=gcc.exe
48651 CFLAGS="-s -Zcrtdll"
48652 EXTRA_CFLAGS=""
48653 EXPORT_BY_ORDINALS=0
48654 exclude_symbols=""
48655 library_flags=""
48656 curDir=\`pwd\`
48657 curDirS=curDir
48658 case ${D}curDirS in
48659 */)
48660 ;;
48661 *)
48662 curDirS=${D}{curDirS}"/"
48663 ;;
48664 esac
48665 # Parse commandline
48666 libsToLink=0
48667 omfLinking=0
48668 while [ ${D}1 ]; do
48669 case ${D}1 in
48670 -ord*)
48671 EXPORT_BY_ORDINALS=1;
48672 ;;
48673 -o*)
48674 shift
48675 outFile=${D}1
48676 ;;
48677 -i*)
48678 shift
48679 outimpFile=${D}1
48680 ;;
48681 -name-mangler-script)
48682 shift
48683 renameScript=${D}1
48684 ;;
48685 -d*)
48686 shift
48687 description=${D}1
48688 ;;
48689 -f*)
48690 shift
48691 CFLAGS=${D}1
48692 ;;
48693 -c*)
48694 shift
48695 CC=${D}1
48696 ;;
48697 -h*)
48698 PrintHelp
48699 ;;
48700 -ex*)
48701 shift
48702 exclude_symbols=${D}{exclude_symbols}${D}1" "
48703 ;;
48704 -libf*)
48705 shift
48706 library_flags=${D}{library_flags}${D}1" "
48707 ;;
48708 -nocrt*)
48709 CFLAGS="-s"
48710 ;;
48711 -nolxl*)
48712 flag_USE_LXLITE=0
48713 ;;
48714 -* | /*)
48715 case ${D}1 in
48716 -L* | -l*)
48717 libsToLink=1
48718 ;;
48719 -Zomf)
48720 omfLinking=1
48721 ;;
48722 *)
48723 ;;
48724 esac
48725 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48726 ;;
48727 *.dll)
48728 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48729 if [ ${D}omfLinking -eq 1 ]; then
48730 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48731 else
48732 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48733 fi
48734 ;;
48735 *)
48736 found=0;
48737 if [ ${D}libsToLink -ne 0 ]; then
48738 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48739 else
48740 for file in ${D}1 ; do
48741 if [ -f ${D}file ]; then
48742 inputFiles="${D}{inputFiles} ${D}file"
48743 found=1
48744 fi
48745 done
48746 if [ ${D}found -eq 0 ]; then
48747 echo "ERROR: No file(s) found: "${D}1
48748 exit 8
48749 fi
48750 fi
48751 ;;
48752 esac
48753 shift
48754 done # iterate cmdline words
48755
48756 #
48757 if [ -z "${D}inputFiles" ]; then
48758 echo "dllar: no input files"
48759 PrintHelp
48760 fi
48761
48762 # Now extract all .o files from .a files
48763 newInputFiles=""
48764 for file in ${D}inputFiles ; do
48765 case ${D}file in
48766 *.a | *.lib)
48767 case ${D}file in
48768 *.a)
48769 suffix=".a"
48770 AR="ar"
48771 ;;
48772 *.lib)
48773 suffix=".lib"
48774 AR="emxomfar"
48775 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48776 ;;
48777 *)
48778 ;;
48779 esac
48780 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48781 mkdir ${D}dirname
48782 if [ ${D}? -ne 0 ]; then
48783 echo "Failed to create subdirectory ./${D}dirname"
48784 CleanUp
48785 exit 8;
48786 fi
48787 # Append '!' to indicate archive
48788 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48789 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48790 cd ${D}curDir
48791 found=0;
48792 for subfile in ${D}dirname/*.o* ; do
48793 if [ -f ${D}subfile ]; then
48794 found=1
48795 if [ -s ${D}subfile ]; then
48796 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48797 newInputFiles="${D}newInputFiles ${D}subfile"
48798 fi
48799 fi
48800 done
48801 if [ ${D}found -eq 0 ]; then
48802 echo "WARNING: there are no files in archive \\'${D}file\\'"
48803 fi
48804 ;;
48805 *)
48806 newInputFiles="${D}{newInputFiles} ${D}file"
48807 ;;
48808 esac
48809 done
48810 inputFiles="${D}newInputFiles"
48811
48812 # Output filename(s).
48813 do_backup=0;
48814 if [ -z ${D}outFile ]; then
48815 do_backup=1;
48816 set outFile ${D}inputFiles; outFile=${D}2
48817 fi
48818
48819 # If it is an archive, remove the '!' and the '_%' suffixes
48820 case ${D}outFile in
48821 *_%!)
48822 outFile=\`basnam ${D}outFile _%!\`
48823 ;;
48824 *)
48825 ;;
48826 esac
48827 case ${D}outFile in
48828 *.dll)
48829 outFile=\`basnam ${D}outFile .dll\`
48830 ;;
48831 *.DLL)
48832 outFile=\`basnam ${D}outFile .DLL\`
48833 ;;
48834 *.o)
48835 outFile=\`basnam ${D}outFile .o\`
48836 ;;
48837 *.obj)
48838 outFile=\`basnam ${D}outFile .obj\`
48839 ;;
48840 *.a)
48841 outFile=\`basnam ${D}outFile .a\`
48842 ;;
48843 *.lib)
48844 outFile=\`basnam ${D}outFile .lib\`
48845 ;;
48846 *)
48847 ;;
48848 esac
48849 case ${D}outimpFile in
48850 *.a)
48851 outimpFile=\`basnam ${D}outimpFile .a\`
48852 ;;
48853 *.lib)
48854 outimpFile=\`basnam ${D}outimpFile .lib\`
48855 ;;
48856 *)
48857 ;;
48858 esac
48859 if [ -z ${D}outimpFile ]; then
48860 outimpFile=${D}outFile
48861 fi
48862 defFile="${D}{outFile}.def"
48863 arcFile="${D}{outimpFile}.a"
48864 arcFile2="${D}{outimpFile}.lib"
48865
48866 #create ${D}dllFile as something matching 8.3 restrictions,
48867 if [ -z ${D}renameScript ] ; then
48868 dllFile="${D}outFile"
48869 else
48870 dllFile=\`${D}renameScript ${D}outimpFile\`
48871 fi
48872
48873 if [ ${D}do_backup -ne 0 ] ; then
48874 if [ -f ${D}arcFile ] ; then
48875 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48876 fi
48877 if [ -f ${D}arcFile2 ] ; then
48878 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48879 fi
48880 fi
48881
48882 # Extract public symbols from all the object files.
48883 tmpdefFile=${D}{defFile}_%
48884 rm -f ${D}tmpdefFile
48885 for file in ${D}inputFiles ; do
48886 case ${D}file in
48887 *!)
48888 ;;
48889 *)
48890 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48891 ;;
48892 esac
48893 done
48894
48895 # Create the def file.
48896 rm -f ${D}defFile
48897 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48898 dllFile="${D}{dllFile}.dll"
48899 if [ ! -z ${D}description ]; then
48900 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48901 fi
48902 echo "EXPORTS" >> ${D}defFile
48903
48904 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48905 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48906
48907 # Checks if the export is ok or not.
48908 for word in ${D}exclude_symbols; do
48909 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48910 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48911 done
48912
48913
48914 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48915 sed "=" < ${D}tmpdefFile | \\
48916 sed '
48917 N
48918 : loop
48919 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48920 t loop
48921 ' > ${D}{tmpdefFile}%
48922 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48923 else
48924 rm -f ${D}{tmpdefFile}%
48925 fi
48926 cat ${D}tmpdefFile >> ${D}defFile
48927 rm -f ${D}tmpdefFile
48928
48929 # Do linking, create implib, and apply lxlite.
48930 gccCmdl="";
48931 for file in ${D}inputFiles ; do
48932 case ${D}file in
48933 *!)
48934 ;;
48935 *)
48936 gccCmdl="${D}gccCmdl ${D}file"
48937 ;;
48938 esac
48939 done
48940 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48941 touch "${D}{outFile}.dll"
48942
48943 doCommand "emximp -o ${D}arcFile ${D}defFile"
48944 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48945 add_flags="";
48946 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48947 add_flags="-ynd"
48948 fi
48949 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48950 fi
48951 doCommand "emxomf -s -l ${D}arcFile"
48952
48953 # Successful exit.
48954 CleanUp 1
48955 exit 0
48956 EOF
48957
48958 chmod +x dllar.sh
48959 ;;
48960
48961 powerpc-apple-macos* | \
48962 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48963 *-*-mirbsd* | \
48964 *-*-sunos4* | \
48965 *-*-osf* | \
48966 *-*-dgux5* | \
48967 *-*-sysv5* | \
48968 *-pc-msdosdjgpp )
48969 ;;
48970
48971 *)
48972 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48973 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48974 { (exit 1); exit 1; }; }
48975 esac
48976
48977 if test "x$PIC_FLAG" != "x" ; then
48978 PIC_FLAG="$PIC_FLAG -DPIC"
48979 fi
48980
48981 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48982 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48983 fi
48984 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48985 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48986 fi
48987
48988
48989
48990
48991
48992
48993
48994
48995
48996 USE_SOVERSION=0
48997 USE_SOVERLINUX=0
48998 USE_SOVERSOLARIS=0
48999 USE_SOVERCYGWIN=0
49000 USE_SOSYMLINKS=0
49001 USE_MACVERSION=0
49002 SONAME_FLAG=
49003
49004 case "${BAKEFILE_HOST}" in
49005 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49006 *-*-k*bsd*-gnu | *-*-mirbsd* )
49007 if test "x$SUNCXX" = "xyes"; then
49008 SONAME_FLAG="-h "
49009 else
49010 SONAME_FLAG="-Wl,-soname,"
49011 fi
49012 USE_SOVERSION=1
49013 USE_SOVERLINUX=1
49014 USE_SOSYMLINKS=1
49015 ;;
49016
49017 *-*-solaris2* )
49018 SONAME_FLAG="-h "
49019 USE_SOVERSION=1
49020 USE_SOVERSOLARIS=1
49021 USE_SOSYMLINKS=1
49022 ;;
49023
49024 *-*-darwin* )
49025 USE_MACVERSION=1
49026 USE_SOVERSION=1
49027 USE_SOSYMLINKS=1
49028 ;;
49029
49030 *-*-cygwin* )
49031 USE_SOVERSION=1
49032 USE_SOVERCYGWIN=1
49033 ;;
49034 esac
49035
49036
49037
49038
49039
49040
49041
49042
49043
49044
49045 # Check whether --enable-dependency-tracking was given.
49046 if test "${enable_dependency_tracking+set}" = set; then
49047 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49048 fi
49049
49050
49051 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49052 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49053
49054 BK_DEPS=""
49055 if test "x$bk_use_trackdeps" = "xno" ; then
49056 DEPS_TRACKING=0
49057 { echo "$as_me:$LINENO: result: disabled" >&5
49058 echo "${ECHO_T}disabled" >&6; }
49059 else
49060 DEPS_TRACKING=1
49061
49062 if test "x$GCC" = "xyes"; then
49063 DEPSMODE=gcc
49064 case "${BAKEFILE_HOST}" in
49065 *-*-darwin* )
49066 DEPSFLAG="-no-cpp-precomp -MMD"
49067 ;;
49068 * )
49069 DEPSFLAG="-MMD"
49070 ;;
49071 esac
49072 { echo "$as_me:$LINENO: result: gcc" >&5
49073 echo "${ECHO_T}gcc" >&6; }
49074 elif test "x$MWCC" = "xyes"; then
49075 DEPSMODE=mwcc
49076 DEPSFLAG="-MM"
49077 { echo "$as_me:$LINENO: result: mwcc" >&5
49078 echo "${ECHO_T}mwcc" >&6; }
49079 elif test "x$SUNCC" = "xyes"; then
49080 DEPSMODE=unixcc
49081 DEPSFLAG="-xM1"
49082 { echo "$as_me:$LINENO: result: Sun cc" >&5
49083 echo "${ECHO_T}Sun cc" >&6; }
49084 elif test "x$SGICC" = "xyes"; then
49085 DEPSMODE=unixcc
49086 DEPSFLAG="-M"
49087 { echo "$as_me:$LINENO: result: SGI cc" >&5
49088 echo "${ECHO_T}SGI cc" >&6; }
49089 elif test "x$HPCC" = "xyes"; then
49090 DEPSMODE=unixcc
49091 DEPSFLAG="+make"
49092 { echo "$as_me:$LINENO: result: HP cc" >&5
49093 echo "${ECHO_T}HP cc" >&6; }
49094 elif test "x$COMPAQCC" = "xyes"; then
49095 DEPSMODE=gcc
49096 DEPSFLAG="-MD"
49097 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49098 echo "${ECHO_T}Compaq cc" >&6; }
49099 else
49100 DEPS_TRACKING=0
49101 { echo "$as_me:$LINENO: result: none" >&5
49102 echo "${ECHO_T}none" >&6; }
49103 fi
49104
49105 if test $DEPS_TRACKING = 1 ; then
49106
49107 D='$'
49108 cat <<EOF >bk-deps
49109 #!/bin/sh
49110
49111 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49112 # script. It is used to track C/C++ files dependencies in portable way.
49113 #
49114 # Permission is given to use this file in any way.
49115
49116 DEPSMODE=${DEPSMODE}
49117 DEPSFLAG="${DEPSFLAG}"
49118 DEPSDIRBASE=.deps
49119
49120 if test ${D}DEPSMODE = gcc ; then
49121 ${D}* ${D}{DEPSFLAG}
49122 status=${D}?
49123
49124 # determine location of created files:
49125 while test ${D}# -gt 0; do
49126 case "${D}1" in
49127 -o )
49128 shift
49129 objfile=${D}1
49130 ;;
49131 -* )
49132 ;;
49133 * )
49134 srcfile=${D}1
49135 ;;
49136 esac
49137 shift
49138 done
49139 objfilebase=\`basename ${D}objfile\`
49140 builddir=\`dirname ${D}objfile\`
49141 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49142 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49143 depsdir=${D}builddir/${D}DEPSDIRBASE
49144 mkdir -p ${D}depsdir
49145
49146 # if the compiler failed, we're done:
49147 if test ${D}{status} != 0 ; then
49148 rm -f ${D}depfile
49149 exit ${D}{status}
49150 fi
49151
49152 # move created file to the location we want it in:
49153 if test -f ${D}depfile ; then
49154 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49155 rm -f ${D}depfile
49156 else
49157 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49158 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
49159 if test ! -f ${D}depfile ; then
49160 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49161 depfile="${D}objfile.d"
49162 fi
49163 if test -f ${D}depfile ; then
49164 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49165 rm -f ${D}depfile
49166 fi
49167 fi
49168 exit 0
49169
49170 elif test ${D}DEPSMODE = mwcc ; then
49171 ${D}* || exit ${D}?
49172 # Run mwcc again with -MM and redirect into the dep file we want
49173 # NOTE: We can't use shift here because we need ${D}* to be valid
49174 prevarg=
49175 for arg in ${D}* ; do
49176 if test "${D}prevarg" = "-o"; then
49177 objfile=${D}arg
49178 else
49179 case "${D}arg" in
49180 -* )
49181 ;;
49182 * )
49183 srcfile=${D}arg
49184 ;;
49185 esac
49186 fi
49187 prevarg="${D}arg"
49188 done
49189
49190 objfilebase=\`basename ${D}objfile\`
49191 builddir=\`dirname ${D}objfile\`
49192 depsdir=${D}builddir/${D}DEPSDIRBASE
49193 mkdir -p ${D}depsdir
49194
49195 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49196 exit 0
49197
49198 elif test ${D}DEPSMODE = unixcc; then
49199 ${D}* || exit ${D}?
49200 # Run compiler again with deps flag and redirect into the dep file.
49201 # It doesn't work if the '-o FILE' option is used, but without it the
49202 # dependency file will contain the wrong name for the object. So it is
49203 # removed from the command line, and the dep file is fixed with sed.
49204 cmd=""
49205 while test ${D}# -gt 0; do
49206 case "${D}1" in
49207 -o )
49208 shift
49209 objfile=${D}1
49210 ;;
49211 * )
49212 eval arg${D}#=\\${D}1
49213 cmd="${D}cmd \\${D}arg${D}#"
49214 ;;
49215 esac
49216 shift
49217 done
49218
49219 objfilebase=\`basename ${D}objfile\`
49220 builddir=\`dirname ${D}objfile\`
49221 depsdir=${D}builddir/${D}DEPSDIRBASE
49222 mkdir -p ${D}depsdir
49223
49224 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49225 exit 0
49226
49227 else
49228 ${D}*
49229 exit ${D}?
49230 fi
49231 EOF
49232
49233 chmod +x bk-deps
49234 BK_DEPS="`pwd`/bk-deps"
49235 fi
49236 fi
49237
49238
49239
49240
49241
49242 case ${BAKEFILE_HOST} in
49243 *-*-cygwin* | *-*-mingw32* )
49244 if test -n "$ac_tool_prefix"; then
49245 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49246 set dummy ${ac_tool_prefix}windres; ac_word=$2
49247 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49249 if test "${ac_cv_prog_WINDRES+set}" = set; then
49250 echo $ECHO_N "(cached) $ECHO_C" >&6
49251 else
49252 if test -n "$WINDRES"; then
49253 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49254 else
49255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49256 for as_dir in $PATH
49257 do
49258 IFS=$as_save_IFS
49259 test -z "$as_dir" && as_dir=.
49260 for ac_exec_ext in '' $ac_executable_extensions; do
49261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49262 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49264 break 2
49265 fi
49266 done
49267 done
49268 IFS=$as_save_IFS
49269
49270 fi
49271 fi
49272 WINDRES=$ac_cv_prog_WINDRES
49273 if test -n "$WINDRES"; then
49274 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49275 echo "${ECHO_T}$WINDRES" >&6; }
49276 else
49277 { echo "$as_me:$LINENO: result: no" >&5
49278 echo "${ECHO_T}no" >&6; }
49279 fi
49280
49281
49282 fi
49283 if test -z "$ac_cv_prog_WINDRES"; then
49284 ac_ct_WINDRES=$WINDRES
49285 # Extract the first word of "windres", so it can be a program name with args.
49286 set dummy windres; ac_word=$2
49287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49289 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49290 echo $ECHO_N "(cached) $ECHO_C" >&6
49291 else
49292 if test -n "$ac_ct_WINDRES"; then
49293 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49294 else
49295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49296 for as_dir in $PATH
49297 do
49298 IFS=$as_save_IFS
49299 test -z "$as_dir" && as_dir=.
49300 for ac_exec_ext in '' $ac_executable_extensions; do
49301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49302 ac_cv_prog_ac_ct_WINDRES="windres"
49303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49304 break 2
49305 fi
49306 done
49307 done
49308 IFS=$as_save_IFS
49309
49310 fi
49311 fi
49312 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49313 if test -n "$ac_ct_WINDRES"; then
49314 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49315 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49316 else
49317 { echo "$as_me:$LINENO: result: no" >&5
49318 echo "${ECHO_T}no" >&6; }
49319 fi
49320
49321 if test "x$ac_ct_WINDRES" = x; then
49322 WINDRES=""
49323 else
49324 case $cross_compiling:$ac_tool_warned in
49325 yes:)
49326 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49327 whose name does not start with the host triplet. If you think this
49328 configuration is useful to you, please write to autoconf@gnu.org." >&5
49329 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49330 whose name does not start with the host triplet. If you think this
49331 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49332 ac_tool_warned=yes ;;
49333 esac
49334 WINDRES=$ac_ct_WINDRES
49335 fi
49336 else
49337 WINDRES="$ac_cv_prog_WINDRES"
49338 fi
49339
49340 ;;
49341
49342 *-*-darwin* | powerpc-apple-macos* )
49343 # Extract the first word of "Rez", so it can be a program name with args.
49344 set dummy Rez; ac_word=$2
49345 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49347 if test "${ac_cv_prog_REZ+set}" = set; then
49348 echo $ECHO_N "(cached) $ECHO_C" >&6
49349 else
49350 if test -n "$REZ"; then
49351 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49352 else
49353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49354 for as_dir in $PATH
49355 do
49356 IFS=$as_save_IFS
49357 test -z "$as_dir" && as_dir=.
49358 for ac_exec_ext in '' $ac_executable_extensions; do
49359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49360 ac_cv_prog_REZ="Rez"
49361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49362 break 2
49363 fi
49364 done
49365 done
49366 IFS=$as_save_IFS
49367
49368 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49369 fi
49370 fi
49371 REZ=$ac_cv_prog_REZ
49372 if test -n "$REZ"; then
49373 { echo "$as_me:$LINENO: result: $REZ" >&5
49374 echo "${ECHO_T}$REZ" >&6; }
49375 else
49376 { echo "$as_me:$LINENO: result: no" >&5
49377 echo "${ECHO_T}no" >&6; }
49378 fi
49379
49380
49381 # Extract the first word of "SetFile", so it can be a program name with args.
49382 set dummy SetFile; ac_word=$2
49383 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49385 if test "${ac_cv_prog_SETFILE+set}" = set; then
49386 echo $ECHO_N "(cached) $ECHO_C" >&6
49387 else
49388 if test -n "$SETFILE"; then
49389 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49390 else
49391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49392 for as_dir in $PATH
49393 do
49394 IFS=$as_save_IFS
49395 test -z "$as_dir" && as_dir=.
49396 for ac_exec_ext in '' $ac_executable_extensions; do
49397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49398 ac_cv_prog_SETFILE="SetFile"
49399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49400 break 2
49401 fi
49402 done
49403 done
49404 IFS=$as_save_IFS
49405
49406 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49407 fi
49408 fi
49409 SETFILE=$ac_cv_prog_SETFILE
49410 if test -n "$SETFILE"; then
49411 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49412 echo "${ECHO_T}$SETFILE" >&6; }
49413 else
49414 { echo "$as_me:$LINENO: result: no" >&5
49415 echo "${ECHO_T}no" >&6; }
49416 fi
49417
49418
49419 ;;
49420 esac
49421
49422
49423
49424
49425
49426
49427
49428
49429
49430 BAKEFILE_BAKEFILE_M4_VERSION="0.2.6"
49431
49432
49433 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.6"
49434
49435
49436
49437 # Check whether --enable-precomp-headers was given.
49438 if test "${enable_precomp_headers+set}" = set; then
49439 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49440 fi
49441
49442
49443 GCC_PCH=0
49444 ICC_PCH=0
49445 USE_PCH=0
49446 BK_MAKE_PCH=""
49447
49448 case ${BAKEFILE_HOST} in
49449 *-*-cygwin* )
49450 bk_use_pch="no"
49451 ;;
49452 esac
49453
49454 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49455 if test "x$GCC" = "xyes"; then
49456 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49457 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49458 cat >conftest.$ac_ext <<_ACEOF
49459 /* confdefs.h. */
49460 _ACEOF
49461 cat confdefs.h >>conftest.$ac_ext
49462 cat >>conftest.$ac_ext <<_ACEOF
49463 /* end confdefs.h. */
49464
49465 int
49466 main ()
49467 {
49468
49469 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49470 There is no PCH support
49471 #endif
49472 #if (__GNUC__ < 3)
49473 There is no PCH support
49474 #endif
49475 #if (__GNUC__ == 3) && \
49476 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49477 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49478 ( defined(__INTEL_COMPILER) )
49479 There is no PCH support
49480 #endif
49481
49482 ;
49483 return 0;
49484 }
49485 _ACEOF
49486 rm -f conftest.$ac_objext
49487 if { (ac_try="$ac_compile"
49488 case "(($ac_try" in
49489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49490 *) ac_try_echo=$ac_try;;
49491 esac
49492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49493 (eval "$ac_compile") 2>conftest.er1
49494 ac_status=$?
49495 grep -v '^ *+' conftest.er1 >conftest.err
49496 rm -f conftest.er1
49497 cat conftest.err >&5
49498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49499 (exit $ac_status); } && {
49500 test -z "$ac_c_werror_flag" ||
49501 test ! -s conftest.err
49502 } && test -s conftest.$ac_objext; then
49503
49504 { echo "$as_me:$LINENO: result: yes" >&5
49505 echo "${ECHO_T}yes" >&6; }
49506 GCC_PCH=1
49507
49508 else
49509 echo "$as_me: failed program was:" >&5
49510 sed 's/^/| /' conftest.$ac_ext >&5
49511
49512
49513 if test "$INTELCXX8" = "yes"; then
49514 { echo "$as_me:$LINENO: result: yes" >&5
49515 echo "${ECHO_T}yes" >&6; }
49516 ICC_PCH=1
49517 if test "$INTELCXX10" = "yes"; then
49518 ICC_PCH_CREATE_SWITCH="-pch-create"
49519 ICC_PCH_USE_SWITCH="-pch-use"
49520 else
49521 ICC_PCH_CREATE_SWITCH="-create-pch"
49522 ICC_PCH_USE_SWITCH="-use-pch"
49523 fi
49524 else
49525 { echo "$as_me:$LINENO: result: no" >&5
49526 echo "${ECHO_T}no" >&6; }
49527 fi
49528
49529 fi
49530
49531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49532 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49533 USE_PCH=1
49534
49535 D='$'
49536 cat <<EOF >bk-make-pch
49537 #!/bin/sh
49538
49539 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49540 # script. It is used to generated precompiled headers.
49541 #
49542 # Permission is given to use this file in any way.
49543
49544 outfile="${D}{1}"
49545 header="${D}{2}"
49546 shift
49547 shift
49548
49549 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49550
49551 compiler=""
49552 headerfile=""
49553
49554 while test ${D}{#} -gt 0; do
49555 add_to_cmdline=1
49556 case "${D}{1}" in
49557 -I* )
49558 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49559 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49560 headerfile="${D}{incdir}/${D}{header}"
49561 fi
49562 ;;
49563 -use-pch|-use_pch|-pch-use )
49564 shift
49565 add_to_cmdline=0
49566 ;;
49567 esac
49568 if test ${D}add_to_cmdline = 1 ; then
49569 compiler="${D}{compiler} ${D}{1}"
49570 fi
49571 shift
49572 done
49573
49574 if test "x${D}{headerfile}" = "x" ; then
49575 echo "error: can't find header ${D}{header} in include paths" >&2
49576 else
49577 if test -f ${D}{outfile} ; then
49578 rm -f ${D}{outfile}
49579 else
49580 mkdir -p \`dirname ${D}{outfile}\`
49581 fi
49582 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49583 mkdir -p ${D}{builddir}/.deps
49584 if test "x${GCC_PCH}" = "x1" ; then
49585 # can do this because gcc is >= 3.4:
49586 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49587 elif test "x${ICC_PCH}" = "x1" ; then
49588 filename=pch_gen-${D}${D}
49589 file=${D}{filename}.c
49590 dfile=${D}{filename}.d
49591 cat > ${D}file <<EOT
49592 #include "${D}header"
49593 EOT
49594 # using -MF icc complains about differing command lines in creation/use
49595 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
49596 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49597 rm -f ${D}file ${D}dfile ${D}{filename}.o
49598 fi
49599 exit ${D}{?}
49600 fi
49601 EOF
49602
49603 chmod +x bk-make-pch
49604 BK_MAKE_PCH="`pwd`/bk-make-pch"
49605 fi
49606 fi
49607 fi
49608
49609
49610
49611
49612
49613
49614
49615 COND_BUILD_DEBUG="#"
49616 if test "x$BUILD" = "xdebug" ; then
49617 COND_BUILD_DEBUG=""
49618 fi
49619
49620 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49621 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49622 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49623 fi
49624
49625 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49626 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49627 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49628 fi
49629
49630 COND_BUILD_DEBUG_UNICODE_0="#"
49631 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49632 COND_BUILD_DEBUG_UNICODE_0=""
49633 fi
49634
49635 COND_BUILD_DEBUG_UNICODE_1="#"
49636 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49637 COND_BUILD_DEBUG_UNICODE_1=""
49638 fi
49639
49640 COND_BUILD_RELEASE="#"
49641 if test "x$BUILD" = "xrelease" ; then
49642 COND_BUILD_RELEASE=""
49643 fi
49644
49645 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49646 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49647 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49648 fi
49649
49650 COND_BUILD_RELEASE_UNICODE_0="#"
49651 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49652 COND_BUILD_RELEASE_UNICODE_0=""
49653 fi
49654
49655 COND_BUILD_RELEASE_UNICODE_1="#"
49656 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49657 COND_BUILD_RELEASE_UNICODE_1=""
49658 fi
49659
49660 COND_BUILD_debug="#"
49661 if test "x$BUILD" = "xdebug" ; then
49662 COND_BUILD_debug=""
49663 fi
49664
49665 COND_BUILD_debug_DEBUG_FLAG_default="#"
49666 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49667 COND_BUILD_debug_DEBUG_FLAG_default=""
49668 fi
49669
49670 COND_BUILD_debug_DEBUG_INFO_default="#"
49671 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49672 COND_BUILD_debug_DEBUG_INFO_default=""
49673 fi
49674
49675 COND_BUILD_debug_UNICODE_0="#"
49676 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49677 COND_BUILD_debug_UNICODE_0=""
49678 fi
49679
49680 COND_BUILD_debug_UNICODE_1="#"
49681 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49682 COND_BUILD_debug_UNICODE_1=""
49683 fi
49684
49685 COND_BUILD_release="#"
49686 if test "x$BUILD" = "xrelease" ; then
49687 COND_BUILD_release=""
49688 fi
49689
49690 COND_BUILD_release_DEBUG_INFO_default="#"
49691 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49692 COND_BUILD_release_DEBUG_INFO_default=""
49693 fi
49694
49695 COND_BUILD_release_UNICODE_0="#"
49696 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49697 COND_BUILD_release_UNICODE_0=""
49698 fi
49699
49700 COND_BUILD_release_UNICODE_1="#"
49701 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49702 COND_BUILD_release_UNICODE_1=""
49703 fi
49704
49705 COND_DEBUG_FLAG_1="#"
49706 if test "x$DEBUG_FLAG" = "x1" ; then
49707 COND_DEBUG_FLAG_1=""
49708 fi
49709
49710 COND_DEBUG_INFO_0="#"
49711 if test "x$DEBUG_INFO" = "x0" ; then
49712 COND_DEBUG_INFO_0=""
49713 fi
49714
49715 COND_DEBUG_INFO_1="#"
49716 if test "x$DEBUG_INFO" = "x1" ; then
49717 COND_DEBUG_INFO_1=""
49718 fi
49719
49720 COND_DEPS_TRACKING_0="#"
49721 if test "x$DEPS_TRACKING" = "x0" ; then
49722 COND_DEPS_TRACKING_0=""
49723 fi
49724
49725 COND_DEPS_TRACKING_1="#"
49726 if test "x$DEPS_TRACKING" = "x1" ; then
49727 COND_DEPS_TRACKING_1=""
49728 fi
49729
49730 COND_GCC_PCH_1="#"
49731 if test "x$GCC_PCH" = "x1" ; then
49732 COND_GCC_PCH_1=""
49733 fi
49734
49735 COND_ICC_PCH_1="#"
49736 if test "x$ICC_PCH" = "x1" ; then
49737 COND_ICC_PCH_1=""
49738 fi
49739
49740 COND_MONOLITHIC_0="#"
49741 if test "x$MONOLITHIC" = "x0" ; then
49742 COND_MONOLITHIC_0=""
49743 fi
49744
49745 COND_MONOLITHIC_0_SHARED_0="#"
49746 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49747 COND_MONOLITHIC_0_SHARED_0=""
49748 fi
49749
49750 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49751 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49752 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49753 fi
49754
49755 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49756 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49757 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49758 fi
49759
49760 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49761 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49762 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49763 fi
49764
49765 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49766 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49767 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49768 fi
49769
49770 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49771 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49772 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49773 fi
49774
49775 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
49776 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49777 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
49778 fi
49779
49780 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49781 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49782 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49783 fi
49784
49785 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
49786 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49787 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
49788 fi
49789
49790 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49791 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49792 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49793 fi
49794
49795 COND_MONOLITHIC_0_SHARED_1="#"
49796 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49797 COND_MONOLITHIC_0_SHARED_1=""
49798 fi
49799
49800 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49801 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49802 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49803 fi
49804
49805 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49806 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49807 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49808 fi
49809
49810 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49811 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49812 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49813 fi
49814
49815 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49816 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49817 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49818 fi
49819
49820 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49821 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49822 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49823 fi
49824
49825 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
49826 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
49827 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
49828 fi
49829
49830 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49831 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49832 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49833 fi
49834
49835 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
49836 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49837 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
49838 fi
49839
49840 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49841 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49842 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49843 fi
49844
49845 COND_MONOLITHIC_0_USE_AUI_1="#"
49846 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49847 COND_MONOLITHIC_0_USE_AUI_1=""
49848 fi
49849
49850 COND_MONOLITHIC_0_USE_GUI_1="#"
49851 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49852 COND_MONOLITHIC_0_USE_GUI_1=""
49853 fi
49854
49855 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
49856 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49857 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
49858 fi
49859
49860 COND_MONOLITHIC_0_USE_HTML_1="#"
49861 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49862 COND_MONOLITHIC_0_USE_HTML_1=""
49863 fi
49864
49865 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49866 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49867 COND_MONOLITHIC_0_USE_MEDIA_1=""
49868 fi
49869
49870 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
49871 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49872 COND_MONOLITHIC_0_USE_PROPGRID_1=""
49873 fi
49874
49875 COND_MONOLITHIC_0_USE_QA_1="#"
49876 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49877 COND_MONOLITHIC_0_USE_QA_1=""
49878 fi
49879
49880 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
49881 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49882 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
49883 fi
49884
49885 COND_MONOLITHIC_0_USE_STC_1="#"
49886 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49887 COND_MONOLITHIC_0_USE_STC_1=""
49888 fi
49889
49890 COND_MONOLITHIC_0_USE_XRC_1="#"
49891 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49892 COND_MONOLITHIC_0_USE_XRC_1=""
49893 fi
49894
49895 COND_MONOLITHIC_1="#"
49896 if test "x$MONOLITHIC" = "x1" ; then
49897 COND_MONOLITHIC_1=""
49898 fi
49899
49900 COND_MONOLITHIC_1_SHARED_0="#"
49901 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49902 COND_MONOLITHIC_1_SHARED_0=""
49903 fi
49904
49905 COND_MONOLITHIC_1_SHARED_1="#"
49906 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49907 COND_MONOLITHIC_1_SHARED_1=""
49908 fi
49909
49910 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49911 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49912 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49913 fi
49914
49915 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49916 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49917 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49918 fi
49919
49920 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49921 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49922 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49923 fi
49924
49925 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49926 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49927 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49928 fi
49929
49930 COND_PLATFORM_MACOSX_1="#"
49931 if test "x$PLATFORM_MACOSX" = "x1" ; then
49932 COND_PLATFORM_MACOSX_1=""
49933 fi
49934
49935 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
49936 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
49937 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
49938 fi
49939
49940 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
49941 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
49942 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
49943 fi
49944
49945 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
49946 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49947 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
49948 fi
49949
49950 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
49951 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
49952 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
49953 fi
49954
49955 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
49956 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49957 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
49958 fi
49959
49960 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49961 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49962 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49963 fi
49964
49965 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
49966 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49967 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
49968 fi
49969
49970 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49971 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49972 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49973 fi
49974
49975 COND_PLATFORM_MACOS_1="#"
49976 if test "x$PLATFORM_MACOS" = "x1" ; then
49977 COND_PLATFORM_MACOS_1=""
49978 fi
49979
49980 COND_PLATFORM_MAC_0="#"
49981 if test "x$PLATFORM_MAC" = "x0" ; then
49982 COND_PLATFORM_MAC_0=""
49983 fi
49984
49985 COND_PLATFORM_MAC_1="#"
49986 if test "x$PLATFORM_MAC" = "x1" ; then
49987 COND_PLATFORM_MAC_1=""
49988 fi
49989
49990 COND_PLATFORM_MSDOS_0="#"
49991 if test "x$PLATFORM_MSDOS" = "x0" ; then
49992 COND_PLATFORM_MSDOS_0=""
49993 fi
49994
49995 COND_PLATFORM_MSDOS_1="#"
49996 if test "x$PLATFORM_MSDOS" = "x1" ; then
49997 COND_PLATFORM_MSDOS_1=""
49998 fi
49999
50000 COND_PLATFORM_OS2_1="#"
50001 if test "x$PLATFORM_OS2" = "x1" ; then
50002 COND_PLATFORM_OS2_1=""
50003 fi
50004
50005 COND_PLATFORM_UNIX_0="#"
50006 if test "x$PLATFORM_UNIX" = "x0" ; then
50007 COND_PLATFORM_UNIX_0=""
50008 fi
50009
50010 COND_PLATFORM_UNIX_1="#"
50011 if test "x$PLATFORM_UNIX" = "x1" ; then
50012 COND_PLATFORM_UNIX_1=""
50013 fi
50014
50015 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50016 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50017 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50018 fi
50019
50020 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50021 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50022 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50023 fi
50024
50025 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50026 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50027 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50028 fi
50029
50030 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50031 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50032 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50033 fi
50034
50035 COND_PLATFORM_WIN32_0="#"
50036 if test "x$PLATFORM_WIN32" = "x0" ; then
50037 COND_PLATFORM_WIN32_0=""
50038 fi
50039
50040 COND_PLATFORM_WIN32_1="#"
50041 if test "x$PLATFORM_WIN32" = "x1" ; then
50042 COND_PLATFORM_WIN32_1=""
50043 fi
50044
50045 COND_SHARED_0="#"
50046 if test "x$SHARED" = "x0" ; then
50047 COND_SHARED_0=""
50048 fi
50049
50050 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50051 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50052 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50053 fi
50054
50055 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50056 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50057 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50058 fi
50059
50060 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50061 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50062 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50063 fi
50064
50065 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50066 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50067 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50068 fi
50069
50070 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50071 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50072 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50073 fi
50074
50075 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50076 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50077 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50078 fi
50079
50080 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50081 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50082 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50083 fi
50084
50085 COND_SHARED_0_USE_STC_1="#"
50086 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50087 COND_SHARED_0_USE_STC_1=""
50088 fi
50089
50090 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
50091 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50092 COND_SHARED_0_wxUSE_EXPAT_builtin=""
50093 fi
50094
50095 COND_SHARED_0_wxUSE_REGEX_builtin="#"
50096 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50097 COND_SHARED_0_wxUSE_REGEX_builtin=""
50098 fi
50099
50100 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
50101 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50102 COND_SHARED_0_wxUSE_ZLIB_builtin=""
50103 fi
50104
50105 COND_SHARED_1="#"
50106 if test "x$SHARED" = "x1" ; then
50107 COND_SHARED_1=""
50108 fi
50109
50110 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50111 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50112 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50113 fi
50114
50115 COND_TOOLKIT_="#"
50116 if test "x$TOOLKIT" = "x" ; then
50117 COND_TOOLKIT_=""
50118 fi
50119
50120 COND_TOOLKIT_COCOA="#"
50121 if test "x$TOOLKIT" = "xCOCOA" ; then
50122 COND_TOOLKIT_COCOA=""
50123 fi
50124
50125 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50126 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50127 COND_TOOLKIT_COCOA_USE_GUI_1=""
50128 fi
50129
50130 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50131 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50132 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50133 fi
50134
50135 COND_TOOLKIT_DFB="#"
50136 if test "x$TOOLKIT" = "xDFB" ; then
50137 COND_TOOLKIT_DFB=""
50138 fi
50139
50140 COND_TOOLKIT_DFB_USE_GUI_1="#"
50141 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50142 COND_TOOLKIT_DFB_USE_GUI_1=""
50143 fi
50144
50145 COND_TOOLKIT_GTK="#"
50146 if test "x$TOOLKIT" = "xGTK" ; then
50147 COND_TOOLKIT_GTK=""
50148 fi
50149
50150 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50151 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50152 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50153 fi
50154
50155 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50156 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50157 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50158 fi
50159
50160 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50161 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50162 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50163 fi
50164
50165 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50166 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50167 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50168 fi
50169
50170 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50171 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50172 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50173 fi
50174
50175 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50176 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50177 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50178 fi
50179
50180 COND_TOOLKIT_GTK_USE_GUI_1="#"
50181 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50182 COND_TOOLKIT_GTK_USE_GUI_1=""
50183 fi
50184
50185 COND_TOOLKIT_MAC="#"
50186 if test "x$TOOLKIT" = "xMAC" ; then
50187 COND_TOOLKIT_MAC=""
50188 fi
50189
50190 COND_TOOLKIT_MGL="#"
50191 if test "x$TOOLKIT" = "xMGL" ; then
50192 COND_TOOLKIT_MGL=""
50193 fi
50194
50195 COND_TOOLKIT_MGL_USE_GUI_1="#"
50196 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50197 COND_TOOLKIT_MGL_USE_GUI_1=""
50198 fi
50199
50200 COND_TOOLKIT_MOTIF="#"
50201 if test "x$TOOLKIT" = "xMOTIF" ; then
50202 COND_TOOLKIT_MOTIF=""
50203 fi
50204
50205 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50206 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50207 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50208 fi
50209
50210 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50211 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50212 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50213 fi
50214
50215 COND_TOOLKIT_MSW="#"
50216 if test "x$TOOLKIT" = "xMSW" ; then
50217 COND_TOOLKIT_MSW=""
50218 fi
50219
50220 COND_TOOLKIT_MSW_USE_GUI_1="#"
50221 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50222 COND_TOOLKIT_MSW_USE_GUI_1=""
50223 fi
50224
50225 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50226 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50227 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50228 fi
50229
50230 COND_TOOLKIT_MSW_WXUNIV_0="#"
50231 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50232 COND_TOOLKIT_MSW_WXUNIV_0=""
50233 fi
50234
50235 COND_TOOLKIT_OSX_CARBON="#"
50236 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50237 COND_TOOLKIT_OSX_CARBON=""
50238 fi
50239
50240 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50241 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50242 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50243 fi
50244
50245 COND_TOOLKIT_OSX_COCOA="#"
50246 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50247 COND_TOOLKIT_OSX_COCOA=""
50248 fi
50249
50250 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50251 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50252 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50253 fi
50254
50255 COND_TOOLKIT_OSX_IPHONE="#"
50256 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50257 COND_TOOLKIT_OSX_IPHONE=""
50258 fi
50259
50260 COND_TOOLKIT_PM="#"
50261 if test "x$TOOLKIT" = "xPM" ; then
50262 COND_TOOLKIT_PM=""
50263 fi
50264
50265 COND_TOOLKIT_PM_USE_GUI_1="#"
50266 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50267 COND_TOOLKIT_PM_USE_GUI_1=""
50268 fi
50269
50270 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50271 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50272 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50273 fi
50274
50275 COND_TOOLKIT_WINCE="#"
50276 if test "x$TOOLKIT" = "xWINCE" ; then
50277 COND_TOOLKIT_WINCE=""
50278 fi
50279
50280 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50281 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50282 COND_TOOLKIT_WINCE_USE_GUI_1=""
50283 fi
50284
50285 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50286 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50287 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50288 fi
50289
50290 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50291 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50292 COND_TOOLKIT_WINCE_WXUNIV_0=""
50293 fi
50294
50295 COND_TOOLKIT_X11="#"
50296 if test "x$TOOLKIT" = "xX11" ; then
50297 COND_TOOLKIT_X11=""
50298 fi
50299
50300 COND_TOOLKIT_X11_USE_GUI_1="#"
50301 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50302 COND_TOOLKIT_X11_USE_GUI_1=""
50303 fi
50304
50305 COND_UNICODE_1="#"
50306 if test "x$UNICODE" = "x1" ; then
50307 COND_UNICODE_1=""
50308 fi
50309
50310 COND_USE_EXCEPTIONS_0="#"
50311 if test "x$USE_EXCEPTIONS" = "x0" ; then
50312 COND_USE_EXCEPTIONS_0=""
50313 fi
50314
50315 COND_USE_EXCEPTIONS_1="#"
50316 if test "x$USE_EXCEPTIONS" = "x1" ; then
50317 COND_USE_EXCEPTIONS_1=""
50318 fi
50319
50320 COND_USE_GUI_0="#"
50321 if test "x$USE_GUI" = "x0" ; then
50322 COND_USE_GUI_0=""
50323 fi
50324
50325 COND_USE_GUI_1="#"
50326 if test "x$USE_GUI" = "x1" ; then
50327 COND_USE_GUI_1=""
50328 fi
50329
50330 COND_USE_GUI_1_USE_OPENGL_1="#"
50331 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50332 COND_USE_GUI_1_USE_OPENGL_1=""
50333 fi
50334
50335 COND_USE_GUI_1_WXUNIV_0="#"
50336 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50337 COND_USE_GUI_1_WXUNIV_0=""
50338 fi
50339
50340 COND_USE_GUI_1_WXUNIV_1="#"
50341 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50342 COND_USE_GUI_1_WXUNIV_1=""
50343 fi
50344
50345 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50346 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50347 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50348 fi
50349
50350 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50351 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50352 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50353 fi
50354
50355 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50356 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50357 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50358 fi
50359
50360 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50361 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50362 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50363 fi
50364
50365 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50366 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50367 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50368 fi
50369
50370 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50371 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50372 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50373 fi
50374
50375 COND_USE_OPENGL_1="#"
50376 if test "x$USE_OPENGL" = "x1" ; then
50377 COND_USE_OPENGL_1=""
50378 fi
50379
50380 COND_USE_PCH_1="#"
50381 if test "x$USE_PCH" = "x1" ; then
50382 COND_USE_PCH_1=""
50383 fi
50384
50385 COND_USE_PLUGINS_0="#"
50386 if test "x$USE_PLUGINS" = "x0" ; then
50387 COND_USE_PLUGINS_0=""
50388 fi
50389
50390 COND_USE_RTTI_0="#"
50391 if test "x$USE_RTTI" = "x0" ; then
50392 COND_USE_RTTI_0=""
50393 fi
50394
50395 COND_USE_RTTI_1="#"
50396 if test "x$USE_RTTI" = "x1" ; then
50397 COND_USE_RTTI_1=""
50398 fi
50399
50400 COND_USE_SOSYMLINKS_1="#"
50401 if test "x$USE_SOSYMLINKS" = "x1" ; then
50402 COND_USE_SOSYMLINKS_1=""
50403 fi
50404
50405 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50406 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50407 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50408 fi
50409
50410 COND_USE_SOVERLINUX_1="#"
50411 if test "x$USE_SOVERLINUX" = "x1" ; then
50412 COND_USE_SOVERLINUX_1=""
50413 fi
50414
50415 COND_USE_SOVERSION_0="#"
50416 if test "x$USE_SOVERSION" = "x0" ; then
50417 COND_USE_SOVERSION_0=""
50418 fi
50419
50420 COND_USE_SOVERSOLARIS_1="#"
50421 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50422 COND_USE_SOVERSOLARIS_1=""
50423 fi
50424
50425 COND_USE_STC_1="#"
50426 if test "x$USE_STC" = "x1" ; then
50427 COND_USE_STC_1=""
50428 fi
50429
50430 COND_USE_THREADS_0="#"
50431 if test "x$USE_THREADS" = "x0" ; then
50432 COND_USE_THREADS_0=""
50433 fi
50434
50435 COND_USE_THREADS_1="#"
50436 if test "x$USE_THREADS" = "x1" ; then
50437 COND_USE_THREADS_1=""
50438 fi
50439
50440 COND_USE_XRC_1="#"
50441 if test "x$USE_XRC" = "x1" ; then
50442 COND_USE_XRC_1=""
50443 fi
50444
50445 COND_WINDOWS_IMPLIB_1="#"
50446 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50447 COND_WINDOWS_IMPLIB_1=""
50448 fi
50449
50450 COND_WITH_PLUGIN_SDL_1="#"
50451 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50452 COND_WITH_PLUGIN_SDL_1=""
50453 fi
50454
50455 COND_WXUNIV_0="#"
50456 if test "x$WXUNIV" = "x0" ; then
50457 COND_WXUNIV_0=""
50458 fi
50459
50460 COND_WXUNIV_1="#"
50461 if test "x$WXUNIV" = "x1" ; then
50462 COND_WXUNIV_1=""
50463 fi
50464
50465 COND_WXUSE_EXPAT_BUILTIN="#"
50466 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50467 COND_WXUSE_EXPAT_BUILTIN=""
50468 fi
50469
50470 COND_WXUSE_LIBJPEG_BUILTIN="#"
50471 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50472 COND_WXUSE_LIBJPEG_BUILTIN=""
50473 fi
50474
50475 COND_WXUSE_LIBPNG_BUILTIN="#"
50476 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50477 COND_WXUSE_LIBPNG_BUILTIN=""
50478 fi
50479
50480 COND_WXUSE_LIBTIFF_BUILTIN="#"
50481 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50482 COND_WXUSE_LIBTIFF_BUILTIN=""
50483 fi
50484
50485 COND_WXUSE_REGEX_BUILTIN="#"
50486 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50487 COND_WXUSE_REGEX_BUILTIN=""
50488 fi
50489
50490 COND_WXUSE_ZLIB_BUILTIN="#"
50491 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50492 COND_WXUSE_ZLIB_BUILTIN=""
50493 fi
50494
50495 COND_wxUSE_EXPAT_builtin="#"
50496 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50497 COND_wxUSE_EXPAT_builtin=""
50498 fi
50499
50500 COND_wxUSE_LIBJPEG_builtin="#"
50501 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50502 COND_wxUSE_LIBJPEG_builtin=""
50503 fi
50504
50505 COND_wxUSE_LIBPNG_builtin="#"
50506 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50507 COND_wxUSE_LIBPNG_builtin=""
50508 fi
50509
50510 COND_wxUSE_LIBTIFF_builtin="#"
50511 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50512 COND_wxUSE_LIBTIFF_builtin=""
50513 fi
50514
50515 COND_wxUSE_REGEX_builtin="#"
50516 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50517 COND_wxUSE_REGEX_builtin=""
50518 fi
50519
50520 COND_wxUSE_ZLIB_builtin="#"
50521 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50522 COND_wxUSE_ZLIB_builtin=""
50523 fi
50524
50525
50526
50527 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50528 { { 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
50529 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;}
50530 { (exit 1); exit 1; }; }
50531 fi
50532
50533 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50534 { { 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
50535 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;}
50536 { (exit 1); exit 1; }; }
50537 fi
50538
50539
50540 case ${INSTALL} in
50541 /* ) # Absolute
50542 ;;
50543 ?:* ) # Drive letter, considered as absolute.
50544 ;;
50545 *)
50546 INSTALL=`pwd`/${INSTALL} ;;
50547 esac
50548
50549 if test "$wxUSE_GUI" = "yes"; then
50550
50551 if test "$wxUSE_MSW" = 1 ; then
50552 if test "x$WINDRES" = "x"; then
50553 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50554 echo "$as_me: error: Required windres program not found" >&2;}
50555 { (exit 1); exit 1; }; }
50556 fi
50557
50558 RESCOMP="$WINDRES"
50559 fi
50560
50561 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50562 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50563 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50564
50565 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50566
50567 # Extract the first word of "DeRez", so it can be a program name with args.
50568 set dummy DeRez; ac_word=$2
50569 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50571 if test "${ac_cv_prog_DEREZ+set}" = set; then
50572 echo $ECHO_N "(cached) $ECHO_C" >&6
50573 else
50574 if test -n "$DEREZ"; then
50575 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
50576 else
50577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50578 for as_dir in $PATH
50579 do
50580 IFS=$as_save_IFS
50581 test -z "$as_dir" && as_dir=.
50582 for ac_exec_ext in '' $ac_executable_extensions; do
50583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50584 ac_cv_prog_DEREZ="DeRez"
50585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50586 break 2
50587 fi
50588 done
50589 done
50590 IFS=$as_save_IFS
50591
50592 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
50593 fi
50594 fi
50595 DEREZ=$ac_cv_prog_DEREZ
50596 if test -n "$DEREZ"; then
50597 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50598 echo "${ECHO_T}$DEREZ" >&6; }
50599 else
50600 { echo "$as_me:$LINENO: result: no" >&5
50601 echo "${ECHO_T}no" >&6; }
50602 fi
50603
50604
50605
50606 MACSETFILE="\$(SETFILE)"
50607
50608 if test "$wxUSE_OSX_CARBON" = 1; then
50609 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50610 RESCOMP="$REZ"
50611 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
50612 else
50613 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50614 RESCOMP="cat /dev/null \| $REZ"
50615 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50616 fi
50617
50618 else
50619 MACSETFILE="@true"
50620
50621 if test "$wxUSE_PM" = 1; then
50622 RESCOMP="emxbind"
50623 WXCONFIG_RESFLAGS="-ep"
50624
50625 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
50626 else
50627 POSTLINK_COMMAND="@true"
50628 fi
50629 fi
50630
50631 fi
50632
50633
50634 if test $GCC_PCH = 1
50635 then
50636 if test "$wx_cv_gcc_pch_bug" = yes; then
50637 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50638 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50639 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50640 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50641 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50642 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50643 fi
50644
50645 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50646 # the headers that benefit from precompilation are mostly C++ headers.
50647 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50648 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50649 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50650 fi
50651
50652
50653 if test "$wxUSE_MAC" = 1 ; then
50654 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50655 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50656 mv temp bk-deps
50657 chmod +x bk-deps
50658 fi
50659 fi
50660
50661 if test "$wxUSE_SHARED" = "yes"; then
50662 case "${host}" in
50663 *-pc-os2_emx | *-pc-os2-emx )
50664 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50665 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50666 cp -p ${srcdir}/src/os2/dllnames.sh .
50667 cp -p ${srcdir}/src/os2/dllar.sh .
50668 ;;
50669 esac
50670 fi
50671 if test "$wxUSE_OMF" = "yes"; then
50672 case "${host}" in
50673 *-pc-os2_emx | *-pc-os2-emx )
50674 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50675 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50676 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50677 ;;
50678 esac
50679 fi
50680
50681 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50682
50683
50684 case "${host}" in
50685 *-*-solaris2* )
50686 if test "$GCC" = yes; then
50687 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
50688 LIBS=`echo $LIBS | sed 's/-mt//'`
50689 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50690 fi
50691 ;;
50692
50693 *-*-linux* )
50694 if test "x$SUNCXX" = xyes; then
50695 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
50696 LIBS=`echo $LIBS | sed 's/-pthread//'`
50697 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50698 fi
50699 ;;
50700 esac
50701
50702 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
50703 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50704 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
50705 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
50706
50707 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50708
50709
50710
50711
50712
50713
50714
50715
50716
50717
50718
50719
50720
50721
50722
50723
50724
50725
50726
50727
50728
50729
50730
50731
50732
50733
50734
50735
50736
50737
50738
50739
50740
50741
50742
50743
50744
50745
50746
50747
50748
50749
50750
50751
50752
50753
50754
50755
50756
50757
50758
50759
50760
50761
50762
50763
50764
50765
50766
50767
50768 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50769 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50770 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50771 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50772 echo $ECHO_N "(cached) $ECHO_C" >&6
50773 else
50774 cat >conftest.make <<\_ACEOF
50775 SHELL = /bin/sh
50776 all:
50777 @echo '@@@%%%=$(MAKE)=@@@%%%'
50778 _ACEOF
50779 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50780 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50781 *@@@%%%=?*=@@@%%%*)
50782 eval ac_cv_prog_make_${ac_make}_set=yes;;
50783 *)
50784 eval ac_cv_prog_make_${ac_make}_set=no;;
50785 esac
50786 rm -f conftest.make
50787 fi
50788 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50789 { echo "$as_me:$LINENO: result: yes" >&5
50790 echo "${ECHO_T}yes" >&6; }
50791 SET_MAKE=
50792 else
50793 { echo "$as_me:$LINENO: result: no" >&5
50794 echo "${ECHO_T}no" >&6; }
50795 SET_MAKE="MAKE=${MAKE-make}"
50796 fi
50797
50798
50799
50800 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50801
50802
50803 if test "$USE_WIN32" = 1; then
50804 ac_config_commands="$ac_config_commands rcdefs.h"
50805
50806 fi
50807
50808 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50809
50810
50811 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50812
50813
50814 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
50815
50816
50817 if test "$wx_cv_version_script" = "yes"; then
50818 ac_config_files="$ac_config_files version-script"
50819
50820 fi
50821 ac_config_files="$ac_config_files Makefile"
50822
50823
50824 ac_config_commands="$ac_config_commands wx-config"
50825
50826
50827
50828 if test "$wxWITH_SUBDIRS" != "no"; then
50829 if test "$wxUSE_GUI" = "yes"; then
50830 SUBDIRS="samples demos utils"
50831 else
50832 SUBDIRS="samples utils"
50833 fi
50834
50835
50836
50837 # Check whether --with-cppunit-prefix was given.
50838 if test "${with_cppunit_prefix+set}" = set; then
50839 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
50840 else
50841 cppunit_config_prefix=""
50842 fi
50843
50844
50845 # Check whether --with-cppunit-exec-prefix was given.
50846 if test "${with_cppunit_exec_prefix+set}" = set; then
50847 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
50848 else
50849 cppunit_config_exec_prefix=""
50850 fi
50851
50852
50853 if test x$cppunit_config_exec_prefix != x ; then
50854 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50855 if test x${CPPUNIT_CONFIG+set} != xset ; then
50856 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50857 fi
50858 fi
50859 if test x$cppunit_config_prefix != x ; then
50860 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50861 if test x${CPPUNIT_CONFIG+set} != xset ; then
50862 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50863 fi
50864 fi
50865
50866 # Extract the first word of "cppunit-config", so it can be a program name with args.
50867 set dummy cppunit-config; ac_word=$2
50868 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50870 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50871 echo $ECHO_N "(cached) $ECHO_C" >&6
50872 else
50873 case $CPPUNIT_CONFIG in
50874 [\\/]* | ?:[\\/]*)
50875 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50876 ;;
50877 *)
50878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50879 for as_dir in $PATH
50880 do
50881 IFS=$as_save_IFS
50882 test -z "$as_dir" && as_dir=.
50883 for ac_exec_ext in '' $ac_executable_extensions; do
50884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50885 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50887 break 2
50888 fi
50889 done
50890 done
50891 IFS=$as_save_IFS
50892
50893 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50894 ;;
50895 esac
50896 fi
50897 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50898 if test -n "$CPPUNIT_CONFIG"; then
50899 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50900 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
50901 else
50902 { echo "$as_me:$LINENO: result: no" >&5
50903 echo "${ECHO_T}no" >&6; }
50904 fi
50905
50906
50907 cppunit_version_min=1.8.0
50908
50909 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50910 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
50911 no_cppunit=""
50912 if test "$CPPUNIT_CONFIG" = "no" ; then
50913 { echo "$as_me:$LINENO: result: no" >&5
50914 echo "${ECHO_T}no" >&6; }
50915 no_cppunit=yes
50916 else
50917 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50918 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50919 cppunit_version=`$CPPUNIT_CONFIG --version`
50920
50921 cppunit_major_version=`echo $cppunit_version | \
50922 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50923 cppunit_minor_version=`echo $cppunit_version | \
50924 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50925 cppunit_micro_version=`echo $cppunit_version | \
50926 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50927
50928 cppunit_major_min=`echo $cppunit_version_min | \
50929 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50930 cppunit_minor_min=`echo $cppunit_version_min | \
50931 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50932 cppunit_micro_min=`echo $cppunit_version_min | \
50933 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50934
50935 cppunit_version_proper=`expr \
50936 $cppunit_major_version \> $cppunit_major_min \| \
50937 $cppunit_major_version \= $cppunit_major_min \& \
50938 $cppunit_minor_version \> $cppunit_minor_min \| \
50939 $cppunit_major_version \= $cppunit_major_min \& \
50940 $cppunit_minor_version \= $cppunit_minor_min \& \
50941 $cppunit_micro_version \>= $cppunit_micro_min `
50942
50943 if test "$cppunit_version_proper" = "1" ; then
50944 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50945 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
50946 else
50947 { echo "$as_me:$LINENO: result: no" >&5
50948 echo "${ECHO_T}no" >&6; }
50949 no_cppunit=yes
50950 fi
50951 fi
50952
50953 if test "x$no_cppunit" = x ; then
50954 SUBDIRS="$SUBDIRS tests"
50955 else
50956 CPPUNIT_CFLAGS=""
50957 CPPUNIT_LIBS=""
50958 :
50959 fi
50960
50961
50962
50963
50964
50965 for subdir in $SUBDIRS; do
50966 if test -d ${srcdir}/${subdir} ; then
50967 if test "$wxUSE_GUI" = "yes"; then
50968 if test ${subdir} = "samples"; then
50969 makefiles="samples/Makefile.in $makefiles"
50970 for sample in $SAMPLES_SUBDIRS; do
50971 if test -d $srcdir/samples/$sample; then
50972 makefiles="samples/$sample/Makefile.in $makefiles"
50973 fi
50974 done
50975 else
50976 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
50977 eval "disabled=\$$disabled_var"
50978 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50979 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50980 fi
50981 else
50982 if test ${subdir} = "samples"; then
50983 makefiles="samples/Makefile.in $makefiles"
50984 for sample in `echo $SAMPLES_SUBDIRS`; do
50985 if test -d $srcdir/samples/$sample; then
50986 makefiles="samples/$sample/Makefile.in $makefiles"
50987 fi
50988 done
50989 elif test ${subdir} = "utils"; then
50990 makefiles=""
50991 for util in ifacecheck ; do
50992 if test -d $srcdir/utils/$util ; then
50993 makefiles="utils/$util/src/Makefile.in \
50994 $makefiles"
50995 fi
50996 done
50997 else
50998 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50999 fi
51000 fi
51001
51002 for mkin in $makefiles ; do
51003 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51004 ac_config_files="$ac_config_files $mk"
51005
51006 done
51007 fi
51008 done
51009 fi
51010 cat >confcache <<\_ACEOF
51011 # This file is a shell script that caches the results of configure
51012 # tests run on this system so they can be shared between configure
51013 # scripts and configure runs, see configure's option --config-cache.
51014 # It is not useful on other systems. If it contains results you don't
51015 # want to keep, you may remove or edit it.
51016 #
51017 # config.status only pays attention to the cache file if you give it
51018 # the --recheck option to rerun configure.
51019 #
51020 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51021 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51022 # following values.
51023
51024 _ACEOF
51025
51026 # The following way of writing the cache mishandles newlines in values,
51027 # but we know of no workaround that is simple, portable, and efficient.
51028 # So, we kill variables containing newlines.
51029 # Ultrix sh set writes to stderr and can't be redirected directly,
51030 # and sets the high bit in the cache file unless we assign to the vars.
51031 (
51032 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51033 eval ac_val=\$$ac_var
51034 case $ac_val in #(
51035 *${as_nl}*)
51036 case $ac_var in #(
51037 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51038 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51039 esac
51040 case $ac_var in #(
51041 _ | IFS | as_nl) ;; #(
51042 *) $as_unset $ac_var ;;
51043 esac ;;
51044 esac
51045 done
51046
51047 (set) 2>&1 |
51048 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51049 *${as_nl}ac_space=\ *)
51050 # `set' does not quote correctly, so add quotes (double-quote
51051 # substitution turns \\\\ into \\, and sed turns \\ into \).
51052 sed -n \
51053 "s/'/'\\\\''/g;
51054 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51055 ;; #(
51056 *)
51057 # `set' quotes correctly as required by POSIX, so do not add quotes.
51058 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51059 ;;
51060 esac |
51061 sort
51062 ) |
51063 sed '
51064 /^ac_cv_env_/b end
51065 t clear
51066 :clear
51067 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51068 t end
51069 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51070 :end' >>confcache
51071 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
51072 if test -w "$cache_file"; then
51073 test "x$cache_file" != "x/dev/null" &&
51074 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51075 echo "$as_me: updating cache $cache_file" >&6;}
51076 cat confcache >$cache_file
51077 else
51078 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51079 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51080 fi
51081 fi
51082 rm -f confcache
51083
51084 test "x$prefix" = xNONE && prefix=$ac_default_prefix
51085 # Let make expand exec_prefix.
51086 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
51087
51088 DEFS=-DHAVE_CONFIG_H
51089
51090 ac_libobjs=
51091 ac_ltlibobjs=
51092 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
51093 # 1. Remove the extension, and $U if already installed.
51094 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
51095 ac_i=`echo "$ac_i" | sed "$ac_script"`
51096 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51097 # will be set to the directory where LIBOBJS objects are built.
51098 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51099 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51100 done
51101 LIBOBJS=$ac_libobjs
51102
51103 LTLIBOBJS=$ac_ltlibobjs
51104
51105
51106
51107 : ${CONFIG_STATUS=./config.status}
51108 ac_clean_files_save=$ac_clean_files
51109 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
51110 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51111 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51112 cat >$CONFIG_STATUS <<_ACEOF
51113 #! $SHELL
51114 # Generated by $as_me.
51115 # Run this file to recreate the current configuration.
51116 # Compiler output produced by configure, useful for debugging
51117 # configure, is in config.log if it exists.
51118
51119 debug=false
51120 ac_cs_recheck=false
51121 ac_cs_silent=false
51122 SHELL=\${CONFIG_SHELL-$SHELL}
51123 _ACEOF
51124
51125 cat >>$CONFIG_STATUS <<\_ACEOF
51126 ## --------------------- ##
51127 ## M4sh Initialization. ##
51128 ## --------------------- ##
51129
51130 # Be more Bourne compatible
51131 DUALCASE=1; export DUALCASE # for MKS sh
51132 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51133 emulate sh
51134 NULLCMD=:
51135 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51136 # is contrary to our usage. Disable this feature.
51137 alias -g '${1+"$@"}'='"$@"'
51138 setopt NO_GLOB_SUBST
51139 else
51140 case `(set -o) 2>/dev/null` in
51141 *posix*) set -o posix ;;
51142 esac
51143
51144 fi
51145
51146
51147
51148
51149 # PATH needs CR
51150 # Avoid depending upon Character Ranges.
51151 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51152 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51153 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51154 as_cr_digits='0123456789'
51155 as_cr_alnum=$as_cr_Letters$as_cr_digits
51156
51157 # The user is always right.
51158 if test "${PATH_SEPARATOR+set}" != set; then
51159 echo "#! /bin/sh" >conf$$.sh
51160 echo "exit 0" >>conf$$.sh
51161 chmod +x conf$$.sh
51162 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51163 PATH_SEPARATOR=';'
51164 else
51165 PATH_SEPARATOR=:
51166 fi
51167 rm -f conf$$.sh
51168 fi
51169
51170 # Support unset when possible.
51171 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51172 as_unset=unset
51173 else
51174 as_unset=false
51175 fi
51176
51177
51178 # IFS
51179 # We need space, tab and new line, in precisely that order. Quoting is
51180 # there to prevent editors from complaining about space-tab.
51181 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51182 # splitting by setting IFS to empty value.)
51183 as_nl='
51184 '
51185 IFS=" "" $as_nl"
51186
51187 # Find who we are. Look in the path if we contain no directory separator.
51188 case $0 in
51189 *[\\/]* ) as_myself=$0 ;;
51190 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51191 for as_dir in $PATH
51192 do
51193 IFS=$as_save_IFS
51194 test -z "$as_dir" && as_dir=.
51195 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51196 done
51197 IFS=$as_save_IFS
51198
51199 ;;
51200 esac
51201 # We did not find ourselves, most probably we were run as `sh COMMAND'
51202 # in which case we are not to be found in the path.
51203 if test "x$as_myself" = x; then
51204 as_myself=$0
51205 fi
51206 if test ! -f "$as_myself"; then
51207 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51208 { (exit 1); exit 1; }
51209 fi
51210
51211 # Work around bugs in pre-3.0 UWIN ksh.
51212 for as_var in ENV MAIL MAILPATH
51213 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51214 done
51215 PS1='$ '
51216 PS2='> '
51217 PS4='+ '
51218
51219 # NLS nuisances.
51220 for as_var in \
51221 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51222 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51223 LC_TELEPHONE LC_TIME
51224 do
51225 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51226 eval $as_var=C; export $as_var
51227 else
51228 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51229 fi
51230 done
51231
51232 # Required to use basename.
51233 if expr a : '\(a\)' >/dev/null 2>&1 &&
51234 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51235 as_expr=expr
51236 else
51237 as_expr=false
51238 fi
51239
51240 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51241 as_basename=basename
51242 else
51243 as_basename=false
51244 fi
51245
51246
51247 # Name of the executable.
51248 as_me=`$as_basename -- "$0" ||
51249 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51250 X"$0" : 'X\(//\)$' \| \
51251 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51252 echo X/"$0" |
51253 sed '/^.*\/\([^/][^/]*\)\/*$/{
51254 s//\1/
51255 q
51256 }
51257 /^X\/\(\/\/\)$/{
51258 s//\1/
51259 q
51260 }
51261 /^X\/\(\/\).*/{
51262 s//\1/
51263 q
51264 }
51265 s/.*/./; q'`
51266
51267 # CDPATH.
51268 $as_unset CDPATH
51269
51270
51271
51272 as_lineno_1=$LINENO
51273 as_lineno_2=$LINENO
51274 test "x$as_lineno_1" != "x$as_lineno_2" &&
51275 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51276
51277 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51278 # uniformly replaced by the line number. The first 'sed' inserts a
51279 # line-number line after each line using $LINENO; the second 'sed'
51280 # does the real work. The second script uses 'N' to pair each
51281 # line-number line with the line containing $LINENO, and appends
51282 # trailing '-' during substitution so that $LINENO is not a special
51283 # case at line end.
51284 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51285 # scripts with optimization help from Paolo Bonzini. Blame Lee
51286 # E. McMahon (1931-1989) for sed's syntax. :-)
51287 sed -n '
51288 p
51289 /[$]LINENO/=
51290 ' <$as_myself |
51291 sed '
51292 s/[$]LINENO.*/&-/
51293 t lineno
51294 b
51295 :lineno
51296 N
51297 :loop
51298 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51299 t loop
51300 s/-\n.*//
51301 ' >$as_me.lineno &&
51302 chmod +x "$as_me.lineno" ||
51303 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51304 { (exit 1); exit 1; }; }
51305
51306 # Don't try to exec as it changes $[0], causing all sort of problems
51307 # (the dirname of $[0] is not the place where we might find the
51308 # original and so on. Autoconf is especially sensitive to this).
51309 . "./$as_me.lineno"
51310 # Exit status is that of the last command.
51311 exit
51312 }
51313
51314
51315 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
51316 as_dirname=dirname
51317 else
51318 as_dirname=false
51319 fi
51320
51321 ECHO_C= ECHO_N= ECHO_T=
51322 case `echo -n x` in
51323 -n*)
51324 case `echo 'x\c'` in
51325 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
51326 *) ECHO_C='\c';;
51327 esac;;
51328 *)
51329 ECHO_N='-n';;
51330 esac
51331
51332 if expr a : '\(a\)' >/dev/null 2>&1 &&
51333 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51334 as_expr=expr
51335 else
51336 as_expr=false
51337 fi
51338
51339 rm -f conf$$ conf$$.exe conf$$.file
51340 if test -d conf$$.dir; then
51341 rm -f conf$$.dir/conf$$.file
51342 else
51343 rm -f conf$$.dir
51344 mkdir conf$$.dir
51345 fi
51346 echo >conf$$.file
51347 if ln -s conf$$.file conf$$ 2>/dev/null; then
51348 as_ln_s='ln -s'
51349 # ... but there are two gotchas:
51350 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51351 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51352 # In both cases, we have to default to `cp -p'.
51353 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
51354 as_ln_s='cp -p'
51355 elif ln conf$$.file conf$$ 2>/dev/null; then
51356 as_ln_s=ln
51357 else
51358 as_ln_s='cp -p'
51359 fi
51360 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
51361 rmdir conf$$.dir 2>/dev/null
51362
51363 if mkdir -p . 2>/dev/null; then
51364 as_mkdir_p=:
51365 else
51366 test -d ./-p && rmdir ./-p
51367 as_mkdir_p=false
51368 fi
51369
51370 if test -x / >/dev/null 2>&1; then
51371 as_test_x='test -x'
51372 else
51373 if ls -dL / >/dev/null 2>&1; then
51374 as_ls_L_option=L
51375 else
51376 as_ls_L_option=
51377 fi
51378 as_test_x='
51379 eval sh -c '\''
51380 if test -d "$1"; then
51381 test -d "$1/.";
51382 else
51383 case $1 in
51384 -*)set "./$1";;
51385 esac;
51386 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51387 ???[sx]*):;;*)false;;esac;fi
51388 '\'' sh
51389 '
51390 fi
51391 as_executable_p=$as_test_x
51392
51393 # Sed expression to map a string onto a valid CPP name.
51394 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51395
51396 # Sed expression to map a string onto a valid variable name.
51397 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51398
51399
51400 exec 6>&1
51401
51402 # Save the log message, to keep $[0] and so on meaningful, and to
51403 # report actual input values of CONFIG_FILES etc. instead of their
51404 # values after options handling.
51405 ac_log="
51406 This file was extended by wxWidgets $as_me 2.9.0, which was
51407 generated by GNU Autoconf 2.61. Invocation command line was
51408
51409 CONFIG_FILES = $CONFIG_FILES
51410 CONFIG_HEADERS = $CONFIG_HEADERS
51411 CONFIG_LINKS = $CONFIG_LINKS
51412 CONFIG_COMMANDS = $CONFIG_COMMANDS
51413 $ $0 $@
51414
51415 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51416 "
51417
51418 _ACEOF
51419
51420 cat >>$CONFIG_STATUS <<_ACEOF
51421 # Files that config.status was made for.
51422 config_files="$ac_config_files"
51423 config_headers="$ac_config_headers"
51424 config_commands="$ac_config_commands"
51425
51426 _ACEOF
51427
51428 cat >>$CONFIG_STATUS <<\_ACEOF
51429 ac_cs_usage="\
51430 \`$as_me' instantiates files from templates according to the
51431 current configuration.
51432
51433 Usage: $0 [OPTIONS] [FILE]...
51434
51435 -h, --help print this help, then exit
51436 -V, --version print version number and configuration settings, then exit
51437 -q, --quiet do not print progress messages
51438 -d, --debug don't remove temporary files
51439 --recheck update $as_me by reconfiguring in the same conditions
51440 --file=FILE[:TEMPLATE]
51441 instantiate the configuration file FILE
51442 --header=FILE[:TEMPLATE]
51443 instantiate the configuration header FILE
51444
51445 Configuration files:
51446 $config_files
51447
51448 Configuration headers:
51449 $config_headers
51450
51451 Configuration commands:
51452 $config_commands
51453
51454 Report bugs to <bug-autoconf@gnu.org>."
51455
51456 _ACEOF
51457 cat >>$CONFIG_STATUS <<_ACEOF
51458 ac_cs_version="\\
51459 wxWidgets config.status 2.9.0
51460 configured by $0, generated by GNU Autoconf 2.61,
51461 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51462
51463 Copyright (C) 2006 Free Software Foundation, Inc.
51464 This config.status script is free software; the Free Software Foundation
51465 gives unlimited permission to copy, distribute and modify it."
51466
51467 ac_pwd='$ac_pwd'
51468 srcdir='$srcdir'
51469 INSTALL='$INSTALL'
51470 _ACEOF
51471
51472 cat >>$CONFIG_STATUS <<\_ACEOF
51473 # If no file are specified by the user, then we need to provide default
51474 # value. By we need to know if files were specified by the user.
51475 ac_need_defaults=:
51476 while test $# != 0
51477 do
51478 case $1 in
51479 --*=*)
51480 ac_option=`expr "X$1" : 'X\([^=]*\)='`
51481 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
51482 ac_shift=:
51483 ;;
51484 *)
51485 ac_option=$1
51486 ac_optarg=$2
51487 ac_shift=shift
51488 ;;
51489 esac
51490
51491 case $ac_option in
51492 # Handling of the options.
51493 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51494 ac_cs_recheck=: ;;
51495 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51496 echo "$ac_cs_version"; exit ;;
51497 --debug | --debu | --deb | --de | --d | -d )
51498 debug=: ;;
51499 --file | --fil | --fi | --f )
51500 $ac_shift
51501 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51502 ac_need_defaults=false;;
51503 --header | --heade | --head | --hea )
51504 $ac_shift
51505 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51506 ac_need_defaults=false;;
51507 --he | --h)
51508 # Conflict between --help and --header
51509 { echo "$as_me: error: ambiguous option: $1
51510 Try \`$0 --help' for more information." >&2
51511 { (exit 1); exit 1; }; };;
51512 --help | --hel | -h )
51513 echo "$ac_cs_usage"; exit ;;
51514 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51515 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51516 ac_cs_silent=: ;;
51517
51518 # This is an error.
51519 -*) { echo "$as_me: error: unrecognized option: $1
51520 Try \`$0 --help' for more information." >&2
51521 { (exit 1); exit 1; }; } ;;
51522
51523 *) ac_config_targets="$ac_config_targets $1"
51524 ac_need_defaults=false ;;
51525
51526 esac
51527 shift
51528 done
51529
51530 ac_configure_extra_args=
51531
51532 if $ac_cs_silent; then
51533 exec 6>/dev/null
51534 ac_configure_extra_args="$ac_configure_extra_args --silent"
51535 fi
51536
51537 _ACEOF
51538 cat >>$CONFIG_STATUS <<_ACEOF
51539 if \$ac_cs_recheck; then
51540 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51541 CONFIG_SHELL=$SHELL
51542 export CONFIG_SHELL
51543 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51544 fi
51545
51546 _ACEOF
51547 cat >>$CONFIG_STATUS <<\_ACEOF
51548 exec 5>>config.log
51549 {
51550 echo
51551 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51552 ## Running $as_me. ##
51553 _ASBOX
51554 echo "$ac_log"
51555 } >&5
51556
51557 _ACEOF
51558 cat >>$CONFIG_STATUS <<_ACEOF
51559 #
51560 # INIT-COMMANDS
51561 #
51562
51563 CPP="$CPP"
51564 infile="$srcdir/include/wx/msw/genrcdefs.h"
51565 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51566
51567
51568 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51569 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51570 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51571 LN_S="${LN_S}"
51572
51573
51574 _ACEOF
51575
51576 cat >>$CONFIG_STATUS <<\_ACEOF
51577
51578 # Handling of arguments.
51579 for ac_config_target in $ac_config_targets
51580 do
51581 case $ac_config_target in
51582 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51583 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51584 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51585 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51586 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51587 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
51588 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51589 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51590 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
51591
51592 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51593 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51594 { (exit 1); exit 1; }; };;
51595 esac
51596 done
51597
51598
51599 # If the user did not use the arguments to specify the items to instantiate,
51600 # then the envvar interface is used. Set only those that are not.
51601 # We use the long form for the default assignment because of an extremely
51602 # bizarre bug on SunOS 4.1.3.
51603 if $ac_need_defaults; then
51604 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51605 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51606 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51607 fi
51608
51609 # Have a temporary directory for convenience. Make it in the build tree
51610 # simply because there is no reason against having it here, and in addition,
51611 # creating and moving files from /tmp can sometimes cause problems.
51612 # Hook for its removal unless debugging.
51613 # Note that there is a small window in which the directory will not be cleaned:
51614 # after its creation but before its name has been assigned to `$tmp'.
51615 $debug ||
51616 {
51617 tmp=
51618 trap 'exit_status=$?
51619 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51620 ' 0
51621 trap '{ (exit 1); exit 1; }' 1 2 13 15
51622 }
51623 # Create a (secure) tmp directory for tmp files.
51624
51625 {
51626 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51627 test -n "$tmp" && test -d "$tmp"
51628 } ||
51629 {
51630 tmp=./conf$$-$RANDOM
51631 (umask 077 && mkdir "$tmp")
51632 } ||
51633 {
51634 echo "$me: cannot create a temporary directory in ." >&2
51635 { (exit 1); exit 1; }
51636 }
51637
51638 #
51639 # Set up the sed scripts for CONFIG_FILES section.
51640 #
51641
51642 # No need to generate the scripts if there are no CONFIG_FILES.
51643 # This happens for instance when ./config.status config.h
51644 if test -n "$CONFIG_FILES"; then
51645
51646 _ACEOF
51647
51648
51649
51650 ac_delim='%!_!# '
51651 for ac_last_try in false false false false false :; do
51652 cat >conf$$subs.sed <<_ACEOF
51653 SHELL!$SHELL$ac_delim
51654 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51655 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51656 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51657 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51658 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51659 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51660 exec_prefix!$exec_prefix$ac_delim
51661 prefix!$prefix$ac_delim
51662 program_transform_name!$program_transform_name$ac_delim
51663 bindir!$bindir$ac_delim
51664 sbindir!$sbindir$ac_delim
51665 libexecdir!$libexecdir$ac_delim
51666 datarootdir!$datarootdir$ac_delim
51667 datadir!$datadir$ac_delim
51668 sysconfdir!$sysconfdir$ac_delim
51669 sharedstatedir!$sharedstatedir$ac_delim
51670 localstatedir!$localstatedir$ac_delim
51671 includedir!$includedir$ac_delim
51672 oldincludedir!$oldincludedir$ac_delim
51673 docdir!$docdir$ac_delim
51674 infodir!$infodir$ac_delim
51675 htmldir!$htmldir$ac_delim
51676 dvidir!$dvidir$ac_delim
51677 pdfdir!$pdfdir$ac_delim
51678 psdir!$psdir$ac_delim
51679 libdir!$libdir$ac_delim
51680 localedir!$localedir$ac_delim
51681 mandir!$mandir$ac_delim
51682 DEFS!$DEFS$ac_delim
51683 ECHO_C!$ECHO_C$ac_delim
51684 ECHO_N!$ECHO_N$ac_delim
51685 ECHO_T!$ECHO_T$ac_delim
51686 LIBS!$LIBS$ac_delim
51687 build_alias!$build_alias$ac_delim
51688 host_alias!$host_alias$ac_delim
51689 target_alias!$target_alias$ac_delim
51690 build!$build$ac_delim
51691 build_cpu!$build_cpu$ac_delim
51692 build_vendor!$build_vendor$ac_delim
51693 build_os!$build_os$ac_delim
51694 host!$host$ac_delim
51695 host_cpu!$host_cpu$ac_delim
51696 host_vendor!$host_vendor$ac_delim
51697 host_os!$host_os$ac_delim
51698 wx_top_builddir!$wx_top_builddir$ac_delim
51699 CC!$CC$ac_delim
51700 CFLAGS!$CFLAGS$ac_delim
51701 LDFLAGS!$LDFLAGS$ac_delim
51702 CPPFLAGS!$CPPFLAGS$ac_delim
51703 ac_ct_CC!$ac_ct_CC$ac_delim
51704 EXEEXT!$EXEEXT$ac_delim
51705 OBJEXT!$OBJEXT$ac_delim
51706 CPP!$CPP$ac_delim
51707 GREP!$GREP$ac_delim
51708 EGREP!$EGREP$ac_delim
51709 CXX!$CXX$ac_delim
51710 CXXFLAGS!$CXXFLAGS$ac_delim
51711 ac_ct_CXX!$ac_ct_CXX$ac_delim
51712 AR!$AR$ac_delim
51713 subdirs!$subdirs$ac_delim
51714 PKG_CONFIG!$PKG_CONFIG$ac_delim
51715 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51716 GTK_LIBS!$GTK_LIBS$ac_delim
51717 GTK_CONFIG!$GTK_CONFIG$ac_delim
51718 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51719 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51720 XMKMF!$XMKMF$ac_delim
51721 X_CFLAGS!$X_CFLAGS$ac_delim
51722 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51723 X_LIBS!$X_LIBS$ac_delim
51724 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51725 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51726 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51727 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51728 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51729 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51730 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51731 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51732 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51733 LIBICONV!$LIBICONV$ac_delim
51734 GXX_VERSION!$GXX_VERSION$ac_delim
51735 SDL_CONFIG!$SDL_CONFIG$ac_delim
51736 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51737 SDL_LIBS!$SDL_LIBS$ac_delim
51738 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51739 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51740 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51741 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51742 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51743 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51744 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51745 HILDON_LIBS!$HILDON_LIBS$ac_delim
51746 PYTHON!$PYTHON$ac_delim
51747 COND_PYTHON!$COND_PYTHON$ac_delim
51748 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51749 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51750 _ACEOF
51751
51752 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51753 break
51754 elif $ac_last_try; then
51755 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51756 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51757 { (exit 1); exit 1; }; }
51758 else
51759 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51760 fi
51761 done
51762
51763 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51764 if test -n "$ac_eof"; then
51765 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51766 ac_eof=`expr $ac_eof + 1`
51767 fi
51768
51769 cat >>$CONFIG_STATUS <<_ACEOF
51770 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51771 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51772 _ACEOF
51773 sed '
51774 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51775 s/^/s,@/; s/!/@,|#_!!_#|/
51776 :n
51777 t n
51778 s/'"$ac_delim"'$/,g/; t
51779 s/$/\\/; p
51780 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51781 ' >>$CONFIG_STATUS <conf$$subs.sed
51782 rm -f conf$$subs.sed
51783 cat >>$CONFIG_STATUS <<_ACEOF
51784 CEOF$ac_eof
51785 _ACEOF
51786
51787
51788 ac_delim='%!_!# '
51789 for ac_last_try in false false false false false :; do
51790 cat >conf$$subs.sed <<_ACEOF
51791 GST_CFLAGS!$GST_CFLAGS$ac_delim
51792 GST_LIBS!$GST_LIBS$ac_delim
51793 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51794 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51795 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51796 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51797 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51798 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51799 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51800 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51801 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51802 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51803 VENDOR!$VENDOR$ac_delim
51804 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51805 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51806 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51807 WXUNIV!$WXUNIV$ac_delim
51808 MONOLITHIC!$MONOLITHIC$ac_delim
51809 USE_PLUGINS!$USE_PLUGINS$ac_delim
51810 CXXWARNINGS!$CXXWARNINGS$ac_delim
51811 EXTRALIBS!$EXTRALIBS$ac_delim
51812 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51813 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51814 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51815 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51816 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51817 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51818 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51819 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51820 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51821 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51822 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51823 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51824 UNICODE!$UNICODE$ac_delim
51825 BUILD!$BUILD$ac_delim
51826 DEBUG_INFO!$DEBUG_INFO$ac_delim
51827 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51828 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51829 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51830 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
51831 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
51832 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51833 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
51834 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51835 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51836 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51837 RANLIB!$RANLIB$ac_delim
51838 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51839 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51840 INSTALL_DATA!$INSTALL_DATA$ac_delim
51841 LN_S!$LN_S$ac_delim
51842 SET_MAKE!$SET_MAKE$ac_delim
51843 MAKE_SET!$MAKE_SET$ac_delim
51844 AROPTIONS!$AROPTIONS$ac_delim
51845 STRIP!$STRIP$ac_delim
51846 NM!$NM$ac_delim
51847 INSTALL_DIR!$INSTALL_DIR$ac_delim
51848 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51849 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51850 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51851 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51852 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51853 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51854 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51855 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51856 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51857 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51858 SO_SUFFIX!$SO_SUFFIX$ac_delim
51859 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51860 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51861 LIBPREFIX!$LIBPREFIX$ac_delim
51862 LIBEXT!$LIBEXT$ac_delim
51863 DLLPREFIX!$DLLPREFIX$ac_delim
51864 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
51865 dlldir!$dlldir$ac_delim
51866 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
51867 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
51868 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
51869 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
51870 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
51871 PIC_FLAG!$PIC_FLAG$ac_delim
51872 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
51873 USE_SOVERSION!$USE_SOVERSION$ac_delim
51874 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
51875 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
51876 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
51877 USE_MACVERSION!$USE_MACVERSION$ac_delim
51878 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
51879 SONAME_FLAG!$SONAME_FLAG$ac_delim
51880 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
51881 BK_DEPS!$BK_DEPS$ac_delim
51882 WINDRES!$WINDRES$ac_delim
51883 REZ!$REZ$ac_delim
51884 SETFILE!$SETFILE$ac_delim
51885 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
51886 GCC_PCH!$GCC_PCH$ac_delim
51887 ICC_PCH!$ICC_PCH$ac_delim
51888 _ACEOF
51889
51890 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51891 break
51892 elif $ac_last_try; then
51893 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51894 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51895 { (exit 1); exit 1; }; }
51896 else
51897 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51898 fi
51899 done
51900
51901 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51902 if test -n "$ac_eof"; then
51903 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51904 ac_eof=`expr $ac_eof + 1`
51905 fi
51906
51907 cat >>$CONFIG_STATUS <<_ACEOF
51908 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
51909 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51910 _ACEOF
51911 sed '
51912 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51913 s/^/s,@/; s/!/@,|#_!!_#|/
51914 :n
51915 t n
51916 s/'"$ac_delim"'$/,g/; t
51917 s/$/\\/; p
51918 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51919 ' >>$CONFIG_STATUS <conf$$subs.sed
51920 rm -f conf$$subs.sed
51921 cat >>$CONFIG_STATUS <<_ACEOF
51922 CEOF$ac_eof
51923 _ACEOF
51924
51925
51926 ac_delim='%!_!# '
51927 for ac_last_try in false false false false false :; do
51928 cat >conf$$subs.sed <<_ACEOF
51929 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
51930 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
51931 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
51932 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
51933 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
51934 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
51935 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
51936 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
51937 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
51938 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
51939 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
51940 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
51941 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
51942 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
51943 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
51944 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
51945 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
51946 COND_BUILD_release!$COND_BUILD_release$ac_delim
51947 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
51948 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
51949 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
51950 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
51951 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
51952 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
51953 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
51954 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
51955 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
51956 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
51957 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
51958 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
51959 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
51960 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
51961 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
51962 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51963 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
51964 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
51965 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
51966 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
51967 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
51968 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
51969 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
51970 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
51971 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
51972 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
51973 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
51974 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
51975 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
51976 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
51977 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
51978 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
51979 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
51980 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51981 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
51982 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
51983 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
51984 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
51985 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
51986 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
51987 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
51988 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
51989 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
51990 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
51991 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
51992 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
51993 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
51994 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
51995 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
51996 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
51997 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
51998 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
51999 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52000 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
52001 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52002 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52003 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52004 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52005 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52006 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52007 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52008 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52009 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52010 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52011 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52012 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52013 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52014 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52015 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52016 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52017 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52018 COND_SHARED_0!$COND_SHARED_0$ac_delim
52019 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52020 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52021 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52022 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52023 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52024 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52025 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52026 _ACEOF
52027
52028 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52029 break
52030 elif $ac_last_try; then
52031 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52032 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52033 { (exit 1); exit 1; }; }
52034 else
52035 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52036 fi
52037 done
52038
52039 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52040 if test -n "$ac_eof"; then
52041 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52042 ac_eof=`expr $ac_eof + 1`
52043 fi
52044
52045 cat >>$CONFIG_STATUS <<_ACEOF
52046 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52047 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52048 _ACEOF
52049 sed '
52050 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52051 s/^/s,@/; s/!/@,|#_!!_#|/
52052 :n
52053 t n
52054 s/'"$ac_delim"'$/,g/; t
52055 s/$/\\/; p
52056 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52057 ' >>$CONFIG_STATUS <conf$$subs.sed
52058 rm -f conf$$subs.sed
52059 cat >>$CONFIG_STATUS <<_ACEOF
52060 CEOF$ac_eof
52061 _ACEOF
52062
52063
52064 ac_delim='%!_!# '
52065 for ac_last_try in false false false false false :; do
52066 cat >conf$$subs.sed <<_ACEOF
52067 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52068 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52069 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52070 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52071 COND_SHARED_1!$COND_SHARED_1$ac_delim
52072 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52073 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52074 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52075 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52076 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52077 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52078 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52079 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52080 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52081 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52082 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52083 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52084 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52085 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52086 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52087 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52088 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52089 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52090 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52091 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52092 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52093 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52094 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52095 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52096 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52097 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52098 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52099 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52100 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52101 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52102 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52103 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52104 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52105 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52106 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52107 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52108 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52109 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52110 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52111 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52112 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52113 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52114 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52115 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52116 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52117 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52118 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52119 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52120 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52121 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52122 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52123 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52124 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52125 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52126 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52127 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52128 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52129 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52130 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
52131 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52132 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52133 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52134 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52135 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52136 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52137 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52138 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52139 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52140 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52141 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52142 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52143 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52144 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52145 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52146 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52147 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52148 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52149 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52150 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52151 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52152 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52153 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52154 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52155 DEREZ!$DEREZ$ac_delim
52156 SHARED!$SHARED$ac_delim
52157 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52158 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52159 USE_GUI!$USE_GUI$ac_delim
52160 AFMINSTALL!$AFMINSTALL$ac_delim
52161 WIN32INSTALL!$WIN32INSTALL$ac_delim
52162 TOOLKIT!$TOOLKIT$ac_delim
52163 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52164 _ACEOF
52165
52166 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52167 break
52168 elif $ac_last_try; then
52169 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52170 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52171 { (exit 1); exit 1; }; }
52172 else
52173 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52174 fi
52175 done
52176
52177 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52178 if test -n "$ac_eof"; then
52179 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52180 ac_eof=`expr $ac_eof + 1`
52181 fi
52182
52183 cat >>$CONFIG_STATUS <<_ACEOF
52184 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52185 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52186 _ACEOF
52187 sed '
52188 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52189 s/^/s,@/; s/!/@,|#_!!_#|/
52190 :n
52191 t n
52192 s/'"$ac_delim"'$/,g/; t
52193 s/$/\\/; p
52194 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52195 ' >>$CONFIG_STATUS <conf$$subs.sed
52196 rm -f conf$$subs.sed
52197 cat >>$CONFIG_STATUS <<_ACEOF
52198 CEOF$ac_eof
52199 _ACEOF
52200
52201
52202 ac_delim='%!_!# '
52203 for ac_last_try in false false false false false :; do
52204 cat >conf$$subs.sed <<_ACEOF
52205 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52206 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52207 cross_compiling!$cross_compiling$ac_delim
52208 WIDGET_SET!$WIDGET_SET$ac_delim
52209 WX_RELEASE!$WX_RELEASE$ac_delim
52210 WX_VERSION!$WX_VERSION$ac_delim
52211 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52212 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52213 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
52214 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52215 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52216 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52217 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52218 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52219 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52220 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52221 GUIDIST!$GUIDIST$ac_delim
52222 DISTDIR!$DISTDIR$ac_delim
52223 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52224 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52225 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52226 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52227 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52228 RESCOMP!$RESCOMP$ac_delim
52229 RESFLAGS!$RESFLAGS$ac_delim
52230 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52231 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52232 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52233 LIBWXMACRES!$LIBWXMACRES$ac_delim
52234 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52235 MACSETFILE!$MACSETFILE$ac_delim
52236 GCC!$GCC$ac_delim
52237 DLLTOOL!$DLLTOOL$ac_delim
52238 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52239 LIBOBJS!$LIBOBJS$ac_delim
52240 LTLIBOBJS!$LTLIBOBJS$ac_delim
52241 _ACEOF
52242
52243 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 36; then
52244 break
52245 elif $ac_last_try; then
52246 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52247 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52248 { (exit 1); exit 1; }; }
52249 else
52250 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52251 fi
52252 done
52253
52254 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52255 if test -n "$ac_eof"; then
52256 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52257 ac_eof=`expr $ac_eof + 1`
52258 fi
52259
52260 cat >>$CONFIG_STATUS <<_ACEOF
52261 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52262 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52263 _ACEOF
52264 sed '
52265 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52266 s/^/s,@/; s/!/@,|#_!!_#|/
52267 :n
52268 t n
52269 s/'"$ac_delim"'$/,g/; t
52270 s/$/\\/; p
52271 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52272 ' >>$CONFIG_STATUS <conf$$subs.sed
52273 rm -f conf$$subs.sed
52274 cat >>$CONFIG_STATUS <<_ACEOF
52275 :end
52276 s/|#_!!_#|//g
52277 CEOF$ac_eof
52278 _ACEOF
52279
52280
52281 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52282 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52283 # trailing colons and then remove the whole line if VPATH becomes empty
52284 # (actually we leave an empty line to preserve line numbers).
52285 if test "x$srcdir" = x.; then
52286 ac_vpsub='/^[ ]*VPATH[ ]*=/{
52287 s/:*\$(srcdir):*/:/
52288 s/:*\${srcdir}:*/:/
52289 s/:*@srcdir@:*/:/
52290 s/^\([^=]*=[ ]*\):*/\1/
52291 s/:*$//
52292 s/^[^=]*=[ ]*$//
52293 }'
52294 fi
52295
52296 cat >>$CONFIG_STATUS <<\_ACEOF
52297 fi # test -n "$CONFIG_FILES"
52298
52299
52300 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
52301 do
52302 case $ac_tag in
52303 :[FHLC]) ac_mode=$ac_tag; continue;;
52304 esac
52305 case $ac_mode$ac_tag in
52306 :[FHL]*:*);;
52307 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52308 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52309 { (exit 1); exit 1; }; };;
52310 :[FH]-) ac_tag=-:-;;
52311 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
52312 esac
52313 ac_save_IFS=$IFS
52314 IFS=:
52315 set x $ac_tag
52316 IFS=$ac_save_IFS
52317 shift
52318 ac_file=$1
52319 shift
52320
52321 case $ac_mode in
52322 :L) ac_source=$1;;
52323 :[FH])
52324 ac_file_inputs=
52325 for ac_f
52326 do
52327 case $ac_f in
52328 -) ac_f="$tmp/stdin";;
52329 *) # Look for the file first in the build tree, then in the source tree
52330 # (if the path is not absolute). The absolute path cannot be DOS-style,
52331 # because $ac_f cannot contain `:'.
52332 test -f "$ac_f" ||
52333 case $ac_f in
52334 [\\/$]*) false;;
52335 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
52336 esac ||
52337 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52338 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52339 { (exit 1); exit 1; }; };;
52340 esac
52341 ac_file_inputs="$ac_file_inputs $ac_f"
52342 done
52343
52344 # Let's still pretend it is `configure' which instantiates (i.e., don't
52345 # use $as_me), people would be surprised to read:
52346 # /* config.h. Generated by config.status. */
52347 configure_input="Generated from "`IFS=:
52348 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52349 if test x"$ac_file" != x-; then
52350 configure_input="$ac_file. $configure_input"
52351 { echo "$as_me:$LINENO: creating $ac_file" >&5
52352 echo "$as_me: creating $ac_file" >&6;}
52353 fi
52354
52355 case $ac_tag in
52356 *:-:* | *:-) cat >"$tmp/stdin";;
52357 esac
52358 ;;
52359 esac
52360
52361 ac_dir=`$as_dirname -- "$ac_file" ||
52362 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52363 X"$ac_file" : 'X\(//\)[^/]' \| \
52364 X"$ac_file" : 'X\(//\)$' \| \
52365 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52366 echo X"$ac_file" |
52367 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52368 s//\1/
52369 q
52370 }
52371 /^X\(\/\/\)[^/].*/{
52372 s//\1/
52373 q
52374 }
52375 /^X\(\/\/\)$/{
52376 s//\1/
52377 q
52378 }
52379 /^X\(\/\).*/{
52380 s//\1/
52381 q
52382 }
52383 s/.*/./; q'`
52384 { as_dir="$ac_dir"
52385 case $as_dir in #(
52386 -*) as_dir=./$as_dir;;
52387 esac
52388 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52389 as_dirs=
52390 while :; do
52391 case $as_dir in #(
52392 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52393 *) as_qdir=$as_dir;;
52394 esac
52395 as_dirs="'$as_qdir' $as_dirs"
52396 as_dir=`$as_dirname -- "$as_dir" ||
52397 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52398 X"$as_dir" : 'X\(//\)[^/]' \| \
52399 X"$as_dir" : 'X\(//\)$' \| \
52400 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52401 echo X"$as_dir" |
52402 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52403 s//\1/
52404 q
52405 }
52406 /^X\(\/\/\)[^/].*/{
52407 s//\1/
52408 q
52409 }
52410 /^X\(\/\/\)$/{
52411 s//\1/
52412 q
52413 }
52414 /^X\(\/\).*/{
52415 s//\1/
52416 q
52417 }
52418 s/.*/./; q'`
52419 test -d "$as_dir" && break
52420 done
52421 test -z "$as_dirs" || eval "mkdir $as_dirs"
52422 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52423 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52424 { (exit 1); exit 1; }; }; }
52425 ac_builddir=.
52426
52427 case "$ac_dir" in
52428 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52429 *)
52430 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52431 # A ".." for each directory in $ac_dir_suffix.
52432 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52433 case $ac_top_builddir_sub in
52434 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52435 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52436 esac ;;
52437 esac
52438 ac_abs_top_builddir=$ac_pwd
52439 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52440 # for backward compatibility:
52441 ac_top_builddir=$ac_top_build_prefix
52442
52443 case $srcdir in
52444 .) # We are building in place.
52445 ac_srcdir=.
52446 ac_top_srcdir=$ac_top_builddir_sub
52447 ac_abs_top_srcdir=$ac_pwd ;;
52448 [\\/]* | ?:[\\/]* ) # Absolute name.
52449 ac_srcdir=$srcdir$ac_dir_suffix;
52450 ac_top_srcdir=$srcdir
52451 ac_abs_top_srcdir=$srcdir ;;
52452 *) # Relative name.
52453 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52454 ac_top_srcdir=$ac_top_build_prefix$srcdir
52455 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52456 esac
52457 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52458
52459
52460 case $ac_mode in
52461 :F)
52462 #
52463 # CONFIG_FILE
52464 #
52465
52466 case $INSTALL in
52467 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52468 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
52469 esac
52470 _ACEOF
52471
52472 cat >>$CONFIG_STATUS <<\_ACEOF
52473 # If the template does not know about datarootdir, expand it.
52474 # FIXME: This hack should be removed a few years after 2.60.
52475 ac_datarootdir_hack=; ac_datarootdir_seen=
52476
52477 case `sed -n '/datarootdir/ {
52478 p
52479 q
52480 }
52481 /@datadir@/p
52482 /@docdir@/p
52483 /@infodir@/p
52484 /@localedir@/p
52485 /@mandir@/p
52486 ' $ac_file_inputs` in
52487 *datarootdir*) ac_datarootdir_seen=yes;;
52488 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
52489 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52490 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52491 _ACEOF
52492 cat >>$CONFIG_STATUS <<_ACEOF
52493 ac_datarootdir_hack='
52494 s&@datadir@&$datadir&g
52495 s&@docdir@&$docdir&g
52496 s&@infodir@&$infodir&g
52497 s&@localedir@&$localedir&g
52498 s&@mandir@&$mandir&g
52499 s&\\\${datarootdir}&$datarootdir&g' ;;
52500 esac
52501 _ACEOF
52502
52503 # Neutralize VPATH when `$srcdir' = `.'.
52504 # Shell code in configure.ac might set extrasub.
52505 # FIXME: do we really want to maintain this feature?
52506 cat >>$CONFIG_STATUS <<_ACEOF
52507 sed "$ac_vpsub
52508 $extrasub
52509 _ACEOF
52510 cat >>$CONFIG_STATUS <<\_ACEOF
52511 :t
52512 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52513 s&@configure_input@&$configure_input&;t t
52514 s&@top_builddir@&$ac_top_builddir_sub&;t t
52515 s&@srcdir@&$ac_srcdir&;t t
52516 s&@abs_srcdir@&$ac_abs_srcdir&;t t
52517 s&@top_srcdir@&$ac_top_srcdir&;t t
52518 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
52519 s&@builddir@&$ac_builddir&;t t
52520 s&@abs_builddir@&$ac_abs_builddir&;t t
52521 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
52522 s&@INSTALL@&$ac_INSTALL&;t t
52523 $ac_datarootdir_hack
52524 " $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
52525
52526 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52527 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
52528 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
52529 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52530 which seems to be undefined. Please make sure it is defined." >&5
52531 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52532 which seems to be undefined. Please make sure it is defined." >&2;}
52533
52534 rm -f "$tmp/stdin"
52535 case $ac_file in
52536 -) cat "$tmp/out"; rm -f "$tmp/out";;
52537 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52538 esac
52539 ;;
52540 :H)
52541 #
52542 # CONFIG_HEADER
52543 #
52544 _ACEOF
52545
52546 # Transform confdefs.h into a sed script `conftest.defines', that
52547 # substitutes the proper values into config.h.in to produce config.h.
52548 rm -f conftest.defines conftest.tail
52549 # First, append a space to every undef/define line, to ease matching.
52550 echo 's/$/ /' >conftest.defines
52551 # Then, protect against being on the right side of a sed subst, or in
52552 # an unquoted here document, in config.status. If some macros were
52553 # called several times there might be several #defines for the same
52554 # symbol, which is useless. But do not sort them, since the last
52555 # AC_DEFINE must be honored.
52556 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
52557 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52558 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52559 # PARAMS is the parameter list in the macro definition--in most cases, it's
52560 # just an empty string.
52561 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52562 ac_dB='\\)[ (].*,\\1define\\2'
52563 ac_dC=' '
52564 ac_dD=' ,'
52565
52566 uniq confdefs.h |
52567 sed -n '
52568 t rset
52569 :rset
52570 s/^[ ]*#[ ]*define[ ][ ]*//
52571 t ok
52572 d
52573 :ok
52574 s/[\\&,]/\\&/g
52575 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52576 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52577 ' >>conftest.defines
52578
52579 # Remove the space that was appended to ease matching.
52580 # Then replace #undef with comments. This is necessary, for
52581 # example, in the case of _POSIX_SOURCE, which is predefined and required
52582 # on some systems where configure will not decide to define it.
52583 # (The regexp can be short, since the line contains either #define or #undef.)
52584 echo 's/ $//
52585 s,^[ #]*u.*,/* & */,' >>conftest.defines
52586
52587 # Break up conftest.defines:
52588 ac_max_sed_lines=50
52589
52590 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52591 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52592 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52593 # et cetera.
52594 ac_in='$ac_file_inputs'
52595 ac_out='"$tmp/out1"'
52596 ac_nxt='"$tmp/out2"'
52597
52598 while :
52599 do
52600 # Write a here document:
52601 cat >>$CONFIG_STATUS <<_ACEOF
52602 # First, check the format of the line:
52603 cat >"\$tmp/defines.sed" <<\\CEOF
52604 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52605 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52606 b
52607 :def
52608 _ACEOF
52609 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
52610 echo 'CEOF
52611 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52612 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
52613 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
52614 grep . conftest.tail >/dev/null || break
52615 rm -f conftest.defines
52616 mv conftest.tail conftest.defines
52617 done
52618 rm -f conftest.defines conftest.tail
52619
52620 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52621 cat >>$CONFIG_STATUS <<\_ACEOF
52622 if test x"$ac_file" != x-; then
52623 echo "/* $configure_input */" >"$tmp/config.h"
52624 cat "$ac_result" >>"$tmp/config.h"
52625 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
52626 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52627 echo "$as_me: $ac_file is unchanged" >&6;}
52628 else
52629 rm -f $ac_file
52630 mv "$tmp/config.h" $ac_file
52631 fi
52632 else
52633 echo "/* $configure_input */"
52634 cat "$ac_result"
52635 fi
52636 rm -f "$tmp/out12"
52637 ;;
52638
52639 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52640 echo "$as_me: executing $ac_file commands" >&6;}
52641 ;;
52642 esac
52643
52644
52645 case $ac_file$ac_mode in
52646 "rcdefs.h":C)
52647 mkdir -p $outdir &&
52648 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52649 ;;
52650 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52651 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52652 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
52653 "wx-config":C) rm -f wx-config
52654 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52655 ;;
52656
52657 esac
52658 done # for ac_tag
52659
52660
52661 { (exit 0); exit 0; }
52662 _ACEOF
52663 chmod +x $CONFIG_STATUS
52664 ac_clean_files=$ac_clean_files_save
52665
52666
52667 # configure is writing to config.log, and then calls config.status.
52668 # config.status does its own redirection, appending to config.log.
52669 # Unfortunately, on DOS this fails, as config.log is still kept open
52670 # by configure, so config.status won't be able to write to it; its
52671 # output is simply discarded. So we exec the FD to /dev/null,
52672 # effectively closing config.log, so it can be properly (re)opened and
52673 # appended to by config.status. When coming back to configure, we
52674 # need to make the FD available again.
52675 if test "$no_create" != yes; then
52676 ac_cs_success=:
52677 ac_config_status_args=
52678 test "$silent" = yes &&
52679 ac_config_status_args="$ac_config_status_args --quiet"
52680 exec 5>/dev/null
52681 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52682 exec 5>>config.log
52683 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52684 # would make configure fail if this is the last instruction.
52685 $ac_cs_success || { (exit 1); exit 1; }
52686 fi
52687
52688 #
52689 # CONFIG_SUBDIRS section.
52690 #
52691 if test "$no_recursion" != yes; then
52692
52693 # Remove --cache-file and --srcdir arguments so they do not pile up.
52694 ac_sub_configure_args=
52695 ac_prev=
52696 eval "set x $ac_configure_args"
52697 shift
52698 for ac_arg
52699 do
52700 if test -n "$ac_prev"; then
52701 ac_prev=
52702 continue
52703 fi
52704 case $ac_arg in
52705 -cache-file | --cache-file | --cache-fil | --cache-fi \
52706 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52707 ac_prev=cache_file ;;
52708 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52709 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52710 | --c=*)
52711 ;;
52712 --config-cache | -C)
52713 ;;
52714 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52715 ac_prev=srcdir ;;
52716 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52717 ;;
52718 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52719 ac_prev=prefix ;;
52720 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52721 ;;
52722 *)
52723 case $ac_arg in
52724 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52725 esac
52726 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
52727 esac
52728 done
52729
52730 # Always prepend --prefix to ensure using the same prefix
52731 # in subdir configurations.
52732 ac_arg="--prefix=$prefix"
52733 case $ac_arg in
52734 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52735 esac
52736 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
52737
52738 # Pass --silent
52739 if test "$silent" = yes; then
52740 ac_sub_configure_args="--silent $ac_sub_configure_args"
52741 fi
52742
52743 ac_popdir=`pwd`
52744 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52745
52746 # Do not complain, so a configure script can configure whichever
52747 # parts of a large source tree are present.
52748 test -d "$srcdir/$ac_dir" || continue
52749
52750 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52751 echo "$as_me:$LINENO: $ac_msg" >&5
52752 echo "$ac_msg" >&6
52753 { as_dir="$ac_dir"
52754 case $as_dir in #(
52755 -*) as_dir=./$as_dir;;
52756 esac
52757 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52758 as_dirs=
52759 while :; do
52760 case $as_dir in #(
52761 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52762 *) as_qdir=$as_dir;;
52763 esac
52764 as_dirs="'$as_qdir' $as_dirs"
52765 as_dir=`$as_dirname -- "$as_dir" ||
52766 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52767 X"$as_dir" : 'X\(//\)[^/]' \| \
52768 X"$as_dir" : 'X\(//\)$' \| \
52769 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52770 echo X"$as_dir" |
52771 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52772 s//\1/
52773 q
52774 }
52775 /^X\(\/\/\)[^/].*/{
52776 s//\1/
52777 q
52778 }
52779 /^X\(\/\/\)$/{
52780 s//\1/
52781 q
52782 }
52783 /^X\(\/\).*/{
52784 s//\1/
52785 q
52786 }
52787 s/.*/./; q'`
52788 test -d "$as_dir" && break
52789 done
52790 test -z "$as_dirs" || eval "mkdir $as_dirs"
52791 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52792 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52793 { (exit 1); exit 1; }; }; }
52794 ac_builddir=.
52795
52796 case "$ac_dir" in
52797 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52798 *)
52799 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52800 # A ".." for each directory in $ac_dir_suffix.
52801 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52802 case $ac_top_builddir_sub in
52803 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52804 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52805 esac ;;
52806 esac
52807 ac_abs_top_builddir=$ac_pwd
52808 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52809 # for backward compatibility:
52810 ac_top_builddir=$ac_top_build_prefix
52811
52812 case $srcdir in
52813 .) # We are building in place.
52814 ac_srcdir=.
52815 ac_top_srcdir=$ac_top_builddir_sub
52816 ac_abs_top_srcdir=$ac_pwd ;;
52817 [\\/]* | ?:[\\/]* ) # Absolute name.
52818 ac_srcdir=$srcdir$ac_dir_suffix;
52819 ac_top_srcdir=$srcdir
52820 ac_abs_top_srcdir=$srcdir ;;
52821 *) # Relative name.
52822 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52823 ac_top_srcdir=$ac_top_build_prefix$srcdir
52824 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52825 esac
52826 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52827
52828
52829 cd "$ac_dir"
52830
52831 # Check for guested configure; otherwise get Cygnus style configure.
52832 if test -f "$ac_srcdir/configure.gnu"; then
52833 ac_sub_configure=$ac_srcdir/configure.gnu
52834 elif test -f "$ac_srcdir/configure"; then
52835 ac_sub_configure=$ac_srcdir/configure
52836 elif test -f "$ac_srcdir/configure.in"; then
52837 # This should be Cygnus configure.
52838 ac_sub_configure=$ac_aux_dir/configure
52839 else
52840 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52841 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52842 ac_sub_configure=
52843 fi
52844
52845 # The recursion is here.
52846 if test -n "$ac_sub_configure"; then
52847 # Make the cache file name correct relative to the subdirectory.
52848 case $cache_file in
52849 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52850 *) # Relative name.
52851 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
52852 esac
52853
52854 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52855 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52856 # The eval makes quoting arguments work.
52857 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
52858 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
52859 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52860 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52861 { (exit 1); exit 1; }; }
52862 fi
52863
52864 cd "$ac_popdir"
52865 done
52866 fi
52867
52868
52869 echo
52870 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52871 echo ""
52872 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52873 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52874
52875 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52876 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52877 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
52878 if test "$wxUSE_UNICODE" = "yes"; then
52879 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
52880 echo " (using UTF-8)"
52881 else
52882 echo " (using wchar_t)"
52883 fi
52884 else
52885 echo
52886 fi
52887
52888 echo " What level of wxWidgets compatibility should be enabled?"
52889 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
52890 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
52891
52892 echo " Which libraries should wxWidgets use?"
52893 echo " STL ${wxUSE_STL}"
52894 echo " jpeg ${wxUSE_LIBJPEG-none}"
52895 echo " png ${wxUSE_LIBPNG-none}"
52896 echo " regex ${wxUSE_REGEX}"
52897 echo " tiff ${wxUSE_LIBTIFF-none}"
52898 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52899 echo " xpm ${wxUSE_LIBXPM-none}"
52900 fi
52901 echo " zlib ${wxUSE_ZLIB}"
52902 echo " expat ${wxUSE_EXPAT}"
52903 echo " libmspack ${wxUSE_LIBMSPACK}"
52904 echo " sdl ${wxUSE_LIBSDL}"
52905
52906 echo ""
52907